diff --git a/.storybook/logo.svg b/.storybook/logo.svg deleted file mode 100644 index a680dcc..0000000 --- a/.storybook/logo.svg +++ /dev/null @@ -1 +0,0 @@ -logo \ No newline at end of file diff --git a/.storybook/main.js b/.storybook/main.js deleted file mode 100644 index d35008c..0000000 --- a/.storybook/main.js +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = { - core: { - builder: "webpack5", - }, - stories: ["../output/**/*.Story/index.js"], - addons: [], -} diff --git a/.storybook/main.ts b/.storybook/main.ts new file mode 100644 index 0000000..0d8f43f --- /dev/null +++ b/.storybook/main.ts @@ -0,0 +1,10 @@ +import { indexer } from './purescript-indexer' + +export default { + staticDirs: ['../assets'], + addons: ["@storybook/addon-essentials", "@storybook/addon-interactions"], + stories: ["../output/Story.*/index.js"], + framework: "@storybook/react-webpack5", + storyIndexers: [{ test: /..\/output\/.*/, indexer }], + disableTelemetry: true, +} diff --git a/.storybook/manager.js b/.storybook/manager.js deleted file mode 100644 index 2d345fc..0000000 --- a/.storybook/manager.js +++ /dev/null @@ -1,7 +0,0 @@ -import { addons } from '@storybook/addons'; -import rowtypeYogaTheme from './rowtype-yoga-theme'; - -addons.setConfig({ - theme: rowtypeYogaTheme, - isToolshown: false, -}); diff --git a/.storybook/preview-head.html b/.storybook/preview-head.html index 06f422f..c1922e0 100644 --- a/.storybook/preview-head.html +++ b/.storybook/preview-head.html @@ -1,2 +1,6 @@ - \ No newline at end of file + diff --git a/.storybook/purescript-indexer-ts.ts b/.storybook/purescript-indexer-ts.ts new file mode 100644 index 0000000..6164793 --- /dev/null +++ b/.storybook/purescript-indexer-ts.ts @@ -0,0 +1,27 @@ +import { promises } from "fs" +import { loadCsf, CsfFile, CsfOptions } from '@storybook/csf-tools'; + +export const adjustSourceForStorybook = (source: string): string => { + // regex for var $$default = unsafeCoerce({ ... }) + // we need to remove the unsafeCoerce part so that the parser can read + // the info about the story + const defaultVariableRecordRegex = /^var \$\$default =[^\{]+\{((?:.*\n)+?)(^\}\);)/gm; + // $ has a special meaning so to produce two dollar signs we need $$$$ + const replacement = "var $$$$default = { $1 };"; + return source.replace(defaultVariableRecordRegex, replacement); +} + +export const justLoad = async (fileName: string, opts: CsfOptions): Promise => { + const fileContent: string = await promises.readFile(fileName, 'utf-8'); + const fixedFileContent: string = adjustSourceForStorybook(fileContent); + return fixedFileContent; +} + +export const indexer = async (fileName: string, opts: CsfOptions): Promise => { + console.log("File name: ", fileName); + const fileContent: string = await promises.readFile(fileName, 'utf-8'); + const fixedFileContent: string = adjustSourceForStorybook(fileContent); + const parseResult: CsfFile = loadCsf(fixedFileContent, { ...opts, fileName }).parse(); + parseResult._stories + return parseResult +} diff --git a/.storybook/purescript-indexer/.gitignore b/.storybook/purescript-indexer/.gitignore new file mode 100644 index 0000000..b2dd847 --- /dev/null +++ b/.storybook/purescript-indexer/.gitignore @@ -0,0 +1,11 @@ +/bower_components/ +/node_modules/ +/.pulp-cache/ +/output/ +/generated-docs/ +/.psc-package/ +/.psc* +/.purs* +/.psa* +/.spago +/dist/ diff --git a/.storybook/purescript-indexer/output-es/Ansi.Codes/index.js b/.storybook/purescript-indexer/output-es/Ansi.Codes/index.js new file mode 100644 index 0000000..5e59c18 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Ansi.Codes/index.js @@ -0,0 +1,1862 @@ +// | This module defines a data type representing ANSI escape codes, as well as +// | functions for serialising them as Strings. +import * as $runtime from "../runtime.js"; +import * as Data$dGeneric$dRep from "../Data.Generic.Rep/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import * as Data$dShow from "../Data.Show/index.js"; +import * as Data$dShow$dGeneric from "../Data.Show.Generic/index.js"; +const $Color = tag => ({tag}); +const $EraseParam = tag => ({tag}); +const $EscapeCode = (tag, _1, _2) => ({tag, _1, _2}); +const $GraphicsParam = (tag, _1) => ({tag, _1}); +const $RenderingMode = tag => ({tag}); +const genericShowArgsArgument = {genericShowArgs: v => [Data$dShow.showIntImpl(v)]}; +const Bold = /* #__PURE__ */ $RenderingMode("Bold"); +const Dim = /* #__PURE__ */ $RenderingMode("Dim"); +const Italic = /* #__PURE__ */ $RenderingMode("Italic"); +const Underline = /* #__PURE__ */ $RenderingMode("Underline"); +const Inverse = /* #__PURE__ */ $RenderingMode("Inverse"); +const Strikethrough = /* #__PURE__ */ $RenderingMode("Strikethrough"); +const ToEnd = /* #__PURE__ */ $EraseParam("ToEnd"); +const FromBeginning = /* #__PURE__ */ $EraseParam("FromBeginning"); +const Entire = /* #__PURE__ */ $EraseParam("Entire"); +const Black = /* #__PURE__ */ $Color("Black"); +const Red = /* #__PURE__ */ $Color("Red"); +const Green = /* #__PURE__ */ $Color("Green"); +const Yellow = /* #__PURE__ */ $Color("Yellow"); +const Blue = /* #__PURE__ */ $Color("Blue"); +const Magenta = /* #__PURE__ */ $Color("Magenta"); +const Cyan = /* #__PURE__ */ $Color("Cyan"); +const White = /* #__PURE__ */ $Color("White"); +const BrightBlack = /* #__PURE__ */ $Color("BrightBlack"); +const BrightRed = /* #__PURE__ */ $Color("BrightRed"); +const BrightGreen = /* #__PURE__ */ $Color("BrightGreen"); +const BrightYellow = /* #__PURE__ */ $Color("BrightYellow"); +const BrightBlue = /* #__PURE__ */ $Color("BrightBlue"); +const BrightMagenta = /* #__PURE__ */ $Color("BrightMagenta"); +const BrightCyan = /* #__PURE__ */ $Color("BrightCyan"); +const BrightWhite = /* #__PURE__ */ $Color("BrightWhite"); +const Reset = /* #__PURE__ */ $GraphicsParam("Reset"); +const PMode = value0 => $GraphicsParam("PMode", value0); +const PForeground = value0 => $GraphicsParam("PForeground", value0); +const PBackground = value0 => $GraphicsParam("PBackground", value0); +const Up = value0 => $EscapeCode("Up", value0); +const Down = value0 => $EscapeCode("Down", value0); +const Forward = value0 => $EscapeCode("Forward", value0); +const Back = value0 => $EscapeCode("Back", value0); +const NextLine = value0 => $EscapeCode("NextLine", value0); +const PreviousLine = value0 => $EscapeCode("PreviousLine", value0); +const HorizontalAbsolute = value0 => $EscapeCode("HorizontalAbsolute", value0); +const Position = value0 => value1 => $EscapeCode("Position", value0, value1); +const EraseData = value0 => $EscapeCode("EraseData", value0); +const EraseLine = value0 => $EscapeCode("EraseLine", value0); +const ScrollUp = value0 => $EscapeCode("ScrollUp", value0); +const ScrollDown = value0 => $EscapeCode("ScrollDown", value0); +const Graphics = value0 => $EscapeCode("Graphics", value0); +const SavePosition = /* #__PURE__ */ $EscapeCode("SavePosition"); +const RestorePosition = /* #__PURE__ */ $EscapeCode("RestorePosition"); +const QueryPosition = /* #__PURE__ */ $EscapeCode("QueryPosition"); +const HideCursor = /* #__PURE__ */ $EscapeCode("HideCursor"); +const ShowCursor = /* #__PURE__ */ $EscapeCode("ShowCursor"); +const prefix = "\u001b["; +const genericRenderingMode = { + to: x => { + if (x.tag === "Inl") { return Bold; } + if (x.tag === "Inr") { + if (x._1.tag === "Inl") { return Dim; } + if (x._1.tag === "Inr") { + if (x._1._1.tag === "Inl") { return Italic; } + if (x._1._1.tag === "Inr") { + if (x._1._1._1.tag === "Inl") { return Underline; } + if (x._1._1._1.tag === "Inr") { + if (x._1._1._1._1.tag === "Inl") { return Inverse; } + if (x._1._1._1._1.tag === "Inr") { return Strikethrough; } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + }, + from: x => { + if (x.tag === "Bold") { return Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments); } + if (x.tag === "Dim") { return Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments)); } + if (x.tag === "Italic") { return Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments))); } + if (x.tag === "Underline") { + return Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments)))); + } + if (x.tag === "Inverse") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments)))) + ); + } + if (x.tag === "Strikethrough") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.NoArguments)))) + ); + } + $runtime.fail(); + } +}; +const showRenderingMode = { + show: /* #__PURE__ */ (() => { + const $0 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "Bold"}); + const $1 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "Dim"}); + const $2 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "Italic"}); + const $3 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "Underline"}); + const $4 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "Inverse"}); + const $5 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "Strikethrough"}); + return x => { + const $7 = genericRenderingMode.from(x); + if ($7.tag === "Inl") { return $0["genericShow'"]($7._1); } + if ($7.tag === "Inr") { + if ($7._1.tag === "Inl") { return $1["genericShow'"]($7._1._1); } + if ($7._1.tag === "Inr") { + if ($7._1._1.tag === "Inl") { return $2["genericShow'"]($7._1._1._1); } + if ($7._1._1.tag === "Inr") { + if ($7._1._1._1.tag === "Inl") { return $3["genericShow'"]($7._1._1._1._1); } + if ($7._1._1._1.tag === "Inr") { + if ($7._1._1._1._1.tag === "Inl") { return $4["genericShow'"]($7._1._1._1._1._1); } + if ($7._1._1._1._1.tag === "Inr") { return $5["genericShow'"]($7._1._1._1._1._1); } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + }; + })() +}; +const genericGraphicsParam = { + to: x => { + if (x.tag === "Inl") { return Reset; } + if (x.tag === "Inr") { + if (x._1.tag === "Inl") { return $GraphicsParam("PMode", x._1._1); } + if (x._1.tag === "Inr") { + if (x._1._1.tag === "Inl") { return $GraphicsParam("PForeground", x._1._1._1); } + if (x._1._1.tag === "Inr") { return $GraphicsParam("PBackground", x._1._1._1); } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + }, + from: x => { + if (x.tag === "Reset") { return Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments); } + if (x.tag === "PMode") { return Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", x._1)); } + if (x.tag === "PForeground") { return Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", x._1))); } + if (x.tag === "PBackground") { return Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", x._1))); } + $runtime.fail(); + } +}; +const genericEscapeCode = { + to: x => { + if (x.tag === "Inl") { return $EscapeCode("Up", x._1); } + if (x.tag === "Inr") { + if (x._1.tag === "Inl") { return $EscapeCode("Down", x._1._1); } + if (x._1.tag === "Inr") { + if (x._1._1.tag === "Inl") { return $EscapeCode("Forward", x._1._1._1); } + if (x._1._1.tag === "Inr") { + if (x._1._1._1.tag === "Inl") { return $EscapeCode("Back", x._1._1._1._1); } + if (x._1._1._1.tag === "Inr") { + if (x._1._1._1._1.tag === "Inl") { return $EscapeCode("NextLine", x._1._1._1._1._1); } + if (x._1._1._1._1.tag === "Inr") { + if (x._1._1._1._1._1.tag === "Inl") { return $EscapeCode("PreviousLine", x._1._1._1._1._1._1); } + if (x._1._1._1._1._1.tag === "Inr") { + if (x._1._1._1._1._1._1.tag === "Inl") { return $EscapeCode("HorizontalAbsolute", x._1._1._1._1._1._1._1); } + if (x._1._1._1._1._1._1.tag === "Inr") { + if (x._1._1._1._1._1._1._1.tag === "Inl") { return $EscapeCode("Position", x._1._1._1._1._1._1._1._1._1, x._1._1._1._1._1._1._1._1._2); } + if (x._1._1._1._1._1._1._1.tag === "Inr") { + if (x._1._1._1._1._1._1._1._1.tag === "Inl") { return $EscapeCode("EraseData", x._1._1._1._1._1._1._1._1._1); } + if (x._1._1._1._1._1._1._1._1.tag === "Inr") { + if (x._1._1._1._1._1._1._1._1._1.tag === "Inl") { return $EscapeCode("EraseLine", x._1._1._1._1._1._1._1._1._1._1); } + if (x._1._1._1._1._1._1._1._1._1.tag === "Inr") { + if (x._1._1._1._1._1._1._1._1._1._1.tag === "Inl") { return $EscapeCode("ScrollUp", x._1._1._1._1._1._1._1._1._1._1._1); } + if (x._1._1._1._1._1._1._1._1._1._1.tag === "Inr") { + if (x._1._1._1._1._1._1._1._1._1._1._1.tag === "Inl") { return $EscapeCode("ScrollDown", x._1._1._1._1._1._1._1._1._1._1._1._1); } + if (x._1._1._1._1._1._1._1._1._1._1._1.tag === "Inr") { + if (x._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inl") { return $EscapeCode("Graphics", x._1._1._1._1._1._1._1._1._1._1._1._1._1); } + if (x._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inr") { + if (x._1._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inl") { return SavePosition; } + if (x._1._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inr") { + if (x._1._1._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inl") { return RestorePosition; } + if (x._1._1._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inr") { + if (x._1._1._1._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inl") { return QueryPosition; } + if (x._1._1._1._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inr") { + if (x._1._1._1._1._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inl") { return HideCursor; } + if (x._1._1._1._1._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inr") { return ShowCursor; } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + }, + from: x => { + if (x.tag === "Up") { return Data$dGeneric$dRep.$Sum("Inl", x._1); } + if (x.tag === "Down") { return Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", x._1)); } + if (x.tag === "Forward") { return Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", x._1))); } + if (x.tag === "Back") { return Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", x._1)))); } + if (x.tag === "NextLine") { + return Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", x._1))))); + } + if (x.tag === "PreviousLine") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", x._1))))) + ); + } + if (x.tag === "HorizontalAbsolute") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", x._1))))) + ) + ); + } + if (x.tag === "Position") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.$Product(x._1, x._2)))) + ) + ) + ) + ) + ); + } + if (x.tag === "EraseData") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", x._1))))) + ) + ) + ) + ); + } + if (x.tag === "EraseLine") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", x._1))))) + ) + ) + ) + ) + ); + } + if (x.tag === "ScrollUp") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", x._1)))) + ) + ) + ) + ) + ) + ) + ); + } + if (x.tag === "ScrollDown") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", x._1)))) + ) + ) + ) + ) + ) + ) + ) + ); + } + if (x.tag === "Graphics") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", x._1)))) + ) + ) + ) + ) + ) + ) + ) + ) + ); + } + if (x.tag === "SavePosition") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments))) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ); + } + if (x.tag === "RestorePosition") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments))) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ); + } + if (x.tag === "QueryPosition") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments))) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ); + } + if (x.tag === "HideCursor") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments))) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ); + } + if (x.tag === "ShowCursor") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.NoArguments))) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ); + } + $runtime.fail(); + } +}; +const genericEraseParam = { + to: x => { + if (x.tag === "Inl") { return ToEnd; } + if (x.tag === "Inr") { + if (x._1.tag === "Inl") { return FromBeginning; } + if (x._1.tag === "Inr") { return Entire; } + $runtime.fail(); + } + $runtime.fail(); + }, + from: x => { + if (x.tag === "ToEnd") { return Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments); } + if (x.tag === "FromBeginning") { return Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments)); } + if (x.tag === "Entire") { return Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.NoArguments)); } + $runtime.fail(); + } +}; +const showEraseParam = { + show: /* #__PURE__ */ (() => { + const $0 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "ToEnd"}); + const $1 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "FromBeginning"}); + const $2 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "Entire"}); + return x => { + const $4 = genericEraseParam.from(x); + if ($4.tag === "Inl") { return $0["genericShow'"]($4._1); } + if ($4.tag === "Inr") { + if ($4._1.tag === "Inl") { return $1["genericShow'"]($4._1._1); } + if ($4._1.tag === "Inr") { return $2["genericShow'"]($4._1._1); } + $runtime.fail(); + } + $runtime.fail(); + }; + })() +}; +const genericColor = { + to: x => { + if (x.tag === "Inl") { return Black; } + if (x.tag === "Inr") { + if (x._1.tag === "Inl") { return Red; } + if (x._1.tag === "Inr") { + if (x._1._1.tag === "Inl") { return Green; } + if (x._1._1.tag === "Inr") { + if (x._1._1._1.tag === "Inl") { return Yellow; } + if (x._1._1._1.tag === "Inr") { + if (x._1._1._1._1.tag === "Inl") { return Blue; } + if (x._1._1._1._1.tag === "Inr") { + if (x._1._1._1._1._1.tag === "Inl") { return Magenta; } + if (x._1._1._1._1._1.tag === "Inr") { + if (x._1._1._1._1._1._1.tag === "Inl") { return Cyan; } + if (x._1._1._1._1._1._1.tag === "Inr") { + if (x._1._1._1._1._1._1._1.tag === "Inl") { return White; } + if (x._1._1._1._1._1._1._1.tag === "Inr") { + if (x._1._1._1._1._1._1._1._1.tag === "Inl") { return BrightBlack; } + if (x._1._1._1._1._1._1._1._1.tag === "Inr") { + if (x._1._1._1._1._1._1._1._1._1.tag === "Inl") { return BrightRed; } + if (x._1._1._1._1._1._1._1._1._1.tag === "Inr") { + if (x._1._1._1._1._1._1._1._1._1._1.tag === "Inl") { return BrightGreen; } + if (x._1._1._1._1._1._1._1._1._1._1.tag === "Inr") { + if (x._1._1._1._1._1._1._1._1._1._1._1.tag === "Inl") { return BrightYellow; } + if (x._1._1._1._1._1._1._1._1._1._1._1.tag === "Inr") { + if (x._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inl") { return BrightBlue; } + if (x._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inr") { + if (x._1._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inl") { return BrightMagenta; } + if (x._1._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inr") { + if (x._1._1._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inl") { return BrightCyan; } + if (x._1._1._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inr") { return BrightWhite; } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + }, + from: x => { + if (x.tag === "Black") { return Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments); } + if (x.tag === "Red") { return Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments)); } + if (x.tag === "Green") { return Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments))); } + if (x.tag === "Yellow") { + return Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments)))); + } + if (x.tag === "Blue") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments)))) + ); + } + if (x.tag === "Magenta") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments)))) + ) + ); + } + if (x.tag === "Cyan") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments)))) + ) + ) + ); + } + if (x.tag === "White") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments)))) + ) + ) + ) + ); + } + if (x.tag === "BrightBlack") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments)))) + ) + ) + ) + ) + ); + } + if (x.tag === "BrightRed") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments)))) + ) + ) + ) + ) + ) + ); + } + if (x.tag === "BrightGreen") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments)))) + ) + ) + ) + ) + ) + ) + ); + } + if (x.tag === "BrightYellow") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments)))) + ) + ) + ) + ) + ) + ) + ) + ); + } + if (x.tag === "BrightBlue") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments))) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ); + } + if (x.tag === "BrightMagenta") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments))) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ); + } + if (x.tag === "BrightCyan") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments))) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ); + } + if (x.tag === "BrightWhite") { + return Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum( + "Inr", + Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.$Sum("Inr", Data$dGeneric$dRep.NoArguments))) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ); + } + $runtime.fail(); + } +}; +const showColor = { + show: /* #__PURE__ */ (() => { + const $0 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "Black"}); + const $1 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "Red"}); + const $2 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "Green"}); + const $3 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "Yellow"}); + const $4 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "Blue"}); + const $5 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "Magenta"}); + const $6 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "Cyan"}); + const $7 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "White"}); + const $8 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "BrightBlack"}); + const $9 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "BrightRed"}); + const $10 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "BrightGreen"}); + const $11 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "BrightYellow"}); + const $12 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "BrightBlue"}); + const $13 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "BrightMagenta"}); + const $14 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "BrightCyan"}); + const $15 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "BrightWhite"}); + return x => { + const $17 = genericColor.from(x); + if ($17.tag === "Inl") { return $0["genericShow'"]($17._1); } + if ($17.tag === "Inr") { + if ($17._1.tag === "Inl") { return $1["genericShow'"]($17._1._1); } + if ($17._1.tag === "Inr") { + if ($17._1._1.tag === "Inl") { return $2["genericShow'"]($17._1._1._1); } + if ($17._1._1.tag === "Inr") { + if ($17._1._1._1.tag === "Inl") { return $3["genericShow'"]($17._1._1._1._1); } + if ($17._1._1._1.tag === "Inr") { + if ($17._1._1._1._1.tag === "Inl") { return $4["genericShow'"]($17._1._1._1._1._1); } + if ($17._1._1._1._1.tag === "Inr") { + if ($17._1._1._1._1._1.tag === "Inl") { return $5["genericShow'"]($17._1._1._1._1._1._1); } + if ($17._1._1._1._1._1.tag === "Inr") { + if ($17._1._1._1._1._1._1.tag === "Inl") { return $6["genericShow'"]($17._1._1._1._1._1._1._1); } + if ($17._1._1._1._1._1._1.tag === "Inr") { + if ($17._1._1._1._1._1._1._1.tag === "Inl") { return $7["genericShow'"]($17._1._1._1._1._1._1._1._1); } + if ($17._1._1._1._1._1._1._1.tag === "Inr") { + if ($17._1._1._1._1._1._1._1._1.tag === "Inl") { return $8["genericShow'"]($17._1._1._1._1._1._1._1._1._1); } + if ($17._1._1._1._1._1._1._1._1.tag === "Inr") { + if ($17._1._1._1._1._1._1._1._1._1.tag === "Inl") { return $9["genericShow'"]($17._1._1._1._1._1._1._1._1._1._1); } + if ($17._1._1._1._1._1._1._1._1._1.tag === "Inr") { + if ($17._1._1._1._1._1._1._1._1._1._1.tag === "Inl") { return $10["genericShow'"]($17._1._1._1._1._1._1._1._1._1._1._1); } + if ($17._1._1._1._1._1._1._1._1._1._1.tag === "Inr") { + if ($17._1._1._1._1._1._1._1._1._1._1._1.tag === "Inl") { return $11["genericShow'"]($17._1._1._1._1._1._1._1._1._1._1._1._1); } + if ($17._1._1._1._1._1._1._1._1._1._1._1.tag === "Inr") { + if ($17._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inl") { return $12["genericShow'"]($17._1._1._1._1._1._1._1._1._1._1._1._1._1); } + if ($17._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inr") { + if ($17._1._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inl") { return $13["genericShow'"]($17._1._1._1._1._1._1._1._1._1._1._1._1._1._1); } + if ($17._1._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inr") { + if ($17._1._1._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inl") { return $14["genericShow'"]($17._1._1._1._1._1._1._1._1._1._1._1._1._1._1._1); } + if ($17._1._1._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inr") { return $15["genericShow'"]($17._1._1._1._1._1._1._1._1._1._1._1._1._1._1._1); } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + }; + })() +}; +const showGraphicsParam = { + show: /* #__PURE__ */ (() => { + const $0 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "Reset"}); + const $1 = Data$dShow$dGeneric.genericShowConstructor({genericShowArgs: v => [showRenderingMode.show(v)]})({reflectSymbol: () => "PMode"}); + const $2 = Data$dShow$dGeneric.genericShowConstructor({genericShowArgs: v => [showColor.show(v)]})({reflectSymbol: () => "PForeground"}); + const $3 = Data$dShow$dGeneric.genericShowConstructor({genericShowArgs: v => [showColor.show(v)]})({reflectSymbol: () => "PBackground"}); + return x => { + const $5 = genericGraphicsParam.from(x); + if ($5.tag === "Inl") { return $0["genericShow'"]($5._1); } + if ($5.tag === "Inr") { + if ($5._1.tag === "Inl") { return $1["genericShow'"]($5._1._1); } + if ($5._1.tag === "Inr") { + if ($5._1._1.tag === "Inl") { return $2["genericShow'"]($5._1._1._1); } + if ($5._1._1.tag === "Inr") { return $3["genericShow'"]($5._1._1._1); } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + }; + })() +}; +const showEscapeCode = { + show: /* #__PURE__ */ (() => { + const $0 = Data$dShow$dGeneric.genericShowConstructor(genericShowArgsArgument)({reflectSymbol: () => "Up"}); + const $1 = Data$dShow$dGeneric.genericShowConstructor(genericShowArgsArgument)({reflectSymbol: () => "Down"}); + const $2 = Data$dShow$dGeneric.genericShowConstructor(genericShowArgsArgument)({reflectSymbol: () => "Forward"}); + const $3 = Data$dShow$dGeneric.genericShowConstructor(genericShowArgsArgument)({reflectSymbol: () => "Back"}); + const $4 = Data$dShow$dGeneric.genericShowConstructor(genericShowArgsArgument)({reflectSymbol: () => "NextLine"}); + const $5 = Data$dShow$dGeneric.genericShowConstructor(genericShowArgsArgument)({reflectSymbol: () => "PreviousLine"}); + const $6 = Data$dShow$dGeneric.genericShowConstructor(genericShowArgsArgument)({reflectSymbol: () => "HorizontalAbsolute"}); + const $7 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsProduct(genericShowArgsArgument)(genericShowArgsArgument))({ + reflectSymbol: () => "Position" + }); + const $8 = Data$dShow$dGeneric.genericShowConstructor({genericShowArgs: v => [showEraseParam.show(v)]})({reflectSymbol: () => "EraseData"}); + const $9 = Data$dShow$dGeneric.genericShowConstructor({genericShowArgs: v => [showEraseParam.show(v)]})({reflectSymbol: () => "EraseLine"}); + const $10 = Data$dShow$dGeneric.genericShowConstructor(genericShowArgsArgument)({reflectSymbol: () => "ScrollUp"}); + const $11 = Data$dShow$dGeneric.genericShowConstructor(genericShowArgsArgument)({reflectSymbol: () => "ScrollDown"}); + const $12 = Data$dShow$dGeneric.genericShowConstructor((() => { + const $12 = Data$dList$dTypes.showNonEmptyList(showGraphicsParam); + return {genericShowArgs: v => [$12.show(v)]}; + })())({reflectSymbol: () => "Graphics"}); + const $13 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "SavePosition"}); + const $14 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "RestorePosition"}); + const $15 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "QueryPosition"}); + const $16 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "HideCursor"}); + const $17 = Data$dShow$dGeneric.genericShowConstructor(Data$dShow$dGeneric.genericShowArgsNoArguments)({reflectSymbol: () => "ShowCursor"}); + return x => { + const $19 = genericEscapeCode.from(x); + if ($19.tag === "Inl") { return $0["genericShow'"]($19._1); } + if ($19.tag === "Inr") { + if ($19._1.tag === "Inl") { return $1["genericShow'"]($19._1._1); } + if ($19._1.tag === "Inr") { + if ($19._1._1.tag === "Inl") { return $2["genericShow'"]($19._1._1._1); } + if ($19._1._1.tag === "Inr") { + if ($19._1._1._1.tag === "Inl") { return $3["genericShow'"]($19._1._1._1._1); } + if ($19._1._1._1.tag === "Inr") { + if ($19._1._1._1._1.tag === "Inl") { return $4["genericShow'"]($19._1._1._1._1._1); } + if ($19._1._1._1._1.tag === "Inr") { + if ($19._1._1._1._1._1.tag === "Inl") { return $5["genericShow'"]($19._1._1._1._1._1._1); } + if ($19._1._1._1._1._1.tag === "Inr") { + if ($19._1._1._1._1._1._1.tag === "Inl") { return $6["genericShow'"]($19._1._1._1._1._1._1._1); } + if ($19._1._1._1._1._1._1.tag === "Inr") { + if ($19._1._1._1._1._1._1._1.tag === "Inl") { return $7["genericShow'"]($19._1._1._1._1._1._1._1._1); } + if ($19._1._1._1._1._1._1._1.tag === "Inr") { + if ($19._1._1._1._1._1._1._1._1.tag === "Inl") { return $8["genericShow'"]($19._1._1._1._1._1._1._1._1._1); } + if ($19._1._1._1._1._1._1._1._1.tag === "Inr") { + if ($19._1._1._1._1._1._1._1._1._1.tag === "Inl") { return $9["genericShow'"]($19._1._1._1._1._1._1._1._1._1._1); } + if ($19._1._1._1._1._1._1._1._1._1.tag === "Inr") { + if ($19._1._1._1._1._1._1._1._1._1._1.tag === "Inl") { return $10["genericShow'"]($19._1._1._1._1._1._1._1._1._1._1._1); } + if ($19._1._1._1._1._1._1._1._1._1._1.tag === "Inr") { + if ($19._1._1._1._1._1._1._1._1._1._1._1.tag === "Inl") { return $11["genericShow'"]($19._1._1._1._1._1._1._1._1._1._1._1._1); } + if ($19._1._1._1._1._1._1._1._1._1._1._1.tag === "Inr") { + if ($19._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inl") { return $12["genericShow'"]($19._1._1._1._1._1._1._1._1._1._1._1._1._1); } + if ($19._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inr") { + if ($19._1._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inl") { return $13["genericShow'"]($19._1._1._1._1._1._1._1._1._1._1._1._1._1._1); } + if ($19._1._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inr") { + if ($19._1._1._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inl") { return $14["genericShow'"]($19._1._1._1._1._1._1._1._1._1._1._1._1._1._1._1); } + if ($19._1._1._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inr") { + if ($19._1._1._1._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inl") { + return $15["genericShow'"]($19._1._1._1._1._1._1._1._1._1._1._1._1._1._1._1._1); + } + if ($19._1._1._1._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inr") { + if ($19._1._1._1._1._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inl") { + return $16["genericShow'"]($19._1._1._1._1._1._1._1._1._1._1._1._1._1._1._1._1._1); + } + if ($19._1._1._1._1._1._1._1._1._1._1._1._1._1._1._1._1.tag === "Inr") { + return $17["genericShow'"]($19._1._1._1._1._1._1._1._1._1._1._1._1._1._1._1._1._1); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + }; + })() +}; +const eraseParamToString = ep => { + if (ep.tag === "ToEnd") { return "0"; } + if (ep.tag === "FromBeginning") { return "1"; } + if (ep.tag === "Entire") { return "2"; } + $runtime.fail(); +}; +const eqRenderingMode = { + eq: x => y => { + if (x.tag === "Bold") { return y.tag === "Bold"; } + if (x.tag === "Dim") { return y.tag === "Dim"; } + if (x.tag === "Italic") { return y.tag === "Italic"; } + if (x.tag === "Underline") { return y.tag === "Underline"; } + if (x.tag === "Inverse") { return y.tag === "Inverse"; } + if (x.tag === "Strikethrough") { return y.tag === "Strikethrough"; } + return false; + } +}; +const ordRenderingMode = { + compare: x => y => { + if (x.tag === "Bold") { + if (y.tag === "Bold") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Bold") { return Data$dOrdering.GT; } + if (x.tag === "Dim") { + if (y.tag === "Dim") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Dim") { return Data$dOrdering.GT; } + if (x.tag === "Italic") { + if (y.tag === "Italic") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Italic") { return Data$dOrdering.GT; } + if (x.tag === "Underline") { + if (y.tag === "Underline") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Underline") { return Data$dOrdering.GT; } + if (x.tag === "Inverse") { + if (y.tag === "Inverse") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Inverse") { return Data$dOrdering.GT; } + if (x.tag === "Strikethrough") { + if (y.tag === "Strikethrough") { return Data$dOrdering.EQ; } + $runtime.fail(); + } + $runtime.fail(); + }, + Eq0: () => eqRenderingMode +}; +const eqEraseParam = { + eq: x => y => { + if (x.tag === "ToEnd") { return y.tag === "ToEnd"; } + if (x.tag === "FromBeginning") { return y.tag === "FromBeginning"; } + if (x.tag === "Entire") { return y.tag === "Entire"; } + return false; + } +}; +const ordEraseParam = { + compare: x => y => { + if (x.tag === "ToEnd") { + if (y.tag === "ToEnd") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "ToEnd") { return Data$dOrdering.GT; } + if (x.tag === "FromBeginning") { + if (y.tag === "FromBeginning") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "FromBeginning") { return Data$dOrdering.GT; } + if (x.tag === "Entire") { + if (y.tag === "Entire") { return Data$dOrdering.EQ; } + $runtime.fail(); + } + $runtime.fail(); + }, + Eq0: () => eqEraseParam +}; +const eqColor = { + eq: x => y => { + if (x.tag === "Black") { return y.tag === "Black"; } + if (x.tag === "Red") { return y.tag === "Red"; } + if (x.tag === "Green") { return y.tag === "Green"; } + if (x.tag === "Yellow") { return y.tag === "Yellow"; } + if (x.tag === "Blue") { return y.tag === "Blue"; } + if (x.tag === "Magenta") { return y.tag === "Magenta"; } + if (x.tag === "Cyan") { return y.tag === "Cyan"; } + if (x.tag === "White") { return y.tag === "White"; } + if (x.tag === "BrightBlack") { return y.tag === "BrightBlack"; } + if (x.tag === "BrightRed") { return y.tag === "BrightRed"; } + if (x.tag === "BrightGreen") { return y.tag === "BrightGreen"; } + if (x.tag === "BrightYellow") { return y.tag === "BrightYellow"; } + if (x.tag === "BrightBlue") { return y.tag === "BrightBlue"; } + if (x.tag === "BrightMagenta") { return y.tag === "BrightMagenta"; } + if (x.tag === "BrightCyan") { return y.tag === "BrightCyan"; } + if (x.tag === "BrightWhite") { return y.tag === "BrightWhite"; } + return false; + } +}; +const eqGraphicsParam = { + eq: x => y => { + if (x.tag === "Reset") { return y.tag === "Reset"; } + if (x.tag === "PMode") { + if (y.tag === "PMode") { + if (x._1.tag === "Bold") { return y._1.tag === "Bold"; } + if (x._1.tag === "Dim") { return y._1.tag === "Dim"; } + if (x._1.tag === "Italic") { return y._1.tag === "Italic"; } + if (x._1.tag === "Underline") { return y._1.tag === "Underline"; } + if (x._1.tag === "Inverse") { return y._1.tag === "Inverse"; } + if (x._1.tag === "Strikethrough") { return y._1.tag === "Strikethrough"; } + return false; + } + return false; + } + if (x.tag === "PForeground") { + if (y.tag === "PForeground") { return eqColor.eq(x._1)(y._1); } + return false; + } + if (x.tag === "PBackground") { + if (y.tag === "PBackground") { return eqColor.eq(x._1)(y._1); } + return false; + } + return false; + } +}; +const eq4 = x => y => eqGraphicsParam.eq(x._1)(y._1) && (() => { + const go = go$a0$copy => go$a1$copy => go$a2$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$a2 = go$a2$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1, v2 = go$a2; + if (!v2) { + go$c = false; + go$r = false; + continue; + } + if (v.tag === "Nil") { + if (v1.tag === "Nil") { + go$c = false; + go$r = v2; + continue; + } + go$c = false; + go$r = false; + continue; + } + if (v.tag === "Cons") { + if (v1.tag === "Cons") { + go$a0 = v._2; + go$a1 = v1._2; + go$a2 = v2 && eqGraphicsParam.eq(v1._1)(v._1); + continue; + } + go$c = false; + go$r = false; + continue; + } + go$c = false; + go$r = false; + continue; + }; + return go$r; + }; + return go(x._2)(y._2)(true); +})(); +const eqEscapeCode = { + eq: x => y => { + if (x.tag === "Up") { + if (y.tag === "Up") { return x._1 === y._1; } + return false; + } + if (x.tag === "Down") { + if (y.tag === "Down") { return x._1 === y._1; } + return false; + } + if (x.tag === "Forward") { + if (y.tag === "Forward") { return x._1 === y._1; } + return false; + } + if (x.tag === "Back") { + if (y.tag === "Back") { return x._1 === y._1; } + return false; + } + if (x.tag === "NextLine") { + if (y.tag === "NextLine") { return x._1 === y._1; } + return false; + } + if (x.tag === "PreviousLine") { + if (y.tag === "PreviousLine") { return x._1 === y._1; } + return false; + } + if (x.tag === "HorizontalAbsolute") { + if (y.tag === "HorizontalAbsolute") { return x._1 === y._1; } + return false; + } + if (x.tag === "Position") { + if (y.tag === "Position") { return x._1 === y._1 && x._2 === y._2; } + return false; + } + if (x.tag === "EraseData") { + if (y.tag === "EraseData") { + if (x._1.tag === "ToEnd") { return y._1.tag === "ToEnd"; } + if (x._1.tag === "FromBeginning") { return y._1.tag === "FromBeginning"; } + if (x._1.tag === "Entire") { return y._1.tag === "Entire"; } + return false; + } + return false; + } + if (x.tag === "EraseLine") { + if (y.tag === "EraseLine") { + if (x._1.tag === "ToEnd") { return y._1.tag === "ToEnd"; } + if (x._1.tag === "FromBeginning") { return y._1.tag === "FromBeginning"; } + if (x._1.tag === "Entire") { return y._1.tag === "Entire"; } + return false; + } + return false; + } + if (x.tag === "ScrollUp") { + if (y.tag === "ScrollUp") { return x._1 === y._1; } + return false; + } + if (x.tag === "ScrollDown") { + if (y.tag === "ScrollDown") { return x._1 === y._1; } + return false; + } + if (x.tag === "Graphics") { + if (y.tag === "Graphics") { return eq4(x._1)(y._1); } + return false; + } + if (x.tag === "SavePosition") { return y.tag === "SavePosition"; } + if (x.tag === "RestorePosition") { return y.tag === "RestorePosition"; } + if (x.tag === "QueryPosition") { return y.tag === "QueryPosition"; } + if (x.tag === "HideCursor") { return y.tag === "HideCursor"; } + if (x.tag === "ShowCursor") { return y.tag === "ShowCursor"; } + return false; + } +}; +const ordColor = { + compare: x => y => { + if (x.tag === "Black") { + if (y.tag === "Black") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Black") { return Data$dOrdering.GT; } + if (x.tag === "Red") { + if (y.tag === "Red") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Red") { return Data$dOrdering.GT; } + if (x.tag === "Green") { + if (y.tag === "Green") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Green") { return Data$dOrdering.GT; } + if (x.tag === "Yellow") { + if (y.tag === "Yellow") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Yellow") { return Data$dOrdering.GT; } + if (x.tag === "Blue") { + if (y.tag === "Blue") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Blue") { return Data$dOrdering.GT; } + if (x.tag === "Magenta") { + if (y.tag === "Magenta") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Magenta") { return Data$dOrdering.GT; } + if (x.tag === "Cyan") { + if (y.tag === "Cyan") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Cyan") { return Data$dOrdering.GT; } + if (x.tag === "White") { + if (y.tag === "White") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "White") { return Data$dOrdering.GT; } + if (x.tag === "BrightBlack") { + if (y.tag === "BrightBlack") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "BrightBlack") { return Data$dOrdering.GT; } + if (x.tag === "BrightRed") { + if (y.tag === "BrightRed") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "BrightRed") { return Data$dOrdering.GT; } + if (x.tag === "BrightGreen") { + if (y.tag === "BrightGreen") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "BrightGreen") { return Data$dOrdering.GT; } + if (x.tag === "BrightYellow") { + if (y.tag === "BrightYellow") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "BrightYellow") { return Data$dOrdering.GT; } + if (x.tag === "BrightBlue") { + if (y.tag === "BrightBlue") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "BrightBlue") { return Data$dOrdering.GT; } + if (x.tag === "BrightMagenta") { + if (y.tag === "BrightMagenta") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "BrightMagenta") { return Data$dOrdering.GT; } + if (x.tag === "BrightCyan") { + if (y.tag === "BrightCyan") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "BrightCyan") { return Data$dOrdering.GT; } + if (x.tag === "BrightWhite") { + if (y.tag === "BrightWhite") { return Data$dOrdering.EQ; } + $runtime.fail(); + } + $runtime.fail(); + }, + Eq0: () => eqColor +}; +const ordGraphicsParam = { + compare: x => y => { + if (x.tag === "Reset") { + if (y.tag === "Reset") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Reset") { return Data$dOrdering.GT; } + if (x.tag === "PMode") { + if (y.tag === "PMode") { return ordRenderingMode.compare(x._1)(y._1); } + return Data$dOrdering.LT; + } + if (y.tag === "PMode") { return Data$dOrdering.GT; } + if (x.tag === "PForeground") { + if (y.tag === "PForeground") { return ordColor.compare(x._1)(y._1); } + return Data$dOrdering.LT; + } + if (y.tag === "PForeground") { return Data$dOrdering.GT; } + if (x.tag === "PBackground") { + if (y.tag === "PBackground") { return ordColor.compare(x._1)(y._1); } + $runtime.fail(); + } + $runtime.fail(); + }, + Eq0: () => eqGraphicsParam +}; +const compare4 = /* #__PURE__ */ (() => Data$dList$dTypes.ordNonEmpty(ordGraphicsParam).compare)(); +const ordEscapeCode = { + compare: x => y => { + if (x.tag === "Up") { + if (y.tag === "Up") { return Data$dOrd.ordInt.compare(x._1)(y._1); } + return Data$dOrdering.LT; + } + if (y.tag === "Up") { return Data$dOrdering.GT; } + if (x.tag === "Down") { + if (y.tag === "Down") { return Data$dOrd.ordInt.compare(x._1)(y._1); } + return Data$dOrdering.LT; + } + if (y.tag === "Down") { return Data$dOrdering.GT; } + if (x.tag === "Forward") { + if (y.tag === "Forward") { return Data$dOrd.ordInt.compare(x._1)(y._1); } + return Data$dOrdering.LT; + } + if (y.tag === "Forward") { return Data$dOrdering.GT; } + if (x.tag === "Back") { + if (y.tag === "Back") { return Data$dOrd.ordInt.compare(x._1)(y._1); } + return Data$dOrdering.LT; + } + if (y.tag === "Back") { return Data$dOrdering.GT; } + if (x.tag === "NextLine") { + if (y.tag === "NextLine") { return Data$dOrd.ordInt.compare(x._1)(y._1); } + return Data$dOrdering.LT; + } + if (y.tag === "NextLine") { return Data$dOrdering.GT; } + if (x.tag === "PreviousLine") { + if (y.tag === "PreviousLine") { return Data$dOrd.ordInt.compare(x._1)(y._1); } + return Data$dOrdering.LT; + } + if (y.tag === "PreviousLine") { return Data$dOrdering.GT; } + if (x.tag === "HorizontalAbsolute") { + if (y.tag === "HorizontalAbsolute") { return Data$dOrd.ordInt.compare(x._1)(y._1); } + return Data$dOrdering.LT; + } + if (y.tag === "HorizontalAbsolute") { return Data$dOrdering.GT; } + if (x.tag === "Position") { + if (y.tag === "Position") { + const v = Data$dOrd.ordInt.compare(x._1)(y._1); + if (v.tag === "LT") { return Data$dOrdering.LT; } + if (v.tag === "GT") { return Data$dOrdering.GT; } + return Data$dOrd.ordInt.compare(x._2)(y._2); + } + return Data$dOrdering.LT; + } + if (y.tag === "Position") { return Data$dOrdering.GT; } + if (x.tag === "EraseData") { + if (y.tag === "EraseData") { return ordEraseParam.compare(x._1)(y._1); } + return Data$dOrdering.LT; + } + if (y.tag === "EraseData") { return Data$dOrdering.GT; } + if (x.tag === "EraseLine") { + if (y.tag === "EraseLine") { return ordEraseParam.compare(x._1)(y._1); } + return Data$dOrdering.LT; + } + if (y.tag === "EraseLine") { return Data$dOrdering.GT; } + if (x.tag === "ScrollUp") { + if (y.tag === "ScrollUp") { return Data$dOrd.ordInt.compare(x._1)(y._1); } + return Data$dOrdering.LT; + } + if (y.tag === "ScrollUp") { return Data$dOrdering.GT; } + if (x.tag === "ScrollDown") { + if (y.tag === "ScrollDown") { return Data$dOrd.ordInt.compare(x._1)(y._1); } + return Data$dOrdering.LT; + } + if (y.tag === "ScrollDown") { return Data$dOrdering.GT; } + if (x.tag === "Graphics") { + if (y.tag === "Graphics") { return compare4(x._1)(y._1); } + return Data$dOrdering.LT; + } + if (y.tag === "Graphics") { return Data$dOrdering.GT; } + if (x.tag === "SavePosition") { + if (y.tag === "SavePosition") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SavePosition") { return Data$dOrdering.GT; } + if (x.tag === "RestorePosition") { + if (y.tag === "RestorePosition") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "RestorePosition") { return Data$dOrdering.GT; } + if (x.tag === "QueryPosition") { + if (y.tag === "QueryPosition") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "QueryPosition") { return Data$dOrdering.GT; } + if (x.tag === "HideCursor") { + if (y.tag === "HideCursor") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "HideCursor") { return Data$dOrdering.GT; } + if (x.tag === "ShowCursor") { + if (y.tag === "ShowCursor") { return Data$dOrdering.EQ; } + $runtime.fail(); + } + $runtime.fail(); + }, + Eq0: () => eqEscapeCode +}; +const colorSuffix = "m"; +const colorCode = c => { + if (c.tag === "Black") { return 30; } + if (c.tag === "Red") { return 31; } + if (c.tag === "Green") { return 32; } + if (c.tag === "Yellow") { return 33; } + if (c.tag === "Blue") { return 34; } + if (c.tag === "Magenta") { return 35; } + if (c.tag === "Cyan") { return 36; } + if (c.tag === "White") { return 37; } + if (c.tag === "BrightBlack") { return 90; } + if (c.tag === "BrightRed") { return 91; } + if (c.tag === "BrightGreen") { return 92; } + if (c.tag === "BrightYellow") { return 93; } + if (c.tag === "BrightBlue") { return 94; } + if (c.tag === "BrightMagenta") { return 95; } + if (c.tag === "BrightCyan") { return 96; } + if (c.tag === "BrightWhite") { return 97; } + $runtime.fail(); +}; +const codeForRenderingMode = m => { + if (m.tag === "Bold") { return 1; } + if (m.tag === "Dim") { return 2; } + if (m.tag === "Italic") { return 3; } + if (m.tag === "Underline") { return 4; } + if (m.tag === "Inverse") { return 7; } + if (m.tag === "Strikethrough") { return 9; } + $runtime.fail(); +}; +const graphicsParamToString = gp => { + if (gp.tag === "Reset") { return "0"; } + if (gp.tag === "PMode") { + return Data$dShow.showIntImpl((() => { + if (gp._1.tag === "Bold") { return 1; } + if (gp._1.tag === "Dim") { return 2; } + if (gp._1.tag === "Italic") { return 3; } + if (gp._1.tag === "Underline") { return 4; } + if (gp._1.tag === "Inverse") { return 7; } + if (gp._1.tag === "Strikethrough") { return 9; } + $runtime.fail(); + })()); + } + if (gp.tag === "PForeground") { + return Data$dShow.showIntImpl((() => { + if (gp._1.tag === "Black") { return 30; } + if (gp._1.tag === "Red") { return 31; } + if (gp._1.tag === "Green") { return 32; } + if (gp._1.tag === "Yellow") { return 33; } + if (gp._1.tag === "Blue") { return 34; } + if (gp._1.tag === "Magenta") { return 35; } + if (gp._1.tag === "Cyan") { return 36; } + if (gp._1.tag === "White") { return 37; } + if (gp._1.tag === "BrightBlack") { return 90; } + if (gp._1.tag === "BrightRed") { return 91; } + if (gp._1.tag === "BrightGreen") { return 92; } + if (gp._1.tag === "BrightYellow") { return 93; } + if (gp._1.tag === "BrightBlue") { return 94; } + if (gp._1.tag === "BrightMagenta") { return 95; } + if (gp._1.tag === "BrightCyan") { return 96; } + if (gp._1.tag === "BrightWhite") { return 97; } + $runtime.fail(); + })()); + } + if (gp.tag === "PBackground") { + return Data$dShow.showIntImpl((() => { + if (gp._1.tag === "Black") { return 40; } + if (gp._1.tag === "Red") { return 41; } + if (gp._1.tag === "Green") { return 42; } + if (gp._1.tag === "Yellow") { return 43; } + if (gp._1.tag === "Blue") { return 44; } + if (gp._1.tag === "Magenta") { return 45; } + if (gp._1.tag === "Cyan") { return 46; } + if (gp._1.tag === "White") { return 47; } + if (gp._1.tag === "BrightBlack") { return 100; } + if (gp._1.tag === "BrightRed") { return 101; } + if (gp._1.tag === "BrightGreen") { return 102; } + if (gp._1.tag === "BrightYellow") { return 103; } + if (gp._1.tag === "BrightBlue") { return 104; } + if (gp._1.tag === "BrightMagenta") { return 105; } + if (gp._1.tag === "BrightCyan") { return 106; } + if (gp._1.tag === "BrightWhite") { return 107; } + $runtime.fail(); + })()); + } + $runtime.fail(); +}; +const escapeCodeToString = x => { + if (x.tag === "Up") { return "\u001b[" + (Data$dShow.showIntImpl(x._1) + "A"); } + if (x.tag === "Down") { return "\u001b[" + (Data$dShow.showIntImpl(x._1) + "B"); } + if (x.tag === "Forward") { return "\u001b[" + (Data$dShow.showIntImpl(x._1) + "C"); } + if (x.tag === "Back") { return "\u001b[" + (Data$dShow.showIntImpl(x._1) + "D"); } + if (x.tag === "NextLine") { return "\u001b[" + (Data$dShow.showIntImpl(x._1) + "E"); } + if (x.tag === "PreviousLine") { return "\u001b[" + (Data$dShow.showIntImpl(x._1) + "F"); } + if (x.tag === "HorizontalAbsolute") { return "\u001b[" + (Data$dShow.showIntImpl(x._1) + "G"); } + if (x.tag === "Position") { return "\u001b[" + (Data$dShow.showIntImpl(x._1) + (";" + (Data$dShow.showIntImpl(x._2) + "H"))); } + if (x.tag === "EraseData") { + if (x._1.tag === "ToEnd") { return "\u001b[0J"; } + if (x._1.tag === "FromBeginning") { return "\u001b[1J"; } + if (x._1.tag === "Entire") { return "\u001b[2J"; } + $runtime.fail(); + } + if (x.tag === "EraseLine") { + if (x._1.tag === "ToEnd") { return "\u001b[0K"; } + if (x._1.tag === "FromBeginning") { return "\u001b[1K"; } + if (x._1.tag === "Entire") { return "\u001b[2K"; } + $runtime.fail(); + } + if (x.tag === "ScrollUp") { return "\u001b[" + (Data$dShow.showIntImpl(x._1) + "S"); } + if (x.tag === "ScrollDown") { return "\u001b[" + (Data$dShow.showIntImpl(x._1) + "T"); } + if (x.tag === "Graphics") { + const $1 = Data$dList$dTypes.functorNonEmptyList.map(graphicsParamToString)(x._1); + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const b = go$a0, v = go$a1; + if (v.tag === "Nil") { + go$c = false; + go$r = b; + continue; + } + if (v.tag === "Cons") { + go$a0 = (() => { + if (b.init) { return {init: false, acc: v._1}; } + return {init: false, acc: b.acc + (";" + v._1)}; + })(); + go$a1 = v._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return "\u001b[" + (go({init: false, acc: $1._1})($1._2).acc + "m"); + } + if (x.tag === "SavePosition") { return "\u001b[s"; } + if (x.tag === "RestorePosition") { return "\u001b[u"; } + if (x.tag === "QueryPosition") { return "\u001b[6n"; } + if (x.tag === "HideCursor") { return "\u001b[?25l"; } + if (x.tag === "ShowCursor") { return "\u001b[?25h"; } + $runtime.fail(); +}; +export { + $Color, + $EraseParam, + $EscapeCode, + $GraphicsParam, + $RenderingMode, + Back, + Black, + Blue, + Bold, + BrightBlack, + BrightBlue, + BrightCyan, + BrightGreen, + BrightMagenta, + BrightRed, + BrightWhite, + BrightYellow, + Cyan, + Dim, + Down, + Entire, + EraseData, + EraseLine, + Forward, + FromBeginning, + Graphics, + Green, + HideCursor, + HorizontalAbsolute, + Inverse, + Italic, + Magenta, + NextLine, + PBackground, + PForeground, + PMode, + Position, + PreviousLine, + QueryPosition, + Red, + Reset, + RestorePosition, + SavePosition, + ScrollDown, + ScrollUp, + ShowCursor, + Strikethrough, + ToEnd, + Underline, + Up, + White, + Yellow, + codeForRenderingMode, + colorCode, + colorSuffix, + compare4, + eq4, + eqColor, + eqEraseParam, + eqEscapeCode, + eqGraphicsParam, + eqRenderingMode, + eraseParamToString, + escapeCodeToString, + genericColor, + genericEraseParam, + genericEscapeCode, + genericGraphicsParam, + genericRenderingMode, + genericShowArgsArgument, + graphicsParamToString, + ordColor, + ordEraseParam, + ordEscapeCode, + ordGraphicsParam, + ordRenderingMode, + prefix, + showColor, + showEraseParam, + showEscapeCode, + showGraphicsParam, + showRenderingMode +}; diff --git a/.storybook/purescript-indexer/output-es/Ansi.Output/index.js b/.storybook/purescript-indexer/output-es/Ansi.Output/index.js new file mode 100644 index 0000000..4288c40 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Ansi.Output/index.js @@ -0,0 +1,18 @@ +// | Convenience functions to simplify outputting ANSI escape codes to +// | terminals. +import * as $runtime from "../runtime.js"; +import * as Ansi$dCodes from "../Ansi.Codes/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dNonEmpty from "../Data.NonEmpty/index.js"; +const withGraphics = params => text => Ansi$dCodes.escapeCodeToString(Ansi$dCodes.$EscapeCode("Graphics", params)) + ( + text + Ansi$dCodes.escapeCodeToString(Ansi$dCodes.$EscapeCode("Graphics", Data$dNonEmpty.$NonEmpty(Ansi$dCodes.Reset, Data$dList$dTypes.Nil))) +); +const underline = /* #__PURE__ */ Data$dNonEmpty.$NonEmpty(/* #__PURE__ */ Ansi$dCodes.$GraphicsParam("PMode", Ansi$dCodes.Underline), Data$dList$dTypes.Nil); +const strikethrough = /* #__PURE__ */ Data$dNonEmpty.$NonEmpty(/* #__PURE__ */ Ansi$dCodes.$GraphicsParam("PMode", Ansi$dCodes.Strikethrough), Data$dList$dTypes.Nil); +const italic = /* #__PURE__ */ Data$dNonEmpty.$NonEmpty(/* #__PURE__ */ Ansi$dCodes.$GraphicsParam("PMode", Ansi$dCodes.Italic), Data$dList$dTypes.Nil); +const inverse = /* #__PURE__ */ Data$dNonEmpty.$NonEmpty(/* #__PURE__ */ Ansi$dCodes.$GraphicsParam("PMode", Ansi$dCodes.Inverse), Data$dList$dTypes.Nil); +const foreground = c => Data$dNonEmpty.$NonEmpty(Ansi$dCodes.$GraphicsParam("PForeground", c), Data$dList$dTypes.Nil); +const dim = /* #__PURE__ */ Data$dNonEmpty.$NonEmpty(/* #__PURE__ */ Ansi$dCodes.$GraphicsParam("PMode", Ansi$dCodes.Dim), Data$dList$dTypes.Nil); +const bold = /* #__PURE__ */ Data$dNonEmpty.$NonEmpty(/* #__PURE__ */ Ansi$dCodes.$GraphicsParam("PMode", Ansi$dCodes.Bold), Data$dList$dTypes.Nil); +const background = c => Data$dNonEmpty.$NonEmpty(Ansi$dCodes.$GraphicsParam("PBackground", c), Data$dList$dTypes.Nil); +export {background, bold, dim, foreground, inverse, italic, strikethrough, underline, withGraphics}; diff --git a/.storybook/purescript-indexer/output-es/Control.Alt/index.js b/.storybook/purescript-indexer/output-es/Control.Alt/index.js new file mode 100644 index 0000000..48bdf51 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Alt/index.js @@ -0,0 +1,6 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dFunctor from "../Data.Functor/index.js"; +import * as Data$dSemigroup from "../Data.Semigroup/index.js"; +const altArray = {alt: Data$dSemigroup.concatArray, Functor0: () => Data$dFunctor.functorArray}; +const alt = dict => dict.alt; +export {alt, altArray}; diff --git a/.storybook/purescript-indexer/output-es/Control.Alternative/index.js b/.storybook/purescript-indexer/output-es/Control.Alternative/index.js new file mode 100644 index 0000000..79c8436 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Alternative/index.js @@ -0,0 +1,14 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dApplicative from "../Control.Applicative/index.js"; +import * as Control$dPlus from "../Control.Plus/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const guard = dictAlternative => { + const pure = dictAlternative.Applicative0().pure; + const empty = dictAlternative.Plus1().empty; + return v => { + if (v) { return pure(Data$dUnit.unit); } + return empty; + }; +}; +const alternativeArray = {Applicative0: () => Control$dApplicative.applicativeArray, Plus1: () => Control$dPlus.plusArray}; +export {alternativeArray, guard}; diff --git a/.storybook/purescript-indexer/output-es/Control.Applicative/index.js b/.storybook/purescript-indexer/output-es/Control.Applicative/index.js new file mode 100644 index 0000000..7f97a97 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Applicative/index.js @@ -0,0 +1,22 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dApply from "../Control.Apply/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +const pure = dict => dict.pure; +const unless = dictApplicative => v => v1 => { + if (!v) { return v1; } + if (v) { return dictApplicative.pure(Data$dUnit.unit); } + $runtime.fail(); +}; +const when = dictApplicative => v => v1 => { + if (v) { return v1; } + return dictApplicative.pure(Data$dUnit.unit); +}; +const liftA1 = dictApplicative => { + const apply = dictApplicative.Apply0().apply; + return f => a => apply(dictApplicative.pure(f))(a); +}; +const applicativeProxy = {pure: v => Type$dProxy.Proxy, Apply0: () => Control$dApply.applyProxy}; +const applicativeFn = {pure: x => v => x, Apply0: () => Control$dApply.applyFn}; +const applicativeArray = {pure: x => [x], Apply0: () => Control$dApply.applyArray}; +export {applicativeArray, applicativeFn, applicativeProxy, liftA1, pure, unless, when}; diff --git a/.storybook/purescript-indexer/output-es/Control.Apply/foreign.js b/.storybook/purescript-indexer/output-es/Control.Apply/foreign.js new file mode 100644 index 0000000..149f438 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Apply/foreign.js @@ -0,0 +1,15 @@ +export const arrayApply = function (fs) { + return function (xs) { + var l = fs.length; + var k = xs.length; + var result = new Array(l*k); + var n = 0; + for (var i = 0; i < l; i++) { + var f = fs[i]; + for (var j = 0; j < k; j++) { + result[n++] = f(xs[j]); + } + } + return result; + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Control.Apply/index.js b/.storybook/purescript-indexer/output-es/Control.Apply/index.js new file mode 100644 index 0000000..373276c --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Apply/index.js @@ -0,0 +1,36 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dFunction from "../Data.Function/index.js"; +import * as Data$dFunctor from "../Data.Functor/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +import {arrayApply} from "./foreign.js"; +const identity = x => x; +const applyProxy = {apply: v => v1 => Type$dProxy.Proxy, Functor0: () => Data$dFunctor.functorProxy}; +const applyFn = {apply: f => g => x => f(x)(g(x)), Functor0: () => Data$dFunctor.functorFn}; +const applyArray = {apply: arrayApply, Functor0: () => Data$dFunctor.functorArray}; +const apply = dict => dict.apply; +const applyFirst = dictApply => { + const map = dictApply.Functor0().map; + return a => b => dictApply.apply(map(Data$dFunction.const)(a))(b); +}; +const applySecond = dictApply => { + const map = dictApply.Functor0().map; + return a => b => dictApply.apply(map(v => identity)(a))(b); +}; +const lift2 = dictApply => { + const map = dictApply.Functor0().map; + return f => a => b => dictApply.apply(map(f)(a))(b); +}; +const lift3 = dictApply => { + const map = dictApply.Functor0().map; + return f => a => b => c => dictApply.apply(dictApply.apply(map(f)(a))(b))(c); +}; +const lift4 = dictApply => { + const map = dictApply.Functor0().map; + return f => a => b => c => d => dictApply.apply(dictApply.apply(dictApply.apply(map(f)(a))(b))(c))(d); +}; +const lift5 = dictApply => { + const map = dictApply.Functor0().map; + return f => a => b => c => d => e => dictApply.apply(dictApply.apply(dictApply.apply(dictApply.apply(map(f)(a))(b))(c))(d))(e); +}; +export {apply, applyArray, applyFirst, applyFn, applyProxy, applySecond, identity, lift2, lift3, lift4, lift5}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Control.Biapplicative/index.js b/.storybook/purescript-indexer/output-es/Control.Biapplicative/index.js new file mode 100644 index 0000000..3cf3876 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Biapplicative/index.js @@ -0,0 +1,6 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dBiapply from "../Control.Biapply/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const bipure = dict => dict.bipure; +const biapplicativeTuple = {bipure: Data$dTuple.Tuple, Biapply0: () => Control$dBiapply.biapplyTuple}; +export {biapplicativeTuple, bipure}; diff --git a/.storybook/purescript-indexer/output-es/Control.Biapply/index.js b/.storybook/purescript-indexer/output-es/Control.Biapply/index.js new file mode 100644 index 0000000..55e3fb0 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Biapply/index.js @@ -0,0 +1,24 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dBifunctor from "../Data.Bifunctor/index.js"; +import * as Data$dFunction from "../Data.Function/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const identity = x => x; +const biapplyTuple = {biapply: v => v1 => Data$dTuple.$Tuple(v._1(v1._1), v._2(v1._2)), Bifunctor0: () => Data$dBifunctor.bifunctorTuple}; +const biapply = dict => dict.biapply; +const biapplyFirst = dictBiapply => { + const bimap = dictBiapply.Bifunctor0().bimap; + return a => b => dictBiapply.biapply(bimap(v => identity)(v => identity)(a))(b); +}; +const biapplySecond = dictBiapply => { + const bimap = dictBiapply.Bifunctor0().bimap; + return a => b => dictBiapply.biapply(bimap(Data$dFunction.const)(Data$dFunction.const)(a))(b); +}; +const bilift2 = dictBiapply => { + const bimap = dictBiapply.Bifunctor0().bimap; + return f => g => a => b => dictBiapply.biapply(bimap(f)(g)(a))(b); +}; +const bilift3 = dictBiapply => { + const bimap = dictBiapply.Bifunctor0().bimap; + return f => g => a => b => c => dictBiapply.biapply(dictBiapply.biapply(bimap(f)(g)(a))(b))(c); +}; +export {biapply, biapplyFirst, biapplySecond, biapplyTuple, bilift2, bilift3, identity}; diff --git a/.storybook/purescript-indexer/output-es/Control.Bind/foreign.js b/.storybook/purescript-indexer/output-es/Control.Bind/foreign.js new file mode 100644 index 0000000..fa0dbae --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Bind/foreign.js @@ -0,0 +1,9 @@ +export const arrayBind = function (arr) { + return function (f) { + var result = []; + for (var i = 0, l = arr.length; i < l; i++) { + Array.prototype.push.apply(result, f(arr[i])); + } + return result; + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Control.Bind/index.js b/.storybook/purescript-indexer/output-es/Control.Bind/index.js new file mode 100644 index 0000000..c87c32e --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Bind/index.js @@ -0,0 +1,22 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dApply from "../Control.Apply/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +import {arrayBind} from "./foreign.js"; +const identity = x => x; +const discard = dict => dict.discard; +const bindProxy = {bind: v => v1 => Type$dProxy.Proxy, Apply0: () => Control$dApply.applyProxy}; +const bindFn = {bind: m => f => x => f(m(x))(x), Apply0: () => Control$dApply.applyFn}; +const bindArray = {bind: arrayBind, Apply0: () => Control$dApply.applyArray}; +const bind = dict => dict.bind; +const bindFlipped = dictBind => b => a => dictBind.bind(a)(b); +const composeKleisliFlipped = dictBind => f => g => a => dictBind.bind(g(a))(f); +const composeKleisli = dictBind => f => g => a => dictBind.bind(f(a))(g); +const discardProxy = {discard: dictBind => dictBind.bind}; +const discardUnit = {discard: dictBind => dictBind.bind}; +const ifM = dictBind => cond => t => f => dictBind.bind(cond)(cond$p => { + if (cond$p) { return t; } + return f; +}); +const join = dictBind => m => dictBind.bind(m)(identity); +export {bind, bindArray, bindFlipped, bindFn, bindProxy, composeKleisli, composeKleisliFlipped, discard, discardProxy, discardUnit, identity, ifM, join}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Control.Category/index.js b/.storybook/purescript-indexer/output-es/Control.Category/index.js new file mode 100644 index 0000000..ae19a7e --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Category/index.js @@ -0,0 +1,5 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dSemigroupoid from "../Control.Semigroupoid/index.js"; +const identity = dict => dict.identity; +const categoryFn = {identity: x => x, Semigroupoid0: () => Control$dSemigroupoid.semigroupoidFn}; +export {categoryFn, identity}; diff --git a/.storybook/purescript-indexer/output-es/Control.Comonad.Cofree.Class/index.js b/.storybook/purescript-indexer/output-es/Control.Comonad.Cofree.Class/index.js new file mode 100644 index 0000000..d738b5b --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Comonad.Cofree.Class/index.js @@ -0,0 +1,30 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dComonad$dCofree from "../Control.Comonad.Cofree/index.js"; +import * as Control$dComonad$dEnv$dTrans from "../Control.Comonad.Env.Trans/index.js"; +import * as Control$dComonad$dStore$dTrans from "../Control.Comonad.Store.Trans/index.js"; +import * as Control$dComonad$dTraced$dTrans from "../Control.Comonad.Traced.Trans/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const unwrapCofree = dict => dict.unwrapCofree; +const comonadCofreeTracedT = dictFunctor => dictComonadCofree => { + const Functor0 = dictComonadCofree.Functor0(); + const comonadTracedT = Control$dComonad$dTraced$dTrans.comonadTracedT(dictComonadCofree.Comonad1()); + return dictMonoid => { + const comonadTracedT1 = comonadTracedT(dictMonoid); + return {unwrapCofree: v => Functor0.map(Control$dComonad$dTraced$dTrans.TracedT)(dictComonadCofree.unwrapCofree(v)), Functor0: () => Functor0, Comonad1: () => comonadTracedT1}; + }; +}; +const comonadCofreeStoreT = dictFunctor => dictComonadCofree => { + const Functor0 = dictComonadCofree.Functor0(); + const comonadStoreT = Control$dComonad$dStore$dTrans.comonadStoreT(dictComonadCofree.Comonad1()); + return {unwrapCofree: v => Functor0.map(x => Data$dTuple.$Tuple(x, v._2))(dictComonadCofree.unwrapCofree(v._1)), Functor0: () => Functor0, Comonad1: () => comonadStoreT}; +}; +const comonadCofreeEnvT = dictFunctor => dictComonadCofree => { + const Functor0 = dictComonadCofree.Functor0(); + const comonadEnvT = Control$dComonad$dEnv$dTrans.comonadEnvT(dictComonadCofree.Comonad1()); + return {unwrapCofree: v => Functor0.map(x => Data$dTuple.$Tuple(v._1, x))(dictComonadCofree.unwrapCofree(v._2)), Functor0: () => Functor0, Comonad1: () => comonadEnvT}; +}; +const comonadCofreeCofree = dictFunctor => { + const extendCofree1 = Control$dComonad$dCofree.extendCofree(dictFunctor); + return {unwrapCofree: Control$dComonad$dCofree.tail, Functor0: () => dictFunctor, Comonad1: () => ({extract: Control$dComonad$dCofree.head, Extend0: () => extendCofree1})}; +}; +export {comonadCofreeCofree, comonadCofreeEnvT, comonadCofreeStoreT, comonadCofreeTracedT, unwrapCofree}; diff --git a/.storybook/purescript-indexer/output-es/Control.Comonad.Cofree/index.js b/.storybook/purescript-indexer/output-es/Control.Comonad.Cofree/index.js new file mode 100644 index 0000000..d9191b4 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Comonad.Cofree/index.js @@ -0,0 +1,223 @@ +// | The _cofree comonad_ for a `Functor`. +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dFree from "../Control.Monad.Free/index.js"; +import * as Control$dMonad$dRec$dClass from "../Control.Monad.Rec.Class/index.js"; +import * as Control$dMonad$dState$dTrans from "../Control.Monad.State.Trans/index.js"; +import * as Data$dIdentity from "../Data.Identity/index.js"; +import * as Data$dLazy from "../Data.Lazy/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const identity = x => x; +const state = /* #__PURE__ */ (() => Control$dMonad$dState$dTrans.monadStateStateT(Data$dIdentity.monadIdentity).state)(); +const monadRecStateT = /* #__PURE__ */ Control$dMonad$dState$dTrans.monadRecStateT(Control$dMonad$dRec$dClass.monadRecIdentity); +const tail = v => Data$dLazy.force(v)._2; +const mkCofree = a => t => Data$dLazy.defer(v => Data$dTuple.$Tuple(a, t)); +const lazyCofree = {defer: k => Data$dLazy.defer(v => Data$dLazy.force(k(Data$dUnit.unit)))}; +const hoistCofree = dictFunctor => nat => v => { + const $3 = Data$dTuple.functorTuple.map((() => { + const $3 = dictFunctor.map(hoistCofree(dictFunctor)(nat)); + return x => nat($3(x)); + })()); + return Data$dLazy.defer(v$1 => $3(Data$dLazy.force(v))); +}; +const head = v => Data$dLazy.force(v)._1; +const functorCofree = dictFunctor => ( + { + map: f => { + const loop = v => Data$dLazy.defer(v$1 => { + const $5 = Data$dLazy.force(v); + return Data$dTuple.$Tuple(f($5._1), dictFunctor.map(loop)($5._2)); + }); + return loop; + } + } +); +const functorWithIndexCofree = dictFunctor => { + const functorCofree1 = functorCofree(dictFunctor); + return { + mapWithIndex: f => { + const loop = n => v => Data$dLazy.defer(v$1 => { + const $7 = Data$dLazy.force(v); + return Data$dTuple.$Tuple(f(n)($7._1), dictFunctor.map(loop(n + 1 | 0))($7._2)); + }); + return loop(0); + }, + Functor0: () => functorCofree1 + }; +}; +const foldableCofree = dictFoldable => ( + { + foldr: f => { + const go = fa => b => f(Data$dLazy.force(fa)._1)(dictFoldable.foldr(go)(b)(Data$dLazy.force(fa)._2)); + return b => a => go(a)(b); + }, + foldl: f => { + const go = b => fa => dictFoldable.foldl(go)(f(b)(Data$dLazy.force(fa)._1))(Data$dLazy.force(fa)._2); + return go; + }, + foldMap: dictMonoid => { + const append = dictMonoid.Semigroup0().append; + const foldMap1 = dictFoldable.foldMap(dictMonoid); + return f => { + const go = fa => append(f(Data$dLazy.force(fa)._1))(foldMap1(go)(Data$dLazy.force(fa)._2)); + return go; + }; + } + } +); +const traversableCofree = dictTraversable => { + const functorCofree1 = functorCofree(dictTraversable.Functor0()); + const foldableCofree1 = foldableCofree(dictTraversable.Foldable1()); + return { + sequence: dictApplicative => traversableCofree(dictTraversable).traverse(dictApplicative)(identity), + traverse: dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map2 = Apply0.Functor0().map; + const traverse1 = dictTraversable.traverse(dictApplicative); + return f => { + const loop = ta => Apply0.apply(map2(mkCofree)(f(Data$dLazy.force(ta)._1)))(traverse1(loop)(Data$dLazy.force(ta)._2)); + return loop; + }; + }, + Functor0: () => functorCofree1, + Foldable1: () => foldableCofree1 + }; +}; +const extendCofree = dictFunctor => { + const functorCofree1 = functorCofree(dictFunctor); + return { + extend: f => { + const loop = v => Data$dLazy.defer(v$1 => Data$dTuple.$Tuple(f(v), dictFunctor.map(loop)(Data$dLazy.force(v)._2))); + return loop; + }, + Functor0: () => functorCofree1 + }; +}; +const eqCofree = dictEq1 => dictEq => ( + {eq: x => y => dictEq.eq(Data$dLazy.force(x)._1)(Data$dLazy.force(y)._1) && dictEq1.eq1(eqCofree(dictEq1)(dictEq))(Data$dLazy.force(x)._2)(Data$dLazy.force(y)._2)} +); +const ordCofree = dictOrd1 => { + const eqCofree1 = eqCofree(dictOrd1.Eq10()); + return dictOrd => { + const eqCofree2 = eqCofree1(dictOrd.Eq0()); + return { + compare: x => y => { + const v = dictOrd.compare(Data$dLazy.force(x)._1)(Data$dLazy.force(y)._1); + if (v.tag === "EQ") { return dictOrd1.compare1(ordCofree(dictOrd1)(dictOrd))(Data$dLazy.force(x)._2)(Data$dLazy.force(y)._2); } + return v; + }, + Eq0: () => eqCofree2 + }; + }; +}; +const eq1Cofree = dictEq1 => ({eq1: dictEq => eqCofree(dictEq1)(dictEq).eq}); +const ord1Cofree = dictOrd1 => { + const ordCofree1 = ordCofree(dictOrd1); + const $2 = dictOrd1.Eq10(); + const eq1Cofree1 = {eq1: dictEq => eqCofree($2)(dictEq).eq}; + return {compare1: dictOrd => ordCofree1(dictOrd).compare, Eq10: () => eq1Cofree1}; +}; +const deferCofree = x => Data$dLazy.defer(x); +const semigroupCofree = dictApply => { + const map2 = dictApply.Functor0().map; + return dictSemigroup => ( + { + append: x => y => Data$dLazy.defer(v => Data$dTuple.$Tuple( + dictSemigroup.append(Data$dLazy.force(x)._1)(Data$dLazy.force(y)._1), + dictApply.apply(map2(semigroupCofree(dictApply)(dictSemigroup).append)(Data$dLazy.force(x)._2))(Data$dLazy.force(y)._2) + )) + } + ); +}; +const monoidCofree = dictApplicative => { + const semigroupCofree1 = semigroupCofree(dictApplicative.Apply0()); + return dictMonoid => { + const semigroupCofree2 = semigroupCofree1(dictMonoid.Semigroup0()); + return { + mempty: Data$dLazy.defer(v => Data$dTuple.$Tuple(dictMonoid.mempty, dictApplicative.pure(monoidCofree(dictApplicative)(dictMonoid).mempty))), + Semigroup0: () => semigroupCofree2 + }; + }; +}; +const comonadCofree = dictFunctor => { + const extendCofree1 = extendCofree(dictFunctor); + return {extract: head, Extend0: () => extendCofree1}; +}; +const explore = dictFunctor => { + const runFreeM = Control$dMonad$dFree.runFreeM(dictFunctor)(monadRecStateT); + return dictFunctor1 => pair => m => w => { + const v = runFreeM(ff => state(cof => pair(dictFunctor.map(Data$dTuple.Tuple)(ff))(Data$dLazy.force(cof)._2)))(m)(w); + return v._1(Data$dLazy.force(v._2)._1); + }; +}; +const exploreM = dictFunctor => dictFunctor1 => dictMonadRec => { + const map3 = dictMonadRec.Monad0().Bind1().Apply0().Functor0().map; + const runFreeM1 = Control$dMonad$dFree.runFreeM(dictFunctor)(Control$dMonad$dState$dTrans.monadRecStateT(dictMonadRec)); + return pair => m => w => map3(v => v._1(Data$dLazy.force(v._2)._1))(runFreeM1(ff => cof => pair(dictFunctor.map(Data$dTuple.Tuple)(ff))(Data$dLazy.force(cof)._2))(m)(w)); +}; +const buildCofree = dictFunctor => k => s => Data$dLazy.defer(v => { + const $4 = k(s); + return Data$dTuple.$Tuple($4._1, dictFunctor.map(buildCofree(dictFunctor)(k))($4._2)); +}); +const monadCofree = dictAlternative => ({Applicative0: () => applicativeCofree(dictAlternative), Bind1: () => bindCofree(dictAlternative)}); +const bindCofree = dictAlternative => { + const Alt0 = dictAlternative.Plus1().Alt0(); + const map2 = Alt0.Functor0().map; + return { + bind: fa => f => { + const loop = fa$p => { + const fh = f(Data$dLazy.force(fa$p)._1); + const $8 = Data$dLazy.force(fh)._1; + const $9 = Alt0.alt(Data$dLazy.force(fh)._2)(map2(loop)(Data$dLazy.force(fa$p)._2)); + return Data$dLazy.defer(v => Data$dTuple.$Tuple($8, $9)); + }; + return loop(fa); + }, + Apply0: () => applyCofree(dictAlternative) + }; +}; +const applyCofree = dictAlternative => { + const functorCofree1 = functorCofree(dictAlternative.Plus1().Alt0().Functor0()); + return { + apply: (() => { + const bind = bindCofree(dictAlternative).bind; + const pure = applicativeCofree(dictAlternative).pure; + return f => a => bind(f)(f$p => bind(a)(a$p => pure(f$p(a$p)))); + })(), + Functor0: () => functorCofree1 + }; +}; +const applicativeCofree = dictAlternative => { + const empty = dictAlternative.Plus1().empty; + return {pure: a => Data$dLazy.defer(v => Data$dTuple.$Tuple(a, empty)), Apply0: () => applyCofree(dictAlternative)}; +}; +export { + applicativeCofree, + applyCofree, + bindCofree, + buildCofree, + comonadCofree, + deferCofree, + eq1Cofree, + eqCofree, + explore, + exploreM, + extendCofree, + foldableCofree, + functorCofree, + functorWithIndexCofree, + head, + hoistCofree, + identity, + lazyCofree, + mkCofree, + monadCofree, + monadRecStateT, + monoidCofree, + ord1Cofree, + ordCofree, + semigroupCofree, + state, + tail, + traversableCofree +}; diff --git a/.storybook/purescript-indexer/output-es/Control.Comonad.Env.Class/index.js b/.storybook/purescript-indexer/output-es/Control.Comonad.Env.Class/index.js new file mode 100644 index 0000000..068d1be --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Comonad.Env.Class/index.js @@ -0,0 +1,18 @@ +// | This module defines the `ComonadEnv` type class and its instances. +import * as $runtime from "../runtime.js"; +import * as Control$dComonad$dEnv$dTrans from "../Control.Comonad.Env.Trans/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const local = dict => dict.local; +const comonadAskTuple = {ask: Data$dTuple.fst, Comonad0: () => Data$dTuple.comonadTuple}; +const comonadEnvTuple = {local: f => v => Data$dTuple.$Tuple(f(v._1), v._2), ComonadAsk0: () => comonadAskTuple}; +const comonadAskEnvT = dictComonad => { + const comonadEnvT = Control$dComonad$dEnv$dTrans.comonadEnvT(dictComonad); + return {ask: v => v._1, Comonad0: () => comonadEnvT}; +}; +const comonadEnvEnvT = dictComonad => { + const comonadEnvT = Control$dComonad$dEnv$dTrans.comonadEnvT(dictComonad); + return {local: f => v => Data$dTuple.$Tuple(f(v._1), v._2), ComonadAsk0: () => ({ask: v => v._1, Comonad0: () => comonadEnvT})}; +}; +const ask = dict => dict.ask; +const asks = dictComonadAsk => f => x => f(dictComonadAsk.ask(x)); +export {ask, asks, comonadAskEnvT, comonadAskTuple, comonadEnvEnvT, comonadEnvTuple, local}; diff --git a/.storybook/purescript-indexer/output-es/Control.Comonad.Env.Trans/index.js b/.storybook/purescript-indexer/output-es/Control.Comonad.Env.Trans/index.js new file mode 100644 index 0000000..3cffb6f --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Comonad.Env.Trans/index.js @@ -0,0 +1,112 @@ +// | This module defines the environment comonad transformer, `EnvT`. +import * as $runtime from "../runtime.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const EnvT = x => x; +const withEnvT = f => v => Data$dTuple.$Tuple(f(v._1), v._2); +const runEnvT = v => v; +const newtypeEnvT = {Coercible0: () => undefined}; +const mapEnvT = f => v => Data$dTuple.$Tuple(v._1, f(v._2)); +const functorEnvT = dictFunctor => ({map: f => v => Data$dTuple.$Tuple(v._1, dictFunctor.map(f)(v._2))}); +const functorWithIndexEnvT = dictFunctorWithIndex => { + const $1 = dictFunctorWithIndex.Functor0(); + const functorEnvT1 = {map: f => v => Data$dTuple.$Tuple(v._1, $1.map(f)(v._2))}; + return {mapWithIndex: f => v => Data$dTuple.$Tuple(v._1, dictFunctorWithIndex.mapWithIndex(f)(v._2)), Functor0: () => functorEnvT1}; +}; +const foldableEnvT = dictFoldable => ( + { + foldl: fn => a => v => dictFoldable.foldl(fn)(a)(v._2), + foldr: fn => a => v => dictFoldable.foldr(fn)(a)(v._2), + foldMap: dictMonoid => { + const foldMap1 = dictFoldable.foldMap(dictMonoid); + return fn => v => foldMap1(fn)(v._2); + } + } +); +const foldableWithIndexEnvT = dictFoldableWithIndex => { + const $1 = dictFoldableWithIndex.Foldable0(); + const foldableEnvT1 = { + foldl: fn => a => v => $1.foldl(fn)(a)(v._2), + foldr: fn => a => v => $1.foldr(fn)(a)(v._2), + foldMap: dictMonoid => { + const foldMap1 = $1.foldMap(dictMonoid); + return fn => v => foldMap1(fn)(v._2); + } + }; + return { + foldlWithIndex: f => a => v => dictFoldableWithIndex.foldlWithIndex(f)(a)(v._2), + foldrWithIndex: f => a => v => dictFoldableWithIndex.foldrWithIndex(f)(a)(v._2), + foldMapWithIndex: dictMonoid => { + const foldMapWithIndex1 = dictFoldableWithIndex.foldMapWithIndex(dictMonoid); + return f => v => foldMapWithIndex1(f)(v._2); + }, + Foldable0: () => foldableEnvT1 + }; +}; +const traversableEnvT = dictTraversable => { + const $1 = dictTraversable.Functor0(); + const functorEnvT1 = {map: f => v => Data$dTuple.$Tuple(v._1, $1.map(f)(v._2))}; + const $3 = dictTraversable.Foldable1(); + const foldableEnvT1 = { + foldl: fn => a => v => $3.foldl(fn)(a)(v._2), + foldr: fn => a => v => $3.foldr(fn)(a)(v._2), + foldMap: dictMonoid => { + const foldMap1 = $3.foldMap(dictMonoid); + return fn => v => foldMap1(fn)(v._2); + } + }; + return { + sequence: dictApplicative => { + const map1 = dictApplicative.Apply0().Functor0().map; + const sequence1 = dictTraversable.sequence(dictApplicative); + return v => map1(Data$dTuple.Tuple(v._1))(sequence1(v._2)); + }, + traverse: dictApplicative => { + const map1 = dictApplicative.Apply0().Functor0().map; + const traverse1 = dictTraversable.traverse(dictApplicative); + return f => v => map1(Data$dTuple.Tuple(v._1))(traverse1(f)(v._2)); + }, + Functor0: () => functorEnvT1, + Foldable1: () => foldableEnvT1 + }; +}; +const traversableWithIndexEnvT = dictTraversableWithIndex => { + const functorWithIndexEnvT1 = functorWithIndexEnvT(dictTraversableWithIndex.FunctorWithIndex0()); + const foldableWithIndexEnvT1 = foldableWithIndexEnvT(dictTraversableWithIndex.FoldableWithIndex1()); + const traversableEnvT1 = traversableEnvT(dictTraversableWithIndex.Traversable2()); + return { + traverseWithIndex: dictApplicative => { + const map1 = dictApplicative.Apply0().Functor0().map; + const traverseWithIndex1 = dictTraversableWithIndex.traverseWithIndex(dictApplicative); + return f => v => map1(Data$dTuple.Tuple(v._1))(traverseWithIndex1(f)(v._2)); + }, + FunctorWithIndex0: () => functorWithIndexEnvT1, + FoldableWithIndex1: () => foldableWithIndexEnvT1, + Traversable2: () => traversableEnvT1 + }; +}; +const extendEnvT = dictExtend => { + const Functor0 = dictExtend.Functor0(); + const functorEnvT1 = {map: f => v => Data$dTuple.$Tuple(v._1, Functor0.map(f)(v._2))}; + return {extend: f => v => Data$dTuple.$Tuple(v._1, Functor0.map(f)(dictExtend.extend(Data$dTuple.Tuple(v._1))(v._2))), Functor0: () => functorEnvT1}; +}; +const comonadTransEnvT = {lower: dictComonad => v => v._2}; +const comonadEnvT = dictComonad => { + const extendEnvT1 = extendEnvT(dictComonad.Extend0()); + return {extract: v => dictComonad.extract(v._2), Extend0: () => extendEnvT1}; +}; +export { + EnvT, + comonadEnvT, + comonadTransEnvT, + extendEnvT, + foldableEnvT, + foldableWithIndexEnvT, + functorEnvT, + functorWithIndexEnvT, + mapEnvT, + newtypeEnvT, + runEnvT, + traversableEnvT, + traversableWithIndexEnvT, + withEnvT +}; diff --git a/.storybook/purescript-indexer/output-es/Control.Comonad.Env/index.js b/.storybook/purescript-indexer/output-es/Control.Comonad.Env/index.js new file mode 100644 index 0000000..c226a01 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Comonad.Env/index.js @@ -0,0 +1,9 @@ +// | This module defines the `Env` comonad. +import * as $runtime from "../runtime.js"; +import * as Control$dComonad$dEnv$dTrans from "../Control.Comonad.Env.Trans/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const withEnv = Control$dComonad$dEnv$dTrans.withEnvT; +const runEnv = v => Data$dTuple.$Tuple(v._1, v._2); +const mapEnv = f => v => Data$dTuple.$Tuple(v._1, f(v._2)); +const env = e => a => Data$dTuple.$Tuple(e, a); +export {env, mapEnv, runEnv, withEnv}; diff --git a/.storybook/purescript-indexer/output-es/Control.Comonad.Store.Class/index.js b/.storybook/purescript-indexer/output-es/Control.Comonad.Store.Class/index.js new file mode 100644 index 0000000..12cd13f --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Comonad.Store.Class/index.js @@ -0,0 +1,56 @@ +// | This module defines the `ComonadStore` type class and its instances. +import * as $runtime from "../runtime.js"; +import * as Control$dComonad$dEnv$dTrans from "../Control.Comonad.Env.Trans/index.js"; +import * as Control$dComonad$dStore$dTrans from "../Control.Comonad.Store.Trans/index.js"; +import * as Control$dComonad$dTraced$dTrans from "../Control.Comonad.Traced.Trans/index.js"; +import * as Control$dExtend from "../Control.Extend/index.js"; +const pos = dict => dict.pos; +const peek = dict => dict.peek; +const peeks = dictComonadStore => f => x => dictComonadStore.peek(f(dictComonadStore.pos(x)))(x); +const seeks = dictComonadStore => { + const duplicate = dictComonadStore.Comonad0().Extend0().extend(Control$dExtend.identity); + return f => x => { + const $4 = duplicate(x); + return dictComonadStore.peek(f(dictComonadStore.pos($4)))($4); + }; +}; +const seek = dictComonadStore => { + const duplicate = dictComonadStore.Comonad0().Extend0().extend(Control$dExtend.identity); + return s => { + const $3 = dictComonadStore.peek(s); + return x => $3(duplicate(x)); + }; +}; +const experiment = dictComonadStore => dictFunctor => f => x => dictFunctor.map(a => dictComonadStore.peek(a)(x))(f(dictComonadStore.pos(x))); +const comonadStoreTracedT = dictComonadStore => { + const Comonad0 = dictComonadStore.Comonad0(); + const comonadTracedT = Control$dComonad$dTraced$dTrans.comonadTracedT(Comonad0); + return dictMonoid => { + const map = Comonad0.Extend0().Functor0().map; + const comonadTracedT1 = comonadTracedT(dictMonoid); + return { + pos: x => dictComonadStore.pos(map(f => f(dictMonoid.mempty))(x)), + peek: s => { + const $7 = dictComonadStore.peek(s); + return x => $7(map(f => f(dictMonoid.mempty))(x)); + }, + Comonad0: () => comonadTracedT1 + }; + }; +}; +const comonadStoreStoreT = dictComonad => { + const comonadStoreT = Control$dComonad$dStore$dTrans.comonadStoreT(dictComonad); + return {pos: v => v._2, peek: s => v => dictComonad.extract(v._1)(s), Comonad0: () => comonadStoreT}; +}; +const comonadStoreEnvT = dictComonadStore => { + const comonadEnvT = Control$dComonad$dEnv$dTrans.comonadEnvT(dictComonadStore.Comonad0()); + return { + pos: x => dictComonadStore.pos(x._2), + peek: s => { + const $3 = dictComonadStore.peek(s); + return x => $3(x._2); + }, + Comonad0: () => comonadEnvT + }; +}; +export {comonadStoreEnvT, comonadStoreStoreT, comonadStoreTracedT, experiment, peek, peeks, pos, seek, seeks}; diff --git a/.storybook/purescript-indexer/output-es/Control.Comonad.Store.Trans/index.js b/.storybook/purescript-indexer/output-es/Control.Comonad.Store.Trans/index.js new file mode 100644 index 0000000..8c28381 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Comonad.Store.Trans/index.js @@ -0,0 +1,22 @@ +// | This module defines the store comonad transformer, `StoreT`. +import * as $runtime from "../runtime.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const StoreT = x => x; +const runStoreT = v => v; +const newtypeStoreT = {Coercible0: () => undefined}; +const functorStoreT = dictFunctor => ({map: f => v => Data$dTuple.$Tuple(dictFunctor.map(h => x => f(h(x)))(v._1), v._2)}); +const extendStoreT = dictExtend => { + const functorStoreT1 = functorStoreT(dictExtend.Functor0()); + return {extend: f => v => Data$dTuple.$Tuple(dictExtend.extend(w$p => s$p => f(Data$dTuple.$Tuple(w$p, s$p)))(v._1), v._2), Functor0: () => functorStoreT1}; +}; +const comonadTransStoreT = { + lower: dictComonad => { + const map = dictComonad.Extend0().Functor0().map; + return v => map(v1 => v1(v._2))(v._1); + } +}; +const comonadStoreT = dictComonad => { + const extendStoreT1 = extendStoreT(dictComonad.Extend0()); + return {extract: v => dictComonad.extract(v._1)(v._2), Extend0: () => extendStoreT1}; +}; +export {StoreT, comonadStoreT, comonadTransStoreT, extendStoreT, functorStoreT, newtypeStoreT, runStoreT}; diff --git a/.storybook/purescript-indexer/output-es/Control.Comonad.Store/index.js b/.storybook/purescript-indexer/output-es/Control.Comonad.Store/index.js new file mode 100644 index 0000000..07ef3c5 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Comonad.Store/index.js @@ -0,0 +1,6 @@ +// | This module defines the `Store` comonad. +import * as $runtime from "../runtime.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const store = f => x => Data$dTuple.$Tuple(f, x); +const runStore = v => Data$dTuple.$Tuple(v._1, v._2); +export {runStore, store}; diff --git a/.storybook/purescript-indexer/output-es/Control.Comonad.Traced.Class/index.js b/.storybook/purescript-indexer/output-es/Control.Comonad.Traced.Class/index.js new file mode 100644 index 0000000..fc7d75d --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Comonad.Traced.Class/index.js @@ -0,0 +1,20 @@ +// | This module defines the `ComonadTraced` type class and its instances. +import * as $runtime from "../runtime.js"; +import * as Control$dComonad$dTraced$dTrans from "../Control.Comonad.Traced.Trans/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const track = dict => dict.track; +const tracks = dictComonadTraced => { + const extract = dictComonadTraced.Comonad0().extract; + return f => w => dictComonadTraced.track(f(extract(w)))(w); +}; +const listens = dictFunctor => f => v => dictFunctor.map(g => t => Data$dTuple.$Tuple(g(t), f(t)))(v); +const listen = dictFunctor => v => dictFunctor.map(f => t => Data$dTuple.$Tuple(f(t), t))(v); +const comonadTracedTracedT = dictComonad => { + const comonadTracedT = Control$dComonad$dTraced$dTrans.comonadTracedT(dictComonad); + return dictMonoid => { + const comonadTracedT1 = comonadTracedT(dictMonoid); + return {track: t => v => dictComonad.extract(v)(t), Comonad0: () => comonadTracedT1}; + }; +}; +const censor = dictFunctor => f => v => dictFunctor.map(v1 => x => v1(f(x)))(v); +export {censor, comonadTracedTracedT, listen, listens, track, tracks}; diff --git a/.storybook/purescript-indexer/output-es/Control.Comonad.Traced.Trans/index.js b/.storybook/purescript-indexer/output-es/Control.Comonad.Traced.Trans/index.js new file mode 100644 index 0000000..7142c0d --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Comonad.Traced.Trans/index.js @@ -0,0 +1,30 @@ +// | This module defines the cowriter comonad transformer, `TracedT`. +import * as $runtime from "../runtime.js"; +const TracedT = x => x; +const runTracedT = v => v; +const newtypeTracedT = {Coercible0: () => undefined}; +const functorTracedT = dictFunctor => ({map: f => v => dictFunctor.map(g => t => f(g(t)))(v)}); +const extendTracedT = dictExtend => { + const Functor0 = dictExtend.Functor0(); + const functorTracedT1 = {map: f => v => Functor0.map(g => t => f(g(t)))(v)}; + return dictSemigroup => ({extend: f => v => dictExtend.extend(w$p => t => f(Functor0.map(h => t$p => h(dictSemigroup.append(t)(t$p)))(w$p)))(v), Functor0: () => functorTracedT1}); +}; +const comonadTransTracedT = dictMonoid => ( + { + lower: dictComonad => { + const map = dictComonad.Extend0().Functor0().map; + return v => map(f => f(dictMonoid.mempty))(v); + } + } +); +const comonadTracedT = dictComonad => { + const $1 = dictComonad.Extend0(); + const Functor0 = $1.Functor0(); + const functorTracedT1 = {map: f => v => Functor0.map(g => t => f(g(t)))(v)}; + return dictMonoid => { + const $5 = dictMonoid.Semigroup0(); + const extendTracedT2 = {extend: f => v => $1.extend(w$p => t => f(Functor0.map(h => t$p => h($5.append(t)(t$p)))(w$p)))(v), Functor0: () => functorTracedT1}; + return {extract: v => dictComonad.extract(v)(dictMonoid.mempty), Extend0: () => extendTracedT2}; + }; +}; +export {TracedT, comonadTracedT, comonadTransTracedT, extendTracedT, functorTracedT, newtypeTracedT, runTracedT}; diff --git a/.storybook/purescript-indexer/output-es/Control.Comonad.Traced/index.js b/.storybook/purescript-indexer/output-es/Control.Comonad.Traced/index.js new file mode 100644 index 0000000..e58c9fb --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Comonad.Traced/index.js @@ -0,0 +1,5 @@ +// | This module defines the `Traced` comonad. +import * as $runtime from "../runtime.js"; +const traced = x => x; +const runTraced = v => v; +export {runTraced, traced}; diff --git a/.storybook/purescript-indexer/output-es/Control.Comonad.Trans.Class/index.js b/.storybook/purescript-indexer/output-es/Control.Comonad.Trans.Class/index.js new file mode 100644 index 0000000..924866a --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Comonad.Trans.Class/index.js @@ -0,0 +1,4 @@ +// | This module defines the `ComonadTrans` type class of _comonad transformers_. +import * as $runtime from "../runtime.js"; +const lower = dict => dict.lower; +export {lower}; diff --git a/.storybook/purescript-indexer/output-es/Control.Comonad/index.js b/.storybook/purescript-indexer/output-es/Control.Comonad/index.js new file mode 100644 index 0000000..0972b7b --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Comonad/index.js @@ -0,0 +1,3 @@ +import * as $runtime from "../runtime.js"; +const extract = dict => dict.extract; +export {extract}; diff --git a/.storybook/purescript-indexer/output-es/Control.Extend/foreign.js b/.storybook/purescript-indexer/output-es/Control.Extend/foreign.js new file mode 100644 index 0000000..3c8ac86 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Extend/foreign.js @@ -0,0 +1,7 @@ +export const arrayExtend = function(f) { + return function(xs) { + return xs.map(function (_, i, xs) { + return f(xs.slice(i)); + }); + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Control.Extend/index.js b/.storybook/purescript-indexer/output-es/Control.Extend/index.js new file mode 100644 index 0000000..b9aefb1 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Extend/index.js @@ -0,0 +1,13 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dFunctor from "../Data.Functor/index.js"; +import {arrayExtend} from "./foreign.js"; +const identity = x => x; +const extendFn = dictSemigroup => ({extend: f => g => w => f(w$p => g(dictSemigroup.append(w)(w$p))), Functor0: () => Data$dFunctor.functorFn}); +const extendArray = {extend: arrayExtend, Functor0: () => Data$dFunctor.functorArray}; +const extend = dict => dict.extend; +const extendFlipped = dictExtend => w => f => dictExtend.extend(f)(w); +const duplicate = dictExtend => dictExtend.extend(identity); +const composeCoKleisliFlipped = dictExtend => f => g => w => f(dictExtend.extend(g)(w)); +const composeCoKleisli = dictExtend => f => g => w => g(dictExtend.extend(f)(w)); +export {composeCoKleisli, composeCoKleisliFlipped, duplicate, extend, extendArray, extendFlipped, extendFn, identity}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Control.Lazy/index.js b/.storybook/purescript-indexer/output-es/Control.Lazy/index.js new file mode 100644 index 0000000..f3a25ee --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Lazy/index.js @@ -0,0 +1,11 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const lazyUnit = {defer: v => Data$dUnit.unit}; +const lazyFn = {defer: f => x => f(Data$dUnit.unit)(x)}; +const defer = dict => dict.defer; +const fix = dictLazy => f => { + const go$lazy = $runtime.binding(() => dictLazy.defer(v => f(go$lazy()))); + const go = go$lazy(); + return go; +}; +export {defer, fix, lazyFn, lazyUnit}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.Cont.Class/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.Cont.Class/index.js new file mode 100644 index 0000000..037f677 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.Cont.Class/index.js @@ -0,0 +1,4 @@ +// | This module defines the `MonadCont` type class and its instances. +import * as $runtime from "../runtime.js"; +const callCC = dict => dict.callCC; +export {callCC}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.Cont.Trans/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.Cont.Trans/index.js new file mode 100644 index 0000000..594c34f --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.Cont.Trans/index.js @@ -0,0 +1,113 @@ +// | This module defines the CPS monad transformer. +import * as $runtime from "../runtime.js"; +const ContT = x => x; +const withContT = f => v => k => v(f(k)); +const runContT = v => k => v(k); +const newtypeContT = {Coercible0: () => undefined}; +const monadTransContT = {lift: dictMonad => dictMonad.Bind1().bind}; +const mapContT = f => v => k => f(v(k)); +const functorContT = dictFunctor => ({map: f => v => k => v(a => k(f(a)))}); +const applyContT = dictApply => { + const functorContT1 = {map: f => v => k => v(a => k(f(a)))}; + return {apply: v => v1 => k => v(g => v1(a => k(g(a)))), Functor0: () => functorContT1}; +}; +const bindContT = dictBind => { + const functorContT1 = {map: f => v => k => v(a => k(f(a)))}; + const applyContT1 = {apply: v => v1 => k => v(g => v1(a => k(g(a)))), Functor0: () => functorContT1}; + return {bind: v => k => k$p => v(a => k(a)(k$p)), Apply0: () => applyContT1}; +}; +const semigroupContT = dictApply => dictSemigroup => ( + { + append: a => b => k => a(a$1 => { + const $6 = dictSemigroup.append(a$1); + return b(a$2 => k($6(a$2))); + }) + } +); +const applicativeContT = dictApplicative => { + const functorContT1 = {map: f => v => k => v(a => k(f(a)))}; + const applyContT1 = {apply: v => v1 => k => v(g => v1(a => k(g(a)))), Functor0: () => functorContT1}; + return {pure: a => k => k(a), Apply0: () => applyContT1}; +}; +const monadContT = dictMonad => { + const functorContT1 = {map: f => v => k => v(a => k(f(a)))}; + const applyContT1 = {apply: v => v1 => k => v(g => v1(a => k(g(a)))), Functor0: () => functorContT1}; + const applicativeContT1 = {pure: a => k => k(a), Apply0: () => applyContT1}; + const functorContT1$1 = {map: f => v => k => v(a => k(f(a)))}; + const applyContT1$1 = {apply: v => v1 => k => v(g => v1(a => k(g(a)))), Functor0: () => functorContT1$1}; + const bindContT1 = {bind: v => k => k$p => v(a => k(a)(k$p)), Apply0: () => applyContT1$1}; + return {Applicative0: () => applicativeContT1, Bind1: () => bindContT1}; +}; +const monadAskContT = dictMonadAsk => { + const Monad0 = dictMonadAsk.Monad0(); + const monadContT1 = monadContT(Monad0); + return {ask: Monad0.Bind1().bind(dictMonadAsk.ask), Monad0: () => monadContT1}; +}; +const monadReaderContT = dictMonadReader => { + const MonadAsk0 = dictMonadReader.MonadAsk0(); + const bind = MonadAsk0.Monad0().Bind1().bind; + const monadAskContT1 = monadAskContT(MonadAsk0); + return { + local: f => v => k => bind(MonadAsk0.ask)(r => dictMonadReader.local(f)(v((() => { + const $8 = dictMonadReader.local(v$1 => r); + return x => $8(k(x)); + })()))), + MonadAsk0: () => monadAskContT1 + }; +}; +const monadContContT = dictMonad => { + const monadContT1 = monadContT(dictMonad); + return {callCC: f => k => f(a => v1 => k(a))(k), Monad0: () => monadContT1}; +}; +const monadEffectContT = dictMonadEffect => { + const Monad0 = dictMonadEffect.Monad0(); + const monadContT1 = monadContT(Monad0); + return { + liftEffect: (() => { + const $3 = Monad0.Bind1().bind; + return x => $3(dictMonadEffect.liftEffect(x)); + })(), + Monad0: () => monadContT1 + }; +}; +const monadStateContT = dictMonadState => { + const Monad0 = dictMonadState.Monad0(); + const monadContT1 = monadContT(Monad0); + return { + state: (() => { + const $3 = Monad0.Bind1().bind; + return x => $3(dictMonadState.state(x)); + })(), + Monad0: () => monadContT1 + }; +}; +const monoidContT = dictApplicative => dictMonoid => { + const $2 = dictMonoid.Semigroup0(); + const semigroupContT2 = { + append: a => b => k => a(a$1 => { + const $7 = $2.append(a$1); + return b(a$2 => k($7(a$2))); + }) + }; + return {mempty: k => k(dictMonoid.mempty), Semigroup0: () => semigroupContT2}; +}; +export { + ContT, + applicativeContT, + applyContT, + bindContT, + functorContT, + mapContT, + monadAskContT, + monadContContT, + monadContT, + monadEffectContT, + monadReaderContT, + monadStateContT, + monadTransContT, + monoidContT, + newtypeContT, + runContT, + semigroupContT, + withContT +}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.Cont/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.Cont/index.js new file mode 100644 index 0000000..dd9d146 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.Cont/index.js @@ -0,0 +1,7 @@ +// | This module defines the `Cont`inuation monad. +import * as $runtime from "../runtime.js"; +const withCont = f => v => k => v(f(x => k(x))); +const runCont = cc => k => cc(x => k(x)); +const mapCont = f => v => k => f(v(k)); +const cont = f => c => f(x => c(x)); +export {cont, mapCont, runCont, withCont}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.Error.Class/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.Error.Class/index.js new file mode 100644 index 0000000..cc3f8b5 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.Error.Class/index.js @@ -0,0 +1,90 @@ +// | This module defines the `MonadError` type class and its instances. +import * as $runtime from "../runtime.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import * as Effect from "../Effect/index.js"; +import * as Effect$dException from "../Effect.Exception/index.js"; +const throwError = dict => dict.throwError; +const monadThrowMaybe = {throwError: v => Data$dMaybe.Nothing, Monad0: () => Data$dMaybe.monadMaybe}; +const monadThrowEither = {throwError: Data$dEither.Left, Monad0: () => Data$dEither.monadEither}; +const monadThrowEffect = {throwError: Effect$dException.throwException, Monad0: () => Effect.monadEffect}; +const monadErrorMaybe = { + catchError: v => v1 => { + if (v.tag === "Nothing") { return v1(Data$dUnit.unit); } + if (v.tag === "Just") { return Data$dMaybe.$Maybe("Just", v._1); } + $runtime.fail(); + }, + MonadThrow0: () => monadThrowMaybe +}; +const monadErrorEither = { + catchError: v => v1 => { + if (v.tag === "Left") { return v1(v._1); } + if (v.tag === "Right") { return Data$dEither.$Either("Right", v._1); } + $runtime.fail(); + }, + MonadThrow0: () => monadThrowEither +}; +const monadErrorEffect = {catchError: b => a => Effect$dException.catchException(a)(b), MonadThrow0: () => monadThrowEffect}; +const liftMaybe = dictMonadThrow => { + const pure = dictMonadThrow.Monad0().Applicative0().pure; + return error => { + const $3 = dictMonadThrow.throwError(error); + return v2 => { + if (v2.tag === "Nothing") { return $3; } + if (v2.tag === "Just") { return pure(v2._1); } + $runtime.fail(); + }; + }; +}; +const liftEither = dictMonadThrow => { + const $1 = dictMonadThrow.Monad0().Applicative0().pure; + return v2 => { + if (v2.tag === "Left") { return dictMonadThrow.throwError(v2._1); } + if (v2.tag === "Right") { return $1(v2._1); } + $runtime.fail(); + }; +}; +const catchError = dict => dict.catchError; +const catchJust = dictMonadError => { + const throwError1 = dictMonadError.MonadThrow0().throwError; + return p => act => handler => dictMonadError.catchError(act)(e => { + const v = p(e); + if (v.tag === "Nothing") { return throwError1(e); } + if (v.tag === "Just") { return handler(v._1); } + $runtime.fail(); + }); +}; +const $$try = dictMonadError => { + const Monad0 = dictMonadError.MonadThrow0().Monad0(); + const map = Monad0.Bind1().Apply0().Functor0().map; + const pure = Monad0.Applicative0().pure; + return a => dictMonadError.catchError(map(Data$dEither.Right)(a))(x => pure(Data$dEither.$Either("Left", x))); +}; +const withResource = dictMonadError => { + const MonadThrow0 = dictMonadError.MonadThrow0(); + const Monad0 = MonadThrow0.Monad0(); + const Bind1 = Monad0.Bind1(); + const try1 = $$try(dictMonadError); + const pure = Monad0.Applicative0().pure; + return acquire => release => kleisli => Bind1.bind(acquire)(resource => Bind1.bind(try1(kleisli(resource)))(result => Bind1.bind(release(resource))(() => { + if (result.tag === "Left") { return MonadThrow0.throwError(result._1); } + if (result.tag === "Right") { return pure(result._1); } + $runtime.fail(); + }))); +}; +export { + catchError, + catchJust, + liftEither, + liftMaybe, + monadErrorEffect, + monadErrorEither, + monadErrorMaybe, + monadThrowEffect, + monadThrowEither, + monadThrowMaybe, + throwError, + $$try as try, + withResource +}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.Except.Trans/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.Except.Trans/index.js new file mode 100644 index 0000000..326952a --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.Except.Trans/index.js @@ -0,0 +1,252 @@ +// | This module defines the _exception monad transformer_ `ExceptT`. +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dRec$dClass from "../Control.Monad.Rec.Class/index.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const identity = x => x; +const ExceptT = x => x; +const withExceptT = dictFunctor => f => v => dictFunctor.map(v2 => { + if (v2.tag === "Right") { return Data$dEither.$Either("Right", v2._1); } + if (v2.tag === "Left") { return Data$dEither.$Either("Left", f(v2._1)); } + $runtime.fail(); +})(v); +const runExceptT = v => v; +const newtypeExceptT = {Coercible0: () => undefined}; +const monadTransExceptT = { + lift: dictMonad => { + const bind = dictMonad.Bind1().bind; + const pure = dictMonad.Applicative0().pure; + return m => bind(m)(a => pure(Data$dEither.$Either("Right", a))); + } +}; +const mapExceptT = f => v => f(v); +const functorExceptT = dictFunctor => ({map: f => dictFunctor.map(Data$dEither.functorEither.map(f))}); +const except = dictApplicative => x => dictApplicative.pure(x); +const monadExceptT = dictMonad => ({Applicative0: () => applicativeExceptT(dictMonad), Bind1: () => bindExceptT(dictMonad)}); +const bindExceptT = dictMonad => { + const bind = dictMonad.Bind1().bind; + const pure = dictMonad.Applicative0().pure; + return { + bind: v => k => bind(v)(v2 => { + if (v2.tag === "Left") { return pure(Data$dEither.$Either("Left", v2._1)); } + if (v2.tag === "Right") { return k(v2._1); } + $runtime.fail(); + }), + Apply0: () => applyExceptT(dictMonad) + }; +}; +const applyExceptT = dictMonad => { + const $1 = dictMonad.Bind1().Apply0().Functor0(); + const functorExceptT1 = {map: f => $1.map(Data$dEither.functorEither.map(f))}; + return { + apply: (() => { + const bind = bindExceptT(dictMonad).bind; + const pure = applicativeExceptT(dictMonad).pure; + return f => a => bind(f)(f$p => bind(a)(a$p => pure(f$p(a$p)))); + })(), + Functor0: () => functorExceptT1 + }; +}; +const applicativeExceptT = dictMonad => ( + { + pure: (() => { + const $1 = dictMonad.Applicative0().pure; + return x => $1(Data$dEither.$Either("Right", x)); + })(), + Apply0: () => applyExceptT(dictMonad) + } +); +const semigroupExceptT = dictMonad => { + const $1 = applyExceptT(dictMonad); + const map = $1.Functor0().map; + return dictSemigroup => ({append: a => b => $1.apply(map(dictSemigroup.append)(a))(b)}); +}; +const monadAskExceptT = dictMonadAsk => { + const Monad0 = dictMonadAsk.Monad0(); + const monadExceptT1 = {Applicative0: () => applicativeExceptT(Monad0), Bind1: () => bindExceptT(Monad0)}; + return {ask: monadTransExceptT.lift(Monad0)(dictMonadAsk.ask), Monad0: () => monadExceptT1}; +}; +const monadReaderExceptT = dictMonadReader => { + const monadAskExceptT1 = monadAskExceptT(dictMonadReader.MonadAsk0()); + return {local: f => dictMonadReader.local(f), MonadAsk0: () => monadAskExceptT1}; +}; +const monadContExceptT = dictMonadCont => { + const $1 = dictMonadCont.Monad0(); + const monadExceptT1 = {Applicative0: () => applicativeExceptT($1), Bind1: () => bindExceptT($1)}; + return {callCC: f => dictMonadCont.callCC(c => f(a => c(Data$dEither.$Either("Right", a)))), Monad0: () => monadExceptT1}; +}; +const monadEffectExceptT = dictMonadEffect => { + const Monad0 = dictMonadEffect.Monad0(); + const monadExceptT1 = {Applicative0: () => applicativeExceptT(Monad0), Bind1: () => bindExceptT(Monad0)}; + return { + liftEffect: (() => { + const $3 = monadTransExceptT.lift(Monad0); + return x => $3(dictMonadEffect.liftEffect(x)); + })(), + Monad0: () => monadExceptT1 + }; +}; +const monadRecExceptT = dictMonadRec => { + const Monad0 = dictMonadRec.Monad0(); + const bind = Monad0.Bind1().bind; + const pure = Monad0.Applicative0().pure; + const monadExceptT1 = {Applicative0: () => applicativeExceptT(Monad0), Bind1: () => bindExceptT(Monad0)}; + return { + tailRecM: f => dictMonadRec.tailRecM(a => bind(f(a))(m$p => pure((() => { + if (m$p.tag === "Left") { return Control$dMonad$dRec$dClass.$Step("Done", Data$dEither.$Either("Left", m$p._1)); } + if (m$p.tag === "Right") { + if (m$p._1.tag === "Loop") { return Control$dMonad$dRec$dClass.$Step("Loop", m$p._1._1); } + if (m$p._1.tag === "Done") { return Control$dMonad$dRec$dClass.$Step("Done", Data$dEither.$Either("Right", m$p._1._1)); } + $runtime.fail(); + } + $runtime.fail(); + })()))), + Monad0: () => monadExceptT1 + }; +}; +const monadStateExceptT = dictMonadState => { + const Monad0 = dictMonadState.Monad0(); + const lift1 = monadTransExceptT.lift(Monad0); + const monadExceptT1 = {Applicative0: () => applicativeExceptT(Monad0), Bind1: () => bindExceptT(Monad0)}; + return {state: f => lift1(dictMonadState.state(f)), Monad0: () => monadExceptT1}; +}; +const monadTellExceptT = dictMonadTell => { + const Monad1 = dictMonadTell.Monad1(); + const Semigroup0 = dictMonadTell.Semigroup0(); + const monadExceptT1 = {Applicative0: () => applicativeExceptT(Monad1), Bind1: () => bindExceptT(Monad1)}; + return { + tell: (() => { + const $4 = monadTransExceptT.lift(Monad1); + return x => $4(dictMonadTell.tell(x)); + })(), + Semigroup0: () => Semigroup0, + Monad1: () => monadExceptT1 + }; +}; +const monadWriterExceptT = dictMonadWriter => { + const MonadTell1 = dictMonadWriter.MonadTell1(); + const Monad1 = MonadTell1.Monad1(); + const bind = Monad1.Bind1().bind; + const pure = Monad1.Applicative0().pure; + const Monoid0 = dictMonadWriter.Monoid0(); + const monadTellExceptT1 = monadTellExceptT(MonadTell1); + return { + listen: v => bind(dictMonadWriter.listen(v))(v$1 => pure((() => { + if (v$1._1.tag === "Left") { return Data$dEither.$Either("Left", v$1._1._1); } + if (v$1._1.tag === "Right") { return Data$dEither.$Either("Right", Data$dTuple.$Tuple(v$1._1._1, v$1._2)); } + $runtime.fail(); + })())), + pass: v => dictMonadWriter.pass(bind(v)(a => pure((() => { + if (a.tag === "Left") { return Data$dTuple.$Tuple(Data$dEither.$Either("Left", a._1), identity); } + if (a.tag === "Right") { return Data$dTuple.$Tuple(Data$dEither.$Either("Right", a._1._1), a._1._2); } + $runtime.fail(); + })()))), + Monoid0: () => Monoid0, + MonadTell1: () => monadTellExceptT1 + }; +}; +const monadThrowExceptT = dictMonad => { + const monadExceptT1 = {Applicative0: () => applicativeExceptT(dictMonad), Bind1: () => bindExceptT(dictMonad)}; + return { + throwError: (() => { + const $2 = dictMonad.Applicative0().pure; + return x => $2(Data$dEither.$Either("Left", x)); + })(), + Monad0: () => monadExceptT1 + }; +}; +const monadErrorExceptT = dictMonad => { + const bind = dictMonad.Bind1().bind; + const pure = dictMonad.Applicative0().pure; + const monadThrowExceptT1 = monadThrowExceptT(dictMonad); + return { + catchError: v => k => bind(v)(v2 => { + if (v2.tag === "Left") { return k(v2._1); } + if (v2.tag === "Right") { return pure(Data$dEither.$Either("Right", v2._1)); } + $runtime.fail(); + }), + MonadThrow0: () => monadThrowExceptT1 + }; +}; +const monoidExceptT = dictMonad => { + const pure = applicativeExceptT(dictMonad).pure; + const semigroupExceptT1 = semigroupExceptT(dictMonad); + return dictMonoid => { + const semigroupExceptT2 = semigroupExceptT1(dictMonoid.Semigroup0()); + return {mempty: pure(dictMonoid.mempty), Semigroup0: () => semigroupExceptT2}; + }; +}; +const altExceptT = dictSemigroup => dictMonad => { + const Bind1 = dictMonad.Bind1(); + const pure = dictMonad.Applicative0().pure; + const $4 = Bind1.Apply0().Functor0(); + const functorExceptT1 = {map: f => $4.map(Data$dEither.functorEither.map(f))}; + return { + alt: v => v1 => Bind1.bind(v)(rm => { + if (rm.tag === "Right") { return pure(Data$dEither.$Either("Right", rm._1)); } + if (rm.tag === "Left") { + return Bind1.bind(v1)(rn => { + if (rn.tag === "Right") { return pure(Data$dEither.$Either("Right", rn._1)); } + if (rn.tag === "Left") { return pure(Data$dEither.$Either("Left", dictSemigroup.append(rm._1)(rn._1))); } + $runtime.fail(); + }); + } + $runtime.fail(); + }), + Functor0: () => functorExceptT1 + }; +}; +const plusExceptT = dictMonoid => { + const altExceptT1 = altExceptT(dictMonoid.Semigroup0()); + return dictMonad => { + const altExceptT2 = altExceptT1(dictMonad); + return {empty: monadThrowExceptT(dictMonad).throwError(dictMonoid.mempty), Alt0: () => altExceptT2}; + }; +}; +const alternativeExceptT = dictMonoid => { + const plusExceptT1 = plusExceptT(dictMonoid); + return dictMonad => { + const applicativeExceptT1 = applicativeExceptT(dictMonad); + const plusExceptT2 = plusExceptT1(dictMonad); + return {Applicative0: () => applicativeExceptT1, Plus1: () => plusExceptT2}; + }; +}; +const monadPlusExceptT = dictMonoid => { + const alternativeExceptT1 = alternativeExceptT(dictMonoid); + return dictMonad => { + const monadExceptT1 = {Applicative0: () => applicativeExceptT(dictMonad), Bind1: () => bindExceptT(dictMonad)}; + const alternativeExceptT2 = alternativeExceptT1(dictMonad); + return {Monad0: () => monadExceptT1, Alternative1: () => alternativeExceptT2}; + }; +}; +export { + ExceptT, + altExceptT, + alternativeExceptT, + applicativeExceptT, + applyExceptT, + bindExceptT, + except, + functorExceptT, + identity, + mapExceptT, + monadAskExceptT, + monadContExceptT, + monadEffectExceptT, + monadErrorExceptT, + monadExceptT, + monadPlusExceptT, + monadReaderExceptT, + monadRecExceptT, + monadStateExceptT, + monadTellExceptT, + monadThrowExceptT, + monadTransExceptT, + monadWriterExceptT, + monoidExceptT, + newtypeExceptT, + plusExceptT, + runExceptT, + semigroupExceptT, + withExceptT +}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.Except/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.Except/index.js new file mode 100644 index 0000000..58d2772 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.Except/index.js @@ -0,0 +1,7 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dExcept$dTrans from "../Control.Monad.Except.Trans/index.js"; +import * as Data$dIdentity from "../Data.Identity/index.js"; +const withExcept = /* #__PURE__ */ Control$dMonad$dExcept$dTrans.withExceptT(Data$dIdentity.functorIdentity); +const runExcept = x => x; +const mapExcept = f => v => f(v); +export {mapExcept, runExcept, withExcept}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.Free.Class/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.Free.Class/index.js new file mode 100644 index 0000000..d1f7770 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.Free.Class/index.js @@ -0,0 +1,46 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dBind from "../Control.Bind/index.js"; +import * as Control$dMonad$dExcept$dTrans from "../Control.Monad.Except.Trans/index.js"; +import * as Control$dMonad$dFree from "../Control.Monad.Free/index.js"; +import * as Control$dMonad$dMaybe$dTrans from "../Control.Monad.Maybe.Trans/index.js"; +import * as Control$dMonad$dReader$dTrans from "../Control.Monad.Reader.Trans/index.js"; +import * as Control$dMonad$dState$dTrans from "../Control.Monad.State.Trans/index.js"; +import * as Control$dMonad$dWriter$dTrans from "../Control.Monad.Writer.Trans/index.js"; +import * as Data$dCatList from "../Data.CatList/index.js"; +import * as Data$dCatQueue from "../Data.CatQueue/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +const wrapFree = dict => dict.wrapFree; +const monadFreeWriterT = dictFunctor => dictMonadFree => { + const Monad0 = dictMonadFree.Monad0(); + return dictMonoid => { + const monadWriterT = Control$dMonad$dWriter$dTrans.monadWriterT(dictMonoid)(Monad0); + return {wrapFree: f => dictMonadFree.wrapFree(dictFunctor.map(Control$dMonad$dWriter$dTrans.runWriterT)(f)), Monad0: () => monadWriterT}; + }; +}; +const monadFreeStateT = dictFunctor => dictMonadFree => { + const $2 = dictMonadFree.Monad0(); + const monadStateT = {Applicative0: () => Control$dMonad$dState$dTrans.applicativeStateT($2), Bind1: () => Control$dMonad$dState$dTrans.bindStateT($2)}; + return {wrapFree: f => s => dictMonadFree.wrapFree(dictFunctor.map(st => st(s))(f)), Monad0: () => monadStateT}; +}; +const monadFreeReaderT = dictFunctor => dictMonadFree => { + const monadReaderT = Control$dMonad$dReader$dTrans.monadReaderT(dictMonadFree.Monad0()); + return {wrapFree: f => r => dictMonadFree.wrapFree(dictFunctor.map(rt => rt(r))(f)), Monad0: () => monadReaderT}; +}; +const monadFreeMaybeT = dictFunctor => dictMonadFree => { + const $2 = dictMonadFree.Monad0(); + const monadMaybeT = {Applicative0: () => Control$dMonad$dMaybe$dTrans.applicativeMaybeT($2), Bind1: () => Control$dMonad$dMaybe$dTrans.bindMaybeT($2)}; + return {wrapFree: f => dictMonadFree.wrapFree(dictFunctor.map(Control$dMonad$dMaybe$dTrans.runMaybeT)(f)), Monad0: () => monadMaybeT}; +}; +const monadFreeFree = { + wrapFree: x => Control$dMonad$dFree.$Free( + Control$dMonad$dFree.$FreeView("Bind", x, x$1 => Control$dMonad$dFree.$Free(Control$dMonad$dFree.$FreeView("Return", x$1), Data$dCatList.CatNil)), + Data$dCatList.link(Data$dCatList.CatNil)(Data$dCatList.$CatList("CatCons", Control$dBind.identity, Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil))) + ), + Monad0: () => Control$dMonad$dFree.freeMonad +}; +const monadFreeExceptT = dictFunctor => dictMonadFree => { + const $2 = dictMonadFree.Monad0(); + const monadExceptT = {Applicative0: () => Control$dMonad$dExcept$dTrans.applicativeExceptT($2), Bind1: () => Control$dMonad$dExcept$dTrans.bindExceptT($2)}; + return {wrapFree: f => dictMonadFree.wrapFree(dictFunctor.map(Control$dMonad$dExcept$dTrans.runExceptT)(f)), Monad0: () => monadExceptT}; +}; +export {monadFreeExceptT, monadFreeFree, monadFreeMaybeT, monadFreeReaderT, monadFreeStateT, monadFreeWriterT, wrapFree}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.Free/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.Free/index.js new file mode 100644 index 0000000..b952a6c --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.Free/index.js @@ -0,0 +1,319 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dBind from "../Control.Bind/index.js"; +import * as Control$dMonad$dRec$dClass from "../Control.Monad.Rec.Class/index.js"; +import * as Data$dCatList from "../Data.CatList/index.js"; +import * as Data$dCatQueue from "../Data.CatQueue/index.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import * as Unsafe$dCoerce from "../Unsafe.Coerce/index.js"; +const $Free = (_1, _2) => ({tag: "Free", _1, _2}); +const $FreeView = (tag, _1, _2) => ({tag, _1, _2}); +const identity = x => x; +const Free = value0 => value1 => $Free(value0, value1); +const Return = value0 => $FreeView("Return", value0); +const Bind = value0 => value1 => $FreeView("Bind", value0, value1); +const toView = toView$a0$copy => { + let toView$a0 = toView$a0$copy, toView$c = true, toView$r; + while (toView$c) { + const v = toView$a0; + if (v._1.tag === "Return") { + const v2 = Data$dCatList.uncons(v._2); + if (v2.tag === "Nothing") { + toView$c = false; + toView$r = $FreeView("Return", v._1._1); + continue; + } + if (v2.tag === "Just") { + toView$a0 = (() => { + const $2 = v2._1._1(v._1._1); + return $Free($2._1, Data$dCatList.link($2._2)(v2._1._2)); + })(); + continue; + } + $runtime.fail(); + } + if (v._1.tag === "Bind") { + toView$c = false; + toView$r = $FreeView( + "Bind", + v._1._1, + a => { + const $2 = v._1._2(a); + return $Free($2._1, Data$dCatList.link($2._2)(v._2)); + } + ); + continue; + } + $runtime.fail(); + }; + return toView$r; +}; +const runFreeM = dictFunctor => dictMonadRec => { + const Monad0 = dictMonadRec.Monad0(); + const map2 = Monad0.Bind1().Apply0().Functor0().map; + const pure1 = Monad0.Applicative0().pure; + return k => dictMonadRec.tailRecM(f => { + const v = toView(f); + if (v.tag === "Return") { return map2(Control$dMonad$dRec$dClass.Done)(pure1(v._1)); } + if (v.tag === "Bind") { return map2(Control$dMonad$dRec$dClass.Loop)(k(dictFunctor.map(v._2)(v._1))); } + $runtime.fail(); + }); +}; +const runFree = dictFunctor => k => { + const go = go$a0$copy => { + let go$a0 = go$a0$copy, go$c = true, go$r; + while (go$c) { + const f = go$a0; + const v = toView(f); + if (v.tag === "Return") { + go$c = false; + go$r = v._1; + continue; + } + if (v.tag === "Bind") { + go$a0 = k(dictFunctor.map(v._2)(v._1)); + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go; +}; +const resume$p = k => j => f => { + const v = toView(f); + if (v.tag === "Return") { return j(v._1); } + if (v.tag === "Bind") { return k(v._1)(v._2); } + $runtime.fail(); +}; +const resume = dictFunctor => resume$p(g => i => Data$dEither.$Either("Left", dictFunctor.map(i)(g)))(Data$dEither.Right); +const wrap = f => $Free($FreeView("Bind", f, Unsafe$dCoerce.unsafeCoerce), Data$dCatList.CatNil); +const suspendF = dictApplicative => f => $Free($FreeView("Bind", dictApplicative.pure(f), Unsafe$dCoerce.unsafeCoerce), Data$dCatList.CatNil); +const freeMonad = {Applicative0: () => freeApplicative, Bind1: () => freeBind}; +const freeFunctor = {map: k => f => freeBind.bind(f)(x => freeApplicative.pure(k(x)))}; +const freeBind = { + bind: v => k => $Free(v._1, Data$dCatList.link(v._2)(Data$dCatList.$CatList("CatCons", k, Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil)))), + Apply0: () => freeApply +}; +const freeApply = { + apply: f => a => $Free( + f._1, + Data$dCatList.link(f._2)(Data$dCatList.$CatList( + "CatCons", + f$p => $Free( + a._1, + Data$dCatList.link(a._2)(Data$dCatList.$CatList("CatCons", a$p => freeApplicative.pure(f$p(a$p)), Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil))) + ), + Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil) + )) + ), + Functor0: () => freeFunctor +}; +const freeApplicative = {pure: x => $Free($FreeView("Return", x), Data$dCatList.CatNil), Apply0: () => freeApply}; +const semigroupFree = dictSemigroup => ( + { + append: a => b => freeApply.apply($Free( + a._1, + Data$dCatList.link(a._2)(Data$dCatList.$CatList( + "CatCons", + x => $Free($FreeView("Return", dictSemigroup.append(x)), Data$dCatList.CatNil), + Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil) + )) + ))(b) + } +); +const freeMonadRec = { + tailRecM: k => a => { + const $2 = k(a); + return $Free( + $2._1, + Data$dCatList.link($2._2)(Data$dCatList.$CatList( + "CatCons", + v => { + if (v.tag === "Loop") { return freeMonadRec.tailRecM(k)(v._1); } + if (v.tag === "Done") { return $Free($FreeView("Return", v._1), Data$dCatList.CatNil); } + $runtime.fail(); + }, + Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil) + )) + ); + }, + Monad0: () => freeMonad +}; +const liftF = f => $Free($FreeView("Bind", f, x => $Free($FreeView("Return", x), Data$dCatList.CatNil)), Data$dCatList.CatNil); +const freeMonadTrans = {lift: dictMonad => liftF}; +const monoidFree = dictMonoid => { + const semigroupFree1 = semigroupFree(dictMonoid.Semigroup0()); + return {mempty: $Free($FreeView("Return", dictMonoid.mempty), Data$dCatList.CatNil), Semigroup0: () => semigroupFree1}; +}; +const substFree = k => { + const go = f => { + const v = toView(f); + if (v.tag === "Return") { return $Free($FreeView("Return", v._1), Data$dCatList.CatNil); } + if (v.tag === "Bind") { + const $4 = k(v._1); + return $Free($4._1, Data$dCatList.link($4._2)(Data$dCatList.$CatList("CatCons", x => go(v._2(x)), Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil)))); + } + $runtime.fail(); + }; + return go; +}; +const hoistFree = k => substFree(x => $Free($FreeView("Bind", k(x), x$1 => $Free($FreeView("Return", x$1), Data$dCatList.CatNil)), Data$dCatList.CatNil)); +const foldableFree = dictFunctor => dictFoldable => ( + { + foldMap: dictMonoid => { + const foldMap1 = dictFoldable.foldMap(dictMonoid); + return f => { + const go = x => { + const $7 = resume$p(g => i => Data$dEither.$Either("Left", dictFunctor.map(i)(g)))(Data$dEither.Right)(x); + if ($7.tag === "Left") { return foldMap1(go)($7._1); } + if ($7.tag === "Right") { return f($7._1); } + $runtime.fail(); + }; + return go; + }; + }, + foldl: f => { + const go = r => x => { + const $6 = resume$p(g => i => Data$dEither.$Either("Left", dictFunctor.map(i)(g)))(Data$dEither.Right)(x); + if ($6.tag === "Left") { return dictFoldable.foldl(go)(r)($6._1); } + if ($6.tag === "Right") { return f(r)($6._1); } + $runtime.fail(); + }; + return go; + }, + foldr: f => { + const go = r => x => { + const $6 = resume$p(g => i => Data$dEither.$Either("Left", dictFunctor.map(i)(g)))(Data$dEither.Right)(x); + if ($6.tag === "Left") { return dictFoldable.foldr(b => a => go(a)(b))(r)($6._1); } + if ($6.tag === "Right") { return f($6._1)(r); } + $runtime.fail(); + }; + return go; + } + } +); +const traversableFree = dictTraversable => { + const Functor0 = dictTraversable.Functor0(); + const foldableFree1 = foldableFree(Functor0)(dictTraversable.Foldable1()); + return { + traverse: dictApplicative => { + const map1 = dictApplicative.Apply0().Functor0().map; + const traverse1 = dictTraversable.traverse(dictApplicative); + return f => { + const go = x => { + const $9 = resume$p(g => i => Data$dEither.$Either("Left", Functor0.map(i)(g)))(Data$dEither.Right)(x); + if ($9.tag === "Left") { + return map1(x$1 => $Free( + $FreeView("Bind", x$1, x$2 => $Free($FreeView("Return", x$2), Data$dCatList.CatNil)), + Data$dCatList.link(Data$dCatList.CatNil)(Data$dCatList.$CatList( + "CatCons", + Control$dBind.identity, + Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil) + )) + ))(traverse1(go)($9._1)); + } + if ($9.tag === "Right") { return map1(freeApplicative.pure)(f($9._1)); } + $runtime.fail(); + }; + return go; + }; + }, + sequence: dictApplicative => tma => traversableFree(dictTraversable).traverse(dictApplicative)(identity)(tma), + Functor0: () => freeFunctor, + Foldable1: () => foldableFree1 + }; +}; +const foldFree = dictMonadRec => { + const Monad0 = dictMonadRec.Monad0(); + const map1 = Monad0.Bind1().Apply0().Functor0().map; + const pure1 = Monad0.Applicative0().pure; + return k => dictMonadRec.tailRecM(f => { + const v = toView(f); + if (v.tag === "Return") { return map1(Control$dMonad$dRec$dClass.Done)(pure1(v._1)); } + if (v.tag === "Bind") { return map1(x => Control$dMonad$dRec$dClass.$Step("Loop", v._2(x)))(k(v._1)); } + $runtime.fail(); + }); +}; +const eqFree = dictFunctor => dictEq1 => dictEq => ( + { + eq: x => y => { + const v = resume$p(g => i => Data$dEither.$Either("Left", dictFunctor.map(i)(g)))(Data$dEither.Right)(y); + const v1 = resume$p(g => i => Data$dEither.$Either("Left", dictFunctor.map(i)(g)))(Data$dEither.Right)(x); + if (v1.tag === "Left") { + if (v.tag === "Left") { return dictEq1.eq1(eqFree(dictFunctor)(dictEq1)(dictEq))(v1._1)(v._1); } + return false; + } + if (v1.tag === "Right") { + if (v.tag === "Right") { return dictEq.eq(v1._1)(v._1); } + return false; + } + return false; + } + } +); +const ordFree = dictFunctor => dictOrd1 => { + const eqFree2 = eqFree(dictFunctor)(dictOrd1.Eq10()); + return dictOrd => { + const eqFree3 = eqFree2(dictOrd.Eq0()); + return { + compare: x => y => { + const v = resume$p(g => i => Data$dEither.$Either("Left", dictFunctor.map(i)(g)))(Data$dEither.Right)(y); + const v1 = resume$p(g => i => Data$dEither.$Either("Left", dictFunctor.map(i)(g)))(Data$dEither.Right)(x); + if (v1.tag === "Left") { + if (v.tag === "Left") { return dictOrd1.compare1(ordFree(dictFunctor)(dictOrd1)(dictOrd))(v1._1)(v._1); } + return Data$dOrdering.LT; + } + if (v.tag === "Left") { return Data$dOrdering.GT; } + if (v1.tag === "Right") { + if (v.tag === "Right") { return dictOrd.compare(v1._1)(v._1); } + $runtime.fail(); + } + $runtime.fail(); + }, + Eq0: () => eqFree3 + }; + }; +}; +const eq1Free = dictFunctor => dictEq1 => ({eq1: dictEq => eqFree(dictFunctor)(dictEq1)(dictEq).eq}); +const ord1Free = dictFunctor => dictOrd1 => { + const ordFree2 = ordFree(dictFunctor)(dictOrd1); + const $3 = dictOrd1.Eq10(); + const eq1Free2 = {eq1: dictEq => eqFree(dictFunctor)($3)(dictEq).eq}; + return {compare1: dictOrd => ordFree2(dictOrd).compare, Eq10: () => eq1Free2}; +}; +export { + $Free, + $FreeView, + Bind, + Free, + Return, + eq1Free, + eqFree, + foldFree, + foldableFree, + freeApplicative, + freeApply, + freeBind, + freeFunctor, + freeMonad, + freeMonadRec, + freeMonadTrans, + hoistFree, + identity, + liftF, + monoidFree, + ord1Free, + ordFree, + resume, + resume$p, + runFree, + runFreeM, + semigroupFree, + substFree, + suspendF, + toView, + traversableFree, + wrap +}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.Gen.Class/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.Gen.Class/index.js new file mode 100644 index 0000000..6b0311f --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.Gen.Class/index.js @@ -0,0 +1,7 @@ +import * as $runtime from "../runtime.js"; +const sized = dict => dict.sized; +const resize = dict => dict.resize; +const chooseInt = dict => dict.chooseInt; +const chooseFloat = dict => dict.chooseFloat; +const chooseBool = dict => dict.chooseBool; +export {chooseBool, chooseFloat, chooseInt, resize, sized}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.Gen.Common/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.Gen.Common/index.js new file mode 100644 index 0000000..6ceeb96 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.Gen.Common/index.js @@ -0,0 +1,50 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dGen from "../Control.Monad.Gen/index.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dIdentity from "../Data.Identity/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dNonEmpty from "../Data.NonEmpty/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const max = x => y => { + const v = Data$dOrd.ordInt.compare(x)(y); + if (v.tag === "LT") { return y; } + if (v.tag === "EQ") { return x; } + if (v.tag === "GT") { return x; } + $runtime.fail(); +}; +const genTuple = dictApply => { + const map = dictApply.Functor0().map; + return a => b => dictApply.apply(map(Data$dTuple.Tuple)(a))(b); +}; +const genNonEmpty = dictMonadRec => dictMonadGen => { + const Apply0 = dictMonadGen.Monad0().Bind1().Apply0(); + const map = Apply0.Functor0().map; + const unfoldable1 = Control$dMonad$dGen.unfoldable(dictMonadRec)(dictMonadGen); + return dictUnfoldable => { + const unfoldable2 = unfoldable1(dictUnfoldable); + return gen => Apply0.apply(map(Data$dNonEmpty.NonEmpty)(gen))(dictMonadGen.resize(x => max(0)(x - 1 | 0))(unfoldable2(gen))); + }; +}; +const genMaybe$p = dictMonadGen => { + const Monad0 = dictMonadGen.Monad0(); + const Bind1 = Monad0.Bind1(); + const map = Bind1.Apply0().Functor0().map; + const pure = Monad0.Applicative0().pure; + return bias => gen => Bind1.bind(dictMonadGen.chooseFloat(0.0)(1.0))(n => { + if (n < bias) { return map(Data$dMaybe.Just)(gen); } + return pure(Data$dMaybe.Nothing); + }); +}; +const genMaybe = dictMonadGen => genMaybe$p(dictMonadGen)(0.75); +const genIdentity = dictFunctor => dictFunctor.map(Data$dIdentity.Identity); +const genEither$p = dictMonadGen => { + const Bind1 = dictMonadGen.Monad0().Bind1(); + const map = Bind1.Apply0().Functor0().map; + return bias => genA => genB => Bind1.bind(dictMonadGen.chooseFloat(0.0)(1.0))(n => { + if (n < bias) { return map(Data$dEither.Left)(genA); } + return map(Data$dEither.Right)(genB); + }); +}; +const genEither = dictMonadGen => genEither$p(dictMonadGen)(0.5); +export {genEither, genEither$p, genIdentity, genMaybe, genMaybe$p, genNonEmpty, genTuple, max}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.Gen/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.Gen/index.js new file mode 100644 index 0000000..3a5b869 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.Gen/index.js @@ -0,0 +1,130 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dRec$dClass from "../Control.Monad.Rec.Class/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dSemigroup$dLast from "../Data.Semigroup.Last/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const $LL = (tag, _1, _2) => ({tag, _1, _2}); +const monoidAdditive = /* #__PURE__ */ (() => { + const semigroupAdditive1 = {append: v => v1 => v + v1}; + return {mempty: 0.0, Semigroup0: () => semigroupAdditive1}; +})(); +const Cons = value0 => value1 => $LL("Cons", value0, value1); +const Nil = /* #__PURE__ */ $LL("Nil"); +const unfoldable = dictMonadRec => dictMonadGen => { + const Monad0 = dictMonadGen.Monad0(); + const pure = Monad0.Applicative0().pure; + const Bind1 = Monad0.Bind1(); + const map = Bind1.Apply0().Functor0().map; + return dictUnfoldable => gen => map(dictUnfoldable.unfoldr(v => { + if (v.tag === "Nil") { return Data$dMaybe.Nothing; } + if (v.tag === "Cons") { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(v._1, v._2)); } + $runtime.fail(); + }))(dictMonadGen.sized((() => { + const $8 = dictMonadRec.tailRecM(v => { + if (v._2 <= 0) { return pure(Control$dMonad$dRec$dClass.$Step("Done", v._1)); } + return Bind1.bind(gen)(x => pure(Control$dMonad$dRec$dClass.$Step("Loop", Data$dTuple.$Tuple($LL("Cons", x, v._1), v._2 - 1 | 0)))); + }); + const $9 = Data$dTuple.Tuple(Nil); + return x => $8($9(x)); + })())); +}; +const semigroupFreqSemigroup = { + append: v => v1 => pos => { + const v2 = v(pos); + if (v2._1.tag === "Just") { return v1(v2._1._1); } + return v2; + } +}; +const fromIndex = dictFoldable1 => { + const foldMap1 = dictFoldable1.foldMap1(Data$dSemigroup$dLast.semigroupLast); + const foldr = dictFoldable1.Foldable0().foldr; + return i => xs => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1; + if (v1.tag === "Cons") { + if (v1._2.tag === "Nil") { + go$c = false; + go$r = v1._1; + continue; + } + if (v <= 0) { + go$c = false; + go$r = v1._1; + continue; + } + go$a0 = v - 1 | 0; + go$a1 = v1._2; + continue; + } + if (v1.tag === "Nil") { + go$c = false; + go$r = foldMap1(Data$dSemigroup$dLast.Last)(xs); + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(i)(foldr(Cons)(Nil)(xs)); + }; +}; +const oneOf = dictMonadGen => { + const bind = dictMonadGen.Monad0().Bind1().bind; + return dictFoldable1 => { + const length = dictFoldable1.Foldable0().foldl(c => v => 1 + c | 0)(0); + const fromIndex1 = fromIndex(dictFoldable1); + return xs => bind(dictMonadGen.chooseInt(0)(length(xs) - 1 | 0))(n => fromIndex1(n)(xs)); + }; +}; +const freqSemigroup = v => pos => { + if (pos >= v._1) { return Data$dTuple.$Tuple(Data$dMaybe.$Maybe("Just", pos - v._1), v._2); } + return Data$dTuple.$Tuple(Data$dMaybe.Nothing, v._2); +}; +const frequency = dictMonadGen => { + const bind = dictMonadGen.Monad0().Bind1().bind; + return dictFoldable1 => { + const foldMap = dictFoldable1.Foldable0().foldMap(monoidAdditive); + const foldMap1 = dictFoldable1.foldMap1(semigroupFreqSemigroup); + return xs => bind(dictMonadGen.chooseFloat(0.0)(foldMap(Data$dTuple.fst)(xs)))((() => { + const $6 = foldMap1(freqSemigroup)(xs); + return x => $6(x)._2; + })()); + }; +}; +const filtered = dictMonadRec => dictMonadGen => { + const $2 = dictMonadGen.Monad0().Bind1().Apply0().Functor0(); + return gen => dictMonadRec.tailRecM(v => $2.map(a => { + if (a.tag === "Nothing") { return Control$dMonad$dRec$dClass.$Step("Loop", Data$dUnit.unit); } + if (a.tag === "Just") { return Control$dMonad$dRec$dClass.$Step("Done", a._1); } + $runtime.fail(); + })(gen))(Data$dUnit.unit); +}; +const suchThat = dictMonadRec => dictMonadGen => { + const filtered2 = filtered(dictMonadRec)(dictMonadGen); + const $3 = dictMonadGen.Monad0().Bind1().Apply0().Functor0(); + return gen => pred => filtered2($3.map(a => { + if (pred(a)) { return Data$dMaybe.$Maybe("Just", a); } + return Data$dMaybe.Nothing; + })(gen)); +}; +const elements = dictMonadGen => { + const Monad0 = dictMonadGen.Monad0(); + const bind = Monad0.Bind1().bind; + const pure = Monad0.Applicative0().pure; + return dictFoldable1 => { + const length = dictFoldable1.Foldable0().foldl(c => v => 1 + c | 0)(0); + const fromIndex1 = fromIndex(dictFoldable1); + return xs => bind(dictMonadGen.chooseInt(0)(length(xs) - 1 | 0))(n => pure(fromIndex1(n)(xs))); + }; +}; +const choose = dictMonadGen => { + const bind = dictMonadGen.Monad0().Bind1().bind; + return genA => genB => bind(dictMonadGen.chooseBool)(v => { + if (v) { return genA; } + return genB; + }); +}; +export {$LL, Cons, Nil, choose, elements, filtered, freqSemigroup, frequency, fromIndex, monoidAdditive, oneOf, semigroupFreqSemigroup, suchThat, unfoldable}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.Identity.Trans/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.Identity.Trans/index.js new file mode 100644 index 0000000..660e575 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.Identity.Trans/index.js @@ -0,0 +1,78 @@ +import * as $runtime from "../runtime.js"; +const IdentityT = x => x; +const traversableIdentityT = dictTraversable => dictTraversable; +const runIdentityT = v => v; +const plusIdentityT = dictPlus => dictPlus; +const newtypeIdentityT = {Coercible0: () => undefined}; +const monadWriterIdentityT = dictMonadWriter => dictMonadWriter; +const monadTransIdentityT = {lift: dictMonad => IdentityT}; +const monadThrowIdentityT = dictMonadThrow => dictMonadThrow; +const monadTellIdentityT = dictMonadTell => dictMonadTell; +const monadStateIdentityT = dictMonadState => dictMonadState; +const monadRecIdentityT = dictMonadRec => dictMonadRec; +const monadReaderIdentityT = dictMonadReader => dictMonadReader; +const monadPlusIdentityT = dictMonadPlus => dictMonadPlus; +const monadIdentityT = dictMonad => dictMonad; +const monadErrorIdentityT = dictMonadError => dictMonadError; +const monadEffectIdentityT = dictMonadEffect => dictMonadEffect; +const monadContIdentityT = dictMonadCont => dictMonadCont; +const monadAskIdentityT = dictMonadAsk => dictMonadAsk; +const mapIdentityT = f => v => f(v); +const functorIdentityT = dictFunctor => dictFunctor; +const foldableIdentityT = dictFoldable => dictFoldable; +const eqIdentityT = dictEq1 => dictEq => { + const eq11 = dictEq1.eq1(dictEq); + return {eq: x => y => eq11(x)(y)}; +}; +const ordIdentityT = dictOrd1 => { + const $1 = dictOrd1.Eq10(); + return dictOrd => { + const compare11 = dictOrd1.compare1(dictOrd); + const eq11 = $1.eq1(dictOrd.Eq0()); + const eqIdentityT2 = {eq: x => y => eq11(x)(y)}; + return {compare: x => y => compare11(x)(y), Eq0: () => eqIdentityT2}; + }; +}; +const eq1IdentityT = dictEq1 => ({eq1: dictEq => dictEq1.eq1(dictEq)}); +const ord1IdentityT = dictOrd1 => { + const $1 = dictOrd1.Eq10(); + const eq1IdentityT1 = {eq1: dictEq => $1.eq1(dictEq)}; + return {compare1: dictOrd => dictOrd1.compare1(dictOrd), Eq10: () => eq1IdentityT1}; +}; +const bindIdentityT = dictBind => dictBind; +const applyIdentityT = dictApply => dictApply; +const applicativeIdentityT = dictApplicative => dictApplicative; +const alternativeIdentityT = dictAlternative => dictAlternative; +const altIdentityT = dictAlt => dictAlt; +export { + IdentityT, + altIdentityT, + alternativeIdentityT, + applicativeIdentityT, + applyIdentityT, + bindIdentityT, + eq1IdentityT, + eqIdentityT, + foldableIdentityT, + functorIdentityT, + mapIdentityT, + monadAskIdentityT, + monadContIdentityT, + monadEffectIdentityT, + monadErrorIdentityT, + monadIdentityT, + monadPlusIdentityT, + monadReaderIdentityT, + monadRecIdentityT, + monadStateIdentityT, + monadTellIdentityT, + monadThrowIdentityT, + monadTransIdentityT, + monadWriterIdentityT, + newtypeIdentityT, + ord1IdentityT, + ordIdentityT, + plusIdentityT, + runIdentityT, + traversableIdentityT +}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.List.Trans/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.List.Trans/index.js new file mode 100644 index 0000000..a5410cf --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.List.Trans/index.js @@ -0,0 +1,509 @@ +// | This module defines the list monad transformer, `ListT`. +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dRec$dClass from "../Control.Monad.Rec.Class/index.js"; +import * as Data$dLazy from "../Data.Lazy/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const $Step = (tag, _1, _2) => ({tag, _1, _2}); +const identity = x => x; +const Yield = value0 => value1 => $Step("Yield", value0, value1); +const Skip = value0 => $Step("Skip", value0); +const Done = /* #__PURE__ */ $Step("Done"); +const ListT = x => x; +const wrapLazy = dictApplicative => v => dictApplicative.pure($Step("Skip", v)); +const wrapEffect = dictFunctor => v => dictFunctor.map(x => $Step("Skip", Data$dLazy.defer(v$1 => x)))(v); +const unfold = dictMonad => { + const map2 = dictMonad.Bind1().Apply0().Functor0().map; + return f => z => map2(v => { + if (v.tag === "Just") { return $Step("Yield", v._1._2, Data$dLazy.defer(v1 => unfold(dictMonad)(f)(v._1._1))); } + if (v.tag === "Nothing") { return Done; } + $runtime.fail(); + })(f(z)); +}; +const uncons = dictMonad => { + const pure1 = dictMonad.Applicative0().pure; + const bind = dictMonad.Bind1().bind; + return v => bind(v)(v1 => { + if (v1.tag === "Yield") { return pure1(Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(v1._1, Data$dLazy.force(v1._2)))); } + if (v1.tag === "Skip") { return uncons(dictMonad)(Data$dLazy.force(v1._1)); } + if (v1.tag === "Done") { return pure1(Data$dMaybe.Nothing); } + $runtime.fail(); + }); +}; +const tail = dictMonad => { + const map2 = dictMonad.Bind1().Apply0().Functor0().map; + const uncons1 = uncons(dictMonad); + return l => map2(Data$dMaybe.functorMaybe.map(Data$dTuple.snd))(uncons1(l)); +}; +const takeWhile = dictApplicative => { + const $1 = dictApplicative.Apply0().Functor0(); + return f => v => $1.map(v$1 => { + if (v$1.tag === "Yield") { + if (f(v$1._1)) { + return $Step( + "Yield", + v$1._1, + (() => { + const $5 = takeWhile(dictApplicative)(f); + return Data$dLazy.defer(v$2 => $5(Data$dLazy.force(v$1._2))); + })() + ); + } + return Done; + } + if (v$1.tag === "Skip") { + return $Step( + "Skip", + (() => { + const $5 = takeWhile(dictApplicative)(f); + return Data$dLazy.defer(v$2 => $5(Data$dLazy.force(v$1._1))); + })() + ); + } + if (v$1.tag === "Done") { return Done; } + $runtime.fail(); + })(v); +}; +const scanl = dictMonad => { + const map2 = dictMonad.Bind1().Apply0().Functor0().map; + const unfold1 = unfold(dictMonad); + return f => b => l => unfold1(v => map2(v1 => { + if (v1.tag === "Yield") { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(Data$dTuple.$Tuple(f(v._1)(v1._1), Data$dLazy.force(v1._2)), v._1)); } + if (v1.tag === "Skip") { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(Data$dTuple.$Tuple(v._1, Data$dLazy.force(v1._1)), v._1)); } + if (v1.tag === "Done") { return Data$dMaybe.Nothing; } + $runtime.fail(); + })(v._2))(Data$dTuple.$Tuple(b, l)); +}; +const prepend$p = dictApplicative => h => t => dictApplicative.pure($Step("Yield", h, t)); +const prepend = dictApplicative => h => t => dictApplicative.pure($Step("Yield", h, Data$dLazy.defer(v => t))); +const nil = dictApplicative => dictApplicative.pure(Done); +const singleton = dictApplicative => { + const nil1 = dictApplicative.pure(Done); + return a => dictApplicative.pure($Step("Yield", a, Data$dLazy.defer(v => nil1))); +}; +const take = dictApplicative => { + const nil1 = dictApplicative.pure(Done); + const $2 = dictApplicative.Apply0().Functor0(); + return v => v1 => { + if (v === 0) { return nil1; } + return $2.map(v2 => { + if (v2.tag === "Yield") { + return $Step( + "Yield", + v2._1, + (() => { + const $6 = take(dictApplicative)(v - 1 | 0); + return Data$dLazy.defer(v$1 => $6(Data$dLazy.force(v2._2))); + })() + ); + } + if (v2.tag === "Skip") { + return $Step( + "Skip", + (() => { + const $6 = take(dictApplicative)(v); + return Data$dLazy.defer(v$1 => $6(Data$dLazy.force(v2._1))); + })() + ); + } + if (v2.tag === "Done") { return Done; } + $runtime.fail(); + })(v1); + }; +}; +const zipWith$p = dictMonad => { + const Applicative0 = dictMonad.Applicative0(); + const nil1 = Applicative0.pure(Done); + const Bind1 = dictMonad.Bind1(); + const Functor0 = Bind1.Apply0().Functor0(); + const uncons1 = uncons(dictMonad); + return f => fa => fb => Functor0.map(x => $Step("Skip", Data$dLazy.defer(v => x)))(Bind1.bind(uncons1(fa))(ua => Bind1.bind(uncons1(fb))(ub => { + if (ub.tag === "Nothing") { return Applicative0.pure(nil1); } + if (ua.tag === "Nothing") { return Applicative0.pure(nil1); } + if (ua.tag === "Just") { + if (ub.tag === "Just") { + return Functor0.map((() => { + const $11 = Data$dLazy.defer(v2 => zipWith$p(dictMonad)(f)(ua._1._2)(ub._1._2)); + return a => Applicative0.pure($Step("Yield", a, $11)); + })())(f(ua._1._1)(ub._1._1)); + } + $runtime.fail(); + } + $runtime.fail(); + }))); +}; +const zipWith = dictMonad => { + const pure1 = dictMonad.Applicative0().pure; + const zipWith$p1 = zipWith$p(dictMonad); + return f => zipWith$p1(a => b => pure1(f(a)(b))); +}; +const newtypeListT = {Coercible0: () => undefined}; +const mapMaybe = dictFunctor => f => v => dictFunctor.map(v$1 => { + if (v$1.tag === "Yield") { + const $4 = f(v$1._1); + if ($4.tag === "Just") { + return $Step( + "Yield", + $4._1, + (() => { + const $5 = mapMaybe(dictFunctor)(f); + return Data$dLazy.defer(v$2 => $5(Data$dLazy.force(v$1._2))); + })() + ); + } + return $Step( + "Skip", + (() => { + const $5 = mapMaybe(dictFunctor)(f); + return Data$dLazy.defer(v$2 => $5(Data$dLazy.force(v$1._2))); + })() + ); + } + if (v$1.tag === "Skip") { + return $Step( + "Skip", + (() => { + const $4 = mapMaybe(dictFunctor)(f); + return Data$dLazy.defer(v$2 => $4(Data$dLazy.force(v$1._1))); + })() + ); + } + if (v$1.tag === "Done") { return Done; } + $runtime.fail(); +})(v); +const iterate = dictMonad => { + const pure1 = dictMonad.Applicative0().pure; + const unfold1 = unfold(dictMonad); + return f => a => unfold1(x => pure1(Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(f(x), x))))(a); +}; +const repeat = dictMonad => iterate(dictMonad)(identity); +const head = dictMonad => { + const map2 = dictMonad.Bind1().Apply0().Functor0().map; + const uncons1 = uncons(dictMonad); + return l => map2(Data$dMaybe.functorMaybe.map(Data$dTuple.fst))(uncons1(l)); +}; +const functorListT = dictFunctor => ( + { + map: f => v => dictFunctor.map(v$1 => { + if (v$1.tag === "Yield") { + return $Step( + "Yield", + f(v$1._1), + (() => { + const $4 = functorListT(dictFunctor).map(f); + return Data$dLazy.defer(v$2 => $4(Data$dLazy.force(v$1._2))); + })() + ); + } + if (v$1.tag === "Skip") { + return $Step( + "Skip", + (() => { + const $4 = functorListT(dictFunctor).map(f); + return Data$dLazy.defer(v$2 => $4(Data$dLazy.force(v$1._1))); + })() + ); + } + if (v$1.tag === "Done") { return Done; } + $runtime.fail(); + })(v) + } +); +const fromEffect = dictApplicative => { + const map2 = dictApplicative.Apply0().Functor0().map; + const nil1 = dictApplicative.pure(Done); + return fa => map2((() => { + const $4 = Data$dLazy.defer(v => nil1); + return a => $Step("Yield", a, $4); + })())(fa); +}; +const monadTransListT = {lift: dictMonad => fromEffect(dictMonad.Applicative0())}; +const foldlRec$p = dictMonadRec => { + const Monad0 = dictMonadRec.Monad0(); + const pure1 = Monad0.Applicative0().pure; + const bind = Monad0.Bind1().bind; + const uncons1 = uncons(Monad0); + return f => a => b => dictMonadRec.tailRecM(o => bind(uncons1(o.b))(v => { + if (v.tag === "Nothing") { return pure1(Control$dMonad$dRec$dClass.$Step("Done", o.a)); } + if (v.tag === "Just") { return bind(f(o.a)(v._1._1))(b$p => pure1(Control$dMonad$dRec$dClass.$Step("Loop", {a: b$p, b: v._1._2}))); } + $runtime.fail(); + }))({a: a, b: b}); +}; +const runListTRec = dictMonadRec => { + const pure1 = dictMonadRec.Monad0().Applicative0().pure; + return foldlRec$p(dictMonadRec)(v => v1 => pure1(Data$dUnit.unit))(Data$dUnit.unit); +}; +const foldlRec = dictMonadRec => { + const Monad0 = dictMonadRec.Monad0(); + const pure1 = Monad0.Applicative0().pure; + const bind = Monad0.Bind1().bind; + const uncons1 = uncons(Monad0); + return f => a => b => dictMonadRec.tailRecM(o => bind(uncons1(o.b))(v => { + if (v.tag === "Nothing") { return pure1(Control$dMonad$dRec$dClass.$Step("Done", o.a)); } + if (v.tag === "Just") { return pure1(Control$dMonad$dRec$dClass.$Step("Loop", {a: f(o.a)(v._1._1), b: v._1._2})); } + $runtime.fail(); + }))({a: a, b: b}); +}; +const foldl$p = dictMonad => { + const pure1 = dictMonad.Applicative0().pure; + const bind = dictMonad.Bind1().bind; + const uncons1 = uncons(dictMonad); + return f => { + const loop = b => l => bind(uncons1(l))(v => { + if (v.tag === "Nothing") { return pure1(b); } + if (v.tag === "Just") { return bind(f(b)(v._1._1))(a => loop(a)(v._1._2)); } + $runtime.fail(); + }); + return loop; + }; +}; +const runListT = dictMonad => { + const pure1 = dictMonad.Applicative0().pure; + return foldl$p(dictMonad)(v => v1 => pure1(Data$dUnit.unit))(Data$dUnit.unit); +}; +const foldl = dictMonad => { + const pure1 = dictMonad.Applicative0().pure; + const bind = dictMonad.Bind1().bind; + const uncons1 = uncons(dictMonad); + return f => { + const loop = b => l => bind(uncons1(l))(v => { + if (v.tag === "Nothing") { return pure1(b); } + if (v.tag === "Just") { return loop(f(b)(v._1._1))(v._1._2); } + $runtime.fail(); + }); + return loop; + }; +}; +const filter = dictFunctor => f => v => dictFunctor.map(v$1 => { + if (v$1.tag === "Yield") { + const $4 = filter(dictFunctor)(f); + const s$p = Data$dLazy.defer(v$2 => $4(Data$dLazy.force(v$1._2))); + if (f(v$1._1)) { return $Step("Yield", v$1._1, s$p); } + return $Step("Skip", s$p); + } + if (v$1.tag === "Skip") { + return $Step( + "Skip", + (() => { + const $4 = filter(dictFunctor)(f); + return Data$dLazy.defer(v$2 => $4(Data$dLazy.force(v$1._1))); + })() + ); + } + if (v$1.tag === "Done") { return Done; } + $runtime.fail(); +})(v); +const dropWhile = dictApplicative => { + const $1 = dictApplicative.Apply0().Functor0(); + return f => v => $1.map(v$1 => { + if (v$1.tag === "Yield") { + if (f(v$1._1)) { + return $Step( + "Skip", + (() => { + const $5 = dropWhile(dictApplicative)(f); + return Data$dLazy.defer(v$2 => $5(Data$dLazy.force(v$1._2))); + })() + ); + } + return $Step("Yield", v$1._1, v$1._2); + } + if (v$1.tag === "Skip") { + return $Step( + "Skip", + (() => { + const $5 = dropWhile(dictApplicative)(f); + return Data$dLazy.defer(v$2 => $5(Data$dLazy.force(v$1._1))); + })() + ); + } + if (v$1.tag === "Done") { return Done; } + $runtime.fail(); + })(v); +}; +const drop = dictApplicative => { + const $1 = dictApplicative.Apply0().Functor0(); + return v => v1 => { + if (v === 0) { return v1; } + return $1.map(v2 => { + if (v2.tag === "Yield") { + return $Step( + "Skip", + (() => { + const $5 = drop(dictApplicative)(v - 1 | 0); + return Data$dLazy.defer(v$1 => $5(Data$dLazy.force(v2._2))); + })() + ); + } + if (v2.tag === "Skip") { + return $Step( + "Skip", + (() => { + const $5 = drop(dictApplicative)(v); + return Data$dLazy.defer(v$1 => $5(Data$dLazy.force(v2._1))); + })() + ); + } + if (v2.tag === "Done") { return Done; } + $runtime.fail(); + })(v1); + }; +}; +const cons = dictApplicative => lh => t => dictApplicative.pure($Step("Yield", Data$dLazy.force(lh), t)); +const unfoldable1ListT = dictMonad => { + const Applicative0 = dictMonad.Applicative0(); + const singleton1 = singleton(Applicative0); + return { + unfoldr1: f => b => { + const go = v => { + if (v._2.tag === "Nothing") { return singleton1(v._1); } + if (v._2.tag === "Just") { return Applicative0.pure($Step("Yield", Data$dLazy.force(Data$dLazy.defer(v$1 => v._1)), Data$dLazy.defer(v1 => go(f(v._2._1))))); } + $runtime.fail(); + }; + return go(f(b)); + } + }; +}; +const unfoldableListT = dictMonad => { + const Applicative0 = dictMonad.Applicative0(); + const nil1 = Applicative0.pure(Done); + const unfoldable1ListT1 = unfoldable1ListT(dictMonad); + return { + unfoldr: f => b => { + const go = v => { + if (v.tag === "Nothing") { return nil1; } + if (v.tag === "Just") { return Applicative0.pure($Step("Yield", Data$dLazy.force(Data$dLazy.defer(v$1 => v._1._1)), Data$dLazy.defer(v1 => go(f(v._1._2))))); } + $runtime.fail(); + }; + return go(f(b)); + }, + Unfoldable10: () => unfoldable1ListT1 + }; +}; +const semigroupListT = dictApplicative => ({append: concat(dictApplicative)}); +const concat = dictApplicative => { + const $1 = dictApplicative.Apply0().Functor0(); + return x => y => $1.map(v => { + if (v.tag === "Yield") { return $Step("Yield", v._1, Data$dLazy.defer(v$1 => concat(dictApplicative)(Data$dLazy.force(v._2))(y))); } + if (v.tag === "Skip") { return $Step("Skip", Data$dLazy.defer(v$1 => concat(dictApplicative)(Data$dLazy.force(v._1))(y))); } + if (v.tag === "Done") { return $Step("Skip", Data$dLazy.defer(v$1 => y)); } + $runtime.fail(); + })(x); +}; +const monoidListT = dictApplicative => { + const semigroupListT1 = {append: concat(dictApplicative)}; + return {mempty: dictApplicative.pure(Done), Semigroup0: () => semigroupListT1}; +}; +const catMaybes = dictFunctor => mapMaybe(dictFunctor)(identity); +const monadListT = dictMonad => ({Applicative0: () => applicativeListT(dictMonad), Bind1: () => bindListT(dictMonad)}); +const bindListT = dictMonad => { + const append = concat(dictMonad.Applicative0()); + const $2 = dictMonad.Bind1().Apply0().Functor0(); + return { + bind: fa => f => $2.map(v => { + if (v.tag === "Yield") { return $Step("Skip", Data$dLazy.defer(v$1 => append(f(v._1))(bindListT(dictMonad).bind(Data$dLazy.force(v._2))(f)))); } + if (v.tag === "Skip") { return $Step("Skip", Data$dLazy.defer(v$1 => bindListT(dictMonad).bind(Data$dLazy.force(v._1))(f))); } + if (v.tag === "Done") { return Done; } + $runtime.fail(); + })(fa), + Apply0: () => applyListT(dictMonad) + }; +}; +const applyListT = dictMonad => { + const functorListT1 = functorListT(dictMonad.Bind1().Apply0().Functor0()); + return { + apply: (() => { + const bind = bindListT(dictMonad).bind; + const pure = applicativeListT(dictMonad).pure; + return f => a => bind(f)(f$p => bind(a)(a$p => pure(f$p(a$p)))); + })(), + Functor0: () => functorListT1 + }; +}; +const applicativeListT = dictMonad => ({pure: singleton(dictMonad.Applicative0()), Apply0: () => applyListT(dictMonad)}); +const monadEffectListT = dictMonadEffect => { + const Monad0 = dictMonadEffect.Monad0(); + const monadListT1 = {Applicative0: () => ({pure: singleton(Monad0.Applicative0()), Apply0: () => applyListT(Monad0)}), Bind1: () => bindListT(Monad0)}; + return { + liftEffect: (() => { + const $3 = fromEffect(Monad0.Applicative0()); + return x => $3(dictMonadEffect.liftEffect(x)); + })(), + Monad0: () => monadListT1 + }; +}; +const altListT = dictApplicative => { + const functorListT1 = functorListT(dictApplicative.Apply0().Functor0()); + return {alt: concat(dictApplicative), Functor0: () => functorListT1}; +}; +const plusListT = dictMonad => { + const Applicative0 = dictMonad.Applicative0(); + const altListT1 = altListT(Applicative0); + return {empty: Applicative0.pure(Done), Alt0: () => altListT1}; +}; +const alternativeListT = dictMonad => { + const applicativeListT1 = {pure: singleton(dictMonad.Applicative0()), Apply0: () => applyListT(dictMonad)}; + const plusListT1 = plusListT(dictMonad); + return {Applicative0: () => applicativeListT1, Plus1: () => plusListT1}; +}; +const monadPlusListT = dictMonad => { + const monadListT1 = {Applicative0: () => ({pure: singleton(dictMonad.Applicative0()), Apply0: () => applyListT(dictMonad)}), Bind1: () => bindListT(dictMonad)}; + const alternativeListT1 = alternativeListT(dictMonad); + return {Monad0: () => monadListT1, Alternative1: () => alternativeListT1}; +}; +export { + $Step, + Done, + ListT, + Skip, + Yield, + altListT, + alternativeListT, + applicativeListT, + applyListT, + bindListT, + catMaybes, + concat, + cons, + drop, + dropWhile, + filter, + foldl, + foldl$p, + foldlRec, + foldlRec$p, + fromEffect, + functorListT, + head, + identity, + iterate, + mapMaybe, + monadEffectListT, + monadListT, + monadPlusListT, + monadTransListT, + monoidListT, + newtypeListT, + nil, + plusListT, + prepend, + prepend$p, + repeat, + runListT, + runListTRec, + scanl, + semigroupListT, + singleton, + tail, + take, + takeWhile, + uncons, + unfold, + unfoldable1ListT, + unfoldableListT, + wrapEffect, + wrapLazy, + zipWith, + zipWith$p +}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.Maybe.Trans/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.Maybe.Trans/index.js new file mode 100644 index 0000000..a349004 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.Maybe.Trans/index.js @@ -0,0 +1,214 @@ +// | This module defines the `MaybeT` monad transformer. +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dRec$dClass from "../Control.Monad.Rec.Class/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const identity = x => x; +const MaybeT = x => x; +const runMaybeT = v => v; +const newtypeMaybeT = {Coercible0: () => undefined}; +const monadTransMaybeT = { + lift: dictMonad => { + const bind = dictMonad.Bind1().bind; + const pure = dictMonad.Applicative0().pure; + return x => bind(x)(a$p => pure(Data$dMaybe.$Maybe("Just", a$p))); + } +}; +const mapMaybeT = f => v => f(v); +const functorMaybeT = dictFunctor => ({map: f => v => dictFunctor.map(Data$dMaybe.functorMaybe.map(f))(v)}); +const monadMaybeT = dictMonad => ({Applicative0: () => applicativeMaybeT(dictMonad), Bind1: () => bindMaybeT(dictMonad)}); +const bindMaybeT = dictMonad => { + const bind = dictMonad.Bind1().bind; + const pure = dictMonad.Applicative0().pure; + return { + bind: v => f => bind(v)(v1 => { + if (v1.tag === "Nothing") { return pure(Data$dMaybe.Nothing); } + if (v1.tag === "Just") { return f(v1._1); } + $runtime.fail(); + }), + Apply0: () => applyMaybeT(dictMonad) + }; +}; +const applyMaybeT = dictMonad => { + const $1 = dictMonad.Bind1().Apply0().Functor0(); + const functorMaybeT1 = {map: f => v => $1.map(Data$dMaybe.functorMaybe.map(f))(v)}; + return { + apply: (() => { + const bind = bindMaybeT(dictMonad).bind; + const pure = applicativeMaybeT(dictMonad).pure; + return f => a => bind(f)(f$p => bind(a)(a$p => pure(f$p(a$p)))); + })(), + Functor0: () => functorMaybeT1 + }; +}; +const applicativeMaybeT = dictMonad => ( + { + pure: (() => { + const $1 = dictMonad.Applicative0().pure; + return x => $1(Data$dMaybe.$Maybe("Just", x)); + })(), + Apply0: () => applyMaybeT(dictMonad) + } +); +const semigroupMaybeT = dictMonad => { + const $1 = applyMaybeT(dictMonad); + const map = $1.Functor0().map; + return dictSemigroup => ({append: a => b => $1.apply(map(dictSemigroup.append)(a))(b)}); +}; +const monadAskMaybeT = dictMonadAsk => { + const Monad0 = dictMonadAsk.Monad0(); + const monadMaybeT1 = {Applicative0: () => applicativeMaybeT(Monad0), Bind1: () => bindMaybeT(Monad0)}; + return {ask: monadTransMaybeT.lift(Monad0)(dictMonadAsk.ask), Monad0: () => monadMaybeT1}; +}; +const monadReaderMaybeT = dictMonadReader => { + const monadAskMaybeT1 = monadAskMaybeT(dictMonadReader.MonadAsk0()); + return {local: f => dictMonadReader.local(f), MonadAsk0: () => monadAskMaybeT1}; +}; +const monadContMaybeT = dictMonadCont => { + const $1 = dictMonadCont.Monad0(); + const monadMaybeT1 = {Applicative0: () => applicativeMaybeT($1), Bind1: () => bindMaybeT($1)}; + return {callCC: f => dictMonadCont.callCC(c => f(a => c(Data$dMaybe.$Maybe("Just", a)))), Monad0: () => monadMaybeT1}; +}; +const monadEffectMaybe = dictMonadEffect => { + const Monad0 = dictMonadEffect.Monad0(); + const monadMaybeT1 = {Applicative0: () => applicativeMaybeT(Monad0), Bind1: () => bindMaybeT(Monad0)}; + return { + liftEffect: (() => { + const $3 = monadTransMaybeT.lift(Monad0); + return x => $3(dictMonadEffect.liftEffect(x)); + })(), + Monad0: () => monadMaybeT1 + }; +}; +const monadRecMaybeT = dictMonadRec => { + const Monad0 = dictMonadRec.Monad0(); + const bind = Monad0.Bind1().bind; + const pure = Monad0.Applicative0().pure; + const monadMaybeT1 = {Applicative0: () => applicativeMaybeT(Monad0), Bind1: () => bindMaybeT(Monad0)}; + return { + tailRecM: f => dictMonadRec.tailRecM(a => bind(f(a))(m$p => pure((() => { + if (m$p.tag === "Nothing") { return Control$dMonad$dRec$dClass.$Step("Done", Data$dMaybe.Nothing); } + if (m$p.tag === "Just") { + if (m$p._1.tag === "Loop") { return Control$dMonad$dRec$dClass.$Step("Loop", m$p._1._1); } + if (m$p._1.tag === "Done") { return Control$dMonad$dRec$dClass.$Step("Done", Data$dMaybe.$Maybe("Just", m$p._1._1)); } + $runtime.fail(); + } + $runtime.fail(); + })()))), + Monad0: () => monadMaybeT1 + }; +}; +const monadStateMaybeT = dictMonadState => { + const Monad0 = dictMonadState.Monad0(); + const lift1 = monadTransMaybeT.lift(Monad0); + const monadMaybeT1 = {Applicative0: () => applicativeMaybeT(Monad0), Bind1: () => bindMaybeT(Monad0)}; + return {state: f => lift1(dictMonadState.state(f)), Monad0: () => monadMaybeT1}; +}; +const monadTellMaybeT = dictMonadTell => { + const Monad1 = dictMonadTell.Monad1(); + const Semigroup0 = dictMonadTell.Semigroup0(); + const monadMaybeT1 = {Applicative0: () => applicativeMaybeT(Monad1), Bind1: () => bindMaybeT(Monad1)}; + return { + tell: (() => { + const $4 = monadTransMaybeT.lift(Monad1); + return x => $4(dictMonadTell.tell(x)); + })(), + Semigroup0: () => Semigroup0, + Monad1: () => monadMaybeT1 + }; +}; +const monadWriterMaybeT = dictMonadWriter => { + const MonadTell1 = dictMonadWriter.MonadTell1(); + const Monad1 = MonadTell1.Monad1(); + const bind = Monad1.Bind1().bind; + const pure = Monad1.Applicative0().pure; + const Monoid0 = dictMonadWriter.Monoid0(); + const monadTellMaybeT1 = monadTellMaybeT(MonadTell1); + return { + listen: v => bind(dictMonadWriter.listen(v))(v$1 => pure((() => { + if (v$1._1.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(v$1._1._1, v$1._2)); } + return Data$dMaybe.Nothing; + })())), + pass: v => dictMonadWriter.pass(bind(v)(a => pure((() => { + if (a.tag === "Nothing") { return Data$dTuple.$Tuple(Data$dMaybe.Nothing, identity); } + if (a.tag === "Just") { return Data$dTuple.$Tuple(Data$dMaybe.$Maybe("Just", a._1._1), a._1._2); } + $runtime.fail(); + })()))), + Monoid0: () => Monoid0, + MonadTell1: () => monadTellMaybeT1 + }; +}; +const monadThrowMaybeT = dictMonadThrow => { + const Monad0 = dictMonadThrow.Monad0(); + const lift1 = monadTransMaybeT.lift(Monad0); + const monadMaybeT1 = {Applicative0: () => applicativeMaybeT(Monad0), Bind1: () => bindMaybeT(Monad0)}; + return {throwError: e => lift1(dictMonadThrow.throwError(e)), Monad0: () => monadMaybeT1}; +}; +const monadErrorMaybeT = dictMonadError => { + const monadThrowMaybeT1 = monadThrowMaybeT(dictMonadError.MonadThrow0()); + return {catchError: v => h => dictMonadError.catchError(v)(a => h(a)), MonadThrow0: () => monadThrowMaybeT1}; +}; +const monoidMaybeT = dictMonad => { + const pure = applicativeMaybeT(dictMonad).pure; + const semigroupMaybeT1 = semigroupMaybeT(dictMonad); + return dictMonoid => { + const semigroupMaybeT2 = semigroupMaybeT1(dictMonoid.Semigroup0()); + return {mempty: pure(dictMonoid.mempty), Semigroup0: () => semigroupMaybeT2}; + }; +}; +const altMaybeT = dictMonad => { + const Bind1 = dictMonad.Bind1(); + const pure = dictMonad.Applicative0().pure; + const $3 = Bind1.Apply0().Functor0(); + const functorMaybeT1 = {map: f => v => $3.map(Data$dMaybe.functorMaybe.map(f))(v)}; + return { + alt: v => v1 => Bind1.bind(v)(m => { + if (m.tag === "Nothing") { return v1; } + return pure(m); + }), + Functor0: () => functorMaybeT1 + }; +}; +const plusMaybeT = dictMonad => { + const altMaybeT1 = altMaybeT(dictMonad); + return {empty: dictMonad.Applicative0().pure(Data$dMaybe.Nothing), Alt0: () => altMaybeT1}; +}; +const alternativeMaybeT = dictMonad => { + const applicativeMaybeT1 = applicativeMaybeT(dictMonad); + const plusMaybeT1 = plusMaybeT(dictMonad); + return {Applicative0: () => applicativeMaybeT1, Plus1: () => plusMaybeT1}; +}; +const monadPlusMaybeT = dictMonad => { + const monadMaybeT1 = {Applicative0: () => applicativeMaybeT(dictMonad), Bind1: () => bindMaybeT(dictMonad)}; + const alternativeMaybeT1 = alternativeMaybeT(dictMonad); + return {Monad0: () => monadMaybeT1, Alternative1: () => alternativeMaybeT1}; +}; +export { + MaybeT, + altMaybeT, + alternativeMaybeT, + applicativeMaybeT, + applyMaybeT, + bindMaybeT, + functorMaybeT, + identity, + mapMaybeT, + monadAskMaybeT, + monadContMaybeT, + monadEffectMaybe, + monadErrorMaybeT, + monadMaybeT, + monadPlusMaybeT, + monadReaderMaybeT, + monadRecMaybeT, + monadStateMaybeT, + monadTellMaybeT, + monadThrowMaybeT, + monadTransMaybeT, + monadWriterMaybeT, + monoidMaybeT, + newtypeMaybeT, + plusMaybeT, + runMaybeT, + semigroupMaybeT +}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.RWS.Trans/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.RWS.Trans/index.js new file mode 100644 index 0000000..3e98ce2 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.RWS.Trans/index.js @@ -0,0 +1,240 @@ +// | This module defines the reader-writer-state monad transformer, `RWST`. +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dRec$dClass from "../Control.Monad.Rec.Class/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const $RWSResult = (_1, _2, _3) => ({tag: "RWSResult", _1, _2, _3}); +const RWSResult = value0 => value1 => value2 => $RWSResult(value0, value1, value2); +const RWST = x => x; +const withRWST = f => m => r => s => { + const $4 = f(r)(s); + return m($4._1)($4._2); +}; +const runRWST = v => v; +const newtypeRWST = {Coercible0: () => undefined}; +const monadTransRWST = dictMonoid => ( + { + lift: dictMonad => { + const bind = dictMonad.Bind1().bind; + const pure = dictMonad.Applicative0().pure; + return m => v => s => bind(m)(a => pure($RWSResult(s, a, dictMonoid.mempty))); + } + } +); +const mapRWST = f => v => r => s => f(v(r)(s)); +const lazyRWST = {defer: f => r => s => f(Data$dUnit.unit)(r)(s)}; +const functorRWST = dictFunctor => ({map: f => v => r => s => dictFunctor.map(v1 => $RWSResult(v1._1, f(v1._2), v1._3))(v(r)(s))}); +const execRWST = dictMonad => { + const bind = dictMonad.Bind1().bind; + const pure = dictMonad.Applicative0().pure; + return v => r => s => bind(v(r)(s))(v1 => pure(Data$dTuple.$Tuple(v1._1, v1._3))); +}; +const evalRWST = dictMonad => { + const bind = dictMonad.Bind1().bind; + const pure = dictMonad.Applicative0().pure; + return v => r => s => bind(v(r)(s))(v1 => pure(Data$dTuple.$Tuple(v1._2, v1._3))); +}; +const applyRWST = dictBind => { + const Functor0 = dictBind.Apply0().Functor0(); + const functorRWST1 = functorRWST(Functor0); + return dictMonoid => { + const append = dictMonoid.Semigroup0().append; + return { + apply: v => v1 => r => s => dictBind.bind(v(r)(s))(v2 => Functor0.map(v3 => $RWSResult(v3._1, v2._2(v3._2), append(v2._3)(v3._3)))(v1(r)(v2._1))), + Functor0: () => functorRWST1 + }; + }; +}; +const bindRWST = dictBind => { + const $1 = dictBind.Apply0().Functor0(); + const applyRWST1 = applyRWST(dictBind); + return dictMonoid => { + const append = dictMonoid.Semigroup0().append; + const applyRWST2 = applyRWST1(dictMonoid); + return {bind: v => f => r => s => dictBind.bind(v(r)(s))(v1 => $1.map(v3 => $RWSResult(v3._1, v3._2, append(v1._3)(v3._3)))(f(v1._2)(r)(v1._1))), Apply0: () => applyRWST2}; + }; +}; +const semigroupRWST = dictBind => { + const applyRWST1 = applyRWST(dictBind); + return dictMonoid => { + const $3 = applyRWST1(dictMonoid); + const map = $3.Functor0().map; + return dictSemigroup => ({append: a => b => $3.apply(map(dictSemigroup.append)(a))(b)}); + }; +}; +const applicativeRWST = dictMonad => { + const pure = dictMonad.Applicative0().pure; + const applyRWST1 = applyRWST(dictMonad.Bind1()); + return dictMonoid => { + const applyRWST2 = applyRWST1(dictMonoid); + return {pure: a => v => s => pure($RWSResult(s, a, dictMonoid.mempty)), Apply0: () => applyRWST2}; + }; +}; +const monadRWST = dictMonad => { + const applicativeRWST1 = applicativeRWST(dictMonad); + const bindRWST1 = bindRWST(dictMonad.Bind1()); + return dictMonoid => { + const applicativeRWST2 = applicativeRWST1(dictMonoid); + const bindRWST2 = bindRWST1(dictMonoid); + return {Applicative0: () => applicativeRWST2, Bind1: () => bindRWST2}; + }; +}; +const monadAskRWST = dictMonad => { + const pure = dictMonad.Applicative0().pure; + const monadRWST1 = monadRWST(dictMonad); + return dictMonoid => { + const monadRWST2 = monadRWST1(dictMonoid); + return {ask: r => s => pure($RWSResult(s, r, dictMonoid.mempty)), Monad0: () => monadRWST2}; + }; +}; +const monadReaderRWST = dictMonad => { + const monadAskRWST1 = monadAskRWST(dictMonad); + return dictMonoid => { + const monadAskRWST2 = monadAskRWST1(dictMonoid); + return {local: f => m => r => s => m(f(r))(s), MonadAsk0: () => monadAskRWST2}; + }; +}; +const monadEffectRWS = dictMonoid => { + const lift = monadTransRWST(dictMonoid).lift; + return dictMonadEffect => { + const Monad0 = dictMonadEffect.Monad0(); + const monadRWST1 = monadRWST(Monad0)(dictMonoid); + return { + liftEffect: (() => { + const $5 = lift(Monad0); + return x => $5(dictMonadEffect.liftEffect(x)); + })(), + Monad0: () => monadRWST1 + }; + }; +}; +const monadRecRWST = dictMonadRec => { + const Monad0 = dictMonadRec.Monad0(); + const bind = Monad0.Bind1().bind; + const pure = Monad0.Applicative0().pure; + const monadRWST1 = monadRWST(Monad0); + return dictMonoid => { + const append = dictMonoid.Semigroup0().append; + const monadRWST2 = monadRWST1(dictMonoid); + return { + tailRecM: k => a => r => s => dictMonadRec.tailRecM(v => bind(k(v._2)(r)(v._1))(v2 => pure((() => { + if (v2._2.tag === "Loop") { return Control$dMonad$dRec$dClass.$Step("Loop", $RWSResult(v2._1, v2._2._1, append(v._3)(v2._3))); } + if (v2._2.tag === "Done") { return Control$dMonad$dRec$dClass.$Step("Done", $RWSResult(v2._1, v2._2._1, append(v._3)(v2._3))); } + $runtime.fail(); + })())))($RWSResult(s, a, dictMonoid.mempty)), + Monad0: () => monadRWST2 + }; + }; +}; +const monadStateRWST = dictMonad => { + const pure = dictMonad.Applicative0().pure; + const monadRWST1 = monadRWST(dictMonad); + return dictMonoid => { + const monadRWST2 = monadRWST1(dictMonoid); + return { + state: f => v => s => { + const v1 = f(s); + return pure($RWSResult(v1._2, v1._1, dictMonoid.mempty)); + }, + Monad0: () => monadRWST2 + }; + }; +}; +const monadTellRWST = dictMonad => { + const pure = dictMonad.Applicative0().pure; + const monadRWST1 = monadRWST(dictMonad); + return dictMonoid => { + const Semigroup0 = dictMonoid.Semigroup0(); + const monadRWST2 = monadRWST1(dictMonoid); + return {tell: w => v => s => pure($RWSResult(s, Data$dUnit.unit, w)), Semigroup0: () => Semigroup0, Monad1: () => monadRWST2}; + }; +}; +const monadWriterRWST = dictMonad => { + const bind = dictMonad.Bind1().bind; + const pure = dictMonad.Applicative0().pure; + const monadTellRWST1 = monadTellRWST(dictMonad); + return dictMonoid => { + const monadTellRWST2 = monadTellRWST1(dictMonoid); + return { + listen: m => r => s => bind(m(r)(s))(v => pure($RWSResult(v._1, Data$dTuple.$Tuple(v._2, v._3), v._3))), + pass: m => r => s => bind(m(r)(s))(v => pure($RWSResult(v._1, v._2._1, v._2._2(v._3)))), + Monoid0: () => dictMonoid, + MonadTell1: () => monadTellRWST2 + }; + }; +}; +const monadThrowRWST = dictMonadThrow => { + const Monad0 = dictMonadThrow.Monad0(); + const monadRWST1 = monadRWST(Monad0); + return dictMonoid => { + const lift = monadTransRWST(dictMonoid).lift(Monad0); + const monadRWST2 = monadRWST1(dictMonoid); + return {throwError: e => lift(dictMonadThrow.throwError(e)), Monad0: () => monadRWST2}; + }; +}; +const monadErrorRWST = dictMonadError => { + const monadThrowRWST1 = monadThrowRWST(dictMonadError.MonadThrow0()); + return dictMonoid => { + const monadThrowRWST2 = monadThrowRWST1(dictMonoid); + return {catchError: m => h => r => s => dictMonadError.catchError(m(r)(s))(e => h(e)(r)(s)), MonadThrow0: () => monadThrowRWST2}; + }; +}; +const monoidRWST = dictMonad => { + const applicativeRWST1 = applicativeRWST(dictMonad); + const semigroupRWST1 = semigroupRWST(dictMonad.Bind1()); + return dictMonoid => { + const pure = applicativeRWST1(dictMonoid).pure; + const semigroupRWST2 = semigroupRWST1(dictMonoid); + return dictMonoid1 => { + const semigroupRWST3 = semigroupRWST2(dictMonoid1.Semigroup0()); + return {mempty: pure(dictMonoid1.mempty), Semigroup0: () => semigroupRWST3}; + }; + }; +}; +const altRWST = dictAlt => { + const functorRWST1 = functorRWST(dictAlt.Functor0()); + return {alt: v => v1 => r => s => dictAlt.alt(v(r)(s))(v1(r)(s)), Functor0: () => functorRWST1}; +}; +const plusRWST = dictPlus => { + const altRWST1 = altRWST(dictPlus.Alt0()); + return {empty: v => v1 => dictPlus.empty, Alt0: () => altRWST1}; +}; +const alternativeRWST = dictMonoid => dictAlternative => { + const plusRWST1 = plusRWST(dictAlternative.Plus1()); + return dictMonad => { + const applicativeRWST1 = applicativeRWST(dictMonad)(dictMonoid); + return {Applicative0: () => applicativeRWST1, Plus1: () => plusRWST1}; + }; +}; +export { + $RWSResult, + RWSResult, + RWST, + altRWST, + alternativeRWST, + applicativeRWST, + applyRWST, + bindRWST, + evalRWST, + execRWST, + functorRWST, + lazyRWST, + mapRWST, + monadAskRWST, + monadEffectRWS, + monadErrorRWST, + monadRWST, + monadReaderRWST, + monadRecRWST, + monadStateRWST, + monadTellRWST, + monadThrowRWST, + monadTransRWST, + monadWriterRWST, + monoidRWST, + newtypeRWST, + plusRWST, + runRWST, + semigroupRWST, + withRWST +}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.RWS/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.RWS/index.js new file mode 100644 index 0000000..df8f661 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.RWS/index.js @@ -0,0 +1,13 @@ +// | This module defines the `RWS` monad. +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dRWS$dTrans from "../Control.Monad.RWS.Trans/index.js"; +import * as Data$dIdentity from "../Data.Identity/index.js"; +const execRWST = /* #__PURE__ */ Control$dMonad$dRWS$dTrans.execRWST(Data$dIdentity.monadIdentity); +const evalRWST = /* #__PURE__ */ Control$dMonad$dRWS$dTrans.evalRWST(Data$dIdentity.monadIdentity); +const withRWS = Control$dMonad$dRWS$dTrans.withRWST; +const rws = f => r => s => f(r)(s); +const runRWS = m => r => s => m(r)(s); +const mapRWS = f => v => r => s => f(v(r)(s)); +const execRWS = m => r => s => execRWST(m)(r)(s); +const evalRWS = m => r => s => evalRWST(m)(r)(s); +export {evalRWS, evalRWST, execRWS, execRWST, mapRWS, runRWS, rws, withRWS}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.Reader.Class/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.Reader.Class/index.js new file mode 100644 index 0000000..de0155a --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.Reader.Class/index.js @@ -0,0 +1,12 @@ +// | This module defines the `MonadReader` type class and its instances. +import * as $runtime from "../runtime.js"; +import * as Control$dMonad from "../Control.Monad/index.js"; +const monadAskFun = {ask: x => x, Monad0: () => Control$dMonad.monadFn}; +const monadReaderFun = {local: f => g => x => g(f(x)), MonadAsk0: () => monadAskFun}; +const local = dict => dict.local; +const ask = dict => dict.ask; +const asks = dictMonadAsk => { + const map = dictMonadAsk.Monad0().Bind1().Apply0().Functor0().map; + return f => map(f)(dictMonadAsk.ask); +}; +export {ask, asks, local, monadAskFun, monadReaderFun}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.Reader.Trans/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.Reader.Trans/index.js new file mode 100644 index 0000000..397376c --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.Reader.Trans/index.js @@ -0,0 +1,293 @@ +// | This module defines the reader monad transformer, `ReaderT`. +import * as $runtime from "../runtime.js"; +const ReaderT = x => x; +const withReaderT = f => v => x => v(f(x)); +const runReaderT = v => v; +const newtypeReaderT = {Coercible0: () => undefined}; +const monadTransReaderT = {lift: dictMonad => x => v => x}; +const mapReaderT = f => v => x => f(v(x)); +const functorReaderT = dictFunctor => ( + { + map: x => { + const $2 = dictFunctor.map(x); + return v => x$1 => $2(v(x$1)); + } + } +); +const distributiveReaderT = dictDistributive => { + const $1 = dictDistributive.Functor0(); + const functorReaderT1 = { + map: x => { + const $3 = $1.map(x); + return v => x$1 => $3(v(x$1)); + } + }; + return { + distribute: dictFunctor => { + const collect1 = dictDistributive.collect(dictFunctor); + return a => e => collect1(r => r(e))(a); + }, + collect: dictFunctor => f => { + const $5 = distributiveReaderT(dictDistributive).distribute(dictFunctor); + const $6 = dictFunctor.map(f); + return x => $5($6(x)); + }, + Functor0: () => functorReaderT1 + }; +}; +const applyReaderT = dictApply => { + const $1 = dictApply.Functor0(); + const functorReaderT1 = { + map: x => { + const $3 = $1.map(x); + return v => x$1 => $3(v(x$1)); + } + }; + return {apply: v => v1 => r => dictApply.apply(v(r))(v1(r)), Functor0: () => functorReaderT1}; +}; +const bindReaderT = dictBind => { + const $1 = dictBind.Apply0(); + const $2 = $1.Functor0(); + const functorReaderT1 = { + map: x => { + const $4 = $2.map(x); + return v => x$1 => $4(v(x$1)); + } + }; + const applyReaderT1 = {apply: v => v1 => r => $1.apply(v(r))(v1(r)), Functor0: () => functorReaderT1}; + return {bind: v => k => r => dictBind.bind(v(r))(a => k(a)(r)), Apply0: () => applyReaderT1}; +}; +const semigroupReaderT = dictApply => { + const $1 = dictApply.Functor0(); + return dictSemigroup => ( + { + append: a => b => { + const $5 = $1.map(dictSemigroup.append); + return r => dictApply.apply($5(a(r)))(b(r)); + } + } + ); +}; +const applicativeReaderT = dictApplicative => { + const $1 = dictApplicative.Apply0(); + const $2 = $1.Functor0(); + const functorReaderT1 = { + map: x => { + const $4 = $2.map(x); + return v => x$1 => $4(v(x$1)); + } + }; + const applyReaderT1 = {apply: v => v1 => r => $1.apply(v(r))(v1(r)), Functor0: () => functorReaderT1}; + return { + pure: x => { + const $6 = dictApplicative.pure(x); + return v => $6; + }, + Apply0: () => applyReaderT1 + }; +}; +const monadReaderT = dictMonad => { + const $1 = dictMonad.Applicative0(); + const $2 = $1.Apply0(); + const $3 = $2.Functor0(); + const functorReaderT1 = { + map: x => { + const $5 = $3.map(x); + return v => x$1 => $5(v(x$1)); + } + }; + const applyReaderT1 = {apply: v => v1 => r => $2.apply(v(r))(v1(r)), Functor0: () => functorReaderT1}; + const applicativeReaderT1 = { + pure: x => { + const $7 = $1.pure(x); + return v => $7; + }, + Apply0: () => applyReaderT1 + }; + const bindReaderT1 = bindReaderT(dictMonad.Bind1()); + return {Applicative0: () => applicativeReaderT1, Bind1: () => bindReaderT1}; +}; +const monadAskReaderT = dictMonad => { + const monadReaderT1 = monadReaderT(dictMonad); + return {ask: dictMonad.Applicative0().pure, Monad0: () => monadReaderT1}; +}; +const monadReaderReaderT = dictMonad => { + const monadReaderT1 = monadReaderT(dictMonad); + const monadAskReaderT1 = {ask: dictMonad.Applicative0().pure, Monad0: () => monadReaderT1}; + return {local: withReaderT, MonadAsk0: () => monadAskReaderT1}; +}; +const monadContReaderT = dictMonadCont => { + const monadReaderT1 = monadReaderT(dictMonadCont.Monad0()); + return { + callCC: f => r => dictMonadCont.callCC(c => f(x => { + const $6 = c(x); + return v => $6; + })(r)), + Monad0: () => monadReaderT1 + }; +}; +const monadEffectReader = dictMonadEffect => { + const monadReaderT1 = monadReaderT(dictMonadEffect.Monad0()); + return { + liftEffect: x => { + const $3 = dictMonadEffect.liftEffect(x); + return v => $3; + }, + Monad0: () => monadReaderT1 + }; +}; +const monadRecReaderT = dictMonadRec => { + const Monad0 = dictMonadRec.Monad0(); + const $2 = Monad0.Bind1(); + const pure = Monad0.Applicative0().pure; + const monadReaderT1 = monadReaderT(Monad0); + return {tailRecM: k => a => r => dictMonadRec.tailRecM(a$p => $2.bind(k(a$p)(r))(pure))(a), Monad0: () => monadReaderT1}; +}; +const monadStateReaderT = dictMonadState => { + const monadReaderT1 = monadReaderT(dictMonadState.Monad0()); + return { + state: x => { + const $3 = dictMonadState.state(x); + return v => $3; + }, + Monad0: () => monadReaderT1 + }; +}; +const monadTellReaderT = dictMonadTell => { + const Semigroup0 = dictMonadTell.Semigroup0(); + const monadReaderT1 = monadReaderT(dictMonadTell.Monad1()); + return { + tell: x => { + const $4 = dictMonadTell.tell(x); + return v => $4; + }, + Semigroup0: () => Semigroup0, + Monad1: () => monadReaderT1 + }; +}; +const monadWriterReaderT = dictMonadWriter => { + const Monoid0 = dictMonadWriter.Monoid0(); + const monadTellReaderT1 = monadTellReaderT(dictMonadWriter.MonadTell1()); + return {listen: v => x => dictMonadWriter.listen(v(x)), pass: v => x => dictMonadWriter.pass(v(x)), Monoid0: () => Monoid0, MonadTell1: () => monadTellReaderT1}; +}; +const monadThrowReaderT = dictMonadThrow => { + const monadReaderT1 = monadReaderT(dictMonadThrow.Monad0()); + return { + throwError: x => { + const $3 = dictMonadThrow.throwError(x); + return v => $3; + }, + Monad0: () => monadReaderT1 + }; +}; +const monadErrorReaderT = dictMonadError => { + const monadThrowReaderT1 = monadThrowReaderT(dictMonadError.MonadThrow0()); + return {catchError: v => h => r => dictMonadError.catchError(v(r))(e => h(e)(r)), MonadThrow0: () => monadThrowReaderT1}; +}; +const monoidReaderT = dictApplicative => { + const $1 = dictApplicative.Apply0(); + const $2 = $1.Functor0(); + return dictMonoid => { + const $4 = dictMonoid.Semigroup0(); + const semigroupReaderT2 = { + append: a => b => { + const $7 = $2.map($4.append); + return r => $1.apply($7(a(r)))(b(r)); + } + }; + return { + mempty: (() => { + const $6 = dictApplicative.pure(dictMonoid.mempty); + return v => $6; + })(), + Semigroup0: () => semigroupReaderT2 + }; + }; +}; +const altReaderT = dictAlt => { + const $1 = dictAlt.Functor0(); + const functorReaderT1 = { + map: x => { + const $3 = $1.map(x); + return v => x$1 => $3(v(x$1)); + } + }; + return {alt: v => v1 => r => dictAlt.alt(v(r))(v1(r)), Functor0: () => functorReaderT1}; +}; +const plusReaderT = dictPlus => { + const $1 = dictPlus.Alt0(); + const $2 = $1.Functor0(); + const functorReaderT1 = { + map: x => { + const $4 = $2.map(x); + return v => x$1 => $4(v(x$1)); + } + }; + const altReaderT1 = {alt: v => v1 => r => $1.alt(v(r))(v1(r)), Functor0: () => functorReaderT1}; + return {empty: v => dictPlus.empty, Alt0: () => altReaderT1}; +}; +const alternativeReaderT = dictAlternative => { + const $1 = dictAlternative.Applicative0(); + const $2 = $1.Apply0(); + const $3 = $2.Functor0(); + const functorReaderT1 = { + map: x => { + const $5 = $3.map(x); + return v => x$1 => $5(v(x$1)); + } + }; + const applyReaderT1 = {apply: v => v1 => r => $2.apply(v(r))(v1(r)), Functor0: () => functorReaderT1}; + const applicativeReaderT1 = { + pure: x => { + const $7 = $1.pure(x); + return v => $7; + }, + Apply0: () => applyReaderT1 + }; + const $7 = dictAlternative.Plus1(); + const $8 = $7.Alt0(); + const $9 = $8.Functor0(); + const functorReaderT1$1 = { + map: x => { + const $11 = $9.map(x); + return v => x$1 => $11(v(x$1)); + } + }; + const altReaderT1 = {alt: v => v1 => r => $8.alt(v(r))(v1(r)), Functor0: () => functorReaderT1$1}; + return {Applicative0: () => applicativeReaderT1, Plus1: () => ({empty: v => $7.empty, Alt0: () => altReaderT1})}; +}; +const monadPlusReaderT = dictMonadPlus => { + const monadReaderT1 = monadReaderT(dictMonadPlus.Monad0()); + const alternativeReaderT1 = alternativeReaderT(dictMonadPlus.Alternative1()); + return {Monad0: () => monadReaderT1, Alternative1: () => alternativeReaderT1}; +}; +export { + ReaderT, + altReaderT, + alternativeReaderT, + applicativeReaderT, + applyReaderT, + bindReaderT, + distributiveReaderT, + functorReaderT, + mapReaderT, + monadAskReaderT, + monadContReaderT, + monadEffectReader, + monadErrorReaderT, + monadPlusReaderT, + monadReaderReaderT, + monadReaderT, + monadRecReaderT, + monadStateReaderT, + monadTellReaderT, + monadThrowReaderT, + monadTransReaderT, + monadWriterReaderT, + monoidReaderT, + newtypeReaderT, + plusReaderT, + runReaderT, + semigroupReaderT, + withReaderT +}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.Reader/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.Reader/index.js new file mode 100644 index 0000000..afbcef9 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.Reader/index.js @@ -0,0 +1,7 @@ +// | This module defines the `Reader` monad. +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dReader$dTrans from "../Control.Monad.Reader.Trans/index.js"; +const withReader = Control$dMonad$dReader$dTrans.withReaderT; +const runReader = v => x => v(x); +const mapReader = f => v => x => f(v(x)); +export {mapReader, runReader, withReader}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.Rec.Class/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.Rec.Class/index.js new file mode 100644 index 0000000..1d7ea4d --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.Rec.Class/index.js @@ -0,0 +1,270 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad from "../Control.Monad/index.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dIdentity from "../Data.Identity/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import * as Effect from "../Effect/index.js"; +import * as Effect$dRef from "../Effect.Ref/index.js"; +const $Step = (tag, _1) => ({tag, _1}); +const Loop = value0 => $Step("Loop", value0); +const Done = value0 => $Step("Done", value0); +const tailRecM = dict => dict.tailRecM; +const tailRecM2 = dictMonadRec => f => a => b => dictMonadRec.tailRecM(o => f(o.a)(o.b))({a: a, b: b}); +const tailRecM3 = dictMonadRec => f => a => b => c => dictMonadRec.tailRecM(o => f(o.a)(o.b)(o.c))({a: a, b: b, c: c}); +const untilJust = dictMonadRec => { + const $1 = dictMonadRec.Monad0().Bind1().Apply0().Functor0(); + return m => dictMonadRec.tailRecM(v => $1.map(v1 => { + if (v1.tag === "Nothing") { return $Step("Loop", Data$dUnit.unit); } + if (v1.tag === "Just") { return $Step("Done", v1._1); } + $runtime.fail(); + })(m))(Data$dUnit.unit); +}; +const whileJust = dictMonoid => { + const append = dictMonoid.Semigroup0().append; + return dictMonadRec => { + const $3 = dictMonadRec.Monad0().Bind1().Apply0().Functor0(); + return m => dictMonadRec.tailRecM(v => $3.map(v1 => { + if (v1.tag === "Nothing") { return $Step("Done", v); } + if (v1.tag === "Just") { return $Step("Loop", append(v)(v1._1)); } + $runtime.fail(); + })(m))(dictMonoid.mempty); + }; +}; +const tailRec = f => { + const go = go$a0$copy => { + let go$a0 = go$a0$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0; + if (v.tag === "Loop") { + go$a0 = f(v._1); + continue; + } + if (v.tag === "Done") { + go$c = false; + go$r = v._1; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return x => go(f(x)); +}; +const tailRec2 = f => a => b => { + const go = go$a0$copy => { + let go$a0 = go$a0$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0; + if (v.tag === "Loop") { + go$a0 = f(v._1.a)(v._1.b); + continue; + } + if (v.tag === "Done") { + go$c = false; + go$r = v._1; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(f(a)(b)); +}; +const tailRec3 = f => a => b => c => { + const go = go$a0$copy => { + let go$a0 = go$a0$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0; + if (v.tag === "Loop") { + go$a0 = f(v._1.a)(v._1.b)(v._1.c); + continue; + } + if (v.tag === "Done") { + go$c = false; + go$r = v._1; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(f(a)(b)(c)); +}; +const monadRecMaybe = { + tailRecM: f => a0 => { + const $2 = v => { + if (v.tag === "Nothing") { return $Step("Done", Data$dMaybe.Nothing); } + if (v.tag === "Just") { + if (v._1.tag === "Loop") { return $Step("Loop", f(v._1._1)); } + if (v._1.tag === "Done") { return $Step("Done", Data$dMaybe.$Maybe("Just", v._1._1)); } + $runtime.fail(); + } + $runtime.fail(); + }; + const go = go$a0$copy => { + let go$a0 = go$a0$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0; + if (v.tag === "Loop") { + go$a0 = $2(v._1); + continue; + } + if (v.tag === "Done") { + go$c = false; + go$r = v._1; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go($2(f(a0))); + }, + Monad0: () => Data$dMaybe.monadMaybe +}; +const monadRecIdentity = { + tailRecM: f => { + const go = go$a0$copy => { + let go$a0 = go$a0$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0; + if (v.tag === "Loop") { + go$a0 = f(v._1); + continue; + } + if (v.tag === "Done") { + go$c = false; + go$r = v._1; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return x => go(f(x)); + }, + Monad0: () => Data$dIdentity.monadIdentity +}; +const monadRecFunction = { + tailRecM: f => a0 => e => { + const go = go$a0$copy => { + let go$a0 = go$a0$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0; + if (v.tag === "Loop") { + go$a0 = f(v._1)(e); + continue; + } + if (v.tag === "Done") { + go$c = false; + go$r = v._1; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(f(a0)(e)); + }, + Monad0: () => Control$dMonad.monadFn +}; +const monadRecEither = { + tailRecM: f => a0 => { + const $2 = v => { + if (v.tag === "Left") { return $Step("Done", Data$dEither.$Either("Left", v._1)); } + if (v.tag === "Right") { + if (v._1.tag === "Loop") { return $Step("Loop", f(v._1._1)); } + if (v._1.tag === "Done") { return $Step("Done", Data$dEither.$Either("Right", v._1._1)); } + $runtime.fail(); + } + $runtime.fail(); + }; + const go = go$a0$copy => { + let go$a0 = go$a0$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0; + if (v.tag === "Loop") { + go$a0 = $2(v._1); + continue; + } + if (v.tag === "Done") { + go$c = false; + go$r = v._1; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go($2(f(a0))); + }, + Monad0: () => Data$dEither.monadEither +}; +const monadRecEffect = { + tailRecM: f => a => { + const $2 = Effect.bindE(f(a))(Effect$dRef._new); + return () => { + const r = $2(); + Effect.untilE(() => { + const v = r.value; + if (v.tag === "Loop") { + const e = f(v._1)(); + r.value = e; + return false; + } + if (v.tag === "Done") { return true; } + $runtime.fail(); + })(); + const a$p = r.value; + return (() => { + if (a$p.tag === "Done") { return a$p._1; } + $runtime.fail(); + })(); + }; + }, + Monad0: () => Effect.monadEffect +}; +const loop3 = a => b => c => $Step("Loop", {a: a, b: b, c: c}); +const loop2 = a => b => $Step("Loop", {a: a, b: b}); +const functorStep = { + map: f => m => { + if (m.tag === "Loop") { return $Step("Loop", m._1); } + if (m.tag === "Done") { return $Step("Done", f(m._1)); } + $runtime.fail(); + } +}; +const forever = dictMonadRec => { + const $1 = dictMonadRec.Monad0().Bind1().Apply0().Functor0(); + return ma => dictMonadRec.tailRecM(u => $1.map(v => $Step("Loop", u))(ma))(Data$dUnit.unit); +}; +const bifunctorStep = { + bimap: v => v1 => v2 => { + if (v2.tag === "Loop") { return $Step("Loop", v(v2._1)); } + if (v2.tag === "Done") { return $Step("Done", v1(v2._1)); } + $runtime.fail(); + } +}; +export { + $Step, + Done, + Loop, + bifunctorStep, + forever, + functorStep, + loop2, + loop3, + monadRecEffect, + monadRecEither, + monadRecFunction, + monadRecIdentity, + monadRecMaybe, + tailRec, + tailRec2, + tailRec3, + tailRecM, + tailRecM2, + tailRecM3, + untilJust, + whileJust +}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.ST.Class/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.ST.Class/index.js new file mode 100644 index 0000000..6aaab77 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.ST.Class/index.js @@ -0,0 +1,8 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dST$dInternal from "../Control.Monad.ST.Internal/index.js"; +import * as Effect from "../Effect/index.js"; +import * as Unsafe$dCoerce from "../Unsafe.Coerce/index.js"; +const monadSTST = {liftST: x => x, Monad0: () => Control$dMonad$dST$dInternal.monadST}; +const monadSTEffect = {liftST: Unsafe$dCoerce.unsafeCoerce, Monad0: () => Effect.monadEffect}; +const liftST = dict => dict.liftST; +export {liftST, monadSTEffect, monadSTST}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.ST.Global/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.ST.Global/index.js new file mode 100644 index 0000000..bd42473 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.ST.Global/index.js @@ -0,0 +1,4 @@ +import * as $runtime from "../runtime.js"; +import * as Unsafe$dCoerce from "../Unsafe.Coerce/index.js"; +const toEffect = Unsafe$dCoerce.unsafeCoerce; +export {toEffect}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.ST.Internal/foreign.js b/.storybook/purescript-indexer/output-es/Control.Monad.ST.Internal/foreign.js new file mode 100644 index 0000000..24d2ed8 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.ST.Internal/foreign.js @@ -0,0 +1,90 @@ +export const map_ = function (f) { + return function (a) { + return function () { + return f(a()); + }; + }; +}; + +export const pure_ = function (a) { + return function () { + return a; + }; +}; + +export const bind_ = function (a) { + return function (f) { + return function () { + return f(a())(); + }; + }; +}; + +export const run = function (f) { + return f(); +}; + +function whileST(f) { + return function (a) { + return function () { + while (f()) { + a(); + } + }; + }; +} +export { whileST as while }; + +function forST(lo) { + return function (hi) { + return function (f) { + return function () { + for (var i = lo; i < hi; i++) { + f(i)(); + } + }; + }; + }; +} +export { forST as for }; + +export const foreach = function (as) { + return function (f) { + return function () { + for (var i = 0, l = as.length; i < l; i++) { + f(as[i])(); + } + }; + }; +}; + +function newSTRef(val) { + return function () { + return { value: val }; + }; +} +export { newSTRef as new }; + +export const read = function (ref) { + return function () { + return ref.value; + }; +}; + +export const modifyImpl = function (f) { + return function (ref) { + return function () { + var t = f(ref.value); + ref.value = t.state; + return t.value; + }; + }; +}; + +export const write = function (a) { + return function (ref) { + return function () { + return ref.value = a; // eslint-disable-line no-return-assign + }; + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.ST.Internal/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.ST.Internal/index.js new file mode 100644 index 0000000..5e43c66 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.ST.Internal/index.js @@ -0,0 +1,69 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import {bind_, for as $$for, foreach, map_, modifyImpl, new as $$new, pure_, read, run, while as $$while, write} from "./foreign.js"; +const modify$p = modifyImpl; +const modify = f => modifyImpl(s => { + const s$p = f(s); + return {state: s$p, value: s$p}; +}); +const functorST = {map: map_}; +const monadST = {Applicative0: () => applicativeST, Bind1: () => bindST}; +const bindST = {bind: bind_, Apply0: () => applyST}; +const applyST = { + apply: f => a => () => { + const f$p = f(); + const a$p = a(); + return applicativeST.pure(f$p(a$p))(); + }, + Functor0: () => functorST +}; +const applicativeST = {pure: pure_, Apply0: () => applyST}; +const semigroupST = dictSemigroup => ( + { + append: a => b => () => { + const $3 = a(); + const a$p = b(); + return dictSemigroup.append($3)(a$p); + } + } +); +const monadRecST = { + tailRecM: f => a => { + const $2 = bind_(f(a))($$new); + return () => { + const r = $2(); + $$while(() => { + const $4 = r.value; + return $4.tag === "Loop"; + })(() => { + const v = r.value; + if (v.tag === "Loop") { + const e = f(v._1)(); + r.value = e; + return Data$dUnit.unit; + } + if (v.tag === "Done") { return Data$dUnit.unit; } + $runtime.fail(); + })(); + const $5 = r.value; + return (() => { + if ($5.tag === "Done") { return $5._1; } + $runtime.fail(); + })(); + }; + }, + Monad0: () => monadST +}; +const monoidST = dictMonoid => { + const $1 = dictMonoid.Semigroup0(); + const semigroupST1 = { + append: a => b => () => { + const $4 = a(); + const a$p = b(); + return $1.append($4)(a$p); + } + }; + return {mempty: () => dictMonoid.mempty, Semigroup0: () => semigroupST1}; +}; +export {applicativeST, applyST, bindST, functorST, modify, modify$p, monadRecST, monadST, monoidST, semigroupST}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.ST.Ref/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.ST.Ref/index.js new file mode 100644 index 0000000..2d3a7c9 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.ST.Ref/index.js @@ -0,0 +1,2 @@ +import * as $runtime from "../runtime.js"; +export {}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.ST.Uncurried/foreign.js b/.storybook/purescript-indexer/output-es/Control.Monad.ST.Uncurried/foreign.js new file mode 100644 index 0000000..7745ade --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.ST.Uncurried/foreign.js @@ -0,0 +1,229 @@ +export const mkSTFn1 = function mkSTFn1(fn) { + return function(x) { + return fn(x)(); + }; +}; + +export const mkSTFn2 = function mkSTFn2(fn) { + return function(a, b) { + return fn(a)(b)(); + }; +}; + +export const mkSTFn3 = function mkSTFn3(fn) { + return function(a, b, c) { + return fn(a)(b)(c)(); + }; +}; + +export const mkSTFn4 = function mkSTFn4(fn) { + return function(a, b, c, d) { + return fn(a)(b)(c)(d)(); + }; +}; + +export const mkSTFn5 = function mkSTFn5(fn) { + return function(a, b, c, d, e) { + return fn(a)(b)(c)(d)(e)(); + }; +}; + +export const mkSTFn6 = function mkSTFn6(fn) { + return function(a, b, c, d, e, f) { + return fn(a)(b)(c)(d)(e)(f)(); + }; +}; + +export const mkSTFn7 = function mkSTFn7(fn) { + return function(a, b, c, d, e, f, g) { + return fn(a)(b)(c)(d)(e)(f)(g)(); + }; +}; + +export const mkSTFn8 = function mkSTFn8(fn) { + return function(a, b, c, d, e, f, g, h) { + return fn(a)(b)(c)(d)(e)(f)(g)(h)(); + }; +}; + +export const mkSTFn9 = function mkSTFn9(fn) { + return function(a, b, c, d, e, f, g, h, i) { + return fn(a)(b)(c)(d)(e)(f)(g)(h)(i)(); + }; +}; + +export const mkSTFn10 = function mkSTFn10(fn) { + return function(a, b, c, d, e, f, g, h, i, j) { + return fn(a)(b)(c)(d)(e)(f)(g)(h)(i)(j)(); + }; +}; + +export const runSTFn1 = function runSTFn1(fn) { + return function(a) { + return function() { + return fn(a); + }; + }; +}; + +export const runSTFn2 = function runSTFn2(fn) { + return function(a) { + return function(b) { + return function() { + return fn(a, b); + }; + }; + }; +}; + +export const runSTFn3 = function runSTFn3(fn) { + return function(a) { + return function(b) { + return function(c) { + return function() { + return fn(a, b, c); + }; + }; + }; + }; +}; + +export const runSTFn4 = function runSTFn4(fn) { + return function(a) { + return function(b) { + return function(c) { + return function(d) { + return function() { + return fn(a, b, c, d); + }; + }; + }; + }; + }; +}; + +export const runSTFn5 = function runSTFn5(fn) { + return function(a) { + return function(b) { + return function(c) { + return function(d) { + return function(e) { + return function() { + return fn(a, b, c, d, e); + }; + }; + }; + }; + }; + }; +}; + +export const runSTFn6 = function runSTFn6(fn) { + return function(a) { + return function(b) { + return function(c) { + return function(d) { + return function(e) { + return function(f) { + return function() { + return fn(a, b, c, d, e, f); + }; + }; + }; + }; + }; + }; + }; +}; + +export const runSTFn7 = function runSTFn7(fn) { + return function(a) { + return function(b) { + return function(c) { + return function(d) { + return function(e) { + return function(f) { + return function(g) { + return function() { + return fn(a, b, c, d, e, f, g); + }; + }; + }; + }; + }; + }; + }; + }; +}; + +export const runSTFn8 = function runSTFn8(fn) { + return function(a) { + return function(b) { + return function(c) { + return function(d) { + return function(e) { + return function(f) { + return function(g) { + return function(h) { + return function() { + return fn(a, b, c, d, e, f, g, h); + }; + }; + }; + }; + }; + }; + }; + }; + }; +}; + +export const runSTFn9 = function runSTFn9(fn) { + return function(a) { + return function(b) { + return function(c) { + return function(d) { + return function(e) { + return function(f) { + return function(g) { + return function(h) { + return function(i) { + return function() { + return fn(a, b, c, d, e, f, g, h, i); + }; + }; + }; + }; + }; + }; + }; + }; + }; + }; +}; + +export const runSTFn10 = function runSTFn10(fn) { + return function(a) { + return function(b) { + return function(c) { + return function(d) { + return function(e) { + return function(f) { + return function(g) { + return function(h) { + return function(i) { + return function(j) { + return function() { + return fn(a, b, c, d, e, f, g, h, i, j); + }; + }; + }; + }; + }; + }; + }; + }; + }; + }; + }; +}; \ No newline at end of file diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.ST.Uncurried/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.ST.Uncurried/index.js new file mode 100644 index 0000000..3c833a4 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.ST.Uncurried/index.js @@ -0,0 +1,40 @@ +// | This module defines types for STf uncurried functions, as well as +// | functions for converting back and forth between them. +// | +// | The general naming scheme for functions and types in this module is as +// | follows: +// | +// | * `STFn{N}` means, an uncurried function which accepts N arguments and +// | performs some STs. The first N arguments are the actual function's +// | argument. The last type argument is the return type. +// | * `runSTFn{N}` takes an `STFn` of N arguments, and converts it into +// | the normal PureScript form: a curried function which returns an ST +// | action. +// | * `mkSTFn{N}` is the inverse of `runSTFn{N}`. It can be useful for +// | callbacks. +// | +import * as $runtime from "../runtime.js"; +import { + mkSTFn1, + mkSTFn10, + mkSTFn2, + mkSTFn3, + mkSTFn4, + mkSTFn5, + mkSTFn6, + mkSTFn7, + mkSTFn8, + mkSTFn9, + runSTFn1, + runSTFn10, + runSTFn2, + runSTFn3, + runSTFn4, + runSTFn5, + runSTFn6, + runSTFn7, + runSTFn8, + runSTFn9 +} from "./foreign.js"; +export {}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.ST/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.ST/index.js new file mode 100644 index 0000000..2d3a7c9 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.ST/index.js @@ -0,0 +1,2 @@ +import * as $runtime from "../runtime.js"; +export {}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.State.Class/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.State.Class/index.js new file mode 100644 index 0000000..4b9c067 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.State.Class/index.js @@ -0,0 +1,14 @@ +// | This module defines the `MonadState` type class and its instances. +import * as $runtime from "../runtime.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const state = dict => dict.state; +const put = dictMonadState => s => dictMonadState.state(v => Data$dTuple.$Tuple(Data$dUnit.unit, s)); +const modify_ = dictMonadState => f => dictMonadState.state(s => Data$dTuple.$Tuple(Data$dUnit.unit, f(s))); +const modify = dictMonadState => f => dictMonadState.state(s => { + const s$p = f(s); + return Data$dTuple.$Tuple(s$p, s$p); +}); +const gets = dictMonadState => f => dictMonadState.state(s => Data$dTuple.$Tuple(f(s), s)); +const $$get = dictMonadState => dictMonadState.state(s => Data$dTuple.$Tuple(s, s)); +export {$$get as get, gets, modify, modify_, put, state}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.State.Trans/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.State.Trans/index.js new file mode 100644 index 0000000..6a88342 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.State.Trans/index.js @@ -0,0 +1,194 @@ +// | This module defines the state monad transformer, `StateT`. +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dRec$dClass from "../Control.Monad.Rec.Class/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const StateT = x => x; +const withStateT = f => v => x => v(f(x)); +const runStateT = v => v; +const newtypeStateT = {Coercible0: () => undefined}; +const monadTransStateT = { + lift: dictMonad => { + const bind = dictMonad.Bind1().bind; + const pure = dictMonad.Applicative0().pure; + return m => s => bind(m)(x => pure(Data$dTuple.$Tuple(x, s))); + } +}; +const mapStateT = f => v => x => f(v(x)); +const lazyStateT = {defer: f => s => f(Data$dUnit.unit)(s)}; +const functorStateT = dictFunctor => ({map: f => v => s => dictFunctor.map(v1 => Data$dTuple.$Tuple(f(v1._1), v1._2))(v(s))}); +const execStateT = dictFunctor => v => s => dictFunctor.map(Data$dTuple.snd)(v(s)); +const evalStateT = dictFunctor => v => s => dictFunctor.map(Data$dTuple.fst)(v(s)); +const monadStateT = dictMonad => ({Applicative0: () => applicativeStateT(dictMonad), Bind1: () => bindStateT(dictMonad)}); +const bindStateT = dictMonad => { + const bind = dictMonad.Bind1().bind; + return {bind: v => f => s => bind(v(s))(v1 => f(v1._1)(v1._2)), Apply0: () => applyStateT(dictMonad)}; +}; +const applyStateT = dictMonad => { + const functorStateT1 = functorStateT(dictMonad.Bind1().Apply0().Functor0()); + return { + apply: (() => { + const bind = bindStateT(dictMonad).bind; + const pure = applicativeStateT(dictMonad).pure; + return f => a => bind(f)(f$p => bind(a)(a$p => pure(f$p(a$p)))); + })(), + Functor0: () => functorStateT1 + }; +}; +const applicativeStateT = dictMonad => { + const pure = dictMonad.Applicative0().pure; + return {pure: a => s => pure(Data$dTuple.$Tuple(a, s)), Apply0: () => applyStateT(dictMonad)}; +}; +const semigroupStateT = dictMonad => { + const $1 = applyStateT(dictMonad); + const map = $1.Functor0().map; + return dictSemigroup => ({append: a => b => $1.apply(map(dictSemigroup.append)(a))(b)}); +}; +const monadAskStateT = dictMonadAsk => { + const Monad0 = dictMonadAsk.Monad0(); + const monadStateT1 = {Applicative0: () => applicativeStateT(Monad0), Bind1: () => bindStateT(Monad0)}; + return {ask: monadTransStateT.lift(Monad0)(dictMonadAsk.ask), Monad0: () => monadStateT1}; +}; +const monadReaderStateT = dictMonadReader => { + const monadAskStateT1 = monadAskStateT(dictMonadReader.MonadAsk0()); + return { + local: x => { + const $3 = dictMonadReader.local(x); + return v => x$1 => $3(v(x$1)); + }, + MonadAsk0: () => monadAskStateT1 + }; +}; +const monadContStateT = dictMonadCont => { + const $1 = dictMonadCont.Monad0(); + const monadStateT1 = {Applicative0: () => applicativeStateT($1), Bind1: () => bindStateT($1)}; + return {callCC: f => s => dictMonadCont.callCC(c => f(a => s$p => c(Data$dTuple.$Tuple(a, s$p)))(s)), Monad0: () => monadStateT1}; +}; +const monadEffectState = dictMonadEffect => { + const Monad0 = dictMonadEffect.Monad0(); + const monadStateT1 = {Applicative0: () => applicativeStateT(Monad0), Bind1: () => bindStateT(Monad0)}; + return { + liftEffect: (() => { + const $3 = monadTransStateT.lift(Monad0); + return x => $3(dictMonadEffect.liftEffect(x)); + })(), + Monad0: () => monadStateT1 + }; +}; +const monadRecStateT = dictMonadRec => { + const Monad0 = dictMonadRec.Monad0(); + const bind = Monad0.Bind1().bind; + const pure = Monad0.Applicative0().pure; + const monadStateT1 = {Applicative0: () => applicativeStateT(Monad0), Bind1: () => bindStateT(Monad0)}; + return { + tailRecM: f => a => s => dictMonadRec.tailRecM(v => bind(f(v._1)(v._2))(v2 => pure((() => { + if (v2._1.tag === "Loop") { return Control$dMonad$dRec$dClass.$Step("Loop", Data$dTuple.$Tuple(v2._1._1, v2._2)); } + if (v2._1.tag === "Done") { return Control$dMonad$dRec$dClass.$Step("Done", Data$dTuple.$Tuple(v2._1._1, v2._2)); } + $runtime.fail(); + })())))(Data$dTuple.$Tuple(a, s)), + Monad0: () => monadStateT1 + }; +}; +const monadStateStateT = dictMonad => { + const pure = dictMonad.Applicative0().pure; + const monadStateT1 = {Applicative0: () => applicativeStateT(dictMonad), Bind1: () => bindStateT(dictMonad)}; + return {state: f => x => pure(f(x)), Monad0: () => monadStateT1}; +}; +const monadTellStateT = dictMonadTell => { + const Monad1 = dictMonadTell.Monad1(); + const Semigroup0 = dictMonadTell.Semigroup0(); + const monadStateT1 = {Applicative0: () => applicativeStateT(Monad1), Bind1: () => bindStateT(Monad1)}; + return { + tell: (() => { + const $4 = monadTransStateT.lift(Monad1); + return x => $4(dictMonadTell.tell(x)); + })(), + Semigroup0: () => Semigroup0, + Monad1: () => monadStateT1 + }; +}; +const monadWriterStateT = dictMonadWriter => { + const MonadTell1 = dictMonadWriter.MonadTell1(); + const Monad1 = MonadTell1.Monad1(); + const bind = Monad1.Bind1().bind; + const pure = Monad1.Applicative0().pure; + const Monoid0 = dictMonadWriter.Monoid0(); + const monadTellStateT1 = monadTellStateT(MonadTell1); + return { + listen: m => s => bind(dictMonadWriter.listen(m(s)))(v => pure(Data$dTuple.$Tuple(Data$dTuple.$Tuple(v._1._1, v._2), v._1._2))), + pass: m => s => dictMonadWriter.pass(bind(m(s))(v => pure(Data$dTuple.$Tuple(Data$dTuple.$Tuple(v._1._1, v._2), v._1._2)))), + Monoid0: () => Monoid0, + MonadTell1: () => monadTellStateT1 + }; +}; +const monadThrowStateT = dictMonadThrow => { + const Monad0 = dictMonadThrow.Monad0(); + const lift1 = monadTransStateT.lift(Monad0); + const monadStateT1 = {Applicative0: () => applicativeStateT(Monad0), Bind1: () => bindStateT(Monad0)}; + return {throwError: e => lift1(dictMonadThrow.throwError(e)), Monad0: () => monadStateT1}; +}; +const monadErrorStateT = dictMonadError => { + const monadThrowStateT1 = monadThrowStateT(dictMonadError.MonadThrow0()); + return {catchError: v => h => s => dictMonadError.catchError(v(s))(e => h(e)(s)), MonadThrow0: () => monadThrowStateT1}; +}; +const monoidStateT = dictMonad => { + const pure = applicativeStateT(dictMonad).pure; + const semigroupStateT1 = semigroupStateT(dictMonad); + return dictMonoid => { + const semigroupStateT2 = semigroupStateT1(dictMonoid.Semigroup0()); + return {mempty: pure(dictMonoid.mempty), Semigroup0: () => semigroupStateT2}; + }; +}; +const altStateT = dictMonad => dictAlt => { + const functorStateT1 = functorStateT(dictAlt.Functor0()); + return {alt: v => v1 => s => dictAlt.alt(v(s))(v1(s)), Functor0: () => functorStateT1}; +}; +const plusStateT = dictMonad => dictPlus => { + const altStateT2 = altStateT(dictMonad)(dictPlus.Alt0()); + return {empty: v => dictPlus.empty, Alt0: () => altStateT2}; +}; +const alternativeStateT = dictMonad => { + const applicativeStateT1 = applicativeStateT(dictMonad); + return dictAlternative => { + const plusStateT2 = plusStateT(dictMonad)(dictAlternative.Plus1()); + return {Applicative0: () => applicativeStateT1, Plus1: () => plusStateT2}; + }; +}; +const monadPlusStateT = dictMonadPlus => { + const Monad0 = dictMonadPlus.Monad0(); + const monadStateT1 = {Applicative0: () => applicativeStateT(Monad0), Bind1: () => bindStateT(Monad0)}; + const alternativeStateT1 = alternativeStateT(Monad0)(dictMonadPlus.Alternative1()); + return {Monad0: () => monadStateT1, Alternative1: () => alternativeStateT1}; +}; +export { + StateT, + altStateT, + alternativeStateT, + applicativeStateT, + applyStateT, + bindStateT, + evalStateT, + execStateT, + functorStateT, + lazyStateT, + mapStateT, + monadAskStateT, + monadContStateT, + monadEffectState, + monadErrorStateT, + monadPlusStateT, + monadReaderStateT, + monadRecStateT, + monadStateStateT, + monadStateT, + monadTellStateT, + monadThrowStateT, + monadTransStateT, + monadWriterStateT, + monoidStateT, + newtypeStateT, + plusStateT, + runStateT, + semigroupStateT, + withStateT +}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.State/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.State/index.js new file mode 100644 index 0000000..3c3ce60 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.State/index.js @@ -0,0 +1,9 @@ +// | This module defines the `State` monad. +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dState$dTrans from "../Control.Monad.State.Trans/index.js"; +const withState = Control$dMonad$dState$dTrans.withStateT; +const runState = v => x => v(x); +const mapState = f => v => x => f(v(x)); +const execState = v => s => v(s)._2; +const evalState = v => s => v(s)._1; +export {evalState, execState, mapState, runState, withState}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.Trampoline/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.Trampoline/index.js new file mode 100644 index 0000000..4cfb659 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.Trampoline/index.js @@ -0,0 +1,11 @@ +// | A _trampoline_ monad, which can be used at the bottom of +// | a monad transformer stack to avoid stack overflows in large +// | monadic computations. +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dFree from "../Control.Monad.Free/index.js"; +import * as Data$dFunctor from "../Data.Functor/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const runTrampoline = /* #__PURE__ */ Control$dMonad$dFree.runFree(Data$dFunctor.functorFn)(v => v(Data$dUnit.unit)); +const done = /* #__PURE__ */ (() => Control$dMonad$dFree.freeApplicative.pure)(); +const delay = Control$dMonad$dFree.liftF; +export {delay, done, runTrampoline}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.Trans.Class/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.Trans.Class/index.js new file mode 100644 index 0000000..c09d8e9 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.Trans.Class/index.js @@ -0,0 +1,4 @@ +// | This module defines the `MonadTrans` type class of _monad transformers_. +import * as $runtime from "../runtime.js"; +const lift = dict => dict.lift; +export {lift}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.Writer.Class/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.Writer.Class/index.js new file mode 100644 index 0000000..590026a --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.Writer.Class/index.js @@ -0,0 +1,19 @@ +// | This module defines the `MonadWriter` type class and its instances. +import * as $runtime from "../runtime.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const tell = dict => dict.tell; +const pass = dict => dict.pass; +const listen = dict => dict.listen; +const listens = dictMonadWriter => { + const Monad1 = dictMonadWriter.MonadTell1().Monad1(); + const bind = Monad1.Bind1().bind; + const pure = Monad1.Applicative0().pure; + return f => m => bind(dictMonadWriter.listen(m))(v => pure(Data$dTuple.$Tuple(v._1, f(v._2)))); +}; +const censor = dictMonadWriter => { + const Monad1 = dictMonadWriter.MonadTell1().Monad1(); + const bind = Monad1.Bind1().bind; + const pure = Monad1.Applicative0().pure; + return f => m => dictMonadWriter.pass(bind(m)(a => pure(Data$dTuple.$Tuple(a, f)))); +}; +export {censor, listen, listens, pass, tell}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.Writer.Trans/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.Writer.Trans/index.js new file mode 100644 index 0000000..2f819a6 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.Writer.Trans/index.js @@ -0,0 +1,231 @@ +// | This module defines the writer monad transformer, `WriterT`. +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dRec$dClass from "../Control.Monad.Rec.Class/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const WriterT = x => x; +const runWriterT = v => v; +const newtypeWriterT = {Coercible0: () => undefined}; +const monadTransWriterT = dictMonoid => ( + { + lift: dictMonad => { + const bind = dictMonad.Bind1().bind; + const pure = dictMonad.Applicative0().pure; + return m => bind(m)(a => pure(Data$dTuple.$Tuple(a, dictMonoid.mempty))); + } + } +); +const mapWriterT = f => v => f(v); +const functorWriterT = dictFunctor => ({map: f => dictFunctor.map(v => Data$dTuple.$Tuple(f(v._1), v._2))}); +const execWriterT = dictFunctor => v => dictFunctor.map(Data$dTuple.snd)(v); +const applyWriterT = dictSemigroup => dictApply => { + const Functor0 = dictApply.Functor0(); + const functorWriterT1 = functorWriterT(Functor0); + return {apply: v => v1 => dictApply.apply(Functor0.map(v3 => v4 => Data$dTuple.$Tuple(v3._1(v4._1), dictSemigroup.append(v3._2)(v4._2)))(v))(v1), Functor0: () => functorWriterT1}; +}; +const bindWriterT = dictSemigroup => dictBind => { + const Apply0 = dictBind.Apply0(); + const map = Apply0.Functor0().map; + const applyWriterT2 = applyWriterT(dictSemigroup)(Apply0); + return {bind: v => k => dictBind.bind(v)(v1 => map(v3 => Data$dTuple.$Tuple(v3._1, dictSemigroup.append(v1._2)(v3._2)))(k(v1._1))), Apply0: () => applyWriterT2}; +}; +const semigroupWriterT = dictApply => dictSemigroup => { + const $2 = applyWriterT(dictSemigroup)(dictApply); + const map = $2.Functor0().map; + return dictSemigroup1 => ({append: a => b => $2.apply(map(dictSemigroup1.append)(a))(b)}); +}; +const applicativeWriterT = dictMonoid => { + const applyWriterT1 = applyWriterT(dictMonoid.Semigroup0()); + return dictApplicative => { + const applyWriterT2 = applyWriterT1(dictApplicative.Apply0()); + return {pure: a => dictApplicative.pure(Data$dTuple.$Tuple(a, dictMonoid.mempty)), Apply0: () => applyWriterT2}; + }; +}; +const monadWriterT = dictMonoid => { + const applicativeWriterT1 = applicativeWriterT(dictMonoid); + const bindWriterT1 = bindWriterT(dictMonoid.Semigroup0()); + return dictMonad => { + const applicativeWriterT2 = applicativeWriterT1(dictMonad.Applicative0()); + const bindWriterT2 = bindWriterT1(dictMonad.Bind1()); + return {Applicative0: () => applicativeWriterT2, Bind1: () => bindWriterT2}; + }; +}; +const monadAskWriterT = dictMonoid => { + const lift = monadTransWriterT(dictMonoid).lift; + const monadWriterT1 = monadWriterT(dictMonoid); + return dictMonadAsk => { + const Monad0 = dictMonadAsk.Monad0(); + const monadWriterT2 = monadWriterT1(Monad0); + return {ask: lift(Monad0)(dictMonadAsk.ask), Monad0: () => monadWriterT2}; + }; +}; +const monadReaderWriterT = dictMonoid => { + const monadAskWriterT1 = monadAskWriterT(dictMonoid); + return dictMonadReader => { + const monadAskWriterT2 = monadAskWriterT1(dictMonadReader.MonadAsk0()); + return {local: f => dictMonadReader.local(f), MonadAsk0: () => monadAskWriterT2}; + }; +}; +const monadContWriterT = dictMonoid => { + const monadWriterT1 = monadWriterT(dictMonoid); + return dictMonadCont => { + const monadWriterT2 = monadWriterT1(dictMonadCont.Monad0()); + return {callCC: f => dictMonadCont.callCC(c => f(a => c(Data$dTuple.$Tuple(a, dictMonoid.mempty)))), Monad0: () => monadWriterT2}; + }; +}; +const monadEffectWriter = dictMonoid => { + const lift = monadTransWriterT(dictMonoid).lift; + const monadWriterT1 = monadWriterT(dictMonoid); + return dictMonadEffect => { + const Monad0 = dictMonadEffect.Monad0(); + const monadWriterT2 = monadWriterT1(Monad0); + return { + liftEffect: (() => { + const $6 = lift(Monad0); + return x => $6(dictMonadEffect.liftEffect(x)); + })(), + Monad0: () => monadWriterT2 + }; + }; +}; +const monadRecWriterT = dictMonoid => { + const append = dictMonoid.Semigroup0().append; + const monadWriterT1 = monadWriterT(dictMonoid); + return dictMonadRec => { + const Monad0 = dictMonadRec.Monad0(); + const bind = Monad0.Bind1().bind; + const pure = Monad0.Applicative0().pure; + const monadWriterT2 = monadWriterT1(Monad0); + return { + tailRecM: f => a => dictMonadRec.tailRecM(v => bind(f(v._1))(v2 => pure((() => { + if (v2._1.tag === "Loop") { return Control$dMonad$dRec$dClass.$Step("Loop", Data$dTuple.$Tuple(v2._1._1, append(v._2)(v2._2))); } + if (v2._1.tag === "Done") { return Control$dMonad$dRec$dClass.$Step("Done", Data$dTuple.$Tuple(v2._1._1, append(v._2)(v2._2))); } + $runtime.fail(); + })())))(Data$dTuple.$Tuple(a, dictMonoid.mempty)), + Monad0: () => monadWriterT2 + }; + }; +}; +const monadStateWriterT = dictMonoid => { + const lift = monadTransWriterT(dictMonoid).lift; + const monadWriterT1 = monadWriterT(dictMonoid); + return dictMonadState => { + const Monad0 = dictMonadState.Monad0(); + const lift1 = lift(Monad0); + const monadWriterT2 = monadWriterT1(Monad0); + return {state: f => lift1(dictMonadState.state(f)), Monad0: () => monadWriterT2}; + }; +}; +const monadTellWriterT = dictMonoid => { + const Semigroup0 = dictMonoid.Semigroup0(); + const monadWriterT1 = monadWriterT(dictMonoid); + return dictMonad => { + const monadWriterT2 = monadWriterT1(dictMonad); + return { + tell: (() => { + const $5 = dictMonad.Applicative0().pure; + const $6 = Data$dTuple.Tuple(Data$dUnit.unit); + return x => $5($6(x)); + })(), + Semigroup0: () => Semigroup0, + Monad1: () => monadWriterT2 + }; + }; +}; +const monadWriterWriterT = dictMonoid => { + const monadTellWriterT1 = monadTellWriterT(dictMonoid); + return dictMonad => { + const bind = dictMonad.Bind1().bind; + const pure = dictMonad.Applicative0().pure; + const monadTellWriterT2 = monadTellWriterT1(dictMonad); + return { + listen: v => bind(v)(v1 => pure(Data$dTuple.$Tuple(Data$dTuple.$Tuple(v1._1, v1._2), v1._2))), + pass: v => bind(v)(v1 => pure(Data$dTuple.$Tuple(v1._1._1, v1._1._2(v1._2)))), + Monoid0: () => dictMonoid, + MonadTell1: () => monadTellWriterT2 + }; + }; +}; +const monadThrowWriterT = dictMonoid => { + const lift = monadTransWriterT(dictMonoid).lift; + const monadWriterT1 = monadWriterT(dictMonoid); + return dictMonadThrow => { + const Monad0 = dictMonadThrow.Monad0(); + const lift1 = lift(Monad0); + const monadWriterT2 = monadWriterT1(Monad0); + return {throwError: e => lift1(dictMonadThrow.throwError(e)), Monad0: () => monadWriterT2}; + }; +}; +const monadErrorWriterT = dictMonoid => { + const monadThrowWriterT1 = monadThrowWriterT(dictMonoid); + return dictMonadError => { + const monadThrowWriterT2 = monadThrowWriterT1(dictMonadError.MonadThrow0()); + return {catchError: v => h => dictMonadError.catchError(v)(e => h(e)), MonadThrow0: () => monadThrowWriterT2}; + }; +}; +const monoidWriterT = dictApplicative => { + const semigroupWriterT1 = semigroupWriterT(dictApplicative.Apply0()); + return dictMonoid => { + const pure = applicativeWriterT(dictMonoid)(dictApplicative).pure; + const semigroupWriterT2 = semigroupWriterT1(dictMonoid.Semigroup0()); + return dictMonoid1 => { + const semigroupWriterT3 = semigroupWriterT2(dictMonoid1.Semigroup0()); + return {mempty: pure(dictMonoid1.mempty), Semigroup0: () => semigroupWriterT3}; + }; + }; +}; +const altWriterT = dictAlt => { + const functorWriterT1 = functorWriterT(dictAlt.Functor0()); + return {alt: v => v1 => dictAlt.alt(v)(v1), Functor0: () => functorWriterT1}; +}; +const plusWriterT = dictPlus => { + const altWriterT1 = altWriterT(dictPlus.Alt0()); + return {empty: dictPlus.empty, Alt0: () => altWriterT1}; +}; +const alternativeWriterT = dictMonoid => { + const applicativeWriterT1 = applicativeWriterT(dictMonoid); + return dictAlternative => { + const applicativeWriterT2 = applicativeWriterT1(dictAlternative.Applicative0()); + const $4 = dictAlternative.Plus1(); + const altWriterT1 = altWriterT($4.Alt0()); + return {Applicative0: () => applicativeWriterT2, Plus1: () => ({empty: $4.empty, Alt0: () => altWriterT1})}; + }; +}; +const monadPlusWriterT = dictMonoid => { + const monadWriterT1 = monadWriterT(dictMonoid); + const alternativeWriterT1 = alternativeWriterT(dictMonoid); + return dictMonadPlus => { + const monadWriterT2 = monadWriterT1(dictMonadPlus.Monad0()); + const alternativeWriterT2 = alternativeWriterT1(dictMonadPlus.Alternative1()); + return {Monad0: () => monadWriterT2, Alternative1: () => alternativeWriterT2}; + }; +}; +export { + WriterT, + altWriterT, + alternativeWriterT, + applicativeWriterT, + applyWriterT, + bindWriterT, + execWriterT, + functorWriterT, + mapWriterT, + monadAskWriterT, + monadContWriterT, + monadEffectWriter, + monadErrorWriterT, + monadPlusWriterT, + monadReaderWriterT, + monadRecWriterT, + monadStateWriterT, + monadTellWriterT, + monadThrowWriterT, + monadTransWriterT, + monadWriterT, + monadWriterWriterT, + monoidWriterT, + newtypeWriterT, + plusWriterT, + runWriterT, + semigroupWriterT +}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad.Writer/index.js b/.storybook/purescript-indexer/output-es/Control.Monad.Writer/index.js new file mode 100644 index 0000000..64b9155 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad.Writer/index.js @@ -0,0 +1,7 @@ +// | This module defines the `Writer` monad. +import * as $runtime from "../runtime.js"; +const writer = x => x; +const runWriter = x => x; +const mapWriter = f => v => f(v); +const execWriter = m => m._2; +export {execWriter, mapWriter, runWriter, writer}; diff --git a/.storybook/purescript-indexer/output-es/Control.Monad/index.js b/.storybook/purescript-indexer/output-es/Control.Monad/index.js new file mode 100644 index 0000000..6caa336 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Monad/index.js @@ -0,0 +1,35 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dApplicative from "../Control.Applicative/index.js"; +import * as Control$dBind from "../Control.Bind/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const whenM = dictMonad => { + const bind = dictMonad.Bind1().bind; + const $2 = dictMonad.Applicative0(); + return mb => m => bind(mb)(b => { + if (b) { return m; } + return $2.pure(Data$dUnit.unit); + }); +}; +const unlessM = dictMonad => { + const bind = dictMonad.Bind1().bind; + const $2 = dictMonad.Applicative0(); + return mb => m => bind(mb)(b => { + if (!b) { return m; } + if (b) { return $2.pure(Data$dUnit.unit); } + $runtime.fail(); + }); +}; +const monadProxy = {Applicative0: () => Control$dApplicative.applicativeProxy, Bind1: () => Control$dBind.bindProxy}; +const monadFn = {Applicative0: () => Control$dApplicative.applicativeFn, Bind1: () => Control$dBind.bindFn}; +const monadArray = {Applicative0: () => Control$dApplicative.applicativeArray, Bind1: () => Control$dBind.bindArray}; +const liftM1 = dictMonad => { + const bind = dictMonad.Bind1().bind; + const pure = dictMonad.Applicative0().pure; + return f => a => bind(a)(a$p => pure(f(a$p))); +}; +const ap = dictMonad => { + const bind = dictMonad.Bind1().bind; + const pure = dictMonad.Applicative0().pure; + return f => a => bind(f)(f$p => bind(a)(a$p => pure(f$p(a$p)))); +}; +export {ap, liftM1, monadArray, monadFn, monadProxy, unlessM, whenM}; diff --git a/.storybook/purescript-indexer/output-es/Control.MonadPlus/index.js b/.storybook/purescript-indexer/output-es/Control.MonadPlus/index.js new file mode 100644 index 0000000..5009094 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.MonadPlus/index.js @@ -0,0 +1,5 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dAlternative from "../Control.Alternative/index.js"; +import * as Control$dMonad from "../Control.Monad/index.js"; +const monadPlusArray = {Monad0: () => Control$dMonad.monadArray, Alternative1: () => Control$dAlternative.alternativeArray}; +export {monadPlusArray}; diff --git a/.storybook/purescript-indexer/output-es/Control.Parallel.Class/index.js b/.storybook/purescript-indexer/output-es/Control.Parallel.Class/index.js new file mode 100644 index 0000000..65f3864 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Parallel.Class/index.js @@ -0,0 +1,168 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dCont$dTrans from "../Control.Monad.Cont.Trans/index.js"; +import * as Control$dMonad$dExcept$dTrans from "../Control.Monad.Except.Trans/index.js"; +import * as Control$dMonad$dMaybe$dTrans from "../Control.Monad.Maybe.Trans/index.js"; +import * as Control$dMonad$dReader$dTrans from "../Control.Monad.Reader.Trans/index.js"; +import * as Control$dMonad$dWriter$dTrans from "../Control.Monad.Writer.Trans/index.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dFunctor$dCompose from "../Data.Functor.Compose/index.js"; +import * as Data$dFunctor$dCostar from "../Data.Functor.Costar/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dProfunctor$dStar from "../Data.Profunctor.Star/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const ParCont = x => x; +const sequential = dict => dict.sequential; +const parallel = dict => dict.parallel; +const newtypeParCont = {Coercible0: () => undefined}; +const monadParWriterT = dictMonoid => { + const monadWriterT = Control$dMonad$dWriter$dTrans.monadWriterT(dictMonoid); + const applicativeWriterT = Control$dMonad$dWriter$dTrans.applicativeWriterT(dictMonoid); + return dictParallel => { + const monadWriterT1 = monadWriterT(dictParallel.Monad0()); + const applicativeWriterT1 = applicativeWriterT(dictParallel.Applicative1()); + return {parallel: v => dictParallel.parallel(v), sequential: v => dictParallel.sequential(v), Monad0: () => monadWriterT1, Applicative1: () => applicativeWriterT1}; + }; +}; +const monadParStar = dictParallel => { + const monadStar = Data$dProfunctor$dStar.monadStar(dictParallel.Monad0()); + const $2 = dictParallel.Applicative1(); + const $3 = $2.Apply0(); + const $4 = $3.Functor0(); + const functorStar1 = { + map: f => v => { + const $7 = $4.map(f); + return x => $7(v(x)); + } + }; + const applyStar1 = {apply: v => v1 => a => $3.apply(v(a))(v1(a)), Functor0: () => functorStar1}; + const applicativeStar = {pure: a => v => $2.pure(a), Apply0: () => applyStar1}; + return {parallel: v => x => dictParallel.parallel(v(x)), sequential: v => x => dictParallel.sequential(v(x)), Monad0: () => monadStar, Applicative1: () => applicativeStar}; +}; +const monadParReaderT = dictParallel => { + const monadReaderT = Control$dMonad$dReader$dTrans.monadReaderT(dictParallel.Monad0()); + const $2 = dictParallel.Applicative1(); + const $3 = $2.Apply0(); + const $4 = $3.Functor0(); + const functorReaderT1 = { + map: x => { + const $6 = $4.map(x); + return v => x$1 => $6(v(x$1)); + } + }; + const applyReaderT1 = {apply: v => v1 => r => $3.apply(v(r))(v1(r)), Functor0: () => functorReaderT1}; + const applicativeReaderT = { + pure: x => { + const $8 = $2.pure(x); + return v => $8; + }, + Apply0: () => applyReaderT1 + }; + return {parallel: v => x => dictParallel.parallel(v(x)), sequential: v => x => dictParallel.sequential(v(x)), Monad0: () => monadReaderT, Applicative1: () => applicativeReaderT}; +}; +const monadParMaybeT = dictParallel => { + const $1 = dictParallel.Monad0(); + const monadMaybeT = {Applicative0: () => Control$dMonad$dMaybe$dTrans.applicativeMaybeT($1), Bind1: () => Control$dMonad$dMaybe$dTrans.bindMaybeT($1)}; + const applicativeCompose = Data$dFunctor$dCompose.applicativeCompose(dictParallel.Applicative1())(Data$dMaybe.applicativeMaybe); + return {parallel: v => dictParallel.parallel(v), sequential: v => dictParallel.sequential(v), Monad0: () => monadMaybeT, Applicative1: () => applicativeCompose}; +}; +const monadParExceptT = dictParallel => { + const $1 = dictParallel.Monad0(); + const monadExceptT = {Applicative0: () => Control$dMonad$dExcept$dTrans.applicativeExceptT($1), Bind1: () => Control$dMonad$dExcept$dTrans.bindExceptT($1)}; + const applicativeCompose = Data$dFunctor$dCompose.applicativeCompose(dictParallel.Applicative1())(Data$dEither.applicativeEither); + return {parallel: v => dictParallel.parallel(v), sequential: v => dictParallel.sequential(v), Monad0: () => monadExceptT, Applicative1: () => applicativeCompose}; +}; +const monadParCostar = dictParallel => ( + { + parallel: v => x => v(dictParallel.sequential(x)), + sequential: v => x => v(dictParallel.parallel(x)), + Monad0: () => Data$dFunctor$dCostar.monadCostar, + Applicative1: () => Data$dFunctor$dCostar.applicativeCostar + } +); +const monadParParCont = dictMonadEffect => { + const monadContT = Control$dMonad$dCont$dTrans.monadContT(dictMonadEffect.Monad0()); + return {parallel: ParCont, sequential: v => v, Monad0: () => monadContT, Applicative1: () => applicativeParCont(dictMonadEffect)}; +}; +const functorParCont = dictMonadEffect => ( + { + map: f => { + const $2 = monadParParCont(dictMonadEffect).parallel; + const $3 = monadParParCont(dictMonadEffect).sequential; + return x => $2((() => { + const $5 = $3(x); + return k => $5(a => k(f(a))); + })()); + } + } +); +const applyParCont = dictMonadEffect => { + const Bind1 = dictMonadEffect.Monad0().Bind1(); + return { + apply: v => v1 => k => Bind1.bind(dictMonadEffect.liftEffect(() => ({value: Data$dMaybe.Nothing})))(ra => Bind1.bind(dictMonadEffect.liftEffect(() => ( + {value: Data$dMaybe.Nothing} + )))(rb => Bind1.bind(v(a => Bind1.bind(dictMonadEffect.liftEffect(() => rb.value))(mb => { + if (mb.tag === "Nothing") { return dictMonadEffect.liftEffect(() => ra.value = Data$dMaybe.$Maybe("Just", a)); } + if (mb.tag === "Just") { return k(a(mb._1)); } + $runtime.fail(); + })))(() => v1(b => Bind1.bind(dictMonadEffect.liftEffect(() => ra.value))(ma => { + if (ma.tag === "Nothing") { return dictMonadEffect.liftEffect(() => rb.value = Data$dMaybe.$Maybe("Just", b)); } + if (ma.tag === "Just") { return k(ma._1(b)); } + $runtime.fail(); + }))))), + Functor0: () => functorParCont(dictMonadEffect) + }; +}; +const applicativeParCont = dictMonadEffect => ( + { + pure: (() => { + const $1 = monadParParCont(dictMonadEffect).parallel; + return x => $1(k => k(x)); + })(), + Apply0: () => applyParCont(dictMonadEffect) + } +); +const altParCont = dictMonadEffect => { + const Monad0 = dictMonadEffect.Monad0(); + const Bind1 = Monad0.Bind1(); + const pure = Monad0.Applicative0().pure; + const functorParCont1 = functorParCont(dictMonadEffect); + return { + alt: v => v1 => k => Bind1.bind(dictMonadEffect.liftEffect(() => ({value: false})))(done => Bind1.bind(v(a => Bind1.bind(dictMonadEffect.liftEffect(() => done.value))(b => { + if (b) { return pure(Data$dUnit.unit); } + return Bind1.bind(dictMonadEffect.liftEffect(() => done.value = true))(() => k(a)); + })))(() => v1(a => Bind1.bind(dictMonadEffect.liftEffect(() => done.value))(b => { + if (b) { return pure(Data$dUnit.unit); } + return Bind1.bind(dictMonadEffect.liftEffect(() => done.value = true))(() => k(a)); + })))), + Functor0: () => functorParCont1 + }; +}; +const plusParCont = dictMonadEffect => { + const pure = dictMonadEffect.Monad0().Applicative0().pure; + const altParCont1 = altParCont(dictMonadEffect); + return {empty: v => pure(Data$dUnit.unit), Alt0: () => altParCont1}; +}; +const alternativeParCont = dictMonadEffect => { + const applicativeParCont1 = applicativeParCont(dictMonadEffect); + const plusParCont1 = plusParCont(dictMonadEffect); + return {Applicative0: () => applicativeParCont1, Plus1: () => plusParCont1}; +}; +export { + ParCont, + altParCont, + alternativeParCont, + applicativeParCont, + applyParCont, + functorParCont, + monadParCostar, + monadParExceptT, + monadParMaybeT, + monadParParCont, + monadParReaderT, + monadParStar, + monadParWriterT, + newtypeParCont, + parallel, + plusParCont, + sequential +}; diff --git a/.storybook/purescript-indexer/output-es/Control.Parallel/index.js b/.storybook/purescript-indexer/output-es/Control.Parallel/index.js new file mode 100644 index 0000000..5fc7564 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Parallel/index.js @@ -0,0 +1,59 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +const identity = x => x; +const parTraverse_ = dictParallel => { + const traverse_ = Data$dFoldable.traverse_(dictParallel.Applicative1()); + return dictFoldable => { + const traverse_1 = traverse_(dictFoldable); + return f => { + const $5 = traverse_1(x => dictParallel.parallel(f(x))); + return x => dictParallel.sequential($5(x)); + }; + }; +}; +const parTraverse = dictParallel => { + const Applicative1 = dictParallel.Applicative1(); + return dictTraversable => { + const traverse = dictTraversable.traverse(Applicative1); + return f => { + const $5 = traverse(x => dictParallel.parallel(f(x))); + return x => dictParallel.sequential($5(x)); + }; + }; +}; +const parSequence_ = dictParallel => { + const parTraverse_1 = parTraverse_(dictParallel); + return dictFoldable => parTraverse_1(dictFoldable)(identity); +}; +const parSequence = dictParallel => { + const Applicative1 = dictParallel.Applicative1(); + return dictTraversable => { + const $3 = dictTraversable.traverse(Applicative1)(x => dictParallel.parallel(x)); + return x => dictParallel.sequential($3(x)); + }; +}; +const parOneOfMap = dictParallel => dictAlternative => { + const Plus1 = dictAlternative.Plus1(); + return dictFoldable => { + const alt = Plus1.Alt0().alt; + return dictFunctor => f => { + const $7 = dictFoldable.foldr(x => alt(dictParallel.parallel(f(x))))(Plus1.empty); + return x => dictParallel.sequential($7(x)); + }; + }; +}; +const parOneOf = dictParallel => dictAlternative => { + const Plus1 = dictAlternative.Plus1(); + return dictFoldable => { + const alt = Plus1.Alt0().alt; + return dictFunctor => { + const $6 = dictFoldable.foldr(x => alt(dictParallel.parallel(x)))(Plus1.empty); + return x => dictParallel.sequential($6(x)); + }; + }; +}; +const parApply = dictParallel => { + const apply = dictParallel.Applicative1().Apply0().apply; + return mf => ma => dictParallel.sequential(apply(dictParallel.parallel(mf))(dictParallel.parallel(ma))); +}; +export {identity, parApply, parOneOf, parOneOfMap, parSequence, parSequence_, parTraverse, parTraverse_}; diff --git a/.storybook/purescript-indexer/output-es/Control.Plus/index.js b/.storybook/purescript-indexer/output-es/Control.Plus/index.js new file mode 100644 index 0000000..15745ec --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Plus/index.js @@ -0,0 +1,5 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dAlt from "../Control.Alt/index.js"; +const plusArray = {empty: [], Alt0: () => Control$dAlt.altArray}; +const empty = dict => dict.empty; +export {empty, plusArray}; diff --git a/.storybook/purescript-indexer/output-es/Control.Promise/foreign.js b/.storybook/purescript-indexer/output-es/Control.Promise/foreign.js new file mode 100644 index 0000000..f83f041 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Promise/foreign.js @@ -0,0 +1,24 @@ +export function promise(f) { + return function () { + return new Promise(function (success, error) { + var succF = function (s) { return function() { return success(s); } }; + var failF = function (s) { return function() { return error(s); } }; + + // This indicates the aff was wrong? + try { f(succF)(failF)(); } + catch (e) { + error(e); + } + }); + }; +} + +export function thenImpl(promise) { + return function(errCB) { + return function(succCB) { + return function() { + promise.then(succCB, errCB); + }; + }; + }; +} diff --git a/.storybook/purescript-indexer/output-es/Control.Promise/index.js b/.storybook/purescript-indexer/output-es/Control.Promise/index.js new file mode 100644 index 0000000..c54794a --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Promise/index.js @@ -0,0 +1,46 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dExcept$dTrans from "../Control.Monad.Except.Trans/index.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dIdentity from "../Data.Identity/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import * as Effect$dAff from "../Effect.Aff/index.js"; +import * as Effect$dException from "../Effect.Exception/index.js"; +import * as Foreign from "../Foreign/index.js"; +import {promise, thenImpl} from "./foreign.js"; +const alt = /* #__PURE__ */ (() => Control$dMonad$dExcept$dTrans.altExceptT(Data$dList$dTypes.semigroupNonEmptyList)(Data$dIdentity.monadIdentity).alt)(); +const unsafeReadTagged = /* #__PURE__ */ Foreign.unsafeReadTagged(Data$dIdentity.monadIdentity); +const readString = /* #__PURE__ */ Foreign.unsafeReadTagged(Data$dIdentity.monadIdentity)("String"); +const toAff$p = customCoerce => p => Effect$dAff.makeAff(cb => { + const $3 = thenImpl(p)($3 => cb(Data$dEither.$Either("Left", customCoerce($3)))())(x => cb(Data$dEither.$Either("Right", x))()); + return () => { + $3(); + return Effect$dAff.nonCanceler; + }; +}); +const fromAff = aff => promise(succ => err => { + const $3 = Effect$dAff.runAff(v2 => { + if (v2.tag === "Left") { return err(v2._1); } + if (v2.tag === "Right") { return succ(v2._1); } + $runtime.fail(); + })(aff); + return () => { + $3(); + return Data$dUnit.unit; + }; +}); +const coerce = fn => { + const $1 = alt(unsafeReadTagged("Error")(fn))((() => { + const $1 = readString(fn); + if ($1.tag === "Left") { return Data$dEither.$Either("Left", $1._1); } + if ($1.tag === "Right") { return Data$dEither.$Either("Right", Effect$dException.error($1._1)); } + $runtime.fail(); + })()); + if ($1.tag === "Left") { return Effect$dException.error("Promise failed, couldn't extract JS Error or String"); } + if ($1.tag === "Right") { return $1._1; } + $runtime.fail(); +}; +const toAff = /* #__PURE__ */ toAff$p(coerce); +const toAffE = f => Effect$dAff._bind(Effect$dAff._liftEffect(f))(toAff$p(coerce)); +export {alt, coerce, fromAff, readString, toAff, toAff$p, toAffE, unsafeReadTagged}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Control.Semigroupoid/index.js b/.storybook/purescript-indexer/output-es/Control.Semigroupoid/index.js new file mode 100644 index 0000000..1086d8e --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Control.Semigroupoid/index.js @@ -0,0 +1,5 @@ +import * as $runtime from "../runtime.js"; +const semigroupoidFn = {compose: f => g => x => f(g(x))}; +const compose = dict => dict.compose; +const composeFlipped = dictSemigroupoid => f => g => dictSemigroupoid.compose(g)(f); +export {compose, composeFlipped, semigroupoidFn}; diff --git a/.storybook/purescript-indexer/output-es/Data.Array.NonEmpty.Internal/foreign.js b/.storybook/purescript-indexer/output-es/Data.Array.NonEmpty.Internal/foreign.js new file mode 100644 index 0000000..97b620e --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Array.NonEmpty.Internal/foreign.js @@ -0,0 +1,85 @@ +export const foldr1Impl = function (f) { + return function (xs) { + var acc = xs[xs.length - 1]; + for (var i = xs.length - 2; i >= 0; i--) { + acc = f(xs[i])(acc); + } + return acc; + }; +}; + +export const foldl1Impl = function (f) { + return function (xs) { + var acc = xs[0]; + var len = xs.length; + for (var i = 1; i < len; i++) { + acc = f(acc)(xs[i]); + } + return acc; + }; +}; + +export const traverse1Impl = function () { + function Cont(fn) { + this.fn = fn; + } + + var emptyList = {}; + + var ConsCell = function (head, tail) { + this.head = head; + this.tail = tail; + }; + + function finalCell(head) { + return new ConsCell(head, emptyList); + } + + function consList(x) { + return function (xs) { + return new ConsCell(x, xs); + }; + } + + function listToArray(list) { + var arr = []; + var xs = list; + while (xs !== emptyList) { + arr.push(xs.head); + xs = xs.tail; + } + return arr; + } + + return function (apply) { + return function (map) { + return function (f) { + var buildFrom = function (x, ys) { + return apply(map(consList)(f(x)))(ys); + }; + + var go = function (acc, currentLen, xs) { + if (currentLen === 0) { + return acc; + } else { + var last = xs[currentLen - 1]; + return new Cont(function () { + var built = go(buildFrom(last, acc), currentLen - 1, xs); + return built; + }); + } + }; + + return function (array) { + var acc = map(finalCell)(f(array[array.length - 1])); + var result = go(acc, array.length - 1, array); + while (result instanceof Cont) { + result = result.fn(); + } + + return map(listToArray)(result); + }; + }; + }; + }; +}(); diff --git a/.storybook/purescript-indexer/output-es/Data.Array.NonEmpty.Internal/index.js b/.storybook/purescript-indexer/output-es/Data.Array.NonEmpty.Internal/index.js new file mode 100644 index 0000000..ba5bbeb --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Array.NonEmpty.Internal/index.js @@ -0,0 +1,87 @@ +// | This module exports the `NonEmptyArray` constructor. +// | +// | It is **NOT** intended for public use and is **NOT** versioned. +// | +// | Its content may change **in any way**, **at any time** and +// | **without notice**. +import * as $runtime from "../runtime.js"; +import * as Control$dAlt from "../Control.Alt/index.js"; +import * as Control$dApplicative from "../Control.Applicative/index.js"; +import * as Control$dApply from "../Control.Apply/index.js"; +import * as Control$dBind from "../Control.Bind/index.js"; +import * as Control$dMonad from "../Control.Monad/index.js"; +import * as Data$dEq from "../Data.Eq/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dFoldableWithIndex from "../Data.FoldableWithIndex/index.js"; +import * as Data$dFunctor from "../Data.Functor/index.js"; +import * as Data$dFunctorWithIndex from "../Data.FunctorWithIndex/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dSemigroup from "../Data.Semigroup/index.js"; +import * as Data$dSemigroup$dTraversable from "../Data.Semigroup.Traversable/index.js"; +import * as Data$dShow from "../Data.Show/index.js"; +import * as Data$dTraversable from "../Data.Traversable/index.js"; +import * as Data$dTraversableWithIndex from "../Data.TraversableWithIndex/index.js"; +import * as Data$dUnfoldable1 from "../Data.Unfoldable1/index.js"; +import {foldl1Impl, foldr1Impl, traverse1Impl} from "./foreign.js"; +const NonEmptyArray = x => x; +const unfoldable1NonEmptyArray = Data$dUnfoldable1.unfoldable1Array; +const traversableWithIndexNonEmptyArray = Data$dTraversableWithIndex.traversableWithIndexArray; +const traversableNonEmptyArray = Data$dTraversable.traversableArray; +const showNonEmptyArray = dictShow => { + const show = Data$dShow.showArrayImpl(dictShow.show); + return {show: v => "(NonEmptyArray " + (show(v) + ")")}; +}; +const semigroupNonEmptyArray = Data$dSemigroup.semigroupArray; +const ordNonEmptyArray = dictOrd => Data$dOrd.ordArray(dictOrd); +const ord1NonEmptyArray = Data$dOrd.ord1Array; +const monadNonEmptyArray = Control$dMonad.monadArray; +const functorWithIndexNonEmptyArray = Data$dFunctorWithIndex.functorWithIndexArray; +const functorNonEmptyArray = Data$dFunctor.functorArray; +const foldableWithIndexNonEmptyArray = Data$dFoldableWithIndex.foldableWithIndexArray; +const foldableNonEmptyArray = Data$dFoldable.foldableArray; +const foldable1NonEmptyArray = { + foldMap1: dictSemigroup => f => { + const $2 = Data$dFunctor.arrayMap(f); + const $3 = foldable1NonEmptyArray.foldl1(dictSemigroup.append); + return x => $3($2(x)); + }, + foldr1: foldr1Impl, + foldl1: foldl1Impl, + Foldable0: () => Data$dFoldable.foldableArray +}; +const traversable1NonEmptyArray = { + traverse1: dictApply => traverse1Impl(dictApply.apply)(dictApply.Functor0().map), + sequence1: dictApply => traversable1NonEmptyArray.traverse1(dictApply)(Data$dSemigroup$dTraversable.identity), + Foldable10: () => foldable1NonEmptyArray, + Traversable1: () => Data$dTraversable.traversableArray +}; +const eqNonEmptyArray = dictEq => ({eq: Data$dEq.eqArrayImpl(dictEq.eq)}); +const eq1NonEmptyArray = Data$dEq.eq1Array; +const bindNonEmptyArray = Control$dBind.bindArray; +const applyNonEmptyArray = Control$dApply.applyArray; +const applicativeNonEmptyArray = Control$dApplicative.applicativeArray; +const altNonEmptyArray = Control$dAlt.altArray; +export { + NonEmptyArray, + altNonEmptyArray, + applicativeNonEmptyArray, + applyNonEmptyArray, + bindNonEmptyArray, + eq1NonEmptyArray, + eqNonEmptyArray, + foldable1NonEmptyArray, + foldableNonEmptyArray, + foldableWithIndexNonEmptyArray, + functorNonEmptyArray, + functorWithIndexNonEmptyArray, + monadNonEmptyArray, + ord1NonEmptyArray, + ordNonEmptyArray, + semigroupNonEmptyArray, + showNonEmptyArray, + traversable1NonEmptyArray, + traversableNonEmptyArray, + traversableWithIndexNonEmptyArray, + unfoldable1NonEmptyArray +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.Array.NonEmpty/index.js b/.storybook/purescript-indexer/output-es/Data.Array.NonEmpty/index.js new file mode 100644 index 0000000..1ffe5dc --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Array.NonEmpty/index.js @@ -0,0 +1,303 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dBind from "../Control.Bind/index.js"; +import * as Control$dMonad$dST$dInternal from "../Control.Monad.ST.Internal/index.js"; +import * as Data$dArray from "../Data.Array/index.js"; +import * as Data$dArray$dNonEmpty$dInternal from "../Data.Array.NonEmpty.Internal/index.js"; +import * as Data$dArray$dST from "../Data.Array.ST/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dFunctor from "../Data.Functor/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dNonEmpty from "../Data.NonEmpty/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dSemigroup from "../Data.Semigroup/index.js"; +import * as Data$dSemigroup$dFoldable from "../Data.Semigroup.Foldable/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const max = x => y => { + const v = Data$dOrd.ordInt.compare(x)(y); + if (v.tag === "LT") { return y; } + if (v.tag === "EQ") { return x; } + if (v.tag === "GT") { return x; } + $runtime.fail(); +}; +const intercalate1 = dictSemigroup => { + const foldMap12 = Data$dArray$dNonEmpty$dInternal.foldable1NonEmptyArray.foldMap1({append: v => v1 => j => dictSemigroup.append(v(j))(dictSemigroup.append(j)(v1(j)))}); + return a => foldable => foldMap12(x => v => x)(foldable)(a); +}; +const transpose = x => Data$dArray.transpose(x); +const toArray = v => v; +const unionBy$p = eq => xs => x => Data$dArray.unionBy(eq)(xs)(x); +const union$p = dictEq => unionBy$p(dictEq.eq); +const unionBy = eq => xs => x => Data$dArray.unionBy(eq)(xs)(x); +const union = dictEq => unionBy(dictEq.eq); +const unzip = x => { + const $1 = Data$dArray.unzip(x); + return Data$dTuple.$Tuple($1._1, $1._2); +}; +const updateAt = i => x => Data$dArray.updateAt(i)(x); +const zip = xs => ys => Data$dArray.zip(xs)(ys); +const zipWith = f => xs => ys => Data$dArray.zipWith(f)(xs)(ys); +const zipWithA = dictApplicative => Data$dArray.zipWithA(dictApplicative); +const splitAt = i => xs => Data$dArray.splitAt(i)(xs); +const some = dictAlternative => Data$dArray.some(dictAlternative); +const snoc$p = xs => x => Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([x]))(xs)); +const snoc = xs => x => Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([x]))(xs)); +const singleton = x => [x]; +const replicate = i => x => Data$dArray.replicate(max(1)(i))(x); +const range = x => y => Data$dArray.range(x)(y); +const modifyAt = i => f => x => Data$dArray.modifyAt(i)(f)(x); +const intersectBy$p = eq => xs => Data$dArray.intersectBy(eq)(xs); +const intersectBy = eq => xs => x => Data$dArray.intersectBy(eq)(xs)(x); +const intersect$p = dictEq => intersectBy$p(dictEq.eq); +const intersect = dictEq => intersectBy(dictEq.eq); +const intercalate = dictSemigroup => intercalate1(dictSemigroup); +const insertAt = i => x => Data$dArray.insertAt(i)(x); +const fromFoldable1 = dictFoldable1 => Data$dArray.fromFoldableImpl(dictFoldable1.Foldable0().foldr); +const fromArray = xs => { + if (xs.length > 0) { return Data$dMaybe.$Maybe("Just", xs); } + return Data$dMaybe.Nothing; +}; +const fromFoldable = dictFoldable => { + const $1 = Data$dArray.fromFoldableImpl(dictFoldable.foldr); + return x => { + const $3 = $1(x); + if ($3.length > 0) { return Data$dMaybe.$Maybe("Just", $3); } + return Data$dMaybe.Nothing; + }; +}; +const transpose$p = x => { + const $1 = Data$dArray.transpose(x); + if ($1.length > 0) { return Data$dMaybe.$Maybe("Just", $1); } + return Data$dMaybe.Nothing; +}; +const foldr1 = Data$dArray$dNonEmpty$dInternal.foldr1Impl; +const foldl1 = Data$dArray$dNonEmpty$dInternal.foldl1Impl; +const foldMap1 = dictSemigroup => Data$dArray$dNonEmpty$dInternal.foldable1NonEmptyArray.foldMap1(dictSemigroup); +const fold1 = dictSemigroup => Data$dArray$dNonEmpty$dInternal.foldable1NonEmptyArray.foldMap1(dictSemigroup)(Data$dSemigroup$dFoldable.identity); +const difference$p = dictEq => Data$dFoldable.foldrArray(Data$dArray.delete(dictEq)); +const cons$p = x => xs => Data$dSemigroup.concatArray([x])(xs); +const fromNonEmpty = v => Data$dSemigroup.concatArray([v._1])(v._2); +const concatMap = b => a => Control$dBind.arrayBind(a)(b); +const concat = /* #__PURE__ */ (() => { + const $0 = Data$dFunctor.arrayMap(toArray); + return x => Data$dArray.concat($0(x)); +})(); +const appendArray = xs => ys => Data$dSemigroup.concatArray(xs)(ys); +const alterAt = i => f => x => Data$dArray.alterAt(i)(f)(x); +const head = x => { + const $1 = Data$dArray.index(x)(0); + if ($1.tag === "Just") { return $1._1; } + $runtime.fail(); +}; +const init = x => { + const $1 = Data$dArray.init(x); + if ($1.tag === "Just") { return $1._1; } + $runtime.fail(); +}; +const last = x => { + const $1 = Data$dArray.index(x)(x.length - 1 | 0); + if ($1.tag === "Just") { return $1._1; } + $runtime.fail(); +}; +const tail = x => { + const $1 = Data$dArray.tail(x); + if ($1.tag === "Just") { return $1._1; } + $runtime.fail(); +}; +const uncons = x => { + const $1 = Data$dArray.uncons(x); + if ($1.tag === "Just") { return $1._1; } + $runtime.fail(); +}; +const toNonEmpty = x => { + const $1 = Data$dArray.uncons(x); + const $2 = (() => { + if ($1.tag === "Just") { return $1._1; } + $runtime.fail(); + })(); + return Data$dNonEmpty.$NonEmpty($2.head, $2.tail); +}; +const unsnoc = x => { + const $1 = Data$dArray.unsnoc(x); + if ($1.tag === "Just") { return $1._1; } + $runtime.fail(); +}; +const all = p => Data$dArray.all(p); +const any = p => Data$dArray.any(p); +const catMaybes = x => Data$dArray.mapMaybe(x$1 => x$1)(x); +const $$delete = dictEq => x => x$1 => Data$dArray.deleteBy(dictEq.eq)(x)(x$1); +const deleteAt = i => Data$dArray.deleteAt(i); +const deleteBy = f => x => x$1 => Data$dArray.deleteBy(f)(x)(x$1); +const difference = dictEq => Data$dFoldable.foldrArray(Data$dArray.delete(dictEq)); +const drop = i => x => { + if (i < 1) { return x; } + return Data$dArray.slice(i)(x.length)(x); +}; +const dropEnd = i => x => Data$dArray.dropEnd(i)(x); +const dropWhile = f => x => Data$dArray.span(f)(x).rest; +const elem = dictEq => x => x$1 => Data$dArray.elem(dictEq)(x)(x$1); +const elemIndex = dictEq => x => Data$dArray.findIndex(v => dictEq.eq(v)(x)); +const elemLastIndex = dictEq => x => Data$dArray.findLastIndex(v => dictEq.eq(v)(x)); +const filter = f => Data$dArray.filter(f); +const filterA = dictApplicative => Data$dArray.filterA(dictApplicative); +const find = p => x => { + const $2 = Data$dArray.findIndex(p)(x); + if ($2.tag === "Just") { return Data$dMaybe.$Maybe("Just", x[$2._1]); } + return Data$dMaybe.Nothing; +}; +const findIndex = p => Data$dArray.findIndex(p); +const findLastIndex = x => Data$dArray.findLastIndex(x); +const findMap = p => Data$dArray.findMap(p); +const foldM = dictMonad => Data$dArray.foldM(dictMonad); +const foldRecM = dictMonadRec => Data$dArray.foldRecM(dictMonadRec); +const index = x => Data$dArray.index(x); +const length = x => x.length; +const mapMaybe = f => x => Data$dArray.mapMaybe(f)(x); +const notElem = dictEq => x => x$1 => Data$dArray.notElem(dictEq)(x)(x$1); +const partition = f => Data$dArray.partition(f); +const slice = start => end => Data$dArray.slice(start)(end); +const span = f => x => Data$dArray.span(f)(x); +const take = i => x => { + if (i < 1) { return []; } + return Data$dArray.slice(0)(i)(x); +}; +const takeEnd = i => x => Data$dArray.takeEnd(i)(x); +const takeWhile = f => x => Data$dArray.span(f)(x).init; +const toUnfoldable = dictUnfoldable => x => Data$dArray.toUnfoldable(dictUnfoldable)(x); +const cons = x => x$1 => Data$dSemigroup.concatArray([x])(x$1); +const group = dictEq => x => Data$dArray.groupBy(dictEq.eq)(x); +const groupAllBy = op => Data$dArray.groupAllBy(op); +const groupAll = dictOrd => Data$dArray.groupAllBy(dictOrd.compare); +const groupBy = op => x => Data$dArray.groupBy(op)(x); +const insert = dictOrd => x => x$1 => Data$dArray.insertBy(dictOrd.compare)(x)(x$1); +const insertBy = f => x => x$1 => Data$dArray.insertBy(f)(x)(x$1); +const intersperse = x => x$1 => Data$dArray.intersperse(x)(x$1); +const mapWithIndex = f => x => Data$dArray.zipWith(f)(Data$dArray.range(0)(x.length - 1 | 0))(x); +const modifyAtIndices = dictFoldable => Data$dArray.modifyAtIndices(dictFoldable); +const nub = dictOrd => x => Data$dArray.nubBy(dictOrd.compare)(x); +const nubBy = f => x => Data$dArray.nubBy(f)(x); +const nubByEq = f => x => Data$dArray.nubByEq(f)(x); +const nubEq = dictEq => x => Data$dArray.nubByEq(dictEq.eq)(x); +const reverse = x => Data$dArray.reverse(x); +const scanl = f => x => Data$dArray.scanl(f)(x); +const scanr = f => x => Data$dArray.scanr(f)(x); +const sort = dictOrd => x => Data$dArray.sortBy(dictOrd.compare)(x); +const sortBy = f => Data$dArray.sortBy(f); +const sortWith = dictOrd => f => Data$dArray.sortWith(dictOrd)(f); +const updateAtIndices = dictFoldable => Data$dArray.updateAtIndices(dictFoldable); +const unsafeIndex = () => x => $2 => x[$2]; +const toUnfoldable1 = dictUnfoldable1 => xs => { + const len = xs.length; + return dictUnfoldable1.unfoldr1(i => Data$dTuple.$Tuple( + xs[i], + (() => { + if (i < (len - 1 | 0)) { return Data$dMaybe.$Maybe("Just", i + 1 | 0); } + return Data$dMaybe.Nothing; + })() + ))(0); +}; +export { + all, + alterAt, + any, + appendArray, + catMaybes, + concat, + concatMap, + cons, + cons$p, + $$delete as delete, + deleteAt, + deleteBy, + difference, + difference$p, + drop, + dropEnd, + dropWhile, + elem, + elemIndex, + elemLastIndex, + filter, + filterA, + find, + findIndex, + findLastIndex, + findMap, + fold1, + foldM, + foldMap1, + foldRecM, + foldl1, + foldr1, + fromArray, + fromFoldable, + fromFoldable1, + fromNonEmpty, + group, + groupAll, + groupAllBy, + groupBy, + head, + index, + init, + insert, + insertAt, + insertBy, + intercalate, + intercalate1, + intersect, + intersect$p, + intersectBy, + intersectBy$p, + intersperse, + last, + length, + mapMaybe, + mapWithIndex, + max, + modifyAt, + modifyAtIndices, + notElem, + nub, + nubBy, + nubByEq, + nubEq, + partition, + range, + replicate, + reverse, + scanl, + scanr, + singleton, + slice, + snoc, + snoc$p, + some, + sort, + sortBy, + sortWith, + span, + splitAt, + tail, + take, + takeEnd, + takeWhile, + toArray, + toNonEmpty, + toUnfoldable, + toUnfoldable1, + transpose, + transpose$p, + uncons, + union, + union$p, + unionBy, + unionBy$p, + unsafeIndex, + unsnoc, + unzip, + updateAt, + updateAtIndices, + zip, + zipWith, + zipWithA +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Array.Partial/index.js b/.storybook/purescript-indexer/output-es/Data.Array.Partial/index.js new file mode 100644 index 0000000..8e90fe0 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Array.Partial/index.js @@ -0,0 +1,8 @@ +// | Partial helper functions for working with immutable arrays. +import * as $runtime from "../runtime.js"; +import * as Data$dArray from "../Data.Array/index.js"; +const tail = () => xs => Data$dArray.slice(1)(xs.length)(xs); +const last = () => xs => xs[(xs.length - 1 | 0)]; +const init = () => xs => Data$dArray.slice(0)(xs.length - 1 | 0)(xs); +const head = () => xs => xs[0]; +export {head, init, last, tail}; diff --git a/.storybook/purescript-indexer/output-es/Data.Array.ST.Iterator/index.js b/.storybook/purescript-indexer/output-es/Data.Array.ST.Iterator/index.js new file mode 100644 index 0000000..425af0e --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Array.ST.Iterator/index.js @@ -0,0 +1,74 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dST$dInternal from "../Control.Monad.ST.Internal/index.js"; +import * as Data$dArray$dST from "../Data.Array.ST/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const $Iterator = (_1, _2) => ({tag: "Iterator", _1, _2}); +const Iterator = value0 => value1 => $Iterator(value0, value1); +const peek = v => () => { + const i = v._2.value; + return v._1(i); +}; +const next = v => () => { + const i = v._2.value; + const $2 = v._2.value; + v._2.value = $2 + 1 | 0; + return v._1(i); +}; +const pushWhile = p => iter => array => () => { + const $$break = {value: false}; + return Control$dMonad$dST$dInternal.while(() => { + const $4 = $$break.value; + return !$4; + })(() => { + const i = iter._2.value; + const mx = iter._1(i); + if (mx.tag === "Just") { + if (p(mx._1)) { + Data$dArray$dST.pushAll([mx._1])(array)(); + iter._2.value; + const $8 = iter._2.value; + iter._2.value = $8 + 1 | 0; + return Data$dUnit.unit; + } + $$break.value = true; + return Data$dUnit.unit; + } + $$break.value = true; + return Data$dUnit.unit; + })(); +}; +const pushAll = /* #__PURE__ */ pushWhile(v => true); +const iterator = f => { + const $1 = Iterator(f); + return () => { + const $2 = {value: 0}; + return $1($2); + }; +}; +const iterate = iter => f => () => { + const $$break = {value: false}; + return Control$dMonad$dST$dInternal.while(() => { + const $3 = $$break.value; + return !$3; + })(() => { + const i = iter._2.value; + const $4 = iter._2.value; + iter._2.value = $4 + 1 | 0; + const mx = iter._1(i); + if (mx.tag === "Just") { return f(mx._1)(); } + if (mx.tag === "Nothing") { + $$break.value = true; + return Data$dUnit.unit; + } + $runtime.fail(); + })(); +}; +const exhausted = /* #__PURE__ */ (() => { + const $0 = Control$dMonad$dST$dInternal.map_(Data$dMaybe.isNothing); + return x => $0(() => { + const i = x._2.value; + return x._1(i); + }); +})(); +export {$Iterator, Iterator, exhausted, iterate, iterator, next, peek, pushAll, pushWhile}; diff --git a/.storybook/purescript-indexer/output-es/Data.Array.ST.Partial/foreign.js b/.storybook/purescript-indexer/output-es/Data.Array.ST.Partial/foreign.js new file mode 100644 index 0000000..b289097 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Array.ST.Partial/foreign.js @@ -0,0 +1,17 @@ +export const peekImpl = function (i) { + return function (xs) { + return function () { + return xs[i]; + }; + }; +}; + +export const pokeImpl = function (i) { + return function (a) { + return function (xs) { + return function () { + xs[i] = a; + }; + }; + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Array.ST.Partial/index.js b/.storybook/purescript-indexer/output-es/Data.Array.ST.Partial/index.js new file mode 100644 index 0000000..0d09cf2 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Array.ST.Partial/index.js @@ -0,0 +1,9 @@ +// | Partial functions for working with mutable arrays using the `ST` effect. +// | +// | This module is particularly helpful when performance is very important. +import * as $runtime from "../runtime.js"; +import {peekImpl, pokeImpl} from "./foreign.js"; +const poke = () => pokeImpl; +const peek = () => peekImpl; +export {peek, poke}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.Array.ST/foreign.js b/.storybook/purescript-indexer/output-es/Data.Array.ST/foreign.js new file mode 100644 index 0000000..57709b7 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Array.ST/foreign.js @@ -0,0 +1,160 @@ +function newSTArray () { + return []; +} +export { newSTArray as new }; + +export const peekImpl = function (just) { + return function (nothing) { + return function (i) { + return function (xs) { + return function () { + return i >= 0 && i < xs.length ? just(xs[i]) : nothing; + }; + }; + }; + }; +}; + +export const poke = function (i) { + return function (a) { + return function (xs) { + return function () { + var ret = i >= 0 && i < xs.length; + if (ret) xs[i] = a; + return ret; + }; + }; + }; +}; + +export const popImpl = function (just) { + return function (nothing) { + return function (xs) { + return function () { + return xs.length > 0 ? just(xs.pop()) : nothing; + }; + }; + }; +}; + +export const pushAll = function (as) { + return function (xs) { + return function () { + return xs.push.apply(xs, as); + }; + }; +}; + +export const shiftImpl = function (just) { + return function (nothing) { + return function (xs) { + return function () { + return xs.length > 0 ? just(xs.shift()) : nothing; + }; + }; + }; +}; + +export const unshiftAll = function (as) { + return function (xs) { + return function () { + return xs.unshift.apply(xs, as); + }; + }; +}; + +export const splice = function (i) { + return function (howMany) { + return function (bs) { + return function (xs) { + return function () { + return xs.splice.apply(xs, [i, howMany].concat(bs)); + }; + }; + }; + }; +}; + +export const unsafeFreeze = function (xs) { + return function () { + return xs; + }; +}; + +export const unsafeThaw = function (xs) { + return function () { + return xs; + }; +}; + +function copyImpl(xs) { + return function () { + return xs.slice(); + }; +} + +export const freeze = copyImpl; + +export const thaw = copyImpl; + +export const sortByImpl = (function () { + function mergeFromTo(compare, fromOrdering, xs1, xs2, from, to) { + var mid; + var i; + var j; + var k; + var x; + var y; + var c; + + mid = from + ((to - from) >> 1); + if (mid - from > 1) mergeFromTo(compare, fromOrdering, xs2, xs1, from, mid); + if (to - mid > 1) mergeFromTo(compare, fromOrdering, xs2, xs1, mid, to); + + i = from; + j = mid; + k = from; + while (i < mid && j < to) { + x = xs2[i]; + y = xs2[j]; + c = fromOrdering(compare(x)(y)); + if (c > 0) { + xs1[k++] = y; + ++j; + } + else { + xs1[k++] = x; + ++i; + } + } + while (i < mid) { + xs1[k++] = xs2[i++]; + } + while (j < to) { + xs1[k++] = xs2[j++]; + } + } + + return function (compare) { + return function (fromOrdering) { + return function (xs) { + return function () { + if (xs.length < 2) return xs; + + mergeFromTo(compare, fromOrdering, xs, xs.slice(0), 0, xs.length); + + return xs; + }; + }; + }; + }; +})(); + +export const toAssocArray = function (xs) { + return function () { + var n = xs.length; + var as = new Array(n); + for (var i = 0; i < n; i++) as[i] = { value: xs[i], index: i }; + return as; + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Array.ST/index.js b/.storybook/purescript-indexer/output-es/Data.Array.ST/index.js new file mode 100644 index 0000000..60b97a9 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Array.ST/index.js @@ -0,0 +1,40 @@ +// | Helper functions for working with mutable arrays using the `ST` effect. +// | +// | This module can be used when performance is important and mutation is a local effect. +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dST$dInternal from "../Control.Monad.ST.Internal/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import {freeze, new as $$new, peekImpl, poke, popImpl, pushAll, shiftImpl, sortByImpl, splice, thaw, toAssocArray, unsafeFreeze, unsafeThaw, unshiftAll} from "./foreign.js"; +const withArray = f => xs => { + const $2 = thaw(xs); + return () => { + const result = $2(); + f(result)(); + return unsafeFreeze(result)(); + }; +}; +const unshift = a => unshiftAll([a]); +const sortBy = comp => sortByImpl(comp)(v => { + if (v.tag === "GT") { return 1; } + if (v.tag === "EQ") { return 0; } + if (v.tag === "LT") { return -1; } + $runtime.fail(); +}); +const sortWith = dictOrd => f => sortBy(x => y => dictOrd.compare(f(x))(f(y))); +const sort = dictOrd => sortBy(dictOrd.compare); +const shift = /* #__PURE__ */ shiftImpl(Data$dMaybe.Just)(Data$dMaybe.Nothing); +const run = st => Control$dMonad$dST$dInternal.run(Control$dMonad$dST$dInternal.bind_(st)(unsafeFreeze)); +const push = a => pushAll([a]); +const pop = /* #__PURE__ */ popImpl(Data$dMaybe.Just)(Data$dMaybe.Nothing); +const peek = /* #__PURE__ */ peekImpl(Data$dMaybe.Just)(Data$dMaybe.Nothing); +const modify = i => f => xs => { + const $3 = peek(i)(xs); + return () => { + const entry = $3(); + if (entry.tag === "Just") { return poke(i)(f(entry._1))(xs)(); } + if (entry.tag === "Nothing") { return false; } + $runtime.fail(); + }; +}; +export {modify, peek, pop, push, run, shift, sort, sortBy, sortWith, unshift, withArray}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.Array/foreign.js b/.storybook/purescript-indexer/output-es/Data.Array/foreign.js new file mode 100644 index 0000000..490c53f --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Array/foreign.js @@ -0,0 +1,386 @@ +//------------------------------------------------------------------------------ +// Array creation -------------------------------------------------------------- +//------------------------------------------------------------------------------ + +export const range = function (start) { + return function (end) { + var step = start > end ? -1 : 1; + var result = new Array(step * (end - start) + 1); + var i = start, n = 0; + while (i !== end) { + result[n++] = i; + i += step; + } + result[n] = i; + return result; + }; +}; + +var replicateFill = function (count) { + return function (value) { + if (count < 1) { + return []; + } + var result = new Array(count); + return result.fill(value); + }; +}; + +var replicatePolyfill = function (count) { + return function (value) { + var result = []; + var n = 0; + for (var i = 0; i < count; i++) { + result[n++] = value; + } + return result; + }; +}; + +// In browsers that have Array.prototype.fill we use it, as it's faster. +export const replicate = typeof Array.prototype.fill === "function" ? replicateFill : replicatePolyfill; + +export const fromFoldableImpl = (function () { + function Cons(head, tail) { + this.head = head; + this.tail = tail; + } + var emptyList = {}; + + function curryCons(head) { + return function (tail) { + return new Cons(head, tail); + }; + } + + function listToArray(list) { + var result = []; + var count = 0; + var xs = list; + while (xs !== emptyList) { + result[count++] = xs.head; + xs = xs.tail; + } + return result; + } + + return function (foldr) { + return function (xs) { + return listToArray(foldr(curryCons)(emptyList)(xs)); + }; + }; +})(); + +//------------------------------------------------------------------------------ +// Array size ------------------------------------------------------------------ +//------------------------------------------------------------------------------ + +export const length = function (xs) { + return xs.length; +}; + +//------------------------------------------------------------------------------ +// Non-indexed reads ----------------------------------------------------------- +//------------------------------------------------------------------------------ + +export const unconsImpl = function (empty) { + return function (next) { + return function (xs) { + return xs.length === 0 ? empty({}) : next(xs[0])(xs.slice(1)); + }; + }; +}; + +//------------------------------------------------------------------------------ +// Indexed operations ---------------------------------------------------------- +//------------------------------------------------------------------------------ + +export const indexImpl = function (just) { + return function (nothing) { + return function (xs) { + return function (i) { + return i < 0 || i >= xs.length ? nothing : just(xs[i]); + }; + }; + }; +}; + +export const findMapImpl = function (nothing) { + return function (isJust) { + return function (f) { + return function (xs) { + for (var i = 0; i < xs.length; i++) { + var result = f(xs[i]); + if (isJust(result)) return result; + } + return nothing; + }; + }; + }; +}; + +export const findIndexImpl = function (just) { + return function (nothing) { + return function (f) { + return function (xs) { + for (var i = 0, l = xs.length; i < l; i++) { + if (f(xs[i])) return just(i); + } + return nothing; + }; + }; + }; +}; + +export const findLastIndexImpl = function (just) { + return function (nothing) { + return function (f) { + return function (xs) { + for (var i = xs.length - 1; i >= 0; i--) { + if (f(xs[i])) return just(i); + } + return nothing; + }; + }; + }; +}; + +export const _insertAt = function (just) { + return function (nothing) { + return function (i) { + return function (a) { + return function (l) { + if (i < 0 || i > l.length) return nothing; + var l1 = l.slice(); + l1.splice(i, 0, a); + return just(l1); + }; + }; + }; + }; +}; + +export const _deleteAt = function (just) { + return function (nothing) { + return function (i) { + return function (l) { + if (i < 0 || i >= l.length) return nothing; + var l1 = l.slice(); + l1.splice(i, 1); + return just(l1); + }; + }; + }; +}; + +export const _updateAt = function (just) { + return function (nothing) { + return function (i) { + return function (a) { + return function (l) { + if (i < 0 || i >= l.length) return nothing; + var l1 = l.slice(); + l1[i] = a; + return just(l1); + }; + }; + }; + }; +}; + +//------------------------------------------------------------------------------ +// Transformations ------------------------------------------------------------- +//------------------------------------------------------------------------------ + +export const reverse = function (l) { + return l.slice().reverse(); +}; + +export const concat = function (xss) { + if (xss.length <= 10000) { + // This method is faster, but it crashes on big arrays. + // So we use it when can and fallback to simple variant otherwise. + return Array.prototype.concat.apply([], xss); + } + + var result = []; + for (var i = 0, l = xss.length; i < l; i++) { + var xs = xss[i]; + for (var j = 0, m = xs.length; j < m; j++) { + result.push(xs[j]); + } + } + return result; +}; + +export const filter = function (f) { + return function (xs) { + return xs.filter(f); + }; +}; + +export const partition = function (f) { + return function (xs) { + var yes = []; + var no = []; + for (var i = 0; i < xs.length; i++) { + var x = xs[i]; + if (f(x)) + yes.push(x); + else + no.push(x); + } + return { yes: yes, no: no }; + }; +}; + +export const scanl = function (f) { + return function (b) { + return function (xs) { + var len = xs.length; + var acc = b; + var out = new Array(len); + for (var i = 0; i < len; i++) { + acc = f(acc)(xs[i]); + out[i] = acc; + } + return out; + }; + }; +}; + +export const scanr = function (f) { + return function (b) { + return function (xs) { + var len = xs.length; + var acc = b; + var out = new Array(len); + for (var i = len - 1; i >= 0; i--) { + acc = f(xs[i])(acc); + out[i] = acc; + } + return out; + }; + }; +}; + +//------------------------------------------------------------------------------ +// Sorting --------------------------------------------------------------------- +//------------------------------------------------------------------------------ + +export const sortByImpl = (function () { + function mergeFromTo(compare, fromOrdering, xs1, xs2, from, to) { + var mid; + var i; + var j; + var k; + var x; + var y; + var c; + + mid = from + ((to - from) >> 1); + if (mid - from > 1) mergeFromTo(compare, fromOrdering, xs2, xs1, from, mid); + if (to - mid > 1) mergeFromTo(compare, fromOrdering, xs2, xs1, mid, to); + + i = from; + j = mid; + k = from; + while (i < mid && j < to) { + x = xs2[i]; + y = xs2[j]; + c = fromOrdering(compare(x)(y)); + if (c > 0) { + xs1[k++] = y; + ++j; + } + else { + xs1[k++] = x; + ++i; + } + } + while (i < mid) { + xs1[k++] = xs2[i++]; + } + while (j < to) { + xs1[k++] = xs2[j++]; + } + } + + return function (compare) { + return function (fromOrdering) { + return function (xs) { + var out; + + if (xs.length < 2) return xs; + + out = xs.slice(0); + mergeFromTo(compare, fromOrdering, out, xs.slice(0), 0, xs.length); + + return out; + }; + }; + }; +})(); + +//------------------------------------------------------------------------------ +// Subarrays ------------------------------------------------------------------- +//------------------------------------------------------------------------------ + +export const slice = function (s) { + return function (e) { + return function (l) { + return l.slice(s, e); + }; + }; +}; + +//------------------------------------------------------------------------------ +// Zipping --------------------------------------------------------------------- +//------------------------------------------------------------------------------ + +export const zipWith = function (f) { + return function (xs) { + return function (ys) { + var l = xs.length < ys.length ? xs.length : ys.length; + var result = new Array(l); + for (var i = 0; i < l; i++) { + result[i] = f(xs[i])(ys[i]); + } + return result; + }; + }; +}; + +//------------------------------------------------------------------------------ +// Folding --------------------------------------------------------------------- +//------------------------------------------------------------------------------ + +export const any = function (p) { + return function (xs) { + var len = xs.length; + for (var i = 0; i < len; i++) { + if (p(xs[i])) return true; + } + return false; + }; +}; + +export const all = function (p) { + return function (xs) { + var len = xs.length; + for (var i = 0; i < len; i++) { + if (!p(xs[i])) return false; + } + return true; + }; +}; + +//------------------------------------------------------------------------------ +// Partial --------------------------------------------------------------------- +//------------------------------------------------------------------------------ + +export const unsafeIndexImpl = function (xs) { + return function (n) { + return xs[n]; + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Array/index.js b/.storybook/purescript-indexer/output-es/Data.Array/index.js new file mode 100644 index 0000000..35cb466 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Array/index.js @@ -0,0 +1,519 @@ +// | Helper functions for working with immutable Javascript arrays. +// | +// | _Note_: Depending on your use-case, you may prefer to use `Data.List` or +// | `Data.Sequence` instead, which might give better performance for certain +// | use cases. This module is useful when integrating with JavaScript libraries +// | which use arrays, but immutable arrays are not a practical data structure +// | for many use cases due to their poor asymptotics. +// | +// | In addition to the functions in this module, Arrays have a number of +// | useful instances: +// | +// | * `Functor`, which provides `map :: forall a b. (a -> b) -> Array a -> +// | Array b` +// | * `Apply`, which provides `(<*>) :: forall a b. Array (a -> b) -> Array a +// | -> Array b`. This function works a bit like a Cartesian product; the +// | result array is constructed by applying each function in the first +// | array to each value in the second, so that the result array ends up with +// | a length equal to the product of the two arguments' lengths. +// | * `Bind`, which provides `(>>=) :: forall a b. (a -> Array b) -> Array a +// | -> Array b` (this is the same as `concatMap`). +// | * `Semigroup`, which provides `(<>) :: forall a. Array a -> Array a -> +// | Array a`, for concatenating arrays. +// | * `Foldable`, which provides a slew of functions for *folding* (also known +// | as *reducing*) arrays down to one value. For example, +// | `Data.Foldable.or` tests whether an array of `Boolean` values contains +// | at least one `true` value. +// | * `Traversable`, which provides the PureScript version of a for-loop, +// | allowing you to STAI.iterate over an array and accumulate effects. +// | +import * as $runtime from "../runtime.js"; +import * as Control$dBind from "../Control.Bind/index.js"; +import * as Control$dMonad$dRec$dClass from "../Control.Monad.Rec.Class/index.js"; +import * as Control$dMonad$dST$dInternal from "../Control.Monad.ST.Internal/index.js"; +import * as Data$dArray$dST from "../Data.Array.ST/index.js"; +import * as Data$dArray$dST$dIterator from "../Data.Array.ST.Iterator/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dFunctor from "../Data.Functor/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dSemigroup from "../Data.Semigroup/index.js"; +import * as Data$dTraversable from "../Data.Traversable/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import { + _deleteAt, + _insertAt, + _updateAt, + all, + any, + concat, + filter, + findIndexImpl, + findLastIndexImpl, + findMapImpl, + fromFoldableImpl, + indexImpl, + length, + partition, + range, + replicate, + reverse, + scanl, + scanr, + slice, + sortByImpl, + unconsImpl, + unsafeIndexImpl, + zipWith +} from "./foreign.js"; +const traverse_ = /* #__PURE__ */ Data$dFoldable.traverse_(Control$dMonad$dST$dInternal.applicativeST); +const intercalate1 = dictMonoid => { + const append = dictMonoid.Semigroup0().append; + return sep => xs => Data$dFoldable.foldlArray(v => v1 => { + if (v.init) { return {init: false, acc: v1}; } + return {init: false, acc: append(v.acc)(append(sep)(v1))}; + })({init: true, acc: dictMonoid.mempty})(xs).acc; +}; +const zipWithA = dictApplicative => { + const sequence1 = Data$dTraversable.traversableArray.traverse(dictApplicative)(Data$dTraversable.identity); + return f => xs => ys => sequence1(zipWith(f)(xs)(ys)); +}; +const zip = /* #__PURE__ */ zipWith(Data$dTuple.Tuple); +const updateAtIndices = dictFoldable => { + const traverse_1 = traverse_(dictFoldable); + return us => xs => Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(res => traverse_1(v => Data$dArray$dST.poke(v._1)(v._2)(res))(us))(xs)); +}; +const updateAt = /* #__PURE__ */ _updateAt(Data$dMaybe.Just)(Data$dMaybe.Nothing); +const unsafeIndex = () => unsafeIndexImpl; +const uncons = /* #__PURE__ */ unconsImpl(v => Data$dMaybe.Nothing)(x => xs => Data$dMaybe.$Maybe("Just", {head: x, tail: xs})); +const toUnfoldable = dictUnfoldable => xs => { + const len = xs.length; + return dictUnfoldable.unfoldr(i => { + if (i < len) { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(xs[i], i + 1 | 0)); } + return Data$dMaybe.Nothing; + })(0); +}; +const take = n => xs => { + if (n < 1) { return []; } + return slice(0)(n)(xs); +}; +const tail = /* #__PURE__ */ unconsImpl(v => Data$dMaybe.Nothing)(v => xs => Data$dMaybe.$Maybe("Just", xs)); +const splitAt = v => v1 => { + if (v <= 0) { return {before: [], after: v1}; } + return {before: slice(0)(v)(v1), after: slice(v)(v1.length)(v1)}; +}; +const sortBy = comp => sortByImpl(comp)(v => { + if (v.tag === "GT") { return 1; } + if (v.tag === "EQ") { return 0; } + if (v.tag === "LT") { return -1; } + $runtime.fail(); +}); +const sortWith = dictOrd => f => sortBy(x => y => dictOrd.compare(f(x))(f(y))); +const sort = dictOrd => xs => sortBy(dictOrd.compare)(xs); +const snoc = xs => x => Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([x]))(xs)); +const singleton = a => [a]; +const $$null = xs => xs.length === 0; +const nubByEq = eq2 => xs => Control$dMonad$dST$dInternal.run(() => { + const arr = Data$dArray$dST.new(); + Control$dMonad$dST$dInternal.foreach(xs)(x => { + const $4 = any(v => eq2(v)(x)); + return () => { + const $5 = Data$dArray$dST.unsafeFreeze(arr)(); + if (!$4($5)) { + Data$dArray$dST.pushAll([x])(arr)(); + return Data$dUnit.unit; + } + return Data$dUnit.unit; + }; + })(); + return Data$dArray$dST.unsafeFreeze(arr)(); +}); +const nubEq = dictEq => nubByEq(dictEq.eq); +const modifyAtIndices = dictFoldable => { + const traverse_1 = traverse_(dictFoldable); + return is => f => xs => Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(res => traverse_1(i => Data$dArray$dST.modify(i)(f)(res))(is))(xs)); +}; +const mapWithIndex = f => xs => zipWith(f)(range(0)(xs.length - 1 | 0))(xs); +const intersperse = a => arr => { + const v = arr.length; + if (v < 2) { return arr; } + return Control$dMonad$dST$dInternal.run(Control$dMonad$dST$dInternal.bind_(() => { + const out = Data$dArray$dST.new(); + Data$dArray$dST.pushAll([arr[0]])(out)(); + Control$dMonad$dST$dInternal.for(1)(v)(idx => { + const $6 = Data$dArray$dST.pushAll([a])(out); + return () => { + $6(); + Data$dArray$dST.pushAll([arr[idx]])(out)(); + return Data$dUnit.unit; + }; + })(); + return out; + })(Data$dArray$dST.unsafeFreeze)); +}; +const intercalate = dictMonoid => intercalate1(dictMonoid); +const insertAt = /* #__PURE__ */ _insertAt(Data$dMaybe.Just)(Data$dMaybe.Nothing); +const init = xs => { + if (xs.length === 0) { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", slice(0)(xs.length - 1 | 0)(xs)); +}; +const index = /* #__PURE__ */ indexImpl(Data$dMaybe.Just)(Data$dMaybe.Nothing); +const last = xs => index(xs)(xs.length - 1 | 0); +const unsnoc = xs => Data$dMaybe.applyMaybe.apply((() => { + const $1 = init(xs); + if ($1.tag === "Just") { return Data$dMaybe.$Maybe("Just", v1 => ({init: $1._1, last: v1})); } + return Data$dMaybe.Nothing; +})())(index(xs)(xs.length - 1 | 0)); +const modifyAt = i => f => xs => { + const $3 = index(xs)(i); + if ($3.tag === "Nothing") { return Data$dMaybe.Nothing; } + if ($3.tag === "Just") { return updateAt(i)(f($3._1))(xs); } + $runtime.fail(); +}; +const span = p => arr => { + const go = go$a0$copy => { + let go$a0 = go$a0$copy, go$c = true, go$r; + while (go$c) { + const i = go$a0; + const v = index(arr)(i); + if (v.tag === "Just") { + if (p(v._1)) { + go$a0 = i + 1 | 0; + continue; + } + go$c = false; + go$r = Data$dMaybe.$Maybe("Just", i); + continue; + } + if (v.tag === "Nothing") { + go$c = false; + go$r = Data$dMaybe.Nothing; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + const breakIndex = go(0); + if (breakIndex.tag === "Just") { + if (breakIndex._1 === 0) { return {init: [], rest: arr}; } + return {init: slice(0)(breakIndex._1)(arr), rest: slice(breakIndex._1)(arr.length)(arr)}; + } + if (breakIndex.tag === "Nothing") { return {init: arr, rest: []}; } + $runtime.fail(); +}; +const takeWhile = p => xs => span(p)(xs).init; +const unzip = xs => Control$dMonad$dST$dInternal.run(() => { + const fsts = Data$dArray$dST.new(); + const snds = Data$dArray$dST.new(); + const $3 = {value: 0}; + Data$dArray$dST$dIterator.iterate(Data$dArray$dST$dIterator.$Iterator(v => index(xs)(v), $3))(v => () => { + Data$dArray$dST.pushAll([v._1])(fsts)(); + Data$dArray$dST.pushAll([v._2])(snds)(); + return Data$dUnit.unit; + })(); + const fsts$p = Data$dArray$dST.unsafeFreeze(fsts)(); + const snds$p = Data$dArray$dST.unsafeFreeze(snds)(); + return Data$dTuple.$Tuple(fsts$p, snds$p); +}); +const head = xs => index(xs)(0); +const nubBy = comp => xs => { + const indexedAndSorted = sortBy(x => y => comp(x._2)(y._2))(zipWith(Data$dTuple.Tuple)(range(0)(xs.length - 1 | 0))(xs)); + const v = index(indexedAndSorted)(0); + if (v.tag === "Nothing") { return []; } + if (v.tag === "Just") { + return Data$dFunctor.arrayMap(Data$dTuple.snd)(sortWith(Data$dOrd.ordInt)(Data$dTuple.fst)(Control$dMonad$dST$dInternal.run((() => { + const $4 = Data$dArray$dST.unsafeThaw([v._1]); + return () => { + const result = $4(); + Control$dMonad$dST$dInternal.foreach(indexedAndSorted)(v1 => () => { + const $7 = Data$dArray$dST.unsafeFreeze(result)(); + const $8 = index($7)($7.length - 1 | 0); + const $9 = comp((() => { + if ($8.tag === "Just") { return $8._1._2; } + $runtime.fail(); + })())(v1._2); + if ($9.tag === "LT" || ($9.tag === "GT" || !($9.tag === "EQ"))) { + Data$dArray$dST.pushAll([v1])(result)(); + return Data$dUnit.unit; + } + return Data$dUnit.unit; + })(); + return Data$dArray$dST.unsafeFreeze(result)(); + }; + })()))); + } + $runtime.fail(); +}; +const nub = dictOrd => nubBy(dictOrd.compare); +const groupBy = op => xs => Control$dMonad$dST$dInternal.run(() => { + const result = Data$dArray$dST.new(); + const $3 = {value: 0}; + const iter = Data$dArray$dST$dIterator.$Iterator(v => index(xs)(v), $3); + Data$dArray$dST$dIterator.iterate(iter)(x => () => { + const sub1 = Data$dArray$dST.new(); + Data$dArray$dST.pushAll([x])(sub1)(); + Data$dArray$dST$dIterator.pushWhile(op(x))(iter)(sub1)(); + const grp = Data$dArray$dST.unsafeFreeze(sub1)(); + Data$dArray$dST.pushAll([grp])(result)(); + return Data$dUnit.unit; + })(); + return Data$dArray$dST.unsafeFreeze(result)(); +}); +const groupAllBy = cmp => { + const $1 = groupBy(x => y => cmp(x)(y).tag === "EQ"); + const $2 = sortBy(cmp); + return x => $1($2(x)); +}; +const groupAll = dictOrd => groupAllBy(dictOrd.compare); +const group = dictEq => xs => groupBy(dictEq.eq)(xs); +const fromFoldable = dictFoldable => fromFoldableImpl(dictFoldable.foldr); +const foldr = Data$dFoldable.foldrArray; +const foldl = Data$dFoldable.foldlArray; +const transpose = xs => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const idx = go$a0, allArrays = go$a1; + const v = Data$dFoldable.foldlArray(acc => nextArr => { + const $6 = index(nextArr)(idx); + if ($6.tag === "Nothing") { return acc; } + if ($6.tag === "Just") { + return Data$dMaybe.$Maybe( + "Just", + (() => { + if (acc.tag === "Nothing") { return [$6._1]; } + if (acc.tag === "Just") { return Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([$6._1]))(acc._1)); } + $runtime.fail(); + })() + ); + } + $runtime.fail(); + })(Data$dMaybe.Nothing)(xs); + if (v.tag === "Nothing") { + go$c = false; + go$r = allArrays; + continue; + } + if (v.tag === "Just") { + go$a0 = idx + 1 | 0; + go$a1 = Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([v._1]))(allArrays)); + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(0)([]); +}; +const foldRecM = dictMonadRec => { + const Monad0 = dictMonadRec.Monad0(); + const pure1 = Monad0.Applicative0().pure; + const bind1 = Monad0.Bind1().bind; + return f => b => array => dictMonadRec.tailRecM(o => { + if (o.b >= array.length) { return pure1(Control$dMonad$dRec$dClass.$Step("Done", o.a)); } + return bind1(f(o.a)(array[o.b]))(res$p => pure1(Control$dMonad$dRec$dClass.$Step("Loop", {a: res$p, b: o.b + 1 | 0}))); + })({a: b, b: 0}); +}; +const foldMap = dictMonoid => Data$dFoldable.foldableArray.foldMap(dictMonoid); +const foldM = dictMonad => { + const pure1 = dictMonad.Applicative0().pure; + const bind1 = dictMonad.Bind1().bind; + return f => b => unconsImpl(v => pure1(b))(a => as => bind1(f(b)(a))(b$p => foldM(dictMonad)(f)(b$p)(as))); +}; +const fold = dictMonoid => Data$dFoldable.foldableArray.foldMap(dictMonoid)(Data$dFoldable.identity); +const findMap = /* #__PURE__ */ findMapImpl(Data$dMaybe.Nothing)(Data$dMaybe.isJust); +const findLastIndex = /* #__PURE__ */ findLastIndexImpl(Data$dMaybe.Just)(Data$dMaybe.Nothing); +const insertBy = cmp => x => ys => { + const $3 = insertAt((() => { + const $3 = findLastIndex(y => cmp(x)(y).tag === "GT")(ys); + if ($3.tag === "Nothing") { return 0; } + if ($3.tag === "Just") { return $3._1 + 1 | 0; } + $runtime.fail(); + })())(x)(ys); + if ($3.tag === "Just") { return $3._1; } + $runtime.fail(); +}; +const insert = dictOrd => insertBy(dictOrd.compare); +const findIndex = /* #__PURE__ */ findIndexImpl(Data$dMaybe.Just)(Data$dMaybe.Nothing); +const intersectBy = eq2 => xs => ys => filter(x => { + const $4 = findIndex(eq2(x))(ys); + if ($4.tag === "Nothing") { return false; } + if ($4.tag === "Just") { return true; } + $runtime.fail(); +})(xs); +const intersect = dictEq => intersectBy(dictEq.eq); +const find = f => xs => { + const $2 = findIndex(f)(xs); + if ($2.tag === "Just") { return Data$dMaybe.$Maybe("Just", xs[$2._1]); } + return Data$dMaybe.Nothing; +}; +const elemLastIndex = dictEq => x => findLastIndex(v => dictEq.eq(v)(x)); +const elemIndex = dictEq => x => findIndex(v => dictEq.eq(v)(x)); +const notElem = dictEq => a => arr => { + const $3 = findIndex(v => dictEq.eq(v)(a))(arr); + if ($3.tag === "Nothing") { return true; } + if ($3.tag === "Just") { return false; } + $runtime.fail(); +}; +const elem = dictEq => a => arr => { + const $3 = findIndex(v => dictEq.eq(v)(a))(arr); + if ($3.tag === "Nothing") { return false; } + if ($3.tag === "Just") { return true; } + $runtime.fail(); +}; +const dropWhile = p => xs => span(p)(xs).rest; +const dropEnd = n => xs => { + const $2 = xs.length - n | 0; + if ($2 < 1) { return []; } + return slice(0)($2)(xs); +}; +const drop = n => xs => { + if (n < 1) { return xs; } + return slice(n)(xs.length)(xs); +}; +const takeEnd = n => xs => { + const $2 = xs.length - n | 0; + if ($2 < 1) { return xs; } + return slice($2)(xs.length)(xs); +}; +const deleteAt = /* #__PURE__ */ _deleteAt(Data$dMaybe.Just)(Data$dMaybe.Nothing); +const deleteBy = v => v1 => v2 => { + if (v2.length === 0) { return []; } + const $3 = findIndex(v(v1))(v2); + if ($3.tag === "Nothing") { return v2; } + if ($3.tag === "Just") { + const $4 = deleteAt($3._1)(v2); + if ($4.tag === "Just") { return $4._1; } + $runtime.fail(); + } + $runtime.fail(); +}; +const unionBy = eq2 => xs => ys => Data$dSemigroup.concatArray(xs)(Data$dFoldable.foldlArray(b => a => deleteBy(eq2)(a)(b))(nubByEq(eq2)(ys))(xs)); +const union = dictEq => unionBy(dictEq.eq); +const $$delete = dictEq => deleteBy(dictEq.eq); +const difference = dictEq => Data$dFoldable.foldrArray($$delete(dictEq)); +const cons = x => xs => Data$dSemigroup.concatArray([x])(xs); +const some = dictAlternative => { + const apply1 = dictAlternative.Applicative0().Apply0().apply; + const map3 = dictAlternative.Plus1().Alt0().Functor0().map; + return dictLazy => v => apply1(map3(cons)(v))(dictLazy.defer(v1 => many(dictAlternative)(dictLazy)(v))); +}; +const many = dictAlternative => { + const alt = dictAlternative.Plus1().Alt0().alt; + const pure1 = dictAlternative.Applicative0().pure; + return dictLazy => v => alt(some(dictAlternative)(dictLazy)(v))(pure1([])); +}; +const concatMap = b => a => Control$dBind.arrayBind(a)(b); +const mapMaybe = f => concatMap(x => { + const $2 = f(x); + if ($2.tag === "Nothing") { return []; } + if ($2.tag === "Just") { return [$2._1]; } + $runtime.fail(); +}); +const filterA = dictApplicative => { + const traverse1 = Data$dTraversable.traversableArray.traverse(dictApplicative); + const map3 = dictApplicative.Apply0().Functor0().map; + return p => { + const $4 = traverse1(x => map3(Data$dTuple.Tuple(x))(p(x))); + const $5 = map3(mapMaybe(v => { + if (v._2) { return Data$dMaybe.$Maybe("Just", v._1); } + return Data$dMaybe.Nothing; + })); + return x => $5($4(x)); + }; +}; +const catMaybes = /* #__PURE__ */ mapMaybe(x => x); +const alterAt = i => f => xs => { + const $3 = index(xs)(i); + if ($3.tag === "Nothing") { return Data$dMaybe.Nothing; } + if ($3.tag === "Just") { + const v = f($3._1); + if (v.tag === "Nothing") { return deleteAt(i)(xs); } + if (v.tag === "Just") { return updateAt(i)(v._1)(xs); } + $runtime.fail(); + } + $runtime.fail(); +}; +export { + alterAt, + catMaybes, + concatMap, + cons, + $$delete as delete, + deleteAt, + deleteBy, + difference, + drop, + dropEnd, + dropWhile, + elem, + elemIndex, + elemLastIndex, + filterA, + find, + findIndex, + findLastIndex, + findMap, + fold, + foldM, + foldMap, + foldRecM, + foldl, + foldr, + fromFoldable, + group, + groupAll, + groupAllBy, + groupBy, + head, + index, + init, + insert, + insertAt, + insertBy, + intercalate, + intercalate1, + intersect, + intersectBy, + intersperse, + last, + many, + mapMaybe, + mapWithIndex, + modifyAt, + modifyAtIndices, + notElem, + nub, + nubBy, + nubByEq, + nubEq, + $$null as null, + singleton, + snoc, + some, + sort, + sortBy, + sortWith, + span, + splitAt, + tail, + take, + takeEnd, + takeWhile, + toUnfoldable, + transpose, + traverse_, + uncons, + union, + unionBy, + unsafeIndex, + unsnoc, + unzip, + updateAt, + updateAtIndices, + zip, + zipWithA +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.ArrayBuffer.Types/index.js b/.storybook/purescript-indexer/output-es/Data.ArrayBuffer.Types/index.js new file mode 100644 index 0000000..2d3a7c9 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.ArrayBuffer.Types/index.js @@ -0,0 +1,2 @@ +import * as $runtime from "../runtime.js"; +export {}; diff --git a/.storybook/purescript-indexer/output-es/Data.Bifoldable/index.js b/.storybook/purescript-indexer/output-es/Data.Bifoldable/index.js new file mode 100644 index 0000000..42b401c --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Bifoldable/index.js @@ -0,0 +1,158 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dApply from "../Control.Apply/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const identity = x => x; +const monoidEndo = /* #__PURE__ */ (() => { + const semigroupEndo1 = {append: v => v1 => x => v(v1(x))}; + return {mempty: x => x, Semigroup0: () => semigroupEndo1}; +})(); +const monoidDual = /* #__PURE__ */ (() => { + const $0 = monoidEndo.Semigroup0(); + const semigroupDual1 = {append: v => v1 => $0.append(v1)(v)}; + return {mempty: monoidEndo.mempty, Semigroup0: () => semigroupDual1}; +})(); +const bifoldr = dict => dict.bifoldr; +const bitraverse_ = dictBifoldable => dictApplicative => { + const $2 = dictApplicative.Apply0(); + const map = $2.Functor0().map; + return f => g => dictBifoldable.bifoldr(x => { + const $7 = f(x); + return b => $2.apply(map(v => Control$dApply.identity)($7))(b); + })(x => { + const $7 = g(x); + return b => $2.apply(map(v => Control$dApply.identity)($7))(b); + })(dictApplicative.pure(Data$dUnit.unit)); +}; +const bifor_ = dictBifoldable => dictApplicative => { + const bitraverse_2 = bitraverse_(dictBifoldable)(dictApplicative); + return t => f => g => bitraverse_2(f)(g)(t); +}; +const bisequence_ = dictBifoldable => dictApplicative => bitraverse_(dictBifoldable)(dictApplicative)(identity)(identity); +const bifoldl = dict => dict.bifoldl; +const bifoldableTuple = { + bifoldMap: dictMonoid => { + const append = dictMonoid.Semigroup0().append; + return f => g => v => append(f(v._1))(g(v._2)); + }, + bifoldr: f => g => z => v => f(v._1)(g(v._2)(z)), + bifoldl: f => g => z => v => g(f(z)(v._1))(v._2) +}; +const bifoldableJoker = dictFoldable => ( + { + bifoldr: v => r => u => v1 => dictFoldable.foldr(r)(u)(v1), + bifoldl: v => r => u => v1 => dictFoldable.foldl(r)(u)(v1), + bifoldMap: dictMonoid => { + const foldMap1 = dictFoldable.foldMap(dictMonoid); + return v => r => v1 => foldMap1(r)(v1); + } + } +); +const bifoldableEither = { + bifoldr: v => v1 => v2 => v3 => { + if (v3.tag === "Left") { return v(v3._1)(v2); } + if (v3.tag === "Right") { return v1(v3._1)(v2); } + $runtime.fail(); + }, + bifoldl: v => v1 => v2 => v3 => { + if (v3.tag === "Left") { return v(v2)(v3._1); } + if (v3.tag === "Right") { return v1(v2)(v3._1); } + $runtime.fail(); + }, + bifoldMap: dictMonoid => v => v1 => v2 => { + if (v2.tag === "Left") { return v(v2._1); } + if (v2.tag === "Right") { return v1(v2._1); } + $runtime.fail(); + } +}; +const bifoldableConst = {bifoldr: f => v => z => v1 => f(v1)(z), bifoldl: f => v => z => v1 => f(z)(v1), bifoldMap: dictMonoid => f => v => v1 => f(v1)}; +const bifoldableClown = dictFoldable => ( + { + bifoldr: l => v => u => v1 => dictFoldable.foldr(l)(u)(v1), + bifoldl: l => v => u => v1 => dictFoldable.foldl(l)(u)(v1), + bifoldMap: dictMonoid => { + const foldMap1 = dictFoldable.foldMap(dictMonoid); + return l => v => v1 => foldMap1(l)(v1); + } + } +); +const bifoldMapDefaultR = dictBifoldable => dictMonoid => { + const append = dictMonoid.Semigroup0().append; + return f => g => dictBifoldable.bifoldr(x => append(f(x)))(x => append(g(x)))(dictMonoid.mempty); +}; +const bifoldMapDefaultL = dictBifoldable => dictMonoid => { + const append = dictMonoid.Semigroup0().append; + return f => g => dictBifoldable.bifoldl(m => a => append(m)(f(a)))(m => b => append(m)(g(b)))(dictMonoid.mempty); +}; +const bifoldMap = dict => dict.bifoldMap; +const bifoldableFlip = dictBifoldable => ( + { + bifoldr: r => l => u => v => dictBifoldable.bifoldr(l)(r)(u)(v), + bifoldl: r => l => u => v => dictBifoldable.bifoldl(l)(r)(u)(v), + bifoldMap: dictMonoid => { + const bifoldMap2 = dictBifoldable.bifoldMap(dictMonoid); + return r => l => v => bifoldMap2(l)(r)(v); + } + } +); +const bifoldlDefault = dictBifoldable => { + const bifoldMap1 = dictBifoldable.bifoldMap(monoidDual); + return f => g => z => p => bifoldMap1(x => a => f(a)(x))(x => a => g(a)(x))(p)(z); +}; +const bifoldrDefault = dictBifoldable => { + const bifoldMap1 = dictBifoldable.bifoldMap(monoidEndo); + return f => g => z => p => bifoldMap1(x => f(x))(x => g(x))(p)(z); +}; +const bifoldableProduct2 = dictBifoldable => dictBifoldable1 => ( + { + bifoldr: l => r => u => m => bifoldrDefault(bifoldableProduct2(dictBifoldable)(dictBifoldable1))(l)(r)(u)(m), + bifoldl: l => r => u => m => bifoldlDefault(bifoldableProduct2(dictBifoldable)(dictBifoldable1))(l)(r)(u)(m), + bifoldMap: dictMonoid => { + const append = dictMonoid.Semigroup0().append; + const bifoldMap3 = dictBifoldable.bifoldMap(dictMonoid); + const bifoldMap4 = dictBifoldable1.bifoldMap(dictMonoid); + return l => r => v => append(bifoldMap3(l)(r)(v._1))(bifoldMap4(l)(r)(v._2)); + } + } +); +const bifold = dictBifoldable => dictMonoid => dictBifoldable.bifoldMap(dictMonoid)(identity)(identity); +const biany = dictBifoldable => dictBooleanAlgebra => { + const bifoldMap2 = dictBifoldable.bifoldMap((() => { + const $2 = dictBooleanAlgebra.HeytingAlgebra0(); + const semigroupDisj1 = {append: v => v1 => $2.disj(v)(v1)}; + return {mempty: $2.ff, Semigroup0: () => semigroupDisj1}; + })()); + return p => q => bifoldMap2(x => p(x))(x => q(x)); +}; +const biall = dictBifoldable => dictBooleanAlgebra => { + const bifoldMap2 = dictBifoldable.bifoldMap((() => { + const $2 = dictBooleanAlgebra.HeytingAlgebra0(); + const semigroupConj1 = {append: v => v1 => $2.conj(v)(v1)}; + return {mempty: $2.tt, Semigroup0: () => semigroupConj1}; + })()); + return p => q => bifoldMap2(x => p(x))(x => q(x)); +}; +export { + biall, + biany, + bifold, + bifoldMap, + bifoldMapDefaultL, + bifoldMapDefaultR, + bifoldableClown, + bifoldableConst, + bifoldableEither, + bifoldableFlip, + bifoldableJoker, + bifoldableProduct2, + bifoldableTuple, + bifoldl, + bifoldlDefault, + bifoldr, + bifoldrDefault, + bifor_, + bisequence_, + bitraverse_, + identity, + monoidDual, + monoidEndo +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Bifunctor.Join/index.js b/.storybook/purescript-indexer/output-es/Data.Bifunctor.Join/index.js new file mode 100644 index 0000000..6cb8e3d --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Bifunctor.Join/index.js @@ -0,0 +1,20 @@ +import * as $runtime from "../runtime.js"; +const Join = x => x; +const showJoin = dictShow => ({show: v => "(Join " + (dictShow.show(v) + ")")}); +const ordJoin = dictOrd => dictOrd; +const newtypeJoin = {Coercible0: () => undefined}; +const eqJoin = dictEq => dictEq; +const bifunctorJoin = dictBifunctor => ({map: f => v => dictBifunctor.bimap(f)(f)(v)}); +const biapplyJoin = dictBiapply => { + const $1 = dictBiapply.Bifunctor0(); + const bifunctorJoin1 = {map: f => v => $1.bimap(f)(f)(v)}; + return {apply: v => v1 => dictBiapply.biapply(v)(v1), Functor0: () => bifunctorJoin1}; +}; +const biapplicativeJoin = dictBiapplicative => { + const $1 = dictBiapplicative.Biapply0(); + const $2 = $1.Bifunctor0(); + const bifunctorJoin1 = {map: f => v => $2.bimap(f)(f)(v)}; + const biapplyJoin1 = {apply: v => v1 => $1.biapply(v)(v1), Functor0: () => bifunctorJoin1}; + return {pure: a => dictBiapplicative.bipure(a)(a), Apply0: () => biapplyJoin1}; +}; +export {Join, biapplicativeJoin, biapplyJoin, bifunctorJoin, eqJoin, newtypeJoin, ordJoin, showJoin}; diff --git a/.storybook/purescript-indexer/output-es/Data.Bifunctor/index.js b/.storybook/purescript-indexer/output-es/Data.Bifunctor/index.js new file mode 100644 index 0000000..c4f8b81 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Bifunctor/index.js @@ -0,0 +1,17 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const identity = x => x; +const bimap = dict => dict.bimap; +const lmap = dictBifunctor => f => dictBifunctor.bimap(f)(identity); +const rmap = dictBifunctor => dictBifunctor.bimap(identity); +const bifunctorTuple = {bimap: f => g => v => Data$dTuple.$Tuple(f(v._1), g(v._2))}; +const bifunctorEither = { + bimap: v => v1 => v2 => { + if (v2.tag === "Left") { return Data$dEither.$Either("Left", v(v2._1)); } + if (v2.tag === "Right") { return Data$dEither.$Either("Right", v1(v2._1)); } + $runtime.fail(); + } +}; +const bifunctorConst = {bimap: f => v => v1 => f(v1)}; +export {bifunctorConst, bifunctorEither, bifunctorTuple, bimap, identity, lmap, rmap}; diff --git a/.storybook/purescript-indexer/output-es/Data.Bitraversable/index.js b/.storybook/purescript-indexer/output-es/Data.Bitraversable/index.js new file mode 100644 index 0000000..dbedc34 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Bitraversable/index.js @@ -0,0 +1,210 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dBifoldable from "../Data.Bifoldable/index.js"; +import * as Data$dBifunctor from "../Data.Bifunctor/index.js"; +import * as Data$dConst from "../Data.Const/index.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dFunctor$dClown from "../Data.Functor.Clown/index.js"; +import * as Data$dFunctor$dFlip from "../Data.Functor.Flip/index.js"; +import * as Data$dFunctor$dJoker from "../Data.Functor.Joker/index.js"; +import * as Data$dFunctor$dProduct2 from "../Data.Functor.Product2/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const identity = x => x; +const bitraverse = dict => dict.bitraverse; +const lfor = dictBitraversable => dictApplicative => { + const bitraverse2 = dictBitraversable.bitraverse(dictApplicative); + return t => f => bitraverse2(f)(dictApplicative.pure)(t); +}; +const ltraverse = dictBitraversable => dictApplicative => { + const bitraverse2 = dictBitraversable.bitraverse(dictApplicative); + return f => bitraverse2(f)(dictApplicative.pure); +}; +const rfor = dictBitraversable => dictApplicative => { + const bitraverse2 = dictBitraversable.bitraverse(dictApplicative); + return t => f => bitraverse2(dictApplicative.pure)(f)(t); +}; +const rtraverse = dictBitraversable => dictApplicative => dictBitraversable.bitraverse(dictApplicative)(dictApplicative.pure); +const bitraversableTuple = { + bitraverse: dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map = Apply0.Functor0().map; + return f => g => v => Apply0.apply(map(Data$dTuple.Tuple)(f(v._1)))(g(v._2)); + }, + bisequence: dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map = Apply0.Functor0().map; + return v => Apply0.apply(map(Data$dTuple.Tuple)(v._1))(v._2); + }, + Bifunctor0: () => Data$dBifunctor.bifunctorTuple, + Bifoldable1: () => Data$dBifoldable.bifoldableTuple +}; +const bitraversableJoker = dictTraversable => { + const $1 = dictTraversable.Functor0(); + const bifunctorJoker = {bimap: v => g => v1 => $1.map(g)(v1)}; + const $3 = dictTraversable.Foldable1(); + const bifoldableJoker = { + bifoldr: v => r => u => v1 => $3.foldr(r)(u)(v1), + bifoldl: v => r => u => v1 => $3.foldl(r)(u)(v1), + bifoldMap: dictMonoid => { + const foldMap1 = $3.foldMap(dictMonoid); + return v => r => v1 => foldMap1(r)(v1); + } + }; + return { + bitraverse: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const traverse1 = dictTraversable.traverse(dictApplicative); + return v => r => v1 => map(Data$dFunctor$dJoker.Joker)(traverse1(r)(v1)); + }, + bisequence: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const sequence1 = dictTraversable.sequence(dictApplicative); + return v => map(Data$dFunctor$dJoker.Joker)(sequence1(v)); + }, + Bifunctor0: () => bifunctorJoker, + Bifoldable1: () => bifoldableJoker + }; +}; +const bitraversableEither = { + bitraverse: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return v => v1 => v2 => { + if (v2.tag === "Left") { return map(Data$dEither.Left)(v(v2._1)); } + if (v2.tag === "Right") { return map(Data$dEither.Right)(v1(v2._1)); } + $runtime.fail(); + }; + }, + bisequence: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return v => { + if (v.tag === "Left") { return map(Data$dEither.Left)(v._1); } + if (v.tag === "Right") { return map(Data$dEither.Right)(v._1); } + $runtime.fail(); + }; + }, + Bifunctor0: () => Data$dBifunctor.bifunctorEither, + Bifoldable1: () => Data$dBifoldable.bifoldableEither +}; +const bitraversableConst = { + bitraverse: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return f => v => v1 => map(Data$dConst.Const)(f(v1)); + }, + bisequence: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return v => map(Data$dConst.Const)(v); + }, + Bifunctor0: () => Data$dBifunctor.bifunctorConst, + Bifoldable1: () => Data$dBifoldable.bifoldableConst +}; +const bitraversableClown = dictTraversable => { + const $1 = dictTraversable.Functor0(); + const bifunctorClown = {bimap: f => v => v1 => $1.map(f)(v1)}; + const $3 = dictTraversable.Foldable1(); + const bifoldableClown = { + bifoldr: l => v => u => v1 => $3.foldr(l)(u)(v1), + bifoldl: l => v => u => v1 => $3.foldl(l)(u)(v1), + bifoldMap: dictMonoid => { + const foldMap1 = $3.foldMap(dictMonoid); + return l => v => v1 => foldMap1(l)(v1); + } + }; + return { + bitraverse: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const traverse1 = dictTraversable.traverse(dictApplicative); + return l => v => v1 => map(Data$dFunctor$dClown.Clown)(traverse1(l)(v1)); + }, + bisequence: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const sequence1 = dictTraversable.sequence(dictApplicative); + return v => map(Data$dFunctor$dClown.Clown)(sequence1(v)); + }, + Bifunctor0: () => bifunctorClown, + Bifoldable1: () => bifoldableClown + }; +}; +const bisequenceDefault = dictBitraversable => dictApplicative => dictBitraversable.bitraverse(dictApplicative)(identity)(identity); +const bisequence = dict => dict.bisequence; +const bitraversableFlip = dictBitraversable => { + const $1 = dictBitraversable.Bifunctor0(); + const bifunctorFlip = {bimap: f => g => v => $1.bimap(g)(f)(v)}; + const $3 = dictBitraversable.Bifoldable1(); + const bifoldableFlip = { + bifoldr: r => l => u => v => $3.bifoldr(l)(r)(u)(v), + bifoldl: r => l => u => v => $3.bifoldl(l)(r)(u)(v), + bifoldMap: dictMonoid => { + const bifoldMap2 = $3.bifoldMap(dictMonoid); + return r => l => v => bifoldMap2(l)(r)(v); + } + }; + return { + bitraverse: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const bitraverse2 = dictBitraversable.bitraverse(dictApplicative); + return r => l => v => map(Data$dFunctor$dFlip.Flip)(bitraverse2(l)(r)(v)); + }, + bisequence: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const bisequence2 = dictBitraversable.bisequence(dictApplicative); + return v => map(Data$dFunctor$dFlip.Flip)(bisequence2(v)); + }, + Bifunctor0: () => bifunctorFlip, + Bifoldable1: () => bifoldableFlip + }; +}; +const bitraversableProduct2 = dictBitraversable => { + const bifunctorProduct2 = Data$dFunctor$dProduct2.bifunctorProduct2(dictBitraversable.Bifunctor0()); + const bifoldableProduct2 = Data$dBifoldable.bifoldableProduct2(dictBitraversable.Bifoldable1()); + return dictBitraversable1 => { + const bifunctorProduct21 = bifunctorProduct2(dictBitraversable1.Bifunctor0()); + const bifoldableProduct21 = bifoldableProduct2(dictBitraversable1.Bifoldable1()); + return { + bitraverse: dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map = Apply0.Functor0().map; + const bitraverse3 = dictBitraversable.bitraverse(dictApplicative); + const bitraverse4 = dictBitraversable1.bitraverse(dictApplicative); + return l => r => v => Apply0.apply(map(Data$dFunctor$dProduct2.Product2)(bitraverse3(l)(r)(v._1)))(bitraverse4(l)(r)(v._2)); + }, + bisequence: dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map = Apply0.Functor0().map; + const bisequence3 = dictBitraversable.bisequence(dictApplicative); + const bisequence4 = dictBitraversable1.bisequence(dictApplicative); + return v => Apply0.apply(map(Data$dFunctor$dProduct2.Product2)(bisequence3(v._1)))(bisequence4(v._2)); + }, + Bifunctor0: () => bifunctorProduct21, + Bifoldable1: () => bifoldableProduct21 + }; + }; +}; +const bitraverseDefault = dictBitraversable => { + const bimap = dictBitraversable.Bifunctor0().bimap; + return dictApplicative => { + const bisequence2 = dictBitraversable.bisequence(dictApplicative); + return f => g => t => bisequence2(bimap(f)(g)(t)); + }; +}; +const bifor = dictBitraversable => dictApplicative => { + const bitraverse2 = dictBitraversable.bitraverse(dictApplicative); + return t => f => g => bitraverse2(f)(g)(t); +}; +export { + bifor, + bisequence, + bisequenceDefault, + bitraversableClown, + bitraversableConst, + bitraversableEither, + bitraversableFlip, + bitraversableJoker, + bitraversableProduct2, + bitraversableTuple, + bitraverse, + bitraverseDefault, + identity, + lfor, + ltraverse, + rfor, + rtraverse +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Boolean/index.js b/.storybook/purescript-indexer/output-es/Data.Boolean/index.js new file mode 100644 index 0000000..625b9f1 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Boolean/index.js @@ -0,0 +1,3 @@ +import * as $runtime from "../runtime.js"; +const otherwise = true; +export {otherwise}; diff --git a/.storybook/purescript-indexer/output-es/Data.BooleanAlgebra/index.js b/.storybook/purescript-indexer/output-es/Data.BooleanAlgebra/index.js new file mode 100644 index 0000000..3914a1f --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.BooleanAlgebra/index.js @@ -0,0 +1,39 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dHeytingAlgebra from "../Data.HeytingAlgebra/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +const booleanAlgebraUnit = {HeytingAlgebra0: () => Data$dHeytingAlgebra.heytingAlgebraUnit}; +const booleanAlgebraRecordNil = {HeytingAlgebraRecord0: () => Data$dHeytingAlgebra.heytingAlgebraRecordNil}; +const booleanAlgebraRecordCons = dictIsSymbol => () => dictBooleanAlgebraRecord => { + const heytingAlgebraRecordCons1 = Data$dHeytingAlgebra.heytingAlgebraRecordCons(dictIsSymbol)()(dictBooleanAlgebraRecord.HeytingAlgebraRecord0()); + return dictBooleanAlgebra => { + const heytingAlgebraRecordCons2 = heytingAlgebraRecordCons1(dictBooleanAlgebra.HeytingAlgebra0()); + return {HeytingAlgebraRecord0: () => heytingAlgebraRecordCons2}; + }; +}; +const booleanAlgebraRecord = () => dictBooleanAlgebraRecord => { + const $2 = dictBooleanAlgebraRecord.HeytingAlgebraRecord0(); + const heytingAlgebraRecord1 = { + ff: $2.ffRecord(Type$dProxy.Proxy)(Type$dProxy.Proxy), + tt: $2.ttRecord(Type$dProxy.Proxy)(Type$dProxy.Proxy), + conj: $2.conjRecord(Type$dProxy.Proxy), + disj: $2.disjRecord(Type$dProxy.Proxy), + implies: $2.impliesRecord(Type$dProxy.Proxy), + not: $2.notRecord(Type$dProxy.Proxy) + }; + return {HeytingAlgebra0: () => heytingAlgebraRecord1}; +}; +const booleanAlgebraProxy = {HeytingAlgebra0: () => Data$dHeytingAlgebra.heytingAlgebraProxy}; +const booleanAlgebraFn = dictBooleanAlgebra => { + const $1 = dictBooleanAlgebra.HeytingAlgebra0(); + const heytingAlgebraFunction = { + ff: v => $1.ff, + tt: v => $1.tt, + implies: f => g => a => $1.implies(f(a))(g(a)), + conj: f => g => a => $1.conj(f(a))(g(a)), + disj: f => g => a => $1.disj(f(a))(g(a)), + not: f => a => $1.not(f(a)) + }; + return {HeytingAlgebra0: () => heytingAlgebraFunction}; +}; +const booleanAlgebraBoolean = {HeytingAlgebra0: () => Data$dHeytingAlgebra.heytingAlgebraBoolean}; +export {booleanAlgebraBoolean, booleanAlgebraFn, booleanAlgebraProxy, booleanAlgebraRecord, booleanAlgebraRecordCons, booleanAlgebraRecordNil, booleanAlgebraUnit}; diff --git a/.storybook/purescript-indexer/output-es/Data.Bounded.Generic/index.js b/.storybook/purescript-indexer/output-es/Data.Bounded.Generic/index.js new file mode 100644 index 0000000..bb3ca1c --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Bounded.Generic/index.js @@ -0,0 +1,34 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dGeneric$dRep from "../Data.Generic.Rep/index.js"; +const genericTopNoArguments = {"genericTop'": Data$dGeneric$dRep.NoArguments}; +const genericTopArgument = dictBounded => ({"genericTop'": dictBounded.top}); +const genericTop$p = dict => dict["genericTop'"]; +const genericTopConstructor = dictGenericTop => ({"genericTop'": dictGenericTop["genericTop'"]}); +const genericTopProduct = dictGenericTop => dictGenericTop1 => ({"genericTop'": Data$dGeneric$dRep.$Product(dictGenericTop["genericTop'"], dictGenericTop1["genericTop'"])}); +const genericTopSum = dictGenericTop => ({"genericTop'": Data$dGeneric$dRep.$Sum("Inr", dictGenericTop["genericTop'"])}); +const genericTop = dictGeneric => dictGenericTop => dictGeneric.to(dictGenericTop["genericTop'"]); +const genericBottomNoArguments = {"genericBottom'": Data$dGeneric$dRep.NoArguments}; +const genericBottomArgument = dictBounded => ({"genericBottom'": dictBounded.bottom}); +const genericBottom$p = dict => dict["genericBottom'"]; +const genericBottomConstructor = dictGenericBottom => ({"genericBottom'": dictGenericBottom["genericBottom'"]}); +const genericBottomProduct = dictGenericBottom => dictGenericBottom1 => ( + {"genericBottom'": Data$dGeneric$dRep.$Product(dictGenericBottom["genericBottom'"], dictGenericBottom1["genericBottom'"])} +); +const genericBottomSum = dictGenericBottom => ({"genericBottom'": Data$dGeneric$dRep.$Sum("Inl", dictGenericBottom["genericBottom'"])}); +const genericBottom = dictGeneric => dictGenericBottom => dictGeneric.to(dictGenericBottom["genericBottom'"]); +export { + genericBottom, + genericBottom$p, + genericBottomArgument, + genericBottomConstructor, + genericBottomNoArguments, + genericBottomProduct, + genericBottomSum, + genericTop, + genericTop$p, + genericTopArgument, + genericTopConstructor, + genericTopNoArguments, + genericTopProduct, + genericTopSum +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Bounded/foreign.js b/.storybook/purescript-indexer/output-es/Data.Bounded/foreign.js new file mode 100644 index 0000000..094350b --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Bounded/foreign.js @@ -0,0 +1,8 @@ +export const topInt = 2147483647; +export const bottomInt = -2147483648; + +export const topChar = String.fromCharCode(65535); +export const bottomChar = String.fromCharCode(0); + +export const topNumber = Number.POSITIVE_INFINITY; +export const bottomNumber = Number.NEGATIVE_INFINITY; diff --git a/.storybook/purescript-indexer/output-es/Data.Bounded/index.js b/.storybook/purescript-indexer/output-es/Data.Bounded/index.js new file mode 100644 index 0000000..9be272f --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Bounded/index.js @@ -0,0 +1,72 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import * as Record$dUnsafe from "../Record.Unsafe/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +import {bottomChar, bottomInt, bottomNumber, topChar, topInt, topNumber} from "./foreign.js"; +const topRecord = dict => dict.topRecord; +const top = dict => dict.top; +const boundedUnit = {top: Data$dUnit.unit, bottom: Data$dUnit.unit, Ord0: () => Data$dOrd.ordUnit}; +const boundedRecordNil = {topRecord: v => v1 => ({}), bottomRecord: v => v1 => ({}), OrdRecord0: () => Data$dOrd.ordRecordNil}; +const boundedProxy = {bottom: Type$dProxy.Proxy, top: Type$dProxy.Proxy, Ord0: () => Data$dOrd.ordProxy}; +const boundedOrdering = {top: Data$dOrdering.GT, bottom: Data$dOrdering.LT, Ord0: () => Data$dOrd.ordOrdering}; +const boundedNumber = {top: topNumber, bottom: bottomNumber, Ord0: () => Data$dOrd.ordNumber}; +const boundedInt = {top: 2147483647, bottom: -2147483648, Ord0: () => Data$dOrd.ordInt}; +const boundedChar = {top: "￿", bottom: "\u0000", Ord0: () => Data$dOrd.ordChar}; +const boundedBoolean = {top: true, bottom: false, Ord0: () => Data$dOrd.ordBoolean}; +const bottomRecord = dict => dict.bottomRecord; +const boundedRecord = () => dictBoundedRecord => { + const ordRecord1 = Data$dOrd.ordRecord()(dictBoundedRecord.OrdRecord0()); + return { + top: dictBoundedRecord.topRecord(Type$dProxy.Proxy)(Type$dProxy.Proxy), + bottom: dictBoundedRecord.bottomRecord(Type$dProxy.Proxy)(Type$dProxy.Proxy), + Ord0: () => ordRecord1 + }; +}; +const bottom = dict => dict.bottom; +const boundedRecordCons = dictIsSymbol => dictBounded => { + const Ord0 = dictBounded.Ord0(); + return () => () => dictBoundedRecord => { + const $6 = dictBoundedRecord.OrdRecord0(); + const $7 = $6.EqRecord0(); + const $8 = Ord0.Eq0(); + const eqRowCons2 = { + eqRecord: v => ra => rb => { + const $$get = Record$dUnsafe.unsafeGet(dictIsSymbol.reflectSymbol(Type$dProxy.Proxy)); + return $8.eq($$get(ra))($$get(rb)) && $7.eqRecord(Type$dProxy.Proxy)(ra)(rb); + } + }; + const ordRecordCons = { + compareRecord: v => ra => rb => { + const key = dictIsSymbol.reflectSymbol(Type$dProxy.Proxy); + const left = Ord0.compare(Record$dUnsafe.unsafeGet(key)(ra))(Record$dUnsafe.unsafeGet(key)(rb)); + if (left.tag === "LT" || (left.tag === "GT" || !(left.tag === "EQ"))) { return left; } + return $6.compareRecord(Type$dProxy.Proxy)(ra)(rb); + }, + EqRecord0: () => eqRowCons2 + }; + return { + topRecord: v => rowProxy => Record$dUnsafe.unsafeSet(dictIsSymbol.reflectSymbol(Type$dProxy.Proxy))(dictBounded.top)(dictBoundedRecord.topRecord(Type$dProxy.Proxy)(rowProxy)), + bottomRecord: v => rowProxy => Record$dUnsafe.unsafeSet(dictIsSymbol.reflectSymbol(Type$dProxy.Proxy))(dictBounded.bottom)(dictBoundedRecord.bottomRecord(Type$dProxy.Proxy)(rowProxy)), + OrdRecord0: () => ordRecordCons + }; + }; +}; +export { + bottom, + bottomRecord, + boundedBoolean, + boundedChar, + boundedInt, + boundedNumber, + boundedOrdering, + boundedProxy, + boundedRecord, + boundedRecordCons, + boundedRecordNil, + boundedUnit, + top, + topRecord +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.CatList/index.js b/.storybook/purescript-indexer/output-es/Data.CatList/index.js new file mode 100644 index 0000000..af277dd --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.CatList/index.js @@ -0,0 +1,322 @@ +// | This module defines a strict catenable list. +// | +// | The implementation is based on a queue where all operations require +// | `O(1)` amortized time. +// | +// | However, any single `uncons` operation may run in `O(n)` time. +// | +// | See [Purely Functional Data Structures](http://www.cs.cmu.edu/~rwh/theses/okasaki.pdf) (Okasaki 1996) +import * as $runtime from "../runtime.js"; +import * as Data$dCatQueue from "../Data.CatQueue/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const $CatList = (tag, _1, _2) => ({tag, _1, _2}); +const CatNil = /* #__PURE__ */ $CatList("CatNil"); +const CatCons = value0 => value1 => $CatList("CatCons", value0, value1); +const showCatList = dictShow => ( + { + show: v => { + if (v.tag === "CatNil") { return "CatNil"; } + if (v.tag === "CatCons") { return "(CatList " + (dictShow.show(v._1) + (" " + (Data$dCatQueue.showCatQueue(showCatList(dictShow)).show(v._2) + ")"))); } + $runtime.fail(); + } + } +); +const $$null = v => v.tag === "CatNil"; +const link = v => v1 => { + if (v.tag === "CatNil") { return v1; } + if (v1.tag === "CatNil") { return v; } + if (v.tag === "CatCons") { return $CatList("CatCons", v._1, Data$dCatQueue.$CatQueue(v._2._1, Data$dList$dTypes.$List("Cons", v1, v._2._2))); } + $runtime.fail(); +}; +const foldr = k => b => q => { + const foldl = foldl$a0$copy => foldl$a1$copy => foldl$a2$copy => { + let foldl$a0 = foldl$a0$copy, foldl$a1 = foldl$a1$copy, foldl$a2 = foldl$a2$copy, foldl$c = true, foldl$r; + while (foldl$c) { + const v = foldl$a0, v1 = foldl$a1, v2 = foldl$a2; + if (v2.tag === "Nil") { + foldl$c = false; + foldl$r = v1; + continue; + } + if (v2.tag === "Cons") { + foldl$a0 = v; + foldl$a1 = v(v1)(v2._1); + foldl$a2 = v2._2; + continue; + } + $runtime.fail(); + }; + return foldl$r; + }; + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const xs = go$a0, ys = go$a1; + const v = Data$dCatQueue.uncons(xs); + if (v.tag === "Nothing") { + go$c = false; + go$r = foldl(x => i => i(x))(b)(ys); + continue; + } + if (v.tag === "Just") { + go$a0 = v._1._2; + go$a1 = Data$dList$dTypes.$List("Cons", k(v._1._1), ys); + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(q)(Data$dList$dTypes.Nil); +}; +const uncons = v => { + if (v.tag === "CatNil") { return Data$dMaybe.Nothing; } + if (v.tag === "CatCons") { + return Data$dMaybe.$Maybe( + "Just", + Data$dTuple.$Tuple( + v._1, + (() => { + if ( + (() => { + if (v._2._1.tag === "Nil") { return v._2._2.tag === "Nil"; } + return false; + })() + ) { + return CatNil; + } + return foldr(link)(CatNil)(v._2); + })() + ) + ); + } + $runtime.fail(); +}; +const foldableCatList = { + foldMap: dictMonoid => { + const append$1 = dictMonoid.Semigroup0().append; + return f => foldableCatList.foldl(acc => x => append$1(acc)(f(x)))(dictMonoid.mempty); + }, + foldr: f => s => l => Data$dFoldable.foldrDefault(foldableCatList)(f)(s)(l), + foldl: f => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const acc = go$a0, q = go$a1; + const v = uncons(q); + if (v.tag === "Just") { + go$a0 = f(acc)(v._1._1); + go$a1 = v._1._2; + continue; + } + if (v.tag === "Nothing") { + go$c = false; + go$r = acc; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go; + } +}; +const length = /* #__PURE__ */ (() => foldableCatList.foldl(c => v => 1 + c | 0)(0))(); +const foldMap = dictMonoid => { + const append2 = dictMonoid.Semigroup0().append; + return v => v1 => { + if (v1.tag === "CatNil") { return dictMonoid.mempty; } + if (v1.tag === "CatCons") { + return append2(v(v1._1))(foldMap(dictMonoid)(v)((() => { + if ( + (() => { + if (v1._2._1.tag === "Nil") { return v1._2._2.tag === "Nil"; } + return false; + })() + ) { + return CatNil; + } + return foldr(link)(CatNil)(v1._2); + })())); + } + $runtime.fail(); + }; +}; +const empty = CatNil; +const append = link; +const cons = a => cat => link($CatList("CatCons", a, Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil)))(cat); +const functorCatList = { + map: v => v1 => { + if (v1.tag === "CatNil") { return CatNil; } + if (v1.tag === "CatCons") { + return link($CatList("CatCons", v(v1._1), Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil)))(functorCatList.map(v)((() => { + if ( + (() => { + if (v1._2._1.tag === "Nil") { return v1._2._2.tag === "Nil"; } + return false; + })() + ) { + return CatNil; + } + return foldr(link)(CatNil)(v1._2); + })())); + } + $runtime.fail(); + } +}; +const singleton = a => link($CatList("CatCons", a, Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil)))(CatNil); +const traversableCatList = { + traverse: dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map = Apply0.Functor0().map; + return v => v1 => { + if (v1.tag === "CatNil") { return dictApplicative.pure(CatNil); } + if (v1.tag === "CatCons") { + return Apply0.apply(map(cons)(v(v1._1)))(traversableCatList.traverse(dictApplicative)(v)((() => { + if ( + (() => { + if (v1._2._1.tag === "Nil") { return v1._2._2.tag === "Nil"; } + return false; + })() + ) { + return CatNil; + } + return foldr(link)(CatNil)(v1._2); + })())); + } + $runtime.fail(); + }; + }, + sequence: dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map = Apply0.Functor0().map; + return v => { + if (v.tag === "CatNil") { return dictApplicative.pure(CatNil); } + if (v.tag === "CatCons") { + return Apply0.apply(map(cons)(v._1))(traversableCatList.sequence(dictApplicative)((() => { + if ( + (() => { + if (v._2._1.tag === "Nil") { return v._2._2.tag === "Nil"; } + return false; + })() + ) { + return CatNil; + } + return foldr(link)(CatNil)(v._2); + })())); + } + $runtime.fail(); + }; + }, + Functor0: () => functorCatList, + Foldable1: () => foldableCatList +}; +const semigroupCatList = {append: link}; +const monoidCatList = {mempty: CatNil, Semigroup0: () => semigroupCatList}; +const monadCatList = {Applicative0: () => applicativeCatList, Bind1: () => bindCatList$lazy()}; +const applyCatList = {apply: f => a => bindCatList$lazy().bind(f)(f$p => bindCatList$lazy().bind(a)(a$p => applicativeCatList.pure(f$p(a$p)))), Functor0: () => functorCatList}; +const applicativeCatList = {pure: singleton, Apply0: () => applyCatList}; +const bindCatList$lazy = /* #__PURE__ */ $runtime.binding(() => ( + { + bind: (() => { + const $0 = foldMap(monoidCatList); + return b => a => $0(a)(b); + })(), + Apply0: () => applyCatList + } +)); +const bindCatList = /* #__PURE__ */ bindCatList$lazy(); +const fromFoldable = dictFoldable => { + const foldMap1 = dictFoldable.foldMap(monoidCatList); + return f => foldMap1(singleton)(f); +}; +const snoc = cat => a => link(cat)($CatList("CatCons", a, Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil))); +const unfoldable1CatList = { + unfoldr1: f => b => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const source = go$a0, memo = go$a1; + const v = f(source); + if (v._2.tag === "Nothing") { + go$c = false; + go$r = link(memo)($CatList("CatCons", v._1, Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil))); + continue; + } + if (v._2.tag === "Just") { + go$a0 = v._2._1; + go$a1 = link(memo)($CatList("CatCons", v._1, Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil))); + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(b)(CatNil); + } +}; +const unfoldableCatList = { + unfoldr: f => b => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const source = go$a0, memo = go$a1; + const v = f(source); + if (v.tag === "Nothing") { + go$c = false; + go$r = memo; + continue; + } + if (v.tag === "Just") { + go$a0 = v._1._2; + go$a1 = link(memo)($CatList("CatCons", v._1._1, Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil))); + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(b)(CatNil); + }, + Unfoldable10: () => unfoldable1CatList +}; +const altCatList = {alt: link, Functor0: () => functorCatList}; +const plusCatList = {empty: CatNil, Alt0: () => altCatList}; +const alternativeCatList = {Applicative0: () => applicativeCatList, Plus1: () => plusCatList}; +const monadPlusCatList = {Monad0: () => monadCatList, Alternative1: () => alternativeCatList}; +export { + $CatList, + CatCons, + CatNil, + altCatList, + alternativeCatList, + append, + applicativeCatList, + applyCatList, + bindCatList, + cons, + empty, + foldMap, + foldableCatList, + foldr, + fromFoldable, + functorCatList, + length, + link, + monadCatList, + monadPlusCatList, + monoidCatList, + $$null as null, + plusCatList, + semigroupCatList, + showCatList, + singleton, + snoc, + traversableCatList, + uncons, + unfoldable1CatList, + unfoldableCatList +}; diff --git a/.storybook/purescript-indexer/output-es/Data.CatQueue/index.js b/.storybook/purescript-indexer/output-es/Data.CatQueue/index.js new file mode 100644 index 0000000..e187584 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.CatQueue/index.js @@ -0,0 +1,352 @@ +// | This module defines a strict double-ended queue. +// | +// | The queue implementation is based on a pair of lists where all +// | operations require `O(1)` amortized time. +// | +// | However, any single `uncons` operation may run in `O(n)` time. +// | +// | See [Simple and Efficient Purely Functional Queues and Dequeues](http://www.westpoint.edu/eecs/SiteAssets/SitePages/Faculty%20Publication%20Documents/Okasaki/jfp95queue.pdf) (Okasaki 1995) +import * as $runtime from "../runtime.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dList from "../Data.List/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import * as Data$dTraversable from "../Data.Traversable/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const $CatQueue = (_1, _2) => ({tag: "CatQueue", _1, _2}); +const CatQueue = value0 => value1 => $CatQueue(value0, value1); +const unsnoc = unsnoc$a0$copy => { + let unsnoc$a0 = unsnoc$a0$copy, unsnoc$c = true, unsnoc$r; + while (unsnoc$c) { + const v = unsnoc$a0; + if (v._2.tag === "Cons") { + unsnoc$c = false; + unsnoc$r = Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(v._2._1, $CatQueue(v._1, v._2._2))); + continue; + } + if (v._2.tag === "Nil") { + if (v._1.tag === "Nil") { + unsnoc$c = false; + unsnoc$r = Data$dMaybe.Nothing; + continue; + } + unsnoc$a0 = $CatQueue(Data$dList$dTypes.Nil, Data$dList.reverse(v._1)); + continue; + } + $runtime.fail(); + }; + return unsnoc$r; +}; +const uncons = uncons$a0$copy => { + let uncons$a0 = uncons$a0$copy, uncons$c = true, uncons$r; + while (uncons$c) { + const v = uncons$a0; + if (v._1.tag === "Nil") { + if (v._2.tag === "Nil") { + uncons$c = false; + uncons$r = Data$dMaybe.Nothing; + continue; + } + uncons$a0 = $CatQueue(Data$dList.reverse(v._2), Data$dList$dTypes.Nil); + continue; + } + if (v._1.tag === "Cons") { + uncons$c = false; + uncons$r = Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(v._1._1, $CatQueue(v._1._2, v._2))); + continue; + } + $runtime.fail(); + }; + return uncons$r; +}; +const snoc = v => a => $CatQueue(v._1, Data$dList$dTypes.$List("Cons", a, v._2)); +const showCatQueue = dictShow => { + const show = Data$dList$dTypes.showList(dictShow).show; + return {show: v => "(CatQueue " + (show(v._1) + (" " + (show(v._2) + ")")))}; +}; +const $$null = v => { + if (v._1.tag === "Nil") { return v._2.tag === "Nil"; } + return false; +}; +const length = v => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const b = go$a0, v$1 = go$a1; + if (v$1.tag === "Nil") { + go$c = false; + go$r = b; + continue; + } + if (v$1.tag === "Cons") { + go$a0 = b + 1 | 0; + go$a1 = v$1._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + const go$1 = go$1$a0$copy => go$1$a1$copy => { + let go$1$a0 = go$1$a0$copy, go$1$a1 = go$1$a1$copy, go$1$c = true, go$1$r; + while (go$1$c) { + const b = go$1$a0, v$1 = go$1$a1; + if (v$1.tag === "Nil") { + go$1$c = false; + go$1$r = b; + continue; + } + if (v$1.tag === "Cons") { + go$1$a0 = b + 1 | 0; + go$1$a1 = v$1._2; + continue; + } + $runtime.fail(); + }; + return go$1$r; + }; + return go(0)(v._1) + go$1(0)(v._2) | 0; +}; +const functorCatQueue = {map: f => v => $CatQueue(Data$dList$dTypes.listMap(f)(v._1), Data$dList$dTypes.listMap(f)(v._2))}; +const foldableCatQueue = { + foldMap: dictMonoid => { + const append = dictMonoid.Semigroup0().append; + return f => foldableCatQueue.foldl(acc => x => append(acc)(f(x)))(dictMonoid.mempty); + }, + foldr: f => Data$dFoldable.foldrDefault(foldableCatQueue)(f), + foldl: f => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const acc = go$a0, q = go$a1; + const v = uncons(q); + if (v.tag === "Just") { + go$a0 = f(acc)(v._1._1); + go$a1 = v._1._2; + continue; + } + if (v.tag === "Nothing") { + go$c = false; + go$r = acc; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go; + } +}; +const semigroupCatQueue = /* #__PURE__ */ (() => ({append: foldableCatQueue.foldl(snoc)}))(); +const empty = /* #__PURE__ */ $CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil); +const monoidCatQueue = {mempty: /* #__PURE__ */ $CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil), Semigroup0: () => semigroupCatQueue}; +const singleton = /* #__PURE__ */ snoc(/* #__PURE__ */ $CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil)); +const fromFoldable = dictFoldable => { + const foldMap = dictFoldable.foldMap(monoidCatQueue); + return f => foldMap(snoc($CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil)))(f); +}; +const traversableCatQueue = { + traverse: dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map1 = Apply0.Functor0().map; + const map = Apply0.Functor0().map; + return f => { + const $5 = map1(foldableCatQueue.foldl(snoc)($CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil))); + const $6 = foldableCatQueue.foldl(acc => x => Apply0.apply(map(snoc)(acc))(f(x)))(dictApplicative.pure($CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil))); + return x => $5($6(x)); + }; + }, + sequence: dictApplicative => traversableCatQueue.traverse(dictApplicative)(Data$dTraversable.identity), + Functor0: () => functorCatQueue, + Foldable1: () => foldableCatQueue +}; +const unfoldable1CatQueue = { + unfoldr1: f => b => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const source = go$a0, memo = go$a1; + const v = f(source); + if (v._2.tag === "Nothing") { + go$c = false; + go$r = $CatQueue(memo._1, Data$dList$dTypes.$List("Cons", v._1, memo._2)); + continue; + } + if (v._2.tag === "Just") { + go$a0 = v._2._1; + go$a1 = $CatQueue(memo._1, Data$dList$dTypes.$List("Cons", v._1, memo._2)); + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(b)($CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil)); + } +}; +const unfoldableCatQueue = { + unfoldr: f => b => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const source = go$a0, memo = go$a1; + const v = f(source); + if (v.tag === "Nothing") { + go$c = false; + go$r = memo; + continue; + } + if (v.tag === "Just") { + go$a0 = v._1._2; + go$a1 = $CatQueue(memo._1, Data$dList$dTypes.$List("Cons", v._1._1, memo._2)); + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(b)($CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil)); + }, + Unfoldable10: () => unfoldable1CatQueue +}; +const cqEq = dictEq => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const xs = go$a0, ys = go$a1; + const v = uncons(ys); + const v1 = uncons(xs); + if (v1.tag === "Just") { + if (v.tag === "Just") { + if (dictEq.eq(v1._1._1)(v._1._1)) { + go$a0 = v1._1._2; + go$a1 = v._1._2; + continue; + } + go$c = false; + go$r = false; + continue; + } + go$c = false; + go$r = false; + continue; + } + if (v1.tag === "Nothing") { + go$c = false; + go$r = v.tag === "Nothing"; + continue; + } + go$c = false; + go$r = false; + continue; + }; + return go$r; + }; + return go; +}; +const eqCatQueue = dictEq => ({eq: cqEq(dictEq)}); +const cqCompare = dictOrd => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const xs = go$a0, ys = go$a1; + const v = uncons(ys); + const v1 = uncons(xs); + if (v1.tag === "Just") { + if (v.tag === "Just") { + const v2 = dictOrd.compare(v1._1._1)(v._1._1); + if (v2.tag === "EQ") { + go$a0 = v1._1._2; + go$a1 = v._1._2; + continue; + } + go$c = false; + go$r = v2; + continue; + } + if (v.tag === "Nothing") { + go$c = false; + go$r = Data$dOrdering.GT; + continue; + } + $runtime.fail(); + } + if (v1.tag === "Nothing") { + if (v.tag === "Just") { + go$c = false; + go$r = Data$dOrdering.LT; + continue; + } + if (v.tag === "Nothing") { + go$c = false; + go$r = Data$dOrdering.EQ; + continue; + } + $runtime.fail(); + } + $runtime.fail(); + }; + return go$r; + }; + return go; +}; +const ordCatQueue = dictOrd => { + const eqCatQueue1 = {eq: cqEq(dictOrd.Eq0())}; + return {compare: cqCompare(dictOrd), Eq0: () => eqCatQueue1}; +}; +const cons = a => v => $CatQueue(Data$dList$dTypes.$List("Cons", a, v._1), v._2); +const monadCatQueue = {Applicative0: () => applicativeCatQueue$lazy(), Bind1: () => bindCatQueue$lazy()}; +const applyCatQueue = { + apply: f => a => bindCatQueue$lazy().bind(f)(f$p => bindCatQueue$lazy().bind(a)(a$p => applicativeCatQueue$lazy().pure(f$p(a$p)))), + Functor0: () => functorCatQueue +}; +const bindCatQueue$lazy = /* #__PURE__ */ $runtime.binding(() => ( + { + bind: (() => { + const $0 = foldableCatQueue.foldMap(monoidCatQueue); + return b => a => $0(a)(b); + })(), + Apply0: () => applyCatQueue + } +)); +const applicativeCatQueue$lazy = /* #__PURE__ */ $runtime.binding(() => ({pure: snoc($CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil)), Apply0: () => applyCatQueue})); +const bindCatQueue = /* #__PURE__ */ bindCatQueue$lazy(); +const applicativeCatQueue = /* #__PURE__ */ applicativeCatQueue$lazy(); +const altCatQueue = /* #__PURE__ */ (() => ({alt: semigroupCatQueue.append, Functor0: () => functorCatQueue}))(); +const plusCatQueue = {empty: /* #__PURE__ */ $CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil), Alt0: () => altCatQueue}; +const alternativeCatQueue = {Applicative0: () => applicativeCatQueue, Plus1: () => plusCatQueue}; +const monadPlusCatQueue = {Monad0: () => monadCatQueue, Alternative1: () => alternativeCatQueue}; +export { + $CatQueue, + CatQueue, + altCatQueue, + alternativeCatQueue, + applicativeCatQueue, + applyCatQueue, + bindCatQueue, + cons, + cqCompare, + cqEq, + empty, + eqCatQueue, + foldableCatQueue, + fromFoldable, + functorCatQueue, + length, + monadCatQueue, + monadPlusCatQueue, + monoidCatQueue, + $$null as null, + ordCatQueue, + plusCatQueue, + semigroupCatQueue, + showCatQueue, + singleton, + snoc, + traversableCatQueue, + uncons, + unfoldable1CatQueue, + unfoldableCatQueue, + unsnoc +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Char.Gen/index.js b/.storybook/purescript-indexer/output-es/Data.Char.Gen/index.js new file mode 100644 index 0000000..16bda1e --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Char.Gen/index.js @@ -0,0 +1,22 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dGen from "../Control.Monad.Gen/index.js"; +import * as Data$dEnum from "../Data.Enum/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dNonEmpty from "../Data.NonEmpty/index.js"; +const toEnumWithDefaults = low => high => x => { + if (x >= 0 && x <= 65535) { return Data$dEnum.fromCharCode(x); } + if (x < 0) { return low; } + return high; +}; +const foldable1NonEmpty = /* #__PURE__ */ Data$dNonEmpty.foldable1NonEmpty(Data$dFoldable.foldableArray); +const genUnicodeChar = dictMonadGen => dictMonadGen.Monad0().Bind1().Apply0().Functor0().map(toEnumWithDefaults("\u0000")("￿"))(dictMonadGen.chooseInt(0)(65536)); +const genDigitChar = dictMonadGen => dictMonadGen.Monad0().Bind1().Apply0().Functor0().map(toEnumWithDefaults("\u0000")("￿"))(dictMonadGen.chooseInt(48)(57)); +const genAsciiChar$p = dictMonadGen => dictMonadGen.Monad0().Bind1().Apply0().Functor0().map(toEnumWithDefaults("\u0000")("￿"))(dictMonadGen.chooseInt(0)(127)); +const genAsciiChar = dictMonadGen => dictMonadGen.Monad0().Bind1().Apply0().Functor0().map(toEnumWithDefaults("\u0000")("￿"))(dictMonadGen.chooseInt(32)(127)); +const genAlphaUppercase = dictMonadGen => dictMonadGen.Monad0().Bind1().Apply0().Functor0().map(toEnumWithDefaults("\u0000")("￿"))(dictMonadGen.chooseInt(65)(90)); +const genAlphaLowercase = dictMonadGen => dictMonadGen.Monad0().Bind1().Apply0().Functor0().map(toEnumWithDefaults("\u0000")("￿"))(dictMonadGen.chooseInt(97)(122)); +const genAlpha = dictMonadGen => Control$dMonad$dGen.oneOf(dictMonadGen)(foldable1NonEmpty)(Data$dNonEmpty.$NonEmpty( + genAlphaLowercase(dictMonadGen), + [genAlphaUppercase(dictMonadGen)] +)); +export {foldable1NonEmpty, genAlpha, genAlphaLowercase, genAlphaUppercase, genAsciiChar, genAsciiChar$p, genDigitChar, genUnicodeChar, toEnumWithDefaults}; diff --git a/.storybook/purescript-indexer/output-es/Data.Char/index.js b/.storybook/purescript-indexer/output-es/Data.Char/index.js new file mode 100644 index 0000000..9173cf2 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Char/index.js @@ -0,0 +1,6 @@ +// | A type and functions for single characters. +import * as $runtime from "../runtime.js"; +import * as Data$dEnum from "../Data.Enum/index.js"; +const toCharCode = Data$dEnum.toCharCode; +const fromCharCode = Data$dEnum.charToEnum; +export {fromCharCode, toCharCode}; diff --git a/.storybook/purescript-indexer/output-es/Data.CommutativeRing/index.js b/.storybook/purescript-indexer/output-es/Data.CommutativeRing/index.js new file mode 100644 index 0000000..664b1cf --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.CommutativeRing/index.js @@ -0,0 +1,35 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dRing from "../Data.Ring/index.js"; +const commutativeRingUnit = {Ring0: () => Data$dRing.ringUnit}; +const commutativeRingRecordNil = {RingRecord0: () => Data$dRing.ringRecordNil}; +const commutativeRingRecordCons = dictIsSymbol => () => dictCommutativeRingRecord => { + const ringRecordCons1 = Data$dRing.ringRecordCons(dictIsSymbol)()(dictCommutativeRingRecord.RingRecord0()); + return dictCommutativeRing => { + const ringRecordCons2 = ringRecordCons1(dictCommutativeRing.Ring0()); + return {RingRecord0: () => ringRecordCons2}; + }; +}; +const commutativeRingRecord = () => dictCommutativeRingRecord => { + const ringRecord1 = Data$dRing.ringRecord()(dictCommutativeRingRecord.RingRecord0()); + return {Ring0: () => ringRecord1}; +}; +const commutativeRingProxy = {Ring0: () => Data$dRing.ringProxy}; +const commutativeRingNumber = {Ring0: () => Data$dRing.ringNumber}; +const commutativeRingInt = {Ring0: () => Data$dRing.ringInt}; +const commutativeRingFn = dictCommutativeRing => { + const $1 = dictCommutativeRing.Ring0(); + const $2 = $1.Semiring0(); + const semiringFn = {add: f => g => x => $2.add(f(x))(g(x)), zero: v => $2.zero, mul: f => g => x => $2.mul(f(x))(g(x)), one: v => $2.one}; + const ringFn = {sub: f => g => x => $1.sub(f(x))(g(x)), Semiring0: () => semiringFn}; + return {Ring0: () => ringFn}; +}; +export { + commutativeRingFn, + commutativeRingInt, + commutativeRingNumber, + commutativeRingProxy, + commutativeRingRecord, + commutativeRingRecordCons, + commutativeRingRecordNil, + commutativeRingUnit +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Comparison/index.js b/.storybook/purescript-indexer/output-es/Data.Comparison/index.js new file mode 100644 index 0000000..91dc076 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Comparison/index.js @@ -0,0 +1,21 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +const append = f => g => x => { + const $3 = f(x); + const $4 = g(x); + return x$1 => { + const $6 = $3(x$1); + const $7 = $4(x$1); + if ($6.tag === "LT") { return Data$dOrdering.LT; } + if ($6.tag === "GT") { return Data$dOrdering.GT; } + if ($6.tag === "EQ") { return $7; } + $runtime.fail(); + }; +}; +const Comparison = x => x; +const semigroupComparison = {append: v => v1 => append(v)(v1)}; +const newtypeComparison = {Coercible0: () => undefined}; +const monoidComparison = {mempty: v => v1 => Data$dOrdering.EQ, Semigroup0: () => semigroupComparison}; +const defaultComparison = dictOrd => dictOrd.compare; +const contravariantComparison = {cmap: f => v => x => y => v(f(x))(f(y))}; +export {Comparison, append, contravariantComparison, defaultComparison, monoidComparison, newtypeComparison, semigroupComparison}; diff --git a/.storybook/purescript-indexer/output-es/Data.Const/index.js b/.storybook/purescript-indexer/output-es/Data.Const/index.js new file mode 100644 index 0000000..f449d42 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Const/index.js @@ -0,0 +1,52 @@ +import * as $runtime from "../runtime.js"; +const Const = x => x; +const showConst = dictShow => ({show: v => "(Const " + (dictShow.show(v) + ")")}); +const semiringConst = dictSemiring => dictSemiring; +const semigroupoidConst = {compose: v => v1 => v1}; +const semigroupConst = dictSemigroup => dictSemigroup; +const ringConst = dictRing => dictRing; +const ordConst = dictOrd => dictOrd; +const newtypeConst = {Coercible0: () => undefined}; +const monoidConst = dictMonoid => dictMonoid; +const heytingAlgebraConst = dictHeytingAlgebra => dictHeytingAlgebra; +const functorConst = {map: f => m => m}; +const invariantConst = {imap: f => v => m => m}; +const euclideanRingConst = dictEuclideanRing => dictEuclideanRing; +const eqConst = dictEq => dictEq; +const eq1Const = dictEq => ({eq1: dictEq1 => dictEq.eq}); +const ord1Const = dictOrd => { + const $1 = dictOrd.Eq0(); + return {compare1: dictOrd1 => dictOrd.compare, Eq10: () => ({eq1: dictEq1 => $1.eq})}; +}; +const commutativeRingConst = dictCommutativeRing => dictCommutativeRing; +const boundedConst = dictBounded => dictBounded; +const booleanAlgebraConst = dictBooleanAlgebra => dictBooleanAlgebra; +const applyConst = dictSemigroup => ({apply: v => v1 => dictSemigroup.append(v)(v1), Functor0: () => functorConst}); +const applicativeConst = dictMonoid => { + const $1 = dictMonoid.Semigroup0(); + const applyConst1 = {apply: v => v1 => $1.append(v)(v1), Functor0: () => functorConst}; + return {pure: v => dictMonoid.mempty, Apply0: () => applyConst1}; +}; +export { + Const, + applicativeConst, + applyConst, + booleanAlgebraConst, + boundedConst, + commutativeRingConst, + eq1Const, + eqConst, + euclideanRingConst, + functorConst, + heytingAlgebraConst, + invariantConst, + monoidConst, + newtypeConst, + ord1Const, + ordConst, + ringConst, + semigroupConst, + semigroupoidConst, + semiringConst, + showConst +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Coyoneda/index.js b/.storybook/purescript-indexer/output-es/Data.Coyoneda/index.js new file mode 100644 index 0000000..ad728e3 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Coyoneda/index.js @@ -0,0 +1,210 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dSemigroup$dFoldable from "../Data.Semigroup.Foldable/index.js"; +const $CoyonedaF = (_1, _2) => ({tag: "CoyonedaF", _1, _2}); +const CoyonedaF = value0 => value1 => $CoyonedaF(value0, value1); +const Coyoneda = x => x; +const unCoyoneda = f => v => f(v._1)(v._2); +const lowerCoyoneda = dictFunctor => v => dictFunctor.map(v._1)(v._2); +const foldableCoyoneda = dictFoldable => ( + { + foldr: f => z => v => dictFoldable.foldr(x => f(v._1(x)))(z)(v._2), + foldl: f => z => v => dictFoldable.foldl(x => { + const $5 = f(x); + return x$1 => $5(v._1(x$1)); + })(z)(v._2), + foldMap: dictMonoid => { + const foldMap1 = dictFoldable.foldMap(dictMonoid); + return f => v => foldMap1(x => f(v._1(x)))(v._2); + } + } +); +const foldable1Coyoneda = dictFoldable1 => { + const foldableCoyoneda1 = foldableCoyoneda(dictFoldable1.Foldable0()); + return { + foldMap1: dictSemigroup => { + const foldMap11 = dictFoldable1.foldMap1(dictSemigroup); + return f => v => foldMap11(x => f(v._1(x)))(v._2); + }, + foldr1: Data$dSemigroup$dFoldable.foldr1Default(foldable1Coyoneda(dictFoldable1)), + foldl1: Data$dSemigroup$dFoldable.foldl1Default(foldable1Coyoneda(dictFoldable1)), + Foldable0: () => foldableCoyoneda1 + }; +}; +const eqCoyoneda = dictFunctor => dictEq1 => dictEq => { + const eq11 = dictEq1.eq1(dictEq); + return {eq: x => y => eq11(dictFunctor.map(x._1)(x._2))(dictFunctor.map(y._1)(y._2))}; +}; +const ordCoyoneda = dictFunctor => dictOrd1 => { + const $2 = dictOrd1.Eq10(); + return dictOrd => { + const compare11 = dictOrd1.compare1(dictOrd); + const eq11 = $2.eq1(dictOrd.Eq0()); + const eqCoyoneda3 = {eq: x => y => eq11(dictFunctor.map(x._1)(x._2))(dictFunctor.map(y._1)(y._2))}; + return {compare: x => y => compare11(dictFunctor.map(x._1)(x._2))(dictFunctor.map(y._1)(y._2)), Eq0: () => eqCoyoneda3}; + }; +}; +const eq1Coyoneda = dictFunctor => dictEq1 => ( + { + eq1: dictEq => { + const eq11 = dictEq1.eq1(dictEq); + return x => y => eq11(dictFunctor.map(x._1)(x._2))(dictFunctor.map(y._1)(y._2)); + } + } +); +const ord1Coyoneda = dictFunctor => dictOrd1 => { + const ordCoyoneda2 = ordCoyoneda(dictFunctor)(dictOrd1); + const $3 = dictOrd1.Eq10(); + const eq1Coyoneda2 = { + eq1: dictEq => { + const eq11 = $3.eq1(dictEq); + return x => y => eq11(dictFunctor.map(x._1)(x._2))(dictFunctor.map(y._1)(y._2)); + } + }; + return {compare1: dictOrd => ordCoyoneda2(dictOrd).compare, Eq10: () => eq1Coyoneda2}; +}; +const coyoneda = k => fi => $CoyonedaF(k, fi); +const functorCoyoneda = {map: f => v => $CoyonedaF(x => f(v._1(x)), v._2)}; +const invatiantCoyoneda = {imap: f => v => functorCoyoneda.map(f)}; +const hoistCoyoneda = nat => v => $CoyonedaF(v._1, nat(v._2)); +const liftCoyoneda = /* #__PURE__ */ coyoneda(x => x); +const distributiveCoyoneda = dictDistributive => { + const $1 = dictDistributive.Functor0(); + return { + collect: dictFunctor => { + const collect1 = dictDistributive.collect(dictFunctor); + return f => { + const $5 = collect1(x => { + const $6 = f(x); + return $1.map($6._1)($6._2); + }); + return x => $CoyonedaF(x$1 => x$1, $5(x)); + }; + }, + distribute: dictFunctor => { + const $3 = dictDistributive.collect(dictFunctor)(v => $1.map(v._1)(v._2)); + return x => $CoyonedaF(x$1 => x$1, $3(x)); + }, + Functor0: () => functorCoyoneda + }; +}; +const extendCoyoneda = dictExtend => ({extend: f => v => $CoyonedaF(x => x, dictExtend.extend(x => f($CoyonedaF(v._1, x)))(v._2)), Functor0: () => functorCoyoneda}); +const monadTransCoyoneda = {lift: dictMonad => liftCoyoneda}; +const traversableCoyoneda = dictTraversable => { + const foldableCoyoneda1 = foldableCoyoneda(dictTraversable.Foldable1()); + return { + traverse: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const traverse1 = dictTraversable.traverse(dictApplicative); + return f => v => map(liftCoyoneda)(traverse1(x => f(v._1(x)))(v._2)); + }, + sequence: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const traverse1 = dictTraversable.traverse(dictApplicative); + return v => map(liftCoyoneda)(traverse1(v._1)(v._2)); + }, + Functor0: () => functorCoyoneda, + Foldable1: () => foldableCoyoneda1 + }; +}; +const traversable1Coyoneda = dictTraversable1 => { + const Traversable1 = dictTraversable1.Traversable1(); + const map = Traversable1.Functor0().map; + const foldable1Coyoneda1 = foldable1Coyoneda(dictTraversable1.Foldable10()); + const traversableCoyoneda1 = traversableCoyoneda(Traversable1); + return { + traverse1: dictApply => { + const map1 = dictApply.Functor0().map; + const traverse11 = dictTraversable1.traverse1(dictApply); + return f => v => map1(liftCoyoneda)(traverse11(x => f(v._1(x)))(v._2)); + }, + sequence1: dictApply => { + const map1 = dictApply.Functor0().map; + const sequence11 = dictTraversable1.sequence1(dictApply); + return v => map1(liftCoyoneda)(sequence11(map(v._1)(v._2))); + }, + Foldable10: () => foldable1Coyoneda1, + Traversable1: () => traversableCoyoneda1 + }; +}; +const comonadCoyoneda = dictComonad => { + const extendCoyoneda1 = extendCoyoneda(dictComonad.Extend0()); + return {extract: v => v._1(dictComonad.extract(v._2)), Extend0: () => extendCoyoneda1}; +}; +const applyCoyoneda = dictApply => { + const $1 = dictApply.Functor0(); + return {apply: f => g => $CoyonedaF(x => x, dictApply.apply($1.map(f._1)(f._2))($1.map(g._1)(g._2))), Functor0: () => functorCoyoneda}; +}; +const bindCoyoneda = dictBind => { + const Apply0 = dictBind.Apply0(); + const $2 = Apply0.Functor0(); + const applyCoyoneda1 = applyCoyoneda(Apply0); + return { + bind: v => f => $CoyonedaF( + x => x, + dictBind.bind(v._2)(x => { + const $7 = f(v._1(x)); + return $2.map($7._1)($7._2); + }) + ), + Apply0: () => applyCoyoneda1 + }; +}; +const applicativeCoyoneda = dictApplicative => { + const applyCoyoneda1 = applyCoyoneda(dictApplicative.Apply0()); + return {pure: x => $CoyonedaF(x$1 => x$1, dictApplicative.pure(x)), Apply0: () => applyCoyoneda1}; +}; +const monadCoyoneda = dictMonad => { + const applicativeCoyoneda1 = applicativeCoyoneda(dictMonad.Applicative0()); + const bindCoyoneda1 = bindCoyoneda(dictMonad.Bind1()); + return {Applicative0: () => applicativeCoyoneda1, Bind1: () => bindCoyoneda1}; +}; +const altCoyoneda = dictAlt => { + const $1 = dictAlt.Functor0(); + return {alt: x => y => $CoyonedaF(x$1 => x$1, dictAlt.alt($1.map(x._1)(x._2))($1.map(y._1)(y._2))), Functor0: () => functorCoyoneda}; +}; +const plusCoyoneda = dictPlus => { + const altCoyoneda1 = altCoyoneda(dictPlus.Alt0()); + return {empty: $CoyonedaF(x => x, dictPlus.empty), Alt0: () => altCoyoneda1}; +}; +const alternativeCoyoneda = dictAlternative => { + const applicativeCoyoneda1 = applicativeCoyoneda(dictAlternative.Applicative0()); + const plusCoyoneda1 = plusCoyoneda(dictAlternative.Plus1()); + return {Applicative0: () => applicativeCoyoneda1, Plus1: () => plusCoyoneda1}; +}; +const monadPlusCoyoneda = dictMonadPlus => { + const monadCoyoneda1 = monadCoyoneda(dictMonadPlus.Monad0()); + const alternativeCoyoneda1 = alternativeCoyoneda(dictMonadPlus.Alternative1()); + return {Monad0: () => monadCoyoneda1, Alternative1: () => alternativeCoyoneda1}; +}; +export { + $CoyonedaF, + Coyoneda, + CoyonedaF, + altCoyoneda, + alternativeCoyoneda, + applicativeCoyoneda, + applyCoyoneda, + bindCoyoneda, + comonadCoyoneda, + coyoneda, + distributiveCoyoneda, + eq1Coyoneda, + eqCoyoneda, + extendCoyoneda, + foldable1Coyoneda, + foldableCoyoneda, + functorCoyoneda, + hoistCoyoneda, + invatiantCoyoneda, + liftCoyoneda, + lowerCoyoneda, + monadCoyoneda, + monadPlusCoyoneda, + monadTransCoyoneda, + ord1Coyoneda, + ordCoyoneda, + plusCoyoneda, + traversable1Coyoneda, + traversableCoyoneda, + unCoyoneda +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Date.Component.Gen/index.js b/.storybook/purescript-indexer/output-es/Data.Date.Component.Gen/index.js new file mode 100644 index 0000000..baaa4ee --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Date.Component.Gen/index.js @@ -0,0 +1,11 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dDate$dComponent from "../Data.Date.Component/index.js"; +import * as Data$dEnum$dGen from "../Data.Enum.Gen/index.js"; +const genYear = dictMonadGen => dictMonadGen.Monad0().Bind1().Apply0().Functor0().map(x => { + if (x >= -271820 && x <= 275759) { return x; } + $runtime.fail(); +})(dictMonadGen.chooseInt(1900)(2100)); +const genWeekday = dictMonadGen => Data$dEnum$dGen.genBoundedEnum(dictMonadGen)(Data$dDate$dComponent.boundedEnumWeekday); +const genMonth = dictMonadGen => Data$dEnum$dGen.genBoundedEnum(dictMonadGen)(Data$dDate$dComponent.boundedEnumMonth); +const genDay = dictMonadGen => Data$dEnum$dGen.genBoundedEnum(dictMonadGen)(Data$dDate$dComponent.boundedEnumDay); +export {genDay, genMonth, genWeekday, genYear}; diff --git a/.storybook/purescript-indexer/output-es/Data.Date.Component/index.js b/.storybook/purescript-indexer/output-es/Data.Date.Component/index.js new file mode 100644 index 0000000..105b499 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Date.Component/index.js @@ -0,0 +1,409 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dEq from "../Data.Eq/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import * as Data$dShow from "../Data.Show/index.js"; +const $Month = tag => ({tag}); +const $Weekday = tag => ({tag}); +const Monday = /* #__PURE__ */ $Weekday("Monday"); +const Tuesday = /* #__PURE__ */ $Weekday("Tuesday"); +const Wednesday = /* #__PURE__ */ $Weekday("Wednesday"); +const Thursday = /* #__PURE__ */ $Weekday("Thursday"); +const Friday = /* #__PURE__ */ $Weekday("Friday"); +const Saturday = /* #__PURE__ */ $Weekday("Saturday"); +const Sunday = /* #__PURE__ */ $Weekday("Sunday"); +const January = /* #__PURE__ */ $Month("January"); +const February = /* #__PURE__ */ $Month("February"); +const March = /* #__PURE__ */ $Month("March"); +const April = /* #__PURE__ */ $Month("April"); +const May = /* #__PURE__ */ $Month("May"); +const June = /* #__PURE__ */ $Month("June"); +const July = /* #__PURE__ */ $Month("July"); +const August = /* #__PURE__ */ $Month("August"); +const September = /* #__PURE__ */ $Month("September"); +const October = /* #__PURE__ */ $Month("October"); +const November = /* #__PURE__ */ $Month("November"); +const December = /* #__PURE__ */ $Month("December"); +const showYear = {show: v => "(Year " + (Data$dShow.showIntImpl(v) + ")")}; +const showWeekday = { + show: v => { + if (v.tag === "Monday") { return "Monday"; } + if (v.tag === "Tuesday") { return "Tuesday"; } + if (v.tag === "Wednesday") { return "Wednesday"; } + if (v.tag === "Thursday") { return "Thursday"; } + if (v.tag === "Friday") { return "Friday"; } + if (v.tag === "Saturday") { return "Saturday"; } + if (v.tag === "Sunday") { return "Sunday"; } + $runtime.fail(); + } +}; +const showMonth = { + show: v => { + if (v.tag === "January") { return "January"; } + if (v.tag === "February") { return "February"; } + if (v.tag === "March") { return "March"; } + if (v.tag === "April") { return "April"; } + if (v.tag === "May") { return "May"; } + if (v.tag === "June") { return "June"; } + if (v.tag === "July") { return "July"; } + if (v.tag === "August") { return "August"; } + if (v.tag === "September") { return "September"; } + if (v.tag === "October") { return "October"; } + if (v.tag === "November") { return "November"; } + if (v.tag === "December") { return "December"; } + $runtime.fail(); + } +}; +const showDay = {show: v => "(Day " + (Data$dShow.showIntImpl(v) + ")")}; +const ordYear = Data$dOrd.ordInt; +const ordDay = Data$dOrd.ordInt; +const eqYear = Data$dEq.eqInt; +const eqWeekday = { + eq: x => y => { + if (x.tag === "Monday") { return y.tag === "Monday"; } + if (x.tag === "Tuesday") { return y.tag === "Tuesday"; } + if (x.tag === "Wednesday") { return y.tag === "Wednesday"; } + if (x.tag === "Thursday") { return y.tag === "Thursday"; } + if (x.tag === "Friday") { return y.tag === "Friday"; } + if (x.tag === "Saturday") { return y.tag === "Saturday"; } + if (x.tag === "Sunday") { return y.tag === "Sunday"; } + return false; + } +}; +const ordWeekday = { + compare: x => y => { + if (x.tag === "Monday") { + if (y.tag === "Monday") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Monday") { return Data$dOrdering.GT; } + if (x.tag === "Tuesday") { + if (y.tag === "Tuesday") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Tuesday") { return Data$dOrdering.GT; } + if (x.tag === "Wednesday") { + if (y.tag === "Wednesday") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Wednesday") { return Data$dOrdering.GT; } + if (x.tag === "Thursday") { + if (y.tag === "Thursday") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Thursday") { return Data$dOrdering.GT; } + if (x.tag === "Friday") { + if (y.tag === "Friday") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Friday") { return Data$dOrdering.GT; } + if (x.tag === "Saturday") { + if (y.tag === "Saturday") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Saturday") { return Data$dOrdering.GT; } + if (x.tag === "Sunday") { + if (y.tag === "Sunday") { return Data$dOrdering.EQ; } + $runtime.fail(); + } + $runtime.fail(); + }, + Eq0: () => eqWeekday +}; +const eqMonth = { + eq: x => y => { + if (x.tag === "January") { return y.tag === "January"; } + if (x.tag === "February") { return y.tag === "February"; } + if (x.tag === "March") { return y.tag === "March"; } + if (x.tag === "April") { return y.tag === "April"; } + if (x.tag === "May") { return y.tag === "May"; } + if (x.tag === "June") { return y.tag === "June"; } + if (x.tag === "July") { return y.tag === "July"; } + if (x.tag === "August") { return y.tag === "August"; } + if (x.tag === "September") { return y.tag === "September"; } + if (x.tag === "October") { return y.tag === "October"; } + if (x.tag === "November") { return y.tag === "November"; } + if (x.tag === "December") { return y.tag === "December"; } + return false; + } +}; +const ordMonth = { + compare: x => y => { + if (x.tag === "January") { + if (y.tag === "January") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "January") { return Data$dOrdering.GT; } + if (x.tag === "February") { + if (y.tag === "February") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "February") { return Data$dOrdering.GT; } + if (x.tag === "March") { + if (y.tag === "March") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "March") { return Data$dOrdering.GT; } + if (x.tag === "April") { + if (y.tag === "April") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "April") { return Data$dOrdering.GT; } + if (x.tag === "May") { + if (y.tag === "May") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "May") { return Data$dOrdering.GT; } + if (x.tag === "June") { + if (y.tag === "June") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "June") { return Data$dOrdering.GT; } + if (x.tag === "July") { + if (y.tag === "July") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "July") { return Data$dOrdering.GT; } + if (x.tag === "August") { + if (y.tag === "August") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "August") { return Data$dOrdering.GT; } + if (x.tag === "September") { + if (y.tag === "September") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "September") { return Data$dOrdering.GT; } + if (x.tag === "October") { + if (y.tag === "October") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "October") { return Data$dOrdering.GT; } + if (x.tag === "November") { + if (y.tag === "November") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "November") { return Data$dOrdering.GT; } + if (x.tag === "December") { + if (y.tag === "December") { return Data$dOrdering.EQ; } + $runtime.fail(); + } + $runtime.fail(); + }, + Eq0: () => eqMonth +}; +const eqDay = Data$dEq.eqInt; +const boundedYear = {bottom: -271820, top: 275759, Ord0: () => Data$dOrd.ordInt}; +const boundedWeekday = {bottom: Monday, top: Sunday, Ord0: () => ordWeekday}; +const boundedMonth = {bottom: January, top: December, Ord0: () => ordMonth}; +const boundedEnumYear = { + cardinality: 547580, + toEnum: n => { + if (n >= -271820 && n <= 275759) { return Data$dMaybe.$Maybe("Just", n); } + return Data$dMaybe.Nothing; + }, + fromEnum: v => v, + Bounded0: () => boundedYear, + Enum1: () => enumYear +}; +const enumYear = { + succ: x => { + const $1 = x + 1 | 0; + if ($1 >= -271820 && $1 <= 275759) { return Data$dMaybe.$Maybe("Just", $1); } + return Data$dMaybe.Nothing; + }, + pred: x => { + const $1 = x - 1 | 0; + if ($1 >= -271820 && $1 <= 275759) { return Data$dMaybe.$Maybe("Just", $1); } + return Data$dMaybe.Nothing; + }, + Ord0: () => Data$dOrd.ordInt +}; +const boundedEnumWeekday = { + cardinality: 7, + toEnum: v => { + if (v === 1) { return Data$dMaybe.$Maybe("Just", Monday); } + if (v === 2) { return Data$dMaybe.$Maybe("Just", Tuesday); } + if (v === 3) { return Data$dMaybe.$Maybe("Just", Wednesday); } + if (v === 4) { return Data$dMaybe.$Maybe("Just", Thursday); } + if (v === 5) { return Data$dMaybe.$Maybe("Just", Friday); } + if (v === 6) { return Data$dMaybe.$Maybe("Just", Saturday); } + if (v === 7) { return Data$dMaybe.$Maybe("Just", Sunday); } + return Data$dMaybe.Nothing; + }, + fromEnum: v => { + if (v.tag === "Monday") { return 1; } + if (v.tag === "Tuesday") { return 2; } + if (v.tag === "Wednesday") { return 3; } + if (v.tag === "Thursday") { return 4; } + if (v.tag === "Friday") { return 5; } + if (v.tag === "Saturday") { return 6; } + if (v.tag === "Sunday") { return 7; } + $runtime.fail(); + }, + Bounded0: () => boundedWeekday, + Enum1: () => enumWeekday +}; +const enumWeekday = { + succ: x => boundedEnumWeekday.toEnum((() => { + if (x.tag === "Monday") { return 2; } + if (x.tag === "Tuesday") { return 3; } + if (x.tag === "Wednesday") { return 4; } + if (x.tag === "Thursday") { return 5; } + if (x.tag === "Friday") { return 6; } + if (x.tag === "Saturday") { return 7; } + if (x.tag === "Sunday") { return 8; } + $runtime.fail(); + })()), + pred: x => boundedEnumWeekday.toEnum((() => { + if (x.tag === "Monday") { return 0; } + if (x.tag === "Tuesday") { return 1; } + if (x.tag === "Wednesday") { return 2; } + if (x.tag === "Thursday") { return 3; } + if (x.tag === "Friday") { return 4; } + if (x.tag === "Saturday") { return 5; } + if (x.tag === "Sunday") { return 6; } + $runtime.fail(); + })()), + Ord0: () => ordWeekday +}; +const boundedEnumMonth = { + cardinality: 12, + toEnum: v => { + if (v === 1) { return Data$dMaybe.$Maybe("Just", January); } + if (v === 2) { return Data$dMaybe.$Maybe("Just", February); } + if (v === 3) { return Data$dMaybe.$Maybe("Just", March); } + if (v === 4) { return Data$dMaybe.$Maybe("Just", April); } + if (v === 5) { return Data$dMaybe.$Maybe("Just", May); } + if (v === 6) { return Data$dMaybe.$Maybe("Just", June); } + if (v === 7) { return Data$dMaybe.$Maybe("Just", July); } + if (v === 8) { return Data$dMaybe.$Maybe("Just", August); } + if (v === 9) { return Data$dMaybe.$Maybe("Just", September); } + if (v === 10) { return Data$dMaybe.$Maybe("Just", October); } + if (v === 11) { return Data$dMaybe.$Maybe("Just", November); } + if (v === 12) { return Data$dMaybe.$Maybe("Just", December); } + return Data$dMaybe.Nothing; + }, + fromEnum: v => { + if (v.tag === "January") { return 1; } + if (v.tag === "February") { return 2; } + if (v.tag === "March") { return 3; } + if (v.tag === "April") { return 4; } + if (v.tag === "May") { return 5; } + if (v.tag === "June") { return 6; } + if (v.tag === "July") { return 7; } + if (v.tag === "August") { return 8; } + if (v.tag === "September") { return 9; } + if (v.tag === "October") { return 10; } + if (v.tag === "November") { return 11; } + if (v.tag === "December") { return 12; } + $runtime.fail(); + }, + Bounded0: () => boundedMonth, + Enum1: () => enumMonth +}; +const enumMonth = { + succ: x => boundedEnumMonth.toEnum((() => { + if (x.tag === "January") { return 2; } + if (x.tag === "February") { return 3; } + if (x.tag === "March") { return 4; } + if (x.tag === "April") { return 5; } + if (x.tag === "May") { return 6; } + if (x.tag === "June") { return 7; } + if (x.tag === "July") { return 8; } + if (x.tag === "August") { return 9; } + if (x.tag === "September") { return 10; } + if (x.tag === "October") { return 11; } + if (x.tag === "November") { return 12; } + if (x.tag === "December") { return 13; } + $runtime.fail(); + })()), + pred: x => boundedEnumMonth.toEnum((() => { + if (x.tag === "January") { return 0; } + if (x.tag === "February") { return 1; } + if (x.tag === "March") { return 2; } + if (x.tag === "April") { return 3; } + if (x.tag === "May") { return 4; } + if (x.tag === "June") { return 5; } + if (x.tag === "July") { return 6; } + if (x.tag === "August") { return 7; } + if (x.tag === "September") { return 8; } + if (x.tag === "October") { return 9; } + if (x.tag === "November") { return 10; } + if (x.tag === "December") { return 11; } + $runtime.fail(); + })()), + Ord0: () => ordMonth +}; +const boundedDay = {bottom: 1, top: 31, Ord0: () => Data$dOrd.ordInt}; +const boundedEnumDay = { + cardinality: 31, + toEnum: n => { + if (n >= 1 && n <= 31) { return Data$dMaybe.$Maybe("Just", n); } + return Data$dMaybe.Nothing; + }, + fromEnum: v => v, + Bounded0: () => boundedDay, + Enum1: () => enumDay +}; +const enumDay = { + succ: x => { + const $1 = x + 1 | 0; + if ($1 >= 1 && $1 <= 31) { return Data$dMaybe.$Maybe("Just", $1); } + return Data$dMaybe.Nothing; + }, + pred: x => { + const $1 = x - 1 | 0; + if ($1 >= 1 && $1 <= 31) { return Data$dMaybe.$Maybe("Just", $1); } + return Data$dMaybe.Nothing; + }, + Ord0: () => Data$dOrd.ordInt +}; +export { + $Month, + $Weekday, + April, + August, + December, + February, + Friday, + January, + July, + June, + March, + May, + Monday, + November, + October, + Saturday, + September, + Sunday, + Thursday, + Tuesday, + Wednesday, + boundedDay, + boundedEnumDay, + boundedEnumMonth, + boundedEnumWeekday, + boundedEnumYear, + boundedMonth, + boundedWeekday, + boundedYear, + enumDay, + enumMonth, + enumWeekday, + enumYear, + eqDay, + eqMonth, + eqWeekday, + eqYear, + ordDay, + ordMonth, + ordWeekday, + ordYear, + showDay, + showMonth, + showWeekday, + showYear +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Date.Gen/index.js b/.storybook/purescript-indexer/output-es/Data.Date.Gen/index.js new file mode 100644 index 0000000..3becaa6 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Date.Gen/index.js @@ -0,0 +1,28 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dDate from "../Data.Date/index.js"; +import * as Data$dDate$dComponent from "../Data.Date.Component/index.js"; +import * as Data$dInt from "../Data.Int/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +const genDate = dictMonadGen => { + const Monad0 = dictMonadGen.Monad0(); + const Bind1 = Monad0.Bind1(); + const map = Bind1.Apply0().Functor0().map; + const pure = Monad0.Applicative0().pure; + return Bind1.bind(dictMonadGen.Monad0().Bind1().Apply0().Functor0().map(x => { + if (x >= -271820 && x <= 275759) { return x; } + $runtime.fail(); + })(dictMonadGen.chooseInt(1900)(2100)))(year => Bind1.bind(map(x => Data$dInt.toNumber(x))(dictMonadGen.chooseInt(0)((() => { + if (Data$dDate.isLeapYear(year)) { return 365; } + return 364; + })())))(days => pure((() => { + const $7 = Data$dDate.exactDate(year)(Data$dDate$dComponent.January)(1); + const $8 = (() => { + if ($7.tag === "Just") { return Data$dDate.adjust(days)($7._1); } + if ($7.tag === "Nothing") { return Data$dMaybe.Nothing; } + $runtime.fail(); + })(); + if ($8.tag === "Just") { return $8._1; } + $runtime.fail(); + })()))); +}; +export {genDate}; diff --git a/.storybook/purescript-indexer/output-es/Data.Date/foreign.js b/.storybook/purescript-indexer/output-es/Data.Date/foreign.js new file mode 100644 index 0000000..e7a7abc --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Date/foreign.js @@ -0,0 +1,22 @@ +var createDate = function (y, m, d) { + var date = new Date(Date.UTC(y, m, d)); + if (y >= 0 && y < 100) { + date.setUTCFullYear(y); + } + return date; +}; + +export function canonicalDateImpl(ctor, y, m, d) { + var date = createDate(y, m - 1, d); + return ctor(date.getUTCFullYear())(date.getUTCMonth() + 1)(date.getUTCDate()); +} + +export function calcWeekday(y, m, d) { + return createDate(y, m - 1, d).getUTCDay(); +} + +export function calcDiff(y1, m1, d1, y2, m2, d2) { + var dt1 = createDate(y1, m1 - 1, d1); + var dt2 = createDate(y2, m2 - 1, d2); + return dt1.getTime() - dt2.getTime(); +} diff --git a/.storybook/purescript-indexer/output-es/Data.Date/index.js b/.storybook/purescript-indexer/output-es/Data.Date/index.js new file mode 100644 index 0000000..a69fda9 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Date/index.js @@ -0,0 +1,358 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dDate$dComponent from "../Data.Date.Component/index.js"; +import * as Data$dEuclideanRing from "../Data.EuclideanRing/index.js"; +import * as Data$dInt from "../Data.Int/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import * as Data$dShow from "../Data.Show/index.js"; +import {calcDiff, calcWeekday, canonicalDateImpl} from "./foreign.js"; +const $Date = (_1, _2, _3) => ({tag: "Date", _1, _2, _3}); +const greaterThan = /* #__PURE__ */ (() => { + const $0 = Data$dMaybe.ordMaybe(Data$dOrd.ordInt); + return a1 => a2 => $0.compare(a1)(a2).tag === "GT"; +})(); +const $$Date = value0 => value1 => value2 => $Date(value0, value1, value2); +const year = v => v._1; +const weekday = v => { + const n = calcWeekday( + v._1, + (() => { + if (v._2.tag === "January") { return 1; } + if (v._2.tag === "February") { return 2; } + if (v._2.tag === "March") { return 3; } + if (v._2.tag === "April") { return 4; } + if (v._2.tag === "May") { return 5; } + if (v._2.tag === "June") { return 6; } + if (v._2.tag === "July") { return 7; } + if (v._2.tag === "August") { return 8; } + if (v._2.tag === "September") { return 9; } + if (v._2.tag === "October") { return 10; } + if (v._2.tag === "November") { return 11; } + if (v._2.tag === "December") { return 12; } + $runtime.fail(); + })(), + v._3 + ); + if (n === 0) { + const $2 = Data$dDate$dComponent.boundedEnumWeekday.toEnum(7); + if ($2.tag === "Just") { return $2._1; } + $runtime.fail(); + } + const $2 = Data$dDate$dComponent.boundedEnumWeekday.toEnum(n); + if ($2.tag === "Just") { return $2._1; } + $runtime.fail(); +}; +const showDate = { + show: v => "(Date (Year " + (Data$dShow.showIntImpl(v._1) + ")") + ( + " " + ( + (() => { + if (v._2.tag === "January") { return "January"; } + if (v._2.tag === "February") { return "February"; } + if (v._2.tag === "March") { return "March"; } + if (v._2.tag === "April") { return "April"; } + if (v._2.tag === "May") { return "May"; } + if (v._2.tag === "June") { return "June"; } + if (v._2.tag === "July") { return "July"; } + if (v._2.tag === "August") { return "August"; } + if (v._2.tag === "September") { return "September"; } + if (v._2.tag === "October") { return "October"; } + if (v._2.tag === "November") { return "November"; } + if (v._2.tag === "December") { return "December"; } + $runtime.fail(); + })() + (" (Day " + Data$dShow.showIntImpl(v._3) + "))") + ) + ) +}; +const month = v => v._2; +const isLeapYear = y => Data$dEuclideanRing.intMod(y)(4) === 0 && (Data$dEuclideanRing.intMod(y)(400) === 0 || Data$dEuclideanRing.intMod(y)(100) !== 0); +const lastDayOfMonth = y => m => { + if (m.tag === "January") { return 31; } + if (m.tag === "February") { + if (isLeapYear(y)) { return 29; } + return 28; + } + if (m.tag === "March") { return 31; } + if (m.tag === "April") { return 30; } + if (m.tag === "May") { return 31; } + if (m.tag === "June") { return 30; } + if (m.tag === "July") { return 31; } + if (m.tag === "August") { return 31; } + if (m.tag === "September") { return 30; } + if (m.tag === "October") { return 31; } + if (m.tag === "November") { return 30; } + if (m.tag === "December") { return 31; } + $runtime.fail(); +}; +const eqDate = { + eq: x => y => x._1 === y._1 && (() => { + if (x._2.tag === "January") { return y._2.tag === "January"; } + if (x._2.tag === "February") { return y._2.tag === "February"; } + if (x._2.tag === "March") { return y._2.tag === "March"; } + if (x._2.tag === "April") { return y._2.tag === "April"; } + if (x._2.tag === "May") { return y._2.tag === "May"; } + if (x._2.tag === "June") { return y._2.tag === "June"; } + if (x._2.tag === "July") { return y._2.tag === "July"; } + if (x._2.tag === "August") { return y._2.tag === "August"; } + if (x._2.tag === "September") { return y._2.tag === "September"; } + if (x._2.tag === "October") { return y._2.tag === "October"; } + if (x._2.tag === "November") { return y._2.tag === "November"; } + if (x._2.tag === "December") { return y._2.tag === "December"; } + return false; + })() && x._3 === y._3 +}; +const ordDate = { + compare: x => y => { + const v = Data$dOrd.ordInt.compare(x._1)(y._1); + if (v.tag === "LT") { return Data$dOrdering.LT; } + if (v.tag === "GT") { return Data$dOrdering.GT; } + const v1 = Data$dDate$dComponent.ordMonth.compare(x._2)(y._2); + if (v1.tag === "LT") { return Data$dOrdering.LT; } + if (v1.tag === "GT") { return Data$dOrdering.GT; } + return Data$dOrd.ordInt.compare(x._3)(y._3); + }, + Eq0: () => eqDate +}; +const enumDate = { + succ: v => { + const sm = Data$dDate$dComponent.enumMonth.succ(v._2); + const $2 = v._3 + 1 | 0; + const v1 = (() => { + if ($2 >= 1 && $2 <= 31) { return Data$dMaybe.$Maybe("Just", $2); } + return Data$dMaybe.Nothing; + })(); + const sd = (() => { + if (greaterThan(v1)(Data$dMaybe.$Maybe("Just", lastDayOfMonth(v._1)(v._2)))) { return Data$dMaybe.Nothing; } + return v1; + })(); + return Data$dMaybe.applyMaybe.apply(Data$dMaybe.applyMaybe.apply((() => { + if ( + (() => { + if (sd.tag === "Nothing") { return true; } + if (sd.tag === "Just") { return false; } + $runtime.fail(); + })() && (() => { + if (sm.tag === "Nothing") { return true; } + if (sm.tag === "Just") { return false; } + $runtime.fail(); + })() + ) { + const $5 = v._1 + 1 | 0; + if ($5 >= -271820 && $5 <= 275759) { return Data$dMaybe.$Maybe("Just", $$Date($5)); } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.$Maybe("Just", $$Date(v._1)); + })())(Data$dMaybe.$Maybe( + "Just", + (() => { + if ( + (() => { + if (sd.tag === "Nothing") { return true; } + if (sd.tag === "Just") { return false; } + $runtime.fail(); + })() + ) { + if (sm.tag === "Nothing") { return Data$dDate$dComponent.January; } + if (sm.tag === "Just") { return sm._1; } + $runtime.fail(); + } + return v._2; + })() + )))((() => { + if ( + (() => { + if (sd.tag === "Nothing") { return true; } + if (sd.tag === "Just") { return false; } + $runtime.fail(); + })() + ) { + return Data$dMaybe.$Maybe("Just", 1); + } + return sd; + })()); + }, + pred: v => { + const pm = Data$dDate$dComponent.enumMonth.pred(v._2); + const $2 = v._3 - 1 | 0; + const pd = (() => { + if ($2 >= 1 && $2 <= 31) { return Data$dMaybe.$Maybe("Just", $2); } + return Data$dMaybe.Nothing; + })(); + const m$p = (() => { + if ( + (() => { + if (pd.tag === "Nothing") { return true; } + if (pd.tag === "Just") { return false; } + $runtime.fail(); + })() + ) { + if (pm.tag === "Nothing") { return Data$dDate$dComponent.December; } + if (pm.tag === "Just") { return pm._1; } + $runtime.fail(); + } + return v._2; + })(); + const l = lastDayOfMonth(v._1)(m$p); + return Data$dMaybe.applyMaybe.apply(Data$dMaybe.applyMaybe.apply((() => { + if ( + (() => { + if (pd.tag === "Nothing") { return true; } + if (pd.tag === "Just") { return false; } + $runtime.fail(); + })() && (() => { + if (pm.tag === "Nothing") { return true; } + if (pm.tag === "Just") { return false; } + $runtime.fail(); + })() + ) { + const $6 = v._1 - 1 | 0; + if ($6 >= -271820 && $6 <= 275759) { return Data$dMaybe.$Maybe("Just", $$Date($6)); } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.$Maybe("Just", $$Date(v._1)); + })())(Data$dMaybe.$Maybe("Just", m$p)))((() => { + if ( + (() => { + if (pd.tag === "Nothing") { return true; } + if (pd.tag === "Just") { return false; } + $runtime.fail(); + })() + ) { + return Data$dMaybe.$Maybe("Just", l); + } + return pd; + })()); + }, + Ord0: () => ordDate +}; +const diff = dictDuration => v => v1 => dictDuration.toDuration(calcDiff( + v._1, + (() => { + if (v._2.tag === "January") { return 1; } + if (v._2.tag === "February") { return 2; } + if (v._2.tag === "March") { return 3; } + if (v._2.tag === "April") { return 4; } + if (v._2.tag === "May") { return 5; } + if (v._2.tag === "June") { return 6; } + if (v._2.tag === "July") { return 7; } + if (v._2.tag === "August") { return 8; } + if (v._2.tag === "September") { return 9; } + if (v._2.tag === "October") { return 10; } + if (v._2.tag === "November") { return 11; } + if (v._2.tag === "December") { return 12; } + $runtime.fail(); + })(), + v._3, + v1._1, + (() => { + if (v1._2.tag === "January") { return 1; } + if (v1._2.tag === "February") { return 2; } + if (v1._2.tag === "March") { return 3; } + if (v1._2.tag === "April") { return 4; } + if (v1._2.tag === "May") { return 5; } + if (v1._2.tag === "June") { return 6; } + if (v1._2.tag === "July") { return 7; } + if (v1._2.tag === "August") { return 8; } + if (v1._2.tag === "September") { return 9; } + if (v1._2.tag === "October") { return 10; } + if (v1._2.tag === "November") { return 11; } + if (v1._2.tag === "December") { return 12; } + $runtime.fail(); + })(), + v1._3 +)); +const day = v => v._3; +const canonicalDate = y => m => d => canonicalDateImpl( + y$p => m$p => d$p => $Date( + y$p, + (() => { + const $6 = Data$dDate$dComponent.boundedEnumMonth.toEnum(m$p); + if ($6.tag === "Just") { return $6._1; } + $runtime.fail(); + })(), + d$p + ), + y, + (() => { + if (m.tag === "January") { return 1; } + if (m.tag === "February") { return 2; } + if (m.tag === "March") { return 3; } + if (m.tag === "April") { return 4; } + if (m.tag === "May") { return 5; } + if (m.tag === "June") { return 6; } + if (m.tag === "July") { return 7; } + if (m.tag === "August") { return 8; } + if (m.tag === "September") { return 9; } + if (m.tag === "October") { return 10; } + if (m.tag === "November") { return 11; } + if (m.tag === "December") { return 12; } + $runtime.fail(); + })(), + d +); +const exactDate = y => m => d => { + if (eqDate.eq(canonicalDate(y)(m)(d))($Date(y, m, d))) { return Data$dMaybe.$Maybe("Just", $Date(y, m, d)); } + return Data$dMaybe.Nothing; +}; +const boundedDate = { + bottom: /* #__PURE__ */ $Date(-271820, Data$dDate$dComponent.January, 1), + top: /* #__PURE__ */ $Date(275759, Data$dDate$dComponent.December, 31), + Ord0: () => ordDate +}; +const adjust = v => date => { + const adj = v1 => v2 => { + if (v1 === 0) { return Data$dMaybe.$Maybe("Just", v2); } + const j = v1 + v2._3 | 0; + const low = j < 1; + const l = lastDayOfMonth(v2._1)((() => { + if (low) { + const $7 = Data$dDate$dComponent.enumMonth.pred(v2._2); + if ($7.tag === "Nothing") { return Data$dDate$dComponent.December; } + if ($7.tag === "Just") { return $7._1; } + $runtime.fail(); + } + return v2._2; + })()); + const hi = j > l; + const $9 = adj((() => { + if (low) { return j; } + if (hi) { return (j - l | 0) - 1 | 0; } + return 0; + })()); + const $10 = (() => { + if (low) { return enumDate.pred($Date(v2._1, v2._2, 1)); } + if (hi) { return enumDate.succ($Date(v2._1, v2._2, l)); } + const $10 = $$Date(v2._1)(v2._2); + if (j >= 1 && j <= 31) { return Data$dMaybe.$Maybe("Just", $10(j)); } + return Data$dMaybe.Nothing; + })(); + if ($10.tag === "Just") { return $9($10._1); } + if ($10.tag === "Nothing") { return Data$dMaybe.Nothing; } + $runtime.fail(); + }; + const $3 = Data$dInt.fromNumber(v); + if ($3.tag === "Just") { return adj($3._1)(date); } + if ($3.tag === "Nothing") { return Data$dMaybe.Nothing; } + $runtime.fail(); +}; +export { + $Date, + $$Date as Date, + adjust, + boundedDate, + canonicalDate, + day, + diff, + enumDate, + eqDate, + exactDate, + greaterThan, + isLeapYear, + lastDayOfMonth, + month, + ordDate, + showDate, + weekday, + year +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.DateTime.Gen/index.js b/.storybook/purescript-indexer/output-es/Data.DateTime.Gen/index.js new file mode 100644 index 0000000..2d377f2 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.DateTime.Gen/index.js @@ -0,0 +1,9 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dDate$dGen from "../Data.Date.Gen/index.js"; +import * as Data$dDateTime from "../Data.DateTime/index.js"; +import * as Data$dTime$dGen from "../Data.Time.Gen/index.js"; +const genDateTime = dictMonadGen => { + const Apply0 = dictMonadGen.Monad0().Bind1().Apply0(); + return Apply0.apply(Apply0.Functor0().map(Data$dDateTime.DateTime)(Data$dDate$dGen.genDate(dictMonadGen)))(Data$dTime$dGen.genTime(dictMonadGen)); +}; +export {genDateTime}; diff --git a/.storybook/purescript-indexer/output-es/Data.DateTime.Instant/foreign.js b/.storybook/purescript-indexer/output-es/Data.DateTime.Instant/foreign.js new file mode 100644 index 0000000..c016c34 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.DateTime.Instant/foreign.js @@ -0,0 +1,18 @@ +var createDateTime = function (y, m, d, h, mi, s, ms) { + var dateTime = new Date(Date.UTC(y, m, d, h, mi, s, ms)); + if (y >= 0 && y < 100) { + dateTime.setUTCFullYear(y); + } + return dateTime; +}; + +export function fromDateTimeImpl(y, mo, d, h, mi, s, ms) { + return createDateTime(y, mo - 1, d, h, mi, s, ms).getTime(); +} + +export function toDateTimeImpl(ctor) { + return function (instant) { + var dt = new Date(instant); + return ctor (dt.getUTCFullYear())(dt.getUTCMonth() + 1)(dt.getUTCDate())(dt.getUTCHours())(dt.getUTCMinutes())(dt.getUTCSeconds())(dt.getUTCMilliseconds()); + }; +} diff --git a/.storybook/purescript-indexer/output-es/Data.DateTime.Instant/index.js b/.storybook/purescript-indexer/output-es/Data.DateTime.Instant/index.js new file mode 100644 index 0000000..56e406e --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.DateTime.Instant/index.js @@ -0,0 +1,76 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dDate from "../Data.Date/index.js"; +import * as Data$dDate$dComponent from "../Data.Date.Component/index.js"; +import * as Data$dDateTime from "../Data.DateTime/index.js"; +import * as Data$dEq from "../Data.Eq/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dShow from "../Data.Show/index.js"; +import * as Data$dTime from "../Data.Time/index.js"; +import {fromDateTimeImpl, toDateTimeImpl} from "./foreign.js"; +const unInstant = v => v; +const toDateTime = /* #__PURE__ */ toDateTimeImpl(y => mo => d => h => mi => s => ms => Data$dDateTime.$DateTime( + Data$dDate.canonicalDate(y)((() => { + const $7 = Data$dDate$dComponent.boundedEnumMonth.toEnum(mo); + if ($7.tag === "Just") { return $7._1; } + $runtime.fail(); + })())(d), + Data$dTime.$Time(h, mi, s, ms) +)); +const showInstant = {show: v => "(Instant (Milliseconds " + Data$dShow.showNumberImpl(v) + "))"}; +const ordDateTime = Data$dOrd.ordNumber; +const instant = v => { + if (v >= -8639977881600000.0 && v <= 8639977881599999.0) { return Data$dMaybe.$Maybe("Just", v); } + return Data$dMaybe.Nothing; +}; +const fromDateTime = v => fromDateTimeImpl( + v._1._1, + (() => { + if (v._1._2.tag === "January") { return 1; } + if (v._1._2.tag === "February") { return 2; } + if (v._1._2.tag === "March") { return 3; } + if (v._1._2.tag === "April") { return 4; } + if (v._1._2.tag === "May") { return 5; } + if (v._1._2.tag === "June") { return 6; } + if (v._1._2.tag === "July") { return 7; } + if (v._1._2.tag === "August") { return 8; } + if (v._1._2.tag === "September") { return 9; } + if (v._1._2.tag === "October") { return 10; } + if (v._1._2.tag === "November") { return 11; } + if (v._1._2.tag === "December") { return 12; } + $runtime.fail(); + })(), + v._1._3, + v._2._1, + v._2._2, + v._2._3, + v._2._4 +); +const fromDate = d => fromDateTimeImpl( + d._1, + (() => { + if (d._2.tag === "January") { return 1; } + if (d._2.tag === "February") { return 2; } + if (d._2.tag === "March") { return 3; } + if (d._2.tag === "April") { return 4; } + if (d._2.tag === "May") { return 5; } + if (d._2.tag === "June") { return 6; } + if (d._2.tag === "July") { return 7; } + if (d._2.tag === "August") { return 8; } + if (d._2.tag === "September") { return 9; } + if (d._2.tag === "October") { return 10; } + if (d._2.tag === "November") { return 11; } + if (d._2.tag === "December") { return 12; } + $runtime.fail(); + })(), + d._3, + 0, + 0, + 0, + 0 +); +const eqDateTime = Data$dEq.eqNumber; +const diff = dictDuration => dt1 => dt2 => dictDuration.toDuration(dt1 + -dt2); +const boundedInstant = {bottom: -8639977881600000.0, top: 8639977881599999.0, Ord0: () => Data$dOrd.ordNumber}; +export {boundedInstant, diff, eqDateTime, fromDate, fromDateTime, instant, ordDateTime, showInstant, toDateTime, unInstant}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.DateTime/foreign.js b/.storybook/purescript-indexer/output-es/Data.DateTime/foreign.js new file mode 100644 index 0000000..86578b7 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.DateTime/foreign.js @@ -0,0 +1,33 @@ +var createUTC = function (y, mo, d, h, m, s, ms) { + var date = new Date(Date.UTC(y, mo, d, h, m, s, ms)); + if (y >= 0 && y < 100) { + date.setUTCFullYear(y); + } + return date.getTime(); +}; + +export function calcDiff(rec1, rec2) { + var msUTC1 = createUTC(rec1.year, rec1.month - 1, rec1.day, rec1.hour, rec1.minute, rec1.second, rec1.millisecond); + var msUTC2 = createUTC(rec2.year, rec2.month - 1, rec2.day, rec2.hour, rec2.minute, rec2.second, rec2.millisecond); + return msUTC1 - msUTC2; +} + +export function adjustImpl(just) { + return function (nothing) { + return function (offset) { + return function (rec) { + var msUTC = createUTC(rec.year, rec.month - 1, rec.day, rec.hour, rec.minute, rec.second, rec.millisecond); + var dt = new Date(msUTC + offset); + return isNaN(dt.getTime()) ? nothing : just({ + year: dt.getUTCFullYear(), + month: dt.getUTCMonth() + 1, + day: dt.getUTCDate(), + hour: dt.getUTCHours(), + minute: dt.getUTCMinutes(), + second: dt.getUTCSeconds(), + millisecond: dt.getUTCMilliseconds() + }); + }; + }; + }; +} diff --git a/.storybook/purescript-indexer/output-es/Data.DateTime/index.js b/.storybook/purescript-indexer/output-es/Data.DateTime/index.js new file mode 100644 index 0000000..7bf8624 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.DateTime/index.js @@ -0,0 +1,94 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dDate from "../Data.Date/index.js"; +import * as Data$dDate$dComponent from "../Data.Date.Component/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import * as Data$dTime from "../Data.Time/index.js"; +import {adjustImpl, calcDiff} from "./foreign.js"; +const $DateTime = (_1, _2) => ({tag: "DateTime", _1, _2}); +const DateTime = value0 => value1 => $DateTime(value0, value1); +const toRecord = v => ( + { + year: v._1._1, + month: (() => { + if (v._1._2.tag === "January") { return 1; } + if (v._1._2.tag === "February") { return 2; } + if (v._1._2.tag === "March") { return 3; } + if (v._1._2.tag === "April") { return 4; } + if (v._1._2.tag === "May") { return 5; } + if (v._1._2.tag === "June") { return 6; } + if (v._1._2.tag === "July") { return 7; } + if (v._1._2.tag === "August") { return 8; } + if (v._1._2.tag === "September") { return 9; } + if (v._1._2.tag === "October") { return 10; } + if (v._1._2.tag === "November") { return 11; } + if (v._1._2.tag === "December") { return 12; } + $runtime.fail(); + })(), + day: v._1._3, + hour: v._2._1, + minute: v._2._2, + second: v._2._3, + millisecond: v._2._4 + } +); +const time = v => v._2; +const showDateTime = {show: v => "(DateTime " + (Data$dDate.showDate.show(v._1) + (" " + (Data$dTime.showTime.show(v._2) + ")")))}; +const modifyTimeF = dictFunctor => f => v => dictFunctor.map(DateTime(v._1))(f(v._2)); +const modifyTime = f => v => $DateTime(v._1, f(v._2)); +const modifyDateF = dictFunctor => f => v => dictFunctor.map(a => $DateTime(a, v._2))(f(v._1)); +const modifyDate = f => v => $DateTime(f(v._1), v._2); +const eqDateTime = {eq: x => y => Data$dDate.eqDate.eq(x._1)(y._1) && (x._2._1 === y._2._1 && x._2._2 === y._2._2 && x._2._3 === y._2._3 && x._2._4 === y._2._4)}; +const ordDateTime = { + compare: x => y => { + const v = Data$dDate.ordDate.compare(x._1)(y._1); + if (v.tag === "LT") { return Data$dOrdering.LT; } + if (v.tag === "GT") { return Data$dOrdering.GT; } + return Data$dTime.ordTime.compare(x._2)(y._2); + }, + Eq0: () => eqDateTime +}; +const diff = dictDuration => dt1 => dt2 => dictDuration.toDuration(calcDiff(toRecord(dt1), toRecord(dt2))); +const date = v => v._1; +const boundedDateTime = { + bottom: /* #__PURE__ */ $DateTime(/* #__PURE__ */ Data$dDate.$Date(-271820, Data$dDate$dComponent.January, 1), /* #__PURE__ */ Data$dTime.$Time(0, 0, 0, 0)), + top: /* #__PURE__ */ $DateTime(/* #__PURE__ */ Data$dDate.$Date(275759, Data$dDate$dComponent.December, 31), /* #__PURE__ */ Data$dTime.$Time(23, 59, 59, 999)), + Ord0: () => ordDateTime +}; +const adjust = dictDuration => d => dt => { + const $3 = adjustImpl(Data$dMaybe.Just)(Data$dMaybe.Nothing)(dictDuration.fromDuration(d))(toRecord(dt)); + if ($3.tag === "Just") { + return Data$dMaybe.applyMaybe.apply((() => { + const $4 = Data$dMaybe.applyMaybe.apply(Data$dMaybe.applyMaybe.apply((() => { + if ($3._1.year >= -271820 && $3._1.year <= 275759) { return Data$dMaybe.$Maybe("Just", Data$dDate.exactDate($3._1.year)); } + return Data$dMaybe.Nothing; + })())(Data$dDate$dComponent.boundedEnumMonth.toEnum($3._1.month)))((() => { + if ($3._1.day >= 1 && $3._1.day <= 31) { return Data$dMaybe.$Maybe("Just", $3._1.day); } + return Data$dMaybe.Nothing; + })()); + const $5 = (() => { + if ($4.tag === "Just") { return $4._1; } + if ($4.tag === "Nothing") { return Data$dMaybe.Nothing; } + $runtime.fail(); + })(); + if ($5.tag === "Just") { return Data$dMaybe.$Maybe("Just", DateTime($5._1)); } + return Data$dMaybe.Nothing; + })())(Data$dMaybe.applyMaybe.apply(Data$dMaybe.applyMaybe.apply(Data$dMaybe.applyMaybe.apply((() => { + if ($3._1.hour >= 0 && $3._1.hour <= 23) { return Data$dMaybe.$Maybe("Just", Data$dTime.Time($3._1.hour)); } + return Data$dMaybe.Nothing; + })())((() => { + if ($3._1.minute >= 0 && $3._1.minute <= 59) { return Data$dMaybe.$Maybe("Just", $3._1.minute); } + return Data$dMaybe.Nothing; + })()))((() => { + if ($3._1.second >= 0 && $3._1.second <= 59) { return Data$dMaybe.$Maybe("Just", $3._1.second); } + return Data$dMaybe.Nothing; + })()))((() => { + if ($3._1.millisecond >= 0 && $3._1.millisecond <= 999) { return Data$dMaybe.$Maybe("Just", $3._1.millisecond); } + return Data$dMaybe.Nothing; + })())); + } + if ($3.tag === "Nothing") { return Data$dMaybe.Nothing; } + $runtime.fail(); +}; +export {$DateTime, DateTime, adjust, boundedDateTime, date, diff, eqDateTime, modifyDate, modifyDateF, modifyTime, modifyTimeF, ordDateTime, showDateTime, time, toRecord}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.Decidable/index.js b/.storybook/purescript-indexer/output-es/Data.Decidable/index.js new file mode 100644 index 0000000..559e433 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Decidable/index.js @@ -0,0 +1,75 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dDecide from "../Data.Decide/index.js"; +import * as Data$dDivisible from "../Data.Divisible/index.js"; +const identity = x => x; +const lose = dict => dict.lose; +const lost = dictDecidable => dictDecidable.lose(identity); +const decidablePredicate = { + lose: f => a => { + const spin = spin$a0$copy => { + let spin$a0 = spin$a0$copy, spin$c = true, spin$r; + while (spin$c) { + const v = spin$a0; + spin$a0 = v; + continue; + }; + return spin$r; + }; + return spin(f(a)); + }, + Decide0: () => Data$dDecide.choosePredicate, + Divisible1: () => Data$dDivisible.divisiblePredicate +}; +const decidableOp = dictMonoid => { + const chooseOp = Data$dDecide.chooseOp(dictMonoid.Semigroup0()); + const divisibleOp = Data$dDivisible.divisibleOp(dictMonoid); + return { + lose: f => a => { + const spin = spin$a0$copy => { + let spin$a0 = spin$a0$copy, spin$c = true, spin$r; + while (spin$c) { + const v = spin$a0; + spin$a0 = v; + continue; + }; + return spin$r; + }; + return spin(f(a)); + }, + Decide0: () => chooseOp, + Divisible1: () => divisibleOp + }; +}; +const decidableEquivalence = { + lose: f => a => { + const spin = spin$a0$copy => { + let spin$a0 = spin$a0$copy, spin$c = true, spin$r; + while (spin$c) { + const v = spin$a0; + spin$a0 = v; + continue; + }; + return spin$r; + }; + return spin(f(a)); + }, + Decide0: () => Data$dDecide.chooseEquivalence, + Divisible1: () => Data$dDivisible.divisibleEquivalence +}; +const decidableComparison = { + lose: f => a => v => { + const spin = spin$a0$copy => { + let spin$a0 = spin$a0$copy, spin$c = true, spin$r; + while (spin$c) { + const v$1 = spin$a0; + spin$a0 = v$1; + continue; + }; + return spin$r; + }; + return spin(f(a)); + }, + Decide0: () => Data$dDecide.chooseComparison, + Divisible1: () => Data$dDivisible.divisibleComparison +}; +export {decidableComparison, decidableEquivalence, decidableOp, decidablePredicate, identity, lose, lost}; diff --git a/.storybook/purescript-indexer/output-es/Data.Decide/index.js b/.storybook/purescript-indexer/output-es/Data.Decide/index.js new file mode 100644 index 0000000..909f1a9 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Decide/index.js @@ -0,0 +1,66 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dDivide from "../Data.Divide/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +const identity = x => x; +const choosePredicate = { + choose: f => v => v1 => x => { + const $4 = f(x); + if ($4.tag === "Left") { return v($4._1); } + if ($4.tag === "Right") { return v1($4._1); } + $runtime.fail(); + }, + Divide0: () => Data$dDivide.dividePredicate +}; +const chooseOp = dictSemigroup => { + const divideOp = Data$dDivide.divideOp(dictSemigroup); + return { + choose: f => v => v1 => x => { + const $6 = f(x); + if ($6.tag === "Left") { return v($6._1); } + if ($6.tag === "Right") { return v1($6._1); } + $runtime.fail(); + }, + Divide0: () => divideOp + }; +}; +const chooseEquivalence = { + choose: f => v => v1 => a => b => { + const v2 = f(a); + if (v2.tag === "Left") { + const v3 = f(b); + if (v3.tag === "Left") { return v(v2._1)(v3._1); } + if (v3.tag === "Right") { return false; } + $runtime.fail(); + } + if (v2.tag === "Right") { + const v3 = f(b); + if (v3.tag === "Left") { return false; } + if (v3.tag === "Right") { return v1(v2._1)(v3._1); } + $runtime.fail(); + } + $runtime.fail(); + }, + Divide0: () => Data$dDivide.divideEquivalence +}; +const chooseComparison = { + choose: f => v => v1 => a => b => { + const v2 = f(a); + if (v2.tag === "Left") { + const v3 = f(b); + if (v3.tag === "Left") { return v(v2._1)(v3._1); } + if (v3.tag === "Right") { return Data$dOrdering.LT; } + $runtime.fail(); + } + if (v2.tag === "Right") { + const v3 = f(b); + if (v3.tag === "Left") { return Data$dOrdering.GT; } + if (v3.tag === "Right") { return v1(v2._1)(v3._1); } + $runtime.fail(); + } + $runtime.fail(); + }, + Divide0: () => Data$dDivide.divideComparison +}; +const choose = dict => dict.choose; +const chosen = dictDecide => dictDecide.choose(identity); +export {choose, chooseComparison, chooseEquivalence, chooseOp, choosePredicate, chosen, identity}; diff --git a/.storybook/purescript-indexer/output-es/Data.Distributive/index.js b/.storybook/purescript-indexer/output-es/Data.Distributive/index.js new file mode 100644 index 0000000..573f26f --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Distributive/index.js @@ -0,0 +1,60 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dFunctor from "../Data.Functor/index.js"; +import * as Data$dIdentity from "../Data.Identity/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import * as Unsafe$dCoerce from "../Unsafe.Coerce/index.js"; +const identity = x => x; +const distributiveIdentity = { + distribute: dictFunctor => dictFunctor.map(Unsafe$dCoerce.unsafeCoerce), + collect: dictFunctor => f => dictFunctor.map(x => f(x)), + Functor0: () => Data$dIdentity.functorIdentity +}; +const distribute = dict => dict.distribute; +const distributiveFunction = { + distribute: dictFunctor => a => e => dictFunctor.map(v => v(e))(a), + collect: dictFunctor => f => { + const $2 = distributiveFunction.distribute(dictFunctor); + const $3 = dictFunctor.map(f); + return x => $2($3(x)); + }, + Functor0: () => Data$dFunctor.functorFn +}; +const cotraverse = dictDistributive => { + const map = dictDistributive.Functor0().map; + return dictFunctor => { + const distribute2 = dictDistributive.distribute(dictFunctor); + return f => { + const $5 = map(f); + return x => $5(distribute2(x)); + }; + }; +}; +const collectDefault = dictDistributive => dictFunctor => { + const distribute2 = dictDistributive.distribute(dictFunctor); + return f => { + const $4 = dictFunctor.map(f); + return x => distribute2($4(x)); + }; +}; +const distributiveTuple = dictTypeEquals => { + const from = dictTypeEquals.proof(a => a); + return { + collect: dictFunctor => { + const distribute2 = distributiveTuple(dictTypeEquals).distribute(dictFunctor); + return f => { + const $5 = dictFunctor.map(f); + return x => distribute2($5(x)); + }; + }, + distribute: dictFunctor => { + const $3 = Data$dTuple.Tuple(from(Data$dUnit.unit)); + const $4 = dictFunctor.map(Data$dTuple.snd); + return x => $3($4(x)); + }, + Functor0: () => Data$dTuple.functorTuple + }; +}; +const collect = dict => dict.collect; +const distributeDefault = dictDistributive => dictFunctor => dictDistributive.collect(dictFunctor)(identity); +export {collect, collectDefault, cotraverse, distribute, distributeDefault, distributiveFunction, distributiveIdentity, distributiveTuple, identity}; diff --git a/.storybook/purescript-indexer/output-es/Data.Divide/index.js b/.storybook/purescript-indexer/output-es/Data.Divide/index.js new file mode 100644 index 0000000..4914229 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Divide/index.js @@ -0,0 +1,47 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dComparison from "../Data.Comparison/index.js"; +import * as Data$dEquivalence from "../Data.Equivalence/index.js"; +import * as Data$dOp from "../Data.Op/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import * as Data$dPredicate from "../Data.Predicate/index.js"; +const identity = x => x; +const dividePredicate = { + divide: f => v => v1 => a => { + const v2 = f(a); + return v(v2._1) && v1(v2._2); + }, + Contravariant0: () => Data$dPredicate.contravariantPredicate +}; +const divideOp = dictSemigroup => ( + { + divide: f => v => v1 => a => { + const v2 = f(a); + return dictSemigroup.append(v(v2._1))(v1(v2._2)); + }, + Contravariant0: () => Data$dOp.contravariantOp + } +); +const divideEquivalence = { + divide: f => v => v1 => a => b => { + const v2 = f(a); + const v3 = f(b); + return v(v2._1)(v3._1) && v1(v2._2)(v3._2); + }, + Contravariant0: () => Data$dEquivalence.contravariantEquivalence +}; +const divideComparison = { + divide: f => v => v1 => a => b => { + const v2 = f(a); + const v3 = f(b); + const $7 = v(v2._1)(v3._1); + const $8 = v1(v2._2)(v3._2); + if ($7.tag === "LT") { return Data$dOrdering.LT; } + if ($7.tag === "GT") { return Data$dOrdering.GT; } + if ($7.tag === "EQ") { return $8; } + $runtime.fail(); + }, + Contravariant0: () => Data$dComparison.contravariantComparison +}; +const divide = dict => dict.divide; +const divided = dictDivide => dictDivide.divide(identity); +export {divide, divideComparison, divideEquivalence, divideOp, dividePredicate, divided, identity}; diff --git a/.storybook/purescript-indexer/output-es/Data.Divisible/index.js b/.storybook/purescript-indexer/output-es/Data.Divisible/index.js new file mode 100644 index 0000000..e9bd71c --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Divisible/index.js @@ -0,0 +1,12 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dDivide from "../Data.Divide/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +const divisiblePredicate = {conquer: v => true, Divide0: () => Data$dDivide.dividePredicate}; +const divisibleOp = dictMonoid => { + const divideOp = Data$dDivide.divideOp(dictMonoid.Semigroup0()); + return {conquer: v => dictMonoid.mempty, Divide0: () => divideOp}; +}; +const divisibleEquivalence = {conquer: v => v1 => true, Divide0: () => Data$dDivide.divideEquivalence}; +const divisibleComparison = {conquer: v => v1 => Data$dOrdering.EQ, Divide0: () => Data$dDivide.divideComparison}; +const conquer = dict => dict.conquer; +export {conquer, divisibleComparison, divisibleEquivalence, divisibleOp, divisiblePredicate}; diff --git a/.storybook/purescript-indexer/output-es/Data.DivisionRing/index.js b/.storybook/purescript-indexer/output-es/Data.DivisionRing/index.js new file mode 100644 index 0000000..700f4ff --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.DivisionRing/index.js @@ -0,0 +1,13 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dRing from "../Data.Ring/index.js"; +const recip = dict => dict.recip; +const rightDiv = dictDivisionRing => { + const mul = dictDivisionRing.Ring0().Semiring0().mul; + return a => b => mul(a)(dictDivisionRing.recip(b)); +}; +const leftDiv = dictDivisionRing => { + const mul = dictDivisionRing.Ring0().Semiring0().mul; + return a => b => mul(dictDivisionRing.recip(b))(a); +}; +const divisionringNumber = {recip: x => 1.0 / x, Ring0: () => Data$dRing.ringNumber}; +export {divisionringNumber, leftDiv, recip, rightDiv}; diff --git a/.storybook/purescript-indexer/output-es/Data.Either.Inject/index.js b/.storybook/purescript-indexer/output-es/Data.Either.Inject/index.js new file mode 100644 index 0000000..1bf69dc --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Either.Inject/index.js @@ -0,0 +1,25 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +const prj = dict => dict.prj; +const injectReflexive = {inj: x => x, prj: Data$dMaybe.Just}; +const injectLeft = { + inj: Data$dEither.Left, + prj: v2 => { + if (v2.tag === "Left") { return Data$dMaybe.$Maybe("Just", v2._1); } + if (v2.tag === "Right") { return Data$dMaybe.Nothing; } + $runtime.fail(); + } +}; +const inj = dict => dict.inj; +const injectRight = dictInject => ( + { + inj: x => Data$dEither.$Either("Right", dictInject.inj(x)), + prj: v2 => { + if (v2.tag === "Left") { return Data$dMaybe.Nothing; } + if (v2.tag === "Right") { return dictInject.prj(v2._1); } + $runtime.fail(); + } + } +); +export {inj, injectLeft, injectReflexive, injectRight, prj}; diff --git a/.storybook/purescript-indexer/output-es/Data.Either.Nested/index.js b/.storybook/purescript-indexer/output-es/Data.Either.Nested/index.js new file mode 100644 index 0000000..3f70719 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Either.Nested/index.js @@ -0,0 +1,622 @@ +// | Utilities for n-eithers: sums types with more than two terms built from nested eithers. +// | +// | Nested eithers arise naturally in sum combinators. You shouldn't +// | represent sum data using nested eithers, but if combinators you're working with +// | create them, utilities in this module will allow to to more easily work +// | with them, including translating to and from more traditional sum types. +// | +// | ```purescript +// | data Color = Red Number | Green Number | Blue Number +// | +// | fromEither3 :: Either3 Number Number Number -> Color +// | fromEither3 = either3 Red Green Blue +// | +// | toEither3 :: Color -> Either3 Number Number Number +// | toEither3 (Red v) = in1 v +// | toEither3 (Green v) = in2 v +// | toEither3 (Blue v) = in3 v +// | ``` +import * as $runtime from "../runtime.js"; +import * as Data$dEither from "../Data.Either/index.js"; +const in9 = v => Data$dEither.$Either( + "Right", + Data$dEither.$Either( + "Right", + Data$dEither.$Either( + "Right", + Data$dEither.$Either( + "Right", + Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Left", v))))) + ) + ) + ) +); +const in8 = v => Data$dEither.$Either( + "Right", + Data$dEither.$Either( + "Right", + Data$dEither.$Either( + "Right", + Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Left", v))))) + ) + ) +); +const in7 = v => Data$dEither.$Either( + "Right", + Data$dEither.$Either( + "Right", + Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Left", v))))) + ) +); +const in6 = v => Data$dEither.$Either( + "Right", + Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Left", v))))) +); +const in5 = v => Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Left", v))))); +const in4 = v => Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Left", v)))); +const in3 = v => Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Left", v))); +const in2 = v => Data$dEither.$Either("Right", Data$dEither.$Either("Left", v)); +const in10 = v => Data$dEither.$Either( + "Right", + Data$dEither.$Either( + "Right", + Data$dEither.$Either( + "Right", + Data$dEither.$Either( + "Right", + Data$dEither.$Either( + "Right", + Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Left", v))))) + ) + ) + ) + ) +); +const in1 = Data$dEither.Left; +const either9 = a => b => c => d => e => f => g => h => i => y => { + if (y.tag === "Left") { return a(y._1); } + if (y.tag === "Right") { + if (y._1.tag === "Left") { return b(y._1._1); } + if (y._1.tag === "Right") { + if (y._1._1.tag === "Left") { return c(y._1._1._1); } + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Left") { return d(y._1._1._1._1); } + if (y._1._1._1.tag === "Right") { + if (y._1._1._1._1.tag === "Left") { return e(y._1._1._1._1._1); } + if (y._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1.tag === "Left") { return f(y._1._1._1._1._1._1); } + if (y._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1.tag === "Left") { return g(y._1._1._1._1._1._1._1); } + if (y._1._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1._1.tag === "Left") { return h(y._1._1._1._1._1._1._1._1); } + if (y._1._1._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1._1._1.tag === "Left") { return i(y._1._1._1._1._1._1._1._1._1); } + if (y._1._1._1._1._1._1._1._1.tag === "Right") { + const spin = spin$a0$copy => { + let spin$a0 = spin$a0$copy, spin$c = true, spin$r; + while (spin$c) { + const v = spin$a0; + spin$a0 = v; + continue; + }; + return spin$r; + }; + return spin(y._1._1._1._1._1._1._1._1._1); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); +}; +const either8 = a => b => c => d => e => f => g => h => y => { + if (y.tag === "Left") { return a(y._1); } + if (y.tag === "Right") { + if (y._1.tag === "Left") { return b(y._1._1); } + if (y._1.tag === "Right") { + if (y._1._1.tag === "Left") { return c(y._1._1._1); } + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Left") { return d(y._1._1._1._1); } + if (y._1._1._1.tag === "Right") { + if (y._1._1._1._1.tag === "Left") { return e(y._1._1._1._1._1); } + if (y._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1.tag === "Left") { return f(y._1._1._1._1._1._1); } + if (y._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1.tag === "Left") { return g(y._1._1._1._1._1._1._1); } + if (y._1._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1._1.tag === "Left") { return h(y._1._1._1._1._1._1._1._1); } + if (y._1._1._1._1._1._1._1.tag === "Right") { + const spin = spin$a0$copy => { + let spin$a0 = spin$a0$copy, spin$c = true, spin$r; + while (spin$c) { + const v = spin$a0; + spin$a0 = v; + continue; + }; + return spin$r; + }; + return spin(y._1._1._1._1._1._1._1._1); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); +}; +const either7 = a => b => c => d => e => f => g => y => { + if (y.tag === "Left") { return a(y._1); } + if (y.tag === "Right") { + if (y._1.tag === "Left") { return b(y._1._1); } + if (y._1.tag === "Right") { + if (y._1._1.tag === "Left") { return c(y._1._1._1); } + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Left") { return d(y._1._1._1._1); } + if (y._1._1._1.tag === "Right") { + if (y._1._1._1._1.tag === "Left") { return e(y._1._1._1._1._1); } + if (y._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1.tag === "Left") { return f(y._1._1._1._1._1._1); } + if (y._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1.tag === "Left") { return g(y._1._1._1._1._1._1._1); } + if (y._1._1._1._1._1._1.tag === "Right") { + const spin = spin$a0$copy => { + let spin$a0 = spin$a0$copy, spin$c = true, spin$r; + while (spin$c) { + const v = spin$a0; + spin$a0 = v; + continue; + }; + return spin$r; + }; + return spin(y._1._1._1._1._1._1._1); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); +}; +const either6 = a => b => c => d => e => f => y => { + if (y.tag === "Left") { return a(y._1); } + if (y.tag === "Right") { + if (y._1.tag === "Left") { return b(y._1._1); } + if (y._1.tag === "Right") { + if (y._1._1.tag === "Left") { return c(y._1._1._1); } + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Left") { return d(y._1._1._1._1); } + if (y._1._1._1.tag === "Right") { + if (y._1._1._1._1.tag === "Left") { return e(y._1._1._1._1._1); } + if (y._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1.tag === "Left") { return f(y._1._1._1._1._1._1); } + if (y._1._1._1._1._1.tag === "Right") { + const spin = spin$a0$copy => { + let spin$a0 = spin$a0$copy, spin$c = true, spin$r; + while (spin$c) { + const v = spin$a0; + spin$a0 = v; + continue; + }; + return spin$r; + }; + return spin(y._1._1._1._1._1._1); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); +}; +const either5 = a => b => c => d => e => y => { + if (y.tag === "Left") { return a(y._1); } + if (y.tag === "Right") { + if (y._1.tag === "Left") { return b(y._1._1); } + if (y._1.tag === "Right") { + if (y._1._1.tag === "Left") { return c(y._1._1._1); } + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Left") { return d(y._1._1._1._1); } + if (y._1._1._1.tag === "Right") { + if (y._1._1._1._1.tag === "Left") { return e(y._1._1._1._1._1); } + if (y._1._1._1._1.tag === "Right") { + const spin = spin$a0$copy => { + let spin$a0 = spin$a0$copy, spin$c = true, spin$r; + while (spin$c) { + const v = spin$a0; + spin$a0 = v; + continue; + }; + return spin$r; + }; + return spin(y._1._1._1._1._1); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); +}; +const either4 = a => b => c => d => y => { + if (y.tag === "Left") { return a(y._1); } + if (y.tag === "Right") { + if (y._1.tag === "Left") { return b(y._1._1); } + if (y._1.tag === "Right") { + if (y._1._1.tag === "Left") { return c(y._1._1._1); } + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Left") { return d(y._1._1._1._1); } + if (y._1._1._1.tag === "Right") { + const spin = spin$a0$copy => { + let spin$a0 = spin$a0$copy, spin$c = true, spin$r; + while (spin$c) { + const v = spin$a0; + spin$a0 = v; + continue; + }; + return spin$r; + }; + return spin(y._1._1._1._1); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); +}; +const either3 = a => b => c => y => { + if (y.tag === "Left") { return a(y._1); } + if (y.tag === "Right") { + if (y._1.tag === "Left") { return b(y._1._1); } + if (y._1.tag === "Right") { + if (y._1._1.tag === "Left") { return c(y._1._1._1); } + if (y._1._1.tag === "Right") { + const spin = spin$a0$copy => { + let spin$a0 = spin$a0$copy, spin$c = true, spin$r; + while (spin$c) { + const v = spin$a0; + spin$a0 = v; + continue; + }; + return spin$r; + }; + return spin(y._1._1._1); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); +}; +const either2 = a => b => y => { + if (y.tag === "Left") { return a(y._1); } + if (y.tag === "Right") { + if (y._1.tag === "Left") { return b(y._1._1); } + if (y._1.tag === "Right") { + const spin = spin$a0$copy => { + let spin$a0 = spin$a0$copy, spin$c = true, spin$r; + while (spin$c) { + const v = spin$a0; + spin$a0 = v; + continue; + }; + return spin$r; + }; + return spin(y._1._1); + } + $runtime.fail(); + } + $runtime.fail(); +}; +const either10 = a => b => c => d => e => f => g => h => i => j => y => { + if (y.tag === "Left") { return a(y._1); } + if (y.tag === "Right") { + if (y._1.tag === "Left") { return b(y._1._1); } + if (y._1.tag === "Right") { + if (y._1._1.tag === "Left") { return c(y._1._1._1); } + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Left") { return d(y._1._1._1._1); } + if (y._1._1._1.tag === "Right") { + if (y._1._1._1._1.tag === "Left") { return e(y._1._1._1._1._1); } + if (y._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1.tag === "Left") { return f(y._1._1._1._1._1._1); } + if (y._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1.tag === "Left") { return g(y._1._1._1._1._1._1._1); } + if (y._1._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1._1.tag === "Left") { return h(y._1._1._1._1._1._1._1._1); } + if (y._1._1._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1._1._1.tag === "Left") { return i(y._1._1._1._1._1._1._1._1._1); } + if (y._1._1._1._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1._1._1._1.tag === "Left") { return j(y._1._1._1._1._1._1._1._1._1._1); } + if (y._1._1._1._1._1._1._1._1._1.tag === "Right") { + const spin = spin$a0$copy => { + let spin$a0 = spin$a0$copy, spin$c = true, spin$r; + while (spin$c) { + const v = spin$a0; + spin$a0 = v; + continue; + }; + return spin$r; + }; + return spin(y._1._1._1._1._1._1._1._1._1._1); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); +}; +const either1 = y => { + if (y.tag === "Left") { return y._1; } + if (y.tag === "Right") { + const spin = spin$a0$copy => { + let spin$a0 = spin$a0$copy, spin$c = true, spin$r; + while (spin$c) { + const v = spin$a0; + spin$a0 = v; + continue; + }; + return spin$r; + }; + return spin(y._1); + } + $runtime.fail(); +}; +const at9 = b => f => y => { + if (y.tag === "Right") { + if (y._1.tag === "Right") { + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Right") { + if (y._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1._1._1.tag === "Left") { return f(y._1._1._1._1._1._1._1._1._1); } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; +}; +const at8 = b => f => y => { + if (y.tag === "Right") { + if (y._1.tag === "Right") { + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Right") { + if (y._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1._1.tag === "Left") { return f(y._1._1._1._1._1._1._1._1); } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; +}; +const at7 = b => f => y => { + if (y.tag === "Right") { + if (y._1.tag === "Right") { + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Right") { + if (y._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1.tag === "Left") { return f(y._1._1._1._1._1._1._1); } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; +}; +const at6 = b => f => y => { + if (y.tag === "Right") { + if (y._1.tag === "Right") { + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Right") { + if (y._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1.tag === "Left") { return f(y._1._1._1._1._1._1); } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; +}; +const at5 = b => f => y => { + if (y.tag === "Right") { + if (y._1.tag === "Right") { + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Right") { + if (y._1._1._1._1.tag === "Left") { return f(y._1._1._1._1._1); } + return b; + } + return b; + } + return b; + } + return b; + } + return b; +}; +const at4 = b => f => y => { + if (y.tag === "Right") { + if (y._1.tag === "Right") { + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Left") { return f(y._1._1._1._1); } + return b; + } + return b; + } + return b; + } + return b; +}; +const at3 = b => f => y => { + if (y.tag === "Right") { + if (y._1.tag === "Right") { + if (y._1._1.tag === "Left") { return f(y._1._1._1); } + return b; + } + return b; + } + return b; +}; +const at2 = b => f => y => { + if (y.tag === "Right") { + if (y._1.tag === "Left") { return f(y._1._1); } + return b; + } + return b; +}; +const at10 = b => f => y => { + if (y.tag === "Right") { + if (y._1.tag === "Right") { + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Right") { + if (y._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1._1._1._1.tag === "Left") { return f(y._1._1._1._1._1._1._1._1._1._1); } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; +}; +const at1 = b => f => y => { + if (y.tag === "Left") { return f(y._1); } + return b; +}; +export { + at1, + at10, + at2, + at3, + at4, + at5, + at6, + at7, + at8, + at9, + either1, + either10, + either2, + either3, + either4, + either5, + either6, + either7, + either8, + either9, + in1, + in10, + in2, + in3, + in4, + in5, + in6, + in7, + in8, + in9 +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Either/index.js b/.storybook/purescript-indexer/output-es/Data.Either/index.js new file mode 100644 index 0000000..9a2083f --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Either/index.js @@ -0,0 +1,259 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dGeneric$dRep from "../Data.Generic.Rep/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const $Either = (tag, _1) => ({tag, _1}); +const Left = value0 => $Either("Left", value0); +const Right = value0 => $Either("Right", value0); +const showEither = dictShow => dictShow1 => ( + { + show: v => { + if (v.tag === "Left") { return "(Left " + (dictShow.show(v._1) + ")"); } + if (v.tag === "Right") { return "(Right " + (dictShow1.show(v._1) + ")"); } + $runtime.fail(); + } + } +); +const note$p = f => v2 => { + if (v2.tag === "Nothing") { return $Either("Left", f(Data$dUnit.unit)); } + if (v2.tag === "Just") { return $Either("Right", v2._1); } + $runtime.fail(); +}; +const note = a => v2 => { + if (v2.tag === "Nothing") { return $Either("Left", a); } + if (v2.tag === "Just") { return $Either("Right", v2._1); } + $runtime.fail(); +}; +const genericEither = { + to: x => { + if (x.tag === "Inl") { return $Either("Left", x._1); } + if (x.tag === "Inr") { return $Either("Right", x._1); } + $runtime.fail(); + }, + from: x => { + if (x.tag === "Left") { return Data$dGeneric$dRep.$Sum("Inl", x._1); } + if (x.tag === "Right") { return Data$dGeneric$dRep.$Sum("Inr", x._1); } + $runtime.fail(); + } +}; +const functorEither = { + map: f => m => { + if (m.tag === "Left") { return $Either("Left", m._1); } + if (m.tag === "Right") { return $Either("Right", f(m._1)); } + $runtime.fail(); + } +}; +const invariantEither = {imap: f => v => functorEither.map(f)}; +const fromRight$p = v => v1 => { + if (v1.tag === "Right") { return v1._1; } + return v(Data$dUnit.unit); +}; +const fromRight = v => v1 => { + if (v1.tag === "Right") { return v1._1; } + return v; +}; +const fromLeft$p = v => v1 => { + if (v1.tag === "Left") { return v1._1; } + return v(Data$dUnit.unit); +}; +const fromLeft = v => v1 => { + if (v1.tag === "Left") { return v1._1; } + return v; +}; +const extendEither = { + extend: v => v1 => { + if (v1.tag === "Left") { return $Either("Left", v1._1); } + return $Either("Right", v(v1)); + }, + Functor0: () => functorEither +}; +const eqEither = dictEq => dictEq1 => ( + { + eq: x => y => { + if (x.tag === "Left") { + if (y.tag === "Left") { return dictEq.eq(x._1)(y._1); } + return false; + } + if (x.tag === "Right") { + if (y.tag === "Right") { return dictEq1.eq(x._1)(y._1); } + return false; + } + return false; + } + } +); +const ordEither = dictOrd => { + const $1 = dictOrd.Eq0(); + return dictOrd1 => { + const $3 = dictOrd1.Eq0(); + const eqEither2 = { + eq: x => y => { + if (x.tag === "Left") { + if (y.tag === "Left") { return $1.eq(x._1)(y._1); } + return false; + } + if (x.tag === "Right") { + if (y.tag === "Right") { return $3.eq(x._1)(y._1); } + return false; + } + return false; + } + }; + return { + compare: x => y => { + if (x.tag === "Left") { + if (y.tag === "Left") { return dictOrd.compare(x._1)(y._1); } + return Data$dOrdering.LT; + } + if (y.tag === "Left") { return Data$dOrdering.GT; } + if (x.tag === "Right") { + if (y.tag === "Right") { return dictOrd1.compare(x._1)(y._1); } + $runtime.fail(); + } + $runtime.fail(); + }, + Eq0: () => eqEither2 + }; + }; +}; +const eq1Either = dictEq => ( + { + eq1: dictEq1 => x => y => { + if (x.tag === "Left") { + if (y.tag === "Left") { return dictEq.eq(x._1)(y._1); } + return false; + } + if (x.tag === "Right") { + if (y.tag === "Right") { return dictEq1.eq(x._1)(y._1); } + return false; + } + return false; + } + } +); +const ord1Either = dictOrd => { + const ordEither1 = ordEither(dictOrd); + const $2 = dictOrd.Eq0(); + const eq1Either1 = { + eq1: dictEq1 => x => y => { + if (x.tag === "Left") { + if (y.tag === "Left") { return $2.eq(x._1)(y._1); } + return false; + } + if (x.tag === "Right") { + if (y.tag === "Right") { return dictEq1.eq(x._1)(y._1); } + return false; + } + return false; + } + }; + return {compare1: dictOrd1 => ordEither1(dictOrd1).compare, Eq10: () => eq1Either1}; +}; +const either = v => v1 => v2 => { + if (v2.tag === "Left") { return v(v2._1); } + if (v2.tag === "Right") { return v1(v2._1); } + $runtime.fail(); +}; +const hush = v2 => { + if (v2.tag === "Left") { return Data$dMaybe.Nothing; } + if (v2.tag === "Right") { return Data$dMaybe.$Maybe("Just", v2._1); } + $runtime.fail(); +}; +const isLeft = v2 => { + if (v2.tag === "Left") { return true; } + if (v2.tag === "Right") { return false; } + $runtime.fail(); +}; +const isRight = v2 => { + if (v2.tag === "Left") { return false; } + if (v2.tag === "Right") { return true; } + $runtime.fail(); +}; +const choose = dictAlt => { + const map1 = dictAlt.Functor0().map; + return a => b => dictAlt.alt(map1(Left)(a))(map1(Right)(b)); +}; +const boundedEither = dictBounded => { + const ordEither1 = ordEither(dictBounded.Ord0()); + return dictBounded1 => { + const ordEither2 = ordEither1(dictBounded1.Ord0()); + return {top: $Either("Right", dictBounded1.top), bottom: $Either("Left", dictBounded.bottom), Ord0: () => ordEither2}; + }; +}; +const blush = v2 => { + if (v2.tag === "Left") { return Data$dMaybe.$Maybe("Just", v2._1); } + if (v2.tag === "Right") { return Data$dMaybe.Nothing; } + $runtime.fail(); +}; +const applyEither = { + apply: v => v1 => { + if (v.tag === "Left") { return $Either("Left", v._1); } + if (v.tag === "Right") { + if (v1.tag === "Left") { return $Either("Left", v1._1); } + if (v1.tag === "Right") { return $Either("Right", v._1(v1._1)); } + $runtime.fail(); + } + $runtime.fail(); + }, + Functor0: () => functorEither +}; +const bindEither = { + bind: v2 => { + if (v2.tag === "Left") { return v => $Either("Left", v2._1); } + if (v2.tag === "Right") { return f => f(v2._1); } + $runtime.fail(); + }, + Apply0: () => applyEither +}; +const semigroupEither = dictSemigroup => ( + { + append: x => y => applyEither.apply((() => { + if (x.tag === "Left") { return $Either("Left", x._1); } + if (x.tag === "Right") { return $Either("Right", dictSemigroup.append(x._1)); } + $runtime.fail(); + })())(y) + } +); +const applicativeEither = {pure: Right, Apply0: () => applyEither}; +const monadEither = {Applicative0: () => applicativeEither, Bind1: () => bindEither}; +const altEither = { + alt: v => v1 => { + if (v.tag === "Left") { return v1; } + return v; + }, + Functor0: () => functorEither +}; +export { + $Either, + Left, + Right, + altEither, + applicativeEither, + applyEither, + bindEither, + blush, + boundedEither, + choose, + either, + eq1Either, + eqEither, + extendEither, + fromLeft, + fromLeft$p, + fromRight, + fromRight$p, + functorEither, + genericEither, + hush, + invariantEither, + isLeft, + isRight, + monadEither, + note, + note$p, + ord1Either, + ordEither, + semigroupEither, + showEither +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Enum.Gen/index.js b/.storybook/purescript-indexer/output-es/Data.Enum.Gen/index.js new file mode 100644 index 0000000..2b6b1e0 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Enum.Gen/index.js @@ -0,0 +1,20 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dGen from "../Control.Monad.Gen/index.js"; +import * as Data$dEnum from "../Data.Enum/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dNonEmpty from "../Data.NonEmpty/index.js"; +import * as Data$dUnfoldable1 from "../Data.Unfoldable1/index.js"; +const foldable1NonEmpty = /* #__PURE__ */ Data$dNonEmpty.foldable1NonEmpty(Data$dFoldable.foldableArray); +const genBoundedEnum = dictMonadGen => { + const elements = Control$dMonad$dGen.elements(dictMonadGen)(foldable1NonEmpty); + const pure = dictMonadGen.Monad0().Applicative0().pure; + return dictBoundedEnum => { + const Enum1 = dictBoundedEnum.Enum1(); + const Bounded0 = dictBoundedEnum.Bounded0(); + const v = Enum1.succ(Bounded0.bottom); + if (v.tag === "Just") { return elements(Data$dNonEmpty.$NonEmpty(Bounded0.bottom, Data$dEnum.enumFromTo(Enum1)(Data$dUnfoldable1.unfoldable1Array)(v._1)(Bounded0.top))); } + if (v.tag === "Nothing") { return pure(Bounded0.bottom); } + $runtime.fail(); + }; +}; +export {foldable1NonEmpty, genBoundedEnum}; diff --git a/.storybook/purescript-indexer/output-es/Data.Enum.Generic/index.js b/.storybook/purescript-indexer/output-es/Data.Enum.Generic/index.js new file mode 100644 index 0000000..c8f4272 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Enum.Generic/index.js @@ -0,0 +1,194 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dEuclideanRing from "../Data.EuclideanRing/index.js"; +import * as Data$dGeneric$dRep from "../Data.Generic.Rep/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +const genericToEnum$p = dict => dict["genericToEnum'"]; +const genericToEnum = dictGeneric => dictGenericBoundedEnum => x => { + const $3 = dictGenericBoundedEnum["genericToEnum'"](x); + if ($3.tag === "Just") { return Data$dMaybe.$Maybe("Just", dictGeneric.to($3._1)); } + return Data$dMaybe.Nothing; +}; +const genericSucc$p = dict => dict["genericSucc'"]; +const genericSucc = dictGeneric => dictGenericEnum => x => { + const $3 = dictGenericEnum["genericSucc'"](dictGeneric.from(x)); + if ($3.tag === "Just") { return Data$dMaybe.$Maybe("Just", dictGeneric.to($3._1)); } + return Data$dMaybe.Nothing; +}; +const genericPred$p = dict => dict["genericPred'"]; +const genericPred = dictGeneric => dictGenericEnum => x => { + const $3 = dictGenericEnum["genericPred'"](dictGeneric.from(x)); + if ($3.tag === "Just") { return Data$dMaybe.$Maybe("Just", dictGeneric.to($3._1)); } + return Data$dMaybe.Nothing; +}; +const genericFromEnum$p = dict => dict["genericFromEnum'"]; +const genericFromEnum = dictGeneric => dictGenericBoundedEnum => x => dictGenericBoundedEnum["genericFromEnum'"](dictGeneric.from(x)); +const genericEnumSum = dictGenericEnum => dictGenericTop => dictGenericEnum1 => dictGenericBottom => ( + { + "genericPred'": v => { + if (v.tag === "Inl") { + const $5 = dictGenericEnum["genericPred'"](v._1); + if ($5.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dGeneric$dRep.$Sum("Inl", $5._1)); } + return Data$dMaybe.Nothing; + } + if (v.tag === "Inr") { + const v1 = dictGenericEnum1["genericPred'"](v._1); + if (v1.tag === "Nothing") { return Data$dMaybe.$Maybe("Just", Data$dGeneric$dRep.$Sum("Inl", dictGenericTop["genericTop'"])); } + if (v1.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dGeneric$dRep.$Sum("Inr", v1._1)); } + $runtime.fail(); + } + $runtime.fail(); + }, + "genericSucc'": v => { + if (v.tag === "Inl") { + const v1 = dictGenericEnum["genericSucc'"](v._1); + if (v1.tag === "Nothing") { return Data$dMaybe.$Maybe("Just", Data$dGeneric$dRep.$Sum("Inr", dictGenericBottom["genericBottom'"])); } + if (v1.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dGeneric$dRep.$Sum("Inl", v1._1)); } + $runtime.fail(); + } + if (v.tag === "Inr") { + const $5 = dictGenericEnum1["genericSucc'"](v._1); + if ($5.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dGeneric$dRep.$Sum("Inr", $5._1)); } + return Data$dMaybe.Nothing; + } + $runtime.fail(); + } + } +); +const genericEnumProduct = dictGenericEnum => dictGenericTop => dictGenericBottom => dictGenericEnum1 => dictGenericTop1 => dictGenericBottom1 => ( + { + "genericPred'": v => { + const v1 = dictGenericEnum1["genericPred'"](v._2); + if (v1.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dGeneric$dRep.$Product(v._1, v1._1)); } + if (v1.tag === "Nothing") { + const $8 = dictGenericEnum["genericPred'"](v._1); + if ($8.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dGeneric$dRep.$Product($8._1, dictGenericTop1["genericTop'"])); } + return Data$dMaybe.Nothing; + } + $runtime.fail(); + }, + "genericSucc'": v => { + const v1 = dictGenericEnum1["genericSucc'"](v._2); + if (v1.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dGeneric$dRep.$Product(v._1, v1._1)); } + if (v1.tag === "Nothing") { + const $8 = dictGenericEnum["genericSucc'"](v._1); + if ($8.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dGeneric$dRep.$Product($8._1, dictGenericBottom1["genericBottom'"])); } + return Data$dMaybe.Nothing; + } + $runtime.fail(); + } + } +); +const genericEnumNoArguments = {"genericPred'": v => Data$dMaybe.Nothing, "genericSucc'": v => Data$dMaybe.Nothing}; +const genericEnumConstructor = dictGenericEnum => ( + { + "genericPred'": v => { + const $2 = dictGenericEnum["genericPred'"](v); + if ($2.tag === "Just") { return Data$dMaybe.$Maybe("Just", $2._1); } + return Data$dMaybe.Nothing; + }, + "genericSucc'": v => { + const $2 = dictGenericEnum["genericSucc'"](v); + if ($2.tag === "Just") { return Data$dMaybe.$Maybe("Just", $2._1); } + return Data$dMaybe.Nothing; + } + } +); +const genericEnumArgument = dictEnum => ( + { + "genericPred'": v => { + const $2 = dictEnum.pred(v); + if ($2.tag === "Just") { return Data$dMaybe.$Maybe("Just", $2._1); } + return Data$dMaybe.Nothing; + }, + "genericSucc'": v => { + const $2 = dictEnum.succ(v); + if ($2.tag === "Just") { return Data$dMaybe.$Maybe("Just", $2._1); } + return Data$dMaybe.Nothing; + } + } +); +const genericCardinality$p = dict => dict["genericCardinality'"]; +const genericCardinality = dictGeneric => dictGenericBoundedEnum => dictGenericBoundedEnum["genericCardinality'"]; +const genericBoundedEnumSum = dictGenericBoundedEnum => dictGenericBoundedEnum1 => ( + { + "genericCardinality'": dictGenericBoundedEnum["genericCardinality'"] + dictGenericBoundedEnum1["genericCardinality'"] | 0, + "genericToEnum'": n => { + if (n >= 0 && n < dictGenericBoundedEnum["genericCardinality'"]) { + const $3 = dictGenericBoundedEnum["genericToEnum'"](n); + if ($3.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dGeneric$dRep.$Sum("Inl", $3._1)); } + return Data$dMaybe.Nothing; + } + const $3 = dictGenericBoundedEnum1["genericToEnum'"](n - dictGenericBoundedEnum["genericCardinality'"] | 0); + if ($3.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dGeneric$dRep.$Sum("Inr", $3._1)); } + return Data$dMaybe.Nothing; + }, + "genericFromEnum'": v => { + if (v.tag === "Inl") { return dictGenericBoundedEnum["genericFromEnum'"](v._1); } + if (v.tag === "Inr") { return dictGenericBoundedEnum1["genericFromEnum'"](v._1) + dictGenericBoundedEnum["genericCardinality'"] | 0; } + $runtime.fail(); + } + } +); +const genericBoundedEnumProduct = dictGenericBoundedEnum => dictGenericBoundedEnum1 => ( + { + "genericCardinality'": dictGenericBoundedEnum["genericCardinality'"] * dictGenericBoundedEnum1["genericCardinality'"] | 0, + "genericToEnum'": n => Data$dMaybe.applyMaybe.apply((() => { + const $3 = dictGenericBoundedEnum["genericToEnum'"](Data$dEuclideanRing.intDiv(n)(dictGenericBoundedEnum1["genericCardinality'"])); + if ($3.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dGeneric$dRep.Product($3._1)); } + return Data$dMaybe.Nothing; + })())(dictGenericBoundedEnum1["genericToEnum'"](Data$dEuclideanRing.intMod(n)(dictGenericBoundedEnum1["genericCardinality'"]))), + "genericFromEnum'": v1 => (dictGenericBoundedEnum["genericFromEnum'"](v1._1) * dictGenericBoundedEnum1["genericCardinality'"] | 0) + dictGenericBoundedEnum1["genericFromEnum'"](v1._2) | 0 + } +); +const genericBoundedEnumNoArguments = { + "genericCardinality'": 1, + "genericToEnum'": i => { + if (i === 0) { return Data$dMaybe.$Maybe("Just", Data$dGeneric$dRep.NoArguments); } + return Data$dMaybe.Nothing; + }, + "genericFromEnum'": v => 0 +}; +const genericBoundedEnumConstructor = dictGenericBoundedEnum => ( + { + "genericCardinality'": dictGenericBoundedEnum["genericCardinality'"], + "genericToEnum'": i => { + const $2 = dictGenericBoundedEnum["genericToEnum'"](i); + if ($2.tag === "Just") { return Data$dMaybe.$Maybe("Just", $2._1); } + return Data$dMaybe.Nothing; + }, + "genericFromEnum'": v => dictGenericBoundedEnum["genericFromEnum'"](v) + } +); +const genericBoundedEnumArgument = dictBoundedEnum => ( + { + "genericCardinality'": dictBoundedEnum.cardinality, + "genericToEnum'": i => { + const $2 = dictBoundedEnum.toEnum(i); + if ($2.tag === "Just") { return Data$dMaybe.$Maybe("Just", $2._1); } + return Data$dMaybe.Nothing; + }, + "genericFromEnum'": v => dictBoundedEnum.fromEnum(v) + } +); +export { + genericBoundedEnumArgument, + genericBoundedEnumConstructor, + genericBoundedEnumNoArguments, + genericBoundedEnumProduct, + genericBoundedEnumSum, + genericCardinality, + genericCardinality$p, + genericEnumArgument, + genericEnumConstructor, + genericEnumNoArguments, + genericEnumProduct, + genericEnumSum, + genericFromEnum, + genericFromEnum$p, + genericPred, + genericPred$p, + genericSucc, + genericSucc$p, + genericToEnum, + genericToEnum$p +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Enum/foreign.js b/.storybook/purescript-indexer/output-es/Data.Enum/foreign.js new file mode 100644 index 0000000..3b32bf2 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Enum/foreign.js @@ -0,0 +1,7 @@ +export function toCharCode(c) { + return c.charCodeAt(0); +} + +export function fromCharCode(c) { + return String.fromCharCode(c); +} diff --git a/.storybook/purescript-indexer/output-es/Data.Enum/index.js b/.storybook/purescript-indexer/output-es/Data.Enum/index.js new file mode 100644 index 0000000..c470afa --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Enum/index.js @@ -0,0 +1,407 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dAlternative from "../Control.Alternative/index.js"; +import * as Data$dBounded from "../Data.Bounded/index.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dEq from "../Data.Eq/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import * as Data$dShow from "../Data.Show/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnfoldable1 from "../Data.Unfoldable1/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import {fromCharCode, toCharCode} from "./foreign.js"; +const guard = /* #__PURE__ */ Control$dAlternative.guard(Data$dMaybe.alternativeMaybe); +const Cardinality = x => x; +const toEnum = dict => dict.toEnum; +const succ = dict => dict.succ; +const upFromIncluding = dictEnum => dictUnfoldable1 => dictUnfoldable1.unfoldr1(x => Data$dTuple.$Tuple(x, dictEnum.succ(x))); +const showCardinality = {show: v => "(Cardinality " + (Data$dShow.showIntImpl(v) + ")")}; +const pred = dict => dict.pred; +const ordCardinality = Data$dOrd.ordInt; +const newtypeCardinality = {Coercible0: () => undefined}; +const fromEnum = dict => dict.fromEnum; +const toEnumWithDefaults = dictBoundedEnum => { + const bottom2 = dictBoundedEnum.Bounded0().bottom; + return low => high => x => { + const v = dictBoundedEnum.toEnum(x); + if (v.tag === "Just") { return v._1; } + if (v.tag === "Nothing") { + if (x < dictBoundedEnum.fromEnum(bottom2)) { return low; } + return high; + } + $runtime.fail(); + }; +}; +const eqCardinality = Data$dEq.eqInt; +const enumUnit = {succ: v => Data$dMaybe.Nothing, pred: v => Data$dMaybe.Nothing, Ord0: () => Data$dOrd.ordUnit}; +const enumTuple = dictEnum => { + const ordTuple = Data$dTuple.ordTuple(dictEnum.Ord0()); + return dictBoundedEnum => { + const Bounded0 = dictBoundedEnum.Bounded0(); + const Enum1 = dictBoundedEnum.Enum1(); + const ordTuple1 = ordTuple(Enum1.Ord0()); + return { + succ: v => { + const $7 = dictEnum.succ(v._1); + const $8 = (() => { + if ($7.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple($7._1, Bounded0.bottom)); } + return Data$dMaybe.Nothing; + })(); + const $9 = Data$dTuple.Tuple(v._1); + const $10 = Enum1.succ(v._2); + if ($10.tag === "Nothing") { return $8; } + if ($10.tag === "Just") { return Data$dMaybe.$Maybe("Just", $9($10._1)); } + $runtime.fail(); + }, + pred: v => { + const $7 = dictEnum.pred(v._1); + const $8 = (() => { + if ($7.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple($7._1, Bounded0.top)); } + return Data$dMaybe.Nothing; + })(); + const $9 = Data$dTuple.Tuple(v._1); + const $10 = Enum1.pred(v._2); + if ($10.tag === "Nothing") { return $8; } + if ($10.tag === "Just") { return Data$dMaybe.$Maybe("Just", $9($10._1)); } + $runtime.fail(); + }, + Ord0: () => ordTuple1 + }; + }; +}; +const enumOrdering = { + succ: v => { + if (v.tag === "LT") { return Data$dMaybe.$Maybe("Just", Data$dOrdering.EQ); } + if (v.tag === "EQ") { return Data$dMaybe.$Maybe("Just", Data$dOrdering.GT); } + if (v.tag === "GT") { return Data$dMaybe.Nothing; } + $runtime.fail(); + }, + pred: v => { + if (v.tag === "LT") { return Data$dMaybe.Nothing; } + if (v.tag === "EQ") { return Data$dMaybe.$Maybe("Just", Data$dOrdering.LT); } + if (v.tag === "GT") { return Data$dMaybe.$Maybe("Just", Data$dOrdering.EQ); } + $runtime.fail(); + }, + Ord0: () => Data$dOrd.ordOrdering +}; +const enumMaybe = dictBoundedEnum => { + const bottom2 = dictBoundedEnum.Bounded0().bottom; + const Enum1 = dictBoundedEnum.Enum1(); + const ordMaybe = Data$dMaybe.ordMaybe(Enum1.Ord0()); + return { + succ: v => { + if (v.tag === "Nothing") { return Data$dMaybe.$Maybe("Just", Data$dMaybe.$Maybe("Just", bottom2)); } + if (v.tag === "Just") { + const $5 = Enum1.succ(v._1); + if ($5.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dMaybe.$Maybe("Just", $5._1)); } + return Data$dMaybe.Nothing; + } + $runtime.fail(); + }, + pred: v => { + if (v.tag === "Nothing") { return Data$dMaybe.Nothing; } + if (v.tag === "Just") { return Data$dMaybe.$Maybe("Just", Enum1.pred(v._1)); } + $runtime.fail(); + }, + Ord0: () => ordMaybe + }; +}; +const enumInt = { + succ: n => { + if (n < 2147483647) { return Data$dMaybe.$Maybe("Just", n + 1 | 0); } + return Data$dMaybe.Nothing; + }, + pred: n => { + if (n > -2147483648) { return Data$dMaybe.$Maybe("Just", n - 1 | 0); } + return Data$dMaybe.Nothing; + }, + Ord0: () => Data$dOrd.ordInt +}; +const enumFromTo = dictEnum => { + const Ord0 = dictEnum.Ord0(); + const eq1 = Ord0.Eq0().eq; + return dictUnfoldable1 => v => v1 => { + if (eq1(v)(v1)) { return Data$dUnfoldable1.replicate1(dictUnfoldable1)(1)(v); } + if (Ord0.compare(v)(v1).tag === "LT") { + return dictUnfoldable1.unfoldr1(a => Data$dTuple.$Tuple( + a, + (() => { + const $7 = dictEnum.succ(a); + if ($7.tag === "Just") { + if (guard(!(Ord0.compare($7._1)(v1).tag === "GT")).tag === "Just") { return Data$dMaybe.$Maybe("Just", $7._1); } + return Data$dMaybe.Nothing; + } + if ($7.tag === "Nothing") { return Data$dMaybe.Nothing; } + $runtime.fail(); + })() + ))(v); + } + return dictUnfoldable1.unfoldr1(a => Data$dTuple.$Tuple( + a, + (() => { + const $7 = dictEnum.pred(a); + if ($7.tag === "Just") { + if (guard(!(Ord0.compare($7._1)(v1).tag === "LT")).tag === "Just") { return Data$dMaybe.$Maybe("Just", $7._1); } + return Data$dMaybe.Nothing; + } + if ($7.tag === "Nothing") { return Data$dMaybe.Nothing; } + $runtime.fail(); + })() + ))(v); + }; +}; +const enumFromThenTo = dictUnfoldable => dictFunctor => dictBoundedEnum => a => b => c => { + const a$p = dictBoundedEnum.fromEnum(a); + return dictFunctor.map(x => { + const $8 = dictBoundedEnum.toEnum(x); + if ($8.tag === "Just") { return $8._1; } + $runtime.fail(); + })(dictUnfoldable.unfoldr((() => { + const $7 = dictBoundedEnum.fromEnum(b) - a$p | 0; + const $8 = dictBoundedEnum.fromEnum(c); + return e => { + if (e <= $8) { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(e, e + $7 | 0)); } + return Data$dMaybe.Nothing; + }; + })())(a$p)); +}; +const enumEither = dictBoundedEnum => { + const Enum1 = dictBoundedEnum.Enum1(); + const top2 = dictBoundedEnum.Bounded0().top; + const ordEither = Data$dEither.ordEither(Enum1.Ord0()); + return dictBoundedEnum1 => { + const bottom2 = dictBoundedEnum1.Bounded0().bottom; + const Enum11 = dictBoundedEnum1.Enum1(); + const ordEither1 = ordEither(Enum11.Ord0()); + return { + succ: v => { + if (v.tag === "Left") { + const $9 = Enum1.succ(v._1); + if ($9.tag === "Nothing") { return Data$dMaybe.$Maybe("Just", Data$dEither.$Either("Right", bottom2)); } + if ($9.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dEither.$Either("Left", $9._1)); } + $runtime.fail(); + } + if (v.tag === "Right") { + const $9 = Enum11.succ(v._1); + if ($9.tag === "Nothing") { return Data$dMaybe.Nothing; } + if ($9.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dEither.$Either("Right", $9._1)); } + $runtime.fail(); + } + $runtime.fail(); + }, + pred: v => { + if (v.tag === "Left") { + const $9 = Enum1.pred(v._1); + if ($9.tag === "Nothing") { return Data$dMaybe.Nothing; } + if ($9.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dEither.$Either("Left", $9._1)); } + $runtime.fail(); + } + if (v.tag === "Right") { + const $9 = Enum11.pred(v._1); + if ($9.tag === "Nothing") { return Data$dMaybe.$Maybe("Just", Data$dEither.$Either("Left", top2)); } + if ($9.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dEither.$Either("Right", $9._1)); } + $runtime.fail(); + } + $runtime.fail(); + }, + Ord0: () => ordEither1 + }; + }; +}; +const enumBoolean = { + succ: v => { + if (!v) { return Data$dMaybe.$Maybe("Just", true); } + return Data$dMaybe.Nothing; + }, + pred: v => { + if (v) { return Data$dMaybe.$Maybe("Just", false); } + return Data$dMaybe.Nothing; + }, + Ord0: () => Data$dOrd.ordBoolean +}; +const downFromIncluding = dictEnum => dictUnfoldable1 => dictUnfoldable1.unfoldr1(x => Data$dTuple.$Tuple(x, dictEnum.pred(x))); +const downFrom = dictEnum => dictUnfoldable => dictUnfoldable.unfoldr(x => { + const $3 = dictEnum.pred(x); + if ($3.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple($3._1, $3._1)); } + return Data$dMaybe.Nothing; +}); +const upFrom = dictEnum => dictUnfoldable => dictUnfoldable.unfoldr(x => { + const $3 = dictEnum.succ(x); + if ($3.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple($3._1, $3._1)); } + return Data$dMaybe.Nothing; +}); +const defaultToEnum = dictBounded => dictEnum => i$p => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const i = go$a0, x = go$a1; + if (i === 0) { + go$c = false; + go$r = Data$dMaybe.$Maybe("Just", x); + continue; + } + const v = dictEnum.succ(x); + if (v.tag === "Just") { + go$a0 = i - 1 | 0; + go$a1 = v._1; + continue; + } + if (v.tag === "Nothing") { + go$c = false; + go$r = Data$dMaybe.Nothing; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + if (i$p < 0) { return Data$dMaybe.Nothing; } + return go(i$p)(dictBounded.bottom); +}; +const defaultSucc = toEnum$p => fromEnum$p => a => toEnum$p(fromEnum$p(a) + 1 | 0); +const defaultPred = toEnum$p => fromEnum$p => a => toEnum$p(fromEnum$p(a) - 1 | 0); +const defaultFromEnum = dictEnum => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const i = go$a0, x = go$a1; + const v = dictEnum.pred(x); + if (v.tag === "Just") { + go$a0 = i + 1 | 0; + go$a1 = v._1; + continue; + } + if (v.tag === "Nothing") { + go$c = false; + go$r = i; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(0); +}; +const defaultCardinality = dictBounded => dictEnum => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const i = go$a0, x = go$a1; + const v = dictEnum.succ(x); + if (v.tag === "Just") { + go$a0 = i + 1 | 0; + go$a1 = v._1; + continue; + } + if (v.tag === "Nothing") { + go$c = false; + go$r = i; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(1)(dictBounded.bottom); +}; +const charToEnum = v => { + if (v >= 0 && v <= 65535) { return Data$dMaybe.$Maybe("Just", fromCharCode(v)); } + return Data$dMaybe.Nothing; +}; +const enumChar = { + succ: a => { + const $1 = toCharCode(a) + 1 | 0; + if ($1 >= 0 && $1 <= 65535) { return Data$dMaybe.$Maybe("Just", fromCharCode($1)); } + return Data$dMaybe.Nothing; + }, + pred: a => { + const $1 = toCharCode(a) - 1 | 0; + if ($1 >= 0 && $1 <= 65535) { return Data$dMaybe.$Maybe("Just", fromCharCode($1)); } + return Data$dMaybe.Nothing; + }, + Ord0: () => Data$dOrd.ordChar +}; +const cardinality = dict => dict.cardinality; +const boundedEnumUnit = { + cardinality: 1, + toEnum: v => { + if (v === 0) { return Data$dMaybe.$Maybe("Just", Data$dUnit.unit); } + return Data$dMaybe.Nothing; + }, + fromEnum: v => 0, + Bounded0: () => Data$dBounded.boundedUnit, + Enum1: () => enumUnit +}; +const boundedEnumOrdering = { + cardinality: 3, + toEnum: v => { + if (v === 0) { return Data$dMaybe.$Maybe("Just", Data$dOrdering.LT); } + if (v === 1) { return Data$dMaybe.$Maybe("Just", Data$dOrdering.EQ); } + if (v === 2) { return Data$dMaybe.$Maybe("Just", Data$dOrdering.GT); } + return Data$dMaybe.Nothing; + }, + fromEnum: v => { + if (v.tag === "LT") { return 0; } + if (v.tag === "EQ") { return 1; } + if (v.tag === "GT") { return 2; } + $runtime.fail(); + }, + Bounded0: () => Data$dBounded.boundedOrdering, + Enum1: () => enumOrdering +}; +const boundedEnumChar = {cardinality: 65535, toEnum: charToEnum, fromEnum: toCharCode, Bounded0: () => Data$dBounded.boundedChar, Enum1: () => enumChar}; +const boundedEnumBoolean = { + cardinality: 2, + toEnum: v => { + if (v === 0) { return Data$dMaybe.$Maybe("Just", false); } + if (v === 1) { return Data$dMaybe.$Maybe("Just", true); } + return Data$dMaybe.Nothing; + }, + fromEnum: v => { + if (!v) { return 0; } + if (v) { return 1; } + $runtime.fail(); + }, + Bounded0: () => Data$dBounded.boundedBoolean, + Enum1: () => enumBoolean +}; +export { + Cardinality, + boundedEnumBoolean, + boundedEnumChar, + boundedEnumOrdering, + boundedEnumUnit, + cardinality, + charToEnum, + defaultCardinality, + defaultFromEnum, + defaultPred, + defaultSucc, + defaultToEnum, + downFrom, + downFromIncluding, + enumBoolean, + enumChar, + enumEither, + enumFromThenTo, + enumFromTo, + enumInt, + enumMaybe, + enumOrdering, + enumTuple, + enumUnit, + eqCardinality, + fromEnum, + guard, + newtypeCardinality, + ordCardinality, + pred, + showCardinality, + succ, + toEnum, + toEnumWithDefaults, + upFrom, + upFromIncluding +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.Eq.Generic/index.js b/.storybook/purescript-indexer/output-es/Data.Eq.Generic/index.js new file mode 100644 index 0000000..147a7f2 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Eq.Generic/index.js @@ -0,0 +1,24 @@ +import * as $runtime from "../runtime.js"; +const genericEqNoConstructors = {"genericEq'": v => v1 => true}; +const genericEqNoArguments = {"genericEq'": v => v1 => true}; +const genericEqArgument = dictEq => ({"genericEq'": v => v1 => dictEq.eq(v)(v1)}); +const genericEq$p = dict => dict["genericEq'"]; +const genericEqConstructor = dictGenericEq => ({"genericEq'": v => v1 => dictGenericEq["genericEq'"](v)(v1)}); +const genericEqProduct = dictGenericEq => dictGenericEq1 => ({"genericEq'": v => v1 => dictGenericEq["genericEq'"](v._1)(v1._1) && dictGenericEq1["genericEq'"](v._2)(v1._2)}); +const genericEqSum = dictGenericEq => dictGenericEq1 => ( + { + "genericEq'": v => v1 => { + if (v.tag === "Inl") { + if (v1.tag === "Inl") { return dictGenericEq["genericEq'"](v._1)(v1._1); } + return false; + } + if (v.tag === "Inr") { + if (v1.tag === "Inr") { return dictGenericEq1["genericEq'"](v._1)(v1._1); } + return false; + } + return false; + } + } +); +const genericEq = dictGeneric => dictGenericEq => x => y => dictGenericEq["genericEq'"](dictGeneric.from(x))(dictGeneric.from(y)); +export {genericEq, genericEq$p, genericEqArgument, genericEqConstructor, genericEqNoArguments, genericEqNoConstructors, genericEqProduct, genericEqSum}; diff --git a/.storybook/purescript-indexer/output-es/Data.Eq/foreign.js b/.storybook/purescript-indexer/output-es/Data.Eq/foreign.js new file mode 100644 index 0000000..6e8303c --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Eq/foreign.js @@ -0,0 +1,23 @@ +var refEq = function (r1) { + return function (r2) { + return r1 === r2; + }; +}; + +export const eqBooleanImpl = refEq; +export const eqIntImpl = refEq; +export const eqNumberImpl = refEq; +export const eqCharImpl = refEq; +export const eqStringImpl = refEq; + +export const eqArrayImpl = function (f) { + return function (xs) { + return function (ys) { + if (xs.length !== ys.length) return false; + for (var i = 0; i < xs.length; i++) { + if (!f(xs[i])(ys[i])) return false; + } + return true; + }; + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Eq/index.js b/.storybook/purescript-indexer/output-es/Data.Eq/index.js new file mode 100644 index 0000000..4975094 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Eq/index.js @@ -0,0 +1,34 @@ +import * as $runtime from "../runtime.js"; +import * as Record$dUnsafe from "../Record.Unsafe/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +import {eqArrayImpl, eqBooleanImpl, eqCharImpl, eqIntImpl, eqNumberImpl, eqStringImpl} from "./foreign.js"; +const eqVoid = {eq: v => v1 => true}; +const eqUnit = {eq: v => v1 => true}; +const eqString = {eq: eqStringImpl}; +const eqRowNil = {eqRecord: v => v1 => v2 => true}; +const eqRecord = dict => dict.eqRecord; +const eqRec = () => dictEqRecord => ({eq: dictEqRecord.eqRecord(Type$dProxy.Proxy)}); +const eqProxy = {eq: v => v1 => true}; +const eqNumber = {eq: eqNumberImpl}; +const eqInt = {eq: eqIntImpl}; +const eqChar = {eq: eqCharImpl}; +const eqBoolean = {eq: eqBooleanImpl}; +const eq1 = dict => dict.eq1; +const eq = dict => dict.eq; +const eqArray = dictEq => ({eq: eqArrayImpl(dictEq.eq)}); +const eq1Array = {eq1: dictEq => eqArrayImpl(dictEq.eq)}; +const eqRowCons = dictEqRecord => () => dictIsSymbol => dictEq => ( + { + eqRecord: v => ra => rb => { + const $$get = Record$dUnsafe.unsafeGet(dictIsSymbol.reflectSymbol(Type$dProxy.Proxy)); + return dictEq.eq($$get(ra))($$get(rb)) && dictEqRecord.eqRecord(Type$dProxy.Proxy)(ra)(rb); + } + } +); +const notEq = dictEq => x => y => !dictEq.eq(x)(y); +const notEq1 = dictEq1 => dictEq => { + const eq12 = dictEq1.eq1(dictEq); + return x => y => !eq12(x)(y); +}; +export {eq, eq1, eq1Array, eqArray, eqBoolean, eqChar, eqInt, eqNumber, eqProxy, eqRec, eqRecord, eqRowCons, eqRowNil, eqString, eqUnit, eqVoid, notEq, notEq1}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.Equivalence/index.js b/.storybook/purescript-indexer/output-es/Data.Equivalence/index.js new file mode 100644 index 0000000..d492ea2 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Equivalence/index.js @@ -0,0 +1,9 @@ +import * as $runtime from "../runtime.js"; +const Equivalence = x => x; +const semigroupEquivalence = {append: v => v1 => a => b => v(a)(b) && v1(a)(b)}; +const newtypeEquivalence = {Coercible0: () => undefined}; +const monoidEquivalence = {mempty: v => v1 => true, Semigroup0: () => semigroupEquivalence}; +const defaultEquivalence = dictEq => dictEq.eq; +const contravariantEquivalence = {cmap: f => v => x => y => v(f(x))(f(y))}; +const comparisonEquivalence = v => a => b => v(a)(b).tag === "EQ"; +export {Equivalence, comparisonEquivalence, contravariantEquivalence, defaultEquivalence, monoidEquivalence, newtypeEquivalence, semigroupEquivalence}; diff --git a/.storybook/purescript-indexer/output-es/Data.EuclideanRing/foreign.js b/.storybook/purescript-indexer/output-es/Data.EuclideanRing/foreign.js new file mode 100644 index 0000000..057e6c3 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.EuclideanRing/foreign.js @@ -0,0 +1,26 @@ +export const intDegree = function (x) { + return Math.min(Math.abs(x), 2147483647); +}; + +// See the Euclidean definition in +// https://en.m.wikipedia.org/wiki/Modulo_operation. +export const intDiv = function (x) { + return function (y) { + if (y === 0) return 0; + return y > 0 ? Math.floor(x / y) : -Math.floor(x / -y); + }; +}; + +export const intMod = function (x) { + return function (y) { + if (y === 0) return 0; + var yy = Math.abs(y); + return ((x % yy) + yy) % yy; + }; +}; + +export const numDiv = function (n1) { + return function (n2) { + return n1 / n2; + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Data.EuclideanRing/index.js b/.storybook/purescript-indexer/output-es/Data.EuclideanRing/index.js new file mode 100644 index 0000000..cc564cb --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.EuclideanRing/index.js @@ -0,0 +1,25 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dCommutativeRing from "../Data.CommutativeRing/index.js"; +import {intDegree, intDiv, intMod, numDiv} from "./foreign.js"; +const mod = dict => dict.mod; +const gcd = dictEq => dictEuclideanRing => { + const zero = dictEuclideanRing.CommutativeRing0().Ring0().Semiring0().zero; + return a => b => { + if (dictEq.eq(b)(zero)) { return a; } + return gcd(dictEq)(dictEuclideanRing)(b)(dictEuclideanRing.mod(a)(b)); + }; +}; +const euclideanRingNumber = {degree: v => 1, div: numDiv, mod: v => v1 => 0.0, CommutativeRing0: () => Data$dCommutativeRing.commutativeRingNumber}; +const euclideanRingInt = {degree: intDegree, div: intDiv, mod: intMod, CommutativeRing0: () => Data$dCommutativeRing.commutativeRingInt}; +const div = dict => dict.div; +const lcm = dictEq => dictEuclideanRing => { + const Semiring0 = dictEuclideanRing.CommutativeRing0().Ring0().Semiring0(); + const gcd2 = gcd(dictEq)(dictEuclideanRing); + return a => b => { + if (dictEq.eq(a)(Semiring0.zero) || dictEq.eq(b)(Semiring0.zero)) { return Semiring0.zero; } + return dictEuclideanRing.div(Semiring0.mul(a)(b))(gcd2(a)(b)); + }; +}; +const degree = dict => dict.degree; +export {degree, div, euclideanRingInt, euclideanRingNumber, gcd, lcm, mod}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.Exists/index.js b/.storybook/purescript-indexer/output-es/Data.Exists/index.js new file mode 100644 index 0000000..bc4c8e1 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Exists/index.js @@ -0,0 +1,5 @@ +import * as $runtime from "../runtime.js"; +import * as Unsafe$dCoerce from "../Unsafe.Coerce/index.js"; +const runExists = Unsafe$dCoerce.unsafeCoerce; +const mkExists = Unsafe$dCoerce.unsafeCoerce; +export {mkExists, runExists}; diff --git a/.storybook/purescript-indexer/output-es/Data.Field/index.js b/.storybook/purescript-indexer/output-es/Data.Field/index.js new file mode 100644 index 0000000..9c35124 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Field/index.js @@ -0,0 +1,3 @@ +import * as $runtime from "../runtime.js"; +const field = dictEuclideanRing => dictDivisionRing => ({EuclideanRing0: () => dictEuclideanRing, DivisionRing1: () => dictDivisionRing}); +export {field}; diff --git a/.storybook/purescript-indexer/output-es/Data.Foldable/foreign.js b/.storybook/purescript-indexer/output-es/Data.Foldable/foreign.js new file mode 100644 index 0000000..8c5cbe4 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Foldable/foreign.js @@ -0,0 +1,25 @@ +export const foldrArray = function (f) { + return function (init) { + return function (xs) { + var acc = init; + var len = xs.length; + for (var i = len - 1; i >= 0; i--) { + acc = f(xs[i])(acc); + } + return acc; + }; + }; +}; + +export const foldlArray = function (f) { + return function (init) { + return function (xs) { + var acc = init; + var len = xs.length; + for (var i = 0; i < len; i++) { + acc = f(acc)(xs[i]); + } + return acc; + }; + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Foldable/index.js b/.storybook/purescript-indexer/output-es/Data.Foldable/index.js new file mode 100644 index 0000000..bbad869 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Foldable/index.js @@ -0,0 +1,389 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dApply from "../Control.Apply/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dMaybe$dFirst from "../Data.Maybe.First/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import {foldlArray, foldrArray} from "./foreign.js"; +const identity = x => x; +const monoidEndo = /* #__PURE__ */ (() => { + const semigroupEndo1 = {append: v => v1 => x => v(v1(x))}; + return {mempty: x => x, Semigroup0: () => semigroupEndo1}; +})(); +const monoidDual = /* #__PURE__ */ (() => { + const $0 = monoidEndo.Semigroup0(); + const semigroupDual1 = {append: v => v1 => $0.append(v1)(v)}; + return {mempty: monoidEndo.mempty, Semigroup0: () => semigroupDual1}; +})(); +const foldr = dict => dict.foldr; +const indexr = dictFoldable => idx => { + const $2 = dictFoldable.foldr(a => cursor => { + if (cursor.elem.tag === "Just") { return cursor; } + if (cursor.pos === idx) { return {elem: Data$dMaybe.$Maybe("Just", a), pos: cursor.pos}; } + return {pos: cursor.pos + 1 | 0, elem: cursor.elem}; + })({elem: Data$dMaybe.Nothing, pos: 0}); + return x => $2(x).elem; +}; +const $$null = dictFoldable => dictFoldable.foldr(v => v1 => false)(true); +const oneOf = dictFoldable => dictPlus => dictFoldable.foldr(dictPlus.Alt0().alt)(dictPlus.empty); +const oneOfMap = dictFoldable => dictPlus => { + const alt = dictPlus.Alt0().alt; + return f => dictFoldable.foldr(x => alt(f(x)))(dictPlus.empty); +}; +const traverse_ = dictApplicative => { + const $1 = dictApplicative.Apply0(); + const map = $1.Functor0().map; + return dictFoldable => f => dictFoldable.foldr(x => { + const $6 = f(x); + return b => $1.apply(map(v => Control$dApply.identity)($6))(b); + })(dictApplicative.pure(Data$dUnit.unit)); +}; +const for_ = dictApplicative => { + const traverse_1 = traverse_(dictApplicative); + return dictFoldable => { + const $3 = traverse_1(dictFoldable); + return b => a => $3(a)(b); + }; +}; +const sequence_ = dictApplicative => { + const traverse_1 = traverse_(dictApplicative); + return dictFoldable => traverse_1(dictFoldable)(identity); +}; +const foldl = dict => dict.foldl; +const indexl = dictFoldable => idx => { + const $2 = dictFoldable.foldl(cursor => a => { + if (cursor.elem.tag === "Just") { return cursor; } + if (cursor.pos === idx) { return {elem: Data$dMaybe.$Maybe("Just", a), pos: cursor.pos}; } + return {pos: cursor.pos + 1 | 0, elem: cursor.elem}; + })({elem: Data$dMaybe.Nothing, pos: 0}); + return x => $2(x).elem; +}; +const intercalate = dictFoldable => dictMonoid => { + const append = dictMonoid.Semigroup0().append; + return sep => xs => dictFoldable.foldl(v => v1 => { + if (v.init) { return {init: false, acc: v1}; } + return {init: false, acc: append(v.acc)(append(sep)(v1))}; + })({init: true, acc: dictMonoid.mempty})(xs).acc; +}; +const length = dictFoldable => dictSemiring => dictFoldable.foldl(c => v => dictSemiring.add(dictSemiring.one)(c))(dictSemiring.zero); +const maximumBy = dictFoldable => cmp => dictFoldable.foldl(v => v1 => { + if (v.tag === "Nothing") { return Data$dMaybe.$Maybe("Just", v1); } + if (v.tag === "Just") { + return Data$dMaybe.$Maybe( + "Just", + (() => { + if (cmp(v._1)(v1).tag === "GT") { return v._1; } + return v1; + })() + ); + } + $runtime.fail(); +})(Data$dMaybe.Nothing); +const maximum = dictOrd => dictFoldable => maximumBy(dictFoldable)(dictOrd.compare); +const minimumBy = dictFoldable => cmp => dictFoldable.foldl(v => v1 => { + if (v.tag === "Nothing") { return Data$dMaybe.$Maybe("Just", v1); } + if (v.tag === "Just") { + return Data$dMaybe.$Maybe( + "Just", + (() => { + if (cmp(v._1)(v1).tag === "LT") { return v._1; } + return v1; + })() + ); + } + $runtime.fail(); +})(Data$dMaybe.Nothing); +const minimum = dictOrd => dictFoldable => minimumBy(dictFoldable)(dictOrd.compare); +const product = dictFoldable => dictSemiring => dictFoldable.foldl(dictSemiring.mul)(dictSemiring.one); +const sum = dictFoldable => dictSemiring => dictFoldable.foldl(dictSemiring.add)(dictSemiring.zero); +const foldableTuple = {foldr: f => z => v => f(v._2)(z), foldl: f => z => v => f(z)(v._2), foldMap: dictMonoid => f => v => f(v._2)}; +const foldableMultiplicative = {foldr: f => z => v => f(v)(z), foldl: f => z => v => f(z)(v), foldMap: dictMonoid => f => v => f(v)}; +const foldableMaybe = { + foldr: v => v1 => v2 => { + if (v2.tag === "Nothing") { return v1; } + if (v2.tag === "Just") { return v(v2._1)(v1); } + $runtime.fail(); + }, + foldl: v => v1 => v2 => { + if (v2.tag === "Nothing") { return v1; } + if (v2.tag === "Just") { return v(v1)(v2._1); } + $runtime.fail(); + }, + foldMap: dictMonoid => v => v1 => { + if (v1.tag === "Nothing") { return dictMonoid.mempty; } + if (v1.tag === "Just") { return v(v1._1); } + $runtime.fail(); + } +}; +const foldableIdentity = {foldr: f => z => v => f(v)(z), foldl: f => z => v => f(z)(v), foldMap: dictMonoid => f => v => f(v)}; +const foldableEither = { + foldr: v => v1 => v2 => { + if (v2.tag === "Left") { return v1; } + if (v2.tag === "Right") { return v(v2._1)(v1); } + $runtime.fail(); + }, + foldl: v => v1 => v2 => { + if (v2.tag === "Left") { return v1; } + if (v2.tag === "Right") { return v(v1)(v2._1); } + $runtime.fail(); + }, + foldMap: dictMonoid => v => v1 => { + if (v1.tag === "Left") { return dictMonoid.mempty; } + if (v1.tag === "Right") { return v(v1._1); } + $runtime.fail(); + } +}; +const foldableDual = {foldr: f => z => v => f(v)(z), foldl: f => z => v => f(z)(v), foldMap: dictMonoid => f => v => f(v)}; +const foldableDisj = {foldr: f => z => v => f(v)(z), foldl: f => z => v => f(z)(v), foldMap: dictMonoid => f => v => f(v)}; +const foldableConst = {foldr: v => z => v1 => z, foldl: v => z => v1 => z, foldMap: dictMonoid => v => v1 => dictMonoid.mempty}; +const foldableConj = {foldr: f => z => v => f(v)(z), foldl: f => z => v => f(z)(v), foldMap: dictMonoid => f => v => f(v)}; +const foldableAdditive = {foldr: f => z => v => f(v)(z), foldl: f => z => v => f(z)(v), foldMap: dictMonoid => f => v => f(v)}; +const foldMapDefaultR = dictFoldable => dictMonoid => { + const append = dictMonoid.Semigroup0().append; + return f => dictFoldable.foldr(x => acc => append(f(x))(acc))(dictMonoid.mempty); +}; +const foldableArray = { + foldr: foldrArray, + foldl: foldlArray, + foldMap: dictMonoid => { + const append = dictMonoid.Semigroup0().append; + return f => foldableArray.foldr(x => acc => append(f(x))(acc))(dictMonoid.mempty); + } +}; +const foldMapDefaultL = dictFoldable => dictMonoid => { + const append = dictMonoid.Semigroup0().append; + return f => dictFoldable.foldl(acc => x => append(acc)(f(x)))(dictMonoid.mempty); +}; +const foldMap = dict => dict.foldMap; +const foldableApp = dictFoldable => ( + {foldr: f => i => v => dictFoldable.foldr(f)(i)(v), foldl: f => i => v => dictFoldable.foldl(f)(i)(v), foldMap: dictMonoid => dictFoldable.foldMap(dictMonoid)} +); +const foldableCompose = dictFoldable => dictFoldable1 => ( + { + foldr: f => i => v => dictFoldable.foldr((() => { + const $5 = dictFoldable1.foldr(f); + return b => a => $5(a)(b); + })())(i)(v), + foldl: f => i => v => dictFoldable.foldl(dictFoldable1.foldl(f))(i)(v), + foldMap: dictMonoid => { + const foldMap4 = dictFoldable.foldMap(dictMonoid); + const foldMap5 = dictFoldable1.foldMap(dictMonoid); + return f => v => foldMap4(foldMap5(f))(v); + } + } +); +const foldableCoproduct = dictFoldable => dictFoldable1 => ( + { + foldr: f => z => { + const $4 = dictFoldable.foldr(f)(z); + const $5 = dictFoldable1.foldr(f)(z); + return v2 => { + if (v2.tag === "Left") { return $4(v2._1); } + if (v2.tag === "Right") { return $5(v2._1); } + $runtime.fail(); + }; + }, + foldl: f => z => { + const $4 = dictFoldable.foldl(f)(z); + const $5 = dictFoldable1.foldl(f)(z); + return v2 => { + if (v2.tag === "Left") { return $4(v2._1); } + if (v2.tag === "Right") { return $5(v2._1); } + $runtime.fail(); + }; + }, + foldMap: dictMonoid => { + const foldMap4 = dictFoldable.foldMap(dictMonoid); + const foldMap5 = dictFoldable1.foldMap(dictMonoid); + return f => { + const $6 = foldMap4(f); + const $7 = foldMap5(f); + return v2 => { + if (v2.tag === "Left") { return $6(v2._1); } + if (v2.tag === "Right") { return $7(v2._1); } + $runtime.fail(); + }; + }; + } + } +); +const foldableFirst = { + foldr: f => z => v => { + if (v.tag === "Nothing") { return z; } + if (v.tag === "Just") { return f(v._1)(z); } + $runtime.fail(); + }, + foldl: f => z => v => { + if (v.tag === "Nothing") { return z; } + if (v.tag === "Just") { return f(z)(v._1); } + $runtime.fail(); + }, + foldMap: dictMonoid => f => v => { + if (v.tag === "Nothing") { return dictMonoid.mempty; } + if (v.tag === "Just") { return f(v._1); } + $runtime.fail(); + } +}; +const foldableLast = { + foldr: f => z => v => { + if (v.tag === "Nothing") { return z; } + if (v.tag === "Just") { return f(v._1)(z); } + $runtime.fail(); + }, + foldl: f => z => v => { + if (v.tag === "Nothing") { return z; } + if (v.tag === "Just") { return f(z)(v._1); } + $runtime.fail(); + }, + foldMap: dictMonoid => f => v => { + if (v.tag === "Nothing") { return dictMonoid.mempty; } + if (v.tag === "Just") { return f(v._1); } + $runtime.fail(); + } +}; +const foldableProduct = dictFoldable => dictFoldable1 => ( + { + foldr: f => z => v => dictFoldable.foldr(f)(dictFoldable1.foldr(f)(z)(v._2))(v._1), + foldl: f => z => v => dictFoldable1.foldl(f)(dictFoldable.foldl(f)(z)(v._1))(v._2), + foldMap: dictMonoid => { + const append = dictMonoid.Semigroup0().append; + const foldMap4 = dictFoldable.foldMap(dictMonoid); + const foldMap5 = dictFoldable1.foldMap(dictMonoid); + return f => v => append(foldMap4(f)(v._1))(foldMap5(f)(v._2)); + } + } +); +const foldlDefault = dictFoldable => { + const foldMap2 = dictFoldable.foldMap(monoidDual); + return c => u => xs => foldMap2(x => a => c(a)(x))(xs)(u); +}; +const foldrDefault = dictFoldable => { + const foldMap2 = dictFoldable.foldMap(monoidEndo); + return c => u => xs => foldMap2(x => c(x))(xs)(u); +}; +const lookup = dictFoldable => { + const foldMap2 = dictFoldable.foldMap(Data$dMaybe$dFirst.monoidFirst); + return dictEq => a => foldMap2(v => { + if (dictEq.eq(a)(v._1)) { return Data$dMaybe.$Maybe("Just", v._2); } + return Data$dMaybe.Nothing; + }); +}; +const surroundMap = dictFoldable => { + const foldMap2 = dictFoldable.foldMap(monoidEndo); + return dictSemigroup => d => t => f => foldMap2(a => m => dictSemigroup.append(d)(dictSemigroup.append(t(a))(m)))(f)(d); +}; +const surround = dictFoldable => { + const surroundMap1 = surroundMap(dictFoldable); + return dictSemigroup => { + const surroundMap2 = surroundMap1(dictSemigroup); + return d => surroundMap2(d)(identity); + }; +}; +const foldM = dictFoldable => dictMonad => { + const bind = dictMonad.Bind1().bind; + const pure = dictMonad.Applicative0().pure; + return f => b0 => dictFoldable.foldl(b => a => bind(b)(a$1 => f(a$1)(a)))(pure(b0)); +}; +const fold = dictFoldable => dictMonoid => dictFoldable.foldMap(dictMonoid)(identity); +const findMap = dictFoldable => p => dictFoldable.foldl(v => v1 => { + if (v.tag === "Nothing") { return p(v1); } + return v; +})(Data$dMaybe.Nothing); +const find = dictFoldable => p => dictFoldable.foldl(v => v1 => { + if (v.tag === "Nothing") { + if (p(v1)) { return Data$dMaybe.$Maybe("Just", v1); } + return v; + } + return v; +})(Data$dMaybe.Nothing); +const any = dictFoldable => dictHeytingAlgebra => dictFoldable.foldMap((() => { + const semigroupDisj1 = {append: v => v1 => dictHeytingAlgebra.disj(v)(v1)}; + return {mempty: dictHeytingAlgebra.ff, Semigroup0: () => semigroupDisj1}; +})()); +const elem = dictFoldable => { + const any1 = dictFoldable.foldMap((() => { + const semigroupDisj1 = {append: v => v1 => v || v1}; + return {mempty: false, Semigroup0: () => semigroupDisj1}; + })()); + return dictEq => x => any1(dictEq.eq(x)); +}; +const notElem = dictFoldable => { + const any1 = dictFoldable.foldMap((() => { + const semigroupDisj1 = {append: v => v1 => v || v1}; + return {mempty: false, Semigroup0: () => semigroupDisj1}; + })()); + return dictEq => x => { + const $4 = any1(dictEq.eq(x)); + return x$1 => !$4(x$1); + }; +}; +const or = dictFoldable => dictHeytingAlgebra => dictFoldable.foldMap((() => { + const semigroupDisj1 = {append: v => v1 => dictHeytingAlgebra.disj(v)(v1)}; + return {mempty: dictHeytingAlgebra.ff, Semigroup0: () => semigroupDisj1}; +})())(identity); +const all = dictFoldable => dictHeytingAlgebra => dictFoldable.foldMap((() => { + const semigroupConj1 = {append: v => v1 => dictHeytingAlgebra.conj(v)(v1)}; + return {mempty: dictHeytingAlgebra.tt, Semigroup0: () => semigroupConj1}; +})()); +const and = dictFoldable => dictHeytingAlgebra => dictFoldable.foldMap((() => { + const semigroupConj1 = {append: v => v1 => dictHeytingAlgebra.conj(v)(v1)}; + return {mempty: dictHeytingAlgebra.tt, Semigroup0: () => semigroupConj1}; +})())(identity); +export { + all, + and, + any, + elem, + find, + findMap, + fold, + foldM, + foldMap, + foldMapDefaultL, + foldMapDefaultR, + foldableAdditive, + foldableApp, + foldableArray, + foldableCompose, + foldableConj, + foldableConst, + foldableCoproduct, + foldableDisj, + foldableDual, + foldableEither, + foldableFirst, + foldableIdentity, + foldableLast, + foldableMaybe, + foldableMultiplicative, + foldableProduct, + foldableTuple, + foldl, + foldlDefault, + foldr, + foldrDefault, + for_, + identity, + indexl, + indexr, + intercalate, + length, + lookup, + maximum, + maximumBy, + minimum, + minimumBy, + monoidDual, + monoidEndo, + notElem, + $$null as null, + oneOf, + oneOfMap, + or, + product, + sequence_, + sum, + surround, + surroundMap, + traverse_ +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.FoldableWithIndex/index.js b/.storybook/purescript-indexer/output-es/Data.FoldableWithIndex/index.js new file mode 100644 index 0000000..5e4ce72 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.FoldableWithIndex/index.js @@ -0,0 +1,422 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dApply from "../Control.Apply/index.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dFunctorWithIndex from "../Data.FunctorWithIndex/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const monoidEndo = /* #__PURE__ */ (() => { + const semigroupEndo1 = {append: v => v1 => x => v(v1(x))}; + return {mempty: x => x, Semigroup0: () => semigroupEndo1}; +})(); +const monoidDual = /* #__PURE__ */ (() => { + const $0 = monoidEndo.Semigroup0(); + const semigroupDual1 = {append: v => v1 => $0.append(v1)(v)}; + return {mempty: monoidEndo.mempty, Semigroup0: () => semigroupDual1}; +})(); +const foldrWithIndex = dict => dict.foldrWithIndex; +const traverseWithIndex_ = dictApplicative => { + const $1 = dictApplicative.Apply0(); + const map = $1.Functor0().map; + return dictFoldableWithIndex => f => dictFoldableWithIndex.foldrWithIndex(i => { + const $6 = f(i); + return x => { + const $8 = $6(x); + return b => $1.apply(map(v => Control$dApply.identity)($8))(b); + }; + })(dictApplicative.pure(Data$dUnit.unit)); +}; +const forWithIndex_ = dictApplicative => { + const traverseWithIndex_1 = traverseWithIndex_(dictApplicative); + return dictFoldableWithIndex => { + const $3 = traverseWithIndex_1(dictFoldableWithIndex); + return b => a => $3(a)(b); + }; +}; +const foldrDefault = dictFoldableWithIndex => f => dictFoldableWithIndex.foldrWithIndex(v => f); +const foldlWithIndex = dict => dict.foldlWithIndex; +const foldlDefault = dictFoldableWithIndex => f => dictFoldableWithIndex.foldlWithIndex(v => f); +const foldableWithIndexTuple = { + foldrWithIndex: f => z => v => f(Data$dUnit.unit)(v._2)(z), + foldlWithIndex: f => z => v => f(Data$dUnit.unit)(z)(v._2), + foldMapWithIndex: dictMonoid => f => v => f(Data$dUnit.unit)(v._2), + Foldable0: () => Data$dFoldable.foldableTuple +}; +const foldableWithIndexMultiplicative = { + foldrWithIndex: f => { + const $1 = f(Data$dUnit.unit); + return z => v => $1(v)(z); + }, + foldlWithIndex: f => f(Data$dUnit.unit), + foldMapWithIndex: dictMonoid => f => f(Data$dUnit.unit), + Foldable0: () => Data$dFoldable.foldableMultiplicative +}; +const foldableWithIndexMaybe = { + foldrWithIndex: f => { + const $1 = f(Data$dUnit.unit); + return v1 => v2 => { + if (v2.tag === "Nothing") { return v1; } + if (v2.tag === "Just") { return $1(v2._1)(v1); } + $runtime.fail(); + }; + }, + foldlWithIndex: f => { + const $1 = f(Data$dUnit.unit); + return v1 => v2 => { + if (v2.tag === "Nothing") { return v1; } + if (v2.tag === "Just") { return $1(v1)(v2._1); } + $runtime.fail(); + }; + }, + foldMapWithIndex: dictMonoid => f => { + const $2 = f(Data$dUnit.unit); + return v1 => { + if (v1.tag === "Nothing") { return dictMonoid.mempty; } + if (v1.tag === "Just") { return $2(v1._1); } + $runtime.fail(); + }; + }, + Foldable0: () => Data$dFoldable.foldableMaybe +}; +const foldableWithIndexLast = { + foldrWithIndex: f => { + const $1 = f(Data$dUnit.unit); + return z => v => { + if (v.tag === "Nothing") { return z; } + if (v.tag === "Just") { return $1(v._1)(z); } + $runtime.fail(); + }; + }, + foldlWithIndex: f => { + const $1 = f(Data$dUnit.unit); + return z => v => { + if (v.tag === "Nothing") { return z; } + if (v.tag === "Just") { return $1(z)(v._1); } + $runtime.fail(); + }; + }, + foldMapWithIndex: dictMonoid => f => { + const $2 = f(Data$dUnit.unit); + return v => { + if (v.tag === "Nothing") { return dictMonoid.mempty; } + if (v.tag === "Just") { return $2(v._1); } + $runtime.fail(); + }; + }, + Foldable0: () => Data$dFoldable.foldableLast +}; +const foldableWithIndexIdentity = { + foldrWithIndex: f => z => v => f(Data$dUnit.unit)(v)(z), + foldlWithIndex: f => z => v => f(Data$dUnit.unit)(z)(v), + foldMapWithIndex: dictMonoid => f => v => f(Data$dUnit.unit)(v), + Foldable0: () => Data$dFoldable.foldableIdentity +}; +const foldableWithIndexFirst = { + foldrWithIndex: f => { + const $1 = f(Data$dUnit.unit); + return z => v => { + if (v.tag === "Nothing") { return z; } + if (v.tag === "Just") { return $1(v._1)(z); } + $runtime.fail(); + }; + }, + foldlWithIndex: f => { + const $1 = f(Data$dUnit.unit); + return z => v => { + if (v.tag === "Nothing") { return z; } + if (v.tag === "Just") { return $1(z)(v._1); } + $runtime.fail(); + }; + }, + foldMapWithIndex: dictMonoid => f => { + const $2 = f(Data$dUnit.unit); + return v => { + if (v.tag === "Nothing") { return dictMonoid.mempty; } + if (v.tag === "Just") { return $2(v._1); } + $runtime.fail(); + }; + }, + Foldable0: () => Data$dFoldable.foldableFirst +}; +const foldableWithIndexEither = { + foldrWithIndex: v => v1 => v2 => { + if (v2.tag === "Left") { return v1; } + if (v2.tag === "Right") { return v(Data$dUnit.unit)(v2._1)(v1); } + $runtime.fail(); + }, + foldlWithIndex: v => v1 => v2 => { + if (v2.tag === "Left") { return v1; } + if (v2.tag === "Right") { return v(Data$dUnit.unit)(v1)(v2._1); } + $runtime.fail(); + }, + foldMapWithIndex: dictMonoid => v => v1 => { + if (v1.tag === "Left") { return dictMonoid.mempty; } + if (v1.tag === "Right") { return v(Data$dUnit.unit)(v1._1); } + $runtime.fail(); + }, + Foldable0: () => Data$dFoldable.foldableEither +}; +const foldableWithIndexDual = { + foldrWithIndex: f => { + const $1 = f(Data$dUnit.unit); + return z => v => $1(v)(z); + }, + foldlWithIndex: f => f(Data$dUnit.unit), + foldMapWithIndex: dictMonoid => f => f(Data$dUnit.unit), + Foldable0: () => Data$dFoldable.foldableDual +}; +const foldableWithIndexDisj = { + foldrWithIndex: f => { + const $1 = f(Data$dUnit.unit); + return z => v => $1(v)(z); + }, + foldlWithIndex: f => f(Data$dUnit.unit), + foldMapWithIndex: dictMonoid => f => f(Data$dUnit.unit), + Foldable0: () => Data$dFoldable.foldableDisj +}; +const foldableWithIndexConst = { + foldrWithIndex: v => z => v1 => z, + foldlWithIndex: v => z => v1 => z, + foldMapWithIndex: dictMonoid => v => v1 => dictMonoid.mempty, + Foldable0: () => Data$dFoldable.foldableConst +}; +const foldableWithIndexConj = { + foldrWithIndex: f => { + const $1 = f(Data$dUnit.unit); + return z => v => $1(v)(z); + }, + foldlWithIndex: f => f(Data$dUnit.unit), + foldMapWithIndex: dictMonoid => f => f(Data$dUnit.unit), + Foldable0: () => Data$dFoldable.foldableConj +}; +const foldableWithIndexAdditive = { + foldrWithIndex: f => { + const $1 = f(Data$dUnit.unit); + return z => v => $1(v)(z); + }, + foldlWithIndex: f => f(Data$dUnit.unit), + foldMapWithIndex: dictMonoid => f => f(Data$dUnit.unit), + Foldable0: () => Data$dFoldable.foldableAdditive +}; +const foldWithIndexM = dictFoldableWithIndex => dictMonad => { + const bind = dictMonad.Bind1().bind; + const pure = dictMonad.Applicative0().pure; + return f => a0 => dictFoldableWithIndex.foldlWithIndex(i => ma => b => bind(ma)((() => { + const $9 = f(i); + return a => $9(a)(b); + })()))(pure(a0)); +}; +const foldMapWithIndexDefaultR = dictFoldableWithIndex => dictMonoid => { + const append = dictMonoid.Semigroup0().append; + return f => dictFoldableWithIndex.foldrWithIndex(i => x => acc => append(f(i)(x))(acc))(dictMonoid.mempty); +}; +const foldableWithIndexArray = { + foldrWithIndex: f => z => { + const $2 = Data$dFoldable.foldrArray(v => y => f(v._1)(v._2)(y))(z); + const $3 = Data$dFunctorWithIndex.mapWithIndexArray(Data$dTuple.Tuple); + return x => $2($3(x)); + }, + foldlWithIndex: f => z => { + const $2 = Data$dFoldable.foldlArray(y => v => f(v._1)(y)(v._2))(z); + const $3 = Data$dFunctorWithIndex.mapWithIndexArray(Data$dTuple.Tuple); + return x => $2($3(x)); + }, + foldMapWithIndex: dictMonoid => { + const append = dictMonoid.Semigroup0().append; + return f => foldableWithIndexArray.foldrWithIndex(i => x => acc => append(f(i)(x))(acc))(dictMonoid.mempty); + }, + Foldable0: () => Data$dFoldable.foldableArray +}; +const foldMapWithIndexDefaultL = dictFoldableWithIndex => dictMonoid => { + const append = dictMonoid.Semigroup0().append; + return f => dictFoldableWithIndex.foldlWithIndex(i => acc => x => append(acc)(f(i)(x)))(dictMonoid.mempty); +}; +const foldMapWithIndex = dict => dict.foldMapWithIndex; +const foldableWithIndexApp = dictFoldableWithIndex => { + const $1 = dictFoldableWithIndex.Foldable0(); + const foldableApp = {foldr: f => i => v => $1.foldr(f)(i)(v), foldl: f => i => v => $1.foldl(f)(i)(v), foldMap: dictMonoid => $1.foldMap(dictMonoid)}; + return { + foldrWithIndex: f => z => v => dictFoldableWithIndex.foldrWithIndex(f)(z)(v), + foldlWithIndex: f => z => v => dictFoldableWithIndex.foldlWithIndex(f)(z)(v), + foldMapWithIndex: dictMonoid => dictFoldableWithIndex.foldMapWithIndex(dictMonoid), + Foldable0: () => foldableApp + }; +}; +const foldableWithIndexCompose = dictFoldableWithIndex => { + const $1 = dictFoldableWithIndex.Foldable0(); + return dictFoldableWithIndex1 => { + const $3 = dictFoldableWithIndex1.Foldable0(); + const foldableCompose1 = { + foldr: f => i => v => $1.foldr((() => { + const $7 = $3.foldr(f); + return b => a => $7(a)(b); + })())(i)(v), + foldl: f => i => v => $1.foldl($3.foldl(f))(i)(v), + foldMap: dictMonoid => { + const foldMap4 = $1.foldMap(dictMonoid); + const foldMap5 = $3.foldMap(dictMonoid); + return f => v => foldMap4(foldMap5(f))(v); + } + }; + return { + foldrWithIndex: f => i => v => dictFoldableWithIndex.foldrWithIndex(a => { + const $9 = dictFoldableWithIndex1.foldrWithIndex(Data$dTuple.curry(f)(a)); + return b => a$1 => $9(a$1)(b); + })(i)(v), + foldlWithIndex: f => i => v => dictFoldableWithIndex.foldlWithIndex(x => dictFoldableWithIndex1.foldlWithIndex(Data$dTuple.curry(f)(x)))(i)(v), + foldMapWithIndex: dictMonoid => { + const foldMapWithIndex3 = dictFoldableWithIndex.foldMapWithIndex(dictMonoid); + const foldMapWithIndex4 = dictFoldableWithIndex1.foldMapWithIndex(dictMonoid); + return f => v => foldMapWithIndex3(x => foldMapWithIndex4(Data$dTuple.curry(f)(x)))(v); + }, + Foldable0: () => foldableCompose1 + }; + }; +}; +const foldableWithIndexCoproduct = dictFoldableWithIndex => { + const foldableCoproduct = Data$dFoldable.foldableCoproduct(dictFoldableWithIndex.Foldable0()); + return dictFoldableWithIndex1 => { + const foldableCoproduct1 = foldableCoproduct(dictFoldableWithIndex1.Foldable0()); + return { + foldrWithIndex: f => z => { + const $6 = dictFoldableWithIndex.foldrWithIndex(x => f(Data$dEither.$Either("Left", x)))(z); + const $7 = dictFoldableWithIndex1.foldrWithIndex(x => f(Data$dEither.$Either("Right", x)))(z); + return v2 => { + if (v2.tag === "Left") { return $6(v2._1); } + if (v2.tag === "Right") { return $7(v2._1); } + $runtime.fail(); + }; + }, + foldlWithIndex: f => z => { + const $6 = dictFoldableWithIndex.foldlWithIndex(x => f(Data$dEither.$Either("Left", x)))(z); + const $7 = dictFoldableWithIndex1.foldlWithIndex(x => f(Data$dEither.$Either("Right", x)))(z); + return v2 => { + if (v2.tag === "Left") { return $6(v2._1); } + if (v2.tag === "Right") { return $7(v2._1); } + $runtime.fail(); + }; + }, + foldMapWithIndex: dictMonoid => { + const foldMapWithIndex3 = dictFoldableWithIndex.foldMapWithIndex(dictMonoid); + const foldMapWithIndex4 = dictFoldableWithIndex1.foldMapWithIndex(dictMonoid); + return f => { + const $8 = foldMapWithIndex3(x => f(Data$dEither.$Either("Left", x))); + const $9 = foldMapWithIndex4(x => f(Data$dEither.$Either("Right", x))); + return v2 => { + if (v2.tag === "Left") { return $8(v2._1); } + if (v2.tag === "Right") { return $9(v2._1); } + $runtime.fail(); + }; + }; + }, + Foldable0: () => foldableCoproduct1 + }; + }; +}; +const foldableWithIndexProduct = dictFoldableWithIndex => { + const foldableProduct = Data$dFoldable.foldableProduct(dictFoldableWithIndex.Foldable0()); + return dictFoldableWithIndex1 => { + const foldableProduct1 = foldableProduct(dictFoldableWithIndex1.Foldable0()); + return { + foldrWithIndex: f => z => v => dictFoldableWithIndex.foldrWithIndex(x => f(Data$dEither.$Either("Left", x)))(dictFoldableWithIndex1.foldrWithIndex(x => f(Data$dEither.$Either( + "Right", + x + )))(z)(v._2))(v._1), + foldlWithIndex: f => z => v => dictFoldableWithIndex1.foldlWithIndex(x => f(Data$dEither.$Either("Right", x)))(dictFoldableWithIndex.foldlWithIndex(x => f(Data$dEither.$Either( + "Left", + x + )))(z)(v._1))(v._2), + foldMapWithIndex: dictMonoid => { + const append = dictMonoid.Semigroup0().append; + const foldMapWithIndex3 = dictFoldableWithIndex.foldMapWithIndex(dictMonoid); + const foldMapWithIndex4 = dictFoldableWithIndex1.foldMapWithIndex(dictMonoid); + return f => v => append(foldMapWithIndex3(x => f(Data$dEither.$Either("Left", x)))(v._1))(foldMapWithIndex4(x => f(Data$dEither.$Either("Right", x)))(v._2)); + }, + Foldable0: () => foldableProduct1 + }; + }; +}; +const foldlWithIndexDefault = dictFoldableWithIndex => { + const foldMapWithIndex1 = dictFoldableWithIndex.foldMapWithIndex(monoidDual); + return c => u => xs => foldMapWithIndex1(i => { + const $6 = c(i); + return x => a => $6(a)(x); + })(xs)(u); +}; +const foldrWithIndexDefault = dictFoldableWithIndex => { + const foldMapWithIndex1 = dictFoldableWithIndex.foldMapWithIndex(monoidEndo); + return c => u => xs => foldMapWithIndex1(i => c(i))(xs)(u); +}; +const surroundMapWithIndex = dictFoldableWithIndex => { + const foldMapWithIndex1 = dictFoldableWithIndex.foldMapWithIndex(monoidEndo); + return dictSemigroup => d => t => f => foldMapWithIndex1(i => a => m => dictSemigroup.append(d)(dictSemigroup.append(t(i)(a))(m)))(f)(d); +}; +const foldMapDefault = dictFoldableWithIndex => dictMonoid => { + const foldMapWithIndex2 = dictFoldableWithIndex.foldMapWithIndex(dictMonoid); + return f => foldMapWithIndex2(v => f); +}; +const findWithIndex = dictFoldableWithIndex => p => dictFoldableWithIndex.foldlWithIndex(v => v1 => v2 => { + if (v1.tag === "Nothing") { + if (p(v)(v2)) { return Data$dMaybe.$Maybe("Just", {index: v, value: v2}); } + return v1; + } + return v1; +})(Data$dMaybe.Nothing); +const findMapWithIndex = dictFoldableWithIndex => f => dictFoldableWithIndex.foldlWithIndex(v => v1 => v2 => { + if (v1.tag === "Nothing") { return f(v)(v2); } + return v1; +})(Data$dMaybe.Nothing); +const anyWithIndex = dictFoldableWithIndex => dictHeytingAlgebra => { + const foldMapWithIndex2 = dictFoldableWithIndex.foldMapWithIndex((() => { + const semigroupDisj1 = {append: v => v1 => dictHeytingAlgebra.disj(v)(v1)}; + return {mempty: dictHeytingAlgebra.ff, Semigroup0: () => semigroupDisj1}; + })()); + return t => foldMapWithIndex2(i => t(i)); +}; +const allWithIndex = dictFoldableWithIndex => dictHeytingAlgebra => { + const foldMapWithIndex2 = dictFoldableWithIndex.foldMapWithIndex((() => { + const semigroupConj1 = {append: v => v1 => dictHeytingAlgebra.conj(v)(v1)}; + return {mempty: dictHeytingAlgebra.tt, Semigroup0: () => semigroupConj1}; + })()); + return t => foldMapWithIndex2(i => t(i)); +}; +export { + allWithIndex, + anyWithIndex, + findMapWithIndex, + findWithIndex, + foldMapDefault, + foldMapWithIndex, + foldMapWithIndexDefaultL, + foldMapWithIndexDefaultR, + foldWithIndexM, + foldableWithIndexAdditive, + foldableWithIndexApp, + foldableWithIndexArray, + foldableWithIndexCompose, + foldableWithIndexConj, + foldableWithIndexConst, + foldableWithIndexCoproduct, + foldableWithIndexDisj, + foldableWithIndexDual, + foldableWithIndexEither, + foldableWithIndexFirst, + foldableWithIndexIdentity, + foldableWithIndexLast, + foldableWithIndexMaybe, + foldableWithIndexMultiplicative, + foldableWithIndexProduct, + foldableWithIndexTuple, + foldlDefault, + foldlWithIndex, + foldlWithIndexDefault, + foldrDefault, + foldrWithIndex, + foldrWithIndexDefault, + forWithIndex_, + monoidDual, + monoidEndo, + surroundMapWithIndex, + traverseWithIndex_ +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Function.Uncurried/foreign.js b/.storybook/purescript-indexer/output-es/Data.Function.Uncurried/foreign.js new file mode 100644 index 0000000..b4bc68d --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Function.Uncurried/foreign.js @@ -0,0 +1,218 @@ +// module Data.Function.Uncurried + +export const mkFn0 = function (fn) { + return function () { + return fn(); + }; +}; + +export const mkFn2 = function (fn) { + /* jshint maxparams: 2 */ + return function (a, b) { + return fn(a)(b); + }; +}; + +export const mkFn3 = function (fn) { + /* jshint maxparams: 3 */ + return function (a, b, c) { + return fn(a)(b)(c); + }; +}; + +export const mkFn4 = function (fn) { + /* jshint maxparams: 4 */ + return function (a, b, c, d) { + return fn(a)(b)(c)(d); + }; +}; + +export const mkFn5 = function (fn) { + /* jshint maxparams: 5 */ + return function (a, b, c, d, e) { + return fn(a)(b)(c)(d)(e); + }; +}; + +export const mkFn6 = function (fn) { + /* jshint maxparams: 6 */ + return function (a, b, c, d, e, f) { + return fn(a)(b)(c)(d)(e)(f); + }; +}; + +export const mkFn7 = function (fn) { + /* jshint maxparams: 7 */ + return function (a, b, c, d, e, f, g) { + return fn(a)(b)(c)(d)(e)(f)(g); + }; +}; + +export const mkFn8 = function (fn) { + /* jshint maxparams: 8 */ + return function (a, b, c, d, e, f, g, h) { + return fn(a)(b)(c)(d)(e)(f)(g)(h); + }; +}; + +export const mkFn9 = function (fn) { + /* jshint maxparams: 9 */ + return function (a, b, c, d, e, f, g, h, i) { + return fn(a)(b)(c)(d)(e)(f)(g)(h)(i); + }; +}; + +export const mkFn10 = function (fn) { + /* jshint maxparams: 10 */ + return function (a, b, c, d, e, f, g, h, i, j) { + return fn(a)(b)(c)(d)(e)(f)(g)(h)(i)(j); + }; +}; + +export const runFn0 = function (fn) { + return fn(); +}; + +export const runFn2 = function (fn) { + return function (a) { + return function (b) { + return fn(a, b); + }; + }; +}; + +export const runFn3 = function (fn) { + return function (a) { + return function (b) { + return function (c) { + return fn(a, b, c); + }; + }; + }; +}; + +export const runFn4 = function (fn) { + return function (a) { + return function (b) { + return function (c) { + return function (d) { + return fn(a, b, c, d); + }; + }; + }; + }; +}; + +export const runFn5 = function (fn) { + return function (a) { + return function (b) { + return function (c) { + return function (d) { + return function (e) { + return fn(a, b, c, d, e); + }; + }; + }; + }; + }; +}; + +export const runFn6 = function (fn) { + return function (a) { + return function (b) { + return function (c) { + return function (d) { + return function (e) { + return function (f) { + return fn(a, b, c, d, e, f); + }; + }; + }; + }; + }; + }; +}; + +export const runFn7 = function (fn) { + return function (a) { + return function (b) { + return function (c) { + return function (d) { + return function (e) { + return function (f) { + return function (g) { + return fn(a, b, c, d, e, f, g); + }; + }; + }; + }; + }; + }; + }; +}; + +export const runFn8 = function (fn) { + return function (a) { + return function (b) { + return function (c) { + return function (d) { + return function (e) { + return function (f) { + return function (g) { + return function (h) { + return fn(a, b, c, d, e, f, g, h); + }; + }; + }; + }; + }; + }; + }; + }; +}; + +export const runFn9 = function (fn) { + return function (a) { + return function (b) { + return function (c) { + return function (d) { + return function (e) { + return function (f) { + return function (g) { + return function (h) { + return function (i) { + return fn(a, b, c, d, e, f, g, h, i); + }; + }; + }; + }; + }; + }; + }; + }; + }; +}; + +export const runFn10 = function (fn) { + return function (a) { + return function (b) { + return function (c) { + return function (d) { + return function (e) { + return function (f) { + return function (g) { + return function (h) { + return function (i) { + return function (j) { + return fn(a, b, c, d, e, f, g, h, i, j); + }; + }; + }; + }; + }; + }; + }; + }; + }; + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Function.Uncurried/index.js b/.storybook/purescript-indexer/output-es/Data.Function.Uncurried/index.js new file mode 100644 index 0000000..16d861f --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Function.Uncurried/index.js @@ -0,0 +1,6 @@ +import * as $runtime from "../runtime.js"; +import {mkFn0, mkFn10, mkFn2, mkFn3, mkFn4, mkFn5, mkFn6, mkFn7, mkFn8, mkFn9, runFn0, runFn10, runFn2, runFn3, runFn4, runFn5, runFn6, runFn7, runFn8, runFn9} from "./foreign.js"; +const runFn1 = f => f; +const mkFn1 = f => f; +export {mkFn1, runFn1}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.Function/index.js b/.storybook/purescript-indexer/output-es/Data.Function/index.js new file mode 100644 index 0000000..57962e1 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Function/index.js @@ -0,0 +1,25 @@ +import * as $runtime from "../runtime.js"; +const on = f => g => x => y => f(g(x))(g(y)); +const flip = f => b => a => f(a)(b); +const $$const = a => v => a; +const applyN = f => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const n = go$a0, acc = go$a1; + if (n <= 0) { + go$c = false; + go$r = acc; + continue; + } + go$a0 = n - 1 | 0; + go$a1 = f(acc); + continue; + }; + return go$r; + }; + return go; +}; +const applyFlipped = x => f => f(x); +const apply = f => x => f(x); +export {apply, applyFlipped, applyN, $$const as const, flip, on}; diff --git a/.storybook/purescript-indexer/output-es/Data.Functor.App/index.js b/.storybook/purescript-indexer/output-es/Data.Functor.App/index.js new file mode 100644 index 0000000..465c0f7 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Functor.App/index.js @@ -0,0 +1,78 @@ +import * as $runtime from "../runtime.js"; +import * as Unsafe$dCoerce from "../Unsafe.Coerce/index.js"; +const App = x => x; +const showApp = dictShow => ({show: v => "(App " + (dictShow.show(v) + ")")}); +const semigroupApp = dictApply => { + const map = dictApply.Functor0().map; + return dictSemigroup => ({append: v => v1 => dictApply.apply(map(dictSemigroup.append)(v))(v1)}); +}; +const plusApp = dictPlus => dictPlus; +const newtypeApp = {Coercible0: () => undefined}; +const monoidApp = dictApplicative => { + const $1 = dictApplicative.Apply0(); + const map = $1.Functor0().map; + return dictMonoid => { + const $4 = dictMonoid.Semigroup0(); + const semigroupApp2 = {append: v => v1 => $1.apply(map($4.append)(v))(v1)}; + return {mempty: dictApplicative.pure(dictMonoid.mempty), Semigroup0: () => semigroupApp2}; + }; +}; +const monadPlusApp = dictMonadPlus => dictMonadPlus; +const monadApp = dictMonad => dictMonad; +const lazyApp = dictLazy => dictLazy; +const hoistLowerApp = Unsafe$dCoerce.unsafeCoerce; +const hoistLiftApp = Unsafe$dCoerce.unsafeCoerce; +const hoistApp = f => v => f(v); +const functorApp = dictFunctor => dictFunctor; +const extendApp = dictExtend => dictExtend; +const eqApp = dictEq1 => dictEq => { + const eq11 = dictEq1.eq1(dictEq); + return {eq: x => y => eq11(x)(y)}; +}; +const ordApp = dictOrd1 => { + const $1 = dictOrd1.Eq10(); + return dictOrd => { + const compare11 = dictOrd1.compare1(dictOrd); + const eq11 = $1.eq1(dictOrd.Eq0()); + const eqApp2 = {eq: x => y => eq11(x)(y)}; + return {compare: x => y => compare11(x)(y), Eq0: () => eqApp2}; + }; +}; +const eq1App = dictEq1 => ({eq1: dictEq => dictEq1.eq1(dictEq)}); +const ord1App = dictOrd1 => { + const $1 = dictOrd1.Eq10(); + const eq1App1 = {eq1: dictEq => $1.eq1(dictEq)}; + return {compare1: dictOrd => dictOrd1.compare1(dictOrd), Eq10: () => eq1App1}; +}; +const comonadApp = dictComonad => dictComonad; +const bindApp = dictBind => dictBind; +const applyApp = dictApply => dictApply; +const applicativeApp = dictApplicative => dictApplicative; +const alternativeApp = dictAlternative => dictAlternative; +const altApp = dictAlt => dictAlt; +export { + App, + altApp, + alternativeApp, + applicativeApp, + applyApp, + bindApp, + comonadApp, + eq1App, + eqApp, + extendApp, + functorApp, + hoistApp, + hoistLiftApp, + hoistLowerApp, + lazyApp, + monadApp, + monadPlusApp, + monoidApp, + newtypeApp, + ord1App, + ordApp, + plusApp, + semigroupApp, + showApp +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Functor.Clown/index.js b/.storybook/purescript-indexer/output-es/Data.Functor.Clown/index.js new file mode 100644 index 0000000..218fa29 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Functor.Clown/index.js @@ -0,0 +1,23 @@ +import * as $runtime from "../runtime.js"; +const Clown = x => x; +const showClown = dictShow => ({show: v => "(Clown " + (dictShow.show(v) + ")")}); +const profunctorClown = dictContravariant => ({dimap: f => v => v1 => dictContravariant.cmap(f)(v1)}); +const ordClown = dictOrd => dictOrd; +const newtypeClown = {Coercible0: () => undefined}; +const hoistClown = f => v => f(v); +const functorClown = {map: v => v1 => v1}; +const eqClown = dictEq => dictEq; +const bifunctorClown = dictFunctor => ({bimap: f => v => v1 => dictFunctor.map(f)(v1)}); +const biapplyClown = dictApply => { + const $1 = dictApply.Functor0(); + const bifunctorClown1 = {bimap: f => v => v1 => $1.map(f)(v1)}; + return {biapply: v => v1 => dictApply.apply(v)(v1), Bifunctor0: () => bifunctorClown1}; +}; +const biapplicativeClown = dictApplicative => { + const $1 = dictApplicative.Apply0(); + const $2 = $1.Functor0(); + const bifunctorClown1 = {bimap: f => v => v1 => $2.map(f)(v1)}; + const biapplyClown1 = {biapply: v => v1 => $1.apply(v)(v1), Bifunctor0: () => bifunctorClown1}; + return {bipure: a => v => dictApplicative.pure(a), Biapply0: () => biapplyClown1}; +}; +export {Clown, biapplicativeClown, biapplyClown, bifunctorClown, eqClown, functorClown, hoistClown, newtypeClown, ordClown, profunctorClown, showClown}; diff --git a/.storybook/purescript-indexer/output-es/Data.Functor.Compose/index.js b/.storybook/purescript-indexer/output-es/Data.Functor.Compose/index.js new file mode 100644 index 0000000..4346b95 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Functor.Compose/index.js @@ -0,0 +1,121 @@ +import * as $runtime from "../runtime.js"; +const Compose = x => x; +const showCompose = dictShow => ({show: v => "(Compose " + (dictShow.show(v) + ")")}); +const newtypeCompose = {Coercible0: () => undefined}; +const functorCompose = dictFunctor => dictFunctor1 => ({map: f => v => dictFunctor.map(dictFunctor1.map(f))(v)}); +const eqCompose = dictEq1 => dictEq11 => dictEq => { + const eq11 = dictEq1.eq1((() => { + const eq11 = dictEq11.eq1(dictEq); + return {eq: x => y => eq11(x)(y)}; + })()); + return {eq: v => v1 => eq11(v)(v1)}; +}; +const ordCompose = dictOrd1 => { + const $1 = dictOrd1.Eq10(); + return dictOrd11 => { + const $3 = dictOrd11.Eq10(); + const $4 = dictOrd11.Eq10(); + return dictOrd => { + const compare11 = dictOrd1.compare1((() => { + const compare11 = dictOrd11.compare1(dictOrd); + const eq11 = $3.eq1(dictOrd.Eq0()); + const eqApp2 = {eq: x => y => eq11(x)(y)}; + return {compare: x => y => compare11(x)(y), Eq0: () => eqApp2}; + })()); + const eq11 = $1.eq1((() => { + const eq11 = $4.eq1(dictOrd.Eq0()); + return {eq: x => y => eq11(x)(y)}; + })()); + const eqCompose3 = {eq: v => v1 => eq11(v)(v1)}; + return {compare: v => v1 => compare11(v)(v1), Eq0: () => eqCompose3}; + }; + }; +}; +const eq1Compose = dictEq1 => dictEq11 => ( + { + eq1: dictEq => dictEq1.eq1((() => { + const eq11 = dictEq11.eq1(dictEq); + return {eq: x => y => eq11(x)(y)}; + })()) + } +); +const ord1Compose = dictOrd1 => { + const ordCompose1 = ordCompose(dictOrd1); + const $2 = dictOrd1.Eq10(); + return dictOrd11 => { + const ordCompose2 = ordCompose1(dictOrd11); + const $5 = dictOrd11.Eq10(); + const eq1Compose2 = { + eq1: dictEq => $2.eq1((() => { + const eq11 = $5.eq1(dictEq); + return {eq: x => y => eq11(x)(y)}; + })()) + }; + return {compare1: dictOrd => ordCompose2(dictOrd).compare, Eq10: () => eq1Compose2}; + }; +}; +const bihoistCompose = dictFunctor => natF => natG => v => natF(dictFunctor.map(natG)(v)); +const applyCompose = dictApply => { + const Functor0 = dictApply.Functor0(); + return dictApply1 => { + const $3 = dictApply1.Functor0(); + const functorCompose2 = {map: f => v => Functor0.map($3.map(f))(v)}; + return {apply: v => v1 => dictApply.apply(Functor0.map(dictApply1.apply)(v))(v1), Functor0: () => functorCompose2}; + }; +}; +const applicativeCompose = dictApplicative => { + const $1 = dictApplicative.Apply0(); + const Functor0 = $1.Functor0(); + return dictApplicative1 => { + const $4 = dictApplicative1.Apply0(); + const $5 = $4.Functor0(); + const functorCompose2 = {map: f => v => Functor0.map($5.map(f))(v)}; + const applyCompose2 = {apply: v => v1 => $1.apply(Functor0.map($4.apply)(v))(v1), Functor0: () => functorCompose2}; + return {pure: x => dictApplicative.pure(dictApplicative1.pure(x)), Apply0: () => applyCompose2}; + }; +}; +const altCompose = dictAlt => { + const $1 = dictAlt.Functor0(); + return dictFunctor => { + const functorCompose2 = {map: f => v => $1.map(dictFunctor.map(f))(v)}; + return {alt: v => v1 => dictAlt.alt(v)(v1), Functor0: () => functorCompose2}; + }; +}; +const plusCompose = dictPlus => { + const $1 = dictPlus.Alt0(); + const $2 = $1.Functor0(); + return dictFunctor => { + const functorCompose2 = {map: f => v => $2.map(dictFunctor.map(f))(v)}; + const altCompose2 = {alt: v => v1 => $1.alt(v)(v1), Functor0: () => functorCompose2}; + return {empty: dictPlus.empty, Alt0: () => altCompose2}; + }; +}; +const alternativeCompose = dictAlternative => { + const applicativeCompose1 = applicativeCompose(dictAlternative.Applicative0()); + const $2 = dictAlternative.Plus1(); + const $3 = $2.Alt0(); + const $4 = $3.Functor0(); + return dictApplicative => { + const applicativeCompose2 = applicativeCompose1(dictApplicative); + const $7 = dictApplicative.Apply0().Functor0(); + const functorCompose2 = {map: f => v => $4.map($7.map(f))(v)}; + const altCompose2 = {alt: v => v1 => $3.alt(v)(v1), Functor0: () => functorCompose2}; + return {Applicative0: () => applicativeCompose2, Plus1: () => ({empty: $2.empty, Alt0: () => altCompose2})}; + }; +}; +export { + Compose, + altCompose, + alternativeCompose, + applicativeCompose, + applyCompose, + bihoistCompose, + eq1Compose, + eqCompose, + functorCompose, + newtypeCompose, + ord1Compose, + ordCompose, + plusCompose, + showCompose +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Functor.Contravariant/index.js b/.storybook/purescript-indexer/output-es/Data.Functor.Contravariant/index.js new file mode 100644 index 0000000..72507ae --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Functor.Contravariant/index.js @@ -0,0 +1,8 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dVoid from "../Data.Void/index.js"; +const contravariantConst = {cmap: v => v1 => v1}; +const cmap = dict => dict.cmap; +const cmapFlipped = dictContravariant => x => f => dictContravariant.cmap(f)(x); +const coerce = dictContravariant => dictFunctor => a => dictFunctor.map(Data$dVoid.absurd)(dictContravariant.cmap(Data$dVoid.absurd)(a)); +const imapC = dictContravariant => v => f => dictContravariant.cmap(f); +export {cmap, cmapFlipped, coerce, contravariantConst, imapC}; diff --git a/.storybook/purescript-indexer/output-es/Data.Functor.Coproduct.Inject/index.js b/.storybook/purescript-indexer/output-es/Data.Functor.Coproduct.Inject/index.js new file mode 100644 index 0000000..989f9c6 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Functor.Coproduct.Inject/index.js @@ -0,0 +1,25 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +const prj = dict => dict.prj; +const injectReflexive = {inj: x => x, prj: Data$dMaybe.Just}; +const injectLeft = { + inj: x => Data$dEither.$Either("Left", x), + prj: v2 => { + if (v2.tag === "Left") { return Data$dMaybe.$Maybe("Just", v2._1); } + if (v2.tag === "Right") { return Data$dMaybe.Nothing; } + $runtime.fail(); + } +}; +const inj = dict => dict.inj; +const injectRight = dictInject => ( + { + inj: x => Data$dEither.$Either("Right", dictInject.inj(x)), + prj: v2 => { + if (v2.tag === "Left") { return Data$dMaybe.Nothing; } + if (v2.tag === "Right") { return dictInject.prj(v2._1); } + $runtime.fail(); + } + } +); +export {inj, injectLeft, injectReflexive, injectRight, prj}; diff --git a/.storybook/purescript-indexer/output-es/Data.Functor.Coproduct.Nested/index.js b/.storybook/purescript-indexer/output-es/Data.Functor.Coproduct.Nested/index.js new file mode 100644 index 0000000..57f4e0a --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Functor.Coproduct.Nested/index.js @@ -0,0 +1,605 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dFunctor$dCoproduct from "../Data.Functor.Coproduct/index.js"; +const in9 = v => Data$dEither.$Either( + "Right", + Data$dEither.$Either( + "Right", + Data$dEither.$Either( + "Right", + Data$dEither.$Either( + "Right", + Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Left", v))))) + ) + ) + ) +); +const in8 = v => Data$dEither.$Either( + "Right", + Data$dEither.$Either( + "Right", + Data$dEither.$Either( + "Right", + Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Left", v))))) + ) + ) +); +const in7 = v => Data$dEither.$Either( + "Right", + Data$dEither.$Either( + "Right", + Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Left", v))))) + ) +); +const in6 = v => Data$dEither.$Either( + "Right", + Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Left", v))))) +); +const in5 = v => Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Left", v))))); +const in4 = v => Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Left", v)))); +const in3 = v => Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Left", v))); +const in2 = v => Data$dEither.$Either("Right", Data$dEither.$Either("Left", v)); +const in10 = v => Data$dEither.$Either( + "Right", + Data$dEither.$Either( + "Right", + Data$dEither.$Either( + "Right", + Data$dEither.$Either( + "Right", + Data$dEither.$Either( + "Right", + Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Right", Data$dEither.$Either("Left", v))))) + ) + ) + ) + ) +); +const in1 = Data$dFunctor$dCoproduct.left; +const coproduct9 = a => b => c => d => e => f => g => h => i => y => { + if (y.tag === "Left") { return a(y._1); } + if (y.tag === "Right") { + if (y._1.tag === "Left") { return b(y._1._1); } + if (y._1.tag === "Right") { + if (y._1._1.tag === "Left") { return c(y._1._1._1); } + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Left") { return d(y._1._1._1._1); } + if (y._1._1._1.tag === "Right") { + if (y._1._1._1._1.tag === "Left") { return e(y._1._1._1._1._1); } + if (y._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1.tag === "Left") { return f(y._1._1._1._1._1._1); } + if (y._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1.tag === "Left") { return g(y._1._1._1._1._1._1._1); } + if (y._1._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1._1.tag === "Left") { return h(y._1._1._1._1._1._1._1._1); } + if (y._1._1._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1._1._1.tag === "Left") { return i(y._1._1._1._1._1._1._1._1._1); } + if (y._1._1._1._1._1._1._1._1.tag === "Right") { + const spin = spin$a0$copy => { + let spin$a0 = spin$a0$copy, spin$c = true, spin$r; + while (spin$c) { + const v = spin$a0; + spin$a0 = v; + continue; + }; + return spin$r; + }; + return spin(y._1._1._1._1._1._1._1._1._1); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); +}; +const coproduct8 = a => b => c => d => e => f => g => h => y => { + if (y.tag === "Left") { return a(y._1); } + if (y.tag === "Right") { + if (y._1.tag === "Left") { return b(y._1._1); } + if (y._1.tag === "Right") { + if (y._1._1.tag === "Left") { return c(y._1._1._1); } + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Left") { return d(y._1._1._1._1); } + if (y._1._1._1.tag === "Right") { + if (y._1._1._1._1.tag === "Left") { return e(y._1._1._1._1._1); } + if (y._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1.tag === "Left") { return f(y._1._1._1._1._1._1); } + if (y._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1.tag === "Left") { return g(y._1._1._1._1._1._1._1); } + if (y._1._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1._1.tag === "Left") { return h(y._1._1._1._1._1._1._1._1); } + if (y._1._1._1._1._1._1._1.tag === "Right") { + const spin = spin$a0$copy => { + let spin$a0 = spin$a0$copy, spin$c = true, spin$r; + while (spin$c) { + const v = spin$a0; + spin$a0 = v; + continue; + }; + return spin$r; + }; + return spin(y._1._1._1._1._1._1._1._1); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); +}; +const coproduct7 = a => b => c => d => e => f => g => y => { + if (y.tag === "Left") { return a(y._1); } + if (y.tag === "Right") { + if (y._1.tag === "Left") { return b(y._1._1); } + if (y._1.tag === "Right") { + if (y._1._1.tag === "Left") { return c(y._1._1._1); } + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Left") { return d(y._1._1._1._1); } + if (y._1._1._1.tag === "Right") { + if (y._1._1._1._1.tag === "Left") { return e(y._1._1._1._1._1); } + if (y._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1.tag === "Left") { return f(y._1._1._1._1._1._1); } + if (y._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1.tag === "Left") { return g(y._1._1._1._1._1._1._1); } + if (y._1._1._1._1._1._1.tag === "Right") { + const spin = spin$a0$copy => { + let spin$a0 = spin$a0$copy, spin$c = true, spin$r; + while (spin$c) { + const v = spin$a0; + spin$a0 = v; + continue; + }; + return spin$r; + }; + return spin(y._1._1._1._1._1._1._1); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); +}; +const coproduct6 = a => b => c => d => e => f => y => { + if (y.tag === "Left") { return a(y._1); } + if (y.tag === "Right") { + if (y._1.tag === "Left") { return b(y._1._1); } + if (y._1.tag === "Right") { + if (y._1._1.tag === "Left") { return c(y._1._1._1); } + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Left") { return d(y._1._1._1._1); } + if (y._1._1._1.tag === "Right") { + if (y._1._1._1._1.tag === "Left") { return e(y._1._1._1._1._1); } + if (y._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1.tag === "Left") { return f(y._1._1._1._1._1._1); } + if (y._1._1._1._1._1.tag === "Right") { + const spin = spin$a0$copy => { + let spin$a0 = spin$a0$copy, spin$c = true, spin$r; + while (spin$c) { + const v = spin$a0; + spin$a0 = v; + continue; + }; + return spin$r; + }; + return spin(y._1._1._1._1._1._1); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); +}; +const coproduct5 = a => b => c => d => e => y => { + if (y.tag === "Left") { return a(y._1); } + if (y.tag === "Right") { + if (y._1.tag === "Left") { return b(y._1._1); } + if (y._1.tag === "Right") { + if (y._1._1.tag === "Left") { return c(y._1._1._1); } + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Left") { return d(y._1._1._1._1); } + if (y._1._1._1.tag === "Right") { + if (y._1._1._1._1.tag === "Left") { return e(y._1._1._1._1._1); } + if (y._1._1._1._1.tag === "Right") { + const spin = spin$a0$copy => { + let spin$a0 = spin$a0$copy, spin$c = true, spin$r; + while (spin$c) { + const v = spin$a0; + spin$a0 = v; + continue; + }; + return spin$r; + }; + return spin(y._1._1._1._1._1); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); +}; +const coproduct4 = a => b => c => d => y => { + if (y.tag === "Left") { return a(y._1); } + if (y.tag === "Right") { + if (y._1.tag === "Left") { return b(y._1._1); } + if (y._1.tag === "Right") { + if (y._1._1.tag === "Left") { return c(y._1._1._1); } + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Left") { return d(y._1._1._1._1); } + if (y._1._1._1.tag === "Right") { + const spin = spin$a0$copy => { + let spin$a0 = spin$a0$copy, spin$c = true, spin$r; + while (spin$c) { + const v = spin$a0; + spin$a0 = v; + continue; + }; + return spin$r; + }; + return spin(y._1._1._1._1); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); +}; +const coproduct3 = a => b => c => y => { + if (y.tag === "Left") { return a(y._1); } + if (y.tag === "Right") { + if (y._1.tag === "Left") { return b(y._1._1); } + if (y._1.tag === "Right") { + if (y._1._1.tag === "Left") { return c(y._1._1._1); } + if (y._1._1.tag === "Right") { + const spin = spin$a0$copy => { + let spin$a0 = spin$a0$copy, spin$c = true, spin$r; + while (spin$c) { + const v = spin$a0; + spin$a0 = v; + continue; + }; + return spin$r; + }; + return spin(y._1._1._1); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); +}; +const coproduct2 = a => b => y => { + if (y.tag === "Left") { return a(y._1); } + if (y.tag === "Right") { + if (y._1.tag === "Left") { return b(y._1._1); } + if (y._1.tag === "Right") { + const spin = spin$a0$copy => { + let spin$a0 = spin$a0$copy, spin$c = true, spin$r; + while (spin$c) { + const v = spin$a0; + spin$a0 = v; + continue; + }; + return spin$r; + }; + return spin(y._1._1); + } + $runtime.fail(); + } + $runtime.fail(); +}; +const coproduct10 = a => b => c => d => e => f => g => h => i => j => y => { + if (y.tag === "Left") { return a(y._1); } + if (y.tag === "Right") { + if (y._1.tag === "Left") { return b(y._1._1); } + if (y._1.tag === "Right") { + if (y._1._1.tag === "Left") { return c(y._1._1._1); } + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Left") { return d(y._1._1._1._1); } + if (y._1._1._1.tag === "Right") { + if (y._1._1._1._1.tag === "Left") { return e(y._1._1._1._1._1); } + if (y._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1.tag === "Left") { return f(y._1._1._1._1._1._1); } + if (y._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1.tag === "Left") { return g(y._1._1._1._1._1._1._1); } + if (y._1._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1._1.tag === "Left") { return h(y._1._1._1._1._1._1._1._1); } + if (y._1._1._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1._1._1.tag === "Left") { return i(y._1._1._1._1._1._1._1._1._1); } + if (y._1._1._1._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1._1._1._1.tag === "Left") { return j(y._1._1._1._1._1._1._1._1._1._1); } + if (y._1._1._1._1._1._1._1._1._1.tag === "Right") { + const spin = spin$a0$copy => { + let spin$a0 = spin$a0$copy, spin$c = true, spin$r; + while (spin$c) { + const v = spin$a0; + spin$a0 = v; + continue; + }; + return spin$r; + }; + return spin(y._1._1._1._1._1._1._1._1._1._1); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); +}; +const coproduct1 = y => { + if (y.tag === "Left") { return y._1; } + if (y.tag === "Right") { + const spin = spin$a0$copy => { + let spin$a0 = spin$a0$copy, spin$c = true, spin$r; + while (spin$c) { + const v = spin$a0; + spin$a0 = v; + continue; + }; + return spin$r; + }; + return spin(y._1); + } + $runtime.fail(); +}; +const at9 = b => f => y => { + if (y.tag === "Right") { + if (y._1.tag === "Right") { + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Right") { + if (y._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1._1._1.tag === "Left") { return f(y._1._1._1._1._1._1._1._1._1); } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; +}; +const at8 = b => f => y => { + if (y.tag === "Right") { + if (y._1.tag === "Right") { + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Right") { + if (y._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1._1.tag === "Left") { return f(y._1._1._1._1._1._1._1._1); } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; +}; +const at7 = b => f => y => { + if (y.tag === "Right") { + if (y._1.tag === "Right") { + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Right") { + if (y._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1.tag === "Left") { return f(y._1._1._1._1._1._1._1); } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; +}; +const at6 = b => f => y => { + if (y.tag === "Right") { + if (y._1.tag === "Right") { + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Right") { + if (y._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1.tag === "Left") { return f(y._1._1._1._1._1._1); } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; +}; +const at5 = b => f => y => { + if (y.tag === "Right") { + if (y._1.tag === "Right") { + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Right") { + if (y._1._1._1._1.tag === "Left") { return f(y._1._1._1._1._1); } + return b; + } + return b; + } + return b; + } + return b; + } + return b; +}; +const at4 = b => f => y => { + if (y.tag === "Right") { + if (y._1.tag === "Right") { + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Left") { return f(y._1._1._1._1); } + return b; + } + return b; + } + return b; + } + return b; +}; +const at3 = b => f => y => { + if (y.tag === "Right") { + if (y._1.tag === "Right") { + if (y._1._1.tag === "Left") { return f(y._1._1._1); } + return b; + } + return b; + } + return b; +}; +const at2 = b => f => y => { + if (y.tag === "Right") { + if (y._1.tag === "Left") { return f(y._1._1); } + return b; + } + return b; +}; +const at10 = b => f => y => { + if (y.tag === "Right") { + if (y._1.tag === "Right") { + if (y._1._1.tag === "Right") { + if (y._1._1._1.tag === "Right") { + if (y._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1._1._1.tag === "Right") { + if (y._1._1._1._1._1._1._1._1._1.tag === "Left") { return f(y._1._1._1._1._1._1._1._1._1._1); } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; + } + return b; +}; +const at1 = b => f => y => { + if (y.tag === "Left") { return f(y._1); } + return b; +}; +export { + at1, + at10, + at2, + at3, + at4, + at5, + at6, + at7, + at8, + at9, + coproduct1, + coproduct10, + coproduct2, + coproduct3, + coproduct4, + coproduct5, + coproduct6, + coproduct7, + coproduct8, + coproduct9, + in1, + in10, + in2, + in3, + in4, + in5, + in6, + in7, + in8, + in9 +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Functor.Coproduct/index.js b/.storybook/purescript-indexer/output-es/Data.Functor.Coproduct/index.js new file mode 100644 index 0000000..5e6456e --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Functor.Coproduct/index.js @@ -0,0 +1,181 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dBifunctor from "../Data.Bifunctor/index.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +const Coproduct = x => x; +const showCoproduct = dictShow => dictShow1 => ( + { + show: v => { + if (v.tag === "Left") { return "(left " + (dictShow.show(v._1) + ")"); } + if (v.tag === "Right") { return "(right " + (dictShow1.show(v._1) + ")"); } + $runtime.fail(); + } + } +); +const right = ga => Data$dEither.$Either("Right", ga); +const newtypeCoproduct = {Coercible0: () => undefined}; +const left = fa => Data$dEither.$Either("Left", fa); +const functorCoproduct = dictFunctor => dictFunctor1 => ({map: f => v => Data$dBifunctor.bifunctorEither.bimap(dictFunctor.map(f))(dictFunctor1.map(f))(v)}); +const eq1Coproduct = dictEq1 => dictEq11 => ( + { + eq1: dictEq => { + const eq12 = dictEq1.eq1(dictEq); + const eq13 = dictEq11.eq1(dictEq); + return v => v1 => { + if (v.tag === "Left") { + if (v1.tag === "Left") { return eq12(v._1)(v1._1); } + return false; + } + if (v.tag === "Right") { + if (v1.tag === "Right") { return eq13(v._1)(v1._1); } + return false; + } + return false; + }; + } + } +); +const eqCoproduct = dictEq1 => dictEq11 => dictEq => ( + { + eq: (() => { + const eq12 = dictEq1.eq1(dictEq); + const eq13 = dictEq11.eq1(dictEq); + return v => v1 => { + if (v.tag === "Left") { + if (v1.tag === "Left") { return eq12(v._1)(v1._1); } + return false; + } + if (v.tag === "Right") { + if (v1.tag === "Right") { return eq13(v._1)(v1._1); } + return false; + } + return false; + }; + })() + } +); +const ord1Coproduct = dictOrd1 => { + const $1 = dictOrd1.Eq10(); + return dictOrd11 => { + const $3 = dictOrd11.Eq10(); + const eq1Coproduct2 = { + eq1: dictEq => { + const eq12 = $1.eq1(dictEq); + const eq13 = $3.eq1(dictEq); + return v => v1 => { + if (v.tag === "Left") { + if (v1.tag === "Left") { return eq12(v._1)(v1._1); } + return false; + } + if (v.tag === "Right") { + if (v1.tag === "Right") { return eq13(v._1)(v1._1); } + return false; + } + return false; + }; + } + }; + return { + compare1: dictOrd => { + const compare12 = dictOrd1.compare1(dictOrd); + const compare13 = dictOrd11.compare1(dictOrd); + return v => v1 => { + if (v.tag === "Left") { + if (v1.tag === "Left") { return compare12(v._1)(v1._1); } + return Data$dOrdering.LT; + } + if (v1.tag === "Left") { return Data$dOrdering.GT; } + if (v.tag === "Right") { + if (v1.tag === "Right") { return compare13(v._1)(v1._1); } + $runtime.fail(); + } + $runtime.fail(); + }; + }, + Eq10: () => eq1Coproduct2 + }; + }; +}; +const ordCoproduct = dictOrd1 => { + const ord1Coproduct1 = ord1Coproduct(dictOrd1); + const $2 = dictOrd1.Eq10(); + return dictOrd11 => { + const compare1 = ord1Coproduct1(dictOrd11).compare1; + const $5 = dictOrd11.Eq10(); + return dictOrd => { + const $7 = dictOrd.Eq0(); + const eqCoproduct3 = { + eq: (() => { + const eq12 = $2.eq1($7); + const eq13 = $5.eq1($7); + return v => v1 => { + if (v.tag === "Left") { + if (v1.tag === "Left") { return eq12(v._1)(v1._1); } + return false; + } + if (v.tag === "Right") { + if (v1.tag === "Right") { return eq13(v._1)(v1._1); } + return false; + } + return false; + }; + })() + }; + return {compare: compare1(dictOrd), Eq0: () => eqCoproduct3}; + }; + }; +}; +const coproduct = v => v1 => v2 => { + if (v2.tag === "Left") { return v(v2._1); } + if (v2.tag === "Right") { return v1(v2._1); } + $runtime.fail(); +}; +const extendCoproduct = dictExtend => { + const functorCoproduct1 = functorCoproduct(dictExtend.Functor0()); + return dictExtend1 => { + const functorCoproduct2 = functorCoproduct1(dictExtend1.Functor0()); + return { + extend: f => { + const $5 = dictExtend.extend(x => f(Data$dEither.$Either("Left", x))); + const $6 = dictExtend1.extend(x => f(Data$dEither.$Either("Right", x))); + return x => { + if (x.tag === "Left") { return Data$dEither.$Either("Left", $5(x._1)); } + if (x.tag === "Right") { return Data$dEither.$Either("Right", $6(x._1)); } + $runtime.fail(); + }; + }, + Functor0: () => functorCoproduct2 + }; + }; +}; +const comonadCoproduct = dictComonad => { + const extendCoproduct1 = extendCoproduct(dictComonad.Extend0()); + return dictComonad1 => { + const extendCoproduct2 = extendCoproduct1(dictComonad1.Extend0()); + return { + extract: v2 => { + if (v2.tag === "Left") { return dictComonad.extract(v2._1); } + if (v2.tag === "Right") { return dictComonad1.extract(v2._1); } + $runtime.fail(); + }, + Extend0: () => extendCoproduct2 + }; + }; +}; +const bihoistCoproduct = natF => natG => v => Data$dBifunctor.bifunctorEither.bimap(natF)(natG)(v); +export { + Coproduct, + bihoistCoproduct, + comonadCoproduct, + coproduct, + eq1Coproduct, + eqCoproduct, + extendCoproduct, + functorCoproduct, + left, + newtypeCoproduct, + ord1Coproduct, + ordCoproduct, + right, + showCoproduct +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Functor.Costar/index.js b/.storybook/purescript-indexer/output-es/Data.Functor.Costar/index.js new file mode 100644 index 0000000..211a14d --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Functor.Costar/index.js @@ -0,0 +1,83 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const Costar = x => x; +const semigroupoidCostar = dictExtend => ({compose: v => v1 => w => v(dictExtend.extend(v1)(w))}); +const profunctorCostar = dictFunctor => ( + { + dimap: f => g => v => { + const $4 = dictFunctor.map(f); + return x => g(v($4(x))); + } + } +); +const strongCostar = dictComonad => { + const Functor0 = dictComonad.Extend0().Functor0(); + const profunctorCostar1 = { + dimap: f => g => v => { + const $5 = Functor0.map(f); + return x => g(v($5(x))); + } + }; + return { + first: v => x => Data$dTuple.$Tuple(v(Functor0.map(Data$dTuple.fst)(x)), dictComonad.extract(x)._2), + second: v => x => Data$dTuple.$Tuple(dictComonad.extract(x)._1, v(Functor0.map(Data$dTuple.snd)(x))), + Profunctor0: () => profunctorCostar1 + }; +}; +const newtypeCostar = {Coercible0: () => undefined}; +const hoistCostar = f => v => x => v(f(x)); +const functorCostar = {map: f => v => x => f(v(x))}; +const invariantCostar = {imap: f => v => v$1 => x => f(v$1(x))}; +const distributiveCostar = { + distribute: dictFunctor => f => a => dictFunctor.map(v => v(a))(f), + collect: dictFunctor => f => { + const $2 = distributiveCostar.distribute(dictFunctor); + const $3 = dictFunctor.map(f); + return x => $2($3(x)); + }, + Functor0: () => functorCostar +}; +const closedCostar = dictFunctor => { + const profunctorCostar1 = { + dimap: f => g => v => { + const $4 = dictFunctor.map(f); + return x => g(v($4(x))); + } + }; + return {closed: v => g => x => v(dictFunctor.map(v1 => v1(x))(g)), Profunctor0: () => profunctorCostar1}; +}; +const categoryCostar = dictComonad => { + const $1 = dictComonad.Extend0(); + const semigroupoidCostar1 = {compose: v => v1 => w => v($1.extend(v1)(w))}; + return {identity: dictComonad.extract, Semigroupoid0: () => semigroupoidCostar1}; +}; +const bifunctorCostar = dictContravariant => ( + { + bimap: f => g => v => { + const $4 = dictContravariant.cmap(f); + return x => g(v($4(x))); + } + } +); +const applyCostar = {apply: v => v1 => a => v(a)(v1(a)), Functor0: () => functorCostar}; +const bindCostar = {bind: v => f => x => f(v(x))(x), Apply0: () => applyCostar}; +const applicativeCostar = {pure: a => v => a, Apply0: () => applyCostar}; +const monadCostar = {Applicative0: () => applicativeCostar, Bind1: () => bindCostar}; +export { + Costar, + applicativeCostar, + applyCostar, + bifunctorCostar, + bindCostar, + categoryCostar, + closedCostar, + distributiveCostar, + functorCostar, + hoistCostar, + invariantCostar, + monadCostar, + newtypeCostar, + profunctorCostar, + semigroupoidCostar, + strongCostar +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Functor.Flip/index.js b/.storybook/purescript-indexer/output-es/Data.Functor.Flip/index.js new file mode 100644 index 0000000..2aedf57 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Functor.Flip/index.js @@ -0,0 +1,30 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dBifunctor from "../Data.Bifunctor/index.js"; +import * as Data$dProfunctor from "../Data.Profunctor/index.js"; +const Flip = x => x; +const showFlip = dictShow => ({show: v => "(Flip " + (dictShow.show(v) + ")")}); +const semigroupoidFlip = dictSemigroupoid => ({compose: v => v1 => dictSemigroupoid.compose(v1)(v)}); +const ordFlip = dictOrd => dictOrd; +const newtypeFlip = {Coercible0: () => undefined}; +const functorFlip = dictBifunctor => ({map: f => v => dictBifunctor.bimap(f)(Data$dBifunctor.identity)(v)}); +const eqFlip = dictEq => dictEq; +const contravariantFlip = dictProfunctor => ({cmap: f => v => dictProfunctor.dimap(f)(Data$dProfunctor.identity)(v)}); +const categoryFlip = dictCategory => { + const $1 = dictCategory.Semigroupoid0(); + const semigroupoidFlip1 = {compose: v => v1 => $1.compose(v1)(v)}; + return {identity: dictCategory.identity, Semigroupoid0: () => semigroupoidFlip1}; +}; +const bifunctorFlip = dictBifunctor => ({bimap: f => g => v => dictBifunctor.bimap(g)(f)(v)}); +const biapplyFlip = dictBiapply => { + const $1 = dictBiapply.Bifunctor0(); + const bifunctorFlip1 = {bimap: f => g => v => $1.bimap(g)(f)(v)}; + return {biapply: v => v1 => dictBiapply.biapply(v)(v1), Bifunctor0: () => bifunctorFlip1}; +}; +const biapplicativeFlip = dictBiapplicative => { + const $1 = dictBiapplicative.Biapply0(); + const $2 = $1.Bifunctor0(); + const bifunctorFlip1 = {bimap: f => g => v => $2.bimap(g)(f)(v)}; + const biapplyFlip1 = {biapply: v => v1 => $1.biapply(v)(v1), Bifunctor0: () => bifunctorFlip1}; + return {bipure: a => b => dictBiapplicative.bipure(b)(a), Biapply0: () => biapplyFlip1}; +}; +export {Flip, biapplicativeFlip, biapplyFlip, bifunctorFlip, categoryFlip, contravariantFlip, eqFlip, functorFlip, newtypeFlip, ordFlip, semigroupoidFlip, showFlip}; diff --git a/.storybook/purescript-indexer/output-es/Data.Functor.Invariant/index.js b/.storybook/purescript-indexer/output-es/Data.Functor.Invariant/index.js new file mode 100644 index 0000000..8e06ad1 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Functor.Invariant/index.js @@ -0,0 +1,15 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dSemigroupoid from "../Control.Semigroupoid/index.js"; +import * as Data$dFunctor from "../Data.Functor/index.js"; +const invariantMultiplicative = {imap: f => v => v1 => f(v1)}; +const invariantEndo = {imap: ab => ba => v => x => ab(v(ba(x)))}; +const invariantDual = {imap: f => v => v1 => f(v1)}; +const invariantDisj = {imap: f => v => v1 => f(v1)}; +const invariantConj = {imap: f => v => v1 => f(v1)}; +const invariantAdditive = {imap: f => v => v1 => f(v1)}; +const imapF = dictFunctor => f => v => dictFunctor.map(f); +const invariantArray = {imap: f => v => Data$dFunctor.arrayMap(f)}; +const invariantFn = {imap: f => v => Control$dSemigroupoid.semigroupoidFn.compose(f)}; +const imap = dict => dict.imap; +const invariantAlternate = dictInvariant => ({imap: f => g => v => dictInvariant.imap(f)(g)(v)}); +export {imap, imapF, invariantAdditive, invariantAlternate, invariantArray, invariantConj, invariantDisj, invariantDual, invariantEndo, invariantFn, invariantMultiplicative}; diff --git a/.storybook/purescript-indexer/output-es/Data.Functor.Joker/index.js b/.storybook/purescript-indexer/output-es/Data.Functor.Joker/index.js new file mode 100644 index 0000000..72648c1 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Functor.Joker/index.js @@ -0,0 +1,79 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dEither from "../Data.Either/index.js"; +const Joker = x => x; +const showJoker = dictShow => ({show: v => "(Joker " + (dictShow.show(v) + ")")}); +const profunctorJoker = dictFunctor => ({dimap: v => g => v1 => dictFunctor.map(g)(v1)}); +const ordJoker = dictOrd => dictOrd; +const newtypeJoker = {Coercible0: () => undefined}; +const hoistJoker = f => v => f(v); +const functorJoker = dictFunctor => ({map: f => v => dictFunctor.map(f)(v)}); +const eqJoker = dictEq => dictEq; +const choiceJoker = dictFunctor => { + const profunctorJoker1 = {dimap: v => g => v1 => dictFunctor.map(g)(v1)}; + return {left: v => dictFunctor.map(Data$dEither.Left)(v), right: v => dictFunctor.map(Data$dEither.Right)(v), Profunctor0: () => profunctorJoker1}; +}; +const bifunctorJoker = dictFunctor => ({bimap: v => g => v1 => dictFunctor.map(g)(v1)}); +const biapplyJoker = dictApply => { + const $1 = dictApply.Functor0(); + const bifunctorJoker1 = {bimap: v => g => v1 => $1.map(g)(v1)}; + return {biapply: v => v1 => dictApply.apply(v)(v1), Bifunctor0: () => bifunctorJoker1}; +}; +const biapplicativeJoker = dictApplicative => { + const $1 = dictApplicative.Apply0(); + const $2 = $1.Functor0(); + const bifunctorJoker1 = {bimap: v => g => v1 => $2.map(g)(v1)}; + const biapplyJoker1 = {biapply: v => v1 => $1.apply(v)(v1), Bifunctor0: () => bifunctorJoker1}; + return {bipure: v => b => dictApplicative.pure(b), Biapply0: () => biapplyJoker1}; +}; +const applyJoker = dictApply => { + const $1 = dictApply.Functor0(); + const functorJoker1 = {map: f => v => $1.map(f)(v)}; + return {apply: v => v1 => dictApply.apply(v)(v1), Functor0: () => functorJoker1}; +}; +const bindJoker = dictBind => { + const $1 = dictBind.Apply0(); + const $2 = $1.Functor0(); + const functorJoker1 = {map: f => v => $2.map(f)(v)}; + const applyJoker1 = {apply: v => v1 => $1.apply(v)(v1), Functor0: () => functorJoker1}; + return {bind: v => amb => dictBind.bind(v)(x => amb(x)), Apply0: () => applyJoker1}; +}; +const applicativeJoker = dictApplicative => { + const $1 = dictApplicative.Apply0(); + const $2 = $1.Functor0(); + const functorJoker1 = {map: f => v => $2.map(f)(v)}; + const applyJoker1 = {apply: v => v1 => $1.apply(v)(v1), Functor0: () => functorJoker1}; + return {pure: x => dictApplicative.pure(x), Apply0: () => applyJoker1}; +}; +const monadJoker = dictMonad => { + const $1 = dictMonad.Applicative0(); + const $2 = $1.Apply0(); + const $3 = $2.Functor0(); + const functorJoker1 = {map: f => v => $3.map(f)(v)}; + const applyJoker1 = {apply: v => v1 => $2.apply(v)(v1), Functor0: () => functorJoker1}; + const applicativeJoker1 = {pure: x => $1.pure(x), Apply0: () => applyJoker1}; + const $7 = dictMonad.Bind1(); + const $8 = $7.Apply0(); + const $9 = $8.Functor0(); + const functorJoker1$1 = {map: f => v => $9.map(f)(v)}; + const applyJoker1$1 = {apply: v => v1 => $8.apply(v)(v1), Functor0: () => functorJoker1$1}; + const bindJoker1 = {bind: v => amb => $7.bind(v)(x => amb(x)), Apply0: () => applyJoker1$1}; + return {Applicative0: () => applicativeJoker1, Bind1: () => bindJoker1}; +}; +export { + Joker, + applicativeJoker, + applyJoker, + biapplicativeJoker, + biapplyJoker, + bifunctorJoker, + bindJoker, + choiceJoker, + eqJoker, + functorJoker, + hoistJoker, + monadJoker, + newtypeJoker, + ordJoker, + profunctorJoker, + showJoker +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Functor.Product.Nested/index.js b/.storybook/purescript-indexer/output-es/Data.Functor.Product.Nested/index.js new file mode 100644 index 0000000..95741f2 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Functor.Product.Nested/index.js @@ -0,0 +1,51 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const product9 = a => b => c => d => e => f => g => h => i => Data$dTuple.$Tuple( + a, + Data$dTuple.$Tuple( + b, + Data$dTuple.$Tuple(c, Data$dTuple.$Tuple(d, Data$dTuple.$Tuple(e, Data$dTuple.$Tuple(f, Data$dTuple.$Tuple(g, Data$dTuple.$Tuple(h, Data$dTuple.$Tuple(i, Data$dUnit.unit))))))) + ) +); +const product8 = a => b => c => d => e => f => g => h => Data$dTuple.$Tuple( + a, + Data$dTuple.$Tuple(b, Data$dTuple.$Tuple(c, Data$dTuple.$Tuple(d, Data$dTuple.$Tuple(e, Data$dTuple.$Tuple(f, Data$dTuple.$Tuple(g, Data$dTuple.$Tuple(h, Data$dUnit.unit))))))) +); +const product7 = a => b => c => d => e => f => g => Data$dTuple.$Tuple( + a, + Data$dTuple.$Tuple(b, Data$dTuple.$Tuple(c, Data$dTuple.$Tuple(d, Data$dTuple.$Tuple(e, Data$dTuple.$Tuple(f, Data$dTuple.$Tuple(g, Data$dUnit.unit)))))) +); +const product6 = a => b => c => d => e => f => Data$dTuple.$Tuple( + a, + Data$dTuple.$Tuple(b, Data$dTuple.$Tuple(c, Data$dTuple.$Tuple(d, Data$dTuple.$Tuple(e, Data$dTuple.$Tuple(f, Data$dUnit.unit))))) +); +const product5 = a => b => c => d => e => Data$dTuple.$Tuple(a, Data$dTuple.$Tuple(b, Data$dTuple.$Tuple(c, Data$dTuple.$Tuple(d, Data$dTuple.$Tuple(e, Data$dUnit.unit))))); +const product4 = a => b => c => d => Data$dTuple.$Tuple(a, Data$dTuple.$Tuple(b, Data$dTuple.$Tuple(c, Data$dTuple.$Tuple(d, Data$dUnit.unit)))); +const product3 = a => b => c => Data$dTuple.$Tuple(a, Data$dTuple.$Tuple(b, Data$dTuple.$Tuple(c, Data$dUnit.unit))); +const product2 = a => b => Data$dTuple.$Tuple(a, Data$dTuple.$Tuple(b, Data$dUnit.unit)); +const product10 = a => b => c => d => e => f => g => h => i => j => Data$dTuple.$Tuple( + a, + Data$dTuple.$Tuple( + b, + Data$dTuple.$Tuple( + c, + Data$dTuple.$Tuple( + d, + Data$dTuple.$Tuple(e, Data$dTuple.$Tuple(f, Data$dTuple.$Tuple(g, Data$dTuple.$Tuple(h, Data$dTuple.$Tuple(i, Data$dTuple.$Tuple(j, Data$dUnit.unit)))))) + ) + ) + ) +); +const product1 = a => Data$dTuple.$Tuple(a, Data$dUnit.unit); +const get9 = v => v._2._2._2._2._2._2._2._2._1; +const get8 = v => v._2._2._2._2._2._2._2._1; +const get7 = v => v._2._2._2._2._2._2._1; +const get6 = v => v._2._2._2._2._2._1; +const get5 = v => v._2._2._2._2._1; +const get4 = v => v._2._2._2._1; +const get3 = v => v._2._2._1; +const get2 = v => v._2._1; +const get10 = v => v._2._2._2._2._2._2._2._2._2._1; +const get1 = v => v._1; +export {get1, get10, get2, get3, get4, get5, get6, get7, get8, get9, product1, product10, product2, product3, product4, product5, product6, product7, product8, product9}; diff --git a/.storybook/purescript-indexer/output-es/Data.Functor.Product/index.js b/.storybook/purescript-indexer/output-es/Data.Functor.Product/index.js new file mode 100644 index 0000000..576f864 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Functor.Product/index.js @@ -0,0 +1,116 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const Product = x => x; +const showProduct = dictShow => dictShow1 => ({show: v => "(product " + (dictShow.show(v._1) + (" " + (dictShow1.show(v._2) + ")")))}); +const product = fa => ga => Data$dTuple.$Tuple(fa, ga); +const newtypeProduct = {Coercible0: () => undefined}; +const functorProduct = dictFunctor => dictFunctor1 => ({map: f => v => Data$dTuple.$Tuple(dictFunctor.map(f)(v._1), dictFunctor1.map(f)(v._2))}); +const eq1Product = dictEq1 => dictEq11 => ( + { + eq1: dictEq => { + const eq12 = dictEq1.eq1(dictEq); + const eq13 = dictEq11.eq1(dictEq); + return v => v1 => eq12(v._1)(v1._1) && eq13(v._2)(v1._2); + } + } +); +const eqProduct = dictEq1 => dictEq11 => dictEq => ( + { + eq: (() => { + const eq12 = dictEq1.eq1(dictEq); + const eq13 = dictEq11.eq1(dictEq); + return v => v1 => eq12(v._1)(v1._1) && eq13(v._2)(v1._2); + })() + } +); +const ord1Product = dictOrd1 => { + const $1 = dictOrd1.Eq10(); + return dictOrd11 => { + const $3 = dictOrd11.Eq10(); + const eq1Product2 = { + eq1: dictEq => { + const eq12 = $1.eq1(dictEq); + const eq13 = $3.eq1(dictEq); + return v => v1 => eq12(v._1)(v1._1) && eq13(v._2)(v1._2); + } + }; + return { + compare1: dictOrd => { + const compare12 = dictOrd1.compare1(dictOrd); + const compare13 = dictOrd11.compare1(dictOrd); + return v => v1 => { + const v2 = compare12(v._1)(v1._1); + if (v2.tag === "EQ") { return compare13(v._2)(v1._2); } + return v2; + }; + }, + Eq10: () => eq1Product2 + }; + }; +}; +const ordProduct = dictOrd1 => { + const ord1Product1 = ord1Product(dictOrd1); + const $2 = dictOrd1.Eq10(); + return dictOrd11 => { + const compare1 = ord1Product1(dictOrd11).compare1; + const $5 = dictOrd11.Eq10(); + return dictOrd => { + const $7 = dictOrd.Eq0(); + const eqProduct3 = { + eq: (() => { + const eq12 = $2.eq1($7); + const eq13 = $5.eq1($7); + return v => v1 => eq12(v._1)(v1._1) && eq13(v._2)(v1._2); + })() + }; + return {compare: compare1(dictOrd), Eq0: () => eqProduct3}; + }; + }; +}; +const bihoistProduct = natF => natG => v => Data$dTuple.$Tuple(natF(v._1), natG(v._2)); +const applyProduct = dictApply => { + const functorProduct1 = functorProduct(dictApply.Functor0()); + return dictApply1 => { + const functorProduct2 = functorProduct1(dictApply1.Functor0()); + return {apply: v => v1 => Data$dTuple.$Tuple(dictApply.apply(v._1)(v1._1), dictApply1.apply(v._2)(v1._2)), Functor0: () => functorProduct2}; + }; +}; +const bindProduct = dictBind => { + const applyProduct1 = applyProduct(dictBind.Apply0()); + return dictBind1 => { + const applyProduct2 = applyProduct1(dictBind1.Apply0()); + return {bind: v => f => Data$dTuple.$Tuple(dictBind.bind(v._1)(x => f(x)._1), dictBind1.bind(v._2)(x => f(x)._2)), Apply0: () => applyProduct2}; + }; +}; +const applicativeProduct = dictApplicative => { + const applyProduct1 = applyProduct(dictApplicative.Apply0()); + return dictApplicative1 => { + const applyProduct2 = applyProduct1(dictApplicative1.Apply0()); + return {pure: a => Data$dTuple.$Tuple(dictApplicative.pure(a), dictApplicative1.pure(a)), Apply0: () => applyProduct2}; + }; +}; +const monadProduct = dictMonad => { + const applicativeProduct1 = applicativeProduct(dictMonad.Applicative0()); + const bindProduct1 = bindProduct(dictMonad.Bind1()); + return dictMonad1 => { + const applicativeProduct2 = applicativeProduct1(dictMonad1.Applicative0()); + const bindProduct2 = bindProduct1(dictMonad1.Bind1()); + return {Applicative0: () => applicativeProduct2, Bind1: () => bindProduct2}; + }; +}; +export { + Product, + applicativeProduct, + applyProduct, + bihoistProduct, + bindProduct, + eq1Product, + eqProduct, + functorProduct, + monadProduct, + newtypeProduct, + ord1Product, + ordProduct, + product, + showProduct +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Functor.Product2/index.js b/.storybook/purescript-indexer/output-es/Data.Functor.Product2/index.js new file mode 100644 index 0000000..afb272e --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Functor.Product2/index.js @@ -0,0 +1,40 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +const $Product2 = (_1, _2) => ({tag: "Product2", _1, _2}); +const Product2 = value0 => value1 => $Product2(value0, value1); +const showProduct2 = dictShow => dictShow1 => ({show: v => "(Product2 " + (dictShow.show(v._1) + (" " + (dictShow1.show(v._2) + ")")))}); +const profunctorProduct2 = dictProfunctor => dictProfunctor1 => ({dimap: f => g => v => $Product2(dictProfunctor.dimap(f)(g)(v._1), dictProfunctor1.dimap(f)(g)(v._2))}); +const functorProduct2 = dictFunctor => dictFunctor1 => ({map: f => v => $Product2(dictFunctor.map(f)(v._1), dictFunctor1.map(f)(v._2))}); +const eqProduct2 = dictEq => dictEq1 => ({eq: x => y => dictEq.eq(x._1)(y._1) && dictEq1.eq(x._2)(y._2)}); +const ordProduct2 = dictOrd => { + const $1 = dictOrd.Eq0(); + return dictOrd1 => { + const $3 = dictOrd1.Eq0(); + const eqProduct22 = {eq: x => y => $1.eq(x._1)(y._1) && $3.eq(x._2)(y._2)}; + return { + compare: x => y => { + const v = dictOrd.compare(x._1)(y._1); + if (v.tag === "LT") { return Data$dOrdering.LT; } + if (v.tag === "GT") { return Data$dOrdering.GT; } + return dictOrd1.compare(x._2)(y._2); + }, + Eq0: () => eqProduct22 + }; + }; +}; +const bifunctorProduct2 = dictBifunctor => dictBifunctor1 => ({bimap: f => g => v => $Product2(dictBifunctor.bimap(f)(g)(v._1), dictBifunctor1.bimap(f)(g)(v._2))}); +const biapplyProduct2 = dictBiapply => { + const bifunctorProduct21 = bifunctorProduct2(dictBiapply.Bifunctor0()); + return dictBiapply1 => { + const bifunctorProduct22 = bifunctorProduct21(dictBiapply1.Bifunctor0()); + return {biapply: v => v1 => $Product2(dictBiapply.biapply(v._1)(v1._1), dictBiapply1.biapply(v._2)(v1._2)), Bifunctor0: () => bifunctorProduct22}; + }; +}; +const biapplicativeProduct2 = dictBiapplicative => { + const biapplyProduct21 = biapplyProduct2(dictBiapplicative.Biapply0()); + return dictBiapplicative1 => { + const biapplyProduct22 = biapplyProduct21(dictBiapplicative1.Biapply0()); + return {bipure: a => b => $Product2(dictBiapplicative.bipure(a)(b), dictBiapplicative1.bipure(a)(b)), Biapply0: () => biapplyProduct22}; + }; +}; +export {$Product2, Product2, biapplicativeProduct2, biapplyProduct2, bifunctorProduct2, eqProduct2, functorProduct2, ordProduct2, profunctorProduct2, showProduct2}; diff --git a/.storybook/purescript-indexer/output-es/Data.Functor.Variant/index.js b/.storybook/purescript-indexer/output-es/Data.Functor.Variant/index.js new file mode 100644 index 0000000..94666e1 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Functor.Variant/index.js @@ -0,0 +1,218 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dShow from "../Data.Show/index.js"; +import * as Data$dTraversable from "../Data.Traversable/index.js"; +import * as Data$dVariant$dInternal from "../Data.Variant.Internal/index.js"; +import * as Partial from "../Partial/index.js"; +import * as Record$dUnsafe from "../Record.Unsafe/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +import * as Unsafe$dCoerce from "../Unsafe.Coerce/index.js"; +const UnvariantF = x => x; +const variantFShows = dict => dict.variantFShows; +const variantFMaps = dict => dict.variantFMaps; +const unvariantF = v => f => f({reflectSymbol: v$1 => v.type})()({map: v.map})(Type$dProxy.Proxy)(v.value); +const traverseVFRL = dict => dict.traverseVFRL; +const traverseSome = () => () => () => dictVariantTags => dictVariantFMaps => () => () => dictFunctor => r => k => v => { + if (Record$dUnsafe.unsafeHas(v.type)(r)) { + const map1 = Data$dVariant$dInternal.lookup("map")(v.type)(dictVariantTags.variantTags(Type$dProxy.Proxy))(dictVariantFMaps.variantFMaps(Type$dProxy.Proxy)); + return dictFunctor.map(value => ({type: v.type, map: map1, value: value}))(Record$dUnsafe.unsafeGet(v.type)(r)(v.value)); + } + return k(v); +}; +const traverse = () => () => () => dictVariantTags => dictVariantFMaps => () => () => dictApplicative => { + const Functor0 = dictApplicative.Apply0().Functor0(); + return dictTraversable => { + const traverse1 = dictTraversable.traverse(dictApplicative); + return r => f => traverseSome()()()(dictVariantTags)(dictVariantFMaps)()()(Functor0)(r)((() => { + const $13 = traverse1(f); + const $14 = Functor0.map(Unsafe$dCoerce.unsafeCoerce); + return x => $14($13(x)); + })()); + }; +}; +const showVariantFNil = {variantFShows: v => v1 => Data$dList$dTypes.Nil}; +const showVariantFCons = dictVariantFShows => dictShow => dictShow1 => ( + {variantFShows: v => p => Data$dList$dTypes.$List("Cons", dictShow.show, dictVariantFShows.variantFShows(Type$dProxy.Proxy)(p))} +); +const showVariantF = () => dictVariantTags => dictVariantFShows => dictShow => ( + { + show: v1 => "(inj @" + ( + Data$dShow.showStringImpl(v1.type) + ( + " " + ( + Data$dVariant$dInternal.lookup("show")(v1.type)(dictVariantTags.variantTags(Type$dProxy.Proxy))(dictVariantFShows.variantFShows(Type$dProxy.Proxy)(Type$dProxy.Proxy))(v1.value) + ")" + ) + ) + ) + } +); +const overSome = () => () => () => dictVariantTags => dictVariantFMaps => () => () => r => k => v => { + if (Record$dUnsafe.unsafeHas(v.type)(r)) { + return { + type: v.type, + map: Data$dVariant$dInternal.lookup("map")(v.type)(dictVariantTags.variantTags(Type$dProxy.Proxy))(dictVariantFMaps.variantFMaps(Type$dProxy.Proxy)), + value: Record$dUnsafe.unsafeGet(v.type)(r)(v.value) + }; + } + return k(v); +}; +const onMatch = () => () => () => r => k => v => { + if (Record$dUnsafe.unsafeHas(v.type)(r)) { return Record$dUnsafe.unsafeGet(v.type)(r)(v.value); } + return k(v); +}; +const on = () => dictIsSymbol => p => f => g => r => { + if (r.type === dictIsSymbol.reflectSymbol(p)) { return f(r.value); } + return g(r); +}; +const prj = () => dictAlternative => { + const pure = dictAlternative.Applicative0().pure; + const empty = dictAlternative.Plus1().empty; + return dictIsSymbol => p => r => { + if (r.type === dictIsSymbol.reflectSymbol(p)) { return pure(r.value); } + return empty; + }; +}; +const mapVariantFNil = {variantFMaps: v => Data$dList$dTypes.Nil}; +const mapVariantFCons = dictVariantFMaps => dictFunctor => ({variantFMaps: v => Data$dList$dTypes.$List("Cons", dictFunctor.map, dictVariantFMaps.variantFMaps(Type$dProxy.Proxy))}); +const inj = () => dictIsSymbol => dictFunctor => p => value => ({type: dictIsSymbol.reflectSymbol(p), value: value, map: dictFunctor.map}); +const overOne = () => () => dictIsSymbol => dictFunctor => p => f => g => r => { + if (r.type === dictIsSymbol.reflectSymbol(p)) { return {type: dictIsSymbol.reflectSymbol(p), value: f(r.value), map: dictFunctor.map}; } + return g(r); +}; +const revariantF = v => v(dictIsSymbol => () => dictFunctor => p => value => ({type: dictIsSymbol.reflectSymbol(p), value: value, map: dictFunctor.map})); +const traverseOne = () => () => dictIsSymbol => dictFunctor => dictFunctor1 => p => f => { + const $7 = dictFunctor1.map(value => ({type: dictIsSymbol.reflectSymbol(p), value: value, map: dictFunctor.map})); + return g => r => { + if (r.type === dictIsSymbol.reflectSymbol(p)) { return $7(f(r.value)); } + return g(r); + }; +}; +const functorVariantF = {map: f => a => ({type: a.type, value: a.map(f)(a.value), map: a.map})}; +const over = () => () => () => dictVariantTags => dictVariantFMaps => () => () => r => f => overSome()()()(dictVariantTags)(dictVariantFMaps)()()(r)(x => ( + {type: x.type, value: x.map(f)(x.value), map: x.map} +)); +const foldrVFRL = dict => dict.foldrVFRL; +const foldlVFRL = dict => dict.foldlVFRL; +const foldMapVFRL = dict => dict.foldMapVFRL; +const foldableCons = dictIsSymbol => dictFoldable => dictFoldableVFRL => () => ( + { + foldrVFRL: v => f => b => { + const $7 = dictFoldable.foldr(f)(b); + const $8 = dictFoldableVFRL.foldrVFRL(Type$dProxy.Proxy)(f)(b); + return r => { + if (r.type === dictIsSymbol.reflectSymbol(Type$dProxy.Proxy)) { return $7(r.value); } + return $8(r); + }; + }, + foldlVFRL: v => f => b => { + const $7 = dictFoldable.foldl(f)(b); + const $8 = dictFoldableVFRL.foldlVFRL(Type$dProxy.Proxy)(f)(b); + return r => { + if (r.type === dictIsSymbol.reflectSymbol(Type$dProxy.Proxy)) { return $7(r.value); } + return $8(r); + }; + }, + foldMapVFRL: dictMonoid => { + const foldMap1 = dictFoldable.foldMap(dictMonoid); + const foldMapVFRL2 = dictFoldableVFRL.foldMapVFRL(dictMonoid); + return v => f => { + const $9 = foldMap1(f); + const $10 = foldMapVFRL2(Type$dProxy.Proxy)(f); + return r => { + if (r.type === dictIsSymbol.reflectSymbol(Type$dProxy.Proxy)) { return $9(r.value); } + return $10(r); + }; + }; + } + } +); +const foldableVariantF = () => dictFoldableVFRL => ( + { + foldr: dictFoldableVFRL.foldrVFRL(Type$dProxy.Proxy), + foldl: dictFoldableVFRL.foldlVFRL(Type$dProxy.Proxy), + foldMap: dictMonoid => dictFoldableVFRL.foldMapVFRL(dictMonoid)(Type$dProxy.Proxy) + } +); +const traversableVariantF = () => dictTraversableVFRL => { + const foldableVariantF2 = foldableVariantF()(dictTraversableVFRL.FoldableVFRL0()); + return { + traverse: dictApplicative => dictTraversableVFRL.traverseVFRL(dictApplicative)(Type$dProxy.Proxy), + sequence: dictApplicative => traversableVariantF()(dictTraversableVFRL).traverse(dictApplicative)(Data$dTraversable.identity), + Functor0: () => functorVariantF, + Foldable1: () => foldableVariantF2 + }; +}; +const expand = () => Unsafe$dCoerce.unsafeCoerce; +const traversableCons = dictIsSymbol => dictTraversable => { + const $2 = dictTraversable.Functor0(); + const foldableCons2 = foldableCons(dictIsSymbol)(dictTraversable.Foldable1()); + return dictTraversableVFRL => { + const foldableCons3 = foldableCons2(dictTraversableVFRL.FoldableVFRL0())(); + return () => () => ( + { + traverseVFRL: dictApplicative => { + const traverse2 = dictTraversable.traverse(dictApplicative); + const map1 = dictApplicative.Apply0().Functor0().map; + const traverseVFRL2 = dictTraversableVFRL.traverseVFRL(dictApplicative); + return v => f => { + const $14 = traverse2(f); + const $15 = map1(value => ({type: dictIsSymbol.reflectSymbol(Type$dProxy.Proxy), value: value, map: $2.map})); + const $16 = traverseVFRL2(Type$dProxy.Proxy)(f); + const $17 = map1(Unsafe$dCoerce.unsafeCoerce); + return r => { + if (r.type === dictIsSymbol.reflectSymbol(Type$dProxy.Proxy)) { return $15($14(r.value)); } + return $17($16(r)); + }; + }; + }, + FoldableVFRL0: () => foldableCons3 + } + ); + }; +}; +const $$default = a => v => a; +const contract = dictAlternative => dictContractable => { + const contractWith = dictContractable.contractWith(dictAlternative); + return v => contractWith(Type$dProxy.Proxy)(Type$dProxy.Proxy)(v.type)(v); +}; +const case_ = r => Partial._crashWith("Data.Functor.Variant: pattern match failure [" + (r.type + "]")); +const foldableNil = {foldrVFRL: v => v1 => v2 => case_, foldlVFRL: v => v1 => v2 => case_, foldMapVFRL: dictMonoid => v => v1 => case_}; +const match = () => () => () => r => onMatch()()()(r)(case_); +const traversableNil = {traverseVFRL: dictApplicative => v => v1 => case_, FoldableVFRL0: () => foldableNil}; +export { + UnvariantF, + case_, + contract, + $$default as default, + expand, + foldMapVFRL, + foldableCons, + foldableNil, + foldableVariantF, + foldlVFRL, + foldrVFRL, + functorVariantF, + inj, + mapVariantFCons, + mapVariantFNil, + match, + on, + onMatch, + over, + overOne, + overSome, + prj, + revariantF, + showVariantF, + showVariantFCons, + showVariantFNil, + traversableCons, + traversableNil, + traversableVariantF, + traverse, + traverseOne, + traverseSome, + traverseVFRL, + unvariantF, + variantFMaps, + variantFShows +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Functor/foreign.js b/.storybook/purescript-indexer/output-es/Data.Functor/foreign.js new file mode 100644 index 0000000..095e533 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Functor/foreign.js @@ -0,0 +1,10 @@ +export const arrayMap = function (f) { + return function (arr) { + var l = arr.length; + var result = new Array(l); + for (var i = 0; i < l; i++) { + result[i] = f(arr[i]); + } + return result; + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Functor/index.js b/.storybook/purescript-indexer/output-es/Data.Functor/index.js new file mode 100644 index 0000000..313e7fd --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Functor/index.js @@ -0,0 +1,16 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dSemigroupoid from "../Control.Semigroupoid/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +import {arrayMap} from "./foreign.js"; +const map = dict => dict.map; +const mapFlipped = dictFunctor => fa => f => dictFunctor.map(f)(fa); +const $$void = dictFunctor => dictFunctor.map(v => Data$dUnit.unit); +const voidLeft = dictFunctor => f => x => dictFunctor.map(v => x)(f); +const voidRight = dictFunctor => x => dictFunctor.map(v => x); +const functorProxy = {map: v => v1 => Type$dProxy.Proxy}; +const functorFn = /* #__PURE__ */ (() => ({map: Control$dSemigroupoid.semigroupoidFn.compose}))(); +const functorArray = {map: arrayMap}; +const flap = dictFunctor => ff => x => dictFunctor.map(f => f(x))(ff); +export {flap, functorArray, functorFn, functorProxy, map, mapFlipped, $$void as void, voidLeft, voidRight}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.FunctorWithIndex/foreign.js b/.storybook/purescript-indexer/output-es/Data.FunctorWithIndex/foreign.js new file mode 100644 index 0000000..884e842 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.FunctorWithIndex/foreign.js @@ -0,0 +1,10 @@ +export const mapWithIndexArray = function (f) { + return function (xs) { + var l = xs.length; + var result = Array(l); + for (var i = 0; i < l; i++) { + result[i] = f(i)(xs[i]); + } + return result; + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Data.FunctorWithIndex/index.js b/.storybook/purescript-indexer/output-es/Data.FunctorWithIndex/index.js new file mode 100644 index 0000000..e4f5d43 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.FunctorWithIndex/index.js @@ -0,0 +1,92 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dBifunctor from "../Data.Bifunctor/index.js"; +import * as Data$dConst from "../Data.Const/index.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dFunctor from "../Data.Functor/index.js"; +import * as Data$dFunctor$dCoproduct from "../Data.Functor.Coproduct/index.js"; +import * as Data$dFunctor$dProduct from "../Data.Functor.Product/index.js"; +import * as Data$dIdentity from "../Data.Identity/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dMonoid$dAdditive from "../Data.Monoid.Additive/index.js"; +import * as Data$dMonoid$dConj from "../Data.Monoid.Conj/index.js"; +import * as Data$dMonoid$dDisj from "../Data.Monoid.Disj/index.js"; +import * as Data$dMonoid$dDual from "../Data.Monoid.Dual/index.js"; +import * as Data$dMonoid$dMultiplicative from "../Data.Monoid.Multiplicative/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import {mapWithIndexArray} from "./foreign.js"; +const mapWithIndex = dict => dict.mapWithIndex; +const mapDefault = dictFunctorWithIndex => f => dictFunctorWithIndex.mapWithIndex(v => f); +const functorWithIndexTuple = {mapWithIndex: f => Data$dTuple.functorTuple.map(f(Data$dUnit.unit)), Functor0: () => Data$dTuple.functorTuple}; +const functorWithIndexProduct = dictFunctorWithIndex => { + const functorProduct = Data$dFunctor$dProduct.functorProduct(dictFunctorWithIndex.Functor0()); + return dictFunctorWithIndex1 => { + const functorProduct1 = functorProduct(dictFunctorWithIndex1.Functor0()); + return { + mapWithIndex: f => v => Data$dTuple.$Tuple( + dictFunctorWithIndex.mapWithIndex(x => f(Data$dEither.$Either("Left", x)))(v._1), + dictFunctorWithIndex1.mapWithIndex(x => f(Data$dEither.$Either("Right", x)))(v._2) + ), + Functor0: () => functorProduct1 + }; + }; +}; +const functorWithIndexMultiplicative = {mapWithIndex: f => f(Data$dUnit.unit), Functor0: () => Data$dMonoid$dMultiplicative.functorMultiplicative}; +const functorWithIndexMaybe = {mapWithIndex: f => Data$dMaybe.functorMaybe.map(f(Data$dUnit.unit)), Functor0: () => Data$dMaybe.functorMaybe}; +const functorWithIndexLast = {mapWithIndex: f => Data$dMaybe.functorMaybe.map(f(Data$dUnit.unit)), Functor0: () => Data$dMaybe.functorMaybe}; +const functorWithIndexIdentity = {mapWithIndex: f => v => f(Data$dUnit.unit)(v), Functor0: () => Data$dIdentity.functorIdentity}; +const functorWithIndexFirst = {mapWithIndex: f => Data$dMaybe.functorMaybe.map(f(Data$dUnit.unit)), Functor0: () => Data$dMaybe.functorMaybe}; +const functorWithIndexEither = {mapWithIndex: f => Data$dEither.functorEither.map(f(Data$dUnit.unit)), Functor0: () => Data$dEither.functorEither}; +const functorWithIndexDual = {mapWithIndex: f => f(Data$dUnit.unit), Functor0: () => Data$dMonoid$dDual.functorDual}; +const functorWithIndexDisj = {mapWithIndex: f => f(Data$dUnit.unit), Functor0: () => Data$dMonoid$dDisj.functorDisj}; +const functorWithIndexCoproduct = dictFunctorWithIndex => { + const functorCoproduct = Data$dFunctor$dCoproduct.functorCoproduct(dictFunctorWithIndex.Functor0()); + return dictFunctorWithIndex1 => { + const functorCoproduct1 = functorCoproduct(dictFunctorWithIndex1.Functor0()); + return { + mapWithIndex: f => v => Data$dBifunctor.bifunctorEither.bimap(dictFunctorWithIndex.mapWithIndex(x => f(Data$dEither.$Either("Left", x))))(dictFunctorWithIndex1.mapWithIndex(x => f(Data$dEither.$Either( + "Right", + x + ))))(v), + Functor0: () => functorCoproduct1 + }; + }; +}; +const functorWithIndexConst = {mapWithIndex: v => v1 => v1, Functor0: () => Data$dConst.functorConst}; +const functorWithIndexConj = {mapWithIndex: f => f(Data$dUnit.unit), Functor0: () => Data$dMonoid$dConj.functorConj}; +const functorWithIndexCompose = dictFunctorWithIndex => { + const $1 = dictFunctorWithIndex.Functor0(); + return dictFunctorWithIndex1 => { + const $3 = dictFunctorWithIndex1.Functor0(); + const functorCompose1 = {map: f => v => $1.map($3.map(f))(v)}; + return {mapWithIndex: f => v => dictFunctorWithIndex.mapWithIndex(x => dictFunctorWithIndex1.mapWithIndex(Data$dTuple.curry(f)(x)))(v), Functor0: () => functorCompose1}; + }; +}; +const functorWithIndexArray = {mapWithIndex: mapWithIndexArray, Functor0: () => Data$dFunctor.functorArray}; +const functorWithIndexApp = dictFunctorWithIndex => { + const functorApp = dictFunctorWithIndex.Functor0(); + return {mapWithIndex: f => v => dictFunctorWithIndex.mapWithIndex(f)(v), Functor0: () => functorApp}; +}; +const functorWithIndexAdditive = {mapWithIndex: f => f(Data$dUnit.unit), Functor0: () => Data$dMonoid$dAdditive.functorAdditive}; +export { + functorWithIndexAdditive, + functorWithIndexApp, + functorWithIndexArray, + functorWithIndexCompose, + functorWithIndexConj, + functorWithIndexConst, + functorWithIndexCoproduct, + functorWithIndexDisj, + functorWithIndexDual, + functorWithIndexEither, + functorWithIndexFirst, + functorWithIndexIdentity, + functorWithIndexLast, + functorWithIndexMaybe, + functorWithIndexMultiplicative, + functorWithIndexProduct, + functorWithIndexTuple, + mapDefault, + mapWithIndex +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.Generic.Rep/index.js b/.storybook/purescript-indexer/output-es/Data.Generic.Rep/index.js new file mode 100644 index 0000000..64af52f --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Generic.Rep/index.js @@ -0,0 +1,31 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dShow from "../Data.Show/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +const $NoArguments = () => ({tag: "NoArguments"}); +const $Product = (_1, _2) => ({tag: "Product", _1, _2}); +const $Sum = (tag, _1) => ({tag, _1}); +const Inl = value0 => $Sum("Inl", value0); +const Inr = value0 => $Sum("Inr", value0); +const Product = value0 => value1 => $Product(value0, value1); +const NoArguments = /* #__PURE__ */ $NoArguments(); +const Constructor = x => x; +const Argument = x => x; +const to = dict => dict.to; +const showSum = dictShow => dictShow1 => ( + { + show: v => { + if (v.tag === "Inl") { return "(Inl " + (dictShow.show(v._1) + ")"); } + if (v.tag === "Inr") { return "(Inr " + (dictShow1.show(v._1) + ")"); } + $runtime.fail(); + } + } +); +const showProduct = dictShow => dictShow1 => ({show: v => "(Product " + (dictShow.show(v._1) + (" " + (dictShow1.show(v._2) + ")")))}); +const showNoArguments = {show: v => "NoArguments"}; +const showConstructor = dictIsSymbol => dictShow => ( + {show: v => "(Constructor @" + (Data$dShow.showStringImpl(dictIsSymbol.reflectSymbol(Type$dProxy.Proxy)) + (" " + (dictShow.show(v) + ")")))} +); +const showArgument = dictShow => ({show: v => "(Argument " + (dictShow.show(v) + ")")}); +const repOf = dictGeneric => v => Type$dProxy.Proxy; +const from = dict => dict.from; +export {$NoArguments, $Product, $Sum, Argument, Constructor, Inl, Inr, NoArguments, Product, from, repOf, showArgument, showConstructor, showNoArguments, showProduct, showSum, to}; diff --git a/.storybook/purescript-indexer/output-es/Data.HeytingAlgebra.Generic/index.js b/.storybook/purescript-indexer/output-es/Data.HeytingAlgebra.Generic/index.js new file mode 100644 index 0000000..cbe02a5 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.HeytingAlgebra.Generic/index.js @@ -0,0 +1,70 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dGeneric$dRep from "../Data.Generic.Rep/index.js"; +const genericTT$p = dict => dict["genericTT'"]; +const genericTT = dictGeneric => dictGenericHeytingAlgebra => dictGeneric.to(dictGenericHeytingAlgebra["genericTT'"]); +const genericNot$p = dict => dict["genericNot'"]; +const genericNot = dictGeneric => dictGenericHeytingAlgebra => x => dictGeneric.to(dictGenericHeytingAlgebra["genericNot'"](dictGeneric.from(x))); +const genericImplies$p = dict => dict["genericImplies'"]; +const genericImplies = dictGeneric => dictGenericHeytingAlgebra => x => y => dictGeneric.to(dictGenericHeytingAlgebra["genericImplies'"](dictGeneric.from(x))(dictGeneric.from(y))); +const genericHeytingAlgebraNoArguments = { + "genericFF'": Data$dGeneric$dRep.NoArguments, + "genericTT'": Data$dGeneric$dRep.NoArguments, + "genericImplies'": v => v1 => Data$dGeneric$dRep.NoArguments, + "genericConj'": v => v1 => Data$dGeneric$dRep.NoArguments, + "genericDisj'": v => v1 => Data$dGeneric$dRep.NoArguments, + "genericNot'": v => Data$dGeneric$dRep.NoArguments +}; +const genericHeytingAlgebraArgument = dictHeytingAlgebra => ( + { + "genericFF'": dictHeytingAlgebra.ff, + "genericTT'": dictHeytingAlgebra.tt, + "genericImplies'": v => v1 => dictHeytingAlgebra.implies(v)(v1), + "genericConj'": v => v1 => dictHeytingAlgebra.conj(v)(v1), + "genericDisj'": v => v1 => dictHeytingAlgebra.disj(v)(v1), + "genericNot'": v => dictHeytingAlgebra.not(v) + } +); +const genericFF$p = dict => dict["genericFF'"]; +const genericFF = dictGeneric => dictGenericHeytingAlgebra => dictGeneric.to(dictGenericHeytingAlgebra["genericFF'"]); +const genericDisj$p = dict => dict["genericDisj'"]; +const genericDisj = dictGeneric => dictGenericHeytingAlgebra => x => y => dictGeneric.to(dictGenericHeytingAlgebra["genericDisj'"](dictGeneric.from(x))(dictGeneric.from(y))); +const genericConj$p = dict => dict["genericConj'"]; +const genericHeytingAlgebraConstructor = dictGenericHeytingAlgebra => ( + { + "genericFF'": dictGenericHeytingAlgebra["genericFF'"], + "genericTT'": dictGenericHeytingAlgebra["genericTT'"], + "genericImplies'": v => v1 => dictGenericHeytingAlgebra["genericImplies'"](v)(v1), + "genericConj'": v => v1 => dictGenericHeytingAlgebra["genericConj'"](v)(v1), + "genericDisj'": v => v1 => dictGenericHeytingAlgebra["genericDisj'"](v)(v1), + "genericNot'": v => dictGenericHeytingAlgebra["genericNot'"](v) + } +); +const genericHeytingAlgebraProduct = dictGenericHeytingAlgebra => dictGenericHeytingAlgebra1 => ( + { + "genericFF'": Data$dGeneric$dRep.$Product(dictGenericHeytingAlgebra["genericFF'"], dictGenericHeytingAlgebra1["genericFF'"]), + "genericTT'": Data$dGeneric$dRep.$Product(dictGenericHeytingAlgebra["genericTT'"], dictGenericHeytingAlgebra1["genericTT'"]), + "genericImplies'": v => v1 => Data$dGeneric$dRep.$Product(dictGenericHeytingAlgebra["genericImplies'"](v._1)(v1._1), dictGenericHeytingAlgebra1["genericImplies'"](v._2)(v1._2)), + "genericConj'": v => v1 => Data$dGeneric$dRep.$Product(dictGenericHeytingAlgebra["genericConj'"](v._1)(v1._1), dictGenericHeytingAlgebra1["genericConj'"](v._2)(v1._2)), + "genericDisj'": v => v1 => Data$dGeneric$dRep.$Product(dictGenericHeytingAlgebra["genericDisj'"](v._1)(v1._1), dictGenericHeytingAlgebra1["genericDisj'"](v._2)(v1._2)), + "genericNot'": v => Data$dGeneric$dRep.$Product(dictGenericHeytingAlgebra["genericNot'"](v._1), dictGenericHeytingAlgebra1["genericNot'"](v._2)) + } +); +const genericConj = dictGeneric => dictGenericHeytingAlgebra => x => y => dictGeneric.to(dictGenericHeytingAlgebra["genericConj'"](dictGeneric.from(x))(dictGeneric.from(y))); +export { + genericConj, + genericConj$p, + genericDisj, + genericDisj$p, + genericFF, + genericFF$p, + genericHeytingAlgebraArgument, + genericHeytingAlgebraConstructor, + genericHeytingAlgebraNoArguments, + genericHeytingAlgebraProduct, + genericImplies, + genericImplies$p, + genericNot, + genericNot$p, + genericTT, + genericTT$p +}; diff --git a/.storybook/purescript-indexer/output-es/Data.HeytingAlgebra/foreign.js b/.storybook/purescript-indexer/output-es/Data.HeytingAlgebra/foreign.js new file mode 100644 index 0000000..80990b4 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.HeytingAlgebra/foreign.js @@ -0,0 +1,15 @@ +export const boolConj = function (b1) { + return function (b2) { + return b1 && b2; + }; +}; + +export const boolDisj = function (b1) { + return function (b2) { + return b1 || b2; + }; +}; + +export const boolNot = function (b) { + return !b; +}; diff --git a/.storybook/purescript-indexer/output-es/Data.HeytingAlgebra/index.js b/.storybook/purescript-indexer/output-es/Data.HeytingAlgebra/index.js new file mode 100644 index 0000000..94f8bd9 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.HeytingAlgebra/index.js @@ -0,0 +1,109 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import * as Record$dUnsafe from "../Record.Unsafe/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +import {boolConj, boolDisj, boolNot} from "./foreign.js"; +const ttRecord = dict => dict.ttRecord; +const tt = dict => dict.tt; +const notRecord = dict => dict.notRecord; +const not = dict => dict.not; +const impliesRecord = dict => dict.impliesRecord; +const implies = dict => dict.implies; +const heytingAlgebraUnit = { + ff: Data$dUnit.unit, + tt: Data$dUnit.unit, + implies: v => v1 => Data$dUnit.unit, + conj: v => v1 => Data$dUnit.unit, + disj: v => v1 => Data$dUnit.unit, + not: v => Data$dUnit.unit +}; +const heytingAlgebraRecordNil = { + conjRecord: v => v1 => v2 => ({}), + disjRecord: v => v1 => v2 => ({}), + ffRecord: v => v1 => ({}), + impliesRecord: v => v1 => v2 => ({}), + notRecord: v => v1 => ({}), + ttRecord: v => v1 => ({}) +}; +const heytingAlgebraProxy = { + conj: v => v1 => Type$dProxy.Proxy, + disj: v => v1 => Type$dProxy.Proxy, + implies: v => v1 => Type$dProxy.Proxy, + ff: Type$dProxy.Proxy, + not: v => Type$dProxy.Proxy, + tt: Type$dProxy.Proxy +}; +const ffRecord = dict => dict.ffRecord; +const ff = dict => dict.ff; +const disjRecord = dict => dict.disjRecord; +const disj = dict => dict.disj; +const heytingAlgebraBoolean = {ff: false, tt: true, implies: a => b => heytingAlgebraBoolean.disj(heytingAlgebraBoolean.not(a))(b), conj: boolConj, disj: boolDisj, not: boolNot}; +const conjRecord = dict => dict.conjRecord; +const heytingAlgebraRecord = () => dictHeytingAlgebraRecord => ( + { + ff: dictHeytingAlgebraRecord.ffRecord(Type$dProxy.Proxy)(Type$dProxy.Proxy), + tt: dictHeytingAlgebraRecord.ttRecord(Type$dProxy.Proxy)(Type$dProxy.Proxy), + conj: dictHeytingAlgebraRecord.conjRecord(Type$dProxy.Proxy), + disj: dictHeytingAlgebraRecord.disjRecord(Type$dProxy.Proxy), + implies: dictHeytingAlgebraRecord.impliesRecord(Type$dProxy.Proxy), + not: dictHeytingAlgebraRecord.notRecord(Type$dProxy.Proxy) + } +); +const conj = dict => dict.conj; +const heytingAlgebraFunction = dictHeytingAlgebra => ( + { + ff: v => dictHeytingAlgebra.ff, + tt: v => dictHeytingAlgebra.tt, + implies: f => g => a => dictHeytingAlgebra.implies(f(a))(g(a)), + conj: f => g => a => dictHeytingAlgebra.conj(f(a))(g(a)), + disj: f => g => a => dictHeytingAlgebra.disj(f(a))(g(a)), + not: f => a => dictHeytingAlgebra.not(f(a)) + } +); +const heytingAlgebraRecordCons = dictIsSymbol => () => dictHeytingAlgebraRecord => dictHeytingAlgebra => ( + { + conjRecord: v => ra => rb => { + const key = dictIsSymbol.reflectSymbol(Type$dProxy.Proxy); + const $$get = Record$dUnsafe.unsafeGet(key); + return Record$dUnsafe.unsafeSet(key)(dictHeytingAlgebra.conj($$get(ra))($$get(rb)))(dictHeytingAlgebraRecord.conjRecord(Type$dProxy.Proxy)(ra)(rb)); + }, + disjRecord: v => ra => rb => { + const key = dictIsSymbol.reflectSymbol(Type$dProxy.Proxy); + const $$get = Record$dUnsafe.unsafeGet(key); + return Record$dUnsafe.unsafeSet(key)(dictHeytingAlgebra.disj($$get(ra))($$get(rb)))(dictHeytingAlgebraRecord.disjRecord(Type$dProxy.Proxy)(ra)(rb)); + }, + impliesRecord: v => ra => rb => { + const key = dictIsSymbol.reflectSymbol(Type$dProxy.Proxy); + const $$get = Record$dUnsafe.unsafeGet(key); + return Record$dUnsafe.unsafeSet(key)(dictHeytingAlgebra.implies($$get(ra))($$get(rb)))(dictHeytingAlgebraRecord.impliesRecord(Type$dProxy.Proxy)(ra)(rb)); + }, + ffRecord: v => row => Record$dUnsafe.unsafeSet(dictIsSymbol.reflectSymbol(Type$dProxy.Proxy))(dictHeytingAlgebra.ff)(dictHeytingAlgebraRecord.ffRecord(Type$dProxy.Proxy)(row)), + notRecord: v => row => { + const key = dictIsSymbol.reflectSymbol(Type$dProxy.Proxy); + return Record$dUnsafe.unsafeSet(key)(dictHeytingAlgebra.not(Record$dUnsafe.unsafeGet(key)(row)))(dictHeytingAlgebraRecord.notRecord(Type$dProxy.Proxy)(row)); + }, + ttRecord: v => row => Record$dUnsafe.unsafeSet(dictIsSymbol.reflectSymbol(Type$dProxy.Proxy))(dictHeytingAlgebra.tt)(dictHeytingAlgebraRecord.ttRecord(Type$dProxy.Proxy)(row)) + } +); +export { + conj, + conjRecord, + disj, + disjRecord, + ff, + ffRecord, + heytingAlgebraBoolean, + heytingAlgebraFunction, + heytingAlgebraProxy, + heytingAlgebraRecord, + heytingAlgebraRecordCons, + heytingAlgebraRecordNil, + heytingAlgebraUnit, + implies, + impliesRecord, + not, + notRecord, + tt, + ttRecord +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.Identity/index.js b/.storybook/purescript-indexer/output-es/Data.Identity/index.js new file mode 100644 index 0000000..4a9486c --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Identity/index.js @@ -0,0 +1,55 @@ +import * as $runtime from "../runtime.js"; +const Identity = x => x; +const showIdentity = dictShow => ({show: v => "(Identity " + (dictShow.show(v) + ")")}); +const semiringIdentity = dictSemiring => dictSemiring; +const semigroupIdentity = dictSemigroup => dictSemigroup; +const ringIdentity = dictRing => dictRing; +const ordIdentity = dictOrd => dictOrd; +const newtypeIdentity = {Coercible0: () => undefined}; +const monoidIdentity = dictMonoid => dictMonoid; +const lazyIdentity = dictLazy => dictLazy; +const heytingAlgebraIdentity = dictHeytingAlgebra => dictHeytingAlgebra; +const functorIdentity = {map: f => m => f(m)}; +const invariantIdentity = {imap: f => v => m => f(m)}; +const extendIdentity = {extend: f => m => f(m), Functor0: () => functorIdentity}; +const euclideanRingIdentity = dictEuclideanRing => dictEuclideanRing; +const eqIdentity = dictEq => dictEq; +const eq1Identity = {eq1: dictEq => dictEq.eq}; +const ord1Identity = {compare1: dictOrd => dictOrd.compare, Eq10: () => eq1Identity}; +const comonadIdentity = {extract: v => v, Extend0: () => extendIdentity}; +const commutativeRingIdentity = dictCommutativeRing => dictCommutativeRing; +const boundedIdentity = dictBounded => dictBounded; +const booleanAlgebraIdentity = dictBooleanAlgebra => dictBooleanAlgebra; +const applyIdentity = {apply: v => v1 => v(v1), Functor0: () => functorIdentity}; +const bindIdentity = {bind: v => f => f(v), Apply0: () => applyIdentity}; +const applicativeIdentity = {pure: Identity, Apply0: () => applyIdentity}; +const monadIdentity = {Applicative0: () => applicativeIdentity, Bind1: () => bindIdentity}; +const altIdentity = {alt: x => v => x, Functor0: () => functorIdentity}; +export { + Identity, + altIdentity, + applicativeIdentity, + applyIdentity, + bindIdentity, + booleanAlgebraIdentity, + boundedIdentity, + commutativeRingIdentity, + comonadIdentity, + eq1Identity, + eqIdentity, + euclideanRingIdentity, + extendIdentity, + functorIdentity, + heytingAlgebraIdentity, + invariantIdentity, + lazyIdentity, + monadIdentity, + monoidIdentity, + newtypeIdentity, + ord1Identity, + ordIdentity, + ringIdentity, + semigroupIdentity, + semiringIdentity, + showIdentity +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Int.Bits/foreign.js b/.storybook/purescript-indexer/output-es/Data.Int.Bits/foreign.js new file mode 100644 index 0000000..49bbaff --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Int.Bits/foreign.js @@ -0,0 +1,48 @@ +// module Data.Int.Bits + +export const and = function (n1) { + return function (n2) { + /* jshint bitwise: false */ + return n1 & n2; + }; +}; + +export const or = function (n1) { + return function (n2) { + /* jshint bitwise: false */ + return n1 | n2; + }; +}; + +export const xor = function (n1) { + return function (n2) { + /* jshint bitwise: false */ + return n1 ^ n2; + }; +}; + +export const shl = function (n1) { + return function (n2) { + /* jshint bitwise: false */ + return n1 << n2; + }; +}; + +export const shr = function (n1) { + return function (n2) { + /* jshint bitwise: false */ + return n1 >> n2; + }; +}; + +export const zshr = function (n1) { + return function (n2) { + /* jshint bitwise: false */ + return n1 >>> n2; + }; +}; + +export const complement = function (n) { + /* jshint bitwise: false */ + return ~n; +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Int.Bits/index.js b/.storybook/purescript-indexer/output-es/Data.Int.Bits/index.js new file mode 100644 index 0000000..50e2b4a --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Int.Bits/index.js @@ -0,0 +1,5 @@ +// | This module defines bitwise operations for the `Int` type. +import * as $runtime from "../runtime.js"; +import {and, complement, or, shl, shr, xor, zshr} from "./foreign.js"; +export {}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.Int/foreign.js b/.storybook/purescript-indexer/output-es/Data.Int/foreign.js new file mode 100644 index 0000000..9829cce --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Int/foreign.js @@ -0,0 +1,65 @@ +export const fromNumberImpl = function (just) { + return function (nothing) { + return function (n) { + /* jshint bitwise: false */ + return (n | 0) === n ? just(n) : nothing; + }; + }; +}; + +export const toNumber = function (n) { + return n; +}; + +export const fromStringAsImpl = function (just) { + return function (nothing) { + return function (radix) { + var digits; + if (radix < 11) { + digits = "[0-" + (radix - 1).toString() + "]"; + } else if (radix === 11) { + digits = "[0-9a]"; + } else { + digits = "[0-9a-" + String.fromCharCode(86 + radix) + "]"; + } + var pattern = new RegExp("^[\\+\\-]?" + digits + "+$", "i"); + + return function (s) { + /* jshint bitwise: false */ + if (pattern.test(s)) { + var i = parseInt(s, radix); + return (i | 0) === i ? just(i) : nothing; + } else { + return nothing; + } + }; + }; + }; +}; + +export const toStringAs = function (radix) { + return function (i) { + return i.toString(radix); + }; +}; + + +export const quot = function (x) { + return function (y) { + /* jshint bitwise: false */ + return x / y | 0; + }; +}; + +export const rem = function (x) { + return function (y) { + return x % y; + }; +}; + +export const pow = function (x) { + return function (y) { + /* jshint bitwise: false */ + return Math.pow(x,y) | 0; + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Int/index.js b/.storybook/purescript-indexer/output-es/Data.Int/index.js new file mode 100644 index 0000000..6f85b8e --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Int/index.js @@ -0,0 +1,137 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dNumber from "../Data.Number/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import {fromNumberImpl, fromStringAsImpl, pow, quot, rem, toNumber, toStringAs} from "./foreign.js"; +const $Parity = tag => ({tag}); +const Even = /* #__PURE__ */ $Parity("Even"); +const Odd = /* #__PURE__ */ $Parity("Odd"); +const showParity = { + show: v => { + if (v.tag === "Even") { return "Even"; } + if (v.tag === "Odd") { return "Odd"; } + $runtime.fail(); + } +}; +const radix = n => { + if (n >= 2 && n <= 36) { return Data$dMaybe.$Maybe("Just", n); } + return Data$dMaybe.Nothing; +}; +const odd = x => (x & 1) !== 0; +const octal = 8; +const hexadecimal = 16; +const fromStringAs = /* #__PURE__ */ fromStringAsImpl(Data$dMaybe.Just)(Data$dMaybe.Nothing); +const fromString = /* #__PURE__ */ fromStringAs(10); +const fromNumber = /* #__PURE__ */ fromNumberImpl(Data$dMaybe.Just)(Data$dMaybe.Nothing); +const unsafeClamp = x => { + if (!Data$dNumber.isFinite(x)) { return 0; } + if (x >= toNumber(2147483647)) { return 2147483647; } + if (x <= toNumber(-2147483648)) { return -2147483648; } + const $1 = fromNumber(x); + if ($1.tag === "Nothing") { return 0; } + if ($1.tag === "Just") { return $1._1; } + $runtime.fail(); +}; +const round = x => unsafeClamp(Data$dNumber.round(x)); +const trunc = x => unsafeClamp(Data$dNumber.trunc(x)); +const floor = x => unsafeClamp(Data$dNumber.floor(x)); +const even = x => (x & 1) === 0; +const parity = n => { + if ((n & 1) === 0) { return Even; } + return Odd; +}; +const eqParity = { + eq: x => y => { + if (x.tag === "Even") { return y.tag === "Even"; } + if (x.tag === "Odd") { return y.tag === "Odd"; } + return false; + } +}; +const ordParity = { + compare: x => y => { + if (x.tag === "Even") { + if (y.tag === "Even") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Even") { return Data$dOrdering.GT; } + if (x.tag === "Odd") { + if (y.tag === "Odd") { return Data$dOrdering.EQ; } + $runtime.fail(); + } + $runtime.fail(); + }, + Eq0: () => eqParity +}; +const semiringParity = { + zero: Even, + add: x => y => { + if ( + (() => { + if (x.tag === "Even") { return y.tag === "Even"; } + if (x.tag === "Odd") { return y.tag === "Odd"; } + return false; + })() + ) { + return Even; + } + return Odd; + }, + one: Odd, + mul: v => v1 => { + if (v.tag === "Odd") { + if (v1.tag === "Odd") { return Odd; } + return Even; + } + return Even; + } +}; +const ringParity = /* #__PURE__ */ (() => ({sub: semiringParity.add, Semiring0: () => semiringParity}))(); +const divisionRingParity = {recip: x => x, Ring0: () => ringParity}; +const decimal = 10; +const commutativeRingParity = {Ring0: () => ringParity}; +const euclideanRingParity = { + degree: v => { + if (v.tag === "Even") { return 0; } + if (v.tag === "Odd") { return 1; } + $runtime.fail(); + }, + div: x => v => x, + mod: v => v1 => Even, + CommutativeRing0: () => commutativeRingParity +}; +const ceil = x => unsafeClamp(Data$dNumber.ceil(x)); +const boundedParity = {bottom: Even, top: Odd, Ord0: () => ordParity}; +const binary = 2; +const base36 = 36; +export { + $Parity, + Even, + Odd, + base36, + binary, + boundedParity, + ceil, + commutativeRingParity, + decimal, + divisionRingParity, + eqParity, + euclideanRingParity, + even, + floor, + fromNumber, + fromString, + fromStringAs, + hexadecimal, + octal, + odd, + ordParity, + parity, + radix, + ringParity, + round, + semiringParity, + showParity, + trunc, + unsafeClamp +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.Interval.Duration.Iso/index.js b/.storybook/purescript-indexer/output-es/Data.Interval.Duration.Iso/index.js new file mode 100644 index 0000000..8c352ef --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Interval.Duration.Iso/index.js @@ -0,0 +1,203 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dInterval$dDuration from "../Data.Interval.Duration/index.js"; +import * as Data$dList from "../Data.List/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dMap$dInternal from "../Data.Map.Internal/index.js"; +import * as Data$dNonEmpty from "../Data.NonEmpty/index.js"; +import * as Data$dNumber from "../Data.Number/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +const $Error = (tag, _1) => ({tag, _1}); +const foldMap1 = /* #__PURE__ */ (() => Data$dList$dTypes.foldableList.foldMap(Data$dList$dTypes.monoidList))(); +const foldMap2 = /* #__PURE__ */ (() => Data$dList$dTypes.foldableList.foldMap((() => { + const semigroupAdditive1 = {append: v => v1 => v + v1}; + return {mempty: 0.0, Semigroup0: () => semigroupAdditive1}; +})()))(); +const fold = /* #__PURE__ */ (() => Data$dFoldable.foldableArray.foldMap((() => { + const semigroupFn = {append: f => g => x => Data$dList$dTypes.foldableList.foldr(Data$dList$dTypes.Cons)(g(x))(f(x))}; + return {mempty: v => Data$dList$dTypes.Nil, Semigroup0: () => semigroupFn}; +})())(Data$dFoldable.identity))(); +const IsEmpty = /* #__PURE__ */ $Error("IsEmpty"); +const InvalidWeekComponentUsage = /* #__PURE__ */ $Error("InvalidWeekComponentUsage"); +const ContainsNegativeValue = value0 => $Error("ContainsNegativeValue", value0); +const InvalidFractionalUse = value0 => $Error("InvalidFractionalUse", value0); +const unIsoDuration = v => v; +const showIsoDuration = {show: v => "(IsoDuration (Duration " + Data$dInterval$dDuration.show(v) + "))"}; +const showError = { + show: v => { + if (v.tag === "IsEmpty") { return "(IsEmpty)"; } + if (v.tag === "InvalidWeekComponentUsage") { return "(InvalidWeekComponentUsage)"; } + if (v.tag === "ContainsNegativeValue") { + if (v._1.tag === "Minute") { return "(ContainsNegativeValue Minute)"; } + if (v._1.tag === "Second") { return "(ContainsNegativeValue Second)"; } + if (v._1.tag === "Hour") { return "(ContainsNegativeValue Hour)"; } + if (v._1.tag === "Day") { return "(ContainsNegativeValue Day)"; } + if (v._1.tag === "Week") { return "(ContainsNegativeValue Week)"; } + if (v._1.tag === "Month") { return "(ContainsNegativeValue Month)"; } + if (v._1.tag === "Year") { return "(ContainsNegativeValue Year)"; } + $runtime.fail(); + } + if (v.tag === "InvalidFractionalUse") { + if (v._1.tag === "Minute") { return "(InvalidFractionalUse Minute)"; } + if (v._1.tag === "Second") { return "(InvalidFractionalUse Second)"; } + if (v._1.tag === "Hour") { return "(InvalidFractionalUse Hour)"; } + if (v._1.tag === "Day") { return "(InvalidFractionalUse Day)"; } + if (v._1.tag === "Week") { return "(InvalidFractionalUse Week)"; } + if (v._1.tag === "Month") { return "(InvalidFractionalUse Month)"; } + if (v._1.tag === "Year") { return "(InvalidFractionalUse Year)"; } + $runtime.fail(); + } + $runtime.fail(); + } +}; +const prettyError = v => { + if (v.tag === "IsEmpty") { return "Duration is empty (has no components)"; } + if (v.tag === "InvalidWeekComponentUsage") { return "Week component of Duration is used with other components"; } + if (v.tag === "ContainsNegativeValue") { + if (v._1.tag === "Minute") { return "Component `Minute` contains negative value"; } + if (v._1.tag === "Second") { return "Component `Second` contains negative value"; } + if (v._1.tag === "Hour") { return "Component `Hour` contains negative value"; } + if (v._1.tag === "Day") { return "Component `Day` contains negative value"; } + if (v._1.tag === "Week") { return "Component `Week` contains negative value"; } + if (v._1.tag === "Month") { return "Component `Month` contains negative value"; } + if (v._1.tag === "Year") { return "Component `Year` contains negative value"; } + $runtime.fail(); + } + if (v.tag === "InvalidFractionalUse") { + if (v._1.tag === "Minute") { return "Invalid usage of Fractional value at component `Minute`"; } + if (v._1.tag === "Second") { return "Invalid usage of Fractional value at component `Second`"; } + if (v._1.tag === "Hour") { return "Invalid usage of Fractional value at component `Hour`"; } + if (v._1.tag === "Day") { return "Invalid usage of Fractional value at component `Day`"; } + if (v._1.tag === "Week") { return "Invalid usage of Fractional value at component `Week`"; } + if (v._1.tag === "Month") { return "Invalid usage of Fractional value at component `Month`"; } + if (v._1.tag === "Year") { return "Invalid usage of Fractional value at component `Year`"; } + $runtime.fail(); + } + $runtime.fail(); +}; +const eqIsoDuration = {eq: x => y => Data$dInterval$dDuration.eq(x)(y)}; +const ordIsoDuration = {compare: x => y => Data$dInterval$dDuration.compare(x)(y), Eq0: () => eqIsoDuration}; +const eqError = { + eq: x => y => { + if (x.tag === "IsEmpty") { return y.tag === "IsEmpty"; } + if (x.tag === "InvalidWeekComponentUsage") { return y.tag === "InvalidWeekComponentUsage"; } + if (x.tag === "ContainsNegativeValue") { + if (y.tag === "ContainsNegativeValue") { + if (x._1.tag === "Second") { return y._1.tag === "Second"; } + if (x._1.tag === "Minute") { return y._1.tag === "Minute"; } + if (x._1.tag === "Hour") { return y._1.tag === "Hour"; } + if (x._1.tag === "Day") { return y._1.tag === "Day"; } + if (x._1.tag === "Week") { return y._1.tag === "Week"; } + if (x._1.tag === "Month") { return y._1.tag === "Month"; } + if (x._1.tag === "Year") { return y._1.tag === "Year"; } + return false; + } + return false; + } + if (x.tag === "InvalidFractionalUse") { + if (y.tag === "InvalidFractionalUse") { + if (x._1.tag === "Second") { return y._1.tag === "Second"; } + if (x._1.tag === "Minute") { return y._1.tag === "Minute"; } + if (x._1.tag === "Hour") { return y._1.tag === "Hour"; } + if (x._1.tag === "Day") { return y._1.tag === "Day"; } + if (x._1.tag === "Week") { return y._1.tag === "Week"; } + if (x._1.tag === "Month") { return y._1.tag === "Month"; } + if (x._1.tag === "Year") { return y._1.tag === "Year"; } + return false; + } + return false; + } + return false; + } +}; +const ordError = { + compare: x => y => { + if (x.tag === "IsEmpty") { + if (y.tag === "IsEmpty") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "IsEmpty") { return Data$dOrdering.GT; } + if (x.tag === "InvalidWeekComponentUsage") { + if (y.tag === "InvalidWeekComponentUsage") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "InvalidWeekComponentUsage") { return Data$dOrdering.GT; } + if (x.tag === "ContainsNegativeValue") { + if (y.tag === "ContainsNegativeValue") { return Data$dInterval$dDuration.ordDurationComponent.compare(x._1)(y._1); } + return Data$dOrdering.LT; + } + if (y.tag === "ContainsNegativeValue") { return Data$dOrdering.GT; } + if (x.tag === "InvalidFractionalUse") { + if (y.tag === "InvalidFractionalUse") { return Data$dInterval$dDuration.ordDurationComponent.compare(x._1)(y._1); } + $runtime.fail(); + } + $runtime.fail(); + }, + Eq0: () => eqError +}; +const checkWeekUsage = v => { + if ( + (() => { + const $1 = Data$dMap$dInternal.lookup(Data$dInterval$dDuration.ordDurationComponent)(Data$dInterval$dDuration.Week)(v.asMap); + return (() => { + if ($1.tag === "Nothing") { return false; } + if ($1.tag === "Just") { return true; } + $runtime.fail(); + })() && Data$dMap$dInternal.size(v.asMap) > 1; + })() + ) { + return Data$dList$dTypes.$List("Cons", InvalidWeekComponentUsage, Data$dList$dTypes.Nil); + } + return Data$dList$dTypes.Nil; +}; +const checkNegativeValues = v => foldMap1(v1 => { + if (v1._2 >= 0.0) { return Data$dList$dTypes.Nil; } + return Data$dList$dTypes.$List("Cons", $Error("ContainsNegativeValue", v1._1), Data$dList$dTypes.Nil); +})(v.asList); +const checkFractionalUse = v => { + const v1 = Data$dList.span(x => Data$dNumber.floor(x._2) === x._2)(v.asList).rest; + if (v1.tag === "Cons") { + if (foldMap2(x => Data$dNumber.abs(x._2))(v1._2) > 0.0) { return Data$dList$dTypes.$List("Cons", $Error("InvalidFractionalUse", v1._1._1), Data$dList$dTypes.Nil); } + return Data$dList$dTypes.Nil; + } + return Data$dList$dTypes.Nil; +}; +const checkEmptiness = v => { + if (v.asList.tag === "Nil") { return Data$dList$dTypes.$List("Cons", IsEmpty, Data$dList$dTypes.Nil); } + return Data$dList$dTypes.Nil; +}; +const checkValidIsoDuration = v => fold([checkWeekUsage, checkEmptiness, checkFractionalUse, checkNegativeValues])({ + asList: Data$dList.reverse(Data$dMap$dInternal.toUnfoldable(Data$dList$dTypes.unfoldableList)(v)), + asMap: v +}); +const mkIsoDuration = d => { + const $1 = checkValidIsoDuration(d); + if ($1.tag === "Nil") { return Data$dEither.$Either("Right", d); } + if ($1.tag === "Cons") { return Data$dEither.$Either("Left", Data$dNonEmpty.$NonEmpty($1._1, $1._2)); } + $runtime.fail(); +}; +export { + $Error, + ContainsNegativeValue, + InvalidFractionalUse, + InvalidWeekComponentUsage, + IsEmpty, + checkEmptiness, + checkFractionalUse, + checkNegativeValues, + checkValidIsoDuration, + checkWeekUsage, + eqError, + eqIsoDuration, + fold, + foldMap1, + foldMap2, + mkIsoDuration, + ordError, + ordIsoDuration, + prettyError, + showError, + showIsoDuration, + unIsoDuration +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Interval.Duration/index.js b/.storybook/purescript-indexer/output-es/Data.Interval.Duration/index.js new file mode 100644 index 0000000..80b1a4d --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Interval.Duration/index.js @@ -0,0 +1,130 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dEq from "../Data.Eq/index.js"; +import * as Data$dMap$dInternal from "../Data.Map.Internal/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import * as Data$dSemiring from "../Data.Semiring/index.js"; +import * as Data$dShow from "../Data.Show/index.js"; +const $DurationComponent = tag => ({tag}); +const Second = /* #__PURE__ */ $DurationComponent("Second"); +const Minute = /* #__PURE__ */ $DurationComponent("Minute"); +const Hour = /* #__PURE__ */ $DurationComponent("Hour"); +const Day = /* #__PURE__ */ $DurationComponent("Day"); +const Week = /* #__PURE__ */ $DurationComponent("Week"); +const Month = /* #__PURE__ */ $DurationComponent("Month"); +const Year = /* #__PURE__ */ $DurationComponent("Year"); +const Duration = x => x; +const showDurationComponent = { + show: v => { + if (v.tag === "Minute") { return "Minute"; } + if (v.tag === "Second") { return "Second"; } + if (v.tag === "Hour") { return "Hour"; } + if (v.tag === "Day") { return "Day"; } + if (v.tag === "Week") { return "Week"; } + if (v.tag === "Month") { return "Month"; } + if (v.tag === "Year") { return "Year"; } + $runtime.fail(); + } +}; +const show = /* #__PURE__ */ (() => Data$dMap$dInternal.showMap(showDurationComponent)(Data$dShow.showNumber).show)(); +const showDuration = {show: v => "(Duration " + (show(v) + ")")}; +const newtypeDuration = {Coercible0: () => undefined}; +const eqDurationComponent = { + eq: x => y => { + if (x.tag === "Second") { return y.tag === "Second"; } + if (x.tag === "Minute") { return y.tag === "Minute"; } + if (x.tag === "Hour") { return y.tag === "Hour"; } + if (x.tag === "Day") { return y.tag === "Day"; } + if (x.tag === "Week") { return y.tag === "Week"; } + if (x.tag === "Month") { return y.tag === "Month"; } + if (x.tag === "Year") { return y.tag === "Year"; } + return false; + } +}; +const eq = /* #__PURE__ */ (() => Data$dMap$dInternal.eqMap(eqDurationComponent)(Data$dEq.eqNumber).eq)(); +const ordDurationComponent = { + compare: x => y => { + if (x.tag === "Second") { + if (y.tag === "Second") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Second") { return Data$dOrdering.GT; } + if (x.tag === "Minute") { + if (y.tag === "Minute") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Minute") { return Data$dOrdering.GT; } + if (x.tag === "Hour") { + if (y.tag === "Hour") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Hour") { return Data$dOrdering.GT; } + if (x.tag === "Day") { + if (y.tag === "Day") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Day") { return Data$dOrdering.GT; } + if (x.tag === "Week") { + if (y.tag === "Week") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Week") { return Data$dOrdering.GT; } + if (x.tag === "Month") { + if (y.tag === "Month") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Month") { return Data$dOrdering.GT; } + if (x.tag === "Year") { + if (y.tag === "Year") { return Data$dOrdering.EQ; } + $runtime.fail(); + } + $runtime.fail(); + }, + Eq0: () => eqDurationComponent +}; +const compare = /* #__PURE__ */ (() => Data$dMap$dInternal.ordMap(ordDurationComponent)(Data$dOrd.ordNumber).compare)(); +const semigroupDuration = {append: v => v1 => Data$dMap$dInternal.unionWith(ordDurationComponent)(Data$dSemiring.numAdd)(v)(v1)}; +const monoidDuration = {mempty: Data$dMap$dInternal.Leaf, Semigroup0: () => semigroupDuration}; +const eqDuration = {eq: x => y => eq(x)(y)}; +const ordDuration = {compare: x => y => compare(x)(y), Eq0: () => eqDuration}; +const durationFromComponent = k => v => Data$dMap$dInternal.$Map("Two", Data$dMap$dInternal.Leaf, k, v, Data$dMap$dInternal.Leaf); +const hour = /* #__PURE__ */ durationFromComponent(Hour); +const millisecond = x => Data$dMap$dInternal.$Map("Two", Data$dMap$dInternal.Leaf, Second, x / 1000.0, Data$dMap$dInternal.Leaf); +const minute = /* #__PURE__ */ durationFromComponent(Minute); +const month = /* #__PURE__ */ durationFromComponent(Month); +const second = /* #__PURE__ */ durationFromComponent(Second); +const week = /* #__PURE__ */ durationFromComponent(Week); +const year = /* #__PURE__ */ durationFromComponent(Year); +const day = /* #__PURE__ */ durationFromComponent(Day); +export { + $DurationComponent, + Day, + Duration, + Hour, + Minute, + Month, + Second, + Week, + Year, + compare, + day, + durationFromComponent, + eq, + eqDuration, + eqDurationComponent, + hour, + millisecond, + minute, + monoidDuration, + month, + newtypeDuration, + ordDuration, + ordDurationComponent, + second, + semigroupDuration, + show, + showDuration, + showDurationComponent, + week, + year +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Interval/index.js b/.storybook/purescript-indexer/output-es/Data.Interval/index.js new file mode 100644 index 0000000..b8ec141 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Interval/index.js @@ -0,0 +1,313 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dBifoldable from "../Data.Bifoldable/index.js"; +import * as Data$dBitraversable from "../Data.Bitraversable/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import * as Data$dShow from "../Data.Show/index.js"; +import * as Data$dTraversable from "../Data.Traversable/index.js"; +const $Interval = (tag, _1, _2) => ({tag, _1, _2}); +const $RecurringInterval = (_1, _2) => ({tag: "RecurringInterval", _1, _2}); +const show = v => { + if (v.tag === "Just") { return "(Just " + (Data$dShow.showIntImpl(v._1) + ")"); } + if (v.tag === "Nothing") { return "Nothing"; } + $runtime.fail(); +}; +const compare = /* #__PURE__ */ (() => Data$dMaybe.ordMaybe(Data$dOrd.ordInt).compare)(); +const StartEnd = value0 => value1 => $Interval("StartEnd", value0, value1); +const DurationEnd = value0 => value1 => $Interval("DurationEnd", value0, value1); +const StartDuration = value0 => value1 => $Interval("StartDuration", value0, value1); +const DurationOnly = value0 => $Interval("DurationOnly", value0); +const RecurringInterval = value0 => value1 => $RecurringInterval(value0, value1); +const showInterval = dictShow => dictShow1 => ( + { + show: v => { + if (v.tag === "StartEnd") { return "(StartEnd " + (dictShow1.show(v._1) + (" " + (dictShow1.show(v._2) + ")"))); } + if (v.tag === "DurationEnd") { return "(DurationEnd " + (dictShow.show(v._1) + (" " + (dictShow1.show(v._2) + ")"))); } + if (v.tag === "StartDuration") { return "(StartDuration " + (dictShow1.show(v._1) + (" " + (dictShow.show(v._2) + ")"))); } + if (v.tag === "DurationOnly") { return "(DurationOnly " + (dictShow.show(v._1) + ")"); } + $runtime.fail(); + } + } +); +const showRecurringInterval = dictShow => dictShow1 => { + const show1 = showInterval(dictShow)(dictShow1).show; + return {show: v => "(RecurringInterval " + (show(v._1) + (" " + (show1(v._2) + ")")))}; +}; +const over = dictFunctor => f => v => dictFunctor.map(RecurringInterval(v._1))(f(v._2)); +const foldableInterval = { + foldl: v => v1 => v2 => { + if (v2.tag === "StartEnd") { return v(v(v1)(v2._1))(v2._2); } + if (v2.tag === "DurationEnd") { return v(v1)(v2._2); } + if (v2.tag === "StartDuration") { return v(v1)(v2._1); } + return v1; + }, + foldr: x => Data$dFoldable.foldrDefault(foldableInterval)(x), + foldMap: dictMonoid => { + const append = dictMonoid.Semigroup0().append; + return f => foldableInterval.foldl(acc => x => append(acc)(f(x)))(dictMonoid.mempty); + } +}; +const foldableRecurringInterval = { + foldl: f => i => x => { + if (x._2.tag === "StartEnd") { return f(f(i)(x._2._1))(x._2._2); } + if (x._2.tag === "DurationEnd") { return f(i)(x._2._2); } + if (x._2.tag === "StartDuration") { return f(i)(x._2._1); } + return i; + }, + foldr: f => i => { + const $2 = Data$dFoldable.foldrDefault(foldableInterval)(f)(i); + return x => $2(x._2); + }, + foldMap: dictMonoid => { + const append = dictMonoid.Semigroup0().append; + return f => foldableRecurringInterval.foldl(acc => x => append(acc)(f(x)))(dictMonoid.mempty); + } +}; +const eqInterval = dictEq => dictEq1 => ( + { + eq: x => y => { + if (x.tag === "StartEnd") { + if (y.tag === "StartEnd") { return dictEq1.eq(x._1)(y._1) && dictEq1.eq(x._2)(y._2); } + return false; + } + if (x.tag === "DurationEnd") { + if (y.tag === "DurationEnd") { return dictEq.eq(x._1)(y._1) && dictEq1.eq(x._2)(y._2); } + return false; + } + if (x.tag === "StartDuration") { + if (y.tag === "StartDuration") { return dictEq1.eq(x._1)(y._1) && dictEq.eq(x._2)(y._2); } + return false; + } + if (x.tag === "DurationOnly") { + if (y.tag === "DurationOnly") { return dictEq.eq(x._1)(y._1); } + return false; + } + return false; + } + } +); +const eqRecurringInterval = dictEq => dictEq1 => { + const eq1 = eqInterval(dictEq)(dictEq1).eq; + return { + eq: x => y => (() => { + if (x._1.tag === "Nothing") { return y._1.tag === "Nothing"; } + if (x._1.tag === "Just") { + if (y._1.tag === "Just") { return x._1._1 === y._1._1; } + return false; + } + return false; + })() && eq1(x._2)(y._2) + }; +}; +const ordInterval = dictOrd => { + const eqInterval1 = eqInterval(dictOrd.Eq0()); + return dictOrd1 => { + const eqInterval2 = eqInterval1(dictOrd1.Eq0()); + return { + compare: x => y => { + if (x.tag === "StartEnd") { + if (y.tag === "StartEnd") { + const v = dictOrd1.compare(x._1)(y._1); + if (v.tag === "LT") { return Data$dOrdering.LT; } + if (v.tag === "GT") { return Data$dOrdering.GT; } + return dictOrd1.compare(x._2)(y._2); + } + return Data$dOrdering.LT; + } + if (y.tag === "StartEnd") { return Data$dOrdering.GT; } + if (x.tag === "DurationEnd") { + if (y.tag === "DurationEnd") { + const v = dictOrd.compare(x._1)(y._1); + if (v.tag === "LT") { return Data$dOrdering.LT; } + if (v.tag === "GT") { return Data$dOrdering.GT; } + return dictOrd1.compare(x._2)(y._2); + } + return Data$dOrdering.LT; + } + if (y.tag === "DurationEnd") { return Data$dOrdering.GT; } + if (x.tag === "StartDuration") { + if (y.tag === "StartDuration") { + const v = dictOrd1.compare(x._1)(y._1); + if (v.tag === "LT") { return Data$dOrdering.LT; } + if (v.tag === "GT") { return Data$dOrdering.GT; } + return dictOrd.compare(x._2)(y._2); + } + return Data$dOrdering.LT; + } + if (y.tag === "StartDuration") { return Data$dOrdering.GT; } + if (x.tag === "DurationOnly") { + if (y.tag === "DurationOnly") { return dictOrd.compare(x._1)(y._1); } + $runtime.fail(); + } + $runtime.fail(); + }, + Eq0: () => eqInterval2 + }; + }; +}; +const ordRecurringInterval = dictOrd => { + const ordInterval1 = ordInterval(dictOrd); + const eqRecurringInterval1 = eqRecurringInterval(dictOrd.Eq0()); + return dictOrd1 => { + const compare1 = ordInterval1(dictOrd1).compare; + const eqRecurringInterval2 = eqRecurringInterval1(dictOrd1.Eq0()); + return { + compare: x => y => { + const v = compare(x._1)(y._1); + if (v.tag === "LT") { return Data$dOrdering.LT; } + if (v.tag === "GT") { return Data$dOrdering.GT; } + return compare1(x._2)(y._2); + }, + Eq0: () => eqRecurringInterval2 + }; + }; +}; +const bifunctorInterval = { + bimap: v => v1 => v2 => { + if (v2.tag === "StartEnd") { return $Interval("StartEnd", v1(v2._1), v1(v2._2)); } + if (v2.tag === "DurationEnd") { return $Interval("DurationEnd", v(v2._1), v1(v2._2)); } + if (v2.tag === "StartDuration") { return $Interval("StartDuration", v1(v2._1), v(v2._2)); } + if (v2.tag === "DurationOnly") { return $Interval("DurationOnly", v(v2._1)); } + $runtime.fail(); + } +}; +const bifunctorRecurringInterval = {bimap: f => g => v => $RecurringInterval(v._1, bifunctorInterval.bimap(f)(g)(v._2))}; +const functorInterval = /* #__PURE__ */ (() => ({map: bifunctorInterval.bimap(x => x)}))(); +const extendInterval = { + extend: v => v1 => { + if (v1.tag === "StartEnd") { return $Interval("StartEnd", v(v1), v(v1)); } + if (v1.tag === "DurationEnd") { return $Interval("DurationEnd", v1._1, v(v1)); } + if (v1.tag === "StartDuration") { return $Interval("StartDuration", v(v1), v1._2); } + if (v1.tag === "DurationOnly") { return $Interval("DurationOnly", v1._1); } + $runtime.fail(); + }, + Functor0: () => functorInterval +}; +const functorRecurringInterval = {map: f => v => $RecurringInterval(v._1, bifunctorInterval.bimap(x => x)(f)(v._2))}; +const extendRecurringInterval = { + extend: f => v => $RecurringInterval( + v._1, + extendInterval.extend((() => { + const $2 = f(v); + return v$1 => $2; + })())(v._2) + ), + Functor0: () => functorRecurringInterval +}; +const traversableInterval = { + traverse: dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const Functor0 = Apply0.Functor0(); + return v => v1 => { + if (v1.tag === "StartEnd") { return Apply0.apply(Functor0.map(StartEnd)(v(v1._1)))(v(v1._2)); } + if (v1.tag === "DurationEnd") { return Functor0.map(DurationEnd(v1._1))(v(v1._2)); } + if (v1.tag === "StartDuration") { return Functor0.map(v2 => $Interval("StartDuration", v2, v1._2))(v(v1._1)); } + if (v1.tag === "DurationOnly") { return dictApplicative.pure($Interval("DurationOnly", v1._1)); } + $runtime.fail(); + }; + }, + sequence: dictApplicative => traversableInterval.traverse(dictApplicative)(Data$dTraversable.identity), + Functor0: () => functorInterval, + Foldable1: () => foldableInterval +}; +const traversableRecurringInterval = { + traverse: dictApplicative => { + const over1 = over(dictApplicative.Apply0().Functor0()); + const traverse1 = traversableInterval.traverse(dictApplicative); + return f => i => over1(traverse1(f))(i); + }, + sequence: dictApplicative => traversableRecurringInterval.traverse(dictApplicative)(Data$dTraversable.identity), + Functor0: () => functorRecurringInterval, + Foldable1: () => foldableRecurringInterval +}; +const bifoldableInterval = { + bifoldl: v => v1 => v2 => v3 => { + if (v3.tag === "StartEnd") { return v1(v1(v2)(v3._1))(v3._2); } + if (v3.tag === "DurationEnd") { return v1(v(v2)(v3._1))(v3._2); } + if (v3.tag === "StartDuration") { return v1(v(v2)(v3._2))(v3._1); } + if (v3.tag === "DurationOnly") { return v(v2)(v3._1); } + $runtime.fail(); + }, + bifoldr: x => Data$dBifoldable.bifoldrDefault(bifoldableInterval)(x), + bifoldMap: dictMonoid => { + const append = dictMonoid.Semigroup0().append; + return f => g => bifoldableInterval.bifoldl(m => a => append(m)(f(a)))(m => b => append(m)(g(b)))(dictMonoid.mempty); + } +}; +const bifoldableRecurringInterval = { + bifoldl: f => g => i => x => { + if (x._2.tag === "StartEnd") { return g(g(i)(x._2._1))(x._2._2); } + if (x._2.tag === "DurationEnd") { return g(f(i)(x._2._1))(x._2._2); } + if (x._2.tag === "StartDuration") { return g(f(i)(x._2._2))(x._2._1); } + if (x._2.tag === "DurationOnly") { return f(i)(x._2._1); } + $runtime.fail(); + }, + bifoldr: f => g => i => { + const $3 = Data$dBifoldable.bifoldrDefault(bifoldableInterval)(f)(g)(i); + return x => $3(x._2); + }, + bifoldMap: dictMonoid => { + const append = dictMonoid.Semigroup0().append; + return f => g => bifoldableRecurringInterval.bifoldl(m => a => append(m)(f(a)))(m => b => append(m)(g(b)))(dictMonoid.mempty); + } +}; +const bitraversableInterval = { + bitraverse: dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map1 = Apply0.Functor0().map; + return v => v1 => v2 => { + if (v2.tag === "StartEnd") { return Apply0.apply(map1(StartEnd)(v1(v2._1)))(v1(v2._2)); } + if (v2.tag === "DurationEnd") { return Apply0.apply(map1(DurationEnd)(v(v2._1)))(v1(v2._2)); } + if (v2.tag === "StartDuration") { return Apply0.apply(map1(StartDuration)(v1(v2._1)))(v(v2._2)); } + if (v2.tag === "DurationOnly") { return map1(DurationOnly)(v(v2._1)); } + $runtime.fail(); + }; + }, + bisequence: dictApplicative => bitraversableInterval.bitraverse(dictApplicative)(Data$dBitraversable.identity)(Data$dBitraversable.identity), + Bifunctor0: () => bifunctorInterval, + Bifoldable1: () => bifoldableInterval +}; +const bitraversableRecurringInterval = { + bitraverse: dictApplicative => { + const over1 = over(dictApplicative.Apply0().Functor0()); + const bitraverse1 = bitraversableInterval.bitraverse(dictApplicative); + return l => r => i => over1(bitraverse1(l)(r))(i); + }, + bisequence: dictApplicative => bitraversableRecurringInterval.bitraverse(dictApplicative)(Data$dBitraversable.identity)(Data$dBitraversable.identity), + Bifunctor0: () => bifunctorRecurringInterval, + Bifoldable1: () => bifoldableRecurringInterval +}; +export { + $Interval, + $RecurringInterval, + DurationEnd, + DurationOnly, + RecurringInterval, + StartDuration, + StartEnd, + bifoldableInterval, + bifoldableRecurringInterval, + bifunctorInterval, + bifunctorRecurringInterval, + bitraversableInterval, + bitraversableRecurringInterval, + compare, + eqInterval, + eqRecurringInterval, + extendInterval, + extendRecurringInterval, + foldableInterval, + foldableRecurringInterval, + functorInterval, + functorRecurringInterval, + ordInterval, + ordRecurringInterval, + over, + show, + showInterval, + showRecurringInterval, + traversableInterval, + traversableRecurringInterval +}; diff --git a/.storybook/purescript-indexer/output-es/Data.JSDate/foreign.js b/.storybook/purescript-indexer/output-es/Data.JSDate/foreign.js new file mode 100644 index 0000000..8db78c4 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.JSDate/foreign.js @@ -0,0 +1,83 @@ +// global exports +var createDate = function(y, m, d, h, mi, s, ms) { + var date = new Date(Date.UTC(y, m, d, h, mi, s, ms)); + if (y >= 0 && y < 100) { + date.setUTCFullYear(y); + } + return date; +}; + +var createLocalDate = function(y, m, d, h, mi, s, ms) { + var date = new Date(y, m, d, h, mi, s, ms); + if (y >= 0 && y < 100) { + date.setFullYear(y); + } + return date; +}; + +export function now() { + return new Date(); +} + +export function isValid(date) { + return !isNaN(date.getTime()); +} + +export function toInstantImpl(just) { + return function(nothing) { + return function(date) { + var t = date.getTime(); + return isNaN(t) ? nothing : just(t); + }; + }; +} + +export function fromInstant(instant) { + return new Date(instant); +} + +export function jsdate(parts) { + return createDate( + parts.year, + parts.month, + parts.day, + parts.hour, + parts.minute, + parts.second, + parts.millisecond + ); +} + +export function jsdateLocal(parts) { + return function() { + return createLocalDate( + parts.year, + parts.month, + parts.day, + parts.hour, + parts.minute, + parts.second, + parts.millisecond + ); + }; +} + +export function dateMethod(method, date) { + return date[method](); +} + +export function dateMethodEff(method, date) { + return function() { + return date[method](); + }; +} + +export function parse(dateString) { + return function() { + return new Date(dateString); + }; +} + +export function fromTime(time) { + return new Date(time); +} diff --git a/.storybook/purescript-indexer/output-es/Data.JSDate/index.js b/.storybook/purescript-indexer/output-es/Data.JSDate/index.js new file mode 100644 index 0000000..b034911 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.JSDate/index.js @@ -0,0 +1,123 @@ +// | A module providing a type and operations for the native JavaScript `Date` +// | object. +// | +// | The `JSDate` type and associated functions are provided for interop +// | purposes with JavaScript, but for working with dates in PureScript it is +// | recommended that `DateTime` representation is used instead - `DateTime` +// | offers greater type safety, a more PureScript-friendly interface, and has +// | a `Generic` instance. +import * as $runtime from "../runtime.js"; +import * as Data$dDateTime$dInstant from "../Data.DateTime.Instant/index.js"; +import * as Data$dIdentity from "../Data.Identity/index.js"; +import * as Data$dInt from "../Data.Int/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dShow from "../Data.Show/index.js"; +import * as Foreign from "../Foreign/index.js"; +import {dateMethod, dateMethodEff, fromInstant, fromTime, isValid, jsdate, jsdateLocal, now, parse, toInstantImpl} from "./foreign.js"; +const toUTCString = dt => dateMethod("toUTCString", dt); +const toTimeString = dt => dateMethod("toTimeString", dt); +const toString = dt => dateMethod("toString", dt); +const toInstant = /* #__PURE__ */ (() => { + const $0 = toInstantImpl(Data$dMaybe.Just)(Data$dMaybe.Nothing); + return a => { + const $2 = $0(a); + if ($2.tag === "Just") { + if ($2._1 >= -8639977881600000.0 && $2._1 <= 8639977881599999.0) { return Data$dMaybe.$Maybe("Just", $2._1); } + return Data$dMaybe.Nothing; + } + if ($2.tag === "Nothing") { return Data$dMaybe.Nothing; } + $runtime.fail(); + }; +})(); +const toISOString = dt => dateMethodEff("toISOString", dt); +const toDateTime = x => { + const $1 = toInstant(x); + if ($1.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dDateTime$dInstant.toDateTime($1._1)); } + return Data$dMaybe.Nothing; +}; +const toDateString = dt => dateMethod("toDateString", dt); +const toDate = x => { + const $1 = toInstant(x); + if ($1.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dDateTime$dInstant.toDateTime($1._1)._1); } + return Data$dMaybe.Nothing; +}; +const readDate = /* #__PURE__ */ Foreign.unsafeReadTagged(Data$dIdentity.monadIdentity)("Date"); +const getUTCSeconds = dt => dateMethod("getUTCSeconds", dt); +const getUTCMonth = dt => dateMethod("getUTCMonth", dt); +const getUTCMinutes = dt => dateMethod("getUTCMinutes", dt); +const getUTCMilliseconds = dt => dateMethod("getUTCMilliseconds", dt); +const getUTCHours = dt => dateMethod("getUTCHours", dt); +const getUTCFullYear = dt => dateMethod("getUTCFullYear", dt); +const getUTCDay = dt => dateMethod("getUTCDay", dt); +const getUTCDate = dt => dateMethod("getUTCDate", dt); +const getTimezoneOffset = dt => dateMethodEff("getTimezoneOffset", dt); +const getTime = dt => dateMethod("getTime", dt); +const showJSDate = {show: a => "(fromTime " + (Data$dShow.showNumberImpl(dateMethod("getTime", a)) + ")")}; +const getSeconds = dt => dateMethodEff("getSeconds", dt); +const getMonth = dt => dateMethodEff("getMonth", dt); +const getMinutes = dt => dateMethodEff("getMinutes", dt); +const getMilliseconds = dt => dateMethodEff("getMilliseconds", dt); +const getHours = dt => dateMethodEff("getHours", dt); +const getFullYear = dt => dateMethodEff("getFullYear", dt); +const getDay = dt => dateMethodEff("getDay", dt); +const getDate = dt => dateMethodEff("getDate", dt); +const fromDateTime = v => jsdate({ + year: Data$dInt.toNumber(v._1._1), + month: Data$dInt.toNumber((() => { + if (v._1._2.tag === "January") { return 0; } + if (v._1._2.tag === "February") { return 1; } + if (v._1._2.tag === "March") { return 2; } + if (v._1._2.tag === "April") { return 3; } + if (v._1._2.tag === "May") { return 4; } + if (v._1._2.tag === "June") { return 5; } + if (v._1._2.tag === "July") { return 6; } + if (v._1._2.tag === "August") { return 7; } + if (v._1._2.tag === "September") { return 8; } + if (v._1._2.tag === "October") { return 9; } + if (v._1._2.tag === "November") { return 10; } + if (v._1._2.tag === "December") { return 11; } + $runtime.fail(); + })()), + day: Data$dInt.toNumber(v._1._3), + hour: Data$dInt.toNumber(v._2._1), + minute: Data$dInt.toNumber(v._2._2), + second: Data$dInt.toNumber(v._2._3), + millisecond: Data$dInt.toNumber(v._2._4) +}); +const eqJSDate = {eq: a => b => dateMethod("getTime", a) === dateMethod("getTime", b)}; +const ordJSDate = {compare: a => b => Data$dOrd.ordNumber.compare(dateMethod("getTime", a))(dateMethod("getTime", b)), Eq0: () => eqJSDate}; +export { + eqJSDate, + fromDateTime, + getDate, + getDay, + getFullYear, + getHours, + getMilliseconds, + getMinutes, + getMonth, + getSeconds, + getTime, + getTimezoneOffset, + getUTCDate, + getUTCDay, + getUTCFullYear, + getUTCHours, + getUTCMilliseconds, + getUTCMinutes, + getUTCMonth, + getUTCSeconds, + ordJSDate, + readDate, + showJSDate, + toDate, + toDateString, + toDateTime, + toISOString, + toInstant, + toString, + toTimeString, + toUTCString +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.Lazy/foreign.js b/.storybook/purescript-indexer/output-es/Data.Lazy/foreign.js new file mode 100644 index 0000000..cabd8ae --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Lazy/foreign.js @@ -0,0 +1,14 @@ +export const defer = function (thunk) { + var v = null; + return function() { + if (thunk === undefined) return v; + + v = thunk(); + thunk = undefined; // eslint-disable-line no-param-reassign + return v; + }; +}; + +export const force = function (l) { + return l(); +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Lazy/index.js b/.storybook/purescript-indexer/output-es/Data.Lazy/index.js new file mode 100644 index 0000000..b871f97 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Lazy/index.js @@ -0,0 +1,153 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import {defer, force} from "./foreign.js"; +const showLazy = dictShow => ({show: x => "(defer \\_ -> " + (dictShow.show(force(x)) + ")")}); +const semiringLazy = dictSemiring => ( + { + add: a => b => defer(v => dictSemiring.add(force(a))(force(b))), + zero: defer(v => dictSemiring.zero), + mul: a => b => defer(v => dictSemiring.mul(force(a))(force(b))), + one: defer(v => dictSemiring.one) + } +); +const semigroupLazy = dictSemigroup => ({append: a => b => defer(v => dictSemigroup.append(force(a))(force(b)))}); +const ringLazy = dictRing => { + const semiringLazy1 = semiringLazy(dictRing.Semiring0()); + return {sub: a => b => defer(v => dictRing.sub(force(a))(force(b))), Semiring0: () => semiringLazy1}; +}; +const monoidLazy = dictMonoid => { + const semigroupLazy1 = semigroupLazy(dictMonoid.Semigroup0()); + return {mempty: defer(v => dictMonoid.mempty), Semigroup0: () => semigroupLazy1}; +}; +const lazyLazy = {defer: f => defer(v => force(f(Data$dUnit.unit)))}; +const functorLazy = {map: f => l => defer(v => f(force(l)))}; +const functorWithIndexLazy = {mapWithIndex: f => functorLazy.map(f(Data$dUnit.unit)), Functor0: () => functorLazy}; +const invariantLazy = {imap: f => v => functorLazy.map(f)}; +const foldableLazy = {foldr: f => z => l => f(force(l))(z), foldl: f => z => l => f(z)(force(l)), foldMap: dictMonoid => f => l => f(force(l))}; +const foldableWithIndexLazy = { + foldrWithIndex: f => foldableLazy.foldr(f(Data$dUnit.unit)), + foldlWithIndex: f => foldableLazy.foldl(f(Data$dUnit.unit)), + foldMapWithIndex: dictMonoid => f => foldableLazy.foldMap(dictMonoid)(f(Data$dUnit.unit)), + Foldable0: () => foldableLazy +}; +const traversableLazy = { + traverse: dictApplicative => { + const map1 = dictApplicative.Apply0().Functor0().map; + return f => l => map1(x => defer(v => x))(f(force(l))); + }, + sequence: dictApplicative => { + const map1 = dictApplicative.Apply0().Functor0().map; + return l => map1(x => defer(v => x))(force(l)); + }, + Functor0: () => functorLazy, + Foldable1: () => foldableLazy +}; +const traversableWithIndexLazy = { + traverseWithIndex: dictApplicative => { + const traverse1 = traversableLazy.traverse(dictApplicative); + return f => traverse1(f(Data$dUnit.unit)); + }, + FunctorWithIndex0: () => functorWithIndexLazy, + FoldableWithIndex1: () => foldableWithIndexLazy, + Traversable2: () => traversableLazy +}; +const foldable1Lazy = {foldMap1: dictSemigroup => f => l => f(force(l)), foldr1: v => l => force(l), foldl1: v => l => force(l), Foldable0: () => foldableLazy}; +const traversable1Lazy = { + traverse1: dictApply => { + const map1 = dictApply.Functor0().map; + return f => l => map1(x => defer(v => x))(f(force(l))); + }, + sequence1: dictApply => { + const map1 = dictApply.Functor0().map; + return l => map1(x => defer(v => x))(force(l)); + }, + Foldable10: () => foldable1Lazy, + Traversable1: () => traversableLazy +}; +const extendLazy = {extend: f => x => defer(v => f(x)), Functor0: () => functorLazy}; +const eqLazy = dictEq => ({eq: x => y => dictEq.eq(force(x))(force(y))}); +const ordLazy = dictOrd => { + const $1 = dictOrd.Eq0(); + const eqLazy1 = {eq: x => y => $1.eq(force(x))(force(y))}; + return {compare: x => y => dictOrd.compare(force(x))(force(y)), Eq0: () => eqLazy1}; +}; +const eq1Lazy = {eq1: dictEq => x => y => dictEq.eq(force(x))(force(y))}; +const ord1Lazy = {compare1: dictOrd => ordLazy(dictOrd).compare, Eq10: () => eq1Lazy}; +const comonadLazy = {extract: force, Extend0: () => extendLazy}; +const commutativeRingLazy = dictCommutativeRing => { + const ringLazy1 = ringLazy(dictCommutativeRing.Ring0()); + return {Ring0: () => ringLazy1}; +}; +const euclideanRingLazy = dictEuclideanRing => { + const ringLazy1 = ringLazy(dictEuclideanRing.CommutativeRing0().Ring0()); + return { + degree: x => dictEuclideanRing.degree(force(x)), + div: a => b => defer(v => dictEuclideanRing.div(force(a))(force(b))), + mod: a => b => defer(v => dictEuclideanRing.mod(force(a))(force(b))), + CommutativeRing0: () => ({Ring0: () => ringLazy1}) + }; +}; +const boundedLazy = dictBounded => { + const ordLazy1 = ordLazy(dictBounded.Ord0()); + return {top: defer(v => dictBounded.top), bottom: defer(v => dictBounded.bottom), Ord0: () => ordLazy1}; +}; +const applyLazy = {apply: f => x => defer(v => force(f)(force(x))), Functor0: () => functorLazy}; +const bindLazy = {bind: l => f => defer(v => force(f(force(l)))), Apply0: () => applyLazy}; +const heytingAlgebraLazy = dictHeytingAlgebra => ( + { + ff: defer(v => dictHeytingAlgebra.ff), + tt: defer(v => dictHeytingAlgebra.tt), + implies: a => b => { + const $3 = defer(v => dictHeytingAlgebra.implies(force(a))); + return defer(v => force($3)(force(b))); + }, + conj: a => b => { + const $3 = defer(v => dictHeytingAlgebra.conj(force(a))); + return defer(v => force($3)(force(b))); + }, + disj: a => b => { + const $3 = defer(v => dictHeytingAlgebra.disj(force(a))); + return defer(v => force($3)(force(b))); + }, + not: a => defer(v => dictHeytingAlgebra.not(force(a))) + } +); +const booleanAlgebraLazy = dictBooleanAlgebra => { + const heytingAlgebraLazy1 = heytingAlgebraLazy(dictBooleanAlgebra.HeytingAlgebra0()); + return {HeytingAlgebra0: () => heytingAlgebraLazy1}; +}; +const applicativeLazy = {pure: a => defer(v => a), Apply0: () => applyLazy}; +const monadLazy = {Applicative0: () => applicativeLazy, Bind1: () => bindLazy}; +export { + applicativeLazy, + applyLazy, + bindLazy, + booleanAlgebraLazy, + boundedLazy, + commutativeRingLazy, + comonadLazy, + eq1Lazy, + eqLazy, + euclideanRingLazy, + extendLazy, + foldable1Lazy, + foldableLazy, + foldableWithIndexLazy, + functorLazy, + functorWithIndexLazy, + heytingAlgebraLazy, + invariantLazy, + lazyLazy, + monadLazy, + monoidLazy, + ord1Lazy, + ordLazy, + ringLazy, + semigroupLazy, + semiringLazy, + showLazy, + traversable1Lazy, + traversableLazy, + traversableWithIndexLazy +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.List.Internal/index.js b/.storybook/purescript-indexer/output-es/Data.List.Internal/index.js new file mode 100644 index 0000000..3ac3dba --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.List.Internal/index.js @@ -0,0 +1,162 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +const $KickUp = (_1, _2, _3) => ({tag: "KickUp", _1, _2, _3}); +const $Set = (tag, _1, _2, _3, _4, _5) => ({tag, _1, _2, _3, _4, _5}); +const $TreeContext = (tag, _1, _2, _3, _4) => ({tag, _1, _2, _3, _4}); +const Leaf = /* #__PURE__ */ $Set("Leaf"); +const Two = value0 => value1 => value2 => $Set("Two", value0, value1, value2); +const Three = value0 => value1 => value2 => value3 => value4 => $Set("Three", value0, value1, value2, value3, value4); +const TwoLeft = value0 => value1 => $TreeContext("TwoLeft", value0, value1); +const TwoRight = value0 => value1 => $TreeContext("TwoRight", value0, value1); +const ThreeLeft = value0 => value1 => value2 => value3 => $TreeContext("ThreeLeft", value0, value1, value2, value3); +const ThreeMiddle = value0 => value1 => value2 => value3 => $TreeContext("ThreeMiddle", value0, value1, value2, value3); +const ThreeRight = value0 => value1 => value2 => value3 => $TreeContext("ThreeRight", value0, value1, value2, value3); +const KickUp = value0 => value1 => value2 => $KickUp(value0, value1, value2); +const fromZipper = fromZipper$a0$copy => fromZipper$a1$copy => { + let fromZipper$a0 = fromZipper$a0$copy, fromZipper$a1 = fromZipper$a1$copy, fromZipper$c = true, fromZipper$r; + while (fromZipper$c) { + const v = fromZipper$a0, v1 = fromZipper$a1; + if (v.tag === "Nil") { + fromZipper$c = false; + fromZipper$r = v1; + continue; + } + if (v.tag === "Cons") { + if (v._1.tag === "TwoLeft") { + fromZipper$a0 = v._2; + fromZipper$a1 = $Set("Two", v1, v._1._1, v._1._2); + continue; + } + if (v._1.tag === "TwoRight") { + fromZipper$a0 = v._2; + fromZipper$a1 = $Set("Two", v._1._1, v._1._2, v1); + continue; + } + if (v._1.tag === "ThreeLeft") { + fromZipper$a0 = v._2; + fromZipper$a1 = $Set("Three", v1, v._1._1, v._1._2, v._1._3, v._1._4); + continue; + } + if (v._1.tag === "ThreeMiddle") { + fromZipper$a0 = v._2; + fromZipper$a1 = $Set("Three", v._1._1, v._1._2, v1, v._1._3, v._1._4); + continue; + } + if (v._1.tag === "ThreeRight") { + fromZipper$a0 = v._2; + fromZipper$a1 = $Set("Three", v._1._1, v._1._2, v._1._3, v._1._4, v1); + continue; + } + $runtime.fail(); + } + $runtime.fail(); + }; + return fromZipper$r; +}; +const insertAndLookupBy = comp => k => orig => { + const up = up$a0$copy => up$a1$copy => { + let up$a0 = up$a0$copy, up$a1 = up$a1$copy, up$c = true, up$r; + while (up$c) { + const v = up$a0, v1 = up$a1; + if (v.tag === "Nil") { + up$c = false; + up$r = $Set("Two", v1._1, v1._2, v1._3); + continue; + } + if (v.tag === "Cons") { + if (v._1.tag === "TwoLeft") { + up$c = false; + up$r = fromZipper(v._2)($Set("Three", v1._1, v1._2, v1._3, v._1._1, v._1._2)); + continue; + } + if (v._1.tag === "TwoRight") { + up$c = false; + up$r = fromZipper(v._2)($Set("Three", v._1._1, v._1._2, v1._1, v1._2, v1._3)); + continue; + } + if (v._1.tag === "ThreeLeft") { + up$a0 = v._2; + up$a1 = $KickUp($Set("Two", v1._1, v1._2, v1._3), v._1._1, $Set("Two", v._1._2, v._1._3, v._1._4)); + continue; + } + if (v._1.tag === "ThreeMiddle") { + up$a0 = v._2; + up$a1 = $KickUp($Set("Two", v._1._1, v._1._2, v1._1), v1._2, $Set("Two", v1._3, v._1._3, v._1._4)); + continue; + } + if (v._1.tag === "ThreeRight") { + up$a0 = v._2; + up$a1 = $KickUp($Set("Two", v._1._1, v._1._2, v._1._3), v._1._4, $Set("Two", v1._1, v1._2, v1._3)); + continue; + } + $runtime.fail(); + } + $runtime.fail(); + }; + return up$r; + }; + const down = down$a0$copy => down$a1$copy => { + let down$a0 = down$a0$copy, down$a1 = down$a1$copy, down$c = true, down$r; + while (down$c) { + const v = down$a0, v1 = down$a1; + if (v1.tag === "Leaf") { + down$c = false; + down$r = {found: false, result: up(v)($KickUp(Leaf, k, Leaf))}; + continue; + } + if (v1.tag === "Two") { + const v2 = comp(k)(v1._2); + if (v2.tag === "EQ") { + down$c = false; + down$r = {found: true, result: orig}; + continue; + } + if (v2.tag === "LT") { + down$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("TwoLeft", v1._2, v1._3), v); + down$a1 = v1._1; + continue; + } + down$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("TwoRight", v1._1, v1._2), v); + down$a1 = v1._3; + continue; + } + if (v1.tag === "Three") { + const v2 = comp(k)(v1._2); + if (v2.tag === "EQ") { + down$c = false; + down$r = {found: true, result: orig}; + continue; + } + const v3 = comp(k)(v1._4); + if (v3.tag === "EQ") { + down$c = false; + down$r = {found: true, result: orig}; + continue; + } + if (v2.tag === "LT") { + down$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("ThreeLeft", v1._2, v1._3, v1._4, v1._5), v); + down$a1 = v1._1; + continue; + } + if (v2.tag === "GT") { + if (v3.tag === "LT") { + down$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("ThreeMiddle", v1._1, v1._2, v1._4, v1._5), v); + down$a1 = v1._3; + continue; + } + down$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("ThreeRight", v1._1, v1._2, v1._3, v1._4), v); + down$a1 = v1._5; + continue; + } + down$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("ThreeRight", v1._1, v1._2, v1._3, v1._4), v); + down$a1 = v1._5; + continue; + } + $runtime.fail(); + }; + return down$r; + }; + return down(Data$dList$dTypes.Nil)(orig); +}; +const emptySet = Leaf; +export {$KickUp, $Set, $TreeContext, KickUp, Leaf, Three, ThreeLeft, ThreeMiddle, ThreeRight, Two, TwoLeft, TwoRight, emptySet, fromZipper, insertAndLookupBy}; diff --git a/.storybook/purescript-indexer/output-es/Data.List.Lazy.NonEmpty/index.js b/.storybook/purescript-indexer/output-es/Data.List.Lazy.NonEmpty/index.js new file mode 100644 index 0000000..51bafae --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.List.Lazy.NonEmpty/index.js @@ -0,0 +1,69 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dLazy from "../Data.Lazy/index.js"; +import * as Data$dList$dLazy from "../Data.List.Lazy/index.js"; +import * as Data$dList$dLazy$dTypes from "../Data.List.Lazy.Types/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dNonEmpty from "../Data.NonEmpty/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const uncons = v => { + const v1 = Data$dLazy.force(v); + return {head: v1._1, tail: v1._2}; +}; +const toList = v => { + const v1 = Data$dLazy.force(v); + return Data$dLazy.defer(v$1 => Data$dList$dLazy$dTypes.$Step("Cons", v1._1, v1._2)); +}; +const toUnfoldable = dictUnfoldable => { + const $1 = dictUnfoldable.unfoldr(xs => { + const $2 = Data$dList$dLazy.uncons(xs); + if ($2.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple($2._1.head, $2._1.tail)); } + return Data$dMaybe.Nothing; + }); + return x => $1((() => { + const v1 = Data$dLazy.force(x); + return Data$dLazy.defer(v => Data$dList$dLazy$dTypes.$Step("Cons", v1._1, v1._2)); + })()); +}; +const tail = v => Data$dLazy.force(v)._2; +const singleton = /* #__PURE__ */ (() => Data$dList$dLazy$dTypes.applicativeNonEmptyList.pure)(); +const repeat = x => Data$dLazy.defer(v => Data$dNonEmpty.$NonEmpty(x, Data$dList$dLazy.repeat(x))); +const length = v => 1 + Data$dList$dLazy.length(Data$dLazy.force(v)._2) | 0; +const last = v => { + const v1 = Data$dLazy.force(v); + const $2 = Data$dList$dLazy.last(v1._2); + if ($2.tag === "Nothing") { return v1._1; } + if ($2.tag === "Just") { return $2._1; } + $runtime.fail(); +}; +const iterate = f => x => Data$dLazy.defer(v => Data$dNonEmpty.$NonEmpty(x, Data$dList$dLazy.iterate(f)(f(x)))); +const init = v => { + const v1 = Data$dLazy.force(v); + const $2 = Data$dList$dLazy.init(v1._2); + if ($2.tag === "Nothing") { return Data$dList$dLazy$dTypes.nil; } + if ($2.tag === "Just") { return Data$dLazy.defer(v$1 => Data$dList$dLazy$dTypes.$Step("Cons", v1._1, $2._1)); } + $runtime.fail(); +}; +const head = v => Data$dLazy.force(v)._1; +const fromList = l => { + const v = Data$dLazy.force(l); + if (v.tag === "Nil") { return Data$dMaybe.Nothing; } + if (v.tag === "Cons") { return Data$dMaybe.$Maybe("Just", Data$dLazy.defer(v1 => Data$dNonEmpty.$NonEmpty(v._1, v._2))); } + $runtime.fail(); +}; +const fromFoldable = dictFoldable => { + const $1 = dictFoldable.foldr(Data$dList$dLazy$dTypes.cons)(Data$dList$dLazy$dTypes.nil); + return x => fromList($1(x)); +}; +const cons = y => v => Data$dLazy.defer(v1 => { + const v2 = Data$dLazy.force(v); + return Data$dNonEmpty.$NonEmpty(y, Data$dLazy.defer(v$1 => Data$dList$dLazy$dTypes.$Step("Cons", v2._1, v2._2))); +}); +const concatMap = b => a => Data$dList$dLazy$dTypes.bindNonEmptyList.bind(a)(b); +const appendFoldable = dictFoldable => { + const fromFoldable1 = dictFoldable.foldr(Data$dList$dLazy$dTypes.cons)(Data$dList$dLazy$dTypes.nil); + return nel => ys => Data$dLazy.defer(v => Data$dNonEmpty.$NonEmpty( + Data$dLazy.force(nel)._1, + Data$dList$dLazy$dTypes.semigroupList.append(Data$dLazy.force(nel)._2)(fromFoldable1(ys)) + )); +}; +export {appendFoldable, concatMap, cons, fromFoldable, fromList, head, init, iterate, last, length, repeat, singleton, tail, toList, toUnfoldable, uncons}; diff --git a/.storybook/purescript-indexer/output-es/Data.List.Lazy.Types/index.js b/.storybook/purescript-indexer/output-es/Data.List.Lazy.Types/index.js new file mode 100644 index 0000000..e72e65b --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.List.Lazy.Types/index.js @@ -0,0 +1,510 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dLazy from "../Data.Lazy/index.js"; +import * as Data$dNonEmpty from "../Data.NonEmpty/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const $Step = (tag, _1, _2) => ({tag, _1, _2}); +const identity = x => x; +const List = x => x; +const Nil = /* #__PURE__ */ $Step("Nil"); +const Cons = value0 => value1 => $Step("Cons", value0, value1); +const NonEmptyList = x => x; +const nil = /* #__PURE__ */ Data$dLazy.defer(v => Nil); +const newtypeNonEmptyList = {Coercible0: () => undefined}; +const newtypeList = {Coercible0: () => undefined}; +const step = x => Data$dLazy.force(x); +const semigroupList = { + append: xs => ys => Data$dLazy.defer(v => { + const $3 = Data$dLazy.force(xs); + if ($3.tag === "Nil") { return Data$dLazy.force(ys); } + if ($3.tag === "Cons") { return $Step("Cons", $3._1, semigroupList.append($3._2)(ys)); } + $runtime.fail(); + }) +}; +const monoidList = {mempty: nil, Semigroup0: () => semigroupList}; +const lazyList = {defer: f => Data$dLazy.defer(x => Data$dLazy.force(f(x)))}; +const functorList = { + map: f => xs => Data$dLazy.defer(v => { + const $3 = Data$dLazy.force(xs); + if ($3.tag === "Nil") { return Nil; } + if ($3.tag === "Cons") { return $Step("Cons", f($3._1), functorList.map(f)($3._2)); } + $runtime.fail(); + }) +}; +const map1 = /* #__PURE__ */ (() => Data$dNonEmpty.functorNonEmpty(functorList).map)(); +const functorNonEmptyList = { + map: f => v => { + const $2 = map1(f); + return Data$dLazy.defer(v$1 => $2(Data$dLazy.force(v))); + } +}; +const eq1List = { + eq1: dictEq => xs => ys => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1; + if (v.tag === "Nil") { + go$c = false; + go$r = v1.tag === "Nil"; + continue; + } + if (v.tag === "Cons") { + if (v1.tag === "Cons") { + if (dictEq.eq(v._1)(v1._1)) { + go$a0 = Data$dLazy.force(v._2); + go$a1 = Data$dLazy.force(v1._2); + continue; + } + go$c = false; + go$r = false; + continue; + } + go$c = false; + go$r = false; + continue; + } + go$c = false; + go$r = false; + continue; + }; + return go$r; + }; + return go(Data$dLazy.force(xs))(Data$dLazy.force(ys)); + } +}; +const eqNonEmpty = dictEq => ({eq: x => y => dictEq.eq(x._1)(y._1) && eq1List.eq1(dictEq)(x._2)(y._2)}); +const eq1NonEmptyList = {eq1: dictEq => Data$dLazy.eq1Lazy.eq1(eqNonEmpty(dictEq))}; +const eqList = dictEq => ({eq: eq1List.eq1(dictEq)}); +const eqNonEmptyList = dictEq => { + const $1 = eqNonEmpty(dictEq); + return {eq: x => y => $1.eq(Data$dLazy.force(x))(Data$dLazy.force(y))}; +}; +const ord1List = { + compare1: dictOrd => xs => ys => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1; + if (v.tag === "Nil") { + if (v1.tag === "Nil") { + go$c = false; + go$r = Data$dOrdering.EQ; + continue; + } + go$c = false; + go$r = Data$dOrdering.LT; + continue; + } + if (v1.tag === "Nil") { + go$c = false; + go$r = Data$dOrdering.GT; + continue; + } + if (v.tag === "Cons") { + if (v1.tag === "Cons") { + const v2 = dictOrd.compare(v._1)(v1._1); + if (v2.tag === "EQ") { + go$a0 = Data$dLazy.force(v._2); + go$a1 = Data$dLazy.force(v1._2); + continue; + } + go$c = false; + go$r = v2; + continue; + } + $runtime.fail(); + } + $runtime.fail(); + }; + return go$r; + }; + return go(Data$dLazy.force(xs))(Data$dLazy.force(ys)); + }, + Eq10: () => eq1List +}; +const ordNonEmpty = /* #__PURE__ */ Data$dNonEmpty.ordNonEmpty(ord1List); +const ord1NonEmptyList = {compare1: dictOrd => Data$dLazy.ordLazy(ordNonEmpty(dictOrd)).compare, Eq10: () => eq1NonEmptyList}; +const ordList = dictOrd => { + const eqList1 = {eq: eq1List.eq1(dictOrd.Eq0())}; + return {compare: ord1List.compare1(dictOrd), Eq0: () => eqList1}; +}; +const ordNonEmptyList = dictOrd => Data$dLazy.ordLazy(ordNonEmpty(dictOrd)); +const cons = x => xs => Data$dLazy.defer(v => $Step("Cons", x, xs)); +const foldableList = { + foldr: op => z => xs => foldableList.foldl(b => a => op(a)(b))(z)(foldableList.foldl(b => a => Data$dLazy.defer(v => $Step("Cons", a, b)))(nil)(xs)), + foldl: op => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const b = go$a0, xs = go$a1; + const v = Data$dLazy.force(xs); + if (v.tag === "Nil") { + go$c = false; + go$r = b; + continue; + } + if (v.tag === "Cons") { + go$a0 = op(b)(v._1); + go$a1 = v._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go; + }, + foldMap: dictMonoid => { + const append2 = dictMonoid.Semigroup0().append; + return f => foldableList.foldl(b => a => append2(b)(f(a)))(dictMonoid.mempty); + } +}; +const foldableNonEmpty = { + foldMap: dictMonoid => { + const append1 = dictMonoid.Semigroup0().append; + const foldMap1 = foldableList.foldMap(dictMonoid); + return f => v => append1(f(v._1))(foldMap1(f)(v._2)); + }, + foldl: f => b => v => foldableList.foldl(f)(f(b)(v._1))(v._2), + foldr: f => b => v => f(v._1)(foldableList.foldr(f)(b)(v._2)) +}; +const extendList = { + extend: f => l => { + const v = Data$dLazy.force(l); + if (v.tag === "Nil") { return nil; } + if (v.tag === "Cons") { + const $3 = f(l); + const $4 = foldableList.foldr(a => v$1 => { + const acc$p = Data$dLazy.defer(v$2 => $Step("Cons", a, v$1.acc)); + return { + val: (() => { + const $7 = f(acc$p); + return Data$dLazy.defer(v$2 => $Step("Cons", $7, v$1.val)); + })(), + acc: acc$p + }; + })({val: nil, acc: nil})(v._2).val; + return Data$dLazy.defer(v$1 => $Step("Cons", $3, $4)); + } + $runtime.fail(); + }, + Functor0: () => functorList +}; +const extendNonEmptyList = { + extend: f => v => { + const $2 = Data$dLazy.force(v)._2; + return Data$dLazy.defer(v2 => Data$dNonEmpty.$NonEmpty( + f(v), + foldableList.foldr(a => v1 => ( + { + val: (() => { + const $6 = f(Data$dLazy.defer(v2$1 => Data$dNonEmpty.$NonEmpty(a, v1.acc))); + return Data$dLazy.defer(v$1 => $Step("Cons", $6, v1.val)); + })(), + acc: Data$dLazy.defer(v$1 => $Step("Cons", a, v1.acc)) + } + ))({val: nil, acc: nil})($2).val + )); + }, + Functor0: () => functorNonEmptyList +}; +const foldableNonEmptyList = { + foldr: f => b => v => { + const $3 = Data$dLazy.force(v); + return f($3._1)(foldableList.foldr(f)(b)($3._2)); + }, + foldl: f => b => v => { + const $3 = Data$dLazy.force(v); + return foldableList.foldl(f)(f(b)($3._1))($3._2); + }, + foldMap: dictMonoid => { + const foldMap1 = foldableNonEmpty.foldMap(dictMonoid); + return f => v => foldMap1(f)(Data$dLazy.force(v)); + } +}; +const showList = dictShow => ( + { + show: xs => { + const v = Data$dLazy.force(xs); + if (v.tag === "Nil") { return "(fromFoldable [])"; } + if (v.tag === "Cons") { return "(fromFoldable [" + (dictShow.show(v._1) + foldableList.foldl(shown => x$p => shown + ("," + dictShow.show(x$p)))("")(v._2) + "])"); } + $runtime.fail(); + } + } +); +const showNonEmptyList = dictShow => { + const $1 = showList(dictShow); + return { + show: v => { + const $3 = Data$dLazy.force(v); + return "(NonEmptyList (defer \\_ -> (NonEmpty " + (dictShow.show($3._1) + (" " + ($1.show($3._2) + ")"))) + "))"; + } + }; +}; +const showStep = dictShow => { + const show1 = showList(dictShow).show; + return { + show: v => { + if (v.tag === "Nil") { return "Nil"; } + if (v.tag === "Cons") { return "(" + (dictShow.show(v._1) + (" : " + (show1(v._2) + ")"))); } + $runtime.fail(); + } + }; +}; +const foldableWithIndexList = { + foldrWithIndex: f => b => xs => { + const v = foldableList.foldl(v1 => a => Data$dTuple.$Tuple(v1._1 + 1 | 0, Data$dLazy.defer(v => $Step("Cons", a, v1._2))))(Data$dTuple.$Tuple(0, nil))(xs); + return foldableList.foldl(v1 => a => Data$dTuple.$Tuple(v1._1 - 1 | 0, f(v1._1 - 1 | 0)(a)(v1._2)))(Data$dTuple.$Tuple(v._1, b))(v._2)._2; + }, + foldlWithIndex: f => acc => { + const $2 = foldableList.foldl(v => a => Data$dTuple.$Tuple(v._1 + 1 | 0, f(v._1)(v._2)(a)))(Data$dTuple.$Tuple(0, acc)); + return x => $2(x)._2; + }, + foldMapWithIndex: dictMonoid => { + const append2 = dictMonoid.Semigroup0().append; + return f => foldableWithIndexList.foldlWithIndex(i => acc => { + const $5 = append2(acc); + const $6 = f(i); + return x => $5($6(x)); + })(dictMonoid.mempty); + }, + Foldable0: () => foldableList +}; +const foldableWithIndexNonEmpty = /* #__PURE__ */ Data$dNonEmpty.foldableWithIndexNonEmpty(foldableWithIndexList); +const foldableWithIndexNonEmptyList = { + foldMapWithIndex: dictMonoid => { + const foldMapWithIndex1 = foldableWithIndexNonEmpty.foldMapWithIndex(dictMonoid); + return f => v => foldMapWithIndex1(x => f((() => { + if (x.tag === "Nothing") { return 0; } + if (x.tag === "Just") { return 1 + x._1 | 0; } + $runtime.fail(); + })()))(Data$dLazy.force(v)); + }, + foldlWithIndex: f => b => v => foldableWithIndexNonEmpty.foldlWithIndex(x => f((() => { + if (x.tag === "Nothing") { return 0; } + if (x.tag === "Just") { return 1 + x._1 | 0; } + $runtime.fail(); + })()))(b)(Data$dLazy.force(v)), + foldrWithIndex: f => b => v => foldableWithIndexNonEmpty.foldrWithIndex(x => f((() => { + if (x.tag === "Nothing") { return 0; } + if (x.tag === "Just") { return 1 + x._1 | 0; } + $runtime.fail(); + })()))(b)(Data$dLazy.force(v)), + Foldable0: () => foldableNonEmptyList +}; +const functorWithIndexList = { + mapWithIndex: f => foldableWithIndexList.foldrWithIndex(i => x => acc => { + const $4 = f(i)(x); + return Data$dLazy.defer(v => $Step("Cons", $4, acc)); + })(nil), + Functor0: () => functorList +}; +const mapWithIndex = /* #__PURE__ */ (() => Data$dNonEmpty.functorWithIndex(functorWithIndexList).mapWithIndex)(); +const functorWithIndexNonEmptyList = { + mapWithIndex: f => v => Data$dLazy.defer(v1 => mapWithIndex(x => f((() => { + if (x.tag === "Nothing") { return 0; } + if (x.tag === "Just") { return 1 + x._1 | 0; } + $runtime.fail(); + })()))(Data$dLazy.force(v))), + Functor0: () => functorNonEmptyList +}; +const toList = v => Data$dLazy.defer(x => Data$dLazy.force((() => { + const v2 = Data$dLazy.force(v); + return Data$dLazy.defer(v$1 => $Step("Cons", v2._1, v2._2)); +})())); +const semigroupNonEmptyList = { + append: v => as$p => { + const v1 = Data$dLazy.force(v); + return Data$dLazy.defer(v2 => Data$dNonEmpty.$NonEmpty(v1._1, semigroupList.append(v1._2)(toList(as$p)))); + } +}; +const traversableList = { + traverse: dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map2 = Apply0.Functor0().map; + return f => foldableList.foldr(a => b => Apply0.apply(map2(cons)(f(a)))(b))(dictApplicative.pure(nil)); + }, + sequence: dictApplicative => traversableList.traverse(dictApplicative)(identity), + Functor0: () => functorList, + Foldable1: () => foldableList +}; +const traversableNonEmpty = /* #__PURE__ */ Data$dNonEmpty.traversableNonEmpty(traversableList); +const traversableNonEmptyList = { + traverse: dictApplicative => { + const map2 = dictApplicative.Apply0().Functor0().map; + const traverse1 = traversableNonEmpty.traverse(dictApplicative); + return f => v => map2(xxs => Data$dLazy.defer(v1 => xxs))(traverse1(f)(Data$dLazy.force(v))); + }, + sequence: dictApplicative => { + const map2 = dictApplicative.Apply0().Functor0().map; + const sequence1 = traversableNonEmpty.sequence(dictApplicative); + return v => map2(xxs => Data$dLazy.defer(v1 => xxs))(sequence1(Data$dLazy.force(v))); + }, + Functor0: () => functorNonEmptyList, + Foldable1: () => foldableNonEmptyList +}; +const traversableWithIndexList = { + traverseWithIndex: dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map2 = Apply0.Functor0().map; + return f => foldableWithIndexList.foldrWithIndex(i => a => b => Apply0.apply(map2(cons)(f(i)(a)))(b))(dictApplicative.pure(nil)); + }, + FunctorWithIndex0: () => functorWithIndexList, + FoldableWithIndex1: () => foldableWithIndexList, + Traversable2: () => traversableList +}; +const traverseWithIndex = /* #__PURE__ */ (() => Data$dNonEmpty.traversableWithIndexNonEmpty(traversableWithIndexList).traverseWithIndex)(); +const traversableWithIndexNonEmptyList = { + traverseWithIndex: dictApplicative => { + const map2 = dictApplicative.Apply0().Functor0().map; + const traverseWithIndex1 = traverseWithIndex(dictApplicative); + return f => v => map2(xxs => Data$dLazy.defer(v1 => xxs))(traverseWithIndex1(x => f((() => { + if (x.tag === "Nothing") { return 0; } + if (x.tag === "Just") { return 1 + x._1 | 0; } + $runtime.fail(); + })()))(Data$dLazy.force(v))); + }, + FunctorWithIndex0: () => functorWithIndexNonEmptyList, + FoldableWithIndex1: () => foldableWithIndexNonEmptyList, + Traversable2: () => traversableNonEmptyList +}; +const unfoldable1List = { + unfoldr1: /* #__PURE__ */ (() => { + const go = f => b => Data$dLazy.defer(x => Data$dLazy.force((() => { + const v1 = f(b); + if (v1._2.tag === "Just") { + const $5 = go(f)(v1._2._1); + return Data$dLazy.defer(v => $Step("Cons", v1._1, $5)); + } + if (v1._2.tag === "Nothing") { return Data$dLazy.defer(v => $Step("Cons", v1._1, nil)); } + $runtime.fail(); + })())); + return go; + })() +}; +const unfoldableList = { + unfoldr: /* #__PURE__ */ (() => { + const go = f => b => Data$dLazy.defer(x => Data$dLazy.force((() => { + const v1 = f(b); + if (v1.tag === "Nothing") { return nil; } + if (v1.tag === "Just") { + const $5 = go(f)(v1._1._2); + return Data$dLazy.defer(v => $Step("Cons", v1._1._1, $5)); + } + $runtime.fail(); + })())); + return go; + })(), + Unfoldable10: () => unfoldable1List +}; +const unfoldr1 = /* #__PURE__ */ (() => Data$dNonEmpty.unfoldable1NonEmpty(unfoldableList).unfoldr1)(); +const unfoldable1NonEmptyList = {unfoldr1: f => b => Data$dLazy.defer(v => unfoldr1(f)(b))}; +const comonadNonEmptyList = {extract: v => Data$dLazy.force(v)._1, Extend0: () => extendNonEmptyList}; +const monadList = {Applicative0: () => applicativeList, Bind1: () => bindList}; +const bindList = { + bind: xs => f => Data$dLazy.defer(v => { + const $3 = Data$dLazy.force(xs); + if ($3.tag === "Nil") { return Nil; } + if ($3.tag === "Cons") { return Data$dLazy.force(semigroupList.append(f($3._1))(bindList.bind($3._2)(f))); } + $runtime.fail(); + }), + Apply0: () => applyList +}; +const applyList = {apply: f => a => bindList.bind(f)(f$p => bindList.bind(a)(a$p => applicativeList.pure(f$p(a$p)))), Functor0: () => functorList}; +const applicativeList = {pure: a => Data$dLazy.defer(v => $Step("Cons", a, nil)), Apply0: () => applyList}; +const applyNonEmptyList = { + apply: v => v1 => { + const v2 = Data$dLazy.force(v1); + const v3 = Data$dLazy.force(v); + return Data$dLazy.defer(v4 => Data$dNonEmpty.$NonEmpty( + v3._1(v2._1), + semigroupList.append(applyList.apply(v3._2)(Data$dLazy.defer(v$1 => $Step("Cons", v2._1, nil))))(applyList.apply(Data$dLazy.defer(v$1 => $Step("Cons", v3._1, v3._2)))(v2._2)) + )); + }, + Functor0: () => functorNonEmptyList +}; +const bindNonEmptyList = { + bind: v => f => { + const v1 = Data$dLazy.force(v); + const v2 = Data$dLazy.force(f(v1._1)); + return Data$dLazy.defer(v3 => Data$dNonEmpty.$NonEmpty(v2._1, semigroupList.append(v2._2)(bindList.bind(v1._2)(x => toList(f(x)))))); + }, + Apply0: () => applyNonEmptyList +}; +const altNonEmptyList = /* #__PURE__ */ (() => ({alt: semigroupNonEmptyList.append, Functor0: () => functorNonEmptyList}))(); +const altList = /* #__PURE__ */ (() => ({alt: semigroupList.append, Functor0: () => functorList}))(); +const plusList = {empty: nil, Alt0: () => altList}; +const alternativeList = {Applicative0: () => applicativeList, Plus1: () => plusList}; +const monadPlusList = {Monad0: () => monadList, Alternative1: () => alternativeList}; +const applicativeNonEmptyList = {pure: a => Data$dLazy.defer(v => Data$dNonEmpty.$NonEmpty(a, nil)), Apply0: () => applyNonEmptyList}; +const monadNonEmptyList = {Applicative0: () => applicativeNonEmptyList, Bind1: () => bindNonEmptyList}; +export { + $Step, + Cons, + List, + Nil, + NonEmptyList, + altList, + altNonEmptyList, + alternativeList, + applicativeList, + applicativeNonEmptyList, + applyList, + applyNonEmptyList, + bindList, + bindNonEmptyList, + comonadNonEmptyList, + cons, + eq1List, + eq1NonEmptyList, + eqList, + eqNonEmpty, + eqNonEmptyList, + extendList, + extendNonEmptyList, + foldableList, + foldableNonEmpty, + foldableNonEmptyList, + foldableWithIndexList, + foldableWithIndexNonEmpty, + foldableWithIndexNonEmptyList, + functorList, + functorNonEmptyList, + functorWithIndexList, + functorWithIndexNonEmptyList, + identity, + lazyList, + map1, + mapWithIndex, + monadList, + monadNonEmptyList, + monadPlusList, + monoidList, + newtypeList, + newtypeNonEmptyList, + nil, + ord1List, + ord1NonEmptyList, + ordList, + ordNonEmpty, + ordNonEmptyList, + plusList, + semigroupList, + semigroupNonEmptyList, + showList, + showNonEmptyList, + showStep, + step, + toList, + traversableList, + traversableNonEmpty, + traversableNonEmptyList, + traversableWithIndexList, + traversableWithIndexNonEmptyList, + traverseWithIndex, + unfoldable1List, + unfoldable1NonEmptyList, + unfoldableList, + unfoldr1 +}; diff --git a/.storybook/purescript-indexer/output-es/Data.List.Lazy/index.js b/.storybook/purescript-indexer/output-es/Data.List.Lazy/index.js new file mode 100644 index 0000000..8bf41aa --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.List.Lazy/index.js @@ -0,0 +1,641 @@ +// | This module defines a type of _lazy_ linked lists, and associated helper +// | functions and type class instances. +// | +// | _Note_: Depending on your use-case, you may prefer to use +// | `Data.Sequence` instead, which might give better performance for certain +// | use cases. This module is an improvement over `Data.Array` when working with +// | immutable lists of data in a purely-functional setting, but does not have +// | good random-access performance. +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dRec$dClass from "../Control.Monad.Rec.Class/index.js"; +import * as Data$dLazy from "../Data.Lazy/index.js"; +import * as Data$dList$dInternal from "../Data.List.Internal/index.js"; +import * as Data$dList$dLazy$dTypes from "../Data.List.Lazy.Types/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dNonEmpty from "../Data.NonEmpty/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const tailRecM2 = f => a => b => Control$dMonad$dRec$dClass.monadRecMaybe.tailRecM(o => f(o.a)(o.b))({a: a, b: b}); +const any = /* #__PURE__ */ (() => Data$dList$dLazy$dTypes.foldableList.foldMap((() => { + const semigroupDisj1 = {append: v => v1 => v || v1}; + return {mempty: false, Semigroup0: () => semigroupDisj1}; +})()))(); +const identity = x => x; +const Pattern = x => x; +const zipWith = f => xs => ys => { + const $3 = Data$dLazy.defer(v => { + const $4 = Data$dLazy.force(xs); + return v1 => { + if ($4.tag === "Nil") { return Data$dList$dLazy$dTypes.Nil; } + if (v1.tag === "Nil") { return Data$dList$dLazy$dTypes.Nil; } + if ($4.tag === "Cons") { + if (v1.tag === "Cons") { return Data$dList$dLazy$dTypes.$Step("Cons", f($4._1)(v1._1), zipWith(f)($4._2)(v1._2)); } + $runtime.fail(); + } + $runtime.fail(); + }; + }); + return Data$dLazy.defer(v => Data$dLazy.force($3)(Data$dLazy.force(ys))); +}; +const zipWithA = dictApplicative => { + const sequence1 = Data$dList$dLazy$dTypes.traversableList.traverse(dictApplicative)(Data$dList$dLazy$dTypes.identity); + return f => xs => ys => sequence1(zipWith(f)(xs)(ys)); +}; +const zip = /* #__PURE__ */ zipWith(Data$dTuple.Tuple); +const updateAt = n => x => xs => Data$dLazy.defer(v => { + const $4 = Data$dLazy.force(xs); + if ($4.tag === "Nil") { return Data$dList$dLazy$dTypes.Nil; } + if ($4.tag === "Cons") { + if (n === 0) { return Data$dList$dLazy$dTypes.$Step("Cons", x, $4._2); } + return Data$dList$dLazy$dTypes.$Step("Cons", $4._1, updateAt(n - 1 | 0)(x)($4._2)); + } + $runtime.fail(); +}); +const unzip = /* #__PURE__ */ (() => Data$dList$dLazy$dTypes.foldableList.foldr(v => v1 => Data$dTuple.$Tuple( + Data$dLazy.defer(v$1 => Data$dList$dLazy$dTypes.$Step("Cons", v._1, v1._1)), + Data$dLazy.defer(v$1 => Data$dList$dLazy$dTypes.$Step("Cons", v._2, v1._2)) +))(Data$dTuple.$Tuple(Data$dList$dLazy$dTypes.nil, Data$dList$dLazy$dTypes.nil)))(); +const uncons = xs => { + const v = Data$dLazy.force(xs); + if (v.tag === "Nil") { return Data$dMaybe.Nothing; } + if (v.tag === "Cons") { return Data$dMaybe.$Maybe("Just", {head: v._1, tail: v._2}); } + $runtime.fail(); +}; +const toUnfoldable = dictUnfoldable => dictUnfoldable.unfoldr(xs => { + const $2 = uncons(xs); + if ($2.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple($2._1.head, $2._1.tail)); } + return Data$dMaybe.Nothing; +}); +const takeWhile = p => Data$dLazy.functorLazy.map(v => { + if (v.tag === "Cons") { + if (p(v._1)) { return Data$dList$dLazy$dTypes.$Step("Cons", v._1, takeWhile(p)(v._2)); } + return Data$dList$dLazy$dTypes.Nil; + } + return Data$dList$dLazy$dTypes.Nil; +}); +const take = n => { + if (n <= 0) { return v => Data$dList$dLazy$dTypes.nil; } + return Data$dLazy.functorLazy.map(v1 => { + if (v1.tag === "Nil") { return Data$dList$dLazy$dTypes.Nil; } + if (v1.tag === "Cons") { return Data$dList$dLazy$dTypes.$Step("Cons", v1._1, take(n - 1 | 0)(v1._2)); } + $runtime.fail(); + }); +}; +const tail = xs => { + const $1 = uncons(xs); + if ($1.tag === "Just") { return Data$dMaybe.$Maybe("Just", $1._1.tail); } + return Data$dMaybe.Nothing; +}; +const stripPrefix = dictEq => v => s => tailRecM2(prefix => input => { + const v1 = Data$dLazy.force(prefix); + if (v1.tag === "Nil") { return Data$dMaybe.$Maybe("Just", Control$dMonad$dRec$dClass.$Step("Done", input)); } + if (v1.tag === "Cons") { + const v2 = Data$dLazy.force(input); + if (v2.tag === "Cons") { + if (dictEq.eq(v1._1)(v2._1)) { return Data$dMaybe.$Maybe("Just", Control$dMonad$dRec$dClass.$Step("Loop", {a: v1._2, b: v2._2})); } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.Nothing; + } + $runtime.fail(); +})(v)(s); +const span = p => xs => { + const v = uncons(xs); + if (v.tag === "Just") { + if (p(v._1.head)) { + const v1 = span(p)(v._1.tail); + return {init: Data$dLazy.defer(v$1 => Data$dList$dLazy$dTypes.$Step("Cons", v._1.head, v1.init)), rest: v1.rest}; + } + return {init: Data$dList$dLazy$dTypes.nil, rest: xs}; + } + return {init: Data$dList$dLazy$dTypes.nil, rest: xs}; +}; +const snoc = xs => x => Data$dList$dLazy$dTypes.foldableList.foldr(Data$dList$dLazy$dTypes.cons)(Data$dLazy.defer(v => Data$dList$dLazy$dTypes.$Step( + "Cons", + x, + Data$dList$dLazy$dTypes.nil +)))(xs); +const singleton = a => Data$dLazy.defer(v => Data$dList$dLazy$dTypes.$Step("Cons", a, Data$dList$dLazy$dTypes.nil)); +const showPattern = dictShow => { + const show = Data$dList$dLazy$dTypes.showList(dictShow).show; + return {show: v => "(Pattern " + (show(v) + ")")}; +}; +const scanlLazy = f => acc => xs => Data$dLazy.defer(v => { + const $4 = Data$dLazy.force(xs); + if ($4.tag === "Nil") { return Data$dList$dLazy$dTypes.Nil; } + if ($4.tag === "Cons") { + const acc$p = f(acc)($4._1); + return Data$dList$dLazy$dTypes.$Step("Cons", acc$p, scanlLazy(f)(acc$p)($4._2)); + } + $runtime.fail(); +}); +const reverse = xs => Data$dLazy.defer(x => Data$dLazy.force(Data$dList$dLazy$dTypes.foldableList.foldl(b => a => Data$dLazy.defer(v => Data$dList$dLazy$dTypes.$Step("Cons", a, b)))(Data$dList$dLazy$dTypes.nil)(xs))); +const replicateM = dictMonad => { + const pure1 = dictMonad.Applicative0().pure; + const bind2 = dictMonad.Bind1().bind; + return n => m => { + if (n < 1) { return pure1(Data$dList$dLazy$dTypes.nil); } + return bind2(m)(a => bind2(replicateM(dictMonad)(n - 1 | 0)(m))(as => pure1(Data$dLazy.defer(v => Data$dList$dLazy$dTypes.$Step("Cons", a, as))))); + }; +}; +const repeat = x => { + const go$lazy = $runtime.binding(() => Data$dLazy.defer(x$1 => Data$dLazy.force(Data$dLazy.defer(v => Data$dList$dLazy$dTypes.$Step("Cons", x, go$lazy()))))); + const go = go$lazy(); + return go; +}; +const replicate = i => xs => take(i)(repeat(xs)); +const range = start => end => { + if (start > end) { + return Data$dList$dLazy$dTypes.unfoldableList.unfoldr(x => { + if (x >= end) { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(x, x - 1 | 0)); } + return Data$dMaybe.Nothing; + })(start); + } + return Data$dList$dLazy$dTypes.unfoldableList.unfoldr(x => { + if (x <= end) { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(x, x + 1 | 0)); } + return Data$dMaybe.Nothing; + })(start); +}; +const partition = f => Data$dList$dLazy$dTypes.foldableList.foldr(x => v => { + if (f(x)) { return {yes: Data$dLazy.defer(v$1 => Data$dList$dLazy$dTypes.$Step("Cons", x, v.yes)), no: v.no}; } + return {yes: v.yes, no: Data$dLazy.defer(v$1 => Data$dList$dLazy$dTypes.$Step("Cons", x, v.no))}; +})({yes: Data$dList$dLazy$dTypes.nil, no: Data$dList$dLazy$dTypes.nil}); +const $$null = x => { + const $1 = uncons(x); + if ($1.tag === "Nothing") { return true; } + if ($1.tag === "Just") { return false; } + $runtime.fail(); +}; +const nubBy = p => { + const goStep = v => v1 => { + if (v1.tag === "Nil") { return Data$dList$dLazy$dTypes.Nil; } + if (v1.tag === "Cons") { + const v2 = Data$dList$dInternal.insertAndLookupBy(p)(v1._1)(v); + if (v2.found) { return Data$dLazy.force(go(v2.result)(v1._2)); } + return Data$dList$dLazy$dTypes.$Step("Cons", v1._1, go(v2.result)(v1._2)); + } + $runtime.fail(); + }; + const go = s => v => { + const $4 = goStep(s); + return Data$dLazy.defer(v$1 => $4(Data$dLazy.force(v))); + }; + return go(Data$dList$dInternal.Leaf); +}; +const nub = dictOrd => nubBy(dictOrd.compare); +const newtypePattern = {Coercible0: () => undefined}; +const mapMaybe = f => { + const go = go$a0$copy => { + let go$a0 = go$a0$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0; + if (v.tag === "Nil") { + go$c = false; + go$r = Data$dList$dLazy$dTypes.Nil; + continue; + } + if (v.tag === "Cons") { + const v1 = f(v._1); + if (v1.tag === "Nothing") { + go$a0 = Data$dLazy.force(v._2); + continue; + } + if (v1.tag === "Just") { + go$c = false; + go$r = Data$dList$dLazy$dTypes.$Step("Cons", v1._1, mapMaybe(f)(v._2)); + continue; + } + $runtime.fail(); + } + $runtime.fail(); + }; + return go$r; + }; + return x => Data$dLazy.defer(v => go(Data$dLazy.force(x))); +}; +const some = dictAlternative => { + const apply1 = dictAlternative.Applicative0().Apply0().apply; + const map3 = dictAlternative.Plus1().Alt0().Functor0().map; + return dictLazy => v => apply1(map3(Data$dList$dLazy$dTypes.cons)(v))(dictLazy.defer(v1 => many(dictAlternative)(dictLazy)(v))); +}; +const many = dictAlternative => { + const alt = dictAlternative.Plus1().Alt0().alt; + const pure1 = dictAlternative.Applicative0().pure; + return dictLazy => v => alt(some(dictAlternative)(dictLazy)(v))(pure1(Data$dList$dLazy$dTypes.nil)); +}; +const length = /* #__PURE__ */ (() => Data$dList$dLazy$dTypes.foldableList.foldl(l => v => l + 1 | 0)(0))(); +const last = /* #__PURE__ */ (() => { + const go = go$a0$copy => { + let go$a0 = go$a0$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0; + if (v.tag === "Cons") { + if ( + (() => { + const $2 = uncons(v._2); + if ($2.tag === "Nothing") { return true; } + if ($2.tag === "Just") { return false; } + $runtime.fail(); + })() + ) { + go$c = false; + go$r = Data$dMaybe.$Maybe("Just", v._1); + continue; + } + go$a0 = Data$dLazy.force(v._2); + continue; + } + go$c = false; + go$r = Data$dMaybe.Nothing; + continue; + }; + return go$r; + }; + return x => go(Data$dLazy.force(x)); +})(); +const iterate = f => x => { + const go$lazy = $runtime.binding(() => Data$dLazy.defer(x$1 => Data$dLazy.force((() => { + const $4 = Data$dList$dLazy$dTypes.functorList.map(f)(go$lazy()); + return Data$dLazy.defer(v => Data$dList$dLazy$dTypes.$Step("Cons", x, $4)); + })()))); + const go = go$lazy(); + return go; +}; +const insertAt = v => v1 => v2 => { + if (v === 0) { return Data$dLazy.defer(v$1 => Data$dList$dLazy$dTypes.$Step("Cons", v1, v2)); } + return Data$dLazy.defer(v$1 => { + const $4 = Data$dLazy.force(v2); + if ($4.tag === "Nil") { return Data$dList$dLazy$dTypes.$Step("Cons", v1, Data$dList$dLazy$dTypes.nil); } + if ($4.tag === "Cons") { return Data$dList$dLazy$dTypes.$Step("Cons", $4._1, insertAt(v - 1 | 0)(v1)($4._2)); } + $runtime.fail(); + }); +}; +const init = /* #__PURE__ */ (() => { + const go = v => { + if (v.tag === "Cons") { + if ( + (() => { + const $2 = uncons(v._2); + if ($2.tag === "Nothing") { return true; } + if ($2.tag === "Just") { return false; } + $runtime.fail(); + })() + ) { + return Data$dMaybe.$Maybe("Just", Data$dList$dLazy$dTypes.nil); + } + const $2 = go(Data$dLazy.force(v._2)); + if ($2.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dLazy.defer(v$1 => Data$dList$dLazy$dTypes.$Step("Cons", v._1, $2._1))); } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.Nothing; + }; + return x => go(Data$dLazy.force(x)); +})(); +const index = xs => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1; + if (v.tag === "Nil") { + go$c = false; + go$r = Data$dMaybe.Nothing; + continue; + } + if (v.tag === "Cons") { + if (v1 === 0) { + go$c = false; + go$r = Data$dMaybe.$Maybe("Just", v._1); + continue; + } + go$a0 = Data$dLazy.force(v._2); + go$a1 = v1 - 1 | 0; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(Data$dLazy.force(xs)); +}; +const head = xs => { + const $1 = uncons(xs); + if ($1.tag === "Just") { return Data$dMaybe.$Maybe("Just", $1._1.head); } + return Data$dMaybe.Nothing; +}; +const transpose = xs => { + const v = uncons(xs); + if (v.tag === "Nothing") { return xs; } + if (v.tag === "Just") { + const v1 = uncons(v._1.head); + if (v1.tag === "Nothing") { return transpose(v._1.tail); } + if (v1.tag === "Just") { + const $3 = mapMaybe(head)(v._1.tail); + const $4 = Data$dLazy.defer(v$1 => Data$dList$dLazy$dTypes.$Step("Cons", v1._1.head, $3)); + const $5 = transpose((() => { + const $5 = mapMaybe(tail)(v._1.tail); + return Data$dLazy.defer(v$1 => Data$dList$dLazy$dTypes.$Step("Cons", v1._1.tail, $5)); + })()); + return Data$dLazy.defer(v$1 => Data$dList$dLazy$dTypes.$Step("Cons", $4, $5)); + } + $runtime.fail(); + } + $runtime.fail(); +}; +const groupBy = eq => Data$dLazy.functorLazy.map(v => { + if (v.tag === "Nil") { return Data$dList$dLazy$dTypes.Nil; } + if (v.tag === "Cons") { + const v1 = span(eq(v._1))(v._2); + return Data$dList$dLazy$dTypes.$Step("Cons", Data$dLazy.defer(v2 => Data$dNonEmpty.$NonEmpty(v._1, v1.init)), groupBy(eq)(v1.rest)); + } + $runtime.fail(); +}); +const group = dictEq => groupBy(dictEq.eq); +const insertBy = cmp => x => xs => Data$dLazy.defer(v => { + const $4 = Data$dLazy.force(xs); + if ($4.tag === "Nil") { return Data$dList$dLazy$dTypes.$Step("Cons", x, Data$dList$dLazy$dTypes.nil); } + if ($4.tag === "Cons") { + if (cmp(x)($4._1).tag === "GT") { return Data$dList$dLazy$dTypes.$Step("Cons", $4._1, insertBy(cmp)(x)($4._2)); } + return Data$dList$dLazy$dTypes.$Step("Cons", x, Data$dLazy.defer(v$1 => $4)); + } + $runtime.fail(); +}); +const insert = dictOrd => insertBy(dictOrd.compare); +const fromFoldable = dictFoldable => dictFoldable.foldr(Data$dList$dLazy$dTypes.cons)(Data$dList$dLazy$dTypes.nil); +const foldrLazy = dictLazy => op => z => { + const go = xs => { + const v = Data$dLazy.force(xs); + if (v.tag === "Cons") { return dictLazy.defer(v1 => op(v._1)(go(v._2))); } + if (v.tag === "Nil") { return z; } + $runtime.fail(); + }; + return go; +}; +const foldM = dictMonad => { + const pure1 = dictMonad.Applicative0().pure; + const bind2 = dictMonad.Bind1().bind; + return f => b => xs => { + const v = uncons(xs); + if (v.tag === "Nothing") { return pure1(b); } + if (v.tag === "Just") { return bind2(f(b)(v._1.head))(b$p => foldM(dictMonad)(f)(b$p)(v._1.tail)); } + $runtime.fail(); + }; +}; +const findIndex = fn => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const n = go$a0, list = go$a1; + const $4 = uncons(list); + if ($4.tag === "Just") { + if (fn($4._1.head)) { + go$c = false; + go$r = Data$dMaybe.$Maybe("Just", n); + continue; + } + go$a0 = n + 1 | 0; + go$a1 = $4._1.tail; + continue; + } + if ($4.tag === "Nothing") { + go$c = false; + go$r = Data$dMaybe.Nothing; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(0); +}; +const findLastIndex = fn => xs => { + const $2 = findIndex(fn)(reverse(xs)); + if ($2.tag === "Just") { return Data$dMaybe.$Maybe("Just", (length(xs) - 1 | 0) - $2._1 | 0); } + return Data$dMaybe.Nothing; +}; +const filterM = dictMonad => { + const pure1 = dictMonad.Applicative0().pure; + const bind2 = dictMonad.Bind1().bind; + return p => list => { + const v = uncons(list); + if (v.tag === "Nothing") { return pure1(Data$dList$dLazy$dTypes.nil); } + if (v.tag === "Just") { + return bind2(p(v._1.head))(b => bind2(filterM(dictMonad)(p)(v._1.tail))(xs$p => pure1((() => { + if (b) { return Data$dLazy.defer(v$1 => Data$dList$dLazy$dTypes.$Step("Cons", v._1.head, xs$p)); } + return xs$p; + })()))); + } + $runtime.fail(); + }; +}; +const filter = p => { + const go = go$a0$copy => { + let go$a0 = go$a0$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0; + if (v.tag === "Nil") { + go$c = false; + go$r = Data$dList$dLazy$dTypes.Nil; + continue; + } + if (v.tag === "Cons") { + if (p(v._1)) { + go$c = false; + go$r = Data$dList$dLazy$dTypes.$Step("Cons", v._1, filter(p)(v._2)); + continue; + } + go$a0 = Data$dLazy.force(v._2); + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return x => Data$dLazy.defer(v => go(Data$dLazy.force(x))); +}; +const intersectBy = eq => xs => ys => filter(x => any(eq(x))(ys))(xs); +const intersect = dictEq => intersectBy(dictEq.eq); +const nubByEq = eq => Data$dLazy.functorLazy.map(v => { + if (v.tag === "Nil") { return Data$dList$dLazy$dTypes.Nil; } + if (v.tag === "Cons") { return Data$dList$dLazy$dTypes.$Step("Cons", v._1, nubByEq(eq)(filter(y => !eq(v._1)(y))(v._2))); } + $runtime.fail(); +}); +const nubEq = dictEq => nubByEq(dictEq.eq); +const eqPattern = dictEq => ({eq: x => y => Data$dList$dLazy$dTypes.eq1List.eq1(dictEq)(x)(y)}); +const ordPattern = dictOrd => { + const compare = Data$dList$dLazy$dTypes.ordList(dictOrd).compare; + const $2 = dictOrd.Eq0(); + const eqPattern1 = {eq: x => y => Data$dList$dLazy$dTypes.eq1List.eq1($2)(x)(y)}; + return {compare: x => y => compare(x)(y), Eq0: () => eqPattern1}; +}; +const elemLastIndex = dictEq => x => findLastIndex(v => dictEq.eq(v)(x)); +const elemIndex = dictEq => x => findIndex(v => dictEq.eq(v)(x)); +const dropWhile = p => { + const go = go$a0$copy => { + let go$a0 = go$a0$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0; + if (v.tag === "Cons") { + if (p(v._1)) { + go$a0 = Data$dLazy.force(v._2); + continue; + } + go$c = false; + go$r = Data$dLazy.defer(v$1 => v); + continue; + } + go$c = false; + go$r = Data$dLazy.defer(v$1 => v); + continue; + }; + return go$r; + }; + return x => go(Data$dLazy.force(x)); +}; +const drop = n => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1; + if (v === 0) { + go$c = false; + go$r = v1; + continue; + } + if (v1.tag === "Nil") { + go$c = false; + go$r = Data$dList$dLazy$dTypes.Nil; + continue; + } + if (v1.tag === "Cons") { + go$a0 = v - 1 | 0; + go$a1 = Data$dLazy.force(v1._2); + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return Data$dLazy.functorLazy.map(go(n)); +}; +const slice = start => end => xs => take(end - start | 0)(drop(start)(xs)); +const deleteBy = eq => x => xs => Data$dLazy.defer(v => { + const $4 = Data$dLazy.force(xs); + if ($4.tag === "Nil") { return Data$dList$dLazy$dTypes.Nil; } + if ($4.tag === "Cons") { + if (eq(x)($4._1)) { return Data$dLazy.force($4._2); } + return Data$dList$dLazy$dTypes.$Step("Cons", $4._1, deleteBy(eq)(x)($4._2)); + } + $runtime.fail(); +}); +const unionBy = eq => xs => ys => Data$dList$dLazy$dTypes.semigroupList.append(xs)(Data$dList$dLazy$dTypes.foldableList.foldl(b => a => deleteBy(eq)(a)(b))(nubByEq(eq)(ys))(xs)); +const union = dictEq => unionBy(dictEq.eq); +const deleteAt = n => xs => Data$dLazy.defer(v => { + const $3 = Data$dLazy.force(xs); + if ($3.tag === "Nil") { return Data$dList$dLazy$dTypes.Nil; } + if ($3.tag === "Cons") { + if (n === 0) { return Data$dLazy.force($3._2); } + return Data$dList$dLazy$dTypes.$Step("Cons", $3._1, deleteAt(n - 1 | 0)($3._2)); + } + $runtime.fail(); +}); +const $$delete = dictEq => deleteBy(dictEq.eq); +const difference = dictEq => Data$dList$dLazy$dTypes.foldableList.foldl(b => a => deleteBy(dictEq.eq)(a)(b)); +const cycle = xs => { + const go$lazy = $runtime.binding(() => Data$dLazy.defer(x => Data$dLazy.force(Data$dList$dLazy$dTypes.semigroupList.append(xs)(go$lazy())))); + const go = go$lazy(); + return go; +}; +const concatMap = b => a => Data$dList$dLazy$dTypes.bindList.bind(a)(b); +const concat = v => Data$dList$dLazy$dTypes.bindList.bind(v)(identity); +const catMaybes = /* #__PURE__ */ mapMaybe(identity); +const alterAt = n => f => xs => Data$dLazy.defer(v => { + const $4 = Data$dLazy.force(xs); + if ($4.tag === "Nil") { return Data$dList$dLazy$dTypes.Nil; } + if ($4.tag === "Cons") { + if (n === 0) { + const v2 = f($4._1); + if (v2.tag === "Nothing") { return Data$dLazy.force($4._2); } + if (v2.tag === "Just") { return Data$dList$dLazy$dTypes.$Step("Cons", v2._1, $4._2); } + $runtime.fail(); + } + return Data$dList$dLazy$dTypes.$Step("Cons", $4._1, alterAt(n - 1 | 0)(f)($4._2)); + } + $runtime.fail(); +}); +const modifyAt = n => f => alterAt(n)(x => Data$dMaybe.$Maybe("Just", f(x))); +export { + Pattern, + alterAt, + any, + catMaybes, + concat, + concatMap, + cycle, + $$delete as delete, + deleteAt, + deleteBy, + difference, + drop, + dropWhile, + elemIndex, + elemLastIndex, + eqPattern, + filter, + filterM, + findIndex, + findLastIndex, + foldM, + foldrLazy, + fromFoldable, + group, + groupBy, + head, + identity, + index, + init, + insert, + insertAt, + insertBy, + intersect, + intersectBy, + iterate, + last, + length, + many, + mapMaybe, + modifyAt, + newtypePattern, + nub, + nubBy, + nubByEq, + nubEq, + $$null as null, + ordPattern, + partition, + range, + repeat, + replicate, + replicateM, + reverse, + scanlLazy, + showPattern, + singleton, + slice, + snoc, + some, + span, + stripPrefix, + tail, + tailRecM2, + take, + takeWhile, + toUnfoldable, + transpose, + uncons, + union, + unionBy, + unzip, + updateAt, + zip, + zipWith, + zipWithA +}; diff --git a/.storybook/purescript-indexer/output-es/Data.List.NonEmpty/index.js b/.storybook/purescript-indexer/output-es/Data.List.NonEmpty/index.js new file mode 100644 index 0000000..b9c72c3 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.List.NonEmpty/index.js @@ -0,0 +1,268 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dList from "../Data.List/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dNonEmpty from "../Data.NonEmpty/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Partial from "../Partial/index.js"; +const identity = x => x; +const zipWith = f => v => v1 => Data$dNonEmpty.$NonEmpty(f(v._1)(v1._1), Data$dList.zipWith(f)(v._2)(v1._2)); +const zipWithA = dictApplicative => { + const sequence11 = Data$dList$dTypes.traversable1NonEmptyList.traverse1(dictApplicative.Apply0())(Data$dList$dTypes.identity); + return f => xs => ys => sequence11(zipWith(f)(xs)(ys)); +}; +const zip = /* #__PURE__ */ zipWith(Data$dTuple.Tuple); +const wrappedOperation2 = name => f => v => v1 => { + const v2 = f(Data$dList$dTypes.$List("Cons", v._1, v._2))(Data$dList$dTypes.$List("Cons", v1._1, v1._2)); + if (v2.tag === "Cons") { return Data$dNonEmpty.$NonEmpty(v2._1, v2._2); } + if (v2.tag === "Nil") { return Partial._crashWith("Impossible: empty list in NonEmptyList " + name); } + $runtime.fail(); +}; +const wrappedOperation = name => f => v => { + const v1 = f(Data$dList$dTypes.$List("Cons", v._1, v._2)); + if (v1.tag === "Cons") { return Data$dNonEmpty.$NonEmpty(v1._1, v1._2); } + if (v1.tag === "Nil") { return Partial._crashWith("Impossible: empty list in NonEmptyList " + name); } + $runtime.fail(); +}; +const updateAt = i => a => v => { + if (i === 0) { return Data$dMaybe.$Maybe("Just", Data$dNonEmpty.$NonEmpty(a, v._2)); } + const $3 = Data$dList.updateAt(i - 1 | 0)(a)(v._2); + if ($3.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dNonEmpty.$NonEmpty(v._1, $3._1)); } + return Data$dMaybe.Nothing; +}; +const unzip = ts => Data$dTuple.$Tuple(Data$dList$dTypes.functorNonEmptyList.map(Data$dTuple.fst)(ts), Data$dList$dTypes.functorNonEmptyList.map(Data$dTuple.snd)(ts)); +const unsnoc = v => { + const v1 = Data$dList.unsnoc(v._2); + if (v1.tag === "Nothing") { return {init: Data$dList$dTypes.Nil, last: v._1}; } + if (v1.tag === "Just") { return {init: Data$dList$dTypes.$List("Cons", v._1, v1._1.init), last: v1._1.last}; } + $runtime.fail(); +}; +const unionBy = x => wrappedOperation2("unionBy")(Data$dList.unionBy(x)); +const union = dictEq => wrappedOperation2("union")(Data$dList.union(dictEq)); +const uncons = v => ({head: v._1, tail: v._2}); +const toList = v => Data$dList$dTypes.$List("Cons", v._1, v._2); +const toUnfoldable = dictUnfoldable => { + const $1 = dictUnfoldable.unfoldr(xs => { + if (xs.tag === "Nil") { return Data$dMaybe.Nothing; } + if (xs.tag === "Cons") { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(xs._1, xs._2)); } + $runtime.fail(); + }); + return x => $1(Data$dList$dTypes.$List("Cons", x._1, x._2)); +}; +const tail = v => v._2; +const sortBy = x => wrappedOperation("sortBy")(Data$dList.sortBy(x)); +const sort = dictOrd => xs => wrappedOperation("sortBy")(Data$dList.sortBy(dictOrd.compare))(xs); +const snoc = v => y => Data$dNonEmpty.$NonEmpty(v._1, Data$dList$dTypes.foldableList.foldr(Data$dList$dTypes.Cons)(Data$dList$dTypes.$List("Cons", y, Data$dList$dTypes.Nil))(v._2)); +const singleton = x => Data$dNonEmpty.$NonEmpty(x, Data$dList$dTypes.Nil); +const snoc$p = v => v1 => { + if (v.tag === "Cons") { + return Data$dNonEmpty.$NonEmpty(v._1, Data$dList$dTypes.foldableList.foldr(Data$dList$dTypes.Cons)(Data$dList$dTypes.$List("Cons", v1, Data$dList$dTypes.Nil))(v._2)); + } + if (v.tag === "Nil") { return Data$dNonEmpty.$NonEmpty(v1, Data$dList$dTypes.Nil); } + $runtime.fail(); +}; +const reverse = /* #__PURE__ */ wrappedOperation("reverse")(Data$dList.reverse); +const nubEq = dictEq => wrappedOperation("nubEq")(Data$dList.nubEq(dictEq)); +const nubByEq = x => wrappedOperation("nubByEq")(Data$dList.nubByEq(x)); +const nubBy = x => wrappedOperation("nubBy")(Data$dList.nubBy(x)); +const nub = dictOrd => wrappedOperation("nub")(Data$dList.nubBy(dictOrd.compare)); +const modifyAt = i => f => v => { + if (i === 0) { return Data$dMaybe.$Maybe("Just", Data$dNonEmpty.$NonEmpty(f(v._1), v._2)); } + const $3 = Data$dList.alterAt(i - 1 | 0)(x => Data$dMaybe.$Maybe("Just", f(x)))(v._2); + if ($3.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dNonEmpty.$NonEmpty(v._1, $3._1)); } + return Data$dMaybe.Nothing; +}; +const lift = f => v => f(Data$dList$dTypes.$List("Cons", v._1, v._2)); +const mapMaybe = x => lift(Data$dList.mapMaybe(x)); +const partition = x => lift(Data$dList.partition(x)); +const span = x => lift(Data$dList.span(x)); +const take = x => lift(Data$dList.take(x)); +const takeWhile = x => lift(Data$dList.takeWhile(x)); +const length = v => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const b = go$a0, v$1 = go$a1; + if (v$1.tag === "Nil") { + go$c = false; + go$r = b; + continue; + } + if (v$1.tag === "Cons") { + go$a0 = b + 1 | 0; + go$a1 = v$1._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return 1 + go(0)(v._2) | 0; +}; +const last = v => { + if (v._2.tag === "Cons") { + if (v._2._2.tag === "Nil") { return v._2._1; } + if (Data$dList.last(v._2._2).tag === "Nothing") { return v._1; } + if (Data$dList.last(v._2._2).tag === "Just") { return Data$dList.last(v._2._2)._1; } + $runtime.fail(); + } + return v._1; +}; +const intersectBy = x => wrappedOperation2("intersectBy")(Data$dList.intersectBy(x)); +const intersect = dictEq => wrappedOperation2("intersect")(Data$dList.intersect(dictEq)); +const insertAt = i => a => v => { + if (i === 0) { return Data$dMaybe.$Maybe("Just", Data$dNonEmpty.$NonEmpty(a, Data$dList$dTypes.$List("Cons", v._1, v._2))); } + const $3 = Data$dList.insertAt(i - 1 | 0)(a)(v._2); + if ($3.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dNonEmpty.$NonEmpty(v._1, $3._1)); } + return Data$dMaybe.Nothing; +}; +const init = v => { + const $1 = Data$dList.unsnoc(v._2); + if ($1.tag === "Just") { return Data$dList$dTypes.$List("Cons", v._1, $1._1.init); } + return Data$dList$dTypes.Nil; +}; +const index = v => i => { + if (i === 0) { return Data$dMaybe.$Maybe("Just", v._1); } + return Data$dList.index(v._2)(i - 1 | 0); +}; +const head = v => v._1; +const groupBy = x => wrappedOperation("groupBy")(Data$dList.groupBy(x)); +const groupAllBy = x => wrappedOperation("groupAllBy")(Data$dList.groupAllBy(x)); +const groupAll = dictOrd => wrappedOperation("groupAll")(Data$dList.groupAll(dictOrd)); +const group = dictEq => wrappedOperation("group")(Data$dList.group(dictEq)); +const fromList = v => { + if (v.tag === "Nil") { return Data$dMaybe.Nothing; } + if (v.tag === "Cons") { return Data$dMaybe.$Maybe("Just", Data$dNonEmpty.$NonEmpty(v._1, v._2)); } + $runtime.fail(); +}; +const fromFoldable = dictFoldable => { + const $1 = dictFoldable.foldr(Data$dList$dTypes.Cons)(Data$dList$dTypes.Nil); + return x => { + const $3 = $1(x); + if ($3.tag === "Nil") { return Data$dMaybe.Nothing; } + if ($3.tag === "Cons") { return Data$dMaybe.$Maybe("Just", Data$dNonEmpty.$NonEmpty($3._1, $3._2)); } + $runtime.fail(); + }; +}; +const foldM = dictMonad => { + const bind1 = dictMonad.Bind1().bind; + const foldM1 = Data$dList.foldM(dictMonad); + return f => b => v => bind1(f(b)(v._1))(b$p => foldM1(f)(b$p)(v._2)); +}; +const findLastIndex = f => v => { + const v1 = Data$dList.findLastIndex(f)(v._2); + if (v1.tag === "Just") { return Data$dMaybe.$Maybe("Just", v1._1 + 1 | 0); } + if (v1.tag === "Nothing") { + if (f(v._1)) { return Data$dMaybe.$Maybe("Just", 0); } + return Data$dMaybe.Nothing; + } + $runtime.fail(); +}; +const findIndex = f => v => { + if (f(v._1)) { return Data$dMaybe.$Maybe("Just", 0); } + const $2 = Data$dList.findIndex(f)(v._2); + if ($2.tag === "Just") { return Data$dMaybe.$Maybe("Just", $2._1 + 1 | 0); } + return Data$dMaybe.Nothing; +}; +const filterM = dictMonad => { + const $1 = Data$dList.filterM(dictMonad); + return x => lift($1(x)); +}; +const filter = x => lift(Data$dList.filter(x)); +const elemLastIndex = dictEq => x => findLastIndex(v => dictEq.eq(v)(x)); +const elemIndex = dictEq => x => findIndex(v => dictEq.eq(v)(x)); +const dropWhile = x => lift((() => { + const go = go$a0$copy => { + let go$a0 = go$a0$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0; + if (v.tag === "Cons") { + if (x(v._1)) { + go$a0 = v._2; + continue; + } + go$c = false; + go$r = v; + continue; + } + go$c = false; + go$r = v; + continue; + }; + return go$r; + }; + return go; +})()); +const drop = x => lift(Data$dList.drop(x)); +const cons$p = x => xs => Data$dNonEmpty.$NonEmpty(x, xs); +const cons = y => v => Data$dNonEmpty.$NonEmpty(y, Data$dList$dTypes.$List("Cons", v._1, v._2)); +const concatMap = b => a => Data$dList$dTypes.bindNonEmptyList.bind(a)(b); +const concat = v => Data$dList$dTypes.bindNonEmptyList.bind(v)(identity); +const catMaybes = /* #__PURE__ */ lift(Data$dList.catMaybes); +const appendFoldable = dictFoldable => { + const fromFoldable1 = dictFoldable.foldr(Data$dList$dTypes.Cons)(Data$dList$dTypes.Nil); + return v => ys => Data$dNonEmpty.$NonEmpty(v._1, Data$dList$dTypes.foldableList.foldr(Data$dList$dTypes.Cons)(fromFoldable1(ys))(v._2)); +}; +export { + appendFoldable, + catMaybes, + concat, + concatMap, + cons, + cons$p, + drop, + dropWhile, + elemIndex, + elemLastIndex, + filter, + filterM, + findIndex, + findLastIndex, + foldM, + fromFoldable, + fromList, + group, + groupAll, + groupAllBy, + groupBy, + head, + identity, + index, + init, + insertAt, + intersect, + intersectBy, + last, + length, + lift, + mapMaybe, + modifyAt, + nub, + nubBy, + nubByEq, + nubEq, + partition, + reverse, + singleton, + snoc, + snoc$p, + sort, + sortBy, + span, + tail, + take, + takeWhile, + toList, + toUnfoldable, + uncons, + union, + unionBy, + unsnoc, + unzip, + updateAt, + wrappedOperation, + wrappedOperation2, + zip, + zipWith, + zipWithA +}; diff --git a/.storybook/purescript-indexer/output-es/Data.List.Partial/index.js b/.storybook/purescript-indexer/output-es/Data.List.Partial/index.js new file mode 100644 index 0000000..3949460 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.List.Partial/index.js @@ -0,0 +1,37 @@ +// | Partial helper functions for working with strict linked lists. +import * as $runtime from "../runtime.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +const tail = () => v => { + if (v.tag === "Cons") { return v._2; } + $runtime.fail(); +}; +const last = last$a0$copy => last$a1$copy => { + let last$a0 = last$a0$copy, last$a1 = last$a1$copy, last$c = true, last$r; + while (last$c) { + const $__unused = last$a0, v = last$a1; + if (v.tag === "Cons") { + if (v._2.tag === "Nil") { + last$c = false; + last$r = v._1; + continue; + } + last$a0 = undefined; + last$a1 = v._2; + continue; + } + $runtime.fail(); + }; + return last$r; +}; +const init = () => v => { + if (v.tag === "Cons") { + if (v._2.tag === "Nil") { return Data$dList$dTypes.Nil; } + return Data$dList$dTypes.$List("Cons", v._1, init()(v._2)); + } + $runtime.fail(); +}; +const head = () => v => { + if (v.tag === "Cons") { return v._1; } + $runtime.fail(); +}; +export {head, init, last, tail}; diff --git a/.storybook/purescript-indexer/output-es/Data.List.Types/index.js b/.storybook/purescript-indexer/output-es/Data.List.Types/index.js new file mode 100644 index 0000000..ae5e264 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.List.Types/index.js @@ -0,0 +1,947 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dNonEmpty from "../Data.NonEmpty/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const $List = (tag, _1, _2) => ({tag, _1, _2}); +const identity = x => x; +const Nil = /* #__PURE__ */ $List("Nil"); +const Cons = value0 => value1 => $List("Cons", value0, value1); +const NonEmptyList = x => x; +const toList = v => $List("Cons", v._1, v._2); +const newtypeNonEmptyList = {Coercible0: () => undefined}; +const nelCons = a => v => Data$dNonEmpty.$NonEmpty(a, $List("Cons", v._1, v._2)); +const listMap = f => { + const chunkedRevMap = chunkedRevMap$a0$copy => chunkedRevMap$a1$copy => { + let chunkedRevMap$a0 = chunkedRevMap$a0$copy, chunkedRevMap$a1 = chunkedRevMap$a1$copy, chunkedRevMap$c = true, chunkedRevMap$r; + while (chunkedRevMap$c) { + const v = chunkedRevMap$a0, v1 = chunkedRevMap$a1; + const $4 = (chunksAcc, xs) => { + const reverseUnrolledMap = reverseUnrolledMap$a0$copy => reverseUnrolledMap$a1$copy => { + let reverseUnrolledMap$a0 = reverseUnrolledMap$a0$copy, reverseUnrolledMap$a1 = reverseUnrolledMap$a1$copy, reverseUnrolledMap$c = true, reverseUnrolledMap$r; + while (reverseUnrolledMap$c) { + const v2 = reverseUnrolledMap$a0, v3 = reverseUnrolledMap$a1; + if (v2.tag === "Cons") { + if (v2._1.tag === "Cons") { + if (v2._1._2.tag === "Cons") { + if (v2._1._2._2.tag === "Cons") { + reverseUnrolledMap$a0 = v2._2; + reverseUnrolledMap$a1 = $List("Cons", f(v2._1._1), $List("Cons", f(v2._1._2._1), $List("Cons", f(v2._1._2._2._1), v3))); + continue; + } + reverseUnrolledMap$c = false; + reverseUnrolledMap$r = v3; + continue; + } + reverseUnrolledMap$c = false; + reverseUnrolledMap$r = v3; + continue; + } + reverseUnrolledMap$c = false; + reverseUnrolledMap$r = v3; + continue; + } + reverseUnrolledMap$c = false; + reverseUnrolledMap$r = v3; + continue; + }; + return reverseUnrolledMap$r; + }; + return reverseUnrolledMap(chunksAcc)((() => { + if (xs.tag === "Cons") { + if (xs._2.tag === "Cons") { + if (xs._2._2.tag === "Nil") { return $List("Cons", f(xs._1), $List("Cons", f(xs._2._1), Nil)); } + return Nil; + } + if (xs._2.tag === "Nil") { return $List("Cons", f(xs._1), Nil); } + return Nil; + } + return Nil; + })()); + }; + if (v1.tag === "Cons") { + if (v1._2.tag === "Cons") { + if (v1._2._2.tag === "Cons") { + chunkedRevMap$a0 = $List("Cons", v1, v); + chunkedRevMap$a1 = v1._2._2._2; + continue; + } + chunkedRevMap$c = false; + chunkedRevMap$r = $4(v, v1); + continue; + } + chunkedRevMap$c = false; + chunkedRevMap$r = $4(v, v1); + continue; + } + chunkedRevMap$c = false; + chunkedRevMap$r = $4(v, v1); + continue; + }; + return chunkedRevMap$r; + }; + return chunkedRevMap(Nil); +}; +const functorList = {map: listMap}; +const functorNonEmptyList = /* #__PURE__ */ Data$dNonEmpty.functorNonEmpty(functorList); +const foldableList = { + foldr: f => b => { + const $2 = foldableList.foldl(b$1 => a => f(a)(b$1))(b); + const $3 = (() => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1; + if (v1.tag === "Nil") { + go$c = false; + go$r = v; + continue; + } + if (v1.tag === "Cons") { + go$a0 = $List("Cons", v1._1, v); + go$a1 = v1._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(Nil); + })(); + return x => $2($3(x)); + }, + foldl: f => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const b = go$a0, v = go$a1; + if (v.tag === "Nil") { + go$c = false; + go$r = b; + continue; + } + if (v.tag === "Cons") { + go$a0 = f(b)(v._1); + go$a1 = v._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go; + }, + foldMap: dictMonoid => { + const append2 = dictMonoid.Semigroup0().append; + return f => foldableList.foldl(acc => { + const $4 = append2(acc); + return x => $4(f(x)); + })(dictMonoid.mempty); + } +}; +const foldableNonEmptyList = { + foldMap: dictMonoid => { + const append1 = dictMonoid.Semigroup0().append; + const foldMap1 = foldableList.foldMap(dictMonoid); + return f => v => append1(f(v._1))(foldMap1(f)(v._2)); + }, + foldl: f => b => v => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const b$1 = go$a0, v$1 = go$a1; + if (v$1.tag === "Nil") { + go$c = false; + go$r = b$1; + continue; + } + if (v$1.tag === "Cons") { + go$a0 = f(b$1)(v$1._1); + go$a1 = v$1._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(f(b)(v._1))(v._2); + }, + foldr: f => b => v => f(v._1)(foldableList.foldr(f)(b)(v._2)) +}; +const foldableWithIndexList = { + foldrWithIndex: f => b => xs => { + const v = (() => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const b$1 = go$a0, v = go$a1; + if (v.tag === "Nil") { + go$c = false; + go$r = b$1; + continue; + } + if (v.tag === "Cons") { + go$a0 = Data$dTuple.$Tuple(b$1._1 + 1 | 0, $List("Cons", v._1, b$1._2)); + go$a1 = v._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(Data$dTuple.$Tuple(0, Nil))(xs); + })(); + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const b$1 = go$a0, v$1 = go$a1; + if (v$1.tag === "Nil") { + go$c = false; + go$r = b$1; + continue; + } + if (v$1.tag === "Cons") { + go$a0 = Data$dTuple.$Tuple(b$1._1 - 1 | 0, f(b$1._1 - 1 | 0)(v$1._1)(b$1._2)); + go$a1 = v$1._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(Data$dTuple.$Tuple(v._1, b))(v._2)._2; + }, + foldlWithIndex: f => acc => { + const $2 = (() => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const b = go$a0, v = go$a1; + if (v.tag === "Nil") { + go$c = false; + go$r = b; + continue; + } + if (v.tag === "Cons") { + go$a0 = Data$dTuple.$Tuple(b._1 + 1 | 0, f(b._1)(b._2)(v._1)); + go$a1 = v._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(Data$dTuple.$Tuple(0, acc)); + })(); + return x => $2(x)._2; + }, + foldMapWithIndex: dictMonoid => { + const append2 = dictMonoid.Semigroup0().append; + return f => foldableWithIndexList.foldlWithIndex(i => acc => { + const $5 = append2(acc); + const $6 = f(i); + return x => $5($6(x)); + })(dictMonoid.mempty); + }, + Foldable0: () => foldableList +}; +const foldableWithIndexNonEmpty = /* #__PURE__ */ Data$dNonEmpty.foldableWithIndexNonEmpty(foldableWithIndexList); +const foldableWithIndexNonEmptyList = { + foldMapWithIndex: dictMonoid => { + const foldMapWithIndex1 = foldableWithIndexNonEmpty.foldMapWithIndex(dictMonoid); + return f => v => foldMapWithIndex1(x => f((() => { + if (x.tag === "Nothing") { return 0; } + if (x.tag === "Just") { return 1 + x._1 | 0; } + $runtime.fail(); + })()))(v); + }, + foldlWithIndex: f => b => v => foldableWithIndexNonEmpty.foldlWithIndex(x => f((() => { + if (x.tag === "Nothing") { return 0; } + if (x.tag === "Just") { return 1 + x._1 | 0; } + $runtime.fail(); + })()))(b)(v), + foldrWithIndex: f => b => v => foldableWithIndexNonEmpty.foldrWithIndex(x => f((() => { + if (x.tag === "Nothing") { return 0; } + if (x.tag === "Just") { return 1 + x._1 | 0; } + $runtime.fail(); + })()))(b)(v), + Foldable0: () => foldableNonEmptyList +}; +const functorWithIndexList = {mapWithIndex: f => foldableWithIndexList.foldrWithIndex(i => x => acc => $List("Cons", f(i)(x), acc))(Nil), Functor0: () => functorList}; +const mapWithIndex = /* #__PURE__ */ (() => Data$dNonEmpty.functorWithIndex(functorWithIndexList).mapWithIndex)(); +const functorWithIndexNonEmptyList = { + mapWithIndex: fn => v => mapWithIndex(x => fn((() => { + if (x.tag === "Nothing") { return 0; } + if (x.tag === "Just") { return 1 + x._1 | 0; } + $runtime.fail(); + })()))(v), + Functor0: () => functorNonEmptyList +}; +const semigroupList = {append: xs => ys => foldableList.foldr(Cons)(ys)(xs)}; +const monoidList = {mempty: Nil, Semigroup0: () => semigroupList}; +const semigroupNonEmptyList = {append: v => as$p => Data$dNonEmpty.$NonEmpty(v._1, foldableList.foldr(Cons)($List("Cons", as$p._1, as$p._2))(v._2))}; +const showList = dictShow => ( + { + show: v => { + if (v.tag === "Nil") { return "Nil"; } + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const b = go$a0, v$1 = go$a1; + if (v$1.tag === "Nil") { + go$c = false; + go$r = b; + continue; + } + if (v$1.tag === "Cons") { + go$a0 = (() => { + if (b.init) { return {init: false, acc: v$1._1}; } + return {init: false, acc: b.acc + (" : " + v$1._1)}; + })(); + go$a1 = v$1._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return "(" + (go({init: true, acc: ""})(listMap(dictShow.show)(v)).acc + " : Nil)"); + } + } +); +const showNonEmptyList = dictShow => { + const $1 = showList(dictShow); + return {show: v => "(NonEmptyList (NonEmpty " + (dictShow.show(v._1) + (" " + ($1.show(v._2) + ")"))) + ")"}; +}; +const traversableList = { + traverse: dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map1 = Apply0.Functor0().map; + const map = Apply0.Functor0().map; + return f => { + const $5 = map1((() => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const b = go$a0, v = go$a1; + if (v.tag === "Nil") { + go$c = false; + go$r = b; + continue; + } + if (v.tag === "Cons") { + go$a0 = $List("Cons", v._1, b); + go$a1 = v._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(Nil); + })()); + const $6 = (() => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const b = go$a0, v = go$a1; + if (v.tag === "Nil") { + go$c = false; + go$r = b; + continue; + } + if (v.tag === "Cons") { + go$a0 = Apply0.apply(map(b$1 => a => $List("Cons", a, b$1))(b))(f(v._1)); + go$a1 = v._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(dictApplicative.pure(Nil)); + })(); + return x => $5($6(x)); + }; + }, + sequence: dictApplicative => traversableList.traverse(dictApplicative)(identity), + Functor0: () => functorList, + Foldable1: () => foldableList +}; +const traversableNonEmptyList = /* #__PURE__ */ Data$dNonEmpty.traversableNonEmpty(traversableList); +const traversableWithIndexList = { + traverseWithIndex: dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map1 = Apply0.Functor0().map; + const map = Apply0.Functor0().map; + return f => { + const $5 = map1((() => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const b = go$a0, v = go$a1; + if (v.tag === "Nil") { + go$c = false; + go$r = b; + continue; + } + if (v.tag === "Cons") { + go$a0 = $List("Cons", v._1, b); + go$a1 = v._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(Nil); + })()); + const $6 = foldableWithIndexList.foldlWithIndex(i => acc => { + const $8 = f(i); + return x => Apply0.apply(map(b => a => $List("Cons", a, b))(acc))($8(x)); + })(dictApplicative.pure(Nil)); + return x => $5($6(x)); + }; + }, + FunctorWithIndex0: () => functorWithIndexList, + FoldableWithIndex1: () => foldableWithIndexList, + Traversable2: () => traversableList +}; +const traverseWithIndex = /* #__PURE__ */ (() => Data$dNonEmpty.traversableWithIndexNonEmpty(traversableWithIndexList).traverseWithIndex)(); +const traversableWithIndexNonEmptyList = { + traverseWithIndex: dictApplicative => { + const map1 = dictApplicative.Apply0().Functor0().map; + const traverseWithIndex1 = traverseWithIndex(dictApplicative); + return f => v => map1(NonEmptyList)(traverseWithIndex1(x => f((() => { + if (x.tag === "Nothing") { return 0; } + if (x.tag === "Just") { return 1 + x._1 | 0; } + $runtime.fail(); + })()))(v)); + }, + FunctorWithIndex0: () => functorWithIndexNonEmptyList, + FoldableWithIndex1: () => foldableWithIndexNonEmptyList, + Traversable2: () => traversableNonEmptyList +}; +const unfoldable1List = { + unfoldr1: f => b => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const source = go$a0, memo = go$a1; + const v = f(source); + if (v._2.tag === "Just") { + go$a0 = v._2._1; + go$a1 = $List("Cons", v._1, memo); + continue; + } + if (v._2.tag === "Nothing") { + const go$1 = go$1$a0$copy => go$1$a1$copy => { + let go$1$a0 = go$1$a0$copy, go$1$a1 = go$1$a1$copy, go$1$c = true, go$1$r; + while (go$1$c) { + const b$1 = go$1$a0, v$1 = go$1$a1; + if (v$1.tag === "Nil") { + go$1$c = false; + go$1$r = b$1; + continue; + } + if (v$1.tag === "Cons") { + go$1$a0 = $List("Cons", v$1._1, b$1); + go$1$a1 = v$1._2; + continue; + } + $runtime.fail(); + }; + return go$1$r; + }; + go$c = false; + go$r = go$1(Nil)($List("Cons", v._1, memo)); + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(b)(Nil); + } +}; +const unfoldableList = { + unfoldr: f => b => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const source = go$a0, memo = go$a1; + const v = f(source); + if (v.tag === "Nothing") { + const go$1 = go$1$a0$copy => go$1$a1$copy => { + let go$1$a0 = go$1$a0$copy, go$1$a1 = go$1$a1$copy, go$1$c = true, go$1$r; + while (go$1$c) { + const b$1 = go$1$a0, v$1 = go$1$a1; + if (v$1.tag === "Nil") { + go$1$c = false; + go$1$r = b$1; + continue; + } + if (v$1.tag === "Cons") { + go$1$a0 = $List("Cons", v$1._1, b$1); + go$1$a1 = v$1._2; + continue; + } + $runtime.fail(); + }; + return go$1$r; + }; + go$c = false; + go$r = go$1(Nil)(memo); + continue; + } + if (v.tag === "Just") { + go$a0 = v._1._2; + go$a1 = $List("Cons", v._1._1, memo); + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(b)(Nil); + }, + Unfoldable10: () => unfoldable1List +}; +const unfoldable1NonEmptyList = /* #__PURE__ */ Data$dNonEmpty.unfoldable1NonEmpty(unfoldableList); +const foldable1NonEmptyList = /* #__PURE__ */ Data$dNonEmpty.foldable1NonEmpty(foldableList); +const extendNonEmptyList = { + extend: f => v => Data$dNonEmpty.$NonEmpty( + f(v), + foldableList.foldr(a => v1 => ({val: $List("Cons", f(Data$dNonEmpty.$NonEmpty(a, v1.acc)), v1.val), acc: $List("Cons", a, v1.acc)}))({val: Nil, acc: Nil})(v._2).val + ), + Functor0: () => functorNonEmptyList +}; +const extendList = { + extend: v => v1 => { + if (v1.tag === "Nil") { return Nil; } + if (v1.tag === "Cons") { + return $List( + "Cons", + v(v1), + foldableList.foldr(a$p => v2 => ({val: $List("Cons", v($List("Cons", a$p, v2.acc)), v2.val), acc: $List("Cons", a$p, v2.acc)}))({val: Nil, acc: Nil})(v1._2).val + ); + } + $runtime.fail(); + }, + Functor0: () => functorList +}; +const eq1List = { + eq1: dictEq => xs => ys => { + const go = go$a0$copy => go$a1$copy => go$a2$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$a2 = go$a2$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1, v2 = go$a2; + if (!v2) { + go$c = false; + go$r = false; + continue; + } + if (v.tag === "Nil") { + if (v1.tag === "Nil") { + go$c = false; + go$r = v2; + continue; + } + go$c = false; + go$r = false; + continue; + } + if (v.tag === "Cons") { + if (v1.tag === "Cons") { + go$a0 = v._2; + go$a1 = v1._2; + go$a2 = v2 && dictEq.eq(v1._1)(v._1); + continue; + } + go$c = false; + go$r = false; + continue; + } + go$c = false; + go$r = false; + continue; + }; + return go$r; + }; + return go(xs)(ys)(true); + } +}; +const eq1NonEmptyList = { + eq1: dictEq => x => y => dictEq.eq(x._1)(y._1) && (() => { + const go = go$a0$copy => go$a1$copy => go$a2$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$a2 = go$a2$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1, v2 = go$a2; + if (!v2) { + go$c = false; + go$r = false; + continue; + } + if (v.tag === "Nil") { + if (v1.tag === "Nil") { + go$c = false; + go$r = v2; + continue; + } + go$c = false; + go$r = false; + continue; + } + if (v.tag === "Cons") { + if (v1.tag === "Cons") { + go$a0 = v._2; + go$a1 = v1._2; + go$a2 = v2 && dictEq.eq(v1._1)(v._1); + continue; + } + go$c = false; + go$r = false; + continue; + } + go$c = false; + go$r = false; + continue; + }; + return go$r; + }; + return go(x._2)(y._2)(true); + })() +}; +const eqList = dictEq => ( + { + eq: xs => ys => { + const go = go$a0$copy => go$a1$copy => go$a2$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$a2 = go$a2$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1, v2 = go$a2; + if (!v2) { + go$c = false; + go$r = false; + continue; + } + if (v.tag === "Nil") { + if (v1.tag === "Nil") { + go$c = false; + go$r = v2; + continue; + } + go$c = false; + go$r = false; + continue; + } + if (v.tag === "Cons") { + if (v1.tag === "Cons") { + go$a0 = v._2; + go$a1 = v1._2; + go$a2 = v2 && dictEq.eq(v1._1)(v._1); + continue; + } + go$c = false; + go$r = false; + continue; + } + go$c = false; + go$r = false; + continue; + }; + return go$r; + }; + return go(xs)(ys)(true); + } + } +); +const eqNonEmptyList = dictEq => ( + { + eq: x => y => dictEq.eq(x._1)(y._1) && (() => { + const go = go$a0$copy => go$a1$copy => go$a2$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$a2 = go$a2$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1, v2 = go$a2; + if (!v2) { + go$c = false; + go$r = false; + continue; + } + if (v.tag === "Nil") { + if (v1.tag === "Nil") { + go$c = false; + go$r = v2; + continue; + } + go$c = false; + go$r = false; + continue; + } + if (v.tag === "Cons") { + if (v1.tag === "Cons") { + go$a0 = v._2; + go$a1 = v1._2; + go$a2 = v2 && dictEq.eq(v1._1)(v._1); + continue; + } + go$c = false; + go$r = false; + continue; + } + go$c = false; + go$r = false; + continue; + }; + return go$r; + }; + return go(x._2)(y._2)(true); + })() + } +); +const ord1List = { + compare1: dictOrd => xs => ys => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1; + if (v.tag === "Nil") { + if (v1.tag === "Nil") { + go$c = false; + go$r = Data$dOrdering.EQ; + continue; + } + go$c = false; + go$r = Data$dOrdering.LT; + continue; + } + if (v1.tag === "Nil") { + go$c = false; + go$r = Data$dOrdering.GT; + continue; + } + if (v.tag === "Cons") { + if (v1.tag === "Cons") { + const v2 = dictOrd.compare(v._1)(v1._1); + if (v2.tag === "EQ") { + go$a0 = v._2; + go$a1 = v1._2; + continue; + } + go$c = false; + go$r = v2; + continue; + } + $runtime.fail(); + } + $runtime.fail(); + }; + return go$r; + }; + return go(xs)(ys); + }, + Eq10: () => eq1List +}; +const ordNonEmpty = /* #__PURE__ */ Data$dNonEmpty.ordNonEmpty(ord1List); +const ord1NonEmptyList = /* #__PURE__ */ Data$dNonEmpty.ord1NonEmpty(ord1List); +const ordList = dictOrd => { + const $1 = dictOrd.Eq0(); + const eqList1 = { + eq: xs => ys => { + const go = go$a0$copy => go$a1$copy => go$a2$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$a2 = go$a2$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1, v2 = go$a2; + if (!v2) { + go$c = false; + go$r = false; + continue; + } + if (v.tag === "Nil") { + if (v1.tag === "Nil") { + go$c = false; + go$r = v2; + continue; + } + go$c = false; + go$r = false; + continue; + } + if (v.tag === "Cons") { + if (v1.tag === "Cons") { + go$a0 = v._2; + go$a1 = v1._2; + go$a2 = v2 && $1.eq(v1._1)(v._1); + continue; + } + go$c = false; + go$r = false; + continue; + } + go$c = false; + go$r = false; + continue; + }; + return go$r; + }; + return go(xs)(ys)(true); + } + }; + return {compare: ord1List.compare1(dictOrd), Eq0: () => eqList1}; +}; +const ordNonEmptyList = dictOrd => ordNonEmpty(dictOrd); +const comonadNonEmptyList = {extract: v => v._1, Extend0: () => extendNonEmptyList}; +const applyList = { + apply: v => v1 => { + if (v.tag === "Nil") { return Nil; } + if (v.tag === "Cons") { return foldableList.foldr(Cons)(applyList.apply(v._2)(v1))(listMap(v._1)(v1)); } + $runtime.fail(); + }, + Functor0: () => functorList +}; +const applyNonEmptyList = { + apply: v => v1 => Data$dNonEmpty.$NonEmpty( + v._1(v1._1), + foldableList.foldr(Cons)(applyList.apply($List("Cons", v._1, v._2))(v1._2))(applyList.apply(v._2)($List("Cons", v1._1, Nil))) + ), + Functor0: () => functorNonEmptyList +}; +const bindList = { + bind: v => v1 => { + if (v.tag === "Nil") { return Nil; } + if (v.tag === "Cons") { return foldableList.foldr(Cons)(bindList.bind(v._2)(v1))(v1(v._1)); } + $runtime.fail(); + }, + Apply0: () => applyList +}; +const bindNonEmptyList = { + bind: v => f => { + const v1 = f(v._1); + return Data$dNonEmpty.$NonEmpty( + v1._1, + foldableList.foldr(Cons)(bindList.bind(v._2)(x => { + const $4 = f(x); + return $List("Cons", $4._1, $4._2); + }))(v1._2) + ); + }, + Apply0: () => applyNonEmptyList +}; +const applicativeList = {pure: a => $List("Cons", a, Nil), Apply0: () => applyList}; +const monadList = {Applicative0: () => applicativeList, Bind1: () => bindList}; +const altNonEmptyList = /* #__PURE__ */ (() => ({alt: semigroupNonEmptyList.append, Functor0: () => functorNonEmptyList}))(); +const altList = /* #__PURE__ */ (() => ({alt: semigroupList.append, Functor0: () => functorList}))(); +const plusList = {empty: Nil, Alt0: () => altList}; +const alternativeList = {Applicative0: () => applicativeList, Plus1: () => plusList}; +const monadPlusList = {Monad0: () => monadList, Alternative1: () => alternativeList}; +const applicativeNonEmptyList = {pure: x => Data$dNonEmpty.$NonEmpty(x, Nil), Apply0: () => applyNonEmptyList}; +const monadNonEmptyList = {Applicative0: () => applicativeNonEmptyList, Bind1: () => bindNonEmptyList}; +const traversable1NonEmptyList = { + traverse1: dictApply => { + const Functor0 = dictApply.Functor0(); + const map = dictApply.Functor0().map; + return f => v => Functor0.map(v1 => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const b = go$a0, v$1 = go$a1; + if (v$1.tag === "Nil") { + go$c = false; + go$r = b; + continue; + } + if (v$1.tag === "Cons") { + go$a0 = Data$dNonEmpty.$NonEmpty(v$1._1, $List("Cons", b._1, b._2)); + go$a1 = v$1._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(Data$dNonEmpty.$NonEmpty(v1._1, Nil))(v1._2); + })((() => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const b = go$a0, v$1 = go$a1; + if (v$1.tag === "Nil") { + go$c = false; + go$r = b; + continue; + } + if (v$1.tag === "Cons") { + go$a0 = dictApply.apply(map(b$1 => a => Data$dNonEmpty.$NonEmpty(a, $List("Cons", b$1._1, b$1._2)))(b))(f(v$1._1)); + go$a1 = v$1._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(Functor0.map(applicativeNonEmptyList.pure)(f(v._1)))(v._2); + })()); + }, + sequence1: dictApply => traversable1NonEmptyList.traverse1(dictApply)(identity), + Foldable10: () => foldable1NonEmptyList, + Traversable1: () => traversableNonEmptyList +}; +export { + $List, + Cons, + Nil, + NonEmptyList, + altList, + altNonEmptyList, + alternativeList, + applicativeList, + applicativeNonEmptyList, + applyList, + applyNonEmptyList, + bindList, + bindNonEmptyList, + comonadNonEmptyList, + eq1List, + eq1NonEmptyList, + eqList, + eqNonEmptyList, + extendList, + extendNonEmptyList, + foldable1NonEmptyList, + foldableList, + foldableNonEmptyList, + foldableWithIndexList, + foldableWithIndexNonEmpty, + foldableWithIndexNonEmptyList, + functorList, + functorNonEmptyList, + functorWithIndexList, + functorWithIndexNonEmptyList, + identity, + listMap, + mapWithIndex, + monadList, + monadNonEmptyList, + monadPlusList, + monoidList, + nelCons, + newtypeNonEmptyList, + ord1List, + ord1NonEmptyList, + ordList, + ordNonEmpty, + ordNonEmptyList, + plusList, + semigroupList, + semigroupNonEmptyList, + showList, + showNonEmptyList, + toList, + traversable1NonEmptyList, + traversableList, + traversableNonEmptyList, + traversableWithIndexList, + traversableWithIndexNonEmptyList, + traverseWithIndex, + unfoldable1List, + unfoldable1NonEmptyList, + unfoldableList +}; diff --git a/.storybook/purescript-indexer/output-es/Data.List.ZipList/index.js b/.storybook/purescript-indexer/output-es/Data.List.ZipList/index.js new file mode 100644 index 0000000..073ca20 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.List.ZipList/index.js @@ -0,0 +1,47 @@ +// | This module defines the type of _zip lists_, i.e. linked lists +// | with a zippy `Applicative` instance. +import * as $runtime from "../runtime.js"; +import * as Data$dFunction from "../Data.Function/index.js"; +import * as Data$dList$dLazy from "../Data.List.Lazy/index.js"; +import * as Data$dList$dLazy$dTypes from "../Data.List.Lazy.Types/index.js"; +import * as Partial from "../Partial/index.js"; +const ZipList = x => x; +const traversableZipList = Data$dList$dLazy$dTypes.traversableList; +const showZipList = dictShow => { + const show = Data$dList$dLazy$dTypes.showList(dictShow).show; + return {show: v => "(ZipList " + (show(v) + ")")}; +}; +const semigroupZipList = Data$dList$dLazy$dTypes.semigroupList; +const ordZipList = dictOrd => Data$dList$dLazy$dTypes.ordList(dictOrd); +const newtypeZipList = {Coercible0: () => undefined}; +const monoidZipList = Data$dList$dLazy$dTypes.monoidList; +const functorZipList = Data$dList$dLazy$dTypes.functorList; +const foldableZipList = Data$dList$dLazy$dTypes.foldableList; +const eqZipList = dictEq => ({eq: Data$dList$dLazy$dTypes.eq1List.eq1(dictEq)}); +const applyZipList = {apply: v => v1 => Data$dList$dLazy.zipWith(Data$dFunction.apply)(v)(v1), Functor0: () => Data$dList$dLazy$dTypes.functorList}; +const zipListIsNotBind = () => ({bind: Partial._crashWith("bind: unreachable"), Apply0: () => applyZipList}); +const applicativeZipList = {pure: x => Data$dList$dLazy.repeat(x), Apply0: () => applyZipList}; +const altZipList = { + alt: v => v1 => Data$dList$dLazy$dTypes.semigroupList.append(v)(Data$dList$dLazy.drop(Data$dList$dLazy.length(v))(v1)), + Functor0: () => Data$dList$dLazy$dTypes.functorList +}; +const plusZipList = {empty: Data$dList$dLazy$dTypes.nil, Alt0: () => altZipList}; +const alternativeZipList = {Applicative0: () => applicativeZipList, Plus1: () => plusZipList}; +export { + ZipList, + altZipList, + alternativeZipList, + applicativeZipList, + applyZipList, + eqZipList, + foldableZipList, + functorZipList, + monoidZipList, + newtypeZipList, + ordZipList, + plusZipList, + semigroupZipList, + showZipList, + traversableZipList, + zipListIsNotBind +}; diff --git a/.storybook/purescript-indexer/output-es/Data.List/index.js b/.storybook/purescript-indexer/output-es/Data.List/index.js new file mode 100644 index 0000000..ea45e33 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.List/index.js @@ -0,0 +1,1042 @@ +// | This module defines a type of _strict_ linked lists, and associated helper +// | functions and type class instances. +// | +// | _Note_: Depending on your use-case, you may prefer to use +// | `Data.Sequence` instead, which might give better performance for certain +// | use cases. This module is an improvement over `Data.Array` when working with +// | immutable lists of data in a purely-functional setting, but does not have +// | good random-access performance. +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dRec$dClass from "../Control.Monad.Rec.Class/index.js"; +import * as Data$dList$dInternal from "../Data.List.Internal/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dNonEmpty from "../Data.NonEmpty/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const tailRecM2 = f => a => b => Control$dMonad$dRec$dClass.monadRecMaybe.tailRecM(o => f(o.a)(o.b))({a: a, b: b}); +const any = /* #__PURE__ */ (() => Data$dList$dTypes.foldableList.foldMap((() => { + const semigroupDisj1 = {append: v => v1 => v || v1}; + return {mempty: false, Semigroup0: () => semigroupDisj1}; +})()))(); +const identity = x => x; +const Pattern = x => x; +const updateAt = v => v1 => v2 => { + if (v2.tag === "Cons") { + if (v === 0) { return Data$dMaybe.$Maybe("Just", Data$dList$dTypes.$List("Cons", v1, v2._2)); } + const $3 = updateAt(v - 1 | 0)(v1)(v2._2); + if ($3.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dList$dTypes.$List("Cons", v2._1, $3._1)); } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.Nothing; +}; +const unzip = /* #__PURE__ */ (() => Data$dList$dTypes.foldableList.foldr(v => v1 => Data$dTuple.$Tuple( + Data$dList$dTypes.$List("Cons", v._1, v1._1), + Data$dList$dTypes.$List("Cons", v._2, v1._2) +))(Data$dTuple.$Tuple(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil)))(); +const uncons = v => { + if (v.tag === "Nil") { return Data$dMaybe.Nothing; } + if (v.tag === "Cons") { return Data$dMaybe.$Maybe("Just", {head: v._1, tail: v._2}); } + $runtime.fail(); +}; +const toUnfoldable = dictUnfoldable => dictUnfoldable.unfoldr(xs => { + if (xs.tag === "Nil") { return Data$dMaybe.Nothing; } + if (xs.tag === "Cons") { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(xs._1, xs._2)); } + $runtime.fail(); +}); +const tail = v => { + if (v.tag === "Nil") { return Data$dMaybe.Nothing; } + if (v.tag === "Cons") { return Data$dMaybe.$Maybe("Just", v._2); } + $runtime.fail(); +}; +const stripPrefix = dictEq => v => s => tailRecM2(prefix => input => { + if (input.tag === "Cons") { + if (prefix.tag === "Cons") { + if (dictEq.eq(prefix._1)(input._1)) { return Data$dMaybe.$Maybe("Just", Control$dMonad$dRec$dClass.$Step("Loop", {a: prefix._2, b: input._2})); } + return Data$dMaybe.Nothing; + } + if (prefix.tag === "Nil") { return Data$dMaybe.$Maybe("Just", Control$dMonad$dRec$dClass.$Step("Done", input)); } + return Data$dMaybe.Nothing; + } + if (prefix.tag === "Nil") { return Data$dMaybe.$Maybe("Just", Control$dMonad$dRec$dClass.$Step("Done", input)); } + return Data$dMaybe.Nothing; +})(v)(s); +const span = v => v1 => { + if (v1.tag === "Cons") { + if (v(v1._1)) { + const v2 = span(v)(v1._2); + return {init: Data$dList$dTypes.$List("Cons", v1._1, v2.init), rest: v2.rest}; + } + return {init: Data$dList$dTypes.Nil, rest: v1}; + } + return {init: Data$dList$dTypes.Nil, rest: v1}; +}; +const snoc = xs => x => Data$dList$dTypes.foldableList.foldr(Data$dList$dTypes.Cons)(Data$dList$dTypes.$List("Cons", x, Data$dList$dTypes.Nil))(xs); +const singleton = a => Data$dList$dTypes.$List("Cons", a, Data$dList$dTypes.Nil); +const sortBy = cmp => { + const merge = v => v1 => { + if (v.tag === "Cons") { + if (v1.tag === "Cons") { + if (cmp(v._1)(v1._1).tag === "GT") { return Data$dList$dTypes.$List("Cons", v1._1, merge(v)(v1._2)); } + return Data$dList$dTypes.$List("Cons", v._1, merge(v._2)(v1)); + } + if (v1.tag === "Nil") { return v; } + $runtime.fail(); + } + if (v.tag === "Nil") { return v1; } + if (v1.tag === "Nil") { return v; } + $runtime.fail(); + }; + const mergePairs = v => { + if (v.tag === "Cons") { + if (v._2.tag === "Cons") { return Data$dList$dTypes.$List("Cons", merge(v._1)(v._2._1), mergePairs(v._2._2)); } + return v; + } + return v; + }; + const mergeAll = mergeAll$a0$copy => { + let mergeAll$a0 = mergeAll$a0$copy, mergeAll$c = true, mergeAll$r; + while (mergeAll$c) { + const v = mergeAll$a0; + if (v.tag === "Cons") { + if (v._2.tag === "Nil") { + mergeAll$c = false; + mergeAll$r = v._1; + continue; + } + mergeAll$a0 = mergePairs(v); + continue; + } + mergeAll$a0 = mergePairs(v); + continue; + }; + return mergeAll$r; + }; + const $sequedesceascen = ($sequedesceascen$b$copy, $sequedesceascen$a0$copy, $sequedesceascen$a1$copy, $sequedesceascen$a2$copy) => { + let $sequedesceascen$b = $sequedesceascen$b$copy; + let $sequedesceascen$a0 = $sequedesceascen$a0$copy; + let $sequedesceascen$a1 = $sequedesceascen$a1$copy; + let $sequedesceascen$a2 = $sequedesceascen$a2$copy; + let $sequedesceascen$c = true; + let $sequedesceascen$r; + while ($sequedesceascen$c) { + if ($sequedesceascen$b === 0) { + const v = $sequedesceascen$a0; + if (v.tag === "Cons") { + if (v._2.tag === "Cons") { + if (cmp(v._1)(v._2._1).tag === "GT") { + $sequedesceascen$b = 1; + $sequedesceascen$a0 = v._2._1; + $sequedesceascen$a1 = Data$dList$dTypes.$List("Cons", v._1, Data$dList$dTypes.Nil); + $sequedesceascen$a2 = v._2._2; + continue; + } + $sequedesceascen$b = 2; + $sequedesceascen$a0 = v._2._1; + $sequedesceascen$a1 = v1 => Data$dList$dTypes.$List("Cons", v._1, v1); + $sequedesceascen$a2 = v._2._2; + continue; + } + $sequedesceascen$c = false; + $sequedesceascen$r = Data$dList$dTypes.$List("Cons", v, Data$dList$dTypes.Nil); + continue; + } + $sequedesceascen$c = false; + $sequedesceascen$r = Data$dList$dTypes.$List("Cons", v, Data$dList$dTypes.Nil); + continue; + } + if ($sequedesceascen$b === 1) { + const v = $sequedesceascen$a0, v1 = $sequedesceascen$a1, v2 = $sequedesceascen$a2; + if (v2.tag === "Cons") { + if (cmp(v)(v2._1).tag === "GT") { + $sequedesceascen$b = 1; + $sequedesceascen$a0 = v2._1; + $sequedesceascen$a1 = Data$dList$dTypes.$List("Cons", v, v1); + $sequedesceascen$a2 = v2._2; + continue; + } + $sequedesceascen$c = false; + $sequedesceascen$r = Data$dList$dTypes.$List("Cons", Data$dList$dTypes.$List("Cons", v, v1), sequences(v2)); + continue; + } + $sequedesceascen$c = false; + $sequedesceascen$r = Data$dList$dTypes.$List("Cons", Data$dList$dTypes.$List("Cons", v, v1), sequences(v2)); + continue; + } + if ($sequedesceascen$b === 2) { + const v = $sequedesceascen$a0, v1 = $sequedesceascen$a1, v2 = $sequedesceascen$a2; + if (v2.tag === "Cons") { + if ( + (() => { + const $8 = cmp(v)(v2._1); + return $8.tag === "LT" || !($8.tag === "GT"); + })() + ) { + $sequedesceascen$b = 2; + $sequedesceascen$a0 = v2._1; + $sequedesceascen$a1 = ys => v1(Data$dList$dTypes.$List("Cons", v, ys)); + $sequedesceascen$a2 = v2._2; + continue; + } + $sequedesceascen$c = false; + $sequedesceascen$r = Data$dList$dTypes.$List("Cons", v1(Data$dList$dTypes.$List("Cons", v, Data$dList$dTypes.Nil)), sequences(v2)); + continue; + } + $sequedesceascen$c = false; + $sequedesceascen$r = Data$dList$dTypes.$List("Cons", v1(Data$dList$dTypes.$List("Cons", v, Data$dList$dTypes.Nil)), sequences(v2)); + continue; + } + }; + return $sequedesceascen$r; + }; + const sequences = v => $sequedesceascen(0, v); + const descending = v => v1 => v2 => $sequedesceascen(1, v, v1, v2); + const ascending = v => v1 => v2 => $sequedesceascen(2, v, v1, v2); + return x => mergeAll(sequences(x)); +}; +const sort = dictOrd => xs => sortBy(dictOrd.compare)(xs); +const showPattern = dictShow => { + const show = Data$dList$dTypes.showList(dictShow).show; + return {show: v => "(Pattern " + (show(v) + ")")}; +}; +const reverse = /* #__PURE__ */ (() => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1; + if (v1.tag === "Nil") { + go$c = false; + go$r = v; + continue; + } + if (v1.tag === "Cons") { + go$a0 = Data$dList$dTypes.$List("Cons", v1._1, v); + go$a1 = v1._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(Data$dList$dTypes.Nil); +})(); +const take = /* #__PURE__ */ (() => { + const go = go$a0$copy => go$a1$copy => go$a2$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$a2 = go$a2$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1, v2 = go$a2; + if (v1 < 1) { + go$c = false; + go$r = reverse(v); + continue; + } + if (v2.tag === "Nil") { + go$c = false; + go$r = reverse(v); + continue; + } + if (v2.tag === "Cons") { + go$a0 = Data$dList$dTypes.$List("Cons", v2._1, v); + go$a1 = v1 - 1 | 0; + go$a2 = v2._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(Data$dList$dTypes.Nil); +})(); +const takeWhile = p => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1; + if (v1.tag === "Cons") { + if (p(v1._1)) { + go$a0 = Data$dList$dTypes.$List("Cons", v1._1, v); + go$a1 = v1._2; + continue; + } + go$c = false; + go$r = reverse(v); + continue; + } + go$c = false; + go$r = reverse(v); + continue; + }; + return go$r; + }; + return go(Data$dList$dTypes.Nil); +}; +const unsnoc = lst => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1; + if (v.tag === "Nil") { + go$c = false; + go$r = Data$dMaybe.Nothing; + continue; + } + if (v.tag === "Cons") { + if (v._2.tag === "Nil") { + go$c = false; + go$r = Data$dMaybe.$Maybe("Just", {revInit: v1, last: v._1}); + continue; + } + go$a0 = v._2; + go$a1 = Data$dList$dTypes.$List("Cons", v._1, v1); + continue; + } + $runtime.fail(); + }; + return go$r; + }; + const $2 = go(lst)(Data$dList$dTypes.Nil); + if ($2.tag === "Just") { return Data$dMaybe.$Maybe("Just", {init: reverse($2._1.revInit), last: $2._1.last}); } + return Data$dMaybe.Nothing; +}; +const zipWith = f => xs => ys => { + const go = go$a0$copy => go$a1$copy => go$a2$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$a2 = go$a2$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1, v2 = go$a2; + if (v.tag === "Nil") { + go$c = false; + go$r = v2; + continue; + } + if (v1.tag === "Nil") { + go$c = false; + go$r = v2; + continue; + } + if (v.tag === "Cons") { + if (v1.tag === "Cons") { + go$a0 = v._2; + go$a1 = v1._2; + go$a2 = Data$dList$dTypes.$List("Cons", f(v._1)(v1._1), v2); + continue; + } + $runtime.fail(); + } + $runtime.fail(); + }; + return go$r; + }; + return reverse(go(xs)(ys)(Data$dList$dTypes.Nil)); +}; +const zip = /* #__PURE__ */ zipWith(Data$dTuple.Tuple); +const zipWithA = dictApplicative => { + const sequence1 = Data$dList$dTypes.traversableList.traverse(dictApplicative)(Data$dList$dTypes.identity); + return f => xs => ys => sequence1(zipWith(f)(xs)(ys)); +}; +const range = start => end => { + if (start === end) { return Data$dList$dTypes.$List("Cons", start, Data$dList$dTypes.Nil); } + const go = go$a0$copy => go$a1$copy => go$a2$copy => go$a3$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$a2 = go$a2$copy, go$a3 = go$a3$copy, go$c = true, go$r; + while (go$c) { + const s = go$a0, e = go$a1, step = go$a2, rest = go$a3; + if (s === e) { + go$c = false; + go$r = Data$dList$dTypes.$List("Cons", s, rest); + continue; + } + go$a0 = s + step | 0; + go$a1 = e; + go$a2 = step; + go$a3 = Data$dList$dTypes.$List("Cons", s, rest); + continue; + }; + return go$r; + }; + return go(end)(start)((() => { + if (start > end) { return 1; } + return -1; + })())(Data$dList$dTypes.Nil); +}; +const partition = p => xs => Data$dList$dTypes.foldableList.foldr(x => v => { + if (p(x)) { return {no: v.no, yes: Data$dList$dTypes.$List("Cons", x, v.yes)}; } + return {no: Data$dList$dTypes.$List("Cons", x, v.no), yes: v.yes}; +})({no: Data$dList$dTypes.Nil, yes: Data$dList$dTypes.Nil})(xs); +const $$null = v => v.tag === "Nil"; +const nubBy = p => { + const go = go$a0$copy => go$a1$copy => go$a2$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$a2 = go$a2$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1, v2 = go$a2; + if (v2.tag === "Nil") { + go$c = false; + go$r = v1; + continue; + } + if (v2.tag === "Cons") { + const v3 = Data$dList$dInternal.insertAndLookupBy(p)(v2._1)(v); + if (v3.found) { + go$a0 = v3.result; + go$a1 = v1; + go$a2 = v2._2; + continue; + } + go$a0 = v3.result; + go$a1 = Data$dList$dTypes.$List("Cons", v2._1, v1); + go$a2 = v2._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + const $2 = go(Data$dList$dInternal.Leaf)(Data$dList$dTypes.Nil); + return x => reverse($2(x)); +}; +const nub = dictOrd => nubBy(dictOrd.compare); +const newtypePattern = {Coercible0: () => undefined}; +const mapMaybe = f => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1; + if (v1.tag === "Nil") { + go$c = false; + go$r = reverse(v); + continue; + } + if (v1.tag === "Cons") { + const v2 = f(v1._1); + if (v2.tag === "Nothing") { + go$a0 = v; + go$a1 = v1._2; + continue; + } + if (v2.tag === "Just") { + go$a0 = Data$dList$dTypes.$List("Cons", v2._1, v); + go$a1 = v1._2; + continue; + } + $runtime.fail(); + } + $runtime.fail(); + }; + return go$r; + }; + return go(Data$dList$dTypes.Nil); +}; +const manyRec = dictMonadRec => { + const bind1 = dictMonadRec.Monad0().Bind1().bind; + return dictAlternative => { + const Alt0 = dictAlternative.Plus1().Alt0(); + const map1 = Alt0.Functor0().map; + const pure = dictAlternative.Applicative0().pure; + return p => dictMonadRec.tailRecM(acc => bind1(Alt0.alt(map1(Control$dMonad$dRec$dClass.Loop)(p))(pure(Control$dMonad$dRec$dClass.$Step("Done", Data$dUnit.unit))))(aa => pure(Control$dMonad$dRec$dClass.bifunctorStep.bimap(v => Data$dList$dTypes.$List( + "Cons", + v, + acc + ))(v => reverse(acc))(aa))))(Data$dList$dTypes.Nil); + }; +}; +const someRec = dictMonadRec => { + const manyRec1 = manyRec(dictMonadRec); + return dictAlternative => { + const apply = dictAlternative.Applicative0().Apply0().apply; + const map1 = dictAlternative.Plus1().Alt0().Functor0().map; + const manyRec2 = manyRec1(dictAlternative); + return v => apply(map1(Data$dList$dTypes.Cons)(v))(manyRec2(v)); + }; +}; +const some = dictAlternative => { + const apply = dictAlternative.Applicative0().Apply0().apply; + const map1 = dictAlternative.Plus1().Alt0().Functor0().map; + return dictLazy => v => apply(map1(Data$dList$dTypes.Cons)(v))(dictLazy.defer(v1 => many(dictAlternative)(dictLazy)(v))); +}; +const many = dictAlternative => { + const alt = dictAlternative.Plus1().Alt0().alt; + const pure = dictAlternative.Applicative0().pure; + return dictLazy => v => alt(some(dictAlternative)(dictLazy)(v))(pure(Data$dList$dTypes.Nil)); +}; +const length = /* #__PURE__ */ (() => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const b = go$a0, v = go$a1; + if (v.tag === "Nil") { + go$c = false; + go$r = b; + continue; + } + if (v.tag === "Cons") { + go$a0 = b + 1 | 0; + go$a1 = v._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(0); +})(); +const last = last$a0$copy => { + let last$a0 = last$a0$copy, last$c = true, last$r; + while (last$c) { + const v = last$a0; + if (v.tag === "Cons") { + if (v._2.tag === "Nil") { + last$c = false; + last$r = Data$dMaybe.$Maybe("Just", v._1); + continue; + } + last$a0 = v._2; + continue; + } + last$c = false; + last$r = Data$dMaybe.Nothing; + continue; + }; + return last$r; +}; +const insertBy = v => v1 => v2 => { + if (v2.tag === "Nil") { return Data$dList$dTypes.$List("Cons", v1, Data$dList$dTypes.Nil); } + if (v2.tag === "Cons") { + if (v(v1)(v2._1).tag === "GT") { return Data$dList$dTypes.$List("Cons", v2._1, insertBy(v)(v1)(v2._2)); } + return Data$dList$dTypes.$List("Cons", v1, v2); + } + $runtime.fail(); +}; +const insertAt = v => v1 => v2 => { + if (v === 0) { return Data$dMaybe.$Maybe("Just", Data$dList$dTypes.$List("Cons", v1, v2)); } + if (v2.tag === "Cons") { + const $3 = insertAt(v - 1 | 0)(v1)(v2._2); + if ($3.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dList$dTypes.$List("Cons", v2._1, $3._1)); } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.Nothing; +}; +const insert = dictOrd => insertBy(dictOrd.compare); +const init = lst => { + const $1 = unsnoc(lst); + if ($1.tag === "Just") { return Data$dMaybe.$Maybe("Just", $1._1.init); } + return Data$dMaybe.Nothing; +}; +const index = index$a0$copy => index$a1$copy => { + let index$a0 = index$a0$copy, index$a1 = index$a1$copy, index$c = true, index$r; + while (index$c) { + const v = index$a0, v1 = index$a1; + if (v.tag === "Nil") { + index$c = false; + index$r = Data$dMaybe.Nothing; + continue; + } + if (v.tag === "Cons") { + if (v1 === 0) { + index$c = false; + index$r = Data$dMaybe.$Maybe("Just", v._1); + continue; + } + index$a0 = v._2; + index$a1 = v1 - 1 | 0; + continue; + } + $runtime.fail(); + }; + return index$r; +}; +const head = v => { + if (v.tag === "Nil") { return Data$dMaybe.Nothing; } + if (v.tag === "Cons") { return Data$dMaybe.$Maybe("Just", v._1); } + $runtime.fail(); +}; +const transpose = v => { + if (v.tag === "Nil") { return Data$dList$dTypes.Nil; } + if (v.tag === "Cons") { + if (v._1.tag === "Nil") { return transpose(v._2); } + if (v._1.tag === "Cons") { + return Data$dList$dTypes.$List( + "Cons", + Data$dList$dTypes.$List("Cons", v._1._1, mapMaybe(head)(v._2)), + transpose(Data$dList$dTypes.$List("Cons", v._1._2, mapMaybe(tail)(v._2))) + ); + } + $runtime.fail(); + } + $runtime.fail(); +}; +const groupBy = v => v1 => { + if (v1.tag === "Nil") { return Data$dList$dTypes.Nil; } + if (v1.tag === "Cons") { + const v2 = span(v(v1._1))(v1._2); + return Data$dList$dTypes.$List("Cons", Data$dNonEmpty.$NonEmpty(v1._1, v2.init), groupBy(v)(v2.rest)); + } + $runtime.fail(); +}; +const groupAllBy = p => { + const $1 = groupBy(x => y => p(x)(y).tag === "EQ"); + const $2 = sortBy(p); + return x => $1($2(x)); +}; +const group = dictEq => groupBy(dictEq.eq); +const groupAll = dictOrd => { + const $1 = group(dictOrd.Eq0()); + return x => $1(sortBy(dictOrd.compare)(x)); +}; +const fromFoldable = dictFoldable => dictFoldable.foldr(Data$dList$dTypes.Cons)(Data$dList$dTypes.Nil); +const foldM = dictMonad => { + const pure = dictMonad.Applicative0().pure; + const bind1 = dictMonad.Bind1().bind; + return v => v1 => v2 => { + if (v2.tag === "Nil") { return pure(v1); } + if (v2.tag === "Cons") { return bind1(v(v1)(v2._1))(b$p => foldM(dictMonad)(v)(b$p)(v2._2)); } + $runtime.fail(); + }; +}; +const findIndex = fn => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1; + if (v1.tag === "Cons") { + if (fn(v1._1)) { + go$c = false; + go$r = Data$dMaybe.$Maybe("Just", v); + continue; + } + go$a0 = v + 1 | 0; + go$a1 = v1._2; + continue; + } + if (v1.tag === "Nil") { + go$c = false; + go$r = Data$dMaybe.Nothing; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(0); +}; +const findLastIndex = fn => xs => { + const $2 = findIndex(fn)(reverse(xs)); + if ($2.tag === "Just") { + return Data$dMaybe.$Maybe( + "Just", + (() => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const b = go$a0, v = go$a1; + if (v.tag === "Nil") { + go$c = false; + go$r = b; + continue; + } + if (v.tag === "Cons") { + go$a0 = b + 1 | 0; + go$a1 = v._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return (go(0)(xs) - 1 | 0) - $2._1 | 0; + })() + ); + } + return Data$dMaybe.Nothing; +}; +const filterM = dictMonad => { + const pure = dictMonad.Applicative0().pure; + const bind1 = dictMonad.Bind1().bind; + return v => v1 => { + if (v1.tag === "Nil") { return pure(Data$dList$dTypes.Nil); } + if (v1.tag === "Cons") { + return bind1(v(v1._1))(b => bind1(filterM(dictMonad)(v)(v1._2))(xs$p => pure((() => { + if (b) { return Data$dList$dTypes.$List("Cons", v1._1, xs$p); } + return xs$p; + })()))); + } + $runtime.fail(); + }; +}; +const filter = p => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1; + if (v1.tag === "Nil") { + go$c = false; + go$r = reverse(v); + continue; + } + if (v1.tag === "Cons") { + if (p(v1._1)) { + go$a0 = Data$dList$dTypes.$List("Cons", v1._1, v); + go$a1 = v1._2; + continue; + } + go$a0 = v; + go$a1 = v1._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(Data$dList$dTypes.Nil); +}; +const intersectBy = v => v1 => v2 => { + if (v1.tag === "Nil") { return Data$dList$dTypes.Nil; } + if (v2.tag === "Nil") { return Data$dList$dTypes.Nil; } + return filter(x => any(v(x))(v2))(v1); +}; +const intersect = dictEq => intersectBy(dictEq.eq); +const nubByEq = v => v1 => { + if (v1.tag === "Nil") { return Data$dList$dTypes.Nil; } + if (v1.tag === "Cons") { return Data$dList$dTypes.$List("Cons", v1._1, nubByEq(v)(filter(y => !v(v1._1)(y))(v1._2))); } + $runtime.fail(); +}; +const nubEq = dictEq => nubByEq(dictEq.eq); +const eqPattern = dictEq => ( + { + eq: x => y => { + const go = go$a0$copy => go$a1$copy => go$a2$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$a2 = go$a2$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1, v2 = go$a2; + if (!v2) { + go$c = false; + go$r = false; + continue; + } + if (v.tag === "Nil") { + if (v1.tag === "Nil") { + go$c = false; + go$r = v2; + continue; + } + go$c = false; + go$r = false; + continue; + } + if (v.tag === "Cons") { + if (v1.tag === "Cons") { + go$a0 = v._2; + go$a1 = v1._2; + go$a2 = v2 && dictEq.eq(v1._1)(v._1); + continue; + } + go$c = false; + go$r = false; + continue; + } + go$c = false; + go$r = false; + continue; + }; + return go$r; + }; + return go(x)(y)(true); + } + } +); +const ordPattern = dictOrd => { + const compare = Data$dList$dTypes.ordList(dictOrd).compare; + const $2 = dictOrd.Eq0(); + const eqPattern1 = { + eq: x => y => { + const go = go$a0$copy => go$a1$copy => go$a2$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$a2 = go$a2$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1, v2 = go$a2; + if (!v2) { + go$c = false; + go$r = false; + continue; + } + if (v.tag === "Nil") { + if (v1.tag === "Nil") { + go$c = false; + go$r = v2; + continue; + } + go$c = false; + go$r = false; + continue; + } + if (v.tag === "Cons") { + if (v1.tag === "Cons") { + go$a0 = v._2; + go$a1 = v1._2; + go$a2 = v2 && $2.eq(v1._1)(v._1); + continue; + } + go$c = false; + go$r = false; + continue; + } + go$c = false; + go$r = false; + continue; + }; + return go$r; + }; + return go(x)(y)(true); + } + }; + return {compare: x => y => compare(x)(y), Eq0: () => eqPattern1}; +}; +const elemLastIndex = dictEq => x => findLastIndex(v => dictEq.eq(v)(x)); +const elemIndex = dictEq => x => findIndex(v => dictEq.eq(v)(x)); +const dropWhile = p => { + const go = go$a0$copy => { + let go$a0 = go$a0$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0; + if (v.tag === "Cons") { + if (p(v._1)) { + go$a0 = v._2; + continue; + } + go$c = false; + go$r = v; + continue; + } + go$c = false; + go$r = v; + continue; + }; + return go$r; + }; + return go; +}; +const dropEnd = n => xs => take((() => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const b = go$a0, v = go$a1; + if (v.tag === "Nil") { + go$c = false; + go$r = b; + continue; + } + if (v.tag === "Cons") { + go$a0 = b + 1 | 0; + go$a1 = v._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(0)(xs) - n | 0; +})())(xs); +const drop = drop$a0$copy => drop$a1$copy => { + let drop$a0 = drop$a0$copy, drop$a1 = drop$a1$copy, drop$c = true, drop$r; + while (drop$c) { + const v = drop$a0, v1 = drop$a1; + if (v < 1) { + drop$c = false; + drop$r = v1; + continue; + } + if (v1.tag === "Nil") { + drop$c = false; + drop$r = Data$dList$dTypes.Nil; + continue; + } + if (v1.tag === "Cons") { + drop$a0 = v - 1 | 0; + drop$a1 = v1._2; + continue; + } + $runtime.fail(); + }; + return drop$r; +}; +const slice = start => end => xs => take(end - start | 0)(drop(start)(xs)); +const takeEnd = n => xs => drop((() => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const b = go$a0, v = go$a1; + if (v.tag === "Nil") { + go$c = false; + go$r = b; + continue; + } + if (v.tag === "Cons") { + go$a0 = b + 1 | 0; + go$a1 = v._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(0)(xs) - n | 0; +})())(xs); +const deleteBy = v => v1 => v2 => { + if (v2.tag === "Nil") { return Data$dList$dTypes.Nil; } + if (v2.tag === "Cons") { + if (v(v1)(v2._1)) { return v2._2; } + return Data$dList$dTypes.$List("Cons", v2._1, deleteBy(v)(v1)(v2._2)); + } + $runtime.fail(); +}; +const unionBy = eq2 => xs => ys => Data$dList$dTypes.foldableList.foldr(Data$dList$dTypes.Cons)((() => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const b = go$a0, v = go$a1; + if (v.tag === "Nil") { + go$c = false; + go$r = b; + continue; + } + if (v.tag === "Cons") { + go$a0 = deleteBy(eq2)(v._1)(b); + go$a1 = v._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(nubByEq(eq2)(ys))(xs); +})())(xs); +const union = dictEq => unionBy(dictEq.eq); +const deleteAt = v => v1 => { + if (v1.tag === "Cons") { + if (v === 0) { return Data$dMaybe.$Maybe("Just", v1._2); } + const $2 = deleteAt(v - 1 | 0)(v1._2); + if ($2.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dList$dTypes.$List("Cons", v1._1, $2._1)); } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.Nothing; +}; +const $$delete = dictEq => deleteBy(dictEq.eq); +const difference = dictEq => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const b = go$a0, v = go$a1; + if (v.tag === "Nil") { + go$c = false; + go$r = b; + continue; + } + if (v.tag === "Cons") { + go$a0 = deleteBy(dictEq.eq)(v._1)(b); + go$a1 = v._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go; +}; +const concatMap = b => a => Data$dList$dTypes.bindList.bind(a)(b); +const concat = v => Data$dList$dTypes.bindList.bind(v)(identity); +const catMaybes = /* #__PURE__ */ mapMaybe(identity); +const alterAt = v => v1 => v2 => { + if (v2.tag === "Cons") { + if (v === 0) { + return Data$dMaybe.$Maybe( + "Just", + (() => { + const v3 = v1(v2._1); + if (v3.tag === "Nothing") { return v2._2; } + if (v3.tag === "Just") { return Data$dList$dTypes.$List("Cons", v3._1, v2._2); } + $runtime.fail(); + })() + ); + } + const $3 = alterAt(v - 1 | 0)(v1)(v2._2); + if ($3.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dList$dTypes.$List("Cons", v2._1, $3._1)); } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.Nothing; +}; +const modifyAt = n => f => alterAt(n)(x => Data$dMaybe.$Maybe("Just", f(x))); +export { + Pattern, + alterAt, + any, + catMaybes, + concat, + concatMap, + $$delete as delete, + deleteAt, + deleteBy, + difference, + drop, + dropEnd, + dropWhile, + elemIndex, + elemLastIndex, + eqPattern, + filter, + filterM, + findIndex, + findLastIndex, + foldM, + fromFoldable, + group, + groupAll, + groupAllBy, + groupBy, + head, + identity, + index, + init, + insert, + insertAt, + insertBy, + intersect, + intersectBy, + last, + length, + many, + manyRec, + mapMaybe, + modifyAt, + newtypePattern, + nub, + nubBy, + nubByEq, + nubEq, + $$null as null, + ordPattern, + partition, + range, + reverse, + showPattern, + singleton, + slice, + snoc, + some, + someRec, + sort, + sortBy, + span, + stripPrefix, + tail, + tailRecM2, + take, + takeEnd, + takeWhile, + toUnfoldable, + transpose, + uncons, + union, + unionBy, + unsnoc, + unzip, + updateAt, + zip, + zipWith, + zipWithA +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Map.Gen/index.js b/.storybook/purescript-indexer/output-es/Data.Map.Gen/index.js new file mode 100644 index 0000000..ad68d10 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Map.Gen/index.js @@ -0,0 +1,16 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dGen from "../Control.Monad.Gen/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dMap$dInternal from "../Data.Map.Internal/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const genMap = dictMonadRec => dictMonadGen => { + const Bind1 = dictMonadGen.Monad0().Bind1(); + const Apply0 = Bind1.Apply0(); + const map = Apply0.Functor0().map; + const unfoldable1 = Control$dMonad$dGen.unfoldable(dictMonadRec)(dictMonadGen)(Data$dList$dTypes.unfoldableList); + return dictOrd => { + const fromFoldable = Data$dMap$dInternal.fromFoldable(dictOrd)(Data$dList$dTypes.foldableList); + return genKey => genValue => dictMonadGen.sized(size => Bind1.bind(dictMonadGen.chooseInt(0)(size))(newSize => dictMonadGen.resize(v => newSize)(map(fromFoldable)(unfoldable1(Apply0.apply(map(Data$dTuple.Tuple)(genKey))(genValue)))))); + }; +}; +export {genMap}; diff --git a/.storybook/purescript-indexer/output-es/Data.Map.Internal/index.js b/.storybook/purescript-indexer/output-es/Data.Map.Internal/index.js new file mode 100644 index 0000000..bc55037 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Map.Internal/index.js @@ -0,0 +1,1729 @@ +// | This module defines a type of maps as balanced 2-3 trees, based on +// | +import * as $runtime from "../runtime.js"; +import * as Data$dEq from "../Data.Eq/index.js"; +import * as Data$dFunction from "../Data.Function/index.js"; +import * as Data$dList from "../Data.List/index.js"; +import * as Data$dList$dLazy from "../Data.List.Lazy/index.js"; +import * as Data$dList$dLazy$dTypes from "../Data.List.Lazy.Types/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dShow from "../Data.Show/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnfoldable from "../Data.Unfoldable/index.js"; +import * as Partial from "../Partial/index.js"; +const $KickUp = (_1, _2, _3, _4) => ({tag: "KickUp", _1, _2, _3, _4}); +const $Map = (tag, _1, _2, _3, _4, _5, _6, _7) => ({tag, _1, _2, _3, _4, _5, _6, _7}); +const $TreeContext = (tag, _1, _2, _3, _4, _5, _6) => ({tag, _1, _2, _3, _4, _5, _6}); +const all = /* #__PURE__ */ (() => Data$dList$dLazy$dTypes.foldableList.foldMap((() => { + const semigroupConj1 = {append: v => v1 => v && v1}; + return {mempty: true, Semigroup0: () => semigroupConj1}; +})()))(); +const identity = x => x; +const nub = /* #__PURE__ */ (() => Data$dList.nubBy(Data$dOrd.ordInt.compare))(); +const Leaf = /* #__PURE__ */ $Map("Leaf"); +const Two = value0 => value1 => value2 => value3 => $Map("Two", value0, value1, value2, value3); +const Three = value0 => value1 => value2 => value3 => value4 => value5 => value6 => $Map("Three", value0, value1, value2, value3, value4, value5, value6); +const TwoLeft = value0 => value1 => value2 => $TreeContext("TwoLeft", value0, value1, value2); +const TwoRight = value0 => value1 => value2 => $TreeContext("TwoRight", value0, value1, value2); +const ThreeLeft = value0 => value1 => value2 => value3 => value4 => value5 => $TreeContext("ThreeLeft", value0, value1, value2, value3, value4, value5); +const ThreeMiddle = value0 => value1 => value2 => value3 => value4 => value5 => $TreeContext("ThreeMiddle", value0, value1, value2, value3, value4, value5); +const ThreeRight = value0 => value1 => value2 => value3 => value4 => value5 => $TreeContext("ThreeRight", value0, value1, value2, value3, value4, value5); +const KickUp = value0 => value1 => value2 => value3 => $KickUp(value0, value1, value2, value3); +const size = v => { + if (v.tag === "Leaf") { return 0; } + if (v.tag === "Two") { return (1 + size(v._1) | 0) + size(v._4) | 0; } + if (v.tag === "Three") { return ((2 + size(v._1) | 0) + size(v._4) | 0) + size(v._7) | 0; } + $runtime.fail(); +}; +const singleton = k => v => $Map("Two", Leaf, k, v, Leaf); +const toUnfoldable = dictUnfoldable => m => { + const go = go$a0$copy => { + let go$a0 = go$a0$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0; + if (v.tag === "Nil") { + go$c = false; + go$r = Data$dMaybe.Nothing; + continue; + } + if (v.tag === "Cons") { + if (v._1.tag === "Leaf") { + go$a0 = v._2; + continue; + } + if (v._1.tag === "Two") { + if (v._1._1.tag === "Leaf") { + if (v._1._4.tag === "Leaf") { + go$c = false; + go$r = Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(Data$dTuple.$Tuple(v._1._2, v._1._3), v._2)); + continue; + } + go$c = false; + go$r = Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(Data$dTuple.$Tuple(v._1._2, v._1._3), Data$dList$dTypes.$List("Cons", v._1._4, v._2))); + continue; + } + go$a0 = Data$dList$dTypes.$List( + "Cons", + v._1._1, + Data$dList$dTypes.$List("Cons", $Map("Two", Leaf, v._1._2, v._1._3, Leaf), Data$dList$dTypes.$List("Cons", v._1._4, v._2)) + ); + continue; + } + if (v._1.tag === "Three") { + go$a0 = Data$dList$dTypes.$List( + "Cons", + v._1._1, + Data$dList$dTypes.$List( + "Cons", + $Map("Two", Leaf, v._1._2, v._1._3, Leaf), + Data$dList$dTypes.$List("Cons", v._1._4, Data$dList$dTypes.$List("Cons", $Map("Two", Leaf, v._1._5, v._1._6, Leaf), Data$dList$dTypes.$List("Cons", v._1._7, v._2))) + ) + ); + continue; + } + $runtime.fail(); + } + $runtime.fail(); + }; + return go$r; + }; + return dictUnfoldable.unfoldr(go)(Data$dList$dTypes.$List("Cons", m, Data$dList$dTypes.Nil)); +}; +const toUnfoldableUnordered = dictUnfoldable => m => { + const go = go$a0$copy => { + let go$a0 = go$a0$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0; + if (v.tag === "Nil") { + go$c = false; + go$r = Data$dMaybe.Nothing; + continue; + } + if (v.tag === "Cons") { + if (v._1.tag === "Leaf") { + go$a0 = v._2; + continue; + } + if (v._1.tag === "Two") { + go$c = false; + go$r = Data$dMaybe.$Maybe( + "Just", + Data$dTuple.$Tuple(Data$dTuple.$Tuple(v._1._2, v._1._3), Data$dList$dTypes.$List("Cons", v._1._1, Data$dList$dTypes.$List("Cons", v._1._4, v._2))) + ); + continue; + } + if (v._1.tag === "Three") { + go$c = false; + go$r = Data$dMaybe.$Maybe( + "Just", + Data$dTuple.$Tuple( + Data$dTuple.$Tuple(v._1._2, v._1._3), + Data$dList$dTypes.$List( + "Cons", + $Map("Two", Leaf, v._1._5, v._1._6, Leaf), + Data$dList$dTypes.$List("Cons", v._1._1, Data$dList$dTypes.$List("Cons", v._1._4, Data$dList$dTypes.$List("Cons", v._1._7, v._2))) + ) + ) + ); + continue; + } + $runtime.fail(); + } + $runtime.fail(); + }; + return go$r; + }; + return dictUnfoldable.unfoldr(go)(Data$dList$dTypes.$List("Cons", m, Data$dList$dTypes.Nil)); +}; +const showTree = dictShow => dictShow1 => v => { + if (v.tag === "Leaf") { return "Leaf"; } + if (v.tag === "Two") { + return "Two (" + ( + showTree(dictShow)(dictShow1)(v._1) + (") (" + (dictShow.show(v._2) + (") (" + (dictShow1.show(v._3) + (") (" + (showTree(dictShow)(dictShow1)(v._4) + ")")))))) + ); + } + if (v.tag === "Three") { + return "Three (" + ( + showTree(dictShow)(dictShow1)(v._1) + ( + ") (" + ( + dictShow.show(v._2) + ( + ") (" + ( + dictShow1.show(v._3) + ( + ") (" + ( + showTree(dictShow)(dictShow1)(v._4) + (") (" + (dictShow.show(v._5) + (") (" + (dictShow1.show(v._6) + (") (" + (showTree(dictShow)(dictShow1)(v._7) + ")")))))) + ) + ) + ) + ) + ) + ) + ); + } + $runtime.fail(); +}; +const showMap = dictShow => dictShow1 => { + const show = Data$dShow.showArrayImpl(v => "(Tuple " + (dictShow.show(v._1) + (" " + (dictShow1.show(v._2) + ")")))); + return {show: m => "(fromFoldable " + (show(toUnfoldable(Data$dUnfoldable.unfoldableArray)(m)) + ")")}; +}; +const lookupLE = dictOrd => k => { + const go = v => { + if (v.tag === "Leaf") { return Data$dMaybe.Nothing; } + if (v.tag === "Two") { + const v2 = dictOrd.compare(k)(v._2); + if (v2.tag === "EQ") { return Data$dMaybe.$Maybe("Just", {key: v._2, value: v._3}); } + if (v2.tag === "GT") { + return Data$dMaybe.$Maybe( + "Just", + (() => { + const $5 = go(v._4); + if ($5.tag === "Nothing") { return {key: v._2, value: v._3}; } + if ($5.tag === "Just") { return $5._1; } + $runtime.fail(); + })() + ); + } + if (v2.tag === "LT") { return go(v._1); } + $runtime.fail(); + } + if (v.tag === "Three") { + const v3 = dictOrd.compare(k)(v._5); + if (v3.tag === "EQ") { return Data$dMaybe.$Maybe("Just", {key: v._5, value: v._6}); } + if (v3.tag === "GT") { + return Data$dMaybe.$Maybe( + "Just", + (() => { + const $5 = go(v._7); + if ($5.tag === "Nothing") { return {key: v._5, value: v._6}; } + if ($5.tag === "Just") { return $5._1; } + $runtime.fail(); + })() + ); + } + if (v3.tag === "LT") { return go($Map("Two", v._1, v._2, v._3, v._4)); } + $runtime.fail(); + } + $runtime.fail(); + }; + return go; +}; +const lookupGE = dictOrd => k => { + const go = v => { + if (v.tag === "Leaf") { return Data$dMaybe.Nothing; } + if (v.tag === "Two") { + const v2 = dictOrd.compare(k)(v._2); + if (v2.tag === "EQ") { return Data$dMaybe.$Maybe("Just", {key: v._2, value: v._3}); } + if (v2.tag === "LT") { + return Data$dMaybe.$Maybe( + "Just", + (() => { + const $5 = go(v._1); + if ($5.tag === "Nothing") { return {key: v._2, value: v._3}; } + if ($5.tag === "Just") { return $5._1; } + $runtime.fail(); + })() + ); + } + if (v2.tag === "GT") { return go(v._4); } + $runtime.fail(); + } + if (v.tag === "Three") { + const v3 = dictOrd.compare(k)(v._2); + if (v3.tag === "EQ") { return Data$dMaybe.$Maybe("Just", {key: v._2, value: v._3}); } + if (v3.tag === "LT") { + return Data$dMaybe.$Maybe( + "Just", + (() => { + const $5 = go(v._1); + if ($5.tag === "Nothing") { return {key: v._2, value: v._3}; } + if ($5.tag === "Just") { return $5._1; } + $runtime.fail(); + })() + ); + } + if (v3.tag === "GT") { return go($Map("Two", v._4, v._5, v._6, v._7)); } + $runtime.fail(); + } + $runtime.fail(); + }; + return go; +}; +const lookup = dictOrd => k => { + const go = go$a0$copy => { + let go$a0 = go$a0$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0; + if (v.tag === "Leaf") { + go$c = false; + go$r = Data$dMaybe.Nothing; + continue; + } + if (v.tag === "Two") { + const v2 = dictOrd.compare(k)(v._2); + if (v2.tag === "EQ") { + go$c = false; + go$r = Data$dMaybe.$Maybe("Just", v._3); + continue; + } + if (v2.tag === "LT") { + go$a0 = v._1; + continue; + } + go$a0 = v._4; + continue; + } + if (v.tag === "Three") { + const v3 = dictOrd.compare(k)(v._2); + if (v3.tag === "EQ") { + go$c = false; + go$r = Data$dMaybe.$Maybe("Just", v._3); + continue; + } + const v4 = dictOrd.compare(k)(v._5); + if (v4.tag === "EQ") { + go$c = false; + go$r = Data$dMaybe.$Maybe("Just", v._6); + continue; + } + if (v3.tag === "LT") { + go$a0 = v._1; + continue; + } + if (v4.tag === "GT") { + go$a0 = v._7; + continue; + } + go$a0 = v._4; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go; +}; +const member = dictOrd => k => m => { + const $3 = lookup(dictOrd)(k)(m); + if ($3.tag === "Nothing") { return false; } + if ($3.tag === "Just") { return true; } + $runtime.fail(); +}; +const isSubmap = dictOrd => dictEq => m1 => m2 => all(v => { + const $5 = lookup(dictOrd)(v._1)(m2); + if ($5.tag === "Nothing") { return false; } + if ($5.tag === "Just") { return dictEq.eq($5._1)(v._2); } + return false; +})(toUnfoldable(Data$dList$dLazy$dTypes.unfoldableList)(m1)); +const isEmpty = v => v.tag === "Leaf"; +const functorMap = { + map: v => v1 => { + if (v1.tag === "Leaf") { return Leaf; } + if (v1.tag === "Two") { return $Map("Two", functorMap.map(v)(v1._1), v1._2, v(v1._3), functorMap.map(v)(v1._4)); } + if (v1.tag === "Three") { return $Map("Three", functorMap.map(v)(v1._1), v1._2, v(v1._3), functorMap.map(v)(v1._4), v1._5, v(v1._6), functorMap.map(v)(v1._7)); } + $runtime.fail(); + } +}; +const functorWithIndexMap = { + mapWithIndex: v => v1 => { + if (v1.tag === "Leaf") { return Leaf; } + if (v1.tag === "Two") { return $Map("Two", functorWithIndexMap.mapWithIndex(v)(v1._1), v1._2, v(v1._2)(v1._3), functorWithIndexMap.mapWithIndex(v)(v1._4)); } + if (v1.tag === "Three") { + return $Map( + "Three", + functorWithIndexMap.mapWithIndex(v)(v1._1), + v1._2, + v(v1._2)(v1._3), + functorWithIndexMap.mapWithIndex(v)(v1._4), + v1._5, + v(v1._5)(v1._6), + functorWithIndexMap.mapWithIndex(v)(v1._7) + ); + } + $runtime.fail(); + }, + Functor0: () => functorMap +}; +const fromZipper = fromZipper$a0$copy => fromZipper$a1$copy => fromZipper$a2$copy => { + let fromZipper$a0 = fromZipper$a0$copy, fromZipper$a1 = fromZipper$a1$copy, fromZipper$a2 = fromZipper$a2$copy, fromZipper$c = true, fromZipper$r; + while (fromZipper$c) { + const dictOrd = fromZipper$a0, v = fromZipper$a1, v1 = fromZipper$a2; + if (v.tag === "Nil") { + fromZipper$c = false; + fromZipper$r = v1; + continue; + } + if (v.tag === "Cons") { + if (v._1.tag === "TwoLeft") { + fromZipper$a0 = dictOrd; + fromZipper$a1 = v._2; + fromZipper$a2 = $Map("Two", v1, v._1._1, v._1._2, v._1._3); + continue; + } + if (v._1.tag === "TwoRight") { + fromZipper$a0 = dictOrd; + fromZipper$a1 = v._2; + fromZipper$a2 = $Map("Two", v._1._1, v._1._2, v._1._3, v1); + continue; + } + if (v._1.tag === "ThreeLeft") { + fromZipper$a0 = dictOrd; + fromZipper$a1 = v._2; + fromZipper$a2 = $Map("Three", v1, v._1._1, v._1._2, v._1._3, v._1._4, v._1._5, v._1._6); + continue; + } + if (v._1.tag === "ThreeMiddle") { + fromZipper$a0 = dictOrd; + fromZipper$a1 = v._2; + fromZipper$a2 = $Map("Three", v._1._1, v._1._2, v._1._3, v1, v._1._4, v._1._5, v._1._6); + continue; + } + if (v._1.tag === "ThreeRight") { + fromZipper$a0 = dictOrd; + fromZipper$a1 = v._2; + fromZipper$a2 = $Map("Three", v._1._1, v._1._2, v._1._3, v._1._4, v._1._5, v._1._6, v1); + continue; + } + $runtime.fail(); + } + $runtime.fail(); + }; + return fromZipper$r; +}; +const insert = dictOrd => k => v => { + const up = up$a0$copy => up$a1$copy => { + let up$a0 = up$a0$copy, up$a1 = up$a1$copy, up$c = true, up$r; + while (up$c) { + const v1 = up$a0, v2 = up$a1; + if (v1.tag === "Nil") { + up$c = false; + up$r = $Map("Two", v2._1, v2._2, v2._3, v2._4); + continue; + } + if (v1.tag === "Cons") { + if (v1._1.tag === "TwoLeft") { + up$c = false; + up$r = fromZipper(dictOrd)(v1._2)($Map("Three", v2._1, v2._2, v2._3, v2._4, v1._1._1, v1._1._2, v1._1._3)); + continue; + } + if (v1._1.tag === "TwoRight") { + up$c = false; + up$r = fromZipper(dictOrd)(v1._2)($Map("Three", v1._1._1, v1._1._2, v1._1._3, v2._1, v2._2, v2._3, v2._4)); + continue; + } + if (v1._1.tag === "ThreeLeft") { + up$a0 = v1._2; + up$a1 = $KickUp($Map("Two", v2._1, v2._2, v2._3, v2._4), v1._1._1, v1._1._2, $Map("Two", v1._1._3, v1._1._4, v1._1._5, v1._1._6)); + continue; + } + if (v1._1.tag === "ThreeMiddle") { + up$a0 = v1._2; + up$a1 = $KickUp($Map("Two", v1._1._1, v1._1._2, v1._1._3, v2._1), v2._2, v2._3, $Map("Two", v2._4, v1._1._4, v1._1._5, v1._1._6)); + continue; + } + if (v1._1.tag === "ThreeRight") { + up$a0 = v1._2; + up$a1 = $KickUp($Map("Two", v1._1._1, v1._1._2, v1._1._3, v1._1._4), v1._1._5, v1._1._6, $Map("Two", v2._1, v2._2, v2._3, v2._4)); + continue; + } + $runtime.fail(); + } + $runtime.fail(); + }; + return up$r; + }; + const down = down$a0$copy => down$a1$copy => { + let down$a0 = down$a0$copy, down$a1 = down$a1$copy, down$c = true, down$r; + while (down$c) { + const v1 = down$a0, v2 = down$a1; + if (v2.tag === "Leaf") { + down$c = false; + down$r = up(v1)($KickUp(Leaf, k, v, Leaf)); + continue; + } + if (v2.tag === "Two") { + const v3 = dictOrd.compare(k)(v2._2); + if (v3.tag === "EQ") { + down$c = false; + down$r = fromZipper(dictOrd)(v1)($Map("Two", v2._1, k, v, v2._4)); + continue; + } + if (v3.tag === "LT") { + down$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("TwoLeft", v2._2, v2._3, v2._4), v1); + down$a1 = v2._1; + continue; + } + down$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("TwoRight", v2._1, v2._2, v2._3), v1); + down$a1 = v2._4; + continue; + } + if (v2.tag === "Three") { + const v3 = dictOrd.compare(k)(v2._2); + if (v3.tag === "EQ") { + down$c = false; + down$r = fromZipper(dictOrd)(v1)($Map("Three", v2._1, k, v, v2._4, v2._5, v2._6, v2._7)); + continue; + } + const v4 = dictOrd.compare(k)(v2._5); + if (v4.tag === "EQ") { + down$c = false; + down$r = fromZipper(dictOrd)(v1)($Map("Three", v2._1, v2._2, v2._3, v2._4, k, v, v2._7)); + continue; + } + if (v3.tag === "LT") { + down$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("ThreeLeft", v2._2, v2._3, v2._4, v2._5, v2._6, v2._7), v1); + down$a1 = v2._1; + continue; + } + if (v3.tag === "GT") { + if (v4.tag === "LT") { + down$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("ThreeMiddle", v2._1, v2._2, v2._3, v2._5, v2._6, v2._7), v1); + down$a1 = v2._4; + continue; + } + down$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("ThreeRight", v2._1, v2._2, v2._3, v2._4, v2._5, v2._6), v1); + down$a1 = v2._7; + continue; + } + down$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("ThreeRight", v2._1, v2._2, v2._3, v2._4, v2._5, v2._6), v1); + down$a1 = v2._7; + continue; + } + $runtime.fail(); + }; + return down$r; + }; + return down(Data$dList$dTypes.Nil); +}; +const pop = dictOrd => k => { + const up = up$a0$copy => up$a1$copy => { + let up$a0 = up$a0$copy, up$a1 = up$a1$copy, up$c = true, up$r; + while (up$c) { + const ctxs = up$a0, tree = up$a1; + if (ctxs.tag === "Nil") { + up$c = false; + up$r = tree; + continue; + } + if (ctxs.tag === "Cons") { + const $5 = (a, b, c, d, k1, k2, k3, v1, v2, v3) => fromZipper(dictOrd)(ctxs._2)($Map("Two", $Map("Two", a, k1, v1, b), k2, v2, $Map("Two", c, k3, v3, d))); + const $6 = (a, b, c, d, k1, k2, k3, v1, v2, v3) => fromZipper(dictOrd)(ctxs._2)($Map("Two", $Map("Two", a, k1, v1, b), k2, v2, $Map("Two", c, k3, v3, d))); + const $7 = (a, b, c, d, k1, k2, k3, v1, v2, v3) => fromZipper(dictOrd)(ctxs._2)($Map("Two", $Map("Three", a, k1, v1, b, k2, v2, c), k3, v3, d)); + const $8 = (a, b, c, d, k1, k2, k3, v1, v2, v3) => fromZipper(dictOrd)(ctxs._2)($Map("Two", $Map("Three", a, k1, v1, b, k2, v2, c), k3, v3, d)); + const $9 = (a, b, c, d, k1, k2, k3, v1, v2, v3) => fromZipper(dictOrd)(ctxs._2)($Map("Two", a, k1, v1, $Map("Three", b, k2, v2, c, k3, v3, d))); + const $10 = (a, b, c, d, k1, k2, k3, v1, v2, v3) => fromZipper(dictOrd)(ctxs._2)($Map("Two", a, k1, v1, $Map("Three", b, k2, v2, c, k3, v3, d))); + const $11 = (a, b, c, d, e, k1, k2, k3, k4, v1, v2, v3, v4) => fromZipper(dictOrd)(ctxs._2)($Map( + "Three", + $Map("Two", a, k1, v1, b), + k2, + v2, + $Map("Two", c, k3, v3, d), + k4, + v4, + e + )); + const $12 = (a, b, c, d, e, k1, k2, k3, k4, v1, v2, v3, v4) => fromZipper(dictOrd)(ctxs._2)($Map( + "Three", + $Map("Two", a, k1, v1, b), + k2, + v2, + $Map("Two", c, k3, v3, d), + k4, + v4, + e + )); + const $13 = (a, b, c, d, e, k1, k2, k3, k4, v1, v2, v3, v4) => fromZipper(dictOrd)(ctxs._2)($Map( + "Three", + a, + k1, + v1, + $Map("Two", b, k2, v2, c), + k3, + v3, + $Map("Two", d, k4, v4, e) + )); + const $14 = (a, b, c, d, e, k1, k2, k3, k4, v1, v2, v3, v4) => fromZipper(dictOrd)(ctxs._2)($Map( + "Three", + a, + k1, + v1, + $Map("Two", b, k2, v2, c), + k3, + v3, + $Map("Two", d, k4, v4, e) + )); + if (tree.tag === "Leaf") { + if (ctxs._1.tag === "TwoLeft") { + if (ctxs._1._3.tag === "Leaf") { + up$c = false; + up$r = fromZipper(dictOrd)(ctxs._2)($Map("Two", Leaf, ctxs._1._1, ctxs._1._2, Leaf)); + continue; + } + if (ctxs._1._3.tag === "Two") { + up$a0 = ctxs._2; + up$a1 = $Map("Three", tree, ctxs._1._1, ctxs._1._2, ctxs._1._3._1, ctxs._1._3._2, ctxs._1._3._3, ctxs._1._3._4); + continue; + } + if (ctxs._1._3.tag === "Three") { + up$c = false; + up$r = $5(tree, ctxs._1._3._1, ctxs._1._3._4, ctxs._1._3._7, ctxs._1._1, ctxs._1._3._2, ctxs._1._3._5, ctxs._1._2, ctxs._1._3._3, ctxs._1._3._6); + continue; + } + up$c = false; + up$r = Partial._crashWith("The impossible happened in partial function `up`."); + continue; + } + if (ctxs._1.tag === "TwoRight") { + if (ctxs._1._1.tag === "Leaf") { + up$c = false; + up$r = fromZipper(dictOrd)(ctxs._2)($Map("Two", Leaf, ctxs._1._2, ctxs._1._3, Leaf)); + continue; + } + if (ctxs._1._1.tag === "Two") { + up$a0 = ctxs._2; + up$a1 = $Map("Three", ctxs._1._1._1, ctxs._1._1._2, ctxs._1._1._3, ctxs._1._1._4, ctxs._1._2, ctxs._1._3, tree); + continue; + } + if (ctxs._1._1.tag === "Three") { + up$c = false; + up$r = $6(ctxs._1._1._1, ctxs._1._1._4, ctxs._1._1._7, tree, ctxs._1._1._2, ctxs._1._1._5, ctxs._1._2, ctxs._1._1._3, ctxs._1._1._6, ctxs._1._3); + continue; + } + up$c = false; + up$r = Partial._crashWith("The impossible happened in partial function `up`."); + continue; + } + if (ctxs._1.tag === "ThreeLeft") { + if (ctxs._1._6.tag === "Leaf") { + if (ctxs._1._3.tag === "Leaf") { + up$c = false; + up$r = fromZipper(dictOrd)(ctxs._2)($Map("Three", Leaf, ctxs._1._1, ctxs._1._2, Leaf, ctxs._1._4, ctxs._1._5, Leaf)); + continue; + } + if (ctxs._1._3.tag === "Two") { + up$c = false; + up$r = $7(tree, ctxs._1._3._1, ctxs._1._3._4, ctxs._1._6, ctxs._1._1, ctxs._1._3._2, ctxs._1._4, ctxs._1._2, ctxs._1._3._3, ctxs._1._5); + continue; + } + if (ctxs._1._3.tag === "Three") { + up$c = false; + up$r = $11( + tree, + ctxs._1._3._1, + ctxs._1._3._4, + ctxs._1._3._7, + ctxs._1._6, + ctxs._1._1, + ctxs._1._3._2, + ctxs._1._3._5, + ctxs._1._4, + ctxs._1._2, + ctxs._1._3._3, + ctxs._1._3._6, + ctxs._1._5 + ); + continue; + } + up$c = false; + up$r = Partial._crashWith("The impossible happened in partial function `up`."); + continue; + } + if (ctxs._1._3.tag === "Two") { + up$c = false; + up$r = $7(tree, ctxs._1._3._1, ctxs._1._3._4, ctxs._1._6, ctxs._1._1, ctxs._1._3._2, ctxs._1._4, ctxs._1._2, ctxs._1._3._3, ctxs._1._5); + continue; + } + if (ctxs._1._3.tag === "Three") { + up$c = false; + up$r = $11( + tree, + ctxs._1._3._1, + ctxs._1._3._4, + ctxs._1._3._7, + ctxs._1._6, + ctxs._1._1, + ctxs._1._3._2, + ctxs._1._3._5, + ctxs._1._4, + ctxs._1._2, + ctxs._1._3._3, + ctxs._1._3._6, + ctxs._1._5 + ); + continue; + } + up$c = false; + up$r = Partial._crashWith("The impossible happened in partial function `up`."); + continue; + } + if (ctxs._1.tag === "ThreeMiddle") { + if (ctxs._1._1.tag === "Leaf") { + if (ctxs._1._6.tag === "Leaf") { + up$c = false; + up$r = fromZipper(dictOrd)(ctxs._2)($Map("Three", Leaf, ctxs._1._2, ctxs._1._3, Leaf, ctxs._1._4, ctxs._1._5, Leaf)); + continue; + } + if (ctxs._1._6.tag === "Two") { + up$c = false; + up$r = $9(ctxs._1._1, tree, ctxs._1._6._1, ctxs._1._6._4, ctxs._1._2, ctxs._1._4, ctxs._1._6._2, ctxs._1._3, ctxs._1._5, ctxs._1._6._3); + continue; + } + if (ctxs._1._6.tag === "Three") { + up$c = false; + up$r = $13( + ctxs._1._1, + tree, + ctxs._1._6._1, + ctxs._1._6._4, + ctxs._1._6._7, + ctxs._1._2, + ctxs._1._4, + ctxs._1._6._2, + ctxs._1._6._5, + ctxs._1._3, + ctxs._1._5, + ctxs._1._6._3, + ctxs._1._6._6 + ); + continue; + } + up$c = false; + up$r = Partial._crashWith("The impossible happened in partial function `up`."); + continue; + } + if (ctxs._1._1.tag === "Two") { + up$c = false; + up$r = $8(ctxs._1._1._1, ctxs._1._1._4, tree, ctxs._1._6, ctxs._1._1._2, ctxs._1._2, ctxs._1._4, ctxs._1._1._3, ctxs._1._3, ctxs._1._5); + continue; + } + if (ctxs._1._6.tag === "Two") { + up$c = false; + up$r = $9(ctxs._1._1, tree, ctxs._1._6._1, ctxs._1._6._4, ctxs._1._2, ctxs._1._4, ctxs._1._6._2, ctxs._1._3, ctxs._1._5, ctxs._1._6._3); + continue; + } + if (ctxs._1._1.tag === "Three") { + up$c = false; + up$r = $12( + ctxs._1._1._1, + ctxs._1._1._4, + ctxs._1._1._7, + tree, + ctxs._1._6, + ctxs._1._1._2, + ctxs._1._1._5, + ctxs._1._2, + ctxs._1._4, + ctxs._1._1._3, + ctxs._1._1._6, + ctxs._1._3, + ctxs._1._5 + ); + continue; + } + if (ctxs._1._6.tag === "Three") { + up$c = false; + up$r = $13( + ctxs._1._1, + tree, + ctxs._1._6._1, + ctxs._1._6._4, + ctxs._1._6._7, + ctxs._1._2, + ctxs._1._4, + ctxs._1._6._2, + ctxs._1._6._5, + ctxs._1._3, + ctxs._1._5, + ctxs._1._6._3, + ctxs._1._6._6 + ); + continue; + } + up$c = false; + up$r = Partial._crashWith("The impossible happened in partial function `up`."); + continue; + } + if (ctxs._1.tag === "ThreeRight") { + if (ctxs._1._1.tag === "Leaf") { + if (ctxs._1._4.tag === "Leaf") { + up$c = false; + up$r = fromZipper(dictOrd)(ctxs._2)($Map("Three", Leaf, ctxs._1._2, ctxs._1._3, Leaf, ctxs._1._5, ctxs._1._6, Leaf)); + continue; + } + if (ctxs._1._4.tag === "Two") { + up$c = false; + up$r = $10(ctxs._1._1, ctxs._1._4._1, ctxs._1._4._4, tree, ctxs._1._2, ctxs._1._4._2, ctxs._1._5, ctxs._1._3, ctxs._1._4._3, ctxs._1._6); + continue; + } + if (ctxs._1._4.tag === "Three") { + up$c = false; + up$r = $14( + ctxs._1._1, + ctxs._1._4._1, + ctxs._1._4._4, + ctxs._1._4._7, + tree, + ctxs._1._2, + ctxs._1._4._2, + ctxs._1._4._5, + ctxs._1._5, + ctxs._1._3, + ctxs._1._4._3, + ctxs._1._4._6, + ctxs._1._6 + ); + continue; + } + up$c = false; + up$r = Partial._crashWith("The impossible happened in partial function `up`."); + continue; + } + if (ctxs._1._4.tag === "Two") { + up$c = false; + up$r = $10(ctxs._1._1, ctxs._1._4._1, ctxs._1._4._4, tree, ctxs._1._2, ctxs._1._4._2, ctxs._1._5, ctxs._1._3, ctxs._1._4._3, ctxs._1._6); + continue; + } + if (ctxs._1._4.tag === "Three") { + up$c = false; + up$r = $14( + ctxs._1._1, + ctxs._1._4._1, + ctxs._1._4._4, + ctxs._1._4._7, + tree, + ctxs._1._2, + ctxs._1._4._2, + ctxs._1._4._5, + ctxs._1._5, + ctxs._1._3, + ctxs._1._4._3, + ctxs._1._4._6, + ctxs._1._6 + ); + continue; + } + up$c = false; + up$r = Partial._crashWith("The impossible happened in partial function `up`."); + continue; + } + up$c = false; + up$r = Partial._crashWith("The impossible happened in partial function `up`."); + continue; + } + if (ctxs._1.tag === "TwoLeft") { + if (ctxs._1._3.tag === "Two") { + up$a0 = ctxs._2; + up$a1 = $Map("Three", tree, ctxs._1._1, ctxs._1._2, ctxs._1._3._1, ctxs._1._3._2, ctxs._1._3._3, ctxs._1._3._4); + continue; + } + if (ctxs._1._3.tag === "Three") { + up$c = false; + up$r = $5(tree, ctxs._1._3._1, ctxs._1._3._4, ctxs._1._3._7, ctxs._1._1, ctxs._1._3._2, ctxs._1._3._5, ctxs._1._2, ctxs._1._3._3, ctxs._1._3._6); + continue; + } + up$c = false; + up$r = Partial._crashWith("The impossible happened in partial function `up`."); + continue; + } + if (ctxs._1.tag === "TwoRight") { + if (ctxs._1._1.tag === "Two") { + up$a0 = ctxs._2; + up$a1 = $Map("Three", ctxs._1._1._1, ctxs._1._1._2, ctxs._1._1._3, ctxs._1._1._4, ctxs._1._2, ctxs._1._3, tree); + continue; + } + if (ctxs._1._1.tag === "Three") { + up$c = false; + up$r = $6(ctxs._1._1._1, ctxs._1._1._4, ctxs._1._1._7, tree, ctxs._1._1._2, ctxs._1._1._5, ctxs._1._2, ctxs._1._1._3, ctxs._1._1._6, ctxs._1._3); + continue; + } + up$c = false; + up$r = Partial._crashWith("The impossible happened in partial function `up`."); + continue; + } + if (ctxs._1.tag === "ThreeLeft") { + if (ctxs._1._3.tag === "Two") { + up$c = false; + up$r = $7(tree, ctxs._1._3._1, ctxs._1._3._4, ctxs._1._6, ctxs._1._1, ctxs._1._3._2, ctxs._1._4, ctxs._1._2, ctxs._1._3._3, ctxs._1._5); + continue; + } + if (ctxs._1._3.tag === "Three") { + up$c = false; + up$r = $11( + tree, + ctxs._1._3._1, + ctxs._1._3._4, + ctxs._1._3._7, + ctxs._1._6, + ctxs._1._1, + ctxs._1._3._2, + ctxs._1._3._5, + ctxs._1._4, + ctxs._1._2, + ctxs._1._3._3, + ctxs._1._3._6, + ctxs._1._5 + ); + continue; + } + up$c = false; + up$r = Partial._crashWith("The impossible happened in partial function `up`."); + continue; + } + if (ctxs._1.tag === "ThreeMiddle") { + if (ctxs._1._1.tag === "Two") { + up$c = false; + up$r = $8(ctxs._1._1._1, ctxs._1._1._4, tree, ctxs._1._6, ctxs._1._1._2, ctxs._1._2, ctxs._1._4, ctxs._1._1._3, ctxs._1._3, ctxs._1._5); + continue; + } + if (ctxs._1._6.tag === "Two") { + up$c = false; + up$r = $9(ctxs._1._1, tree, ctxs._1._6._1, ctxs._1._6._4, ctxs._1._2, ctxs._1._4, ctxs._1._6._2, ctxs._1._3, ctxs._1._5, ctxs._1._6._3); + continue; + } + if (ctxs._1._1.tag === "Three") { + up$c = false; + up$r = $12( + ctxs._1._1._1, + ctxs._1._1._4, + ctxs._1._1._7, + tree, + ctxs._1._6, + ctxs._1._1._2, + ctxs._1._1._5, + ctxs._1._2, + ctxs._1._4, + ctxs._1._1._3, + ctxs._1._1._6, + ctxs._1._3, + ctxs._1._5 + ); + continue; + } + if (ctxs._1._6.tag === "Three") { + up$c = false; + up$r = $13( + ctxs._1._1, + tree, + ctxs._1._6._1, + ctxs._1._6._4, + ctxs._1._6._7, + ctxs._1._2, + ctxs._1._4, + ctxs._1._6._2, + ctxs._1._6._5, + ctxs._1._3, + ctxs._1._5, + ctxs._1._6._3, + ctxs._1._6._6 + ); + continue; + } + up$c = false; + up$r = Partial._crashWith("The impossible happened in partial function `up`."); + continue; + } + if (ctxs._1.tag === "ThreeRight") { + if (ctxs._1._4.tag === "Two") { + up$c = false; + up$r = $10(ctxs._1._1, ctxs._1._4._1, ctxs._1._4._4, tree, ctxs._1._2, ctxs._1._4._2, ctxs._1._5, ctxs._1._3, ctxs._1._4._3, ctxs._1._6); + continue; + } + if (ctxs._1._4.tag === "Three") { + up$c = false; + up$r = $14( + ctxs._1._1, + ctxs._1._4._1, + ctxs._1._4._4, + ctxs._1._4._7, + tree, + ctxs._1._2, + ctxs._1._4._2, + ctxs._1._4._5, + ctxs._1._5, + ctxs._1._3, + ctxs._1._4._3, + ctxs._1._4._6, + ctxs._1._6 + ); + continue; + } + up$c = false; + up$r = Partial._crashWith("The impossible happened in partial function `up`."); + continue; + } + up$c = false; + up$r = Partial._crashWith("The impossible happened in partial function `up`."); + continue; + } + $runtime.fail(); + }; + return up$r; + }; + const removeMaxNode = removeMaxNode$a0$copy => removeMaxNode$a1$copy => { + let removeMaxNode$a0 = removeMaxNode$a0$copy, removeMaxNode$a1 = removeMaxNode$a1$copy, removeMaxNode$c = true, removeMaxNode$r; + while (removeMaxNode$c) { + const ctx = removeMaxNode$a0, m = removeMaxNode$a1; + if (m.tag === "Two") { + if (m._1.tag === "Leaf") { + if (m._4.tag === "Leaf") { + removeMaxNode$c = false; + removeMaxNode$r = up(ctx)(Leaf); + continue; + } + removeMaxNode$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("TwoRight", m._1, m._2, m._3), ctx); + removeMaxNode$a1 = m._4; + continue; + } + removeMaxNode$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("TwoRight", m._1, m._2, m._3), ctx); + removeMaxNode$a1 = m._4; + continue; + } + if (m.tag === "Three") { + if (m._1.tag === "Leaf") { + if (m._4.tag === "Leaf") { + if (m._7.tag === "Leaf") { + removeMaxNode$c = false; + removeMaxNode$r = up(Data$dList$dTypes.$List("Cons", $TreeContext("TwoRight", Leaf, m._2, m._3), ctx))(Leaf); + continue; + } + removeMaxNode$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("ThreeRight", m._1, m._2, m._3, m._4, m._5, m._6), ctx); + removeMaxNode$a1 = m._7; + continue; + } + removeMaxNode$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("ThreeRight", m._1, m._2, m._3, m._4, m._5, m._6), ctx); + removeMaxNode$a1 = m._7; + continue; + } + removeMaxNode$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("ThreeRight", m._1, m._2, m._3, m._4, m._5, m._6), ctx); + removeMaxNode$a1 = m._7; + continue; + } + removeMaxNode$c = false; + removeMaxNode$r = Partial._crashWith("The impossible happened in partial function `removeMaxNode`."); + continue; + }; + return removeMaxNode$r; + }; + const maxNode = maxNode$a0$copy => { + let maxNode$a0 = maxNode$a0$copy, maxNode$c = true, maxNode$r; + while (maxNode$c) { + const m = maxNode$a0; + if (m.tag === "Two") { + if (m._4.tag === "Leaf") { + maxNode$c = false; + maxNode$r = {key: m._2, value: m._3}; + continue; + } + maxNode$a0 = m._4; + continue; + } + if (m.tag === "Three") { + if (m._7.tag === "Leaf") { + maxNode$c = false; + maxNode$r = {key: m._5, value: m._6}; + continue; + } + maxNode$a0 = m._7; + continue; + } + maxNode$c = false; + maxNode$r = Partial._crashWith("The impossible happened in partial function `maxNode`."); + continue; + }; + return maxNode$r; + }; + const down = down$a0$copy => down$a1$copy => { + let down$a0 = down$a0$copy, down$a1 = down$a1$copy, down$c = true, down$r; + while (down$c) { + const ctx = down$a0, m = down$a1; + if (m.tag === "Leaf") { + down$c = false; + down$r = Data$dMaybe.Nothing; + continue; + } + if (m.tag === "Two") { + const v = dictOrd.compare(k)(m._2); + if (v.tag === "EQ") { + if (m._4.tag === "Leaf") { + down$c = false; + down$r = Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(m._3, up(ctx)(Leaf))); + continue; + } + const max = maxNode(m._1); + down$c = false; + down$r = Data$dMaybe.$Maybe( + "Just", + Data$dTuple.$Tuple(m._3, removeMaxNode(Data$dList$dTypes.$List("Cons", $TreeContext("TwoLeft", max.key, max.value, m._4), ctx))(m._1)) + ); + continue; + } + if (v.tag === "LT") { + down$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("TwoLeft", m._2, m._3, m._4), ctx); + down$a1 = m._1; + continue; + } + down$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("TwoRight", m._1, m._2, m._3), ctx); + down$a1 = m._4; + continue; + } + if (m.tag === "Three") { + const v = dictOrd.compare(k)(m._5); + const v3 = dictOrd.compare(k)(m._2); + if ( + (() => { + if (m._1.tag === "Leaf") { + if (m._4.tag === "Leaf") { return m._7.tag === "Leaf"; } + return false; + } + return false; + })() + ) { + if (v3.tag === "EQ") { + down$c = false; + down$r = Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(m._3, fromZipper(dictOrd)(ctx)($Map("Two", Leaf, m._5, m._6, Leaf)))); + continue; + } + if (v.tag === "EQ") { + down$c = false; + down$r = Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(m._6, fromZipper(dictOrd)(ctx)($Map("Two", Leaf, m._2, m._3, Leaf)))); + continue; + } + if (v3.tag === "LT") { + down$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("ThreeLeft", m._2, m._3, m._4, m._5, m._6, m._7), ctx); + down$a1 = m._1; + continue; + } + if (v3.tag === "GT") { + if (v.tag === "LT") { + down$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("ThreeMiddle", m._1, m._2, m._3, m._5, m._6, m._7), ctx); + down$a1 = m._4; + continue; + } + down$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("ThreeRight", m._1, m._2, m._3, m._4, m._5, m._6), ctx); + down$a1 = m._7; + continue; + } + down$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("ThreeRight", m._1, m._2, m._3, m._4, m._5, m._6), ctx); + down$a1 = m._7; + continue; + } + if (v3.tag === "EQ") { + const max = maxNode(m._1); + down$c = false; + down$r = Data$dMaybe.$Maybe( + "Just", + Data$dTuple.$Tuple(m._3, removeMaxNode(Data$dList$dTypes.$List("Cons", $TreeContext("ThreeLeft", max.key, max.value, m._4, m._5, m._6, m._7), ctx))(m._1)) + ); + continue; + } + if (v.tag === "EQ") { + const max = maxNode(m._4); + down$c = false; + down$r = Data$dMaybe.$Maybe( + "Just", + Data$dTuple.$Tuple(m._6, removeMaxNode(Data$dList$dTypes.$List("Cons", $TreeContext("ThreeMiddle", m._1, m._2, m._3, max.key, max.value, m._7), ctx))(m._4)) + ); + continue; + } + if (v3.tag === "LT") { + down$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("ThreeLeft", m._2, m._3, m._4, m._5, m._6, m._7), ctx); + down$a1 = m._1; + continue; + } + if (v3.tag === "GT") { + if (v.tag === "LT") { + down$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("ThreeMiddle", m._1, m._2, m._3, m._5, m._6, m._7), ctx); + down$a1 = m._4; + continue; + } + down$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("ThreeRight", m._1, m._2, m._3, m._4, m._5, m._6), ctx); + down$a1 = m._7; + continue; + } + down$a0 = Data$dList$dTypes.$List("Cons", $TreeContext("ThreeRight", m._1, m._2, m._3, m._4, m._5, m._6), ctx); + down$a1 = m._7; + continue; + } + $runtime.fail(); + }; + return down$r; + }; + return down(Data$dList$dTypes.Nil); +}; +const foldableMap = { + foldr: f => z => m => { + if (m.tag === "Leaf") { return z; } + if (m.tag === "Two") { return foldableMap.foldr(f)(f(m._3)(foldableMap.foldr(f)(z)(m._4)))(m._1); } + if (m.tag === "Three") { return foldableMap.foldr(f)(f(m._3)(foldableMap.foldr(f)(f(m._6)(foldableMap.foldr(f)(z)(m._7)))(m._4)))(m._1); } + $runtime.fail(); + }, + foldl: f => z => m => { + if (m.tag === "Leaf") { return z; } + if (m.tag === "Two") { return foldableMap.foldl(f)(f(foldableMap.foldl(f)(z)(m._1))(m._3))(m._4); } + if (m.tag === "Three") { return foldableMap.foldl(f)(f(foldableMap.foldl(f)(f(foldableMap.foldl(f)(z)(m._1))(m._3))(m._4))(m._6))(m._7); } + $runtime.fail(); + }, + foldMap: dictMonoid => { + const append2 = dictMonoid.Semigroup0().append; + return f => m => { + if (m.tag === "Leaf") { return dictMonoid.mempty; } + if (m.tag === "Two") { return append2(foldableMap.foldMap(dictMonoid)(f)(m._1))(append2(f(m._3))(foldableMap.foldMap(dictMonoid)(f)(m._4))); } + if (m.tag === "Three") { + return append2(foldableMap.foldMap(dictMonoid)(f)(m._1))(append2(f(m._3))(append2(foldableMap.foldMap(dictMonoid)(f)(m._4))(append2(f(m._6))(foldableMap.foldMap(dictMonoid)(f)(m._7))))); + } + $runtime.fail(); + }; + } +}; +const foldableWithIndexMap = { + foldrWithIndex: f => z => m => { + if (m.tag === "Leaf") { return z; } + if (m.tag === "Two") { return foldableWithIndexMap.foldrWithIndex(f)(f(m._2)(m._3)(foldableWithIndexMap.foldrWithIndex(f)(z)(m._4)))(m._1); } + if (m.tag === "Three") { + return foldableWithIndexMap.foldrWithIndex(f)(f(m._2)(m._3)(foldableWithIndexMap.foldrWithIndex(f)(f(m._5)(m._6)(foldableWithIndexMap.foldrWithIndex(f)(z)(m._7)))(m._4)))(m._1); + } + $runtime.fail(); + }, + foldlWithIndex: f => z => m => { + if (m.tag === "Leaf") { return z; } + if (m.tag === "Two") { return foldableWithIndexMap.foldlWithIndex(f)(f(m._2)(foldableWithIndexMap.foldlWithIndex(f)(z)(m._1))(m._3))(m._4); } + if (m.tag === "Three") { + return foldableWithIndexMap.foldlWithIndex(f)(f(m._5)(foldableWithIndexMap.foldlWithIndex(f)(f(m._2)(foldableWithIndexMap.foldlWithIndex(f)(z)(m._1))(m._3))(m._4))(m._6))(m._7); + } + $runtime.fail(); + }, + foldMapWithIndex: dictMonoid => { + const append2 = dictMonoid.Semigroup0().append; + return f => m => { + if (m.tag === "Leaf") { return dictMonoid.mempty; } + if (m.tag === "Two") { + return append2(foldableWithIndexMap.foldMapWithIndex(dictMonoid)(f)(m._1))(append2(f(m._2)(m._3))(foldableWithIndexMap.foldMapWithIndex(dictMonoid)(f)(m._4))); + } + if (m.tag === "Three") { + return append2(foldableWithIndexMap.foldMapWithIndex(dictMonoid)(f)(m._1))(append2(f(m._2)(m._3))(append2(foldableWithIndexMap.foldMapWithIndex(dictMonoid)(f)(m._4))(append2(f(m._5)(m._6))(foldableWithIndexMap.foldMapWithIndex(dictMonoid)(f)(m._7))))); + } + $runtime.fail(); + }; + }, + Foldable0: () => foldableMap +}; +const keys = /* #__PURE__ */ (() => foldableWithIndexMap.foldrWithIndex(k => v => acc => Data$dList$dTypes.$List("Cons", k, acc))(Data$dList$dTypes.Nil))(); +const traversableMap = { + traverse: dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map1 = Apply0.Functor0().map; + return v => v1 => { + if (v1.tag === "Leaf") { return dictApplicative.pure(Leaf); } + if (v1.tag === "Two") { + return Apply0.apply(Apply0.apply(Apply0.apply(map1(Two)(traversableMap.traverse(dictApplicative)(v)(v1._1)))(dictApplicative.pure(v1._2)))(v(v1._3)))(traversableMap.traverse(dictApplicative)(v)(v1._4)); + } + if (v1.tag === "Three") { + return Apply0.apply(Apply0.apply(Apply0.apply(Apply0.apply(Apply0.apply(Apply0.apply(map1(Three)(traversableMap.traverse(dictApplicative)(v)(v1._1)))(dictApplicative.pure(v1._2)))(v(v1._3)))(traversableMap.traverse(dictApplicative)(v)(v1._4)))(dictApplicative.pure(v1._5)))(v(v1._6)))(traversableMap.traverse(dictApplicative)(v)(v1._7)); + } + $runtime.fail(); + }; + }, + sequence: dictApplicative => traversableMap.traverse(dictApplicative)(identity), + Functor0: () => functorMap, + Foldable1: () => foldableMap +}; +const traversableWithIndexMap = { + traverseWithIndex: dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map1 = Apply0.Functor0().map; + return v => v1 => { + if (v1.tag === "Leaf") { return dictApplicative.pure(Leaf); } + if (v1.tag === "Two") { + return Apply0.apply(Apply0.apply(Apply0.apply(map1(Two)(traversableWithIndexMap.traverseWithIndex(dictApplicative)(v)(v1._1)))(dictApplicative.pure(v1._2)))(v(v1._2)(v1._3)))(traversableWithIndexMap.traverseWithIndex(dictApplicative)(v)(v1._4)); + } + if (v1.tag === "Three") { + return Apply0.apply(Apply0.apply(Apply0.apply(Apply0.apply(Apply0.apply(Apply0.apply(map1(Three)(traversableWithIndexMap.traverseWithIndex(dictApplicative)(v)(v1._1)))(dictApplicative.pure(v1._2)))(v(v1._2)(v1._3)))(traversableWithIndexMap.traverseWithIndex(dictApplicative)(v)(v1._4)))(dictApplicative.pure(v1._5)))(v(v1._5)(v1._6)))(traversableWithIndexMap.traverseWithIndex(dictApplicative)(v)(v1._7)); + } + $runtime.fail(); + }; + }, + FunctorWithIndex0: () => functorWithIndexMap, + FoldableWithIndex1: () => foldableWithIndexMap, + Traversable2: () => traversableMap +}; +const values = /* #__PURE__ */ (() => foldableMap.foldr(Data$dList$dTypes.Cons)(Data$dList$dTypes.Nil))(); +const foldSubmapBy = dictOrd => appendFn => memptyValue => kmin => kmax => f => { + const tooSmall = (() => { + if (kmin.tag === "Just") { return k => dictOrd.compare(k)(kmin._1).tag === "LT"; } + if (kmin.tag === "Nothing") { return v => false; } + $runtime.fail(); + })(); + const tooLarge = (() => { + if (kmax.tag === "Just") { return k => dictOrd.compare(k)(kmax._1).tag === "GT"; } + if (kmax.tag === "Nothing") { return v => false; } + $runtime.fail(); + })(); + const inBounds = (() => { + if (kmin.tag === "Just") { + if (kmax.tag === "Just") { return k => !(dictOrd.compare(kmin._1)(k).tag === "GT") && !(dictOrd.compare(k)(kmax._1).tag === "GT"); } + if (kmax.tag === "Nothing") { return k => !(dictOrd.compare(kmin._1)(k).tag === "GT"); } + $runtime.fail(); + } + if (kmin.tag === "Nothing") { + if (kmax.tag === "Just") { return k => !(dictOrd.compare(k)(kmax._1).tag === "GT"); } + if (kmax.tag === "Nothing") { return v => true; } + $runtime.fail(); + } + $runtime.fail(); + })(); + const go = v => { + if (v.tag === "Leaf") { return memptyValue; } + if (v.tag === "Two") { + return appendFn(appendFn((() => { + if (tooSmall(v._2)) { return memptyValue; } + return go(v._1); + })())((() => { + if (inBounds(v._2)) { return f(v._2)(v._3); } + return memptyValue; + })()))((() => { + if (tooLarge(v._2)) { return memptyValue; } + return go(v._4); + })()); + } + if (v.tag === "Three") { + return appendFn(appendFn(appendFn(appendFn((() => { + if (tooSmall(v._2)) { return memptyValue; } + return go(v._1); + })())((() => { + if (inBounds(v._2)) { return f(v._2)(v._3); } + return memptyValue; + })()))((() => { + if (tooSmall(v._5) || tooLarge(v._2)) { return memptyValue; } + return go(v._4); + })()))((() => { + if (inBounds(v._5)) { return f(v._5)(v._6); } + return memptyValue; + })()))((() => { + if (tooLarge(v._5)) { return memptyValue; } + return go(v._7); + })()); + } + $runtime.fail(); + }; + return go; +}; +const foldSubmap = dictOrd => dictMonoid => foldSubmapBy(dictOrd)(dictMonoid.Semigroup0().append)(dictMonoid.mempty); +const findMin = /* #__PURE__ */ (() => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1; + if (v1.tag === "Leaf") { + go$c = false; + go$r = v; + continue; + } + if (v1.tag === "Two") { + go$a0 = Data$dMaybe.$Maybe("Just", {key: v1._2, value: v1._3}); + go$a1 = v1._1; + continue; + } + if (v1.tag === "Three") { + go$a0 = Data$dMaybe.$Maybe("Just", {key: v1._2, value: v1._3}); + go$a1 = v1._1; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(Data$dMaybe.Nothing); +})(); +const lookupGT = dictOrd => k => { + const go = v => { + if (v.tag === "Leaf") { return Data$dMaybe.Nothing; } + if (v.tag === "Two") { + const v2 = dictOrd.compare(k)(v._2); + if (v2.tag === "EQ") { return findMin(v._4); } + if (v2.tag === "LT") { + return Data$dMaybe.$Maybe( + "Just", + (() => { + const $5 = go(v._1); + if ($5.tag === "Nothing") { return {key: v._2, value: v._3}; } + if ($5.tag === "Just") { return $5._1; } + $runtime.fail(); + })() + ); + } + if (v2.tag === "GT") { return go(v._4); } + $runtime.fail(); + } + if (v.tag === "Three") { + const v3 = dictOrd.compare(k)(v._2); + if (v3.tag === "EQ") { return findMin($Map("Two", v._4, v._5, v._6, v._7)); } + if (v3.tag === "LT") { + return Data$dMaybe.$Maybe( + "Just", + (() => { + const $5 = go(v._1); + if ($5.tag === "Nothing") { return {key: v._2, value: v._3}; } + if ($5.tag === "Just") { return $5._1; } + $runtime.fail(); + })() + ); + } + if (v3.tag === "GT") { return go($Map("Two", v._4, v._5, v._6, v._7)); } + $runtime.fail(); + } + $runtime.fail(); + }; + return go; +}; +const findMax = /* #__PURE__ */ (() => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1; + if (v1.tag === "Leaf") { + go$c = false; + go$r = v; + continue; + } + if (v1.tag === "Two") { + go$a0 = Data$dMaybe.$Maybe("Just", {key: v1._2, value: v1._3}); + go$a1 = v1._4; + continue; + } + if (v1.tag === "Three") { + go$a0 = Data$dMaybe.$Maybe("Just", {key: v1._5, value: v1._6}); + go$a1 = v1._7; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(Data$dMaybe.Nothing); +})(); +const lookupLT = dictOrd => k => { + const go = v => { + if (v.tag === "Leaf") { return Data$dMaybe.Nothing; } + if (v.tag === "Two") { + const v2 = dictOrd.compare(k)(v._2); + if (v2.tag === "EQ") { return findMax(v._1); } + if (v2.tag === "GT") { + return Data$dMaybe.$Maybe( + "Just", + (() => { + const $5 = go(v._4); + if ($5.tag === "Nothing") { return {key: v._2, value: v._3}; } + if ($5.tag === "Just") { return $5._1; } + $runtime.fail(); + })() + ); + } + if (v2.tag === "LT") { return go(v._1); } + $runtime.fail(); + } + if (v.tag === "Three") { + const v3 = dictOrd.compare(k)(v._5); + if (v3.tag === "EQ") { return findMax($Map("Two", v._1, v._2, v._3, v._4)); } + if (v3.tag === "GT") { + return Data$dMaybe.$Maybe( + "Just", + (() => { + const $5 = go(v._7); + if ($5.tag === "Nothing") { return {key: v._5, value: v._6}; } + if ($5.tag === "Just") { return $5._1; } + $runtime.fail(); + })() + ); + } + if (v3.tag === "LT") { return go($Map("Two", v._1, v._2, v._3, v._4)); } + $runtime.fail(); + } + $runtime.fail(); + }; + return go; +}; +const eqMap = dictEq => dictEq1 => { + const eq1 = Data$dEq.eqArrayImpl(x => y => dictEq.eq(x._1)(y._1) && dictEq1.eq(x._2)(y._2)); + return {eq: m1 => m2 => eq1(toUnfoldable(Data$dUnfoldable.unfoldableArray)(m1))(toUnfoldable(Data$dUnfoldable.unfoldableArray)(m2))}; +}; +const ordMap = dictOrd => { + const ordTuple = Data$dTuple.ordTuple(dictOrd); + const eqMap1 = eqMap(dictOrd.Eq0()); + return dictOrd1 => { + const compare = Data$dOrd.ordArray(ordTuple(dictOrd1)).compare; + const eqMap2 = eqMap1(dictOrd1.Eq0()); + return {compare: m1 => m2 => compare(toUnfoldable(Data$dUnfoldable.unfoldableArray)(m1))(toUnfoldable(Data$dUnfoldable.unfoldableArray)(m2)), Eq0: () => eqMap2}; + }; +}; +const eq1Map = dictEq => ({eq1: dictEq1 => eqMap(dictEq)(dictEq1).eq}); +const ord1Map = dictOrd => { + const ordMap1 = ordMap(dictOrd); + const $2 = dictOrd.Eq0(); + const eq1Map1 = {eq1: dictEq1 => eqMap($2)(dictEq1).eq}; + return {compare1: dictOrd1 => ordMap1(dictOrd1).compare, Eq10: () => eq1Map1}; +}; +const empty = Leaf; +const fromFoldable = dictOrd => dictFoldable => dictFoldable.foldl(m => v => insert(dictOrd)(v._1)(v._2)(m))(Leaf); +const filterWithKey = dictOrd => { + const fromFoldable1 = fromFoldable(dictOrd)(Data$dList$dLazy$dTypes.foldableList); + return predicate => { + const $3 = Data$dList$dLazy.filter(v => predicate(v._1)(v._2)); + return x => fromFoldable1($3(toUnfoldable(Data$dList$dLazy$dTypes.unfoldableList)(x))); + }; +}; +const filter = dictOrd => { + const filterWithKey1 = filterWithKey(dictOrd); + return predicate => filterWithKey1(v => predicate); +}; +const filterKeys = dictOrd => { + const filterWithKey1 = filterWithKey(dictOrd); + return predicate => filterWithKey1(x => { + const $4 = predicate(x); + return v => $4; + }); +}; +const fromFoldableWithIndex = dictOrd => dictFoldableWithIndex => dictFoldableWithIndex.foldlWithIndex(k => m => v => insert(dictOrd)(k)(v)(m))(Leaf); +const intersectionWith = dictOrd => f => m1 => m2 => { + const go = go$a0$copy => go$a1$copy => go$a2$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$a2 = go$a2$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1, v2 = go$a2; + if (v.tag === "Nil") { + go$c = false; + go$r = v2; + continue; + } + if (v1.tag === "Nil") { + go$c = false; + go$r = v2; + continue; + } + if (v.tag === "Cons") { + if (v1.tag === "Cons") { + const v3 = dictOrd.compare(v._1._1)(v1._1._1); + if (v3.tag === "LT") { + go$a0 = v._2; + go$a1 = v1; + go$a2 = v2; + continue; + } + if (v3.tag === "EQ") { + go$a0 = v._2; + go$a1 = v1._2; + go$a2 = insert(dictOrd)(v._1._1)(f(v._1._2)(v1._1._2))(v2); + continue; + } + if (v3.tag === "GT") { + go$a0 = v; + go$a1 = v1._2; + go$a2 = v2; + continue; + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + }; + return go$r; + }; + return go(toUnfoldable(Data$dList$dTypes.unfoldableList)(m1))(toUnfoldable(Data$dList$dTypes.unfoldableList)(m2))(Leaf); +}; +const intersection = dictOrd => intersectionWith(dictOrd)(Data$dFunction.const); +const mapMaybeWithKey = dictOrd => f => foldableWithIndexMap.foldrWithIndex(k => a => acc => { + const $5 = f(k)(a); + if ($5.tag === "Nothing") { return acc; } + if ($5.tag === "Just") { return insert(dictOrd)(k)($5._1)(acc); } + $runtime.fail(); +})(Leaf); +const mapMaybe = dictOrd => x => mapMaybeWithKey(dictOrd)(v => x); +const $$delete = dictOrd => k => m => { + const $3 = pop(dictOrd)(k)(m); + if ($3.tag === "Nothing") { return m; } + if ($3.tag === "Just") { return $3._1._2; } + $runtime.fail(); +}; +const difference = dictOrd => m1 => m2 => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const b = go$a0, v = go$a1; + if (v.tag === "Nil") { + go$c = false; + go$r = b; + continue; + } + if (v.tag === "Cons") { + go$a0 = $$delete(dictOrd)(v._1)(b); + go$a1 = v._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(m1)(foldableWithIndexMap.foldrWithIndex(k => v => acc => Data$dList$dTypes.$List("Cons", k, acc))(Data$dList$dTypes.Nil)(m2)); +}; +const checkValid = tree => { + const allHeights = v => { + if (v.tag === "Leaf") { return Data$dList$dTypes.$List("Cons", 0, Data$dList$dTypes.Nil); } + if (v.tag === "Two") { return Data$dList$dTypes.listMap(n => n + 1 | 0)(Data$dList$dTypes.foldableList.foldr(Data$dList$dTypes.Cons)(allHeights(v._4))(allHeights(v._1))); } + if (v.tag === "Three") { + return Data$dList$dTypes.listMap(n => n + 1 | 0)(Data$dList$dTypes.foldableList.foldr(Data$dList$dTypes.Cons)(Data$dList$dTypes.foldableList.foldr(Data$dList$dTypes.Cons)(allHeights(v._7))(allHeights(v._4)))(allHeights(v._1))); + } + $runtime.fail(); + }; + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const b = go$a0, v = go$a1; + if (v.tag === "Nil") { + go$c = false; + go$r = b; + continue; + } + if (v.tag === "Cons") { + go$a0 = b + 1 | 0; + go$a1 = v._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(0)(nub(allHeights(tree))) === 1; +}; +const catMaybes = dictOrd => mapMaybe(dictOrd)(identity); +const applyMap = dictOrd => ({apply: intersectionWith(dictOrd)(identity), Functor0: () => functorMap}); +const bindMap = dictOrd => ( + { + bind: m => f => mapMaybeWithKey(dictOrd)(k => { + const $4 = lookup(dictOrd)(k); + return x => $4(f(x)); + })(m), + Apply0: () => ({apply: intersectionWith(dictOrd)(identity), Functor0: () => functorMap}) + } +); +const alter = dictOrd => f => k => m => { + const v = f(lookup(dictOrd)(k)(m)); + if (v.tag === "Nothing") { return $$delete(dictOrd)(k)(m); } + if (v.tag === "Just") { return insert(dictOrd)(k)(v._1)(m); } + $runtime.fail(); +}; +const fromFoldableWith = dictOrd => dictFoldable => f => dictFoldable.foldl(m => v => alter(dictOrd)(v1 => { + if (v1.tag === "Just") { return Data$dMaybe.$Maybe("Just", f(v._2)(v1._1)); } + if (v1.tag === "Nothing") { return Data$dMaybe.$Maybe("Just", v._2); } + $runtime.fail(); +})(v._1)(m))(Leaf); +const insertWith = dictOrd => f => k => v => alter(dictOrd)(x => Data$dMaybe.$Maybe( + "Just", + (() => { + if (x.tag === "Nothing") { return v; } + if (x.tag === "Just") { return f(x._1)(v); } + $runtime.fail(); + })() +))(k); +const unionWith = dictOrd => f => m1 => m2 => foldableWithIndexMap.foldlWithIndex(k => m => v => alter(dictOrd)((() => { + const $7 = f(v); + return x => Data$dMaybe.$Maybe( + "Just", + (() => { + if (x.tag === "Nothing") { return v; } + if (x.tag === "Just") { return $7(x._1); } + $runtime.fail(); + })() + ); +})())(k)(m))(m2)(m1); +const semigroupMap = () => dictOrd => dictSemigroup => ({append: l => r => unionWith(dictOrd)(dictSemigroup.append)(l)(r)}); +const monoidSemigroupMap = () => dictOrd => dictSemigroup => { + const semigroupMap3 = {append: l => r => unionWith(dictOrd)(dictSemigroup.append)(l)(r)}; + return {mempty: Leaf, Semigroup0: () => semigroupMap3}; +}; +const union = dictOrd => unionWith(dictOrd)(Data$dFunction.const); +const submap = dictOrd => kmin => kmax => foldSubmapBy(dictOrd)(union(dictOrd))(Leaf)(kmin)(kmax)(singleton); +const unions = dictOrd => dictFoldable => dictFoldable.foldl(union(dictOrd))(Leaf); +const update = dictOrd => f => k => m => alter(dictOrd)(v2 => { + if (v2.tag === "Nothing") { return Data$dMaybe.Nothing; } + if (v2.tag === "Just") { return f(v2._1); } + $runtime.fail(); +})(k)(m); +const altMap = dictOrd => ({alt: union(dictOrd), Functor0: () => functorMap}); +const plusMap = dictOrd => ({empty: Leaf, Alt0: () => ({alt: union(dictOrd), Functor0: () => functorMap})}); +export { + $KickUp, + $Map, + $TreeContext, + KickUp, + Leaf, + Three, + ThreeLeft, + ThreeMiddle, + ThreeRight, + Two, + TwoLeft, + TwoRight, + all, + altMap, + alter, + applyMap, + bindMap, + catMaybes, + checkValid, + $$delete as delete, + difference, + empty, + eq1Map, + eqMap, + filter, + filterKeys, + filterWithKey, + findMax, + findMin, + foldSubmap, + foldSubmapBy, + foldableMap, + foldableWithIndexMap, + fromFoldable, + fromFoldableWith, + fromFoldableWithIndex, + fromZipper, + functorMap, + functorWithIndexMap, + identity, + insert, + insertWith, + intersection, + intersectionWith, + isEmpty, + isSubmap, + keys, + lookup, + lookupGE, + lookupGT, + lookupLE, + lookupLT, + mapMaybe, + mapMaybeWithKey, + member, + monoidSemigroupMap, + nub, + ord1Map, + ordMap, + plusMap, + pop, + semigroupMap, + showMap, + showTree, + singleton, + size, + submap, + toUnfoldable, + toUnfoldableUnordered, + traversableMap, + traversableWithIndexMap, + union, + unionWith, + unions, + update, + values +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Map/index.js b/.storybook/purescript-indexer/output-es/Data.Map/index.js new file mode 100644 index 0000000..cd47dc8 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Map/index.js @@ -0,0 +1,48 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dMap$dInternal from "../Data.Map.Internal/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const SemigroupMap = x => x; +const traversableWithIndexSemigroupMap = Data$dMap$dInternal.traversableWithIndexMap; +const traversableSemigroupMap = Data$dMap$dInternal.traversableMap; +const showSemigroupMap = dictShow => dictShow1 => Data$dMap$dInternal.showMap(dictShow)(dictShow1); +const semigroupSemigroupMap = dictOrd => dictSemigroup => ({append: v => v1 => Data$dMap$dInternal.unionWith(dictOrd)(dictSemigroup.append)(v)(v1)}); +const plusSemigroupMap = dictOrd => ({empty: Data$dMap$dInternal.Leaf, Alt0: () => ({alt: Data$dMap$dInternal.union(dictOrd), Functor0: () => Data$dMap$dInternal.functorMap})}); +const ordSemigroupMap = dictOrd => Data$dMap$dInternal.ordMap(dictOrd); +const ord1SemigroupMap = dictOrd => Data$dMap$dInternal.ord1Map(dictOrd); +const newtypeSemigroupMap = {Coercible0: () => undefined}; +const monoidSemigroupMap = dictOrd => dictSemigroup => { + const semigroupSemigroupMap2 = {append: v => v1 => Data$dMap$dInternal.unionWith(dictOrd)(dictSemigroup.append)(v)(v1)}; + return {mempty: Data$dMap$dInternal.Leaf, Semigroup0: () => semigroupSemigroupMap2}; +}; +const keys = x => Data$dMap$dInternal.functorMap.map(v => Data$dUnit.unit)(x); +const functorWithIndexSemigroupMap = Data$dMap$dInternal.functorWithIndexMap; +const functorSemigroupMap = Data$dMap$dInternal.functorMap; +const foldableWithIndexSemigroupMap = Data$dMap$dInternal.foldableWithIndexMap; +const foldableSemigroupMap = Data$dMap$dInternal.foldableMap; +const eqSemigroupMap = dictEq => dictEq1 => Data$dMap$dInternal.eqMap(dictEq)(dictEq1); +const eq1SemigroupMap = dictEq => ({eq1: dictEq1 => Data$dMap$dInternal.eqMap(dictEq)(dictEq1).eq}); +const bindSemigroupMap = dictOrd => Data$dMap$dInternal.bindMap(dictOrd); +const applySemigroupMap = dictOrd => ({apply: Data$dMap$dInternal.intersectionWith(dictOrd)(Data$dMap$dInternal.identity), Functor0: () => Data$dMap$dInternal.functorMap}); +const altSemigroupMap = dictOrd => ({alt: Data$dMap$dInternal.union(dictOrd), Functor0: () => Data$dMap$dInternal.functorMap}); +export { + SemigroupMap, + altSemigroupMap, + applySemigroupMap, + bindSemigroupMap, + eq1SemigroupMap, + eqSemigroupMap, + foldableSemigroupMap, + foldableWithIndexSemigroupMap, + functorSemigroupMap, + functorWithIndexSemigroupMap, + keys, + monoidSemigroupMap, + newtypeSemigroupMap, + ord1SemigroupMap, + ordSemigroupMap, + plusSemigroupMap, + semigroupSemigroupMap, + showSemigroupMap, + traversableSemigroupMap, + traversableWithIndexSemigroupMap +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Maybe.First/index.js b/.storybook/purescript-indexer/output-es/Data.Maybe.First/index.js new file mode 100644 index 0000000..4bbb671 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Maybe.First/index.js @@ -0,0 +1,68 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +const First = x => x; +const showFirst = dictShow => ( + { + show: v => { + if (v.tag === "Just") { return "First ((Just " + dictShow.show(v._1) + "))"; } + if (v.tag === "Nothing") { return "First (Nothing)"; } + $runtime.fail(); + } + } +); +const semigroupFirst = { + append: v => v1 => { + if (v.tag === "Just") { return v; } + return v1; + } +}; +const ordFirst = dictOrd => Data$dMaybe.ordMaybe(dictOrd); +const ord1First = Data$dMaybe.ord1Maybe; +const newtypeFirst = {Coercible0: () => undefined}; +const monoidFirst = {mempty: Data$dMaybe.Nothing, Semigroup0: () => semigroupFirst}; +const monadFirst = Data$dMaybe.monadMaybe; +const invariantFirst = Data$dMaybe.invariantMaybe; +const functorFirst = Data$dMaybe.functorMaybe; +const extendFirst = Data$dMaybe.extendMaybe; +const eqFirst = dictEq => ( + { + eq: x => y => { + if (x.tag === "Nothing") { return y.tag === "Nothing"; } + if (x.tag === "Just") { + if (y.tag === "Just") { return dictEq.eq(x._1)(y._1); } + return false; + } + return false; + } + } +); +const eq1First = Data$dMaybe.eq1Maybe; +const boundedFirst = dictBounded => Data$dMaybe.boundedMaybe(dictBounded); +const bindFirst = Data$dMaybe.bindMaybe; +const applyFirst = Data$dMaybe.applyMaybe; +const applicativeFirst = Data$dMaybe.applicativeMaybe; +const altFirst = /* #__PURE__ */ (() => ({alt: semigroupFirst.append, Functor0: () => Data$dMaybe.functorMaybe}))(); +const plusFirst = {empty: Data$dMaybe.Nothing, Alt0: () => altFirst}; +const alternativeFirst = {Applicative0: () => Data$dMaybe.applicativeMaybe, Plus1: () => plusFirst}; +export { + First, + altFirst, + alternativeFirst, + applicativeFirst, + applyFirst, + bindFirst, + boundedFirst, + eq1First, + eqFirst, + extendFirst, + functorFirst, + invariantFirst, + monadFirst, + monoidFirst, + newtypeFirst, + ord1First, + ordFirst, + plusFirst, + semigroupFirst, + showFirst +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Maybe.Last/index.js b/.storybook/purescript-indexer/output-es/Data.Maybe.Last/index.js new file mode 100644 index 0000000..d83026d --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Maybe.Last/index.js @@ -0,0 +1,69 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +const Last = x => x; +const showLast = dictShow => ( + { + show: v => { + if (v.tag === "Just") { return "(Last (Just " + dictShow.show(v._1) + "))"; } + if (v.tag === "Nothing") { return "(Last Nothing)"; } + $runtime.fail(); + } + } +); +const semigroupLast = { + append: v => v1 => { + if (v1.tag === "Just") { return v1; } + if (v1.tag === "Nothing") { return v; } + $runtime.fail(); + } +}; +const ordLast = dictOrd => Data$dMaybe.ordMaybe(dictOrd); +const ord1Last = Data$dMaybe.ord1Maybe; +const newtypeLast = {Coercible0: () => undefined}; +const monoidLast = {mempty: Data$dMaybe.Nothing, Semigroup0: () => semigroupLast}; +const monadLast = Data$dMaybe.monadMaybe; +const invariantLast = Data$dMaybe.invariantMaybe; +const functorLast = Data$dMaybe.functorMaybe; +const extendLast = Data$dMaybe.extendMaybe; +const eqLast = dictEq => ( + { + eq: x => y => { + if (x.tag === "Nothing") { return y.tag === "Nothing"; } + if (x.tag === "Just") { + if (y.tag === "Just") { return dictEq.eq(x._1)(y._1); } + return false; + } + return false; + } + } +); +const eq1Last = Data$dMaybe.eq1Maybe; +const boundedLast = dictBounded => Data$dMaybe.boundedMaybe(dictBounded); +const bindLast = Data$dMaybe.bindMaybe; +const applyLast = Data$dMaybe.applyMaybe; +const applicativeLast = Data$dMaybe.applicativeMaybe; +const altLast = /* #__PURE__ */ (() => ({alt: semigroupLast.append, Functor0: () => Data$dMaybe.functorMaybe}))(); +const plusLast = {empty: Data$dMaybe.Nothing, Alt0: () => altLast}; +const alternativeLast = {Applicative0: () => Data$dMaybe.applicativeMaybe, Plus1: () => plusLast}; +export { + Last, + altLast, + alternativeLast, + applicativeLast, + applyLast, + bindLast, + boundedLast, + eq1Last, + eqLast, + extendLast, + functorLast, + invariantLast, + monadLast, + monoidLast, + newtypeLast, + ord1Last, + ordLast, + plusLast, + semigroupLast, + showLast +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Maybe/index.js b/.storybook/purescript-indexer/output-es/Data.Maybe/index.js new file mode 100644 index 0000000..7286a7b --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Maybe/index.js @@ -0,0 +1,232 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dGeneric$dRep from "../Data.Generic.Rep/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const $Maybe = (tag, _1) => ({tag, _1}); +const identity = x => x; +const Nothing = /* #__PURE__ */ $Maybe("Nothing"); +const Just = value0 => $Maybe("Just", value0); +const showMaybe = dictShow => ( + { + show: v => { + if (v.tag === "Just") { return "(Just " + (dictShow.show(v._1) + ")"); } + if (v.tag === "Nothing") { return "Nothing"; } + $runtime.fail(); + } + } +); +const semigroupMaybe = dictSemigroup => ( + { + append: v => v1 => { + if (v.tag === "Nothing") { return v1; } + if (v1.tag === "Nothing") { return v; } + if (v.tag === "Just") { + if (v1.tag === "Just") { return $Maybe("Just", dictSemigroup.append(v._1)(v1._1)); } + $runtime.fail(); + } + $runtime.fail(); + } + } +); +const optional = dictAlt => { + const map1 = dictAlt.Functor0().map; + return dictApplicative => a => dictAlt.alt(map1(Just)(a))(dictApplicative.pure(Nothing)); +}; +const monoidMaybe = dictSemigroup => { + const semigroupMaybe1 = semigroupMaybe(dictSemigroup); + return {mempty: Nothing, Semigroup0: () => semigroupMaybe1}; +}; +const maybe$p = v => v1 => v2 => { + if (v2.tag === "Nothing") { return v(Data$dUnit.unit); } + if (v2.tag === "Just") { return v1(v2._1); } + $runtime.fail(); +}; +const maybe = v => v1 => v2 => { + if (v2.tag === "Nothing") { return v; } + if (v2.tag === "Just") { return v1(v2._1); } + $runtime.fail(); +}; +const isNothing = v2 => { + if (v2.tag === "Nothing") { return true; } + if (v2.tag === "Just") { return false; } + $runtime.fail(); +}; +const isJust = v2 => { + if (v2.tag === "Nothing") { return false; } + if (v2.tag === "Just") { return true; } + $runtime.fail(); +}; +const genericMaybe = { + to: x => { + if (x.tag === "Inl") { return Nothing; } + if (x.tag === "Inr") { return $Maybe("Just", x._1); } + $runtime.fail(); + }, + from: x => { + if (x.tag === "Nothing") { return Data$dGeneric$dRep.$Sum("Inl", Data$dGeneric$dRep.NoArguments); } + if (x.tag === "Just") { return Data$dGeneric$dRep.$Sum("Inr", x._1); } + $runtime.fail(); + } +}; +const functorMaybe = { + map: v => v1 => { + if (v1.tag === "Just") { return $Maybe("Just", v(v1._1)); } + return Nothing; + } +}; +const invariantMaybe = {imap: f => v => functorMaybe.map(f)}; +const fromMaybe$p = a => maybe$p(a)(identity); +const fromMaybe = a => v2 => { + if (v2.tag === "Nothing") { return a; } + if (v2.tag === "Just") { return v2._1; } + $runtime.fail(); +}; +const fromJust = () => v => { + if (v.tag === "Just") { return v._1; } + $runtime.fail(); +}; +const extendMaybe = { + extend: v => v1 => { + if (v1.tag === "Nothing") { return Nothing; } + return $Maybe("Just", v(v1)); + }, + Functor0: () => functorMaybe +}; +const eqMaybe = dictEq => ( + { + eq: x => y => { + if (x.tag === "Nothing") { return y.tag === "Nothing"; } + if (x.tag === "Just") { + if (y.tag === "Just") { return dictEq.eq(x._1)(y._1); } + return false; + } + return false; + } + } +); +const ordMaybe = dictOrd => { + const $1 = dictOrd.Eq0(); + const eqMaybe1 = { + eq: x => y => { + if (x.tag === "Nothing") { return y.tag === "Nothing"; } + if (x.tag === "Just") { + if (y.tag === "Just") { return $1.eq(x._1)(y._1); } + return false; + } + return false; + } + }; + return { + compare: x => y => { + if (x.tag === "Nothing") { + if (y.tag === "Nothing") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Nothing") { return Data$dOrdering.GT; } + if (x.tag === "Just") { + if (y.tag === "Just") { return dictOrd.compare(x._1)(y._1); } + $runtime.fail(); + } + $runtime.fail(); + }, + Eq0: () => eqMaybe1 + }; +}; +const eq1Maybe = { + eq1: dictEq => x => y => { + if (x.tag === "Nothing") { return y.tag === "Nothing"; } + if (x.tag === "Just") { + if (y.tag === "Just") { return dictEq.eq(x._1)(y._1); } + return false; + } + return false; + } +}; +const ord1Maybe = {compare1: dictOrd => ordMaybe(dictOrd).compare, Eq10: () => eq1Maybe}; +const boundedMaybe = dictBounded => { + const ordMaybe1 = ordMaybe(dictBounded.Ord0()); + return {top: $Maybe("Just", dictBounded.top), bottom: Nothing, Ord0: () => ordMaybe1}; +}; +const applyMaybe = { + apply: v => v1 => { + if (v.tag === "Just") { + if (v1.tag === "Just") { return $Maybe("Just", v._1(v1._1)); } + return Nothing; + } + if (v.tag === "Nothing") { return Nothing; } + $runtime.fail(); + }, + Functor0: () => functorMaybe +}; +const bindMaybe = { + bind: v => v1 => { + if (v.tag === "Just") { return v1(v._1); } + if (v.tag === "Nothing") { return Nothing; } + $runtime.fail(); + }, + Apply0: () => applyMaybe +}; +const semiringMaybe = dictSemiring => ( + { + zero: Nothing, + one: $Maybe("Just", dictSemiring.one), + add: v => v1 => { + if (v.tag === "Nothing") { return v1; } + if (v1.tag === "Nothing") { return v; } + if (v.tag === "Just") { + if (v1.tag === "Just") { return $Maybe("Just", dictSemiring.add(v._1)(v1._1)); } + $runtime.fail(); + } + $runtime.fail(); + }, + mul: x => y => applyMaybe.apply((() => { + if (x.tag === "Just") { return $Maybe("Just", dictSemiring.mul(x._1)); } + return Nothing; + })())(y) + } +); +const applicativeMaybe = {pure: Just, Apply0: () => applyMaybe}; +const monadMaybe = {Applicative0: () => applicativeMaybe, Bind1: () => bindMaybe}; +const altMaybe = { + alt: v => v1 => { + if (v.tag === "Nothing") { return v1; } + return v; + }, + Functor0: () => functorMaybe +}; +const plusMaybe = {empty: Nothing, Alt0: () => altMaybe}; +const alternativeMaybe = {Applicative0: () => applicativeMaybe, Plus1: () => plusMaybe}; +export { + $Maybe, + Just, + Nothing, + altMaybe, + alternativeMaybe, + applicativeMaybe, + applyMaybe, + bindMaybe, + boundedMaybe, + eq1Maybe, + eqMaybe, + extendMaybe, + fromJust, + fromMaybe, + fromMaybe$p, + functorMaybe, + genericMaybe, + identity, + invariantMaybe, + isJust, + isNothing, + maybe, + maybe$p, + monadMaybe, + monoidMaybe, + optional, + ord1Maybe, + ordMaybe, + plusMaybe, + semigroupMaybe, + semiringMaybe, + showMaybe +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Monoid.Additive/index.js b/.storybook/purescript-indexer/output-es/Data.Monoid.Additive/index.js new file mode 100644 index 0000000..437986a --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Monoid.Additive/index.js @@ -0,0 +1,34 @@ +import * as $runtime from "../runtime.js"; +const Additive = x => x; +const showAdditive = dictShow => ({show: v => "(Additive " + (dictShow.show(v) + ")")}); +const semigroupAdditive = dictSemiring => ({append: v => v1 => dictSemiring.add(v)(v1)}); +const ordAdditive = dictOrd => dictOrd; +const monoidAdditive = dictSemiring => { + const semigroupAdditive1 = {append: v => v1 => dictSemiring.add(v)(v1)}; + return {mempty: dictSemiring.zero, Semigroup0: () => semigroupAdditive1}; +}; +const functorAdditive = {map: f => m => f(m)}; +const eqAdditive = dictEq => dictEq; +const eq1Additive = {eq1: dictEq => dictEq.eq}; +const ord1Additive = {compare1: dictOrd => dictOrd.compare, Eq10: () => eq1Additive}; +const boundedAdditive = dictBounded => dictBounded; +const applyAdditive = {apply: v => v1 => v(v1), Functor0: () => functorAdditive}; +const bindAdditive = {bind: v => f => f(v), Apply0: () => applyAdditive}; +const applicativeAdditive = {pure: Additive, Apply0: () => applyAdditive}; +const monadAdditive = {Applicative0: () => applicativeAdditive, Bind1: () => bindAdditive}; +export { + Additive, + applicativeAdditive, + applyAdditive, + bindAdditive, + boundedAdditive, + eq1Additive, + eqAdditive, + functorAdditive, + monadAdditive, + monoidAdditive, + ord1Additive, + ordAdditive, + semigroupAdditive, + showAdditive +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Monoid.Alternate/index.js b/.storybook/purescript-indexer/output-es/Data.Monoid.Alternate/index.js new file mode 100644 index 0000000..32727e1 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Monoid.Alternate/index.js @@ -0,0 +1,47 @@ +import * as $runtime from "../runtime.js"; +const Alternate = x => x; +const showAlternate = dictShow => ({show: v => "(Alternate " + (dictShow.show(v) + ")")}); +const semigroupAlternate = dictAlt => ({append: v => v1 => dictAlt.alt(v)(v1)}); +const plusAlternate = dictPlus => dictPlus; +const ordAlternate = dictOrd => dictOrd; +const ord1Alternate = dictOrd1 => dictOrd1; +const newtypeAlternate = {Coercible0: () => undefined}; +const monoidAlternate = dictPlus => { + const $1 = dictPlus.Alt0(); + const semigroupAlternate1 = {append: v => v1 => $1.alt(v)(v1)}; + return {mempty: dictPlus.empty, Semigroup0: () => semigroupAlternate1}; +}; +const monadAlternate = dictMonad => dictMonad; +const functorAlternate = dictFunctor => dictFunctor; +const extendAlternate = dictExtend => dictExtend; +const eqAlternate = dictEq => dictEq; +const eq1Alternate = dictEq1 => dictEq1; +const comonadAlternate = dictComonad => dictComonad; +const boundedAlternate = dictBounded => dictBounded; +const bindAlternate = dictBind => dictBind; +const applyAlternate = dictApply => dictApply; +const applicativeAlternate = dictApplicative => dictApplicative; +const alternativeAlternate = dictAlternative => dictAlternative; +const altAlternate = dictAlt => dictAlt; +export { + Alternate, + altAlternate, + alternativeAlternate, + applicativeAlternate, + applyAlternate, + bindAlternate, + boundedAlternate, + comonadAlternate, + eq1Alternate, + eqAlternate, + extendAlternate, + functorAlternate, + monadAlternate, + monoidAlternate, + newtypeAlternate, + ord1Alternate, + ordAlternate, + plusAlternate, + semigroupAlternate, + showAlternate +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Monoid.Conj/index.js b/.storybook/purescript-indexer/output-es/Data.Monoid.Conj/index.js new file mode 100644 index 0000000..ca887e9 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Monoid.Conj/index.js @@ -0,0 +1,22 @@ +import * as $runtime from "../runtime.js"; +const Conj = x => x; +const showConj = dictShow => ({show: v => "(Conj " + (dictShow.show(v) + ")")}); +const semiringConj = dictHeytingAlgebra => ( + {zero: dictHeytingAlgebra.tt, one: dictHeytingAlgebra.ff, add: v => v1 => dictHeytingAlgebra.conj(v)(v1), mul: v => v1 => dictHeytingAlgebra.disj(v)(v1)} +); +const semigroupConj = dictHeytingAlgebra => ({append: v => v1 => dictHeytingAlgebra.conj(v)(v1)}); +const ordConj = dictOrd => dictOrd; +const monoidConj = dictHeytingAlgebra => { + const semigroupConj1 = {append: v => v1 => dictHeytingAlgebra.conj(v)(v1)}; + return {mempty: dictHeytingAlgebra.tt, Semigroup0: () => semigroupConj1}; +}; +const functorConj = {map: f => m => f(m)}; +const eqConj = dictEq => dictEq; +const eq1Conj = {eq1: dictEq => dictEq.eq}; +const ord1Conj = {compare1: dictOrd => dictOrd.compare, Eq10: () => eq1Conj}; +const boundedConj = dictBounded => dictBounded; +const applyConj = {apply: v => v1 => v(v1), Functor0: () => functorConj}; +const bindConj = {bind: v => f => f(v), Apply0: () => applyConj}; +const applicativeConj = {pure: Conj, Apply0: () => applyConj}; +const monadConj = {Applicative0: () => applicativeConj, Bind1: () => bindConj}; +export {Conj, applicativeConj, applyConj, bindConj, boundedConj, eq1Conj, eqConj, functorConj, monadConj, monoidConj, ord1Conj, ordConj, semigroupConj, semiringConj, showConj}; diff --git a/.storybook/purescript-indexer/output-es/Data.Monoid.Disj/index.js b/.storybook/purescript-indexer/output-es/Data.Monoid.Disj/index.js new file mode 100644 index 0000000..6742c86 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Monoid.Disj/index.js @@ -0,0 +1,22 @@ +import * as $runtime from "../runtime.js"; +const Disj = x => x; +const showDisj = dictShow => ({show: v => "(Disj " + (dictShow.show(v) + ")")}); +const semiringDisj = dictHeytingAlgebra => ( + {zero: dictHeytingAlgebra.ff, one: dictHeytingAlgebra.tt, add: v => v1 => dictHeytingAlgebra.disj(v)(v1), mul: v => v1 => dictHeytingAlgebra.conj(v)(v1)} +); +const semigroupDisj = dictHeytingAlgebra => ({append: v => v1 => dictHeytingAlgebra.disj(v)(v1)}); +const ordDisj = dictOrd => dictOrd; +const monoidDisj = dictHeytingAlgebra => { + const semigroupDisj1 = {append: v => v1 => dictHeytingAlgebra.disj(v)(v1)}; + return {mempty: dictHeytingAlgebra.ff, Semigroup0: () => semigroupDisj1}; +}; +const functorDisj = {map: f => m => f(m)}; +const eqDisj = dictEq => dictEq; +const eq1Disj = {eq1: dictEq => dictEq.eq}; +const ord1Disj = {compare1: dictOrd => dictOrd.compare, Eq10: () => eq1Disj}; +const boundedDisj = dictBounded => dictBounded; +const applyDisj = {apply: v => v1 => v(v1), Functor0: () => functorDisj}; +const bindDisj = {bind: v => f => f(v), Apply0: () => applyDisj}; +const applicativeDisj = {pure: Disj, Apply0: () => applyDisj}; +const monadDisj = {Applicative0: () => applicativeDisj, Bind1: () => bindDisj}; +export {Disj, applicativeDisj, applyDisj, bindDisj, boundedDisj, eq1Disj, eqDisj, functorDisj, monadDisj, monoidDisj, ord1Disj, ordDisj, semigroupDisj, semiringDisj, showDisj}; diff --git a/.storybook/purescript-indexer/output-es/Data.Monoid.Dual/index.js b/.storybook/purescript-indexer/output-es/Data.Monoid.Dual/index.js new file mode 100644 index 0000000..a2b2813 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Monoid.Dual/index.js @@ -0,0 +1,20 @@ +import * as $runtime from "../runtime.js"; +const Dual = x => x; +const showDual = dictShow => ({show: v => "(Dual " + (dictShow.show(v) + ")")}); +const semigroupDual = dictSemigroup => ({append: v => v1 => dictSemigroup.append(v1)(v)}); +const ordDual = dictOrd => dictOrd; +const monoidDual = dictMonoid => { + const $1 = dictMonoid.Semigroup0(); + const semigroupDual1 = {append: v => v1 => $1.append(v1)(v)}; + return {mempty: dictMonoid.mempty, Semigroup0: () => semigroupDual1}; +}; +const functorDual = {map: f => m => f(m)}; +const eqDual = dictEq => dictEq; +const eq1Dual = {eq1: dictEq => dictEq.eq}; +const ord1Dual = {compare1: dictOrd => dictOrd.compare, Eq10: () => eq1Dual}; +const boundedDual = dictBounded => dictBounded; +const applyDual = {apply: v => v1 => v(v1), Functor0: () => functorDual}; +const bindDual = {bind: v => f => f(v), Apply0: () => applyDual}; +const applicativeDual = {pure: Dual, Apply0: () => applyDual}; +const monadDual = {Applicative0: () => applicativeDual, Bind1: () => bindDual}; +export {Dual, applicativeDual, applyDual, bindDual, boundedDual, eq1Dual, eqDual, functorDual, monadDual, monoidDual, ord1Dual, ordDual, semigroupDual, showDual}; diff --git a/.storybook/purescript-indexer/output-es/Data.Monoid.Endo/index.js b/.storybook/purescript-indexer/output-es/Data.Monoid.Endo/index.js new file mode 100644 index 0000000..54328f7 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Monoid.Endo/index.js @@ -0,0 +1,13 @@ +import * as $runtime from "../runtime.js"; +const Endo = x => x; +const showEndo = dictShow => ({show: v => "(Endo " + (dictShow.show(v) + ")")}); +const semigroupEndo = dictSemigroupoid => ({append: v => v1 => dictSemigroupoid.compose(v)(v1)}); +const ordEndo = dictOrd => dictOrd; +const monoidEndo = dictCategory => { + const $1 = dictCategory.Semigroupoid0(); + const semigroupEndo1 = {append: v => v1 => $1.compose(v)(v1)}; + return {mempty: dictCategory.identity, Semigroup0: () => semigroupEndo1}; +}; +const eqEndo = dictEq => dictEq; +const boundedEndo = dictBounded => dictBounded; +export {Endo, boundedEndo, eqEndo, monoidEndo, ordEndo, semigroupEndo, showEndo}; diff --git a/.storybook/purescript-indexer/output-es/Data.Monoid.Generic/index.js b/.storybook/purescript-indexer/output-es/Data.Monoid.Generic/index.js new file mode 100644 index 0000000..ef46b7d --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Monoid.Generic/index.js @@ -0,0 +1,11 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dGeneric$dRep from "../Data.Generic.Rep/index.js"; +const genericMonoidNoArguments = {"genericMempty'": Data$dGeneric$dRep.NoArguments}; +const genericMonoidArgument = dictMonoid => ({"genericMempty'": dictMonoid.mempty}); +const genericMempty$p = dict => dict["genericMempty'"]; +const genericMonoidConstructor = dictGenericMonoid => ({"genericMempty'": dictGenericMonoid["genericMempty'"]}); +const genericMonoidProduct = dictGenericMonoid => dictGenericMonoid1 => ( + {"genericMempty'": Data$dGeneric$dRep.$Product(dictGenericMonoid["genericMempty'"], dictGenericMonoid1["genericMempty'"])} +); +const genericMempty = dictGeneric => dictGenericMonoid => dictGeneric.to(dictGenericMonoid["genericMempty'"]); +export {genericMempty, genericMempty$p, genericMonoidArgument, genericMonoidConstructor, genericMonoidNoArguments, genericMonoidProduct}; diff --git a/.storybook/purescript-indexer/output-es/Data.Monoid.Multiplicative/index.js b/.storybook/purescript-indexer/output-es/Data.Monoid.Multiplicative/index.js new file mode 100644 index 0000000..ae98e55 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Monoid.Multiplicative/index.js @@ -0,0 +1,34 @@ +import * as $runtime from "../runtime.js"; +const Multiplicative = x => x; +const showMultiplicative = dictShow => ({show: v => "(Multiplicative " + (dictShow.show(v) + ")")}); +const semigroupMultiplicative = dictSemiring => ({append: v => v1 => dictSemiring.mul(v)(v1)}); +const ordMultiplicative = dictOrd => dictOrd; +const monoidMultiplicative = dictSemiring => { + const semigroupMultiplicative1 = {append: v => v1 => dictSemiring.mul(v)(v1)}; + return {mempty: dictSemiring.one, Semigroup0: () => semigroupMultiplicative1}; +}; +const functorMultiplicative = {map: f => m => f(m)}; +const eqMultiplicative = dictEq => dictEq; +const eq1Multiplicative = {eq1: dictEq => dictEq.eq}; +const ord1Multiplicative = {compare1: dictOrd => dictOrd.compare, Eq10: () => eq1Multiplicative}; +const boundedMultiplicative = dictBounded => dictBounded; +const applyMultiplicative = {apply: v => v1 => v(v1), Functor0: () => functorMultiplicative}; +const bindMultiplicative = {bind: v => f => f(v), Apply0: () => applyMultiplicative}; +const applicativeMultiplicative = {pure: Multiplicative, Apply0: () => applyMultiplicative}; +const monadMultiplicative = {Applicative0: () => applicativeMultiplicative, Bind1: () => bindMultiplicative}; +export { + Multiplicative, + applicativeMultiplicative, + applyMultiplicative, + bindMultiplicative, + boundedMultiplicative, + eq1Multiplicative, + eqMultiplicative, + functorMultiplicative, + monadMultiplicative, + monoidMultiplicative, + ord1Multiplicative, + ordMultiplicative, + semigroupMultiplicative, + showMultiplicative +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Monoid/index.js b/.storybook/purescript-indexer/output-es/Data.Monoid/index.js new file mode 100644 index 0000000..e2d2c70 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Monoid/index.js @@ -0,0 +1,61 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dEuclideanRing from "../Data.EuclideanRing/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import * as Data$dSemigroup from "../Data.Semigroup/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import * as Record$dUnsafe from "../Record.Unsafe/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +const monoidUnit = {mempty: Data$dUnit.unit, Semigroup0: () => Data$dSemigroup.semigroupUnit}; +const monoidString = {mempty: "", Semigroup0: () => Data$dSemigroup.semigroupString}; +const monoidRecordNil = {memptyRecord: v => ({}), SemigroupRecord0: () => Data$dSemigroup.semigroupRecordNil}; +const monoidOrdering = {mempty: Data$dOrdering.EQ, Semigroup0: () => Data$dOrdering.semigroupOrdering}; +const monoidArray = {mempty: [], Semigroup0: () => Data$dSemigroup.semigroupArray}; +const memptyRecord = dict => dict.memptyRecord; +const monoidRecord = () => dictMonoidRecord => { + const semigroupRecord1 = {append: dictMonoidRecord.SemigroupRecord0().appendRecord(Type$dProxy.Proxy)}; + return {mempty: dictMonoidRecord.memptyRecord(Type$dProxy.Proxy), Semigroup0: () => semigroupRecord1}; +}; +const mempty = dict => dict.mempty; +const monoidFn = dictMonoid => { + const $1 = dictMonoid.Semigroup0(); + const semigroupFn = {append: f => g => x => $1.append(f(x))(g(x))}; + return {mempty: v => dictMonoid.mempty, Semigroup0: () => semigroupFn}; +}; +const monoidRecordCons = dictIsSymbol => dictMonoid => { + const Semigroup0 = dictMonoid.Semigroup0(); + return () => dictMonoidRecord => { + const $5 = dictMonoidRecord.SemigroupRecord0(); + const semigroupRecordCons1 = { + appendRecord: v => ra => rb => { + const key = dictIsSymbol.reflectSymbol(Type$dProxy.Proxy); + const $$get = Record$dUnsafe.unsafeGet(key); + return Record$dUnsafe.unsafeSet(key)(Semigroup0.append($$get(ra))($$get(rb)))($5.appendRecord(Type$dProxy.Proxy)(ra)(rb)); + } + }; + return { + memptyRecord: v => Record$dUnsafe.unsafeSet(dictIsSymbol.reflectSymbol(Type$dProxy.Proxy))(dictMonoid.mempty)(dictMonoidRecord.memptyRecord(Type$dProxy.Proxy)), + SemigroupRecord0: () => semigroupRecordCons1 + }; + }; +}; +const power = dictMonoid => { + const append = dictMonoid.Semigroup0().append; + return x => { + const go = p => { + if (p <= 0) { return dictMonoid.mempty; } + if (p === 1) { return x; } + if (Data$dEuclideanRing.intMod(p)(2) === 0) { + const x$p = go(Data$dEuclideanRing.intDiv(p)(2)); + return append(x$p)(x$p); + } + const x$p = go(Data$dEuclideanRing.intDiv(p)(2)); + return append(x$p)(append(x$p)(x)); + }; + return go; + }; +}; +const guard = dictMonoid => v => v1 => { + if (v) { return v1; } + return dictMonoid.mempty; +}; +export {guard, mempty, memptyRecord, monoidArray, monoidFn, monoidOrdering, monoidRecord, monoidRecordCons, monoidRecordNil, monoidString, monoidUnit, power}; diff --git a/.storybook/purescript-indexer/output-es/Data.NaturalTransformation/index.js b/.storybook/purescript-indexer/output-es/Data.NaturalTransformation/index.js new file mode 100644 index 0000000..2d3a7c9 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.NaturalTransformation/index.js @@ -0,0 +1,2 @@ +import * as $runtime from "../runtime.js"; +export {}; diff --git a/.storybook/purescript-indexer/output-es/Data.Newtype/index.js b/.storybook/purescript-indexer/output-es/Data.Newtype/index.js new file mode 100644 index 0000000..ab5126a --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Newtype/index.js @@ -0,0 +1,52 @@ +import * as $runtime from "../runtime.js"; +import * as Unsafe$dCoerce from "../Unsafe.Coerce/index.js"; +const wrap = () => Unsafe$dCoerce.unsafeCoerce; +const unwrap = () => Unsafe$dCoerce.unsafeCoerce; +const underF2 = () => () => () => () => v => Unsafe$dCoerce.unsafeCoerce; +const underF = () => () => () => () => v => Unsafe$dCoerce.unsafeCoerce; +const under2 = () => () => v => Unsafe$dCoerce.unsafeCoerce; +const under = () => () => v => Unsafe$dCoerce.unsafeCoerce; +const un = () => v => Unsafe$dCoerce.unsafeCoerce; +const traverse = () => () => v => Unsafe$dCoerce.unsafeCoerce; +const overF2 = () => () => () => () => v => Unsafe$dCoerce.unsafeCoerce; +const overF = () => () => () => () => v => Unsafe$dCoerce.unsafeCoerce; +const over2 = () => () => v => Unsafe$dCoerce.unsafeCoerce; +const over = () => () => v => Unsafe$dCoerce.unsafeCoerce; +const newtypeMultiplicative = {Coercible0: () => undefined}; +const newtypeLast = {Coercible0: () => undefined}; +const newtypeFirst = {Coercible0: () => undefined}; +const newtypeEndo = {Coercible0: () => undefined}; +const newtypeDual = {Coercible0: () => undefined}; +const newtypeDisj = {Coercible0: () => undefined}; +const newtypeConj = {Coercible0: () => undefined}; +const newtypeAdditive = {Coercible0: () => undefined}; +const modify = () => fn => t => fn(t); +const collect = () => () => v => Unsafe$dCoerce.unsafeCoerce; +const alaF = () => () => () => () => v => Unsafe$dCoerce.unsafeCoerce; +const ala = () => () => () => v => f => f(Unsafe$dCoerce.unsafeCoerce); +export { + ala, + alaF, + collect, + modify, + newtypeAdditive, + newtypeConj, + newtypeDisj, + newtypeDual, + newtypeEndo, + newtypeFirst, + newtypeLast, + newtypeMultiplicative, + over, + over2, + overF, + overF2, + traverse, + un, + under, + under2, + underF, + underF2, + unwrap, + wrap +}; diff --git a/.storybook/purescript-indexer/output-es/Data.NonEmpty/index.js b/.storybook/purescript-indexer/output-es/Data.NonEmpty/index.js new file mode 100644 index 0000000..c9f22e1 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.NonEmpty/index.js @@ -0,0 +1,213 @@ +// | This module defines a generic non-empty data structure, which adds an +// | additional element to any container type. +import * as $runtime from "../runtime.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +const $NonEmpty = (_1, _2) => ({tag: "NonEmpty", _1, _2}); +const NonEmpty = value0 => value1 => $NonEmpty(value0, value1); +const unfoldable1NonEmpty = dictUnfoldable => ( + { + unfoldr1: f => b => { + const $3 = f(b); + return $NonEmpty($3._1, dictUnfoldable.unfoldr(Data$dMaybe.functorMaybe.map(f))($3._2)); + } + } +); +const tail = v => v._2; +const singleton = dictPlus => a => $NonEmpty(a, dictPlus.empty); +const showNonEmpty = dictShow => dictShow1 => ({show: v => "(NonEmpty " + (dictShow.show(v._1) + (" " + (dictShow1.show(v._2) + ")")))}); +const semigroupNonEmpty = dictApplicative => dictSemigroup => ( + {append: v => v1 => $NonEmpty(v._1, dictSemigroup.append(v._2)(dictSemigroup.append(dictApplicative.pure(v1._1))(v1._2)))} +); +const oneOf = dictAlternative => { + const alt = dictAlternative.Plus1().Alt0().alt; + const pure = dictAlternative.Applicative0().pure; + return v => alt(pure(v._1))(v._2); +}; +const head = v => v._1; +const functorNonEmpty = dictFunctor => ({map: f => m => $NonEmpty(f(m._1), dictFunctor.map(f)(m._2))}); +const functorWithIndex = dictFunctorWithIndex => { + const functorNonEmpty1 = functorNonEmpty(dictFunctorWithIndex.Functor0()); + return { + mapWithIndex: f => v => $NonEmpty(f(Data$dMaybe.Nothing)(v._1), dictFunctorWithIndex.mapWithIndex(x => f(Data$dMaybe.$Maybe("Just", x)))(v._2)), + Functor0: () => functorNonEmpty1 + }; +}; +const fromNonEmpty = f => v => f(v._1)(v._2); +const foldableNonEmpty = dictFoldable => ( + { + foldMap: dictMonoid => { + const append1 = dictMonoid.Semigroup0().append; + const foldMap1 = dictFoldable.foldMap(dictMonoid); + return f => v => append1(f(v._1))(foldMap1(f)(v._2)); + }, + foldl: f => b => v => dictFoldable.foldl(f)(f(b)(v._1))(v._2), + foldr: f => b => v => f(v._1)(dictFoldable.foldr(f)(b)(v._2)) + } +); +const foldableWithIndexNonEmpty = dictFoldableWithIndex => { + const $1 = dictFoldableWithIndex.Foldable0(); + const foldableNonEmpty1 = { + foldMap: dictMonoid => { + const append1 = dictMonoid.Semigroup0().append; + const foldMap1 = $1.foldMap(dictMonoid); + return f => v => append1(f(v._1))(foldMap1(f)(v._2)); + }, + foldl: f => b => v => $1.foldl(f)(f(b)(v._1))(v._2), + foldr: f => b => v => f(v._1)($1.foldr(f)(b)(v._2)) + }; + return { + foldMapWithIndex: dictMonoid => { + const append1 = dictMonoid.Semigroup0().append; + const foldMapWithIndex1 = dictFoldableWithIndex.foldMapWithIndex(dictMonoid); + return f => v => append1(f(Data$dMaybe.Nothing)(v._1))(foldMapWithIndex1(x => f(Data$dMaybe.$Maybe("Just", x)))(v._2)); + }, + foldlWithIndex: f => b => v => dictFoldableWithIndex.foldlWithIndex(x => f(Data$dMaybe.$Maybe("Just", x)))(f(Data$dMaybe.Nothing)(b)(v._1))(v._2), + foldrWithIndex: f => b => v => f(Data$dMaybe.Nothing)(v._1)(dictFoldableWithIndex.foldrWithIndex(x => f(Data$dMaybe.$Maybe("Just", x)))(b)(v._2)), + Foldable0: () => foldableNonEmpty1 + }; +}; +const traversableNonEmpty = dictTraversable => { + const functorNonEmpty1 = functorNonEmpty(dictTraversable.Functor0()); + const $2 = dictTraversable.Foldable1(); + const foldableNonEmpty1 = { + foldMap: dictMonoid => { + const append1 = dictMonoid.Semigroup0().append; + const foldMap1 = $2.foldMap(dictMonoid); + return f => v => append1(f(v._1))(foldMap1(f)(v._2)); + }, + foldl: f => b => v => $2.foldl(f)(f(b)(v._1))(v._2), + foldr: f => b => v => f(v._1)($2.foldr(f)(b)(v._2)) + }; + return { + sequence: dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map2 = Apply0.Functor0().map; + const sequence1 = dictTraversable.sequence(dictApplicative); + return v => Apply0.apply(map2(NonEmpty)(v._1))(sequence1(v._2)); + }, + traverse: dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map2 = Apply0.Functor0().map; + const traverse1 = dictTraversable.traverse(dictApplicative); + return f => v => Apply0.apply(map2(NonEmpty)(f(v._1)))(traverse1(f)(v._2)); + }, + Functor0: () => functorNonEmpty1, + Foldable1: () => foldableNonEmpty1 + }; +}; +const traversableWithIndexNonEmpty = dictTraversableWithIndex => { + const functorWithIndex1 = functorWithIndex(dictTraversableWithIndex.FunctorWithIndex0()); + const foldableWithIndexNonEmpty1 = foldableWithIndexNonEmpty(dictTraversableWithIndex.FoldableWithIndex1()); + const traversableNonEmpty1 = traversableNonEmpty(dictTraversableWithIndex.Traversable2()); + return { + traverseWithIndex: dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map2 = Apply0.Functor0().map; + const traverseWithIndex1 = dictTraversableWithIndex.traverseWithIndex(dictApplicative); + return f => v => Apply0.apply(map2(NonEmpty)(f(Data$dMaybe.Nothing)(v._1)))(traverseWithIndex1(x => f(Data$dMaybe.$Maybe("Just", x)))(v._2)); + }, + FunctorWithIndex0: () => functorWithIndex1, + FoldableWithIndex1: () => foldableWithIndexNonEmpty1, + Traversable2: () => traversableNonEmpty1 + }; +}; +const foldable1NonEmpty = dictFoldable => { + const foldableNonEmpty1 = { + foldMap: dictMonoid => { + const append1 = dictMonoid.Semigroup0().append; + const foldMap1 = dictFoldable.foldMap(dictMonoid); + return f => v => append1(f(v._1))(foldMap1(f)(v._2)); + }, + foldl: f => b => v => dictFoldable.foldl(f)(f(b)(v._1))(v._2), + foldr: f => b => v => f(v._1)(dictFoldable.foldr(f)(b)(v._2)) + }; + return { + foldMap1: dictSemigroup => f => v => dictFoldable.foldl(s => a1 => dictSemigroup.append(s)(f(a1)))(f(v._1))(v._2), + foldr1: f => v => { + const $4 = f(v._1); + const $5 = dictFoldable.foldr(a1 => { + const $6 = f(a1); + return x => Data$dMaybe.$Maybe( + "Just", + (() => { + if (x.tag === "Nothing") { return a1; } + if (x.tag === "Just") { return $6(x._1); } + $runtime.fail(); + })() + ); + })(Data$dMaybe.Nothing)(v._2); + if ($5.tag === "Nothing") { return v._1; } + if ($5.tag === "Just") { return $4($5._1); } + $runtime.fail(); + }, + foldl1: f => v => dictFoldable.foldl(f)(v._1)(v._2), + Foldable0: () => foldableNonEmpty1 + }; +}; +const foldl1 = dictFoldable => foldable1NonEmpty(dictFoldable).foldl1; +const eqNonEmpty = dictEq1 => dictEq => { + const eq11 = dictEq1.eq1(dictEq); + return {eq: x => y => dictEq.eq(x._1)(y._1) && eq11(x._2)(y._2)}; +}; +const ordNonEmpty = dictOrd1 => { + const $1 = dictOrd1.Eq10(); + return dictOrd => { + const compare11 = dictOrd1.compare1(dictOrd); + const $4 = dictOrd.Eq0(); + const eq11 = $1.eq1($4); + const eqNonEmpty2 = {eq: x => y => $4.eq(x._1)(y._1) && eq11(x._2)(y._2)}; + return { + compare: x => y => { + const v = dictOrd.compare(x._1)(y._1); + if (v.tag === "LT") { return Data$dOrdering.LT; } + if (v.tag === "GT") { return Data$dOrdering.GT; } + return compare11(x._2)(y._2); + }, + Eq0: () => eqNonEmpty2 + }; + }; +}; +const eq1NonEmpty = dictEq1 => ( + { + eq1: dictEq => { + const eq11 = dictEq1.eq1(dictEq); + return x => y => dictEq.eq(x._1)(y._1) && eq11(x._2)(y._2); + } + } +); +const ord1NonEmpty = dictOrd1 => { + const ordNonEmpty1 = ordNonEmpty(dictOrd1); + const $2 = dictOrd1.Eq10(); + const eq1NonEmpty1 = { + eq1: dictEq => { + const eq11 = $2.eq1(dictEq); + return x => y => dictEq.eq(x._1)(y._1) && eq11(x._2)(y._2); + } + }; + return {compare1: dictOrd => ordNonEmpty1(dictOrd).compare, Eq10: () => eq1NonEmpty1}; +}; +export { + $NonEmpty, + NonEmpty, + eq1NonEmpty, + eqNonEmpty, + foldable1NonEmpty, + foldableNonEmpty, + foldableWithIndexNonEmpty, + foldl1, + fromNonEmpty, + functorNonEmpty, + functorWithIndex, + head, + oneOf, + ord1NonEmpty, + ordNonEmpty, + semigroupNonEmpty, + showNonEmpty, + singleton, + tail, + traversableNonEmpty, + traversableWithIndexNonEmpty, + unfoldable1NonEmpty +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Nullable/foreign.js b/.storybook/purescript-indexer/output-es/Data.Nullable/foreign.js new file mode 100644 index 0000000..e66d640 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Nullable/foreign.js @@ -0,0 +1,12 @@ +/* eslint-disable no-eq-null, eqeqeq */ + +const nullImpl = null; +export { nullImpl as null }; + +export function nullable(a, r, f) { + return a == null ? r : f(a); +} + +export function notNull(x) { + return x; +} diff --git a/.storybook/purescript-indexer/output-es/Data.Nullable/index.js b/.storybook/purescript-indexer/output-es/Data.Nullable/index.js new file mode 100644 index 0000000..b0bf0fb --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Nullable/index.js @@ -0,0 +1,49 @@ +// | This module defines types and functions for working with nullable types +// | using the FFI. +import * as $runtime from "../runtime.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import {notNull, null as $$null, nullable} from "./foreign.js"; +const toNullable = v2 => { + if (v2.tag === "Nothing") { return $$null; } + if (v2.tag === "Just") { return notNull(v2._1); } + $runtime.fail(); +}; +const toMaybe = n => nullable(n, Data$dMaybe.Nothing, Data$dMaybe.Just); +const showNullable = dictShow => ( + { + show: x => { + const $2 = nullable(x, Data$dMaybe.Nothing, Data$dMaybe.Just); + if ($2.tag === "Nothing") { return "null"; } + if ($2.tag === "Just") { return dictShow.show($2._1); } + $runtime.fail(); + } + } +); +const eqNullable = dictEq => ( + { + eq: x => y => { + const $3 = nullable(x, Data$dMaybe.Nothing, Data$dMaybe.Just); + const $4 = nullable(y, Data$dMaybe.Nothing, Data$dMaybe.Just); + if ($3.tag === "Nothing") { return $4.tag === "Nothing"; } + if ($3.tag === "Just") { + if ($4.tag === "Just") { return dictEq.eq($3._1)($4._1); } + return false; + } + return false; + } + } +); +const ordNullable = dictOrd => { + const eqNullable1 = eqNullable(dictOrd.Eq0()); + return { + compare: (() => { + const $2 = Data$dMaybe.ordMaybe(dictOrd).compare; + return x => y => $2(nullable(x, Data$dMaybe.Nothing, Data$dMaybe.Just))(nullable(y, Data$dMaybe.Nothing, Data$dMaybe.Just)); + })(), + Eq0: () => eqNullable1 + }; +}; +const eq1Nullable = {eq1: dictEq => eqNullable(dictEq).eq}; +const ord1Nullable = {compare1: dictOrd => ordNullable(dictOrd).compare, Eq10: () => eq1Nullable}; +export {eq1Nullable, eqNullable, ord1Nullable, ordNullable, showNullable, toMaybe, toNullable}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.Number.Approximate/index.js b/.storybook/purescript-indexer/output-es/Data.Number.Approximate/index.js new file mode 100644 index 0000000..cea4298 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Number.Approximate/index.js @@ -0,0 +1,14 @@ +// | This module defines functions for comparing numbers. +import * as $runtime from "../runtime.js"; +import * as Data$dNumber from "../Data.Number/index.js"; +const Tolerance = x => x; +const Fraction = x => x; +const eqRelative = v => v1 => v2 => { + if (v1 === 0.0) { return Data$dNumber.abs(v2) <= v; } + if (v2 === 0.0) { return Data$dNumber.abs(v1) <= v; } + return Data$dNumber.abs(v1 - v2) <= v * Data$dNumber.abs(v1 + v2) / 2.0; +}; +const eqApproximate = /* #__PURE__ */ eqRelative(0.000001); +const neqApproximate = x => y => !eqRelative(0.000001)(x)(y); +const eqAbsolute = v => x => y => Data$dNumber.abs(x - y) <= v; +export {Fraction, Tolerance, eqAbsolute, eqApproximate, eqRelative, neqApproximate}; diff --git a/.storybook/purescript-indexer/output-es/Data.Number.Format/foreign.js b/.storybook/purescript-indexer/output-es/Data.Number.Format/foreign.js new file mode 100644 index 0000000..0f28069 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Number.Format/foreign.js @@ -0,0 +1,12 @@ +function wrap(method) { + return function(d) { + return function(num) { + return method.apply(num, [d]); + }; + }; +} + +export const toPrecisionNative = wrap(Number.prototype.toPrecision); +export const toFixedNative = wrap(Number.prototype.toFixed); +export const toExponentialNative = wrap(Number.prototype.toExponential); +export function toString(num) { return num.toString(); } diff --git a/.storybook/purescript-indexer/output-es/Data.Number.Format/index.js b/.storybook/purescript-indexer/output-es/Data.Number.Format/index.js new file mode 100644 index 0000000..fdc30b1 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Number.Format/index.js @@ -0,0 +1,53 @@ +// | A module for formatting numbers as strings. +// | +// | Usage: +// | ``` purs +// | > let x = 1234.56789 +// | +// | > toStringWith (precision 6) x +// | "1234.57" +// | +// | > toStringWith (fixed 3) x +// | "1234.568" +// | +// | > toStringWith (exponential 2) x +// | "1.23e+3" +// | ``` +// | +// | The main method of this module is the `toStringWith` function that accepts +// | a `Format` argument which can be constructed through one of the smart +// | constructors `precision`, `fixed` and `exponential`. Internally, the +// | number will be formatted with JavaScripts `toPrecision`, `toFixed` or +// | `toExponential`. +import * as $runtime from "../runtime.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import {toExponentialNative, toFixedNative, toPrecisionNative, toString} from "./foreign.js"; +const $Format = (tag, _1) => ({tag, _1}); +const clamp = low => hi => x => { + const v = Data$dOrd.ordInt.compare(low)(x); + const $4 = (() => { + if (v.tag === "LT") { return x; } + if (v.tag === "EQ") { return low; } + if (v.tag === "GT") { return low; } + $runtime.fail(); + })(); + const v$1 = Data$dOrd.ordInt.compare(hi)($4); + if (v$1.tag === "LT") { return hi; } + if (v$1.tag === "EQ") { return hi; } + if (v$1.tag === "GT") { return $4; } + $runtime.fail(); +}; +const Precision = value0 => $Format("Precision", value0); +const Fixed = value0 => $Format("Fixed", value0); +const Exponential = value0 => $Format("Exponential", value0); +const toStringWith = v => { + if (v.tag === "Precision") { return toPrecisionNative(v._1); } + if (v.tag === "Fixed") { return toFixedNative(v._1); } + if (v.tag === "Exponential") { return toExponentialNative(v._1); } + $runtime.fail(); +}; +const precision = x => $Format("Precision", clamp(1)(21)(x)); +const fixed = x => $Format("Fixed", clamp(0)(20)(x)); +const exponential = x => $Format("Exponential", clamp(0)(20)(x)); +export {$Format, Exponential, Fixed, Precision, clamp, exponential, fixed, precision, toStringWith}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.Number/foreign.js b/.storybook/purescript-indexer/output-es/Data.Number/foreign.js new file mode 100644 index 0000000..d100f07 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Number/foreign.js @@ -0,0 +1,80 @@ +/* globals exports */ +export const nan = NaN; +const isNaNImpl = isNaN; +export { isNaNImpl as isNaN }; +export const infinity = Infinity; +const isFiniteImpl = isFinite; +export { isFiniteImpl as isFinite }; + +export function fromStringImpl(str, isFinite, just, nothing) { + var num = parseFloat(str); + if (isFinite(num)) { + return just(num); + } else { + return nothing; + } +} + +export const abs = Math.abs; + +export const acos = Math.acos; + +export const asin = Math.asin; + +export const atan = Math.atan; + +export const atan2 = function (y) { + return function (x) { + return Math.atan2(y, x); + }; +}; + +export const ceil = Math.ceil; + +export const cos = Math.cos; + +export const exp = Math.exp; + +export const floor = Math.floor; + +export const log = Math.log; + +export const max = function (n1) { + return function (n2) { + return Math.max(n1, n2); + }; +}; + +export const min = function (n1) { + return function (n2) { + return Math.min(n1, n2); + }; +}; + +export const pow = function (n) { + return function (p) { + return Math.pow(n, p); + }; +}; + +export const remainder = function (n) { + return function (m) { + return n % m; + }; +}; + +export const round = Math.round; + +export const sign = Math.sign ? Math.sign : function(x) { + return x === 0 || x !== x ? x : (x < 0 ? -1 : 1); +}; + +export const sin = Math.sin; + +export const sqrt = Math.sqrt; + +export const tan = Math.tan; + +export const trunc = Math.trunc ? Math.trunc : function(x) { + return x < 0 ? Math.ceil(x) : Math.floor(x); +} diff --git a/.storybook/purescript-indexer/output-es/Data.Number/index.js b/.storybook/purescript-indexer/output-es/Data.Number/index.js new file mode 100644 index 0000000..f17467d --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Number/index.js @@ -0,0 +1,16 @@ +// | Functions for working with PureScripts builtin `Number` type. +import * as $runtime from "../runtime.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import {abs, acos, asin, atan, atan2, ceil, cos, exp, floor, fromStringImpl, infinity, isFinite, isNaN, log, max, min, nan, pow, remainder, round, sign, sin, sqrt, tan, trunc} from "./foreign.js"; +const tau = 6.283185307179586; +const sqrt2 = 1.4142135623730951; +const sqrt1_2 = 0.7071067811865476; +const pi = 3.141592653589793; +const log2e = 1.4426950408889634; +const log10e = 0.4342944819032518; +const ln2 = 0.6931471805599453; +const ln10 = 2.302585092994046; +const fromString = str => fromStringImpl(str, isFinite, Data$dMaybe.Just, Data$dMaybe.Nothing); +const e = 2.718281828459045; +export {e, fromString, ln10, ln2, log10e, log2e, pi, sqrt1_2, sqrt2, tau}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.Op/index.js b/.storybook/purescript-indexer/output-es/Data.Op/index.js new file mode 100644 index 0000000..942b86b --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Op/index.js @@ -0,0 +1,13 @@ +import * as $runtime from "../runtime.js"; +const Op = x => x; +const semigroupoidOp = {compose: v => v1 => x => v1(v(x))}; +const semigroupOp = dictSemigroup => ({append: f => g => x => dictSemigroup.append(f(x))(g(x))}); +const newtypeOp = {Coercible0: () => undefined}; +const monoidOp = dictMonoid => { + const $1 = dictMonoid.Semigroup0(); + const semigroupFn = {append: f => g => x => $1.append(f(x))(g(x))}; + return {mempty: v => dictMonoid.mempty, Semigroup0: () => semigroupFn}; +}; +const contravariantOp = {cmap: f => v => x => v(f(x))}; +const categoryOp = {identity: x => x, Semigroupoid0: () => semigroupoidOp}; +export {Op, categoryOp, contravariantOp, monoidOp, newtypeOp, semigroupOp, semigroupoidOp}; diff --git a/.storybook/purescript-indexer/output-es/Data.Ord.Down/index.js b/.storybook/purescript-indexer/output-es/Data.Ord.Down/index.js new file mode 100644 index 0000000..d630f78 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Ord.Down/index.js @@ -0,0 +1,24 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +const Down = x => x; +const showDown = dictShow => ({show: v => "(Down " + (dictShow.show(v) + ")")}); +const newtypeDown = {Coercible0: () => undefined}; +const eqDown = dictEq => dictEq; +const ordDown = dictOrd => { + const eqDown1 = dictOrd.Eq0(); + return { + compare: v => v1 => { + const $4 = dictOrd.compare(v)(v1); + if ($4.tag === "GT") { return Data$dOrdering.LT; } + if ($4.tag === "EQ") { return Data$dOrdering.EQ; } + if ($4.tag === "LT") { return Data$dOrdering.GT; } + $runtime.fail(); + }, + Eq0: () => eqDown1 + }; +}; +const boundedDown = dictBounded => { + const ordDown1 = ordDown(dictBounded.Ord0()); + return {top: dictBounded.bottom, bottom: dictBounded.top, Ord0: () => ordDown1}; +}; +export {Down, boundedDown, eqDown, newtypeDown, ordDown, showDown}; diff --git a/.storybook/purescript-indexer/output-es/Data.Ord.Generic/index.js b/.storybook/purescript-indexer/output-es/Data.Ord.Generic/index.js new file mode 100644 index 0000000..0c4374d --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Ord.Generic/index.js @@ -0,0 +1,35 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +const genericOrdNoConstructors = {"genericCompare'": v => v1 => Data$dOrdering.EQ}; +const genericOrdNoArguments = {"genericCompare'": v => v1 => Data$dOrdering.EQ}; +const genericOrdArgument = dictOrd => ({"genericCompare'": v => v1 => dictOrd.compare(v)(v1)}); +const genericCompare$p = dict => dict["genericCompare'"]; +const genericOrdConstructor = dictGenericOrd => ({"genericCompare'": v => v1 => dictGenericOrd["genericCompare'"](v)(v1)}); +const genericOrdProduct = dictGenericOrd => dictGenericOrd1 => ( + { + "genericCompare'": v => v1 => { + const v2 = dictGenericOrd["genericCompare'"](v._1)(v1._1); + if (v2.tag === "EQ") { return dictGenericOrd1["genericCompare'"](v._2)(v1._2); } + return v2; + } + } +); +const genericOrdSum = dictGenericOrd => dictGenericOrd1 => ( + { + "genericCompare'": v => v1 => { + if (v.tag === "Inl") { + if (v1.tag === "Inl") { return dictGenericOrd["genericCompare'"](v._1)(v1._1); } + if (v1.tag === "Inr") { return Data$dOrdering.LT; } + $runtime.fail(); + } + if (v.tag === "Inr") { + if (v1.tag === "Inr") { return dictGenericOrd1["genericCompare'"](v._1)(v1._1); } + if (v1.tag === "Inl") { return Data$dOrdering.GT; } + $runtime.fail(); + } + $runtime.fail(); + } + } +); +const genericCompare = dictGeneric => dictGenericOrd => x => y => dictGenericOrd["genericCompare'"](dictGeneric.from(x))(dictGeneric.from(y)); +export {genericCompare, genericCompare$p, genericOrdArgument, genericOrdConstructor, genericOrdNoArguments, genericOrdNoConstructors, genericOrdProduct, genericOrdSum}; diff --git a/.storybook/purescript-indexer/output-es/Data.Ord.Max/index.js b/.storybook/purescript-indexer/output-es/Data.Ord.Max/index.js new file mode 100644 index 0000000..08cac59 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Ord.Max/index.js @@ -0,0 +1,34 @@ +import * as $runtime from "../runtime.js"; +const Max = x => x; +const showMax = dictShow => ({show: v => "(Max " + (dictShow.show(v) + ")")}); +const semigroupMax = dictOrd => ( + { + append: v => v1 => { + const v$1 = dictOrd.compare(v)(v1); + if (v$1.tag === "LT") { return v1; } + if (v$1.tag === "EQ") { return v; } + if (v$1.tag === "GT") { return v; } + $runtime.fail(); + } + } +); +const newtypeMax = {Coercible0: () => undefined}; +const monoidMax = dictBounded => { + const $1 = dictBounded.Ord0(); + const semigroupMax1 = { + append: v => v1 => { + const v$1 = $1.compare(v)(v1); + if (v$1.tag === "LT") { return v1; } + if (v$1.tag === "EQ") { return v; } + if (v$1.tag === "GT") { return v; } + $runtime.fail(); + } + }; + return {mempty: dictBounded.bottom, Semigroup0: () => semigroupMax1}; +}; +const eqMax = dictEq => dictEq; +const ordMax = dictOrd => { + const eqMax1 = dictOrd.Eq0(); + return {compare: v => v1 => dictOrd.compare(v)(v1), Eq0: () => eqMax1}; +}; +export {Max, eqMax, monoidMax, newtypeMax, ordMax, semigroupMax, showMax}; diff --git a/.storybook/purescript-indexer/output-es/Data.Ord.Min/index.js b/.storybook/purescript-indexer/output-es/Data.Ord.Min/index.js new file mode 100644 index 0000000..489f6a8 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Ord.Min/index.js @@ -0,0 +1,34 @@ +import * as $runtime from "../runtime.js"; +const Min = x => x; +const showMin = dictShow => ({show: v => "(Min " + (dictShow.show(v) + ")")}); +const semigroupMin = dictOrd => ( + { + append: v => v1 => { + const v$1 = dictOrd.compare(v)(v1); + if (v$1.tag === "LT") { return v; } + if (v$1.tag === "EQ") { return v; } + if (v$1.tag === "GT") { return v1; } + $runtime.fail(); + } + } +); +const newtypeMin = {Coercible0: () => undefined}; +const monoidMin = dictBounded => { + const $1 = dictBounded.Ord0(); + const semigroupMin1 = { + append: v => v1 => { + const v$1 = $1.compare(v)(v1); + if (v$1.tag === "LT") { return v; } + if (v$1.tag === "EQ") { return v; } + if (v$1.tag === "GT") { return v1; } + $runtime.fail(); + } + }; + return {mempty: dictBounded.top, Semigroup0: () => semigroupMin1}; +}; +const eqMin = dictEq => dictEq; +const ordMin = dictOrd => { + const eqMin1 = dictOrd.Eq0(); + return {compare: v => v1 => dictOrd.compare(v)(v1), Eq0: () => eqMin1}; +}; +export {Min, eqMin, monoidMin, newtypeMin, ordMin, semigroupMin, showMin}; diff --git a/.storybook/purescript-indexer/output-es/Data.Ord/foreign.js b/.storybook/purescript-indexer/output-es/Data.Ord/foreign.js new file mode 100644 index 0000000..548760e --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Ord/foreign.js @@ -0,0 +1,43 @@ +var unsafeCompareImpl = function (lt) { + return function (eq) { + return function (gt) { + return function (x) { + return function (y) { + return x < y ? lt : x === y ? eq : gt; + }; + }; + }; + }; +}; + +export const ordBooleanImpl = unsafeCompareImpl; +export const ordIntImpl = unsafeCompareImpl; +export const ordNumberImpl = unsafeCompareImpl; +export const ordStringImpl = unsafeCompareImpl; +export const ordCharImpl = unsafeCompareImpl; + +export const ordArrayImpl = function (f) { + return function (xs) { + return function (ys) { + var i = 0; + var xlen = xs.length; + var ylen = ys.length; + while (i < xlen && i < ylen) { + var x = xs[i]; + var y = ys[i]; + var o = f(x)(y); + if (o !== 0) { + return o; + } + i++; + } + if (xlen === ylen) { + return 0; + } else if (xlen > ylen) { + return -1; + } else { + return 1; + } + }; + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Ord/index.js b/.storybook/purescript-indexer/output-es/Data.Ord/index.js new file mode 100644 index 0000000..e41f690 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Ord/index.js @@ -0,0 +1,159 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dEq from "../Data.Eq/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import * as Record$dUnsafe from "../Record.Unsafe/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +import {ordArrayImpl, ordBooleanImpl, ordCharImpl, ordIntImpl, ordNumberImpl, ordStringImpl} from "./foreign.js"; +const ordVoid = {compare: v => v1 => Data$dOrdering.EQ, Eq0: () => Data$dEq.eqVoid}; +const ordUnit = {compare: v => v1 => Data$dOrdering.EQ, Eq0: () => Data$dEq.eqUnit}; +const ordString = {compare: /* #__PURE__ */ ordStringImpl(Data$dOrdering.LT)(Data$dOrdering.EQ)(Data$dOrdering.GT), Eq0: () => Data$dEq.eqString}; +const ordRecordNil = {compareRecord: v => v1 => v2 => Data$dOrdering.EQ, EqRecord0: () => Data$dEq.eqRowNil}; +const ordProxy = {compare: v => v1 => Data$dOrdering.EQ, Eq0: () => Data$dEq.eqProxy}; +const ordOrdering = { + compare: v => v1 => { + if (v.tag === "LT") { + if (v1.tag === "LT") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (v.tag === "EQ") { + if (v1.tag === "EQ") { return Data$dOrdering.EQ; } + if (v1.tag === "LT") { return Data$dOrdering.GT; } + if (v1.tag === "GT") { return Data$dOrdering.LT; } + $runtime.fail(); + } + if (v.tag === "GT") { + if (v1.tag === "GT") { return Data$dOrdering.EQ; } + return Data$dOrdering.GT; + } + $runtime.fail(); + }, + Eq0: () => Data$dOrdering.eqOrdering +}; +const ordNumber = {compare: /* #__PURE__ */ ordNumberImpl(Data$dOrdering.LT)(Data$dOrdering.EQ)(Data$dOrdering.GT), Eq0: () => Data$dEq.eqNumber}; +const ordInt = {compare: /* #__PURE__ */ ordIntImpl(Data$dOrdering.LT)(Data$dOrdering.EQ)(Data$dOrdering.GT), Eq0: () => Data$dEq.eqInt}; +const ordChar = {compare: /* #__PURE__ */ ordCharImpl(Data$dOrdering.LT)(Data$dOrdering.EQ)(Data$dOrdering.GT), Eq0: () => Data$dEq.eqChar}; +const ordBoolean = {compare: /* #__PURE__ */ ordBooleanImpl(Data$dOrdering.LT)(Data$dOrdering.EQ)(Data$dOrdering.GT), Eq0: () => Data$dEq.eqBoolean}; +const compareRecord = dict => dict.compareRecord; +const ordRecord = () => dictOrdRecord => { + const eqRec1 = {eq: dictOrdRecord.EqRecord0().eqRecord(Type$dProxy.Proxy)}; + return {compare: dictOrdRecord.compareRecord(Type$dProxy.Proxy), Eq0: () => eqRec1}; +}; +const compare1 = dict => dict.compare1; +const compare = dict => dict.compare; +const comparing = dictOrd => f => x => y => dictOrd.compare(f(x))(f(y)); +const greaterThan = dictOrd => a1 => a2 => dictOrd.compare(a1)(a2).tag === "GT"; +const greaterThanOrEq = dictOrd => a1 => a2 => !(dictOrd.compare(a1)(a2).tag === "LT"); +const lessThan = dictOrd => a1 => a2 => dictOrd.compare(a1)(a2).tag === "LT"; +const signum = dictOrd => dictRing => { + const Semiring0 = dictRing.Semiring0(); + const zero = dictRing.Semiring0().zero; + return x => { + if (dictOrd.compare(x)(Semiring0.zero).tag === "LT") { return dictRing.sub(zero)(Semiring0.one); } + if (dictOrd.compare(x)(Semiring0.zero).tag === "GT") { return Semiring0.one; } + return x; + }; +}; +const lessThanOrEq = dictOrd => a1 => a2 => !(dictOrd.compare(a1)(a2).tag === "GT"); +const max = dictOrd => x => y => { + const v = dictOrd.compare(x)(y); + if (v.tag === "LT") { return y; } + if (v.tag === "EQ") { return x; } + if (v.tag === "GT") { return x; } + $runtime.fail(); +}; +const min = dictOrd => x => y => { + const v = dictOrd.compare(x)(y); + if (v.tag === "LT") { return x; } + if (v.tag === "EQ") { return x; } + if (v.tag === "GT") { return y; } + $runtime.fail(); +}; +const ordArray = dictOrd => { + const eqArray = {eq: Data$dEq.eqArrayImpl(dictOrd.Eq0().eq)}; + return { + compare: xs => ys => ordInt.compare(0)(ordArrayImpl(x => y => { + const v = dictOrd.compare(x)(y); + if (v.tag === "EQ") { return 0; } + if (v.tag === "LT") { return 1; } + if (v.tag === "GT") { return -1; } + $runtime.fail(); + })(xs)(ys)), + Eq0: () => eqArray + }; +}; +const ord1Array = {compare1: dictOrd => ordArray(dictOrd).compare, Eq10: () => Data$dEq.eq1Array}; +const ordRecordCons = dictOrdRecord => { + const eqRowCons = Data$dEq.eqRowCons(dictOrdRecord.EqRecord0())(); + return () => dictIsSymbol => { + const eqRowCons1 = eqRowCons(dictIsSymbol); + return dictOrd => { + const eqRowCons2 = eqRowCons1(dictOrd.Eq0()); + return { + compareRecord: v => ra => rb => { + const key = dictIsSymbol.reflectSymbol(Type$dProxy.Proxy); + const left = dictOrd.compare(Record$dUnsafe.unsafeGet(key)(ra))(Record$dUnsafe.unsafeGet(key)(rb)); + if (left.tag === "LT" || (left.tag === "GT" || !(left.tag === "EQ"))) { return left; } + return dictOrdRecord.compareRecord(Type$dProxy.Proxy)(ra)(rb); + }, + EqRecord0: () => eqRowCons2 + }; + }; + }; +}; +const clamp = dictOrd => low => hi => x => { + const v = dictOrd.compare(low)(x); + const $5 = (() => { + if (v.tag === "LT") { return x; } + if (v.tag === "EQ") { return low; } + if (v.tag === "GT") { return low; } + $runtime.fail(); + })(); + const v$1 = dictOrd.compare(hi)($5); + if (v$1.tag === "LT") { return hi; } + if (v$1.tag === "EQ") { return hi; } + if (v$1.tag === "GT") { return $5; } + $runtime.fail(); +}; +const between = dictOrd => low => hi => x => { + if (dictOrd.compare(x)(low).tag === "LT") { return false; } + return !(dictOrd.compare(x)(hi).tag === "GT"); +}; +const abs = dictOrd => dictRing => { + const zero = dictRing.Semiring0().zero; + const zero$1 = dictRing.Semiring0().zero; + return x => { + if (!(dictOrd.compare(x)(zero).tag === "LT")) { return x; } + return dictRing.sub(zero$1)(x); + }; +}; +export { + abs, + between, + clamp, + compare, + compare1, + compareRecord, + comparing, + greaterThan, + greaterThanOrEq, + lessThan, + lessThanOrEq, + max, + min, + ord1Array, + ordArray, + ordBoolean, + ordChar, + ordInt, + ordNumber, + ordOrdering, + ordProxy, + ordRecord, + ordRecordCons, + ordRecordNil, + ordString, + ordUnit, + ordVoid, + signum +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.Ordering/index.js b/.storybook/purescript-indexer/output-es/Data.Ordering/index.js new file mode 100644 index 0000000..829a101 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Ordering/index.js @@ -0,0 +1,36 @@ +import * as $runtime from "../runtime.js"; +const $Ordering = tag => ({tag}); +const LT = /* #__PURE__ */ $Ordering("LT"); +const GT = /* #__PURE__ */ $Ordering("GT"); +const EQ = /* #__PURE__ */ $Ordering("EQ"); +const showOrdering = { + show: v => { + if (v.tag === "LT") { return "LT"; } + if (v.tag === "GT") { return "GT"; } + if (v.tag === "EQ") { return "EQ"; } + $runtime.fail(); + } +}; +const semigroupOrdering = { + append: v => v1 => { + if (v.tag === "LT") { return LT; } + if (v.tag === "GT") { return GT; } + if (v.tag === "EQ") { return v1; } + $runtime.fail(); + } +}; +const invert = v => { + if (v.tag === "GT") { return LT; } + if (v.tag === "EQ") { return EQ; } + if (v.tag === "LT") { return GT; } + $runtime.fail(); +}; +const eqOrdering = { + eq: v => v1 => { + if (v.tag === "LT") { return v1.tag === "LT"; } + if (v.tag === "GT") { return v1.tag === "GT"; } + if (v.tag === "EQ") { return v1.tag === "EQ"; } + return false; + } +}; +export {$Ordering, EQ, GT, LT, eqOrdering, invert, semigroupOrdering, showOrdering}; diff --git a/.storybook/purescript-indexer/output-es/Data.Posix.Signal/index.js b/.storybook/purescript-indexer/output-es/Data.Posix.Signal/index.js new file mode 100644 index 0000000..6b27f2c --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Posix.Signal/index.js @@ -0,0 +1,409 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +const $Signal = tag => ({tag}); +const SIGABRT = /* #__PURE__ */ $Signal("SIGABRT"); +const SIGALRM = /* #__PURE__ */ $Signal("SIGALRM"); +const SIGBUS = /* #__PURE__ */ $Signal("SIGBUS"); +const SIGCHLD = /* #__PURE__ */ $Signal("SIGCHLD"); +const SIGCLD = /* #__PURE__ */ $Signal("SIGCLD"); +const SIGCONT = /* #__PURE__ */ $Signal("SIGCONT"); +const SIGEMT = /* #__PURE__ */ $Signal("SIGEMT"); +const SIGFPE = /* #__PURE__ */ $Signal("SIGFPE"); +const SIGHUP = /* #__PURE__ */ $Signal("SIGHUP"); +const SIGILL = /* #__PURE__ */ $Signal("SIGILL"); +const SIGINFO = /* #__PURE__ */ $Signal("SIGINFO"); +const SIGINT = /* #__PURE__ */ $Signal("SIGINT"); +const SIGIO = /* #__PURE__ */ $Signal("SIGIO"); +const SIGIOT = /* #__PURE__ */ $Signal("SIGIOT"); +const SIGKILL = /* #__PURE__ */ $Signal("SIGKILL"); +const SIGLOST = /* #__PURE__ */ $Signal("SIGLOST"); +const SIGPIPE = /* #__PURE__ */ $Signal("SIGPIPE"); +const SIGPOLL = /* #__PURE__ */ $Signal("SIGPOLL"); +const SIGPROF = /* #__PURE__ */ $Signal("SIGPROF"); +const SIGPWR = /* #__PURE__ */ $Signal("SIGPWR"); +const SIGQUIT = /* #__PURE__ */ $Signal("SIGQUIT"); +const SIGSEGV = /* #__PURE__ */ $Signal("SIGSEGV"); +const SIGSTKFLT = /* #__PURE__ */ $Signal("SIGSTKFLT"); +const SIGSTOP = /* #__PURE__ */ $Signal("SIGSTOP"); +const SIGSYS = /* #__PURE__ */ $Signal("SIGSYS"); +const SIGTERM = /* #__PURE__ */ $Signal("SIGTERM"); +const SIGTRAP = /* #__PURE__ */ $Signal("SIGTRAP"); +const SIGTSTP = /* #__PURE__ */ $Signal("SIGTSTP"); +const SIGTTIN = /* #__PURE__ */ $Signal("SIGTTIN"); +const SIGTTOU = /* #__PURE__ */ $Signal("SIGTTOU"); +const SIGUNUSED = /* #__PURE__ */ $Signal("SIGUNUSED"); +const SIGURG = /* #__PURE__ */ $Signal("SIGURG"); +const SIGUSR1 = /* #__PURE__ */ $Signal("SIGUSR1"); +const SIGUSR2 = /* #__PURE__ */ $Signal("SIGUSR2"); +const SIGVTALRM = /* #__PURE__ */ $Signal("SIGVTALRM"); +const SIGWINCH = /* #__PURE__ */ $Signal("SIGWINCH"); +const SIGXCPU = /* #__PURE__ */ $Signal("SIGXCPU"); +const SIGXFSZ = /* #__PURE__ */ $Signal("SIGXFSZ"); +const toString = s => { + if (s.tag === "SIGABRT") { return "SIGABRT"; } + if (s.tag === "SIGALRM") { return "SIGALRM"; } + if (s.tag === "SIGBUS") { return "SIGBUS"; } + if (s.tag === "SIGCHLD") { return "SIGCHLD"; } + if (s.tag === "SIGCLD") { return "SIGCLD"; } + if (s.tag === "SIGCONT") { return "SIGCONT"; } + if (s.tag === "SIGEMT") { return "SIGEMT"; } + if (s.tag === "SIGFPE") { return "SIGFPE"; } + if (s.tag === "SIGHUP") { return "SIGHUP"; } + if (s.tag === "SIGILL") { return "SIGILL"; } + if (s.tag === "SIGINFO") { return "SIGINFO"; } + if (s.tag === "SIGINT") { return "SIGINT"; } + if (s.tag === "SIGIO") { return "SIGIO"; } + if (s.tag === "SIGIOT") { return "SIGIOT"; } + if (s.tag === "SIGKILL") { return "SIGKILL"; } + if (s.tag === "SIGLOST") { return "SIGLOST"; } + if (s.tag === "SIGPIPE") { return "SIGPIPE"; } + if (s.tag === "SIGPOLL") { return "SIGPOLL"; } + if (s.tag === "SIGPROF") { return "SIGPROF"; } + if (s.tag === "SIGPWR") { return "SIGPWR"; } + if (s.tag === "SIGQUIT") { return "SIGQUIT"; } + if (s.tag === "SIGSEGV") { return "SIGSEGV"; } + if (s.tag === "SIGSTKFLT") { return "SIGSTKFLT"; } + if (s.tag === "SIGSTOP") { return "SIGSTOP"; } + if (s.tag === "SIGSYS") { return "SIGSYS"; } + if (s.tag === "SIGTERM") { return "SIGTERM"; } + if (s.tag === "SIGTRAP") { return "SIGTRAP"; } + if (s.tag === "SIGTSTP") { return "SIGTSTP"; } + if (s.tag === "SIGTTIN") { return "SIGTTIN"; } + if (s.tag === "SIGTTOU") { return "SIGTTOU"; } + if (s.tag === "SIGUNUSED") { return "SIGUNUSED"; } + if (s.tag === "SIGURG") { return "SIGURG"; } + if (s.tag === "SIGUSR1") { return "SIGUSR1"; } + if (s.tag === "SIGUSR2") { return "SIGUSR2"; } + if (s.tag === "SIGVTALRM") { return "SIGVTALRM"; } + if (s.tag === "SIGWINCH") { return "SIGWINCH"; } + if (s.tag === "SIGXCPU") { return "SIGXCPU"; } + if (s.tag === "SIGXFSZ") { return "SIGXFSZ"; } + $runtime.fail(); +}; +const showSignal = {show: toString}; +const fromString = s => { + if (s === "SIGABRT") { return Data$dMaybe.$Maybe("Just", SIGABRT); } + if (s === "SIGALRM") { return Data$dMaybe.$Maybe("Just", SIGALRM); } + if (s === "SIGBUS") { return Data$dMaybe.$Maybe("Just", SIGBUS); } + if (s === "SIGCHLD") { return Data$dMaybe.$Maybe("Just", SIGCHLD); } + if (s === "SIGCLD") { return Data$dMaybe.$Maybe("Just", SIGCLD); } + if (s === "SIGCONT") { return Data$dMaybe.$Maybe("Just", SIGCONT); } + if (s === "SIGEMT") { return Data$dMaybe.$Maybe("Just", SIGEMT); } + if (s === "SIGFPE") { return Data$dMaybe.$Maybe("Just", SIGFPE); } + if (s === "SIGHUP") { return Data$dMaybe.$Maybe("Just", SIGHUP); } + if (s === "SIGILL") { return Data$dMaybe.$Maybe("Just", SIGILL); } + if (s === "SIGINFO") { return Data$dMaybe.$Maybe("Just", SIGINFO); } + if (s === "SIGINT") { return Data$dMaybe.$Maybe("Just", SIGINT); } + if (s === "SIGIO") { return Data$dMaybe.$Maybe("Just", SIGIO); } + if (s === "SIGIOT") { return Data$dMaybe.$Maybe("Just", SIGIOT); } + if (s === "SIGKILL") { return Data$dMaybe.$Maybe("Just", SIGKILL); } + if (s === "SIGLOST") { return Data$dMaybe.$Maybe("Just", SIGLOST); } + if (s === "SIGPIPE") { return Data$dMaybe.$Maybe("Just", SIGPIPE); } + if (s === "SIGPOLL") { return Data$dMaybe.$Maybe("Just", SIGPOLL); } + if (s === "SIGPROF") { return Data$dMaybe.$Maybe("Just", SIGPROF); } + if (s === "SIGPWR") { return Data$dMaybe.$Maybe("Just", SIGPWR); } + if (s === "SIGQUIT") { return Data$dMaybe.$Maybe("Just", SIGQUIT); } + if (s === "SIGSEGV") { return Data$dMaybe.$Maybe("Just", SIGSEGV); } + if (s === "SIGSTKFLT") { return Data$dMaybe.$Maybe("Just", SIGSTKFLT); } + if (s === "SIGSTOP") { return Data$dMaybe.$Maybe("Just", SIGSTOP); } + if (s === "SIGSYS") { return Data$dMaybe.$Maybe("Just", SIGSYS); } + if (s === "SIGTERM") { return Data$dMaybe.$Maybe("Just", SIGTERM); } + if (s === "SIGTRAP") { return Data$dMaybe.$Maybe("Just", SIGTRAP); } + if (s === "SIGTSTP") { return Data$dMaybe.$Maybe("Just", SIGTSTP); } + if (s === "SIGTTIN") { return Data$dMaybe.$Maybe("Just", SIGTTIN); } + if (s === "SIGTTOU") { return Data$dMaybe.$Maybe("Just", SIGTTOU); } + if (s === "SIGUNUSED") { return Data$dMaybe.$Maybe("Just", SIGUNUSED); } + if (s === "SIGURG") { return Data$dMaybe.$Maybe("Just", SIGURG); } + if (s === "SIGUSR1") { return Data$dMaybe.$Maybe("Just", SIGUSR1); } + if (s === "SIGUSR2") { return Data$dMaybe.$Maybe("Just", SIGUSR2); } + if (s === "SIGVTALRM") { return Data$dMaybe.$Maybe("Just", SIGVTALRM); } + if (s === "SIGWINCH") { return Data$dMaybe.$Maybe("Just", SIGWINCH); } + if (s === "SIGXCPU") { return Data$dMaybe.$Maybe("Just", SIGXCPU); } + if (s === "SIGXFSZ") { return Data$dMaybe.$Maybe("Just", SIGXFSZ); } + return Data$dMaybe.Nothing; +}; +const eqSignal = { + eq: x => y => { + if (x.tag === "SIGABRT") { return y.tag === "SIGABRT"; } + if (x.tag === "SIGALRM") { return y.tag === "SIGALRM"; } + if (x.tag === "SIGBUS") { return y.tag === "SIGBUS"; } + if (x.tag === "SIGCHLD") { return y.tag === "SIGCHLD"; } + if (x.tag === "SIGCLD") { return y.tag === "SIGCLD"; } + if (x.tag === "SIGCONT") { return y.tag === "SIGCONT"; } + if (x.tag === "SIGEMT") { return y.tag === "SIGEMT"; } + if (x.tag === "SIGFPE") { return y.tag === "SIGFPE"; } + if (x.tag === "SIGHUP") { return y.tag === "SIGHUP"; } + if (x.tag === "SIGILL") { return y.tag === "SIGILL"; } + if (x.tag === "SIGINFO") { return y.tag === "SIGINFO"; } + if (x.tag === "SIGINT") { return y.tag === "SIGINT"; } + if (x.tag === "SIGIO") { return y.tag === "SIGIO"; } + if (x.tag === "SIGIOT") { return y.tag === "SIGIOT"; } + if (x.tag === "SIGKILL") { return y.tag === "SIGKILL"; } + if (x.tag === "SIGLOST") { return y.tag === "SIGLOST"; } + if (x.tag === "SIGPIPE") { return y.tag === "SIGPIPE"; } + if (x.tag === "SIGPOLL") { return y.tag === "SIGPOLL"; } + if (x.tag === "SIGPROF") { return y.tag === "SIGPROF"; } + if (x.tag === "SIGPWR") { return y.tag === "SIGPWR"; } + if (x.tag === "SIGQUIT") { return y.tag === "SIGQUIT"; } + if (x.tag === "SIGSEGV") { return y.tag === "SIGSEGV"; } + if (x.tag === "SIGSTKFLT") { return y.tag === "SIGSTKFLT"; } + if (x.tag === "SIGSTOP") { return y.tag === "SIGSTOP"; } + if (x.tag === "SIGSYS") { return y.tag === "SIGSYS"; } + if (x.tag === "SIGTERM") { return y.tag === "SIGTERM"; } + if (x.tag === "SIGTRAP") { return y.tag === "SIGTRAP"; } + if (x.tag === "SIGTSTP") { return y.tag === "SIGTSTP"; } + if (x.tag === "SIGTTIN") { return y.tag === "SIGTTIN"; } + if (x.tag === "SIGTTOU") { return y.tag === "SIGTTOU"; } + if (x.tag === "SIGUNUSED") { return y.tag === "SIGUNUSED"; } + if (x.tag === "SIGURG") { return y.tag === "SIGURG"; } + if (x.tag === "SIGUSR1") { return y.tag === "SIGUSR1"; } + if (x.tag === "SIGUSR2") { return y.tag === "SIGUSR2"; } + if (x.tag === "SIGVTALRM") { return y.tag === "SIGVTALRM"; } + if (x.tag === "SIGWINCH") { return y.tag === "SIGWINCH"; } + if (x.tag === "SIGXCPU") { return y.tag === "SIGXCPU"; } + if (x.tag === "SIGXFSZ") { return y.tag === "SIGXFSZ"; } + return false; + } +}; +const ordSignal = { + compare: x => y => { + if (x.tag === "SIGABRT") { + if (y.tag === "SIGABRT") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGABRT") { return Data$dOrdering.GT; } + if (x.tag === "SIGALRM") { + if (y.tag === "SIGALRM") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGALRM") { return Data$dOrdering.GT; } + if (x.tag === "SIGBUS") { + if (y.tag === "SIGBUS") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGBUS") { return Data$dOrdering.GT; } + if (x.tag === "SIGCHLD") { + if (y.tag === "SIGCHLD") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGCHLD") { return Data$dOrdering.GT; } + if (x.tag === "SIGCLD") { + if (y.tag === "SIGCLD") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGCLD") { return Data$dOrdering.GT; } + if (x.tag === "SIGCONT") { + if (y.tag === "SIGCONT") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGCONT") { return Data$dOrdering.GT; } + if (x.tag === "SIGEMT") { + if (y.tag === "SIGEMT") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGEMT") { return Data$dOrdering.GT; } + if (x.tag === "SIGFPE") { + if (y.tag === "SIGFPE") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGFPE") { return Data$dOrdering.GT; } + if (x.tag === "SIGHUP") { + if (y.tag === "SIGHUP") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGHUP") { return Data$dOrdering.GT; } + if (x.tag === "SIGILL") { + if (y.tag === "SIGILL") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGILL") { return Data$dOrdering.GT; } + if (x.tag === "SIGINFO") { + if (y.tag === "SIGINFO") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGINFO") { return Data$dOrdering.GT; } + if (x.tag === "SIGINT") { + if (y.tag === "SIGINT") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGINT") { return Data$dOrdering.GT; } + if (x.tag === "SIGIO") { + if (y.tag === "SIGIO") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGIO") { return Data$dOrdering.GT; } + if (x.tag === "SIGIOT") { + if (y.tag === "SIGIOT") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGIOT") { return Data$dOrdering.GT; } + if (x.tag === "SIGKILL") { + if (y.tag === "SIGKILL") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGKILL") { return Data$dOrdering.GT; } + if (x.tag === "SIGLOST") { + if (y.tag === "SIGLOST") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGLOST") { return Data$dOrdering.GT; } + if (x.tag === "SIGPIPE") { + if (y.tag === "SIGPIPE") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGPIPE") { return Data$dOrdering.GT; } + if (x.tag === "SIGPOLL") { + if (y.tag === "SIGPOLL") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGPOLL") { return Data$dOrdering.GT; } + if (x.tag === "SIGPROF") { + if (y.tag === "SIGPROF") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGPROF") { return Data$dOrdering.GT; } + if (x.tag === "SIGPWR") { + if (y.tag === "SIGPWR") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGPWR") { return Data$dOrdering.GT; } + if (x.tag === "SIGQUIT") { + if (y.tag === "SIGQUIT") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGQUIT") { return Data$dOrdering.GT; } + if (x.tag === "SIGSEGV") { + if (y.tag === "SIGSEGV") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGSEGV") { return Data$dOrdering.GT; } + if (x.tag === "SIGSTKFLT") { + if (y.tag === "SIGSTKFLT") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGSTKFLT") { return Data$dOrdering.GT; } + if (x.tag === "SIGSTOP") { + if (y.tag === "SIGSTOP") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGSTOP") { return Data$dOrdering.GT; } + if (x.tag === "SIGSYS") { + if (y.tag === "SIGSYS") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGSYS") { return Data$dOrdering.GT; } + if (x.tag === "SIGTERM") { + if (y.tag === "SIGTERM") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGTERM") { return Data$dOrdering.GT; } + if (x.tag === "SIGTRAP") { + if (y.tag === "SIGTRAP") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGTRAP") { return Data$dOrdering.GT; } + if (x.tag === "SIGTSTP") { + if (y.tag === "SIGTSTP") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGTSTP") { return Data$dOrdering.GT; } + if (x.tag === "SIGTTIN") { + if (y.tag === "SIGTTIN") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGTTIN") { return Data$dOrdering.GT; } + if (x.tag === "SIGTTOU") { + if (y.tag === "SIGTTOU") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGTTOU") { return Data$dOrdering.GT; } + if (x.tag === "SIGUNUSED") { + if (y.tag === "SIGUNUSED") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGUNUSED") { return Data$dOrdering.GT; } + if (x.tag === "SIGURG") { + if (y.tag === "SIGURG") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGURG") { return Data$dOrdering.GT; } + if (x.tag === "SIGUSR1") { + if (y.tag === "SIGUSR1") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGUSR1") { return Data$dOrdering.GT; } + if (x.tag === "SIGUSR2") { + if (y.tag === "SIGUSR2") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGUSR2") { return Data$dOrdering.GT; } + if (x.tag === "SIGVTALRM") { + if (y.tag === "SIGVTALRM") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGVTALRM") { return Data$dOrdering.GT; } + if (x.tag === "SIGWINCH") { + if (y.tag === "SIGWINCH") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGWINCH") { return Data$dOrdering.GT; } + if (x.tag === "SIGXCPU") { + if (y.tag === "SIGXCPU") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SIGXCPU") { return Data$dOrdering.GT; } + if (x.tag === "SIGXFSZ") { + if (y.tag === "SIGXFSZ") { return Data$dOrdering.EQ; } + $runtime.fail(); + } + $runtime.fail(); + }, + Eq0: () => eqSignal +}; +export { + $Signal, + SIGABRT, + SIGALRM, + SIGBUS, + SIGCHLD, + SIGCLD, + SIGCONT, + SIGEMT, + SIGFPE, + SIGHUP, + SIGILL, + SIGINFO, + SIGINT, + SIGIO, + SIGIOT, + SIGKILL, + SIGLOST, + SIGPIPE, + SIGPOLL, + SIGPROF, + SIGPWR, + SIGQUIT, + SIGSEGV, + SIGSTKFLT, + SIGSTOP, + SIGSYS, + SIGTERM, + SIGTRAP, + SIGTSTP, + SIGTTIN, + SIGTTOU, + SIGUNUSED, + SIGURG, + SIGUSR1, + SIGUSR2, + SIGVTALRM, + SIGWINCH, + SIGXCPU, + SIGXFSZ, + eqSignal, + fromString, + ordSignal, + showSignal, + toString +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Posix/index.js b/.storybook/purescript-indexer/output-es/Data.Posix/index.js new file mode 100644 index 0000000..a720cc2 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Posix/index.js @@ -0,0 +1,20 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dEq from "../Data.Eq/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dShow from "../Data.Show/index.js"; +const Uid = x => x; +const Pid = x => x; +const Gid = x => x; +const showUid = {show: v => "(Uid " + (Data$dShow.showIntImpl(v) + ")")}; +const showPid = {show: v => "(Pid " + (Data$dShow.showIntImpl(v) + ")")}; +const showGid = {show: v => "(Gid " + (Data$dShow.showIntImpl(v) + ")")}; +const ordUid = Data$dOrd.ordInt; +const ordPid = Data$dOrd.ordInt; +const ordGid = Data$dOrd.ordInt; +const newtypeUid = {Coercible0: () => undefined}; +const newtypePid = {Coercible0: () => undefined}; +const newtypeGid = {Coercible0: () => undefined}; +const eqUid = Data$dEq.eqInt; +const eqPid = Data$dEq.eqInt; +const eqGid = Data$dEq.eqInt; +export {Gid, Pid, Uid, eqGid, eqPid, eqUid, newtypeGid, newtypePid, newtypeUid, ordGid, ordPid, ordUid, showGid, showPid, showUid}; diff --git a/.storybook/purescript-indexer/output-es/Data.Predicate/index.js b/.storybook/purescript-indexer/output-es/Data.Predicate/index.js new file mode 100644 index 0000000..421fef5 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Predicate/index.js @@ -0,0 +1,15 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dBooleanAlgebra from "../Data.BooleanAlgebra/index.js"; +const Predicate = x => x; +const newtypePredicate = {Coercible0: () => undefined}; +const heytingAlgebraPredicate = { + ff: v => false, + tt: v => true, + implies: f => g => a => !f(a) || g(a), + conj: f => g => a => f(a) && g(a), + disj: f => g => a => f(a) || g(a), + not: f => a => !f(a) +}; +const contravariantPredicate = {cmap: f => v => x => v(f(x))}; +const booleanAlgebraPredicate = /* #__PURE__ */ Data$dBooleanAlgebra.booleanAlgebraFn(Data$dBooleanAlgebra.booleanAlgebraBoolean); +export {Predicate, booleanAlgebraPredicate, contravariantPredicate, heytingAlgebraPredicate, newtypePredicate}; diff --git a/.storybook/purescript-indexer/output-es/Data.Profunctor.Choice/index.js b/.storybook/purescript-indexer/output-es/Data.Profunctor.Choice/index.js new file mode 100644 index 0000000..f762907 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Profunctor.Choice/index.js @@ -0,0 +1,34 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dProfunctor from "../Data.Profunctor/index.js"; +const identity = x => x; +const right = dict => dict.right; +const left = dict => dict.left; +const splitChoice = dictCategory => { + const $1 = dictCategory.Semigroupoid0(); + return dictChoice => l => r => $1.compose(dictChoice.right(r))(dictChoice.left(l)); +}; +const fanin = dictCategory => { + const $1 = dictCategory.Semigroupoid0(); + const $2 = dictCategory.Semigroupoid0(); + return dictChoice => { + const dimap = dictChoice.Profunctor0().dimap; + return l => r => $1.compose(dimap(v2 => { + if (v2.tag === "Left") { return v2._1; } + if (v2.tag === "Right") { return v2._1; } + $runtime.fail(); + })(identity)(dictCategory.identity))($2.compose(dictChoice.right(r))(dictChoice.left(l))); + }; +}; +const choiceFn = /* #__PURE__ */ (() => ( + { + left: v => v1 => { + if (v1.tag === "Left") { return Data$dEither.$Either("Left", v(v1._1)); } + if (v1.tag === "Right") { return Data$dEither.$Either("Right", v1._1); } + $runtime.fail(); + }, + right: Data$dEither.functorEither.map, + Profunctor0: () => Data$dProfunctor.profunctorFn + } +))(); +export {choiceFn, fanin, identity, left, right, splitChoice}; diff --git a/.storybook/purescript-indexer/output-es/Data.Profunctor.Closed/index.js b/.storybook/purescript-indexer/output-es/Data.Profunctor.Closed/index.js new file mode 100644 index 0000000..223aa3f --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Profunctor.Closed/index.js @@ -0,0 +1,6 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dSemigroupoid from "../Control.Semigroupoid/index.js"; +import * as Data$dProfunctor from "../Data.Profunctor/index.js"; +const closedFunction = /* #__PURE__ */ (() => ({closed: Control$dSemigroupoid.semigroupoidFn.compose, Profunctor0: () => Data$dProfunctor.profunctorFn}))(); +const closed = dict => dict.closed; +export {closed, closedFunction}; diff --git a/.storybook/purescript-indexer/output-es/Data.Profunctor.Cochoice/index.js b/.storybook/purescript-indexer/output-es/Data.Profunctor.Cochoice/index.js new file mode 100644 index 0000000..4254769 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Profunctor.Cochoice/index.js @@ -0,0 +1,4 @@ +import * as $runtime from "../runtime.js"; +const unright = dict => dict.unright; +const unleft = dict => dict.unleft; +export {unleft, unright}; diff --git a/.storybook/purescript-indexer/output-es/Data.Profunctor.Costrong/index.js b/.storybook/purescript-indexer/output-es/Data.Profunctor.Costrong/index.js new file mode 100644 index 0000000..c553351 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Profunctor.Costrong/index.js @@ -0,0 +1,4 @@ +import * as $runtime from "../runtime.js"; +const unsecond = dict => dict.unsecond; +const unfirst = dict => dict.unfirst; +export {unfirst, unsecond}; diff --git a/.storybook/purescript-indexer/output-es/Data.Profunctor.Join/index.js b/.storybook/purescript-indexer/output-es/Data.Profunctor.Join/index.js new file mode 100644 index 0000000..4f588b2 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Profunctor.Join/index.js @@ -0,0 +1,14 @@ +import * as $runtime from "../runtime.js"; +const Join = x => x; +const showJoin = dictShow => ({show: v => "(Join " + (dictShow.show(v) + ")")}); +const semigroupJoin = dictSemigroupoid => ({append: v => v1 => dictSemigroupoid.compose(v)(v1)}); +const ordJoin = dictOrd => dictOrd; +const newtypeJoin = {Coercible0: () => undefined}; +const monoidJoin = dictCategory => { + const $1 = dictCategory.Semigroupoid0(); + const semigroupJoin1 = {append: v => v1 => $1.compose(v)(v1)}; + return {mempty: dictCategory.identity, Semigroup0: () => semigroupJoin1}; +}; +const invariantJoin = dictProfunctor => ({imap: f => g => v => dictProfunctor.dimap(g)(f)(v)}); +const eqJoin = dictEq => dictEq; +export {Join, eqJoin, invariantJoin, monoidJoin, newtypeJoin, ordJoin, semigroupJoin, showJoin}; diff --git a/.storybook/purescript-indexer/output-es/Data.Profunctor.Split/index.js b/.storybook/purescript-indexer/output-es/Data.Profunctor.Split/index.js new file mode 100644 index 0000000..dd3fc7b --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Profunctor.Split/index.js @@ -0,0 +1,12 @@ +import * as $runtime from "../runtime.js"; +const $SplitF = (_1, _2, _3) => ({tag: "SplitF", _1, _2, _3}); +const identity = x => x; +const SplitF = value0 => value1 => value2 => $SplitF(value0, value1, value2); +const unSplit = f => v => f(v._1)(v._2)(v._3); +const split = f => g => fx => $SplitF(f, g, fx); +const profunctorSplit = {dimap: f => g => v => $SplitF(x => v._1(f(x)), x => g(v._2(x)), v._3)}; +const lowerSplit = dictInvariant => v => dictInvariant.imap(v._2)(v._1)(v._3); +const liftSplit = /* #__PURE__ */ split(identity)(identity); +const hoistSplit = nat => v => $SplitF(v._1, v._2, nat(v._3)); +const functorSplit = {map: f => v => $SplitF(v._1, x => f(v._2(x)), v._3)}; +export {$SplitF, SplitF, functorSplit, hoistSplit, identity, liftSplit, lowerSplit, profunctorSplit, split, unSplit}; diff --git a/.storybook/purescript-indexer/output-es/Data.Profunctor.Star/index.js b/.storybook/purescript-indexer/output-es/Data.Profunctor.Star/index.js new file mode 100644 index 0000000..579e408 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Profunctor.Star/index.js @@ -0,0 +1,232 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dFunctor from "../Data.Functor/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const Star = x => x; +const semigroupoidStar = dictBind => ({compose: v => v1 => x => dictBind.bind(v1(x))(v)}); +const profunctorStar = dictFunctor => ( + { + dimap: f => g => v => { + const $4 = dictFunctor.map(g); + return x => $4(v(f(x))); + } + } +); +const strongStar = dictFunctor => { + const profunctorStar1 = { + dimap: f => g => v => { + const $4 = dictFunctor.map(g); + return x => $4(v(f(x))); + } + }; + return { + first: v => v1 => dictFunctor.map(v2 => Data$dTuple.$Tuple(v2, v1._2))(v(v1._1)), + second: v => v1 => dictFunctor.map(Data$dTuple.Tuple(v1._1))(v(v1._2)), + Profunctor0: () => profunctorStar1 + }; +}; +const newtypeStar = {Coercible0: () => undefined}; +const invariantStar = dictInvariant => ( + { + imap: f => g => v => { + const $4 = dictInvariant.imap(f)(g); + return x => $4(v(x)); + } + } +); +const hoistStar = f => v => x => f(v(x)); +const functorStar = dictFunctor => ( + { + map: f => v => { + const $3 = dictFunctor.map(f); + return x => $3(v(x)); + } + } +); +const distributiveStar = dictDistributive => { + const $1 = dictDistributive.Functor0(); + const functorStar1 = { + map: f => v => { + const $4 = $1.map(f); + return x => $4(v(x)); + } + }; + return { + distribute: dictFunctor => { + const collect1 = dictDistributive.collect(dictFunctor); + return f => a => collect1(v => v(a))(f); + }, + collect: dictFunctor => f => { + const $5 = distributiveStar(dictDistributive).distribute(dictFunctor); + const $6 = dictFunctor.map(f); + return x => $5($6(x)); + }, + Functor0: () => functorStar1 + }; +}; +const closedStar = dictDistributive => { + const distribute = dictDistributive.distribute(Data$dFunctor.functorFn); + const $2 = dictDistributive.Functor0(); + const profunctorStar1 = { + dimap: f => g => v => { + const $6 = $2.map(g); + return x => $6(v(f(x))); + } + }; + return {closed: v => g => distribute(x => v(g(x))), Profunctor0: () => profunctorStar1}; +}; +const choiceStar = dictApplicative => { + const Functor0 = dictApplicative.Apply0().Functor0(); + const profunctorStar1 = { + dimap: f => g => v => { + const $5 = Functor0.map(g); + return x => $5(v(f(x))); + } + }; + return { + left: v => { + const $4 = Functor0.map(Data$dEither.Left); + return v2 => { + if (v2.tag === "Left") { return $4(v(v2._1)); } + if (v2.tag === "Right") { return dictApplicative.pure(Data$dEither.$Either("Right", v2._1)); } + $runtime.fail(); + }; + }, + right: v => { + const $4 = Functor0.map(Data$dEither.Right); + return v2 => { + if (v2.tag === "Left") { return dictApplicative.pure(Data$dEither.$Either("Left", v2._1)); } + if (v2.tag === "Right") { return $4(v(v2._1)); } + $runtime.fail(); + }; + }, + Profunctor0: () => profunctorStar1 + }; +}; +const categoryStar = dictMonad => { + const $1 = dictMonad.Bind1(); + const semigroupoidStar1 = {compose: v => v1 => x => $1.bind(v1(x))(v)}; + return {identity: dictMonad.Applicative0().pure, Semigroupoid0: () => semigroupoidStar1}; +}; +const applyStar = dictApply => { + const $1 = dictApply.Functor0(); + const functorStar1 = { + map: f => v => { + const $4 = $1.map(f); + return x => $4(v(x)); + } + }; + return {apply: v => v1 => a => dictApply.apply(v(a))(v1(a)), Functor0: () => functorStar1}; +}; +const bindStar = dictBind => { + const $1 = dictBind.Apply0(); + const $2 = $1.Functor0(); + const functorStar1 = { + map: f => v => { + const $5 = $2.map(f); + return x => $5(v(x)); + } + }; + const applyStar1 = {apply: v => v1 => a => $1.apply(v(a))(v1(a)), Functor0: () => functorStar1}; + return {bind: v => f => x => dictBind.bind(v(x))(a => f(a)(x)), Apply0: () => applyStar1}; +}; +const applicativeStar = dictApplicative => { + const $1 = dictApplicative.Apply0(); + const $2 = $1.Functor0(); + const functorStar1 = { + map: f => v => { + const $5 = $2.map(f); + return x => $5(v(x)); + } + }; + const applyStar1 = {apply: v => v1 => a => $1.apply(v(a))(v1(a)), Functor0: () => functorStar1}; + return {pure: a => v => dictApplicative.pure(a), Apply0: () => applyStar1}; +}; +const monadStar = dictMonad => { + const $1 = dictMonad.Applicative0(); + const $2 = $1.Apply0(); + const $3 = $2.Functor0(); + const functorStar1 = { + map: f => v => { + const $6 = $3.map(f); + return x => $6(v(x)); + } + }; + const applyStar1 = {apply: v => v1 => a => $2.apply(v(a))(v1(a)), Functor0: () => functorStar1}; + const applicativeStar1 = {pure: a => v => $1.pure(a), Apply0: () => applyStar1}; + const bindStar1 = bindStar(dictMonad.Bind1()); + return {Applicative0: () => applicativeStar1, Bind1: () => bindStar1}; +}; +const altStar = dictAlt => { + const $1 = dictAlt.Functor0(); + const functorStar1 = { + map: f => v => { + const $4 = $1.map(f); + return x => $4(v(x)); + } + }; + return {alt: v => v1 => a => dictAlt.alt(v(a))(v1(a)), Functor0: () => functorStar1}; +}; +const plusStar = dictPlus => { + const $1 = dictPlus.Alt0(); + const $2 = $1.Functor0(); + const functorStar1 = { + map: f => v => { + const $5 = $2.map(f); + return x => $5(v(x)); + } + }; + const altStar1 = {alt: v => v1 => a => $1.alt(v(a))(v1(a)), Functor0: () => functorStar1}; + return {empty: v => dictPlus.empty, Alt0: () => altStar1}; +}; +const alternativeStar = dictAlternative => { + const $1 = dictAlternative.Applicative0(); + const $2 = $1.Apply0(); + const $3 = $2.Functor0(); + const functorStar1 = { + map: f => v => { + const $6 = $3.map(f); + return x => $6(v(x)); + } + }; + const applyStar1 = {apply: v => v1 => a => $2.apply(v(a))(v1(a)), Functor0: () => functorStar1}; + const applicativeStar1 = {pure: a => v => $1.pure(a), Apply0: () => applyStar1}; + const $7 = dictAlternative.Plus1(); + const $8 = $7.Alt0(); + const $9 = $8.Functor0(); + const functorStar1$1 = { + map: f => v => { + const $12 = $9.map(f); + return x => $12(v(x)); + } + }; + const altStar1 = {alt: v => v1 => a => $8.alt(v(a))(v1(a)), Functor0: () => functorStar1$1}; + return {Applicative0: () => applicativeStar1, Plus1: () => ({empty: v => $7.empty, Alt0: () => altStar1})}; +}; +const monadPlusStar = dictMonadPlus => { + const monadStar1 = monadStar(dictMonadPlus.Monad0()); + const alternativeStar1 = alternativeStar(dictMonadPlus.Alternative1()); + return {Monad0: () => monadStar1, Alternative1: () => alternativeStar1}; +}; +export { + Star, + altStar, + alternativeStar, + applicativeStar, + applyStar, + bindStar, + categoryStar, + choiceStar, + closedStar, + distributiveStar, + functorStar, + hoistStar, + invariantStar, + monadPlusStar, + monadStar, + newtypeStar, + plusStar, + profunctorStar, + semigroupoidStar, + strongStar +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Profunctor.Strong/index.js b/.storybook/purescript-indexer/output-es/Data.Profunctor.Strong/index.js new file mode 100644 index 0000000..e38b386 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Profunctor.Strong/index.js @@ -0,0 +1,22 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dProfunctor from "../Data.Profunctor/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const identity = x => x; +const strongFn = /* #__PURE__ */ (() => ( + {first: a2b => v => Data$dTuple.$Tuple(a2b(v._1), v._2), second: Data$dTuple.functorTuple.map, Profunctor0: () => Data$dProfunctor.profunctorFn} +))(); +const second = dict => dict.second; +const first = dict => dict.first; +const splitStrong = dictCategory => { + const $1 = dictCategory.Semigroupoid0(); + return dictStrong => l => r => $1.compose(dictStrong.second(r))(dictStrong.first(l)); +}; +const fanout = dictCategory => { + const $1 = dictCategory.Semigroupoid0(); + const $2 = dictCategory.Semigroupoid0(); + return dictStrong => { + const dimap = dictStrong.Profunctor0().dimap; + return l => r => $1.compose($2.compose(dictStrong.second(r))(dictStrong.first(l)))(dimap(identity)(a => Data$dTuple.$Tuple(a, a))(dictCategory.identity)); + }; +}; +export {fanout, first, identity, second, splitStrong, strongFn}; diff --git a/.storybook/purescript-indexer/output-es/Data.Profunctor/index.js b/.storybook/purescript-indexer/output-es/Data.Profunctor/index.js new file mode 100644 index 0000000..620772a --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Profunctor/index.js @@ -0,0 +1,11 @@ +import * as $runtime from "../runtime.js"; +import * as Unsafe$dCoerce from "../Unsafe.Coerce/index.js"; +const identity = x => x; +const profunctorFn = {dimap: a2b => c2d => b2c => x => c2d(b2c(a2b(x)))}; +const dimap = dict => dict.dimap; +const lcmap = dictProfunctor => a2b => dictProfunctor.dimap(a2b)(identity); +const rmap = dictProfunctor => b2c => dictProfunctor.dimap(identity)(b2c); +const unwrapIso = dictProfunctor => () => dictProfunctor.dimap(Unsafe$dCoerce.unsafeCoerce)(Unsafe$dCoerce.unsafeCoerce); +const wrapIso = dictProfunctor => () => v => dictProfunctor.dimap(Unsafe$dCoerce.unsafeCoerce)(Unsafe$dCoerce.unsafeCoerce); +const arr = dictCategory => dictProfunctor => f => dictProfunctor.dimap(identity)(f)(dictCategory.identity); +export {arr, dimap, identity, lcmap, profunctorFn, rmap, unwrapIso, wrapIso}; diff --git a/.storybook/purescript-indexer/output-es/Data.Reflectable/foreign.js b/.storybook/purescript-indexer/output-es/Data.Reflectable/foreign.js new file mode 100644 index 0000000..822a20c --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Reflectable/foreign.js @@ -0,0 +1,5 @@ +// module Data.Reflectable + +export const unsafeCoerce = function (arg) { + return arg; +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Reflectable/index.js b/.storybook/purescript-indexer/output-es/Data.Reflectable/index.js new file mode 100644 index 0000000..3099189 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Reflectable/index.js @@ -0,0 +1,11 @@ +import * as $runtime from "../runtime.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +import {unsafeCoerce} from "./foreign.js"; +const reifiableString = {}; +const reifiableOrdering = {}; +const reifiableInt = {}; +const reifiableBoolean = {}; +const reifyType = () => s => f => unsafeCoerce(dictReflectable => f(dictReflectable))({reflectType: v => s})(Type$dProxy.Proxy); +const reflectType = dict => dict.reflectType; +export {reflectType, reifiableBoolean, reifiableInt, reifiableOrdering, reifiableString, reifyType}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.Ring.Generic/index.js b/.storybook/purescript-indexer/output-es/Data.Ring.Generic/index.js new file mode 100644 index 0000000..48f8f45 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Ring.Generic/index.js @@ -0,0 +1,11 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dGeneric$dRep from "../Data.Generic.Rep/index.js"; +const genericSub$p = dict => dict["genericSub'"]; +const genericSub = dictGeneric => dictGenericRing => x => y => dictGeneric.to(dictGenericRing["genericSub'"](dictGeneric.from(x))(dictGeneric.from(y))); +const genericRingProduct = dictGenericRing => dictGenericRing1 => ( + {"genericSub'": v => v1 => Data$dGeneric$dRep.$Product(dictGenericRing["genericSub'"](v._1)(v1._1), dictGenericRing1["genericSub'"](v._2)(v1._2))} +); +const genericRingNoArguments = {"genericSub'": v => v1 => Data$dGeneric$dRep.NoArguments}; +const genericRingConstructor = dictGenericRing => ({"genericSub'": v => v1 => dictGenericRing["genericSub'"](v)(v1)}); +const genericRingArgument = dictRing => ({"genericSub'": v => v1 => dictRing.sub(v)(v1)}); +export {genericRingArgument, genericRingConstructor, genericRingNoArguments, genericRingProduct, genericSub, genericSub$p}; diff --git a/.storybook/purescript-indexer/output-es/Data.Ring/foreign.js b/.storybook/purescript-indexer/output-es/Data.Ring/foreign.js new file mode 100644 index 0000000..cceb66c --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Ring/foreign.js @@ -0,0 +1,12 @@ +export const intSub = function (x) { + return function (y) { + /* jshint bitwise: false */ + return x - y | 0; + }; +}; + +export const numSub = function (n1) { + return function (n2) { + return n1 - n2; + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Ring/index.js b/.storybook/purescript-indexer/output-es/Data.Ring/index.js new file mode 100644 index 0000000..0dbcabe --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Ring/index.js @@ -0,0 +1,42 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dSemiring from "../Data.Semiring/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import * as Record$dUnsafe from "../Record.Unsafe/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +import {intSub, numSub} from "./foreign.js"; +const subRecord = dict => dict.subRecord; +const sub = dict => dict.sub; +const ringUnit = {sub: v => v1 => Data$dUnit.unit, Semiring0: () => Data$dSemiring.semiringUnit}; +const ringRecordNil = {subRecord: v => v1 => v2 => ({}), SemiringRecord0: () => Data$dSemiring.semiringRecordNil}; +const ringRecordCons = dictIsSymbol => () => dictRingRecord => { + const semiringRecordCons1 = Data$dSemiring.semiringRecordCons(dictIsSymbol)()(dictRingRecord.SemiringRecord0()); + return dictRing => { + const semiringRecordCons2 = semiringRecordCons1(dictRing.Semiring0()); + return { + subRecord: v => ra => rb => { + const key = dictIsSymbol.reflectSymbol(Type$dProxy.Proxy); + const $$get = Record$dUnsafe.unsafeGet(key); + return Record$dUnsafe.unsafeSet(key)(dictRing.sub($$get(ra))($$get(rb)))(dictRingRecord.subRecord(Type$dProxy.Proxy)(ra)(rb)); + }, + SemiringRecord0: () => semiringRecordCons2 + }; + }; +}; +const ringRecord = () => dictRingRecord => { + const semiringRecord1 = Data$dSemiring.semiringRecord()(dictRingRecord.SemiringRecord0()); + return {sub: dictRingRecord.subRecord(Type$dProxy.Proxy), Semiring0: () => semiringRecord1}; +}; +const ringProxy = {sub: v => v1 => Type$dProxy.Proxy, Semiring0: () => Data$dSemiring.semiringProxy}; +const ringNumber = {sub: numSub, Semiring0: () => Data$dSemiring.semiringNumber}; +const ringInt = {sub: intSub, Semiring0: () => Data$dSemiring.semiringInt}; +const ringFn = dictRing => { + const $1 = dictRing.Semiring0(); + const semiringFn = {add: f => g => x => $1.add(f(x))(g(x)), zero: v => $1.zero, mul: f => g => x => $1.mul(f(x))(g(x)), one: v => $1.one}; + return {sub: f => g => x => dictRing.sub(f(x))(g(x)), Semiring0: () => semiringFn}; +}; +const negate = dictRing => { + const zero = dictRing.Semiring0().zero; + return a => dictRing.sub(zero)(a); +}; +export {negate, ringFn, ringInt, ringNumber, ringProxy, ringRecord, ringRecordCons, ringRecordNil, ringUnit, sub, subRecord}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.Semigroup.First/index.js b/.storybook/purescript-indexer/output-es/Data.Semigroup.First/index.js new file mode 100644 index 0000000..940dad1 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Semigroup.First/index.js @@ -0,0 +1,15 @@ +import * as $runtime from "../runtime.js"; +const First = x => x; +const showFirst = dictShow => ({show: v => "(First " + (dictShow.show(v) + ")")}); +const semigroupFirst = {append: x => v => x}; +const ordFirst = dictOrd => dictOrd; +const functorFirst = {map: f => m => f(m)}; +const eqFirst = dictEq => dictEq; +const eq1First = {eq1: dictEq => dictEq.eq}; +const ord1First = {compare1: dictOrd => dictOrd.compare, Eq10: () => eq1First}; +const boundedFirst = dictBounded => dictBounded; +const applyFirst = {apply: v => v1 => v(v1), Functor0: () => functorFirst}; +const bindFirst = {bind: v => f => f(v), Apply0: () => applyFirst}; +const applicativeFirst = {pure: First, Apply0: () => applyFirst}; +const monadFirst = {Applicative0: () => applicativeFirst, Bind1: () => bindFirst}; +export {First, applicativeFirst, applyFirst, bindFirst, boundedFirst, eq1First, eqFirst, functorFirst, monadFirst, ord1First, ordFirst, semigroupFirst, showFirst}; diff --git a/.storybook/purescript-indexer/output-es/Data.Semigroup.Foldable/index.js b/.storybook/purescript-indexer/output-es/Data.Semigroup.Foldable/index.js new file mode 100644 index 0000000..e2e676a --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Semigroup.Foldable/index.js @@ -0,0 +1,131 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dApply from "../Control.Apply/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dFunction from "../Data.Function/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import * as Unsafe$dCoerce from "../Unsafe.Coerce/index.js"; +const $FoldRight1 = (_1, _2) => ({tag: "FoldRight1", _1, _2}); +const identity = x => x; +const FoldRight1 = value0 => value1 => $FoldRight1(value0, value1); +const semigroupAct = dictApply => { + const map = dictApply.Functor0().map; + return {append: v => v1 => dictApply.apply(map(v$1 => Control$dApply.identity)(v))(v1)}; +}; +const mkFoldRight1 = /* #__PURE__ */ FoldRight1(Data$dFunction.const); +const foldr1 = dict => dict.foldr1; +const foldl1 = dict => dict.foldl1; +const maximumBy = dictFoldable1 => cmp => dictFoldable1.foldl1(x => y => { + if (cmp(x)(y).tag === "GT") { return x; } + return y; +}); +const minimumBy = dictFoldable1 => cmp => dictFoldable1.foldl1(x => y => { + if (cmp(x)(y).tag === "LT") { return x; } + return y; +}); +const foldableTuple = {foldMap1: dictSemigroup => f => v => f(v._2), foldr1: v => v1 => v1._2, foldl1: v => v1 => v1._2, Foldable0: () => Data$dFoldable.foldableTuple}; +const foldableMultiplicative = {foldr1: v => v1 => v1, foldl1: v => v1 => v1, foldMap1: dictSemigroup => f => v => f(v), Foldable0: () => Data$dFoldable.foldableMultiplicative}; +const foldableIdentity = {foldMap1: dictSemigroup => f => v => f(v), foldl1: v => v1 => v1, foldr1: v => v1 => v1, Foldable0: () => Data$dFoldable.foldableIdentity}; +const foldableDual = {foldr1: v => v1 => v1, foldl1: v => v1 => v1, foldMap1: dictSemigroup => f => v => f(v), Foldable0: () => Data$dFoldable.foldableDual}; +const foldRight1Semigroup = {append: v => v1 => $FoldRight1(a => f => v._1(f(v._2)(v1._1(a)(f)))(f), v1._2)}; +const semigroupDual = {append: v => v1 => foldRight1Semigroup.append(v1)(v)}; +const foldMap1DefaultR = dictFoldable1 => dictFunctor => dictSemigroup => f => { + const $4 = dictFunctor.map(f); + const $5 = dictFoldable1.foldr1(dictSemigroup.append); + return x => $5($4(x)); +}; +const foldMap1DefaultL = dictFoldable1 => dictFunctor => dictSemigroup => f => { + const $4 = dictFunctor.map(f); + const $5 = dictFoldable1.foldl1(dictSemigroup.append); + return x => $5($4(x)); +}; +const foldMap1 = dict => dict.foldMap1; +const foldl1Default = dictFoldable1 => { + const $1 = dictFoldable1.foldMap1(semigroupDual)(mkFoldRight1); + return x => a => { + const $4 = $1(a); + return $4._1($4._2)(b => a$1 => x(a$1)(b)); + }; +}; +const foldr1Default = dictFoldable1 => { + const $1 = dictFoldable1.foldMap1(foldRight1Semigroup)(mkFoldRight1); + return b => a => { + const $4 = $1(a); + return $4._1($4._2)(b); + }; +}; +const intercalateMap = dictFoldable1 => dictSemigroup => { + const foldMap12 = dictFoldable1.foldMap1({append: v => v1 => j => dictSemigroup.append(v(j))(dictSemigroup.append(j)(v1(j)))}); + return j => f => foldable => foldMap12(x => { + const $7 = f(x); + return v => $7; + })(foldable)(j); +}; +const intercalate = dictFoldable1 => dictSemigroup => { + const foldMap12 = dictFoldable1.foldMap1({append: v => v1 => j => dictSemigroup.append(v(j))(dictSemigroup.append(j)(v1(j)))}); + return a => foldable => foldMap12(x => v => x)(foldable)(a); +}; +const maximum = dictOrd => { + const semigroupMax = { + append: v => v1 => { + const v$1 = dictOrd.compare(v)(v1); + if (v$1.tag === "LT") { return v1; } + if (v$1.tag === "EQ") { return v; } + if (v$1.tag === "GT") { return v; } + $runtime.fail(); + } + }; + return dictFoldable1 => dictFoldable1.foldMap1(semigroupMax)(Unsafe$dCoerce.unsafeCoerce); +}; +const minimum = dictOrd => { + const semigroupMin = { + append: v => v1 => { + const v$1 = dictOrd.compare(v)(v1); + if (v$1.tag === "LT") { return v; } + if (v$1.tag === "EQ") { return v; } + if (v$1.tag === "GT") { return v1; } + $runtime.fail(); + } + }; + return dictFoldable1 => dictFoldable1.foldMap1(semigroupMin)(Unsafe$dCoerce.unsafeCoerce); +}; +const traverse1_ = dictFoldable1 => dictApply => { + const $2 = dictApply.Functor0(); + const foldMap12 = dictFoldable1.foldMap1(semigroupAct(dictApply)); + return f => t => $2.map(v => Data$dUnit.unit)(foldMap12(x => f(x))(t)); +}; +const for1_ = dictFoldable1 => dictApply => { + const $2 = traverse1_(dictFoldable1)(dictApply); + return b => a => $2(a)(b); +}; +const sequence1_ = dictFoldable1 => dictApply => traverse1_(dictFoldable1)(dictApply)(identity); +const fold1 = dictFoldable1 => dictSemigroup => dictFoldable1.foldMap1(dictSemigroup)(identity); +export { + $FoldRight1, + FoldRight1, + fold1, + foldMap1, + foldMap1DefaultL, + foldMap1DefaultR, + foldRight1Semigroup, + foldableDual, + foldableIdentity, + foldableMultiplicative, + foldableTuple, + foldl1, + foldl1Default, + foldr1, + foldr1Default, + for1_, + identity, + intercalate, + intercalateMap, + maximum, + maximumBy, + minimum, + minimumBy, + mkFoldRight1, + semigroupAct, + semigroupDual, + sequence1_, + traverse1_ +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Semigroup.Generic/index.js b/.storybook/purescript-indexer/output-es/Data.Semigroup.Generic/index.js new file mode 100644 index 0000000..d17fce9 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Semigroup.Generic/index.js @@ -0,0 +1,12 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dGeneric$dRep from "../Data.Generic.Rep/index.js"; +const genericSemigroupNoConstructors = {"genericAppend'": a => v => a}; +const genericSemigroupNoArguments = {"genericAppend'": a => v => a}; +const genericSemigroupArgument = dictSemigroup => ({"genericAppend'": v => v1 => dictSemigroup.append(v)(v1)}); +const genericAppend$p = dict => dict["genericAppend'"]; +const genericSemigroupConstructor = dictGenericSemigroup => ({"genericAppend'": v => v1 => dictGenericSemigroup["genericAppend'"](v)(v1)}); +const genericSemigroupProduct = dictGenericSemigroup => dictGenericSemigroup1 => ( + {"genericAppend'": v => v1 => Data$dGeneric$dRep.$Product(dictGenericSemigroup["genericAppend'"](v._1)(v1._1), dictGenericSemigroup1["genericAppend'"](v._2)(v1._2))} +); +const genericAppend = dictGeneric => dictGenericSemigroup => x => y => dictGeneric.to(dictGenericSemigroup["genericAppend'"](dictGeneric.from(x))(dictGeneric.from(y))); +export {genericAppend, genericAppend$p, genericSemigroupArgument, genericSemigroupConstructor, genericSemigroupNoArguments, genericSemigroupNoConstructors, genericSemigroupProduct}; diff --git a/.storybook/purescript-indexer/output-es/Data.Semigroup.Last/index.js b/.storybook/purescript-indexer/output-es/Data.Semigroup.Last/index.js new file mode 100644 index 0000000..74ac14c --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Semigroup.Last/index.js @@ -0,0 +1,15 @@ +import * as $runtime from "../runtime.js"; +const Last = x => x; +const showLast = dictShow => ({show: v => "(Last " + (dictShow.show(v) + ")")}); +const semigroupLast = {append: v => x => x}; +const ordLast = dictOrd => dictOrd; +const functorLast = {map: f => m => f(m)}; +const eqLast = dictEq => dictEq; +const eq1Last = {eq1: dictEq => dictEq.eq}; +const ord1Last = {compare1: dictOrd => dictOrd.compare, Eq10: () => eq1Last}; +const boundedLast = dictBounded => dictBounded; +const applyLast = {apply: v => v1 => v(v1), Functor0: () => functorLast}; +const bindLast = {bind: v => f => f(v), Apply0: () => applyLast}; +const applicativeLast = {pure: Last, Apply0: () => applyLast}; +const monadLast = {Applicative0: () => applicativeLast, Bind1: () => bindLast}; +export {Last, applicativeLast, applyLast, bindLast, boundedLast, eq1Last, eqLast, functorLast, monadLast, ord1Last, ordLast, semigroupLast, showLast}; diff --git a/.storybook/purescript-indexer/output-es/Data.Semigroup.Traversable/index.js b/.storybook/purescript-indexer/output-es/Data.Semigroup.Traversable/index.js new file mode 100644 index 0000000..957c259 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Semigroup.Traversable/index.js @@ -0,0 +1,61 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dIdentity from "../Data.Identity/index.js"; +import * as Data$dMonoid$dDual from "../Data.Monoid.Dual/index.js"; +import * as Data$dMonoid$dMultiplicative from "../Data.Monoid.Multiplicative/index.js"; +import * as Data$dSemigroup$dFoldable from "../Data.Semigroup.Foldable/index.js"; +import * as Data$dTraversable from "../Data.Traversable/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const identity = x => x; +const traverse1 = dict => dict.traverse1; +const traversableTuple = { + traverse1: dictApply => { + const map = dictApply.Functor0().map; + return f => v => map(Data$dTuple.Tuple(v._1))(f(v._2)); + }, + sequence1: dictApply => { + const map = dictApply.Functor0().map; + return v => map(Data$dTuple.Tuple(v._1))(v._2); + }, + Foldable10: () => Data$dSemigroup$dFoldable.foldableTuple, + Traversable1: () => Data$dTraversable.traversableTuple +}; +const traversableIdentity = { + traverse1: dictApply => { + const map = dictApply.Functor0().map; + return f => v => map(Data$dIdentity.Identity)(f(v)); + }, + sequence1: dictApply => { + const map = dictApply.Functor0().map; + return v => map(Data$dIdentity.Identity)(v); + }, + Foldable10: () => Data$dSemigroup$dFoldable.foldableIdentity, + Traversable1: () => Data$dTraversable.traversableIdentity +}; +const sequence1Default = dictTraversable1 => dictApply => dictTraversable1.traverse1(dictApply)(identity); +const traversableDual = { + traverse1: dictApply => { + const map = dictApply.Functor0().map; + return f => v => map(Data$dMonoid$dDual.Dual)(f(v)); + }, + sequence1: dictApply => traversableDual.traverse1(dictApply)(identity), + Foldable10: () => Data$dSemigroup$dFoldable.foldableDual, + Traversable1: () => Data$dTraversable.traversableDual +}; +const traversableMultiplicative = { + traverse1: dictApply => { + const map = dictApply.Functor0().map; + return f => v => map(Data$dMonoid$dMultiplicative.Multiplicative)(f(v)); + }, + sequence1: dictApply => traversableMultiplicative.traverse1(dictApply)(identity), + Foldable10: () => Data$dSemigroup$dFoldable.foldableMultiplicative, + Traversable1: () => Data$dTraversable.traversableMultiplicative +}; +const sequence1 = dict => dict.sequence1; +const traverse1Default = dictTraversable1 => { + const map = dictTraversable1.Traversable1().Functor0().map; + return dictApply => { + const sequence12 = dictTraversable1.sequence1(dictApply); + return f => ta => sequence12(map(f)(ta)); + }; +}; +export {identity, sequence1, sequence1Default, traversableDual, traversableIdentity, traversableMultiplicative, traversableTuple, traverse1, traverse1Default}; diff --git a/.storybook/purescript-indexer/output-es/Data.Semigroup/foreign.js b/.storybook/purescript-indexer/output-es/Data.Semigroup/foreign.js new file mode 100644 index 0000000..1909f55 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Semigroup/foreign.js @@ -0,0 +1,13 @@ +export const concatString = function (s1) { + return function (s2) { + return s1 + s2; + }; +}; + +export const concatArray = function (xs) { + return function (ys) { + if (xs.length === 0) return ys; + if (ys.length === 0) return xs; + return xs.concat(ys); + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Semigroup/index.js b/.storybook/purescript-indexer/output-es/Data.Semigroup/index.js new file mode 100644 index 0000000..9d3a134 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Semigroup/index.js @@ -0,0 +1,27 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import * as Data$dVoid from "../Data.Void/index.js"; +import * as Record$dUnsafe from "../Record.Unsafe/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +import {concatArray, concatString} from "./foreign.js"; +const semigroupVoid = {append: v => Data$dVoid.absurd}; +const semigroupUnit = {append: v => v1 => Data$dUnit.unit}; +const semigroupString = {append: concatString}; +const semigroupRecordNil = {appendRecord: v => v1 => v2 => ({})}; +const semigroupProxy = {append: v => v1 => Type$dProxy.Proxy}; +const semigroupArray = {append: concatArray}; +const appendRecord = dict => dict.appendRecord; +const semigroupRecord = () => dictSemigroupRecord => ({append: dictSemigroupRecord.appendRecord(Type$dProxy.Proxy)}); +const append = dict => dict.append; +const semigroupFn = dictSemigroup => ({append: f => g => x => dictSemigroup.append(f(x))(g(x))}); +const semigroupRecordCons = dictIsSymbol => () => dictSemigroupRecord => dictSemigroup => ( + { + appendRecord: v => ra => rb => { + const key = dictIsSymbol.reflectSymbol(Type$dProxy.Proxy); + const $$get = Record$dUnsafe.unsafeGet(key); + return Record$dUnsafe.unsafeSet(key)(dictSemigroup.append($$get(ra))($$get(rb)))(dictSemigroupRecord.appendRecord(Type$dProxy.Proxy)(ra)(rb)); + } + } +); +export {append, appendRecord, semigroupArray, semigroupFn, semigroupProxy, semigroupRecord, semigroupRecordCons, semigroupRecordNil, semigroupString, semigroupUnit, semigroupVoid}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.Semiring.Generic/index.js b/.storybook/purescript-indexer/output-es/Data.Semiring.Generic/index.js new file mode 100644 index 0000000..af2ef8c --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Semiring.Generic/index.js @@ -0,0 +1,49 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dGeneric$dRep from "../Data.Generic.Rep/index.js"; +const genericZero$p = dict => dict["genericZero'"]; +const genericZero = dictGeneric => dictGenericSemiring => dictGeneric.to(dictGenericSemiring["genericZero'"]); +const genericSemiringNoArguments = { + "genericAdd'": v => v1 => Data$dGeneric$dRep.NoArguments, + "genericZero'": Data$dGeneric$dRep.NoArguments, + "genericMul'": v => v1 => Data$dGeneric$dRep.NoArguments, + "genericOne'": Data$dGeneric$dRep.NoArguments +}; +const genericSemiringArgument = dictSemiring => ( + {"genericAdd'": v => v1 => dictSemiring.add(v)(v1), "genericZero'": dictSemiring.zero, "genericMul'": v => v1 => dictSemiring.mul(v)(v1), "genericOne'": dictSemiring.one} +); +const genericOne$p = dict => dict["genericOne'"]; +const genericOne = dictGeneric => dictGenericSemiring => dictGeneric.to(dictGenericSemiring["genericOne'"]); +const genericMul$p = dict => dict["genericMul'"]; +const genericMul = dictGeneric => dictGenericSemiring => x => y => dictGeneric.to(dictGenericSemiring["genericMul'"](dictGeneric.from(x))(dictGeneric.from(y))); +const genericAdd$p = dict => dict["genericAdd'"]; +const genericSemiringConstructor = dictGenericSemiring => ( + { + "genericAdd'": v => v1 => dictGenericSemiring["genericAdd'"](v)(v1), + "genericZero'": dictGenericSemiring["genericZero'"], + "genericMul'": v => v1 => dictGenericSemiring["genericMul'"](v)(v1), + "genericOne'": dictGenericSemiring["genericOne'"] + } +); +const genericSemiringProduct = dictGenericSemiring => dictGenericSemiring1 => ( + { + "genericAdd'": v => v1 => Data$dGeneric$dRep.$Product(dictGenericSemiring["genericAdd'"](v._1)(v1._1), dictGenericSemiring1["genericAdd'"](v._2)(v1._2)), + "genericZero'": Data$dGeneric$dRep.$Product(dictGenericSemiring["genericZero'"], dictGenericSemiring1["genericZero'"]), + "genericMul'": v => v1 => Data$dGeneric$dRep.$Product(dictGenericSemiring["genericMul'"](v._1)(v1._1), dictGenericSemiring1["genericMul'"](v._2)(v1._2)), + "genericOne'": Data$dGeneric$dRep.$Product(dictGenericSemiring["genericOne'"], dictGenericSemiring1["genericOne'"]) + } +); +const genericAdd = dictGeneric => dictGenericSemiring => x => y => dictGeneric.to(dictGenericSemiring["genericAdd'"](dictGeneric.from(x))(dictGeneric.from(y))); +export { + genericAdd, + genericAdd$p, + genericMul, + genericMul$p, + genericOne, + genericOne$p, + genericSemiringArgument, + genericSemiringConstructor, + genericSemiringNoArguments, + genericSemiringProduct, + genericZero, + genericZero$p +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Semiring/foreign.js b/.storybook/purescript-indexer/output-es/Data.Semiring/foreign.js new file mode 100644 index 0000000..2d537c1 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Semiring/foreign.js @@ -0,0 +1,25 @@ +export const intAdd = function (x) { + return function (y) { + /* jshint bitwise: false */ + return x + y | 0; + }; +}; + +export const intMul = function (x) { + return function (y) { + /* jshint bitwise: false */ + return x * y | 0; + }; +}; + +export const numAdd = function (n1) { + return function (n2) { + return n1 + n2; + }; +}; + +export const numMul = function (n1) { + return function (n2) { + return n1 * n2; + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Semiring/index.js b/.storybook/purescript-indexer/output-es/Data.Semiring/index.js new file mode 100644 index 0000000..73d426e --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Semiring/index.js @@ -0,0 +1,64 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import * as Record$dUnsafe from "../Record.Unsafe/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +import {intAdd, intMul, numAdd, numMul} from "./foreign.js"; +const zeroRecord = dict => dict.zeroRecord; +const zero = dict => dict.zero; +const semiringUnit = {add: v => v1 => Data$dUnit.unit, zero: Data$dUnit.unit, mul: v => v1 => Data$dUnit.unit, one: Data$dUnit.unit}; +const semiringRecordNil = {addRecord: v => v1 => v2 => ({}), mulRecord: v => v1 => v2 => ({}), oneRecord: v => v1 => ({}), zeroRecord: v => v1 => ({})}; +const semiringProxy = {add: v => v1 => Type$dProxy.Proxy, mul: v => v1 => Type$dProxy.Proxy, one: Type$dProxy.Proxy, zero: Type$dProxy.Proxy}; +const semiringNumber = {add: numAdd, zero: 0.0, mul: numMul, one: 1.0}; +const semiringInt = {add: intAdd, zero: 0, mul: intMul, one: 1}; +const oneRecord = dict => dict.oneRecord; +const one = dict => dict.one; +const mulRecord = dict => dict.mulRecord; +const mul = dict => dict.mul; +const addRecord = dict => dict.addRecord; +const semiringRecord = () => dictSemiringRecord => ( + { + add: dictSemiringRecord.addRecord(Type$dProxy.Proxy), + mul: dictSemiringRecord.mulRecord(Type$dProxy.Proxy), + one: dictSemiringRecord.oneRecord(Type$dProxy.Proxy)(Type$dProxy.Proxy), + zero: dictSemiringRecord.zeroRecord(Type$dProxy.Proxy)(Type$dProxy.Proxy) + } +); +const add = dict => dict.add; +const semiringFn = dictSemiring => ( + {add: f => g => x => dictSemiring.add(f(x))(g(x)), zero: v => dictSemiring.zero, mul: f => g => x => dictSemiring.mul(f(x))(g(x)), one: v => dictSemiring.one} +); +const semiringRecordCons = dictIsSymbol => () => dictSemiringRecord => dictSemiring => ( + { + addRecord: v => ra => rb => { + const key = dictIsSymbol.reflectSymbol(Type$dProxy.Proxy); + const $$get = Record$dUnsafe.unsafeGet(key); + return Record$dUnsafe.unsafeSet(key)(dictSemiring.add($$get(ra))($$get(rb)))(dictSemiringRecord.addRecord(Type$dProxy.Proxy)(ra)(rb)); + }, + mulRecord: v => ra => rb => { + const key = dictIsSymbol.reflectSymbol(Type$dProxy.Proxy); + const $$get = Record$dUnsafe.unsafeGet(key); + return Record$dUnsafe.unsafeSet(key)(dictSemiring.mul($$get(ra))($$get(rb)))(dictSemiringRecord.mulRecord(Type$dProxy.Proxy)(ra)(rb)); + }, + oneRecord: v => v1 => Record$dUnsafe.unsafeSet(dictIsSymbol.reflectSymbol(Type$dProxy.Proxy))(dictSemiring.one)(dictSemiringRecord.oneRecord(Type$dProxy.Proxy)(Type$dProxy.Proxy)), + zeroRecord: v => v1 => Record$dUnsafe.unsafeSet(dictIsSymbol.reflectSymbol(Type$dProxy.Proxy))(dictSemiring.zero)(dictSemiringRecord.zeroRecord(Type$dProxy.Proxy)(Type$dProxy.Proxy)) + } +); +export { + add, + addRecord, + mul, + mulRecord, + one, + oneRecord, + semiringFn, + semiringInt, + semiringNumber, + semiringProxy, + semiringRecord, + semiringRecordCons, + semiringRecordNil, + semiringUnit, + zero, + zeroRecord +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.Set.NonEmpty/index.js b/.storybook/purescript-indexer/output-es/Data.Set.NonEmpty/index.js new file mode 100644 index 0000000..4ad55b5 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Set.NonEmpty/index.js @@ -0,0 +1,142 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dArray$dNonEmpty$dInternal from "../Data.Array.NonEmpty.Internal/index.js"; +import * as Data$dEq from "../Data.Eq/index.js"; +import * as Data$dFunction from "../Data.Function/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dMap$dInternal from "../Data.Map.Internal/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dSet from "../Data.Set/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnfoldable1 from "../Data.Unfoldable1/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const toUnfoldable2 = /* #__PURE__ */ Data$dSet.toUnfoldable(Data$dList$dTypes.unfoldableList); +const unionSet = dictOrd => s1 => v => Data$dMap$dInternal.unionWith(dictOrd)(Data$dFunction.const)(s1)(v); +const toUnfoldable1 = dictUnfoldable1 => v => dictUnfoldable1.unfoldr1(v1 => { + if (v1.tag === "Cons") { + if (v1._2.tag === "Nil") { return Data$dTuple.$Tuple(v1._1, Data$dMaybe.Nothing); } + return Data$dTuple.$Tuple(v1._1, Data$dMaybe.$Maybe("Just", v1._2)); + } + $runtime.fail(); +})(toUnfoldable2(v)); +const toUnfoldable = dictUnfoldable => Data$dSet.toUnfoldable(dictUnfoldable); +const toSet = v => v; +const subset = dictOrd => v => v1 => Data$dSet.difference(dictOrd)(v)(v1).tag === "Leaf"; +const size = v => Data$dMap$dInternal.size(v); +const singleton = a => Data$dMap$dInternal.$Map("Two", Data$dMap$dInternal.Leaf, a, Data$dUnit.unit, Data$dMap$dInternal.Leaf); +const showNonEmptySet = dictShow => { + const show = Data$dArray$dNonEmpty$dInternal.showNonEmptyArray(dictShow).show; + return {show: s => "(fromFoldable1 " + (show(toUnfoldable1(Data$dUnfoldable1.unfoldable1Array)(s)) + ")")}; +}; +const semigroupNonEmptySet = dictOrd => ({append: Data$dSet.union(dictOrd)}); +const properSubset = dictOrd => Data$dSet.properSubset(dictOrd); +const ordNonEmptySet = dictOrd => Data$dSet.ordSet(dictOrd); +const ord1NonEmptySet = Data$dSet.ord1Set; +const min = v => { + const $1 = Data$dMap$dInternal.findMin(v); + if ($1.tag === "Just") { return $1._1.key; } + $runtime.fail(); +}; +const member = dictOrd => a => v => { + const $3 = Data$dMap$dInternal.lookup(dictOrd)(a)(v); + if ($3.tag === "Nothing") { return false; } + if ($3.tag === "Just") { return true; } + $runtime.fail(); +}; +const max = v => { + const $1 = Data$dMap$dInternal.findMax(v); + if ($1.tag === "Just") { return $1._1.key; } + $runtime.fail(); +}; +const mapMaybe = dictOrd => f => v => Data$dSet.mapMaybe(dictOrd)(f)(v); +const map = dictOrd => f => v => Data$dSet.map(dictOrd)(f)(v); +const insert = dictOrd => a => v => Data$dMap$dInternal.insert(dictOrd)(a)(Data$dUnit.unit)(v); +const fromSet = s => { + if (s.tag === "Leaf") { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", s); +}; +const intersection = dictOrd => { + const intersection1 = Data$dSet.intersection(dictOrd); + return v => v1 => { + const $4 = intersection1(v)(v1); + if ($4.tag === "Leaf") { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", $4); + }; +}; +const fromFoldable1 = dictFoldable1 => dictOrd => dictFoldable1.foldMap1({append: Data$dSet.union(dictOrd)})(singleton); +const fromFoldable = dictFoldable => dictOrd => { + const $2 = dictFoldable.foldl(m => a => Data$dMap$dInternal.insert(dictOrd)(a)(Data$dUnit.unit)(m))(Data$dMap$dInternal.Leaf); + return x => { + const $4 = $2(x); + if ($4.tag === "Leaf") { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", $4); + }; +}; +const foldableNonEmptySet = Data$dSet.foldableSet; +const foldable1NonEmptySet = { + foldMap1: dictSemigroup => { + const foldMap11 = Data$dList$dTypes.foldable1NonEmptyList.foldMap1(dictSemigroup); + return f => { + const $3 = foldMap11(f); + return x => $3(toUnfoldable1(Data$dList$dTypes.unfoldable1NonEmptyList)(x)); + }; + }, + foldr1: f => { + const $1 = Data$dList$dTypes.foldable1NonEmptyList.foldr1(f); + return x => $1(toUnfoldable1(Data$dList$dTypes.unfoldable1NonEmptyList)(x)); + }, + foldl1: f => { + const $1 = Data$dList$dTypes.foldable1NonEmptyList.foldl1(f); + return x => $1(toUnfoldable1(Data$dList$dTypes.unfoldable1NonEmptyList)(x)); + }, + Foldable0: () => Data$dSet.foldableSet +}; +const filter = dictOrd => Data$dSet.filter(dictOrd); +const eqNonEmptySet = dictEq => { + const eq = Data$dMap$dInternal.eqMap(dictEq)(Data$dEq.eqUnit).eq; + return {eq: v => v1 => eq(v)(v1)}; +}; +const eq1NonEmptySet = Data$dSet.eq1Set; +const difference = dictOrd => v => v1 => { + const $3 = Data$dSet.difference(dictOrd)(v)(v1); + if ($3.tag === "Leaf") { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", $3); +}; +const $$delete = dictOrd => a => v => { + const $3 = Data$dMap$dInternal.delete(dictOrd)(a)(v); + if ($3.tag === "Leaf") { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", $3); +}; +const cons = dictOrd => a => x => Data$dMap$dInternal.insert(dictOrd)(a)(Data$dUnit.unit)(x); +export { + cons, + $$delete as delete, + difference, + eq1NonEmptySet, + eqNonEmptySet, + filter, + foldable1NonEmptySet, + foldableNonEmptySet, + fromFoldable, + fromFoldable1, + fromSet, + insert, + intersection, + map, + mapMaybe, + max, + member, + min, + ord1NonEmptySet, + ordNonEmptySet, + properSubset, + semigroupNonEmptySet, + showNonEmptySet, + singleton, + size, + subset, + toSet, + toUnfoldable, + toUnfoldable1, + toUnfoldable2, + unionSet +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Set/index.js b/.storybook/purescript-indexer/output-es/Data.Set/index.js new file mode 100644 index 0000000..e306773 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Set/index.js @@ -0,0 +1,228 @@ +// | This module defines a type of sets as balanced 2-3 trees, based on +// | +// | +// | Qualified import is encouraged, so as to avoid name clashes with other modules. +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dRec$dClass from "../Control.Monad.Rec.Class/index.js"; +import * as Control$dMonad$dST$dInternal from "../Control.Monad.ST.Internal/index.js"; +import * as Data$dArray from "../Data.Array/index.js"; +import * as Data$dArray$dST from "../Data.Array.ST/index.js"; +import * as Data$dEq from "../Data.Eq/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dFunction from "../Data.Function/index.js"; +import * as Data$dList from "../Data.List/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dMap$dInternal from "../Data.Map.Internal/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dShow from "../Data.Show/index.js"; +import * as Data$dUnfoldable from "../Data.Unfoldable/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const fromFoldable1 = /* #__PURE__ */ (() => Data$dArray.fromFoldableImpl(Data$dList$dTypes.foldableList.foldr))(); +const tailRecM2 = f => a => b => Control$dMonad$dST$dInternal.monadRecST.tailRecM(o => f(o.a)(o.b))({a: a, b: b}); +const identity = x => x; +const $$Set = x => x; +const union = dictOrd => v => v1 => Data$dMap$dInternal.unionWith(dictOrd)(Data$dFunction.const)(v)(v1); +const toggle = dictOrd => a => v => Data$dMap$dInternal.alter(dictOrd)(v2 => { + if (v2.tag === "Nothing") { return Data$dMaybe.$Maybe("Just", Data$dUnit.unit); } + if (v2.tag === "Just") { return Data$dMaybe.Nothing; } + $runtime.fail(); +})(a)(v); +const toMap = v => v; +const toUnfoldable = dictUnfoldable => { + const $1 = Data$dList.toUnfoldable(dictUnfoldable); + return x => $1(Data$dMap$dInternal.foldableWithIndexMap.foldrWithIndex(k => v => acc => Data$dList$dTypes.$List("Cons", k, acc))(Data$dList$dTypes.Nil)(x)); +}; +const toUnfoldable1 = /* #__PURE__ */ toUnfoldable(Data$dUnfoldable.unfoldableArray); +const size = v => Data$dMap$dInternal.size(v); +const singleton = a => Data$dMap$dInternal.$Map("Two", Data$dMap$dInternal.Leaf, a, Data$dUnit.unit, Data$dMap$dInternal.Leaf); +const showSet = dictShow => { + const show = Data$dShow.showArrayImpl(dictShow.show); + return {show: s => "(fromFoldable " + (show(toUnfoldable1(s)) + ")")}; +}; +const semigroupSet = dictOrd => ({append: union(dictOrd)}); +const member = dictOrd => a => v => { + const $3 = Data$dMap$dInternal.lookup(dictOrd)(a)(v); + if ($3.tag === "Nothing") { return false; } + if ($3.tag === "Just") { return true; } + $runtime.fail(); +}; +const isEmpty = v => v.tag === "Leaf"; +const insert = dictOrd => a => v => Data$dMap$dInternal.insert(dictOrd)(a)(Data$dUnit.unit)(v); +const fromMap = $$Set; +const foldableSet = { + foldMap: dictMonoid => { + const foldMap1 = Data$dList$dTypes.foldableList.foldMap(dictMonoid); + return f => { + const $3 = foldMap1(f); + return x => $3(Data$dMap$dInternal.foldableWithIndexMap.foldrWithIndex(k => v => acc => Data$dList$dTypes.$List("Cons", k, acc))(Data$dList$dTypes.Nil)(x)); + }; + }, + foldl: f => x => { + const $2 = (() => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const b = go$a0, v = go$a1; + if (v.tag === "Nil") { + go$c = false; + go$r = b; + continue; + } + if (v.tag === "Cons") { + go$a0 = f(b)(v._1); + go$a1 = v._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(x); + })(); + return x$1 => $2(Data$dMap$dInternal.foldableWithIndexMap.foldrWithIndex(k => v => acc => Data$dList$dTypes.$List("Cons", k, acc))(Data$dList$dTypes.Nil)(x$1)); + }, + foldr: f => x => { + const $2 = Data$dList$dTypes.foldableList.foldr(f)(x); + return x$1 => $2(Data$dMap$dInternal.foldableWithIndexMap.foldrWithIndex(k => v => acc => Data$dList$dTypes.$List("Cons", k, acc))(Data$dList$dTypes.Nil)(x$1)); + } +}; +const findMin = v => { + const $1 = Data$dMap$dInternal.findMin(v); + if ($1.tag === "Just") { return Data$dMaybe.$Maybe("Just", $1._1.key); } + return Data$dMaybe.Nothing; +}; +const findMax = v => { + const $1 = Data$dMap$dInternal.findMax(v); + if ($1.tag === "Just") { return Data$dMaybe.$Maybe("Just", $1._1.key); } + return Data$dMaybe.Nothing; +}; +const filter = dictOrd => { + const filterWithKey = Data$dMap$dInternal.filterWithKey(dictOrd); + return f => v => filterWithKey(k => v1 => f(k))(v); +}; +const eqSet = dictEq => { + const eq = Data$dMap$dInternal.eqMap(dictEq)(Data$dEq.eqUnit).eq; + return {eq: v => v1 => eq(v)(v1)}; +}; +const ordSet = dictOrd => { + const compare = Data$dList$dTypes.ordList(dictOrd).compare; + const eq = Data$dMap$dInternal.eqMap(dictOrd.Eq0())(Data$dEq.eqUnit).eq; + const eqSet1 = {eq: v => v1 => eq(v)(v1)}; + return { + compare: s1 => s2 => compare(Data$dMap$dInternal.foldableWithIndexMap.foldrWithIndex(k => v => acc => Data$dList$dTypes.$List("Cons", k, acc))(Data$dList$dTypes.Nil)(s1))(Data$dMap$dInternal.foldableWithIndexMap.foldrWithIndex(k => v => acc => Data$dList$dTypes.$List( + "Cons", + k, + acc + ))(Data$dList$dTypes.Nil)(s2)), + Eq0: () => eqSet1 + }; +}; +const eq1Set = {eq1: dictEq => Data$dMap$dInternal.eqMap(dictEq)(Data$dEq.eqUnit).eq}; +const ord1Set = {compare1: dictOrd => ordSet(dictOrd).compare, Eq10: () => eq1Set}; +const empty = Data$dMap$dInternal.Leaf; +const fromFoldable = dictFoldable => dictOrd => dictFoldable.foldl(m => a => Data$dMap$dInternal.insert(dictOrd)(a)(Data$dUnit.unit)(m))(Data$dMap$dInternal.Leaf); +const intersection = dictOrd => { + const fromFoldable3 = Data$dFoldable.foldlArray(m => a => Data$dMap$dInternal.insert(dictOrd)(a)(Data$dUnit.unit)(m))(Data$dMap$dInternal.Leaf); + return s1 => s2 => { + const rs = fromFoldable1(Data$dMap$dInternal.foldableWithIndexMap.foldrWithIndex(k => v => acc => Data$dList$dTypes.$List("Cons", k, acc))(Data$dList$dTypes.Nil)(s2)); + const rl = rs.length; + const ls = fromFoldable1(Data$dMap$dInternal.foldableWithIndexMap.foldrWithIndex(k => v => acc => Data$dList$dTypes.$List("Cons", k, acc))(Data$dList$dTypes.Nil)(s1)); + const ll = ls.length; + return fromFoldable3(Control$dMonad$dST$dInternal.run(Control$dMonad$dST$dInternal.bind_(() => { + const acc = Data$dArray$dST.new(); + return tailRecM2(l => r => { + if (l < ll && r < rl) { + const v = dictOrd.compare(ls[l])(rs[r]); + if (v.tag === "EQ") { + return () => { + Data$dArray$dST.pushAll([ls[l]])(acc)(); + return Control$dMonad$dRec$dClass.$Step("Loop", {a: l + 1 | 0, b: r + 1 | 0}); + }; + } + if (v.tag === "LT") { return () => Control$dMonad$dRec$dClass.$Step("Loop", {a: l + 1 | 0, b: r}); } + if (v.tag === "GT") { return () => Control$dMonad$dRec$dClass.$Step("Loop", {a: l, b: r + 1 | 0}); } + $runtime.fail(); + } + return () => Control$dMonad$dRec$dClass.$Step("Done", acc); + })(0)(0)(); + })(Data$dArray$dST.unsafeFreeze))); + }; +}; +const map = dictOrd => f => foldableSet.foldl(m => a => Data$dMap$dInternal.insert(dictOrd)(f(a))(Data$dUnit.unit)(m))(Data$dMap$dInternal.Leaf); +const mapMaybe = dictOrd => f => foldableSet.foldr(a => acc => { + const $4 = f(a); + if ($4.tag === "Nothing") { return acc; } + if ($4.tag === "Just") { return Data$dMap$dInternal.insert(dictOrd)($4._1)(Data$dUnit.unit)(acc); } + $runtime.fail(); +})(Data$dMap$dInternal.Leaf); +const monoidSet = dictOrd => ({mempty: Data$dMap$dInternal.Leaf, Semigroup0: () => ({append: union(dictOrd)})}); +const unions = dictFoldable => dictOrd => dictFoldable.foldl(union(dictOrd))(Data$dMap$dInternal.Leaf); +const $$delete = dictOrd => a => v => Data$dMap$dInternal.delete(dictOrd)(a)(v); +const difference = dictOrd => s1 => s2 => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const b = go$a0, v = go$a1; + if (v.tag === "Nil") { + go$c = false; + go$r = b; + continue; + } + if (v.tag === "Cons") { + go$a0 = Data$dMap$dInternal.delete(dictOrd)(v._1)(b); + go$a1 = v._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(s1)(Data$dMap$dInternal.foldableWithIndexMap.foldrWithIndex(k => v => acc => Data$dList$dTypes.$List("Cons", k, acc))(Data$dList$dTypes.Nil)(s2)); +}; +const subset = dictOrd => s1 => s2 => difference(dictOrd)(s1)(s2).tag === "Leaf"; +const properSubset = dictOrd => { + const eq = Data$dMap$dInternal.eqMap(dictOrd.Eq0())(Data$dEq.eqUnit).eq; + return s1 => s2 => difference(dictOrd)(s1)(s2).tag === "Leaf" && !eq(s1)(s2); +}; +const checkValid = v => Data$dMap$dInternal.checkValid(v); +const catMaybes = dictOrd => mapMaybe(dictOrd)(identity); +export { + $$Set as Set, + catMaybes, + checkValid, + $$delete as delete, + difference, + empty, + eq1Set, + eqSet, + filter, + findMax, + findMin, + foldableSet, + fromFoldable, + fromFoldable1, + fromMap, + identity, + insert, + intersection, + isEmpty, + map, + mapMaybe, + member, + monoidSet, + ord1Set, + ordSet, + properSubset, + semigroupSet, + showSet, + singleton, + size, + subset, + tailRecM2, + toMap, + toUnfoldable, + toUnfoldable1, + toggle, + union, + unions +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Show.Generic/foreign.js b/.storybook/purescript-indexer/output-es/Data.Show.Generic/foreign.js new file mode 100644 index 0000000..fb2cf11 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Show.Generic/foreign.js @@ -0,0 +1,5 @@ +export const intercalate = function (separator) { + return function (xs) { + return xs.join(separator); + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Show.Generic/index.js b/.storybook/purescript-indexer/output-es/Data.Show.Generic/index.js new file mode 100644 index 0000000..f620313 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Show.Generic/index.js @@ -0,0 +1,44 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dSemigroup from "../Data.Semigroup/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +import {intercalate} from "./foreign.js"; +const genericShowArgsNoArguments = {genericShowArgs: v => []}; +const genericShowArgsArgument = dictShow => ({genericShowArgs: v => [dictShow.show(v)]}); +const genericShowArgs = dict => dict.genericShowArgs; +const genericShowArgsProduct = dictGenericShowArgs => dictGenericShowArgs1 => ( + {genericShowArgs: v => Data$dSemigroup.concatArray(dictGenericShowArgs.genericShowArgs(v._1))(dictGenericShowArgs1.genericShowArgs(v._2))} +); +const genericShowConstructor = dictGenericShowArgs => dictIsSymbol => ( + { + "genericShow'": v => { + const ctor = dictIsSymbol.reflectSymbol(Type$dProxy.Proxy); + const v1 = dictGenericShowArgs.genericShowArgs(v); + if (v1.length === 0) { return ctor; } + return "(" + (intercalate(" ")(Data$dSemigroup.concatArray([ctor])(v1)) + ")"); + } + } +); +const genericShow$p = dict => dict["genericShow'"]; +const genericShowNoConstructors = {"genericShow'": a => genericShowNoConstructors["genericShow'"](a)}; +const genericShowSum = dictGenericShow => dictGenericShow1 => ( + { + "genericShow'": v => { + if (v.tag === "Inl") { return dictGenericShow["genericShow'"](v._1); } + if (v.tag === "Inr") { return dictGenericShow1["genericShow'"](v._1); } + $runtime.fail(); + } + } +); +const genericShow = dictGeneric => dictGenericShow => x => dictGenericShow["genericShow'"](dictGeneric.from(x)); +export { + genericShow, + genericShow$p, + genericShowArgs, + genericShowArgsArgument, + genericShowArgsNoArguments, + genericShowArgsProduct, + genericShowConstructor, + genericShowNoConstructors, + genericShowSum +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.Show/foreign.js b/.storybook/purescript-indexer/output-es/Data.Show/foreign.js new file mode 100644 index 0000000..2526f70 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Show/foreign.js @@ -0,0 +1,59 @@ +export const showIntImpl = function (n) { + return n.toString(); +}; + +export const showNumberImpl = function (n) { + var str = n.toString(); + return isNaN(str + ".0") ? str : str + ".0"; +}; + +export const showCharImpl = function (c) { + var code = c.charCodeAt(0); + if (code < 0x20 || code === 0x7F) { + switch (c) { + case "\x07": return "'\\a'"; + case "\b": return "'\\b'"; + case "\f": return "'\\f'"; + case "\n": return "'\\n'"; + case "\r": return "'\\r'"; + case "\t": return "'\\t'"; + case "\v": return "'\\v'"; + } + return "'\\" + code.toString(10) + "'"; + } + return c === "'" || c === "\\" ? "'\\" + c + "'" : "'" + c + "'"; +}; + +export const showStringImpl = function (s) { + var l = s.length; + return "\"" + s.replace( + /[\0-\x1F\x7F"\\]/g, // eslint-disable-line no-control-regex + function (c, i) { + switch (c) { + case "\"": + case "\\": + return "\\" + c; + case "\x07": return "\\a"; + case "\b": return "\\b"; + case "\f": return "\\f"; + case "\n": return "\\n"; + case "\r": return "\\r"; + case "\t": return "\\t"; + case "\v": return "\\v"; + } + var k = i + 1; + var empty = k < l && s[k] >= "0" && s[k] <= "9" ? "\\&" : ""; + return "\\" + c.charCodeAt(0).toString(10) + empty; + } + ) + "\""; +}; + +export const showArrayImpl = function (f) { + return function (xs) { + var ss = []; + for (var i = 0, l = xs.length; i < l; i++) { + ss[i] = f(xs[i]); + } + return "[" + ss.join(",") + "]"; + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Show/index.js b/.storybook/purescript-indexer/output-es/Data.Show/index.js new file mode 100644 index 0000000..0dc1cbd --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Show/index.js @@ -0,0 +1,57 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dVoid from "../Data.Void/index.js"; +import * as Record$dUnsafe from "../Record.Unsafe/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +import {showArrayImpl, showCharImpl, showIntImpl, showNumberImpl, showStringImpl} from "./foreign.js"; +const showVoid = {show: Data$dVoid.absurd}; +const showUnit = {show: v => "unit"}; +const showString = {show: showStringImpl}; +const showRecordFieldsNil = {showRecordFields: v => v1 => ""}; +const showRecordFields = dict => dict.showRecordFields; +const showRecord = () => () => dictShowRecordFields => ({show: record => "{" + (dictShowRecordFields.showRecordFields(Type$dProxy.Proxy)(record) + "}")}); +const showProxy = {show: v => "Proxy"}; +const showNumber = {show: showNumberImpl}; +const showInt = {show: showIntImpl}; +const showChar = {show: showCharImpl}; +const showBoolean = { + show: v => { + if (v) { return "true"; } + return "false"; + } +}; +const show = dict => dict.show; +const showArray = dictShow => ({show: showArrayImpl(dictShow.show)}); +const showRecordFieldsCons = dictIsSymbol => dictShowRecordFields => dictShow => ( + { + showRecordFields: v => record => { + const key = dictIsSymbol.reflectSymbol(Type$dProxy.Proxy); + return " " + (key + (": " + (dictShow.show(Record$dUnsafe.unsafeGet(key)(record)) + ("," + dictShowRecordFields.showRecordFields(Type$dProxy.Proxy)(record))))); + } + } +); +const showRecordFieldsConsNil = dictIsSymbol => dictShow => ( + { + showRecordFields: v => record => { + const key = dictIsSymbol.reflectSymbol(Type$dProxy.Proxy); + return " " + (key + (": " + (dictShow.show(Record$dUnsafe.unsafeGet(key)(record)) + " "))); + } + } +); +export { + show, + showArray, + showBoolean, + showChar, + showInt, + showNumber, + showProxy, + showRecord, + showRecordFields, + showRecordFieldsCons, + showRecordFieldsConsNil, + showRecordFieldsNil, + showString, + showUnit, + showVoid +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.String.CaseInsensitive/index.js b/.storybook/purescript-indexer/output-es/Data.String.CaseInsensitive/index.js new file mode 100644 index 0000000..d719e0b --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.String.CaseInsensitive/index.js @@ -0,0 +1,13 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dShow from "../Data.Show/index.js"; +import * as Data$dString$dCommon from "../Data.String.Common/index.js"; +const CaseInsensitiveString = x => x; +const showCaseInsensitiveString = {show: v => "(CaseInsensitiveString " + (Data$dShow.showStringImpl(v) + ")")}; +const newtypeCaseInsensitiveString = {Coercible0: () => undefined}; +const eqCaseInsensitiveString = {eq: v => v1 => Data$dString$dCommon.toLower(v) === Data$dString$dCommon.toLower(v1)}; +const ordCaseInsensitiveString = { + compare: v => v1 => Data$dOrd.ordString.compare(Data$dString$dCommon.toLower(v))(Data$dString$dCommon.toLower(v1)), + Eq0: () => eqCaseInsensitiveString +}; +export {CaseInsensitiveString, eqCaseInsensitiveString, newtypeCaseInsensitiveString, ordCaseInsensitiveString, showCaseInsensitiveString}; diff --git a/.storybook/purescript-indexer/output-es/Data.String.CodePoints/foreign.js b/.storybook/purescript-indexer/output-es/Data.String.CodePoints/foreign.js new file mode 100644 index 0000000..ebd9e39 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.String.CodePoints/foreign.js @@ -0,0 +1,107 @@ +/* global Symbol */ + +var hasArrayFrom = typeof Array.from === "function"; +var hasStringIterator = + typeof Symbol !== "undefined" && + Symbol != null && + typeof Symbol.iterator !== "undefined" && + typeof String.prototype[Symbol.iterator] === "function"; +var hasFromCodePoint = typeof String.prototype.fromCodePoint === "function"; +var hasCodePointAt = typeof String.prototype.codePointAt === "function"; + +export const _unsafeCodePointAt0 = function (fallback) { + return hasCodePointAt + ? function (str) { return str.codePointAt(0); } + : fallback; +}; + +export const _codePointAt = function (fallback) { + return function (Just) { + return function (Nothing) { + return function (unsafeCodePointAt0) { + return function (index) { + return function (str) { + var length = str.length; + if (index < 0 || index >= length) return Nothing; + if (hasStringIterator) { + var iter = str[Symbol.iterator](); + for (var i = index;; --i) { + var o = iter.next(); + if (o.done) return Nothing; + if (i === 0) return Just(unsafeCodePointAt0(o.value)); + } + } + return fallback(index)(str); + }; + }; + }; + }; + }; +}; + +export const _countPrefix = function (fallback) { + return function (unsafeCodePointAt0) { + if (hasStringIterator) { + return function (pred) { + return function (str) { + var iter = str[Symbol.iterator](); + for (var cpCount = 0; ; ++cpCount) { + var o = iter.next(); + if (o.done) return cpCount; + var cp = unsafeCodePointAt0(o.value); + if (!pred(cp)) return cpCount; + } + }; + }; + } + return fallback; + }; +}; + +export const _fromCodePointArray = function (singleton) { + return hasFromCodePoint + ? function (cps) { + // Function.prototype.apply will fail for very large second parameters, + // so we don't use it for arrays with 10,000 or more entries. + if (cps.length < 10e3) { + return String.fromCodePoint.apply(String, cps); + } + return cps.map(singleton).join(""); + } + : function (cps) { + return cps.map(singleton).join(""); + }; +}; + +export const _singleton = function (fallback) { + return hasFromCodePoint ? String.fromCodePoint : fallback; +}; + +export const _take = function (fallback) { + return function (n) { + if (hasStringIterator) { + return function (str) { + var accum = ""; + var iter = str[Symbol.iterator](); + for (var i = 0; i < n; ++i) { + var o = iter.next(); + if (o.done) return accum; + accum += o.value; + } + return accum; + }; + } + return fallback(n); + }; +}; + +export const _toCodePointArray = function (fallback) { + return function (unsafeCodePointAt0) { + if (hasArrayFrom) { + return function (str) { + return Array.from(str, unsafeCodePointAt0); + }; + } + return fallback; + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Data.String.CodePoints/index.js b/.storybook/purescript-indexer/output-es/Data.String.CodePoints/index.js new file mode 100644 index 0000000..75043e9 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.String.CodePoints/index.js @@ -0,0 +1,209 @@ +// | These functions allow PureScript strings to be treated as if they were +// | sequences of Unicode code points instead of their true underlying +// | implementation (sequences of UTF-16 code units). For nearly all uses of +// | strings, these functions should be preferred over the ones in +// | `Data.String.CodeUnits`. +import * as $runtime from "../runtime.js"; +import * as Data$dEnum from "../Data.Enum/index.js"; +import * as Data$dEuclideanRing from "../Data.EuclideanRing/index.js"; +import * as Data$dInt from "../Data.Int/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dString$dCodeUnits from "../Data.String.CodeUnits/index.js"; +import * as Data$dString$dCommon from "../Data.String.Common/index.js"; +import * as Data$dString$dUnsafe from "../Data.String.Unsafe/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnfoldable from "../Data.Unfoldable/index.js"; +import {_codePointAt, _countPrefix, _fromCodePointArray, _singleton, _take, _toCodePointArray, _unsafeCodePointAt0} from "./foreign.js"; +const showCodePoint = {show: v => "(CodePoint 0x" + (Data$dString$dCommon.toUpper(Data$dInt.toStringAs(16)(v)) + ")")}; +const uncons = s => { + const v = Data$dString$dCodeUnits.length(s); + if (v === 0) { return Data$dMaybe.Nothing; } + if (v === 1) { return Data$dMaybe.$Maybe("Just", {head: Data$dEnum.toCharCode(Data$dString$dUnsafe.charAt(0)(s)), tail: ""}); } + const cu1 = Data$dEnum.toCharCode(Data$dString$dUnsafe.charAt(1)(s)); + const cu0 = Data$dEnum.toCharCode(Data$dString$dUnsafe.charAt(0)(s)); + if (55296 <= cu0 && cu0 <= 56319 && (56320 <= cu1 && cu1 <= 57343)) { + return Data$dMaybe.$Maybe("Just", {head: (((cu0 - 55296 | 0) * 1024 | 0) + (cu1 - 56320 | 0) | 0) + 65536 | 0, tail: Data$dString$dCodeUnits.drop(2)(s)}); + } + return Data$dMaybe.$Maybe("Just", {head: cu0, tail: Data$dString$dCodeUnits.drop(1)(s)}); +}; +const unconsButWithTuple = s => { + const $1 = uncons(s); + if ($1.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple($1._1.head, $1._1.tail)); } + return Data$dMaybe.Nothing; +}; +const toCodePointArrayFallback = s => Data$dUnfoldable.unfoldableArray.unfoldr(unconsButWithTuple)(s); +const unsafeCodePointAt0Fallback = s => { + const cu0 = Data$dEnum.toCharCode(Data$dString$dUnsafe.charAt(0)(s)); + if (55296 <= cu0 && cu0 <= 56319 && Data$dString$dCodeUnits.length(s) > 1) { + const cu1 = Data$dEnum.toCharCode(Data$dString$dUnsafe.charAt(1)(s)); + if (56320 <= cu1 && cu1 <= 57343) { return (((cu0 - 55296 | 0) * 1024 | 0) + (cu1 - 56320 | 0) | 0) + 65536 | 0; } + return cu0; + } + return cu0; +}; +const unsafeCodePointAt0 = /* #__PURE__ */ _unsafeCodePointAt0(unsafeCodePointAt0Fallback); +const toCodePointArray = /* #__PURE__ */ _toCodePointArray(toCodePointArrayFallback)(unsafeCodePointAt0); +const length = x => toCodePointArray(x).length; +const lastIndexOf = p => s => { + const $2 = Data$dString$dCodeUnits.lastIndexOf(p)(s); + if ($2.tag === "Just") { return Data$dMaybe.$Maybe("Just", toCodePointArray(Data$dString$dCodeUnits.take($2._1)(s)).length); } + return Data$dMaybe.Nothing; +}; +const indexOf = p => s => { + const $2 = Data$dString$dCodeUnits.indexOf(p)(s); + if ($2.tag === "Just") { return Data$dMaybe.$Maybe("Just", toCodePointArray(Data$dString$dCodeUnits.take($2._1)(s)).length); } + return Data$dMaybe.Nothing; +}; +const fromCharCode = x => Data$dString$dCodeUnits.singleton((() => { + if (x >= 0 && x <= 65535) { return Data$dEnum.fromCharCode(x); } + if (x < 0) { return "\u0000"; } + return "￿"; +})()); +const singletonFallback = v => { + if (v <= 65535) { return fromCharCode(v); } + return fromCharCode(Data$dEuclideanRing.intDiv(v - 65536 | 0)(1024) + 55296 | 0) + fromCharCode(Data$dEuclideanRing.intMod(v - 65536 | 0)(1024) + 56320 | 0); +}; +const fromCodePointArray = /* #__PURE__ */ _fromCodePointArray(singletonFallback); +const singleton = /* #__PURE__ */ _singleton(singletonFallback); +const takeFallback = v => v1 => { + if (v < 1) { return ""; } + const v2 = uncons(v1); + if (v2.tag === "Just") { return singleton(v2._1.head) + takeFallback(v - 1 | 0)(v2._1.tail); } + return v1; +}; +const take = /* #__PURE__ */ _take(takeFallback); +const lastIndexOf$p = p => i => s => { + const $3 = Data$dString$dCodeUnits.lastIndexOf$p(p)(Data$dString$dCodeUnits.length(take(i)(s)))(s); + if ($3.tag === "Just") { return Data$dMaybe.$Maybe("Just", toCodePointArray(Data$dString$dCodeUnits.take($3._1)(s)).length); } + return Data$dMaybe.Nothing; +}; +const splitAt = i => s => { + const before = take(i)(s); + return {before: before, after: Data$dString$dCodeUnits.drop(Data$dString$dCodeUnits.length(before))(s)}; +}; +const eqCodePoint = {eq: x => y => x === y}; +const ordCodePoint = {compare: x => y => Data$dOrd.ordInt.compare(x)(y), Eq0: () => eqCodePoint}; +const drop = n => s => Data$dString$dCodeUnits.drop(Data$dString$dCodeUnits.length(take(n)(s)))(s); +const indexOf$p = p => i => s => { + const s$p = Data$dString$dCodeUnits.drop(Data$dString$dCodeUnits.length(take(i)(s)))(s); + const $4 = Data$dString$dCodeUnits.indexOf(p)(s$p); + if ($4.tag === "Just") { return Data$dMaybe.$Maybe("Just", i + toCodePointArray(Data$dString$dCodeUnits.take($4._1)(s$p)).length | 0); } + return Data$dMaybe.Nothing; +}; +const countTail = countTail$a0$copy => countTail$a1$copy => countTail$a2$copy => { + let countTail$a0 = countTail$a0$copy, countTail$a1 = countTail$a1$copy, countTail$a2 = countTail$a2$copy, countTail$c = true, countTail$r; + while (countTail$c) { + const p = countTail$a0, s = countTail$a1, accum = countTail$a2; + const v = uncons(s); + if (v.tag === "Just") { + if (p(v._1.head)) { + countTail$a0 = p; + countTail$a1 = v._1.tail; + countTail$a2 = accum + 1 | 0; + continue; + } + countTail$c = false; + countTail$r = accum; + continue; + } + countTail$c = false; + countTail$r = accum; + continue; + }; + return countTail$r; +}; +const countFallback = p => s => countTail(p)(s)(0); +const countPrefix = /* #__PURE__ */ _countPrefix(countFallback)(unsafeCodePointAt0); +const dropWhile = p => s => Data$dString$dCodeUnits.drop(Data$dString$dCodeUnits.length(take(countPrefix(p)(s))(s)))(s); +const takeWhile = p => s => take(countPrefix(p)(s))(s); +const codePointFromChar = x => Data$dEnum.toCharCode(x); +const codePointAtFallback = codePointAtFallback$a0$copy => codePointAtFallback$a1$copy => { + let codePointAtFallback$a0 = codePointAtFallback$a0$copy, codePointAtFallback$a1 = codePointAtFallback$a1$copy, codePointAtFallback$c = true, codePointAtFallback$r; + while (codePointAtFallback$c) { + const n = codePointAtFallback$a0, s = codePointAtFallback$a1; + const v = uncons(s); + if (v.tag === "Just") { + if (n === 0) { + codePointAtFallback$c = false; + codePointAtFallback$r = Data$dMaybe.$Maybe("Just", v._1.head); + continue; + } + codePointAtFallback$a0 = n - 1 | 0; + codePointAtFallback$a1 = v._1.tail; + continue; + } + codePointAtFallback$c = false; + codePointAtFallback$r = Data$dMaybe.Nothing; + continue; + }; + return codePointAtFallback$r; +}; +const codePointAt = v => v1 => { + if (v < 0) { return Data$dMaybe.Nothing; } + if (v === 0) { + if (v1 === "") { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", unsafeCodePointAt0(v1)); + } + return _codePointAt(codePointAtFallback)(Data$dMaybe.Just)(Data$dMaybe.Nothing)(unsafeCodePointAt0)(v)(v1); +}; +const boundedCodePoint = {bottom: 0, top: 1114111, Ord0: () => ordCodePoint}; +const boundedEnumCodePoint = { + cardinality: 1114112, + fromEnum: v => v, + toEnum: n => { + if (n >= 0 && n <= 1114111) { return Data$dMaybe.$Maybe("Just", n); } + return Data$dMaybe.Nothing; + }, + Bounded0: () => boundedCodePoint, + Enum1: () => enumCodePoint +}; +const enumCodePoint = { + succ: a => { + const $1 = a + 1 | 0; + if ($1 >= 0 && $1 <= 1114111) { return Data$dMaybe.$Maybe("Just", $1); } + return Data$dMaybe.Nothing; + }, + pred: a => { + const $1 = a - 1 | 0; + if ($1 >= 0 && $1 <= 1114111) { return Data$dMaybe.$Maybe("Just", $1); } + return Data$dMaybe.Nothing; + }, + Ord0: () => ordCodePoint +}; +export { + boundedCodePoint, + boundedEnumCodePoint, + codePointAt, + codePointAtFallback, + codePointFromChar, + countFallback, + countPrefix, + countTail, + drop, + dropWhile, + enumCodePoint, + eqCodePoint, + fromCharCode, + fromCodePointArray, + indexOf, + indexOf$p, + lastIndexOf, + lastIndexOf$p, + length, + ordCodePoint, + showCodePoint, + singleton, + singletonFallback, + splitAt, + take, + takeFallback, + takeWhile, + toCodePointArray, + toCodePointArrayFallback, + uncons, + unconsButWithTuple, + unsafeCodePointAt0, + unsafeCodePointAt0Fallback +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.String.CodeUnits/foreign.js b/.storybook/purescript-indexer/output-es/Data.String.CodeUnits/foreign.js new file mode 100644 index 0000000..2608384 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.String.CodeUnits/foreign.js @@ -0,0 +1,116 @@ +export const fromCharArray = function (a) { + return a.join(""); +}; + +export const toCharArray = function (s) { + return s.split(""); +}; + +export const singleton = function (c) { + return c; +}; + +export const _charAt = function (just) { + return function (nothing) { + return function (i) { + return function (s) { + return i >= 0 && i < s.length ? just(s.charAt(i)) : nothing; + }; + }; + }; +}; + +export const _toChar = function (just) { + return function (nothing) { + return function (s) { + return s.length === 1 ? just(s) : nothing; + }; + }; +}; + +export const length = function (s) { + return s.length; +}; + +export const countPrefix = function (p) { + return function (s) { + var i = 0; + while (i < s.length && p(s.charAt(i))) i++; + return i; + }; +}; + +export const _indexOf = function (just) { + return function (nothing) { + return function (x) { + return function (s) { + var i = s.indexOf(x); + return i === -1 ? nothing : just(i); + }; + }; + }; +}; + +export const _indexOfStartingAt = function (just) { + return function (nothing) { + return function (x) { + return function (startAt) { + return function (s) { + if (startAt < 0 || startAt > s.length) return nothing; + var i = s.indexOf(x, startAt); + return i === -1 ? nothing : just(i); + }; + }; + }; + }; +}; + +export const _lastIndexOf = function (just) { + return function (nothing) { + return function (x) { + return function (s) { + var i = s.lastIndexOf(x); + return i === -1 ? nothing : just(i); + }; + }; + }; +}; + +export const _lastIndexOfStartingAt = function (just) { + return function (nothing) { + return function (x) { + return function (startAt) { + return function (s) { + var i = s.lastIndexOf(x, startAt); + return i === -1 ? nothing : just(i); + }; + }; + }; + }; +}; + +export const take = function (n) { + return function (s) { + return s.substr(0, n); + }; +}; + +export const drop = function (n) { + return function (s) { + return s.substring(n); + }; +}; + +export const slice = function (b) { + return function (e) { + return function (s) { + return s.slice(b,e); + }; + }; +}; + +export const splitAt = function (i) { + return function (s) { + return { before: s.substring(0, i), after: s.substring(i) }; + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Data.String.CodeUnits/index.js b/.storybook/purescript-indexer/output-es/Data.String.CodeUnits/index.js new file mode 100644 index 0000000..6c3883a --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.String.CodeUnits/index.js @@ -0,0 +1,55 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dString$dUnsafe from "../Data.String.Unsafe/index.js"; +import { + _charAt, + _indexOf, + _indexOfStartingAt, + _lastIndexOf, + _lastIndexOfStartingAt, + _toChar, + countPrefix, + drop, + fromCharArray, + length, + singleton, + slice, + splitAt, + take, + toCharArray +} from "./foreign.js"; +const uncons = v => { + if (v === "") { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", {head: Data$dString$dUnsafe.charAt(0)(v), tail: drop(1)(v)}); +}; +const toChar = /* #__PURE__ */ _toChar(Data$dMaybe.Just)(Data$dMaybe.Nothing); +const takeWhile = p => s => take(countPrefix(p)(s))(s); +const takeRight = i => s => drop(length(s) - i | 0)(s); +const stripSuffix = v => str => { + const v1 = splitAt(length(str) - length(v) | 0)(str); + if (v1.after === v) { return Data$dMaybe.$Maybe("Just", v1.before); } + return Data$dMaybe.Nothing; +}; +const stripPrefix = v => str => { + const v1 = splitAt(length(v))(str); + if (v1.before === v) { return Data$dMaybe.$Maybe("Just", v1.after); } + return Data$dMaybe.Nothing; +}; +const lastIndexOf$p = /* #__PURE__ */ _lastIndexOfStartingAt(Data$dMaybe.Just)(Data$dMaybe.Nothing); +const lastIndexOf = /* #__PURE__ */ _lastIndexOf(Data$dMaybe.Just)(Data$dMaybe.Nothing); +const indexOf$p = /* #__PURE__ */ _indexOfStartingAt(Data$dMaybe.Just)(Data$dMaybe.Nothing); +const indexOf = /* #__PURE__ */ _indexOf(Data$dMaybe.Just)(Data$dMaybe.Nothing); +const dropWhile = p => s => drop(countPrefix(p)(s))(s); +const dropRight = i => s => take(length(s) - i | 0)(s); +const contains = pat => { + const $1 = indexOf(pat); + return x => { + const $3 = $1(x); + if ($3.tag === "Nothing") { return false; } + if ($3.tag === "Just") { return true; } + $runtime.fail(); + }; +}; +const charAt = /* #__PURE__ */ _charAt(Data$dMaybe.Just)(Data$dMaybe.Nothing); +export {charAt, contains, dropRight, dropWhile, indexOf, indexOf$p, lastIndexOf, lastIndexOf$p, stripPrefix, stripSuffix, takeRight, takeWhile, toChar, uncons}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.String.Common/foreign.js b/.storybook/purescript-indexer/output-es/Data.String.Common/foreign.js new file mode 100644 index 0000000..5693585 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.String.Common/foreign.js @@ -0,0 +1,52 @@ +export const _localeCompare = function (lt) { + return function (eq) { + return function (gt) { + return function (s1) { + return function (s2) { + var result = s1.localeCompare(s2); + return result < 0 ? lt : result > 0 ? gt : eq; + }; + }; + }; + }; +}; + +export const replace = function (s1) { + return function (s2) { + return function (s3) { + return s3.replace(s1, s2); + }; + }; +}; + +export const replaceAll = function (s1) { + return function (s2) { + return function (s3) { + return s3.replace(new RegExp(s1.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&"), "g"), s2); // eslint-disable-line no-useless-escape + }; + }; +}; + +export const split = function (sep) { + return function (s) { + return s.split(sep); + }; +}; + +export const toLower = function (s) { + return s.toLowerCase(); +}; + +export const toUpper = function (s) { + return s.toUpperCase(); +}; + +export const trim = function (s) { + return s.trim(); +}; + +export const joinWith = function (s) { + return function (xs) { + return xs.join(s); + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Data.String.Common/index.js b/.storybook/purescript-indexer/output-es/Data.String.Common/index.js new file mode 100644 index 0000000..1b9dbd5 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.String.Common/index.js @@ -0,0 +1,7 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import {_localeCompare, joinWith, replace, replaceAll, split, toLower, toUpper, trim} from "./foreign.js"; +const $$null = s => s === ""; +const localeCompare = /* #__PURE__ */ _localeCompare(Data$dOrdering.LT)(Data$dOrdering.EQ)(Data$dOrdering.GT); +export {localeCompare, $$null as null}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.String.Gen/index.js b/.storybook/purescript-indexer/output-es/Data.String.Gen/index.js new file mode 100644 index 0000000..d8d2ac3 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.String.Gen/index.js @@ -0,0 +1,27 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dGen from "../Control.Monad.Gen/index.js"; +import * as Data$dChar$dGen from "../Data.Char.Gen/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dString$dCodeUnits from "../Data.String.CodeUnits/index.js"; +import * as Data$dUnfoldable from "../Data.Unfoldable/index.js"; +const max = x => y => { + const v = Data$dOrd.ordInt.compare(x)(y); + if (v.tag === "LT") { return y; } + if (v.tag === "EQ") { return x; } + if (v.tag === "GT") { return x; } + $runtime.fail(); +}; +const genString = dictMonadRec => dictMonadGen => { + const Bind1 = dictMonadGen.Monad0().Bind1(); + const map = Bind1.Apply0().Functor0().map; + const unfoldable1 = Control$dMonad$dGen.unfoldable(dictMonadRec)(dictMonadGen)(Data$dUnfoldable.unfoldableArray); + return genChar => dictMonadGen.sized(size => Bind1.bind(dictMonadGen.chooseInt(1)(max(1)(size)))(newSize => dictMonadGen.resize(v => newSize)(map(Data$dString$dCodeUnits.fromCharArray)(unfoldable1(genChar))))); +}; +const genUnicodeString = dictMonadRec => dictMonadGen => genString(dictMonadRec)(dictMonadGen)(Data$dChar$dGen.genUnicodeChar(dictMonadGen)); +const genDigitString = dictMonadRec => dictMonadGen => genString(dictMonadRec)(dictMonadGen)(Data$dChar$dGen.genDigitChar(dictMonadGen)); +const genAsciiString$p = dictMonadRec => dictMonadGen => genString(dictMonadRec)(dictMonadGen)(Data$dChar$dGen.genAsciiChar$p(dictMonadGen)); +const genAsciiString = dictMonadRec => dictMonadGen => genString(dictMonadRec)(dictMonadGen)(Data$dChar$dGen.genAsciiChar(dictMonadGen)); +const genAlphaUppercaseString = dictMonadRec => dictMonadGen => genString(dictMonadRec)(dictMonadGen)(Data$dChar$dGen.genAlphaUppercase(dictMonadGen)); +const genAlphaString = dictMonadRec => dictMonadGen => genString(dictMonadRec)(dictMonadGen)(Data$dChar$dGen.genAlpha(dictMonadGen)); +const genAlphaLowercaseString = dictMonadRec => dictMonadGen => genString(dictMonadRec)(dictMonadGen)(Data$dChar$dGen.genAlphaLowercase(dictMonadGen)); +export {genAlphaLowercaseString, genAlphaString, genAlphaUppercaseString, genAsciiString, genAsciiString$p, genDigitString, genString, genUnicodeString, max}; diff --git a/.storybook/purescript-indexer/output-es/Data.String.NonEmpty.CaseInsensitive/index.js b/.storybook/purescript-indexer/output-es/Data.String.NonEmpty.CaseInsensitive/index.js new file mode 100644 index 0000000..8e0cce5 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.String.NonEmpty.CaseInsensitive/index.js @@ -0,0 +1,13 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dShow from "../Data.Show/index.js"; +import * as Data$dString$dCommon from "../Data.String.Common/index.js"; +const CaseInsensitiveNonEmptyString = x => x; +const showCaseInsensitiveNonEmptyString = {show: v => "(CaseInsensitiveNonEmptyString (NonEmptyString.unsafeFromString " + Data$dShow.showStringImpl(v) + "))"}; +const newtypeCaseInsensitiveNonEmptyString = {Coercible0: () => undefined}; +const eqCaseInsensitiveNonEmptyString = {eq: v => v1 => Data$dString$dCommon.toLower(v) === Data$dString$dCommon.toLower(v1)}; +const ordCaseInsensitiveNonEmptyString = { + compare: v => v1 => Data$dOrd.ordString.compare(Data$dString$dCommon.toLower(v))(Data$dString$dCommon.toLower(v1)), + Eq0: () => eqCaseInsensitiveNonEmptyString +}; +export {CaseInsensitiveNonEmptyString, eqCaseInsensitiveNonEmptyString, newtypeCaseInsensitiveNonEmptyString, ordCaseInsensitiveNonEmptyString, showCaseInsensitiveNonEmptyString}; diff --git a/.storybook/purescript-indexer/output-es/Data.String.NonEmpty.CodePoints/index.js b/.storybook/purescript-indexer/output-es/Data.String.NonEmpty.CodePoints/index.js new file mode 100644 index 0000000..89ebbd5 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.String.NonEmpty.CodePoints/index.js @@ -0,0 +1,98 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dSemigroup from "../Data.Semigroup/index.js"; +import * as Data$dString$dCodePoints from "../Data.String.CodePoints/index.js"; +import * as Data$dString$dCodeUnits from "../Data.String.CodeUnits/index.js"; +const snoc = c => s => s + Data$dString$dCodePoints.singleton(c); +const singleton = x => Data$dString$dCodePoints.singleton(x); +const takeWhile = f => x => { + const $2 = Data$dString$dCodePoints.take(Data$dString$dCodePoints.countPrefix(f)(x))(x); + if ($2 === "") { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", $2); +}; +const lastIndexOf$p = pat => x => v => Data$dString$dCodePoints.lastIndexOf$p(pat)(x)(v); +const lastIndexOf = x => v => Data$dString$dCodePoints.lastIndexOf(x)(v); +const indexOf$p = pat => x => v => Data$dString$dCodePoints.indexOf$p(pat)(x)(v); +const indexOf = x => v => Data$dString$dCodePoints.indexOf(x)(v); +const length = x => Data$dString$dCodePoints.toCodePointArray(x).length; +const splitAt = i => nes => { + const v = Data$dString$dCodePoints.splitAt(i)(nes); + return { + before: (() => { + if (v.before === "") { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", v.before); + })(), + after: (() => { + if (v.after === "") { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", v.after); + })() + }; +}; +const take = i => nes => { + if (i < 1) { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", Data$dString$dCodePoints.take(i)(nes)); +}; +const toCodePointArray = x => Data$dString$dCodePoints.toCodePointArray(x); +const toNonEmptyCodePointArray = x => { + const $1 = Data$dString$dCodePoints.toCodePointArray(x); + if ($1.length > 0) { return $1; } + $runtime.fail(); +}; +const uncons = nes => ( + { + head: (() => { + const $1 = Data$dString$dCodePoints.codePointAt(0)(nes); + if ($1.tag === "Just") { return $1._1; } + $runtime.fail(); + })(), + tail: (() => { + const $1 = Data$dString$dCodeUnits.drop(Data$dString$dCodeUnits.length(Data$dString$dCodePoints.take(1)(nes)))(nes); + if ($1 === "") { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", $1); + })() + } +); +const fromFoldable1 = dictFoldable1 => dictFoldable1.foldMap1(Data$dSemigroup.semigroupString)(singleton); +const fromCodePointArray = v => { + if (v.length === 0) { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", Data$dString$dCodePoints.fromCodePointArray(v)); +}; +const fromNonEmptyCodePointArray = x => { + if (x.length === 0) { $runtime.fail(); } + return Data$dString$dCodePoints.fromCodePointArray(x); +}; +const dropWhile = f => x => { + const $2 = Data$dString$dCodePoints.dropWhile(f)(x); + if ($2 === "") { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", $2); +}; +const drop = i => nes => { + if (i >= Data$dString$dCodePoints.toCodePointArray(nes).length) { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", Data$dString$dCodeUnits.drop(Data$dString$dCodeUnits.length(Data$dString$dCodePoints.take(i)(nes)))(nes)); +}; +const countPrefix = x => Data$dString$dCodePoints.countPrefix(x); +const cons = c => s => Data$dString$dCodePoints.singleton(c) + s; +const codePointAt = x => v => Data$dString$dCodePoints.codePointAt(x)(v); +export { + codePointAt, + cons, + countPrefix, + drop, + dropWhile, + fromCodePointArray, + fromFoldable1, + fromNonEmptyCodePointArray, + indexOf, + indexOf$p, + lastIndexOf, + lastIndexOf$p, + length, + singleton, + snoc, + splitAt, + take, + takeWhile, + toCodePointArray, + toNonEmptyCodePointArray, + uncons +}; diff --git a/.storybook/purescript-indexer/output-es/Data.String.NonEmpty.CodeUnits/index.js b/.storybook/purescript-indexer/output-es/Data.String.NonEmpty.CodeUnits/index.js new file mode 100644 index 0000000..da5e0c1 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.String.NonEmpty.CodeUnits/index.js @@ -0,0 +1,107 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dSemigroup from "../Data.Semigroup/index.js"; +import * as Data$dSemigroup$dFoldable from "../Data.Semigroup.Foldable/index.js"; +import * as Data$dString$dCodeUnits from "../Data.String.CodeUnits/index.js"; +import * as Data$dString$dUnsafe from "../Data.String.Unsafe/index.js"; +const snoc = c => s => s + Data$dString$dCodeUnits.singleton(c); +const singleton = x => Data$dString$dCodeUnits.singleton(x); +const takeWhile = f => x => { + const $2 = Data$dString$dCodeUnits.take(Data$dString$dCodeUnits.countPrefix(f)(x))(x); + if ($2 === "") { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", $2); +}; +const lastIndexOf$p = pat => Data$dString$dCodeUnits.lastIndexOf$p(pat); +const lastIndexOf = x => Data$dString$dCodeUnits.lastIndexOf(x); +const indexOf$p = pat => Data$dString$dCodeUnits.indexOf$p(pat); +const indexOf = x => Data$dString$dCodeUnits.indexOf(x); +const length = x => Data$dString$dCodeUnits.length(x); +const splitAt = i => nes => { + const v = Data$dString$dCodeUnits.splitAt(i)(nes); + return { + before: (() => { + if (v.before === "") { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", v.before); + })(), + after: (() => { + if (v.after === "") { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", v.after); + })() + }; +}; +const take = i => nes => { + if (i < 1) { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", Data$dString$dCodeUnits.take(i)(nes)); +}; +const takeRight = i => nes => { + if (i < 1) { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", Data$dString$dCodeUnits.drop(Data$dString$dCodeUnits.length(nes) - i | 0)(nes)); +}; +const toChar = x => Data$dString$dCodeUnits.toChar(x); +const toCharArray = x => Data$dString$dCodeUnits.toCharArray(x); +const toNonEmptyCharArray = x => { + const $1 = Data$dString$dCodeUnits.toCharArray(x); + if ($1.length > 0) { return $1; } + $runtime.fail(); +}; +const uncons = nes => ( + { + head: Data$dString$dUnsafe.charAt(0)(nes), + tail: (() => { + const $1 = Data$dString$dCodeUnits.drop(1)(nes); + if ($1 === "") { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", $1); + })() + } +); +const fromFoldable1 = dictFoldable1 => dictFoldable1.foldMap1(Data$dSemigroup.semigroupString)(Data$dSemigroup$dFoldable.identity); +const fromCharArray = v => { + if (v.length === 0) { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", Data$dString$dCodeUnits.fromCharArray(v)); +}; +const fromNonEmptyCharArray = x => { + if (x.length === 0) { $runtime.fail(); } + return Data$dString$dCodeUnits.fromCharArray(x); +}; +const dropWhile = f => x => { + const $2 = Data$dString$dCodeUnits.drop(Data$dString$dCodeUnits.countPrefix(f)(x))(x); + if ($2 === "") { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", $2); +}; +const dropRight = i => nes => { + if (i >= Data$dString$dCodeUnits.length(nes)) { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", Data$dString$dCodeUnits.take(Data$dString$dCodeUnits.length(nes) - i | 0)(nes)); +}; +const drop = i => nes => { + if (i >= Data$dString$dCodeUnits.length(nes)) { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", Data$dString$dCodeUnits.drop(i)(nes)); +}; +const countPrefix = x => Data$dString$dCodeUnits.countPrefix(x); +const cons = c => s => Data$dString$dCodeUnits.singleton(c) + s; +const charAt = x => Data$dString$dCodeUnits.charAt(x); +export { + charAt, + cons, + countPrefix, + drop, + dropRight, + dropWhile, + fromCharArray, + fromFoldable1, + fromNonEmptyCharArray, + indexOf, + indexOf$p, + lastIndexOf, + lastIndexOf$p, + length, + singleton, + snoc, + splitAt, + take, + takeRight, + takeWhile, + toChar, + toCharArray, + toNonEmptyCharArray, + uncons +}; diff --git a/.storybook/purescript-indexer/output-es/Data.String.NonEmpty.Internal/index.js b/.storybook/purescript-indexer/output-es/Data.String.NonEmpty.Internal/index.js new file mode 100644 index 0000000..398dc14 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.String.NonEmpty.Internal/index.js @@ -0,0 +1,119 @@ +// | While most of the code in this module is safe, this module does +// | export a few partial functions and the `NonEmptyString` constructor. +// | While the partial functions are obvious from the `Partial` constraint in +// | their type signature, the `NonEmptyString` constructor can be overlooked +// | when searching for issues in one's code. See the constructor's +// | documentation for more information. +import * as $runtime from "../runtime.js"; +import * as Data$dEq from "../Data.Eq/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dSemigroup from "../Data.Semigroup/index.js"; +import * as Data$dShow from "../Data.Show/index.js"; +import * as Data$dString$dCodeUnits from "../Data.String.CodeUnits/index.js"; +import * as Data$dString$dCommon from "../Data.String.Common/index.js"; +const NonEmptyString = x => x; +const NonEmptyReplacement = x => x; +const toUpper = v => Data$dString$dCommon.toUpper(v); +const toString = v => v; +const toLower = v => Data$dString$dCommon.toLower(v); +const showNonEmptyString = {show: v => "(NonEmptyString.unsafeFromString " + (Data$dShow.showStringImpl(v) + ")")}; +const showNonEmptyReplacement = {show: v => "(NonEmptyReplacement (NonEmptyString.unsafeFromString " + Data$dShow.showStringImpl(v) + "))"}; +const semigroupNonEmptyString = Data$dSemigroup.semigroupString; +const semigroupNonEmptyReplacement = Data$dSemigroup.semigroupString; +const replaceAll = pat => v => v1 => Data$dString$dCommon.replaceAll(pat)(v)(v1); +const replace = pat => v => v1 => Data$dString$dCommon.replace(pat)(v)(v1); +const prependString = s1 => v => s1 + v; +const ordNonEmptyString = Data$dOrd.ordString; +const ordNonEmptyReplacement = Data$dOrd.ordString; +const nonEmptyNonEmpty = dictIsSymbol => ({nes: p => dictIsSymbol.reflectSymbol(p)}); +const nes = dict => dict.nes; +const makeNonEmptyBad = () => ({nes: v => ""}); +const localeCompare = v => v1 => Data$dString$dCommon.localeCompare(v)(v1); +const liftS = f => v => f(v); +const joinWith1 = dictFoldable1 => { + const $1 = dictFoldable1.Foldable0(); + return sep => xs => $1.foldl(v => v1 => { + if (v.init) { return {init: false, acc: v1}; } + return {init: false, acc: v.acc + (sep + v1)}; + })({init: true, acc: ""})(xs).acc; +}; +const joinWith = dictFoldable => splice => xs => dictFoldable.foldl(v => v1 => { + if (v.init) { return {init: false, acc: v1}; } + return {init: false, acc: v.acc + (splice + v1)}; +})({init: true, acc: ""})(xs).acc; +const join1With = dictFoldable1 => { + const $1 = dictFoldable1.Foldable0(); + return splice => xs => $1.foldl(v => v1 => { + if (v.init) { return {init: false, acc: v1}; } + return {init: false, acc: v.acc + (splice + v1)}; + })({init: true, acc: ""})(xs).acc; +}; +const fromString = v => { + if (v === "") { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", v); +}; +const stripPrefix = pat => a => { + const $2 = Data$dString$dCodeUnits.stripPrefix(pat)(a); + if ($2.tag === "Just") { + if ($2._1 === "") { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", $2._1); + } + if ($2.tag === "Nothing") { return Data$dMaybe.Nothing; } + $runtime.fail(); +}; +const stripSuffix = pat => a => { + const $2 = Data$dString$dCodeUnits.stripSuffix(pat)(a); + if ($2.tag === "Just") { + if ($2._1 === "") { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", $2._1); + } + if ($2.tag === "Nothing") { return Data$dMaybe.Nothing; } + $runtime.fail(); +}; +const trim = v => { + const $1 = Data$dString$dCommon.trim(v); + if ($1 === "") { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", $1); +}; +const unsafeFromString = () => x => { + if (x === "") { $runtime.fail(); } + return x; +}; +const eqNonEmptyString = Data$dEq.eqString; +const eqNonEmptyReplacement = Data$dEq.eqString; +const contains = x => Data$dString$dCodeUnits.contains(x); +const appendString = v => s2 => v + s2; +export { + NonEmptyReplacement, + NonEmptyString, + appendString, + contains, + eqNonEmptyReplacement, + eqNonEmptyString, + fromString, + join1With, + joinWith, + joinWith1, + liftS, + localeCompare, + makeNonEmptyBad, + nes, + nonEmptyNonEmpty, + ordNonEmptyReplacement, + ordNonEmptyString, + prependString, + replace, + replaceAll, + semigroupNonEmptyReplacement, + semigroupNonEmptyString, + showNonEmptyReplacement, + showNonEmptyString, + stripPrefix, + stripSuffix, + toLower, + toString, + toUpper, + trim, + unsafeFromString +}; diff --git a/.storybook/purescript-indexer/output-es/Data.String.NonEmpty/index.js b/.storybook/purescript-indexer/output-es/Data.String.NonEmpty/index.js new file mode 100644 index 0000000..2d3a7c9 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.String.NonEmpty/index.js @@ -0,0 +1,2 @@ +import * as $runtime from "../runtime.js"; +export {}; diff --git a/.storybook/purescript-indexer/output-es/Data.String.Pattern/index.js b/.storybook/purescript-indexer/output-es/Data.String.Pattern/index.js new file mode 100644 index 0000000..31496b6 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.String.Pattern/index.js @@ -0,0 +1,14 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dShow from "../Data.Show/index.js"; +const Replacement = x => x; +const Pattern = x => x; +const showReplacement = {show: v => "(Replacement " + (Data$dShow.showStringImpl(v) + ")")}; +const showPattern = {show: v => "(Pattern " + (Data$dShow.showStringImpl(v) + ")")}; +const newtypeReplacement = {Coercible0: () => undefined}; +const newtypePattern = {Coercible0: () => undefined}; +const eqReplacement = {eq: x => y => x === y}; +const ordReplacement = {compare: x => y => Data$dOrd.ordString.compare(x)(y), Eq0: () => eqReplacement}; +const eqPattern = {eq: x => y => x === y}; +const ordPattern = {compare: x => y => Data$dOrd.ordString.compare(x)(y), Eq0: () => eqPattern}; +export {Pattern, Replacement, eqPattern, eqReplacement, newtypePattern, newtypeReplacement, ordPattern, ordReplacement, showPattern, showReplacement}; diff --git a/.storybook/purescript-indexer/output-es/Data.String.Regex.Flags/index.js b/.storybook/purescript-indexer/output-es/Data.String.Regex.Flags/index.js new file mode 100644 index 0000000..392b68b --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.String.Regex.Flags/index.js @@ -0,0 +1,59 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dAlternative from "../Control.Alternative/index.js"; +import * as Data$dEq from "../Data.Eq/index.js"; +import * as Data$dFunctor from "../Data.Functor/index.js"; +import * as Data$dSemigroup from "../Data.Semigroup/index.js"; +import * as Data$dString$dCommon from "../Data.String.Common/index.js"; +const guard = /* #__PURE__ */ Control$dAlternative.guard(Control$dAlternative.alternativeArray); +const eq = /* #__PURE__ */ Data$dEq.eqArrayImpl(Data$dEq.eqStringImpl); +const RegexFlags = x => x; +const unicode = {global: false, ignoreCase: false, multiline: false, dotAll: false, sticky: false, unicode: true}; +const sticky = {global: false, ignoreCase: false, multiline: false, dotAll: false, sticky: true, unicode: false}; +const showRegexFlags = { + show: v => { + const usedFlags = Data$dSemigroup.concatArray([])(Data$dSemigroup.concatArray(Data$dFunctor.arrayMap(v$1 => "global")(guard(v.global)))(Data$dSemigroup.concatArray(Data$dFunctor.arrayMap(v$1 => "ignoreCase")(guard(v.ignoreCase)))(Data$dSemigroup.concatArray(Data$dFunctor.arrayMap(v$1 => "multiline")(guard(v.multiline)))(Data$dSemigroup.concatArray(Data$dFunctor.arrayMap(v$1 => "dotAll")(guard(v.dotAll)))(Data$dSemigroup.concatArray(Data$dFunctor.arrayMap(v$1 => "sticky")(guard(v.sticky)))(Data$dFunctor.arrayMap(v$1 => "unicode")(guard(v.unicode)))))))); + if (eq(usedFlags)([])) { return "noFlags"; } + return "(" + (Data$dString$dCommon.joinWith(" <> ")(usedFlags) + ")"); + } +}; +const semigroupRegexFlags = { + append: v => v1 => ( + { + global: v.global || v1.global, + ignoreCase: v.ignoreCase || v1.ignoreCase, + multiline: v.multiline || v1.multiline, + dotAll: v.dotAll || v1.dotAll, + sticky: v.sticky || v1.sticky, + unicode: v.unicode || v1.unicode + } + ) +}; +const noFlags = {global: false, ignoreCase: false, multiline: false, dotAll: false, sticky: false, unicode: false}; +const newtypeRegexFlags = {Coercible0: () => undefined}; +const multiline = {global: false, ignoreCase: false, multiline: true, dotAll: false, sticky: false, unicode: false}; +const monoidRegexFlags = {mempty: noFlags, Semigroup0: () => semigroupRegexFlags}; +const ignoreCase = {global: false, ignoreCase: true, multiline: false, dotAll: false, sticky: false, unicode: false}; +const global = {global: true, ignoreCase: false, multiline: false, dotAll: false, sticky: false, unicode: false}; +const eqRegexFlags = { + eq: ra => rb => ra.dotAll === rb.dotAll && ( + ra.global === rb.global && (ra.ignoreCase === rb.ignoreCase && (ra.multiline === rb.multiline && (ra.sticky === rb.sticky && ra.unicode === rb.unicode))) + ) +}; +const dotAll = {global: false, ignoreCase: false, multiline: false, dotAll: true, sticky: false, unicode: false}; +export { + RegexFlags, + dotAll, + eq, + eqRegexFlags, + global, + guard, + ignoreCase, + monoidRegexFlags, + multiline, + newtypeRegexFlags, + noFlags, + semigroupRegexFlags, + showRegexFlags, + sticky, + unicode +}; diff --git a/.storybook/purescript-indexer/output-es/Data.String.Regex.Unsafe/index.js b/.storybook/purescript-indexer/output-es/Data.String.Regex.Unsafe/index.js new file mode 100644 index 0000000..88cecbb --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.String.Regex.Unsafe/index.js @@ -0,0 +1,10 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dString$dRegex from "../Data.String.Regex/index.js"; +import * as Partial from "../Partial/index.js"; +const unsafeRegex = s => f => { + const $2 = Data$dString$dRegex.regex(s)(f); + if ($2.tag === "Left") { return Partial._crashWith($2._1); } + if ($2.tag === "Right") { return $2._1; } + $runtime.fail(); +}; +export {unsafeRegex}; diff --git a/.storybook/purescript-indexer/output-es/Data.String.Regex/foreign.js b/.storybook/purescript-indexer/output-es/Data.String.Regex/foreign.js new file mode 100644 index 0000000..3196034 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.String.Regex/foreign.js @@ -0,0 +1,103 @@ +export const showRegexImpl = function (r) { + return "" + r; +}; + +export const regexImpl = function (left) { + return function (right) { + return function (s1) { + return function (s2) { + try { + return right(new RegExp(s1, s2)); + } catch (e) { + return left(e.message); + } + }; + }; + }; +}; + +export const source = function (r) { + return r.source; +}; + +export const flagsImpl = function (r) { + return { + multiline: r.multiline, + ignoreCase: r.ignoreCase, + global: r.global, + dotAll: r.dotAll, + sticky: !!r.sticky, + unicode: !!r.unicode + }; +}; + +export const test = function (r) { + return function (s) { + var lastIndex = r.lastIndex; + var result = r.test(s); + r.lastIndex = lastIndex; + return result; + }; +}; + +export const _match = function (just) { + return function (nothing) { + return function (r) { + return function (s) { + var m = s.match(r); + if (m == null || m.length === 0) { + return nothing; + } else { + for (var i = 0; i < m.length; i++) { + m[i] = m[i] == null ? nothing : just(m[i]); + } + return just(m); + } + }; + }; + }; +}; + +export const replace = function (r) { + return function (s1) { + return function (s2) { + return s2.replace(r, s1); + }; + }; +}; + +export const _replaceBy = function (just) { + return function (nothing) { + return function (r) { + return function (f) { + return function (s) { + return s.replace(r, function (match) { + var groups = []; + var group, i = 1; + while (typeof (group = arguments[i++]) !== "number") { + groups.push(group == null ? nothing : just(group)); + } + return f(match)(groups); + }); + }; + }; + }; + }; +}; + +export const _search = function (just) { + return function (nothing) { + return function (r) { + return function (s) { + var result = s.search(r); + return result === -1 ? nothing : just(result); + }; + }; + }; +}; + +export const split = function (r) { + return function (s) { + return s.split(r); + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Data.String.Regex/index.js b/.storybook/purescript-indexer/output-es/Data.String.Regex/index.js new file mode 100644 index 0000000..e8dce42 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.String.Regex/index.js @@ -0,0 +1,79 @@ +// | Wraps Javascript's `RegExp` object that enables matching strings with +// | patterns defined by regular expressions. +// | For details of the underlying implementation, see [RegExp Reference at MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp). +import * as $runtime from "../runtime.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dString$dCodeUnits from "../Data.String.CodeUnits/index.js"; +import {_match, _replaceBy, _search, flagsImpl, regexImpl, replace, showRegexImpl, source, split, test} from "./foreign.js"; +const showRegex = {show: showRegexImpl}; +const search = /* #__PURE__ */ _search(Data$dMaybe.Just)(Data$dMaybe.Nothing); +const replace$p = /* #__PURE__ */ _replaceBy(Data$dMaybe.Just)(Data$dMaybe.Nothing); +const renderFlags = v => (() => { + if (v.global) { return "g"; } + return ""; +})() + ( + (() => { + if (v.ignoreCase) { return "i"; } + return ""; + })() + ( + (() => { + if (v.multiline) { return "m"; } + return ""; + })() + ( + (() => { + if (v.dotAll) { return "s"; } + return ""; + })() + ( + (() => { + if (v.sticky) { return "y"; } + return ""; + })() + (() => { + if (v.unicode) { return "u"; } + return ""; + })() + ) + ) + ) +); +const regex = s => f => regexImpl(Data$dEither.Left)(Data$dEither.Right)(s)((() => { + if (f.global) { return "g"; } + return ""; +})() + ( + (() => { + if (f.ignoreCase) { return "i"; } + return ""; + })() + ( + (() => { + if (f.multiline) { return "m"; } + return ""; + })() + ( + (() => { + if (f.dotAll) { return "s"; } + return ""; + })() + ( + (() => { + if (f.sticky) { return "y"; } + return ""; + })() + (() => { + if (f.unicode) { return "u"; } + return ""; + })() + ) + ) + ) +)); +const parseFlags = s => ( + { + global: Data$dString$dCodeUnits.contains("g")(s), + ignoreCase: Data$dString$dCodeUnits.contains("i")(s), + multiline: Data$dString$dCodeUnits.contains("m")(s), + dotAll: Data$dString$dCodeUnits.contains("s")(s), + sticky: Data$dString$dCodeUnits.contains("y")(s), + unicode: Data$dString$dCodeUnits.contains("u")(s) + } +); +const match = /* #__PURE__ */ _match(Data$dMaybe.Just)(Data$dMaybe.Nothing); +const flags = x => flagsImpl(x); +export {flags, match, parseFlags, regex, renderFlags, replace$p, search, showRegex}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.String.Unsafe/foreign.js b/.storybook/purescript-indexer/output-es/Data.String.Unsafe/foreign.js new file mode 100644 index 0000000..75772aa --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.String.Unsafe/foreign.js @@ -0,0 +1,11 @@ +export const charAt = function (i) { + return function (s) { + if (i >= 0 && i < s.length) return s.charAt(i); + throw new Error("Data.String.Unsafe.charAt: Invalid index."); + }; +}; + +export const char = function (s) { + if (s.length === 1) return s.charAt(0); + throw new Error("Data.String.Unsafe.char: Expected string of length 1."); +}; diff --git a/.storybook/purescript-indexer/output-es/Data.String.Unsafe/index.js b/.storybook/purescript-indexer/output-es/Data.String.Unsafe/index.js new file mode 100644 index 0000000..ed89295 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.String.Unsafe/index.js @@ -0,0 +1,5 @@ +// | Unsafe string and character functions. +import * as $runtime from "../runtime.js"; +import {char as $$char, charAt} from "./foreign.js"; +export {}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.String/index.js b/.storybook/purescript-indexer/output-es/Data.String/index.js new file mode 100644 index 0000000..2d3a7c9 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.String/index.js @@ -0,0 +1,2 @@ +import * as $runtime from "../runtime.js"; +export {}; diff --git a/.storybook/purescript-indexer/output-es/Data.Symbol/foreign.js b/.storybook/purescript-indexer/output-es/Data.Symbol/foreign.js new file mode 100644 index 0000000..b294140 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Symbol/foreign.js @@ -0,0 +1,6 @@ +// module Data.Symbol + +export const unsafeCoerce = function (arg) { + return arg; +}; + diff --git a/.storybook/purescript-indexer/output-es/Data.Symbol/index.js b/.storybook/purescript-indexer/output-es/Data.Symbol/index.js new file mode 100644 index 0000000..7467b9f --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Symbol/index.js @@ -0,0 +1,7 @@ +import * as $runtime from "../runtime.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +import {unsafeCoerce} from "./foreign.js"; +const reifySymbol = s => f => unsafeCoerce(dictIsSymbol => f(dictIsSymbol))({reflectSymbol: v => s})(Type$dProxy.Proxy); +const reflectSymbol = dict => dict.reflectSymbol; +export {reflectSymbol, reifySymbol}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.Time.Component.Gen/index.js b/.storybook/purescript-indexer/output-es/Data.Time.Component.Gen/index.js new file mode 100644 index 0000000..0c17ce2 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Time.Component.Gen/index.js @@ -0,0 +1,8 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dEnum$dGen from "../Data.Enum.Gen/index.js"; +import * as Data$dTime$dComponent from "../Data.Time.Component/index.js"; +const genSecond = dictMonadGen => Data$dEnum$dGen.genBoundedEnum(dictMonadGen)(Data$dTime$dComponent.boundedEnumSecond); +const genMinute = dictMonadGen => Data$dEnum$dGen.genBoundedEnum(dictMonadGen)(Data$dTime$dComponent.boundedEnumMinute); +const genMillisecond = dictMonadGen => Data$dEnum$dGen.genBoundedEnum(dictMonadGen)(Data$dTime$dComponent.boundedEnumMillisecond); +const genHour = dictMonadGen => Data$dEnum$dGen.genBoundedEnum(dictMonadGen)(Data$dTime$dComponent.boundedEnumHour); +export {genHour, genMillisecond, genMinute, genSecond}; diff --git a/.storybook/purescript-indexer/output-es/Data.Time.Component/index.js b/.storybook/purescript-indexer/output-es/Data.Time.Component/index.js new file mode 100644 index 0000000..b12c8d1 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Time.Component/index.js @@ -0,0 +1,139 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dEq from "../Data.Eq/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dShow from "../Data.Show/index.js"; +const showSecond = {show: v => "(Second " + (Data$dShow.showIntImpl(v) + ")")}; +const showMinute = {show: v => "(Minute " + (Data$dShow.showIntImpl(v) + ")")}; +const showMillisecond = {show: v => "(Millisecond " + (Data$dShow.showIntImpl(v) + ")")}; +const showHour = {show: v => "(Hour " + (Data$dShow.showIntImpl(v) + ")")}; +const ordSecond = Data$dOrd.ordInt; +const ordMinute = Data$dOrd.ordInt; +const ordMillisecond = Data$dOrd.ordInt; +const ordHour = Data$dOrd.ordInt; +const eqSecond = Data$dEq.eqInt; +const eqMinute = Data$dEq.eqInt; +const eqMillisecond = Data$dEq.eqInt; +const eqHour = Data$dEq.eqInt; +const boundedSecond = {bottom: 0, top: 59, Ord0: () => Data$dOrd.ordInt}; +const boundedMinute = {bottom: 0, top: 59, Ord0: () => Data$dOrd.ordInt}; +const boundedMillisecond = {bottom: 0, top: 999, Ord0: () => Data$dOrd.ordInt}; +const boundedHour = {bottom: 0, top: 23, Ord0: () => Data$dOrd.ordInt}; +const boundedEnumSecond = { + cardinality: 60, + toEnum: n => { + if (n >= 0 && n <= 59) { return Data$dMaybe.$Maybe("Just", n); } + return Data$dMaybe.Nothing; + }, + fromEnum: v => v, + Bounded0: () => boundedSecond, + Enum1: () => enumSecond +}; +const enumSecond = { + succ: x => { + const $1 = x + 1 | 0; + if ($1 >= 0 && $1 <= 59) { return Data$dMaybe.$Maybe("Just", $1); } + return Data$dMaybe.Nothing; + }, + pred: x => { + const $1 = x - 1 | 0; + if ($1 >= 0 && $1 <= 59) { return Data$dMaybe.$Maybe("Just", $1); } + return Data$dMaybe.Nothing; + }, + Ord0: () => Data$dOrd.ordInt +}; +const boundedEnumMinute = { + cardinality: 60, + toEnum: n => { + if (n >= 0 && n <= 59) { return Data$dMaybe.$Maybe("Just", n); } + return Data$dMaybe.Nothing; + }, + fromEnum: v => v, + Bounded0: () => boundedMinute, + Enum1: () => enumMinute +}; +const enumMinute = { + succ: x => { + const $1 = x + 1 | 0; + if ($1 >= 0 && $1 <= 59) { return Data$dMaybe.$Maybe("Just", $1); } + return Data$dMaybe.Nothing; + }, + pred: x => { + const $1 = x - 1 | 0; + if ($1 >= 0 && $1 <= 59) { return Data$dMaybe.$Maybe("Just", $1); } + return Data$dMaybe.Nothing; + }, + Ord0: () => Data$dOrd.ordInt +}; +const boundedEnumMillisecond = { + cardinality: 1000, + toEnum: n => { + if (n >= 0 && n <= 999) { return Data$dMaybe.$Maybe("Just", n); } + return Data$dMaybe.Nothing; + }, + fromEnum: v => v, + Bounded0: () => boundedMillisecond, + Enum1: () => enumMillisecond +}; +const enumMillisecond = { + succ: x => { + const $1 = x + 1 | 0; + if ($1 >= 0 && $1 <= 999) { return Data$dMaybe.$Maybe("Just", $1); } + return Data$dMaybe.Nothing; + }, + pred: x => { + const $1 = x - 1 | 0; + if ($1 >= 0 && $1 <= 999) { return Data$dMaybe.$Maybe("Just", $1); } + return Data$dMaybe.Nothing; + }, + Ord0: () => Data$dOrd.ordInt +}; +const boundedEnumHour = { + cardinality: 24, + toEnum: n => { + if (n >= 0 && n <= 23) { return Data$dMaybe.$Maybe("Just", n); } + return Data$dMaybe.Nothing; + }, + fromEnum: v => v, + Bounded0: () => boundedHour, + Enum1: () => enumHour +}; +const enumHour = { + succ: x => { + const $1 = x + 1 | 0; + if ($1 >= 0 && $1 <= 23) { return Data$dMaybe.$Maybe("Just", $1); } + return Data$dMaybe.Nothing; + }, + pred: x => { + const $1 = x - 1 | 0; + if ($1 >= 0 && $1 <= 23) { return Data$dMaybe.$Maybe("Just", $1); } + return Data$dMaybe.Nothing; + }, + Ord0: () => Data$dOrd.ordInt +}; +export { + boundedEnumHour, + boundedEnumMillisecond, + boundedEnumMinute, + boundedEnumSecond, + boundedHour, + boundedMillisecond, + boundedMinute, + boundedSecond, + enumHour, + enumMillisecond, + enumMinute, + enumSecond, + eqHour, + eqMillisecond, + eqMinute, + eqSecond, + ordHour, + ordMillisecond, + ordMinute, + ordSecond, + showHour, + showMillisecond, + showMinute, + showSecond +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Time.Duration.Gen/index.js b/.storybook/purescript-indexer/output-es/Data.Time.Duration.Gen/index.js new file mode 100644 index 0000000..1467e60 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Time.Duration.Gen/index.js @@ -0,0 +1,8 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dTime$dDuration from "../Data.Time.Duration/index.js"; +const genSeconds = dictMonadGen => dictMonadGen.Monad0().Bind1().Apply0().Functor0().map(Data$dTime$dDuration.Seconds)(dictMonadGen.chooseFloat(0.0)(600.0)); +const genMinutes = dictMonadGen => dictMonadGen.Monad0().Bind1().Apply0().Functor0().map(Data$dTime$dDuration.Minutes)(dictMonadGen.chooseFloat(0.0)(600.0)); +const genMilliseconds = dictMonadGen => dictMonadGen.Monad0().Bind1().Apply0().Functor0().map(Data$dTime$dDuration.Milliseconds)(dictMonadGen.chooseFloat(0.0)(600000.0)); +const genHours = dictMonadGen => dictMonadGen.Monad0().Bind1().Apply0().Functor0().map(Data$dTime$dDuration.Hours)(dictMonadGen.chooseFloat(0.0)(240.0)); +const genDays = dictMonadGen => dictMonadGen.Monad0().Bind1().Apply0().Functor0().map(Data$dTime$dDuration.Days)(dictMonadGen.chooseFloat(0.0)(42.0)); +export {genDays, genHours, genMilliseconds, genMinutes, genSeconds}; diff --git a/.storybook/purescript-indexer/output-es/Data.Time.Duration/index.js b/.storybook/purescript-indexer/output-es/Data.Time.Duration/index.js new file mode 100644 index 0000000..a7e44dc --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Time.Duration/index.js @@ -0,0 +1,96 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dEq from "../Data.Eq/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dShow from "../Data.Show/index.js"; +const identity = x => x; +const Seconds = x => x; +const Minutes = x => x; +const Milliseconds = x => x; +const Hours = x => x; +const Days = x => x; +const toDuration = dict => dict.toDuration; +const showSeconds = {show: v => "(Seconds " + (Data$dShow.showNumberImpl(v) + ")")}; +const showMinutes = {show: v => "(Minutes " + (Data$dShow.showNumberImpl(v) + ")")}; +const showMilliseconds = {show: v => "(Milliseconds " + (Data$dShow.showNumberImpl(v) + ")")}; +const showHours = {show: v => "(Hours " + (Data$dShow.showNumberImpl(v) + ")")}; +const showDays = {show: v => "(Days " + (Data$dShow.showNumberImpl(v) + ")")}; +const semigroupSeconds = {append: v => v1 => v + v1}; +const semigroupMinutes = {append: v => v1 => v + v1}; +const semigroupMilliseconds = {append: v => v1 => v + v1}; +const semigroupHours = {append: v => v1 => v + v1}; +const semigroupDays = {append: v => v1 => v + v1}; +const ordSeconds = Data$dOrd.ordNumber; +const ordMinutes = Data$dOrd.ordNumber; +const ordMilliseconds = Data$dOrd.ordNumber; +const ordHours = Data$dOrd.ordNumber; +const ordDays = Data$dOrd.ordNumber; +const newtypeSeconds = {Coercible0: () => undefined}; +const newtypeMinutes = {Coercible0: () => undefined}; +const newtypeMilliseconds = {Coercible0: () => undefined}; +const newtypeHours = {Coercible0: () => undefined}; +const newtypeDays = {Coercible0: () => undefined}; +const monoidSeconds = {mempty: 0.0, Semigroup0: () => semigroupSeconds}; +const monoidMinutes = {mempty: 0.0, Semigroup0: () => semigroupMinutes}; +const monoidMilliseconds = {mempty: 0.0, Semigroup0: () => semigroupMilliseconds}; +const monoidHours = {mempty: 0.0, Semigroup0: () => semigroupHours}; +const monoidDays = {mempty: 0.0, Semigroup0: () => semigroupDays}; +const fromDuration = dict => dict.fromDuration; +const negateDuration = dictDuration => x => dictDuration.toDuration(-dictDuration.fromDuration(x)); +const eqSeconds = Data$dEq.eqNumber; +const eqMinutes = Data$dEq.eqNumber; +const eqMilliseconds = Data$dEq.eqNumber; +const eqHours = Data$dEq.eqNumber; +const eqDays = Data$dEq.eqNumber; +const durationSeconds = {fromDuration: v => v * 1000.0, toDuration: v => v / 1000.0}; +const durationMinutes = {fromDuration: v => v * 60000.0, toDuration: v => v / 60000.0}; +const durationMilliseconds = {fromDuration: identity, toDuration: identity}; +const durationHours = {fromDuration: v => v * 3600000.0, toDuration: v => v / 3600000.0}; +const durationDays = {fromDuration: v => v * 86400000.0, toDuration: v => v / 86400000.0}; +const convertDuration = dictDuration => dictDuration1 => x => dictDuration1.toDuration(dictDuration.fromDuration(x)); +export { + Days, + Hours, + Milliseconds, + Minutes, + Seconds, + convertDuration, + durationDays, + durationHours, + durationMilliseconds, + durationMinutes, + durationSeconds, + eqDays, + eqHours, + eqMilliseconds, + eqMinutes, + eqSeconds, + fromDuration, + identity, + monoidDays, + monoidHours, + monoidMilliseconds, + monoidMinutes, + monoidSeconds, + negateDuration, + newtypeDays, + newtypeHours, + newtypeMilliseconds, + newtypeMinutes, + newtypeSeconds, + ordDays, + ordHours, + ordMilliseconds, + ordMinutes, + ordSeconds, + semigroupDays, + semigroupHours, + semigroupMilliseconds, + semigroupMinutes, + semigroupSeconds, + showDays, + showHours, + showMilliseconds, + showMinutes, + showSeconds, + toDuration +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Time.Gen/index.js b/.storybook/purescript-indexer/output-es/Data.Time.Gen/index.js new file mode 100644 index 0000000..6363a6e --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Time.Gen/index.js @@ -0,0 +1,9 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dEnum$dGen from "../Data.Enum.Gen/index.js"; +import * as Data$dTime from "../Data.Time/index.js"; +import * as Data$dTime$dComponent from "../Data.Time.Component/index.js"; +const genTime = dictMonadGen => { + const Apply0 = dictMonadGen.Monad0().Bind1().Apply0(); + return Apply0.apply(Apply0.apply(Apply0.apply(Apply0.Functor0().map(Data$dTime.Time)(Data$dEnum$dGen.genBoundedEnum(dictMonadGen)(Data$dTime$dComponent.boundedEnumHour)))(Data$dEnum$dGen.genBoundedEnum(dictMonadGen)(Data$dTime$dComponent.boundedEnumMinute)))(Data$dEnum$dGen.genBoundedEnum(dictMonadGen)(Data$dTime$dComponent.boundedEnumSecond)))(Data$dEnum$dGen.genBoundedEnum(dictMonadGen)(Data$dTime$dComponent.boundedEnumMillisecond)); +}; +export {genTime}; diff --git a/.storybook/purescript-indexer/output-es/Data.Time/index.js b/.storybook/purescript-indexer/output-es/Data.Time/index.js new file mode 100644 index 0000000..141d6a5 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Time/index.js @@ -0,0 +1,101 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dInt from "../Data.Int/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dNumber from "../Data.Number/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import * as Data$dShow from "../Data.Show/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const $Time = (_1, _2, _3, _4) => ({tag: "Time", _1, _2, _3, _4}); +const Time = value0 => value1 => value2 => value3 => $Time(value0, value1, value2, value3); +const showTime = { + show: v => "(Time (Hour " + (Data$dShow.showIntImpl(v._1) + ")") + ( + " (Minute " + (Data$dShow.showIntImpl(v._2) + ")") + (" (Second " + (Data$dShow.showIntImpl(v._3) + ")") + (" (Millisecond " + Data$dShow.showIntImpl(v._4) + "))")) + ) +}; +const setSecond = s => v => $Time(v._1, v._2, s, v._4); +const setMinute = m => v => $Time(v._1, m, v._3, v._4); +const setMillisecond = ms => v => $Time(v._1, v._2, v._3, ms); +const setHour = h => v => $Time(h, v._2, v._3, v._4); +const second = v => v._3; +const minute = v => v._2; +const millisecond = v => v._4; +const millisToTime = v => { + const hours = Data$dNumber.floor(v / 3600000.0); + const minutes = Data$dNumber.floor((v - hours * 3600000.0) / 60000.0); + const seconds = Data$dNumber.floor((v - (hours * 3600000.0 + minutes * 60000.0)) / 1000.0); + const $4 = Data$dMaybe.applyMaybe.apply(Data$dMaybe.applyMaybe.apply(Data$dMaybe.applyMaybe.apply((() => { + const $4 = Data$dInt.unsafeClamp(Data$dNumber.floor(hours)); + if ($4 >= 0 && $4 <= 23) { return Data$dMaybe.$Maybe("Just", Time($4)); } + return Data$dMaybe.Nothing; + })())((() => { + const $4 = Data$dInt.unsafeClamp(Data$dNumber.floor(minutes)); + if ($4 >= 0 && $4 <= 59) { return Data$dMaybe.$Maybe("Just", $4); } + return Data$dMaybe.Nothing; + })()))((() => { + const $4 = Data$dInt.unsafeClamp(Data$dNumber.floor(seconds)); + if ($4 >= 0 && $4 <= 59) { return Data$dMaybe.$Maybe("Just", $4); } + return Data$dMaybe.Nothing; + })()))((() => { + const $4 = Data$dInt.unsafeClamp(Data$dNumber.floor(v - (hours * 3600000.0 + minutes * 60000.0 + seconds * 1000.0))); + if ($4 >= 0 && $4 <= 999) { return Data$dMaybe.$Maybe("Just", $4); } + return Data$dMaybe.Nothing; + })()); + if ($4.tag === "Just") { return $4._1; } + $runtime.fail(); +}; +const hour = v => v._1; +const timeToMillis = t => 3600000.0 * Data$dInt.toNumber(t._1) + 60000.0 * Data$dInt.toNumber(t._2) + 1000.0 * Data$dInt.toNumber(t._3) + Data$dInt.toNumber(t._4); +const eqTime = {eq: x => y => x._1 === y._1 && x._2 === y._2 && x._3 === y._3 && x._4 === y._4}; +const ordTime = { + compare: x => y => { + const v = Data$dOrd.ordInt.compare(x._1)(y._1); + if (v.tag === "LT") { return Data$dOrdering.LT; } + if (v.tag === "GT") { return Data$dOrdering.GT; } + const v1 = Data$dOrd.ordInt.compare(x._2)(y._2); + if (v1.tag === "LT") { return Data$dOrdering.LT; } + if (v1.tag === "GT") { return Data$dOrdering.GT; } + const v2 = Data$dOrd.ordInt.compare(x._3)(y._3); + if (v2.tag === "LT") { return Data$dOrdering.LT; } + if (v2.tag === "GT") { return Data$dOrdering.GT; } + return Data$dOrd.ordInt.compare(x._4)(y._4); + }, + Eq0: () => eqTime +}; +const diff = dictDuration => t1 => t2 => dictDuration.toDuration(timeToMillis(t1) + -timeToMillis(t2)); +const boundedTime = {bottom: /* #__PURE__ */ $Time(0, 0, 0, 0), top: /* #__PURE__ */ $Time(23, 59, 59, 999), Ord0: () => ordTime}; +const maxTime = /* #__PURE__ */ timeToMillis(/* #__PURE__ */ $Time(23, 59, 59, 999)); +const minTime = /* #__PURE__ */ timeToMillis(/* #__PURE__ */ $Time(0, 0, 0, 0)); +const adjust = dictDuration => d => t => { + const d$p = dictDuration.fromDuration(d); + const wholeDays = Data$dNumber.floor(d$p / 86400000.0); + const msAdjusted = timeToMillis(t) + (d$p + -(wholeDays * 86400000.0)); + const wrap = (() => { + if (msAdjusted > maxTime) { return 1.0; } + if (msAdjusted < minTime) { return -1.0; } + return 0.0; + })(); + return Data$dTuple.$Tuple(wholeDays + wrap, millisToTime(msAdjusted + 86400000.0 * -wrap)); +}; +export { + $Time, + Time, + adjust, + boundedTime, + diff, + eqTime, + hour, + maxTime, + millisToTime, + millisecond, + minTime, + minute, + ordTime, + second, + setHour, + setMillisecond, + setMinute, + setSecond, + showTime, + timeToMillis +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Traversable.Accum.Internal/index.js b/.storybook/purescript-indexer/output-es/Data.Traversable.Accum.Internal/index.js new file mode 100644 index 0000000..29cd0dc --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Traversable.Accum.Internal/index.js @@ -0,0 +1,36 @@ +import * as $runtime from "../runtime.js"; +const StateR = x => x; +const StateL = x => x; +const stateR = v => v; +const stateL = v => v; +const functorStateR = { + map: f => k => s => { + const v = k(s); + return {accum: v.accum, value: f(v.value)}; + } +}; +const functorStateL = { + map: f => k => s => { + const v = k(s); + return {accum: v.accum, value: f(v.value)}; + } +}; +const applyStateR = { + apply: f => x => s => { + const v = x(s); + const v1 = f(v.accum); + return {accum: v1.accum, value: v1.value(v.value)}; + }, + Functor0: () => functorStateR +}; +const applyStateL = { + apply: f => x => s => { + const v = f(s); + const v1 = x(v.accum); + return {accum: v1.accum, value: v.value(v1.value)}; + }, + Functor0: () => functorStateL +}; +const applicativeStateR = {pure: a => s => ({accum: s, value: a}), Apply0: () => applyStateR}; +const applicativeStateL = {pure: a => s => ({accum: s, value: a}), Apply0: () => applyStateL}; +export {StateL, StateR, applicativeStateL, applicativeStateR, applyStateL, applyStateR, functorStateL, functorStateR, stateL, stateR}; diff --git a/.storybook/purescript-indexer/output-es/Data.Traversable.Accum/index.js b/.storybook/purescript-indexer/output-es/Data.Traversable.Accum/index.js new file mode 100644 index 0000000..2d3a7c9 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Traversable.Accum/index.js @@ -0,0 +1,2 @@ +import * as $runtime from "../runtime.js"; +export {}; diff --git a/.storybook/purescript-indexer/output-es/Data.Traversable/foreign.js b/.storybook/purescript-indexer/output-es/Data.Traversable/foreign.js new file mode 100644 index 0000000..9f4248c --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Traversable/foreign.js @@ -0,0 +1,52 @@ +// jshint maxparams: 3 + +export const traverseArrayImpl = (function () { + function array1(a) { + return [a]; + } + + function array2(a) { + return function (b) { + return [a, b]; + }; + } + + function array3(a) { + return function (b) { + return function (c) { + return [a, b, c]; + }; + }; + } + + function concat2(xs) { + return function (ys) { + return xs.concat(ys); + }; + } + + return function (apply) { + return function (map) { + return function (pure) { + return function (f) { + return function (array) { + function go(bot, top) { + switch (top - bot) { + case 0: return pure([]); + case 1: return map(array1)(f(array[bot])); + case 2: return apply(map(array2)(f(array[bot])))(f(array[bot + 1])); + case 3: return apply(apply(map(array3)(f(array[bot])))(f(array[bot + 1])))(f(array[bot + 2])); + default: + // This slightly tricky pivot selection aims to produce two + // even-length partitions where possible. + var pivot = bot + Math.floor((top - bot) / 4) * 2; + return apply(map(concat2)(go(bot, pivot)))(go(pivot, top)); + } + } + return go(0, array.length); + }; + }; + }; + }; + }; +})(); diff --git a/.storybook/purescript-indexer/output-es/Data.Traversable/index.js b/.storybook/purescript-indexer/output-es/Data.Traversable/index.js new file mode 100644 index 0000000..3750037 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Traversable/index.js @@ -0,0 +1,372 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dConst from "../Data.Const/index.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dFunctor from "../Data.Functor/index.js"; +import * as Data$dFunctor$dApp from "../Data.Functor.App/index.js"; +import * as Data$dFunctor$dCompose from "../Data.Functor.Compose/index.js"; +import * as Data$dFunctor$dCoproduct from "../Data.Functor.Coproduct/index.js"; +import * as Data$dFunctor$dProduct from "../Data.Functor.Product/index.js"; +import * as Data$dIdentity from "../Data.Identity/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dMaybe$dFirst from "../Data.Maybe.First/index.js"; +import * as Data$dMaybe$dLast from "../Data.Maybe.Last/index.js"; +import * as Data$dMonoid$dAdditive from "../Data.Monoid.Additive/index.js"; +import * as Data$dMonoid$dConj from "../Data.Monoid.Conj/index.js"; +import * as Data$dMonoid$dDisj from "../Data.Monoid.Disj/index.js"; +import * as Data$dMonoid$dDual from "../Data.Monoid.Dual/index.js"; +import * as Data$dMonoid$dMultiplicative from "../Data.Monoid.Multiplicative/index.js"; +import * as Data$dTraversable$dAccum$dInternal from "../Data.Traversable.Accum.Internal/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import {traverseArrayImpl} from "./foreign.js"; +const identity = x => x; +const traverse = dict => dict.traverse; +const traversableTuple = { + traverse: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return f => v => map(Data$dTuple.Tuple(v._1))(f(v._2)); + }, + sequence: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return v => map(Data$dTuple.Tuple(v._1))(v._2); + }, + Functor0: () => Data$dTuple.functorTuple, + Foldable1: () => Data$dFoldable.foldableTuple +}; +const traversableMultiplicative = { + traverse: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return f => v => map(Data$dMonoid$dMultiplicative.Multiplicative)(f(v)); + }, + sequence: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return v => map(Data$dMonoid$dMultiplicative.Multiplicative)(v); + }, + Functor0: () => Data$dMonoid$dMultiplicative.functorMultiplicative, + Foldable1: () => Data$dFoldable.foldableMultiplicative +}; +const traversableMaybe = { + traverse: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return v => v1 => { + if (v1.tag === "Nothing") { return dictApplicative.pure(Data$dMaybe.Nothing); } + if (v1.tag === "Just") { return map(Data$dMaybe.Just)(v(v1._1)); } + $runtime.fail(); + }; + }, + sequence: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return v => { + if (v.tag === "Nothing") { return dictApplicative.pure(Data$dMaybe.Nothing); } + if (v.tag === "Just") { return map(Data$dMaybe.Just)(v._1); } + $runtime.fail(); + }; + }, + Functor0: () => Data$dMaybe.functorMaybe, + Foldable1: () => Data$dFoldable.foldableMaybe +}; +const traversableIdentity = { + traverse: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return f => v => map(Data$dIdentity.Identity)(f(v)); + }, + sequence: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return v => map(Data$dIdentity.Identity)(v); + }, + Functor0: () => Data$dIdentity.functorIdentity, + Foldable1: () => Data$dFoldable.foldableIdentity +}; +const traversableEither = { + traverse: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return v => v1 => { + if (v1.tag === "Left") { return dictApplicative.pure(Data$dEither.$Either("Left", v1._1)); } + if (v1.tag === "Right") { return map(Data$dEither.Right)(v(v1._1)); } + $runtime.fail(); + }; + }, + sequence: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return v => { + if (v.tag === "Left") { return dictApplicative.pure(Data$dEither.$Either("Left", v._1)); } + if (v.tag === "Right") { return map(Data$dEither.Right)(v._1); } + $runtime.fail(); + }; + }, + Functor0: () => Data$dEither.functorEither, + Foldable1: () => Data$dFoldable.foldableEither +}; +const traversableDual = { + traverse: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return f => v => map(Data$dMonoid$dDual.Dual)(f(v)); + }, + sequence: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return v => map(Data$dMonoid$dDual.Dual)(v); + }, + Functor0: () => Data$dMonoid$dDual.functorDual, + Foldable1: () => Data$dFoldable.foldableDual +}; +const traversableDisj = { + traverse: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return f => v => map(Data$dMonoid$dDisj.Disj)(f(v)); + }, + sequence: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return v => map(Data$dMonoid$dDisj.Disj)(v); + }, + Functor0: () => Data$dMonoid$dDisj.functorDisj, + Foldable1: () => Data$dFoldable.foldableDisj +}; +const traversableConst = { + traverse: dictApplicative => v => v1 => dictApplicative.pure(v1), + sequence: dictApplicative => v => dictApplicative.pure(v), + Functor0: () => Data$dConst.functorConst, + Foldable1: () => Data$dFoldable.foldableConst +}; +const traversableConj = { + traverse: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return f => v => map(Data$dMonoid$dConj.Conj)(f(v)); + }, + sequence: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return v => map(Data$dMonoid$dConj.Conj)(v); + }, + Functor0: () => Data$dMonoid$dConj.functorConj, + Foldable1: () => Data$dFoldable.foldableConj +}; +const traversableCompose = dictTraversable => { + const $1 = dictTraversable.Functor0(); + const $2 = dictTraversable.Foldable1(); + return dictTraversable1 => { + const $4 = dictTraversable1.Functor0(); + const functorCompose1 = {map: f => v => $1.map($4.map(f))(v)}; + const $6 = dictTraversable1.Foldable1(); + const foldableCompose1 = { + foldr: f => i => v => $2.foldr((() => { + const $10 = $6.foldr(f); + return b => a => $10(a)(b); + })())(i)(v), + foldl: f => i => v => $2.foldl($6.foldl(f))(i)(v), + foldMap: dictMonoid => { + const foldMap4 = $2.foldMap(dictMonoid); + const foldMap5 = $6.foldMap(dictMonoid); + return f => v => foldMap4(foldMap5(f))(v); + } + }; + return { + traverse: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const traverse4 = dictTraversable.traverse(dictApplicative); + const traverse5 = dictTraversable1.traverse(dictApplicative); + return f => v => map(Data$dFunctor$dCompose.Compose)(traverse4(traverse5(f))(v)); + }, + sequence: dictApplicative => traversableCompose(dictTraversable)(dictTraversable1).traverse(dictApplicative)(identity), + Functor0: () => functorCompose1, + Foldable1: () => foldableCompose1 + }; + }; +}; +const traversableAdditive = { + traverse: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return f => v => map(Data$dMonoid$dAdditive.Additive)(f(v)); + }, + sequence: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return v => map(Data$dMonoid$dAdditive.Additive)(v); + }, + Functor0: () => Data$dMonoid$dAdditive.functorAdditive, + Foldable1: () => Data$dFoldable.foldableAdditive +}; +const sequenceDefault = dictTraversable => dictApplicative => dictTraversable.traverse(dictApplicative)(identity); +const traversableArray = { + traverse: dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + return traverseArrayImpl(Apply0.apply)(Apply0.Functor0().map)(dictApplicative.pure); + }, + sequence: dictApplicative => traversableArray.traverse(dictApplicative)(identity), + Functor0: () => Data$dFunctor.functorArray, + Foldable1: () => Data$dFoldable.foldableArray +}; +const sequence = dict => dict.sequence; +const traversableApp = dictTraversable => { + const functorApp = dictTraversable.Functor0(); + const $2 = dictTraversable.Foldable1(); + const foldableApp = {foldr: f => i => v => $2.foldr(f)(i)(v), foldl: f => i => v => $2.foldl(f)(i)(v), foldMap: dictMonoid => $2.foldMap(dictMonoid)}; + return { + traverse: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const traverse3 = dictTraversable.traverse(dictApplicative); + return f => v => map(Data$dFunctor$dApp.App)(traverse3(f)(v)); + }, + sequence: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const sequence3 = dictTraversable.sequence(dictApplicative); + return v => map(Data$dFunctor$dApp.App)(sequence3(v)); + }, + Functor0: () => functorApp, + Foldable1: () => foldableApp + }; +}; +const traversableCoproduct = dictTraversable => { + const functorCoproduct = Data$dFunctor$dCoproduct.functorCoproduct(dictTraversable.Functor0()); + const foldableCoproduct = Data$dFoldable.foldableCoproduct(dictTraversable.Foldable1()); + return dictTraversable1 => { + const functorCoproduct1 = functorCoproduct(dictTraversable1.Functor0()); + const foldableCoproduct1 = foldableCoproduct(dictTraversable1.Foldable1()); + return { + traverse: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const traverse4 = dictTraversable.traverse(dictApplicative); + const traverse5 = dictTraversable1.traverse(dictApplicative); + return f => { + const $11 = map(x => Data$dEither.$Either("Left", x)); + const $12 = traverse4(f); + const $13 = map(x => Data$dEither.$Either("Right", x)); + const $14 = traverse5(f); + return v2 => { + if (v2.tag === "Left") { return $11($12(v2._1)); } + if (v2.tag === "Right") { return $13($14(v2._1)); } + $runtime.fail(); + }; + }; + }, + sequence: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const $8 = map(x => Data$dEither.$Either("Left", x)); + const $9 = dictTraversable.sequence(dictApplicative); + const $10 = map(x => Data$dEither.$Either("Right", x)); + const $11 = dictTraversable1.sequence(dictApplicative); + return v2 => { + if (v2.tag === "Left") { return $8($9(v2._1)); } + if (v2.tag === "Right") { return $10($11(v2._1)); } + $runtime.fail(); + }; + }, + Functor0: () => functorCoproduct1, + Foldable1: () => foldableCoproduct1 + }; + }; +}; +const traversableFirst = { + traverse: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const traverse2 = traversableMaybe.traverse(dictApplicative); + return f => v => map(Data$dMaybe$dFirst.First)(traverse2(f)(v)); + }, + sequence: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const sequence2 = traversableMaybe.sequence(dictApplicative); + return v => map(Data$dMaybe$dFirst.First)(sequence2(v)); + }, + Functor0: () => Data$dMaybe.functorMaybe, + Foldable1: () => Data$dFoldable.foldableFirst +}; +const traversableLast = { + traverse: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const traverse2 = traversableMaybe.traverse(dictApplicative); + return f => v => map(Data$dMaybe$dLast.Last)(traverse2(f)(v)); + }, + sequence: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const sequence2 = traversableMaybe.sequence(dictApplicative); + return v => map(Data$dMaybe$dLast.Last)(sequence2(v)); + }, + Functor0: () => Data$dMaybe.functorMaybe, + Foldable1: () => Data$dFoldable.foldableLast +}; +const traversableProduct = dictTraversable => { + const functorProduct = Data$dFunctor$dProduct.functorProduct(dictTraversable.Functor0()); + const foldableProduct = Data$dFoldable.foldableProduct(dictTraversable.Foldable1()); + return dictTraversable1 => { + const functorProduct1 = functorProduct(dictTraversable1.Functor0()); + const foldableProduct1 = foldableProduct(dictTraversable1.Foldable1()); + return { + traverse: dictApplicative => { + const $7 = dictApplicative.Apply0(); + const map = $7.Functor0().map; + const traverse4 = dictTraversable.traverse(dictApplicative); + const traverse5 = dictTraversable1.traverse(dictApplicative); + return f => v => $7.apply(map(Data$dFunctor$dProduct.product)(traverse4(f)(v._1)))(traverse5(f)(v._2)); + }, + sequence: dictApplicative => { + const $7 = dictApplicative.Apply0(); + const map = $7.Functor0().map; + const sequence4 = dictTraversable.sequence(dictApplicative); + const sequence5 = dictTraversable1.sequence(dictApplicative); + return v => $7.apply(map(Data$dFunctor$dProduct.product)(sequence4(v._1)))(sequence5(v._2)); + }, + Functor0: () => functorProduct1, + Foldable1: () => foldableProduct1 + }; + }; +}; +const traverseDefault = dictTraversable => { + const map = dictTraversable.Functor0().map; + return dictApplicative => { + const sequence3 = dictTraversable.sequence(dictApplicative); + return f => ta => sequence3(map(f)(ta)); + }; +}; +const mapAccumR = dictTraversable => { + const traverse2 = dictTraversable.traverse(Data$dTraversable$dAccum$dInternal.applicativeStateR); + return f => s0 => xs => traverse2(a => s => f(s)(a))(xs)(s0); +}; +const scanr = dictTraversable => { + const mapAccumR1 = mapAccumR(dictTraversable); + return f => b0 => xs => mapAccumR1(b => a => { + const b$p = f(a)(b); + return {accum: b$p, value: b$p}; + })(b0)(xs).value; +}; +const mapAccumL = dictTraversable => { + const traverse2 = dictTraversable.traverse(Data$dTraversable$dAccum$dInternal.applicativeStateL); + return f => s0 => xs => traverse2(a => s => f(s)(a))(xs)(s0); +}; +const scanl = dictTraversable => { + const mapAccumL1 = mapAccumL(dictTraversable); + return f => b0 => xs => mapAccumL1(b => a => { + const b$p = f(b)(a); + return {accum: b$p, value: b$p}; + })(b0)(xs).value; +}; +const $$for = dictApplicative => dictTraversable => { + const traverse2 = dictTraversable.traverse(dictApplicative); + return x => f => traverse2(f)(x); +}; +export { + $$for as for, + identity, + mapAccumL, + mapAccumR, + scanl, + scanr, + sequence, + sequenceDefault, + traversableAdditive, + traversableApp, + traversableArray, + traversableCompose, + traversableConj, + traversableConst, + traversableCoproduct, + traversableDisj, + traversableDual, + traversableEither, + traversableFirst, + traversableIdentity, + traversableLast, + traversableMaybe, + traversableMultiplicative, + traversableProduct, + traversableTuple, + traverse, + traverseDefault +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.TraversableWithIndex/index.js b/.storybook/purescript-indexer/output-es/Data.TraversableWithIndex/index.js new file mode 100644 index 0000000..09e4554 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.TraversableWithIndex/index.js @@ -0,0 +1,305 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dFoldableWithIndex from "../Data.FoldableWithIndex/index.js"; +import * as Data$dFunctor$dApp from "../Data.Functor.App/index.js"; +import * as Data$dFunctor$dCompose from "../Data.Functor.Compose/index.js"; +import * as Data$dFunctor$dProduct from "../Data.Functor.Product/index.js"; +import * as Data$dFunctorWithIndex from "../Data.FunctorWithIndex/index.js"; +import * as Data$dIdentity from "../Data.Identity/index.js"; +import * as Data$dTraversable from "../Data.Traversable/index.js"; +import * as Data$dTraversable$dAccum$dInternal from "../Data.Traversable.Accum.Internal/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const traverseWithIndexDefault = dictTraversableWithIndex => { + const sequence = dictTraversableWithIndex.Traversable2().sequence; + const mapWithIndex = dictTraversableWithIndex.FunctorWithIndex0().mapWithIndex; + return dictApplicative => { + const sequence1 = sequence(dictApplicative); + return f => { + const $6 = mapWithIndex(f); + return x => sequence1($6(x)); + }; + }; +}; +const traverseWithIndex = dict => dict.traverseWithIndex; +const traverseDefault = dictTraversableWithIndex => dictApplicative => { + const traverseWithIndex2 = dictTraversableWithIndex.traverseWithIndex(dictApplicative); + return f => traverseWithIndex2(v => f); +}; +const traversableWithIndexTuple = { + traverseWithIndex: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return f => v => map(Data$dTuple.Tuple(v._1))(f(Data$dUnit.unit)(v._2)); + }, + FunctorWithIndex0: () => Data$dFunctorWithIndex.functorWithIndexTuple, + FoldableWithIndex1: () => Data$dFoldableWithIndex.foldableWithIndexTuple, + Traversable2: () => Data$dTraversable.traversableTuple +}; +const traversableWithIndexProduct = dictTraversableWithIndex => { + const functorWithIndexProduct = Data$dFunctorWithIndex.functorWithIndexProduct(dictTraversableWithIndex.FunctorWithIndex0()); + const foldableWithIndexProduct = Data$dFoldableWithIndex.foldableWithIndexProduct(dictTraversableWithIndex.FoldableWithIndex1()); + const traversableProduct = Data$dTraversable.traversableProduct(dictTraversableWithIndex.Traversable2()); + return dictTraversableWithIndex1 => { + const functorWithIndexProduct1 = functorWithIndexProduct(dictTraversableWithIndex1.FunctorWithIndex0()); + const foldableWithIndexProduct1 = foldableWithIndexProduct(dictTraversableWithIndex1.FoldableWithIndex1()); + const traversableProduct1 = traversableProduct(dictTraversableWithIndex1.Traversable2()); + return { + traverseWithIndex: dictApplicative => { + const $9 = dictApplicative.Apply0(); + const map = $9.Functor0().map; + const traverseWithIndex3 = dictTraversableWithIndex.traverseWithIndex(dictApplicative); + const traverseWithIndex4 = dictTraversableWithIndex1.traverseWithIndex(dictApplicative); + return f => v => $9.apply(map(Data$dFunctor$dProduct.product)(traverseWithIndex3(x => f(Data$dEither.$Either("Left", x)))(v._1)))(traverseWithIndex4(x => f(Data$dEither.$Either( + "Right", + x + )))(v._2)); + }, + FunctorWithIndex0: () => functorWithIndexProduct1, + FoldableWithIndex1: () => foldableWithIndexProduct1, + Traversable2: () => traversableProduct1 + }; + }; +}; +const traversableWithIndexMultiplicative = { + traverseWithIndex: dictApplicative => { + const traverse8 = Data$dTraversable.traversableMultiplicative.traverse(dictApplicative); + return f => traverse8(f(Data$dUnit.unit)); + }, + FunctorWithIndex0: () => Data$dFunctorWithIndex.functorWithIndexMultiplicative, + FoldableWithIndex1: () => Data$dFoldableWithIndex.foldableWithIndexMultiplicative, + Traversable2: () => Data$dTraversable.traversableMultiplicative +}; +const traversableWithIndexMaybe = { + traverseWithIndex: dictApplicative => { + const traverse8 = Data$dTraversable.traversableMaybe.traverse(dictApplicative); + return f => traverse8(f(Data$dUnit.unit)); + }, + FunctorWithIndex0: () => Data$dFunctorWithIndex.functorWithIndexMaybe, + FoldableWithIndex1: () => Data$dFoldableWithIndex.foldableWithIndexMaybe, + Traversable2: () => Data$dTraversable.traversableMaybe +}; +const traversableWithIndexLast = { + traverseWithIndex: dictApplicative => { + const traverse8 = Data$dTraversable.traversableLast.traverse(dictApplicative); + return f => traverse8(f(Data$dUnit.unit)); + }, + FunctorWithIndex0: () => Data$dFunctorWithIndex.functorWithIndexLast, + FoldableWithIndex1: () => Data$dFoldableWithIndex.foldableWithIndexLast, + Traversable2: () => Data$dTraversable.traversableLast +}; +const traversableWithIndexIdentity = { + traverseWithIndex: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return f => v => map(Data$dIdentity.Identity)(f(Data$dUnit.unit)(v)); + }, + FunctorWithIndex0: () => Data$dFunctorWithIndex.functorWithIndexIdentity, + FoldableWithIndex1: () => Data$dFoldableWithIndex.foldableWithIndexIdentity, + Traversable2: () => Data$dTraversable.traversableIdentity +}; +const traversableWithIndexFirst = { + traverseWithIndex: dictApplicative => { + const traverse8 = Data$dTraversable.traversableFirst.traverse(dictApplicative); + return f => traverse8(f(Data$dUnit.unit)); + }, + FunctorWithIndex0: () => Data$dFunctorWithIndex.functorWithIndexFirst, + FoldableWithIndex1: () => Data$dFoldableWithIndex.foldableWithIndexFirst, + Traversable2: () => Data$dTraversable.traversableFirst +}; +const traversableWithIndexEither = { + traverseWithIndex: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return v => v1 => { + if (v1.tag === "Left") { return dictApplicative.pure(Data$dEither.$Either("Left", v1._1)); } + if (v1.tag === "Right") { return map(Data$dEither.Right)(v(Data$dUnit.unit)(v1._1)); } + $runtime.fail(); + }; + }, + FunctorWithIndex0: () => Data$dFunctorWithIndex.functorWithIndexEither, + FoldableWithIndex1: () => Data$dFoldableWithIndex.foldableWithIndexEither, + Traversable2: () => Data$dTraversable.traversableEither +}; +const traversableWithIndexDual = { + traverseWithIndex: dictApplicative => { + const traverse8 = Data$dTraversable.traversableDual.traverse(dictApplicative); + return f => traverse8(f(Data$dUnit.unit)); + }, + FunctorWithIndex0: () => Data$dFunctorWithIndex.functorWithIndexDual, + FoldableWithIndex1: () => Data$dFoldableWithIndex.foldableWithIndexDual, + Traversable2: () => Data$dTraversable.traversableDual +}; +const traversableWithIndexDisj = { + traverseWithIndex: dictApplicative => { + const traverse8 = Data$dTraversable.traversableDisj.traverse(dictApplicative); + return f => traverse8(f(Data$dUnit.unit)); + }, + FunctorWithIndex0: () => Data$dFunctorWithIndex.functorWithIndexDisj, + FoldableWithIndex1: () => Data$dFoldableWithIndex.foldableWithIndexDisj, + Traversable2: () => Data$dTraversable.traversableDisj +}; +const traversableWithIndexCoproduct = dictTraversableWithIndex => { + const functorWithIndexCoproduct = Data$dFunctorWithIndex.functorWithIndexCoproduct(dictTraversableWithIndex.FunctorWithIndex0()); + const foldableWithIndexCoproduct = Data$dFoldableWithIndex.foldableWithIndexCoproduct(dictTraversableWithIndex.FoldableWithIndex1()); + const traversableCoproduct = Data$dTraversable.traversableCoproduct(dictTraversableWithIndex.Traversable2()); + return dictTraversableWithIndex1 => { + const functorWithIndexCoproduct1 = functorWithIndexCoproduct(dictTraversableWithIndex1.FunctorWithIndex0()); + const foldableWithIndexCoproduct1 = foldableWithIndexCoproduct(dictTraversableWithIndex1.FoldableWithIndex1()); + const traversableCoproduct1 = traversableCoproduct(dictTraversableWithIndex1.Traversable2()); + return { + traverseWithIndex: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const traverseWithIndex3 = dictTraversableWithIndex.traverseWithIndex(dictApplicative); + const traverseWithIndex4 = dictTraversableWithIndex1.traverseWithIndex(dictApplicative); + return f => { + const $13 = map(x => Data$dEither.$Either("Left", x)); + const $14 = traverseWithIndex3(x => f(Data$dEither.$Either("Left", x))); + const $15 = map(x => Data$dEither.$Either("Right", x)); + const $16 = traverseWithIndex4(x => f(Data$dEither.$Either("Right", x))); + return v2 => { + if (v2.tag === "Left") { return $13($14(v2._1)); } + if (v2.tag === "Right") { return $15($16(v2._1)); } + $runtime.fail(); + }; + }; + }, + FunctorWithIndex0: () => functorWithIndexCoproduct1, + FoldableWithIndex1: () => foldableWithIndexCoproduct1, + Traversable2: () => traversableCoproduct1 + }; + }; +}; +const traversableWithIndexConst = { + traverseWithIndex: dictApplicative => v => v1 => dictApplicative.pure(v1), + FunctorWithIndex0: () => Data$dFunctorWithIndex.functorWithIndexConst, + FoldableWithIndex1: () => Data$dFoldableWithIndex.foldableWithIndexConst, + Traversable2: () => Data$dTraversable.traversableConst +}; +const traversableWithIndexConj = { + traverseWithIndex: dictApplicative => { + const traverse8 = Data$dTraversable.traversableConj.traverse(dictApplicative); + return f => traverse8(f(Data$dUnit.unit)); + }, + FunctorWithIndex0: () => Data$dFunctorWithIndex.functorWithIndexConj, + FoldableWithIndex1: () => Data$dFoldableWithIndex.foldableWithIndexConj, + Traversable2: () => Data$dTraversable.traversableConj +}; +const traversableWithIndexCompose = dictTraversableWithIndex => { + const functorWithIndexCompose = Data$dFunctorWithIndex.functorWithIndexCompose(dictTraversableWithIndex.FunctorWithIndex0()); + const foldableWithIndexCompose = Data$dFoldableWithIndex.foldableWithIndexCompose(dictTraversableWithIndex.FoldableWithIndex1()); + const traversableCompose = Data$dTraversable.traversableCompose(dictTraversableWithIndex.Traversable2()); + return dictTraversableWithIndex1 => { + const functorWithIndexCompose1 = functorWithIndexCompose(dictTraversableWithIndex1.FunctorWithIndex0()); + const foldableWithIndexCompose1 = foldableWithIndexCompose(dictTraversableWithIndex1.FoldableWithIndex1()); + const traversableCompose1 = traversableCompose(dictTraversableWithIndex1.Traversable2()); + return { + traverseWithIndex: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const traverseWithIndex3 = dictTraversableWithIndex.traverseWithIndex(dictApplicative); + const traverseWithIndex4 = dictTraversableWithIndex1.traverseWithIndex(dictApplicative); + return f => v => map(Data$dFunctor$dCompose.Compose)(traverseWithIndex3(x => traverseWithIndex4(Data$dTuple.curry(f)(x)))(v)); + }, + FunctorWithIndex0: () => functorWithIndexCompose1, + FoldableWithIndex1: () => foldableWithIndexCompose1, + Traversable2: () => traversableCompose1 + }; + }; +}; +const traversableWithIndexArray = { + traverseWithIndex: dictApplicative => { + const mapWithIndex = traversableWithIndexArray.FunctorWithIndex0().mapWithIndex; + const sequence1 = traversableWithIndexArray.Traversable2().sequence(dictApplicative); + return f => { + const $4 = mapWithIndex(f); + return x => sequence1($4(x)); + }; + }, + FunctorWithIndex0: () => Data$dFunctorWithIndex.functorWithIndexArray, + FoldableWithIndex1: () => Data$dFoldableWithIndex.foldableWithIndexArray, + Traversable2: () => Data$dTraversable.traversableArray +}; +const traversableWithIndexApp = dictTraversableWithIndex => { + const $1 = dictTraversableWithIndex.FunctorWithIndex0(); + const functorApp = $1.Functor0(); + const functorWithIndexApp = {mapWithIndex: f => v => $1.mapWithIndex(f)(v), Functor0: () => functorApp}; + const $4 = dictTraversableWithIndex.FoldableWithIndex1(); + const $5 = $4.Foldable0(); + const foldableApp = {foldr: f => i => v => $5.foldr(f)(i)(v), foldl: f => i => v => $5.foldl(f)(i)(v), foldMap: dictMonoid => $5.foldMap(dictMonoid)}; + const foldableWithIndexApp = { + foldrWithIndex: f => z => v => $4.foldrWithIndex(f)(z)(v), + foldlWithIndex: f => z => v => $4.foldlWithIndex(f)(z)(v), + foldMapWithIndex: dictMonoid => $4.foldMapWithIndex(dictMonoid), + Foldable0: () => foldableApp + }; + const traversableApp = Data$dTraversable.traversableApp(dictTraversableWithIndex.Traversable2()); + return { + traverseWithIndex: dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const traverseWithIndex2 = dictTraversableWithIndex.traverseWithIndex(dictApplicative); + return f => v => map(Data$dFunctor$dApp.App)(traverseWithIndex2(f)(v)); + }, + FunctorWithIndex0: () => functorWithIndexApp, + FoldableWithIndex1: () => foldableWithIndexApp, + Traversable2: () => traversableApp + }; +}; +const traversableWithIndexAdditive = { + traverseWithIndex: dictApplicative => { + const traverse8 = Data$dTraversable.traversableAdditive.traverse(dictApplicative); + return f => traverse8(f(Data$dUnit.unit)); + }, + FunctorWithIndex0: () => Data$dFunctorWithIndex.functorWithIndexAdditive, + FoldableWithIndex1: () => Data$dFoldableWithIndex.foldableWithIndexAdditive, + Traversable2: () => Data$dTraversable.traversableAdditive +}; +const mapAccumRWithIndex = dictTraversableWithIndex => { + const traverseWithIndex1 = dictTraversableWithIndex.traverseWithIndex(Data$dTraversable$dAccum$dInternal.applicativeStateR); + return f => s0 => xs => traverseWithIndex1(i => a => s => f(i)(s)(a))(xs)(s0); +}; +const scanrWithIndex = dictTraversableWithIndex => { + const mapAccumRWithIndex1 = mapAccumRWithIndex(dictTraversableWithIndex); + return f => b0 => xs => mapAccumRWithIndex1(i => b => a => { + const b$p = f(i)(a)(b); + return {accum: b$p, value: b$p}; + })(b0)(xs).value; +}; +const mapAccumLWithIndex = dictTraversableWithIndex => { + const traverseWithIndex1 = dictTraversableWithIndex.traverseWithIndex(Data$dTraversable$dAccum$dInternal.applicativeStateL); + return f => s0 => xs => traverseWithIndex1(i => a => s => f(i)(s)(a))(xs)(s0); +}; +const scanlWithIndex = dictTraversableWithIndex => { + const mapAccumLWithIndex1 = mapAccumLWithIndex(dictTraversableWithIndex); + return f => b0 => xs => mapAccumLWithIndex1(i => b => a => { + const b$p = f(i)(b)(a); + return {accum: b$p, value: b$p}; + })(b0)(xs).value; +}; +const forWithIndex = dictApplicative => dictTraversableWithIndex => { + const $2 = dictTraversableWithIndex.traverseWithIndex(dictApplicative); + return b => a => $2(a)(b); +}; +export { + forWithIndex, + mapAccumLWithIndex, + mapAccumRWithIndex, + scanlWithIndex, + scanrWithIndex, + traversableWithIndexAdditive, + traversableWithIndexApp, + traversableWithIndexArray, + traversableWithIndexCompose, + traversableWithIndexConj, + traversableWithIndexConst, + traversableWithIndexCoproduct, + traversableWithIndexDisj, + traversableWithIndexDual, + traversableWithIndexEither, + traversableWithIndexFirst, + traversableWithIndexIdentity, + traversableWithIndexLast, + traversableWithIndexMaybe, + traversableWithIndexMultiplicative, + traversableWithIndexProduct, + traversableWithIndexTuple, + traverseDefault, + traverseWithIndex, + traverseWithIndexDefault +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Tuple.Nested/index.js b/.storybook/purescript-indexer/output-es/Data.Tuple.Nested/index.js new file mode 100644 index 0000000..2641ca7 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Tuple.Nested/index.js @@ -0,0 +1,295 @@ +// | Tuples that are not restricted to two elements. +// | +// | Here is an example of a 3-tuple: +// | +// | +// | ```purescript +// | > tuple = tuple3 1 "2" 3.0 +// | > tuple +// | (Tuple 1 (Tuple "2" (Tuple 3.0 unit))) +// | ``` +// | +// | Notice that a tuple is a nested structure not unlike a list. The type of `tuple` is this: +// | +// | ```purescript +// | > :t tuple +// | Tuple Int (Tuple String (Tuple Number Unit)) +// | ``` +// | +// | That, however, can be abbreviated with the `Tuple3` type: +// | +// | ```purescript +// | Tuple3 Int String Number +// | ``` +// | +// | All tuple functions are numbered from 1 to 10. That is, there's +// | a `get1` and a `get10`. +// | +// | The `getN` functions accept tuples of length N or greater: +// | +// | ```purescript +// | get1 tuple = 1 +// | get3 tuple = 3 +// | get4 tuple -- type error. `get4` requires a longer tuple. +// | ``` +// | +// | The same is true of the `overN` functions: +// | +// | ```purescript +// | over2 negate (tuple3 1 2 3) = tuple3 1 (-2) 3 +// | ``` +// | +// | `uncurryN` can be used to convert a function that takes `N` arguments to one that takes an N-tuple: +// | +// | ```purescript +// | uncurry2 (+) (tuple2 1 2) = 3 +// | ``` +// | +// | The reverse `curryN` function converts functions that take +// | N-tuples (which are rare) to functions that take `N` arguments. +// | +// | --------------- +// | In addition to types like `Tuple3`, there are also types like +// | `T3`. Whereas `Tuple3` describes a tuple with exactly three +// | elements, `T3` describes a tuple of length *two or longer*. More +// | specifically, `T3` requires two element plus a "tail" that may be +// | `unit` or more tuple elements. Use types like `T3` when you want to +// | create a set of functions for arbitrary tuples. See the source for how that's done. +// | +import * as $runtime from "../runtime.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const uncurry9 = f$p => v => f$p(v._1)(v._2._1)(v._2._2._1)(v._2._2._2._1)(v._2._2._2._2._1)(v._2._2._2._2._2._1)(v._2._2._2._2._2._2._1)(v._2._2._2._2._2._2._2._1)(v._2._2._2._2._2._2._2._2._1); +const uncurry8 = f$p => v => f$p(v._1)(v._2._1)(v._2._2._1)(v._2._2._2._1)(v._2._2._2._2._1)(v._2._2._2._2._2._1)(v._2._2._2._2._2._2._1)(v._2._2._2._2._2._2._2._1); +const uncurry7 = f$p => v => f$p(v._1)(v._2._1)(v._2._2._1)(v._2._2._2._1)(v._2._2._2._2._1)(v._2._2._2._2._2._1)(v._2._2._2._2._2._2._1); +const uncurry6 = f$p => v => f$p(v._1)(v._2._1)(v._2._2._1)(v._2._2._2._1)(v._2._2._2._2._1)(v._2._2._2._2._2._1); +const uncurry5 = f => v => f(v._1)(v._2._1)(v._2._2._1)(v._2._2._2._1)(v._2._2._2._2._1); +const uncurry4 = f => v => f(v._1)(v._2._1)(v._2._2._1)(v._2._2._2._1); +const uncurry3 = f => v => f(v._1)(v._2._1)(v._2._2._1); +const uncurry2 = f => v => f(v._1)(v._2._1); +const uncurry10 = f$p => v => f$p(v._1)(v._2._1)(v._2._2._1)(v._2._2._2._1)(v._2._2._2._2._1)(v._2._2._2._2._2._1)(v._2._2._2._2._2._2._1)(v._2._2._2._2._2._2._2._1)(v._2._2._2._2._2._2._2._2._1)(v._2._2._2._2._2._2._2._2._2._1); +const uncurry1 = f => v => f(v._1); +const tuple9 = a => b => c => d => e => f => g => h => i => Data$dTuple.$Tuple( + a, + Data$dTuple.$Tuple( + b, + Data$dTuple.$Tuple(c, Data$dTuple.$Tuple(d, Data$dTuple.$Tuple(e, Data$dTuple.$Tuple(f, Data$dTuple.$Tuple(g, Data$dTuple.$Tuple(h, Data$dTuple.$Tuple(i, Data$dUnit.unit))))))) + ) +); +const tuple8 = a => b => c => d => e => f => g => h => Data$dTuple.$Tuple( + a, + Data$dTuple.$Tuple(b, Data$dTuple.$Tuple(c, Data$dTuple.$Tuple(d, Data$dTuple.$Tuple(e, Data$dTuple.$Tuple(f, Data$dTuple.$Tuple(g, Data$dTuple.$Tuple(h, Data$dUnit.unit))))))) +); +const tuple7 = a => b => c => d => e => f => g => Data$dTuple.$Tuple( + a, + Data$dTuple.$Tuple(b, Data$dTuple.$Tuple(c, Data$dTuple.$Tuple(d, Data$dTuple.$Tuple(e, Data$dTuple.$Tuple(f, Data$dTuple.$Tuple(g, Data$dUnit.unit)))))) +); +const tuple6 = a => b => c => d => e => f => Data$dTuple.$Tuple( + a, + Data$dTuple.$Tuple(b, Data$dTuple.$Tuple(c, Data$dTuple.$Tuple(d, Data$dTuple.$Tuple(e, Data$dTuple.$Tuple(f, Data$dUnit.unit))))) +); +const tuple5 = a => b => c => d => e => Data$dTuple.$Tuple(a, Data$dTuple.$Tuple(b, Data$dTuple.$Tuple(c, Data$dTuple.$Tuple(d, Data$dTuple.$Tuple(e, Data$dUnit.unit))))); +const tuple4 = a => b => c => d => Data$dTuple.$Tuple(a, Data$dTuple.$Tuple(b, Data$dTuple.$Tuple(c, Data$dTuple.$Tuple(d, Data$dUnit.unit)))); +const tuple3 = a => b => c => Data$dTuple.$Tuple(a, Data$dTuple.$Tuple(b, Data$dTuple.$Tuple(c, Data$dUnit.unit))); +const tuple2 = a => b => Data$dTuple.$Tuple(a, Data$dTuple.$Tuple(b, Data$dUnit.unit)); +const tuple10 = a => b => c => d => e => f => g => h => i => j => Data$dTuple.$Tuple( + a, + Data$dTuple.$Tuple( + b, + Data$dTuple.$Tuple( + c, + Data$dTuple.$Tuple( + d, + Data$dTuple.$Tuple(e, Data$dTuple.$Tuple(f, Data$dTuple.$Tuple(g, Data$dTuple.$Tuple(h, Data$dTuple.$Tuple(i, Data$dTuple.$Tuple(j, Data$dUnit.unit)))))) + ) + ) + ) +); +const tuple1 = a => Data$dTuple.$Tuple(a, Data$dUnit.unit); +const over9 = o => v => Data$dTuple.$Tuple( + v._1, + Data$dTuple.$Tuple( + v._2._1, + Data$dTuple.$Tuple( + v._2._2._1, + Data$dTuple.$Tuple( + v._2._2._2._1, + Data$dTuple.$Tuple( + v._2._2._2._2._1, + Data$dTuple.$Tuple( + v._2._2._2._2._2._1, + Data$dTuple.$Tuple( + v._2._2._2._2._2._2._1, + Data$dTuple.$Tuple(v._2._2._2._2._2._2._2._1, Data$dTuple.$Tuple(o(v._2._2._2._2._2._2._2._2._1), v._2._2._2._2._2._2._2._2._2)) + ) + ) + ) + ) + ) + ) +); +const over8 = o => v => Data$dTuple.$Tuple( + v._1, + Data$dTuple.$Tuple( + v._2._1, + Data$dTuple.$Tuple( + v._2._2._1, + Data$dTuple.$Tuple( + v._2._2._2._1, + Data$dTuple.$Tuple( + v._2._2._2._2._1, + Data$dTuple.$Tuple(v._2._2._2._2._2._1, Data$dTuple.$Tuple(v._2._2._2._2._2._2._1, Data$dTuple.$Tuple(o(v._2._2._2._2._2._2._2._1), v._2._2._2._2._2._2._2._2))) + ) + ) + ) + ) +); +const over7 = o => v => Data$dTuple.$Tuple( + v._1, + Data$dTuple.$Tuple( + v._2._1, + Data$dTuple.$Tuple( + v._2._2._1, + Data$dTuple.$Tuple( + v._2._2._2._1, + Data$dTuple.$Tuple(v._2._2._2._2._1, Data$dTuple.$Tuple(v._2._2._2._2._2._1, Data$dTuple.$Tuple(o(v._2._2._2._2._2._2._1), v._2._2._2._2._2._2._2))) + ) + ) + ) +); +const over6 = o => v => Data$dTuple.$Tuple( + v._1, + Data$dTuple.$Tuple( + v._2._1, + Data$dTuple.$Tuple(v._2._2._1, Data$dTuple.$Tuple(v._2._2._2._1, Data$dTuple.$Tuple(v._2._2._2._2._1, Data$dTuple.$Tuple(o(v._2._2._2._2._2._1), v._2._2._2._2._2._2)))) + ) +); +const over5 = o => v => Data$dTuple.$Tuple( + v._1, + Data$dTuple.$Tuple(v._2._1, Data$dTuple.$Tuple(v._2._2._1, Data$dTuple.$Tuple(v._2._2._2._1, Data$dTuple.$Tuple(o(v._2._2._2._2._1), v._2._2._2._2._2)))) +); +const over4 = o => v => Data$dTuple.$Tuple(v._1, Data$dTuple.$Tuple(v._2._1, Data$dTuple.$Tuple(v._2._2._1, Data$dTuple.$Tuple(o(v._2._2._2._1), v._2._2._2._2)))); +const over3 = o => v => Data$dTuple.$Tuple(v._1, Data$dTuple.$Tuple(v._2._1, Data$dTuple.$Tuple(o(v._2._2._1), v._2._2._2))); +const over2 = o => v => Data$dTuple.$Tuple(v._1, Data$dTuple.$Tuple(o(v._2._1), v._2._2)); +const over10 = o => v => Data$dTuple.$Tuple( + v._1, + Data$dTuple.$Tuple( + v._2._1, + Data$dTuple.$Tuple( + v._2._2._1, + Data$dTuple.$Tuple( + v._2._2._2._1, + Data$dTuple.$Tuple( + v._2._2._2._2._1, + Data$dTuple.$Tuple( + v._2._2._2._2._2._1, + Data$dTuple.$Tuple( + v._2._2._2._2._2._2._1, + Data$dTuple.$Tuple( + v._2._2._2._2._2._2._2._1, + Data$dTuple.$Tuple(v._2._2._2._2._2._2._2._2._1, Data$dTuple.$Tuple(o(v._2._2._2._2._2._2._2._2._2._1), v._2._2._2._2._2._2._2._2._2._2)) + ) + ) + ) + ) + ) + ) + ) +); +const over1 = o => v => Data$dTuple.$Tuple(o(v._1), v._2); +const get9 = v => v._2._2._2._2._2._2._2._2._1; +const get8 = v => v._2._2._2._2._2._2._2._1; +const get7 = v => v._2._2._2._2._2._2._1; +const get6 = v => v._2._2._2._2._2._1; +const get5 = v => v._2._2._2._2._1; +const get4 = v => v._2._2._2._1; +const get3 = v => v._2._2._1; +const get2 = v => v._2._1; +const get10 = v => v._2._2._2._2._2._2._2._2._2._1; +const get1 = v => v._1; +const curry9 = z => f$p => a => b => c => d => e => f => g => h => i => f$p(Data$dTuple.$Tuple( + a, + Data$dTuple.$Tuple( + b, + Data$dTuple.$Tuple(c, Data$dTuple.$Tuple(d, Data$dTuple.$Tuple(e, Data$dTuple.$Tuple(f, Data$dTuple.$Tuple(g, Data$dTuple.$Tuple(h, Data$dTuple.$Tuple(i, z))))))) + ) +)); +const curry8 = z => f$p => a => b => c => d => e => f => g => h => f$p(Data$dTuple.$Tuple( + a, + Data$dTuple.$Tuple(b, Data$dTuple.$Tuple(c, Data$dTuple.$Tuple(d, Data$dTuple.$Tuple(e, Data$dTuple.$Tuple(f, Data$dTuple.$Tuple(g, Data$dTuple.$Tuple(h, z))))))) +)); +const curry7 = z => f$p => a => b => c => d => e => f => g => f$p(Data$dTuple.$Tuple( + a, + Data$dTuple.$Tuple(b, Data$dTuple.$Tuple(c, Data$dTuple.$Tuple(d, Data$dTuple.$Tuple(e, Data$dTuple.$Tuple(f, Data$dTuple.$Tuple(g, z)))))) +)); +const curry6 = z => f$p => a => b => c => d => e => f => f$p(Data$dTuple.$Tuple( + a, + Data$dTuple.$Tuple(b, Data$dTuple.$Tuple(c, Data$dTuple.$Tuple(d, Data$dTuple.$Tuple(e, Data$dTuple.$Tuple(f, z))))) +)); +const curry5 = z => f => a => b => c => d => e => f(Data$dTuple.$Tuple(a, Data$dTuple.$Tuple(b, Data$dTuple.$Tuple(c, Data$dTuple.$Tuple(d, Data$dTuple.$Tuple(e, z)))))); +const curry4 = z => f => a => b => c => d => f(Data$dTuple.$Tuple(a, Data$dTuple.$Tuple(b, Data$dTuple.$Tuple(c, Data$dTuple.$Tuple(d, z))))); +const curry3 = z => f => a => b => c => f(Data$dTuple.$Tuple(a, Data$dTuple.$Tuple(b, Data$dTuple.$Tuple(c, z)))); +const curry2 = z => f => a => b => f(Data$dTuple.$Tuple(a, Data$dTuple.$Tuple(b, z))); +const curry10 = z => f$p => a => b => c => d => e => f => g => h => i => j => f$p(Data$dTuple.$Tuple( + a, + Data$dTuple.$Tuple( + b, + Data$dTuple.$Tuple( + c, + Data$dTuple.$Tuple(d, Data$dTuple.$Tuple(e, Data$dTuple.$Tuple(f, Data$dTuple.$Tuple(g, Data$dTuple.$Tuple(h, Data$dTuple.$Tuple(i, Data$dTuple.$Tuple(j, z))))))) + ) + ) +)); +const curry1 = z => f => a => f(Data$dTuple.$Tuple(a, z)); +export { + curry1, + curry10, + curry2, + curry3, + curry4, + curry5, + curry6, + curry7, + curry8, + curry9, + get1, + get10, + get2, + get3, + get4, + get5, + get6, + get7, + get8, + get9, + over1, + over10, + over2, + over3, + over4, + over5, + over6, + over7, + over8, + over9, + tuple1, + tuple10, + tuple2, + tuple3, + tuple4, + tuple5, + tuple6, + tuple7, + tuple8, + tuple9, + uncurry1, + uncurry10, + uncurry2, + uncurry3, + uncurry4, + uncurry5, + uncurry6, + uncurry7, + uncurry8, + uncurry9 +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Tuple/index.js b/.storybook/purescript-indexer/output-es/Data.Tuple/index.js new file mode 100644 index 0000000..03fdd0d --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Tuple/index.js @@ -0,0 +1,151 @@ +// | A data type and functions for working with ordered pairs. +import * as $runtime from "../runtime.js"; +import * as Data$dGeneric$dRep from "../Data.Generic.Rep/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const $Tuple = (_1, _2) => ({tag: "Tuple", _1, _2}); +const Tuple = value0 => value1 => $Tuple(value0, value1); +const uncurry = f => v => f(v._1)(v._2); +const swap = v => $Tuple(v._2, v._1); +const snd = v => v._2; +const showTuple = dictShow => dictShow1 => ({show: v => "(Tuple " + (dictShow.show(v._1) + (" " + (dictShow1.show(v._2) + ")")))}); +const semiringTuple = dictSemiring => dictSemiring1 => ( + { + add: v => v1 => $Tuple(dictSemiring.add(v._1)(v1._1), dictSemiring1.add(v._2)(v1._2)), + one: $Tuple(dictSemiring.one, dictSemiring1.one), + mul: v => v1 => $Tuple(dictSemiring.mul(v._1)(v1._1), dictSemiring1.mul(v._2)(v1._2)), + zero: $Tuple(dictSemiring.zero, dictSemiring1.zero) + } +); +const semigroupoidTuple = {compose: v => v1 => $Tuple(v1._1, v._2)}; +const semigroupTuple = dictSemigroup => dictSemigroup1 => ({append: v => v1 => $Tuple(dictSemigroup.append(v._1)(v1._1), dictSemigroup1.append(v._2)(v1._2))}); +const ringTuple = dictRing => { + const semiringTuple1 = semiringTuple(dictRing.Semiring0()); + return dictRing1 => { + const semiringTuple2 = semiringTuple1(dictRing1.Semiring0()); + return {sub: v => v1 => $Tuple(dictRing.sub(v._1)(v1._1), dictRing1.sub(v._2)(v1._2)), Semiring0: () => semiringTuple2}; + }; +}; +const monoidTuple = dictMonoid => { + const semigroupTuple1 = semigroupTuple(dictMonoid.Semigroup0()); + return dictMonoid1 => { + const semigroupTuple2 = semigroupTuple1(dictMonoid1.Semigroup0()); + return {mempty: $Tuple(dictMonoid.mempty, dictMonoid1.mempty), Semigroup0: () => semigroupTuple2}; + }; +}; +const heytingAlgebraTuple = dictHeytingAlgebra => dictHeytingAlgebra1 => ( + { + tt: $Tuple(dictHeytingAlgebra.tt, dictHeytingAlgebra1.tt), + ff: $Tuple(dictHeytingAlgebra.ff, dictHeytingAlgebra1.ff), + implies: v => v1 => $Tuple(dictHeytingAlgebra.implies(v._1)(v1._1), dictHeytingAlgebra1.implies(v._2)(v1._2)), + conj: v => v1 => $Tuple(dictHeytingAlgebra.conj(v._1)(v1._1), dictHeytingAlgebra1.conj(v._2)(v1._2)), + disj: v => v1 => $Tuple(dictHeytingAlgebra.disj(v._1)(v1._1), dictHeytingAlgebra1.disj(v._2)(v1._2)), + not: v => $Tuple(dictHeytingAlgebra.not(v._1), dictHeytingAlgebra1.not(v._2)) + } +); +const genericTuple = {to: x => $Tuple(x._1, x._2), from: x => Data$dGeneric$dRep.$Product(x._1, x._2)}; +const functorTuple = {map: f => m => $Tuple(m._1, f(m._2))}; +const invariantTuple = {imap: f => v => functorTuple.map(f)}; +const fst = v => v._1; +const lazyTuple = dictLazy => dictLazy1 => ({defer: f => $Tuple(dictLazy.defer(v => f(Data$dUnit.unit)._1), dictLazy1.defer(v => f(Data$dUnit.unit)._2))}); +const extendTuple = {extend: f => v => $Tuple(v._1, f(v)), Functor0: () => functorTuple}; +const eqTuple = dictEq => dictEq1 => ({eq: x => y => dictEq.eq(x._1)(y._1) && dictEq1.eq(x._2)(y._2)}); +const ordTuple = dictOrd => { + const $1 = dictOrd.Eq0(); + return dictOrd1 => { + const $3 = dictOrd1.Eq0(); + const eqTuple2 = {eq: x => y => $1.eq(x._1)(y._1) && $3.eq(x._2)(y._2)}; + return { + compare: x => y => { + const v = dictOrd.compare(x._1)(y._1); + if (v.tag === "LT") { return Data$dOrdering.LT; } + if (v.tag === "GT") { return Data$dOrdering.GT; } + return dictOrd1.compare(x._2)(y._2); + }, + Eq0: () => eqTuple2 + }; + }; +}; +const eq1Tuple = dictEq => ({eq1: dictEq1 => x => y => dictEq.eq(x._1)(y._1) && dictEq1.eq(x._2)(y._2)}); +const ord1Tuple = dictOrd => { + const ordTuple1 = ordTuple(dictOrd); + const $2 = dictOrd.Eq0(); + const eq1Tuple1 = {eq1: dictEq1 => x => y => $2.eq(x._1)(y._1) && dictEq1.eq(x._2)(y._2)}; + return {compare1: dictOrd1 => ordTuple1(dictOrd1).compare, Eq10: () => eq1Tuple1}; +}; +const curry = f => a => b => f($Tuple(a, b)); +const comonadTuple = {extract: snd, Extend0: () => extendTuple}; +const commutativeRingTuple = dictCommutativeRing => { + const ringTuple1 = ringTuple(dictCommutativeRing.Ring0()); + return dictCommutativeRing1 => { + const ringTuple2 = ringTuple1(dictCommutativeRing1.Ring0()); + return {Ring0: () => ringTuple2}; + }; +}; +const boundedTuple = dictBounded => { + const ordTuple1 = ordTuple(dictBounded.Ord0()); + return dictBounded1 => { + const ordTuple2 = ordTuple1(dictBounded1.Ord0()); + return {top: $Tuple(dictBounded.top, dictBounded1.top), bottom: $Tuple(dictBounded.bottom, dictBounded1.bottom), Ord0: () => ordTuple2}; + }; +}; +const booleanAlgebraTuple = dictBooleanAlgebra => { + const heytingAlgebraTuple1 = heytingAlgebraTuple(dictBooleanAlgebra.HeytingAlgebra0()); + return dictBooleanAlgebra1 => { + const heytingAlgebraTuple2 = heytingAlgebraTuple1(dictBooleanAlgebra1.HeytingAlgebra0()); + return {HeytingAlgebra0: () => heytingAlgebraTuple2}; + }; +}; +const applyTuple = dictSemigroup => ({apply: v => v1 => $Tuple(dictSemigroup.append(v._1)(v1._1), v._2(v1._2)), Functor0: () => functorTuple}); +const bindTuple = dictSemigroup => { + const applyTuple1 = applyTuple(dictSemigroup); + return { + bind: v => f => { + const v1 = f(v._2); + return $Tuple(dictSemigroup.append(v._1)(v1._1), v1._2); + }, + Apply0: () => applyTuple1 + }; +}; +const applicativeTuple = dictMonoid => { + const applyTuple1 = applyTuple(dictMonoid.Semigroup0()); + return {pure: Tuple(dictMonoid.mempty), Apply0: () => applyTuple1}; +}; +const monadTuple = dictMonoid => { + const applicativeTuple1 = applicativeTuple(dictMonoid); + const bindTuple1 = bindTuple(dictMonoid.Semigroup0()); + return {Applicative0: () => applicativeTuple1, Bind1: () => bindTuple1}; +}; +export { + $Tuple, + Tuple, + applicativeTuple, + applyTuple, + bindTuple, + booleanAlgebraTuple, + boundedTuple, + commutativeRingTuple, + comonadTuple, + curry, + eq1Tuple, + eqTuple, + extendTuple, + fst, + functorTuple, + genericTuple, + heytingAlgebraTuple, + invariantTuple, + lazyTuple, + monadTuple, + monoidTuple, + ord1Tuple, + ordTuple, + ringTuple, + semigroupTuple, + semigroupoidTuple, + semiringTuple, + showTuple, + snd, + swap, + uncurry +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Unfoldable/foreign.js b/.storybook/purescript-indexer/output-es/Data.Unfoldable/foreign.js new file mode 100644 index 0000000..9d9aa8e --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Unfoldable/foreign.js @@ -0,0 +1,21 @@ +export const unfoldrArrayImpl = function (isNothing) { + return function (fromJust) { + return function (fst) { + return function (snd) { + return function (f) { + return function (b) { + var result = []; + var value = b; + while (true) { // eslint-disable-line no-constant-condition + var maybe = f(value); + if (isNothing(maybe)) return result; + var tuple = fromJust(maybe); + result.push(fst(tuple)); + value = snd(tuple); + } + }; + }; + }; + }; + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Unfoldable/index.js b/.storybook/purescript-indexer/output-es/Data.Unfoldable/index.js new file mode 100644 index 0000000..9ef543e --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Unfoldable/index.js @@ -0,0 +1,43 @@ +// | This module provides a type class for _unfoldable functors_, i.e. +// | functors which support an `unfoldr` operation. +// | +// | This allows us to unify various operations on arrays, lists, +// | sequences, etc. +import * as $runtime from "../runtime.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnfoldable1 from "../Data.Unfoldable1/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import {unfoldrArrayImpl} from "./foreign.js"; +const fromJust = v => { + if (v.tag === "Just") { return v._1; } + $runtime.fail(); +}; +const unfoldr = dict => dict.unfoldr; +const unfoldableMaybe = { + unfoldr: f => b => { + const $2 = f(b); + if ($2.tag === "Just") { return Data$dMaybe.$Maybe("Just", $2._1._1); } + return Data$dMaybe.Nothing; + }, + Unfoldable10: () => Data$dUnfoldable1.unfoldable1Maybe +}; +const unfoldableArray = { + unfoldr: /* #__PURE__ */ unfoldrArrayImpl(Data$dMaybe.isNothing)(fromJust)(Data$dTuple.fst)(Data$dTuple.snd), + Unfoldable10: () => Data$dUnfoldable1.unfoldable1Array +}; +const replicate = dictUnfoldable => n => v => dictUnfoldable.unfoldr(i => { + if (i <= 0) { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(v, i - 1 | 0)); +})(n); +const replicateA = dictApplicative => dictUnfoldable => dictTraversable => { + const sequence = dictTraversable.sequence(dictApplicative); + return n => m => sequence(replicate(dictUnfoldable)(n)(m)); +}; +const none = dictUnfoldable => dictUnfoldable.unfoldr(v => Data$dMaybe.Nothing)(Data$dUnit.unit); +const fromMaybe = dictUnfoldable => dictUnfoldable.unfoldr(b => { + if (b.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(b._1, Data$dMaybe.Nothing)); } + return Data$dMaybe.Nothing; +}); +export {fromJust, fromMaybe, none, replicate, replicateA, unfoldableArray, unfoldableMaybe, unfoldr}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.Unfoldable1/foreign.js b/.storybook/purescript-indexer/output-es/Data.Unfoldable1/foreign.js new file mode 100644 index 0000000..4993bd1 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Unfoldable1/foreign.js @@ -0,0 +1,21 @@ +export const unfoldr1ArrayImpl = function (isNothing) { + return function (fromJust) { + return function (fst) { + return function (snd) { + return function (f) { + return function (b) { + var result = []; + var value = b; + while (true) { // eslint-disable-line no-constant-condition + var tuple = f(value); + result.push(fst(tuple)); + var maybe = snd(tuple); + if (isNothing(maybe)) return result; + value = fromJust(maybe); + } + }; + }; + }; + }; + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Unfoldable1/index.js b/.storybook/purescript-indexer/output-es/Data.Unfoldable1/index.js new file mode 100644 index 0000000..37bb8a3 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Unfoldable1/index.js @@ -0,0 +1,45 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import {unfoldr1ArrayImpl} from "./foreign.js"; +const fromJust = v => { + if (v.tag === "Just") { return v._1; } + $runtime.fail(); +}; +const unfoldr1 = dict => dict.unfoldr1; +const unfoldable1Maybe = {unfoldr1: f => b => Data$dMaybe.$Maybe("Just", f(b)._1)}; +const unfoldable1Array = {unfoldr1: /* #__PURE__ */ unfoldr1ArrayImpl(Data$dMaybe.isNothing)(fromJust)(Data$dTuple.fst)(Data$dTuple.snd)}; +const replicate1 = dictUnfoldable1 => n => v => dictUnfoldable1.unfoldr1(i => { + if (i <= 0) { return Data$dTuple.$Tuple(v, Data$dMaybe.Nothing); } + return Data$dTuple.$Tuple(v, Data$dMaybe.$Maybe("Just", i - 1 | 0)); +})(n - 1 | 0); +const replicate1A = dictApply => dictUnfoldable1 => dictTraversable1 => { + const sequence1 = dictTraversable1.sequence1(dictApply); + return n => m => sequence1(replicate1(dictUnfoldable1)(n)(m)); +}; +const singleton = dictUnfoldable1 => replicate1(dictUnfoldable1)(1); +const range = dictUnfoldable1 => start => end => dictUnfoldable1.unfoldr1((() => { + const $3 = (() => { + if (end >= start) { return 1; } + return -1; + })(); + return i => { + const i$p = i + $3 | 0; + return Data$dTuple.$Tuple( + i, + (() => { + if (i === end) { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", i$p); + })() + ); + }; +})())(start); +const iterateN = dictUnfoldable1 => n => f => s => dictUnfoldable1.unfoldr1(v => Data$dTuple.$Tuple( + v._1, + (() => { + if (v._2 > 0) { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(f(v._1), v._2 - 1 | 0)); } + return Data$dMaybe.Nothing; + })() +))(Data$dTuple.$Tuple(s, n - 1 | 0)); +export {fromJust, iterateN, range, replicate1, replicate1A, singleton, unfoldable1Array, unfoldable1Maybe, unfoldr1}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.Unit/foreign.js b/.storybook/purescript-indexer/output-es/Data.Unit/foreign.js new file mode 100644 index 0000000..3eff8c2 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Unit/foreign.js @@ -0,0 +1 @@ +export const unit = undefined; diff --git a/.storybook/purescript-indexer/output-es/Data.Unit/index.js b/.storybook/purescript-indexer/output-es/Data.Unit/index.js new file mode 100644 index 0000000..2eee96b --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Unit/index.js @@ -0,0 +1,4 @@ +import * as $runtime from "../runtime.js"; +import {unit} from "./foreign.js"; +export {}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Data.Variant.Internal/index.js b/.storybook/purescript-indexer/output-es/Data.Variant.Internal/index.js new file mode 100644 index 0000000..fccd43f --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Variant.Internal/index.js @@ -0,0 +1,401 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Partial from "../Partial/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +const VariantRep = x => x; +const variantTravNil = {}; +const variantTravCons = () => () => () => dictTypeEquals => ({}); +const variantTagsNil = {variantTags: v => Data$dList$dTypes.Nil}; +const variantTags = dict => dict.variantTags; +const variantTagsCons = dictVariantTags => dictIsSymbol => ( + {variantTags: v => Data$dList$dTypes.$List("Cons", dictIsSymbol.reflectSymbol(Type$dProxy.Proxy), dictVariantTags.variantTags(Type$dProxy.Proxy))} +); +const variantMatchNil = {}; +const variantMatchCons = () => () => dictTypeEquals => ({}); +const variantMapNil = {}; +const variantMapCons = () => () => () => dictTypeEquals => ({}); +const variantFTravNil = {}; +const variantFTravCons = () => () => () => dictTypeEquals => ({}); +const variantFMatchNil = {}; +const variantFMatchCons = () => () => dictTypeEquals => ({}); +const variantFMapNil = {}; +const variantFMapCons = () => () => () => dictTypeEquals => ({}); +const lookupToEnum = /* #__PURE__ */ (() => { + const go = go$a0$copy => go$a1$copy => go$a2$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$a2 = go$a2$copy, go$c = true, go$r; + while (go$c) { + const ix = go$a0, v = go$a1, v1 = go$a2; + if (v.tag === "Cons") { + if (v1.tag === "Cons") { + if (v1._1.cardinality > ix) { + const v2 = v1._1.toEnum(ix); + if (v2.tag === "Just") { + go$c = false; + go$r = Data$dMaybe.$Maybe("Just", {type: v._1, value: v2._1}); + continue; + } + go$c = false; + go$r = Data$dMaybe.Nothing; + continue; + } + go$a0 = ix - v1._1.cardinality | 0; + go$a1 = v._2; + go$a2 = v1._2; + continue; + } + go$c = false; + go$r = Data$dMaybe.Nothing; + continue; + } + go$c = false; + go$r = Data$dMaybe.Nothing; + continue; + }; + return go$r; + }; + return go; +})(); +const lookupTag = tag => { + const go = go$a0$copy => { + let go$a0 = go$a0$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0; + if (v.tag === "Cons") { + if (v._1 === tag) { + go$c = false; + go$r = true; + continue; + } + go$a0 = v._2; + continue; + } + if (v.tag === "Nil") { + go$c = false; + go$r = false; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go; +}; +const lookupCardinality = /* #__PURE__ */ (() => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const acc = go$a0, v = go$a1; + if (v.tag === "Cons") { + go$a0 = acc + v._1.cardinality | 0; + go$a1 = v._2; + continue; + } + if (v.tag === "Nil") { + go$c = false; + go$r = acc; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(0); +})(); +const impossible = str => Partial._crashWith("Data.Variant: impossible `" + (str + "`")); +const lookup = name => tag => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1; + if (v.tag === "Cons") { + if (v1.tag === "Cons") { + if (v._1 === tag) { + go$c = false; + go$r = v1._1; + continue; + } + go$a0 = v._2; + go$a1 = v1._2; + continue; + } + go$c = false; + go$r = Partial._crashWith("Data.Variant: impossible `" + (name + "`")); + continue; + } + go$c = false; + go$r = Partial._crashWith("Data.Variant: impossible `" + (name + "`")); + continue; + }; + return go$r; + }; + return go; +}; +const lookupEq = tags => eqs => v => v1 => { + if (v.type === v1.type) { return lookup("eq")(v.type)(tags)(eqs)(v.value)(v1.value); } + return false; +}; +const lookupOrd = tags => ords => v => v1 => { + const v3 = Data$dOrd.ordString.compare(v.type)(v1.type); + if (v3.tag === "EQ") { return lookup("compare")(v.type)(tags)(ords)(v.value)(v1.value); } + return v3; +}; +const lookupFirst = name => f => v => v1 => { + if (v.tag === "Cons") { + if (v1.tag === "Cons") { return {type: v._1, value: f(v1._1)}; } + return Partial._crashWith("Data.Variant: impossible `" + (name + "`")); + } + return Partial._crashWith("Data.Variant: impossible `" + (name + "`")); +}; +const lookupFromEnum = v => { + const go = go$a0$copy => go$a1$copy => go$a2$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$a2 = go$a2$copy, go$c = true, go$r; + while (go$c) { + const acc = go$a0, v1 = go$a1, v2 = go$a2; + if (v1.tag === "Cons") { + if (v2.tag === "Cons") { + if (v1._1 === v.type) { + go$c = false; + go$r = acc + v2._1.fromEnum(v.value) | 0; + continue; + } + go$a0 = acc + v2._1.cardinality | 0; + go$a1 = v1._2; + go$a2 = v2._2; + continue; + } + go$c = false; + go$r = Partial._crashWith("Data.Variant: impossible `fromEnum`"); + continue; + } + go$c = false; + go$r = Partial._crashWith("Data.Variant: impossible `fromEnum`"); + continue; + }; + return go$r; + }; + return go(0); +}; +const lookupLast = name => f => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0, v1 = go$a1; + if (v.tag === "Cons") { + if (v1.tag === "Cons") { + if (v._2.tag === "Nil") { + if (v1._2.tag === "Nil") { + go$c = false; + go$r = {type: v._1, value: f(v1._1)}; + continue; + } + go$a0 = v._2; + go$a1 = v1._2; + continue; + } + go$a0 = v._2; + go$a1 = v1._2; + continue; + } + go$c = false; + go$r = Partial._crashWith("Data.Variant: impossible `" + (name + "`")); + continue; + } + go$c = false; + go$r = Partial._crashWith("Data.Variant: impossible `" + (name + "`")); + continue; + }; + return go$r; + }; + return go; +}; +const lookupPred = v => { + const go2 = go2$a0$copy => go2$a1$copy => go2$a2$copy => go2$a3$copy => go2$a4$copy => go2$a5$copy => { + let go2$a0 = go2$a0$copy, go2$a1 = go2$a1$copy, go2$a2 = go2$a2$copy, go2$a3 = go2$a3$copy, go2$a4 = go2$a4$copy, go2$a5 = go2$a5$copy, go2$c = true, go2$r; + while (go2$c) { + const t1 = go2$a0, b1 = go2$a1, v1 = go2$a2, v2 = go2$a3, v3 = go2$a4, v4 = go2$a5; + if (v2.tag === "Cons") { + if (v3.tag === "Cons") { + if (v4.tag === "Cons") { + if (v2._1 === v.type) { + const v5 = v4._1.pred(v.value); + if (v5.tag === "Nothing") { + go2$c = false; + go2$r = Data$dMaybe.$Maybe("Just", {type: t1, value: b1.top}); + continue; + } + if (v5.tag === "Just") { + go2$c = false; + go2$r = Data$dMaybe.$Maybe("Just", {type: v.type, value: v5._1}); + continue; + } + $runtime.fail(); + } + go2$a0 = v2._1; + go2$a1 = v3._1; + go2$a2 = v4._1; + go2$a3 = v2._2; + go2$a4 = v3._2; + go2$a5 = v4._2; + continue; + } + go2$c = false; + go2$r = Partial._crashWith("Data.Variant: impossible `pred`"); + continue; + } + go2$c = false; + go2$r = Partial._crashWith("Data.Variant: impossible `pred`"); + continue; + } + go2$c = false; + go2$r = Partial._crashWith("Data.Variant: impossible `pred`"); + continue; + }; + return go2$r; + }; + return v1 => v2 => v3 => { + if (v1.tag === "Cons") { + if (v2.tag === "Cons") { + if (v3.tag === "Cons") { + if (v1._1 === v.type) { + const v4 = v3._1.pred(v.value); + if (v4.tag === "Nothing") { return Data$dMaybe.Nothing; } + if (v4.tag === "Just") { return Data$dMaybe.$Maybe("Just", {type: v.type, value: v4._1}); } + $runtime.fail(); + } + return go2(v1._1)(v2._1)(v3._1)(v1._2)(v2._2)(v3._2); + } + return Partial._crashWith("Data.Variant: impossible `pred`"); + } + return Partial._crashWith("Data.Variant: impossible `pred`"); + } + return Partial._crashWith("Data.Variant: impossible `pred`"); + }; +}; +const lookupSucc = v => { + const go = go$a0$copy => go$a1$copy => go$a2$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$a2 = go$a2$copy, go$c = true, go$r; + while (go$c) { + const v1 = go$a0, v2 = go$a1, v3 = go$a2; + if (v1.tag === "Cons") { + if (v2.tag === "Cons") { + if (v3.tag === "Cons") { + if (v1._1 === v.type) { + const v4 = v3._1.succ(v.value); + if (v4.tag === "Just") { + go$c = false; + go$r = Data$dMaybe.$Maybe("Just", {type: v1._1, value: v4._1}); + continue; + } + if (v4.tag === "Nothing") { + if (v1._2.tag === "Cons") { + if (v2._2.tag === "Cons") { + go$c = false; + go$r = Data$dMaybe.$Maybe("Just", {type: v1._2._1, value: v2._2._1.bottom}); + continue; + } + go$c = false; + go$r = Data$dMaybe.Nothing; + continue; + } + go$c = false; + go$r = Data$dMaybe.Nothing; + continue; + } + $runtime.fail(); + } + go$a0 = v1._2; + go$a1 = v2._2; + go$a2 = v3._2; + continue; + } + go$c = false; + go$r = Partial._crashWith("Data.Variant: impossible `succ`"); + continue; + } + go$c = false; + go$r = Partial._crashWith("Data.Variant: impossible `succ`"); + continue; + } + go$c = false; + go$r = Partial._crashWith("Data.Variant: impossible `succ`"); + continue; + }; + return go$r; + }; + return go; +}; +const contractWithInstance = () => () => dictVariantTags => ( + { + contractWith: dictAlternative => { + const pure = dictAlternative.Applicative0().pure; + const empty = dictAlternative.Plus1().empty; + return v => v1 => tag => a => { + if ( + (() => { + const go = go$a0$copy => { + let go$a0 = go$a0$copy, go$c = true, go$r; + while (go$c) { + const v$1 = go$a0; + if (v$1.tag === "Cons") { + if (v$1._1 === tag) { + go$c = false; + go$r = true; + continue; + } + go$a0 = v$1._2; + continue; + } + if (v$1.tag === "Nil") { + go$c = false; + go$r = false; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(dictVariantTags.variantTags(Type$dProxy.Proxy)); + })() + ) { + return pure(a); + } + return empty; + }; + } + } +); +const contractWith = dict => dict.contractWith; +export { + VariantRep, + contractWith, + contractWithInstance, + impossible, + lookup, + lookupCardinality, + lookupEq, + lookupFirst, + lookupFromEnum, + lookupLast, + lookupOrd, + lookupPred, + lookupSucc, + lookupTag, + lookupToEnum, + variantFMapCons, + variantFMapNil, + variantFMatchCons, + variantFMatchNil, + variantFTravCons, + variantFTravNil, + variantMapCons, + variantMapNil, + variantMatchCons, + variantMatchNil, + variantTags, + variantTagsCons, + variantTagsNil, + variantTravCons, + variantTravNil +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Variant/index.js b/.storybook/purescript-indexer/output-es/Data.Variant/index.js new file mode 100644 index 0000000..789c794 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Variant/index.js @@ -0,0 +1,219 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dShow from "../Data.Show/index.js"; +import * as Data$dVariant$dInternal from "../Data.Variant.Internal/index.js"; +import * as Partial from "../Partial/index.js"; +import * as Record$dUnsafe from "../Record.Unsafe/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +import * as Unsafe$dCoerce from "../Unsafe.Coerce/index.js"; +const Unvariant = x => x; +const variantShows = dict => dict.variantShows; +const variantOrds = dict => dict.variantOrds; +const variantEqs = dict => dict.variantEqs; +const variantBoundedEnums = dict => dict.variantBoundedEnums; +const variantBounded = dict => dict.variantBounded; +const unvariant = v => f => f({reflectSymbol: v$1 => v.type})()(Type$dProxy.Proxy)(v.value); +const traverseSome = () => () => () => () => dictFunctor => r => k => v => { + if (Record$dUnsafe.unsafeHas(v.type)(r)) { return dictFunctor.map(value => ({type: v.type, value: value}))(Record$dUnsafe.unsafeGet(v.type)(r)(v.value)); } + return k(v); +}; +const traverse = () => () => () => () => dictApplicative => { + const traverseSome2 = traverseSome()()()()(dictApplicative.Apply0().Functor0()); + return r => traverseSome2(r)(x => dictApplicative.pure(x)); +}; +const showVariantNil = {variantShows: v => Data$dList$dTypes.Nil}; +const showVariantCons = dictVariantShows => dictShow => ({variantShows: v => Data$dList$dTypes.$List("Cons", dictShow.show, dictVariantShows.variantShows(Type$dProxy.Proxy))}); +const showVariant = () => dictVariantTags => dictVariantShows => ( + { + show: v1 => "(inj @" + ( + Data$dShow.showStringImpl(v1.type) + ( + " " + (Data$dVariant$dInternal.lookup("show")(v1.type)(dictVariantTags.variantTags(Type$dProxy.Proxy))(dictVariantShows.variantShows(Type$dProxy.Proxy))(v1.value) + ")") + ) + ) + } +); +const overSome = () => () => () => () => r => k => v => { + if (Record$dUnsafe.unsafeHas(v.type)(r)) { return {type: v.type, value: Record$dUnsafe.unsafeGet(v.type)(r)(v.value)}; } + return k(v); +}; +const over = () => () => () => () => r => overSome()()()()(r)(Unsafe$dCoerce.unsafeCoerce); +const ordVariantNil = {variantOrds: v => Data$dList$dTypes.Nil}; +const ordVariantCons = dictVariantOrds => dictOrd => ({variantOrds: v => Data$dList$dTypes.$List("Cons", dictOrd.compare, dictVariantOrds.variantOrds(Type$dProxy.Proxy))}); +const onMatch = () => () => () => r => k => v => { + if (Record$dUnsafe.unsafeHas(v.type)(r)) { return Record$dUnsafe.unsafeGet(v.type)(r)(v.value); } + return k(v); +}; +const on = () => dictIsSymbol => p => f => g => r => { + if (r.type === dictIsSymbol.reflectSymbol(p)) { return f(r.value); } + return g(r); +}; +const prj = () => dictIsSymbol => dictAlternative => { + const pure = dictAlternative.Applicative0().pure; + const empty = dictAlternative.Plus1().empty; + return p => r => { + if (r.type === dictIsSymbol.reflectSymbol(p)) { return pure(r.value); } + return empty; + }; +}; +const inj = () => dictIsSymbol => p => value => ({type: dictIsSymbol.reflectSymbol(p), value: value}); +const overOne = dictIsSymbol => () => () => p => f => g => r => { + if (r.type === dictIsSymbol.reflectSymbol(p)) { return {type: dictIsSymbol.reflectSymbol(p), value: f(r.value)}; } + return g(r); +}; +const revariant = v => v(dictIsSymbol => () => p => value => ({type: dictIsSymbol.reflectSymbol(p), value: value})); +const traverseOne = dictIsSymbol => () => () => dictFunctor => p => f => { + const $6 = dictFunctor.map(value => ({type: dictIsSymbol.reflectSymbol(p), value: value})); + return g => r => { + if (r.type === dictIsSymbol.reflectSymbol(p)) { return $6(f(r.value)); } + return g(r); + }; +}; +const expand = () => Unsafe$dCoerce.unsafeCoerce; +const eqVariantNil = {variantEqs: v => Data$dList$dTypes.Nil}; +const eqVariantCons = dictVariantEqs => dictEq => ({variantEqs: v => Data$dList$dTypes.$List("Cons", dictEq.eq, dictVariantEqs.variantEqs(Type$dProxy.Proxy))}); +const eqVariant = () => dictVariantTags => dictVariantEqs => ( + {eq: v1 => v2 => Data$dVariant$dInternal.lookupEq(dictVariantTags.variantTags(Type$dProxy.Proxy))(dictVariantEqs.variantEqs(Type$dProxy.Proxy))(v1)(v2)} +); +const ordVariant = () => dictVariantTags => dictVariantEqs => { + const eqVariant3 = eqVariant()(dictVariantTags)(dictVariantEqs); + return dictVariantOrds => ( + { + compare: v1 => v2 => Data$dVariant$dInternal.lookupOrd(dictVariantTags.variantTags(Type$dProxy.Proxy))(dictVariantOrds.variantOrds(Type$dProxy.Proxy))(v1)(v2), + Eq0: () => eqVariant3 + } + ); +}; +const enumVariant = () => dictVariantTags => dictVariantEqs => { + const ordVariant3 = ordVariant()(dictVariantTags)(dictVariantEqs); + return dictVariantOrds => { + const ordVariant4 = ordVariant3(dictVariantOrds); + return dictVariantBoundedEnums => { + const variantBounded1 = dictVariantBoundedEnums.VariantBounded0().variantBounded; + return { + pred: a => Data$dVariant$dInternal.lookupPred(a)(dictVariantTags.variantTags(Type$dProxy.Proxy))(variantBounded1(Type$dProxy.Proxy))(dictVariantBoundedEnums.variantBoundedEnums(Type$dProxy.Proxy)), + succ: a => Data$dVariant$dInternal.lookupSucc(a)(dictVariantTags.variantTags(Type$dProxy.Proxy))(variantBounded1(Type$dProxy.Proxy))(dictVariantBoundedEnums.variantBoundedEnums(Type$dProxy.Proxy)), + Ord0: () => ordVariant4 + }; + }; + }; +}; +const $$default = a => v => a; +const contract = dictAlternative => dictContractable => { + const contractWith = dictContractable.contractWith(dictAlternative); + return v => contractWith(Type$dProxy.Proxy)(Type$dProxy.Proxy)(v.type)(v); +}; +const case_ = r => Partial._crashWith("Data.Variant: pattern match failure [" + (r.type + "]")); +const match = () => () => () => r => onMatch()()()(r)(case_); +const boundedVariantNil = {variantBounded: v => Data$dList$dTypes.Nil}; +const enumVariantNil = {variantBoundedEnums: v => Data$dList$dTypes.Nil, VariantBounded0: () => boundedVariantNil}; +const boundedVariantCons = dictVariantBounded => dictBounded => ( + {variantBounded: v => Data$dList$dTypes.$List("Cons", {top: dictBounded.top, bottom: dictBounded.bottom}, dictVariantBounded.variantBounded(Type$dProxy.Proxy))} +); +const enumVariantCons = dictVariantBoundedEnums => { + const boundedVariantCons1 = boundedVariantCons(dictVariantBoundedEnums.VariantBounded0()); + return dictBoundedEnum => { + const Enum1 = dictBoundedEnum.Enum1(); + const boundedVariantCons2 = boundedVariantCons1(dictBoundedEnum.Bounded0()); + return { + variantBoundedEnums: v => Data$dList$dTypes.$List( + "Cons", + {pred: Enum1.pred, succ: Enum1.succ, fromEnum: dictBoundedEnum.fromEnum, toEnum: dictBoundedEnum.toEnum, cardinality: dictBoundedEnum.cardinality}, + dictVariantBoundedEnums.variantBoundedEnums(Type$dProxy.Proxy) + ), + VariantBounded0: () => boundedVariantCons2 + }; + }; +}; +const boundedVariant = () => dictVariantTags => dictVariantEqs => { + const ordVariant3 = ordVariant()(dictVariantTags)(dictVariantEqs); + return dictVariantOrds => { + const ordVariant4 = ordVariant3(dictVariantOrds); + return dictVariantBounded => ( + { + top: Data$dVariant$dInternal.lookupLast("top")(v => v.top)(dictVariantTags.variantTags(Type$dProxy.Proxy))(dictVariantBounded.variantBounded(Type$dProxy.Proxy)), + bottom: Data$dVariant$dInternal.lookupFirst("bottom")(v => v.bottom)(dictVariantTags.variantTags(Type$dProxy.Proxy))(dictVariantBounded.variantBounded(Type$dProxy.Proxy)), + Ord0: () => ordVariant4 + } + ); + }; +}; +const boundedEnumVariant = () => dictVariantTags => dictVariantEqs => { + const boundedVariant3 = boundedVariant()(dictVariantTags)(dictVariantEqs); + const enumVariant3 = enumVariant()(dictVariantTags)(dictVariantEqs); + return dictVariantOrds => { + const boundedVariant4 = boundedVariant3(dictVariantOrds); + const enumVariant4 = enumVariant3(dictVariantOrds); + return dictVariantBoundedEnums => { + const boundedVariant5 = boundedVariant4(dictVariantBoundedEnums.VariantBounded0()); + const enumVariant5 = enumVariant4(dictVariantBoundedEnums); + return { + cardinality: (() => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const acc = go$a0, v = go$a1; + if (v.tag === "Cons") { + go$a0 = acc + v._1.cardinality | 0; + go$a1 = v._2; + continue; + } + if (v.tag === "Nil") { + go$c = false; + go$r = acc; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(0)(dictVariantBoundedEnums.variantBoundedEnums(Type$dProxy.Proxy)); + })(), + fromEnum: a => Data$dVariant$dInternal.lookupFromEnum(a)(dictVariantTags.variantTags(Type$dProxy.Proxy))(dictVariantBoundedEnums.variantBoundedEnums(Type$dProxy.Proxy)), + toEnum: n => Data$dVariant$dInternal.lookupToEnum(n)(dictVariantTags.variantTags(Type$dProxy.Proxy))(dictVariantBoundedEnums.variantBoundedEnums(Type$dProxy.Proxy)), + Bounded0: () => boundedVariant5, + Enum1: () => enumVariant5 + }; + }; + }; +}; +export { + Unvariant, + boundedEnumVariant, + boundedVariant, + boundedVariantCons, + boundedVariantNil, + case_, + contract, + $$default as default, + enumVariant, + enumVariantCons, + enumVariantNil, + eqVariant, + eqVariantCons, + eqVariantNil, + expand, + inj, + match, + on, + onMatch, + ordVariant, + ordVariantCons, + ordVariantNil, + over, + overOne, + overSome, + prj, + revariant, + showVariant, + showVariantCons, + showVariantNil, + traverse, + traverseOne, + traverseSome, + unvariant, + variantBounded, + variantBoundedEnums, + variantEqs, + variantOrds, + variantShows +}; diff --git a/.storybook/purescript-indexer/output-es/Data.Void/index.js b/.storybook/purescript-indexer/output-es/Data.Void/index.js new file mode 100644 index 0000000..2fea703 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Void/index.js @@ -0,0 +1,14 @@ +import * as $runtime from "../runtime.js"; +const absurd = a => { + const spin = spin$a0$copy => { + let spin$a0 = spin$a0$copy, spin$c = true, spin$r; + while (spin$c) { + const v = spin$a0; + spin$a0 = v; + continue; + }; + return spin$r; + }; + return spin(a); +}; +export {absurd}; diff --git a/.storybook/purescript-indexer/output-es/Data.Yoneda/index.js b/.storybook/purescript-indexer/output-es/Data.Yoneda/index.js new file mode 100644 index 0000000..dcabf82 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Data.Yoneda/index.js @@ -0,0 +1,86 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dSemigroupoid from "../Control.Semigroupoid/index.js"; +const identity = x => x; +const Yoneda = x => x; +const runYoneda = v => k => v(k); +const lowerYoneda = v => v(identity); +const liftYoneda = dictFunctor => m => k => dictFunctor.map(k)(m); +const monadTransYoneda = { + lift: dictMonad => { + const $1 = dictMonad.Bind1().Apply0().Functor0(); + return m => k => $1.map(k)(m); + } +}; +const hoistYoneda = nat => v => x => nat(v(x)); +const functorYoneda = {map: f => m => k => m(x => k(f(x)))}; +const extendYoneda = dictExtend => { + const $1 = dictExtend.Functor0(); + return {extend: f => v => k => dictExtend.extend(x => k(f(k$1 => $1.map(k$1)(x))))(v(identity)), Functor0: () => functorYoneda}; +}; +const eqYoneda = dictEq1 => dictEq => { + const eq11 = dictEq1.eq1(dictEq); + return {eq: x => y => eq11(x(identity))(y(identity))}; +}; +const ordYoneda = dictOrd1 => { + const eqYoneda1 = eqYoneda(dictOrd1.Eq10()); + return dictOrd => { + const compare11 = dictOrd1.compare1(dictOrd); + const eqYoneda2 = eqYoneda1(dictOrd.Eq0()); + return {compare: x => y => compare11(x(identity))(y(identity)), Eq0: () => eqYoneda2}; + }; +}; +const eq1Yoneda = dictEq1 => ({eq1: dictEq => eqYoneda(dictEq1)(dictEq).eq}); +const ord1Yoneda = dictOrd1 => { + const ordYoneda1 = ordYoneda(dictOrd1); + const $2 = dictOrd1.Eq10(); + const eq1Yoneda1 = {eq1: dictEq => eqYoneda($2)(dictEq).eq}; + return {compare1: dictOrd => ordYoneda1(dictOrd).compare, Eq10: () => eq1Yoneda1}; +}; +const comonadYoneda = dictComonad => { + const extendYoneda1 = extendYoneda(dictComonad.Extend0()); + return {extract: x => dictComonad.extract(x(identity)), Extend0: () => extendYoneda1}; +}; +const applyYoneda = dictApply => ({apply: v => v1 => k => dictApply.apply(v(Control$dSemigroupoid.semigroupoidFn.compose(k)))(v1(identity)), Functor0: () => functorYoneda}); +const bindYoneda = dictBind => { + const applyYoneda1 = applyYoneda(dictBind.Apply0()); + return {bind: v => g => k => dictBind.bind(v(identity))(a => g(a)(k)), Apply0: () => applyYoneda1}; +}; +const applicativeYoneda = dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const applyYoneda1 = applyYoneda(Apply0); + return { + pure: (() => { + const $3 = Apply0.Functor0(); + return x => { + const $5 = dictApplicative.pure(x); + return k => $3.map(k)($5); + }; + })(), + Apply0: () => applyYoneda1 + }; +}; +const monadYoneda = dictMonad => { + const applicativeYoneda1 = applicativeYoneda(dictMonad.Applicative0()); + const bindYoneda1 = bindYoneda(dictMonad.Bind1()); + return {Applicative0: () => applicativeYoneda1, Bind1: () => bindYoneda1}; +}; +export { + Yoneda, + applicativeYoneda, + applyYoneda, + bindYoneda, + comonadYoneda, + eq1Yoneda, + eqYoneda, + extendYoneda, + functorYoneda, + hoistYoneda, + identity, + liftYoneda, + lowerYoneda, + monadTransYoneda, + monadYoneda, + ord1Yoneda, + ordYoneda, + runYoneda +}; diff --git a/.storybook/purescript-indexer/output-es/Debug/foreign.js b/.storybook/purescript-indexer/output-es/Debug/foreign.js new file mode 100644 index 0000000..8377bf9 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Debug/foreign.js @@ -0,0 +1,57 @@ +// Alias require to prevent webpack or browserify from actually requiring. +const req = typeof module === "undefined" ? undefined : module.require; +const util = (function() { + try { + return req === undefined ? undefined : req("util"); + } catch(e) { + return undefined; + } +})(); + +export function _trace(x, k) { + // node only recurses two levels into an object before printing + // "[object]" for further objects when using console.log() + if (util !== undefined) { + console.log(util.inspect(x, { depth: null, colors: true })); + } else { + console.log(x); + } + return k({}); +} + +export function _spy(tag, x) { + if (util !== undefined) { + console.log(tag + ":", util.inspect(x, { depth: null, colors: true })); + } else { + console.log(tag + ":", x); + } + return x; +} + +export function _debugger(f) { + debugger; + return f(); + +} + +const now = (function () { + var perf; + if (typeof performance !== "undefined") { + // In browsers, `performance` is available in the global context + perf = performance; + } else if (req) { + // In Node, `performance` is an export of `perf_hooks` + try { perf = req("perf_hooks").performance; } + catch(e) { } + } + + return (function() { return (perf || Date).now(); }); +})(); + +export function _traceTime(name, f) { + var start = now(); + var res = f(); + var end = now(); + console.log(name + " took " + (end - start) + "ms"); + return res; +} diff --git a/.storybook/purescript-indexer/output-es/Debug/index.js b/.storybook/purescript-indexer/output-es/Debug/index.js new file mode 100644 index 0000000..ce824a6 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Debug/index.js @@ -0,0 +1,16 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import {_debugger, _spy, _trace, _traceTime} from "./foreign.js"; +const warn = () => ({}); +const traceTime = () => $1 => $2 => _traceTime($1, $2); +const trace = () => a => k => _trace(a, k); +const traceM = () => dictMonad => { + const discard1 = dictMonad.Bind1().bind; + const pure = dictMonad.Applicative0().pure; + return s => discard1(pure(Data$dUnit.unit))(() => _trace(s, v => pure(Data$dUnit.unit))); +}; +const spy = () => tag => a => _spy(tag, a); +const spyWith = () => msg => f => a => a; +const $$debugger = () => f => _debugger(f); +export {$$debugger as debugger, spy, spyWith, trace, traceM, traceTime, warn}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Dodo.Ansi/index.js b/.storybook/purescript-indexer/output-es/Dodo.Ansi/index.js new file mode 100644 index 0000000..c05b2e7 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Dodo.Ansi/index.js @@ -0,0 +1,120 @@ +// | This module provides functions printing with cascading ANSI styles. +// | ANSI annotations closer to the root will cascade down to child nodes, +// | where styles closer to the leaves take precedence. Indentation is +// | never printed with ANSI styles, only the text elements of the document. +import * as $runtime from "../runtime.js"; +import * as Ansi$dCodes from "../Ansi.Codes/index.js"; +import * as Data$dList from "../Data.List/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dNonEmpty from "../Data.NonEmpty/index.js"; +import * as Dodo from "../Dodo/index.js"; +const AnsiBuffer = x => x; +const underline = /* #__PURE__ */ Dodo.annotate(/* #__PURE__ */ Ansi$dCodes.$GraphicsParam("PMode", Ansi$dCodes.Underline)); +const strikethrough = /* #__PURE__ */ Dodo.annotate(/* #__PURE__ */ Ansi$dCodes.$GraphicsParam("PMode", Ansi$dCodes.Strikethrough)); +const reset = /* #__PURE__ */ Dodo.annotate(Ansi$dCodes.Reset); +const italic = /* #__PURE__ */ Dodo.annotate(/* #__PURE__ */ Ansi$dCodes.$GraphicsParam("PMode", Ansi$dCodes.Italic)); +const inverse = /* #__PURE__ */ Dodo.annotate(/* #__PURE__ */ Ansi$dCodes.$GraphicsParam("PMode", Ansi$dCodes.Inverse)); +const foreground = color => Dodo.annotate(Ansi$dCodes.$GraphicsParam("PForeground", color)); +const dim = /* #__PURE__ */ Dodo.annotate(/* #__PURE__ */ Ansi$dCodes.$GraphicsParam("PMode", Ansi$dCodes.Dim)); +const bold = /* #__PURE__ */ Dodo.annotate(/* #__PURE__ */ Ansi$dCodes.$GraphicsParam("PMode", Ansi$dCodes.Bold)); +const background = color => Dodo.annotate(Ansi$dCodes.$GraphicsParam("PBackground", color)); +const ansiGraphics = /* #__PURE__ */ (() => { + const resetCode = Ansi$dCodes.escapeCodeToString(Ansi$dCodes.$EscapeCode("Graphics", Data$dNonEmpty.$NonEmpty(Ansi$dCodes.Reset, Data$dList$dTypes.Nil))); + const $1 = Data$dList.takeWhile(v => !Ansi$dCodes.eqGraphicsParam.eq(v)(Ansi$dCodes.Reset)); + const $2 = Data$dList.nubByEq(v => v1 => { + if (v.tag === "Reset") { return v1.tag === "Reset"; } + if (v.tag === "PForeground") { return v1.tag === "PForeground"; } + if (v.tag === "PBackground") { return v1.tag === "PBackground"; } + if (v.tag === "PMode") { + if (v1.tag === "PMode") { + if (v._1.tag === "Bold") { return v1._1.tag === "Bold"; } + if (v._1.tag === "Dim") { return v1._1.tag === "Dim"; } + if (v._1.tag === "Italic") { return v1._1.tag === "Italic"; } + if (v._1.tag === "Underline") { return v1._1.tag === "Underline"; } + if (v._1.tag === "Inverse") { return v1._1.tag === "Inverse"; } + if (v._1.tag === "Strikethrough") { return v1._1.tag === "Strikethrough"; } + return false; + } + return false; + } + return false; + }); + return { + emptyBuffer: {output: "", pending: Data$dMaybe.Nothing, current: Data$dList$dTypes.Nil, previous: Data$dList$dTypes.Nil}, + writeText: v => text => output => { + if (output.pending.tag === "Nothing") { return {output: output.output + text, pending: output.pending, current: output.current, previous: Data$dList$dTypes.Nil}; } + if (output.pending.tag === "Just") { + return { + output: output.output + Ansi$dCodes.escapeCodeToString(Ansi$dCodes.$EscapeCode("Graphics", output.pending._1)) + text, + pending: Data$dMaybe.Nothing, + current: output.current, + previous: Data$dList$dTypes.Nil + }; + } + $runtime.fail(); + }, + writeIndent: v => text => v1 => ({output: v1.output + text, pending: v1.pending, current: v1.current, previous: v1.previous}), + writeBreak: v => { + const pending = (() => { + if (v.current.tag === "Nil") { return Data$dMaybe.Nothing; } + if (v.current.tag === "Cons") { + return Data$dMaybe.$Maybe("Just", Data$dNonEmpty.$NonEmpty(Ansi$dCodes.Reset, Data$dList$dTypes.$List("Cons", v.current._1, v.current._2))); + } + $runtime.fail(); + })(); + return { + output: (() => { + if ( + (() => { + if (pending.tag === "Nothing") { return true; } + if (pending.tag === "Just") { return false; } + $runtime.fail(); + })() && v.previous.tag === "Nil" + ) { + return v.output + "\n"; + } + return v.output + (resetCode + "\n"); + })(), + pending: pending, + current: v.current, + previous: v.previous + }; + }, + enterAnnotation: a => as => v => { + const current = Data$dList.reverse($2($1(Data$dList$dTypes.$List("Cons", a, as)))); + return { + output: v.output, + pending: (() => { + if (current.tag === "Nil") { return Data$dMaybe.Nothing; } + if (current.tag === "Cons") { return Data$dMaybe.$Maybe("Just", Data$dNonEmpty.$NonEmpty(Ansi$dCodes.Reset, Data$dList$dTypes.$List("Cons", current._1, current._2))); } + $runtime.fail(); + })(), + current: current, + previous: v.current + }; + }, + leaveAnnotation: v => as => v1 => { + const current = Data$dList.reverse($2($1(as))); + return { + output: v1.output, + pending: Data$dMaybe.$Maybe( + "Just", + (() => { + if (current.tag === "Nil") { return Data$dNonEmpty.$NonEmpty(Ansi$dCodes.Reset, Data$dList$dTypes.Nil); } + if (current.tag === "Cons") { return Data$dNonEmpty.$NonEmpty(Ansi$dCodes.Reset, Data$dList$dTypes.$List("Cons", current._1, current._2)); } + $runtime.fail(); + })() + ), + current: current, + previous: v1.current + }; + }, + flushBuffer: ansiBuffer => { + if (ansiBuffer.pending.tag === "Nothing") { return ansiBuffer.output; } + if (ansiBuffer.pending.tag === "Just") { return ansiBuffer.output + Ansi$dCodes.escapeCodeToString(Ansi$dCodes.$EscapeCode("Graphics", ansiBuffer.pending._1)); } + $runtime.fail(); + } + }; +})(); +export {AnsiBuffer, ansiGraphics, background, bold, dim, foreground, inverse, italic, reset, strikethrough, underline}; diff --git a/.storybook/purescript-indexer/output-es/Dodo.Box/index.js b/.storybook/purescript-indexer/output-es/Dodo.Box/index.js new file mode 100644 index 0000000..4f40211 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Dodo.Box/index.js @@ -0,0 +1,692 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dInt from "../Data.Int/index.js"; +import * as Data$dList from "../Data.List/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dMonoid from "../Data.Monoid/index.js"; +import * as Data$dNumber from "../Data.Number/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Dodo$dInternal from "../Dodo.Internal/index.js"; +import * as Partial from "../Partial/index.js"; +const $Align = tag => ({tag}); +const $DocBox = (tag, _1, _2, _3) => ({tag, _1, _2, _3}); +const $DocBoxStep = (tag, _1, _2, _3) => ({tag, _1, _2, _3}); +const $DocBuildCmd = (tag, _1, _2, _3) => ({tag, _1, _2, _3}); +const $DocBuildSize = (tag, _1) => ({tag, _1}); +const $DocBuildStk = (tag, _1, _2, _3, _4) => ({tag, _1, _2, _3, _4}); +const $DocLine = (tag, _1, _2) => ({tag, _1, _2}); +const $DocResumeCmd = (tag, _1) => ({tag, _1}); +const $DocResumeStk = (tag, _1, _2, _3) => ({tag, _1, _2, _3}); +const max = x => y => { + const v = Data$dOrd.ordInt.compare(x)(y); + if (v.tag === "LT") { return y; } + if (v.tag === "EQ") { return x; } + if (v.tag === "GT") { return x; } + $runtime.fail(); +}; +const power = /* #__PURE__ */ Data$dMonoid.power(Dodo$dInternal.monoidDoc); +const LinePad = value0 => $DocLine("LinePad", value0); +const LineDoc = value0 => $DocLine("LineDoc", value0); +const LineAppend = value0 => value1 => $DocLine("LineAppend", value0, value1); +const FullHeight = value0 => $DocBuildSize("FullHeight", value0); +const FullWidth = value0 => $DocBuildSize("FullWidth", value0); +const AsIs = /* #__PURE__ */ $DocBuildSize("AsIs"); +const StpDone = /* #__PURE__ */ $DocBoxStep("StpDone"); +const StpLine = value0 => value1 => $DocBoxStep("StpLine", value0, value1); +const StpPad = value0 => value1 => value2 => $DocBoxStep("StpPad", value0, value1, value2); +const StpHorz = value0 => value1 => value2 => $DocBoxStep("StpHorz", value0, value1, value2); +const ResumeEnter = value0 => $DocResumeCmd("ResumeEnter", value0); +const ResumeLeave = value0 => $DocResumeCmd("ResumeLeave", value0); +const ResumeHorzR = value0 => value1 => value2 => $DocResumeStk("ResumeHorzR", value0, value1, value2); +const ResumeHorzH = value0 => value1 => value2 => $DocResumeStk("ResumeHorzH", value0, value1, value2); +const ResumeNil = /* #__PURE__ */ $DocResumeStk("ResumeNil"); +const Start = /* #__PURE__ */ $Align("Start"); +const Middle = /* #__PURE__ */ $Align("Middle"); +const End = /* #__PURE__ */ $Align("End"); +const DocLine = value0 => value1 => $DocBox("DocLine", value0, value1); +const DocVApp = value0 => value1 => value2 => $DocBox("DocVApp", value0, value1, value2); +const DocHApp = value0 => value1 => value2 => $DocBox("DocHApp", value0, value1, value2); +const DocAlign = value0 => value1 => value2 => $DocBox("DocAlign", value0, value1, value2); +const DocPad = value0 => $DocBox("DocPad", value0); +const DocEmpty = /* #__PURE__ */ $DocBox("DocEmpty"); +const BuildEnter = value0 => value1 => value2 => $DocBuildCmd("BuildEnter", value0, value1, value2); +const BuildLeave = value0 => $DocBuildCmd("BuildLeave", value0); +const BuildVAppR = value0 => value1 => value2 => $DocBuildStk("BuildVAppR", value0, value1, value2); +const BuildHAppR = value0 => value1 => value2 => value3 => $DocBuildStk("BuildHAppR", value0, value1, value2, value3); +const BuildHAppH = value0 => value1 => value2 => $DocBuildStk("BuildHAppH", value0, value1, value2); +const BuildNil = /* #__PURE__ */ $DocBuildStk("BuildNil"); +const Horizontal = x => x; +const Vertical = x => x; +const newtypeVertical_ = {Coercible0: () => undefined}; +const newtypeHorizontal_ = {Coercible0: () => undefined}; +const functorDocBox = { + map: f => m => { + if (m.tag === "DocLine") { return $DocBox("DocLine", Dodo$dInternal.functorDoc.map(f)(m._1), m._2); } + if (m.tag === "DocVApp") { return $DocBox("DocVApp", functorDocBox.map(f)(m._1), functorDocBox.map(f)(m._2), m._3); } + if (m.tag === "DocHApp") { return $DocBox("DocHApp", functorDocBox.map(f)(m._1), functorDocBox.map(f)(m._2), m._3); } + if (m.tag === "DocAlign") { return $DocBox("DocAlign", m._1, m._2, functorDocBox.map(f)(m._3)); } + if (m.tag === "DocPad") { return $DocBox("DocPad", m._1); } + if (m.tag === "DocEmpty") { return DocEmpty; } + $runtime.fail(); + } +}; +const functorHorizontal = functorDocBox; +const functorVertical = functorDocBox; +const eqAlign = { + eq: x => y => { + if (x.tag === "Start") { return y.tag === "Start"; } + if (x.tag === "Middle") { return y.tag === "Middle"; } + if (x.tag === "End") { return y.tag === "End"; } + return false; + } +}; +const vpadding = height => { + if (height <= 0) { return DocEmpty; } + return $DocBox("DocPad", {height: height, width: 0}); +}; +const valign = a => v => { + if (v.tag === "DocAlign") { + if (a.tag === "Start") { + if (v._2.tag === "Start") { return v._3; } + if (v.tag === "DocAlign") { return $DocBox("DocAlign", a, v._2, v._3); } + return $DocBox("DocAlign", a, Start, v); + } + if (v.tag === "DocAlign") { return $DocBox("DocAlign", a, v._2, v._3); } + return $DocBox("DocAlign", a, Start, v); + } + if (v.tag === "DocAlign") { return $DocBox("DocAlign", a, v._2, v._3); } + return $DocBox("DocAlign", a, Start, v); +}; +const sizeOf = sizeOf$a0$copy => { + let sizeOf$a0 = sizeOf$a0$copy, sizeOf$c = true, sizeOf$r; + while (sizeOf$c) { + const v = sizeOf$a0; + if (v.tag === "DocLine") { + sizeOf$c = false; + sizeOf$r = {width: v._2, height: 1}; + continue; + } + if (v.tag === "DocVApp") { + sizeOf$c = false; + sizeOf$r = v._3; + continue; + } + if (v.tag === "DocHApp") { + sizeOf$c = false; + sizeOf$r = v._3; + continue; + } + if (v.tag === "DocAlign") { + sizeOf$a0 = v._3; + continue; + } + if (v.tag === "DocPad") { + sizeOf$c = false; + sizeOf$r = v._1; + continue; + } + if (v.tag === "DocEmpty") { + sizeOf$c = false; + sizeOf$r = {width: 0, height: 0}; + continue; + } + $runtime.fail(); + }; + return sizeOf$r; +}; +const vappend = v => v1 => { + if (v.tag === "DocEmpty") { return v1; } + if (v1.tag === "DocEmpty") { return v; } + if (v.tag === "DocPad") { + if (v1.tag === "DocPad") { return $DocBox("DocPad", {width: max(v._1.width)(v1._1.width), height: v._1.height + v1._1.height | 0}); } + return $DocBox( + "DocVApp", + v, + v1, + (() => { + const $2 = sizeOf(v); + const $3 = sizeOf(v1); + return {width: max($2.width)($3.width), height: $2.height + $3.height | 0}; + })() + ); + } + return $DocBox( + "DocVApp", + v, + v1, + (() => { + const $2 = sizeOf(v); + const $3 = sizeOf(v1); + return {width: max($2.width)($3.width), height: $2.height + $3.height | 0}; + })() + ); +}; +const vertical = dictFoldable => dictFoldable.foldr(vappend)(DocEmpty); +const semigroupVertical = {append: vappend}; +const monoidVertical = {mempty: DocEmpty, Semigroup0: () => semigroupVertical}; +const power1 = /* #__PURE__ */ Data$dMonoid.power(monoidVertical); +const resume = /* #__PURE__ */ (() => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const cmd = go$a0, stack = go$a1; + if (cmd.tag === "ResumeEnter") { + if (cmd._1.tag === "StpDone") { + go$a0 = $DocResumeCmd("ResumeLeave", Data$dMaybe.Nothing); + go$a1 = stack; + continue; + } + if (cmd._1.tag === "StpLine") { + go$a0 = $DocResumeCmd("ResumeLeave", Data$dMaybe.$Maybe("Just", {line: $DocLine("LineDoc", cmd._1._1), next: cmd._1._2})); + go$a1 = stack; + continue; + } + if (cmd._1.tag === "StpPad") { + if (cmd._1._2 === 0) { + go$a0 = $DocResumeCmd("ResumeEnter", cmd._1._3); + go$a1 = stack; + continue; + } + go$a0 = $DocResumeCmd( + "ResumeLeave", + Data$dMaybe.$Maybe("Just", {line: $DocLine("LinePad", cmd._1._1), next: $DocBoxStep("StpPad", cmd._1._1, cmd._1._2 - 1 | 0, cmd._1._3)}) + ); + go$a1 = stack; + continue; + } + if (cmd._1.tag === "StpHorz") { + go$a0 = $DocResumeCmd("ResumeEnter", cmd._1._2); + go$a1 = $DocResumeStk("ResumeHorzR", cmd._1._1, cmd._1._3, stack); + continue; + } + $runtime.fail(); + } + if (cmd.tag === "ResumeLeave") { + if (stack.tag === "ResumeHorzR") { + go$a0 = $DocResumeCmd("ResumeEnter", stack._1); + go$a1 = $DocResumeStk("ResumeHorzH", cmd._1, stack._2, stack._3); + continue; + } + if (stack.tag === "ResumeHorzH") { + if (cmd._1.tag === "Just") { + if (stack._1.tag === "Just") { + go$a0 = $DocResumeCmd( + "ResumeLeave", + Data$dMaybe.$Maybe( + "Just", + {line: $DocLine("LineAppend", cmd._1._1.line, stack._1._1.line), next: $DocBoxStep("StpHorz", cmd._1._1.next, stack._1._1.next, stack._2)} + ) + ); + go$a1 = stack._3; + continue; + } + go$a0 = $DocResumeCmd("ResumeEnter", stack._2); + go$a1 = stack._3; + continue; + } + go$a0 = $DocResumeCmd("ResumeEnter", stack._2); + go$a1 = stack._3; + continue; + } + if (stack.tag === "ResumeNil") { + go$c = false; + go$r = cmd._1; + continue; + } + $runtime.fail(); + } + $runtime.fail(); + }; + return go$r; + }; + return x => go($DocResumeCmd("ResumeEnter", x))(ResumeNil); +})(); +const padWithAlign = appendFn => paddingFn => padWidth => doc => v => { + if (v.tag === "Start") { return appendFn(doc)(paddingFn(padWidth)); } + if (v.tag === "Middle") { + const mid = Data$dInt.toNumber(padWidth) / 2.0; + return appendFn(appendFn(paddingFn(Data$dInt.unsafeClamp(Data$dNumber.floor(mid))))(doc))(paddingFn(Data$dInt.unsafeClamp(Data$dNumber.ceil(mid)))); + } + if (v.tag === "End") { return appendFn(paddingFn(padWidth))(doc); } + $runtime.fail(); +}; +const isEmpty = v => v.tag === "DocEmpty"; +const hpadding = width => { + if (width <= 0) { return DocEmpty; } + return $DocBox("DocPad", {height: 1, width: width}); +}; +const happend = v => v1 => { + if (v.tag === "DocEmpty") { return v1; } + if (v1.tag === "DocEmpty") { return v; } + if (v.tag === "DocPad") { + if (v1.tag === "DocPad") { return $DocBox("DocPad", {width: v._1.width + v1._1.width | 0, height: max(v._1.height)(v1._1.height)}); } + return $DocBox( + "DocHApp", + v, + v1, + (() => { + const $2 = sizeOf(v); + const $3 = sizeOf(v1); + return {width: $2.width + $3.width | 0, height: max($2.height)($3.height)}; + })() + ); + } + return $DocBox( + "DocHApp", + v, + v1, + (() => { + const $2 = sizeOf(v); + const $3 = sizeOf(v1); + return {width: $2.width + $3.width | 0, height: max($2.height)($3.height)}; + })() + ); +}; +const horizontal = dictFoldable => dictFoldable.foldr(happend)(DocEmpty); +const horizontalWithAlign = dictFoldable => align => dictFoldable.foldr(a => b => happend(valign(align)(a))(b))(DocEmpty); +const semigroupHorizontal = {append: happend}; +const monoidHorizontal = {mempty: DocEmpty, Semigroup0: () => semigroupHorizontal}; +const halign = b => v => { + if (v.tag === "DocAlign") { + if (v._1.tag === "Start") { + if (b.tag === "Start") { return v._3; } + if (v.tag === "DocAlign") { return $DocBox("DocAlign", v._1, b, v._3); } + return $DocBox("DocAlign", Start, b, v); + } + if (v.tag === "DocAlign") { return $DocBox("DocAlign", v._1, b, v._3); } + return $DocBox("DocAlign", Start, b, v); + } + if (v.tag === "DocAlign") { return $DocBox("DocAlign", v._1, b, v._3); } + return $DocBox("DocAlign", Start, b, v); +}; +const resize = newSize => box => { + const size = sizeOf(box); + const vpad = newSize.height - size.height | 0; + const hpad = newSize.width - size.width | 0; + const box$p = (() => { + if (box.tag === "DocAlign") { return box._3; } + return box; + })(); + const hdoc = (() => { + if (hpad <= 0) { return valign(Start)(box$p); } + return padWithAlign(happend)(hpadding)(hpad)(box)((() => { + if (box.tag === "DocAlign") { return box._2; } + return Start; + })()); + })(); + if (vpad <= 0) { return halign(Start)(hdoc); } + return padWithAlign(vappend)(vpadding)(vpad)(hdoc)((() => { + if (box.tag === "DocAlign") { return box._1; } + return Start; + })()); +}; +const verticalWithAlign = dictFoldable => align => dictFoldable.foldr(a => b => vappend(halign(align)(a))(b))(DocEmpty); +const formatLine = /* #__PURE__ */ (() => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const acc = go$a0, v = go$a1; + if (v.tag === "Nil") { + go$c = false; + go$r = acc; + continue; + } + if (v.tag === "Cons") { + if (v._1.tag === "LinePad") { + if (acc.tag === "Empty") { + go$a0 = acc; + go$a1 = v._2; + continue; + } + go$a0 = Dodo$dInternal.semigroupDoc.append(power(Dodo$dInternal.$Doc("Text", 1, " "))(v._1._1))(acc); + go$a1 = v._2; + continue; + } + if (v._1.tag === "LineDoc") { + go$a0 = Dodo$dInternal.semigroupDoc.append(v._1._1)(acc); + go$a1 = v._2; + continue; + } + if (v._1.tag === "LineAppend") { + go$a0 = acc; + go$a1 = Data$dList$dTypes.$List("Cons", v._1._2, Data$dList$dTypes.$List("Cons", v._1._1, v._2)); + continue; + } + $runtime.fail(); + } + $runtime.fail(); + }; + return go$r; + }; + const $1 = go(Dodo$dInternal.Empty); + return x => $1(Data$dList$dTypes.$List("Cons", x, Data$dList$dTypes.Nil)); +})(); +const fill = ch => v => power1((() => { + if (ch.tag === "Annotate") { + return $DocBox( + "DocLine", + (() => { + const $2 = Dodo$dInternal.Annotate(ch._1); + const $3 = power(ch._2)(v.width); + if ($3.tag === "Empty") { return Dodo$dInternal.Empty; } + return $2($3); + })(), + v.width + ); + } + return $DocBox("DocLine", power(ch)(v.width), v.width); +})())(v.height); +const empty = DocEmpty; +const docBox = /* #__PURE__ */ (() => { + const stkToDoc = (() => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const b = go$a0, v = go$a1; + if (v.tag === "Nil") { + go$c = false; + go$r = b; + continue; + } + if (v.tag === "Cons") { + go$a0 = (() => { + if (v._1.tag === "Left") { + const $3 = Dodo$dInternal.Annotate(v._1._1); + if (b.tag === "Empty") { return Dodo$dInternal.Empty; } + return $3(b); + } + if (v._1.tag === "Right") { return Dodo$dInternal.semigroupDoc.append(v._1._1)(b); } + $runtime.fail(); + })(); + go$a1 = v._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(Dodo$dInternal.Empty); + })(); + return { + emptyBuffer: {currentIndent: Dodo$dInternal.Empty, currentLine: Data$dList$dTypes.Nil, currentWidth: 0, lines: DocEmpty}, + writeText: width => text => v => ( + { + currentIndent: v.currentIndent, + currentLine: (() => { + if (v.currentLine.tag === "Cons") { + if (v.currentLine._1.tag === "Right") { + return Data$dList$dTypes.$List( + "Cons", + Data$dEither.$Either("Right", Dodo$dInternal.semigroupDoc.append(v.currentLine._1._1)(Dodo$dInternal.$Doc("Text", width, text))), + v.currentLine._2 + ); + } + return Data$dList$dTypes.$List("Cons", Data$dEither.$Either("Right", Dodo$dInternal.$Doc("Text", width, text)), v.currentLine); + } + return Data$dList$dTypes.$List("Cons", Data$dEither.$Either("Right", Dodo$dInternal.$Doc("Text", width, text)), v.currentLine); + })(), + currentWidth: v.currentWidth + width | 0, + lines: v.lines + } + ), + writeIndent: width => text => v => ( + { + currentIndent: Dodo$dInternal.semigroupDoc.append(v.currentIndent)(Dodo$dInternal.$Doc("Text", width, text)), + currentLine: v.currentLine, + currentWidth: v.currentWidth + width | 0, + lines: v.lines + } + ), + writeBreak: v => ( + { + currentIndent: Dodo$dInternal.Empty, + currentLine: Data$dList.filter(Data$dEither.isLeft)(v.currentLine), + currentWidth: 0, + lines: vappend(v.lines)($DocBox("DocLine", Dodo$dInternal.semigroupDoc.append(v.currentIndent)(stkToDoc(v.currentLine)), v.currentWidth)) + } + ), + enterAnnotation: ann => v => v1 => ( + { + currentIndent: v1.currentIndent, + currentLine: Data$dList$dTypes.$List("Cons", Data$dEither.$Either("Left", ann), v1.currentLine), + currentWidth: v1.currentWidth, + lines: v1.lines + } + ), + leaveAnnotation: v => v1 => v2 => ( + { + currentIndent: v2.currentIndent, + currentLine: (() => { + if (v2.currentLine.tag === "Cons") { + if (v2.currentLine._2.tag === "Cons") { + if (v2.currentLine._2._1.tag === "Left") { + if (v2.currentLine._1.tag === "Right") { + return Data$dList$dTypes.$List( + "Cons", + Data$dEither.$Either( + "Right", + (() => { + const $4 = Dodo$dInternal.Annotate(v2.currentLine._2._1._1); + if (v2.currentLine._1._1.tag === "Empty") { return Dodo$dInternal.Empty; } + return $4(v2.currentLine._1._1); + })() + ), + v2.currentLine._2._2 + ); + } + if (v2.currentLine._1.tag === "Left") { return v2.currentLine._2; } + return Partial._crashWith("leaveAnnotation: docs and annotations must be interleaved"); + } + if (v2.currentLine._1.tag === "Left") { return v2.currentLine._2; } + return Partial._crashWith("leaveAnnotation: docs and annotations must be interleaved"); + } + if (v2.currentLine._1.tag === "Left") { return v2.currentLine._2; } + return Partial._crashWith("leaveAnnotation: docs and annotations must be interleaved"); + } + return Partial._crashWith("leaveAnnotation: docs and annotations must be interleaved"); + })(), + currentWidth: v2.currentWidth, + lines: v2.lines + } + ), + flushBuffer: v => { + if (v.lines.tag === "DocEmpty" && v.currentLine.tag === "Nil") { return DocEmpty; } + return vappend(v.lines)($DocBox("DocLine", Dodo$dInternal.semigroupDoc.append(v.currentIndent)(stkToDoc(v.currentLine)), v.currentWidth)); + } + }; +})(); +const build = /* #__PURE__ */ (() => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const cmd = go$a0, stack = go$a1; + if (cmd.tag === "BuildEnter") { + if (cmd._1.tag === "FullHeight") { + if (cmd._3.tag === "DocHApp") { + go$a0 = $DocBuildCmd("BuildEnter", cmd._1, StpDone, cmd._3._2); + go$a1 = $DocBuildStk("BuildHAppR", cmd._1._1, cmd._3._1, cmd._2, stack); + continue; + } + go$a0 = $DocBuildCmd("BuildEnter", AsIs, cmd._2, resize({width: 0, height: cmd._1._1})(cmd._3)); + go$a1 = stack; + continue; + } + if (cmd._1.tag === "FullWidth") { + if (cmd._3.tag === "DocVApp") { + go$a0 = $DocBuildCmd("BuildEnter", cmd._1, cmd._2, cmd._3._2); + go$a1 = $DocBuildStk("BuildVAppR", cmd._1._1, cmd._3._1, stack); + continue; + } + go$a0 = $DocBuildCmd("BuildEnter", AsIs, cmd._2, resize({width: cmd._1._1, height: 0})(cmd._3)); + go$a1 = stack; + continue; + } + if (cmd._1.tag === "AsIs") { + if (cmd._3.tag === "DocVApp") { + go$a0 = $DocBuildCmd("BuildEnter", $DocBuildSize("FullWidth", cmd._3._3.width), cmd._2, cmd._3._2); + go$a1 = $DocBuildStk("BuildVAppR", cmd._3._3.width, cmd._3._1, stack); + continue; + } + if (cmd._3.tag === "DocHApp") { + go$a0 = $DocBuildCmd("BuildEnter", $DocBuildSize("FullHeight", cmd._3._3.height), StpDone, cmd._3._2); + go$a1 = $DocBuildStk("BuildHAppR", cmd._3._3.height, cmd._3._1, cmd._2, stack); + continue; + } + if (cmd._3.tag === "DocAlign") { + go$a0 = $DocBuildCmd("BuildEnter", cmd._1, cmd._2, cmd._3._3); + go$a1 = stack; + continue; + } + if (cmd._3.tag === "DocLine") { + go$a0 = $DocBuildCmd("BuildLeave", $DocBoxStep("StpLine", cmd._3._1, cmd._2)); + go$a1 = stack; + continue; + } + if (cmd._3.tag === "DocPad") { + go$a0 = $DocBuildCmd("BuildLeave", $DocBoxStep("StpPad", cmd._3._1.width, cmd._3._1.height, cmd._2)); + go$a1 = stack; + continue; + } + if (cmd._3.tag === "DocEmpty") { + go$a0 = $DocBuildCmd("BuildLeave", StpDone); + go$a1 = stack; + continue; + } + $runtime.fail(); + } + $runtime.fail(); + } + if (cmd.tag === "BuildLeave") { + if (stack.tag === "BuildVAppR") { + go$a0 = $DocBuildCmd("BuildEnter", $DocBuildSize("FullWidth", stack._1), cmd._1, stack._2); + go$a1 = stack._3; + continue; + } + if (stack.tag === "BuildHAppR") { + go$a0 = $DocBuildCmd("BuildEnter", $DocBuildSize("FullHeight", stack._1), StpDone, stack._2); + go$a1 = $DocBuildStk("BuildHAppH", cmd._1, stack._3, stack._4); + continue; + } + if (stack.tag === "BuildHAppH") { + go$a0 = $DocBuildCmd("BuildLeave", $DocBoxStep("StpHorz", cmd._1, stack._1, stack._2)); + go$a1 = stack._3; + continue; + } + if (stack.tag === "BuildNil") { + go$c = false; + go$r = cmd._1; + continue; + } + $runtime.fail(); + } + $runtime.fail(); + }; + return go$r; + }; + return size => next => box => go($DocBuildCmd("BuildEnter", size, next, box))(BuildNil); +})(); +const toDoc = /* #__PURE__ */ (() => { + const go2 = go2$a0$copy => go2$a1$copy => { + let go2$a0 = go2$a0$copy, go2$a1 = go2$a1$copy, go2$c = true, go2$r; + while (go2$c) { + const acc = go2$a0, v = go2$a1; + if (v.tag === "Nothing") { + go2$c = false; + go2$r = acc; + continue; + } + if (v.tag === "Just") { + go2$a0 = Dodo$dInternal.semigroupDoc.append(acc)(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)(formatLine(v._1.line))); + go2$a1 = resume(v._1.next); + continue; + } + $runtime.fail(); + }; + return go2$r; + }; + const $1 = build(AsIs)(StpDone); + return x => { + const $3 = resume($1(x)); + if ($3.tag === "Nothing") { return Dodo$dInternal.Empty; } + if ($3.tag === "Just") { return go2(formatLine($3._1.line))(resume($3._1.next)); } + $runtime.fail(); + }; +})(); +export { + $Align, + $DocBox, + $DocBoxStep, + $DocBuildCmd, + $DocBuildSize, + $DocBuildStk, + $DocLine, + $DocResumeCmd, + $DocResumeStk, + AsIs, + BuildEnter, + BuildHAppH, + BuildHAppR, + BuildLeave, + BuildNil, + BuildVAppR, + DocAlign, + DocEmpty, + DocHApp, + DocLine, + DocPad, + DocVApp, + End, + FullHeight, + FullWidth, + Horizontal, + LineAppend, + LineDoc, + LinePad, + Middle, + ResumeEnter, + ResumeHorzH, + ResumeHorzR, + ResumeLeave, + ResumeNil, + Start, + StpDone, + StpHorz, + StpLine, + StpPad, + Vertical, + build, + docBox, + empty, + eqAlign, + fill, + formatLine, + functorDocBox, + functorHorizontal, + functorVertical, + halign, + happend, + horizontal, + horizontalWithAlign, + hpadding, + isEmpty, + max, + monoidHorizontal, + monoidVertical, + newtypeHorizontal_, + newtypeVertical_, + padWithAlign, + power, + power1, + resize, + resume, + semigroupHorizontal, + semigroupVertical, + sizeOf, + toDoc, + valign, + vappend, + vertical, + verticalWithAlign, + vpadding +}; diff --git a/.storybook/purescript-indexer/output-es/Dodo.Common/index.js b/.storybook/purescript-indexer/output-es/Dodo.Common/index.js new file mode 100644 index 0000000..7685206 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Dodo.Common/index.js @@ -0,0 +1,87 @@ +import * as $runtime from "../runtime.js"; +import * as Dodo from "../Dodo/index.js"; +import * as Dodo$dInternal from "../Dodo.Internal/index.js"; +const trailingComma = /* #__PURE__ */ (() => Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 2, ", "), + Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, ","))(Dodo$dInternal.Break) +))(); +const pursSquares = /* #__PURE__ */ (() => { + const $0 = Dodo.encloseEmptyAlt(Dodo$dInternal.$Doc("Text", 2, "[ "))(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 2, " ]"), + Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)(Dodo$dInternal.$Doc("Text", 1, "]")) + ))(Dodo$dInternal.$Doc("Text", 2, "[]")); + return x => Dodo.flexGroup($0(x)); +})(); +const pursParensExpr = x => Dodo.flexGroup(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, "("))(Dodo$dInternal.semigroupDoc.append((() => { + if (x.tag === "Empty") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Indent", x); +})())(Dodo$dInternal.$Doc("Text", 1, ")")))); +const pursParens = /* #__PURE__ */ (() => { + const $0 = Dodo.encloseEmptyAlt(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, "("), Dodo$dInternal.$Doc("Text", 2, "( ")))(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, ")"), + Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)(Dodo$dInternal.$Doc("Text", 1, ")")) + ))(Dodo$dInternal.$Doc("Text", 2, "()")); + return x => Dodo.flexGroup($0(x)); +})(); +const pursCurlies = /* #__PURE__ */ (() => { + const $0 = Dodo.encloseEmptyAlt(Dodo$dInternal.$Doc("Text", 2, "{ "))(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 2, " }"), + Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)(Dodo$dInternal.$Doc("Text", 1, "}")) + ))(Dodo$dInternal.$Doc("Text", 2, "{}")); + return x => Dodo.flexGroup($0(x)); +})(); +const leadingComma = /* #__PURE__ */ (() => Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 2, ", "), + Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)(Dodo$dInternal.$Doc("Text", 2, ", ")) +))(); +const jsSquares = /* #__PURE__ */ (() => { + const $0 = Dodo.encloseEmptyAlt(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, "["), + Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, "["))(Dodo$dInternal.Break) + ))(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, "]"), Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)(Dodo$dInternal.$Doc("Text", 1, "]"))))(Dodo$dInternal.$Doc( + "Text", + 2, + "[]" + )); + return x => Dodo.flexGroup($0((() => { + if (x.tag === "Empty") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Indent", x); + })())); +})(); +const jsParens = /* #__PURE__ */ (() => { + const $0 = Dodo.encloseEmptyAlt(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, "("), + Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, "("))(Dodo$dInternal.Break) + ))(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, ")"), Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)(Dodo$dInternal.$Doc("Text", 1, ")"))))(Dodo$dInternal.$Doc( + "Text", + 2, + "()" + )); + return x => Dodo.flexGroup($0((() => { + if (x.tag === "Empty") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Indent", x); + })())); +})(); +const jsCurlies = /* #__PURE__ */ (() => { + const $0 = Dodo.encloseEmptyAlt(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, "{"), + Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, "{"))(Dodo$dInternal.Break) + ))(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, "}"), Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)(Dodo$dInternal.$Doc("Text", 1, "}"))))(Dodo$dInternal.$Doc( + "Text", + 2, + "{}" + )); + return x => Dodo.flexGroup($0((() => { + if (x.tag === "Empty") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Indent", x); + })())); +})(); +export {jsCurlies, jsParens, jsSquares, leadingComma, pursCurlies, pursParens, pursParensExpr, pursSquares, trailingComma}; diff --git a/.storybook/purescript-indexer/output-es/Dodo.Internal.Buffer/index.js b/.storybook/purescript-indexer/output-es/Dodo.Internal.Buffer/index.js new file mode 100644 index 0000000..3d38676 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Dodo.Internal.Buffer/index.js @@ -0,0 +1,18 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dFunction from "../Data.Function/index.js"; +import * as Data$dList from "../Data.List/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +const Buffer = x => x; +const revert = v => ({buffer: v.buffer, queue: Data$dList.drop(1)(v.queue)}); +const $$new = buffer => ({buffer: buffer, queue: Data$dList$dTypes.Nil}); +const modify = f => v => { + if (v.queue.tag === "Cons") { return {buffer: v.buffer, queue: Data$dList$dTypes.$List("Cons", Data$dList$dTypes.$List("Cons", f, v.queue._1), v.queue._2)}; } + return {buffer: f(v.buffer), queue: v.queue}; +}; +const isBranching = v => !(v.queue.tag === "Nil"); +const commit = v => ( + {buffer: Data$dList$dTypes.foldableList.foldr(b => a => Data$dList$dTypes.foldableList.foldr(Data$dFunction.apply)(a)(b))(v.buffer)(v.queue), queue: Data$dList$dTypes.Nil} +); +const $$get = x => commit(x).buffer; +const branch = v => ({buffer: v.buffer, queue: Data$dList$dTypes.$List("Cons", Data$dList$dTypes.Nil, v.queue)}); +export {Buffer, branch, commit, $$get as get, isBranching, modify, $$new as new, revert}; diff --git a/.storybook/purescript-indexer/output-es/Dodo.Internal/index.js b/.storybook/purescript-indexer/output-es/Dodo.Internal/index.js new file mode 100644 index 0000000..168a586 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Dodo.Internal/index.js @@ -0,0 +1,69 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const $Doc = (tag, _1, _2, _3) => ({tag, _1, _2, _3}); +const Append = value0 => value1 => $Doc("Append", value0, value1); +const Indent = value0 => $Doc("Indent", value0); +const Align = value0 => value1 => $Doc("Align", value0, value1); +const Annotate = value0 => value1 => $Doc("Annotate", value0, value1); +const FlexSelect = value0 => value1 => value2 => $Doc("FlexSelect", value0, value1, value2); +const FlexAlt = value0 => value1 => $Doc("FlexAlt", value0, value1); +const WithPosition = value0 => $Doc("WithPosition", value0); +const Local = value0 => $Doc("Local", value0); +const Text = value0 => value1 => $Doc("Text", value0, value1); +const Break = /* #__PURE__ */ $Doc("Break"); +const Empty = /* #__PURE__ */ $Doc("Empty"); +const notEmpty = f => v => { + if (v.tag === "Empty") { return Empty; } + return f(v); +}; +const isEmpty = v => v.tag === "Empty"; +const functorDoc = { + map: f => m => { + if (m.tag === "Append") { return $Doc("Append", functorDoc.map(f)(m._1), functorDoc.map(f)(m._2)); } + if (m.tag === "Indent") { return $Doc("Indent", functorDoc.map(f)(m._1)); } + if (m.tag === "Align") { return $Doc("Align", m._1, functorDoc.map(f)(m._2)); } + if (m.tag === "Annotate") { return $Doc("Annotate", f(m._1), functorDoc.map(f)(m._2)); } + if (m.tag === "FlexSelect") { return $Doc("FlexSelect", functorDoc.map(f)(m._1), functorDoc.map(f)(m._2), functorDoc.map(f)(m._3)); } + if (m.tag === "FlexAlt") { return $Doc("FlexAlt", functorDoc.map(f)(m._1), functorDoc.map(f)(m._2)); } + if (m.tag === "WithPosition") { + return $Doc( + "WithPosition", + (() => { + const $2 = functorDoc.map(f); + return x => $2(m._1(x)); + })() + ); + } + if (m.tag === "Local") { + return $Doc( + "Local", + (() => { + const $2 = Data$dTuple.functorTuple.map(functorDoc.map(f)); + return x => $2(m._1(x)); + })() + ); + } + if (m.tag === "Text") { return $Doc("Text", m._1, m._2); } + if (m.tag === "Break") { return Break; } + if (m.tag === "Empty") { return Empty; } + $runtime.fail(); + } +}; +const bothNotEmpty = f => v => v1 => { + if (v.tag === "Empty") { return v1; } + if (v1.tag === "Empty") { return v; } + return f(v)(v1); +}; +const semigroupDoc = { + append: v => v1 => { + if (v.tag === "Empty") { return v1; } + if (v1.tag === "Empty") { return v; } + if (v.tag === "Text") { + if (v1.tag === "Text") { return $Doc("Text", v._1 + v1._1 | 0, v._2 + v1._2); } + return $Doc("Append", v, v1); + } + return $Doc("Append", v, v1); + } +}; +const monoidDoc = {mempty: Empty, Semigroup0: () => semigroupDoc}; +export {$Doc, Align, Annotate, Append, Break, Empty, FlexAlt, FlexSelect, Indent, Local, Text, WithPosition, bothNotEmpty, functorDoc, isEmpty, monoidDoc, notEmpty, semigroupDoc}; diff --git a/.storybook/purescript-indexer/output-es/Dodo/index.js b/.storybook/purescript-indexer/output-es/Dodo/index.js new file mode 100644 index 0000000..74166aa --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Dodo/index.js @@ -0,0 +1,634 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dFunctor from "../Data.Functor/index.js"; +import * as Data$dInt from "../Data.Int/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dMonoid from "../Data.Monoid/index.js"; +import * as Data$dNumber from "../Data.Number/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dString$dCodePoints from "../Data.String.CodePoints/index.js"; +import * as Data$dString$dCommon from "../Data.String.Common/index.js"; +import * as Data$dString$dRegex from "../Data.String.Regex/index.js"; +import * as Data$dString$dRegex$dFlags from "../Data.String.Regex.Flags/index.js"; +import * as Data$dString$dRegex$dUnsafe from "../Data.String.Regex.Unsafe/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Dodo$dInternal from "../Dodo.Internal/index.js"; +import * as Dodo$dInternal$dBuffer from "../Dodo.Internal.Buffer/index.js"; +const $DocCmd = (tag, _1, _2) => ({tag, _1, _2}); +const $FlexGroupStatus = (tag, _1) => ({tag, _1}); +const max = x => y => { + const v = Data$dOrd.ordInt.compare(x)(y); + if (v.tag === "LT") { return y; } + if (v.tag === "EQ") { return x; } + if (v.tag === "GT") { return x; } + $runtime.fail(); +}; +const max1 = x => y => { + const v = Data$dOrd.ordNumber.compare(x)(y); + if (v.tag === "LT") { return y; } + if (v.tag === "EQ") { return x; } + if (v.tag === "GT") { return x; } + $runtime.fail(); +}; +const min = x => y => { + const v = Data$dOrd.ordNumber.compare(x)(y); + if (v.tag === "LT") { return x; } + if (v.tag === "EQ") { return x; } + if (v.tag === "GT") { return y; } + $runtime.fail(); +}; +const power = /* #__PURE__ */ Data$dMonoid.power(Data$dMonoid.monoidString); +const Printer = x => x; +const Doc = value0 => $DocCmd("Doc", value0); +const Dedent = value0 => value1 => $DocCmd("Dedent", value0, value1); +const LeaveAnnotation = value0 => value1 => $DocCmd("LeaveAnnotation", value0, value1); +const LeaveFlexGroup = value0 => value1 => $DocCmd("LeaveFlexGroup", value0, value1); +const LeaveLocal = value0 => $DocCmd("LeaveLocal", value0); +const NoFlexGroup = /* #__PURE__ */ $FlexGroupStatus("NoFlexGroup"); +const FlexGroupPending = /* #__PURE__ */ $FlexGroupStatus("FlexGroupPending"); +const FlexGroupReset = value0 => $FlexGroupStatus("FlexGroupReset", value0); +const withPosition = Dodo$dInternal.WithPosition; +const withLocalOptions = Dodo$dInternal.Local; +const twoSpaces = {pageWidth: 80, ribbonRatio: 1.0, indentUnit: " ", indentWidth: 2}; +const text = v => { + if (v === "") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Text", Data$dString$dCodePoints.toCodePointArray(v).length, v); +}; +const tabs = {pageWidth: 120, ribbonRatio: 1.0, indentUnit: "\t", indentWidth: 4}; +const space = /* #__PURE__ */ Dodo$dInternal.$Doc("Text", 1, " "); +const plainText = { + emptyBuffer: "", + writeText: v => str => buff => buff + str, + writeIndent: v => str => buff => buff + str, + writeBreak: buff => buff + "\n", + enterAnnotation: v => v1 => buff => buff, + leaveAnnotation: v => v1 => buff => buff, + flushBuffer: buff => buff +}; +const locally = k => doc => Dodo$dInternal.$Doc("Local", options => Data$dTuple.$Tuple(k(options), doc)); +const indent = /* #__PURE__ */ Dodo$dInternal.notEmpty(Dodo$dInternal.Indent); +const fourSpaces = {pageWidth: 120, ribbonRatio: 1.0, indentUnit: " ", indentWidth: 4}; +const foldWith = dictFoldable => f => dictFoldable.foldr(v => v1 => { + if (v.tag === "Empty") { return v1; } + if (v1.tag === "Empty") { return v; } + return f(v)(v1); +})(Dodo$dInternal.Empty); +const foldWithSeparator = dictFoldable => separator => foldWith(dictFoldable)(a => b => Dodo$dInternal.semigroupDoc.append(a)(Dodo$dInternal.semigroupDoc.append(separator)(b))); +const flexSelect = doc1 => doc2 => doc3 => { + if (doc1.tag === "Empty") { return doc2; } + return Dodo$dInternal.$Doc("FlexSelect", doc1, doc2, doc3); +}; +const flexGroup = v => { + if (v.tag === "Empty") { return Dodo$dInternal.Empty; } + if (v.tag === "FlexSelect") { + if (v._2.tag === "Empty" && v._3.tag === "Empty") { return v; } + return Dodo$dInternal.$Doc("FlexSelect", v, Dodo$dInternal.Empty, Dodo$dInternal.Empty); + } + return Dodo$dInternal.$Doc("FlexSelect", v, Dodo$dInternal.Empty, Dodo$dInternal.Empty); +}; +const flexAlt = Dodo$dInternal.FlexAlt; +const encloseWithSeparator = dictFoldable => open => close => separator => inner => Dodo$dInternal.semigroupDoc.append(open)(Dodo$dInternal.semigroupDoc.append(foldWithSeparator(dictFoldable)(separator)(inner))(close)); +const encloseEmptyAlt = open => close => $$default => inner => { + if (inner.tag === "Empty") { return $$default; } + return Dodo$dInternal.semigroupDoc.append(open)(Dodo$dInternal.semigroupDoc.append(inner)(close)); +}; +const enclose = open => close => inner => Dodo$dInternal.semigroupDoc.append(open)(Dodo$dInternal.semigroupDoc.append(inner)(close)); +const calcRibbonWidth = v => n => max(0)(Data$dInt.unsafeClamp(Data$dNumber.ceil(v.ribbonRatio * Data$dInt.toNumber(v.pageWidth - n | 0)))); +const storeOptions = prevIndent => localOptions => state => { + const newOptions = {indentUnit: localOptions.indentUnit, indentWidth: localOptions.indentWidth, pageWidth: localOptions.pageWidth, ribbonRatio: localOptions.ribbonRatio}; + return { + position: { + line: state.position.line, + column: state.position.column, + indent: state.position.indent, + nextIndent: localOptions.indent, + pageWidth: newOptions.pageWidth, + ribbonWidth: calcRibbonWidth(newOptions)(prevIndent) + }, + buffer: state.buffer, + annotations: state.annotations, + indentSpaces: localOptions.indentSpaces, + flexGroup: state.flexGroup, + options: newOptions + }; +}; +const print = v => opts => { + const initOptions = {pageWidth: opts.pageWidth, ribbonRatio: max1(0.0)(min(1.0)(opts.ribbonRatio)), indentUnit: opts.indentUnit, indentWidth: opts.indentWidth}; + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const stack = go$a0, state = go$a1; + if (stack.tag === "Nil") { + go$c = false; + go$r = v.flushBuffer(Dodo$dInternal$dBuffer.commit(state.buffer).buffer); + continue; + } + if (stack.tag === "Cons") { + if (stack._1.tag === "Doc") { + if (stack._1._1.tag === "Append") { + go$a0 = Data$dList$dTypes.$List("Cons", $DocCmd("Doc", stack._1._1._1), Data$dList$dTypes.$List("Cons", $DocCmd("Doc", stack._1._1._2), stack._2)); + go$a1 = state; + continue; + } + if (stack._1._1.tag === "Text") { + if (state.position.column === 0 && state.position.indent > 0) { + go$a0 = stack; + go$a1 = { + position: { + line: state.position.line, + column: state.position.indent, + indent: state.position.indent, + nextIndent: state.position.nextIndent, + pageWidth: state.position.pageWidth, + ribbonWidth: state.position.ribbonWidth + }, + buffer: Dodo$dInternal$dBuffer.modify(v.writeIndent(state.position.indent)(state.indentSpaces))(state.buffer), + annotations: state.annotations, + indentSpaces: state.indentSpaces, + flexGroup: state.flexGroup, + options: state.options + }; + continue; + } + if ((state.position.column + stack._1._1._1 | 0) <= (state.position.indent + state.position.ribbonWidth | 0)) { + go$a0 = stack._2; + go$a1 = { + position: { + line: state.position.line, + column: state.position.column + stack._1._1._1 | 0, + indent: state.position.indent, + nextIndent: state.position.nextIndent, + pageWidth: state.position.pageWidth, + ribbonWidth: state.position.ribbonWidth + }, + buffer: Dodo$dInternal$dBuffer.modify(v.writeText(stack._1._1._1)(stack._1._1._2))(state.buffer), + annotations: state.annotations, + indentSpaces: state.indentSpaces, + flexGroup: state.flexGroup, + options: state.options + }; + continue; + } + if (state.flexGroup.tag === "FlexGroupReset") { + go$a0 = state.flexGroup._1.stack; + go$a1 = { + position: state.flexGroup._1.position, + buffer: state.flexGroup._1.buffer, + annotations: state.flexGroup._1.annotations, + indentSpaces: state.flexGroup._1.indentSpaces, + flexGroup: NoFlexGroup, + options: state.flexGroup._1.options + }; + continue; + } + go$a0 = stack._2; + go$a1 = { + position: { + line: state.position.line, + column: state.position.column + stack._1._1._1 | 0, + indent: state.position.indent, + nextIndent: state.position.nextIndent, + pageWidth: state.position.pageWidth, + ribbonWidth: state.position.ribbonWidth + }, + buffer: Dodo$dInternal$dBuffer.modify(v.writeText(stack._1._1._1)(stack._1._1._2))(state.buffer), + annotations: state.annotations, + indentSpaces: state.indentSpaces, + flexGroup: NoFlexGroup, + options: state.options + }; + continue; + } + if (stack._1._1.tag === "Break") { + if (state.flexGroup.tag === "FlexGroupReset") { + go$a0 = state.flexGroup._1.stack; + go$a1 = { + position: state.flexGroup._1.position, + buffer: state.flexGroup._1.buffer, + annotations: state.flexGroup._1.annotations, + indentSpaces: state.flexGroup._1.indentSpaces, + flexGroup: NoFlexGroup, + options: state.flexGroup._1.options + }; + continue; + } + go$a0 = stack._2; + go$a1 = { + position: { + line: state.position.line + 1 | 0, + column: 0, + indent: state.position.nextIndent, + nextIndent: state.position.nextIndent, + pageWidth: state.position.pageWidth, + ribbonWidth: calcRibbonWidth(state.options)(state.position.nextIndent) + }, + buffer: Dodo$dInternal$dBuffer.modify(v.writeBreak)(state.buffer), + annotations: state.annotations, + indentSpaces: state.indentSpaces, + flexGroup: NoFlexGroup, + options: state.options + }; + continue; + } + if (stack._1._1.tag === "Indent") { + if (state.position.column === 0) { + go$a0 = Data$dList$dTypes.$List( + "Cons", + $DocCmd("Doc", stack._1._1._1), + Data$dList$dTypes.$List("Cons", $DocCmd("Dedent", state.indentSpaces, state.position.nextIndent), stack._2) + ); + go$a1 = { + position: { + line: state.position.line, + column: state.position.column, + indent: state.position.nextIndent + opts.indentWidth | 0, + nextIndent: state.position.nextIndent + opts.indentWidth | 0, + pageWidth: state.position.pageWidth, + ribbonWidth: calcRibbonWidth(state.options)(state.position.nextIndent + opts.indentWidth | 0) + }, + buffer: state.buffer, + annotations: state.annotations, + indentSpaces: state.indentSpaces + opts.indentUnit, + flexGroup: state.flexGroup, + options: state.options + }; + continue; + } + go$a0 = Data$dList$dTypes.$List( + "Cons", + $DocCmd("Doc", stack._1._1._1), + Data$dList$dTypes.$List("Cons", $DocCmd("Dedent", state.indentSpaces, state.position.nextIndent), stack._2) + ); + go$a1 = { + position: { + line: state.position.line, + column: state.position.column, + indent: state.position.indent, + nextIndent: state.position.nextIndent + opts.indentWidth | 0, + pageWidth: state.position.pageWidth, + ribbonWidth: state.position.ribbonWidth + }, + buffer: state.buffer, + annotations: state.annotations, + indentSpaces: state.indentSpaces + opts.indentUnit, + flexGroup: state.flexGroup, + options: state.options + }; + continue; + } + if (stack._1._1.tag === "Align") { + if (state.position.column === 0) { + go$a0 = Data$dList$dTypes.$List( + "Cons", + $DocCmd("Doc", stack._1._1._2), + Data$dList$dTypes.$List("Cons", $DocCmd("Dedent", state.indentSpaces, state.position.nextIndent), stack._2) + ); + go$a1 = { + position: { + line: state.position.line, + column: state.position.column, + indent: state.position.nextIndent + stack._1._1._1 | 0, + nextIndent: state.position.nextIndent + stack._1._1._1 | 0, + pageWidth: state.position.pageWidth, + ribbonWidth: calcRibbonWidth(state.options)(state.position.nextIndent + stack._1._1._1 | 0) + }, + buffer: state.buffer, + annotations: state.annotations, + indentSpaces: state.indentSpaces + power(" ")(stack._1._1._1), + flexGroup: state.flexGroup, + options: state.options + }; + continue; + } + go$a0 = Data$dList$dTypes.$List( + "Cons", + $DocCmd("Doc", stack._1._1._2), + Data$dList$dTypes.$List("Cons", $DocCmd("Dedent", state.indentSpaces, state.position.nextIndent), stack._2) + ); + go$a1 = { + position: { + line: state.position.line, + column: state.position.column, + indent: state.position.indent, + nextIndent: state.position.nextIndent + stack._1._1._1 | 0, + pageWidth: state.position.pageWidth, + ribbonWidth: state.position.ribbonWidth + }, + buffer: state.buffer, + annotations: state.annotations, + indentSpaces: state.indentSpaces + power(" ")(stack._1._1._1), + flexGroup: state.flexGroup, + options: state.options + }; + continue; + } + if (stack._1._1.tag === "FlexSelect") { + if (state.flexGroup.tag === "NoFlexGroup") { + go$a0 = Data$dList$dTypes.$List( + "Cons", + $DocCmd("Doc", stack._1._1._1), + Data$dList$dTypes.$List("Cons", $DocCmd("LeaveFlexGroup", stack._1._1._2, stack._1._1._3), stack._2) + ); + go$a1 = { + position: state.position, + buffer: state.buffer, + annotations: state.annotations, + indentSpaces: state.indentSpaces, + flexGroup: FlexGroupPending, + options: state.options + }; + continue; + } + if (state.flexGroup.tag === "FlexGroupPending") { + if (state.position.ribbonWidth > 0) { + go$a0 = Data$dList$dTypes.$List("Cons", $DocCmd("Doc", stack._1._1._1), Data$dList$dTypes.$List("Cons", $DocCmd("Doc", stack._1._1._2), stack._2)); + go$a1 = { + position: state.position, + buffer: {buffer: state.buffer.buffer, queue: Data$dList$dTypes.$List("Cons", Data$dList$dTypes.Nil, state.buffer.queue)}, + annotations: state.annotations, + indentSpaces: state.indentSpaces, + flexGroup: $FlexGroupStatus( + "FlexGroupReset", + {position: state.position, buffer: state.buffer, annotations: state.annotations, indentSpaces: state.indentSpaces, stack: stack, options: state.options} + ), + options: state.options + }; + continue; + } + go$a0 = Data$dList$dTypes.$List("Cons", $DocCmd("Doc", stack._1._1._1), Data$dList$dTypes.$List("Cons", $DocCmd("Doc", stack._1._1._2), stack._2)); + go$a1 = state; + continue; + } + go$a0 = Data$dList$dTypes.$List("Cons", $DocCmd("Doc", stack._1._1._1), Data$dList$dTypes.$List("Cons", $DocCmd("Doc", stack._1._1._2), stack._2)); + go$a1 = state; + continue; + } + if (stack._1._1.tag === "FlexAlt") { + if (state.flexGroup.tag === "FlexGroupReset") { + go$a0 = Data$dList$dTypes.$List("Cons", $DocCmd("Doc", stack._1._1._1), stack._2); + go$a1 = state; + continue; + } + if (state.flexGroup.tag === "FlexGroupPending") { + if (state.position.ribbonWidth > 0) { + go$a0 = Data$dList$dTypes.$List("Cons", $DocCmd("Doc", stack._1._1._1), stack._2); + go$a1 = { + position: state.position, + buffer: {buffer: state.buffer.buffer, queue: Data$dList$dTypes.$List("Cons", Data$dList$dTypes.Nil, state.buffer.queue)}, + annotations: state.annotations, + indentSpaces: state.indentSpaces, + flexGroup: $FlexGroupStatus( + "FlexGroupReset", + { + position: state.position, + buffer: state.buffer, + annotations: state.annotations, + indentSpaces: state.indentSpaces, + stack: Data$dList$dTypes.$List("Cons", $DocCmd("Doc", stack._1._1._2), stack._2), + options: state.options + } + ), + options: state.options + }; + continue; + } + go$a0 = Data$dList$dTypes.$List("Cons", $DocCmd("Doc", stack._1._1._2), stack._2); + go$a1 = state; + continue; + } + go$a0 = Data$dList$dTypes.$List("Cons", $DocCmd("Doc", stack._1._1._2), stack._2); + go$a1 = state; + continue; + } + if (stack._1._1.tag === "WithPosition") { + if (state.position.column === 0 && state.position.nextIndent > 0) { + go$a0 = Data$dList$dTypes.$List( + "Cons", + $DocCmd( + "Doc", + stack._1._1._1({ + line: state.position.line, + column: state.position.nextIndent, + indent: state.position.indent, + nextIndent: state.position.nextIndent, + pageWidth: state.position.pageWidth, + ribbonWidth: state.position.ribbonWidth + }) + ), + stack._2 + ); + go$a1 = state; + continue; + } + go$a0 = Data$dList$dTypes.$List("Cons", $DocCmd("Doc", stack._1._1._1(state.position)), stack._2); + go$a1 = state; + continue; + } + if (stack._1._1.tag === "Annotate") { + go$a0 = Data$dList$dTypes.$List( + "Cons", + $DocCmd("Doc", stack._1._1._2), + Data$dList$dTypes.$List("Cons", $DocCmd("LeaveAnnotation", stack._1._1._1, state.annotations), stack._2) + ); + go$a1 = { + position: state.position, + buffer: Dodo$dInternal$dBuffer.modify(v.enterAnnotation(stack._1._1._1)(state.annotations))(state.buffer), + annotations: Data$dList$dTypes.$List("Cons", stack._1._1._1, state.annotations), + indentSpaces: state.indentSpaces, + flexGroup: state.flexGroup, + options: state.options + }; + continue; + } + if (stack._1._1.tag === "Local") { + const prevOptions = { + indent: state.position.indent, + indentSpaces: state.indentSpaces, + indentUnit: state.options.indentUnit, + indentWidth: state.options.indentWidth, + pageWidth: state.options.pageWidth, + ribbonRatio: state.options.ribbonRatio + }; + const v1 = stack._1._1._1(prevOptions); + go$a0 = Data$dList$dTypes.$List("Cons", $DocCmd("Doc", v1._2), Data$dList$dTypes.$List("Cons", $DocCmd("LeaveLocal", prevOptions), stack._2)); + go$a1 = storeOptions(state.position.indent)(v1._1)(state); + continue; + } + if (stack._1._1.tag === "Empty") { + go$a0 = stack._2; + go$a1 = state; + continue; + } + $runtime.fail(); + } + if (stack._1.tag === "LeaveFlexGroup") { + if (state.flexGroup.tag === "NoFlexGroup") { + go$a0 = Data$dList$dTypes.$List("Cons", $DocCmd("Doc", stack._1._2), stack._2); + go$a1 = { + position: state.position, + buffer: Dodo$dInternal$dBuffer.commit(state.buffer), + annotations: state.annotations, + indentSpaces: state.indentSpaces, + flexGroup: state.flexGroup, + options: state.options + }; + continue; + } + go$a0 = Data$dList$dTypes.$List("Cons", $DocCmd("Doc", stack._1._1), stack._2); + go$a1 = { + position: state.position, + buffer: Dodo$dInternal$dBuffer.commit(state.buffer), + annotations: state.annotations, + indentSpaces: state.indentSpaces, + flexGroup: NoFlexGroup, + options: state.options + }; + continue; + } + if (stack._1.tag === "Dedent") { + go$a0 = stack._2; + go$a1 = { + position: { + line: state.position.line, + column: state.position.column, + indent: state.position.indent, + nextIndent: stack._1._2, + pageWidth: state.position.pageWidth, + ribbonWidth: state.position.ribbonWidth + }, + buffer: state.buffer, + annotations: state.annotations, + indentSpaces: stack._1._1, + flexGroup: state.flexGroup, + options: state.options + }; + continue; + } + if (stack._1.tag === "LeaveAnnotation") { + go$a0 = stack._2; + go$a1 = { + position: state.position, + buffer: Dodo$dInternal$dBuffer.modify(v.leaveAnnotation(stack._1._1)(stack._1._2))(state.buffer), + annotations: stack._1._2, + indentSpaces: state.indentSpaces, + flexGroup: state.flexGroup, + options: state.options + }; + continue; + } + if (stack._1.tag === "LeaveLocal") { + go$a0 = stack._2; + go$a1 = storeOptions(state.position.indent)(stack._1._1)(state); + continue; + } + $runtime.fail(); + } + $runtime.fail(); + }; + return go$r; + }; + const $4 = { + position: {line: 0, column: 0, indent: 0, nextIndent: 0, pageWidth: initOptions.pageWidth, ribbonWidth: calcRibbonWidth(initOptions)(0)}, + buffer: {buffer: v.emptyBuffer, queue: Data$dList$dTypes.Nil}, + annotations: Data$dList$dTypes.Nil, + indentSpaces: "", + flexGroup: NoFlexGroup, + options: initOptions + }; + return x => go(Data$dList$dTypes.$List("Cons", $DocCmd("Doc", x), Data$dList$dTypes.Nil))($4); +}; +const $$break = Dodo$dInternal.Break; +const softBreak = /* #__PURE__ */ Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.Empty, Dodo$dInternal.Break); +const spaceBreak = /* #__PURE__ */ Dodo$dInternal.$Doc("FlexAlt", /* #__PURE__ */ Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break); +const appendSpaceBreak = v => v1 => { + if (v.tag === "Empty") { return v1; } + if (v1.tag === "Empty") { return v; } + return Dodo$dInternal.semigroupDoc.append(v)(flexGroup(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, " "), + Dodo$dInternal.Break + ))(v1))); +}; +const paragraph = dictFoldable => dictFoldable.foldl(appendSpaceBreak)(Dodo$dInternal.Empty); +const textParagraph = /* #__PURE__ */ (() => { + const $0 = Data$dFoldable.foldlArray(appendSpaceBreak)(Dodo$dInternal.Empty); + const $1 = Data$dFunctor.arrayMap(text); + const $2 = Data$dString$dRegex.split(Data$dString$dRegex$dUnsafe.unsafeRegex("[\\s\\n]+")(Data$dString$dRegex$dFlags.global)); + return x => $0($1($2(Data$dString$dCommon.trim(x)))); +})(); +const appendSpace = v => v1 => { + if (v.tag === "Empty") { return v1; } + if (v1.tag === "Empty") { return v; } + return Dodo$dInternal.semigroupDoc.append(v)(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))(v1)); +}; +const words = dictFoldable => dictFoldable.foldr(appendSpace)(Dodo$dInternal.Empty); +const appendBreak = v => v1 => { + if (v.tag === "Empty") { return v1; } + if (v1.tag === "Empty") { return v; } + return Dodo$dInternal.semigroupDoc.append(v)(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)(v1)); +}; +const lines = dictFoldable => dictFoldable.foldr(appendBreak)(Dodo$dInternal.Empty); +const annotate = x => Dodo$dInternal.notEmpty(Dodo$dInternal.Annotate(x)); +const align = n => doc => { + if (n > 0) { + const $2 = Dodo$dInternal.Align(n); + if (doc.tag === "Empty") { return Dodo$dInternal.Empty; } + return $2(doc); + } + return doc; +}; +const alignCurrentColumn = v => { + if (v.tag === "Empty") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("WithPosition", pos => align(pos.column - pos.nextIndent | 0)(v)); +}; +export { + $DocCmd, + $FlexGroupStatus, + Dedent, + Doc, + FlexGroupPending, + FlexGroupReset, + LeaveAnnotation, + LeaveFlexGroup, + LeaveLocal, + NoFlexGroup, + Printer, + align, + alignCurrentColumn, + annotate, + appendBreak, + appendSpace, + appendSpaceBreak, + $$break as break, + calcRibbonWidth, + enclose, + encloseEmptyAlt, + encloseWithSeparator, + flexAlt, + flexGroup, + flexSelect, + foldWith, + foldWithSeparator, + fourSpaces, + indent, + lines, + locally, + max, + max1, + min, + paragraph, + plainText, + power, + print, + softBreak, + space, + spaceBreak, + storeOptions, + tabs, + text, + textParagraph, + twoSpaces, + withLocalOptions, + withPosition, + words +}; diff --git a/.storybook/purescript-indexer/output-es/Effect.AVar/foreign.js b/.storybook/purescript-indexer/output-es/Effect.AVar/foreign.js new file mode 100644 index 0000000..15538cc --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Effect.AVar/foreign.js @@ -0,0 +1,307 @@ +var AVar = function () { + + function MutableQueue () { + this.head = null; + this.last = null; + this.size = 0; + } + + function MutableCell (queue, value) { + this.queue = queue; + this.value = value; + this.next = null; + this.prev = null; + } + + function AVar (value) { + this.draining = false; + this.error = null; + this.value = value; + this.takes = new MutableQueue(); + this.reads = new MutableQueue(); + this.puts = new MutableQueue(); + } + + var EMPTY = {}; + + function runEff(eff) { + try { + eff(); + } catch (error) { + setTimeout(function () { + throw error; + }, 0); + } + } + + function putLast (queue, value) { + var cell = new MutableCell(queue, value); + switch (queue.size) { + case 0: + queue.head = cell; + break; + case 1: + cell.prev = queue.head; + queue.head.next = cell; + queue.last = cell; + break; + default: + cell.prev = queue.last; + queue.last.next = cell; + queue.last = cell; + } + queue.size++; + return cell; + } + + function takeLast (queue) { + var cell; + switch (queue.size) { + case 0: + return null; + case 1: + cell = queue.head; + queue.head = null; + break; + case 2: + cell = queue.last; + queue.head.next = null; + queue.last = null; + break; + default: + cell = queue.last; + queue.last = cell.prev; + queue.last.next = null; + } + cell.prev = null; + cell.queue = null; + queue.size--; + return cell.value; + } + + function takeHead (queue) { + var cell; + switch (queue.size) { + case 0: + return null; + case 1: + cell = queue.head; + queue.head = null; + break; + case 2: + cell = queue.head; + queue.last.prev = null; + queue.head = queue.last; + queue.last = null; + break; + default: + cell = queue.head; + queue.head = cell.next; + queue.head.prev = null; + } + cell.next = null; + cell.queue = null; + queue.size--; + return cell.value; + } + + function deleteCell (cell) { + if (cell.queue === null) { + return; + } + if (cell.queue.last === cell) { + takeLast(cell.queue); + return; + } + if (cell.queue.head === cell) { + takeHead(cell.queue); + return; + } + if (cell.prev) { + cell.prev.next = cell.next; + } + if (cell.next) { + cell.next.prev = cell.prev; + } + cell.queue.size--; + cell.queue = null; + cell.value = null; + cell.next = null; + cell.prev = null; + } + + function drainVar (util, avar) { + if (avar.draining) { + return; + } + + var ps = avar.puts; + var ts = avar.takes; + var rs = avar.reads; + var p, r, t, value, rsize; + + avar.draining = true; + + while (1) { // eslint-disable-line no-constant-condition + p = null; + r = null; + t = null; + value = avar.value; + rsize = rs.size; + + if (avar.error !== null) { + value = util.left(avar.error); + while (p = takeHead(ps)) { // eslint-disable-line no-cond-assign + runEff(p.cb(value)); + } + while (r = takeHead(rs)) { // eslint-disable-line no-cond-assign + runEff(r(value)); + } + while (t = takeHead(ts)) { // eslint-disable-line no-cond-assign + runEff(t(value)); + } + break; + } + + // Process the next put. We do not immediately invoke the callback + // because we want to preserve ordering. If there are takes/reads + // we want to run those first. + if (value === EMPTY && (p = takeHead(ps))) { + avar.value = value = p.value; + } + + if (value !== EMPTY) { + // We go ahead and queue up the next take for the same reasons as + // above. Invoking the read callbacks can affect the mutable queue. + t = takeHead(ts); + // We only want to process the reads queued up before running these + // callbacks so we guard on rsize. + while (rsize-- && (r = takeHead(rs))) { + runEff(r(util.right(value))); + } + if (t !== null) { + avar.value = EMPTY; + runEff(t(util.right(value))); + } + } + + if (p !== null) { + runEff(p.cb(util.right(void 0))); + } + + // Callbacks could have queued up more items so we need to guard on the + // actual mutable properties. + if (avar.value === EMPTY && ps.size === 0 || avar.value !== EMPTY && ts.size === 0) { + break; + } + } + avar.draining = false; + } + + AVar.EMPTY = EMPTY; + AVar.putLast = putLast; + AVar.takeLast = takeLast; + AVar.takeHead = takeHead; + AVar.deleteCell = deleteCell; + AVar.drainVar = drainVar; + + return AVar; +}(); + +export function empty() { + return new AVar(AVar.EMPTY); +} + +export function _newVar(value) { + return function () { + return new AVar(value); + }; +} + +export function _killVar(util, error, avar) { + return function () { + if (avar.error === null) { + avar.error = error; + avar.value = AVar.EMPTY; + AVar.drainVar(util, avar); + } + }; +} + +export function _putVar(util, value, avar, cb) { + return function () { + var cell = AVar.putLast(avar.puts, { cb: cb, value: value }); + AVar.drainVar(util, avar); + return function () { + AVar.deleteCell(cell); + }; + }; +} + +export function _takeVar(util, avar, cb) { + return function () { + var cell = AVar.putLast(avar.takes, cb); + AVar.drainVar(util, avar); + return function () { + AVar.deleteCell(cell); + }; + }; +} + +export function _readVar(util, avar, cb) { + return function () { + var cell = AVar.putLast(avar.reads, cb); + AVar.drainVar(util, avar); + return function () { + AVar.deleteCell(cell); + }; + }; +} + +export function _tryPutVar(util, value, avar) { + return function () { + if (avar.value === AVar.EMPTY && avar.error === null) { + avar.value = value; + AVar.drainVar(util, avar); + return true; + } else { + return false; + } + }; +} + +export function _tryTakeVar(util, avar) { + return function () { + var value = avar.value; + if (value === AVar.EMPTY) { + return util.nothing; + } else { + avar.value = AVar.EMPTY; + AVar.drainVar(util, avar); + return util.just(value); + } + }; +} + +export function _tryReadVar(util, avar) { + return function () { + if (avar.value === AVar.EMPTY) { + return util.nothing; + } else { + return util.just(avar.value); + } + }; +} + +export function _status(util, avar) { + return function () { + if (avar.error) { + return util.killed(avar.error); + } + if (avar.value === AVar.EMPTY) { + return util.empty; + } + return util.filled(avar.value); + }; +} + diff --git a/.storybook/purescript-indexer/output-es/Effect.AVar/index.js b/.storybook/purescript-indexer/output-es/Effect.AVar/index.js new file mode 100644 index 0000000..e7dead2 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Effect.AVar/index.js @@ -0,0 +1,23 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import {_killVar, _newVar, _putVar, _readVar, _status, _takeVar, _tryPutVar, _tryReadVar, _tryTakeVar, empty} from "./foreign.js"; +const $AVarStatus = (tag, _1) => ({tag, _1}); +const Killed = value0 => $AVarStatus("Killed", value0); +const Filled = value0 => $AVarStatus("Filled", value0); +const Empty = /* #__PURE__ */ $AVarStatus("Empty"); +const $$new = _newVar; +const isKilled = v => v.tag === "Killed"; +const isFilled = v => v.tag === "Filled"; +const isEmpty = v => v.tag === "Empty"; +const ffiUtil = {left: Data$dEither.Left, right: Data$dEither.Right, nothing: Data$dMaybe.Nothing, just: Data$dMaybe.Just, killed: Killed, filled: Filled, empty: Empty}; +const kill = err => avar => _killVar(ffiUtil, err, avar); +const put = value => avar => cb => _putVar(ffiUtil, value, avar, cb); +const read = avar => cb => _readVar(ffiUtil, avar, cb); +const status = avar => _status(ffiUtil, avar); +const take = avar => cb => _takeVar(ffiUtil, avar, cb); +const tryPut = value => avar => _tryPutVar(ffiUtil, value, avar); +const tryRead = avar => _tryReadVar(ffiUtil, avar); +const tryTake = avar => _tryTakeVar(ffiUtil, avar); +export {$AVarStatus, Empty, Filled, Killed, ffiUtil, isEmpty, isFilled, isKilled, kill, $$new as new, put, read, status, take, tryPut, tryRead, tryTake}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Effect.Aff.AVar/index.js b/.storybook/purescript-indexer/output-es/Effect.Aff.AVar/index.js new file mode 100644 index 0000000..7074173 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Effect.Aff.AVar/index.js @@ -0,0 +1,35 @@ +import * as $runtime from "../runtime.js"; +import * as Effect$dAVar from "../Effect.AVar/index.js"; +import * as Effect$dAff from "../Effect.Aff/index.js"; +const tryTake = x => Effect$dAff._liftEffect(Effect$dAVar._tryTakeVar(Effect$dAVar.ffiUtil, x)); +const tryRead = x => Effect$dAff._liftEffect(Effect$dAVar._tryReadVar(Effect$dAVar.ffiUtil, x)); +const tryPut = value => x => Effect$dAff._liftEffect(Effect$dAVar._tryPutVar(Effect$dAVar.ffiUtil, value, x)); +const take = avar => Effect$dAff.makeAff(k => { + const $2 = Effect$dAVar._takeVar(Effect$dAVar.ffiUtil, avar, k); + return () => { + const c = $2(); + const $4 = Effect$dAff._liftEffect(c); + return v => $4; + }; +}); +const status = x => Effect$dAff._liftEffect(Effect$dAVar._status(Effect$dAVar.ffiUtil, x)); +const read = avar => Effect$dAff.makeAff(k => { + const $2 = Effect$dAVar._readVar(Effect$dAVar.ffiUtil, avar, k); + return () => { + const c = $2(); + const $4 = Effect$dAff._liftEffect(c); + return v => $4; + }; +}); +const put = value => avar => Effect$dAff.makeAff(k => { + const $3 = Effect$dAVar._putVar(Effect$dAVar.ffiUtil, value, avar, k); + return () => { + const c = $3(); + const $5 = Effect$dAff._liftEffect(c); + return v => $5; + }; +}); +const $$new = x => Effect$dAff._liftEffect(Effect$dAVar._newVar(x)); +const kill = error => x => Effect$dAff._liftEffect(Effect$dAVar._killVar(Effect$dAVar.ffiUtil, error, x)); +const empty = /* #__PURE__ */ Effect$dAff._liftEffect(Effect$dAVar.empty); +export {empty, kill, $$new as new, put, read, status, take, tryPut, tryRead, tryTake}; diff --git a/.storybook/purescript-indexer/output-es/Effect.Aff.Class/index.js b/.storybook/purescript-indexer/output-es/Effect.Aff.Class/index.js new file mode 100644 index 0000000..96d6273 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Effect.Aff.Class/index.js @@ -0,0 +1,106 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dCont$dTrans from "../Control.Monad.Cont.Trans/index.js"; +import * as Control$dMonad$dExcept$dTrans from "../Control.Monad.Except.Trans/index.js"; +import * as Control$dMonad$dList$dTrans from "../Control.Monad.List.Trans/index.js"; +import * as Control$dMonad$dMaybe$dTrans from "../Control.Monad.Maybe.Trans/index.js"; +import * as Control$dMonad$dRWS$dTrans from "../Control.Monad.RWS.Trans/index.js"; +import * as Control$dMonad$dReader$dTrans from "../Control.Monad.Reader.Trans/index.js"; +import * as Control$dMonad$dState$dTrans from "../Control.Monad.State.Trans/index.js"; +import * as Control$dMonad$dWriter$dTrans from "../Control.Monad.Writer.Trans/index.js"; +import * as Effect$dAff from "../Effect.Aff/index.js"; +const monadAffAff = {liftAff: x => x, MonadEffect0: () => Effect$dAff.monadEffectAff}; +const liftAff = dict => dict.liftAff; +const monadAffContT = dictMonadAff => { + const MonadEffect0 = dictMonadAff.MonadEffect0(); + const monadEffectContT = Control$dMonad$dCont$dTrans.monadEffectContT(MonadEffect0); + return { + liftAff: (() => { + const $3 = MonadEffect0.Monad0().Bind1().bind; + return x => $3(dictMonadAff.liftAff(x)); + })(), + MonadEffect0: () => monadEffectContT + }; +}; +const monadAffExceptT = dictMonadAff => { + const MonadEffect0 = dictMonadAff.MonadEffect0(); + const monadEffectExceptT = Control$dMonad$dExcept$dTrans.monadEffectExceptT(MonadEffect0); + return { + liftAff: (() => { + const $3 = Control$dMonad$dExcept$dTrans.monadTransExceptT.lift(MonadEffect0.Monad0()); + return x => $3(dictMonadAff.liftAff(x)); + })(), + MonadEffect0: () => monadEffectExceptT + }; +}; +const monadAffListT = dictMonadAff => { + const MonadEffect0 = dictMonadAff.MonadEffect0(); + const monadEffectListT = Control$dMonad$dList$dTrans.monadEffectListT(MonadEffect0); + return { + liftAff: (() => { + const $3 = Control$dMonad$dList$dTrans.fromEffect(MonadEffect0.Monad0().Applicative0()); + return x => $3(dictMonadAff.liftAff(x)); + })(), + MonadEffect0: () => monadEffectListT + }; +}; +const monadAffMaybe = dictMonadAff => { + const MonadEffect0 = dictMonadAff.MonadEffect0(); + const monadEffectMaybe = Control$dMonad$dMaybe$dTrans.monadEffectMaybe(MonadEffect0); + return { + liftAff: (() => { + const $3 = Control$dMonad$dMaybe$dTrans.monadTransMaybeT.lift(MonadEffect0.Monad0()); + return x => $3(dictMonadAff.liftAff(x)); + })(), + MonadEffect0: () => monadEffectMaybe + }; +}; +const monadAffRWS = dictMonadAff => { + const MonadEffect0 = dictMonadAff.MonadEffect0(); + const Monad0 = MonadEffect0.Monad0(); + return dictMonoid => { + const monadEffectRWS = Control$dMonad$dRWS$dTrans.monadEffectRWS(dictMonoid)(MonadEffect0); + return { + liftAff: (() => { + const $5 = Control$dMonad$dRWS$dTrans.monadTransRWST(dictMonoid).lift(Monad0); + return x => $5(dictMonadAff.liftAff(x)); + })(), + MonadEffect0: () => monadEffectRWS + }; + }; +}; +const monadAffReader = dictMonadAff => { + const monadEffectReader = Control$dMonad$dReader$dTrans.monadEffectReader(dictMonadAff.MonadEffect0()); + return { + liftAff: x => { + const $3 = dictMonadAff.liftAff(x); + return v => $3; + }, + MonadEffect0: () => monadEffectReader + }; +}; +const monadAffState = dictMonadAff => { + const MonadEffect0 = dictMonadAff.MonadEffect0(); + const monadEffectState = Control$dMonad$dState$dTrans.monadEffectState(MonadEffect0); + return { + liftAff: (() => { + const $3 = Control$dMonad$dState$dTrans.monadTransStateT.lift(MonadEffect0.Monad0()); + return x => $3(dictMonadAff.liftAff(x)); + })(), + MonadEffect0: () => monadEffectState + }; +}; +const monadAffWriter = dictMonadAff => { + const MonadEffect0 = dictMonadAff.MonadEffect0(); + const Monad0 = MonadEffect0.Monad0(); + return dictMonoid => { + const monadEffectWriter = Control$dMonad$dWriter$dTrans.monadEffectWriter(dictMonoid)(MonadEffect0); + return { + liftAff: (() => { + const $5 = Control$dMonad$dWriter$dTrans.monadTransWriterT(dictMonoid).lift(Monad0); + return x => $5(dictMonadAff.liftAff(x)); + })(), + MonadEffect0: () => monadEffectWriter + }; + }; +}; +export {liftAff, monadAffAff, monadAffContT, monadAffExceptT, monadAffListT, monadAffMaybe, monadAffRWS, monadAffReader, monadAffState, monadAffWriter}; diff --git a/.storybook/purescript-indexer/output-es/Effect.Aff.Compat/index.js b/.storybook/purescript-indexer/output-es/Effect.Aff.Compat/index.js new file mode 100644 index 0000000..ab61778 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Effect.Aff.Compat/index.js @@ -0,0 +1,15 @@ +// | This module provides compatability functions for constructing `Aff`s which +// | are defined via the FFI. +import * as $runtime from "../runtime.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Effect$dAff from "../Effect.Aff/index.js"; +const EffectFnCanceler = x => x; +const EffectFnAff = x => x; +const fromEffectFnAff = v => Effect$dAff.makeAff(k => () => { + const v1 = v(x => k(Data$dEither.$Either("Left", x))(), x => k(Data$dEither.$Either("Right", x))()); + return e => Effect$dAff.makeAff(k2 => () => { + v1(e, x => k2(Data$dEither.$Either("Left", x))(), x => k2(Data$dEither.$Either("Right", x))()); + return Effect$dAff.nonCanceler; + }); +}); +export {EffectFnAff, EffectFnCanceler, fromEffectFnAff}; diff --git a/.storybook/purescript-indexer/output-es/Effect.Aff/foreign.js b/.storybook/purescript-indexer/output-es/Effect.Aff/foreign.js new file mode 100644 index 0000000..c029eec --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Effect.Aff/foreign.js @@ -0,0 +1,1154 @@ +/* globals setImmediate, clearImmediate, setTimeout, clearTimeout */ +/* eslint-disable no-unused-vars, no-prototype-builtins, no-use-before-define, no-unused-labels, no-param-reassign */ +var Aff = function () { + // A unique value for empty. + var EMPTY = {}; + + /* + + An awkward approximation. We elide evidence we would otherwise need in PS for + efficiency sake. + + data Aff eff a + = Pure a + | Throw Error + | Catch (Aff eff a) (Error -> Aff eff a) + | Sync (Eff eff a) + | Async ((Either Error a -> Eff eff Unit) -> Eff eff (Canceler eff)) + | forall b. Bind (Aff eff b) (b -> Aff eff a) + | forall b. Bracket (Aff eff b) (BracketConditions eff b) (b -> Aff eff a) + | forall b. Fork Boolean (Aff eff b) ?(Fiber eff b -> a) + | Sequential (ParAff aff a) + + */ + var PURE = "Pure"; + var THROW = "Throw"; + var CATCH = "Catch"; + var SYNC = "Sync"; + var ASYNC = "Async"; + var BIND = "Bind"; + var BRACKET = "Bracket"; + var FORK = "Fork"; + var SEQ = "Sequential"; + + /* + + data ParAff eff a + = forall b. Map (b -> a) (ParAff eff b) + | forall b. Apply (ParAff eff (b -> a)) (ParAff eff b) + | Alt (ParAff eff a) (ParAff eff a) + | ?Par (Aff eff a) + + */ + var MAP = "Map"; + var APPLY = "Apply"; + var ALT = "Alt"; + + // Various constructors used in interpretation + var CONS = "Cons"; // Cons-list, for stacks + var RESUME = "Resume"; // Continue indiscriminately + var RELEASE = "Release"; // Continue with bracket finalizers + var FINALIZER = "Finalizer"; // A non-interruptible effect + var FINALIZED = "Finalized"; // Marker for finalization + var FORKED = "Forked"; // Reference to a forked fiber, with resumption stack + var FIBER = "Fiber"; // Actual fiber reference + var THUNK = "Thunk"; // Primed effect, ready to invoke + + function Aff(tag, _1, _2, _3) { + this.tag = tag; + this._1 = _1; + this._2 = _2; + this._3 = _3; + } + + function AffCtr(tag) { + var fn = function (_1, _2, _3) { + return new Aff(tag, _1, _2, _3); + }; + fn.tag = tag; + return fn; + } + + function nonCanceler(error) { + return new Aff(PURE, void 0); + } + + function runEff(eff) { + try { + eff(); + } catch (error) { + setTimeout(function () { + throw error; + }, 0); + } + } + + function runSync(left, right, eff) { + try { + return right(eff()); + } catch (error) { + return left(error); + } + } + + function runAsync(left, eff, k) { + try { + return eff(k)(); + } catch (error) { + k(left(error))(); + return nonCanceler; + } + } + + var Scheduler = function () { + var limit = 1024; + var size = 0; + var ix = 0; + var queue = new Array(limit); + var draining = false; + + function drain() { + var thunk; + draining = true; + while (size !== 0) { + size--; + thunk = queue[ix]; + queue[ix] = void 0; + ix = (ix + 1) % limit; + thunk(); + } + draining = false; + } + + return { + isDraining: function () { + return draining; + }, + enqueue: function (cb) { + var i, tmp; + if (size === limit) { + tmp = draining; + drain(); + draining = tmp; + } + + queue[(ix + size) % limit] = cb; + size++; + + if (!draining) { + drain(); + } + } + }; + }(); + + function Supervisor(util) { + var fibers = {}; + var fiberId = 0; + var count = 0; + + return { + register: function (fiber) { + var fid = fiberId++; + fiber.onComplete({ + rethrow: true, + handler: function (result) { + return function () { + count--; + delete fibers[fid]; + }; + } + })(); + fibers[fid] = fiber; + count++; + }, + isEmpty: function () { + return count === 0; + }, + killAll: function (killError, cb) { + return function () { + if (count === 0) { + return cb(); + } + + var killCount = 0; + var kills = {}; + + function kill(fid) { + kills[fid] = fibers[fid].kill(killError, function (result) { + return function () { + delete kills[fid]; + killCount--; + if (util.isLeft(result) && util.fromLeft(result)) { + setTimeout(function () { + throw util.fromLeft(result); + }, 0); + } + if (killCount === 0) { + cb(); + } + }; + })(); + } + + for (var k in fibers) { + if (fibers.hasOwnProperty(k)) { + killCount++; + kill(k); + } + } + + fibers = {}; + fiberId = 0; + count = 0; + + return function (error) { + return new Aff(SYNC, function () { + for (var k in kills) { + if (kills.hasOwnProperty(k)) { + kills[k](); + } + } + }); + }; + }; + } + }; + } + + // Fiber state machine + var SUSPENDED = 0; // Suspended, pending a join. + var CONTINUE = 1; // Interpret the next instruction. + var STEP_BIND = 2; // Apply the next bind. + var STEP_RESULT = 3; // Handle potential failure from a result. + var PENDING = 4; // An async effect is running. + var RETURN = 5; // The current stack has returned. + var COMPLETED = 6; // The entire fiber has completed. + + function Fiber(util, supervisor, aff) { + // Monotonically increasing tick, increased on each asynchronous turn. + var runTick = 0; + + // The current branch of the state machine. + var status = SUSPENDED; + + // The current point of interest for the state machine branch. + var step = aff; // Successful step + var fail = null; // Failure step + var interrupt = null; // Asynchronous interrupt + + // Stack of continuations for the current fiber. + var bhead = null; + var btail = null; + + // Stack of attempts and finalizers for error recovery. Every `Cons` is also + // tagged with current `interrupt` state. We use this to track which items + // should be ignored or evaluated as a result of a kill. + var attempts = null; + + // A special state is needed for Bracket, because it cannot be killed. When + // we enter a bracket acquisition or finalizer, we increment the counter, + // and then decrement once complete. + var bracketCount = 0; + + // Each join gets a new id so they can be revoked. + var joinId = 0; + var joins = null; + var rethrow = true; + + // Each invocation of `run` requires a tick. When an asynchronous effect is + // resolved, we must check that the local tick coincides with the fiber + // tick before resuming. This prevents multiple async continuations from + // accidentally resuming the same fiber. A common example may be invoking + // the provided callback in `makeAff` more than once, but it may also be an + // async effect resuming after the fiber was already cancelled. + function run(localRunTick) { + var tmp, result, attempt; + while (true) { + tmp = null; + result = null; + attempt = null; + + switch (status) { + case STEP_BIND: + status = CONTINUE; + try { + step = bhead(step); + if (btail === null) { + bhead = null; + } else { + bhead = btail._1; + btail = btail._2; + } + } catch (e) { + status = RETURN; + fail = util.left(e); + step = null; + } + break; + + case STEP_RESULT: + if (util.isLeft(step)) { + status = RETURN; + fail = step; + step = null; + } else if (bhead === null) { + status = RETURN; + } else { + status = STEP_BIND; + step = util.fromRight(step); + } + break; + + case CONTINUE: + switch (step.tag) { + case BIND: + if (bhead) { + btail = new Aff(CONS, bhead, btail); + } + bhead = step._2; + status = CONTINUE; + step = step._1; + break; + + case PURE: + if (bhead === null) { + status = RETURN; + step = util.right(step._1); + } else { + status = STEP_BIND; + step = step._1; + } + break; + + case SYNC: + status = STEP_RESULT; + step = runSync(util.left, util.right, step._1); + break; + + case ASYNC: + status = PENDING; + step = runAsync(util.left, step._1, function (result) { + return function () { + if (runTick !== localRunTick) { + return; + } + runTick++; + Scheduler.enqueue(function () { + // It's possible to interrupt the fiber between enqueuing and + // resuming, so we need to check that the runTick is still + // valid. + if (runTick !== localRunTick + 1) { + return; + } + status = STEP_RESULT; + step = result; + run(runTick); + }); + }; + }); + return; + + case THROW: + status = RETURN; + fail = util.left(step._1); + step = null; + break; + + // Enqueue the Catch so that we can call the error handler later on + // in case of an exception. + case CATCH: + if (bhead === null) { + attempts = new Aff(CONS, step, attempts, interrupt); + } else { + attempts = new Aff(CONS, step, new Aff(CONS, new Aff(RESUME, bhead, btail), attempts, interrupt), interrupt); + } + bhead = null; + btail = null; + status = CONTINUE; + step = step._1; + break; + + // Enqueue the Bracket so that we can call the appropriate handlers + // after resource acquisition. + case BRACKET: + bracketCount++; + if (bhead === null) { + attempts = new Aff(CONS, step, attempts, interrupt); + } else { + attempts = new Aff(CONS, step, new Aff(CONS, new Aff(RESUME, bhead, btail), attempts, interrupt), interrupt); + } + bhead = null; + btail = null; + status = CONTINUE; + step = step._1; + break; + + case FORK: + status = STEP_RESULT; + tmp = Fiber(util, supervisor, step._2); + if (supervisor) { + supervisor.register(tmp); + } + if (step._1) { + tmp.run(); + } + step = util.right(tmp); + break; + + case SEQ: + status = CONTINUE; + step = sequential(util, supervisor, step._1); + break; + } + break; + + case RETURN: + bhead = null; + btail = null; + // If the current stack has returned, and we have no other stacks to + // resume or finalizers to run, the fiber has halted and we can + // invoke all join callbacks. Otherwise we need to resume. + if (attempts === null) { + status = COMPLETED; + step = interrupt || fail || step; + } else { + // The interrupt status for the enqueued item. + tmp = attempts._3; + attempt = attempts._1; + attempts = attempts._2; + + switch (attempt.tag) { + // We cannot recover from an unmasked interrupt. Otherwise we should + // continue stepping, or run the exception handler if an exception + // was raised. + case CATCH: + // We should compare the interrupt status as well because we + // only want it to apply if there has been an interrupt since + // enqueuing the catch. + if (interrupt && interrupt !== tmp && bracketCount === 0) { + status = RETURN; + } else if (fail) { + status = CONTINUE; + step = attempt._2(util.fromLeft(fail)); + fail = null; + } + break; + + // We cannot resume from an unmasked interrupt or exception. + case RESUME: + // As with Catch, we only want to ignore in the case of an + // interrupt since enqueing the item. + if (interrupt && interrupt !== tmp && bracketCount === 0 || fail) { + status = RETURN; + } else { + bhead = attempt._1; + btail = attempt._2; + status = STEP_BIND; + step = util.fromRight(step); + } + break; + + // If we have a bracket, we should enqueue the handlers, + // and continue with the success branch only if the fiber has + // not been interrupted. If the bracket acquisition failed, we + // should not run either. + case BRACKET: + bracketCount--; + if (fail === null) { + result = util.fromRight(step); + // We need to enqueue the Release with the same interrupt + // status as the Bracket that is initiating it. + attempts = new Aff(CONS, new Aff(RELEASE, attempt._2, result), attempts, tmp); + // We should only coninue as long as the interrupt status has not changed or + // we are currently within a non-interruptable finalizer. + if (interrupt === tmp || bracketCount > 0) { + status = CONTINUE; + step = attempt._3(result); + } + } + break; + + // Enqueue the appropriate handler. We increase the bracket count + // because it should not be cancelled. + case RELEASE: + attempts = new Aff(CONS, new Aff(FINALIZED, step, fail), attempts, interrupt); + status = CONTINUE; + // It has only been killed if the interrupt status has changed + // since we enqueued the item, and the bracket count is 0. If the + // bracket count is non-zero then we are in a masked state so it's + // impossible to be killed. + if (interrupt && interrupt !== tmp && bracketCount === 0) { + step = attempt._1.killed(util.fromLeft(interrupt))(attempt._2); + } else if (fail) { + step = attempt._1.failed(util.fromLeft(fail))(attempt._2); + } else { + step = attempt._1.completed(util.fromRight(step))(attempt._2); + } + fail = null; + bracketCount++; + break; + + case FINALIZER: + bracketCount++; + attempts = new Aff(CONS, new Aff(FINALIZED, step, fail), attempts, interrupt); + status = CONTINUE; + step = attempt._1; + break; + + case FINALIZED: + bracketCount--; + status = RETURN; + step = attempt._1; + fail = attempt._2; + break; + } + } + break; + + case COMPLETED: + for (var k in joins) { + if (joins.hasOwnProperty(k)) { + rethrow = rethrow && joins[k].rethrow; + runEff(joins[k].handler(step)); + } + } + joins = null; + // If we have an interrupt and a fail, then the thread threw while + // running finalizers. This should always rethrow in a fresh stack. + if (interrupt && fail) { + setTimeout(function () { + throw util.fromLeft(fail); + }, 0); + // If we have an unhandled exception, and no other fiber has joined + // then we need to throw the exception in a fresh stack. + } else if (util.isLeft(step) && rethrow) { + setTimeout(function () { + // Guard on reathrow because a completely synchronous fiber can + // still have an observer which was added after-the-fact. + if (rethrow) { + throw util.fromLeft(step); + } + }, 0); + } + return; + case SUSPENDED: + status = CONTINUE; + break; + case PENDING: return; + } + } + } + + function onComplete(join) { + return function () { + if (status === COMPLETED) { + rethrow = rethrow && join.rethrow; + join.handler(step)(); + return function () {}; + } + + var jid = joinId++; + joins = joins || {}; + joins[jid] = join; + + return function() { + if (joins !== null) { + delete joins[jid]; + } + }; + }; + } + + function kill(error, cb) { + return function () { + if (status === COMPLETED) { + cb(util.right(void 0))(); + return function () {}; + } + + var canceler = onComplete({ + rethrow: false, + handler: function (/* unused */) { + return cb(util.right(void 0)); + } + })(); + + switch (status) { + case SUSPENDED: + interrupt = util.left(error); + status = COMPLETED; + step = interrupt; + run(runTick); + break; + case PENDING: + if (interrupt === null) { + interrupt = util.left(error); + } + if (bracketCount === 0) { + if (status === PENDING) { + attempts = new Aff(CONS, new Aff(FINALIZER, step(error)), attempts, interrupt); + } + status = RETURN; + step = null; + fail = null; + run(++runTick); + } + break; + default: + if (interrupt === null) { + interrupt = util.left(error); + } + if (bracketCount === 0) { + status = RETURN; + step = null; + fail = null; + } + } + + return canceler; + }; + } + + function join(cb) { + return function () { + var canceler = onComplete({ + rethrow: false, + handler: cb + })(); + if (status === SUSPENDED) { + run(runTick); + } + return canceler; + }; + } + + return { + kill: kill, + join: join, + onComplete: onComplete, + isSuspended: function () { + return status === SUSPENDED; + }, + run: function () { + if (status === SUSPENDED) { + if (!Scheduler.isDraining()) { + Scheduler.enqueue(function () { + run(runTick); + }); + } else { + run(runTick); + } + } + } + }; + } + + function runPar(util, supervisor, par, cb) { + // Table of all forked fibers. + var fiberId = 0; + var fibers = {}; + + // Table of currently running cancelers, as a product of `Alt` behavior. + var killId = 0; + var kills = {}; + + // Error used for early cancelation on Alt branches. + var early = new Error("[ParAff] Early exit"); + + // Error used to kill the entire tree. + var interrupt = null; + + // The root pointer of the tree. + var root = EMPTY; + + // Walks a tree, invoking all the cancelers. Returns the table of pending + // cancellation fibers. + function kill(error, par, cb) { + var step = par; + var head = null; + var tail = null; + var count = 0; + var kills = {}; + var tmp, kid; + + loop: while (true) { + tmp = null; + + switch (step.tag) { + case FORKED: + if (step._3 === EMPTY) { + tmp = fibers[step._1]; + kills[count++] = tmp.kill(error, function (result) { + return function () { + count--; + if (count === 0) { + cb(result)(); + } + }; + }); + } + // Terminal case. + if (head === null) { + break loop; + } + // Go down the right side of the tree. + step = head._2; + if (tail === null) { + head = null; + } else { + head = tail._1; + tail = tail._2; + } + break; + case MAP: + step = step._2; + break; + case APPLY: + case ALT: + if (head) { + tail = new Aff(CONS, head, tail); + } + head = step; + step = step._1; + break; + } + } + + if (count === 0) { + cb(util.right(void 0))(); + } else { + // Run the cancelation effects. We alias `count` because it's mutable. + kid = 0; + tmp = count; + for (; kid < tmp; kid++) { + kills[kid] = kills[kid](); + } + } + + return kills; + } + + // When a fiber resolves, we need to bubble back up the tree with the + // result, computing the applicative nodes. + function join(result, head, tail) { + var fail, step, lhs, rhs, tmp, kid; + + if (util.isLeft(result)) { + fail = result; + step = null; + } else { + step = result; + fail = null; + } + + loop: while (true) { + lhs = null; + rhs = null; + tmp = null; + kid = null; + + // We should never continue if the entire tree has been interrupted. + if (interrupt !== null) { + return; + } + + // We've made it all the way to the root of the tree, which means + // the tree has fully evaluated. + if (head === null) { + cb(fail || step)(); + return; + } + + // The tree has already been computed, so we shouldn't try to do it + // again. This should never happen. + // TODO: Remove this? + if (head._3 !== EMPTY) { + return; + } + + switch (head.tag) { + case MAP: + if (fail === null) { + head._3 = util.right(head._1(util.fromRight(step))); + step = head._3; + } else { + head._3 = fail; + } + break; + case APPLY: + lhs = head._1._3; + rhs = head._2._3; + // If we have a failure we should kill the other side because we + // can't possible yield a result anymore. + if (fail) { + head._3 = fail; + tmp = true; + kid = killId++; + + kills[kid] = kill(early, fail === lhs ? head._2 : head._1, function (/* unused */) { + return function () { + delete kills[kid]; + if (tmp) { + tmp = false; + } else if (tail === null) { + join(fail, null, null); + } else { + join(fail, tail._1, tail._2); + } + }; + }); + + if (tmp) { + tmp = false; + return; + } + } else if (lhs === EMPTY || rhs === EMPTY) { + // We can only proceed if both sides have resolved. + return; + } else { + step = util.right(util.fromRight(lhs)(util.fromRight(rhs))); + head._3 = step; + } + break; + case ALT: + lhs = head._1._3; + rhs = head._2._3; + // We can only proceed if both have resolved or we have a success + if (lhs === EMPTY && util.isLeft(rhs) || rhs === EMPTY && util.isLeft(lhs)) { + return; + } + // If both sides resolve with an error, we should continue with the + // first error + if (lhs !== EMPTY && util.isLeft(lhs) && rhs !== EMPTY && util.isLeft(rhs)) { + fail = step === lhs ? rhs : lhs; + step = null; + head._3 = fail; + } else { + head._3 = step; + tmp = true; + kid = killId++; + // Once a side has resolved, we need to cancel the side that is still + // pending before we can continue. + kills[kid] = kill(early, step === lhs ? head._2 : head._1, function (/* unused */) { + return function () { + delete kills[kid]; + if (tmp) { + tmp = false; + } else if (tail === null) { + join(step, null, null); + } else { + join(step, tail._1, tail._2); + } + }; + }); + + if (tmp) { + tmp = false; + return; + } + } + break; + } + + if (tail === null) { + head = null; + } else { + head = tail._1; + tail = tail._2; + } + } + } + + function resolve(fiber) { + return function (result) { + return function () { + delete fibers[fiber._1]; + fiber._3 = result; + join(result, fiber._2._1, fiber._2._2); + }; + }; + } + + // Walks the applicative tree, substituting non-applicative nodes with + // `FORKED` nodes. In this tree, all applicative nodes use the `_3` slot + // as a mutable slot for memoization. In an unresolved state, the `_3` + // slot is `EMPTY`. In the cases of `ALT` and `APPLY`, we always walk + // the left side first, because both operations are left-associative. As + // we `RETURN` from those branches, we then walk the right side. + function run() { + var status = CONTINUE; + var step = par; + var head = null; + var tail = null; + var tmp, fid; + + loop: while (true) { + tmp = null; + fid = null; + + switch (status) { + case CONTINUE: + switch (step.tag) { + case MAP: + if (head) { + tail = new Aff(CONS, head, tail); + } + head = new Aff(MAP, step._1, EMPTY, EMPTY); + step = step._2; + break; + case APPLY: + if (head) { + tail = new Aff(CONS, head, tail); + } + head = new Aff(APPLY, EMPTY, step._2, EMPTY); + step = step._1; + break; + case ALT: + if (head) { + tail = new Aff(CONS, head, tail); + } + head = new Aff(ALT, EMPTY, step._2, EMPTY); + step = step._1; + break; + default: + // When we hit a leaf value, we suspend the stack in the `FORKED`. + // When the fiber resolves, it can bubble back up the tree. + fid = fiberId++; + status = RETURN; + tmp = step; + step = new Aff(FORKED, fid, new Aff(CONS, head, tail), EMPTY); + tmp = Fiber(util, supervisor, tmp); + tmp.onComplete({ + rethrow: false, + handler: resolve(step) + })(); + fibers[fid] = tmp; + if (supervisor) { + supervisor.register(tmp); + } + } + break; + case RETURN: + // Terminal case, we are back at the root. + if (head === null) { + break loop; + } + // If we are done with the right side, we need to continue down the + // left. Otherwise we should continue up the stack. + if (head._1 === EMPTY) { + head._1 = step; + status = CONTINUE; + step = head._2; + head._2 = EMPTY; + } else { + head._2 = step; + step = head; + if (tail === null) { + head = null; + } else { + head = tail._1; + tail = tail._2; + } + } + } + } + + // Keep a reference to the tree root so it can be cancelled. + root = step; + + for (fid = 0; fid < fiberId; fid++) { + fibers[fid].run(); + } + } + + // Cancels the entire tree. If there are already subtrees being canceled, + // we need to first cancel those joins. We will then add fresh joins for + // all pending branches including those that were in the process of being + // canceled. + function cancel(error, cb) { + interrupt = util.left(error); + var innerKills; + for (var kid in kills) { + if (kills.hasOwnProperty(kid)) { + innerKills = kills[kid]; + for (kid in innerKills) { + if (innerKills.hasOwnProperty(kid)) { + innerKills[kid](); + } + } + } + } + + kills = null; + var newKills = kill(error, root, cb); + + return function (killError) { + return new Aff(ASYNC, function (killCb) { + return function () { + for (var kid in newKills) { + if (newKills.hasOwnProperty(kid)) { + newKills[kid](); + } + } + return nonCanceler; + }; + }); + }; + } + + run(); + + return function (killError) { + return new Aff(ASYNC, function (killCb) { + return function () { + return cancel(killError, killCb); + }; + }); + }; + } + + function sequential(util, supervisor, par) { + return new Aff(ASYNC, function (cb) { + return function () { + return runPar(util, supervisor, par, cb); + }; + }); + } + + Aff.EMPTY = EMPTY; + Aff.Pure = AffCtr(PURE); + Aff.Throw = AffCtr(THROW); + Aff.Catch = AffCtr(CATCH); + Aff.Sync = AffCtr(SYNC); + Aff.Async = AffCtr(ASYNC); + Aff.Bind = AffCtr(BIND); + Aff.Bracket = AffCtr(BRACKET); + Aff.Fork = AffCtr(FORK); + Aff.Seq = AffCtr(SEQ); + Aff.ParMap = AffCtr(MAP); + Aff.ParApply = AffCtr(APPLY); + Aff.ParAlt = AffCtr(ALT); + Aff.Fiber = Fiber; + Aff.Supervisor = Supervisor; + Aff.Scheduler = Scheduler; + Aff.nonCanceler = nonCanceler; + + return Aff; +}(); + +export const _pure = Aff.Pure; +export const _throwError = Aff.Throw; + +export function _catchError(aff) { + return function (k) { + return Aff.Catch(aff, k); + }; +} + +export function _map(f) { + return function (aff) { + if (aff.tag === Aff.Pure.tag) { + return Aff.Pure(f(aff._1)); + } else { + return Aff.Bind(aff, function (value) { + return Aff.Pure(f(value)); + }); + } + }; +} + +export function _bind(aff) { + return function (k) { + return Aff.Bind(aff, k); + }; +} + +export function _fork(immediate) { + return function (aff) { + return Aff.Fork(immediate, aff); + }; +} + +export const _liftEffect = Aff.Sync; + +export function _parAffMap(f) { + return function (aff) { + return Aff.ParMap(f, aff); + }; +} + +export function _parAffApply(aff1) { + return function (aff2) { + return Aff.ParApply(aff1, aff2); + }; +} + +export function _parAffAlt(aff1) { + return function (aff2) { + return Aff.ParAlt(aff1, aff2); + }; +} + +export const makeAff = Aff.Async; + +export function generalBracket(acquire) { + return function (options) { + return function (k) { + return Aff.Bracket(acquire, options, k); + }; + }; +} + +export function _makeFiber(util, aff) { + return function () { + return Aff.Fiber(util, null, aff); + }; +} + +export function _makeSupervisedFiber(util, aff) { + return function () { + var supervisor = Aff.Supervisor(util); + return { + fiber: Aff.Fiber(util, supervisor, aff), + supervisor: supervisor + }; + }; +} + +export function _killAll(error, supervisor, cb) { + return supervisor.killAll(error, cb); +} + +export const _delay = function () { + function setDelay(n, k) { + if (n === 0 && typeof setImmediate !== "undefined") { + return setImmediate(k); + } else { + return setTimeout(k, n); + } + } + + function clearDelay(n, t) { + if (n === 0 && typeof clearImmediate !== "undefined") { + return clearImmediate(t); + } else { + return clearTimeout(t); + } + } + + return function (right, ms) { + return Aff.Async(function (cb) { + return function () { + var timer = setDelay(ms, cb(right())); + return function () { + return Aff.Sync(function () { + return right(clearDelay(ms, timer)); + }); + }; + }; + }); + }; +}(); + +export const _sequential = Aff.Seq; diff --git a/.storybook/purescript-indexer/output-es/Effect.Aff/index.js b/.storybook/purescript-indexer/output-es/Effect.Aff/index.js new file mode 100644 index 0000000..9f19a2e --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Effect.Aff/index.js @@ -0,0 +1,264 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dError$dClass from "../Control.Monad.Error.Class/index.js"; +import * as Control$dParallel from "../Control.Parallel/index.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import * as Effect$dException from "../Effect.Exception/index.js"; +import * as Effect$dUnsafe from "../Effect.Unsafe/index.js"; +import * as Partial from "../Partial/index.js"; +import * as Unsafe$dCoerce from "../Unsafe.Coerce/index.js"; +import { + _bind, + _catchError, + _delay, + _fork, + _killAll, + _liftEffect, + _makeFiber, + _makeSupervisedFiber, + _map, + _parAffAlt, + _parAffApply, + _parAffMap, + _pure, + _sequential, + _throwError, + generalBracket, + makeAff +} from "./foreign.js"; +const Canceler = x => x; +const suspendAff = /* #__PURE__ */ _fork(false); +const newtypeCanceler = {Coercible0: () => undefined}; +const functorParAff = {map: _parAffMap}; +const functorAff = {map: _map}; +const forkAff = /* #__PURE__ */ _fork(true); +const ffiUtil = { + isLeft: v => { + if (v.tag === "Left") { return true; } + if (v.tag === "Right") { return false; } + $runtime.fail(); + }, + fromLeft: v => { + if (v.tag === "Left") { return v._1; } + if (v.tag === "Right") { return Partial._crashWith("unsafeFromLeft: Right"); } + $runtime.fail(); + }, + fromRight: v => { + if (v.tag === "Right") { return v._1; } + if (v.tag === "Left") { return Partial._crashWith("unsafeFromRight: Left"); } + $runtime.fail(); + }, + left: Data$dEither.Left, + right: Data$dEither.Right +}; +const makeFiber = aff => _makeFiber(ffiUtil, aff); +const launchAff = aff => { + const $1 = _makeFiber(ffiUtil, aff); + return () => { + const fiber = $1(); + fiber.run(); + return fiber; + }; +}; +const launchAff_ = x => { + const $1 = _makeFiber(ffiUtil, x); + return () => { + const fiber = $1(); + fiber.run(); + return Data$dUnit.unit; + }; +}; +const launchSuspendedAff = makeFiber; +const delay = v => _delay(Data$dEither.Right, v); +const bracket = acquire => completed => generalBracket(acquire)({killed: v => completed, failed: v => completed, completed: v => completed}); +const applyParAff = {apply: _parAffApply, Functor0: () => functorParAff}; +const semigroupParAff = dictSemigroup => ({append: a => b => _parAffApply(_parAffMap(dictSemigroup.append)(a))(b)}); +const monadAff = {Applicative0: () => applicativeAff, Bind1: () => bindAff}; +const bindAff = {bind: _bind, Apply0: () => applyAff}; +const applyAff = {apply: f => a => _bind(f)(f$p => _bind(a)(a$p => applicativeAff.pure(f$p(a$p)))), Functor0: () => functorAff}; +const applicativeAff = {pure: _pure, Apply0: () => applyAff}; +const cancelWith = aff => v => generalBracket(_pure(Data$dUnit.unit))({killed: e => v1 => v(e), failed: v$1 => _pure, completed: v$1 => _pure})(v$1 => aff); +const $$finally = fin => a => generalBracket(_pure(Data$dUnit.unit))({killed: v => v$1 => fin, failed: v => v$1 => fin, completed: v => v$1 => fin})(v => a); +const invincible = a => { + const $1 = _pure(Data$dUnit.unit); + return generalBracket(a)({killed: v => v$1 => $1, failed: v => v$1 => $1, completed: v => v$1 => $1})(_pure); +}; +const lazyAff = {defer: f => _bind(_pure(Data$dUnit.unit))(f)}; +const semigroupAff = dictSemigroup => ({append: a => b => applyAff.apply(_map(dictSemigroup.append)(a))(b)}); +const monadEffectAff = {liftEffect: _liftEffect, Monad0: () => monadAff}; +const effectCanceler = x => { + const $1 = _liftEffect(x); + return v => $1; +}; +const joinFiber = v => makeAff(k => { + const $2 = v.join(k); + return () => { + const a$p = $2(); + return (() => { + const $4 = _liftEffect(a$p); + return v$1 => $4; + })(); + }; +}); +const functorFiber = {map: f => t => Effect$dUnsafe.unsafePerformEffect(_makeFiber(ffiUtil, _map(f)(joinFiber(t))))}; +const applyFiber = {apply: t1 => t2 => Effect$dUnsafe.unsafePerformEffect(_makeFiber(ffiUtil, applyAff.apply(joinFiber(t1))(joinFiber(t2)))), Functor0: () => functorFiber}; +const applicativeFiber = {pure: a => Effect$dUnsafe.unsafePerformEffect(_makeFiber(ffiUtil, _pure(a))), Apply0: () => applyFiber}; +const killFiber = e => v => _bind(_liftEffect(v.isSuspended))(suspended => { + if (suspended) { + return _liftEffect((() => { + const $3 = v.kill(e, v$1 => () => Data$dUnit.unit); + return () => { + $3(); + return Data$dUnit.unit; + }; + })()); + } + return makeAff(k => { + const $4 = v.kill(e, k); + return () => { + const a$p = $4(); + return (() => { + const $6 = _liftEffect(a$p); + return v$1 => $6; + })(); + }; + }); +}); +const fiberCanceler = x => a => killFiber(a)(x); +const monadSTAff = {liftST: x => _liftEffect(x), Monad0: () => monadAff}; +const monadThrowAff = {throwError: _throwError, Monad0: () => monadAff}; +const monadErrorAff = {catchError: _catchError, MonadThrow0: () => monadThrowAff}; +const $$try = /* #__PURE__ */ Control$dMonad$dError$dClass.try(monadErrorAff); +const attempt = $$try; +const runAff = k => aff => { + const $2 = _makeFiber(ffiUtil, _bind($$try(aff))(x => _liftEffect(k(x)))); + return () => { + const fiber = $2(); + fiber.run(); + return fiber; + }; +}; +const runAff_ = k => aff => { + const $2 = runAff(k)(aff); + return () => { + $2(); + return Data$dUnit.unit; + }; +}; +const runSuspendedAff = k => aff => _makeFiber(ffiUtil, _bind($$try(aff))(x => _liftEffect(k(x)))); +const parallelAff = {parallel: Unsafe$dCoerce.unsafeCoerce, sequential: _sequential, Monad0: () => monadAff, Applicative1: () => applicativeParAff}; +const applicativeParAff = {pure: x => _pure(x), Apply0: () => applyParAff}; +const parSequence_ = /* #__PURE__ */ Control$dParallel.parTraverse_(parallelAff)(Data$dFoldable.foldableArray)(Control$dParallel.identity); +const monoidParAff = dictMonoid => { + const $1 = dictMonoid.Semigroup0(); + const semigroupParAff1 = {append: a => b => _parAffApply(_parAffMap($1.append)(a))(b)}; + return {mempty: _pure(dictMonoid.mempty), Semigroup0: () => semigroupParAff1}; +}; +const semigroupCanceler = {append: v => v1 => err => parSequence_([v(err), v1(err)])}; +const supervise = aff => { + const killError = Effect$dException.error("[Aff] Child fiber outlived parent"); + return generalBracket(_liftEffect((() => { + const $2 = _makeSupervisedFiber(ffiUtil, aff); + return () => { + const sup = $2(); + sup.fiber.run(); + return sup; + }; + })()))({ + killed: err => sup => parSequence_([killFiber(err)(sup.fiber), makeAff(k => _killAll(err, sup.supervisor, k(Data$dEither.$Either("Right", Data$dUnit.unit))))]), + failed: v => sup => makeAff(k => _killAll(killError, sup.supervisor, k(Data$dEither.$Either("Right", Data$dUnit.unit)))), + completed: v => sup => makeAff(k => _killAll(killError, sup.supervisor, k(Data$dEither.$Either("Right", Data$dUnit.unit)))) + })(x => joinFiber(x.fiber)); +}; +const monadRecAff = { + tailRecM: k => { + const go = a => _bind(k(a))(res => { + if (res.tag === "Done") { return _pure(res._1); } + if (res.tag === "Loop") { return go(res._1); } + $runtime.fail(); + }); + return go; + }, + Monad0: () => monadAff +}; +const monoidAff = dictMonoid => { + const $1 = dictMonoid.Semigroup0(); + const semigroupAff1 = {append: a => b => applyAff.apply(_map($1.append)(a))(b)}; + return {mempty: _pure(dictMonoid.mempty), Semigroup0: () => semigroupAff1}; +}; +const nonCanceler = /* #__PURE__ */ (() => { + const $0 = _pure(Data$dUnit.unit); + return v => $0; +})(); +const monoidCanceler = {mempty: nonCanceler, Semigroup0: () => semigroupCanceler}; +const never = /* #__PURE__ */ makeAff(v => () => nonCanceler); +const apathize = /* #__PURE__ */ (() => { + const $0 = _map(v => Data$dUnit.unit); + return x => $0($$try(x)); +})(); +const altParAff = {alt: _parAffAlt, Functor0: () => functorParAff}; +const altAff = {alt: a1 => a2 => _catchError(a1)(v => a2), Functor0: () => functorAff}; +const plusAff = {empty: /* #__PURE__ */ _throwError(/* #__PURE__ */ Effect$dException.error("Always fails")), Alt0: () => altAff}; +const plusParAff = /* #__PURE__ */ (() => ({empty: plusAff.empty, Alt0: () => altParAff}))(); +const alternativeParAff = {Applicative0: () => applicativeParAff, Plus1: () => plusParAff}; +export { + Canceler, + altAff, + altParAff, + alternativeParAff, + apathize, + applicativeAff, + applicativeFiber, + applicativeParAff, + applyAff, + applyFiber, + applyParAff, + attempt, + bindAff, + bracket, + cancelWith, + delay, + effectCanceler, + ffiUtil, + fiberCanceler, + $$finally as finally, + forkAff, + functorAff, + functorFiber, + functorParAff, + invincible, + joinFiber, + killFiber, + launchAff, + launchAff_, + launchSuspendedAff, + lazyAff, + makeFiber, + monadAff, + monadEffectAff, + monadErrorAff, + monadRecAff, + monadSTAff, + monadThrowAff, + monoidAff, + monoidCanceler, + monoidParAff, + never, + newtypeCanceler, + nonCanceler, + parSequence_, + parallelAff, + plusAff, + plusParAff, + runAff, + runAff_, + runSuspendedAff, + semigroupAff, + semigroupCanceler, + semigroupParAff, + supervise, + suspendAff, + $$try as try +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Effect.Class.Console/index.js b/.storybook/purescript-indexer/output-es/Effect.Class.Console/index.js new file mode 100644 index 0000000..bbc1937 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Effect.Class.Console/index.js @@ -0,0 +1,17 @@ +import * as $runtime from "../runtime.js"; +import * as Effect$dConsole from "../Effect.Console/index.js"; +const warnShow = dictMonadEffect => dictShow => x => dictMonadEffect.liftEffect(Effect$dConsole.warn(dictShow.show(x))); +const warn = dictMonadEffect => x => dictMonadEffect.liftEffect(Effect$dConsole.warn(x)); +const timeLog = dictMonadEffect => x => dictMonadEffect.liftEffect(Effect$dConsole.timeLog(x)); +const timeEnd = dictMonadEffect => x => dictMonadEffect.liftEffect(Effect$dConsole.timeEnd(x)); +const time = dictMonadEffect => x => dictMonadEffect.liftEffect(Effect$dConsole.time(x)); +const logShow = dictMonadEffect => dictShow => x => dictMonadEffect.liftEffect(Effect$dConsole.log(dictShow.show(x))); +const log = dictMonadEffect => x => dictMonadEffect.liftEffect(Effect$dConsole.log(x)); +const infoShow = dictMonadEffect => dictShow => x => dictMonadEffect.liftEffect(Effect$dConsole.info(dictShow.show(x))); +const info = dictMonadEffect => x => dictMonadEffect.liftEffect(Effect$dConsole.info(x)); +const errorShow = dictMonadEffect => dictShow => x => dictMonadEffect.liftEffect(Effect$dConsole.error(dictShow.show(x))); +const error = dictMonadEffect => x => dictMonadEffect.liftEffect(Effect$dConsole.error(x)); +const debugShow = dictMonadEffect => dictShow => x => dictMonadEffect.liftEffect(Effect$dConsole.debug(dictShow.show(x))); +const debug = dictMonadEffect => x => dictMonadEffect.liftEffect(Effect$dConsole.debug(x)); +const clear = dictMonadEffect => dictMonadEffect.liftEffect(Effect$dConsole.clear); +export {clear, debug, debugShow, error, errorShow, info, infoShow, log, logShow, time, timeEnd, timeLog, warn, warnShow}; diff --git a/.storybook/purescript-indexer/output-es/Effect.Class/index.js b/.storybook/purescript-indexer/output-es/Effect.Class/index.js new file mode 100644 index 0000000..9cce55d --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Effect.Class/index.js @@ -0,0 +1,5 @@ +import * as $runtime from "../runtime.js"; +import * as Effect from "../Effect/index.js"; +const monadEffectEffect = {liftEffect: x => x, Monad0: () => Effect.monadEffect}; +const liftEffect = dict => dict.liftEffect; +export {liftEffect, monadEffectEffect}; diff --git a/.storybook/purescript-indexer/output-es/Effect.Console/foreign.js b/.storybook/purescript-indexer/output-es/Effect.Console/foreign.js new file mode 100644 index 0000000..b96fed8 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Effect.Console/foreign.js @@ -0,0 +1,51 @@ +export const log = function (s) { + return function () { + console.log(s); + }; +}; + +export const warn = function (s) { + return function () { + console.warn(s); + }; +}; + +export const error = function (s) { + return function () { + console.error(s); + }; +}; + +export const info = function (s) { + return function () { + console.info(s); + }; +}; + +export const debug = function (s) { + return function () { + console.debug(s); + }; +}; + +export const time = function (s) { + return function () { + console.time(s); + }; +}; + +export const timeLog = function (s) { + return function () { + console.timeLog(s); + }; +}; + +export const timeEnd = function (s) { + return function () { + console.timeEnd(s); + }; +}; + +export const clear = function () { + console.clear(); +}; diff --git a/.storybook/purescript-indexer/output-es/Effect.Console/index.js b/.storybook/purescript-indexer/output-es/Effect.Console/index.js new file mode 100644 index 0000000..59677c3 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Effect.Console/index.js @@ -0,0 +1,9 @@ +import * as $runtime from "../runtime.js"; +import {clear, debug, error, info, log, time, timeEnd, timeLog, warn} from "./foreign.js"; +const warnShow = dictShow => a => warn(dictShow.show(a)); +const logShow = dictShow => a => log(dictShow.show(a)); +const infoShow = dictShow => a => info(dictShow.show(a)); +const errorShow = dictShow => a => error(dictShow.show(a)); +const debugShow = dictShow => a => debug(dictShow.show(a)); +export {debugShow, errorShow, infoShow, logShow, warnShow}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Effect.Exception.Unsafe/index.js b/.storybook/purescript-indexer/output-es/Effect.Exception.Unsafe/index.js new file mode 100644 index 0000000..0945d1a --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Effect.Exception.Unsafe/index.js @@ -0,0 +1,6 @@ +import * as $runtime from "../runtime.js"; +import * as Effect$dException from "../Effect.Exception/index.js"; +import * as Effect$dUnsafe from "../Effect.Unsafe/index.js"; +const unsafeThrowException = x => Effect$dUnsafe.unsafePerformEffect(Effect$dException.throwException(x)); +const unsafeThrow = x => Effect$dUnsafe.unsafePerformEffect(Effect$dException.throwException(Effect$dException.error(x))); +export {unsafeThrow, unsafeThrowException}; diff --git a/.storybook/purescript-indexer/output-es/Effect.Exception/foreign.js b/.storybook/purescript-indexer/output-es/Effect.Exception/foreign.js new file mode 100644 index 0000000..40c0eee --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Effect.Exception/foreign.js @@ -0,0 +1,45 @@ +export function showErrorImpl(err) { + return err.stack || err.toString(); +} + +export function error(msg) { + return new Error(msg); +} + +export function message(e) { + return e.message; +} + +export function name(e) { + return e.name || "Error"; +} + +export function stackImpl(just) { + return function (nothing) { + return function (e) { + return e.stack ? just(e.stack) : nothing; + }; + }; +} + +export function throwException(e) { + return function () { + throw e; + }; +} + +export function catchException(c) { + return function (t) { + return function () { + try { + return t(); + } catch (e) { + if (e instanceof Error || Object.prototype.toString.call(e) === "[object Error]") { + return c(e)(); + } else { + return c(new Error(e.toString()))(); + } + } + }; + }; +} diff --git a/.storybook/purescript-indexer/output-es/Effect.Exception/index.js b/.storybook/purescript-indexer/output-es/Effect.Exception/index.js new file mode 100644 index 0000000..f014b17 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Effect.Exception/index.js @@ -0,0 +1,15 @@ +// | This module defines an effect, actions and handlers for working +// | with JavaScript exceptions. +import * as $runtime from "../runtime.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import {catchException, error, message, name, showErrorImpl, stackImpl, throwException} from "./foreign.js"; +const $$try = action => catchException(x => () => Data$dEither.$Either("Left", x))(() => { + const a$p = action(); + return Data$dEither.$Either("Right", a$p); +}); +const $$throw = x => throwException(error(x)); +const stack = /* #__PURE__ */ stackImpl(Data$dMaybe.Just)(Data$dMaybe.Nothing); +const showError = {show: showErrorImpl}; +export {showError, stack, $$throw as throw, $$try as try}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Effect.Now/foreign.js b/.storybook/purescript-indexer/output-es/Effect.Now/foreign.js new file mode 100644 index 0000000..9e4023b --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Effect.Now/foreign.js @@ -0,0 +1,8 @@ +export function now() { + return Date.now(); +} + +export function getTimezoneOffset() { + var n = new Date(Date.now()); + return n.getTimezoneOffset(); +} diff --git a/.storybook/purescript-indexer/output-es/Effect.Now/index.js b/.storybook/purescript-indexer/output-es/Effect.Now/index.js new file mode 100644 index 0000000..9a396cc --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Effect.Now/index.js @@ -0,0 +1,17 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dDateTime$dInstant from "../Data.DateTime.Instant/index.js"; +import {getTimezoneOffset, now} from "./foreign.js"; +const nowTime = () => { + const a$p = now(); + return Data$dDateTime$dInstant.toDateTime(a$p)._2; +}; +const nowDateTime = () => { + const a$p = now(); + return Data$dDateTime$dInstant.toDateTime(a$p); +}; +const nowDate = () => { + const a$p = now(); + return Data$dDateTime$dInstant.toDateTime(a$p)._1; +}; +export {nowDate, nowDateTime, nowTime}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Effect.Ref/foreign.js b/.storybook/purescript-indexer/output-es/Effect.Ref/foreign.js new file mode 100644 index 0000000..6427e0d --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Effect.Ref/foreign.js @@ -0,0 +1,37 @@ +export const _new = function (val) { + return function () { + return { value: val }; + }; +}; + +export const newWithSelf = function (f) { + return function () { + var ref = { value: null }; + ref.value = f(ref); + return ref; + }; +}; + +export const read = function (ref) { + return function () { + return ref.value; + }; +}; + +export const modifyImpl = function (f) { + return function (ref) { + return function () { + var t = f(ref.value); + ref.value = t.state; + return t.value; + }; + }; +}; + +export const write = function (val) { + return function (ref) { + return function () { + ref.value = val; + }; + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Effect.Ref/index.js b/.storybook/purescript-indexer/output-es/Effect.Ref/index.js new file mode 100644 index 0000000..4e3c1dc --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Effect.Ref/index.js @@ -0,0 +1,37 @@ +// | This module defines the `Ref` type for mutable value references, as well +// | as actions for working with them. +// | +// | You'll notice that all of the functions that operate on a `Ref` (e.g. +// | `new`, `read`, `write`) return their result wrapped in an `Effect`. +// | Working with mutable references is considered effectful in PureScript +// | because of the principle of purity: functions should not have side +// | effects, and should return the same result when called with the same +// | arguments. If a `Ref` could be written to without using `Effect`, that +// | would cause a side effect (the effect of changing the result of subsequent +// | reads for that `Ref`). If there were a function for reading the current +// | value of a `Ref` without the result being wrapped in `Effect`, the result +// | of calling that function would change each time a new value was written to +// | the `Ref`. Even creating a new `Ref` is effectful: if there were a +// | function for creating a new `Ref` with the type `forall s. s -> Ref s`, +// | then calling that function twice with the same argument would not give the +// | same result in each case, since you'd end up with two distinct references +// | which could be updated independently of each other. +// | +// | _Note_: `Control.Monad.ST` provides a pure alternative to `Ref` when +// | mutation is restricted to a local scope. +import * as $runtime from "../runtime.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import {_new, modifyImpl, newWithSelf, read, write} from "./foreign.js"; +const $$new = _new; +const modify$p = modifyImpl; +const modify = f => modifyImpl(s => { + const s$p = f(s); + return {state: s$p, value: s$p}; +}); +const modify_ = f => s => () => { + const $2 = s.value; + s.value = f($2); + return Data$dUnit.unit; +}; +export {modify, modify$p, modify_, $$new as new}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Effect.Uncurried/foreign.js b/.storybook/purescript-indexer/output-es/Effect.Uncurried/foreign.js new file mode 100644 index 0000000..09d4933 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Effect.Uncurried/foreign.js @@ -0,0 +1,229 @@ +export const mkEffectFn1 = function mkEffectFn1(fn) { + return function(x) { + return fn(x)(); + }; +}; + +export const mkEffectFn2 = function mkEffectFn2(fn) { + return function(a, b) { + return fn(a)(b)(); + }; +}; + +export const mkEffectFn3 = function mkEffectFn3(fn) { + return function(a, b, c) { + return fn(a)(b)(c)(); + }; +}; + +export const mkEffectFn4 = function mkEffectFn4(fn) { + return function(a, b, c, d) { + return fn(a)(b)(c)(d)(); + }; +}; + +export const mkEffectFn5 = function mkEffectFn5(fn) { + return function(a, b, c, d, e) { + return fn(a)(b)(c)(d)(e)(); + }; +}; + +export const mkEffectFn6 = function mkEffectFn6(fn) { + return function(a, b, c, d, e, f) { + return fn(a)(b)(c)(d)(e)(f)(); + }; +}; + +export const mkEffectFn7 = function mkEffectFn7(fn) { + return function(a, b, c, d, e, f, g) { + return fn(a)(b)(c)(d)(e)(f)(g)(); + }; +}; + +export const mkEffectFn8 = function mkEffectFn8(fn) { + return function(a, b, c, d, e, f, g, h) { + return fn(a)(b)(c)(d)(e)(f)(g)(h)(); + }; +}; + +export const mkEffectFn9 = function mkEffectFn9(fn) { + return function(a, b, c, d, e, f, g, h, i) { + return fn(a)(b)(c)(d)(e)(f)(g)(h)(i)(); + }; +}; + +export const mkEffectFn10 = function mkEffectFn10(fn) { + return function(a, b, c, d, e, f, g, h, i, j) { + return fn(a)(b)(c)(d)(e)(f)(g)(h)(i)(j)(); + }; +}; + +export const runEffectFn1 = function runEffectFn1(fn) { + return function(a) { + return function() { + return fn(a); + }; + }; +}; + +export const runEffectFn2 = function runEffectFn2(fn) { + return function(a) { + return function(b) { + return function() { + return fn(a, b); + }; + }; + }; +}; + +export const runEffectFn3 = function runEffectFn3(fn) { + return function(a) { + return function(b) { + return function(c) { + return function() { + return fn(a, b, c); + }; + }; + }; + }; +}; + +export const runEffectFn4 = function runEffectFn4(fn) { + return function(a) { + return function(b) { + return function(c) { + return function(d) { + return function() { + return fn(a, b, c, d); + }; + }; + }; + }; + }; +}; + +export const runEffectFn5 = function runEffectFn5(fn) { + return function(a) { + return function(b) { + return function(c) { + return function(d) { + return function(e) { + return function() { + return fn(a, b, c, d, e); + }; + }; + }; + }; + }; + }; +}; + +export const runEffectFn6 = function runEffectFn6(fn) { + return function(a) { + return function(b) { + return function(c) { + return function(d) { + return function(e) { + return function(f) { + return function() { + return fn(a, b, c, d, e, f); + }; + }; + }; + }; + }; + }; + }; +}; + +export const runEffectFn7 = function runEffectFn7(fn) { + return function(a) { + return function(b) { + return function(c) { + return function(d) { + return function(e) { + return function(f) { + return function(g) { + return function() { + return fn(a, b, c, d, e, f, g); + }; + }; + }; + }; + }; + }; + }; + }; +}; + +export const runEffectFn8 = function runEffectFn8(fn) { + return function(a) { + return function(b) { + return function(c) { + return function(d) { + return function(e) { + return function(f) { + return function(g) { + return function(h) { + return function() { + return fn(a, b, c, d, e, f, g, h); + }; + }; + }; + }; + }; + }; + }; + }; + }; +}; + +export const runEffectFn9 = function runEffectFn9(fn) { + return function(a) { + return function(b) { + return function(c) { + return function(d) { + return function(e) { + return function(f) { + return function(g) { + return function(h) { + return function(i) { + return function() { + return fn(a, b, c, d, e, f, g, h, i); + }; + }; + }; + }; + }; + }; + }; + }; + }; + }; +}; + +export const runEffectFn10 = function runEffectFn10(fn) { + return function(a) { + return function(b) { + return function(c) { + return function(d) { + return function(e) { + return function(f) { + return function(g) { + return function(h) { + return function(i) { + return function(j) { + return function() { + return fn(a, b, c, d, e, f, g, h, i, j); + }; + }; + }; + }; + }; + }; + }; + }; + }; + }; + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Effect.Uncurried/index.js b/.storybook/purescript-indexer/output-es/Effect.Uncurried/index.js new file mode 100644 index 0000000..98d6deb --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Effect.Uncurried/index.js @@ -0,0 +1,377 @@ +// | This module defines types for effectful uncurried functions, as well as +// | functions for converting back and forth between them. +// | +// | This makes it possible to give a PureScript type to JavaScript functions +// | such as this one: +// | +// | ```javascript +// | function logMessage(level, message) { +// | console.log(level + ": " + message); +// | } +// | ``` +// | +// | In particular, note that `logMessage` performs effects immediately after +// | receiving all of its parameters, so giving it the type `Data.Function.Fn2 +// | String String Unit`, while convenient, would effectively be a lie. +// | +// | One way to handle this would be to convert the function into the normal +// | PureScript form (namely, a curried function returning an Effect action), +// | and performing the marshalling in JavaScript, in the FFI module, like this: +// | +// | ```purescript +// | -- In the PureScript file: +// | foreign import logMessage :: String -> String -> Effect Unit +// | ``` +// | +// | ```javascript +// | // In the FFI file: +// | exports.logMessage = function(level) { +// | return function(message) { +// | return function() { +// | logMessage(level, message); +// | }; +// | }; +// | }; +// | ``` +// | +// | This method, unfortunately, turns out to be both tiresome and error-prone. +// | This module offers an alternative solution. By providing you with: +// | +// | * the ability to give the real `logMessage` function a PureScript type, +// | and +// | * functions for converting between this form and the normal PureScript +// | form, +// | +// | the FFI boilerplate is no longer needed. The previous example becomes: +// | +// | ```purescript +// | -- In the PureScript file: +// | foreign import logMessageImpl :: EffectFn2 String String Unit +// | ``` +// | +// | ```javascript +// | // In the FFI file: +// | exports.logMessageImpl = logMessage +// | ``` +// | +// | You can then use `runEffectFn2` to provide a nicer version: +// | +// | ```purescript +// | logMessage :: String -> String -> Effect Unit +// | logMessage = runEffectFn2 logMessageImpl +// | ``` +// | +// | (note that this has the same type as the original `logMessage`). +// | +// | Effectively, we have reduced the risk of errors by moving as much code into +// | PureScript as possible, so that we can leverage the type system. Hopefully, +// | this is a little less tiresome too. +// | +// | Here's a slightly more advanced example. Here, because we are using +// | callbacks, we need to use `mkEffectFn{N}` as well. +// | +// | Suppose our `logMessage` changes so that it sometimes sends details of the +// | message to some external server, and in those cases, we want the resulting +// | `HttpResponse` (for whatever reason). +// | +// | ```javascript +// | function logMessage(level, message, callback) { +// | console.log(level + ": " + message); +// | if (level > LogLevel.WARN) { +// | LogAggregatorService.post("/logs", { +// | level: level, +// | message: message +// | }, callback); +// | } else { +// | callback(null); +// | } +// | } +// | ``` +// | +// | The import then looks like this: +// | ```purescript +// | foreign import logMessageImpl +// | EffectFn3 +// | String +// | String +// | (EffectFn1 (Nullable HttpResponse) Unit) +// | Unit +// | ``` +// | +// | And, as before, the FFI file is extremely simple: +// | +// | ```javascript +// | exports.logMessageImpl = logMessage +// | ``` +// | +// | Finally, we use `runEffectFn{N}` and `mkEffectFn{N}` for a more comfortable +// | PureScript version: +// | +// | ```purescript +// | logMessage :: +// | String -> +// | String -> +// | (Nullable HttpResponse -> Effect Unit) -> +// | Effect Unit +// | logMessage level message callback = +// | runEffectFn3 logMessageImpl level message (mkEffectFn1 callback) +// | ``` +// | +// | The general naming scheme for functions and types in this module is as +// | follows: +// | +// | * `EffectFn{N}` means, an uncurried function which accepts N arguments and +// | performs some effects. The first N arguments are the actual function's +// | argument. The last type argument is the return type. +// | * `runEffectFn{N}` takes an `EffectFn` of N arguments, and converts it into +// | the normal PureScript form: a curried function which returns an Effect +// | action. +// | * `mkEffectFn{N}` is the inverse of `runEffectFn{N}`. It can be useful for +// | callbacks. +// | +import * as $runtime from "../runtime.js"; +import { + mkEffectFn1, + mkEffectFn10, + mkEffectFn2, + mkEffectFn3, + mkEffectFn4, + mkEffectFn5, + mkEffectFn6, + mkEffectFn7, + mkEffectFn8, + mkEffectFn9, + runEffectFn1, + runEffectFn10, + runEffectFn2, + runEffectFn3, + runEffectFn4, + runEffectFn5, + runEffectFn6, + runEffectFn7, + runEffectFn8, + runEffectFn9 +} from "./foreign.js"; +const semigroupEffectFn9 = dictSemigroup => ( + { + append: f1 => f2 => (a, b, c, d, e, f, g, h, i) => { + const a$p = f1(a, b, c, d, e, f, g, h, i); + const a$p$1 = f2(a, b, c, d, e, f, g, h, i); + return dictSemigroup.append(a$p)(a$p$1); + } + } +); +const semigroupEffectFn8 = dictSemigroup => ( + { + append: f1 => f2 => (a, b, c, d, e, f, g, h) => { + const a$p = f1(a, b, c, d, e, f, g, h); + const a$p$1 = f2(a, b, c, d, e, f, g, h); + return dictSemigroup.append(a$p)(a$p$1); + } + } +); +const semigroupEffectFn7 = dictSemigroup => ( + { + append: f1 => f2 => (a, b, c, d, e, f, g) => { + const a$p = f1(a, b, c, d, e, f, g); + const a$p$1 = f2(a, b, c, d, e, f, g); + return dictSemigroup.append(a$p)(a$p$1); + } + } +); +const semigroupEffectFn6 = dictSemigroup => ( + { + append: f1 => f2 => (a, b, c, d, e, f) => { + const a$p = f1(a, b, c, d, e, f); + const a$p$1 = f2(a, b, c, d, e, f); + return dictSemigroup.append(a$p)(a$p$1); + } + } +); +const semigroupEffectFn5 = dictSemigroup => ( + { + append: f1 => f2 => (a, b, c, d, e) => { + const a$p = f1(a, b, c, d, e); + const a$p$1 = f2(a, b, c, d, e); + return dictSemigroup.append(a$p)(a$p$1); + } + } +); +const semigroupEffectFn4 = dictSemigroup => ( + { + append: f1 => f2 => (a, b, c, d) => { + const a$p = f1(a, b, c, d); + const a$p$1 = f2(a, b, c, d); + return dictSemigroup.append(a$p)(a$p$1); + } + } +); +const semigroupEffectFn3 = dictSemigroup => ( + { + append: f1 => f2 => (a, b, c) => { + const a$p = f1(a, b, c); + const a$p$1 = f2(a, b, c); + return dictSemigroup.append(a$p)(a$p$1); + } + } +); +const semigroupEffectFn2 = dictSemigroup => ( + { + append: f1 => f2 => (a, b) => { + const a$p = f1(a, b); + const a$p$1 = f2(a, b); + return dictSemigroup.append(a$p)(a$p$1); + } + } +); +const semigroupEffectFn10 = dictSemigroup => ( + { + append: f1 => f2 => (a, b, c, d, e, f, g, h, i, j) => { + const a$p = f1(a, b, c, d, e, f, g, h, i, j); + const a$p$1 = f2(a, b, c, d, e, f, g, h, i, j); + return dictSemigroup.append(a$p)(a$p$1); + } + } +); +const semigroupEffectFn1 = dictSemigroup => ( + { + append: f1 => f2 => a => { + const a$p = f1(a); + const a$p$1 = f2(a); + return dictSemigroup.append(a$p)(a$p$1); + } + } +); +const monoidEffectFn9 = dictMonoid => { + const $1 = dictMonoid.Semigroup0(); + const semigroupEffectFn91 = { + append: f1 => f2 => (a, b, c, d, e, f, g, h, i) => { + const a$p = f1(a, b, c, d, e, f, g, h, i); + const a$p$1 = f2(a, b, c, d, e, f, g, h, i); + return $1.append(a$p)(a$p$1); + } + }; + return {mempty: (v, v1, v2, v3, v4, v5, v6, v7, v8) => dictMonoid.mempty, Semigroup0: () => semigroupEffectFn91}; +}; +const monoidEffectFn8 = dictMonoid => { + const $1 = dictMonoid.Semigroup0(); + const semigroupEffectFn81 = { + append: f1 => f2 => (a, b, c, d, e, f, g, h) => { + const a$p = f1(a, b, c, d, e, f, g, h); + const a$p$1 = f2(a, b, c, d, e, f, g, h); + return $1.append(a$p)(a$p$1); + } + }; + return {mempty: (v, v1, v2, v3, v4, v5, v6, v7) => dictMonoid.mempty, Semigroup0: () => semigroupEffectFn81}; +}; +const monoidEffectFn7 = dictMonoid => { + const $1 = dictMonoid.Semigroup0(); + const semigroupEffectFn71 = { + append: f1 => f2 => (a, b, c, d, e, f, g) => { + const a$p = f1(a, b, c, d, e, f, g); + const a$p$1 = f2(a, b, c, d, e, f, g); + return $1.append(a$p)(a$p$1); + } + }; + return {mempty: (v, v1, v2, v3, v4, v5, v6) => dictMonoid.mempty, Semigroup0: () => semigroupEffectFn71}; +}; +const monoidEffectFn6 = dictMonoid => { + const $1 = dictMonoid.Semigroup0(); + const semigroupEffectFn61 = { + append: f1 => f2 => (a, b, c, d, e, f) => { + const a$p = f1(a, b, c, d, e, f); + const a$p$1 = f2(a, b, c, d, e, f); + return $1.append(a$p)(a$p$1); + } + }; + return {mempty: (v, v1, v2, v3, v4, v5) => dictMonoid.mempty, Semigroup0: () => semigroupEffectFn61}; +}; +const monoidEffectFn5 = dictMonoid => { + const $1 = dictMonoid.Semigroup0(); + const semigroupEffectFn51 = { + append: f1 => f2 => (a, b, c, d, e) => { + const a$p = f1(a, b, c, d, e); + const a$p$1 = f2(a, b, c, d, e); + return $1.append(a$p)(a$p$1); + } + }; + return {mempty: (v, v1, v2, v3, v4) => dictMonoid.mempty, Semigroup0: () => semigroupEffectFn51}; +}; +const monoidEffectFn4 = dictMonoid => { + const $1 = dictMonoid.Semigroup0(); + const semigroupEffectFn41 = { + append: f1 => f2 => (a, b, c, d) => { + const a$p = f1(a, b, c, d); + const a$p$1 = f2(a, b, c, d); + return $1.append(a$p)(a$p$1); + } + }; + return {mempty: (v, v1, v2, v3) => dictMonoid.mempty, Semigroup0: () => semigroupEffectFn41}; +}; +const monoidEffectFn3 = dictMonoid => { + const $1 = dictMonoid.Semigroup0(); + const semigroupEffectFn31 = { + append: f1 => f2 => (a, b, c) => { + const a$p = f1(a, b, c); + const a$p$1 = f2(a, b, c); + return $1.append(a$p)(a$p$1); + } + }; + return {mempty: (v, v1, v2) => dictMonoid.mempty, Semigroup0: () => semigroupEffectFn31}; +}; +const monoidEffectFn2 = dictMonoid => { + const $1 = dictMonoid.Semigroup0(); + const semigroupEffectFn21 = { + append: f1 => f2 => (a, b) => { + const a$p = f1(a, b); + const a$p$1 = f2(a, b); + return $1.append(a$p)(a$p$1); + } + }; + return {mempty: (v, v1) => dictMonoid.mempty, Semigroup0: () => semigroupEffectFn21}; +}; +const monoidEffectFn10 = dictMonoid => { + const $1 = dictMonoid.Semigroup0(); + const semigroupEffectFn101 = { + append: f1 => f2 => (a, b, c, d, e, f, g, h, i, j) => { + const a$p = f1(a, b, c, d, e, f, g, h, i, j); + const a$p$1 = f2(a, b, c, d, e, f, g, h, i, j); + return $1.append(a$p)(a$p$1); + } + }; + return {mempty: (v, v1, v2, v3, v4, v5, v6, v7, v8, v9) => dictMonoid.mempty, Semigroup0: () => semigroupEffectFn101}; +}; +const monoidEffectFn1 = dictMonoid => { + const $1 = dictMonoid.Semigroup0(); + const semigroupEffectFn11 = { + append: f1 => f2 => a => { + const a$p = f1(a); + const a$p$1 = f2(a); + return $1.append(a$p)(a$p$1); + } + }; + return {mempty: v => dictMonoid.mempty, Semigroup0: () => semigroupEffectFn11}; +}; +export { + monoidEffectFn1, + monoidEffectFn10, + monoidEffectFn2, + monoidEffectFn3, + monoidEffectFn4, + monoidEffectFn5, + monoidEffectFn6, + monoidEffectFn7, + monoidEffectFn8, + monoidEffectFn9, + semigroupEffectFn1, + semigroupEffectFn10, + semigroupEffectFn2, + semigroupEffectFn3, + semigroupEffectFn4, + semigroupEffectFn5, + semigroupEffectFn6, + semigroupEffectFn7, + semigroupEffectFn8, + semigroupEffectFn9 +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Effect.Unsafe/foreign.js b/.storybook/purescript-indexer/output-es/Effect.Unsafe/foreign.js new file mode 100644 index 0000000..8dadf92 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Effect.Unsafe/foreign.js @@ -0,0 +1,3 @@ +export const unsafePerformEffect = function (f) { + return f(); +}; diff --git a/.storybook/purescript-indexer/output-es/Effect.Unsafe/index.js b/.storybook/purescript-indexer/output-es/Effect.Unsafe/index.js new file mode 100644 index 0000000..30475a6 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Effect.Unsafe/index.js @@ -0,0 +1,4 @@ +import * as $runtime from "../runtime.js"; +import {unsafePerformEffect} from "./foreign.js"; +export {}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Effect/foreign.js b/.storybook/purescript-indexer/output-es/Effect/foreign.js new file mode 100644 index 0000000..364116f --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Effect/foreign.js @@ -0,0 +1,51 @@ +export const pureE = function (a) { + return function () { + return a; + }; +}; + +export const bindE = function (a) { + return function (f) { + return function () { + return f(a())(); + }; + }; +}; + +export const untilE = function (f) { + return function () { + while (!f()); + }; +}; + +export const whileE = function (f) { + return function (a) { + return function () { + while (f()) { + a(); + } + }; + }; +}; + +export const forE = function (lo) { + return function (hi) { + return function (f) { + return function () { + for (var i = lo; i < hi; i++) { + f(i)(); + } + }; + }; + }; +}; + +export const foreachE = function (as) { + return function (f) { + return function () { + for (var i = 0, l = as.length; i < l; i++) { + f(as[i])(); + } + }; + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Effect/index.js b/.storybook/purescript-indexer/output-es/Effect/index.js new file mode 100644 index 0000000..362b047 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Effect/index.js @@ -0,0 +1,44 @@ +// | This module provides the `Effect` type, which is used to represent +// | _native_ effects. The `Effect` type provides a typed API for effectful +// | computations, while at the same time generating efficient JavaScript. +import * as $runtime from "../runtime.js"; +import {bindE, forE, foreachE, pureE, untilE, whileE} from "./foreign.js"; +const monadEffect = {Applicative0: () => applicativeEffect, Bind1: () => bindEffect}; +const bindEffect = {bind: bindE, Apply0: () => applyEffect}; +const applyEffect = { + apply: f => a => () => { + const f$p = f(); + const a$p = a(); + return applicativeEffect.pure(f$p(a$p))(); + }, + Functor0: () => functorEffect +}; +const applicativeEffect = {pure: pureE, Apply0: () => applyEffect}; +const functorEffect = { + map: f => a => () => { + const a$p = a(); + return f(a$p); + } +}; +const semigroupEffect = dictSemigroup => ( + { + append: a => b => () => { + const a$p = a(); + const a$p$1 = b(); + return dictSemigroup.append(a$p)(a$p$1); + } + } +); +const monoidEffect = dictMonoid => { + const $1 = dictMonoid.Semigroup0(); + const semigroupEffect1 = { + append: a => b => () => { + const a$p = a(); + const a$p$1 = b(); + return $1.append(a$p)(a$p$1); + } + }; + return {mempty: () => dictMonoid.mempty, Semigroup0: () => semigroupEffect1}; +}; +export {applicativeEffect, applyEffect, bindEffect, functorEffect, monadEffect, monoidEffect, semigroupEffect}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Foreign.Index/foreign.js b/.storybook/purescript-indexer/output-es/Foreign.Index/foreign.js new file mode 100644 index 0000000..3b077e5 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Foreign.Index/foreign.js @@ -0,0 +1,11 @@ +export function unsafeReadPropImpl(f, s, key, value) { + return value == null ? f : s(value[key]); +} + +export function unsafeHasOwnProperty(prop, value) { + return Object.prototype.hasOwnProperty.call(value, prop); +} + +export function unsafeHasProperty(prop, value) { + return prop in value; +} diff --git a/.storybook/purescript-indexer/output-es/Foreign.Index/index.js b/.storybook/purescript-indexer/output-es/Foreign.Index/index.js new file mode 100644 index 0000000..ab55250 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Foreign.Index/index.js @@ -0,0 +1,81 @@ +// | This module defines a type class for types which act like +// | _property indices_. +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dExcept$dTrans from "../Control.Monad.Except.Trans/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dNonEmpty from "../Data.NonEmpty/index.js"; +import * as Foreign from "../Foreign/index.js"; +import {unsafeHasOwnProperty, unsafeHasProperty, unsafeReadPropImpl} from "./foreign.js"; +const unsafeReadProp = dictMonad => { + const $1 = Control$dMonad$dExcept$dTrans.monadThrowExceptT(dictMonad).throwError; + const pure = Control$dMonad$dExcept$dTrans.applicativeExceptT(dictMonad).pure; + return k => value => unsafeReadPropImpl( + $1(Data$dNonEmpty.$NonEmpty(Foreign.$ForeignError("TypeMismatch", "object", Foreign.typeOf(value)), Data$dList$dTypes.Nil)), + pure, + k, + value + ); +}; +const readProp = dictMonad => unsafeReadProp(dictMonad); +const readIndex = dictMonad => unsafeReadProp(dictMonad); +const ix = dict => dict.ix; +const index = dict => dict.index; +const indexableExceptT = dictMonad => { + const $1 = Control$dMonad$dExcept$dTrans.bindExceptT(dictMonad); + return {ix: dictIndex => f => i => $1.bind(f)(a => dictIndex.index(a)(i))}; +}; +const indexableForeign = dictMonad => ({ix: dictIndex => dictIndex.index}); +const hasPropertyImpl = v => v1 => { + if (Foreign.isNull(v1)) { return false; } + if (Foreign.isUndefined(v1)) { return false; } + if (Foreign.typeOf(v1) === "object" || Foreign.typeOf(v1) === "function") { return unsafeHasProperty(v, v1); } + return false; +}; +const hasProperty = dict => dict.hasProperty; +const hasOwnPropertyImpl = v => v1 => { + if (Foreign.isNull(v1)) { return false; } + if (Foreign.isUndefined(v1)) { return false; } + if (Foreign.typeOf(v1) === "object" || Foreign.typeOf(v1) === "function") { return unsafeHasOwnProperty(v, v1); } + return false; +}; +const indexInt = dictMonad => ( + { + index: (() => { + const $1 = unsafeReadProp(dictMonad); + return b => a => $1(a)(b); + })(), + hasProperty: hasPropertyImpl, + hasOwnProperty: hasOwnPropertyImpl, + errorAt: Foreign.ErrorAtIndex + } +); +const indexString = dictMonad => ( + { + index: (() => { + const $1 = unsafeReadProp(dictMonad); + return b => a => $1(a)(b); + })(), + hasProperty: hasPropertyImpl, + hasOwnProperty: hasOwnPropertyImpl, + errorAt: Foreign.ErrorAtProperty + } +); +const hasOwnProperty = dict => dict.hasOwnProperty; +const errorAt = dict => dict.errorAt; +export { + errorAt, + hasOwnProperty, + hasOwnPropertyImpl, + hasProperty, + hasPropertyImpl, + index, + indexInt, + indexString, + indexableExceptT, + indexableForeign, + ix, + readIndex, + readProp, + unsafeReadProp +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Foreign.Keys/foreign.js b/.storybook/purescript-indexer/output-es/Foreign.Keys/foreign.js new file mode 100644 index 0000000..f5b8f0c --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Foreign.Keys/foreign.js @@ -0,0 +1,9 @@ +export const unsafeKeys = Object.keys || function (value) { + var keys = []; + for (var prop in value) { + if (Object.prototype.hasOwnProperty.call(value, prop)) { + keys.push(prop); + } + } + return keys; +}; diff --git a/.storybook/purescript-indexer/output-es/Foreign.Keys/index.js b/.storybook/purescript-indexer/output-es/Foreign.Keys/index.js new file mode 100644 index 0000000..9a2e3a4 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Foreign.Keys/index.js @@ -0,0 +1,20 @@ +// | This module provides functions for working with object properties +// | of Javascript objects. +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dExcept$dTrans from "../Control.Monad.Except.Trans/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dNonEmpty from "../Data.NonEmpty/index.js"; +import * as Foreign from "../Foreign/index.js"; +import {unsafeKeys} from "./foreign.js"; +const keys = dictMonad => { + const $1 = Control$dMonad$dExcept$dTrans.monadThrowExceptT(dictMonad).throwError; + const pure = Control$dMonad$dExcept$dTrans.applicativeExceptT(dictMonad).pure; + return value => { + if (Foreign.isNull(value)) { return $1(Data$dNonEmpty.$NonEmpty(Foreign.$ForeignError("TypeMismatch", "object", "null"), Data$dList$dTypes.Nil)); } + if (Foreign.isUndefined(value)) { return $1(Data$dNonEmpty.$NonEmpty(Foreign.$ForeignError("TypeMismatch", "object", "undefined"), Data$dList$dTypes.Nil)); } + if (Foreign.typeOf(value) === "object") { return pure(unsafeKeys(value)); } + return $1(Data$dNonEmpty.$NonEmpty(Foreign.$ForeignError("TypeMismatch", "object", Foreign.typeOf(value)), Data$dList$dTypes.Nil)); + }; +}; +export {keys}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Foreign.Object.Gen/index.js b/.storybook/purescript-indexer/output-es/Foreign.Object.Gen/index.js new file mode 100644 index 0000000..f5a168a --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Foreign.Object.Gen/index.js @@ -0,0 +1,14 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dGen from "../Control.Monad.Gen/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Foreign$dObject from "../Foreign.Object/index.js"; +const fromFoldable = /* #__PURE__ */ Foreign$dObject.fromFoldable(Data$dList$dTypes.foldableList); +const genForeignObject = dictMonadRec => dictMonadGen => { + const Bind1 = dictMonadGen.Monad0().Bind1(); + const Apply0 = Bind1.Apply0(); + const map = Apply0.Functor0().map; + const unfoldable1 = Control$dMonad$dGen.unfoldable(dictMonadRec)(dictMonadGen)(Data$dList$dTypes.unfoldableList); + return genKey => genValue => dictMonadGen.sized(size => Bind1.bind(dictMonadGen.chooseInt(0)(size))(newSize => dictMonadGen.resize(v => newSize)(map(fromFoldable)(unfoldable1(Apply0.apply(map(Data$dTuple.Tuple)(genKey))(genValue)))))); +}; +export {fromFoldable, genForeignObject}; diff --git a/.storybook/purescript-indexer/output-es/Foreign.Object.ST.Unsafe/foreign.js b/.storybook/purescript-indexer/output-es/Foreign.Object.ST.Unsafe/foreign.js new file mode 100644 index 0000000..beb68a9 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Foreign.Object.ST.Unsafe/foreign.js @@ -0,0 +1,5 @@ +export function unsafeFreeze(m) { + return function () { + return m; + }; +} diff --git a/.storybook/purescript-indexer/output-es/Foreign.Object.ST.Unsafe/index.js b/.storybook/purescript-indexer/output-es/Foreign.Object.ST.Unsafe/index.js new file mode 100644 index 0000000..1f2d624 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Foreign.Object.ST.Unsafe/index.js @@ -0,0 +1,4 @@ +import * as $runtime from "../runtime.js"; +import {unsafeFreeze} from "./foreign.js"; +export {}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Foreign.Object.ST/foreign.js b/.storybook/purescript-indexer/output-es/Foreign.Object.ST/foreign.js new file mode 100644 index 0000000..ba1f9af --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Foreign.Object.ST/foreign.js @@ -0,0 +1,37 @@ +const newImpl = function () { + return {}; +}; +export { newImpl as new }; + +export function peekImpl(just) { + return function (nothing) { + return function (k) { + return function (m) { + return function () { + return {}.hasOwnProperty.call(m, k) ? just(m[k]) : nothing; + }; + }; + }; + }; +} + +export function poke(k) { + return function (v) { + return function (m) { + return function () { + m[k] = v; + return m; + }; + }; + }; +} + +const deleteImpl = function (k) { + return function (m) { + return function () { + delete m[k]; + return m; + }; + }; +}; +export { deleteImpl as delete }; diff --git a/.storybook/purescript-indexer/output-es/Foreign.Object.ST/index.js b/.storybook/purescript-indexer/output-es/Foreign.Object.ST/index.js new file mode 100644 index 0000000..84df15a --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Foreign.Object.ST/index.js @@ -0,0 +1,10 @@ +// | Helper functions for working with mutable objects using the `ST` effect. +// | +// | This module can be used when performance is important and mutation is a +// | local effect. +import * as $runtime from "../runtime.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import {delete as $$delete, new as $$new, peekImpl, poke} from "./foreign.js"; +const peek = /* #__PURE__ */ peekImpl(Data$dMaybe.Just)(Data$dMaybe.Nothing); +export {peek}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Foreign.Object.Unsafe/foreign.js b/.storybook/purescript-indexer/output-es/Foreign.Object.Unsafe/foreign.js new file mode 100644 index 0000000..e92f574 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Foreign.Object.Unsafe/foreign.js @@ -0,0 +1,5 @@ +export function unsafeIndex(m) { + return function (k) { + return m[k]; + }; +} diff --git a/.storybook/purescript-indexer/output-es/Foreign.Object.Unsafe/index.js b/.storybook/purescript-indexer/output-es/Foreign.Object.Unsafe/index.js new file mode 100644 index 0000000..99f2618 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Foreign.Object.Unsafe/index.js @@ -0,0 +1,4 @@ +import * as $runtime from "../runtime.js"; +import {unsafeIndex} from "./foreign.js"; +export {}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Foreign.Object/foreign.js b/.storybook/purescript-indexer/output-es/Foreign.Object/foreign.js new file mode 100644 index 0000000..9196412 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Foreign.Object/foreign.js @@ -0,0 +1,116 @@ +export function _copyST(m) { + return function () { + var r = {}; + for (var k in m) { + if (hasOwnProperty.call(m, k)) { + r[k] = m[k]; + } + } + return r; + }; +} + +export const empty = {}; + +export function runST(f) { + return f(); +} + +export function _fmapObject(m0, f) { + var m = {}; + for (var k in m0) { + if (hasOwnProperty.call(m0, k)) { + m[k] = f(m0[k]); + } + } + return m; +} + +export function _mapWithKey(m0, f) { + var m = {}; + for (var k in m0) { + if (hasOwnProperty.call(m0, k)) { + m[k] = f(k)(m0[k]); + } + } + return m; +} + +export function _foldM(bind) { + return function (f) { + return function (mz) { + return function (m) { + var acc = mz; + function g(k) { + return function (z) { + return f(z)(k)(m[k]); + }; + } + for (var k in m) { + if (hasOwnProperty.call(m, k)) { + acc = bind(acc)(g(k)); + } + } + return acc; + }; + }; + }; +} + +export function _foldSCObject(m, z, f, fromMaybe) { + var acc = z; + for (var k in m) { + if (hasOwnProperty.call(m, k)) { + var maybeR = f(acc)(k)(m[k]); + var r = fromMaybe(null)(maybeR); + if (r === null) return acc; + else acc = r; + } + } + return acc; +} + +export function all(f) { + return function (m) { + for (var k in m) { + if (hasOwnProperty.call(m, k) && !f(k)(m[k])) return false; + } + return true; + }; +} + +export function size(m) { + var s = 0; + for (var k in m) { + if (hasOwnProperty.call(m, k)) { + ++s; + } + } + return s; +} + +export function _lookup(no, yes, k, m) { + return k in m ? yes(m[k]) : no; +} + +export function _lookupST(no, yes, k, m) { + return function () { + return k in m ? yes(m[k]) : no; + }; +} + +export function toArrayWithKey(f) { + return function (m) { + var r = []; + for (var k in m) { + if (hasOwnProperty.call(m, k)) { + r.push(f(k)(m[k])); + } + } + return r; + }; +} + +export const keys = Object.keys || toArrayWithKey(function (k) { + return function () { return k; }; +}); diff --git a/.storybook/purescript-indexer/output-es/Foreign.Object/index.js b/.storybook/purescript-indexer/output-es/Foreign.Object/index.js new file mode 100644 index 0000000..b9e3998 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Foreign.Object/index.js @@ -0,0 +1,233 @@ +// | This module defines a type of native homogeneous Javascript Objects. +// | +// | To maximize performance, Javascript objects are not wrapped, +// | and some native code is used even when it's not necessary. +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dST$dInternal from "../Control.Monad.ST.Internal/index.js"; +import * as Data$dArray from "../Data.Array/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dFoldableWithIndex from "../Data.FoldableWithIndex/index.js"; +import * as Data$dFunction from "../Data.Function/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dShow from "../Data.Show/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnfoldable from "../Data.Unfoldable/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import * as Foreign$dObject$dST from "../Foreign.Object.ST/index.js"; +import * as Unsafe$dCoerce from "../Unsafe.Coerce/index.js"; +import {_copyST, _fmapObject, _foldM, _foldSCObject, _lookup, _lookupST, _mapWithKey, all, empty, keys, runST, size, toArrayWithKey} from "./foreign.js"; +const showTuple = dictShow1 => ({show: v => "(Tuple " + (Data$dShow.showStringImpl(v._1) + (" " + (dictShow1.show(v._2) + ")")))}); +const forWithIndex_ = /* #__PURE__ */ Data$dFoldableWithIndex.forWithIndex_(Control$dMonad$dST$dInternal.applicativeST); +const for_ = /* #__PURE__ */ Data$dFoldable.for_(Control$dMonad$dST$dInternal.applicativeST); +const identity = x => x; +const ordTuple = /* #__PURE__ */ Data$dTuple.ordTuple(Data$dOrd.ordString); +const values = /* #__PURE__ */ toArrayWithKey(v => v1 => v1); +const toUnfoldable = dictUnfoldable => { + const $1 = toArrayWithKey(Data$dTuple.Tuple); + return x => Data$dArray.toUnfoldable(dictUnfoldable)($1(x)); +}; +const toAscUnfoldable = dictUnfoldable => { + const $1 = Data$dArray.sortWith(Data$dOrd.ordString)(Data$dTuple.fst); + const $2 = toArrayWithKey(Data$dTuple.Tuple); + return x => Data$dArray.toUnfoldable(dictUnfoldable)($1($2(x))); +}; +const toAscArray = /* #__PURE__ */ toAscUnfoldable(Data$dUnfoldable.unfoldableArray); +const toArray = /* #__PURE__ */ toArrayWithKey(Data$dTuple.Tuple); +const thawST = _copyST; +const singleton = k => v => runST(Control$dMonad$dST$dInternal.bind_(Foreign$dObject$dST.new)(Foreign$dObject$dST.poke(k)(v))); +const showObject = dictShow => { + const show = Data$dShow.showArrayImpl(showTuple(dictShow).show); + return {show: m => "(fromFoldable " + (show(toArray(m)) + ")")}; +}; +const mutate = f => m => runST((() => { + const $2 = _copyST(m); + return () => { + const s = $2(); + f(s)(); + return s; + }; +})()); +const member = $0 => $1 => _lookup(false, v => true, $0, $1); +const mapWithKey = f => m => _mapWithKey(m, f); +const lookup = $0 => $1 => _lookup(Data$dMaybe.Nothing, Data$dMaybe.Just, $0, $1); +const isSubmap = dictEq => m1 => m2 => all(k => v => _lookup(false, dictEq.eq(v), k, m2))(m1); +const isEmpty = /* #__PURE__ */ all(v => v1 => false); +const insert = k => v => mutate(Foreign$dObject$dST.poke(k)(v)); +const functorObject = {map: f => m => _fmapObject(m, f)}; +const functorWithIndexObject = {mapWithIndex: mapWithKey, Functor0: () => functorObject}; +const fromHomogeneous = () => Unsafe$dCoerce.unsafeCoerce; +const fromFoldableWithIndex = dictFoldableWithIndex => { + const forWithIndex_1 = forWithIndex_(dictFoldableWithIndex); + return l => runST(() => { + const s = Foreign$dObject$dST.new(); + forWithIndex_1(l)(k => v => Foreign$dObject$dST.poke(k)(v)(s))(); + return s; + }); +}; +const fromFoldableWith = dictFoldable => { + const for_1 = for_(dictFoldable); + return f => l => runST(() => { + const s = Foreign$dObject$dST.new(); + for_1(l)(v => { + const $6 = _lookupST(v._2, f(v._2), v._1, s); + return () => { + const v$p = $6(); + return Foreign$dObject$dST.poke(v._1)(v$p)(s)(); + }; + })(); + return s; + }); +}; +const fromFoldable = dictFoldable => { + const fromFoldable1 = Data$dArray.fromFoldableImpl(dictFoldable.foldr); + return l => runST(() => { + const s = Foreign$dObject$dST.new(); + Control$dMonad$dST$dInternal.foreach(fromFoldable1(l))(v => () => { + Foreign$dObject$dST.poke(v._1)(v._2)(s)(); + return Data$dUnit.unit; + })(); + return s; + }); +}; +const freezeST = _copyST; +const foldMaybe = f => z => m => _foldSCObject(m, z, f, Data$dMaybe.fromMaybe); +const foldM = dictMonad => { + const bind1 = dictMonad.Bind1().bind; + const pure1 = dictMonad.Applicative0().pure; + return f => z => _foldM(bind1)(f)(pure1(z)); +}; +const foldM1 = /* #__PURE__ */ foldM(Control$dMonad$dST$dInternal.monadST); +const union = m => mutate(s => foldM1(s$p => k => v => Foreign$dObject$dST.poke(k)(v)(s$p))(s)(m)); +const unions = dictFoldable => dictFoldable.foldl(union)(empty); +const unionWith = f => m1 => m2 => mutate(s1 => foldM1(s2 => k => v1 => Foreign$dObject$dST.poke(k)(_lookup(v1, v2 => f(v1)(v2), k, m2))(s2))(s1)(m1))(m2); +const semigroupObject = dictSemigroup => ({append: unionWith(dictSemigroup.append)}); +const monoidObject = dictSemigroup => ({mempty: empty, Semigroup0: () => ({append: unionWith(dictSemigroup.append)})}); +const fold = /* #__PURE__ */ _foldM(Data$dFunction.applyFlipped); +const foldMap = dictMonoid => { + const append1 = dictMonoid.Semigroup0().append; + return f => fold(acc => k => v => append1(acc)(f(k)(v)))(dictMonoid.mempty); +}; +const foldableObject = { + foldl: f => fold(z => v => f(z)), + foldr: f => z => m => Data$dFoldable.foldrArray(f)(z)(values(m)), + foldMap: dictMonoid => { + const foldMap1 = foldMap(dictMonoid); + return f => foldMap1(v => f); + } +}; +const foldableWithIndexObject = { + foldlWithIndex: f => fold(b => a => f(a)(b)), + foldrWithIndex: f => z => m => Data$dFoldable.foldrArray(v => f(v._1)(v._2))(z)(toArrayWithKey(Data$dTuple.Tuple)(m)), + foldMapWithIndex: dictMonoid => foldMap(dictMonoid), + Foldable0: () => foldableObject +}; +const traversableWithIndexObject = { + traverseWithIndex: dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map = Apply0.Functor0().map; + return f => ms => fold(acc => k => v => Apply0.apply(map(b => a => mutate(Foreign$dObject$dST.poke(k)(a))(b))(acc))(f(k)(v)))(dictApplicative.pure(empty))(ms); + }, + FunctorWithIndex0: () => functorWithIndexObject, + FoldableWithIndex1: () => foldableWithIndexObject, + Traversable2: () => traversableObject +}; +const traversableObject = { + traverse: dictApplicative => { + const $1 = traversableWithIndexObject.traverseWithIndex(dictApplicative); + return x => $1(v => x); + }, + sequence: dictApplicative => traversableObject.traverse(dictApplicative)(identity), + Functor0: () => functorObject, + Foldable1: () => foldableObject +}; +const filterWithKey = predicate => m => runST(() => { + const m$p = Foreign$dObject$dST.new(); + return foldM1(acc => k => v => { + if (predicate(k)(v)) { return Foreign$dObject$dST.poke(k)(v)(acc); } + return () => acc; + })(m$p)(m)(); +}); +const filterKeys = predicate => filterWithKey(x => { + const $2 = predicate(x); + return v => $2; +}); +const filter = predicate => filterWithKey(v => predicate); +const eqObject = dictEq => ({eq: m1 => m2 => isSubmap(dictEq)(m1)(m2) && isSubmap(dictEq)(m2)(m1)}); +const ordObject = dictOrd => { + const compare = Data$dOrd.ordArray(ordTuple(dictOrd)).compare; + const eqObject1 = eqObject(dictOrd.Eq0()); + return {compare: m1 => m2 => compare(toAscArray(m1))(toAscArray(m2)), Eq0: () => eqObject1}; +}; +const eq1Object = {eq1: dictEq => eqObject(dictEq).eq}; +const $$delete = k => mutate(Foreign$dObject$dST.delete(k)); +const pop = k => m => { + const $2 = _lookup(Data$dMaybe.Nothing, Data$dMaybe.Just, k, m); + if ($2.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple($2._1, mutate(Foreign$dObject$dST.delete(k))(m))); } + return Data$dMaybe.Nothing; +}; +const alter = f => k => m => { + const v = f(_lookup(Data$dMaybe.Nothing, Data$dMaybe.Just, k, m)); + if (v.tag === "Nothing") { return mutate(Foreign$dObject$dST.delete(k))(m); } + if (v.tag === "Just") { return mutate(Foreign$dObject$dST.poke(k)(v._1))(m); } + $runtime.fail(); +}; +const update = f => k => m => alter(v2 => { + if (v2.tag === "Nothing") { return Data$dMaybe.Nothing; } + if (v2.tag === "Just") { return f(v2._1); } + $runtime.fail(); +})(k)(m); +export { + alter, + $$delete as delete, + eq1Object, + eqObject, + filter, + filterKeys, + filterWithKey, + fold, + foldM, + foldM1, + foldMap, + foldMaybe, + foldableObject, + foldableWithIndexObject, + forWithIndex_, + for_, + freezeST, + fromFoldable, + fromFoldableWith, + fromFoldableWithIndex, + fromHomogeneous, + functorObject, + functorWithIndexObject, + identity, + insert, + isEmpty, + isSubmap, + lookup, + mapWithKey, + member, + monoidObject, + mutate, + ordObject, + ordTuple, + pop, + semigroupObject, + showObject, + showTuple, + singleton, + thawST, + toArray, + toAscArray, + toAscUnfoldable, + toUnfoldable, + traversableObject, + traversableWithIndexObject, + union, + unionWith, + unions, + update, + values +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Foreign/foreign.js b/.storybook/purescript-indexer/output-es/Foreign/foreign.js new file mode 100644 index 0000000..fdea3ee --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Foreign/foreign.js @@ -0,0 +1,19 @@ +export function typeOf(value) { + return typeof value; +} + +export function tagOf(value) { + return Object.prototype.toString.call(value).slice(8, -1); +} + +export function isNull(value) { + return value === null; +} + +export function isUndefined(value) { + return value === undefined; +} + +export const isArray = Array.isArray || function (value) { + return Object.prototype.toString.call(value) === "[object Array]"; +}; diff --git a/.storybook/purescript-indexer/output-es/Foreign/index.js b/.storybook/purescript-indexer/output-es/Foreign/index.js new file mode 100644 index 0000000..f6f5e4f --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Foreign/index.js @@ -0,0 +1,208 @@ +// | This module defines types and functions for working with _foreign_ +// | data. +// | +// | `ExceptT (NonEmptyList ForeignError) m` is used in this library +// | to encode possible failures when dealing with foreign data. +// | +// | The `Alt` instance for `ExceptT` allows us to accumulate errors, +// | unlike `Either`, which preserves only the last error. +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dExcept$dTrans from "../Control.Monad.Except.Trans/index.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dInt from "../Data.Int/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dNonEmpty from "../Data.NonEmpty/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import * as Data$dShow from "../Data.Show/index.js"; +import * as Data$dString$dCodeUnits from "../Data.String.CodeUnits/index.js"; +import * as Unsafe$dCoerce from "../Unsafe.Coerce/index.js"; +import {isArray, isNull, isUndefined, tagOf, typeOf} from "./foreign.js"; +const $ForeignError = (tag, _1, _2) => ({tag, _1, _2}); +const ForeignError = value0 => $ForeignError("ForeignError", value0); +const TypeMismatch = value0 => value1 => $ForeignError("TypeMismatch", value0, value1); +const ErrorAtIndex = value0 => value1 => $ForeignError("ErrorAtIndex", value0, value1); +const ErrorAtProperty = value0 => value1 => $ForeignError("ErrorAtProperty", value0, value1); +const unsafeToForeign = Unsafe$dCoerce.unsafeCoerce; +const unsafeFromForeign = Unsafe$dCoerce.unsafeCoerce; +const showForeignError = { + show: v => { + if (v.tag === "ForeignError") { return "(ForeignError " + (Data$dShow.showStringImpl(v._1) + ")"); } + if (v.tag === "ErrorAtIndex") { return "(ErrorAtIndex " + (Data$dShow.showIntImpl(v._1) + (" " + (showForeignError.show(v._2) + ")"))); } + if (v.tag === "ErrorAtProperty") { return "(ErrorAtProperty " + (Data$dShow.showStringImpl(v._1) + (" " + (showForeignError.show(v._2) + ")"))); } + if (v.tag === "TypeMismatch") { return "(TypeMismatch " + (Data$dShow.showStringImpl(v._1) + (" " + (Data$dShow.showStringImpl(v._2) + ")"))); } + $runtime.fail(); + } +}; +const renderForeignError = v => { + if (v.tag === "ForeignError") { return v._1; } + if (v.tag === "ErrorAtIndex") { return "Error at array index " + (Data$dShow.showIntImpl(v._1) + (": " + renderForeignError(v._2))); } + if (v.tag === "ErrorAtProperty") { return "Error at property " + (Data$dShow.showStringImpl(v._1) + (": " + renderForeignError(v._2))); } + if (v.tag === "TypeMismatch") { return "Type mismatch: expected " + (v._1 + (", found " + v._2)); } + $runtime.fail(); +}; +const readUndefined = dictMonad => { + const pure1 = Control$dMonad$dExcept$dTrans.applicativeExceptT(dictMonad).pure; + return value => { + if (isUndefined(value)) { return pure1(Data$dMaybe.Nothing); } + return pure1(Data$dMaybe.$Maybe("Just", value)); + }; +}; +const readNullOrUndefined = dictMonad => { + const pure1 = Control$dMonad$dExcept$dTrans.applicativeExceptT(dictMonad).pure; + return value => { + if (isNull(value) || isUndefined(value)) { return pure1(Data$dMaybe.Nothing); } + return pure1(Data$dMaybe.$Maybe("Just", value)); + }; +}; +const readNull = dictMonad => { + const pure1 = Control$dMonad$dExcept$dTrans.applicativeExceptT(dictMonad).pure; + return value => { + if (isNull(value)) { return pure1(Data$dMaybe.Nothing); } + return pure1(Data$dMaybe.$Maybe("Just", value)); + }; +}; +const fail = dictMonad => { + const $1 = Control$dMonad$dExcept$dTrans.monadThrowExceptT(dictMonad).throwError; + return x => $1(Data$dNonEmpty.$NonEmpty(x, Data$dList$dTypes.Nil)); +}; +const readArray = dictMonad => { + const pure1 = Control$dMonad$dExcept$dTrans.applicativeExceptT(dictMonad).pure; + const $2 = Control$dMonad$dExcept$dTrans.monadThrowExceptT(dictMonad).throwError; + return value => { + if (isArray(value)) { return pure1(value); } + return $2(Data$dNonEmpty.$NonEmpty($ForeignError("TypeMismatch", "array", tagOf(value)), Data$dList$dTypes.Nil)); + }; +}; +const unsafeReadTagged = dictMonad => { + const pure1 = Control$dMonad$dExcept$dTrans.applicativeExceptT(dictMonad).pure; + const $2 = Control$dMonad$dExcept$dTrans.monadThrowExceptT(dictMonad).throwError; + return tag => value => { + if (tagOf(value) === tag) { return pure1(value); } + return $2(Data$dNonEmpty.$NonEmpty($ForeignError("TypeMismatch", tag, tagOf(value)), Data$dList$dTypes.Nil)); + }; +}; +const readBoolean = dictMonad => unsafeReadTagged(dictMonad)("Boolean"); +const readNumber = dictMonad => unsafeReadTagged(dictMonad)("Number"); +const readInt = dictMonad => { + const map = dictMonad.Bind1().Apply0().Functor0().map; + const readNumber1 = unsafeReadTagged(dictMonad)("Number"); + return value => { + const error = Data$dEither.$Either("Left", Data$dNonEmpty.$NonEmpty($ForeignError("TypeMismatch", "Int", tagOf(value)), Data$dList$dTypes.Nil)); + return map(v2 => { + if (v2.tag === "Left") { return error; } + if (v2.tag === "Right") { + const $6 = Data$dInt.fromNumber(v2._1); + if ($6.tag === "Nothing") { return error; } + if ($6.tag === "Just") { return Data$dEither.$Either("Right", $6._1); } + $runtime.fail(); + } + $runtime.fail(); + })(readNumber1(value)); + }; +}; +const readString = dictMonad => unsafeReadTagged(dictMonad)("String"); +const readChar = dictMonad => { + const map = dictMonad.Bind1().Apply0().Functor0().map; + const readString1 = unsafeReadTagged(dictMonad)("String"); + return value => { + const error = Data$dEither.$Either("Left", Data$dNonEmpty.$NonEmpty($ForeignError("TypeMismatch", "Char", tagOf(value)), Data$dList$dTypes.Nil)); + return map(v2 => { + if (v2.tag === "Left") { return error; } + if (v2.tag === "Right") { + const $6 = Data$dString$dCodeUnits.toChar(v2._1); + if ($6.tag === "Nothing") { return error; } + if ($6.tag === "Just") { return Data$dEither.$Either("Right", $6._1); } + $runtime.fail(); + } + $runtime.fail(); + })(readString1(value)); + }; +}; +const eqForeignError = { + eq: x => y => { + if (x.tag === "ForeignError") { + if (y.tag === "ForeignError") { return x._1 === y._1; } + return false; + } + if (x.tag === "TypeMismatch") { + if (y.tag === "TypeMismatch") { return x._1 === y._1 && x._2 === y._2; } + return false; + } + if (x.tag === "ErrorAtIndex") { + if (y.tag === "ErrorAtIndex") { return x._1 === y._1 && eqForeignError.eq(x._2)(y._2); } + return false; + } + if (x.tag === "ErrorAtProperty") { + if (y.tag === "ErrorAtProperty") { return x._1 === y._1 && eqForeignError.eq(x._2)(y._2); } + return false; + } + return false; + } +}; +const ordForeignError = { + compare: x => y => { + if (x.tag === "ForeignError") { + if (y.tag === "ForeignError") { return Data$dOrd.ordString.compare(x._1)(y._1); } + return Data$dOrdering.LT; + } + if (y.tag === "ForeignError") { return Data$dOrdering.GT; } + if (x.tag === "TypeMismatch") { + if (y.tag === "TypeMismatch") { + const v = Data$dOrd.ordString.compare(x._1)(y._1); + if (v.tag === "LT") { return Data$dOrdering.LT; } + if (v.tag === "GT") { return Data$dOrdering.GT; } + return Data$dOrd.ordString.compare(x._2)(y._2); + } + return Data$dOrdering.LT; + } + if (y.tag === "TypeMismatch") { return Data$dOrdering.GT; } + if (x.tag === "ErrorAtIndex") { + if (y.tag === "ErrorAtIndex") { + const v = Data$dOrd.ordInt.compare(x._1)(y._1); + if (v.tag === "LT") { return Data$dOrdering.LT; } + if (v.tag === "GT") { return Data$dOrdering.GT; } + return ordForeignError.compare(x._2)(y._2); + } + return Data$dOrdering.LT; + } + if (y.tag === "ErrorAtIndex") { return Data$dOrdering.GT; } + if (x.tag === "ErrorAtProperty") { + if (y.tag === "ErrorAtProperty") { + const v = Data$dOrd.ordString.compare(x._1)(y._1); + if (v.tag === "LT") { return Data$dOrdering.LT; } + if (v.tag === "GT") { return Data$dOrdering.GT; } + return ordForeignError.compare(x._2)(y._2); + } + $runtime.fail(); + } + $runtime.fail(); + }, + Eq0: () => eqForeignError +}; +export { + $ForeignError, + ErrorAtIndex, + ErrorAtProperty, + ForeignError, + TypeMismatch, + eqForeignError, + fail, + ordForeignError, + readArray, + readBoolean, + readChar, + readInt, + readNull, + readNullOrUndefined, + readNumber, + readString, + readUndefined, + renderForeignError, + showForeignError, + unsafeFromForeign, + unsafeReadTagged, + unsafeToForeign +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Js.BigInt.BigInt/foreign.js b/.storybook/purescript-indexer/output-es/Js.BigInt.BigInt/foreign.js new file mode 100644 index 0000000..4f0ca50 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Js.BigInt.BigInt/foreign.js @@ -0,0 +1,59 @@ +export const fromStringImpl = (just) => (nothing) => (s) => { + try { + var x = BigInt(s); + return just(x); + } catch (err) { + return nothing; + } +}; +export const fromNumberImpl = (just) => (nothing) => (n) => { + try { + var x = BigInt(n); + return just(x); + } catch (err) { + return nothing; + } +}; + +export const fromInt = (n) => BigInt(n); + +export const fromTypeLevelInt = (str) => BigInt(str); + +export const biAdd = (x) => (y) => x + y; + +export const biMul = (x) => (y) => x * y; + +export const biSub = (x) => (y) => x - y; + +export const biMod = (x) => (y) => x % y; + +export const biZero = 0n; + +export const biOne = 1n; + +export const pow = (x) => (y) => y >= 0 ? x ** y : 0; + +export const not = (x) => ~x; + +export const or = (x) => (y) => x | y; + +export const xor = (x) => (y) => x ^ y; + +export const and = (x) => (y) => x & y; + +export const shl = (x) => (n) => x << n; + +export const shr = (x) => (n) => x >> n; + +export const biEquals = (x) => (y) => x == y; + +export const biCompare = (x) => (y) => { + if (x === y) return 0; + else if (x > y) return 1; + else return -1; +}; + +export const toString = (x) => x.toString(); + +export const asIntN = (bits) => (n) => BigInt.asIntN(bits, n); +export const asUintN = (bits) => (n) => BigInt.asUintN(bits, n); diff --git a/.storybook/purescript-indexer/output-es/Js.BigInt.BigInt/index.js b/.storybook/purescript-indexer/output-es/Js.BigInt.BigInt/index.js new file mode 100644 index 0000000..87c7e48 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Js.BigInt.BigInt/index.js @@ -0,0 +1,47 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +import { + and, + asIntN, + asUintN, + biAdd, + biCompare, + biEquals, + biMod, + biMul, + biOne, + biSub, + biZero, + fromInt, + fromNumberImpl, + fromStringImpl, + fromTypeLevelInt, + not, + or, + pow, + shl, + shr, + toString, + xor +} from "./foreign.js"; +const showBigInt = {show: toString}; +const semiringBigInt = {add: biAdd, zero: biZero, mul: biMul, one: biOne}; +const ringBigInt = {sub: biSub, Semiring0: () => semiringBigInt}; +const eqBigInt = {eq: biEquals}; +const ordBigInt = { + compare: x => y => { + const v = biCompare(x)(y); + if (v === 1) { return Data$dOrdering.GT; } + if (v === 0) { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + }, + Eq0: () => eqBigInt +}; +const commutativeRingBigInt = {Ring0: () => ringBigInt}; +const fromTLInt = () => dictReflectable => v => fromTypeLevelInt(dictReflectable.reflectType(Type$dProxy.Proxy)); +const fromString = /* #__PURE__ */ fromStringImpl(Data$dMaybe.Just)(Data$dMaybe.Nothing); +const fromNumber = /* #__PURE__ */ fromNumberImpl(Data$dMaybe.Just)(Data$dMaybe.Nothing); +export {commutativeRingBigInt, eqBigInt, fromNumber, fromString, fromTLInt, ordBigInt, ringBigInt, semiringBigInt, showBigInt}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Main/index.js b/.storybook/purescript-indexer/output-es/Main/index.js new file mode 100644 index 0000000..b0cea08 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Main/index.js @@ -0,0 +1,5 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dPromise from "../Control.Promise/index.js"; +import * as PureScriptCSFIndexer from "../PureScriptCSFIndexer/index.js"; +const indexer = (fn, opts) => Control$dPromise.fromAff(PureScriptCSFIndexer.indexer(fn)(opts))(); +export {indexer}; diff --git a/.storybook/purescript-indexer/output-es/Node.Buffer.Class/index.js b/.storybook/purescript-indexer/output-es/Node.Buffer.Class/index.js new file mode 100644 index 0000000..4f7f140 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.Buffer.Class/index.js @@ -0,0 +1,49 @@ +import * as $runtime from "../runtime.js"; +const writeString = dict => dict.writeString; +const write = dict => dict.write; +const unsafeThaw = dict => dict.unsafeThaw; +const unsafeFreeze = dict => dict.unsafeFreeze; +const toString = dict => dict.toString; +const toArrayBuffer = dict => dict.toArrayBuffer; +const toArray = dict => dict.toArray; +const thaw = dict => dict.thaw; +const slice = dict => dict.slice; +const size = dict => dict.size; +const setAtOffset = dict => dict.setAtOffset; +const readString = dict => dict.readString; +const read = dict => dict.read; +const getAtOffset = dict => dict.getAtOffset; +const fromString = dict => dict.fromString; +const fromArrayBuffer = dict => dict.fromArrayBuffer; +const fromArray = dict => dict.fromArray; +const freeze = dict => dict.freeze; +const fill = dict => dict.fill; +const create = dict => dict.create; +const copy = dict => dict.copy; +const concat$p = dict => dict["concat'"]; +const concat = dict => dict.concat; +export { + concat, + concat$p, + copy, + create, + fill, + freeze, + fromArray, + fromArrayBuffer, + fromString, + getAtOffset, + read, + readString, + setAtOffset, + size, + slice, + thaw, + toArray, + toArrayBuffer, + toString, + unsafeFreeze, + unsafeThaw, + write, + writeString +}; diff --git a/.storybook/purescript-indexer/output-es/Node.Buffer.Immutable/foreign.js b/.storybook/purescript-indexer/output-es/Node.Buffer.Immutable/foreign.js new file mode 100644 index 0000000..48517b7 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.Buffer.Immutable/foreign.js @@ -0,0 +1,99 @@ +/* global Buffer */ +import { inspect } from "util"; +export const showImpl = inspect; + +export function eqImpl(a) { + return b => { + return a.equals(b); + }; +} + +export function compareImpl(a) { + return b => { + return a.compare(b); + }; +} + +export function create(size) { + return Buffer.alloc(size); +} + +export function fromArray(octets) { + return Buffer.from(octets); +} + +export function size(buff) { + return buff.length; +} + +export function toArray(buff) { + var json = buff.toJSON(); + return json.data || json; +} + +export function toArrayBuffer(buff) { + return buff.buffer.slice(buff.byteOffset, buff.byteOffset + buff.byteLength); +} + +export function fromArrayBuffer(ab) { + return Buffer.from(ab); +} + +export function fromStringImpl(str) { + return encoding => { + return Buffer.from(str, encoding); + }; +} + +export function readImpl(ty) { + return offset => { + return buf => { + return buf["read" + ty](offset); + }; + }; +} + +export function readStringImpl(enc) { + return start => { + return end => { + return buff => { + return buff.toString(enc, start, end); + }; + }; + }; +} + +export function getAtOffsetImpl(just) { + return nothing => { + return offset => { + return buff => { + var octet = buff[offset]; + return octet == null ? nothing : just(octet); + }; + }; + }; +} + +export function toStringImpl(enc) { + return buff => { + return buff.toString(enc); + }; +} + +export function slice(start) { + return end => { + return buff => { + return buff.slice(start, end); + }; + }; +} + +export function concat(buffs) { + return Buffer.concat(buffs); +} + +export function concatToLength(buffs) { + return totalLength => { + return Buffer.concat(buffs, totalLength); + }; +} diff --git a/.storybook/purescript-indexer/output-es/Node.Buffer.Immutable/index.js b/.storybook/purescript-indexer/output-es/Node.Buffer.Immutable/index.js new file mode 100644 index 0000000..b927204 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.Buffer.Immutable/index.js @@ -0,0 +1,91 @@ +// | Immutable buffers and associated operations. +import * as $runtime from "../runtime.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import { + compareImpl, + concat, + concatToLength, + create, + eqImpl, + fromArray, + fromArrayBuffer, + fromStringImpl, + getAtOffsetImpl, + readImpl, + readStringImpl, + showImpl, + size, + slice, + toArray, + toArrayBuffer, + toStringImpl +} from "./foreign.js"; +const toString = x => toStringImpl((() => { + if (x.tag === "ASCII") { return "ascii"; } + if (x.tag === "UTF8") { return "utf8"; } + if (x.tag === "UTF16LE") { return "utf16le"; } + if (x.tag === "UCS2") { return "ucs2"; } + if (x.tag === "Base64") { return "base64"; } + if (x.tag === "Latin1") { return "latin1"; } + if (x.tag === "Binary") { return "binary"; } + if (x.tag === "Hex") { return "hex"; } + $runtime.fail(); +})()); +const showBuffer = {show: showImpl}; +const readString = x => readStringImpl((() => { + if (x.tag === "ASCII") { return "ascii"; } + if (x.tag === "UTF8") { return "utf8"; } + if (x.tag === "UTF16LE") { return "utf16le"; } + if (x.tag === "UCS2") { return "ucs2"; } + if (x.tag === "Base64") { return "base64"; } + if (x.tag === "Latin1") { return "latin1"; } + if (x.tag === "Binary") { return "binary"; } + if (x.tag === "Hex") { return "hex"; } + $runtime.fail(); +})()); +const read = x => readImpl((() => { + if (x.tag === "UInt8") { return "UInt8"; } + if (x.tag === "UInt16LE") { return "UInt16LE"; } + if (x.tag === "UInt16BE") { return "UInt16BE"; } + if (x.tag === "UInt32LE") { return "UInt32LE"; } + if (x.tag === "UInt32BE") { return "UInt32BE"; } + if (x.tag === "Int8") { return "Int8"; } + if (x.tag === "Int16LE") { return "Int16LE"; } + if (x.tag === "Int16BE") { return "Int16BE"; } + if (x.tag === "Int32LE") { return "Int32LE"; } + if (x.tag === "Int32BE") { return "Int32BE"; } + if (x.tag === "FloatLE") { return "FloatLE"; } + if (x.tag === "FloatBE") { return "FloatBE"; } + if (x.tag === "DoubleLE") { return "DoubleLE"; } + if (x.tag === "DoubleBE") { return "DoubleBE"; } + $runtime.fail(); +})()); +const getAtOffset = /* #__PURE__ */ getAtOffsetImpl(Data$dMaybe.Just)(Data$dMaybe.Nothing); +const fromString = str => { + const $1 = fromStringImpl(str); + return x => $1((() => { + if (x.tag === "ASCII") { return "ascii"; } + if (x.tag === "UTF8") { return "utf8"; } + if (x.tag === "UTF16LE") { return "utf16le"; } + if (x.tag === "UCS2") { return "ucs2"; } + if (x.tag === "Base64") { return "base64"; } + if (x.tag === "Latin1") { return "latin1"; } + if (x.tag === "Binary") { return "binary"; } + if (x.tag === "Hex") { return "hex"; } + $runtime.fail(); + })()); +}; +const eqBuffer = {eq: eqImpl}; +const ordBuffer = { + compare: a => b => { + const v = compareImpl(a)(b); + if (v < 0) { return Data$dOrdering.LT; } + if (v > 0) { return Data$dOrdering.GT; } + return Data$dOrdering.EQ; + }, + Eq0: () => eqBuffer +}; +const concat$p = concatToLength; +export {concat$p, eqBuffer, fromString, getAtOffset, ordBuffer, read, readString, showBuffer, toString}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Node.Buffer.Internal/foreign.js b/.storybook/purescript-indexer/output-es/Node.Buffer.Internal/foreign.js new file mode 100644 index 0000000..2af2886 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.Buffer.Internal/foreign.js @@ -0,0 +1,68 @@ +/* global Buffer */ +export function copyAll(a) { + return () => { + return Buffer.from(a); + }; +} + +export function writeInternal(ty) { + return value => { + return offset => { + return buf => { + return () => { + buf["write" + ty](value, offset); + }; + }; + }; + }; +} + +export function writeStringInternal(encoding) { + return offset => { + return length => { + return value => { + return buff => { + return () => { + return buff.write(value, offset, length, encoding); + }; + }; + }; + }; + }; +} + +export function setAtOffset(value) { + return offset => { + return buff => { + return () => { + buff[offset] = value; + }; + }; + }; +} + +export function copy(srcStart) { + return srcEnd => { + return src => { + return targStart => { + return targ => { + return () => { + return src.copy(targ, targStart, srcStart, srcEnd); + }; + }; + }; + }; + }; +} + +export function fill(octet) { + return start => { + return end => { + return buf => { + return () => { + buf.fill(octet, start, end); + }; + }; + }; + }; +} diff --git a/.storybook/purescript-indexer/output-es/Node.Buffer.Internal/index.js b/.storybook/purescript-indexer/output-es/Node.Buffer.Internal/index.js new file mode 100644 index 0000000..2068a6f --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.Buffer.Internal/index.js @@ -0,0 +1,135 @@ +// | Functions and types to support the other modules. Not for public use. +import * as $runtime from "../runtime.js"; +import * as Node$dBuffer$dImmutable from "../Node.Buffer.Immutable/index.js"; +import {copy, copyAll, fill, setAtOffset, writeInternal, writeStringInternal} from "./foreign.js"; +const writeString = dictMonad => x => writeStringInternal((() => { + if (x.tag === "ASCII") { return "ascii"; } + if (x.tag === "UTF8") { return "utf8"; } + if (x.tag === "UTF16LE") { return "utf16le"; } + if (x.tag === "UCS2") { return "ucs2"; } + if (x.tag === "Base64") { return "base64"; } + if (x.tag === "Latin1") { return "latin1"; } + if (x.tag === "Binary") { return "binary"; } + if (x.tag === "Hex") { return "hex"; } + $runtime.fail(); +})()); +const write = dictMonad => x => writeInternal((() => { + if (x.tag === "UInt8") { return "UInt8"; } + if (x.tag === "UInt16LE") { return "UInt16LE"; } + if (x.tag === "UInt16BE") { return "UInt16BE"; } + if (x.tag === "UInt32LE") { return "UInt32LE"; } + if (x.tag === "UInt32BE") { return "UInt32BE"; } + if (x.tag === "Int8") { return "Int8"; } + if (x.tag === "Int16LE") { return "Int16LE"; } + if (x.tag === "Int16BE") { return "Int16BE"; } + if (x.tag === "Int32LE") { return "Int32LE"; } + if (x.tag === "Int32BE") { return "Int32BE"; } + if (x.tag === "FloatLE") { return "FloatLE"; } + if (x.tag === "FloatBE") { return "FloatBE"; } + if (x.tag === "DoubleLE") { return "DoubleLE"; } + if (x.tag === "DoubleBE") { return "DoubleBE"; } + $runtime.fail(); +})()); +const unsafeThaw = dictMonad => dictMonad.Applicative0().pure; +const usingToImmutable = dictMonad => { + const unsafeThaw1 = dictMonad.Applicative0().pure; + return f => x => unsafeThaw1(f(x)); +}; +const unsafeFreeze = dictMonad => dictMonad.Applicative0().pure; +const usingFromImmutable = dictMonad => { + const map = dictMonad.Bind1().Apply0().Functor0().map; + const unsafeFreeze1 = dictMonad.Applicative0().pure; + return f => buf => map(f)(unsafeFreeze1(buf)); +}; +const toString = dictMonad => { + const map = dictMonad.Bind1().Apply0().Functor0().map; + const unsafeFreeze1 = dictMonad.Applicative0().pure; + return m => { + const $4 = Node$dBuffer$dImmutable.toString(m); + return buf => map($4)(unsafeFreeze1(buf)); + }; +}; +const toArrayBuffer = dictMonad => { + const map = dictMonad.Bind1().Apply0().Functor0().map; + const unsafeFreeze1 = dictMonad.Applicative0().pure; + return buf => map(Node$dBuffer$dImmutable.toArrayBuffer)(unsafeFreeze1(buf)); +}; +const toArray = dictMonad => { + const map = dictMonad.Bind1().Apply0().Functor0().map; + const unsafeFreeze1 = dictMonad.Applicative0().pure; + return buf => map(Node$dBuffer$dImmutable.toArray)(unsafeFreeze1(buf)); +}; +const slice = Node$dBuffer$dImmutable.slice; +const size = dictMonad => { + const map = dictMonad.Bind1().Apply0().Functor0().map; + const unsafeFreeze1 = dictMonad.Applicative0().pure; + return buf => map(Node$dBuffer$dImmutable.size)(unsafeFreeze1(buf)); +}; +const readString = dictMonad => { + const map = dictMonad.Bind1().Apply0().Functor0().map; + const unsafeFreeze1 = dictMonad.Applicative0().pure; + return m => o => o$p => { + const $6 = Node$dBuffer$dImmutable.readString(m)(o)(o$p); + return buf => map($6)(unsafeFreeze1(buf)); + }; +}; +const read = dictMonad => { + const map = dictMonad.Bind1().Apply0().Functor0().map; + const unsafeFreeze1 = dictMonad.Applicative0().pure; + return t => o => { + const $5 = Node$dBuffer$dImmutable.read(t)(o); + return buf => map($5)(unsafeFreeze1(buf)); + }; +}; +const getAtOffset = dictMonad => { + const map = dictMonad.Bind1().Apply0().Functor0().map; + const unsafeFreeze1 = dictMonad.Applicative0().pure; + return o => { + const $4 = Node$dBuffer$dImmutable.getAtOffset(o); + return buf => map($4)(unsafeFreeze1(buf)); + }; +}; +const fromString = dictMonad => { + const unsafeThaw1 = dictMonad.Applicative0().pure; + return s => { + const $3 = Node$dBuffer$dImmutable.fromString(s); + return x => unsafeThaw1($3(x)); + }; +}; +const fromArrayBuffer = dictMonad => { + const unsafeThaw1 = dictMonad.Applicative0().pure; + return x => unsafeThaw1(Node$dBuffer$dImmutable.fromArrayBuffer(x)); +}; +const fromArray = dictMonad => { + const unsafeThaw1 = dictMonad.Applicative0().pure; + return x => unsafeThaw1(Node$dBuffer$dImmutable.fromArray(x)); +}; +const create = dictMonad => { + const unsafeThaw1 = dictMonad.Applicative0().pure; + return x => unsafeThaw1(Node$dBuffer$dImmutable.create(x)); +}; +const concat$p = dictMonad => arrs => n => v => Node$dBuffer$dImmutable.concatToLength(arrs)(n); +const concat = arrs => v => Node$dBuffer$dImmutable.concat(arrs); +export { + concat, + concat$p, + create, + fromArray, + fromArrayBuffer, + fromString, + getAtOffset, + read, + readString, + size, + slice, + toArray, + toArrayBuffer, + toString, + unsafeFreeze, + unsafeThaw, + usingFromImmutable, + usingToImmutable, + write, + writeString +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Node.Buffer.ST/index.js b/.storybook/purescript-indexer/output-es/Node.Buffer.ST/index.js new file mode 100644 index 0000000..16342c6 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.Buffer.ST/index.js @@ -0,0 +1,32 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dST$dInternal from "../Control.Monad.ST.Internal/index.js"; +import * as Node$dBuffer$dImmutable from "../Node.Buffer.Immutable/index.js"; +import * as Node$dBuffer$dInternal from "../Node.Buffer.Internal/index.js"; +const mutableBufferST = { + create: /* #__PURE__ */ Node$dBuffer$dInternal.create(Control$dMonad$dST$dInternal.monadST), + freeze: Node$dBuffer$dInternal.copyAll, + unsafeFreeze: Control$dMonad$dST$dInternal.pure_, + thaw: Node$dBuffer$dInternal.copyAll, + unsafeThaw: Control$dMonad$dST$dInternal.pure_, + fromArray: /* #__PURE__ */ Node$dBuffer$dInternal.fromArray(Control$dMonad$dST$dInternal.monadST), + fromString: /* #__PURE__ */ Node$dBuffer$dInternal.fromString(Control$dMonad$dST$dInternal.monadST), + fromArrayBuffer: /* #__PURE__ */ Node$dBuffer$dInternal.fromArrayBuffer(Control$dMonad$dST$dInternal.monadST), + toArrayBuffer: /* #__PURE__ */ Node$dBuffer$dInternal.toArrayBuffer(Control$dMonad$dST$dInternal.monadST), + read: /* #__PURE__ */ Node$dBuffer$dInternal.read(Control$dMonad$dST$dInternal.monadST), + readString: /* #__PURE__ */ Node$dBuffer$dInternal.readString(Control$dMonad$dST$dInternal.monadST), + toString: /* #__PURE__ */ Node$dBuffer$dInternal.toString(Control$dMonad$dST$dInternal.monadST), + write: /* #__PURE__ */ Node$dBuffer$dInternal.write(Control$dMonad$dST$dInternal.monadST), + writeString: /* #__PURE__ */ Node$dBuffer$dInternal.writeString(Control$dMonad$dST$dInternal.monadST), + toArray: /* #__PURE__ */ Node$dBuffer$dInternal.toArray(Control$dMonad$dST$dInternal.monadST), + getAtOffset: /* #__PURE__ */ Node$dBuffer$dInternal.getAtOffset(Control$dMonad$dST$dInternal.monadST), + setAtOffset: Node$dBuffer$dInternal.setAtOffset, + slice: Node$dBuffer$dImmutable.slice, + size: /* #__PURE__ */ Node$dBuffer$dInternal.size(Control$dMonad$dST$dInternal.monadST), + concat: Node$dBuffer$dInternal.concat, + "concat'": /* #__PURE__ */ Node$dBuffer$dInternal.concat$p(Control$dMonad$dST$dInternal.monadST), + copy: Node$dBuffer$dInternal.copy, + fill: Node$dBuffer$dInternal.fill, + Monad0: () => Control$dMonad$dST$dInternal.monadST +}; +const run = st => Control$dMonad$dST$dInternal.run(Control$dMonad$dST$dInternal.bind_(st)(Control$dMonad$dST$dInternal.pure_)); +export {mutableBufferST, run}; diff --git a/.storybook/purescript-indexer/output-es/Node.Buffer.Types/index.js b/.storybook/purescript-indexer/output-es/Node.Buffer.Types/index.js new file mode 100644 index 0000000..d4abde2 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.Buffer.Types/index.js @@ -0,0 +1,36 @@ +import * as $runtime from "../runtime.js"; +const $BufferValueType = tag => ({tag}); +const UInt8 = /* #__PURE__ */ $BufferValueType("UInt8"); +const UInt16LE = /* #__PURE__ */ $BufferValueType("UInt16LE"); +const UInt16BE = /* #__PURE__ */ $BufferValueType("UInt16BE"); +const UInt32LE = /* #__PURE__ */ $BufferValueType("UInt32LE"); +const UInt32BE = /* #__PURE__ */ $BufferValueType("UInt32BE"); +const Int8 = /* #__PURE__ */ $BufferValueType("Int8"); +const Int16LE = /* #__PURE__ */ $BufferValueType("Int16LE"); +const Int16BE = /* #__PURE__ */ $BufferValueType("Int16BE"); +const Int32LE = /* #__PURE__ */ $BufferValueType("Int32LE"); +const Int32BE = /* #__PURE__ */ $BufferValueType("Int32BE"); +const FloatLE = /* #__PURE__ */ $BufferValueType("FloatLE"); +const FloatBE = /* #__PURE__ */ $BufferValueType("FloatBE"); +const DoubleLE = /* #__PURE__ */ $BufferValueType("DoubleLE"); +const DoubleBE = /* #__PURE__ */ $BufferValueType("DoubleBE"); +const showBufferValueType = { + show: v => { + if (v.tag === "UInt8") { return "UInt8"; } + if (v.tag === "UInt16LE") { return "UInt16LE"; } + if (v.tag === "UInt16BE") { return "UInt16BE"; } + if (v.tag === "UInt32LE") { return "UInt32LE"; } + if (v.tag === "UInt32BE") { return "UInt32BE"; } + if (v.tag === "Int8") { return "Int8"; } + if (v.tag === "Int16LE") { return "Int16LE"; } + if (v.tag === "Int16BE") { return "Int16BE"; } + if (v.tag === "Int32LE") { return "Int32LE"; } + if (v.tag === "Int32BE") { return "Int32BE"; } + if (v.tag === "FloatLE") { return "FloatLE"; } + if (v.tag === "FloatBE") { return "FloatBE"; } + if (v.tag === "DoubleLE") { return "DoubleLE"; } + if (v.tag === "DoubleBE") { return "DoubleBE"; } + $runtime.fail(); + } +}; +export {$BufferValueType, DoubleBE, DoubleLE, FloatBE, FloatLE, Int16BE, Int16LE, Int32BE, Int32LE, Int8, UInt16BE, UInt16LE, UInt32BE, UInt32LE, UInt8, showBufferValueType}; diff --git a/.storybook/purescript-indexer/output-es/Node.Buffer/index.js b/.storybook/purescript-indexer/output-es/Node.Buffer/index.js new file mode 100644 index 0000000..3ad4d04 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.Buffer/index.js @@ -0,0 +1,32 @@ +// | Mutable buffers and associated operations. +import * as $runtime from "../runtime.js"; +import * as Effect from "../Effect/index.js"; +import * as Node$dBuffer$dImmutable from "../Node.Buffer.Immutable/index.js"; +import * as Node$dBuffer$dInternal from "../Node.Buffer.Internal/index.js"; +const mutableBufferEffect = { + create: /* #__PURE__ */ Node$dBuffer$dInternal.create(Effect.monadEffect), + freeze: Node$dBuffer$dInternal.copyAll, + unsafeFreeze: Effect.pureE, + thaw: Node$dBuffer$dInternal.copyAll, + unsafeThaw: Effect.pureE, + fromArray: /* #__PURE__ */ Node$dBuffer$dInternal.fromArray(Effect.monadEffect), + fromString: /* #__PURE__ */ Node$dBuffer$dInternal.fromString(Effect.monadEffect), + fromArrayBuffer: /* #__PURE__ */ Node$dBuffer$dInternal.fromArrayBuffer(Effect.monadEffect), + toArrayBuffer: /* #__PURE__ */ Node$dBuffer$dInternal.toArrayBuffer(Effect.monadEffect), + read: /* #__PURE__ */ Node$dBuffer$dInternal.read(Effect.monadEffect), + readString: /* #__PURE__ */ Node$dBuffer$dInternal.readString(Effect.monadEffect), + toString: /* #__PURE__ */ Node$dBuffer$dInternal.toString(Effect.monadEffect), + write: /* #__PURE__ */ Node$dBuffer$dInternal.write(Effect.monadEffect), + writeString: /* #__PURE__ */ Node$dBuffer$dInternal.writeString(Effect.monadEffect), + toArray: /* #__PURE__ */ Node$dBuffer$dInternal.toArray(Effect.monadEffect), + getAtOffset: /* #__PURE__ */ Node$dBuffer$dInternal.getAtOffset(Effect.monadEffect), + setAtOffset: Node$dBuffer$dInternal.setAtOffset, + slice: Node$dBuffer$dImmutable.slice, + size: /* #__PURE__ */ Node$dBuffer$dInternal.size(Effect.monadEffect), + concat: Node$dBuffer$dInternal.concat, + "concat'": /* #__PURE__ */ Node$dBuffer$dInternal.concat$p(Effect.monadEffect), + copy: Node$dBuffer$dInternal.copy, + fill: Node$dBuffer$dInternal.fill, + Monad0: () => Effect.monadEffect +}; +export {mutableBufferEffect}; diff --git a/.storybook/purescript-indexer/output-es/Node.ChildProcess/foreign.js b/.storybook/purescript-indexer/output-es/Node.ChildProcess/foreign.js new file mode 100644 index 0000000..b3ba75a --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.ChildProcess/foreign.js @@ -0,0 +1,96 @@ +/* eslint-env node*/ + +import { spawn, exec, execFile, execSync, execFileSync, fork as cp_fork } from "child_process"; + +export function unsafeFromNullable(msg) { + return x => { + if (x === null) throw new Error(msg); + return x; + }; +} + +export function spawnImpl(command) { + return args => opts => () => spawn(command, args, opts); +} + +export function execImpl(command) { + return opts => callback => () => exec( + command, + opts, + (err, stdout, stderr) => { + callback(err)(stdout)(stderr)(); + } + ); +} + +export const execFileImpl = function execImpl(command) { + return args => opts => callback => () => execFile( + command, + args, + opts, + (err, stdout, stderr) => { + callback(err)(stdout)(stderr)(); + } + ); +}; + +export function execSyncImpl(command) { + return opts => () => execSync(command, opts); +} + +export function execFileSyncImpl(command) { + return args => opts => () => execFileSync(command, args, opts); +} + +export function fork(cmd) { + return args => () => cp_fork(cmd, args); +} + +export function mkOnExit(mkChildExit) { + return function onExit(cp) { + return cb => () => { + cp.on("exit", (code, signal) => { + cb(mkChildExit(code)(signal))(); + }); + }; + }; +} + +export function mkOnClose(mkChildExit) { + return function onClose(cp) { + return cb => () => { + cp.on("close", (code, signal) => { + cb(mkChildExit(code)(signal))(); + }); + }; + }; +} + +export function onDisconnect(cp) { + return cb => () => { + cp.on("disconnect", cb); + }; +} + +export function mkOnMessage(nothing) { + return just => (function onMessage(cp) { + return cb => () => { + cp.on("message", (mess, sendHandle) => { + cb(mess, sendHandle ? just(sendHandle) : nothing)(); + }); + }; + }); +} + +export function onError(cp) { + return cb => () => { + cp.on("error", err => { + cb(err)(); + }); + }; +} + +const _undefined = undefined; +export { _undefined as undefined }; +import process from "process"; +export { process }; diff --git a/.storybook/purescript-indexer/output-es/Node.ChildProcess/index.js b/.storybook/purescript-indexer/output-es/Node.ChildProcess/index.js new file mode 100644 index 0000000..7c724ae --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.ChildProcess/index.js @@ -0,0 +1,318 @@ +// | This module contains various types and functions to allow you to spawn and +// | interact with child processes. +// | +// | It is intended to be imported qualified, as follows: +// | +// | ```purescript +// | import Node.ChildProcess (ChildProcess, CHILD_PROCESS) +// | import Node.ChildProcess as ChildProcess +// | ``` +// | +// | The [Node.js documentation](https://nodejs.org/api/child_process.html) +// | forms the basis for this module and has in-depth documentation about +// | runtime behaviour. +import * as $runtime from "../runtime.js"; +import * as Data$dFunctor from "../Data.Functor/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dNullable from "../Data.Nullable/index.js"; +import * as Data$dPosix$dSignal from "../Data.Posix.Signal/index.js"; +import * as Data$dShow from "../Data.Show/index.js"; +import * as Effect$dException from "../Effect.Exception/index.js"; +import * as Effect$dUnsafe from "../Effect.Unsafe/index.js"; +import * as Unsafe$dCoerce from "../Unsafe.Coerce/index.js"; +import { + execFileImpl, + execFileSyncImpl, + execImpl, + execSyncImpl, + fork, + mkOnClose, + mkOnExit, + mkOnMessage, + onDisconnect, + onError, + process, + spawnImpl, + undefined as $$undefined, + unsafeFromNullable +} from "./foreign.js"; +const $Exit = (tag, _1) => ({tag, _1}); +const $StdIOBehaviour = (tag, _1) => ({tag, _1}); +const Pipe = /* #__PURE__ */ $StdIOBehaviour("Pipe"); +const Ignore = /* #__PURE__ */ $StdIOBehaviour("Ignore"); +const ShareStream = value0 => $StdIOBehaviour("ShareStream", value0); +const ShareFD = value0 => $StdIOBehaviour("ShareFD", value0); +const Normally = value0 => $Exit("Normally", value0); +const BySignal = value0 => $Exit("BySignal", value0); +const toStandardError = Unsafe$dCoerce.unsafeCoerce; +const toActualStdIOOptions = /* #__PURE__ */ Data$dFunctor.arrayMap(x => { + if (x.tag === "Just") { + return Data$dNullable.notNull((() => { + if (x._1.tag === "Pipe") { return "pipe"; } + if (x._1.tag === "Ignore") { return "ignore"; } + if (x._1.tag === "ShareFD") { return x._1._1; } + if (x._1.tag === "ShareStream") { return x._1._1; } + $runtime.fail(); + })()); + } + return Data$dNullable.null; +}); +const spawn = cmd => args => { + const $2 = spawnImpl(cmd)(args); + return x => $2({ + cwd: (() => { + if (x.cwd.tag === "Nothing") { return $$undefined; } + if (x.cwd.tag === "Just") { return x.cwd._1; } + $runtime.fail(); + })(), + stdio: toActualStdIOOptions(x.stdio), + env: (() => { + if (x.env.tag === "Nothing") { return Data$dNullable.null; } + if (x.env.tag === "Just") { return Data$dNullable.notNull(x.env._1); } + $runtime.fail(); + })(), + detached: x.detached, + uid: (() => { + if (x.uid.tag === "Nothing") { return $$undefined; } + if (x.uid.tag === "Just") { return x.uid._1; } + $runtime.fail(); + })(), + gid: (() => { + if (x.gid.tag === "Nothing") { return $$undefined; } + if (x.gid.tag === "Just") { return x.gid._1; } + $runtime.fail(); + })() + }); +}; +const showExit = { + show: v => { + if (v.tag === "Normally") { return "Normally " + Data$dShow.showIntImpl(v._1); } + if (v.tag === "BySignal") { return "BySignal " + Data$dPosix$dSignal.toString(v._1); } + $runtime.fail(); + } +}; +const pipe = /* #__PURE__ */ Data$dFunctor.arrayMap(Data$dMaybe.Just)([Pipe, Pipe, Pipe]); +const pid = x => x.pid; +const onMessage = /* #__PURE__ */ mkOnMessage(Data$dMaybe.Nothing)(Data$dMaybe.Just); +const mkExit = code => signal => { + const $2 = Data$dNullable.nullable(code, Data$dMaybe.Nothing, Data$dMaybe.Just); + if ($2.tag === "Just") { + const $3 = Data$dNullable.nullable(signal, Data$dMaybe.Nothing, Data$dMaybe.Just); + if ($3.tag === "Just") { + if (Data$dPosix$dSignal.fromString($3._1).tag === "Just") { return $Exit("Normally", $2._1); } + return $Exit("Normally", $2._1); + } + if ($3.tag === "Nothing") { return $Exit("Normally", $2._1); } + return $Exit("Normally", $2._1); + } + const $3 = Data$dNullable.nullable(signal, Data$dMaybe.Nothing, Data$dMaybe.Just); + if ($3.tag === "Just") { + const $4 = Data$dPosix$dSignal.fromString($3._1); + if ($4.tag === "Just") { return $Exit("BySignal", $4._1); } + return Effect$dUnsafe.unsafePerformEffect(Effect$dException.throwException(Effect$dException.error("Node.ChildProcess.mkExit: Invalid arguments"))); + } + if ($3.tag === "Nothing") { return Effect$dUnsafe.unsafePerformEffect(Effect$dException.throwException(Effect$dException.error("Node.ChildProcess.mkExit: Invalid arguments"))); } + $runtime.fail(); +}; +const onClose = /* #__PURE__ */ mkOnClose(mkExit); +const onExit = /* #__PURE__ */ mkOnExit(mkExit); +const send = msg => handle => v => v1 => v.send(msg, handle); +const stderr = /* #__PURE__ */ (() => { + const $0 = unsafeFromNullable("Node.ChildProcess: stream not available: stderr\nThis is probably because you passed something other than Pipe to the stdio option when you spawned it."); + return x => $0(x.stderr); +})(); +const stdin = /* #__PURE__ */ (() => { + const $0 = unsafeFromNullable("Node.ChildProcess: stream not available: stdin\nThis is probably because you passed something other than Pipe to the stdio option when you spawned it."); + return x => $0(x.stdin); +})(); +const stdout = /* #__PURE__ */ (() => { + const $0 = unsafeFromNullable("Node.ChildProcess: stream not available: stdout\nThis is probably because you passed something other than Pipe to the stdio option when you spawned it."); + return x => $0(x.stdout); +})(); +const kill = sig => v => v1 => v.kill(Data$dPosix$dSignal.toString(sig)); +const inherit = /* #__PURE__ */ (() => Data$dFunctor.arrayMap(Data$dMaybe.Just)([ + $StdIOBehaviour("ShareStream", process.stdin), + $StdIOBehaviour("ShareStream", process.stdout), + $StdIOBehaviour("ShareStream", process.stderr) +]))(); +const ignore = /* #__PURE__ */ Data$dFunctor.arrayMap(Data$dMaybe.Just)([Ignore, Ignore, Ignore]); +const disconnect = x => x.disconnect; +const defaultSpawnOptions = {cwd: Data$dMaybe.Nothing, stdio: pipe, env: Data$dMaybe.Nothing, detached: false, uid: Data$dMaybe.Nothing, gid: Data$dMaybe.Nothing}; +const defaultExecSyncOptions = { + cwd: Data$dMaybe.Nothing, + input: Data$dMaybe.Nothing, + stdio: pipe, + env: Data$dMaybe.Nothing, + timeout: Data$dMaybe.Nothing, + maxBuffer: Data$dMaybe.Nothing, + killSignal: Data$dMaybe.Nothing, + uid: Data$dMaybe.Nothing, + gid: Data$dMaybe.Nothing +}; +const defaultExecOptions = { + cwd: Data$dMaybe.Nothing, + env: Data$dMaybe.Nothing, + encoding: Data$dMaybe.Nothing, + shell: Data$dMaybe.Nothing, + timeout: Data$dMaybe.Nothing, + maxBuffer: Data$dMaybe.Nothing, + killSignal: Data$dMaybe.Nothing, + uid: Data$dMaybe.Nothing, + gid: Data$dMaybe.Nothing +}; +const convertExecSyncOptions = opts => ( + { + cwd: (() => { + if (opts.cwd.tag === "Nothing") { return $$undefined; } + if (opts.cwd.tag === "Just") { return opts.cwd._1; } + $runtime.fail(); + })(), + input: (() => { + if (opts.input.tag === "Nothing") { return $$undefined; } + if (opts.input.tag === "Just") { return opts.input._1; } + $runtime.fail(); + })(), + stdio: toActualStdIOOptions(opts.stdio), + env: (() => { + if (opts.env.tag === "Nothing") { return $$undefined; } + if (opts.env.tag === "Just") { return opts.env._1; } + $runtime.fail(); + })(), + timeout: (() => { + if (opts.timeout.tag === "Nothing") { return $$undefined; } + if (opts.timeout.tag === "Just") { return opts.timeout._1; } + $runtime.fail(); + })(), + maxBuffer: (() => { + if (opts.maxBuffer.tag === "Nothing") { return $$undefined; } + if (opts.maxBuffer.tag === "Just") { return opts.maxBuffer._1; } + $runtime.fail(); + })(), + killSignal: (() => { + if (opts.killSignal.tag === "Nothing") { return $$undefined; } + if (opts.killSignal.tag === "Just") { return opts.killSignal._1; } + $runtime.fail(); + })(), + uid: (() => { + if (opts.uid.tag === "Nothing") { return $$undefined; } + if (opts.uid.tag === "Just") { return opts.uid._1; } + $runtime.fail(); + })(), + gid: (() => { + if (opts.gid.tag === "Nothing") { return $$undefined; } + if (opts.gid.tag === "Just") { return opts.gid._1; } + $runtime.fail(); + })() + } +); +const execFileSync = cmd => args => opts => execFileSyncImpl(cmd)(args)(convertExecSyncOptions(opts)); +const execSync = cmd => opts => execSyncImpl(cmd)(convertExecSyncOptions(opts)); +const convertExecOptions = opts => ( + { + cwd: (() => { + if (opts.cwd.tag === "Nothing") { return $$undefined; } + if (opts.cwd.tag === "Just") { return opts.cwd._1; } + $runtime.fail(); + })(), + env: (() => { + if (opts.env.tag === "Nothing") { return $$undefined; } + if (opts.env.tag === "Just") { return opts.env._1; } + $runtime.fail(); + })(), + encoding: (() => { + if (opts.encoding.tag === "Nothing") { return $$undefined; } + if (opts.encoding.tag === "Just") { + if (opts.encoding._1.tag === "ASCII") { return "ascii"; } + if (opts.encoding._1.tag === "UTF8") { return "utf8"; } + if (opts.encoding._1.tag === "UTF16LE") { return "utf16le"; } + if (opts.encoding._1.tag === "UCS2") { return "ucs2"; } + if (opts.encoding._1.tag === "Base64") { return "base64"; } + if (opts.encoding._1.tag === "Latin1") { return "latin1"; } + if (opts.encoding._1.tag === "Binary") { return "binary"; } + if (opts.encoding._1.tag === "Hex") { return "hex"; } + $runtime.fail(); + } + $runtime.fail(); + })(), + shell: (() => { + if (opts.shell.tag === "Nothing") { return $$undefined; } + if (opts.shell.tag === "Just") { return opts.shell._1; } + $runtime.fail(); + })(), + timeout: (() => { + if (opts.timeout.tag === "Nothing") { return $$undefined; } + if (opts.timeout.tag === "Just") { return opts.timeout._1; } + $runtime.fail(); + })(), + maxBuffer: (() => { + if (opts.maxBuffer.tag === "Nothing") { return $$undefined; } + if (opts.maxBuffer.tag === "Just") { return opts.maxBuffer._1; } + $runtime.fail(); + })(), + killSignal: (() => { + if (opts.killSignal.tag === "Nothing") { return $$undefined; } + if (opts.killSignal.tag === "Just") { return opts.killSignal._1; } + $runtime.fail(); + })(), + uid: (() => { + if (opts.uid.tag === "Nothing") { return $$undefined; } + if (opts.uid.tag === "Just") { return opts.uid._1; } + $runtime.fail(); + })(), + gid: (() => { + if (opts.gid.tag === "Nothing") { return $$undefined; } + if (opts.gid.tag === "Just") { return opts.gid._1; } + $runtime.fail(); + })() + } +); +const exec = cmd => opts => callback => execImpl(cmd)(convertExecOptions(opts))(err => stdout$p => stderr$p => callback({ + error: Data$dNullable.nullable(err, Data$dMaybe.Nothing, Data$dMaybe.Just), + stdout: stdout$p, + stderr: stderr$p +})); +const execFile = cmd => args => opts => callback => execFileImpl(cmd)(args)(convertExecOptions(opts))(err => stdout$p => stderr$p => callback({ + error: Data$dNullable.nullable(err, Data$dMaybe.Nothing, Data$dMaybe.Just), + stdout: stdout$p, + stderr: stderr$p +})); +const connected = v => v1 => v.connected; +export { + $Exit, + $StdIOBehaviour, + BySignal, + Ignore, + Normally, + Pipe, + ShareFD, + ShareStream, + connected, + convertExecOptions, + convertExecSyncOptions, + defaultExecOptions, + defaultExecSyncOptions, + defaultSpawnOptions, + disconnect, + exec, + execFile, + execFileSync, + execSync, + ignore, + inherit, + kill, + mkExit, + onClose, + onExit, + onMessage, + pid, + pipe, + send, + showExit, + spawn, + stderr, + stdin, + stdout, + toActualStdIOOptions, + toStandardError +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Node.Encoding/foreign.js b/.storybook/purescript-indexer/output-es/Node.Encoding/foreign.js new file mode 100644 index 0000000..608e31d --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.Encoding/foreign.js @@ -0,0 +1,6 @@ +/* global Buffer */ +export function byteLengthImpl(str) { + return enc => { + return Buffer.byteLength(str, enc); + }; +} diff --git a/.storybook/purescript-indexer/output-es/Node.Encoding/index.js b/.storybook/purescript-indexer/output-es/Node.Encoding/index.js new file mode 100644 index 0000000..a683b6e --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.Encoding/index.js @@ -0,0 +1,48 @@ +import * as $runtime from "../runtime.js"; +import {byteLengthImpl} from "./foreign.js"; +const $Encoding = tag => ({tag}); +const ASCII = /* #__PURE__ */ $Encoding("ASCII"); +const UTF8 = /* #__PURE__ */ $Encoding("UTF8"); +const UTF16LE = /* #__PURE__ */ $Encoding("UTF16LE"); +const UCS2 = /* #__PURE__ */ $Encoding("UCS2"); +const Base64 = /* #__PURE__ */ $Encoding("Base64"); +const Latin1 = /* #__PURE__ */ $Encoding("Latin1"); +const Binary = /* #__PURE__ */ $Encoding("Binary"); +const Hex = /* #__PURE__ */ $Encoding("Hex"); +const showEncoding = { + show: v => { + if (v.tag === "ASCII") { return "ASCII"; } + if (v.tag === "UTF8") { return "UTF8"; } + if (v.tag === "UTF16LE") { return "UTF16LE"; } + if (v.tag === "UCS2") { return "UCS2"; } + if (v.tag === "Base64") { return "Base64"; } + if (v.tag === "Latin1") { return "Latin1"; } + if (v.tag === "Binary") { return "Binary"; } + if (v.tag === "Hex") { return "Hex"; } + $runtime.fail(); + } +}; +const encodingToNode = v => { + if (v.tag === "ASCII") { return "ascii"; } + if (v.tag === "UTF8") { return "utf8"; } + if (v.tag === "UTF16LE") { return "utf16le"; } + if (v.tag === "UCS2") { return "ucs2"; } + if (v.tag === "Base64") { return "base64"; } + if (v.tag === "Latin1") { return "latin1"; } + if (v.tag === "Binary") { return "binary"; } + if (v.tag === "Hex") { return "hex"; } + $runtime.fail(); +}; +const byteLength = str => enc => byteLengthImpl(str)((() => { + if (enc.tag === "ASCII") { return "ascii"; } + if (enc.tag === "UTF8") { return "utf8"; } + if (enc.tag === "UTF16LE") { return "utf16le"; } + if (enc.tag === "UCS2") { return "ucs2"; } + if (enc.tag === "Base64") { return "base64"; } + if (enc.tag === "Latin1") { return "latin1"; } + if (enc.tag === "Binary") { return "binary"; } + if (enc.tag === "Hex") { return "hex"; } + $runtime.fail(); +})()); +export {$Encoding, ASCII, Base64, Binary, Hex, Latin1, UCS2, UTF16LE, UTF8, byteLength, encodingToNode, showEncoding}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Node.FS.Aff/index.js b/.storybook/purescript-indexer/output-es/Node.FS.Aff/index.js new file mode 100644 index 0000000..7b9e659 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.FS.Aff/index.js @@ -0,0 +1,111 @@ +import * as $runtime from "../runtime.js"; +import * as Effect$dAff from "../Effect.Aff/index.js"; +import * as Node$dFS$dAsync from "../Node.FS.Async/index.js"; +const toAff1 = f => a => { + const $2 = f(a); + return Effect$dAff.makeAff(k => { + const $4 = $2(k); + return () => { + $4(); + return Effect$dAff.nonCanceler; + }; + }); +}; +const unlink = /* #__PURE__ */ toAff1(Node$dFS$dAsync.unlink); +const toAff2 = f => a => b => { + const $3 = f(a)(b); + return Effect$dAff.makeAff(k => { + const $5 = $3(k); + return () => { + $5(); + return Effect$dAff.nonCanceler; + }; + }); +}; +const truncate = /* #__PURE__ */ toAff2(Node$dFS$dAsync.truncate); +const writeFile = /* #__PURE__ */ toAff2(Node$dFS$dAsync.writeFile); +const toAff3 = f => a => b => c => { + const $4 = f(a)(b)(c); + return Effect$dAff.makeAff(k => { + const $6 = $4(k); + return () => { + $6(); + return Effect$dAff.nonCanceler; + }; + }); +}; +const utimes = /* #__PURE__ */ toAff3(Node$dFS$dAsync.utimes); +const writeTextFile = /* #__PURE__ */ toAff3(Node$dFS$dAsync.writeTextFile); +const toAff5 = f => a => b => c => d => e => { + const $6 = f(a)(b)(c)(d)(e); + return Effect$dAff.makeAff(k => { + const $8 = $6(k); + return () => { + $8(); + return Effect$dAff.nonCanceler; + }; + }); +}; +const symlink = /* #__PURE__ */ toAff3(Node$dFS$dAsync.symlink); +const stat = /* #__PURE__ */ toAff1(Node$dFS$dAsync.stat); +const rmdir$p = /* #__PURE__ */ toAff2(Node$dFS$dAsync.rmdir$p); +const rmdir = /* #__PURE__ */ toAff1(Node$dFS$dAsync.rmdir); +const rm$p = /* #__PURE__ */ toAff2(Node$dFS$dAsync.rm$p); +const rm = /* #__PURE__ */ toAff1(Node$dFS$dAsync.rmdir); +const rename = /* #__PURE__ */ toAff2(Node$dFS$dAsync.rename); +const realpath$p = /* #__PURE__ */ toAff2(Node$dFS$dAsync.realpath$p); +const realpath = /* #__PURE__ */ toAff1(Node$dFS$dAsync.realpath); +const readlink = /* #__PURE__ */ toAff1(Node$dFS$dAsync.readlink); +const readdir = /* #__PURE__ */ toAff1(Node$dFS$dAsync.readdir); +const readTextFile = /* #__PURE__ */ toAff2(Node$dFS$dAsync.readTextFile); +const readFile = /* #__PURE__ */ toAff1(Node$dFS$dAsync.readFile); +const mkdir$p = /* #__PURE__ */ toAff2(Node$dFS$dAsync.mkdir$p); +const mkdir = /* #__PURE__ */ toAff1(Node$dFS$dAsync.mkdir); +const link = /* #__PURE__ */ toAff2(Node$dFS$dAsync.link); +const fdWrite = /* #__PURE__ */ toAff5(Node$dFS$dAsync.fdWrite); +const fdRead = /* #__PURE__ */ toAff5(Node$dFS$dAsync.fdRead); +const fdOpen = /* #__PURE__ */ toAff3(Node$dFS$dAsync.fdOpen); +const fdNext = /* #__PURE__ */ toAff2(Node$dFS$dAsync.fdNext); +const fdClose = /* #__PURE__ */ toAff1(Node$dFS$dAsync.fdClose); +const fdAppend = /* #__PURE__ */ toAff2(Node$dFS$dAsync.fdAppend); +const chown = /* #__PURE__ */ toAff3(Node$dFS$dAsync.chown); +const chmod = /* #__PURE__ */ toAff2(Node$dFS$dAsync.chmod); +const appendTextFile = /* #__PURE__ */ toAff3(Node$dFS$dAsync.appendTextFile); +const appendFile = /* #__PURE__ */ toAff2(Node$dFS$dAsync.appendFile); +export { + appendFile, + appendTextFile, + chmod, + chown, + fdAppend, + fdClose, + fdNext, + fdOpen, + fdRead, + fdWrite, + link, + mkdir, + mkdir$p, + readFile, + readTextFile, + readdir, + readlink, + realpath, + realpath$p, + rename, + rm, + rm$p, + rmdir, + rmdir$p, + stat, + symlink, + toAff1, + toAff2, + toAff3, + toAff5, + truncate, + unlink, + utimes, + writeFile, + writeTextFile +}; diff --git a/.storybook/purescript-indexer/output-es/Node.FS.Async/foreign.js b/.storybook/purescript-indexer/output-es/Node.FS.Async/foreign.js new file mode 100644 index 0000000..3ddc7a7 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.FS.Async/foreign.js @@ -0,0 +1,25 @@ +export { + rename as renameImpl, + truncate as truncateImpl, + chown as chownImpl, + chmod as chmodImpl, + stat as statImpl, + lstat as lstatImpl, + link as linkImpl, + symlink as symlinkImpl, + readlink as readlinkImpl, + realpath as realpathImpl, + unlink as unlinkImpl, + rmdir as rmdirImpl, + rm as rmImpl, + mkdir as mkdirImpl, + readdir as readdirImpl, + utimes as utimesImpl, + readFile as readFileImpl, + writeFile as writeFileImpl, + appendFile as appendFileImpl, + open as openImpl, + read as readImpl, + write as writeImpl, + close as closeImpl +} from "fs"; diff --git a/.storybook/purescript-indexer/output-es/Node.FS.Async/index.js b/.storybook/purescript-indexer/output-es/Node.FS.Async/index.js new file mode 100644 index 0000000..0633b8f --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.FS.Async/index.js @@ -0,0 +1,235 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dDateTime$dInstant from "../Data.DateTime.Instant/index.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dEuclideanRing from "../Data.EuclideanRing/index.js"; +import * as Data$dInt from "../Data.Int/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dNullable from "../Data.Nullable/index.js"; +import * as Data$dNumber from "../Data.Number/index.js"; +import * as Node$dBuffer from "../Node.Buffer/index.js"; +import * as Node$dFS$dPerms from "../Node.FS.Perms/index.js"; +import * as Node$dFS$dStats from "../Node.FS.Stats/index.js"; +import { + appendFileImpl, + chmodImpl, + chownImpl, + closeImpl, + linkImpl, + lstatImpl, + mkdirImpl, + openImpl, + readFileImpl, + readImpl, + readdirImpl, + readlinkImpl, + realpathImpl, + renameImpl, + rmImpl, + rmdirImpl, + statImpl, + symlinkImpl, + truncateImpl, + unlinkImpl, + utimesImpl, + writeFileImpl, + writeImpl +} from "./foreign.js"; +const handleCallback = cb => (err, a) => { + const v = Data$dNullable.nullable(err, Data$dMaybe.Nothing, Data$dMaybe.Just); + if (v.tag === "Nothing") { return cb(Data$dEither.$Either("Right", a))(); } + if (v.tag === "Just") { return cb(Data$dEither.$Either("Left", v._1))(); } + $runtime.fail(); +}; +const link = src => dst => cb => () => linkImpl(src, dst, handleCallback(cb)); +const lstat = file => cb => { + const $2 = handleCallback(x => cb((() => { + if (x.tag === "Left") { return Data$dEither.$Either("Left", x._1); } + if (x.tag === "Right") { return Data$dEither.$Either("Right", Node$dFS$dStats.$Stats(x._1)); } + $runtime.fail(); + })())); + return () => lstatImpl(file, $2); +}; +const mkdir$p = file => v => cb => { + const $3 = {recursive: v.recursive, mode: Node$dFS$dPerms.permsToString(v.mode)}; + return () => mkdirImpl(file, $3, handleCallback(cb)); +}; +const mkdir = path => mkdir$p(path)({recursive: false, mode: {u: Node$dFS$dPerms.semiringPerm.one, g: Node$dFS$dPerms.semiringPerm.one, o: Node$dFS$dPerms.semiringPerm.one}}); +const readFile = file => cb => () => readFileImpl(file, {}, handleCallback(cb)); +const readTextFile = encoding => file => cb => { + const $3 = { + encoding: (() => { + if (encoding.tag === "ASCII") { return "ASCII"; } + if (encoding.tag === "UTF8") { return "UTF8"; } + if (encoding.tag === "UTF16LE") { return "UTF16LE"; } + if (encoding.tag === "UCS2") { return "UCS2"; } + if (encoding.tag === "Base64") { return "Base64"; } + if (encoding.tag === "Latin1") { return "Latin1"; } + if (encoding.tag === "Binary") { return "Binary"; } + if (encoding.tag === "Hex") { return "Hex"; } + $runtime.fail(); + })() + }; + return () => readFileImpl(file, $3, handleCallback(cb)); +}; +const readdir = file => cb => () => readdirImpl(file, handleCallback(cb)); +const readlink = path => cb => () => readlinkImpl(path, handleCallback(cb)); +const realpath = path => cb => () => realpathImpl(path, {}, handleCallback(cb)); +const realpath$p = path => cache => cb => () => realpathImpl(path, cache, handleCallback(cb)); +const rename = oldFile => newFile => cb => () => renameImpl(oldFile, newFile, handleCallback(cb)); +const rm$p = path => opts => cb => () => rmImpl(path, opts, handleCallback(cb)); +const rm = path => rm$p(path)({force: false, maxRetries: 100, recursive: false, retryDelay: 1000}); +const rmdir$p = path => opts => cb => () => rmdirImpl(path, opts, handleCallback(cb)); +const rmdir = path => cb => () => rmdirImpl(path, {maxRetries: 0, retryDelay: 100}, handleCallback(cb)); +const stat = file => cb => { + const $2 = handleCallback(x => cb((() => { + if (x.tag === "Left") { return Data$dEither.$Either("Left", x._1); } + if (x.tag === "Right") { return Data$dEither.$Either("Right", Node$dFS$dStats.$Stats(x._1)); } + $runtime.fail(); + })())); + return () => statImpl(file, $2); +}; +const symlink = src => dest => ty => cb => { + const $4 = (() => { + if (ty.tag === "FileLink") { return "file"; } + if (ty.tag === "DirLink") { return "dir"; } + if (ty.tag === "JunctionLink") { return "junction"; } + $runtime.fail(); + })(); + return () => symlinkImpl(src, dest, $4, handleCallback(cb)); +}; +const truncate = file => len => cb => () => truncateImpl(file, len, handleCallback(cb)); +const unlink = file => cb => () => unlinkImpl(file, handleCallback(cb)); +const utimes = file => atime => mtime => cb => { + const $4 = Data$dEuclideanRing.intDiv(Data$dInt.unsafeClamp(Data$dNumber.round(Data$dDateTime$dInstant.fromDateTime(atime))))(1000); + const $5 = Data$dEuclideanRing.intDiv(Data$dInt.unsafeClamp(Data$dNumber.round(Data$dDateTime$dInstant.fromDateTime(mtime))))(1000); + return () => utimesImpl(file, $4, $5, handleCallback(cb)); +}; +const writeFile = file => buff => cb => () => writeFileImpl(file, buff, {}, handleCallback(cb)); +const writeTextFile = encoding => file => buff => cb => { + const $4 = { + encoding: (() => { + if (encoding.tag === "ASCII") { return "ASCII"; } + if (encoding.tag === "UTF8") { return "UTF8"; } + if (encoding.tag === "UTF16LE") { return "UTF16LE"; } + if (encoding.tag === "UCS2") { return "UCS2"; } + if (encoding.tag === "Base64") { return "Base64"; } + if (encoding.tag === "Latin1") { return "Latin1"; } + if (encoding.tag === "Binary") { return "Binary"; } + if (encoding.tag === "Hex") { return "Hex"; } + $runtime.fail(); + })() + }; + return () => writeFileImpl(file, buff, $4, handleCallback(cb)); +}; +const fdWrite = fd => buff => off => len => pos => cb => { + const $6 = (() => { + if (pos.tag === "Nothing") { return Data$dNullable.null; } + if (pos.tag === "Just") { return Data$dNullable.notNull(pos._1); } + $runtime.fail(); + })(); + return () => writeImpl(fd, buff, off, len, $6, handleCallback(cb)); +}; +const fdRead = fd => buff => off => len => pos => cb => { + const $6 = (() => { + if (pos.tag === "Nothing") { return Data$dNullable.null; } + if (pos.tag === "Just") { return Data$dNullable.notNull(pos._1); } + $runtime.fail(); + })(); + return () => readImpl(fd, buff, off, len, $6, handleCallback(cb)); +}; +const fdOpen = file => flags => mode => cb => { + const $4 = (() => { + if (flags.tag === "R") { return "r"; } + if (flags.tag === "R_PLUS") { return "r+"; } + if (flags.tag === "RS") { return "rs"; } + if (flags.tag === "RS_PLUS") { return "rs+"; } + if (flags.tag === "W") { return "w"; } + if (flags.tag === "WX") { return "wx"; } + if (flags.tag === "W_PLUS") { return "w+"; } + if (flags.tag === "WX_PLUS") { return "wx+"; } + if (flags.tag === "A") { return "a"; } + if (flags.tag === "AX") { return "ax"; } + if (flags.tag === "A_PLUS") { return "a+"; } + if (flags.tag === "AX_PLUS") { return "ax+"; } + $runtime.fail(); + })(); + const $5 = (() => { + if (mode.tag === "Nothing") { return Data$dNullable.null; } + if (mode.tag === "Just") { return Data$dNullable.notNull(mode._1); } + $runtime.fail(); + })(); + return () => openImpl(file, $4, $5, handleCallback(cb)); +}; +const fdNext = fd => buff => cb => { + const $3 = Node$dBuffer.mutableBufferEffect.size(buff); + return () => { + const sz = $3(); + return fdRead(fd)(buff)(0)(sz)(Data$dMaybe.Nothing)(cb)(); + }; +}; +const fdClose = fd => cb => () => closeImpl(fd, handleCallback(cb)); +const fdAppend = fd => buff => cb => { + const $3 = Node$dBuffer.mutableBufferEffect.size(buff); + return () => { + const sz = $3(); + return fdWrite(fd)(buff)(0)(sz)(Data$dMaybe.Nothing)(cb)(); + }; +}; +const chown = file => uid => gid => cb => () => chownImpl(file, uid, gid, handleCallback(cb)); +const chmod = file => perms => cb => { + const $3 = Node$dFS$dPerms.permsToString(perms); + return () => chmodImpl(file, $3, handleCallback(cb)); +}; +const appendTextFile = encoding => file => buff => cb => { + const $4 = { + encoding: (() => { + if (encoding.tag === "ASCII") { return "ASCII"; } + if (encoding.tag === "UTF8") { return "UTF8"; } + if (encoding.tag === "UTF16LE") { return "UTF16LE"; } + if (encoding.tag === "UCS2") { return "UCS2"; } + if (encoding.tag === "Base64") { return "Base64"; } + if (encoding.tag === "Latin1") { return "Latin1"; } + if (encoding.tag === "Binary") { return "Binary"; } + if (encoding.tag === "Hex") { return "Hex"; } + $runtime.fail(); + })() + }; + return () => appendFileImpl(file, buff, $4, handleCallback(cb)); +}; +const appendFile = file => buff => cb => () => appendFileImpl(file, buff, {}, handleCallback(cb)); +export { + appendFile, + appendTextFile, + chmod, + chown, + fdAppend, + fdClose, + fdNext, + fdOpen, + fdRead, + fdWrite, + handleCallback, + link, + lstat, + mkdir, + mkdir$p, + readFile, + readTextFile, + readdir, + readlink, + realpath, + realpath$p, + rename, + rm, + rm$p, + rmdir, + rmdir$p, + stat, + symlink, + truncate, + unlink, + utimes, + writeFile, + writeTextFile +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Node.FS.Perms/index.js b/.storybook/purescript-indexer/output-es/Node.FS.Perms/index.js new file mode 100644 index 0000000..404d3b8 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.FS.Perms/index.js @@ -0,0 +1,147 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dEnum from "../Data.Enum/index.js"; +import * as Data$dFunctor from "../Data.Functor/index.js"; +import * as Data$dInt from "../Data.Int/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dSemigroup from "../Data.Semigroup/index.js"; +import * as Data$dShow from "../Data.Show/index.js"; +import * as Data$dString$dCodePoints from "../Data.String.CodePoints/index.js"; +import * as Data$dString$dCodeUnits from "../Data.String.CodeUnits/index.js"; +import * as Data$dString$dCommon from "../Data.String.Common/index.js"; +const compare = /* #__PURE__ */ (() => Data$dOrd.ordArray(Data$dOrd.ordBoolean).compare)(); +const write = {r: false, w: true, x: false}; +const semiringPerm = { + add: v => v1 => ({r: v.r || v1.r, w: v.w || v1.w, x: v.x || v1.x}), + zero: {r: false, w: false, x: false}, + mul: v => v1 => ({r: v.r && v1.r, w: v.w && v1.w, x: v.x && v1.x}), + one: {r: true, w: true, x: true} +}; +const read = {r: true, w: false, x: false}; +const permToString = x => Data$dShow.showIntImpl(( + (() => { + if (x.r) { return 4; } + return 0; + })() + (() => { + if (x.w) { return 2; } + return 0; + })() | 0 +) + (() => { + if (x.x) { return 1; } + return 0; +})() | 0); +const permsToString = v => "0" + (permToString(v.u) + (permToString(v.g) + permToString(v.o))); +const permsToInt = /* #__PURE__ */ (() => { + const $0 = Data$dInt.fromStringAs(8); + return x => { + const $2 = $0(permsToString(x)); + if ($2.tag === "Just") { return $2._1; } + $runtime.fail(); + }; +})(); +const none = /* #__PURE__ */ (() => semiringPerm.zero)(); +const mkPerms = u => g => o => ({u: u, g: g, o: o}); +const mkPerm = r => w => x => ({r: r, w: w, x: x}); +const execute = {r: false, w: false, x: true}; +const permFromChar = c => { + if (c === "0") { return Data$dMaybe.$Maybe("Just", semiringPerm.zero); } + if (c === "1") { return Data$dMaybe.$Maybe("Just", execute); } + if (c === "2") { return Data$dMaybe.$Maybe("Just", write); } + if (c === "3") { return Data$dMaybe.$Maybe("Just", {r: false, w: true, x: true}); } + if (c === "4") { return Data$dMaybe.$Maybe("Just", read); } + if (c === "5") { return Data$dMaybe.$Maybe("Just", {r: true, w: false, x: true}); } + if (c === "6") { return Data$dMaybe.$Maybe("Just", {r: true, w: true, x: false}); } + if (c === "7") { return Data$dMaybe.$Maybe("Just", {r: true, w: true, x: true}); } + return Data$dMaybe.Nothing; +}; +const permsFromString = /* #__PURE__ */ (() => { + const $0 = Data$dEnum.fromCharCode(48); + return x => { + const $2 = Data$dString$dCodeUnits.toCharArray((() => { + if ( + (() => { + const $2 = Data$dString$dCodeUnits.charAt(0)(x); + if ($2.tag === "Nothing") { return false; } + if ($2.tag === "Just") { return $2._1 === $0; } + return false; + })() + ) { + return Data$dString$dCodeUnits.drop(Data$dString$dCodeUnits.length(Data$dString$dCodePoints.take(1)(x)))(x); + } + return x; + })()); + if ($2.length === 3) { + return Data$dMaybe.applyMaybe.apply(Data$dMaybe.applyMaybe.apply((() => { + const $3 = permFromChar($2[0]); + if ($3.tag === "Just") { return Data$dMaybe.$Maybe("Just", g => o => ({u: $3._1, g: g, o: o})); } + return Data$dMaybe.Nothing; + })())(permFromChar($2[1])))(permFromChar($2[2])); + } + return Data$dMaybe.Nothing; + }; +})(); +const eqPerm = {eq: v => v1 => v.r === v1.r && (v.w === v1.w && v.x === v1.x)}; +const eqPerms = { + eq: v => v1 => v.u.r === v1.u.r && (v.u.w === v1.u.w && v.u.x === v1.u.x) && ( + v.g.r === v1.g.r && (v.g.w === v1.g.w && v.g.x === v1.g.x) && (v.o.r === v1.o.r && (v.o.w === v1.o.w && v.o.x === v1.o.x)) + ) +}; +const ordPerm = {compare: v => v1 => compare([v.r, v.w, v.x])([v1.r, v1.w, v1.x]), Eq0: () => eqPerm}; +const compare1 = /* #__PURE__ */ (() => Data$dOrd.ordArray(ordPerm).compare)(); +const ordPerms = {compare: v => v1 => compare1([v.u, v.g, v.o])([v1.u, v1.g, v1.o]), Eq0: () => eqPerms}; +const all = /* #__PURE__ */ (() => semiringPerm.one)(); +const showPerm = { + show: v => { + if (v.r === semiringPerm.zero.r && (v.w === semiringPerm.zero.w && v.x === semiringPerm.zero.x)) { return "none"; } + if (v.r === semiringPerm.one.r && (v.w === semiringPerm.one.w && v.x === semiringPerm.one.x)) { return "all"; } + return Data$dString$dCommon.joinWith(" + ")(Data$dSemigroup.concatArray((() => { + if (v.r) { return ["read"]; } + return []; + })())(Data$dSemigroup.concatArray((() => { + if (v.w) { return ["write"]; } + return []; + })())((() => { + if (v.x) { return ["execute"]; } + return []; + })()))); + } +}; +const showPerms = { + show: v => "mkPerms " + Data$dString$dCommon.joinWith(" ")(Data$dFunctor.arrayMap(perm => { + const str = showPerm.show(perm); + if ( + (() => { + const $3 = Data$dString$dCodePoints.indexOf(" ")(str); + if ($3.tag === "Nothing") { return true; } + if ($3.tag === "Just") { return false; } + $runtime.fail(); + })() + ) { + return str; + } + return "(" + (str + ")"); + })([v.u, v.g, v.o])) +}; +export { + all, + compare, + compare1, + eqPerm, + eqPerms, + execute, + mkPerm, + mkPerms, + none, + ordPerm, + ordPerms, + permFromChar, + permToString, + permsFromString, + permsToInt, + permsToString, + read, + semiringPerm, + showPerm, + showPerms, + write +}; diff --git a/.storybook/purescript-indexer/output-es/Node.FS.Stats/foreign.js b/.storybook/purescript-indexer/output-es/Node.FS.Stats/foreign.js new file mode 100644 index 0000000..e6e6148 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.FS.Stats/foreign.js @@ -0,0 +1,5 @@ +export { inspect as showStatsObj } from "util"; + +export function statsMethod(m, s) { + return s[m](); +} diff --git a/.storybook/purescript-indexer/output-es/Node.FS.Stats/index.js b/.storybook/purescript-indexer/output-es/Node.FS.Stats/index.js new file mode 100644 index 0000000..1551826 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.FS.Stats/index.js @@ -0,0 +1,31 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dDateTime$dInstant from "../Data.DateTime.Instant/index.js"; +import * as Data$dJSDate from "../Data.JSDate/index.js"; +import {showStatsObj, statsMethod} from "./foreign.js"; +const $Stats = _1 => ({tag: "Stats", _1}); +const Stats = value0 => $Stats(value0); +const statusChangedTime = v => { + const $1 = Data$dJSDate.toInstant(v._1.ctime); + if ($1.tag === "Just") { return Data$dDateTime$dInstant.toDateTime($1._1); } + $runtime.fail(); +}; +const showStats = {show: v => "Stats " + showStatsObj(v._1)}; +const modifiedTime = v => { + const $1 = Data$dJSDate.toInstant(v._1.mtime); + if ($1.tag === "Just") { return Data$dDateTime$dInstant.toDateTime($1._1); } + $runtime.fail(); +}; +const isSymbolicLink = v => statsMethod("isSymbolicLink", v._1); +const isSocket = v => statsMethod("isSocket", v._1); +const isFile = v => statsMethod("isFile", v._1); +const isFIFO = v => statsMethod("isFIFO", v._1); +const isDirectory = v => statsMethod("isDirectory", v._1); +const isCharacterDevice = v => statsMethod("isCharacterDevice", v._1); +const isBlockDevice = v => statsMethod("isBlockDevice", v._1); +const accessedTime = v => { + const $1 = Data$dJSDate.toInstant(v._1.atime); + if ($1.tag === "Just") { return Data$dDateTime$dInstant.toDateTime($1._1); } + $runtime.fail(); +}; +export {$Stats, Stats, accessedTime, isBlockDevice, isCharacterDevice, isDirectory, isFIFO, isFile, isSocket, isSymbolicLink, modifiedTime, showStats, statusChangedTime}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Node.FS.Stream/foreign.js b/.storybook/purescript-indexer/output-es/Node.FS.Stream/foreign.js new file mode 100644 index 0000000..bfc7126 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.FS.Stream/foreign.js @@ -0,0 +1,4 @@ +export { + createReadStream as createReadStreamImpl, + createWriteStream as createWriteStreamImpl +} from "fs"; diff --git a/.storybook/purescript-indexer/output-es/Node.FS.Stream/index.js b/.storybook/purescript-indexer/output-es/Node.FS.Stream/index.js new file mode 100644 index 0000000..d882a20 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.FS.Stream/index.js @@ -0,0 +1,119 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dNullable from "../Data.Nullable/index.js"; +import * as Node$dFS from "../Node.FS/index.js"; +import * as Node$dFS$dPerms from "../Node.FS.Perms/index.js"; +import {createReadStreamImpl, createWriteStreamImpl} from "./foreign.js"; +const readWrite = /* #__PURE__ */ (() => { + const rw = {r: true, w: true, x: false}; + return {u: rw, g: rw, o: rw}; +})(); +const fdCreateWriteStreamWith = opts => fd => { + const $2 = { + fd: fd, + mode: Node$dFS$dPerms.permsToInt(opts.perms), + flags: (() => { + if (opts.flags.tag === "R") { return "r"; } + if (opts.flags.tag === "R_PLUS") { return "r+"; } + if (opts.flags.tag === "RS") { return "rs"; } + if (opts.flags.tag === "RS_PLUS") { return "rs+"; } + if (opts.flags.tag === "W") { return "w"; } + if (opts.flags.tag === "WX") { return "wx"; } + if (opts.flags.tag === "W_PLUS") { return "w+"; } + if (opts.flags.tag === "WX_PLUS") { return "wx+"; } + if (opts.flags.tag === "A") { return "a"; } + if (opts.flags.tag === "AX") { return "ax"; } + if (opts.flags.tag === "A_PLUS") { return "a+"; } + if (opts.flags.tag === "AX_PLUS") { return "ax+"; } + $runtime.fail(); + })() + }; + return () => createWriteStreamImpl(Data$dNullable.null, $2); +}; +const fdCreateReadStreamWith = opts => fd => { + const $2 = { + fd: fd, + mode: Node$dFS$dPerms.permsToInt(opts.perms), + flags: (() => { + if (opts.flags.tag === "R") { return "r"; } + if (opts.flags.tag === "R_PLUS") { return "r+"; } + if (opts.flags.tag === "RS") { return "rs"; } + if (opts.flags.tag === "RS_PLUS") { return "rs+"; } + if (opts.flags.tag === "W") { return "w"; } + if (opts.flags.tag === "WX") { return "wx"; } + if (opts.flags.tag === "W_PLUS") { return "w+"; } + if (opts.flags.tag === "WX_PLUS") { return "wx+"; } + if (opts.flags.tag === "A") { return "a"; } + if (opts.flags.tag === "AX") { return "ax"; } + if (opts.flags.tag === "A_PLUS") { return "a+"; } + if (opts.flags.tag === "AX_PLUS") { return "ax+"; } + $runtime.fail(); + })(), + autoClose: opts.autoClose + }; + return () => createReadStreamImpl(Data$dNullable.null, $2); +}; +const defaultWriteStreamOptions = {flags: Node$dFS.W, perms: readWrite}; +const fdCreateWriteStream = /* #__PURE__ */ fdCreateWriteStreamWith(defaultWriteStreamOptions); +const defaultReadStreamOptions = {flags: Node$dFS.R, perms: readWrite, autoClose: true}; +const fdCreateReadStream = /* #__PURE__ */ fdCreateReadStreamWith(defaultReadStreamOptions); +const createWriteStreamWith = opts => file => { + const $2 = Data$dNullable.notNull(file); + const $3 = { + mode: Node$dFS$dPerms.permsToInt(opts.perms), + flags: (() => { + if (opts.flags.tag === "R") { return "r"; } + if (opts.flags.tag === "R_PLUS") { return "r+"; } + if (opts.flags.tag === "RS") { return "rs"; } + if (opts.flags.tag === "RS_PLUS") { return "rs+"; } + if (opts.flags.tag === "W") { return "w"; } + if (opts.flags.tag === "WX") { return "wx"; } + if (opts.flags.tag === "W_PLUS") { return "w+"; } + if (opts.flags.tag === "WX_PLUS") { return "wx+"; } + if (opts.flags.tag === "A") { return "a"; } + if (opts.flags.tag === "AX") { return "ax"; } + if (opts.flags.tag === "A_PLUS") { return "a+"; } + if (opts.flags.tag === "AX_PLUS") { return "ax+"; } + $runtime.fail(); + })() + }; + return () => createWriteStreamImpl($2, $3); +}; +const createWriteStream = /* #__PURE__ */ createWriteStreamWith(defaultWriteStreamOptions); +const createReadStreamWith = opts => file => { + const $2 = Data$dNullable.notNull(file); + const $3 = { + mode: Node$dFS$dPerms.permsToInt(opts.perms), + flags: (() => { + if (opts.flags.tag === "R") { return "r"; } + if (opts.flags.tag === "R_PLUS") { return "r+"; } + if (opts.flags.tag === "RS") { return "rs"; } + if (opts.flags.tag === "RS_PLUS") { return "rs+"; } + if (opts.flags.tag === "W") { return "w"; } + if (opts.flags.tag === "WX") { return "wx"; } + if (opts.flags.tag === "W_PLUS") { return "w+"; } + if (opts.flags.tag === "WX_PLUS") { return "wx+"; } + if (opts.flags.tag === "A") { return "a"; } + if (opts.flags.tag === "AX") { return "ax"; } + if (opts.flags.tag === "A_PLUS") { return "a+"; } + if (opts.flags.tag === "AX_PLUS") { return "ax+"; } + $runtime.fail(); + })(), + autoClose: opts.autoClose + }; + return () => createReadStreamImpl($2, $3); +}; +const createReadStream = /* #__PURE__ */ createReadStreamWith(defaultReadStreamOptions); +export { + createReadStream, + createReadStreamWith, + createWriteStream, + createWriteStreamWith, + defaultReadStreamOptions, + defaultWriteStreamOptions, + fdCreateReadStream, + fdCreateReadStreamWith, + fdCreateWriteStream, + fdCreateWriteStreamWith, + readWrite +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Node.FS.Sync/foreign.js b/.storybook/purescript-indexer/output-es/Node.FS.Sync/foreign.js new file mode 100644 index 0000000..dcebaaa --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.FS.Sync/foreign.js @@ -0,0 +1,27 @@ +export { + renameSync as renameSyncImpl, + truncateSync as truncateSyncImpl, + chownSync as chownSyncImpl, + chmodSync as chmodSyncImpl, + statSync as statSyncImpl, + lstatSync as lstatSyncImpl, + linkSync as linkSyncImpl, + symlinkSync as symlinkSyncImpl, + readlinkSync as readlinkSyncImpl, + realpathSync as realpathSyncImpl, + unlinkSync as unlinkSyncImpl, + rmdirSync as rmdirSyncImpl, + rmSync as rmSyncImpl, + mkdirSync as mkdirSyncImpl, + readdirSync as readdirSyncImpl, + utimesSync as utimesSyncImpl, + readFileSync as readFileSyncImpl, + writeFileSync as writeFileSyncImpl, + appendFileSync as appendFileSyncImpl, + existsSync as existsSyncImpl, + openSync as openSyncImpl, + readSync as readSyncImpl, + writeSync as writeSyncImpl, + fsyncSync as fsyncSyncImpl, + closeSync as closeSyncImpl +} from "fs"; diff --git a/.storybook/purescript-indexer/output-es/Node.FS.Sync/index.js b/.storybook/purescript-indexer/output-es/Node.FS.Sync/index.js new file mode 100644 index 0000000..c06d532 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.FS.Sync/index.js @@ -0,0 +1,231 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dDateTime$dInstant from "../Data.DateTime.Instant/index.js"; +import * as Data$dEuclideanRing from "../Data.EuclideanRing/index.js"; +import * as Data$dInt from "../Data.Int/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dNullable from "../Data.Nullable/index.js"; +import * as Data$dNumber from "../Data.Number/index.js"; +import * as Node$dBuffer from "../Node.Buffer/index.js"; +import * as Node$dFS$dPerms from "../Node.FS.Perms/index.js"; +import * as Node$dFS$dStats from "../Node.FS.Stats/index.js"; +import { + appendFileSyncImpl, + chmodSyncImpl, + chownSyncImpl, + closeSyncImpl, + existsSyncImpl, + fsyncSyncImpl, + linkSyncImpl, + lstatSyncImpl, + mkdirSyncImpl, + openSyncImpl, + readFileSyncImpl, + readSyncImpl, + readdirSyncImpl, + readlinkSyncImpl, + realpathSyncImpl, + renameSyncImpl, + rmSyncImpl, + rmdirSyncImpl, + statSyncImpl, + symlinkSyncImpl, + truncateSyncImpl, + unlinkSyncImpl, + utimesSyncImpl, + writeFileSyncImpl, + writeSyncImpl +} from "./foreign.js"; +const writeTextFile = encoding => file => text => { + const $3 = { + encoding: (() => { + if (encoding.tag === "ASCII") { return "ASCII"; } + if (encoding.tag === "UTF8") { return "UTF8"; } + if (encoding.tag === "UTF16LE") { return "UTF16LE"; } + if (encoding.tag === "UCS2") { return "UCS2"; } + if (encoding.tag === "Base64") { return "Base64"; } + if (encoding.tag === "Latin1") { return "Latin1"; } + if (encoding.tag === "Binary") { return "Binary"; } + if (encoding.tag === "Hex") { return "Hex"; } + $runtime.fail(); + })() + }; + return () => writeFileSyncImpl(file, text, $3); +}; +const writeFile = file => buff => () => writeFileSyncImpl(file, buff, {}); +const utimes = file => atime => mtime => { + const $3 = Data$dEuclideanRing.intDiv(Data$dInt.unsafeClamp(Data$dNumber.round(Data$dDateTime$dInstant.fromDateTime(atime))))(1000); + const $4 = Data$dEuclideanRing.intDiv(Data$dInt.unsafeClamp(Data$dNumber.round(Data$dDateTime$dInstant.fromDateTime(mtime))))(1000); + return () => utimesSyncImpl(file, $3, $4); +}; +const unlink = file => () => unlinkSyncImpl(file); +const truncate = file => len => () => truncateSyncImpl(file, len); +const symlink = src => dst => ty => { + const $3 = (() => { + if (ty.tag === "FileLink") { return "file"; } + if (ty.tag === "DirLink") { return "dir"; } + if (ty.tag === "JunctionLink") { return "junction"; } + $runtime.fail(); + })(); + return () => symlinkSyncImpl(src, dst, $3); +}; +const stat = file => () => { + const a$p = statSyncImpl(file); + return Node$dFS$dStats.$Stats(a$p); +}; +const rmdir$p = path => opts => () => rmdirSyncImpl(path, opts); +const rmdir = path => () => rmdirSyncImpl(path, {maxRetries: 0, retryDelay: 100}); +const rm$p = path => opts => () => rmSyncImpl(path, opts); +const rm = path => () => rmSyncImpl(path, {force: false, maxRetries: 100, recursive: false, retryDelay: 1000}); +const rename = oldFile => newFile => () => renameSyncImpl(oldFile, newFile); +const realpath$p = path => cache => () => realpathSyncImpl(path, cache); +const realpath = path => () => realpathSyncImpl(path, {}); +const readlink = path => () => readlinkSyncImpl(path); +const readdir = file => () => readdirSyncImpl(file); +const readTextFile = encoding => file => { + const $2 = { + encoding: (() => { + if (encoding.tag === "ASCII") { return "ASCII"; } + if (encoding.tag === "UTF8") { return "UTF8"; } + if (encoding.tag === "UTF16LE") { return "UTF16LE"; } + if (encoding.tag === "UCS2") { return "UCS2"; } + if (encoding.tag === "Base64") { return "Base64"; } + if (encoding.tag === "Latin1") { return "Latin1"; } + if (encoding.tag === "Binary") { return "Binary"; } + if (encoding.tag === "Hex") { return "Hex"; } + $runtime.fail(); + })() + }; + return () => readFileSyncImpl(file, $2); +}; +const readFile = file => () => readFileSyncImpl(file, {}); +const mkdir$p = file => v => { + const $2 = {recursive: v.recursive, mode: Node$dFS$dPerms.permsToString(v.mode)}; + return () => mkdirSyncImpl(file, $2); +}; +const mkdir = path => { + const $1 = { + recursive: false, + mode: Node$dFS$dPerms.permsToString({u: Node$dFS$dPerms.semiringPerm.one, g: Node$dFS$dPerms.semiringPerm.one, o: Node$dFS$dPerms.semiringPerm.one}) + }; + return () => mkdirSyncImpl(path, $1); +}; +const lstat = file => () => { + const a$p = lstatSyncImpl(file); + return Node$dFS$dStats.$Stats(a$p); +}; +const link = src => dst => () => linkSyncImpl(src, dst); +const fdWrite = fd => buff => off => len => pos => { + const $5 = (() => { + if (pos.tag === "Nothing") { return Data$dNullable.null; } + if (pos.tag === "Just") { return Data$dNullable.notNull(pos._1); } + $runtime.fail(); + })(); + return () => writeSyncImpl(fd, buff, off, len, $5); +}; +const fdRead = fd => buff => off => len => pos => { + const $5 = (() => { + if (pos.tag === "Nothing") { return Data$dNullable.null; } + if (pos.tag === "Just") { return Data$dNullable.notNull(pos._1); } + $runtime.fail(); + })(); + return () => readSyncImpl(fd, buff, off, len, $5); +}; +const fdOpen = file => flags => mode => { + const $3 = (() => { + if (flags.tag === "R") { return "r"; } + if (flags.tag === "R_PLUS") { return "r+"; } + if (flags.tag === "RS") { return "rs"; } + if (flags.tag === "RS_PLUS") { return "rs+"; } + if (flags.tag === "W") { return "w"; } + if (flags.tag === "WX") { return "wx"; } + if (flags.tag === "W_PLUS") { return "w+"; } + if (flags.tag === "WX_PLUS") { return "wx+"; } + if (flags.tag === "A") { return "a"; } + if (flags.tag === "AX") { return "ax"; } + if (flags.tag === "A_PLUS") { return "a+"; } + if (flags.tag === "AX_PLUS") { return "ax+"; } + $runtime.fail(); + })(); + const $4 = (() => { + if (mode.tag === "Nothing") { return Data$dNullable.null; } + if (mode.tag === "Just") { return Data$dNullable.notNull(mode._1); } + $runtime.fail(); + })(); + return () => openSyncImpl(file, $3, $4); +}; +const fdNext = fd => buff => { + const $2 = Node$dBuffer.mutableBufferEffect.size(buff); + return () => { + const sz = $2(); + return fdRead(fd)(buff)(0)(sz)(Data$dMaybe.Nothing)(); + }; +}; +const fdFlush = fd => () => fsyncSyncImpl(fd); +const fdClose = fd => () => closeSyncImpl(fd); +const fdAppend = fd => buff => { + const $2 = Node$dBuffer.mutableBufferEffect.size(buff); + return () => { + const sz = $2(); + return fdWrite(fd)(buff)(0)(sz)(Data$dMaybe.Nothing)(); + }; +}; +const exists = file => () => existsSyncImpl(file); +const chown = file => uid => gid => () => chownSyncImpl(file, uid, gid); +const chmod = file => perms => { + const $2 = Node$dFS$dPerms.permsToString(perms); + return () => chmodSyncImpl(file, $2); +}; +const appendTextFile = encoding => file => buff => { + const $3 = { + encoding: (() => { + if (encoding.tag === "ASCII") { return "ASCII"; } + if (encoding.tag === "UTF8") { return "UTF8"; } + if (encoding.tag === "UTF16LE") { return "UTF16LE"; } + if (encoding.tag === "UCS2") { return "UCS2"; } + if (encoding.tag === "Base64") { return "Base64"; } + if (encoding.tag === "Latin1") { return "Latin1"; } + if (encoding.tag === "Binary") { return "Binary"; } + if (encoding.tag === "Hex") { return "Hex"; } + $runtime.fail(); + })() + }; + return () => appendFileSyncImpl(file, buff, $3); +}; +const appendFile = file => buff => () => appendFileSyncImpl(file, buff, {}); +export { + appendFile, + appendTextFile, + chmod, + chown, + exists, + fdAppend, + fdClose, + fdFlush, + fdNext, + fdOpen, + fdRead, + fdWrite, + link, + lstat, + mkdir, + mkdir$p, + readFile, + readTextFile, + readdir, + readlink, + realpath, + realpath$p, + rename, + rm, + rm$p, + rmdir, + rmdir$p, + stat, + symlink, + truncate, + unlink, + utimes, + writeFile, + writeTextFile +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Node.FS/index.js b/.storybook/purescript-indexer/output-es/Node.FS/index.js new file mode 100644 index 0000000..cc4f49a --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.FS/index.js @@ -0,0 +1,128 @@ +import * as $runtime from "../runtime.js"; +const $FileFlags = tag => ({tag}); +const $SymlinkType = tag => ({tag}); +const FileLink = /* #__PURE__ */ $SymlinkType("FileLink"); +const DirLink = /* #__PURE__ */ $SymlinkType("DirLink"); +const JunctionLink = /* #__PURE__ */ $SymlinkType("JunctionLink"); +const R = /* #__PURE__ */ $FileFlags("R"); +const R_PLUS = /* #__PURE__ */ $FileFlags("R_PLUS"); +const RS = /* #__PURE__ */ $FileFlags("RS"); +const RS_PLUS = /* #__PURE__ */ $FileFlags("RS_PLUS"); +const W = /* #__PURE__ */ $FileFlags("W"); +const WX = /* #__PURE__ */ $FileFlags("WX"); +const W_PLUS = /* #__PURE__ */ $FileFlags("W_PLUS"); +const WX_PLUS = /* #__PURE__ */ $FileFlags("WX_PLUS"); +const A = /* #__PURE__ */ $FileFlags("A"); +const AX = /* #__PURE__ */ $FileFlags("AX"); +const A_PLUS = /* #__PURE__ */ $FileFlags("A_PLUS"); +const AX_PLUS = /* #__PURE__ */ $FileFlags("AX_PLUS"); +const symlinkTypeToNode = ty => { + if (ty.tag === "FileLink") { return "file"; } + if (ty.tag === "DirLink") { return "dir"; } + if (ty.tag === "JunctionLink") { return "junction"; } + $runtime.fail(); +}; +const showSymlinkType = { + show: v => { + if (v.tag === "FileLink") { return "FileLink"; } + if (v.tag === "DirLink") { return "DirLink"; } + if (v.tag === "JunctionLink") { return "JunctionLink"; } + $runtime.fail(); + } +}; +const showFileFlags = { + show: v => { + if (v.tag === "R") { return "R"; } + if (v.tag === "R_PLUS") { return "R_PLUS"; } + if (v.tag === "RS") { return "RS"; } + if (v.tag === "RS_PLUS") { return "RS_PLUS"; } + if (v.tag === "W") { return "W"; } + if (v.tag === "WX") { return "WX"; } + if (v.tag === "W_PLUS") { return "W_PLUS"; } + if (v.tag === "WX_PLUS") { return "WX_PLUS"; } + if (v.tag === "A") { return "A"; } + if (v.tag === "AX") { return "AX"; } + if (v.tag === "A_PLUS") { return "A_PLUS"; } + if (v.tag === "AX_PLUS") { return "AX_PLUS"; } + $runtime.fail(); + } +}; +const fileFlagsToNode = ff => { + if (ff.tag === "R") { return "r"; } + if (ff.tag === "R_PLUS") { return "r+"; } + if (ff.tag === "RS") { return "rs"; } + if (ff.tag === "RS_PLUS") { return "rs+"; } + if (ff.tag === "W") { return "w"; } + if (ff.tag === "WX") { return "wx"; } + if (ff.tag === "W_PLUS") { return "w+"; } + if (ff.tag === "WX_PLUS") { return "wx+"; } + if (ff.tag === "A") { return "a"; } + if (ff.tag === "AX") { return "ax"; } + if (ff.tag === "A_PLUS") { return "a+"; } + if (ff.tag === "AX_PLUS") { return "ax+"; } + $runtime.fail(); +}; +const eqSymlinkType = { + eq: v => v1 => { + if (v.tag === "FileLink") { return v1.tag === "FileLink"; } + if (v.tag === "DirLink") { return v1.tag === "DirLink"; } + if (v.tag === "JunctionLink") { return v1.tag === "JunctionLink"; } + return false; + } +}; +const eqFileFlags = { + eq: x => y => (() => { + if (x.tag === "R") { return "R"; } + if (x.tag === "R_PLUS") { return "R_PLUS"; } + if (x.tag === "RS") { return "RS"; } + if (x.tag === "RS_PLUS") { return "RS_PLUS"; } + if (x.tag === "W") { return "W"; } + if (x.tag === "WX") { return "WX"; } + if (x.tag === "W_PLUS") { return "W_PLUS"; } + if (x.tag === "WX_PLUS") { return "WX_PLUS"; } + if (x.tag === "A") { return "A"; } + if (x.tag === "AX") { return "AX"; } + if (x.tag === "A_PLUS") { return "A_PLUS"; } + if (x.tag === "AX_PLUS") { return "AX_PLUS"; } + $runtime.fail(); + })() === (() => { + if (y.tag === "R") { return "R"; } + if (y.tag === "R_PLUS") { return "R_PLUS"; } + if (y.tag === "RS") { return "RS"; } + if (y.tag === "RS_PLUS") { return "RS_PLUS"; } + if (y.tag === "W") { return "W"; } + if (y.tag === "WX") { return "WX"; } + if (y.tag === "W_PLUS") { return "W_PLUS"; } + if (y.tag === "WX_PLUS") { return "WX_PLUS"; } + if (y.tag === "A") { return "A"; } + if (y.tag === "AX") { return "AX"; } + if (y.tag === "A_PLUS") { return "A_PLUS"; } + if (y.tag === "AX_PLUS") { return "AX_PLUS"; } + $runtime.fail(); + })() +}; +export { + $FileFlags, + $SymlinkType, + A, + AX, + AX_PLUS, + A_PLUS, + DirLink, + FileLink, + JunctionLink, + R, + RS, + RS_PLUS, + R_PLUS, + W, + WX, + WX_PLUS, + W_PLUS, + eqFileFlags, + eqSymlinkType, + fileFlagsToNode, + showFileFlags, + showSymlinkType, + symlinkTypeToNode +}; diff --git a/.storybook/purescript-indexer/output-es/Node.Path/foreign.js b/.storybook/purescript-indexer/output-es/Node.Path/foreign.js new file mode 100644 index 0000000..908c0d9 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.Path/foreign.js @@ -0,0 +1,30 @@ +import path from "path"; +export const normalize = path.normalize; + +export function concat(segments) { + return path.join.apply(this, segments); +} + +export function resolve(from) { + return to => () => path.resolve.apply(this, from.concat([to])); +} + +export function relative(from) { + return to => path.relative(from, to); +} + +export function dirname(p) { + return path.normalize(path.dirname(p)); +} + +export const basename = path.basename; + +export function basenameWithoutExt(p) { + return ext => path.basename(p, ext); +} + +export const extname = path.extname; +export const sep = path.sep; +export const delimiter = path.delimiter; +export const parse = path.parse; +export const isAbsolute = path.isAbsolute; diff --git a/.storybook/purescript-indexer/output-es/Node.Path/index.js b/.storybook/purescript-indexer/output-es/Node.Path/index.js new file mode 100644 index 0000000..25118b4 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.Path/index.js @@ -0,0 +1,4 @@ +import * as $runtime from "../runtime.js"; +import {basename, basenameWithoutExt, concat, delimiter, dirname, extname, isAbsolute, normalize, parse, relative, resolve, sep} from "./foreign.js"; +export {}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Node.Platform/index.js b/.storybook/purescript-indexer/output-es/Node.Platform/index.js new file mode 100644 index 0000000..411b043 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.Platform/index.js @@ -0,0 +1,108 @@ +// | This module defines data type for the different platforms supported by +// | Node.js +import * as $runtime from "../runtime.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +const $Platform = tag => ({tag}); +const AIX = /* #__PURE__ */ $Platform("AIX"); +const Darwin = /* #__PURE__ */ $Platform("Darwin"); +const FreeBSD = /* #__PURE__ */ $Platform("FreeBSD"); +const Linux = /* #__PURE__ */ $Platform("Linux"); +const OpenBSD = /* #__PURE__ */ $Platform("OpenBSD"); +const SunOS = /* #__PURE__ */ $Platform("SunOS"); +const Win32 = /* #__PURE__ */ $Platform("Win32"); +const Android = /* #__PURE__ */ $Platform("Android"); +const toString = v => { + if (v.tag === "AIX") { return "aix"; } + if (v.tag === "Darwin") { return "darwin"; } + if (v.tag === "FreeBSD") { return "freebsd"; } + if (v.tag === "Linux") { return "linux"; } + if (v.tag === "OpenBSD") { return "openbsd"; } + if (v.tag === "SunOS") { return "sunos"; } + if (v.tag === "Win32") { return "win32"; } + if (v.tag === "Android") { return "android"; } + $runtime.fail(); +}; +const showPlatform = { + show: v => { + if (v.tag === "AIX") { return "AIX"; } + if (v.tag === "Darwin") { return "Darwin"; } + if (v.tag === "FreeBSD") { return "FreeBSD"; } + if (v.tag === "Linux") { return "Linux"; } + if (v.tag === "OpenBSD") { return "OpenBSD"; } + if (v.tag === "SunOS") { return "SunOS"; } + if (v.tag === "Win32") { return "Win32"; } + if (v.tag === "Android") { return "Android"; } + $runtime.fail(); + } +}; +const fromString = v => { + if (v === "aix") { return Data$dMaybe.$Maybe("Just", AIX); } + if (v === "darwin") { return Data$dMaybe.$Maybe("Just", Darwin); } + if (v === "freebsd") { return Data$dMaybe.$Maybe("Just", FreeBSD); } + if (v === "linux") { return Data$dMaybe.$Maybe("Just", Linux); } + if (v === "openbsd") { return Data$dMaybe.$Maybe("Just", OpenBSD); } + if (v === "sunos") { return Data$dMaybe.$Maybe("Just", SunOS); } + if (v === "win32") { return Data$dMaybe.$Maybe("Just", Win32); } + if (v === "android") { return Data$dMaybe.$Maybe("Just", Android); } + return Data$dMaybe.Nothing; +}; +const eqPlatform = { + eq: x => y => { + if (x.tag === "AIX") { return y.tag === "AIX"; } + if (x.tag === "Darwin") { return y.tag === "Darwin"; } + if (x.tag === "FreeBSD") { return y.tag === "FreeBSD"; } + if (x.tag === "Linux") { return y.tag === "Linux"; } + if (x.tag === "OpenBSD") { return y.tag === "OpenBSD"; } + if (x.tag === "SunOS") { return y.tag === "SunOS"; } + if (x.tag === "Win32") { return y.tag === "Win32"; } + if (x.tag === "Android") { return y.tag === "Android"; } + return false; + } +}; +const ordPlatform = { + compare: x => y => { + if (x.tag === "AIX") { + if (y.tag === "AIX") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "AIX") { return Data$dOrdering.GT; } + if (x.tag === "Darwin") { + if (y.tag === "Darwin") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Darwin") { return Data$dOrdering.GT; } + if (x.tag === "FreeBSD") { + if (y.tag === "FreeBSD") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "FreeBSD") { return Data$dOrdering.GT; } + if (x.tag === "Linux") { + if (y.tag === "Linux") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Linux") { return Data$dOrdering.GT; } + if (x.tag === "OpenBSD") { + if (y.tag === "OpenBSD") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "OpenBSD") { return Data$dOrdering.GT; } + if (x.tag === "SunOS") { + if (y.tag === "SunOS") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "SunOS") { return Data$dOrdering.GT; } + if (x.tag === "Win32") { + if (y.tag === "Win32") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "Win32") { return Data$dOrdering.GT; } + if (x.tag === "Android") { + if (y.tag === "Android") { return Data$dOrdering.EQ; } + $runtime.fail(); + } + $runtime.fail(); + }, + Eq0: () => eqPlatform +}; +export {$Platform, AIX, Android, Darwin, FreeBSD, Linux, OpenBSD, SunOS, Win32, eqPlatform, fromString, ordPlatform, showPlatform, toString}; diff --git a/.storybook/purescript-indexer/output-es/Node.Process/foreign.js b/.storybook/purescript-indexer/output-es/Node.Process/foreign.js new file mode 100644 index 0000000..11b9594 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.Process/foreign.js @@ -0,0 +1,70 @@ +import process from "process"; +export { process }; + +export function onBeforeExit(callback) { + return () => { + process.on("beforeExit", callback); + }; +} + +export function onExit(callback) { + return () => { + process.on("exit", code => { + callback(code)(); + }); + }; +} + +export function onUncaughtException(callback) { + return () => { + process.on("uncaughtException", error => { + callback(error)(); + }); + }; +} + +export function onUnhandledRejection(callback) { + return () => { + process.on("unhandledRejection", (error, promise) => { + callback(error)(promise)(); + }); + }; +} + +export function onSignalImpl(signal) { + return callback => () => { + process.on(signal, callback); + }; +} + +export function chdir(dir) { + return () => { + process.chdir(dir); + }; +} + +export function setEnv(var_) { + return val => () => { + process.env[var_] = val; + }; +} + +export function unsetEnv(var_) { + return () => { + delete process.env[var_]; + }; +} + +export function exit(code) { + return () => { + process.exit(code); + }; +} + +export function copyArray(xs) { + return () => xs.slice(); +} + +export function copyObject(o) { + return () => Object.assign({}, o); +} diff --git a/.storybook/purescript-indexer/output-es/Node.Process/index.js b/.storybook/purescript-indexer/output-es/Node.Process/index.js new file mode 100644 index 0000000..cf431c5 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.Process/index.js @@ -0,0 +1,46 @@ +// | Bindings to the global `process` object in Node.js. See also [the Node API documentation](https://nodejs.org/api/process.html) +import * as $runtime from "../runtime.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dPosix$dSignal from "../Data.Posix.Signal/index.js"; +import * as Foreign$dObject from "../Foreign.Object/index.js"; +import * as Node$dPlatform from "../Node.Platform/index.js"; +import {chdir, copyArray, copyObject, exit, onBeforeExit, onExit, onSignalImpl, onUncaughtException, onUnhandledRejection, process, setEnv, unsetEnv} from "./foreign.js"; +const version = /* #__PURE__ */ (() => process.version)(); +const stdoutIsTTY = /* #__PURE__ */ (() => process.stdout.isTTY)(); +const stdout = /* #__PURE__ */ (() => process.stdout)(); +const stdinIsTTY = /* #__PURE__ */ (() => process.stdin.isTTY)(); +const stdin = /* #__PURE__ */ (() => process.stdin)(); +const stderrIsTTY = /* #__PURE__ */ (() => process.stderr.isTTY)(); +const stderr = /* #__PURE__ */ (() => process.stderr)(); +const platform = /* #__PURE__ */ (() => Node$dPlatform.fromString(process.platform))(); +const pid = /* #__PURE__ */ (() => process.pid)(); +const onSignal = sig => onSignalImpl(Data$dPosix$dSignal.toString(sig)); +const nextTick = callback => v => process.nextTick(callback); +const lookupMutableObject = k => o => v => Foreign$dObject._lookup(Data$dMaybe.Nothing, Data$dMaybe.Just, k, o); +const lookupEnv = k => lookupMutableObject(k)(process.env); +const getEnv = /* #__PURE__ */ (() => copyObject(process.env))(); +const execPath = v => process.execPath; +const execArgv = /* #__PURE__ */ (() => copyArray(process.execArgv))(); +const cwd = /* #__PURE__ */ (() => process.cwd)(); +const argv = /* #__PURE__ */ (() => copyArray(process.argv))(); +export { + argv, + cwd, + execArgv, + execPath, + getEnv, + lookupEnv, + lookupMutableObject, + nextTick, + onSignal, + pid, + platform, + stderr, + stderrIsTTY, + stdin, + stdinIsTTY, + stdout, + stdoutIsTTY, + version +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Node.Stream/foreign.js b/.storybook/purescript-indexer/output-es/Node.Stream/foreign.js new file mode 100644 index 0000000..cdd6748 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.Stream/foreign.js @@ -0,0 +1,143 @@ +const _undefined = undefined; +export { _undefined as undefined }; + +export function setEncodingImpl(s) { + return enc => () => { + s.setEncoding(enc); + }; +} + +export function readChunkImpl(Left) { + return Right => chunk => { + if (chunk instanceof Buffer) { + return Right(chunk); + } else if (typeof chunk === "string") { + return Left(chunk); + } else { + throw new Error( + "Node.Stream.readChunkImpl: Unrecognised " + + "chunk type; expected String or Buffer, got: " + + chunk + ); + } + }; +} + +export function onDataEitherImpl(readChunk) { + return r => f => () => { + r.on("data", data => { + f(readChunk(data))(); + }); + }; +} + +export function onEnd(s) { + return f => () => { + s.on("end", f); + }; +} + +export function onFinish(s) { + return f => () => { + s.on("finish", f); + }; +} + +export function onReadable(s) { + return f => () => { + s.on("readable", f); + }; +} + +export function onError(s) { + return f => () => { + s.on("error", e => { + f(e)(); + }); + }; +} + +export function onClose(s) { + return f => () => { + s.on("close", f); + }; +} + +export function resume(s) { + return () => { + s.resume(); + }; +} + +export function pause(s) { + return () => { + s.pause(); + }; +} + +export function isPaused(s) { + return () => s.isPaused(); +} + +export function pipe(r) { + return w => () => r.pipe(w); +} + +export function unpipe(r) { + return w => () => r.unpipe(w); +} + +export function unpipeAll(r) { + return () => r.unpipe(); +} + +export function readImpl(readChunk) { + return Nothing => Just => r => s => () => { + const v = r.read(s); + if (v === null) { + return Nothing; + } else { + return Just(readChunk(v)); + } + }; +} + +export function writeImpl(w) { + return chunk => done => () => w.write(chunk, null, done); +} + +export function writeStringImpl(w) { + return enc => s => done => () => w.write(s, enc, done); +} + +export function cork(w) { + return () => w.cork(); +} + +export function uncork(w) { + return () => w.uncork(); +} + +export function setDefaultEncodingImpl(w) { + return enc => () => { + w.setDefaultEncoding(enc); + }; +} + +export function endImpl(w) { + return done => () => { + w.end(null, null, done); + }; +} + +export function destroy(strm) { + return () => { + strm.destroy(null); + }; +} + +export function destroyWithError(strm) { + return e => () => { + strm.destroy(e); + }; +} diff --git a/.storybook/purescript-indexer/output-es/Node.Stream/index.js b/.storybook/purescript-indexer/output-es/Node.Stream/index.js new file mode 100644 index 0000000..32e0e25 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Node.Stream/index.js @@ -0,0 +1,116 @@ +// | This module provides a low-level wrapper for the [Node Stream API](https://nodejs.org/api/stream.html). +import * as $runtime from "../runtime.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dNullable from "../Data.Nullable/index.js"; +import * as Effect from "../Effect/index.js"; +import * as Effect$dException from "../Effect.Exception/index.js"; +import * as Node$dBuffer from "../Node.Buffer/index.js"; +import { + cork, + destroy, + destroyWithError, + endImpl, + isPaused, + onClose, + onDataEitherImpl, + onEnd, + onError, + onFinish, + onReadable, + pause, + pipe, + readChunkImpl, + readImpl, + resume, + setDefaultEncodingImpl, + setEncodingImpl, + uncork, + undefined as $$undefined, + unpipe, + unpipeAll, + writeImpl, + writeStringImpl +} from "./foreign.js"; +const writeString = w => enc => s => cb => writeStringImpl(w)((() => { + if (enc.tag === "ASCII") { return "ASCII"; } + if (enc.tag === "UTF8") { return "UTF8"; } + if (enc.tag === "UTF16LE") { return "UTF16LE"; } + if (enc.tag === "UCS2") { return "UCS2"; } + if (enc.tag === "Base64") { return "Base64"; } + if (enc.tag === "Latin1") { return "Latin1"; } + if (enc.tag === "Binary") { return "Binary"; } + if (enc.tag === "Hex") { return "Hex"; } + $runtime.fail(); +})())(s)(x => cb(Data$dNullable.nullable(x, Data$dMaybe.Nothing, Data$dMaybe.Just))()); +const write = w => b => cb => writeImpl(w)(b)(x => cb(Data$dNullable.nullable(x, Data$dMaybe.Nothing, Data$dMaybe.Just))()); +const setEncoding = r => enc => setEncodingImpl(r)((() => { + if (enc.tag === "ASCII") { return "ASCII"; } + if (enc.tag === "UTF8") { return "UTF8"; } + if (enc.tag === "UTF16LE") { return "UTF16LE"; } + if (enc.tag === "UCS2") { return "UCS2"; } + if (enc.tag === "Base64") { return "Base64"; } + if (enc.tag === "Latin1") { return "Latin1"; } + if (enc.tag === "Binary") { return "Binary"; } + if (enc.tag === "Hex") { return "Hex"; } + $runtime.fail(); +})()); +const setDefaultEncoding = r => enc => setDefaultEncodingImpl(r)((() => { + if (enc.tag === "ASCII") { return "ASCII"; } + if (enc.tag === "UTF8") { return "UTF8"; } + if (enc.tag === "UTF16LE") { return "UTF16LE"; } + if (enc.tag === "UCS2") { return "UCS2"; } + if (enc.tag === "Base64") { return "Base64"; } + if (enc.tag === "Latin1") { return "Latin1"; } + if (enc.tag === "Binary") { return "Binary"; } + if (enc.tag === "Hex") { return "Hex"; } + $runtime.fail(); +})()); +const readChunk = /* #__PURE__ */ readChunkImpl(Data$dEither.Left)(Data$dEither.Right); +const readEither = r => size => readImpl(readChunk)(Data$dMaybe.Nothing)(Data$dMaybe.Just)(r)((() => { + if (size.tag === "Nothing") { return $$undefined; } + if (size.tag === "Just") { return size._1; } + $runtime.fail(); +})()); +const readString = r => size => enc => { + const $3 = readEither(r)(size); + return () => { + const v = $3(); + if (v.tag === "Nothing") { return Data$dMaybe.Nothing; } + if (v.tag === "Just") { + if (v._1.tag === "Left") { return Effect$dException.throwException(Effect$dException.error("Stream encoding should not be set"))(); } + if (v._1.tag === "Right") { + const a$p = Node$dBuffer.mutableBufferEffect.toString(enc)(v._1._1)(); + return Data$dMaybe.$Maybe("Just", a$p); + } + $runtime.fail(); + } + $runtime.fail(); + }; +}; +const read = r => size => { + const $2 = readEither(r)(size); + return () => { + const v = $2(); + if (v.tag === "Nothing") { return Data$dMaybe.Nothing; } + if (v.tag === "Just") { + if (v._1.tag === "Left") { return Effect$dException.throwException(Effect$dException.error("Stream encoding should not be set"))(); } + if (v._1.tag === "Right") { return Data$dMaybe.$Maybe("Just", v._1._1); } + $runtime.fail(); + } + $runtime.fail(); + }; +}; +const onDataEither = r => cb => onDataEitherImpl(readChunk)(r)(cb); +const onData = r => cb => onDataEitherImpl(readChunk)(r)(a => Effect.bindE((() => { + if (a.tag === "Left") { return Effect$dException.throwException(Effect$dException.error("Stream encoding should not be set")); } + if (a.tag === "Right") { return () => a._1; } + $runtime.fail(); +})())(cb)); +const onDataString = r => enc => cb => onData(r)((() => { + const $3 = Node$dBuffer.mutableBufferEffect.toString(enc); + return a => Effect.bindE($3(a))(cb); +})()); +const end = w => cb => endImpl(w)(x => cb(Data$dNullable.nullable(x, Data$dMaybe.Nothing, Data$dMaybe.Just))()); +export {end, onData, onDataEither, onDataString, read, readChunk, readEither, readString, setDefaultEncoding, setEncoding, write, writeString}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Partial.Unsafe/foreign.js b/.storybook/purescript-indexer/output-es/Partial.Unsafe/foreign.js new file mode 100644 index 0000000..de0cb0e --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Partial.Unsafe/foreign.js @@ -0,0 +1,5 @@ +// module Partial.Unsafe + +export const _unsafePartial = function (f) { + return f(); +}; diff --git a/.storybook/purescript-indexer/output-es/Partial.Unsafe/index.js b/.storybook/purescript-indexer/output-es/Partial.Unsafe/index.js new file mode 100644 index 0000000..0c61acb --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Partial.Unsafe/index.js @@ -0,0 +1,9 @@ +// | Utilities for working with partial functions. +// | See the README for more documentation. +import * as $runtime from "../runtime.js"; +import * as Partial from "../Partial/index.js"; +import {_unsafePartial} from "./foreign.js"; +const unsafePartial = _unsafePartial; +const unsafeCrashWith = msg => Partial._crashWith(msg); +export {unsafeCrashWith, unsafePartial}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Partial/foreign.js b/.storybook/purescript-indexer/output-es/Partial/foreign.js new file mode 100644 index 0000000..1fea9b6 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Partial/foreign.js @@ -0,0 +1,5 @@ +// module Partial + +export const _crashWith = function (msg) { + throw new Error(msg); +}; diff --git a/.storybook/purescript-indexer/output-es/Partial/index.js b/.storybook/purescript-indexer/output-es/Partial/index.js new file mode 100644 index 0000000..c190996 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Partial/index.js @@ -0,0 +1,7 @@ +// | Some partial helper functions. See the README for more documentation. +import * as $runtime from "../runtime.js"; +import {_crashWith} from "./foreign.js"; +const crashWith = () => _crashWith; +const crash = () => _crashWith("Partial.crash: partial function"); +export {crash, crashWith}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Performance.Minibench/foreign.js b/.storybook/purescript-indexer/output-es/Performance.Minibench/foreign.js new file mode 100644 index 0000000..3f236ca --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Performance.Minibench/foreign.js @@ -0,0 +1,14 @@ +export function timeNs(k) { + const t1 = process.hrtime(); + k(); + const t2 = process.hrtime(t1); + return t2[0] * 1.0e9 + t2[1]; +} + +export function gc() { + global.gc && global.gc(); +} + +export function toFixed(n) { + return n.toFixed(2); +} diff --git a/.storybook/purescript-indexer/output-es/Performance.Minibench/index.js b/.storybook/purescript-indexer/output-es/Performance.Minibench/index.js new file mode 100644 index 0000000..f9934b4 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Performance.Minibench/index.js @@ -0,0 +1,57 @@ +// | This module provides the `bench` function, which prints a short summary +// | of the running times of a synchronous function to the console. +// | +// | For benchmarking tasks which require finer accuracy, or graphs as output, +// | consider using `purescript-benchotron` instead. +import * as $runtime from "../runtime.js"; +import * as Data$dInt from "../Data.Int/index.js"; +import * as Data$dNumber from "../Data.Number/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import * as Effect from "../Effect/index.js"; +import * as Effect$dConsole from "../Effect.Console/index.js"; +import {gc, timeNs, toFixed} from "./foreign.js"; +const withUnits = t => { + if (t < 1000.0) { return toFixed(t) + " ns"; } + if (t < 1000000.0) { return toFixed(t / 1000.0) + " μs"; } + if (t < 1000000000.0) { return toFixed(t / 1000000.0) + " ms"; } + return toFixed(t / 1000000000.0) + " s"; +}; +const benchWith$p = n => f => () => { + const sumRef = {value: 0.0}; + const sum2Ref = {value: 0.0}; + const minRef = {value: Data$dNumber.infinity}; + const maxRef = {value: 0.0}; + gc(); + Effect.forE(0)(n)(v => () => { + const ns = timeNs(f); + const $9 = sumRef.value; + sumRef.value = $9 + ns; + const $11 = sum2Ref.value; + sum2Ref.value = $11 + ns * ns; + const $13 = minRef.value; + minRef.value = Data$dNumber.min($13)(ns); + const $15 = maxRef.value; + maxRef.value = Data$dNumber.max($15)(ns); + return Data$dUnit.unit; + })(); + const sum = sumRef.value; + const sum2 = sum2Ref.value; + const min$p = minRef.value; + const max$p = maxRef.value; + const n$p = Data$dInt.toNumber(n); + const mean = sum / n$p; + return {mean: mean, stdDev: Data$dNumber.sqrt((sum2 - n$p * mean * mean) / (n$p - 1.0)), min: min$p, max: max$p}; +}; +const benchWith = n => f => { + const $2 = benchWith$p(n)(f); + return () => { + const res = $2(); + Effect$dConsole.log("mean = " + withUnits(res.mean))(); + Effect$dConsole.log("stddev = " + withUnits(res.stdDev))(); + Effect$dConsole.log("min = " + withUnits(res.min))(); + return Effect$dConsole.log("max = " + withUnits(res.max))(); + }; +}; +const bench = /* #__PURE__ */ benchWith(1000); +export {bench, benchWith, benchWith$p, withUnits}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Prelude/index.js b/.storybook/purescript-indexer/output-es/Prelude/index.js new file mode 100644 index 0000000..161620b --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Prelude/index.js @@ -0,0 +1,14 @@ +// | `Prelude` is a module that re-exports many other foundational modules from the `purescript-prelude` library +// | (e.g. the Monad type class hierarchy, the Monoid type classes, Eq, Ord, etc.). +// | +// | Typically, this module will be imported in most other libraries and projects as an open import. +// | +// | ``` +// | module MyModule where +// | +// | import Prelude -- open import +// | +// | import Data.Maybe (Maybe(..)) -- closed import +// | ``` +import * as $runtime from "../runtime.js"; +export {}; diff --git a/.storybook/purescript-indexer/output-es/PureScript.CST.Errors/index.js b/.storybook/purescript-indexer/output-es/PureScript.CST.Errors/index.js new file mode 100644 index 0000000..fd079bc --- /dev/null +++ b/.storybook/purescript-indexer/output-es/PureScript.CST.Errors/index.js @@ -0,0 +1,121 @@ +import * as $runtime from "../runtime.js"; +const $ParseError = (tag, _1, _2) => ({tag, _1, _2}); +const UnexpectedEof = /* #__PURE__ */ $ParseError("UnexpectedEof"); +const ExpectedEof = value0 => $ParseError("ExpectedEof", value0); +const UnexpectedToken = value0 => $ParseError("UnexpectedToken", value0); +const ExpectedToken = value0 => value1 => $ParseError("ExpectedToken", value0, value1); +const ExpectedClass = value0 => value1 => $ParseError("ExpectedClass", value0, value1); +const LexExpected = value0 => value1 => $ParseError("LexExpected", value0, value1); +const LexInvalidCharEscape = value0 => $ParseError("LexInvalidCharEscape", value0); +const LexCharEscapeOutOfRange = value0 => $ParseError("LexCharEscapeOutOfRange", value0); +const LexHexOutOfRange = value0 => $ParseError("LexHexOutOfRange", value0); +const LexIntOutOfRange = value0 => $ParseError("LexIntOutOfRange", value0); +const LexNumberOutOfRange = value0 => $ParseError("LexNumberOutOfRange", value0); +const RecoveredError = x => x; +const printTokenError = v => { + if (v.tag === "TokLeftParen") { return "'('"; } + if (v.tag === "TokRightParen") { return "')'"; } + if (v.tag === "TokLeftBrace") { return "'{'"; } + if (v.tag === "TokRightBrace") { return "'}'"; } + if (v.tag === "TokLeftSquare") { return "'['"; } + if (v.tag === "TokRightSquare") { return "']'"; } + if (v.tag === "TokLeftArrow") { + if (v._1.tag === "ASCII") { return "'<-'"; } + if (v._1.tag === "Unicode") { return "'←'"; } + $runtime.fail(); + } + if (v.tag === "TokRightArrow") { + if (v._1.tag === "ASCII") { return "'->'"; } + if (v._1.tag === "Unicode") { return "'→'"; } + $runtime.fail(); + } + if (v.tag === "TokRightFatArrow") { + if (v._1.tag === "ASCII") { return "'=>'"; } + if (v._1.tag === "Unicode") { return "'⇒'"; } + $runtime.fail(); + } + if (v.tag === "TokDoubleColon") { + if (v._1.tag === "ASCII") { return "'::'"; } + if (v._1.tag === "Unicode") { return "'∷'"; } + $runtime.fail(); + } + if (v.tag === "TokForall") { + if (v._1.tag === "ASCII") { return "forall"; } + if (v._1.tag === "Unicode") { return "'∀'"; } + $runtime.fail(); + } + if (v.tag === "TokEquals") { return "'='"; } + if (v.tag === "TokPipe") { return "'|'"; } + if (v.tag === "TokTick") { return "`"; } + if (v.tag === "TokDot") { return "."; } + if (v.tag === "TokComma") { return "','"; } + if (v.tag === "TokUnderscore") { return "'_'"; } + if (v.tag === "TokBackslash") { return "'\\'"; } + if (v.tag === "TokAt") { return "'@'"; } + if (v.tag === "TokLowerName") { + if (v._1.tag === "Nothing") { return "identifier " + v._2; } + if (v._1.tag === "Just") { return "identifier " + (v._1._1 + ("." + v._2)); } + $runtime.fail(); + } + if (v.tag === "TokUpperName") { + if (v._1.tag === "Nothing") { return "proper identifier " + v._2; } + if (v._1.tag === "Just") { return "proper identifier " + (v._1._1 + ("." + v._2)); } + $runtime.fail(); + } + if (v.tag === "TokOperator") { + if (v._1.tag === "Nothing") { return "operator " + v._2; } + if (v._1.tag === "Just") { return "operator " + (v._1._1 + ("." + v._2)); } + $runtime.fail(); + } + if (v.tag === "TokSymbolName") { + if (v._1.tag === "Nothing") { return "symbol " + v._2; } + if (v._1.tag === "Just") { return "symbol " + (v._1._1 + ("." + v._2)); } + $runtime.fail(); + } + if (v.tag === "TokSymbolArrow") { + if (v._1.tag === "ASCII") { return "(->)"; } + if (v._1.tag === "Unicode") { return "(→)"; } + $runtime.fail(); + } + if (v.tag === "TokHole") { return "hole ?" + v._1; } + if (v.tag === "TokChar") { return "char literal '" + (v._1 + "'"); } + if (v.tag === "TokString") { return "string literal"; } + if (v.tag === "TokRawString") { return "raw string literal"; } + if (v.tag === "TokInt") { return "int literal " + v._1; } + if (v.tag === "TokNumber") { return "number literal " + v._1; } + if (v.tag === "TokLayoutStart") { return "start of indented block"; } + if (v.tag === "TokLayoutSep") { return "new indented block item"; } + if (v.tag === "TokLayoutEnd") { return "end of indented block"; } + $runtime.fail(); +}; +const printParseError = v => { + if (v.tag === "UnexpectedEof") { return "Unexpected end of file"; } + if (v.tag === "ExpectedEof") { return "Expected end of file, saw " + printTokenError(v._1); } + if (v.tag === "UnexpectedToken") { return "Unexpected " + printTokenError(v._1); } + if (v.tag === "ExpectedToken") { return "Expected " + (printTokenError(v._1) + (", saw " + printTokenError(v._2))); } + if (v.tag === "ExpectedClass") { return "Expected " + (v._1 + (", saw " + printTokenError(v._2))); } + if (v.tag === "LexExpected") { return "Expected " + (v._1 + (", saw " + v._2)); } + if (v.tag === "LexInvalidCharEscape") { return "Invalid character escape \\" + v._1; } + if (v.tag === "LexCharEscapeOutOfRange") { return "Character escape out of range \\" + v._1; } + if (v.tag === "LexHexOutOfRange") { return "Hex integer out of range 0x" + v._1; } + if (v.tag === "LexIntOutOfRange") { return "Int out of range " + v._1; } + if (v.tag === "LexNumberOutOfRange") { return "Number out of range " + v._1; } + $runtime.fail(); +}; +export { + $ParseError, + ExpectedClass, + ExpectedEof, + ExpectedToken, + LexCharEscapeOutOfRange, + LexExpected, + LexHexOutOfRange, + LexIntOutOfRange, + LexInvalidCharEscape, + LexNumberOutOfRange, + RecoveredError, + UnexpectedEof, + UnexpectedToken, + printParseError, + printTokenError +}; diff --git a/.storybook/purescript-indexer/output-es/PureScript.CST.Layout/index.js b/.storybook/purescript-indexer/output-es/PureScript.CST.Layout/index.js new file mode 100644 index 0000000..1215d54 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/PureScript.CST.Layout/index.js @@ -0,0 +1,971 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dST$dInternal from "../Control.Monad.ST.Internal/index.js"; +import * as Data$dArray$dST from "../Data.Array.ST/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as PureScript$dCST$dTypes from "../PureScript.CST.Types/index.js"; +const $LayoutDelim = tag => ({tag}); +const LytRoot = /* #__PURE__ */ $LayoutDelim("LytRoot"); +const LytTopDecl = /* #__PURE__ */ $LayoutDelim("LytTopDecl"); +const LytTopDeclHead = /* #__PURE__ */ $LayoutDelim("LytTopDeclHead"); +const LytDeclGuard = /* #__PURE__ */ $LayoutDelim("LytDeclGuard"); +const LytCase = /* #__PURE__ */ $LayoutDelim("LytCase"); +const LytCaseBinders = /* #__PURE__ */ $LayoutDelim("LytCaseBinders"); +const LytCaseGuard = /* #__PURE__ */ $LayoutDelim("LytCaseGuard"); +const LytLambdaBinders = /* #__PURE__ */ $LayoutDelim("LytLambdaBinders"); +const LytParen = /* #__PURE__ */ $LayoutDelim("LytParen"); +const LytBrace = /* #__PURE__ */ $LayoutDelim("LytBrace"); +const LytSquare = /* #__PURE__ */ $LayoutDelim("LytSquare"); +const LytIf = /* #__PURE__ */ $LayoutDelim("LytIf"); +const LytThen = /* #__PURE__ */ $LayoutDelim("LytThen"); +const LytProperty = /* #__PURE__ */ $LayoutDelim("LytProperty"); +const LytForall = /* #__PURE__ */ $LayoutDelim("LytForall"); +const LytTick = /* #__PURE__ */ $LayoutDelim("LytTick"); +const LytLet = /* #__PURE__ */ $LayoutDelim("LytLet"); +const LytLetStmt = /* #__PURE__ */ $LayoutDelim("LytLetStmt"); +const LytWhere = /* #__PURE__ */ $LayoutDelim("LytWhere"); +const LytOf = /* #__PURE__ */ $LayoutDelim("LytOf"); +const LytDo = /* #__PURE__ */ $LayoutDelim("LytDo"); +const LytAdo = /* #__PURE__ */ $LayoutDelim("LytAdo"); +const lytToken = pos => value => ({range: {start: pos, end: pos}, leadingComments: [], trailingComments: [], value: value}); +const isIndented = v => v.tag === "LytLet" || (v.tag === "LytLetStmt" || (v.tag === "LytWhere" || (v.tag === "LytOf" || (v.tag === "LytDo" || v.tag === "LytAdo")))); +const eqLayoutDelim = { + eq: x => y => { + if (x.tag === "LytRoot") { return y.tag === "LytRoot"; } + if (x.tag === "LytTopDecl") { return y.tag === "LytTopDecl"; } + if (x.tag === "LytTopDeclHead") { return y.tag === "LytTopDeclHead"; } + if (x.tag === "LytDeclGuard") { return y.tag === "LytDeclGuard"; } + if (x.tag === "LytCase") { return y.tag === "LytCase"; } + if (x.tag === "LytCaseBinders") { return y.tag === "LytCaseBinders"; } + if (x.tag === "LytCaseGuard") { return y.tag === "LytCaseGuard"; } + if (x.tag === "LytLambdaBinders") { return y.tag === "LytLambdaBinders"; } + if (x.tag === "LytParen") { return y.tag === "LytParen"; } + if (x.tag === "LytBrace") { return y.tag === "LytBrace"; } + if (x.tag === "LytSquare") { return y.tag === "LytSquare"; } + if (x.tag === "LytIf") { return y.tag === "LytIf"; } + if (x.tag === "LytThen") { return y.tag === "LytThen"; } + if (x.tag === "LytProperty") { return y.tag === "LytProperty"; } + if (x.tag === "LytForall") { return y.tag === "LytForall"; } + if (x.tag === "LytTick") { return y.tag === "LytTick"; } + if (x.tag === "LytLet") { return y.tag === "LytLet"; } + if (x.tag === "LytLetStmt") { return y.tag === "LytLetStmt"; } + if (x.tag === "LytWhere") { return y.tag === "LytWhere"; } + if (x.tag === "LytOf") { return y.tag === "LytOf"; } + if (x.tag === "LytDo") { return y.tag === "LytDo"; } + if (x.tag === "LytAdo") { return y.tag === "LytAdo"; } + return false; + } +}; +const insertLayout = v => nextPos => stack => { + const sepP = lytPos => v.range.start.column === lytPos.column && v.range.start.line !== lytPos.line; + const insertStart = lyt => v1 => { + const v2 = Data$dFoldable.find(Data$dList$dTypes.foldableList)(x => x._2.tag === "LytLet" || ( + x._2.tag === "LytLetStmt" || (x._2.tag === "LytWhere" || (x._2.tag === "LytOf" || (x._2.tag === "LytDo" || x._2.tag === "LytAdo"))) + ))(v1._1); + const $7 = () => Data$dTuple.$Tuple( + Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(nextPos, lyt), v1._1), + Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([ + Data$dTuple.$Tuple( + {range: {start: nextPos, end: nextPos}, leadingComments: [], trailingComments: [], value: PureScript$dCST$dTypes.$Token("TokLayoutStart", nextPos.column)}, + Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(nextPos, lyt), v1._1) + ) + ]))(v1._2)) + ); + if (v2.tag === "Just") { + if (nextPos.column <= v2._1._1.column) { return v1; } + return $7(); + } + return $7(); + }; + const insertSep = v1 => { + const sepTok = { + range: {start: v.range.start, end: v.range.start}, + leadingComments: [], + trailingComments: [], + value: PureScript$dCST$dTypes.$Token("TokLayoutSep", v.range.start.column) + }; + const $7 = (lyt, lytPos) => { + if (lyt.tag === "LytOf") { + return Data$dTuple.$Tuple( + Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(v.range.start, LytCaseBinders), v1._1), + Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(sepTok, v1._1)]))(v1._2)) + ); + } + return Data$dTuple.$Tuple(v1._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(sepTok, v1._1)]))(v1._2))); + }; + if (v1._1.tag === "Cons") { + if (v1._1._1._2.tag === "LytTopDecl") { + if (sepP(v1._1._1._1)) { + return Data$dTuple.$Tuple(v1._1._2, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(sepTok, v1._1._2)]))(v1._2))); + } + if ( + ( + v1._1._1._2.tag === "LytLet" || ( + v1._1._1._2.tag === "LytLetStmt" || (v1._1._1._2.tag === "LytWhere" || (v1._1._1._2.tag === "LytOf" || (v1._1._1._2.tag === "LytDo" || v1._1._1._2.tag === "LytAdo"))) + ) + ) && sepP(v1._1._1._1) + ) { + return $7(v1._1._1._2, v1._1._1._1); + } + return v1; + } + if (v1._1._1._2.tag === "LytTopDeclHead") { + if (sepP(v1._1._1._1)) { + return Data$dTuple.$Tuple(v1._1._2, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(sepTok, v1._1._2)]))(v1._2))); + } + if ( + ( + v1._1._1._2.tag === "LytLet" || ( + v1._1._1._2.tag === "LytLetStmt" || (v1._1._1._2.tag === "LytWhere" || (v1._1._1._2.tag === "LytOf" || (v1._1._1._2.tag === "LytDo" || v1._1._1._2.tag === "LytAdo"))) + ) + ) && sepP(v1._1._1._1) + ) { + return $7(v1._1._1._2, v1._1._1._1); + } + return v1; + } + if ( + ( + v1._1._1._2.tag === "LytLet" || ( + v1._1._1._2.tag === "LytLetStmt" || (v1._1._1._2.tag === "LytWhere" || (v1._1._1._2.tag === "LytOf" || (v1._1._1._2.tag === "LytDo" || v1._1._1._2.tag === "LytAdo"))) + ) + ) && sepP(v1._1._1._1) + ) { + return $7(v1._1._1._2, v1._1._1._1); + } + return v1; + } + return v1; + }; + const collapse = p => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const v1 = go$a0, v2 = go$a1; + if (v1.tag === "Cons") { + if (p(v1._1._1)(v1._1._2)) { + go$a0 = v1._2; + go$a1 = (() => { + if ( + v1._1._2.tag === "LytLet" || ( + v1._1._2.tag === "LytLetStmt" || (v1._1._2.tag === "LytWhere" || (v1._1._2.tag === "LytOf" || (v1._1._2.tag === "LytDo" || v1._1._2.tag === "LytAdo"))) + ) + ) { + return Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([ + Data$dTuple.$Tuple( + { + range: {start: v.range.start, end: v.range.start}, + leadingComments: [], + trailingComments: [], + value: PureScript$dCST$dTypes.$Token("TokLayoutEnd", v1._1._1.column) + }, + v1._2 + ) + ]))(v2)); + } + return v2; + })(); + continue; + } + go$c = false; + go$r = Data$dTuple.$Tuple(v1, v2); + continue; + } + go$c = false; + go$r = Data$dTuple.$Tuple(v1, v2); + continue; + }; + return go$r; + }; + return v$1 => go(v$1._1)(v$1._2); + }; + const insertKwProperty = (k, state) => { + const $9 = insertSep(collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column < lytPos.column)(state)); + const v1 = Data$dTuple.$Tuple($9._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $9._1)]))($9._2))); + if (v1._1.tag === "Cons") { + if (v1._1._1._2.tag === "LytProperty") { return Data$dTuple.$Tuple(v1._1._2, v1._2); } + return k(v1); + } + return k(v1); + }; + if (v.value.tag === "TokLowerName") { + if (v.value._1.tag === "Nothing") { + if (v.value._2 === "data") { + const $8 = insertSep(collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column < lytPos.column)(Data$dTuple.$Tuple(stack, []))); + const v2 = Data$dTuple.$Tuple($8._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1)]))($8._2))); + if ( + (() => { + if (v2._1.tag === "Cons") { + if (v2._1._1._2.tag === "LytWhere") { + if (v2._1._2.tag === "Cons") { + if (v2._1._2._1._2.tag === "LytRoot") { + if (v2._1._2._2.tag === "Nil") { return v.range.start.column === v2._1._1._1.column; } + return false; + } + return false; + } + return false; + } + return false; + } + return false; + })() + ) { + return Data$dTuple.$Tuple(Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(v.range.start, LytTopDecl), v2._1), v2._2); + } + if (v2._1.tag === "Cons") { + if (eqLayoutDelim.eq(v2._1._1._2)(LytProperty)) { return Data$dTuple.$Tuple(v2._1._2, v2._2); } + return v2; + } + return v2; + } + if (v.value._2 === "class") { + const $8 = insertSep(collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column < lytPos.column)(Data$dTuple.$Tuple(stack, []))); + const v2 = Data$dTuple.$Tuple($8._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1)]))($8._2))); + if ( + (() => { + if (v2._1.tag === "Cons") { + if (v2._1._1._2.tag === "LytWhere") { + if (v2._1._2.tag === "Cons") { + if (v2._1._2._1._2.tag === "LytRoot") { + if (v2._1._2._2.tag === "Nil") { return v.range.start.column === v2._1._1._1.column; } + return false; + } + return false; + } + return false; + } + return false; + } + return false; + })() + ) { + return Data$dTuple.$Tuple(Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(v.range.start, LytTopDeclHead), v2._1), v2._2); + } + if (v2._1.tag === "Cons") { + if (eqLayoutDelim.eq(v2._1._1._2)(LytProperty)) { return Data$dTuple.$Tuple(v2._1._2, v2._2); } + return v2; + } + return v2; + } + if (v.value._2 === "where") { + const whereP = v2 => v3 => v3.tag === "LytDo" || ( + v3.tag === "LytLet" || (v3.tag === "LytLetStmt" || (v3.tag === "LytWhere" || (v3.tag === "LytOf" || (v3.tag === "LytDo" || v3.tag === "LytAdo")))) + ) && v.range.start.column <= v2.column; + if (stack.tag === "Cons") { + if (stack._1._2.tag === "LytTopDeclHead") { + return insertStart(LytWhere)(Data$dTuple.$Tuple( + stack._2, + Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, stack._2)]))([])) + )); + } + if (stack._1._2.tag === "LytProperty") { + return Data$dTuple.$Tuple(stack._2, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, stack._2)]))([]))); + } + return insertStart(LytWhere)((() => { + const $9 = collapse(whereP)(Data$dTuple.$Tuple(stack, [])); + return Data$dTuple.$Tuple($9._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $9._1)]))($9._2))); + })()); + } + return insertStart(LytWhere)((() => { + const $9 = collapse(whereP)(Data$dTuple.$Tuple(stack, [])); + return Data$dTuple.$Tuple($9._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $9._1)]))($9._2))); + })()); + } + if (v.value._2 === "in") { + const v2 = collapse(v2 => v3 => { + if (v3.tag === "LytLet") { return false; } + if (v3.tag === "LytAdo") { return false; } + return v3.tag === "LytLet" || (v3.tag === "LytLetStmt" || (v3.tag === "LytWhere" || (v3.tag === "LytOf" || (v3.tag === "LytDo" || v3.tag === "LytAdo")))); + })(Data$dTuple.$Tuple(stack, [])); + if (v2._1.tag === "Cons") { + if (v2._1._1._2.tag === "LytLetStmt") { + if (v2._1._2.tag === "Cons") { + if (v2._1._2._1._2.tag === "LytAdo") { + return Data$dTuple.$Tuple( + v2._1._2._2, + Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, v2._1._2._2)]))(Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([ + Data$dTuple.$Tuple( + { + range: {start: v.range.start, end: v.range.start}, + leadingComments: [], + trailingComments: [], + value: PureScript$dCST$dTypes.$Token("TokLayoutEnd", v2._1._2._1._1.column) + }, + v2._1._2._2 + ) + ]))(Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([ + Data$dTuple.$Tuple( + { + range: {start: v.range.start, end: v.range.start}, + leadingComments: [], + trailingComments: [], + value: PureScript$dCST$dTypes.$Token("TokLayoutEnd", v2._1._1._1.column) + }, + v2._1._2._2 + ) + ]))(v2._2)))))) + ); + } + if ( + v2._1._1._2.tag === "LytLet" || ( + v2._1._1._2.tag === "LytLetStmt" || ( + v2._1._1._2.tag === "LytWhere" || (v2._1._1._2.tag === "LytOf" || (v2._1._1._2.tag === "LytDo" || v2._1._1._2.tag === "LytAdo")) + ) + ) + ) { + return Data$dTuple.$Tuple( + v2._1._2, + Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, v2._1._2)]))(Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([ + Data$dTuple.$Tuple( + { + range: {start: v.range.start, end: v.range.start}, + leadingComments: [], + trailingComments: [], + value: PureScript$dCST$dTypes.$Token("TokLayoutEnd", v2._1._1._1.column) + }, + v2._1._2 + ) + ]))(v2._2)))) + ); + } + const $9 = insertSep(collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column < lytPos.column)(Data$dTuple.$Tuple(stack, []))); + const $10 = Data$dTuple.$Tuple($9._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $9._1)]))($9._2))); + if ($10._1.tag === "Cons") { + if (eqLayoutDelim.eq($10._1._1._2)(LytProperty)) { return Data$dTuple.$Tuple($10._1._2, $10._2); } + return $10; + } + return $10; + } + if ( + v2._1._1._2.tag === "LytLet" || ( + v2._1._1._2.tag === "LytLetStmt" || ( + v2._1._1._2.tag === "LytWhere" || (v2._1._1._2.tag === "LytOf" || (v2._1._1._2.tag === "LytDo" || v2._1._1._2.tag === "LytAdo")) + ) + ) + ) { + return Data$dTuple.$Tuple( + v2._1._2, + Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, v2._1._2)]))(Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([ + Data$dTuple.$Tuple( + { + range: {start: v.range.start, end: v.range.start}, + leadingComments: [], + trailingComments: [], + value: PureScript$dCST$dTypes.$Token("TokLayoutEnd", v2._1._1._1.column) + }, + v2._1._2 + ) + ]))(v2._2)))) + ); + } + const $9 = insertSep(collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column < lytPos.column)(Data$dTuple.$Tuple(stack, []))); + const $10 = Data$dTuple.$Tuple($9._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $9._1)]))($9._2))); + if ($10._1.tag === "Cons") { + if (eqLayoutDelim.eq($10._1._1._2)(LytProperty)) { return Data$dTuple.$Tuple($10._1._2, $10._2); } + return $10; + } + return $10; + } + if ( + v2._1._1._2.tag === "LytLet" || ( + v2._1._1._2.tag === "LytLetStmt" || (v2._1._1._2.tag === "LytWhere" || (v2._1._1._2.tag === "LytOf" || (v2._1._1._2.tag === "LytDo" || v2._1._1._2.tag === "LytAdo"))) + ) + ) { + return Data$dTuple.$Tuple( + v2._1._2, + Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, v2._1._2)]))(Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([ + Data$dTuple.$Tuple( + { + range: {start: v.range.start, end: v.range.start}, + leadingComments: [], + trailingComments: [], + value: PureScript$dCST$dTypes.$Token("TokLayoutEnd", v2._1._1._1.column) + }, + v2._1._2 + ) + ]))(v2._2)))) + ); + } + const $9 = insertSep(collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column < lytPos.column)(Data$dTuple.$Tuple(stack, []))); + const $10 = Data$dTuple.$Tuple($9._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $9._1)]))($9._2))); + if ($10._1.tag === "Cons") { + if (eqLayoutDelim.eq($10._1._1._2)(LytProperty)) { return Data$dTuple.$Tuple($10._1._2, $10._2); } + return $10; + } + return $10; + } + const $9 = insertSep(collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column < lytPos.column)(Data$dTuple.$Tuple(stack, []))); + const $10 = Data$dTuple.$Tuple($9._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $9._1)]))($9._2))); + if ($10._1.tag === "Cons") { + if (eqLayoutDelim.eq($10._1._1._2)(LytProperty)) { return Data$dTuple.$Tuple($10._1._2, $10._2); } + return $10; + } + return $10; + } + if (v.value._2 === "let") { + return insertKwProperty( + v2 => { + if (v2._1.tag === "Cons") { + if (v2._1._1._2.tag === "LytDo") { + if (v2._1._1._1.column === v.range.start.column) { return insertStart(LytLetStmt)(v2); } + return insertStart(LytLet)(v2); + } + if (v2._1._1._2.tag === "LytAdo") { + if (v2._1._1._1.column === v.range.start.column) { return insertStart(LytLetStmt)(v2); } + return insertStart(LytLet)(v2); + } + return insertStart(LytLet)(v2); + } + return insertStart(LytLet)(v2); + }, + Data$dTuple.$Tuple(stack, []) + ); + } + if (v.value._2 === "do") { return insertKwProperty(insertStart(LytDo), Data$dTuple.$Tuple(stack, [])); } + if (v.value._2 === "ado") { return insertKwProperty(insertStart(LytAdo), Data$dTuple.$Tuple(stack, [])); } + if (v.value._2 === "case") { + return insertKwProperty(v1 => Data$dTuple.$Tuple(Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(v.range.start, LytCase), v1._1), v1._2), Data$dTuple.$Tuple(stack, [])); + } + if (v.value._2 === "of") { + const v2 = collapse(v$1 => isIndented)(Data$dTuple.$Tuple(stack, [])); + if (v2._1.tag === "Cons") { + if (v2._1._1._2.tag === "LytCase") { + const $9 = insertStart(LytOf)(Data$dTuple.$Tuple( + v2._1._2, + Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, v2._1._2)]))(v2._2)) + )); + return Data$dTuple.$Tuple(Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(nextPos, LytCaseBinders), $9._1), $9._2); + } + const $9 = insertSep(collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column < lytPos.column)(v2)); + const $10 = Data$dTuple.$Tuple($9._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $9._1)]))($9._2))); + if ($10._1.tag === "Cons") { + if (eqLayoutDelim.eq($10._1._1._2)(LytProperty)) { return Data$dTuple.$Tuple($10._1._2, $10._2); } + return $10; + } + return $10; + } + const $9 = insertSep(collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column < lytPos.column)(v2)); + const $10 = Data$dTuple.$Tuple($9._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $9._1)]))($9._2))); + if ($10._1.tag === "Cons") { + if (eqLayoutDelim.eq($10._1._1._2)(LytProperty)) { return Data$dTuple.$Tuple($10._1._2, $10._2); } + return $10; + } + return $10; + } + if (v.value._2 === "if") { + return insertKwProperty(v1 => Data$dTuple.$Tuple(Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(v.range.start, LytIf), v1._1), v1._2), Data$dTuple.$Tuple(stack, [])); + } + if (v.value._2 === "then") { + const v2 = collapse(v$1 => isIndented)(Data$dTuple.$Tuple(stack, [])); + if (v2._1.tag === "Cons") { + if (v2._1._1._2.tag === "LytIf") { + return Data$dTuple.$Tuple( + Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(v.range.start, LytThen), v2._1._2), + Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, v2._1._2)]))(v2._2)) + ); + } + const $9 = insertSep(collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column < lytPos.column)(Data$dTuple.$Tuple(stack, []))); + const $10 = Data$dTuple.$Tuple($9._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $9._1)]))($9._2))); + if ($10._1.tag === "Cons") { + if (eqLayoutDelim.eq($10._1._1._2)(LytProperty)) { return Data$dTuple.$Tuple($10._1._2, $10._2); } + return $10; + } + return $10; + } + const $9 = insertSep(collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column < lytPos.column)(Data$dTuple.$Tuple(stack, []))); + const $10 = Data$dTuple.$Tuple($9._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $9._1)]))($9._2))); + if ($10._1.tag === "Cons") { + if (eqLayoutDelim.eq($10._1._1._2)(LytProperty)) { return Data$dTuple.$Tuple($10._1._2, $10._2); } + return $10; + } + return $10; + } + if (v.value._2 === "else") { + const v2 = collapse(v$1 => isIndented)(Data$dTuple.$Tuple(stack, [])); + const $9 = () => { + const v3 = collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column < lytPos.column)(Data$dTuple.$Tuple(stack, [])); + if ( + (() => { + if (v3._1.tag === "Cons") { + if (v3._1._1._2.tag === "LytWhere") { + if (v3._1._2.tag === "Cons") { + if (v3._1._2._1._2.tag === "LytRoot") { + if (v3._1._2._2.tag === "Nil") { return v.range.start.column === v3._1._1._1.column; } + return false; + } + return false; + } + return false; + } + return false; + } + return false; + })() + ) { + return Data$dTuple.$Tuple(v3._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, v3._1)]))(v3._2))); + } + const $10 = insertSep(v3); + const $11 = Data$dTuple.$Tuple($10._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $10._1)]))($10._2))); + if ($11._1.tag === "Cons") { + if (eqLayoutDelim.eq($11._1._1._2)(LytProperty)) { return Data$dTuple.$Tuple($11._1._2, $11._2); } + return $11; + } + return $11; + }; + if (v2._1.tag === "Cons") { + if (v2._1._1._2.tag === "LytThen") { + return Data$dTuple.$Tuple(v2._1._2, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, v2._1._2)]))(v2._2))); + } + return $9(); + } + return $9(); + } + const $8 = insertSep(collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column < lytPos.column)(Data$dTuple.$Tuple(stack, []))); + const $9 = Data$dTuple.$Tuple($8._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1)]))($8._2))); + if ($9._1.tag === "Cons") { + if (eqLayoutDelim.eq($9._1._1._2)(LytProperty)) { return Data$dTuple.$Tuple($9._1._2, $9._2); } + return $9; + } + return $9; + } + if (v.value._2 === "do") { return insertKwProperty(insertStart(LytDo), Data$dTuple.$Tuple(stack, [])); } + if (v.value._2 === "ado") { return insertKwProperty(insertStart(LytAdo), Data$dTuple.$Tuple(stack, [])); } + const $8 = insertSep(collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column < lytPos.column)(Data$dTuple.$Tuple(stack, []))); + return Data$dTuple.$Tuple($8._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1)]))($8._2))); + } + if (v.value.tag === "TokForall") { + return insertKwProperty(v1 => Data$dTuple.$Tuple(Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(v.range.start, LytForall), v1._1), v1._2), Data$dTuple.$Tuple(stack, [])); + } + if (v.value.tag === "TokBackslash") { + const $8 = insertSep(collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column < lytPos.column)(Data$dTuple.$Tuple(stack, []))); + return Data$dTuple.$Tuple( + Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(v.range.start, LytLambdaBinders), $8._1), + Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1)]))($8._2)) + ); + } + if (v.value.tag === "TokRightArrow") { + const $8 = collapse(v2 => v3 => { + if (v3.tag === "LytDo") { return true; } + if (v3.tag === "LytOf") { return false; } + return (v3.tag === "LytLet" || (v3.tag === "LytLetStmt" || (v3.tag === "LytWhere" || (v3.tag === "LytOf" || (v3.tag === "LytDo" || v3.tag === "LytAdo"))))) && v.range.start.column <= v2.column; + })(Data$dTuple.$Tuple(stack, [])); + if ($8._1.tag === "Cons") { + if ($8._1._1._2.tag === "LytCaseBinders" || ($8._1._1._2.tag === "LytCaseGuard" || $8._1._1._2.tag === "LytLambdaBinders")) { + return Data$dTuple.$Tuple($8._1._2, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1._2)]))($8._2))); + } + return Data$dTuple.$Tuple($8._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1)]))($8._2))); + } + return Data$dTuple.$Tuple($8._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1)]))($8._2))); + } + if (v.value.tag === "TokEquals") { + const v2 = collapse(v2 => v3 => v3.tag === "LytWhere" || (v3.tag === "LytLet" || v3.tag === "LytLetStmt"))(Data$dTuple.$Tuple(stack, [])); + if (v2._1.tag === "Cons") { + if (v2._1._1._2.tag === "LytDeclGuard") { + return Data$dTuple.$Tuple(v2._1._2, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, v2._1._2)]))(v2._2))); + } + const $9 = insertSep(collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column < lytPos.column)(Data$dTuple.$Tuple(stack, []))); + return Data$dTuple.$Tuple($9._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $9._1)]))($9._2))); + } + const $9 = insertSep(collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column < lytPos.column)(Data$dTuple.$Tuple(stack, []))); + return Data$dTuple.$Tuple($9._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $9._1)]))($9._2))); + } + if (v.value.tag === "TokPipe") { + const v2 = collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column <= lytPos.column)(Data$dTuple.$Tuple(stack, [])); + if (v2._1.tag === "Cons") { + if (v2._1._1._2.tag === "LytOf") { + return Data$dTuple.$Tuple( + Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(v.range.start, LytCaseGuard), v2._1), + Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([ + Data$dTuple.$Tuple(v, Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(v.range.start, LytCaseGuard), v2._1)) + ]))(v2._2)) + ); + } + if (v2._1._1._2.tag === "LytLet") { + return Data$dTuple.$Tuple( + Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(v.range.start, LytDeclGuard), v2._1), + Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([ + Data$dTuple.$Tuple(v, Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(v.range.start, LytDeclGuard), v2._1)) + ]))(v2._2)) + ); + } + if (v2._1._1._2.tag === "LytLetStmt") { + return Data$dTuple.$Tuple( + Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(v.range.start, LytDeclGuard), v2._1), + Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([ + Data$dTuple.$Tuple(v, Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(v.range.start, LytDeclGuard), v2._1)) + ]))(v2._2)) + ); + } + if (v2._1._1._2.tag === "LytWhere") { + return Data$dTuple.$Tuple( + Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(v.range.start, LytDeclGuard), v2._1), + Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([ + Data$dTuple.$Tuple(v, Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(v.range.start, LytDeclGuard), v2._1)) + ]))(v2._2)) + ); + } + const $9 = insertSep(collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column < lytPos.column)(Data$dTuple.$Tuple(stack, []))); + return Data$dTuple.$Tuple($9._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $9._1)]))($9._2))); + } + const $9 = insertSep(collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column < lytPos.column)(Data$dTuple.$Tuple(stack, []))); + return Data$dTuple.$Tuple($9._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $9._1)]))($9._2))); + } + if (v.value.tag === "TokTick") { + const v2 = collapse(v$1 => isIndented)(Data$dTuple.$Tuple(stack, [])); + const $9 = () => { + const $9 = insertSep(collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column <= lytPos.column)(Data$dTuple.$Tuple(stack, []))); + return Data$dTuple.$Tuple( + Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(v.range.start, LytTick), $9._1), + Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $9._1)]))($9._2)) + ); + }; + if (v2._1.tag === "Cons") { + if (v2._1._1._2.tag === "LytTick") { + return Data$dTuple.$Tuple(v2._1._2, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, v2._1._2)]))(v2._2))); + } + return $9(); + } + return $9(); + } + if (v.value.tag === "TokComma") { + const v2 = collapse(v$1 => isIndented)(Data$dTuple.$Tuple(stack, [])); + if (v2._1.tag === "Cons") { + if (v2._1._1._2.tag === "LytBrace") { + return Data$dTuple.$Tuple( + Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(v.range.start, LytProperty), v2._1), + Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, v2._1)]))(v2._2)) + ); + } + return Data$dTuple.$Tuple(v2._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, v2._1)]))(v2._2))); + } + return Data$dTuple.$Tuple(v2._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, v2._1)]))(v2._2))); + } + if (v.value.tag === "TokDot") { + const $8 = insertSep(collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column < lytPos.column)(Data$dTuple.$Tuple(stack, []))); + const $9 = Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1)]))($8._2)); + if ($8._1.tag === "Cons") { + if ($8._1._1._2.tag === "LytForall") { return Data$dTuple.$Tuple($8._1._2, $9); } + return Data$dTuple.$Tuple(Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(v.range.start, LytProperty), $8._1), $9); + } + return Data$dTuple.$Tuple(Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(v.range.start, LytProperty), $8._1), $9); + } + if (v.value.tag === "TokLeftParen") { + const $8 = insertSep(collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column < lytPos.column)(Data$dTuple.$Tuple(stack, []))); + return Data$dTuple.$Tuple( + Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(v.range.start, LytParen), $8._1), + Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1)]))($8._2)) + ); + } + if (v.value.tag === "TokLeftBrace") { + const $8 = insertSep(collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column < lytPos.column)(Data$dTuple.$Tuple(stack, []))); + return Data$dTuple.$Tuple( + Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(v.range.start, LytProperty), Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(v.range.start, LytBrace), $8._1)), + Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1)]))($8._2)) + ); + } + if (v.value.tag === "TokLeftSquare") { + const $8 = insertSep(collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column < lytPos.column)(Data$dTuple.$Tuple(stack, []))); + return Data$dTuple.$Tuple( + Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(v.range.start, LytSquare), $8._1), + Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1)]))($8._2)) + ); + } + if (v.value.tag === "TokRightParen") { + const $8 = collapse(v$1 => isIndented)(Data$dTuple.$Tuple(stack, [])); + if ($8._1.tag === "Cons") { + if (eqLayoutDelim.eq($8._1._1._2)(LytParen)) { + return Data$dTuple.$Tuple($8._1._2, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1._2)]))($8._2))); + } + return Data$dTuple.$Tuple($8._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1)]))($8._2))); + } + return Data$dTuple.$Tuple($8._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1)]))($8._2))); + } + if (v.value.tag === "TokRightBrace") { + const $8 = collapse(v$1 => isIndented)(Data$dTuple.$Tuple(stack, [])); + if ($8._1.tag === "Cons") { + if (eqLayoutDelim.eq($8._1._1._2)(LytProperty)) { + if ($8._1._2.tag === "Cons") { + if (eqLayoutDelim.eq($8._1._2._1._2)(LytBrace)) { + return Data$dTuple.$Tuple( + $8._1._2._2, + Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1._2._2)]))($8._2)) + ); + } + return Data$dTuple.$Tuple($8._1._2, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1._2)]))($8._2))); + } + return Data$dTuple.$Tuple($8._1._2, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1._2)]))($8._2))); + } + if ($8._1.tag === "Cons") { + if (eqLayoutDelim.eq($8._1._1._2)(LytBrace)) { + return Data$dTuple.$Tuple($8._1._2, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1._2)]))($8._2))); + } + return Data$dTuple.$Tuple($8._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1)]))($8._2))); + } + return Data$dTuple.$Tuple($8._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1)]))($8._2))); + } + if ($8._1.tag === "Cons") { + if (eqLayoutDelim.eq($8._1._1._2)(LytBrace)) { + return Data$dTuple.$Tuple($8._1._2, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1._2)]))($8._2))); + } + return Data$dTuple.$Tuple($8._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1)]))($8._2))); + } + return Data$dTuple.$Tuple($8._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1)]))($8._2))); + } + if (v.value.tag === "TokRightSquare") { + const $8 = collapse(v$1 => isIndented)(Data$dTuple.$Tuple(stack, [])); + if ($8._1.tag === "Cons") { + if (eqLayoutDelim.eq($8._1._1._2)(LytSquare)) { + return Data$dTuple.$Tuple($8._1._2, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1._2)]))($8._2))); + } + return Data$dTuple.$Tuple($8._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1)]))($8._2))); + } + return Data$dTuple.$Tuple($8._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1)]))($8._2))); + } + if (v.value.tag === "TokString") { + const $8 = insertSep(collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column < lytPos.column)(Data$dTuple.$Tuple(stack, []))); + const $9 = Data$dTuple.$Tuple($8._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1)]))($8._2))); + if ($9._1.tag === "Cons") { + if (eqLayoutDelim.eq($9._1._1._2)(LytProperty)) { return Data$dTuple.$Tuple($9._1._2, $9._2); } + return $9; + } + return $9; + } + if (v.value.tag === "TokOperator") { + const $8 = insertSep(collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column <= lytPos.column)(Data$dTuple.$Tuple(stack, []))); + return Data$dTuple.$Tuple($8._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1)]))($8._2))); + } + const $8 = insertSep(collapse(lytPos => lyt => ( + lyt.tag === "LytLet" || (lyt.tag === "LytLetStmt" || (lyt.tag === "LytWhere" || (lyt.tag === "LytOf" || (lyt.tag === "LytDo" || lyt.tag === "LytAdo")))) + ) && v.range.start.column < lytPos.column)(Data$dTuple.$Tuple(stack, []))); + return Data$dTuple.$Tuple($8._1, Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v, $8._1)]))($8._2))); +}; +const ordLayoutDelim = { + compare: x => y => { + if (x.tag === "LytRoot") { + if (y.tag === "LytRoot") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "LytRoot") { return Data$dOrdering.GT; } + if (x.tag === "LytTopDecl") { + if (y.tag === "LytTopDecl") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "LytTopDecl") { return Data$dOrdering.GT; } + if (x.tag === "LytTopDeclHead") { + if (y.tag === "LytTopDeclHead") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "LytTopDeclHead") { return Data$dOrdering.GT; } + if (x.tag === "LytDeclGuard") { + if (y.tag === "LytDeclGuard") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "LytDeclGuard") { return Data$dOrdering.GT; } + if (x.tag === "LytCase") { + if (y.tag === "LytCase") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "LytCase") { return Data$dOrdering.GT; } + if (x.tag === "LytCaseBinders") { + if (y.tag === "LytCaseBinders") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "LytCaseBinders") { return Data$dOrdering.GT; } + if (x.tag === "LytCaseGuard") { + if (y.tag === "LytCaseGuard") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "LytCaseGuard") { return Data$dOrdering.GT; } + if (x.tag === "LytLambdaBinders") { + if (y.tag === "LytLambdaBinders") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "LytLambdaBinders") { return Data$dOrdering.GT; } + if (x.tag === "LytParen") { + if (y.tag === "LytParen") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "LytParen") { return Data$dOrdering.GT; } + if (x.tag === "LytBrace") { + if (y.tag === "LytBrace") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "LytBrace") { return Data$dOrdering.GT; } + if (x.tag === "LytSquare") { + if (y.tag === "LytSquare") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "LytSquare") { return Data$dOrdering.GT; } + if (x.tag === "LytIf") { + if (y.tag === "LytIf") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "LytIf") { return Data$dOrdering.GT; } + if (x.tag === "LytThen") { + if (y.tag === "LytThen") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "LytThen") { return Data$dOrdering.GT; } + if (x.tag === "LytProperty") { + if (y.tag === "LytProperty") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "LytProperty") { return Data$dOrdering.GT; } + if (x.tag === "LytForall") { + if (y.tag === "LytForall") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "LytForall") { return Data$dOrdering.GT; } + if (x.tag === "LytTick") { + if (y.tag === "LytTick") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "LytTick") { return Data$dOrdering.GT; } + if (x.tag === "LytLet") { + if (y.tag === "LytLet") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "LytLet") { return Data$dOrdering.GT; } + if (x.tag === "LytLetStmt") { + if (y.tag === "LytLetStmt") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "LytLetStmt") { return Data$dOrdering.GT; } + if (x.tag === "LytWhere") { + if (y.tag === "LytWhere") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "LytWhere") { return Data$dOrdering.GT; } + if (x.tag === "LytOf") { + if (y.tag === "LytOf") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "LytOf") { return Data$dOrdering.GT; } + if (x.tag === "LytDo") { + if (y.tag === "LytDo") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "LytDo") { return Data$dOrdering.GT; } + if (x.tag === "LytAdo") { + if (y.tag === "LytAdo") { return Data$dOrdering.EQ; } + $runtime.fail(); + } + $runtime.fail(); + }, + Eq0: () => eqLayoutDelim +}; +const currentIndent = /* #__PURE__ */ (() => { + const go = go$a0$copy => { + let go$a0 = go$a0$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0; + if (v.tag === "Cons") { + if ( + v._1._2.tag === "LytLet" || ( + v._1._2.tag === "LytLetStmt" || (v._1._2.tag === "LytWhere" || (v._1._2.tag === "LytOf" || (v._1._2.tag === "LytDo" || v._1._2.tag === "LytAdo"))) + ) + ) { + go$c = false; + go$r = Data$dMaybe.$Maybe("Just", v._1._1); + continue; + } + go$a0 = v._2; + continue; + } + go$c = false; + go$r = Data$dMaybe.Nothing; + continue; + }; + return go$r; + }; + return go; +})(); +export { + $LayoutDelim, + LytAdo, + LytBrace, + LytCase, + LytCaseBinders, + LytCaseGuard, + LytDeclGuard, + LytDo, + LytForall, + LytIf, + LytLambdaBinders, + LytLet, + LytLetStmt, + LytOf, + LytParen, + LytProperty, + LytRoot, + LytSquare, + LytThen, + LytTick, + LytTopDecl, + LytTopDeclHead, + LytWhere, + currentIndent, + eqLayoutDelim, + insertLayout, + isIndented, + lytToken, + ordLayoutDelim +}; diff --git a/.storybook/purescript-indexer/output-es/PureScript.CST.Lexer/index.js b/.storybook/purescript-indexer/output-es/PureScript.CST.Lexer/index.js new file mode 100644 index 0000000..a701e9b --- /dev/null +++ b/.storybook/purescript-indexer/output-es/PureScript.CST.Lexer/index.js @@ -0,0 +1,523 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dApply from "../Control.Apply/index.js"; +import * as Control$dMonad$dST$dInternal from "../Control.Monad.ST.Internal/index.js"; +import * as Data$dArray from "../Data.Array/index.js"; +import * as Data$dArray$dST from "../Data.Array.ST/index.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dEnum from "../Data.Enum/index.js"; +import * as Data$dEuclideanRing from "../Data.EuclideanRing/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dFunction from "../Data.Function/index.js"; +import * as Data$dInt from "../Data.Int/index.js"; +import * as Data$dLazy from "../Data.Lazy/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dMonoid from "../Data.Monoid/index.js"; +import * as Data$dNumber from "../Data.Number/index.js"; +import * as Data$dString$dCodePoints from "../Data.String.CodePoints/index.js"; +import * as Data$dString$dCodeUnits from "../Data.String.CodeUnits/index.js"; +import * as Data$dString$dCommon from "../Data.String.Common/index.js"; +import * as Data$dString$dRegex from "../Data.String.Regex/index.js"; +import * as Data$dString$dRegex$dFlags from "../Data.String.Regex.Flags/index.js"; +import * as Data$dString$dRegex$dUnsafe from "../Data.String.Regex.Unsafe/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import * as Partial from "../Partial/index.js"; +import * as PureScript$dCST$dErrors from "../PureScript.CST.Errors/index.js"; +import * as PureScript$dCST$dLayout from "../PureScript.CST.Layout/index.js"; +import * as PureScript$dCST$dTokenStream from "../PureScript.CST.TokenStream/index.js"; +import * as PureScript$dCST$dTypes from "../PureScript.CST.Types/index.js"; +const $LexResult = (tag, _1, _2) => ({tag, _1, _2}); +const fold1 = /* #__PURE__ */ (() => Data$dFoldable.foldableArray.foldMap(Data$dMonoid.monoidRecord()((() => { + const semigroupRecordCons1 = {appendRecord: v => ra => rb => ({raw: ra.raw + rb.raw, string: ra.string + rb.string})}; + return {memptyRecord: v => ({raw: "", string: ""}), SemigroupRecord0: () => semigroupRecordCons1}; +})()))(Data$dFoldable.identity))(); +const consTokens = /* #__PURE__ */ PureScript$dCST$dTokenStream.consTokens(Data$dFoldable.foldableArray); +const LexFail = value0 => value1 => $LexResult("LexFail", value0, value1); +const LexSucc = value0 => value1 => $LexResult("LexSucc", value0, value1); +const $$try = v => str => { + const v1 = v(str); + if (v1.tag === "LexFail") { return $LexResult("LexFail", v1._1, str); } + if (v1.tag === "LexSucc") { return $LexResult("LexSucc", v1._1, v1._2); } + $runtime.fail(); +}; +const toModuleName = v => { + if (v === "") { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", Data$dString$dCodeUnits.take(Data$dString$dCodeUnits.length(v) - 1 | 0)(v)); +}; +const optional = v => str => { + const v1 = v(str); + if (v1.tag === "LexFail") { + if (Data$dString$dCodeUnits.length(str) === Data$dString$dCodeUnits.length(v1._2)) { return $LexResult("LexSucc", Data$dMaybe.Nothing, str); } + return $LexResult("LexFail", v1._1, v1._2); + } + if (v1.tag === "LexSucc") { return $LexResult("LexSucc", Data$dMaybe.$Maybe("Just", v1._1), v1._2); } + $runtime.fail(); +}; +const mkUnexpected = str => { + const start = Data$dString$dCodePoints.take(6)(str); + const len = Data$dString$dCodePoints.toCodePointArray(start).length; + if (len === 0) { return "end of file"; } + if (len < 6) { return start; } + return start + "..."; +}; +const regex = mkErr => regexStr => { + const matchRegex = Data$dString$dRegex$dUnsafe.unsafeRegex("^(?:" + (regexStr + ")"))(Data$dString$dRegex$dFlags.unicode); + return str => { + const v = Data$dString$dRegex.match(matchRegex)(str); + if (v.tag === "Just") { + const $5 = Data$dArray.index(v._1)(0); + const $6 = (() => { + if ($5.tag === "Just") { return $5._1; } + $runtime.fail(); + })(); + if ($6.tag === "Just") { return $LexResult("LexSucc", $6._1, Data$dString$dCodeUnits.drop(Data$dString$dCodeUnits.length($6._1))(str)); } + return $LexResult("LexFail", v3 => mkErr(mkUnexpected(str)), str); + } + return $LexResult("LexFail", v3 => mkErr(mkUnexpected(str)), str); + }; +}; +const satisfy = mkErr => p => str => { + const v = Data$dString$dCodeUnits.charAt(0)(str); + if (v.tag === "Just") { + if (p(v._1)) { return $LexResult("LexSucc", v._1, Data$dString$dCodeUnits.drop(1)(str)); } + return $LexResult("LexFail", v1 => mkErr(mkUnexpected(str)), str); + } + return $LexResult("LexFail", v1 => mkErr(mkUnexpected(str)), str); +}; +const string = mkErr => match => str => { + if (Data$dString$dCodeUnits.take(Data$dString$dCodeUnits.length(match))(str) === match) { + return $LexResult("LexSucc", match, Data$dString$dCodeUnits.drop(Data$dString$dCodeUnits.length(match))(str)); + } + return $LexResult("LexFail", v => mkErr(mkUnexpected(str)), str); +}; +const many = v => str => Control$dMonad$dST$dInternal.run(() => { + const valuesRef = Data$dArray$dST.new(); + const strRef = {value: str}; + const contRef = {value: true}; + const resRef = {value: $LexResult("LexSucc", [], str)}; + Control$dMonad$dST$dInternal.while(() => contRef.value)(() => { + const str$p = strRef.value; + const v1 = v(str$p); + if (v1.tag === "LexFail") { + if (Data$dString$dCodeUnits.length(str$p) === Data$dString$dCodeUnits.length(v1._2)) { + const values = Data$dArray$dST.unsafeFreeze(valuesRef)(); + resRef.value = $LexResult("LexSucc", values, v1._2); + contRef.value = false; + return Data$dUnit.unit; + } + resRef.value = $LexResult("LexFail", v1._1, v1._2); + contRef.value = false; + return Data$dUnit.unit; + } + if (v1.tag === "LexSucc") { + Data$dArray$dST.pushAll([v1._1])(valuesRef)(); + strRef.value = v1._2; + return Data$dUnit.unit; + } + $runtime.fail(); + })(); + return resRef.value; +}); +const functorLex = { + map: f => v => str => { + const v1 = v(str); + if (v1.tag === "LexFail") { return $LexResult("LexFail", v1._1, v1._2); } + if (v1.tag === "LexSucc") { return $LexResult("LexSucc", f(v1._1), v1._2); } + $runtime.fail(); + } +}; +const spaceComment = /* #__PURE__ */ (() => functorLex.map(Data$dString$dCodeUnits.length)(regex(PureScript$dCST$dErrors.LexExpected("spaces"))(" +")))(); +const char$p = mkErr => res => match => str => { + if (Data$dString$dCodeUnits.singleton(match) === Data$dString$dCodeUnits.take(1)(str)) { return $LexResult("LexSucc", res, Data$dString$dCodeUnits.drop(1)(str)); } + return $LexResult("LexFail", v => mkErr(mkUnexpected(str)), str); +}; +const $$char = mkErr => match => str => { + if (Data$dString$dCodeUnits.singleton(match) === Data$dString$dCodeUnits.take(1)(str)) { return $LexResult("LexSucc", match, Data$dString$dCodeUnits.drop(1)(str)); } + return $LexResult("LexFail", v => mkErr(mkUnexpected(str)), str); +}; +const bumpText = v => colOffset => str => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const n = go$a0, ix = go$a1; + const v1 = Data$dString$dCodeUnits.indexOf$p("\n")(ix)(str); + if (v1.tag === "Just") { + go$a0 = n + 1 | 0; + go$a1 = v1._1 + 1 | 0; + continue; + } + if (v1.tag === "Nothing") { + if (n === 0) { + go$c = false; + go$r = {line: v.line, column: (v.column + Data$dString$dCodePoints.toCodePointArray(str).length | 0) + (colOffset * 2 | 0) | 0}; + continue; + } + go$c = false; + go$r = {line: v.line + n | 0, column: Data$dString$dCodePoints.toCodePointArray(Data$dString$dCodeUnits.drop(ix)(str)).length + colOffset | 0}; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(0)(0); +}; +const bumpToken = v => v1 => { + if (v1.tag === "TokLeftParen") { return {line: v.line, column: v.column + 1 | 0}; } + if (v1.tag === "TokRightParen") { return {line: v.line, column: v.column + 1 | 0}; } + if (v1.tag === "TokLeftBrace") { return {line: v.line, column: v.column + 1 | 0}; } + if (v1.tag === "TokRightBrace") { return {line: v.line, column: v.column + 1 | 0}; } + if (v1.tag === "TokLeftSquare") { return {line: v.line, column: v.column + 1 | 0}; } + if (v1.tag === "TokRightSquare") { return {line: v.line, column: v.column + 1 | 0}; } + if (v1.tag === "TokLeftArrow") { + if (v1._1.tag === "ASCII") { return {line: v.line, column: v.column + 2 | 0}; } + if (v1._1.tag === "Unicode") { return {line: v.line, column: v.column + 1 | 0}; } + $runtime.fail(); + } + if (v1.tag === "TokRightArrow") { + if (v1._1.tag === "ASCII") { return {line: v.line, column: v.column + 2 | 0}; } + if (v1._1.tag === "Unicode") { return {line: v.line, column: v.column + 1 | 0}; } + $runtime.fail(); + } + if (v1.tag === "TokRightFatArrow") { + if (v1._1.tag === "ASCII") { return {line: v.line, column: v.column + 2 | 0}; } + if (v1._1.tag === "Unicode") { return {line: v.line, column: v.column + 1 | 0}; } + $runtime.fail(); + } + if (v1.tag === "TokDoubleColon") { + if (v1._1.tag === "ASCII") { return {line: v.line, column: v.column + 2 | 0}; } + if (v1._1.tag === "Unicode") { return {line: v.line, column: v.column + 1 | 0}; } + $runtime.fail(); + } + if (v1.tag === "TokForall") { + if (v1._1.tag === "ASCII") { return {line: v.line, column: v.column + 6 | 0}; } + if (v1._1.tag === "Unicode") { return {line: v.line, column: v.column + 1 | 0}; } + $runtime.fail(); + } + if (v1.tag === "TokEquals") { return {line: v.line, column: v.column + 1 | 0}; } + if (v1.tag === "TokPipe") { return {line: v.line, column: v.column + 1 | 0}; } + if (v1.tag === "TokTick") { return {line: v.line, column: v.column + 1 | 0}; } + if (v1.tag === "TokDot") { return {line: v.line, column: v.column + 1 | 0}; } + if (v1.tag === "TokComma") { return {line: v.line, column: v.column + 1 | 0}; } + if (v1.tag === "TokUnderscore") { return {line: v.line, column: v.column + 1 | 0}; } + if (v1.tag === "TokBackslash") { return {line: v.line, column: v.column + 1 | 0}; } + if (v1.tag === "TokAt") { return {line: v.line, column: v.column + 1 | 0}; } + if (v1.tag === "TokLowerName") { + return { + line: v.line, + column: (() => { + if (v1._1.tag === "Nothing") { return v.column + 0 | 0; } + if (v1._1.tag === "Just") { return v.column + (1 + Data$dString$dCodePoints.toCodePointArray(v1._1._1).length | 0) | 0; } + $runtime.fail(); + })() + Data$dString$dCodePoints.toCodePointArray(v1._2).length | 0 + }; + } + if (v1.tag === "TokUpperName") { + return { + line: v.line, + column: (() => { + if (v1._1.tag === "Nothing") { return v.column + 0 | 0; } + if (v1._1.tag === "Just") { return v.column + (1 + Data$dString$dCodePoints.toCodePointArray(v1._1._1).length | 0) | 0; } + $runtime.fail(); + })() + Data$dString$dCodePoints.toCodePointArray(v1._2).length | 0 + }; + } + if (v1.tag === "TokOperator") { + return { + line: v.line, + column: (() => { + if (v1._1.tag === "Nothing") { return v.column + 0 | 0; } + if (v1._1.tag === "Just") { return v.column + (1 + Data$dString$dCodePoints.toCodePointArray(v1._1._1).length | 0) | 0; } + $runtime.fail(); + })() + Data$dString$dCodePoints.toCodePointArray(v1._2).length | 0 + }; + } + if (v1.tag === "TokSymbolName") { + return { + line: v.line, + column: ( + (() => { + if (v1._1.tag === "Nothing") { return v.column + 0 | 0; } + if (v1._1.tag === "Just") { return v.column + (1 + Data$dString$dCodePoints.toCodePointArray(v1._1._1).length | 0) | 0; } + $runtime.fail(); + })() + Data$dString$dCodePoints.toCodePointArray(v1._2).length | 0 + ) + 2 | 0 + }; + } + if (v1.tag === "TokSymbolArrow") { + if (v1._1.tag === "Unicode") { return {line: v.line, column: v.column + 3 | 0}; } + if (v1._1.tag === "ASCII") { return {line: v.line, column: v.column + 4 | 0}; } + $runtime.fail(); + } + if (v1.tag === "TokHole") { return {line: v.line, column: (v.column + Data$dString$dCodePoints.toCodePointArray(v1._1).length | 0) + 1 | 0}; } + if (v1.tag === "TokChar") { return {line: v.line, column: (v.column + Data$dString$dCodePoints.toCodePointArray(v1._1).length | 0) + 2 | 0}; } + if (v1.tag === "TokInt") { return {line: v.line, column: v.column + Data$dString$dCodePoints.toCodePointArray(v1._1).length | 0}; } + if (v1.tag === "TokNumber") { return {line: v.line, column: v.column + Data$dString$dCodePoints.toCodePointArray(v1._1).length | 0}; } + if (v1.tag === "TokString") { return bumpText(v)(1)(v1._1); } + if (v1.tag === "TokRawString") { return bumpText(v)(3)(v1._1); } + if (v1.tag === "TokLayoutStart") { return v; } + if (v1.tag === "TokLayoutSep") { return v; } + if (v1.tag === "TokLayoutEnd") { return v; } + $runtime.fail(); +}; +const bumpComment = v => v1 => { + if (v1.tag === "Comment") { return bumpText(v)(0)(v1._1); } + if (v1.tag === "Space") { return {line: v.line, column: v.column + v1._1 | 0}; } + if (v1.tag === "Line") { return {line: v.line + v1._2 | 0, column: 0}; } + $runtime.fail(); +}; +const applyLex = { + apply: v => v1 => str => { + const v2 = v(str); + if (v2.tag === "LexFail") { return $LexResult("LexFail", v2._1, v2._2); } + if (v2.tag === "LexSucc") { + const v3 = v1(v2._2); + if (v3.tag === "LexFail") { return $LexResult("LexFail", v3._1, v3._2); } + if (v3.tag === "LexSucc") { return $LexResult("LexSucc", v2._1(v3._1), v3._2); } + $runtime.fail(); + } + $runtime.fail(); + }, + Functor0: () => functorLex +}; +const bindLex = { + bind: v => k => str => { + const v1 = v(str); + if (v1.tag === "LexFail") { return $LexResult("LexFail", v1._1, v1._2); } + if (v1.tag === "LexSucc") { return k(v1._1)(v1._2); } + $runtime.fail(); + }, + Apply0: () => applyLex +}; +const altLex = { + alt: v => v1 => str => { + const v2 = v(str); + if (v2.tag === "LexFail") { + if (Data$dString$dCodeUnits.length(str) === Data$dString$dCodeUnits.length(v2._2)) { return v1(str); } + return $LexResult("LexFail", v2._1, v2._2); + } + if (v2.tag === "LexSucc") { return $LexResult("LexSucc", v2._1, v2._2); } + $runtime.fail(); + }, + Functor0: () => functorLex +}; +const comment = /* #__PURE__ */ (() => altLex.alt(regex(PureScript$dCST$dErrors.LexExpected("block comment"))("\\{-(-(?!\\})|[^-]+)*(-\\}|$)"))(regex(PureScript$dCST$dErrors.LexExpected("line comment"))("--[^\\r\\n]*")))(); +const lineComment = /* #__PURE__ */ (() => altLex.alt(functorLex.map((() => { + const $0 = PureScript$dCST$dTypes.Line(PureScript$dCST$dTypes.LF); + return x => $0(Data$dString$dCodePoints.toCodePointArray(x).length); +})())(regex(PureScript$dCST$dErrors.LexExpected("newline"))("\n+")))(functorLex.map((() => { + const $0 = PureScript$dCST$dTypes.Line(PureScript$dCST$dTypes.CRLF); + return x => $0(Data$dEuclideanRing.intDiv(Data$dString$dCodePoints.toCodePointArray(x).length)(2)); +})())(regex(PureScript$dCST$dErrors.LexExpected("newline"))("(?:\r\n)+"))))(); +const leadingComments = /* #__PURE__ */ (() => many(altLex.alt(functorLex.map(PureScript$dCST$dTypes.Comment)(comment))(altLex.alt(functorLex.map(PureScript$dCST$dTypes.Space)(spaceComment))(lineComment))))(); +const token = /* #__PURE__ */ (() => { + const tokenRightParen = char$p(PureScript$dCST$dErrors.LexExpected("right paren"))(PureScript$dCST$dTypes.TokRightParen)(")"); + const tokenLeftParen = char$p(PureScript$dCST$dErrors.LexExpected("left paren"))(PureScript$dCST$dTypes.TokLeftParen)("("); + const stripUnderscores = Data$dString$dCommon.replaceAll("_")(""); + const parseSymbolIdent = regex(PureScript$dCST$dErrors.LexExpected("symbol"))("(?:[:!#$%&*+./<=>?@\\\\^|~-]|(?!\\p{P})\\p{S})+"); + const parseProper = regex(PureScript$dCST$dErrors.LexExpected("proper name"))("\\p{Lu}[\\p{L}0-9_']*"); + const parseIdent = regex(PureScript$dCST$dErrors.LexExpected("ident"))("[\\p{Ll}_][\\p{L}0-9_']*"); + const intPartRegex = regex(PureScript$dCST$dErrors.LexExpected("int part"))("(0|[1-9][0-9_]*)"); + const parseHexEscape = bindLex.bind(regex(PureScript$dCST$dErrors.LexExpected("hex"))("[a-fA-F0-9]{1,6}"))(esc => { + const $8 = Data$dInt.fromStringAs(16)(esc); + if ($8.tag === "Just") { + if ($8._1 >= 0 && $8._1 <= 65535) { return LexSucc({raw: "\\x" + esc, char: Data$dEnum.fromCharCode($8._1)}); } + return LexFail(v => PureScript$dCST$dErrors.$ParseError("LexCharEscapeOutOfRange", esc)); + } + if ($8.tag === "Nothing") { return LexFail(v => PureScript$dCST$dErrors.$ParseError("LexCharEscapeOutOfRange", esc)); } + $runtime.fail(); + }); + const charSingleQuote = $$char(PureScript$dCST$dErrors.LexExpected("single quote"))("'"); + const charQuote = $$char(PureScript$dCST$dErrors.LexExpected("quote"))("\""); + const charAny = satisfy(PureScript$dCST$dErrors.LexExpected("char"))(v => true); + const parseEscape = bindLex.bind(charAny)(ch => { + if (ch === "t") { return LexSucc({raw: "\\t", char: "\t"}); } + if (ch === "r") { return LexSucc({raw: "\\r", char: "\r"}); } + if (ch === "n") { return LexSucc({raw: "\\n", char: "\n"}); } + if (ch === "\"") { return LexSucc({raw: "\\\"", char: "\""}); } + if (ch === "'") { return LexSucc({raw: "\\'", char: "'"}); } + if (ch === "\\") { return LexSucc({raw: "\\\\", char: "\\"}); } + if (ch === "x") { return parseHexEscape; } + const $12 = PureScript$dCST$dErrors.$ParseError("LexInvalidCharEscape", Data$dString$dCodeUnits.singleton(ch)); + return LexFail(v => $12); + }); + return altLex.alt(functorLex.map(v => PureScript$dCST$dTypes.$Token("TokHole", v))($$try(applyLex.apply(functorLex.map(v => Control$dApply.identity)($$char(PureScript$dCST$dErrors.LexExpected("question mark"))("?")))(altLex.alt(parseIdent)(parseProper)))))(altLex.alt(applyLex.apply(functorLex.map(v => v1 => v1(toModuleName(v)))(regex(PureScript$dCST$dErrors.LexExpected("module name"))("(?:(?:\\p{Lu}[\\p{L}0-9_']*)\\.)*")))(altLex.alt(functorLex.map(v => v1 => { + if (v1.tag === "Nothing") { + if (v === "forall") { return PureScript$dCST$dTypes.$Token("TokForall", PureScript$dCST$dTypes.ASCII); } + if (v === "_") { return PureScript$dCST$dTypes.TokUnderscore; } + return PureScript$dCST$dTypes.$Token("TokLowerName", Data$dMaybe.Nothing, v); + } + return PureScript$dCST$dTypes.$Token("TokLowerName", v1, v); + })(parseIdent))(altLex.alt(functorLex.map(b => a => PureScript$dCST$dTypes.$Token("TokUpperName", a, b))(parseProper))(altLex.alt(functorLex.map(v => v1 => { + if (v1.tag === "Nothing") { + if (v === "<-") { return PureScript$dCST$dTypes.$Token("TokLeftArrow", PureScript$dCST$dTypes.ASCII); } + if (v === "←") { return PureScript$dCST$dTypes.$Token("TokLeftArrow", PureScript$dCST$dTypes.Unicode); } + if (v === "->") { return PureScript$dCST$dTypes.$Token("TokRightArrow", PureScript$dCST$dTypes.ASCII); } + if (v === "→") { return PureScript$dCST$dTypes.$Token("TokRightArrow", PureScript$dCST$dTypes.Unicode); } + if (v === "=>") { return PureScript$dCST$dTypes.$Token("TokRightFatArrow", PureScript$dCST$dTypes.ASCII); } + if (v === "⇒") { return PureScript$dCST$dTypes.$Token("TokRightFatArrow", PureScript$dCST$dTypes.Unicode); } + if (v === "::") { return PureScript$dCST$dTypes.$Token("TokDoubleColon", PureScript$dCST$dTypes.ASCII); } + if (v === "∷") { return PureScript$dCST$dTypes.$Token("TokDoubleColon", PureScript$dCST$dTypes.Unicode); } + if (v === "∀") { return PureScript$dCST$dTypes.$Token("TokForall", PureScript$dCST$dTypes.Unicode); } + if (v === "=") { return PureScript$dCST$dTypes.TokEquals; } + if (v === ".") { return PureScript$dCST$dTypes.TokDot; } + if (v === "\\") { return PureScript$dCST$dTypes.TokBackslash; } + if (v === "|") { return PureScript$dCST$dTypes.TokPipe; } + if (v === "@") { return PureScript$dCST$dTypes.TokAt; } + if (v === "`") { return PureScript$dCST$dTypes.TokTick; } + return PureScript$dCST$dTypes.$Token("TokOperator", Data$dMaybe.Nothing, v); + } + return PureScript$dCST$dTypes.$Token("TokOperator", v1, v); + })(parseSymbolIdent))(functorLex.map(v => v1 => { + if (v1.tag === "Nothing") { + if (v === "->") { return PureScript$dCST$dTypes.$Token("TokSymbolArrow", PureScript$dCST$dTypes.ASCII); } + if (v === "→") { return PureScript$dCST$dTypes.$Token("TokSymbolArrow", PureScript$dCST$dTypes.Unicode); } + return PureScript$dCST$dTypes.$Token("TokSymbolName", Data$dMaybe.Nothing, v); + } + return PureScript$dCST$dTypes.$Token("TokSymbolName", v1, v); + })($$try(applyLex.apply(functorLex.map(Data$dFunction.const)(applyLex.apply(functorLex.map(v => Control$dApply.identity)(tokenLeftParen))(parseSymbolIdent)))(tokenRightParen))))))))(altLex.alt(functorLex.map(v => PureScript$dCST$dTypes.$Token( + "TokChar", + v.raw, + v.char + ))(applyLex.apply(functorLex.map(Data$dFunction.const)(applyLex.apply(functorLex.map(v => Control$dApply.identity)(charSingleQuote))(bindLex.bind(charAny)(ch => { + if (ch === "\\") { return parseEscape; } + if (ch === "'") { return LexFail(v => PureScript$dCST$dErrors.$ParseError("LexExpected", "character", "empty character literal")); } + return LexSucc({raw: Data$dString$dCodeUnits.singleton(ch), char: ch}); + }))))(charSingleQuote)))(altLex.alt(altLex.alt(functorLex.map(v => PureScript$dCST$dTypes.$Token( + "TokRawString", + (() => { + const $13 = Data$dString$dCodeUnits.drop(3)(v); + return Data$dString$dCodeUnits.take(Data$dString$dCodeUnits.length($13) - 3 | 0)($13); + })() + ))(regex(PureScript$dCST$dErrors.LexExpected("raw string characters"))("\"\"\"\"{0,2}([^\"]+\"{1,2})*[^\"]*\"\"\"")))(functorLex.map(v => { + const v1 = fold1(v); + return PureScript$dCST$dTypes.$Token("TokString", v1.raw, v1.string); + })(applyLex.apply(functorLex.map(Data$dFunction.const)(applyLex.apply(functorLex.map(v => Control$dApply.identity)(charQuote))(many(altLex.alt(functorLex.map(v => ( + {raw: v, string: v} + ))(regex(PureScript$dCST$dErrors.LexExpected("string characters"))("[^\"\\\\]+")))(altLex.alt(functorLex.map(v => ({raw: v, string: ""}))(regex(PureScript$dCST$dErrors.LexExpected("whitespace escape"))("\\\\[ \\r\\n]+\\\\")))(functorLex.map(v => ( + {raw: v.raw, string: Data$dString$dCodeUnits.singleton(v.char)} + ))(applyLex.apply(functorLex.map(v => Control$dApply.identity)($$char(PureScript$dCST$dErrors.LexExpected("backslash"))("\\")))(parseEscape))))))))(charQuote))))(altLex.alt(altLex.alt(bindLex.bind(applyLex.apply(functorLex.map(v => Control$dApply.identity)(string(PureScript$dCST$dErrors.LexExpected("hex int prefix"))("0x")))(regex(PureScript$dCST$dErrors.LexExpected("hex int"))("[a-fA-F0-9]+")))(raw => { + const v = Data$dInt.fromStringAs(16)(raw); + if (v.tag === "Just") { return LexSucc(PureScript$dCST$dTypes.$Token("TokInt", "0x" + raw, PureScript$dCST$dTypes.$IntValue("SmallInt", v._1))); } + if (v.tag === "Nothing") { return LexSucc(PureScript$dCST$dTypes.$Token("TokInt", "0x" + raw, PureScript$dCST$dTypes.$IntValue("BigHex", raw))); } + $runtime.fail(); + }))(bindLex.bind(intPartRegex)(intPart => bindLex.bind(optional($$try(applyLex.apply(functorLex.map(v => Control$dApply.identity)($$char(PureScript$dCST$dErrors.LexExpected("dot"))(".")))(regex(PureScript$dCST$dErrors.LexExpected("fraction part"))("[0-9_]+")))))(fractionPart => bindLex.bind(optional(applyLex.apply(functorLex.map(v => Control$dApply.identity)($$char(PureScript$dCST$dErrors.LexExpected("exponent"))("e")))(applyLex.apply(functorLex.map(v => v1 => ( + {sign: v, exponent: v1} + ))(optional(altLex.alt(string(PureScript$dCST$dErrors.LexExpected("negative"))("-"))(string(PureScript$dCST$dErrors.LexExpected("positive"))("+")))))(intPartRegex))))(exponentPart => { + if ( + (() => { + if (fractionPart.tag === "Nothing") { return true; } + if (fractionPart.tag === "Just") { return false; } + $runtime.fail(); + })() && (() => { + if (exponentPart.tag === "Nothing") { return true; } + if (exponentPart.tag === "Just") { return false; } + $runtime.fail(); + })() + ) { + const intVal = stripUnderscores(intPart); + const v = Data$dInt.fromString(intVal); + if (v.tag === "Just") { return LexSucc(PureScript$dCST$dTypes.$Token("TokInt", intPart, PureScript$dCST$dTypes.$IntValue("SmallInt", v._1))); } + if (v.tag === "Nothing") { return LexSucc(PureScript$dCST$dTypes.$Token("TokInt", intPart, PureScript$dCST$dTypes.$IntValue("BigInt", intVal))); } + $runtime.fail(); + } + const raw = intPart + ( + (() => { + if (fractionPart.tag === "Nothing") { return ""; } + if (fractionPart.tag === "Just") { return "." + fractionPart._1; } + $runtime.fail(); + })() + (() => { + if (exponentPart.tag === "Nothing") { return ""; } + if (exponentPart.tag === "Just") { + if (exponentPart._1.sign.tag === "Nothing") { return "e" + exponentPart._1.exponent; } + if (exponentPart._1.sign.tag === "Just") { return "e" + (exponentPart._1.sign._1 + exponentPart._1.exponent); } + $runtime.fail(); + } + $runtime.fail(); + })() + ); + const v = Data$dNumber.fromStringImpl(stripUnderscores(raw), Data$dNumber.isFinite, Data$dMaybe.Just, Data$dMaybe.Nothing); + if (v.tag === "Just") { return LexSucc(PureScript$dCST$dTypes.$Token("TokNumber", raw, v._1)); } + if (v.tag === "Nothing") { return LexFail(v$1 => PureScript$dCST$dErrors.$ParseError("LexNumberOutOfRange", raw)); } + $runtime.fail(); + })))))(altLex.alt(tokenLeftParen)(altLex.alt(tokenRightParen)(altLex.alt(char$p(PureScript$dCST$dErrors.LexExpected("left brace"))(PureScript$dCST$dTypes.TokLeftBrace)("{"))(altLex.alt(char$p(PureScript$dCST$dErrors.LexExpected("right brace"))(PureScript$dCST$dTypes.TokRightBrace)("}"))(altLex.alt(char$p(PureScript$dCST$dErrors.LexExpected("left square"))(PureScript$dCST$dTypes.TokLeftSquare)("["))(altLex.alt(char$p(PureScript$dCST$dErrors.LexExpected("right square"))(PureScript$dCST$dTypes.TokRightSquare)("]"))(altLex.alt(char$p(PureScript$dCST$dErrors.LexExpected("backtick"))(PureScript$dCST$dTypes.TokTick)("`"))(char$p(PureScript$dCST$dErrors.LexExpected("comma"))(PureScript$dCST$dTypes.TokComma)(","))))))))))))); +})(); +const lexToken = x => { + const $1 = token(x); + if ($1.tag === "LexSucc") { + if ($1._2 === "") { return Data$dEither.$Either("Right", $1._1); } + return Data$dEither.$Either("Left", v1 => PureScript$dCST$dErrors.$ParseError("ExpectedEof", $1._1)); + } + if ($1.tag === "LexFail") { return Data$dEither.$Either("Left", $1._1); } + $runtime.fail(); +}; +const trailingComments = /* #__PURE__ */ (() => many(altLex.alt(functorLex.map(PureScript$dCST$dTypes.Comment)(comment))(functorLex.map(PureScript$dCST$dTypes.Space)(spaceComment))))(); +const lexWithState = /* #__PURE__ */ (() => { + const go = stack => startPos => leading => str => Data$dLazy.defer(v => { + if (str === "") { + return Data$dLazy.force(PureScript$dCST$dTokenStream.unwindLayout(startPos)(Data$dLazy.defer(v1 => PureScript$dCST$dTokenStream.$TokenStep("TokenEOF", startPos, leading)))(stack)); + } + const v1 = applyLex.apply(applyLex.apply(functorLex.map(v$1 => v1 => v2 => ({token: v$1, trailing: v1, nextLeading: v2}))(token))(trailingComments))(leadingComments)(str); + if (v1.tag === "LexFail") { + return PureScript$dCST$dTokenStream.$TokenStep( + "TokenError", + bumpText(startPos)(0)(Data$dString$dCodeUnits.take(Data$dString$dCodeUnits.length(str) - Data$dString$dCodeUnits.length(v1._2) | 0)(str)), + v1._1(Data$dUnit.unit), + Data$dMaybe.Nothing, + stack + ); + } + if (v1.tag === "LexSucc") { + const endPos = bumpToken(startPos)(v1._1.token); + const nextStart = Data$dFoldable.foldlArray(bumpComment)(Data$dFoldable.foldlArray(bumpComment)(endPos)(v1._1.trailing))(v1._1.nextLeading); + const v2 = PureScript$dCST$dLayout.insertLayout({range: {start: startPos, end: endPos}, leadingComments: leading, trailingComments: v1._1.trailing, value: v1._1.token})(nextStart)(stack); + return Data$dLazy.force(consTokens(v2._2)(Data$dTuple.$Tuple(nextStart, go(v2._1)(nextStart)(v1._1.nextLeading)(v1._2)))._2); + } + $runtime.fail(); + }); + return initStack => initPos => str => Data$dLazy.defer(v => { + const v1 = leadingComments(str); + if (v1.tag === "LexFail") { return Partial._crashWith("Leading comments can't fail."); } + if (v1.tag === "LexSucc") { return Data$dLazy.force(go(initStack)(Data$dFoldable.foldlArray(bumpComment)(initPos)(v1._1))(v1._1)(v1._2)); } + $runtime.fail(); + }); +})(); +const lex = /* #__PURE__ */ lexWithState(/* #__PURE__ */ Data$dList$dTypes.$List( + "Cons", + /* #__PURE__ */ Data$dTuple.$Tuple({line: 0, column: 0}, PureScript$dCST$dLayout.LytRoot), + Data$dList$dTypes.Nil +))({line: 0, column: 0}); +export { + $LexResult, + LexFail, + LexSucc, + altLex, + applyLex, + bindLex, + bumpComment, + bumpText, + bumpToken, + $$char as char, + char$p, + comment, + consTokens, + fold1, + functorLex, + leadingComments, + lex, + lexToken, + lexWithState, + lineComment, + many, + mkUnexpected, + optional, + regex, + satisfy, + spaceComment, + string, + toModuleName, + token, + trailingComments, + $$try as try +}; diff --git a/.storybook/purescript-indexer/output-es/PureScript.CST.ModuleGraph/index.js b/.storybook/purescript-indexer/output-es/PureScript.CST.ModuleGraph/index.js new file mode 100644 index 0000000..f722411 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/PureScript.CST.ModuleGraph/index.js @@ -0,0 +1,174 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dBind from "../Control.Bind/index.js"; +import * as Data$dArray from "../Data.Array/index.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dFunctor from "../Data.Functor/index.js"; +import * as Data$dList from "../Data.List/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dMap$dInternal from "../Data.Map.Internal/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dSemigroup from "../Data.Semigroup/index.js"; +import * as Data$dSemiring from "../Data.Semiring/index.js"; +import * as Data$dSet from "../Data.Set/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnfoldable from "../Data.Unfoldable/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const $ModuleSort = (tag, _1) => ({tag, _1}); +const toUnfoldable1 = /* #__PURE__ */ Data$dSet.toUnfoldable(Data$dUnfoldable.unfoldableArray); +const all = /* #__PURE__ */ (() => Data$dMap$dInternal.foldableMap.foldMap((() => { + const semigroupConj1 = {append: v => v1 => v && v1}; + return {mempty: true, Semigroup0: () => semigroupConj1}; +})()))(); +const fromFoldable = /* #__PURE__ */ Data$dFoldable.foldlArray(m => a => Data$dMap$dInternal.insert(Data$dOrd.ordString)(a)(Data$dUnit.unit)(m))(Data$dMap$dInternal.Leaf); +const fromFoldable1 = /* #__PURE__ */ Data$dMap$dInternal.fromFoldable(Data$dOrd.ordString)(Data$dFoldable.foldableArray); +const toUnfoldable2 = /* #__PURE__ */ Data$dList.toUnfoldable(Data$dUnfoldable.unfoldableArray); +const Sorted = value0 => $ModuleSort("Sorted", value0); +const CycleDetected = value0 => $ModuleSort("CycleDetected", value0); +const topoSort = dictOrd => { + const filterWithKey = Data$dMap$dInternal.filterWithKey(dictOrd); + return graph => { + const importCounts = Data$dMap$dInternal.fromFoldableWith(dictOrd)(Data$dFoldable.foldableArray)(Data$dSemiring.intAdd)(Control$dBind.arrayBind(Data$dMap$dInternal.toUnfoldable(Data$dUnfoldable.unfoldableArray)(graph))(v => Data$dSemigroup.concatArray([ + Data$dTuple.$Tuple(v._1, 0) + ])(Data$dFunctor.arrayMap(a => Data$dTuple.$Tuple(a, 1))(toUnfoldable1(v._2))))); + const depthFirst = v => { + if ( + (() => { + const $6 = Data$dMap$dInternal.lookup(dictOrd)(v.curr)(v.visited); + if ($6.tag === "Nothing") { return false; } + if ($6.tag === "Just") { return true; } + $runtime.fail(); + })() + ) { + return Data$dMaybe.$Maybe("Just", Data$dList$dTypes.$List("Cons", v.curr, v.path)); + } + if ( + (() => { + const $6 = Data$dMap$dInternal.lookup(dictOrd)(v.curr)(graph); + if ($6.tag === "Nothing") { return true; } + if ($6.tag === "Just") { return $6._1.tag === "Leaf"; } + $runtime.fail(); + })() + ) { + return Data$dMaybe.Nothing; + } + const $6 = Data$dMap$dInternal.lookup(dictOrd)(v.curr)(graph); + if ($6.tag === "Just") { + return Data$dSet.foldableSet.foldl(b => a => { + if ( + (() => { + if (b.tag === "Nothing") { return false; } + if (b.tag === "Just") { return true; } + $runtime.fail(); + })() + ) { + return b; + } + return depthFirst({path: Data$dList$dTypes.$List("Cons", v.curr, v.path), visited: Data$dMap$dInternal.insert(dictOrd)(v.curr)(Data$dUnit.unit)(v.visited), curr: a}); + })(Data$dMaybe.Nothing)($6._1); + } + if ($6.tag === "Nothing") { return Data$dMaybe.Nothing; } + $runtime.fail(); + }; + const go = go$a0$copy => { + let go$a0 = go$a0$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0; + const $7 = Data$dMap$dInternal.findMin(v.roots); + const v1 = (() => { + if ($7.tag === "Just") { return Data$dMaybe.$Maybe("Just", $7._1.key); } + return Data$dMaybe.Nothing; + })(); + if (v1.tag === "Nothing") { + if (all($9 => 0 === $9)(v.usages)) { + go$c = false; + go$r = Data$dEither.$Either("Right", {roots: v.roots, sorted: v.sorted, usages: v.usages}); + continue; + } + const detectCycles = Data$dSet.foldableSet.foldl(b => a => { + if ( + (() => { + if (b.tag === "Nothing") { return false; } + if (b.tag === "Just") { return true; } + $runtime.fail(); + })() + ) { + return b; + } + return depthFirst({path: Data$dList$dTypes.Nil, visited: Data$dMap$dInternal.Leaf, curr: a}); + })(Data$dMaybe.Nothing)(Data$dMap$dInternal.functorMap.map(v$1 => Data$dUnit.unit)(filterWithKey(a => count => { + const $11 = Data$dMap$dInternal.lookup(dictOrd)(a)(graph); + return count > 0 && (() => { + if ($11.tag === "Nothing") { return false; } + if ($11.tag === "Just") { return !($11._1.tag === "Leaf"); } + $runtime.fail(); + })(); + })(v.usages))); + if (detectCycles.tag === "Just") { + go$c = false; + go$r = Data$dEither.$Either("Left", detectCycles._1); + continue; + } + if (detectCycles.tag === "Nothing") { + go$c = false; + go$r = Data$dEither.$Either("Left", Data$dList$dTypes.Nil); + continue; + } + $runtime.fail(); + } + if (v1.tag === "Just") { + const $9 = Data$dMap$dInternal.lookup(dictOrd)(v1._1)(graph); + const reachable = (() => { + if ($9.tag === "Nothing") { return Data$dMap$dInternal.Leaf; } + if ($9.tag === "Just") { return $9._1; } + $runtime.fail(); + })(); + const usages$p = Data$dSet.foldableSet.foldl(usages => k => Data$dMap$dInternal.insertWith(dictOrd)(Data$dSemiring.intAdd)(k)(-1)(usages))(v.usages)(reachable); + go$a0 = { + roots: Data$dSet.foldableSet.foldl(roots => curr => { + const $14 = Data$dMap$dInternal.lookup(dictOrd)(curr)(usages$p); + if ($14.tag === "Just") { + if ($14._1 === 0) { return Data$dMap$dInternal.insert(dictOrd)(curr)(Data$dUnit.unit)(roots); } + return roots; + } + if ($14.tag === "Nothing") { return roots; } + $runtime.fail(); + })(Data$dMap$dInternal.delete(dictOrd)(v1._1)(v.roots))(reachable), + sorted: Data$dList$dTypes.$List("Cons", v1._1, v.sorted), + usages: usages$p + }; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + const $6 = go({ + roots: Data$dMap$dInternal.functorMap.map(v => Data$dUnit.unit)(filterWithKey(k => v => v === 0)(importCounts)), + sorted: Data$dList$dTypes.Nil, + usages: importCounts + }); + if ($6.tag === "Left") { return Data$dEither.$Either("Left", $6._1); } + if ($6.tag === "Right") { return Data$dEither.$Either("Right", $6._1.sorted); } + $runtime.fail(); + }; +}; +const topoSort1 = /* #__PURE__ */ topoSort(Data$dOrd.ordString); +const moduleGraph = k => { + const $1 = Data$dFunctor.arrayMap(x => { + const $2 = k(x); + return Data$dTuple.$Tuple($2.name.name, fromFoldable(Data$dFunctor.arrayMap(v => v.module.name)($2.imports))); + }); + return x => fromFoldable1($1(x)); +}; +const sortModules = k => moduleHeaders => { + const knownModuleHeaders = fromFoldable1(Data$dFunctor.arrayMap(a => Data$dTuple.$Tuple(k(a).name.name, a))(moduleHeaders)); + const v = topoSort1(moduleGraph(k)(moduleHeaders)); + if (v.tag === "Left") { + return $ModuleSort("CycleDetected", Data$dArray.mapMaybe(a => Data$dMap$dInternal.lookup(Data$dOrd.ordString)(a)(knownModuleHeaders))(toUnfoldable2(v._1))); + } + if (v.tag === "Right") { return $ModuleSort("Sorted", Data$dArray.mapMaybe(a => Data$dMap$dInternal.lookup(Data$dOrd.ordString)(a)(knownModuleHeaders))(toUnfoldable2(v._1))); } + $runtime.fail(); +}; +export {$ModuleSort, CycleDetected, Sorted, all, fromFoldable, fromFoldable1, moduleGraph, sortModules, toUnfoldable1, toUnfoldable2, topoSort, topoSort1}; diff --git a/.storybook/purescript-indexer/output-es/PureScript.CST.Parser.Monad/index.js b/.storybook/purescript-indexer/output-es/PureScript.CST.Parser.Monad/index.js new file mode 100644 index 0000000..c0a799f --- /dev/null +++ b/.storybook/purescript-indexer/output-es/PureScript.CST.Parser.Monad/index.js @@ -0,0 +1,179 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dST$dInternal from "../Control.Monad.ST.Internal/index.js"; +import * as Data$dArray from "../Data.Array/index.js"; +import * as Data$dArray$dST from "../Data.Array.ST/index.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dLazy from "../Data.Lazy/index.js"; +import * as Data$dList from "../Data.List/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnfoldable from "../Data.Unfoldable/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import * as PureScript$dCST$dErrors from "../PureScript.CST.Errors/index.js"; +const $ParserResult = (tag, _1, _2) => ({tag, _1, _2}); +const $Trampoline = (tag, _1) => ({tag, _1}); +const toUnfoldable = /* #__PURE__ */ Data$dList.toUnfoldable(Data$dUnfoldable.unfoldableArray); +const More = value0 => $Trampoline("More", value0); +const Done = value0 => $Trampoline("Done", value0); +const ParseFail = value0 => value1 => $ParserResult("ParseFail", value0, value1); +const ParseSucc = value0 => value1 => $ParserResult("ParseSucc", value0, value1); +const lazyParser = { + defer: k => { + const parser = Data$dLazy.defer(k); + return (state, more, resume, done) => Data$dLazy.force(parser)(state, more, resume, done); + } +}; +const functorParser = {map: f => v => (state1, more, resume, done) => v(state1, more, resume, (state2, a) => done(state2, f(a)))}; +const applyParser = { + apply: v => v1 => (state1, more, resume, done) => v(state1, more, resume, (state2, f) => more(v2 => v1(state2, more, resume, (state3, a) => done(state3, f(a))))), + Functor0: () => functorParser +}; +const bindParser = {bind: v => k => (state1, more, resume, done) => v(state1, more, resume, (state2, a) => more(v1 => k(a)(state2, more, resume, done))), Apply0: () => applyParser}; +const applicativeParser = {pure: a => (state1, v, v1, done) => done(state1, a), Apply0: () => applyParser}; +const monadParser = {Applicative0: () => applicativeParser, Bind1: () => bindParser}; +const altParser = { + alt: v => v1 => (state1, more, resume, done) => v( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return v1(state1, more, resume, done); + }, + done + ), + Functor0: () => functorParser +}; +const $$try = v => (state1, more, resume, done) => v( + state1, + more, + (state2, error) => resume({consumed: state1.consumed, errors: state2.errors, stream: state2.stream}, error), + done +); +const take = k => (state, v, resume, done) => { + const v1 = Data$dLazy.force(state.stream); + if (v1.tag === "TokenError") { return resume(state, {error: v1._2, position: v1._1}); } + if (v1.tag === "TokenEOF") { return resume(state, {error: PureScript$dCST$dErrors.UnexpectedEof, position: v1._1}); } + if (v1.tag === "TokenCons") { + const v2 = k(v1._1); + if (v2.tag === "Left") { return resume(state, {error: v2._1, position: v1._1.range.start}); } + if (v2.tag === "Right") { return done({consumed: true, stream: v1._3, errors: state.errors}, v2._1); } + $runtime.fail(); + } + $runtime.fail(); +}; +const runParser$p = state1 => v => { + const run = run$a0$copy => { + let run$a0 = run$a0$copy, run$c = true, run$r; + while (run$c) { + const v1 = run$a0; + if (v1.tag === "More") { + run$a0 = v1._1(Data$dUnit.unit); + continue; + } + if (v1.tag === "Done") { + run$c = false; + run$r = v1._1; + continue; + } + $runtime.fail(); + }; + return run$r; + }; + return run(v( + state1, + More, + (state2, error) => $Trampoline("Done", $ParserResult("ParseFail", error, state2)), + (state2, value) => $Trampoline("Done", $ParserResult("ParseSucc", value, state2)) + )); +}; +const recover = k => v => (state1, more, resume, done) => v( + {consumed: false, errors: state1.errors, stream: state1.stream}, + more, + (state2, error) => { + const v1 = k(error)(state1.stream); + if (v1.tag === "Nothing") { return resume({consumed: state1.consumed, errors: state2.errors, stream: state2.stream}, error); } + if (v1.tag === "Just") { + return done( + {consumed: true, errors: Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([error]))(state2.errors)), stream: v1._1._2}, + v1._1._1 + ); + } + $runtime.fail(); + }, + done +); +const optional = p => (state1, more, resume, done) => p( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return done(state1, Data$dMaybe.Nothing); + }, + (state2, a) => done(state2, Data$dMaybe.$Maybe("Just", a)) +); +const many = v => (state1, more, resume, done) => { + const go = (acc, state2) => v( + (() => { + if (state2.consumed) { return {consumed: false, errors: state2.errors, stream: state2.stream}; } + return state2; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return done(state2, Data$dArray.reverse(toUnfoldable(acc))); + }, + (state3, value) => go(Data$dList$dTypes.$List("Cons", value, acc), state3) + ); + return go(Data$dList$dTypes.Nil, state1); +}; +const lookAhead = v => (state1, more, resume, done) => v(state1, more, (v1, error) => resume(state1, error), (v1, value) => done(state1, value)); +const initialParserState = stream => ({consumed: false, errors: [], stream: stream}); +const fromParserResult = v => { + if (v.tag === "ParseFail") { return Data$dEither.$Either("Left", v._1); } + if (v.tag === "ParseSucc") { return Data$dEither.$Either("Right", Data$dTuple.$Tuple(v._1, v._2.errors)); } + $runtime.fail(); +}; +const runParser = stream => x => fromParserResult(runParser$p({consumed: false, errors: [], stream: stream})(x)); +const fail = error => (state, v, resume, v1) => resume(state, error); +const eof = (state, v, resume, done) => { + const v1 = Data$dLazy.force(state.stream); + if (v1.tag === "TokenError") { return resume(state, {error: v1._2, position: v1._1}); } + if (v1.tag === "TokenEOF") { return done({consumed: true, stream: state.stream, errors: state.errors}, Data$dTuple.$Tuple(v1._1, v1._2)); } + if (v1.tag === "TokenCons") { return resume(state, {error: PureScript$dCST$dErrors.$ParseError("ExpectedEof", v1._1.value), position: v1._1.range.start}); } + $runtime.fail(); +}; +export { + $ParserResult, + $Trampoline, + Done, + More, + ParseFail, + ParseSucc, + altParser, + applicativeParser, + applyParser, + bindParser, + eof, + fail, + fromParserResult, + functorParser, + initialParserState, + lazyParser, + lookAhead, + many, + monadParser, + optional, + recover, + runParser, + runParser$p, + take, + toUnfoldable, + $$try as try +}; diff --git a/.storybook/purescript-indexer/output-es/PureScript.CST.Parser/index.js b/.storybook/purescript-indexer/output-es/PureScript.CST.Parser/index.js new file mode 100644 index 0000000..11e7704 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/PureScript.CST.Parser/index.js @@ -0,0 +1,3863 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dST$dInternal from "../Control.Monad.ST.Internal/index.js"; +import * as Data$dArray$dST from "../Data.Array.ST/index.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dLazy from "../Data.Lazy/index.js"; +import * as Data$dMap$dInternal from "../Data.Map.Internal/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dSemigroup from "../Data.Semigroup/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import * as PureScript$dCST$dErrors from "../PureScript.CST.Errors/index.js"; +import * as PureScript$dCST$dLayout from "../PureScript.CST.Layout/index.js"; +import * as PureScript$dCST$dParser$dMonad from "../PureScript.CST.Parser.Monad/index.js"; +import * as PureScript$dCST$dTokenStream from "../PureScript.CST.TokenStream/index.js"; +import * as PureScript$dCST$dTypes from "../PureScript.CST.Types/index.js"; +const separated = sepParser => valueParser => { + const $2 = PureScript$dCST$dParser$dMonad.many((state1, more, resume, done) => sepParser( + state1, + more, + resume, + (state2, a) => { + const $8 = Data$dTuple.Tuple(a); + return more(v2 => valueParser(state2, more, resume, (state3, a$1) => done(state3, $8(a$1)))); + } + )); + return (state1, more, resume, done) => valueParser(state1, more, resume, (state2, a) => more(v2 => $2(state2, more, resume, (state3, a$1) => done(state3, {head: a, tail: a$1})))); +}; +const reservedKeywords = /* #__PURE__ */ Data$dFoldable.foldlArray(m => a => Data$dMap$dInternal.insert(Data$dOrd.ordString)(a)(Data$dUnit.unit)(m))(Data$dMap$dInternal.Leaf)([ + "ado", + "case", + "class", + "data", + "derive", + "do", + "else", + "false", + "foreign", + "if", + "import", + "in", + "infix", + "infixl", + "infixr", + "instance", + "let", + "module", + "newtype", + "of", + "then", + "true", + "type", + "where" +]); +const recoverTokensWhile = p => initStream => { + const $2 = PureScript$dCST$dLayout.currentIndent(PureScript$dCST$dTokenStream.layoutStack(initStream)); + const indent = (() => { + if ($2.tag === "Nothing") { return 0; } + if ($2.tag === "Just") { return $2._1.column; } + $runtime.fail(); + })(); + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const acc = go$a0, stream = go$a1; + const v = Data$dLazy.force(stream); + if (v.tag === "TokenError") { + go$c = false; + go$r = Data$dTuple.$Tuple(acc, stream); + continue; + } + if (v.tag === "TokenEOF") { + go$c = false; + go$r = Data$dTuple.$Tuple(acc, stream); + continue; + } + if (v.tag === "TokenCons") { + if (p(v._1)(indent)) { + go$a0 = Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([v._1]))(acc)); + go$a1 = v._3; + continue; + } + go$c = false; + go$r = Data$dTuple.$Tuple(acc, stream); + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go([])(initStream); +}; +const recoverIndent = mkNode => PureScript$dCST$dParser$dMonad.recover(v => stream => { + const v1 = recoverTokensWhile(tok => indent => { + if (tok.value.tag === "TokLayoutEnd") { return tok.value._1 > indent; } + if (tok.value.tag === "TokLayoutSep") { return tok.value._1 > indent; } + return true; + })(stream); + if (v1._1.length === 0) { return Data$dMaybe.Nothing; } + return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(mkNode({position: v.position, error: v.error, tokens: v1._1}), v1._2)); +}); +const parseSmallInt = /* #__PURE__ */ PureScript$dCST$dParser$dMonad.take(v => { + if (v.value.tag === "TokInt") { + if (v.value._2.tag === "SmallInt") { return Data$dEither.$Either("Right", Data$dTuple.$Tuple(v, v.value._2._1)); } + return Data$dEither.$Either("Left", PureScript$dCST$dErrors.$ParseError("LexIntOutOfRange", v.value._1)); + } + return Data$dEither.$Either("Left", PureScript$dCST$dErrors.$ParseError("UnexpectedToken", v.value)); +}); +const many1 = parser => (state1, more, resume, done) => parser( + state1, + more, + resume, + (state2, a) => more(v2 => PureScript$dCST$dParser$dMonad.many(parser)(state2, more, resume, (state3, a$1) => done(state3, Data$dSemigroup.concatArray([a])(a$1)))) +); +const expectMap = k => PureScript$dCST$dParser$dMonad.take(tok => { + const v = k(tok); + if (v.tag === "Just") { return Data$dEither.$Either("Right", v._1); } + if (v.tag === "Nothing") { return Data$dEither.$Either("Left", PureScript$dCST$dErrors.$ParseError("UnexpectedToken", tok.value)); } + $runtime.fail(); +}); +const parseBoolean = /* #__PURE__ */ expectMap(v => { + if (v.value.tag === "TokLowerName") { + if (v.value._1.tag === "Nothing") { + if (v.value._2 === "true") { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(v, true)); } + if (v.value._2 === "false") { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(v, false)); } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.Nothing; +}); +const parseChar = /* #__PURE__ */ expectMap(v => { + if (v.value.tag === "TokChar") { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(v, v.value._2)); } + return Data$dMaybe.Nothing; +}); +const parseHole = /* #__PURE__ */ expectMap(v => { + if (v.value.tag === "TokHole") { return Data$dMaybe.$Maybe("Just", {token: v, name: v.value._1}); } + return Data$dMaybe.Nothing; +}); +const parseIdent = /* #__PURE__ */ expectMap(v => { + if (v.value.tag === "TokLowerName") { + if (v.value._1.tag === "Nothing") { + if ( + (() => { + const $1 = Data$dMap$dInternal.lookup(Data$dOrd.ordString)(v.value._2)(reservedKeywords); + if ($1.tag === "Nothing") { return true; } + if ($1.tag === "Just") { return false; } + $runtime.fail(); + })() + ) { + return Data$dMaybe.$Maybe("Just", {token: v, name: v.value._2}); + } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.Nothing; +}); +const parseInt = /* #__PURE__ */ expectMap(v => { + if (v.value.tag === "TokInt") { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(v, v.value._2)); } + return Data$dMaybe.Nothing; +}); +const parseLabel = /* #__PURE__ */ expectMap(v => { + if (v.value.tag === "TokRawString") { return Data$dMaybe.$Maybe("Just", {token: v, name: v.value._1}); } + if (v.value.tag === "TokString") { return Data$dMaybe.$Maybe("Just", {token: v, name: v.value._2}); } + if (v.value.tag === "TokLowerName") { + if (v.value._1.tag === "Nothing") { return Data$dMaybe.$Maybe("Just", {token: v, name: v.value._2}); } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.Nothing; +}); +const parseModuleName = /* #__PURE__ */ expectMap(v => { + if (v.value.tag === "TokUpperName") { + if (v.value._1.tag === "Just") { return Data$dMaybe.$Maybe("Just", {token: v, name: v.value._1._1 + ("." + v.value._2)}); } + if (v.value._1.tag === "Nothing") { return Data$dMaybe.$Maybe("Just", {token: v, name: v.value._2}); } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.Nothing; +}); +const parseNumber = /* #__PURE__ */ expectMap(v => { + if (v.value.tag === "TokNumber") { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(v, v.value._2)); } + return Data$dMaybe.Nothing; +}); +const parseOperator = /* #__PURE__ */ expectMap(v => { + if (v.value.tag === "TokOperator") { + if (v.value._1.tag === "Nothing") { return Data$dMaybe.$Maybe("Just", {token: v, name: v.value._2}); } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.Nothing; +}); +const parseProper = /* #__PURE__ */ expectMap(v => { + if (v.value.tag === "TokUpperName") { + if (v.value._1.tag === "Nothing") { return Data$dMaybe.$Maybe("Just", {token: v, name: v.value._2}); } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.Nothing; +}); +const parseQualifiedIdent = /* #__PURE__ */ expectMap(v => { + if (v.value.tag === "TokLowerName") { + if ( + (() => { + const $1 = Data$dMap$dInternal.lookup(Data$dOrd.ordString)(v.value._2)(reservedKeywords); + if ($1.tag === "Nothing") { return true; } + if ($1.tag === "Just") { return false; } + $runtime.fail(); + })() + ) { + return Data$dMaybe.$Maybe("Just", {token: v, module: v.value._1, name: v.value._2}); + } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.Nothing; +}); +const parseQualifiedIdentOrProper = /* #__PURE__ */ expectMap(v => { + if (v.value.tag === "TokLowerName") { return Data$dMaybe.$Maybe("Just", {token: v, module: v.value._1, name: Data$dEither.$Either("Left", v.value._2)}); } + if (v.value.tag === "TokUpperName") { return Data$dMaybe.$Maybe("Just", {token: v, module: v.value._1, name: Data$dEither.$Either("Right", v.value._2)}); } + return Data$dMaybe.Nothing; +}); +const parseQualifiedOperator = /* #__PURE__ */ expectMap(v => { + if (v.value.tag === "TokOperator") { return Data$dMaybe.$Maybe("Just", {token: v, module: v.value._1, name: v.value._2}); } + return Data$dMaybe.Nothing; +}); +const parseQualifiedProper = /* #__PURE__ */ expectMap(v => { + if (v.value.tag === "TokUpperName") { return Data$dMaybe.$Maybe("Just", {token: v, module: v.value._1, name: v.value._2}); } + return Data$dMaybe.Nothing; +}); +const parseQualifiedSymbol = /* #__PURE__ */ expectMap(v => { + if (v.value.tag === "TokSymbolName") { return Data$dMaybe.$Maybe("Just", {token: v, module: v.value._1, name: v.value._2}); } + return Data$dMaybe.Nothing; +}); +const parseString = /* #__PURE__ */ expectMap(v => { + if (v.value.tag === "TokString") { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(v, v.value._2)); } + if (v.value.tag === "TokRawString") { return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(v, v.value._1)); } + return Data$dMaybe.Nothing; +}); +const parseSymbol = /* #__PURE__ */ expectMap(v => { + if (v.value.tag === "TokSymbolName") { + if (v.value._1.tag === "Nothing") { return Data$dMaybe.$Maybe("Just", {token: v, name: v.value._2}); } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.Nothing; +}); +const expect = pred => expectMap(tok => { + if (pred(tok.value)) { return Data$dMaybe.$Maybe("Just", tok); } + return Data$dMaybe.Nothing; +}); +const tokAt = /* #__PURE__ */ expect(v => v.tag === "TokAt"); +const tokBackslash = /* #__PURE__ */ expect(v => v.tag === "TokBackslash"); +const tokComma = /* #__PURE__ */ expect(v => v.tag === "TokComma"); +const tokDot = /* #__PURE__ */ expect(v => v.tag === "TokDot"); +const parseRecordAccessor = expr => (state1, more, resume, done) => tokDot( + state1, + more, + resume, + (state2, a) => more(v1 => separated(tokDot)(parseLabel)( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => done(state2$1, PureScript$dCST$dTypes.$Expr("ExprRecordAccessor", {expr: expr, dot: a, path: a$1}))) + )) +); +const tokDoubleColon = /* #__PURE__ */ expect(v => v.tag === "TokDoubleColon"); +const parseInstanceName = (state1, more, resume, done) => parseIdent( + state1, + more, + resume, + (state2, a) => { + const $6 = Data$dTuple.Tuple(a); + return more(v2 => tokDoubleColon(state2, more, resume, (state3, a$1) => done(state3, $6(a$1)))); + } +); +const tokEquals = /* #__PURE__ */ expect(v => v.tag === "TokEquals"); +const tokForall = /* #__PURE__ */ expect(v => v.tag === "TokForall"); +const tokKeyOperator = sym => expect(v => { + if (v.tag === "TokOperator") { + if (v._1.tag === "Nothing") { return sym === v._2; } + return false; + } + return false; +}); +const parseBinderNegative = (state1, more, resume, done) => tokKeyOperator("-")( + state1, + more, + resume, + (state2, a) => more(v1 => { + const $7 = PureScript$dCST$dTypes.BinderInt(Data$dMaybe.$Maybe("Just", a)); + const $8 = PureScript$dCST$dTypes.BinderNumber(Data$dMaybe.$Maybe("Just", a)); + return parseInt( + (() => { + if (state2.consumed) { return {consumed: false, errors: state2.errors, stream: state2.stream}; } + return state2; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return parseNumber(state2, more, resume, (state2$1, a$1) => done(state2$1, $8(a$1._1)(a$1._2))); + }, + (state2$1, a$1) => done(state2$1, $7(a$1._1)(a$1._2)) + ); + }) +); +const parseRecordLabeled = valueParser => (state1, more, resume, done) => { + const $5 = (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return parseIdent(state1, more, resume, (state2, a) => done(state2, PureScript$dCST$dTypes.$RecordLabeled("RecordPun", a))); + }; + const $6 = (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(); + return parseLabel( + $6, + more, + (state2, error) => $5({consumed: $6.consumed, errors: state2.errors, stream: state2.stream}, error), + (state2, a) => { + const $9 = Data$dTuple.Tuple(a); + return more(v2 => tokKeyOperator(":")( + state2, + more, + (state2$1, error) => $5({consumed: $6.consumed, errors: state2$1.errors, stream: state2$1.stream}, error), + (state3, a$1) => { + const $13 = $9(a$1); + const $14 = PureScript$dCST$dTypes.RecordField($13._1)($13._2); + return more(v2$1 => valueParser(state3, more, $5, (state3$1, a$2) => done(state3$1, $14(a$2)))); + } + )); + } + ); +}; +const parseTypeNegative = (state1, more, resume, done) => tokKeyOperator("-")( + state1, + more, + resume, + (state2, a) => more(v1 => { + const $7 = PureScript$dCST$dTypes.TypeInt(Data$dMaybe.$Maybe("Just", a)); + return parseInt(state2, more, resume, (state2$1, a$1) => done(state2$1, $7(a$1._1)(a$1._2))); + }) +); +const tokKeySymbol = sym => expect(v => { + if (v.tag === "TokSymbolName") { + if (v._1.tag === "Nothing") { return sym === v._2; } + return false; + } + return false; +}); +const tokKeyword = kw => expect(v => { + if (v.tag === "TokLowerName") { + if (v._1.tag === "Nothing") { return kw === v._2; } + return false; + } + return false; +}); +const parseFixityKeyword = (state1, more, resume, done) => tokKeyword("infix")( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return tokKeyword("infixl")( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$1, error$1) => { + if (state3$1.consumed) { return resume(state3$1, error$1); } + return tokKeyword("infixr")(state1, more, resume, (state2, a) => done(state2, Data$dTuple.$Tuple(a, PureScript$dCST$dTypes.Infixr))); + }, + (state2, a) => done(state2, Data$dTuple.$Tuple(a, PureScript$dCST$dTypes.Infixl)) + ); + }, + (state2, a) => done(state2, Data$dTuple.$Tuple(a, PureScript$dCST$dTypes.Infix)) +); +const parseFixityOp = (state1, more, resume, done) => tokKeyword("type")( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return parseQualifiedIdentOrProper( + state1, + more, + resume, + (state2, a) => { + const $8 = PureScript$dCST$dTypes.FixityValue(a); + return more(v2 => tokKeyword("as")( + state2, + more, + resume, + (state3$1, a$1) => { + const $12 = $8(a$1); + return more(v2$1 => parseOperator(state3$1, more, resume, (state3$2, a$2) => done(state3$2, $12(a$2)))); + } + )); + } + ); + }, + (state2, a) => { + const $6 = PureScript$dCST$dTypes.FixityType(a); + return more(v2 => parseQualifiedProper( + state2, + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return parseQualifiedIdentOrProper( + state1, + more, + resume, + (state2$1, a$1) => { + const $12 = PureScript$dCST$dTypes.FixityValue(a$1); + return more(v2$1 => tokKeyword("as")( + state2$1, + more, + resume, + (state3$1, a$2) => { + const $16 = $12(a$2); + return more(v2$2 => parseOperator(state3$1, more, resume, (state3$2, a$3) => done(state3$2, $16(a$3)))); + } + )); + } + ); + }, + (state3, a$1) => { + const $10 = $6(a$1); + return more(v2$1 => tokKeyword("as")( + state3, + more, + (state3$1, error) => { + if (state3$1.consumed) { return resume(state3$1, error); } + return parseQualifiedIdentOrProper( + state1, + more, + resume, + (state2$1, a$2) => { + const $16 = PureScript$dCST$dTypes.FixityValue(a$2); + return more(v2$2 => tokKeyword("as")( + state2$1, + more, + resume, + (state3$2, a$3) => { + const $20 = $16(a$3); + return more(v2$3 => parseOperator(state3$2, more, resume, (state3$3, a$4) => done(state3$3, $20(a$4)))); + } + )); + } + ); + }, + (state3$1, a$2) => { + const $14 = $10(a$2); + return more(v2$2 => parseOperator( + state3$1, + more, + (state3$2, error) => { + if (state3$2.consumed) { return resume(state3$2, error); } + return parseQualifiedIdentOrProper( + state1, + more, + resume, + (state2$1, a$3) => { + const $20 = PureScript$dCST$dTypes.FixityValue(a$3); + return more(v2$3 => tokKeyword("as")( + state2$1, + more, + resume, + (state3$3, a$4) => { + const $24 = $20(a$4); + return more(v2$4 => parseOperator(state3$3, more, resume, (state3$4, a$5) => done(state3$4, $24(a$5)))); + } + )); + } + ); + }, + (state3$2, a$3) => done(state3$2, $14(a$3)) + )); + } + )); + } + )); + } +); +const parseDeclFixity = (state1, more, resume, done) => parseFixityKeyword( + state1, + more, + resume, + (state2, a) => more(v1 => parseSmallInt( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => parseFixityOp( + state2$1, + more, + resume, + (state2$2, a$2) => more(v1$2 => done(state2$2, PureScript$dCST$dTypes.$Declaration("DeclFixity", {keyword: a, prec: a$1, operator: a$2}))) + )) + )) +); +const parseForeignKind = (state1, more, resume, done) => tokKeyword("kind")( + state1, + more, + (state2, error) => resume({consumed: state1.consumed, errors: state2.errors, stream: state2.stream}, error), + (state2, a) => { + const $6 = PureScript$dCST$dTypes.ForeignKind(a); + return more(v2 => parseProper( + state2, + more, + (state2$1, error) => resume({consumed: state1.consumed, errors: state2$1.errors, stream: state2$1.stream}, error), + (state3, a$1) => done(state3, $6(a$1)) + )); + } +); +const parseRole = (state1, more, resume, done) => tokKeyword("representational")( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return tokKeyword("nominal")( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$1, error$1) => { + if (state3$1.consumed) { return resume(state3$1, error$1); } + return tokKeyword("phantom")(state1, more, resume, (state2, a) => done(state2, Data$dTuple.$Tuple(a, PureScript$dCST$dTypes.Phantom))); + }, + (state2, a) => done(state2, Data$dTuple.$Tuple(a, PureScript$dCST$dTypes.Nominal)) + ); + }, + (state2, a) => done(state2, Data$dTuple.$Tuple(a, PureScript$dCST$dTypes.Representational)) +); +const parseDeclRole = keyword1 => (state1, more, resume, done) => tokKeyword("role")( + state1, + more, + resume, + (state2, a) => more(v1 => parseProper( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => many1(parseRole)( + state2$1, + more, + resume, + (state2$2, a$2) => more(v1$2 => done(state2$2, PureScript$dCST$dTypes.$Declaration("DeclRole", keyword1, a, a$1, a$2))) + )) + )) +); +const tokLayoutEnd = /* #__PURE__ */ expect(v => v.tag === "TokLayoutEnd"); +const tokLayoutSep = /* #__PURE__ */ expect(v => v.tag === "TokLayoutSep"); +const parseInstanceChainSeparator = (state1, more, resume, done) => tokKeyword("else")( + state1, + more, + resume, + (state2, a) => more(v2 => PureScript$dCST$dParser$dMonad.optional(tokLayoutSep)(state2, more, resume, (state3, a$1) => done(state3, a))) +); +const tokLayoutStart = /* #__PURE__ */ expect(v => v.tag === "TokLayoutStart"); +const layout = valueParser => (state1, more, resume, done) => tokLayoutStart( + state1, + more, + resume, + (state2, a) => more(v2 => valueParser( + (() => { + if (state2.consumed) { return {consumed: false, errors: state2.errors, stream: state2.stream}; } + return state2; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return more(v2$1 => tokLayoutEnd(state2, more, resume, (state3$1, a$1) => done(state3$1, []))); + }, + (state2$1, a$1) => more(v1 => PureScript$dCST$dParser$dMonad.many((state1$1, more$1, resume$1, done$1) => tokLayoutSep( + state1$1, + more$1, + resume$1, + (state2$2, a$2) => more$1(v2$1 => valueParser(state2$2, more$1, resume$1, (state3, a$3) => done$1(state3, a$3))) + ))( + state2$1, + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return more(v2$1 => tokLayoutEnd(state2, more, resume, (state3$1, a$2) => done(state3$1, []))); + }, + (state2$2, a$2) => { + const $13 = Data$dSemigroup.concatArray([a$1])(a$2); + return more(v2$1 => tokLayoutEnd(state2$2, more, resume, (state3, a$3) => done(state3, $13))); + } + )) + )) +); +const layoutNonEmpty = valueParser => { + const $1 = PureScript$dCST$dParser$dMonad.many((state1, more, resume, done) => tokLayoutSep( + state1, + more, + resume, + (state2, a) => more(v2 => valueParser(state2, more, resume, (state3, a$1) => done(state3, a$1))) + )); + return (state1, more, resume, done) => tokLayoutStart( + state1, + more, + resume, + (state2, a) => more(v2 => valueParser( + state2, + more, + resume, + (state3, a$1) => more(v2$1 => $1( + state3, + more, + resume, + (state2$1, a$2) => more(v2$2 => tokLayoutEnd(state2$1, more, resume, (state3$1, a$3) => done(state3$1, Data$dSemigroup.concatArray([a$1])(a$2)))) + )) + )) + ); +}; +const tokLeftArrow = /* #__PURE__ */ expect(v => v.tag === "TokLeftArrow"); +const tokLeftBrace = /* #__PURE__ */ expect(v => v.tag === "TokLeftBrace"); +const tokLeftFatArrow = /* #__PURE__ */ expect(v => { + if (v.tag === "TokOperator") { + if (v._1.tag === "Nothing") { return v._2 === "<=" || v._2 === "⇐"; } + return false; + } + return false; +}); +const tokLeftParen = /* #__PURE__ */ expect(v => v.tag === "TokLeftParen"); +const tokLeftSquare = /* #__PURE__ */ expect(v => v.tag === "TokLeftSquare"); +const tokPipe = /* #__PURE__ */ expect(v => v.tag === "TokPipe"); +const tokQualifiedKeyword = kw => expect(v => { + if (v.tag === "TokLowerName") { return kw === v._2; } + return false; +}); +const tokRightArrow = /* #__PURE__ */ expect(v => v.tag === "TokRightArrow"); +const parseFundep = (state1, more, resume, done) => { + const $4 = (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return many1(parseIdent)( + state1, + more, + resume, + (state2, a) => { + const $8 = PureScript$dCST$dTypes.FundepDetermines(a); + return more(v2 => tokRightArrow( + state2, + more, + resume, + (state3$1, a$1) => { + const $12 = $8(a$1); + return more(v2$1 => many1(parseIdent)(state3$1, more, resume, (state3$2, a$2) => done(state3$2, $12(a$2)))); + } + )); + } + ); + }; + return tokRightArrow( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + $4, + (state2, a) => { + const $7 = PureScript$dCST$dTypes.FundepDetermined(a); + return more(v2 => many1(parseIdent)(state2, more, $4, (state3, a$1) => done(state3, $7(a$1)))); + } + ); +}; +const tokRightBrace = /* #__PURE__ */ expect(v => v.tag === "TokRightBrace"); +const tokRightFatArrow = /* #__PURE__ */ expect(v => v.tag === "TokRightFatArrow"); +const tokRightParen = /* #__PURE__ */ expect(v => v.tag === "TokRightParen"); +const parens = valueParser => (state1, more, resume, done) => tokLeftParen( + state1, + more, + resume, + (state2, a) => more(v1 => valueParser( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => tokRightParen(state2$1, more, resume, (state2$2, a$2) => more(v1$2 => done(state2$2, {open: a, value: a$1, close: a$2})))) + )) +); +const parseEmptyRow = open => (state1, more, resume, done) => tokRightParen( + state1, + more, + resume, + (state2, a) => more(v1 => done(state2, PureScript$dCST$dTypes.$Type("TypeRow", {open: open, value: {labels: Data$dMaybe.Nothing, tail: Data$dMaybe.Nothing}, close: a}))) +); +const tokRightSquare = /* #__PURE__ */ expect(v => v.tag === "TokRightSquare"); +const tokSymbolArrow = /* #__PURE__ */ expect(v => v.tag === "TokSymbolArrow"); +const tokTick = /* #__PURE__ */ expect(v => v.tag === "TokTick"); +const tokUnderscore = /* #__PURE__ */ expect(v => v.tag === "TokUnderscore"); +const delimited = openTok => closeTok => sepTok => valueParser => (state1, more, resume, done) => openTok( + state1, + more, + resume, + (state2, a) => more(v1 => { + const $11 = separated(sepTok)(valueParser); + return closeTok( + (() => { + if (state2.consumed) { return {consumed: false, errors: state2.errors, stream: state2.stream}; } + return state2; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return $11( + state2, + more, + resume, + (state2$1, a$1) => more(v2 => closeTok(state2$1, more, resume, (state3$1, a$2) => done(state3$1, {open: a, value: Data$dMaybe.$Maybe("Just", a$1), close: a$2}))) + ); + }, + (state2$1, a$1) => done(state2$1, {open: a, value: Data$dMaybe.Nothing, close: a$1}) + ); + }) +); +const parseDataMembers = (state1, more, resume, done) => tokKeySymbol("..")( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return delimited(tokLeftParen)(tokRightParen)(tokComma)(parseProper)( + state1, + more, + resume, + (state2, a) => done(state2, PureScript$dCST$dTypes.$DataMembers("DataEnumerated", a)) + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$DataMembers("DataAll", a)) +); +const parseExport = (state1, more, resume, done) => tokKeyword("type")( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return tokKeyword("class")( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$1, error$1) => { + if (state3$1.consumed) { return resume(state3$1, error$1); } + return tokKeyword("module")( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$2, error$2) => { + if (state3$2.consumed) { return resume(state3$2, error$2); } + return parseSymbol( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$3, error$3) => { + if (state3$3.consumed) { return resume(state3$3, error$3); } + return parseIdent( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$4, error$4) => { + if (state3$4.consumed) { return resume(state3$4, error$4); } + return parseProper( + state1, + more, + resume, + (state2, a) => { + const $16 = PureScript$dCST$dTypes.ExportType(a); + return more(v2 => PureScript$dCST$dParser$dMonad.optional(parseDataMembers)(state2, more, resume, (state3$5, a$1) => done(state3$5, $16(a$1)))); + } + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Export("ExportValue", a)) + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Export("ExportOp", a)) + ); + }, + (state2, a) => { + const $10 = PureScript$dCST$dTypes.ExportModule(a); + return more(v2 => parseModuleName( + state2, + more, + (state3$2, error$2) => { + if (state3$2.consumed) { return resume(state3$2, error$2); } + return parseSymbol( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$3, error$3) => { + if (state3$3.consumed) { return resume(state3$3, error$3); } + return parseIdent( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$4, error$4) => { + if (state3$4.consumed) { return resume(state3$4, error$4); } + return parseProper( + state1, + more, + resume, + (state2$1, a$1) => { + const $20 = PureScript$dCST$dTypes.ExportType(a$1); + return more(v2$1 => PureScript$dCST$dParser$dMonad.optional(parseDataMembers)(state2$1, more, resume, (state3$5, a$2) => done(state3$5, $20(a$2)))); + } + ); + }, + (state2$1, a$1) => done(state2$1, PureScript$dCST$dTypes.$Export("ExportValue", a$1)) + ); + }, + (state2$1, a$1) => done(state2$1, PureScript$dCST$dTypes.$Export("ExportOp", a$1)) + ); + }, + (state3$2, a$1) => done(state3$2, $10(a$1)) + )); + } + ); + }, + (state2, a) => { + const $8 = PureScript$dCST$dTypes.ExportClass(a); + return more(v2 => parseProper( + state2, + more, + (state3$1, error$1) => { + if (state3$1.consumed) { return resume(state3$1, error$1); } + return tokKeyword("module")( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$2, error$2) => { + if (state3$2.consumed) { return resume(state3$2, error$2); } + return parseSymbol( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$3, error$3) => { + if (state3$3.consumed) { return resume(state3$3, error$3); } + return parseIdent( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$4, error$4) => { + if (state3$4.consumed) { return resume(state3$4, error$4); } + return parseProper( + state1, + more, + resume, + (state2$1, a$1) => { + const $20 = PureScript$dCST$dTypes.ExportType(a$1); + return more(v2$1 => PureScript$dCST$dParser$dMonad.optional(parseDataMembers)(state2$1, more, resume, (state3$5, a$2) => done(state3$5, $20(a$2)))); + } + ); + }, + (state2$1, a$1) => done(state2$1, PureScript$dCST$dTypes.$Export("ExportValue", a$1)) + ); + }, + (state2$1, a$1) => done(state2$1, PureScript$dCST$dTypes.$Export("ExportOp", a$1)) + ); + }, + (state2$1, a$1) => { + const $14 = PureScript$dCST$dTypes.ExportModule(a$1); + return more(v2$1 => parseModuleName( + state2$1, + more, + (state3$2, error$2) => { + if (state3$2.consumed) { return resume(state3$2, error$2); } + return parseSymbol( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$3, error$3) => { + if (state3$3.consumed) { return resume(state3$3, error$3); } + return parseIdent( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$4, error$4) => { + if (state3$4.consumed) { return resume(state3$4, error$4); } + return parseProper( + state1, + more, + resume, + (state2$2, a$2) => { + const $24 = PureScript$dCST$dTypes.ExportType(a$2); + return more(v2$2 => PureScript$dCST$dParser$dMonad.optional(parseDataMembers)(state2$2, more, resume, (state3$5, a$3) => done(state3$5, $24(a$3)))); + } + ); + }, + (state2$2, a$2) => done(state2$2, PureScript$dCST$dTypes.$Export("ExportValue", a$2)) + ); + }, + (state2$2, a$2) => done(state2$2, PureScript$dCST$dTypes.$Export("ExportOp", a$2)) + ); + }, + (state3$2, a$2) => done(state3$2, $14(a$2)) + )); + } + ); + }, + (state3$1, a$1) => done(state3$1, $8(a$1)) + )); + } + ); + }, + (state2, a) => { + const $6 = PureScript$dCST$dTypes.ExportTypeOp(a); + return more(v2 => parseSymbol( + state2, + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return tokKeyword("class")( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$1, error$1) => { + if (state3$1.consumed) { return resume(state3$1, error$1); } + return tokKeyword("module")( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$2, error$2) => { + if (state3$2.consumed) { return resume(state3$2, error$2); } + return parseSymbol( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$3, error$3) => { + if (state3$3.consumed) { return resume(state3$3, error$3); } + return parseIdent( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$4, error$4) => { + if (state3$4.consumed) { return resume(state3$4, error$4); } + return parseProper( + state1, + more, + resume, + (state2$1, a$1) => { + const $20 = PureScript$dCST$dTypes.ExportType(a$1); + return more(v2$1 => PureScript$dCST$dParser$dMonad.optional(parseDataMembers)(state2$1, more, resume, (state3$5, a$2) => done(state3$5, $20(a$2)))); + } + ); + }, + (state2$1, a$1) => done(state2$1, PureScript$dCST$dTypes.$Export("ExportValue", a$1)) + ); + }, + (state2$1, a$1) => done(state2$1, PureScript$dCST$dTypes.$Export("ExportOp", a$1)) + ); + }, + (state2$1, a$1) => { + const $14 = PureScript$dCST$dTypes.ExportModule(a$1); + return more(v2$1 => parseModuleName( + state2$1, + more, + (state3$2, error$2) => { + if (state3$2.consumed) { return resume(state3$2, error$2); } + return parseSymbol( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$3, error$3) => { + if (state3$3.consumed) { return resume(state3$3, error$3); } + return parseIdent( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$4, error$4) => { + if (state3$4.consumed) { return resume(state3$4, error$4); } + return parseProper( + state1, + more, + resume, + (state2$2, a$2) => { + const $24 = PureScript$dCST$dTypes.ExportType(a$2); + return more(v2$2 => PureScript$dCST$dParser$dMonad.optional(parseDataMembers)(state2$2, more, resume, (state3$5, a$3) => done(state3$5, $24(a$3)))); + } + ); + }, + (state2$2, a$2) => done(state2$2, PureScript$dCST$dTypes.$Export("ExportValue", a$2)) + ); + }, + (state2$2, a$2) => done(state2$2, PureScript$dCST$dTypes.$Export("ExportOp", a$2)) + ); + }, + (state3$2, a$2) => done(state3$2, $14(a$2)) + )); + } + ); + }, + (state2$1, a$1) => { + const $12 = PureScript$dCST$dTypes.ExportClass(a$1); + return more(v2$1 => parseProper( + state2$1, + more, + (state3$1, error$1) => { + if (state3$1.consumed) { return resume(state3$1, error$1); } + return tokKeyword("module")( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$2, error$2) => { + if (state3$2.consumed) { return resume(state3$2, error$2); } + return parseSymbol( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$3, error$3) => { + if (state3$3.consumed) { return resume(state3$3, error$3); } + return parseIdent( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$4, error$4) => { + if (state3$4.consumed) { return resume(state3$4, error$4); } + return parseProper( + state1, + more, + resume, + (state2$2, a$2) => { + const $24 = PureScript$dCST$dTypes.ExportType(a$2); + return more(v2$2 => PureScript$dCST$dParser$dMonad.optional(parseDataMembers)(state2$2, more, resume, (state3$5, a$3) => done(state3$5, $24(a$3)))); + } + ); + }, + (state2$2, a$2) => done(state2$2, PureScript$dCST$dTypes.$Export("ExportValue", a$2)) + ); + }, + (state2$2, a$2) => done(state2$2, PureScript$dCST$dTypes.$Export("ExportOp", a$2)) + ); + }, + (state2$2, a$2) => { + const $18 = PureScript$dCST$dTypes.ExportModule(a$2); + return more(v2$2 => parseModuleName( + state2$2, + more, + (state3$2, error$2) => { + if (state3$2.consumed) { return resume(state3$2, error$2); } + return parseSymbol( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$3, error$3) => { + if (state3$3.consumed) { return resume(state3$3, error$3); } + return parseIdent( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$4, error$4) => { + if (state3$4.consumed) { return resume(state3$4, error$4); } + return parseProper( + state1, + more, + resume, + (state2$3, a$3) => { + const $28 = PureScript$dCST$dTypes.ExportType(a$3); + return more(v2$3 => PureScript$dCST$dParser$dMonad.optional(parseDataMembers)( + state2$3, + more, + resume, + (state3$5, a$4) => done(state3$5, $28(a$4)) + )); + } + ); + }, + (state2$3, a$3) => done(state2$3, PureScript$dCST$dTypes.$Export("ExportValue", a$3)) + ); + }, + (state2$3, a$3) => done(state2$3, PureScript$dCST$dTypes.$Export("ExportOp", a$3)) + ); + }, + (state3$2, a$3) => done(state3$2, $18(a$3)) + )); + } + ); + }, + (state3$1, a$2) => done(state3$1, $12(a$2)) + )); + } + ); + }, + (state3, a$1) => done(state3, $6(a$1)) + )); + } +); +const parseImport = (state1, more, resume, done) => parseSymbol( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return parseProper( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$1, error$1) => { + if (state3$1.consumed) { return resume(state3$1, error$1); } + return tokKeyword("type")( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$2, error$2) => { + if (state3$2.consumed) { return resume(state3$2, error$2); } + const $10 = (state3$3, error$3) => { + if (state3$3.consumed) { return resume(state3$3, error$3); } + return parseIdent(state1, more, resume, (state2, a) => done(state2, PureScript$dCST$dTypes.$Import("ImportValue", a))); + }; + return tokKeyword("class")( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + $10, + (state2, a) => { + const $13 = PureScript$dCST$dTypes.ImportClass(a); + return more(v2 => parseProper(state2, more, $10, (state3$3, a$1) => done(state3$3, $13(a$1)))); + } + ); + }, + (state2, a) => { + const $10 = PureScript$dCST$dTypes.ImportTypeOp(a); + return more(v2 => parseSymbol( + state2, + more, + (state3$2, error$2) => { + if (state3$2.consumed) { return resume(state3$2, error$2); } + const $14 = (state3$3, error$3) => { + if (state3$3.consumed) { return resume(state3$3, error$3); } + return parseIdent(state1, more, resume, (state2$1, a$1) => done(state2$1, PureScript$dCST$dTypes.$Import("ImportValue", a$1))); + }; + return tokKeyword("class")( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + $14, + (state2$1, a$1) => { + const $17 = PureScript$dCST$dTypes.ImportClass(a$1); + return more(v2$1 => parseProper(state2$1, more, $14, (state3$3, a$2) => done(state3$3, $17(a$2)))); + } + ); + }, + (state3$2, a$1) => done(state3$2, $10(a$1)) + )); + } + ); + }, + (state2, a) => { + const $8 = PureScript$dCST$dTypes.ImportType(a); + return more(v2 => PureScript$dCST$dParser$dMonad.optional(parseDataMembers)( + state2, + more, + (state3$1, error$1) => { + if (state3$1.consumed) { return resume(state3$1, error$1); } + return tokKeyword("type")( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$2, error$2) => { + if (state3$2.consumed) { return resume(state3$2, error$2); } + const $14 = (state3$3, error$3) => { + if (state3$3.consumed) { return resume(state3$3, error$3); } + return parseIdent(state1, more, resume, (state2$1, a$1) => done(state2$1, PureScript$dCST$dTypes.$Import("ImportValue", a$1))); + }; + return tokKeyword("class")( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + $14, + (state2$1, a$1) => { + const $17 = PureScript$dCST$dTypes.ImportClass(a$1); + return more(v2$1 => parseProper(state2$1, more, $14, (state3$3, a$2) => done(state3$3, $17(a$2)))); + } + ); + }, + (state2$1, a$1) => { + const $14 = PureScript$dCST$dTypes.ImportTypeOp(a$1); + return more(v2$1 => parseSymbol( + state2$1, + more, + (state3$2, error$2) => { + if (state3$2.consumed) { return resume(state3$2, error$2); } + const $18 = (state3$3, error$3) => { + if (state3$3.consumed) { return resume(state3$3, error$3); } + return parseIdent(state1, more, resume, (state2$2, a$2) => done(state2$2, PureScript$dCST$dTypes.$Import("ImportValue", a$2))); + }; + return tokKeyword("class")( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + $18, + (state2$2, a$2) => { + const $21 = PureScript$dCST$dTypes.ImportClass(a$2); + return more(v2$2 => parseProper(state2$2, more, $18, (state3$3, a$3) => done(state3$3, $21(a$3)))); + } + ); + }, + (state3$2, a$2) => done(state3$2, $14(a$2)) + )); + } + ); + }, + (state3$1, a$1) => done(state3$1, $8(a$1)) + )); + } + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Import("ImportOp", a)) +); +const parseImportDecl = (state1, more, resume, done) => tokKeyword("import")( + state1, + more, + resume, + (state2, a) => more(v1 => parseModuleName( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => PureScript$dCST$dParser$dMonad.optional((() => { + const $10 = parens(separated(tokComma)(parseImport)); + return (state1$1, more$1, resume$1, done$1) => PureScript$dCST$dParser$dMonad.optional(tokKeyword("hiding"))( + state1$1, + more$1, + resume$1, + (state2$2, a$2) => { + const $17 = Data$dTuple.Tuple(a$2); + return more$1(v2 => $10(state2$2, more$1, resume$1, (state3, a$3) => done$1(state3, $17(a$3)))); + } + ); + })())( + state2$1, + more, + resume, + (state2$2, a$2) => more(v1$2 => PureScript$dCST$dParser$dMonad.optional((state1$1, more$1, resume$1, done$1) => tokKeyword("as")( + state1$1, + more$1, + resume$1, + (state2$3, a$3) => { + const $19 = Data$dTuple.Tuple(a$3); + return more$1(v2 => parseModuleName(state2$3, more$1, resume$1, (state3, a$4) => done$1(state3, $19(a$4)))); + } + ))(state2$2, more, resume, (state2$3, a$3) => more(v1$3 => done(state2$3, {keyword: a, module: a$1, names: a$2, qualified: a$3})))) + )) + )) +); +const parseModuleImportDecls = /* #__PURE__ */ PureScript$dCST$dParser$dMonad.many((state1, more, resume, done) => parseImportDecl( + state1, + more, + resume, + (state2, a) => more(v2 => tokLayoutSep( + (() => { + if (state2.consumed) { return {consumed: false, errors: state2.errors, stream: state2.stream}; } + return state2; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return tokLayoutEnd(state2, more, (v1, error$1) => resume(state2, error$1), (v1, value) => done(state2, a)); + }, + (state3, a$1) => done(state3, a) + )) +)); +const parseModuleHeader = (state1, more, resume, done) => tokKeyword("module")( + state1, + more, + resume, + (state2, a) => more(v1 => parseModuleName( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => PureScript$dCST$dParser$dMonad.optional(parens(separated(tokComma)(parseExport)))( + state2$1, + more, + resume, + (state2$2, a$2) => more(v1$2 => tokKeyword("where")( + state2$2, + more, + resume, + (state2$3, a$3) => more(v1$3 => tokLayoutStart( + state2$3, + more, + resume, + (state2$4, a$4) => more(v2 => parseModuleImportDecls( + state2$4, + more, + resume, + (state3, a$5) => more(v1$4 => done(state3, {keyword: a, name: a$1, exports: a$2, where: a$3, imports: a$5})) + )) + )) + )) + )) + )) +); +const braces = valueParser => (state1, more, resume, done) => tokLeftBrace( + state1, + more, + resume, + (state2, a) => more(v1 => valueParser( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => tokRightBrace(state2$1, more, resume, (state2$2, a$2) => more(v1$2 => done(state2$2, {open: a, value: a$1, close: a$2})))) + )) +); +const parseTypeParens = (state1, more, resume, done) => tokLeftParen( + state1, + more, + resume, + (state2, a) => more(v1 => { + const $7 = parseRowTailParen(a); + const $8 = parseKindedVar(a); + const $9 = parseTypeParen(a); + return parseRowParen(a)( + (() => { + if (state2.consumed) { return {consumed: false, errors: state2.errors, stream: state2.stream}; } + return state2; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return $7( + (() => { + if (state2.consumed) { return {consumed: false, errors: state2.errors, stream: state2.stream}; } + return state2; + })(), + more, + (state3$1, error$1) => { + if (state3$1.consumed) { return resume(state3$1, error$1); } + return $8( + (() => { + if (state2.consumed) { return {consumed: false, errors: state2.errors, stream: state2.stream}; } + return state2; + })(), + more, + (state3$2, error$2) => { + if (state3$2.consumed) { return resume(state3$2, error$2); } + return $9( + (() => { + if (state2.consumed) { return {consumed: false, errors: state2.errors, stream: state2.stream}; } + return state2; + })(), + more, + (state3$3, error$3) => { + if (state3$3.consumed) { return resume(state3$3, error$3); } + return parseEmptyRow(a)(state2, more, resume, done); + }, + done + ); + }, + done + ); + }, + done + ); + }, + done + ); + }) +); +const parseTypeParen = open => (state1, more, resume, done) => parseType$lazy()( + state1, + more, + resume, + (state2, a) => more(v1 => tokRightParen( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => done(state2$1, PureScript$dCST$dTypes.$Type("TypeParens", {open: open, value: a, close: a$1}))) + )) +); +const parseRowTailParen = open => (state1, more, resume, done) => tokPipe( + state1, + more, + resume, + (state2, a) => { + const $7 = Data$dTuple.Tuple(a); + return more(v2 => parseType$lazy()( + state2, + more, + resume, + (state3, a$1) => { + const $11 = $7(a$1); + return more(v1 => tokRightParen( + state3, + more, + resume, + (state2$1, a$2) => more(v1$1 => done( + state2$1, + PureScript$dCST$dTypes.$Type("TypeRow", {open: open, value: {labels: Data$dMaybe.Nothing, tail: Data$dMaybe.$Maybe("Just", $11)}, close: a$2}) + )) + )); + } + )); + } +); +const parseRowParen = open => (state1, more, resume, done) => parseLabel( + state1, + more, + (state2, error) => resume({consumed: state1.consumed, errors: state2.errors, stream: state2.stream}, error), + (state2, a) => { + const $7 = Data$dTuple.Tuple(a); + return more(v2 => tokDoubleColon( + state2, + more, + (state2$1, error) => resume({consumed: state1.consumed, errors: state2$1.errors, stream: state2$1.stream}, error), + (state3, a$1) => { + const $11 = $7(a$1); + return more(v1 => parseType$lazy()( + state3, + more, + resume, + (state2$1, a$2) => more(v1$1 => PureScript$dCST$dParser$dMonad.many((state1$1, more$1, resume$1, done$1) => tokComma( + state1$1, + more$1, + resume$1, + (state2$2, a$3) => { + const $22 = Data$dTuple.Tuple(a$3); + return more$1(v2$1 => parseRowLabel(state2$2, more$1, resume$1, (state3$1, a$4) => done$1(state3$1, $22(a$4)))); + } + ))( + state2$1, + more, + resume, + (state2$2, a$3) => more(v1$2 => PureScript$dCST$dParser$dMonad.optional((state1$1, more$1, resume$1, done$1) => tokPipe( + state1$1, + more$1, + resume$1, + (state2$3, a$4) => { + const $25 = Data$dTuple.Tuple(a$4); + return more$1(v2$1 => parseType$lazy()(state2$3, more$1, resume$1, (state3$1, a$5) => done$1(state3$1, $25(a$5)))); + } + ))( + state2$2, + more, + resume, + (state2$3, a$4) => more(v1$3 => tokRightParen( + state2$3, + more, + resume, + (state2$4, a$5) => more(v1$4 => done( + state2$4, + PureScript$dCST$dTypes.$Type( + "TypeRow", + {open: open, value: {labels: Data$dMaybe.$Maybe("Just", {head: {label: $11._1, separator: $11._2, value: a$2}, tail: a$3}), tail: a$4}, close: a$5} + ) + )) + )) + )) + )) + )); + } + )); + } +); +const parseRowLabel = (state1, more, resume, done) => parseLabel( + state1, + more, + resume, + (state2, a) => more(v1 => tokDoubleColon( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => parseType$lazy()(state2$1, more, resume, (state2$2, a$2) => more(v1$2 => done(state2$2, {label: a, separator: a$1, value: a$2})))) + )) +); +const parseKindedVar = open => { + const $1 = parens((state1, more, resume, done) => parseIdent(state1, more, resume, (state2, a) => done(state2, PureScript$dCST$dTypes.$Type("TypeVar", a)))); + return (state1, more, resume, done) => $1( + state1, + more, + (state2, error) => resume({consumed: state1.consumed, errors: state2.errors, stream: state2.stream}, error), + (state2, a) => { + const $8 = Data$dTuple.Tuple(a); + return more(v2 => tokDoubleColon( + state2, + more, + (state2$1, error) => resume({consumed: state1.consumed, errors: state2$1.errors, stream: state2$1.stream}, error), + (state3, a$1) => { + const $12 = $8(a$1); + return more(v1 => parseType$lazy()( + state3, + more, + resume, + (state2$1, a$2) => more(v1$1 => tokRightParen( + state2$1, + more, + resume, + (state2$2, a$3) => more(v1$2 => done( + state2$2, + PureScript$dCST$dTypes.$Type( + "TypeParens", + {open: open, value: PureScript$dCST$dTypes.$Type("TypeKinded", PureScript$dCST$dTypes.$Type("TypeParens", $12._1), $12._2, a$2), close: a$3} + ) + )) + )) + )); + } + )); + } + ); +}; +const parseTypeVarKinded$lazy = /* #__PURE__ */ $runtime.binding(() => { + const $0 = parens((state1, more, resume, done) => parseIdent( + state1, + more, + resume, + (state2, a) => more(v1 => tokDoubleColon( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => parseType$lazy()(state2$1, more, resume, (state2$2, a$2) => more(v1$2 => done(state2$2, {label: a, separator: a$1, value: a$2})))) + )) + )); + return (state1, more, resume, done) => $0(state1, more, resume, (state2, a) => done(state2, PureScript$dCST$dTypes.$TypeVarBinding("TypeVarKinded", a))); +}); +const parseTypeVarBinding$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => (state1, more, resume, done) => parseTypeVarKinded$lazy()( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return parseIdent(state1, more, resume, (state2, a) => done(state2, PureScript$dCST$dTypes.$TypeVarBinding("TypeVarName", a))); + }, + done +))); +const parseTypeAtom$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => { + const $1 = PureScript$dCST$dTypes.TypeInt(Data$dMaybe.Nothing); + return (state1, more, resume, done) => parseIdent( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return parseQualifiedProper( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$1, error$1) => { + if (state3$1.consumed) { return resume(state3$1, error$1); } + return parseString( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$2, error$2) => { + if (state3$2.consumed) { return resume(state3$2, error$2); } + return parseInt( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$3, error$3) => { + if (state3$3.consumed) { return resume(state3$3, error$3); } + return parseTypeParens( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$4, error$4) => { + if (state3$4.consumed) { return resume(state3$4, error$4); } + return braces(parseRow$lazy())( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$5, error$5) => { + if (state3$5.consumed) { return resume(state3$5, error$5); } + return parseQualifiedSymbol( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$6, error$6) => { + if (state3$6.consumed) { return resume(state3$6, error$6); } + return parseHole( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$7, error$7) => { + if (state3$7.consumed) { return resume(state3$7, error$7); } + return tokUnderscore( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$8, error$8) => { + if (state3$8.consumed) { return resume(state3$8, error$8); } + return tokSymbolArrow(state1, more, resume, (state2, a) => done(state2, PureScript$dCST$dTypes.$Type("TypeArrowName", a))); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Type("TypeWildcard", a)) + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Type("TypeHole", a)) + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Type("TypeOpName", a)) + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Type("TypeRecord", a)) + ); + }, + done + ); + }, + (state2, a) => done(state2, $1(a._1)(a._2)) + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Type("TypeString", a._1, a._2)) + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Type("TypeConstructor", a)) + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Type("TypeVar", a)) + ); +})); +const parseType5$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => (state1, more, resume, done) => parseTypeAtom$lazy()( + state1, + more, + resume, + (state2, a) => more(v1 => PureScript$dCST$dParser$dMonad.many(parseTypeAtom$lazy())( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => done( + state2$1, + (() => { + if (a$1.length > 0) { return PureScript$dCST$dTypes.$Type("TypeApp", a, a$1); } + return a; + })() + )) + )) +))); +const parseType4$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => (state1, more, resume, done) => parseTypeNegative( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return parseType5$lazy()(state1, more, resume, done); + }, + done +))); +const parseType3$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => (state1, more, resume, done) => parseType4$lazy()( + state1, + more, + resume, + (state2, a) => more(v1 => PureScript$dCST$dParser$dMonad.many((state1$1, more$1, resume$1, done$1) => parseQualifiedOperator( + state1$1, + more$1, + resume$1, + (state2$1, a$1) => { + const $14 = Data$dTuple.Tuple(a$1); + return more$1(v2 => parseType4$lazy()(state2$1, more$1, resume$1, (state3, a$2) => done$1(state3, $14(a$2)))); + } + ))( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => done( + state2$1, + (() => { + if (a$1.length > 0) { return PureScript$dCST$dTypes.$Type("TypeOp", a, a$1); } + return a; + })() + )) + )) +))); +const parseType2$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => (state1, more, resume, done) => parseType3$lazy()( + state1, + more, + resume, + (state2, a) => more(v1 => { + const $8 = PureScript$dCST$dTypes.TypeArrow(a); + const $9 = PureScript$dCST$dTypes.TypeConstrained(a); + const $10 = (state1$1, more$1, resume$1, done$1) => tokRightFatArrow( + (() => { + if (state1$1.consumed) { return {consumed: false, errors: state1$1.errors, stream: state1$1.stream}; } + return state1$1; + })(), + more$1, + (state3, error) => { + if (state3.consumed) { return resume$1(state3, error); } + return done$1(state1$1, a); + }, + (state2$1, a$1) => { + const $16 = $9(a$1); + return more$1(v2 => parseType1$lazy()( + state2$1, + more$1, + (state3, error) => { + if (state3.consumed) { return resume$1(state3, error); } + return done$1(state1$1, a); + }, + (state3, a$2) => done$1(state3, $16(a$2)) + )); + } + ); + return tokRightArrow( + (() => { + if (state2.consumed) { return {consumed: false, errors: state2.errors, stream: state2.stream}; } + return state2; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return $10(state2, more, resume, done); + }, + (state2$1, a$1) => { + const $13 = $8(a$1); + return more(v2 => parseType1$lazy()( + state2$1, + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return $10(state2, more, resume, done); + }, + (state3, a$2) => done(state3, $13(a$2)) + )); + } + ); + }) +))); +const parseType1$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => (state1, more, resume, done) => parseForall$lazy()( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return parseType2$lazy()(state1, more, resume, done); + }, + done +))); +const parseType$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => (state1, more, resume, done) => parseType1$lazy()( + state1, + more, + resume, + (state2, a) => more(v1 => { + const $8 = PureScript$dCST$dTypes.TypeKinded(a); + return tokDoubleColon( + (() => { + if (state2.consumed) { return {consumed: false, errors: state2.errors, stream: state2.stream}; } + return state2; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return done(state2, a); + }, + (state2$1, a$1) => { + const $11 = $8(a$1); + return more(v2 => parseType$lazy()( + state2$1, + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return done(state2, a); + }, + (state3, a$2) => done(state3, $11(a$2)) + )); + } + ); + }) +))); +const parseRow$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => { + const $1 = PureScript$dCST$dParser$dMonad.optional(separated(tokComma)(parseRowLabel)); + return (state1, more, resume, done) => $1( + state1, + more, + resume, + (state2, a) => more(v1 => PureScript$dCST$dParser$dMonad.optional((state1$1, more$1, resume$1, done$1) => tokPipe( + state1$1, + more$1, + resume$1, + (state2$1, a$1) => { + const $15 = Data$dTuple.Tuple(a$1); + return more$1(v2 => parseType$lazy()(state2$1, more$1, resume$1, (state3, a$2) => done$1(state3, $15(a$2)))); + } + ))(state2, more, resume, (state2$1, a$1) => more(v1$1 => done(state2$1, {labels: a, tail: a$1})))) + ); +})); +const parseForall$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => (state1, more, resume, done) => tokForall( + state1, + more, + resume, + (state2, a) => { + const $7 = PureScript$dCST$dTypes.TypeForall(a); + return more(v2 => many1(parseTypeVarBinding$lazy())( + state2, + more, + resume, + (state3, a$1) => { + const $11 = $7(a$1); + return more(v2$1 => tokDot( + state3, + more, + resume, + (state3$1, a$2) => { + const $15 = $11(a$2); + return more(v2$2 => parseType1$lazy()(state3$1, more, resume, (state3$2, a$3) => done(state3$2, $15(a$3)))); + } + )); + } + )); + } +))); +const parseTypeVarKinded = /* #__PURE__ */ parseTypeVarKinded$lazy(); +const parseTypeVarBinding = /* #__PURE__ */ parseTypeVarBinding$lazy(); +const parseTypeAtom = /* #__PURE__ */ parseTypeAtom$lazy(); +const parseType5 = /* #__PURE__ */ parseType5$lazy(); +const parseType4 = /* #__PURE__ */ parseType4$lazy(); +const parseType3 = /* #__PURE__ */ parseType3$lazy(); +const parseType2 = /* #__PURE__ */ parseType2$lazy(); +const parseType1 = /* #__PURE__ */ parseType1$lazy(); +const parseType = /* #__PURE__ */ parseType$lazy(); +const parseRow = /* #__PURE__ */ parseRow$lazy(); +const parseForall = /* #__PURE__ */ parseForall$lazy(); +const parseDataCtor = (state1, more, resume, done) => parseProper( + state1, + more, + resume, + (state2, a) => more(v2 => PureScript$dCST$dParser$dMonad.many(parseTypeAtom)(state2, more, resume, (state3, a$1) => done(state3, {name: a, fields: a$1}))) +); +const parseIdentBinder = (state1, more, resume, done) => parseIdent( + state1, + more, + resume, + (state2, a) => more(v1 => { + const $7 = PureScript$dCST$dTypes.BinderNamed(a); + return tokAt( + (() => { + if (state2.consumed) { return {consumed: false, errors: state2.errors, stream: state2.stream}; } + return state2; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return done(state2, PureScript$dCST$dTypes.$Binder("BinderVar", a)); + }, + (state2$1, a$1) => { + const $10 = $7(a$1); + return more(v2 => parseBinderAtom$lazy()( + state2$1, + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return done(state2, PureScript$dCST$dTypes.$Binder("BinderVar", a)); + }, + (state3, a$2) => done(state3, $10(a$2)) + )); + } + ); + }) +); +const parseBinderConstructor$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => (state1, more, resume, done) => parseQualifiedProper( + state1, + more, + resume, + (state2, a) => more(v1 => PureScript$dCST$dParser$dMonad.many(parseBinderAtom$lazy())( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => done(state2$1, PureScript$dCST$dTypes.$Binder("BinderConstructor", a, a$1))) + )) +))); +const parseBinderAtom$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => { + const $1 = PureScript$dCST$dTypes.BinderInt(Data$dMaybe.Nothing); + const $2 = PureScript$dCST$dTypes.BinderNumber(Data$dMaybe.Nothing); + return (state1, more, resume, done) => parseIdentBinder( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return parseQualifiedProper( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$1, error$1) => { + if (state3$1.consumed) { return resume(state3$1, error$1); } + return tokUnderscore( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$2, error$2) => { + if (state3$2.consumed) { return resume(state3$2, error$2); } + return parseString( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$3, error$3) => { + if (state3$3.consumed) { return resume(state3$3, error$3); } + return parseChar( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$4, error$4) => { + if (state3$4.consumed) { return resume(state3$4, error$4); } + return parseBoolean( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$5, error$5) => { + if (state3$5.consumed) { return resume(state3$5, error$5); } + return parseInt( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$6, error$6) => { + if (state3$6.consumed) { return resume(state3$6, error$6); } + return parseNumber( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$7, error$7) => { + if (state3$7.consumed) { return resume(state3$7, error$7); } + return delimited(tokLeftSquare)(tokRightSquare)(tokComma)(parseBinder$lazy())( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$8, error$8) => { + if (state3$8.consumed) { return resume(state3$8, error$8); } + return delimited(tokLeftBrace)(tokRightBrace)(tokComma)(parseRecordLabeled(parseBinder$lazy()))( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$9, error$9) => { + if (state3$9.consumed) { return resume(state3$9, error$9); } + return parens(parseBinder$lazy())(state1, more, resume, (state2, a) => done(state2, PureScript$dCST$dTypes.$Binder("BinderParens", a))); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Binder("BinderRecord", a)) + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Binder("BinderArray", a)) + ); + }, + (state2, a) => done(state2, $2(a._1)(a._2)) + ); + }, + (state2, a) => done(state2, $1(a._1)(a._2)) + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Binder("BinderBoolean", a._1, a._2)) + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Binder("BinderChar", a._1, a._2)) + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Binder("BinderString", a._1, a._2)) + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Binder("BinderWildcard", a)) + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Binder("BinderConstructor", a, [])) + ); + }, + done + ); +})); +const parseBinder2$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => (state1, more, resume, done) => parseBinderNegative( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return parseBinderConstructor$lazy()( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$1, error$1) => { + if (state3$1.consumed) { return resume(state3$1, error$1); } + return parseBinderAtom$lazy()(state1, more, resume, done); + }, + done + ); + }, + done +))); +const parseBinder1$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => (state1, more, resume, done) => parseBinder2$lazy()( + state1, + more, + resume, + (state2, a) => more(v1 => PureScript$dCST$dParser$dMonad.many((state1$1, more$1, resume$1, done$1) => parseQualifiedOperator( + state1$1, + more$1, + resume$1, + (state2$1, a$1) => { + const $14 = Data$dTuple.Tuple(a$1); + return more$1(v2 => parseBinder2$lazy()(state2$1, more$1, resume$1, (state3, a$2) => done$1(state3, $14(a$2)))); + } + ))( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => done( + state2$1, + (() => { + if (a$1.length > 0) { return PureScript$dCST$dTypes.$Binder("BinderOp", a, a$1); } + return a; + })() + )) + )) +))); +const parseBinder$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => (state1, more, resume, done) => parseBinder1$lazy()( + state1, + more, + resume, + (state2, a) => more(v1 => { + const $8 = PureScript$dCST$dTypes.BinderTyped(a); + return tokDoubleColon( + (() => { + if (state2.consumed) { return {consumed: false, errors: state2.errors, stream: state2.stream}; } + return state2; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return done(state2, a); + }, + (state2$1, a$1) => { + const $11 = $8(a$1); + return more(v2 => parseType( + state2$1, + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return done(state2, a); + }, + (state3, a$2) => done(state3, $11(a$2)) + )); + } + ); + }) +))); +const parseBinderConstructor = /* #__PURE__ */ parseBinderConstructor$lazy(); +const parseBinderAtom = /* #__PURE__ */ parseBinderAtom$lazy(); +const parseBinder2 = /* #__PURE__ */ parseBinder2$lazy(); +const parseBinder1 = /* #__PURE__ */ parseBinder1$lazy(); +const parseBinder = /* #__PURE__ */ parseBinder$lazy(); +const parseClassConstraints = parseOneConstraint => { + const $1 = parens(separated(tokComma)(parseType)); + return (state1, more, resume, done) => $1( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return parseOneConstraint(state1, more, resume, (state2, a) => done(state2, PureScript$dCST$dTypes.$OneOrDelimited("One", a))); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$OneOrDelimited("Many", a)) + ); +}; +const parseDeclDerive = (state1, more, resume, done) => tokKeyword("derive")( + state1, + more, + resume, + (state2, a) => more(v1 => PureScript$dCST$dParser$dMonad.optional(tokKeyword("newtype"))( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => tokKeyword("instance")( + state2$1, + more, + resume, + (state2$2, a$2) => more(v1$2 => PureScript$dCST$dParser$dMonad.optional(parseInstanceName)( + state2$2, + more, + resume, + (state2$3, a$3) => more(v1$3 => PureScript$dCST$dParser$dMonad.optional((() => { + const $16 = parseClassConstraints(parseType3); + return (state1$1, more$1, resume$1, done$1) => $16( + state1$1, + more$1, + (state2$4, error) => resume$1({consumed: state1$1.consumed, errors: state2$4.errors, stream: state2$4.stream}, error), + (state2$4, a$4) => { + const $23 = Data$dTuple.Tuple(a$4); + return more$1(v2 => tokRightFatArrow( + state2$4, + more$1, + (state2$5, error) => resume$1({consumed: state1$1.consumed, errors: state2$5.errors, stream: state2$5.stream}, error), + (state3, a$5) => done$1(state3, $23(a$5)) + )); + } + ); + })())( + state2$3, + more, + resume, + (state2$4, a$4) => more(v1$4 => parseQualifiedProper( + state2$4, + more, + resume, + (state2$5, a$5) => more(v1$5 => PureScript$dCST$dParser$dMonad.many(parseTypeAtom)( + state2$5, + more, + resume, + (state2$6, a$6) => more(v1$6 => done( + state2$6, + PureScript$dCST$dTypes.$Declaration("DeclDerive", a, a$1, {keyword: a$2, name: a$3, constraints: a$4, className: a$5, types: a$6}) + )) + )) + )) + )) + )) + )) + )) +); +const parseClassMember = (state1, more, resume, done) => parseIdent( + state1, + more, + resume, + (state2, a) => more(v1 => tokDoubleColon( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => parseType(state2$1, more, resume, (state2$2, a$2) => more(v1$2 => done(state2$2, {label: a, separator: a$1, value: a$2})))) + )) +); +const parseDeclClassSignature = keyword => (state1, more, resume, done) => parseProper( + state1, + more, + (state2, error) => resume({consumed: state1.consumed, errors: state2.errors, stream: state2.stream}, error), + (state2, a) => { + const $7 = Data$dTuple.Tuple(a); + return more(v2 => tokDoubleColon( + state2, + more, + (state2$1, error) => resume({consumed: state1.consumed, errors: state2$1.errors, stream: state2$1.stream}, error), + (state3, a$1) => { + const $11 = $7(a$1); + return more(v1 => parseType( + state3, + more, + resume, + (state2$1, a$2) => more(v1$1 => done(state2$1, PureScript$dCST$dTypes.$Declaration("DeclKindSignature", keyword, {label: $11._1, separator: $11._2, value: a$2}))) + )); + } + )); + } +); +const parseDeclKindSignature = keyword => label => (state1, more, resume, done) => tokDoubleColon( + state1, + more, + resume, + (state2, a) => more(v1 => parseType( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => done(state2$1, PureScript$dCST$dTypes.$Declaration("DeclKindSignature", keyword, {label: label, separator: a, value: a$1}))) + )) +); +const parseDeclSignature = label => (state1, more, resume, done) => tokDoubleColon( + state1, + more, + resume, + (state2, a) => more(v1 => parseType( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => done(state2$1, PureScript$dCST$dTypes.$Declaration("DeclSignature", {label: label, separator: a, value: a$1}))) + )) +); +const parseForeignData = (state1, more, resume, done) => tokKeyword("data")( + state1, + more, + resume, + (state2, a) => more(v1 => parseProper( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => tokDoubleColon( + state2$1, + more, + resume, + (state2$2, a$2) => more(v1$2 => parseType( + state2$2, + more, + resume, + (state2$3, a$3) => more(v1$3 => done(state2$3, PureScript$dCST$dTypes.$Foreign("ForeignData", a, {label: a$1, separator: a$2, value: a$3}))) + )) + )) + )) +); +const parseForeignValue = (state1, more, resume, done) => parseIdent( + state1, + more, + resume, + (state2, a) => more(v1 => tokDoubleColon( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => parseType( + state2$1, + more, + resume, + (state2$2, a$2) => more(v1$2 => done(state2$2, PureScript$dCST$dTypes.$Foreign("ForeignValue", {label: a, separator: a$1, value: a$2}))) + )) + )) +); +const parseDeclForeign = (state1, more, resume, done) => tokKeyword("foreign")( + state1, + more, + resume, + (state2, a) => more(v1 => tokKeyword("import")( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => parseForeignData( + (() => { + if (state2$1.consumed) { return {consumed: false, errors: state2$1.errors, stream: state2$1.stream}; } + return state2$1; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return parseForeignKind( + (() => { + if (state2$1.consumed) { return {consumed: false, errors: state2$1.errors, stream: state2$1.stream}; } + return state2$1; + })(), + more, + (state3$1, error$1) => { + if (state3$1.consumed) { return resume(state3$1, error$1); } + return parseForeignValue(state2$1, more, resume, (state2$2, a$2) => more(v1$2 => done(state2$2, PureScript$dCST$dTypes.$Declaration("DeclForeign", a, a$1, a$2)))); + }, + (state2$2, a$2) => more(v1$2 => done(state2$2, PureScript$dCST$dTypes.$Declaration("DeclForeign", a, a$1, a$2))) + ); + }, + (state2$2, a$2) => more(v1$2 => done(state2$2, PureScript$dCST$dTypes.$Declaration("DeclForeign", a, a$1, a$2))) + )) + )) +); +const parseInstanceBindingSignature = label => (state1, more, resume, done) => tokDoubleColon( + state1, + more, + resume, + (state2, a) => more(v1 => parseType( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => done(state2$1, PureScript$dCST$dTypes.$InstanceBinding("InstanceBindingSignature", {label: label, separator: a, value: a$1}))) + )) +); +const parseLetBindingSignature = label => (state1, more, resume, done) => tokDoubleColon( + state1, + more, + resume, + (state2, a) => more(v1 => parseType( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => done(state2$1, PureScript$dCST$dTypes.$LetBinding("LetBindingSignature", {label: label, separator: a, value: a$1}))) + )) +); +const parseTickExpr = (state1, more, resume, done) => tokTick( + state1, + more, + resume, + (state2, a) => more(v1 => parseTickExpr1$lazy()( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => tokTick(state2$1, more, resume, (state2$2, a$2) => more(v1$2 => done(state2$2, {open: a, value: a$1, close: a$2})))) + )) +); +const parseRecordUpdates = expr => (state1, more, resume, done) => { + const $5 = (state2, a) => more(v1 => separated(tokComma)(parseRecordUpdate)( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => tokRightBrace( + state2$1, + more, + resume, + (state2$2, a$2) => more(v1$2 => done(state2$2, PureScript$dCST$dTypes.$Expr("ExprRecordUpdate", expr, {open: a, value: a$1, close: a$2}))) + )) + )); + return tokLeftBrace( + state1, + more, + (state2, error) => resume({consumed: state1.consumed, errors: state2.errors, stream: state2.stream}, error), + (state2, a) => more(v2 => parseLabel( + state2, + more, + (v1, error) => resume({consumed: state1.consumed, errors: state2.errors, stream: state2.stream}, error), + (state2$1, a$1) => more(v2$1 => tokEquals( + (() => { + if (state2$1.consumed) { return {consumed: false, errors: state2$1.errors, stream: state2$1.stream}; } + return state2$1; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume({consumed: state1.consumed, errors: state2.errors, stream: state2.stream}, error); } + return tokLeftBrace( + state2$1, + more, + (v1, error$1) => resume({consumed: state1.consumed, errors: state2.errors, stream: state2.stream}, error$1), + (state3$1, a$2) => $5(state2, a) + ); + }, + (state3, a$2) => $5(state2, a) + )) + )) + ); +}; +const parseRecordUpdateLeaf = label => { + const $1 = PureScript$dCST$dTypes.RecordUpdateLeaf(label); + return (state1, more, resume, done) => tokEquals( + state1, + more, + resume, + (state2, a) => { + const $8 = $1(a); + return more(v2 => parseExpr$lazy()(state2, more, resume, (state3, a$1) => done(state3, $8(a$1)))); + } + ); +}; +const parseRecordUpdateBranch = label => { + const $1 = PureScript$dCST$dTypes.RecordUpdateBranch(label); + const $2 = braces(separated(tokComma)(parseRecordUpdate)); + return (state1, more, resume, done) => $2(state1, more, resume, (state2, a) => done(state2, $1(a))); +}; +const parseRecordUpdate = (state1, more, resume, done) => parseLabel( + state1, + more, + resume, + (state2, a) => more(v1 => { + const $7 = parseRecordUpdateBranch(a); + return parseRecordUpdateLeaf(a)( + (() => { + if (state2.consumed) { return {consumed: false, errors: state2.errors, stream: state2.stream}; } + return state2; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return $7(state2, more, resume, done); + }, + done + ); + }) +); +const parseLetIn = (state1, more, resume, done) => tokKeyword("let")( + state1, + more, + resume, + (state2, a) => more(v1 => layoutNonEmpty(recoverIndent(PureScript$dCST$dTypes.LetBindingError)(parseLetBinding$lazy()))( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => tokKeyword("in")( + state2$1, + more, + resume, + (state2$2, a$2) => more(v1$2 => parseExpr$lazy()( + state2$2, + more, + resume, + (state2$3, a$3) => more(v1$3 => done(state2$3, PureScript$dCST$dTypes.$Expr("ExprLet", {keyword: a, bindings: a$1, in: a$2, body: a$3}))) + )) + )) + )) +); +const parseLetBindingName = name => (state1, more, resume, done) => PureScript$dCST$dParser$dMonad.many(parseBinderAtom)( + state1, + more, + resume, + (state2, a) => more(v1 => parseGuarded(tokEquals)( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => done(state2$1, PureScript$dCST$dTypes.$LetBinding("LetBindingName", {name: name, binders: a, guarded: a$1}))) + )) +); +const parseLambda = (state1, more, resume, done) => tokBackslash( + state1, + more, + resume, + (state2, a) => more(v1 => many1(parseBinderAtom)( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => tokRightArrow( + state2$1, + more, + resume, + (state2$2, a$2) => more(v1$2 => parseExpr$lazy()( + state2$2, + more, + resume, + (state2$3, a$3) => more(v1$3 => done(state2$3, PureScript$dCST$dTypes.$Expr("ExprLambda", {symbol: a, binders: a$1, arrow: a$2, body: a$3}))) + )) + )) + )) +); +const parseIf = (state1, more, resume, done) => tokKeyword("if")( + state1, + more, + resume, + (state2, a) => more(v1 => parseExpr$lazy()( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => tokKeyword("then")( + state2$1, + more, + resume, + (state2$2, a$2) => more(v1$2 => parseExpr$lazy()( + state2$2, + more, + resume, + (state2$3, a$3) => more(v1$3 => tokKeyword("else")( + state2$3, + more, + resume, + (state2$4, a$4) => more(v1$4 => parseExpr$lazy()( + state2$4, + more, + resume, + (state2$5, a$5) => more(v1$5 => done(state2$5, PureScript$dCST$dTypes.$Expr("ExprIf", {keyword: a, cond: a$1, then: a$2, true: a$3, else: a$4, false: a$5}))) + )) + )) + )) + )) + )) +); +const parseIdentBinding = (state1, more, resume, done) => parseIdent( + state1, + more, + resume, + (state2, a) => more(v1 => parseLetBindingSignature(a)( + (() => { + if (state2.consumed) { return {consumed: false, errors: state2.errors, stream: state2.stream}; } + return state2; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return parseLetBindingName(a)(state2, more, resume, done); + }, + done + )) +); +const parseGuarded = sepParser => { + const $1 = many1((() => { + const $1 = separated(tokComma)((() => { + const $1 = PureScript$dCST$dParser$dMonad.optional((state1, more, resume, done) => parseBinder( + state1, + more, + (state2, error) => resume({consumed: state1.consumed, errors: state2.errors, stream: state2.stream}, error), + (state2, a) => { + const $7 = Data$dTuple.Tuple(a); + return more(v2 => tokLeftArrow( + state2, + more, + (state2$1, error) => resume({consumed: state1.consumed, errors: state2$1.errors, stream: state2$1.stream}, error), + (state3, a$1) => done(state3, $7(a$1)) + )); + } + )); + return (state1, more, resume, done) => $1( + state1, + more, + resume, + (state2, a) => more(v2 => parseExpr$lazy()(state2, more, resume, (state3, a$1) => done(state3, {binder: a, expr: a$1}))) + ); + })()); + return (state1, more, resume, done) => tokPipe( + state1, + more, + resume, + (state2, a) => more(v2 => $1( + state2, + more, + resume, + (state3, a$1) => more(v2$1 => sepParser( + state3, + more, + resume, + (state3$1, a$2) => more(v2$2 => parseWhere$lazy()(state3$1, more, resume, (state3$2, a$3) => done(state3$2, {bar: a, patterns: a$1, separator: a$2, where: a$3}))) + )) + )) + ); + })()); + return (state1, more, resume, done) => sepParser( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return $1(state1, more, resume, (state2, a) => done(state2, PureScript$dCST$dTypes.$Guarded("Guarded", a))); + }, + (state2, a) => { + const $8 = PureScript$dCST$dTypes.Unconditional(a); + return more(v2 => parseWhere$lazy()( + state2, + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return $1(state1, more, resume, (state2$1, a$1) => done(state2$1, PureScript$dCST$dTypes.$Guarded("Guarded", a$1))); + }, + (state3, a$1) => done(state3, $8(a$1)) + )); + } + ); +}; +const parseDo = (state1, more, resume, done) => tokQualifiedKeyword("do")( + state1, + more, + resume, + (state2, a) => more(v1 => layoutNonEmpty(recoverIndent(PureScript$dCST$dTypes.DoError)(parseDoStatement$lazy()))( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => done(state2$1, PureScript$dCST$dTypes.$Expr("ExprDo", {keyword: a, statements: a$1}))) + )) +); +const parseCase = (state1, more, resume, done) => tokKeyword("case")( + state1, + more, + resume, + (state2, a) => more(v1 => separated(tokComma)(parseExpr$lazy())( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => tokKeyword("of")( + state2$1, + more, + resume, + (state2$2, a$2) => more(v1$2 => { + const $13 = (() => { + if (state2$2.consumed) { return {consumed: false, errors: state2$2.errors, stream: state2$2.stream}; } + return state2$2; + })(); + return parseBadSingleCaseBranch( + $13, + more, + (state2$3, error) => { + const $16 = {consumed: $13.consumed, errors: state2$3.errors, stream: state2$3.stream}; + if ($16.consumed) { return resume($16, error); } + return parseCaseBranches$lazy()( + state2$2, + more, + resume, + (state2$4, a$3) => more(v1$3 => done(state2$4, PureScript$dCST$dTypes.$Expr("ExprCase", {keyword: a, head: a$1, of: a$2, branches: a$3}))) + ); + }, + (state2$3, a$3) => more(v1$3 => done(state2$3, PureScript$dCST$dTypes.$Expr("ExprCase", {keyword: a, head: a$1, of: a$2, branches: a$3}))) + ); + }) + )) + )) +); +const parseBadSingleCaseWhere = binder => (state1, more, resume, done) => tokRightArrow( + state1, + more, + resume, + (state2, a) => more(v1 => tokLayoutEnd( + state2, + more, + resume, + (state2$1, a$1) => more(v2 => parseWhere$lazy()( + state2$1, + more, + resume, + (state3, a$2) => more(v1$1 => done(state3, [Data$dTuple.$Tuple({head: binder, tail: []}, PureScript$dCST$dTypes.$Guarded("Unconditional", a, a$2))])) + )) + )) +); +const parseBadSingleCaseGuarded = binder => { + const $1 = parseGuarded(tokRightArrow); + return (state1, more, resume, done) => tokLayoutEnd( + state1, + more, + resume, + (state2, a) => more(v2 => $1(state2, more, resume, (state3, a$1) => more(v1 => done(state3, [Data$dTuple.$Tuple({head: binder, tail: []}, a$1)])))) + ); +}; +const parseBadSingleCaseBranch = (state1, more, resume, done) => tokLayoutStart( + state1, + more, + resume, + (state2, a) => more(v2 => parseBinder1( + state2, + more, + resume, + (state3, a$1) => more(v1 => { + const $10 = parseBadSingleCaseGuarded(a$1); + return parseBadSingleCaseWhere(a$1)( + (() => { + if (state3.consumed) { return {consumed: false, errors: state3.errors, stream: state3.stream}; } + return state3; + })(), + more, + (state3$1, error) => { + if (state3$1.consumed) { return resume(state3$1, error); } + return $10(state3, more, resume, done); + }, + done + ); + }) + )) +); +const parseAdo = (state1, more, resume, done) => tokQualifiedKeyword("ado")( + state1, + more, + resume, + (state2, a) => more(v1 => layout(recoverIndent(PureScript$dCST$dTypes.DoError)(parseDoStatement$lazy()))( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => tokKeyword("in")( + state2$1, + more, + resume, + (state2$2, a$2) => more(v1$2 => parseExpr$lazy()( + state2$2, + more, + resume, + (state2$3, a$3) => more(v1$3 => done(state2$3, PureScript$dCST$dTypes.$Expr("ExprAdo", {keyword: a, statements: a$1, in: a$2, result: a$3}))) + )) + )) + )) +); +const parseWhere$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => (state1, more, resume, done) => parseExpr$lazy()( + state1, + more, + resume, + (state2, a) => more(v1 => PureScript$dCST$dParser$dMonad.optional((() => { + const $8 = layoutNonEmpty(recoverIndent(PureScript$dCST$dTypes.LetBindingError)(parseLetBinding$lazy())); + return (state1$1, more$1, resume$1, done$1) => tokKeyword("where")( + state1$1, + more$1, + resume$1, + (state2$1, a$1) => { + const $15 = Data$dTuple.Tuple(a$1); + return more$1(v2 => $8(state2$1, more$1, resume$1, (state3, a$2) => done$1(state3, $15(a$2)))); + } + ); + })())(state2, more, resume, (state2$1, a$1) => more(v1$1 => done(state2$1, {expr: a, bindings: a$1})))) +))); +const parseTickExpr1$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => (state1, more, resume, done) => parseExpr3$lazy()( + state1, + more, + resume, + (state2, a) => more(v1 => PureScript$dCST$dParser$dMonad.many((state1$1, more$1, resume$1, done$1) => parseQualifiedOperator( + state1$1, + more$1, + resume$1, + (state2$1, a$1) => { + const $14 = Data$dTuple.Tuple(a$1); + return more$1(v2 => parseExpr3$lazy()(state2$1, more$1, resume$1, (state3, a$2) => done$1(state3, $14(a$2)))); + } + ))( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => done( + state2$1, + (() => { + if (a$1.length > 0) { return PureScript$dCST$dTypes.$Expr("ExprOp", a, a$1); } + return a; + })() + )) + )) +))); +const parseLetBinding$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => (state1, more, resume, done) => { + const $5 = (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(); + return parseIdentBinding( + $5, + more, + (state2, error) => { + const $8 = {consumed: $5.consumed, errors: state2.errors, stream: state2.stream}; + if ($8.consumed) { return resume($8, error); } + return parseBinder1( + state1, + more, + resume, + (state2$1, a) => { + const $11 = PureScript$dCST$dTypes.LetBindingPattern(a); + return more(v2 => tokEquals( + state2$1, + more, + resume, + (state3, a$1) => { + const $15 = $11(a$1); + return more(v2$1 => parseWhere$lazy()(state3, more, resume, (state3$1, a$2) => done(state3$1, $15(a$2)))); + } + )); + } + ); + }, + done + ); +})); +const parseExprAtom$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => (state1, more, resume, done) => parseQualifiedIdent( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return parseQualifiedProper( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$1, error$1) => { + if (state3$1.consumed) { return resume(state3$1, error$1); } + return parseQualifiedSymbol( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$2, error$2) => { + if (state3$2.consumed) { return resume(state3$2, error$2); } + return tokUnderscore( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$3, error$3) => { + if (state3$3.consumed) { return resume(state3$3, error$3); } + return parseHole( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$4, error$4) => { + if (state3$4.consumed) { return resume(state3$4, error$4); } + return parseString( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$5, error$5) => { + if (state3$5.consumed) { return resume(state3$5, error$5); } + return parseChar( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$6, error$6) => { + if (state3$6.consumed) { return resume(state3$6, error$6); } + return parseBoolean( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$7, error$7) => { + if (state3$7.consumed) { return resume(state3$7, error$7); } + return parseInt( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$8, error$8) => { + if (state3$8.consumed) { return resume(state3$8, error$8); } + return parseNumber( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$9, error$9) => { + if (state3$9.consumed) { return resume(state3$9, error$9); } + return delimited(tokLeftSquare)(tokRightSquare)(tokComma)(parseExpr$lazy())( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$10, error$10) => { + if (state3$10.consumed) { return resume(state3$10, error$10); } + return delimited(tokLeftBrace)(tokRightBrace)(tokComma)(parseRecordLabeled(parseExpr$lazy()))( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$11, error$11) => { + if (state3$11.consumed) { return resume(state3$11, error$11); } + return parens(parseExpr$lazy())(state1, more, resume, (state2, a) => done(state2, PureScript$dCST$dTypes.$Expr("ExprParens", a))); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Expr("ExprRecord", a)) + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Expr("ExprArray", a)) + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Expr("ExprNumber", a._1, a._2)) + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Expr("ExprInt", a._1, a._2)) + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Expr("ExprBoolean", a._1, a._2)) + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Expr("ExprChar", a._1, a._2)) + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Expr("ExprString", a._1, a._2)) + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Expr("ExprHole", a)) + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Expr("ExprSection", a)) + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Expr("ExprOpName", a)) + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Expr("ExprConstructor", a)) + ); + }, + (state2, a) => done(state2, PureScript$dCST$dTypes.$Expr("ExprIdent", a)) +))); +const parseExpr7$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => (state1, more, resume, done) => parseExprAtom$lazy()( + state1, + more, + resume, + (state2, a) => more(v1 => parseRecordAccessor(a)( + (() => { + if (state2.consumed) { return {consumed: false, errors: state2.errors, stream: state2.stream}; } + return state2; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return done(state2, a); + }, + done + )) +))); +const parseExpr6$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => (state1, more, resume, done) => parseExpr7$lazy()( + state1, + more, + resume, + (state2, a) => more(v1 => parseRecordUpdates(a)( + (() => { + if (state2.consumed) { return {consumed: false, errors: state2.errors, stream: state2.stream}; } + return state2; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return done(state2, a); + }, + done + )) +))); +const parseExpr5$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => (state1, more, resume, done) => parseIf( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return parseLetIn( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$1, error$1) => { + if (state3$1.consumed) { return resume(state3$1, error$1); } + return parseLambda( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$2, error$2) => { + if (state3$2.consumed) { return resume(state3$2, error$2); } + return parseCase( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$3, error$3) => { + if (state3$3.consumed) { return resume(state3$3, error$3); } + return parseDo( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$4, error$4) => { + if (state3$4.consumed) { return resume(state3$4, error$4); } + return parseAdo( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$5, error$5) => { + if (state3$5.consumed) { return resume(state3$5, error$5); } + return parseExpr6$lazy()(state1, more, resume, done); + }, + done + ); + }, + done + ); + }, + done + ); + }, + done + ); + }, + done + ); + }, + done +))); +const parseExpr4$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => (state1, more, resume, done) => parseExpr5$lazy()( + state1, + more, + resume, + (state2, a) => more(v1 => PureScript$dCST$dParser$dMonad.many(parseExpr5$lazy())( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => done( + state2$1, + (() => { + if (a$1.length > 0) { return PureScript$dCST$dTypes.$Expr("ExprApp", a, a$1); } + return a; + })() + )) + )) +))); +const parseExpr3$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => (state1, more, resume, done) => tokKeyOperator("-")( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return parseExpr4$lazy()(state1, more, resume, done); + }, + (state2, a) => { + const $7 = PureScript$dCST$dTypes.ExprNegate(a); + return more(v2 => parseExpr3$lazy()( + state2, + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return parseExpr4$lazy()(state1, more, resume, done); + }, + (state3, a$1) => done(state3, $7(a$1)) + )); + } +))); +const parseExpr2$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => (state1, more, resume, done) => parseExpr3$lazy()( + state1, + more, + resume, + (state2, a) => more(v1 => PureScript$dCST$dParser$dMonad.many((state1$1, more$1, resume$1, done$1) => parseTickExpr( + state1$1, + more$1, + resume$1, + (state2$1, a$1) => { + const $14 = Data$dTuple.Tuple(a$1); + return more$1(v2 => parseExpr3$lazy()(state2$1, more$1, resume$1, (state3, a$2) => done$1(state3, $14(a$2)))); + } + ))( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => done( + state2$1, + (() => { + if (a$1.length > 0) { return PureScript$dCST$dTypes.$Expr("ExprInfix", a, a$1); } + return a; + })() + )) + )) +))); +const parseExpr1$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => (state1, more, resume, done) => parseExpr2$lazy()( + state1, + more, + resume, + (state2, a) => more(v1 => PureScript$dCST$dParser$dMonad.many((state1$1, more$1, resume$1, done$1) => parseQualifiedOperator( + state1$1, + more$1, + resume$1, + (state2$1, a$1) => { + const $14 = Data$dTuple.Tuple(a$1); + return more$1(v2 => parseExpr2$lazy()(state2$1, more$1, resume$1, (state3, a$2) => done$1(state3, $14(a$2)))); + } + ))( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => done( + state2$1, + (() => { + if (a$1.length > 0) { return PureScript$dCST$dTypes.$Expr("ExprOp", a, a$1); } + return a; + })() + )) + )) +))); +const parseExpr$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => (state1, more, resume, done) => parseExpr1$lazy()( + state1, + more, + resume, + (state2, a) => more(v1 => { + const $8 = PureScript$dCST$dTypes.ExprTyped(a); + return tokDoubleColon( + (() => { + if (state2.consumed) { return {consumed: false, errors: state2.errors, stream: state2.stream}; } + return state2; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return done(state2, a); + }, + (state2$1, a$1) => { + const $11 = $8(a$1); + return more(v2 => parseType( + state2$1, + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return done(state2, a); + }, + (state3, a$2) => done(state3, $11(a$2)) + )); + } + ); + }) +))); +const parseDoStatement$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => { + const $1 = layoutNonEmpty(recoverIndent(PureScript$dCST$dTypes.LetBindingError)(parseLetBinding$lazy())); + return (state1, more, resume, done) => { + const $6 = (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + const $8 = (state3$1, error$1) => { + if (state3$1.consumed) { return resume(state3$1, error$1); } + return parseExpr$lazy()(state1, more, resume, (state2, a) => done(state2, PureScript$dCST$dTypes.$DoStatement("DoDiscard", a))); + }; + const $9 = (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(); + return parseBinder( + $9, + more, + (state2, error$1) => $8({consumed: $9.consumed, errors: state2.errors, stream: state2.stream}, error$1), + (state2, a) => { + const $12 = Data$dTuple.Tuple(a); + return more(v2 => tokLeftArrow( + state2, + more, + (state2$1, error$1) => $8({consumed: $9.consumed, errors: state2$1.errors, stream: state2$1.stream}, error$1), + (state3$1, a$1) => { + const $16 = $12(a$1); + const $17 = PureScript$dCST$dTypes.DoBind($16._1)($16._2); + return more(v2$1 => parseExpr$lazy()(state3$1, more, $8, (state3$2, a$2) => done(state3$2, $17(a$2)))); + } + )); + } + ); + }; + return tokKeyword("let")( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + $6, + (state2, a) => { + const $9 = PureScript$dCST$dTypes.DoLet(a); + return more(v2 => $1(state2, more, $6, (state3, a$1) => done(state3, $9(a$1)))); + } + ); + }; +})); +const parseCaseBranches$lazy = /* #__PURE__ */ $runtime.binding(() => PureScript$dCST$dParser$dMonad.lazyParser.defer(v => layoutNonEmpty((() => { + const $1 = separated(tokComma)(parseBinder1); + const $2 = parseGuarded(tokRightArrow); + return (state1, more, resume, done) => $1( + state1, + more, + resume, + (state2, a) => { + const $9 = Data$dTuple.Tuple(a); + return more(v2 => $2(state2, more, resume, (state3, a$1) => done(state3, $9(a$1)))); + } + ); +})()))); +const parseWhere = /* #__PURE__ */ parseWhere$lazy(); +const parseTickExpr1 = /* #__PURE__ */ parseTickExpr1$lazy(); +const parseLetBinding = /* #__PURE__ */ parseLetBinding$lazy(); +const parseExprAtom = /* #__PURE__ */ parseExprAtom$lazy(); +const parseExpr7 = /* #__PURE__ */ parseExpr7$lazy(); +const parseExpr6 = /* #__PURE__ */ parseExpr6$lazy(); +const parseExpr5 = /* #__PURE__ */ parseExpr5$lazy(); +const parseExpr4 = /* #__PURE__ */ parseExpr4$lazy(); +const parseExpr3 = /* #__PURE__ */ parseExpr3$lazy(); +const parseExpr2 = /* #__PURE__ */ parseExpr2$lazy(); +const parseExpr1 = /* #__PURE__ */ parseExpr1$lazy(); +const parseExpr = /* #__PURE__ */ parseExpr$lazy(); +const parseDoStatement = /* #__PURE__ */ parseDoStatement$lazy(); +const parseCaseBranches = /* #__PURE__ */ parseCaseBranches$lazy(); +const parseDeclValue1 = name => (state1, more, resume, done) => PureScript$dCST$dParser$dMonad.many(parseBinderAtom)( + state1, + more, + resume, + (state2, a) => more(v1 => parseGuarded(tokEquals)( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => done(state2$1, PureScript$dCST$dTypes.$Declaration("DeclValue", {name: name, binders: a, guarded: a$1}))) + )) +); +const parseDeclValue = (state1, more, resume, done) => parseIdent( + state1, + more, + resume, + (state2, a) => more(v1 => parseDeclSignature(a)( + (() => { + if (state2.consumed) { return {consumed: false, errors: state2.errors, stream: state2.stream}; } + return state2; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return parseDeclValue1(a)(state2, more, resume, done); + }, + done + )) +); +const parseInstanceBindingName = name => (state1, more, resume, done) => PureScript$dCST$dParser$dMonad.many(parseBinderAtom)( + state1, + more, + resume, + (state2, a) => more(v1 => parseGuarded(tokEquals)( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => done(state2$1, PureScript$dCST$dTypes.$InstanceBinding("InstanceBindingName", {name: name, binders: a, guarded: a$1}))) + )) +); +const parseInstanceBinding = (state1, more, resume, done) => parseIdent( + state1, + more, + resume, + (state2, a) => more(v1 => parseInstanceBindingSignature(a)( + (() => { + if (state2.consumed) { return {consumed: false, errors: state2.errors, stream: state2.stream}; } + return state2; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return parseInstanceBindingName(a)(state2, more, resume, done); + }, + done + )) +); +const parseInstance = (state1, more, resume, done) => tokKeyword("instance")( + state1, + more, + resume, + (state2, a) => more(v1 => PureScript$dCST$dParser$dMonad.optional(parseInstanceName)( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => PureScript$dCST$dParser$dMonad.optional((() => { + const $10 = parseClassConstraints(parseType3); + return (state1$1, more$1, resume$1, done$1) => $10( + state1$1, + more$1, + (state2$2, error) => resume$1({consumed: state1$1.consumed, errors: state2$2.errors, stream: state2$2.stream}, error), + (state2$2, a$2) => { + const $17 = Data$dTuple.Tuple(a$2); + return more$1(v2 => tokRightFatArrow( + state2$2, + more$1, + (state2$3, error) => resume$1({consumed: state1$1.consumed, errors: state2$3.errors, stream: state2$3.stream}, error), + (state3, a$3) => done$1(state3, $17(a$3)) + )); + } + ); + })())( + state2$1, + more, + resume, + (state2$2, a$2) => more(v1$2 => parseQualifiedProper( + state2$2, + more, + resume, + (state2$3, a$3) => more(v1$3 => PureScript$dCST$dParser$dMonad.many(parseTypeAtom)( + state2$3, + more, + resume, + (state2$4, a$4) => more(v1$4 => PureScript$dCST$dParser$dMonad.optional((() => { + const $19 = layoutNonEmpty(parseInstanceBinding); + return (state1$1, more$1, resume$1, done$1) => tokKeyword("where")( + state1$1, + more$1, + resume$1, + (state2$5, a$5) => { + const $26 = Data$dTuple.Tuple(a$5); + return more$1(v2 => $19(state2$5, more$1, resume$1, (state3, a$6) => done$1(state3, $26(a$6)))); + } + ); + })())(state2$4, more, resume, (state2$5, a$5) => more(v1$5 => done(state2$5, {head: {keyword: a, name: a$1, constraints: a$2, className: a$3, types: a$4}, body: a$5})))) + )) + )) + )) + )) +); +const parseDeclInstanceChain = /* #__PURE__ */ (() => { + const $0 = separated(parseInstanceChainSeparator)(parseInstance); + return (state1, more, resume, done) => $0(state1, more, resume, (state2, a) => done(state2, PureScript$dCST$dTypes.$Declaration("DeclInstanceChain", a))); +})(); +const parseDeclClass1 = keyword => { + const $1 = PureScript$dCST$dParser$dMonad.optional((() => { + const $1 = parseClassConstraints(parseType5); + return (state1, more, resume, done) => $1( + state1, + more, + (state2, error) => resume({consumed: state1.consumed, errors: state2.errors, stream: state2.stream}, error), + (state2, a) => { + const $8 = Data$dTuple.Tuple(a); + return more(v2 => tokLeftFatArrow( + state2, + more, + (state2$1, error) => resume({consumed: state1.consumed, errors: state2$1.errors, stream: state2$1.stream}, error), + (state3, a$1) => done(state3, $8(a$1)) + )); + } + ); + })()); + return (state1, more, resume, done) => $1( + state1, + more, + resume, + (state2, a) => more(v1 => parseProper( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => PureScript$dCST$dParser$dMonad.many(parseTypeVarBinding)( + state2$1, + more, + resume, + (state2$2, a$2) => more(v1$2 => PureScript$dCST$dParser$dMonad.optional((() => { + const $15 = separated(tokComma)(parseFundep); + return (state1$1, more$1, resume$1, done$1) => tokPipe( + state1$1, + more$1, + resume$1, + (state2$3, a$3) => { + const $22 = Data$dTuple.Tuple(a$3); + return more$1(v2 => $15(state2$3, more$1, resume$1, (state3, a$4) => done$1(state3, $22(a$4)))); + } + ); + })())( + state2$2, + more, + resume, + (state2$3, a$3) => more(v1$3 => PureScript$dCST$dParser$dMonad.optional((() => { + const $18 = layoutNonEmpty(parseClassMember); + return (state1$1, more$1, resume$1, done$1) => tokKeyword("where")( + state1$1, + more$1, + resume$1, + (state2$4, a$4) => { + const $25 = Data$dTuple.Tuple(a$4); + return more$1(v2 => $18(state2$4, more$1, resume$1, (state3, a$5) => done$1(state3, $25(a$5)))); + } + ); + })())( + state2$3, + more, + resume, + (state2$4, a$4) => more(v1$4 => done(state2$4, PureScript$dCST$dTypes.$Declaration("DeclClass", {keyword: keyword, super: a, name: a$1, vars: a$2, fundeps: a$3}, a$4))) + )) + )) + )) + )) + ); +}; +const parseDeclClass = (state1, more, resume, done) => tokKeyword("class")( + state1, + more, + resume, + (state2, a) => more(v1 => { + const $7 = parseDeclClass1(a); + return parseDeclClassSignature(a)( + (() => { + if (state2.consumed) { return {consumed: false, errors: state2.errors, stream: state2.stream}; } + return state2; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return $7(state2, more, resume, done); + }, + done + ); + }) +); +const parseDeclData1 = keyword => name => (state1, more, resume, done) => PureScript$dCST$dParser$dMonad.many(parseTypeVarBinding)( + state1, + more, + resume, + (state2, a) => more(v1 => PureScript$dCST$dParser$dMonad.optional((() => { + const $9 = separated(tokPipe)(parseDataCtor); + return (state1$1, more$1, resume$1, done$1) => tokEquals( + state1$1, + more$1, + resume$1, + (state2$1, a$1) => { + const $16 = Data$dTuple.Tuple(a$1); + return more$1(v2 => $9(state2$1, more$1, resume$1, (state3, a$2) => done$1(state3, $16(a$2)))); + } + ); + })())(state2, more, resume, (state2$1, a$1) => more(v1$1 => done(state2$1, PureScript$dCST$dTypes.$Declaration("DeclData", {keyword: keyword, name: name, vars: a}, a$1))))) +); +const parseDeclData = (state1, more, resume, done) => tokKeyword("data")( + state1, + more, + resume, + (state2, a) => more(v1 => parseProper( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => parseDeclKindSignature(a)(a$1)( + (() => { + if (state2$1.consumed) { return {consumed: false, errors: state2$1.errors, stream: state2$1.stream}; } + return state2$1; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return parseDeclData1(a)(a$1)(state2$1, more, resume, done); + }, + done + )) + )) +); +const parseDeclNewtype1 = keyword => name => (state1, more, resume, done) => PureScript$dCST$dParser$dMonad.many(parseTypeVarBinding)( + state1, + more, + resume, + (state2, a) => more(v1 => tokEquals( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => parseProper( + state2$1, + more, + resume, + (state2$2, a$2) => more(v1$2 => parseTypeAtom( + state2$2, + more, + resume, + (state2$3, a$3) => more(v1$3 => done(state2$3, PureScript$dCST$dTypes.$Declaration("DeclNewtype", {keyword: keyword, name: name, vars: a}, a$1, a$2, a$3))) + )) + )) + )) +); +const parseDeclNewtype = (state1, more, resume, done) => tokKeyword("newtype")( + state1, + more, + resume, + (state2, a) => more(v1 => parseProper( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => parseDeclKindSignature(a)(a$1)( + (() => { + if (state2$1.consumed) { return {consumed: false, errors: state2$1.errors, stream: state2$1.stream}; } + return state2$1; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return parseDeclNewtype1(a)(a$1)(state2$1, more, resume, done); + }, + done + )) + )) +); +const parseDeclType2 = keyword => name => (state1, more, resume, done) => PureScript$dCST$dParser$dMonad.many(parseTypeVarBinding)( + state1, + more, + resume, + (state2, a) => more(v1 => tokEquals( + state2, + more, + resume, + (state2$1, a$1) => more(v1$1 => parseType( + state2$1, + more, + resume, + (state2$2, a$2) => more(v1$2 => done(state2$2, PureScript$dCST$dTypes.$Declaration("DeclType", {keyword: keyword, name: name, vars: a}, a$1, a$2))) + )) + )) +); +const parseDeclType1 = keyword => (state1, more, resume, done) => parseProper( + state1, + more, + resume, + (state2, a) => more(v1 => parseDeclKindSignature(keyword)(a)( + (() => { + if (state2.consumed) { return {consumed: false, errors: state2.errors, stream: state2.stream}; } + return state2; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return parseDeclType2(keyword)(a)(state2, more, resume, done); + }, + done + )) +); +const parseDeclType = (state1, more, resume, done) => tokKeyword("type")( + state1, + more, + resume, + (state2, a) => more(v1 => parseDeclRole(a)( + (() => { + if (state2.consumed) { return {consumed: false, errors: state2.errors, stream: state2.stream}; } + return state2; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return parseDeclType1(a)(state2, more, resume, done); + }, + done + )) +); +const parseDecl = (state1, more, resume, done) => parseDeclData( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return parseDeclNewtype( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$1, error$1) => { + if (state3$1.consumed) { return resume(state3$1, error$1); } + return parseDeclType( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$2, error$2) => { + if (state3$2.consumed) { return resume(state3$2, error$2); } + return parseDeclClass( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$3, error$3) => { + if (state3$3.consumed) { return resume(state3$3, error$3); } + return parseDeclInstanceChain( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$4, error$4) => { + if (state3$4.consumed) { return resume(state3$4, error$4); } + return parseDeclDerive( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$5, error$5) => { + if (state3$5.consumed) { return resume(state3$5, error$5); } + return parseDeclValue( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$6, error$6) => { + if (state3$6.consumed) { return resume(state3$6, error$6); } + return parseDeclForeign( + (() => { + if (state1.consumed) { return {consumed: false, errors: state1.errors, stream: state1.stream}; } + return state1; + })(), + more, + (state3$7, error$7) => { + if (state3$7.consumed) { return resume(state3$7, error$7); } + return parseDeclFixity(state1, more, resume, done); + }, + done + ); + }, + done + ); + }, + done + ); + }, + done + ); + }, + done + ); + }, + done + ); + }, + done + ); + }, + done +); +const parseModuleDecls = /* #__PURE__ */ PureScript$dCST$dParser$dMonad.many((state1, more, resume, done) => recoverIndent(PureScript$dCST$dTypes.DeclError)(parseDecl)( + state1, + more, + resume, + (state2, a) => more(v2 => tokLayoutSep( + (() => { + if (state2.consumed) { return {consumed: false, errors: state2.errors, stream: state2.stream}; } + return state2; + })(), + more, + (state3, error) => { + if (state3.consumed) { return resume(state3, error); } + return tokLayoutEnd(state2, more, (v1, error$1) => resume(state2, error$1), (v1, value) => done(state2, a)); + }, + (state3, a$1) => done(state3, a) + )) +)); +const parseModuleBody = (state1, more, resume, done) => parseModuleDecls( + state1, + more, + resume, + (state2, a) => more(v2 => tokLayoutEnd( + state2, + more, + resume, + (state3, a$1) => more(v1 => PureScript$dCST$dParser$dMonad.eof( + state3, + more, + resume, + (state2$1, a$2) => more(v1$1 => done(state2$1, {decls: a, trailingComments: a$2._2, end: a$2._1})) + )) + )) +); +const parseModule = (state1, more, resume, done) => parseModuleHeader( + state1, + more, + resume, + (state2, a) => more(v1 => parseModuleBody(state2, more, resume, (state2$1, a$1) => more(v1$1 => done(state2$1, {header: a, body: a$1})))) +); +export { + braces, + delimited, + expect, + expectMap, + layout, + layoutNonEmpty, + many1, + parens, + parseAdo, + parseBadSingleCaseBranch, + parseBadSingleCaseGuarded, + parseBadSingleCaseWhere, + parseBinder, + parseBinder1, + parseBinder2, + parseBinderAtom, + parseBinderConstructor, + parseBinderNegative, + parseBoolean, + parseCase, + parseCaseBranches, + parseChar, + parseClassConstraints, + parseClassMember, + parseDataCtor, + parseDataMembers, + parseDecl, + parseDeclClass, + parseDeclClass1, + parseDeclClassSignature, + parseDeclData, + parseDeclData1, + parseDeclDerive, + parseDeclFixity, + parseDeclForeign, + parseDeclInstanceChain, + parseDeclKindSignature, + parseDeclNewtype, + parseDeclNewtype1, + parseDeclRole, + parseDeclSignature, + parseDeclType, + parseDeclType1, + parseDeclType2, + parseDeclValue, + parseDeclValue1, + parseDo, + parseDoStatement, + parseEmptyRow, + parseExport, + parseExpr, + parseExpr1, + parseExpr2, + parseExpr3, + parseExpr4, + parseExpr5, + parseExpr6, + parseExpr7, + parseExprAtom, + parseFixityKeyword, + parseFixityOp, + parseForall, + parseForeignData, + parseForeignKind, + parseForeignValue, + parseFundep, + parseGuarded, + parseHole, + parseIdent, + parseIdentBinder, + parseIdentBinding, + parseIf, + parseImport, + parseImportDecl, + parseInstance, + parseInstanceBinding, + parseInstanceBindingName, + parseInstanceBindingSignature, + parseInstanceChainSeparator, + parseInstanceName, + parseInt, + parseKindedVar, + parseLabel, + parseLambda, + parseLetBinding, + parseLetBindingName, + parseLetBindingSignature, + parseLetIn, + parseModule, + parseModuleBody, + parseModuleDecls, + parseModuleHeader, + parseModuleImportDecls, + parseModuleName, + parseNumber, + parseOperator, + parseProper, + parseQualifiedIdent, + parseQualifiedIdentOrProper, + parseQualifiedOperator, + parseQualifiedProper, + parseQualifiedSymbol, + parseRecordAccessor, + parseRecordLabeled, + parseRecordUpdate, + parseRecordUpdateBranch, + parseRecordUpdateLeaf, + parseRecordUpdates, + parseRole, + parseRow, + parseRowLabel, + parseRowParen, + parseRowTailParen, + parseSmallInt, + parseString, + parseSymbol, + parseTickExpr, + parseTickExpr1, + parseType, + parseType1, + parseType2, + parseType3, + parseType4, + parseType5, + parseTypeAtom, + parseTypeNegative, + parseTypeParen, + parseTypeParens, + parseTypeVarBinding, + parseTypeVarKinded, + parseWhere, + recoverIndent, + recoverTokensWhile, + reservedKeywords, + separated, + tokAt, + tokBackslash, + tokComma, + tokDot, + tokDoubleColon, + tokEquals, + tokForall, + tokKeyOperator, + tokKeySymbol, + tokKeyword, + tokLayoutEnd, + tokLayoutSep, + tokLayoutStart, + tokLeftArrow, + tokLeftBrace, + tokLeftFatArrow, + tokLeftParen, + tokLeftSquare, + tokPipe, + tokQualifiedKeyword, + tokRightArrow, + tokRightBrace, + tokRightFatArrow, + tokRightParen, + tokRightSquare, + tokSymbolArrow, + tokTick, + tokUnderscore +}; diff --git a/.storybook/purescript-indexer/output-es/PureScript.CST.Print/index.js b/.storybook/purescript-indexer/output-es/PureScript.CST.Print/index.js new file mode 100644 index 0000000..d07d0fe --- /dev/null +++ b/.storybook/purescript-indexer/output-es/PureScript.CST.Print/index.js @@ -0,0 +1,133 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dMonoid from "../Data.Monoid/index.js"; +import * as Data$dVoid from "../Data.Void/index.js"; +const $TokenOption = tag => ({tag}); +const power = /* #__PURE__ */ Data$dMonoid.power(Data$dMonoid.monoidString); +const foldMap = /* #__PURE__ */ (() => Data$dFoldable.foldableArray.foldMap(Data$dMonoid.monoidString))(); +const ShowLayout = /* #__PURE__ */ $TokenOption("ShowLayout"); +const HideLayout = /* #__PURE__ */ $TokenOption("HideLayout"); +const printQualified = moduleName => name => { + if (moduleName.tag === "Nothing") { return name; } + if (moduleName.tag === "Just") { return moduleName._1 + ("." + name); } + $runtime.fail(); +}; +const printTokenWithOption = option => v => { + if (v.tag === "TokLeftParen") { return "("; } + if (v.tag === "TokRightParen") { return ")"; } + if (v.tag === "TokLeftBrace") { return "{"; } + if (v.tag === "TokRightBrace") { return "}"; } + if (v.tag === "TokLeftSquare") { return "["; } + if (v.tag === "TokRightSquare") { return "]"; } + if (v.tag === "TokLeftArrow") { + if (v._1.tag === "ASCII") { return "<-"; } + if (v._1.tag === "Unicode") { return "←"; } + $runtime.fail(); + } + if (v.tag === "TokRightArrow") { + if (v._1.tag === "ASCII") { return "->"; } + if (v._1.tag === "Unicode") { return "→"; } + $runtime.fail(); + } + if (v.tag === "TokRightFatArrow") { + if (v._1.tag === "ASCII") { return "=>"; } + if (v._1.tag === "Unicode") { return "⇒"; } + $runtime.fail(); + } + if (v.tag === "TokDoubleColon") { + if (v._1.tag === "ASCII") { return "::"; } + if (v._1.tag === "Unicode") { return "∷"; } + $runtime.fail(); + } + if (v.tag === "TokForall") { + if (v._1.tag === "ASCII") { return "forall"; } + if (v._1.tag === "Unicode") { return "∀"; } + $runtime.fail(); + } + if (v.tag === "TokEquals") { return "="; } + if (v.tag === "TokPipe") { return "|"; } + if (v.tag === "TokTick") { return "`"; } + if (v.tag === "TokDot") { return "."; } + if (v.tag === "TokComma") { return ","; } + if (v.tag === "TokUnderscore") { return "_"; } + if (v.tag === "TokBackslash") { return "\\"; } + if (v.tag === "TokAt") { return "@"; } + if (v.tag === "TokLowerName") { + if (v._1.tag === "Nothing") { return v._2; } + if (v._1.tag === "Just") { return v._1._1 + ("." + v._2); } + $runtime.fail(); + } + if (v.tag === "TokUpperName") { + if (v._1.tag === "Nothing") { return v._2; } + if (v._1.tag === "Just") { return v._1._1 + ("." + v._2); } + $runtime.fail(); + } + if (v.tag === "TokOperator") { + if (v._1.tag === "Nothing") { return v._2; } + if (v._1.tag === "Just") { return v._1._1 + ("." + v._2); } + $runtime.fail(); + } + if (v.tag === "TokSymbolName") { + const $2 = "(" + (v._2 + ")"); + if (v._1.tag === "Nothing") { return $2; } + if (v._1.tag === "Just") { return v._1._1 + ("." + $2); } + $runtime.fail(); + } + if (v.tag === "TokSymbolArrow") { + if (v._1.tag === "ASCII") { return "(->)"; } + if (v._1.tag === "Unicode") { return "(→)"; } + $runtime.fail(); + } + if (v.tag === "TokHole") { return "?" + v._1; } + if (v.tag === "TokChar") { return "'" + (v._1 + "'"); } + if (v.tag === "TokString") { return "\"" + (v._1 + "\""); } + if (v.tag === "TokRawString") { return "\"\"\"" + (v._1 + "\"\"\""); } + if (v.tag === "TokInt") { return v._1; } + if (v.tag === "TokNumber") { return v._1; } + if (v.tag === "TokLayoutStart") { + if (option.tag === "ShowLayout") { return "{"; } + if (option.tag === "HideLayout") { return ""; } + $runtime.fail(); + } + if (v.tag === "TokLayoutSep") { + if (option.tag === "ShowLayout") { return ";"; } + if (option.tag === "HideLayout") { return ""; } + $runtime.fail(); + } + if (v.tag === "TokLayoutEnd") { + if (option.tag === "ShowLayout") { return "}"; } + if (option.tag === "HideLayout") { return ""; } + $runtime.fail(); + } + $runtime.fail(); +}; +const printToken = /* #__PURE__ */ printTokenWithOption(HideLayout); +const printLineFeed = v => { + if (v.tag === "LF") { return "\n"; } + if (v.tag === "CRLF") { return "\r\n"; } + $runtime.fail(); +}; +const printComment = k => v => { + if (v.tag === "Comment") { return v._1; } + if (v.tag === "Space") { return power(" ")(v._1); } + if (v.tag === "Line") { return power(k(v._1))(v._2); } + $runtime.fail(); +}; +const printSourceTokenWithOption = option => tok => foldMap(printComment(printLineFeed))(tok.leadingComments) + ( + printTokenWithOption(option)(tok.value) + foldMap(printComment(Data$dVoid.absurd))(tok.trailingComments) +); +const printSourceToken = /* #__PURE__ */ printSourceTokenWithOption(HideLayout); +export { + $TokenOption, + HideLayout, + ShowLayout, + foldMap, + power, + printComment, + printLineFeed, + printQualified, + printSourceToken, + printSourceTokenWithOption, + printToken, + printTokenWithOption +}; diff --git a/.storybook/purescript-indexer/output-es/PureScript.CST.Range.TokenList/index.js b/.storybook/purescript-indexer/output-es/PureScript.CST.Range.TokenList/index.js new file mode 100644 index 0000000..b96a05a --- /dev/null +++ b/.storybook/purescript-indexer/output-es/PureScript.CST.Range.TokenList/index.js @@ -0,0 +1,234 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dST$dInternal from "../Control.Monad.ST.Internal/index.js"; +import * as Data$dArray$dST from "../Data.Array.ST/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +const $TokenList = (tag, _1, _2, _3) => ({tag, _1, _2, _3}); +const $UnconsToken = (tag, _1, _2) => ({tag, _1, _2}); +const TokenEmpty = /* #__PURE__ */ $TokenList("TokenEmpty"); +const TokenCons = value0 => value1 => $TokenList("TokenCons", value0, value1); +const TokenWrap = value0 => value1 => value2 => $TokenList("TokenWrap", value0, value1, value2); +const TokenAppend = value0 => value1 => $TokenList("TokenAppend", value0, value1); +const TokenDefer = value0 => $TokenList("TokenDefer", value0); +const TokenArray = value0 => value1 => value2 => $TokenList("TokenArray", value0, value1, value2); +const UnconsDone = /* #__PURE__ */ $UnconsToken("UnconsDone"); +const UnconsMore = value0 => value1 => $UnconsToken("UnconsMore", value0, value1); +const wrap = TokenWrap; +const singleton = a => $TokenList("TokenCons", a, TokenEmpty); +const semigroupTokenList = { + append: v => v1 => { + if (v1.tag === "TokenEmpty") { return v; } + if (v.tag === "TokenEmpty") { return v1; } + return $TokenList("TokenAppend", v, v1); + } +}; +const $unconuncon = ($unconuncon$b$copy, $unconuncon$a0$copy, $unconuncon$a1$copy, $unconuncon$a2$copy, $unconuncon$a3$copy) => { + let $unconuncon$b = $unconuncon$b$copy; + let $unconuncon$a0 = $unconuncon$a0$copy; + let $unconuncon$a1 = $unconuncon$a1$copy; + let $unconuncon$a2 = $unconuncon$a2$copy; + let $unconuncon$a3 = $unconuncon$a3$copy; + let $unconuncon$c = true; + let $unconuncon$r; + while ($unconuncon$c) { + if ($unconuncon$b === 0) { + const done = $unconuncon$a0, more = $unconuncon$a1, l = $unconuncon$a2, r = $unconuncon$a3; + if (l.tag === "TokenEmpty") { + $unconuncon$b = 1; + $unconuncon$a0 = done; + $unconuncon$a1 = more; + $unconuncon$a2 = r; + continue; + } + if (l.tag === "TokenCons") { + $unconuncon$c = false; + $unconuncon$r = more(l._1)((() => { + if (r.tag === "TokenEmpty") { return l._2; } + if (l._2.tag === "TokenEmpty") { return r; } + return $TokenList("TokenAppend", l._2, r); + })()); + continue; + } + if (l.tag === "TokenWrap") { + $unconuncon$c = false; + $unconuncon$r = more(l._1)((() => { + if (l._2.tag === "TokenEmpty") { return $TokenList("TokenCons", l._3, r); } + return $TokenList("TokenAppend", l._2, $TokenList("TokenCons", l._3, r)); + })()); + continue; + } + if (l.tag === "TokenAppend") { + $unconuncon$b = 0; + $unconuncon$a0 = done; + $unconuncon$a1 = more; + $unconuncon$a2 = l._1; + $unconuncon$a3 = (() => { + if (r.tag === "TokenEmpty") { return l._2; } + if (l._2.tag === "TokenEmpty") { return r; } + return $TokenList("TokenAppend", l._2, r); + })(); + continue; + } + if (l.tag === "TokenDefer") { + $unconuncon$b = 0; + $unconuncon$a0 = done; + $unconuncon$a1 = more; + $unconuncon$a2 = l._1(Data$dUnit.unit); + $unconuncon$a3 = r; + continue; + } + if (l.tag === "TokenArray") { + $unconuncon$c = false; + $unconuncon$r = more(l._3[l._1])((() => { + if (l._1 === l._2) { return r; } + const $4 = $TokenList("TokenArray", l._1 + 1 | 0, l._2, l._3); + if (r.tag === "TokenEmpty") { return $4; } + if ($4.tag === "TokenEmpty") { return r; } + return $TokenList("TokenAppend", $4, r); + })()); + continue; + } + $runtime.fail(); + } + if ($unconuncon$b === 1) { + const done = $unconuncon$a0, more = $unconuncon$a1, v = $unconuncon$a2; + if (v.tag === "TokenEmpty") { + $unconuncon$c = false; + $unconuncon$r = done; + continue; + } + if (v.tag === "TokenCons") { + $unconuncon$c = false; + $unconuncon$r = more(v._1)(v._2); + continue; + } + if (v.tag === "TokenWrap") { + $unconuncon$c = false; + $unconuncon$r = more(v._1)((() => { + if (v._2.tag === "TokenEmpty") { return $TokenList("TokenCons", v._3, TokenEmpty); } + return $TokenList("TokenAppend", v._2, $TokenList("TokenCons", v._3, TokenEmpty)); + })()); + continue; + } + if (v.tag === "TokenAppend") { + $unconuncon$b = 0; + $unconuncon$a0 = done; + $unconuncon$a1 = more; + $unconuncon$a2 = v._1; + $unconuncon$a3 = v._2; + continue; + } + if (v.tag === "TokenDefer") { + $unconuncon$b = 1; + $unconuncon$a0 = done; + $unconuncon$a1 = more; + $unconuncon$a2 = v._1(Data$dUnit.unit); + continue; + } + if (v.tag === "TokenArray") { + $unconuncon$c = false; + $unconuncon$r = more(v._3[v._1])((() => { + if (v._1 === v._2) { return TokenEmpty; } + return $TokenList("TokenArray", v._1 + 1 | 0, v._2, v._3); + })()); + continue; + } + $runtime.fail(); + } + }; + return $unconuncon$r; +}; +const uncons2 = done => more => l => r => $unconuncon(0, done, more, l, r); +const uncons$p = done => more => v => $unconuncon(1, done, more, v); +const toUnfoldable = dictUnfoldable => dictUnfoldable.unfoldr(uncons$p(Data$dMaybe.Nothing)(a => b => Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(a, b)))); +const uncons = /* #__PURE__ */ uncons$p(UnconsDone)(UnconsMore); +const toArray = init => Control$dMonad$dST$dInternal.run(() => { + const arr = Data$dArray$dST.new(); + const cur = {value: init}; + const $$continue = {value: true}; + Control$dMonad$dST$dInternal.while(() => $$continue.value)(() => { + const tree = cur.value; + const v = uncons$p(UnconsDone)(UnconsMore)(tree); + if (v.tag === "UnconsDone") { + $$continue.value = false; + return Data$dUnit.unit; + } + if (v.tag === "UnconsMore") { + cur.value = v._2; + Data$dArray$dST.pushAll([v._1])(arr)(); + return Data$dUnit.unit; + } + $runtime.fail(); + })(); + return Data$dArray$dST.unsafeFreeze(arr)(); +}); +const monoidTokenList = {mempty: TokenEmpty, Semigroup0: () => semigroupTokenList}; +const lazyTokenList = {defer: TokenDefer}; +const head = head$a0$copy => { + let head$a0 = head$a0$copy, head$c = true, head$r; + while (head$c) { + const v = head$a0; + if (v.tag === "TokenEmpty") { + head$c = false; + head$r = Data$dMaybe.Nothing; + continue; + } + if (v.tag === "TokenCons") { + head$c = false; + head$r = Data$dMaybe.$Maybe("Just", v._1); + continue; + } + if (v.tag === "TokenDefer") { + head$a0 = v._1(Data$dUnit.unit); + continue; + } + if (v.tag === "TokenWrap") { + head$c = false; + head$r = Data$dMaybe.$Maybe("Just", v._1); + continue; + } + if (v.tag === "TokenAppend") { + head$a0 = v._1; + continue; + } + if (v.tag === "TokenArray") { + head$c = false; + head$r = Data$dMaybe.$Maybe("Just", v._3[v._1]); + continue; + } + $runtime.fail(); + }; + return head$r; +}; +const fromArray = arr => { + const len = arr.length; + if (len === 0) { return TokenEmpty; } + return $TokenList("TokenArray", 0, len - 1 | 0, arr); +}; +const cons = TokenCons; +export { + $TokenList, + $UnconsToken, + TokenAppend, + TokenArray, + TokenCons, + TokenDefer, + TokenEmpty, + TokenWrap, + UnconsDone, + UnconsMore, + cons, + fromArray, + head, + lazyTokenList, + monoidTokenList, + semigroupTokenList, + singleton, + toArray, + toUnfoldable, + uncons, + uncons$p, + uncons2, + wrap +}; diff --git a/.storybook/purescript-indexer/output-es/PureScript.CST.Range/index.js b/.storybook/purescript-indexer/output-es/PureScript.CST.Range/index.js new file mode 100644 index 0000000..85665ce --- /dev/null +++ b/.storybook/purescript-indexer/output-es/PureScript.CST.Range/index.js @@ -0,0 +1,2178 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dArray from "../Data.Array/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dVoid from "../Data.Void/index.js"; +import * as PureScript$dCST$dRange$dTokenList from "../PureScript.CST.Range.TokenList/index.js"; +const foldMap = /* #__PURE__ */ (() => Data$dFoldable.foldableArray.foldMap(PureScript$dCST$dRange$dTokenList.monoidTokenList))(); +const foldMap1 = v => v1 => { + if (v1.tag === "Nothing") { return PureScript$dCST$dRange$dTokenList.TokenEmpty; } + if (v1.tag === "Just") { return v(v1._1); } + $runtime.fail(); +}; +const foldMap2 = /* #__PURE__ */ (() => Data$dFoldable.foldableArray.foldMap(PureScript$dCST$dRange$dTokenList.monoidTokenList))(); +const tokensOfVoid = {tokensOf: Data$dVoid.absurd}; +const tokensOfRecoveredError = { + tokensOf: v => { + const len = v.tokens.length; + if (len === 0) { return PureScript$dCST$dRange$dTokenList.TokenEmpty; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenArray", 0, len - 1 | 0, v.tokens); + } +}; +const tokensOfQualifiedName = {tokensOf: v => PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v.token, PureScript$dCST$dRange$dTokenList.TokenEmpty)}; +const tokensOfName = {tokensOf: v => PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v.token, PureScript$dCST$dRange$dTokenList.TokenEmpty)}; +const tokensOf = dict => dict.tokensOf; +const tokensOfArray = dictTokensOf => ({tokensOf: foldMap(a => PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v => dictTokensOf.tokensOf(a)))}); +const tokensOfFixityOp = { + tokensOf: v => { + if (v.tag === "FixityValue") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty), + PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, PureScript$dCST$dRange$dTokenList.TokenEmpty), + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._3.token, PureScript$dCST$dRange$dTokenList.TokenEmpty) + ) + ); + } + if (v.tag === "FixityType") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v._1, + PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2.token, PureScript$dCST$dRange$dTokenList.TokenEmpty), + PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._3, PureScript$dCST$dRange$dTokenList.TokenEmpty), + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._4.token, PureScript$dCST$dRange$dTokenList.TokenEmpty) + ) + ) + ); + } + $runtime.fail(); + } +}; +const tokensOfLabeled = dictTokensOf => dictTokensOf1 => ( + { + tokensOf: v => { + const $3 = dictTokensOf.tokensOf(v.label); + const $4 = dictTokensOf1.tokensOf(v.value); + const $5 = (() => { + if ($4.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v.separator, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v.separator, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $4 + ); + })(); + if ($5.tag === "TokenEmpty") { return $3; } + if ($3.tag === "TokenEmpty") { return $5; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $3, $5); + } + } +); +const tokensOfMaybe = dictTokensOf => ({tokensOf: foldMap1(dictTokensOf.tokensOf)}); +const tokensOfNonEmptyArray = dictTokensOf => ({tokensOf: foldMap2(a => PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v => dictTokensOf.tokensOf(a)))}); +const tokensOf4 = /* #__PURE__ */ foldMap2(a => PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v => PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", a.token, PureScript$dCST$dRange$dTokenList.TokenEmpty) +)); +const tokensOfClassFundep = { + tokensOf: v => { + if (v.tag === "FundepDetermined") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1, tokensOf4(v._2)); } + if (v.tag === "FundepDetermines") { + const $1 = tokensOf4(v._1); + const $2 = tokensOf4(v._3); + const $3 = (() => { + if ($2.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $2 + ); + })(); + if ($3.tag === "TokenEmpty") { return $1; } + if ($1.tag === "TokenEmpty") { return $3; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $1, $3); + } + $runtime.fail(); + } +}; +const tokensOfRecordLabeled = dictTokensOf => ( + { + tokensOf: v => { + if (v.tag === "RecordPun") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "RecordField") { + const $2 = PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v1 => PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, dictTokensOf.tokensOf(v._3))); + if ($2.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $2 + ); + } + $runtime.fail(); + } + } +); +const tokensOfSeparated = dictTokensOf => ( + { + tokensOf: v => { + const $2 = dictTokensOf.tokensOf(v.head); + const $3 = PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => foldMap(v2 => PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v2._1, + PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v3 => dictTokensOf.tokensOf(v2._2)) + ))(v.tail) + ); + if ($3.tag === "TokenEmpty") { return $2; } + if ($2.tag === "TokenEmpty") { return $3; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $2, $3); + } + } +); +const tokensOfSeparated1 = /* #__PURE__ */ tokensOfSeparated(tokensOfName); +const tokensOf6 = /* #__PURE__ */ (() => tokensOfSeparated(tokensOfClassFundep).tokensOf)(); +const tokensOfTuple = dictTokensOf => dictTokensOf1 => ( + { + tokensOf: v => { + const $3 = dictTokensOf.tokensOf(v._1); + const $4 = dictTokensOf1.tokensOf(v._2); + if ($4.tag === "TokenEmpty") { return $3; } + if ($3.tag === "TokenEmpty") { return $4; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $3, $4); + } + } +); +const tokensOfWrapped = dictTokensOf => ( + { + tokensOf: v => PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenWrap", + v.open, + PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v1 => dictTokensOf.tokensOf(v.value)), + v.close + ) + } +); +const tokensOf7 = /* #__PURE__ */ (() => tokensOfWrapped({tokensOf: foldMap1(tokensOfSeparated1.tokensOf)}).tokensOf)(); +const tokensOfDataMembers = { + tokensOf: v => { + if (v.tag === "DataAll") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "DataEnumerated") { return tokensOf7(v._1); } + $runtime.fail(); + } +}; +const tokensOfExport = dictTokensOf => ( + { + tokensOf: v => { + if (v.tag === "ExportValue") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "ExportOp") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "ExportType") { + const $2 = (() => { + if (v._2.tag === "Nothing") { return PureScript$dCST$dRange$dTokenList.TokenEmpty; } + if (v._2.tag === "Just") { + if (v._2._1.tag === "DataAll") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2._1._1, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v._2._1.tag === "DataEnumerated") { return tokensOf7(v._2._1._1); } + $runtime.fail(); + } + $runtime.fail(); + })(); + if ($2.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $2 + ); + } + if (v.tag === "ExportTypeOp") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v._1, + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2.token, PureScript$dCST$dRange$dTokenList.TokenEmpty) + ); + } + if (v.tag === "ExportClass") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v._1, + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2.token, PureScript$dCST$dRange$dTokenList.TokenEmpty) + ); + } + if (v.tag === "ExportModule") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v._1, + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2.token, PureScript$dCST$dRange$dTokenList.TokenEmpty) + ); + } + if (v.tag === "ExportError") { return dictTokensOf.tokensOf(v._1); } + $runtime.fail(); + } + } +); +const tokensOfImport = dictTokensOf => ( + { + tokensOf: v => { + if (v.tag === "ImportValue") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "ImportOp") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "ImportType") { + const $2 = (() => { + if (v._2.tag === "Nothing") { return PureScript$dCST$dRange$dTokenList.TokenEmpty; } + if (v._2.tag === "Just") { + if (v._2._1.tag === "DataAll") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2._1._1, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v._2._1.tag === "DataEnumerated") { return tokensOf7(v._2._1._1); } + $runtime.fail(); + } + $runtime.fail(); + })(); + if ($2.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $2 + ); + } + if (v.tag === "ImportTypeOp") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v._1, + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2.token, PureScript$dCST$dRange$dTokenList.TokenEmpty) + ); + } + if (v.tag === "ImportClass") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v._1, + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2.token, PureScript$dCST$dRange$dTokenList.TokenEmpty) + ); + } + if (v.tag === "ImportError") { return dictTokensOf.tokensOf(v._1); } + $runtime.fail(); + } + } +); +const tokensOfImportDecl = dictTokensOf => { + const tokensOf9 = tokensOfWrapped(tokensOfSeparated(tokensOfImport(dictTokensOf))).tokensOf; + return { + tokensOf: v => PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v.keyword, + PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $4 = (() => { + if (v.names.tag === "Nothing") { return PureScript$dCST$dRange$dTokenList.TokenEmpty; } + if (v.names.tag === "Just") { + const $4 = (() => { + if (v.names._1._1.tag === "Nothing") { return PureScript$dCST$dRange$dTokenList.TokenEmpty; } + if (v.names._1._1.tag === "Just") { + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v.names._1._1._1, PureScript$dCST$dRange$dTokenList.TokenEmpty); + } + $runtime.fail(); + })(); + const $5 = PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v3 => tokensOf9(v.names._1._2)); + if ($5.tag === "TokenEmpty") { return $4; } + if ($4.tag === "TokenEmpty") { return $5; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $4, $5); + } + $runtime.fail(); + })(); + const $5 = (() => { + if (v.qualified.tag === "Nothing") { return PureScript$dCST$dRange$dTokenList.TokenEmpty; } + if (v.qualified.tag === "Just") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v.qualified._1._1, PureScript$dCST$dRange$dTokenList.TokenEmpty), + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v.qualified._1._2.token, PureScript$dCST$dRange$dTokenList.TokenEmpty) + ); + } + $runtime.fail(); + })(); + const $6 = (() => { + if ($5.tag === "TokenEmpty") { return $4; } + if ($4.tag === "TokenEmpty") { return $5; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $4, $5); + })(); + if ($6.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v.module.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v.module.token, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $6 + ); + } + ) + ) + }; +}; +const tokensOfOneOrDelimited = dictTokensOf => { + const tokensOf10 = tokensOfWrapped(tokensOfSeparated(dictTokensOf)).tokensOf; + return { + tokensOf: v => { + if (v.tag === "One") { return dictTokensOf.tokensOf(v._1); } + if (v.tag === "Many") { return tokensOf10(v._1); } + $runtime.fail(); + } + }; +}; +const tokensOfTypeVarBinding = dictTokensOf => ( + { + tokensOf: v => { + if (v.tag === "TypeVarKinded") { return tokensOfWrapped(tokensOfLabeled(tokensOfName)(tokensOfType(dictTokensOf))).tokensOf(v._1); } + if (v.tag === "TypeVarName") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + $runtime.fail(); + } + } +); +const tokensOfType = dictTokensOf => ( + { + tokensOf: v => { + if (v.tag === "TypeVar") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "TypeConstructor") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "TypeWildcard") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "TypeHole") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "TypeString") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "TypeInt") { + const $2 = (() => { + if (v._1.tag === "Nothing") { return PureScript$dCST$dRange$dTokenList.TokenEmpty; } + if (v._1.tag === "Just") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1._1, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + $runtime.fail(); + })(); + if ($2.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + $2, + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, PureScript$dCST$dRange$dTokenList.TokenEmpty) + ); + } + if (v.tag === "TypeRow") { return tokensOfWrapped(tokensOfRow(dictTokensOf)).tokensOf(v._1); } + if (v.tag === "TypeRecord") { return tokensOfWrapped(tokensOfRow(dictTokensOf)).tokensOf(v._1); } + if (v.tag === "TypeForall") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v._1, + PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $3 = tokensOfTypeVarBinding(dictTokensOf); + const $4 = foldMap2(a => PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v$1 => $3.tokensOf(a)))(v._2); + const $5 = tokensOfType(dictTokensOf).tokensOf(v._4); + const $6 = (() => { + if ($5.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._3, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._3, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $5 + ); + })(); + if ($6.tag === "TokenEmpty") { return $4; } + if ($4.tag === "TokenEmpty") { return $6; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $4, $6); + } + ) + ); + } + if (v.tag === "TypeKinded") { + const $2 = tokensOfType(dictTokensOf).tokensOf(v._1); + const $3 = PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $4 = tokensOfType(dictTokensOf).tokensOf(v._3); + if ($4.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $4 + ); + } + ); + if ($3.tag === "TokenEmpty") { return $2; } + if ($2.tag === "TokenEmpty") { return $3; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $2, $3); + } + if (v.tag === "TypeApp") { + const $2 = tokensOfType(dictTokensOf).tokensOf(v._1); + const $3 = PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $4 = tokensOfType(dictTokensOf); + return foldMap2(a => PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v$1 => $4.tokensOf(a)))(v._2); + } + ); + if ($3.tag === "TokenEmpty") { return $2; } + if ($2.tag === "TokenEmpty") { return $3; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $2, $3); + } + if (v.tag === "TypeOp") { + const $2 = tokensOfType(dictTokensOf).tokensOf(v._1); + const $3 = PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => foldMap2(v2 => { + const $5 = tokensOfType(dictTokensOf).tokensOf(v2._2); + if ($5.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v2._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v2._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $5 + ); + })(v._2) + ); + if ($3.tag === "TokenEmpty") { return $2; } + if ($2.tag === "TokenEmpty") { return $3; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $2, $3); + } + if (v.tag === "TypeOpName") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "TypeArrow") { + const $2 = tokensOfType(dictTokensOf).tokensOf(v._1); + const $3 = PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $4 = tokensOfType(dictTokensOf).tokensOf(v._3); + if ($4.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $4 + ); + } + ); + if ($3.tag === "TokenEmpty") { return $2; } + if ($2.tag === "TokenEmpty") { return $3; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $2, $3); + } + if (v.tag === "TypeArrowName") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "TypeConstrained") { + const $2 = tokensOfType(dictTokensOf).tokensOf(v._1); + const $3 = PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $4 = tokensOfType(dictTokensOf).tokensOf(v._3); + if ($4.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $4 + ); + } + ); + if ($3.tag === "TokenEmpty") { return $2; } + if ($2.tag === "TokenEmpty") { return $3; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $2, $3); + } + if (v.tag === "TypeParens") { return tokensOfWrapped(tokensOfType(dictTokensOf)).tokensOf(v._1); } + if (v.tag === "TypeError") { return dictTokensOf.tokensOf(v._1); } + $runtime.fail(); + } + } +); +const tokensOfRow = dictTokensOf => ( + { + tokensOf: v => { + const $2 = tokensOfSeparated(tokensOfLabeled(tokensOfName)(tokensOfType(dictTokensOf))).tokensOf; + const $3 = (() => { + if (v.labels.tag === "Nothing") { return PureScript$dCST$dRange$dTokenList.TokenEmpty; } + if (v.labels.tag === "Just") { return $2(v.labels._1); } + $runtime.fail(); + })(); + const $4 = (() => { + if (v.tail.tag === "Nothing") { return PureScript$dCST$dRange$dTokenList.TokenEmpty; } + if (v.tail.tag === "Just") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v.tail._1._1, tokensOfType(dictTokensOf).tokensOf(v.tail._1._2)); } + $runtime.fail(); + })(); + if ($4.tag === "TokenEmpty") { return $3; } + if ($3.tag === "TokenEmpty") { return $4; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $3, $4); + } + } +); +const tokensOfBinder = dictTokensOf => { + const tokensOf9 = tokensOfType(dictTokensOf).tokensOf; + return { + tokensOf: v => { + if (v.tag === "BinderWildcard") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "BinderVar") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "BinderNamed") { + const $3 = PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, tokensOfBinder(dictTokensOf).tokensOf(v._3)) + ); + if ($3.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $3 + ); + } + if (v.tag === "BinderConstructor") { + const $3 = PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $4 = tokensOfBinder(dictTokensOf); + return foldMap(a => PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v$1 => $4.tokensOf(a)))(v._2); + } + ); + if ($3.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $3 + ); + } + if (v.tag === "BinderBoolean") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "BinderChar") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "BinderString") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "BinderInt") { + const $3 = (() => { + if (v._1.tag === "Nothing") { return PureScript$dCST$dRange$dTokenList.TokenEmpty; } + if (v._1.tag === "Just") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1._1, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + $runtime.fail(); + })(); + if ($3.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + $3, + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, PureScript$dCST$dRange$dTokenList.TokenEmpty) + ); + } + if (v.tag === "BinderNumber") { + const $3 = (() => { + if (v._1.tag === "Nothing") { return PureScript$dCST$dRange$dTokenList.TokenEmpty; } + if (v._1.tag === "Just") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1._1, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + $runtime.fail(); + })(); + if ($3.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + $3, + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, PureScript$dCST$dRange$dTokenList.TokenEmpty) + ); + } + if (v.tag === "BinderArray") { return tokensOfWrapped({tokensOf: foldMap1(tokensOfSeparated(tokensOfBinder(dictTokensOf)).tokensOf)}).tokensOf(v._1); } + if (v.tag === "BinderRecord") { + return tokensOfWrapped({tokensOf: foldMap1(tokensOfSeparated(tokensOfRecordLabeled(tokensOfBinder(dictTokensOf))).tokensOf)}).tokensOf(v._1); + } + if (v.tag === "BinderParens") { return tokensOfWrapped(tokensOfBinder(dictTokensOf)).tokensOf(v._1); } + if (v.tag === "BinderTyped") { + const $3 = tokensOfBinder(dictTokensOf).tokensOf(v._1); + const $4 = PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v1 => PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, tokensOf9(v._3))); + if ($4.tag === "TokenEmpty") { return $3; } + if ($3.tag === "TokenEmpty") { return $4; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $3, $4); + } + if (v.tag === "BinderOp") { + const $3 = tokensOfBinder(dictTokensOf).tokensOf(v._1); + const $4 = PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $5 = tokensOfTuple(tokensOfQualifiedName)(tokensOfBinder(dictTokensOf)); + return foldMap2(a => PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v$1 => $5.tokensOf(a)))(v._2); + } + ); + if ($4.tag === "TokenEmpty") { return $3; } + if ($3.tag === "TokenEmpty") { return $4; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $3, $4); + } + if (v.tag === "BinderError") { return dictTokensOf.tokensOf(v._1); } + $runtime.fail(); + } + }; +}; +const tokensOfDataCtor = dictTokensOf => { + const $1 = tokensOfType(dictTokensOf); + return { + tokensOf: v => { + const $3 = foldMap(a => PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v$1 => $1.tokensOf(a)))(v.fields); + if ($3.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v.name.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v.name.token, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $3 + ); + } + }; +}; +const tokensOfForeign = dictTokensOf => { + const tokensOf9 = tokensOfLabeled(tokensOfName)(tokensOfType(dictTokensOf)).tokensOf; + return { + tokensOf: v => { + if (v.tag === "ForeignValue") { return tokensOf9(v._1); } + if (v.tag === "ForeignData") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1, tokensOf9(v._2)); } + if (v.tag === "ForeignKind") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v._1, + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2.token, PureScript$dCST$dRange$dTokenList.TokenEmpty) + ); + } + $runtime.fail(); + } + }; +}; +const tokensOfWhere = dictTokensOf => ( + { + tokensOf: v => { + const $2 = tokensOfExpr(dictTokensOf).tokensOf(v.expr); + const $3 = PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + if (v.bindings.tag === "Nothing") { return PureScript$dCST$dRange$dTokenList.TokenEmpty; } + if (v.bindings.tag === "Just") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v.bindings._1._1, + (() => { + const $4 = tokensOfLetBinding(dictTokensOf); + return foldMap2(a => PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v$1 => $4.tokensOf(a)))(v.bindings._1._2); + })() + ); + } + $runtime.fail(); + } + ); + if ($3.tag === "TokenEmpty") { return $2; } + if ($2.tag === "TokenEmpty") { return $3; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $2, $3); + } + } +); +const tokensOfRecordUpdate = dictTokensOf => ( + { + tokensOf: v => { + if (v.tag === "RecordUpdateLeaf") { + const $2 = tokensOfExpr(dictTokensOf).tokensOf(v._3); + const $3 = (() => { + if ($2.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $2 + ); + })(); + if ($3.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $3 + ); + } + if (v.tag === "RecordUpdateBranch") { + const $2 = tokensOfWrapped(tokensOfSeparated(tokensOfRecordUpdate(dictTokensOf))).tokensOf(v._2); + if ($2.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $2 + ); + } + $runtime.fail(); + } + } +); +const tokensOfPatternGuard = dictTokensOf => { + const tokensOf9 = tokensOfBinder(dictTokensOf).tokensOf; + return { + tokensOf: v => { + const $3 = (() => { + if (v.binder.tag === "Nothing") { return PureScript$dCST$dRange$dTokenList.TokenEmpty; } + if (v.binder.tag === "Just") { + const $3 = tokensOf9(v.binder._1._1); + if ($3.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v.binder._1._2, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + $3, + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v.binder._1._2, PureScript$dCST$dRange$dTokenList.TokenEmpty) + ); + } + $runtime.fail(); + })(); + const $4 = tokensOfExpr(dictTokensOf).tokensOf(v.expr); + if ($4.tag === "TokenEmpty") { return $3; } + if ($3.tag === "TokenEmpty") { return $4; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $3, $4); + } + }; +}; +const tokensOfLetBinding = dictTokensOf => { + const tokensOf9 = tokensOfLabeled(tokensOfName)(tokensOfType(dictTokensOf)).tokensOf; + const tokensOfBinder1 = tokensOfBinder(dictTokensOf); + const tokensOf10 = foldMap(a => PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v => tokensOfBinder1.tokensOf(a))); + return { + tokensOf: v => { + if (v.tag === "LetBindingSignature") { return tokensOf9(v._1); } + if (v.tag === "LetBindingName") { + const $5 = PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $6 = tokensOf10(v._1.binders); + const $7 = tokensOfGuarded(dictTokensOf).tokensOf(v._1.guarded); + if ($7.tag === "TokenEmpty") { return $6; } + if ($6.tag === "TokenEmpty") { return $7; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $6, $7); + } + ); + if ($5.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.name.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.name.token, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $5 + ); + } + if (v.tag === "LetBindingPattern") { + const $5 = tokensOfBinder1.tokensOf(v._1); + const $6 = PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, tokensOfWhere(dictTokensOf).tokensOf(v._3)) + ); + if ($6.tag === "TokenEmpty") { return $5; } + if ($5.tag === "TokenEmpty") { return $6; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $5, $6); + } + if (v.tag === "LetBindingError") { return dictTokensOf.tokensOf(v._1); } + $runtime.fail(); + } + }; +}; +const tokensOfGuardedExpr = dictTokensOf => ( + { + tokensOf: v => PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v.bar, + PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $3 = tokensOfSeparated(tokensOfPatternGuard(dictTokensOf)).tokensOf(v.patterns); + const $4 = tokensOfWhere(dictTokensOf).tokensOf(v.where); + const $5 = (() => { + if ($4.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v.separator, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v.separator, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $4 + ); + })(); + if ($5.tag === "TokenEmpty") { return $3; } + if ($3.tag === "TokenEmpty") { return $5; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $3, $5); + } + ) + ) + } +); +const tokensOfGuarded = dictTokensOf => ( + { + tokensOf: v => { + if (v.tag === "Unconditional") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1, tokensOfWhere(dictTokensOf).tokensOf(v._2)); } + if (v.tag === "Guarded") { + const $2 = tokensOfGuardedExpr(dictTokensOf); + return foldMap2(a => PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v$1 => $2.tokensOf(a)))(v._1); + } + $runtime.fail(); + } + } +); +const tokensOfExpr = dictTokensOf => { + const tokensOf9 = tokensOfType(dictTokensOf).tokensOf; + const tokensOfBinder1 = tokensOfBinder(dictTokensOf); + const tokensOf10 = foldMap2(a => PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v => tokensOfBinder1.tokensOf(a))); + const tokensOfTuple2 = tokensOfTuple(tokensOfSeparated(tokensOfBinder1)); + return { + tokensOf: v => { + if (v.tag === "ExprHole") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "ExprSection") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "ExprIdent") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "ExprConstructor") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "ExprBoolean") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "ExprChar") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "ExprString") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "ExprInt") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "ExprNumber") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "ExprArray") { return tokensOfWrapped({tokensOf: foldMap1(tokensOfSeparated(tokensOfExpr(dictTokensOf)).tokensOf)}).tokensOf(v._1); } + if (v.tag === "ExprRecord") { return tokensOfWrapped({tokensOf: foldMap1(tokensOfSeparated(tokensOfRecordLabeled(tokensOfExpr(dictTokensOf))).tokensOf)}).tokensOf(v._1); } + if (v.tag === "ExprParens") { return tokensOfWrapped(tokensOfExpr(dictTokensOf)).tokensOf(v._1); } + if (v.tag === "ExprTyped") { + const $6 = tokensOfExpr(dictTokensOf).tokensOf(v._1); + const $7 = PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v1 => PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, tokensOf9(v._3))); + if ($7.tag === "TokenEmpty") { return $6; } + if ($6.tag === "TokenEmpty") { return $7; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $6, $7); + } + if (v.tag === "ExprInfix") { + const $6 = tokensOfExpr(dictTokensOf).tokensOf(v._1); + const $7 = PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $8 = tokensOfTuple(tokensOfWrapped(tokensOfExpr(dictTokensOf)))(tokensOfExpr(dictTokensOf)); + return foldMap2(a => PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v$1 => $8.tokensOf(a)))(v._2); + } + ); + if ($7.tag === "TokenEmpty") { return $6; } + if ($6.tag === "TokenEmpty") { return $7; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $6, $7); + } + if (v.tag === "ExprOp") { + const $6 = tokensOfExpr(dictTokensOf).tokensOf(v._1); + const $7 = PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $8 = tokensOfTuple(tokensOfQualifiedName)(tokensOfExpr(dictTokensOf)); + return foldMap2(a => PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v$1 => $8.tokensOf(a)))(v._2); + } + ); + if ($7.tag === "TokenEmpty") { return $6; } + if ($6.tag === "TokenEmpty") { return $7; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $6, $7); + } + if (v.tag === "ExprOpName") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + if (v.tag === "ExprNegate") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1, tokensOfExpr(dictTokensOf).tokensOf(v._2)); } + if (v.tag === "ExprRecordAccessor") { + const $6 = tokensOfExpr(dictTokensOf).tokensOf(v._1.expr); + const $7 = PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.dot, tokensOfSeparated1.tokensOf(v._1.path)) + ); + if ($7.tag === "TokenEmpty") { return $6; } + if ($6.tag === "TokenEmpty") { return $7; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $6, $7); + } + if (v.tag === "ExprRecordUpdate") { + const $6 = tokensOfExpr(dictTokensOf).tokensOf(v._1); + const $7 = PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v1 => tokensOfWrapped(tokensOfSeparated(tokensOfRecordUpdate(dictTokensOf))).tokensOf(v._2)); + if ($7.tag === "TokenEmpty") { return $6; } + if ($6.tag === "TokenEmpty") { return $7; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $6, $7); + } + if (v.tag === "ExprApp") { + const $6 = tokensOfExpr(dictTokensOf).tokensOf(v._1); + const $7 = PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $8 = tokensOfExpr(dictTokensOf); + return foldMap2(a => PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v$1 => $8.tokensOf(a)))(v._2); + } + ); + if ($7.tag === "TokenEmpty") { return $6; } + if ($6.tag === "TokenEmpty") { return $7; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $6, $7); + } + if (v.tag === "ExprLambda") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v._1.symbol, + PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $7 = tokensOf10(v._1.binders); + const $8 = tokensOfExpr(dictTokensOf).tokensOf(v._1.body); + const $9 = (() => { + if ($8.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.arrow, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.arrow, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $8 + ); + })(); + if ($9.tag === "TokenEmpty") { return $7; } + if ($7.tag === "TokenEmpty") { return $9; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $7, $9); + } + ) + ); + } + if (v.tag === "ExprIf") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v._1.keyword, + PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $7 = tokensOfExpr(dictTokensOf).tokensOf(v._1.cond); + const $8 = tokensOfExpr(dictTokensOf).tokensOf(v._1.true); + const $9 = tokensOfExpr(dictTokensOf).tokensOf(v._1.false); + const $10 = (() => { + if ($9.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.else, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.else, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $9 + ); + })(); + const $11 = (() => { + if ($10.tag === "TokenEmpty") { return $8; } + if ($8.tag === "TokenEmpty") { return $10; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $8, $10); + })(); + const $12 = (() => { + if ($11.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.then, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.then, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $11 + ); + })(); + if ($12.tag === "TokenEmpty") { return $7; } + if ($7.tag === "TokenEmpty") { return $12; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $7, $12); + } + ) + ); + } + if (v.tag === "ExprCase") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v._1.keyword, + PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $7 = tokensOfSeparated(tokensOfExpr(dictTokensOf)).tokensOf(v._1.head); + const $8 = tokensOfTuple2(tokensOfGuarded(dictTokensOf)); + const $9 = foldMap2(a => PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v$1 => $8.tokensOf(a)))(v._1.branches); + const $10 = (() => { + if ($9.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.of, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.of, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $9 + ); + })(); + if ($10.tag === "TokenEmpty") { return $7; } + if ($7.tag === "TokenEmpty") { return $10; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $7, $10); + } + ) + ); + } + if (v.tag === "ExprLet") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v._1.keyword, + PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $7 = tokensOfLetBinding(dictTokensOf); + const $8 = foldMap2(a => PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v$1 => $7.tokensOf(a)))(v._1.bindings); + const $9 = tokensOfExpr(dictTokensOf).tokensOf(v._1.body); + const $10 = (() => { + if ($9.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.in, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.in, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $9 + ); + })(); + if ($10.tag === "TokenEmpty") { return $8; } + if ($8.tag === "TokenEmpty") { return $10; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $8, $10); + } + ) + ); + } + if (v.tag === "ExprDo") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v._1.keyword, + PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $7 = tokensOfDoStatement(dictTokensOf); + return foldMap2(a => PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v$1 => $7.tokensOf(a)))(v._1.statements); + } + ) + ); + } + if (v.tag === "ExprAdo") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v._1.keyword, + PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $7 = tokensOfDoStatement(dictTokensOf); + const $8 = foldMap(a => PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v$1 => $7.tokensOf(a)))(v._1.statements); + const $9 = tokensOfExpr(dictTokensOf).tokensOf(v._1.result); + const $10 = (() => { + if ($9.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.in, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.in, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $9 + ); + })(); + if ($10.tag === "TokenEmpty") { return $8; } + if ($8.tag === "TokenEmpty") { return $10; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $8, $10); + } + ) + ); + } + if (v.tag === "ExprError") { return dictTokensOf.tokensOf(v._1); } + $runtime.fail(); + } + }; +}; +const tokensOfDoStatement = dictTokensOf => { + const tokensOf9 = tokensOfBinder(dictTokensOf).tokensOf; + return { + tokensOf: v => { + if (v.tag === "DoLet") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v._1, + PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $4 = tokensOfLetBinding(dictTokensOf); + return foldMap2(a => PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v$1 => $4.tokensOf(a)))(v._2); + } + ) + ); + } + if (v.tag === "DoDiscard") { return tokensOfExpr(dictTokensOf).tokensOf(v._1); } + if (v.tag === "DoBind") { + const $3 = tokensOf9(v._1); + const $4 = PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, tokensOfExpr(dictTokensOf).tokensOf(v._3)) + ); + if ($4.tag === "TokenEmpty") { return $3; } + if ($3.tag === "TokenEmpty") { return $4; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $3, $4); + } + if (v.tag === "DoError") { return dictTokensOf.tokensOf(v._1); } + $runtime.fail(); + } + }; +}; +const tokensOfInstanceBinding = dictTokensOf => { + const tokensOf9 = tokensOfLabeled(tokensOfName)(tokensOfType(dictTokensOf)).tokensOf; + const $2 = tokensOfBinder(dictTokensOf); + const tokensOf11 = tokensOfGuarded(dictTokensOf).tokensOf; + return { + tokensOf: v => { + if (v.tag === "InstanceBindingSignature") { return tokensOf9(v._1); } + if (v.tag === "InstanceBindingName") { + const $5 = foldMap(a => PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v$1 => $2.tokensOf(a)))(v._1.binders); + const $6 = tokensOf11(v._1.guarded); + const $7 = (() => { + if ($6.tag === "TokenEmpty") { return $5; } + if ($5.tag === "TokenEmpty") { return $6; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $5, $6); + })(); + if ($7.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.name.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.name.token, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $7 + ); + } + $runtime.fail(); + } + }; +}; +const tokensOfInstance = dictTokensOf => { + const tokensOfType1 = tokensOfType(dictTokensOf); + const tokensOf9 = tokensOfOneOrDelimited(tokensOfType1).tokensOf; + const tokensOf10 = foldMap(a => PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v => tokensOfType1.tokensOf(a))); + const $4 = tokensOfInstanceBinding(dictTokensOf); + return { + tokensOf: v => PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v.head.keyword, + PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $7 = (() => { + if (v.head.name.tag === "Nothing") { return PureScript$dCST$dRange$dTokenList.TokenEmpty; } + if (v.head.name.tag === "Just") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v.head.name._1._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty), + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v.head.name._1._2, PureScript$dCST$dRange$dTokenList.TokenEmpty) + ); + } + $runtime.fail(); + })(); + const $8 = (() => { + if (v.head.constraints.tag === "Nothing") { return PureScript$dCST$dRange$dTokenList.TokenEmpty; } + if (v.head.constraints.tag === "Just") { + const $8 = tokensOf9(v.head.constraints._1._1); + if ($8.tag === "TokenEmpty") { + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v.head.constraints._1._2, PureScript$dCST$dRange$dTokenList.TokenEmpty); + } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + $8, + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v.head.constraints._1._2, PureScript$dCST$dRange$dTokenList.TokenEmpty) + ); + } + $runtime.fail(); + })(); + const $9 = tokensOf10(v.head.types); + const $10 = (() => { + if (v.body.tag === "Nothing") { return PureScript$dCST$dRange$dTokenList.TokenEmpty; } + if (v.body.tag === "Just") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v.body._1._1, + foldMap2(a => PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v$1 => $4.tokensOf(a)))(v.body._1._2) + ); + } + $runtime.fail(); + })(); + const $11 = (() => { + if ($10.tag === "TokenEmpty") { return $9; } + if ($9.tag === "TokenEmpty") { return $10; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $9, $10); + })(); + const $12 = (() => { + if ($11.tag === "TokenEmpty") { + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v.head.className.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); + } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v.head.className.token, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $11 + ); + })(); + const $13 = (() => { + if ($12.tag === "TokenEmpty") { return $8; } + if ($8.tag === "TokenEmpty") { return $12; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $8, $12); + })(); + if ($13.tag === "TokenEmpty") { return $7; } + if ($7.tag === "TokenEmpty") { return $13; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $7, $13); + } + ) + ) + }; +}; +const tokensOfDecl = dictTokensOf => { + const $1 = tokensOfTypeVarBinding(dictTokensOf); + const $2 = foldMap(a => PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v => $1.tokensOf(a))); + const tokensOf10 = tokensOfSeparated(tokensOfDataCtor(dictTokensOf)).tokensOf; + const tokensOfType1 = tokensOfType(dictTokensOf); + const tokensOf12 = tokensOfOneOrDelimited(tokensOfType1).tokensOf; + const tokensOfLabeled2 = tokensOfLabeled(tokensOfName)(tokensOfType1); + const tokensOf13 = foldMap2(a => PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v => tokensOfLabeled2.tokensOf(a))); + const tokensOf14 = tokensOfSeparated(tokensOfInstance(dictTokensOf)).tokensOf; + const tokensOf15 = foldMap(a => PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v => tokensOfType1.tokensOf(a))); + const $10 = tokensOfBinder(dictTokensOf); + const tokensOf18 = tokensOfGuarded(dictTokensOf).tokensOf; + const tokensOf19 = tokensOfForeign(dictTokensOf).tokensOf; + return { + tokensOf: v => { + if (v.tag === "DeclData") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v._1.keyword, + PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $15 = $2(v._1.vars); + const $16 = (() => { + if (v._2.tag === "Nothing") { return PureScript$dCST$dRange$dTokenList.TokenEmpty; } + if (v._2.tag === "Just") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2._1._1, tokensOf10(v._2._1._2)); } + $runtime.fail(); + })(); + const $17 = (() => { + if ($16.tag === "TokenEmpty") { return $15; } + if ($15.tag === "TokenEmpty") { return $16; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $15, $16); + })(); + if ($17.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.name.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.name.token, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $17 + ); + } + ) + ); + } + if (v.tag === "DeclType") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v._1.keyword, + PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $15 = $2(v._1.vars); + const $16 = tokensOfType1.tokensOf(v._3); + const $17 = (() => { + if ($16.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $16 + ); + })(); + const $18 = (() => { + if ($17.tag === "TokenEmpty") { return $15; } + if ($15.tag === "TokenEmpty") { return $17; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $15, $17); + })(); + if ($18.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.name.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.name.token, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $18 + ); + } + ) + ); + } + if (v.tag === "DeclNewtype") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v._1.keyword, + PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $15 = $2(v._1.vars); + const $16 = tokensOfType1.tokensOf(v._4); + const $17 = (() => { + if ($16.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._3.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._3.token, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $16 + ); + })(); + const $18 = (() => { + if ($17.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $17 + ); + })(); + const $19 = (() => { + if ($18.tag === "TokenEmpty") { return $15; } + if ($15.tag === "TokenEmpty") { return $18; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $15, $18); + })(); + if ($19.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.name.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.name.token, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $19 + ); + } + ) + ); + } + if (v.tag === "DeclClass") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v._1.keyword, + PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $15 = (() => { + if (v._1.super.tag === "Nothing") { return PureScript$dCST$dRange$dTokenList.TokenEmpty; } + if (v._1.super.tag === "Just") { + const $15 = tokensOf12(v._1.super._1._1); + if ($15.tag === "TokenEmpty") { + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.super._1._2, PureScript$dCST$dRange$dTokenList.TokenEmpty); + } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + $15, + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.super._1._2, PureScript$dCST$dRange$dTokenList.TokenEmpty) + ); + } + $runtime.fail(); + })(); + const $16 = $2(v._1.vars); + const $17 = (() => { + if (v._1.fundeps.tag === "Nothing") { return PureScript$dCST$dRange$dTokenList.TokenEmpty; } + if (v._1.fundeps.tag === "Just") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.fundeps._1._1, tokensOf6(v._1.fundeps._1._2)); } + $runtime.fail(); + })(); + const $18 = (() => { + if (v._2.tag === "Nothing") { return PureScript$dCST$dRange$dTokenList.TokenEmpty; } + if (v._2.tag === "Just") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2._1._1, tokensOf13(v._2._1._2)); } + $runtime.fail(); + })(); + const $19 = (() => { + if ($18.tag === "TokenEmpty") { return $17; } + if ($17.tag === "TokenEmpty") { return $18; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $17, $18); + })(); + const $20 = (() => { + if ($19.tag === "TokenEmpty") { return $16; } + if ($16.tag === "TokenEmpty") { return $19; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $16, $19); + })(); + const $21 = (() => { + if ($20.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.name.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.name.token, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $20 + ); + })(); + if ($21.tag === "TokenEmpty") { return $15; } + if ($15.tag === "TokenEmpty") { return $21; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $15, $21); + } + ) + ); + } + if (v.tag === "DeclInstanceChain") { return tokensOf14(v._1); } + if (v.tag === "DeclDerive") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v._1, + PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $15 = (() => { + if (v._2.tag === "Nothing") { return PureScript$dCST$dRange$dTokenList.TokenEmpty; } + if (v._2.tag === "Just") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2._1, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + $runtime.fail(); + })(); + const $16 = (() => { + if (v._3.name.tag === "Nothing") { return PureScript$dCST$dRange$dTokenList.TokenEmpty; } + if (v._3.name.tag === "Just") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._3.name._1._1.token, PureScript$dCST$dRange$dTokenList.TokenEmpty), + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._3.name._1._2, PureScript$dCST$dRange$dTokenList.TokenEmpty) + ); + } + $runtime.fail(); + })(); + const $17 = (() => { + if (v._3.constraints.tag === "Nothing") { return PureScript$dCST$dRange$dTokenList.TokenEmpty; } + if (v._3.constraints.tag === "Just") { + const $17 = tokensOf12(v._3.constraints._1._1); + if ($17.tag === "TokenEmpty") { + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._3.constraints._1._2, PureScript$dCST$dRange$dTokenList.TokenEmpty); + } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + $17, + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._3.constraints._1._2, PureScript$dCST$dRange$dTokenList.TokenEmpty) + ); + } + $runtime.fail(); + })(); + const $18 = tokensOf15(v._3.types); + const $19 = (() => { + if ($18.tag === "TokenEmpty") { + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._3.className.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); + } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._3.className.token, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $18 + ); + })(); + const $20 = (() => { + if ($19.tag === "TokenEmpty") { return $17; } + if ($17.tag === "TokenEmpty") { return $19; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $17, $19); + })(); + const $21 = (() => { + if ($20.tag === "TokenEmpty") { return $16; } + if ($16.tag === "TokenEmpty") { return $20; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $16, $20); + })(); + const $22 = (() => { + if ($21.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._3.keyword, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._3.keyword, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $21 + ); + })(); + if ($22.tag === "TokenEmpty") { return $15; } + if ($15.tag === "TokenEmpty") { return $22; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $15, $22); + } + ) + ); + } + if (v.tag === "DeclKindSignature") { + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1, PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v1 => tokensOfLabeled2.tokensOf(v._2))); + } + if (v.tag === "DeclSignature") { return tokensOfLabeled2.tokensOf(v._1); } + if (v.tag === "DeclValue") { + const $14 = PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $15 = foldMap(a => PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v$1 => $10.tokensOf(a)))(v._1.binders); + const $16 = tokensOf18(v._1.guarded); + if ($16.tag === "TokenEmpty") { return $15; } + if ($15.tag === "TokenEmpty") { return $16; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $15, $16); + } + ); + if ($14.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.name.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.name.token, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $14 + ); + } + if (v.tag === "DeclFixity") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v._1.keyword._1, + PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._1.prec._1, tokensOfFixityOp.tokensOf(v._1.operator)) + ) + ); + } + if (v.tag === "DeclForeign") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v._1, + PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v1 => PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, tokensOf19(v._3))) + ); + } + if (v.tag === "DeclRole") { + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v._1, + PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + const $15 = foldMap2(v2 => PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v2._1, PureScript$dCST$dRange$dTokenList.TokenEmpty))(v._4); + const $16 = (() => { + if ($15.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._3.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._3.token, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $15 + ); + })(); + if ($16.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v._2, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $16 + ); + } + ) + ); + } + if (v.tag === "DeclError") { return dictTokensOf.tokensOf(v._1); } + $runtime.fail(); + } + }; +}; +const tokensOfModule = dictTokensOf => { + const tokensOf9 = tokensOfWrapped(tokensOfSeparated(tokensOfExport(dictTokensOf))).tokensOf; + const tokensOf10 = tokensOfImportDecl(dictTokensOf).tokensOf; + const tokensOf11 = tokensOfDecl(dictTokensOf).tokensOf; + return { + tokensOf: v => PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenCons", + v.header.keyword, + (() => { + const $5 = PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenDefer", + v1 => { + if (v.header.exports.tag === "Nothing") { return PureScript$dCST$dRange$dTokenList.TokenEmpty; } + if (v.header.exports.tag === "Just") { return tokensOf9(v.header.exports._1); } + $runtime.fail(); + } + ); + const $6 = PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v1 => foldMap(tokensOf10)(v.header.imports)); + const $7 = PureScript$dCST$dRange$dTokenList.$TokenList("TokenDefer", v1 => foldMap(tokensOf11)(v.body.decls)); + const $8 = (() => { + if ($7.tag === "TokenEmpty") { return $6; } + if ($6.tag === "TokenEmpty") { return $7; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $6, $7); + })(); + const $9 = (() => { + if ($8.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v.header.where, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v.header.where, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $8 + ); + })(); + const $10 = (() => { + if ($9.tag === "TokenEmpty") { return $5; } + if ($5.tag === "TokenEmpty") { return $9; } + return PureScript$dCST$dRange$dTokenList.$TokenList("TokenAppend", $5, $9); + })(); + if ($10.tag === "TokenEmpty") { return PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v.header.name.token, PureScript$dCST$dRange$dTokenList.TokenEmpty); } + return PureScript$dCST$dRange$dTokenList.$TokenList( + "TokenAppend", + PureScript$dCST$dRange$dTokenList.$TokenList("TokenCons", v.header.name.token, PureScript$dCST$dRange$dTokenList.TokenEmpty), + $10 + ); + })() + ) + }; +}; +const rangeOfWrapped = {rangeOf: v => ({start: v.open.range.start, end: v.close.range.end})}; +const rangeOfVoid = {rangeOf: Data$dVoid.absurd}; +const rangeOfRecoveredError = { + rangeOf: v => { + if (v.tokens.length > 0) { + return { + start: (() => { + const $1 = Data$dArray.index(v.tokens)(0); + if ($1.tag === "Just") { return $1._1.range.start; } + $runtime.fail(); + })(), + end: (() => { + const $1 = Data$dArray.index(v.tokens)(v.tokens.length - 1 | 0); + if ($1.tag === "Just") { return $1._1.range.end; } + $runtime.fail(); + })() + }; + } + return {start: v.position, end: v.position}; + } +}; +const rangeOfQualifiedName = {rangeOf: v => v.token.range}; +const rangeOfName = {rangeOf: v => v.token.range}; +const rangeOfModule = {rangeOf: v => ({start: v.header.keyword.range.start, end: v.body.end})}; +const rangeOf = dict => dict.rangeOf; +const rangeOfClassFundep = { + rangeOf: v => { + if (v.tag === "FundepDetermined") { + return { + start: v._1.range.start, + end: (() => { + const $1 = Data$dArray.index(v._2)(v._2.length - 1 | 0); + if ($1.tag === "Just") { return $1._1.token.range.end; } + $runtime.fail(); + })() + }; + } + if (v.tag === "FundepDetermines") { + return { + start: (() => { + const $1 = Data$dArray.index(v._1)(0); + if ($1.tag === "Just") { return $1._1.token.range.start; } + $runtime.fail(); + })(), + end: (() => { + const $1 = Data$dArray.index(v._3)(v._3.length - 1 | 0); + if ($1.tag === "Just") { return $1._1.token.range.end; } + $runtime.fail(); + })() + }; + } + $runtime.fail(); + } +}; +const rangeOfDataMembers = { + rangeOf: v => { + if (v.tag === "DataAll") { return v._1.range; } + if (v.tag === "DataEnumerated") { return {start: v._1.open.range.start, end: v._1.close.range.end}; } + $runtime.fail(); + } +}; +const rangeOfExport = dictRangeOf => ( + { + rangeOf: v => { + if (v.tag === "ExportValue") { return v._1.token.range; } + if (v.tag === "ExportOp") { return v._1.token.range; } + if (v.tag === "ExportType") { + if (v._2.tag === "Nothing") { return v._1.token.range; } + if (v._2.tag === "Just") { + return { + start: v._1.token.range.start, + end: (() => { + if (v._2._1.tag === "DataAll") { return v._2._1._1.range.end; } + if (v._2._1.tag === "DataEnumerated") { return v._2._1._1.close.range.end; } + $runtime.fail(); + })() + }; + } + $runtime.fail(); + } + if (v.tag === "ExportTypeOp") { return {start: v._1.range.start, end: v._2.token.range.end}; } + if (v.tag === "ExportClass") { return {start: v._1.range.start, end: v._2.token.range.end}; } + if (v.tag === "ExportModule") { return {start: v._1.range.start, end: v._2.token.range.end}; } + if (v.tag === "ExportError") { return dictRangeOf.rangeOf(v._1); } + $runtime.fail(); + } + } +); +const rangeOfFixityOp = { + rangeOf: v => { + if (v.tag === "FixityValue") { return {start: v._1.token.range.start, end: v._3.token.range.end}; } + if (v.tag === "FixityType") { return {start: v._1.range.start, end: v._4.token.range.end}; } + $runtime.fail(); + } +}; +const rangeOfImport = dictRangeOf => ( + { + rangeOf: v => { + if (v.tag === "ImportValue") { return v._1.token.range; } + if (v.tag === "ImportOp") { return v._1.token.range; } + if (v.tag === "ImportType") { + if (v._2.tag === "Nothing") { return v._1.token.range; } + if (v._2.tag === "Just") { + return { + start: v._1.token.range.start, + end: (() => { + if (v._2._1.tag === "DataAll") { return v._2._1._1.range.end; } + if (v._2._1.tag === "DataEnumerated") { return v._2._1._1.close.range.end; } + $runtime.fail(); + })() + }; + } + $runtime.fail(); + } + if (v.tag === "ImportTypeOp") { return {start: v._1.range.start, end: v._2.token.range.end}; } + if (v.tag === "ImportClass") { return {start: v._1.range.start, end: v._2.token.range.end}; } + if (v.tag === "ImportError") { return dictRangeOf.rangeOf(v._1); } + $runtime.fail(); + } + } +); +const rangeOfImportDecl = { + rangeOf: v => ( + { + start: v.keyword.range.start, + end: (() => { + if (v.qualified.tag === "Nothing") { + if (v.names.tag === "Nothing") { return v.module.token.range.end; } + if (v.names.tag === "Just") { return v.names._1._2.close.range.end; } + $runtime.fail(); + } + if (v.qualified.tag === "Just") { return v.qualified._1._2.token.range.end; } + $runtime.fail(); + })() + } + ) +}; +const rangeOfLabeled = dictRangeOf => dictRangeOf1 => ({rangeOf: v => ({start: dictRangeOf.rangeOf(v.label).start, end: dictRangeOf1.rangeOf(v.value).end})}); +const rangeOfOneOrDelimited = dictRangeOf => ( + { + rangeOf: v => { + if (v.tag === "One") { return dictRangeOf.rangeOf(v._1); } + if (v.tag === "Many") { return {start: v._1.open.range.start, end: v._1.close.range.end}; } + $runtime.fail(); + } + } +); +const rangeOfSeparated = dictRangeOf => ( + { + rangeOf: v => { + const v1 = Data$dArray.index(v.tail)(v.tail.length - 1 | 0); + if (v1.tag === "Just") { return {start: dictRangeOf.rangeOf(v.head).start, end: dictRangeOf.rangeOf(v1._1._2).end}; } + if (v1.tag === "Nothing") { return dictRangeOf.rangeOf(v.head); } + $runtime.fail(); + } + } +); +const rangeOf6 = /* #__PURE__ */ (() => rangeOfSeparated(rangeOfName).rangeOf)(); +const rangeOf7 = /* #__PURE__ */ (() => rangeOfSeparated(rangeOfClassFundep).rangeOf)(); +const rangeOfType = dictRangeOf => ( + { + rangeOf: v => { + if (v.tag === "TypeVar") { return v._1.token.range; } + if (v.tag === "TypeConstructor") { return v._1.token.range; } + if (v.tag === "TypeWildcard") { return v._1.range; } + if (v.tag === "TypeHole") { return v._1.token.range; } + if (v.tag === "TypeString") { return v._1.range; } + if (v.tag === "TypeInt") { + if (v._1.tag === "Nothing") { return v._2.range; } + if (v._1.tag === "Just") { return {start: v._1._1.range.start, end: v._2.range.end}; } + $runtime.fail(); + } + if (v.tag === "TypeRow") { return {start: v._1.open.range.start, end: v._1.close.range.end}; } + if (v.tag === "TypeRecord") { return {start: v._1.open.range.start, end: v._1.close.range.end}; } + if (v.tag === "TypeForall") { return {start: v._1.range.start, end: rangeOfType(dictRangeOf).rangeOf(v._4).end}; } + if (v.tag === "TypeKinded") { return {start: rangeOfType(dictRangeOf).rangeOf(v._1).start, end: rangeOfType(dictRangeOf).rangeOf(v._3).end}; } + if (v.tag === "TypeApp") { + return { + start: rangeOfType(dictRangeOf).rangeOf(v._1).start, + end: rangeOfType(dictRangeOf).rangeOf((() => { + const $2 = Data$dArray.index(v._2)(v._2.length - 1 | 0); + if ($2.tag === "Just") { return $2._1; } + $runtime.fail(); + })()).end + }; + } + if (v.tag === "TypeOp") { + return { + start: rangeOfType(dictRangeOf).rangeOf(v._1).start, + end: rangeOfType(dictRangeOf).rangeOf((() => { + const $2 = Data$dArray.index(v._2)(v._2.length - 1 | 0); + if ($2.tag === "Just") { return $2._1._2; } + $runtime.fail(); + })()).end + }; + } + if (v.tag === "TypeOpName") { return v._1.token.range; } + if (v.tag === "TypeArrow") { return {start: rangeOfType(dictRangeOf).rangeOf(v._1).start, end: rangeOfType(dictRangeOf).rangeOf(v._3).end}; } + if (v.tag === "TypeArrowName") { return v._1.range; } + if (v.tag === "TypeConstrained") { return {start: rangeOfType(dictRangeOf).rangeOf(v._1).start, end: rangeOfType(dictRangeOf).rangeOf(v._3).end}; } + if (v.tag === "TypeParens") { return {start: v._1.open.range.start, end: v._1.close.range.end}; } + if (v.tag === "TypeError") { return dictRangeOf.rangeOf(v._1); } + $runtime.fail(); + } + } +); +const rangeOfBinder = dictRangeOf => { + const rangeOf9 = rangeOfType(dictRangeOf).rangeOf; + return { + rangeOf: v => { + if (v.tag === "BinderWildcard") { return v._1.range; } + if (v.tag === "BinderVar") { return v._1.token.range; } + if (v.tag === "BinderNamed") { return {start: v._1.token.range.start, end: rangeOfBinder(dictRangeOf).rangeOf(v._3).end}; } + if (v.tag === "BinderConstructor") { + const v1 = Data$dArray.index(v._2)(v._2.length - 1 | 0); + if (v1.tag === "Nothing") { return v._1.token.range; } + if (v1.tag === "Just") { return {start: v._1.token.range.start, end: rangeOfBinder(dictRangeOf).rangeOf(v1._1).end}; } + $runtime.fail(); + } + if (v.tag === "BinderBoolean") { return v._1.range; } + if (v.tag === "BinderChar") { return v._1.range; } + if (v.tag === "BinderString") { return v._1.range; } + if (v.tag === "BinderInt") { + if (v._1.tag === "Nothing") { return v._2.range; } + if (v._1.tag === "Just") { return {start: v._1._1.range.start, end: v._2.range.end}; } + $runtime.fail(); + } + if (v.tag === "BinderNumber") { + if (v._1.tag === "Nothing") { return v._2.range; } + if (v._1.tag === "Just") { return {start: v._1._1.range.start, end: v._2.range.end}; } + $runtime.fail(); + } + if (v.tag === "BinderArray") { return {start: v._1.open.range.start, end: v._1.close.range.end}; } + if (v.tag === "BinderRecord") { return {start: v._1.open.range.start, end: v._1.close.range.end}; } + if (v.tag === "BinderParens") { return {start: v._1.open.range.start, end: v._1.close.range.end}; } + if (v.tag === "BinderTyped") { return {start: rangeOfBinder(dictRangeOf).rangeOf(v._1).start, end: rangeOf9(v._3).end}; } + if (v.tag === "BinderOp") { + return { + start: rangeOfBinder(dictRangeOf).rangeOf(v._1).start, + end: rangeOfBinder(dictRangeOf).rangeOf((() => { + const $3 = Data$dArray.index(v._2)(v._2.length - 1 | 0); + if ($3.tag === "Just") { return $3._1._2; } + $runtime.fail(); + })()).end + }; + } + if (v.tag === "BinderError") { return dictRangeOf.rangeOf(v._1); } + $runtime.fail(); + } + }; +}; +const rangeOfDataCtor = dictRangeOf => { + const rangeOf9 = rangeOfType(dictRangeOf).rangeOf; + return { + rangeOf: v => { + const v2 = Data$dArray.index(v.fields)(v.fields.length - 1 | 0); + return { + start: v.name.token.range.start, + end: (() => { + if (v2.tag === "Nothing") { return v.name.token.range.end; } + if (v2.tag === "Just") { return rangeOf9(v2._1).end; } + $runtime.fail(); + })() + }; + } + }; +}; +const rangeOfForeign = dictRangeOf => { + const $1 = rangeOfType(dictRangeOf); + return { + rangeOf: v => { + if (v.tag === "ForeignValue") { return {start: v._1.label.token.range.start, end: $1.rangeOf(v._1.value).end}; } + if (v.tag === "ForeignData") { return {start: v._1.range.start, end: $1.rangeOf(v._2.value).end}; } + if (v.tag === "ForeignKind") { return {start: v._1.range.start, end: v._2.token.range.end}; } + $runtime.fail(); + } + }; +}; +const rangeOfTypeVarBinding = { + rangeOf: v => { + if (v.tag === "TypeVarKinded") { return {start: v._1.open.range.start, end: v._1.close.range.end}; } + if (v.tag === "TypeVarName") { return v._1.token.range; } + $runtime.fail(); + } +}; +const rangeOfWhere = dictRangeOf => ( + { + rangeOf: v => { + if (v.bindings.tag === "Nothing") { return rangeOfExpr(dictRangeOf).rangeOf(v.expr); } + if (v.bindings.tag === "Just") { + return { + start: rangeOfExpr(dictRangeOf).rangeOf(v.expr).start, + end: rangeOfLetBinding(dictRangeOf).rangeOf((() => { + const $2 = Data$dArray.index(v.bindings._1._2)(v.bindings._1._2.length - 1 | 0); + if ($2.tag === "Just") { return $2._1; } + $runtime.fail(); + })()).end + }; + } + $runtime.fail(); + } + } +); +const rangeOfLetBinding = dictRangeOf => { + const $1 = rangeOfType(dictRangeOf); + const rangeOf10 = rangeOfBinder(dictRangeOf).rangeOf; + return { + rangeOf: v => { + if (v.tag === "LetBindingSignature") { return {start: v._1.label.token.range.start, end: $1.rangeOf(v._1.value).end}; } + if (v.tag === "LetBindingName") { return {start: v._1.name.token.range.start, end: rangeOfGuarded(dictRangeOf).rangeOf(v._1.guarded).end}; } + if (v.tag === "LetBindingPattern") { return {start: rangeOf10(v._1).start, end: rangeOfWhere(dictRangeOf).rangeOf(v._3).end}; } + if (v.tag === "LetBindingError") { return dictRangeOf.rangeOf(v._1); } + $runtime.fail(); + } + }; +}; +const rangeOfGuardedExpr = dictRangeOf => ({rangeOf: v => ({start: v.bar.range.start, end: rangeOfWhere(dictRangeOf).rangeOf(v.where).end})}); +const rangeOfGuarded = dictRangeOf => ( + { + rangeOf: v => { + if (v.tag === "Unconditional") { return {start: v._1.range.start, end: rangeOfWhere(dictRangeOf).rangeOf(v._2).end}; } + if (v.tag === "Guarded") { + return { + start: rangeOfGuardedExpr(dictRangeOf).rangeOf((() => { + const $2 = Data$dArray.index(v._1)(0); + if ($2.tag === "Just") { return $2._1; } + $runtime.fail(); + })()).start, + end: rangeOfGuardedExpr(dictRangeOf).rangeOf((() => { + const $2 = Data$dArray.index(v._1)(v._1.length - 1 | 0); + if ($2.tag === "Just") { return $2._1; } + $runtime.fail(); + })()).end + }; + } + $runtime.fail(); + } + } +); +const rangeOfExpr = dictRangeOf => { + const rangeOf9 = rangeOfType(dictRangeOf).rangeOf; + return { + rangeOf: v => { + if (v.tag === "ExprHole") { return v._1.token.range; } + if (v.tag === "ExprSection") { return v._1.range; } + if (v.tag === "ExprIdent") { return v._1.token.range; } + if (v.tag === "ExprConstructor") { return v._1.token.range; } + if (v.tag === "ExprBoolean") { return v._1.range; } + if (v.tag === "ExprChar") { return v._1.range; } + if (v.tag === "ExprString") { return v._1.range; } + if (v.tag === "ExprInt") { return v._1.range; } + if (v.tag === "ExprNumber") { return v._1.range; } + if (v.tag === "ExprArray") { return {start: v._1.open.range.start, end: v._1.close.range.end}; } + if (v.tag === "ExprRecord") { return {start: v._1.open.range.start, end: v._1.close.range.end}; } + if (v.tag === "ExprParens") { return {start: v._1.open.range.start, end: v._1.close.range.end}; } + if (v.tag === "ExprTyped") { return {start: rangeOfExpr(dictRangeOf).rangeOf(v._1).start, end: rangeOf9(v._3).end}; } + if (v.tag === "ExprInfix") { + return { + start: rangeOfExpr(dictRangeOf).rangeOf(v._1).start, + end: rangeOfExpr(dictRangeOf).rangeOf((() => { + const $3 = Data$dArray.index(v._2)(v._2.length - 1 | 0); + if ($3.tag === "Just") { return $3._1._2; } + $runtime.fail(); + })()).end + }; + } + if (v.tag === "ExprOp") { + return { + start: rangeOfExpr(dictRangeOf).rangeOf(v._1).start, + end: rangeOfExpr(dictRangeOf).rangeOf((() => { + const $3 = Data$dArray.index(v._2)(v._2.length - 1 | 0); + if ($3.tag === "Just") { return $3._1._2; } + $runtime.fail(); + })()).end + }; + } + if (v.tag === "ExprOpName") { return v._1.token.range; } + if (v.tag === "ExprNegate") { return {start: v._1.range.start, end: rangeOfExpr(dictRangeOf).rangeOf(v._2).end}; } + if (v.tag === "ExprRecordAccessor") { return {start: rangeOfExpr(dictRangeOf).rangeOf(v._1.expr).start, end: rangeOf6(v._1.path).end}; } + if (v.tag === "ExprRecordUpdate") { return {start: rangeOfExpr(dictRangeOf).rangeOf(v._1).start, end: v._2.close.range.end}; } + if (v.tag === "ExprApp") { + return { + start: rangeOfExpr(dictRangeOf).rangeOf(v._1).start, + end: rangeOfExpr(dictRangeOf).rangeOf((() => { + const $3 = Data$dArray.index(v._2)(v._2.length - 1 | 0); + if ($3.tag === "Just") { return $3._1; } + $runtime.fail(); + })()).end + }; + } + if (v.tag === "ExprLambda") { return {start: v._1.symbol.range.start, end: rangeOfExpr(dictRangeOf).rangeOf(v._1.body).end}; } + if (v.tag === "ExprIf") { return {start: v._1.keyword.range.start, end: rangeOfExpr(dictRangeOf).rangeOf(v._1.false).end}; } + if (v.tag === "ExprCase") { + return { + start: v._1.keyword.range.start, + end: rangeOfGuarded(dictRangeOf).rangeOf((() => { + const $3 = Data$dArray.index(v._1.branches)(v._1.branches.length - 1 | 0); + if ($3.tag === "Just") { return $3._1._2; } + $runtime.fail(); + })()).end + }; + } + if (v.tag === "ExprLet") { return {start: v._1.keyword.range.start, end: rangeOfExpr(dictRangeOf).rangeOf(v._1.body).end}; } + if (v.tag === "ExprDo") { + return { + start: v._1.keyword.range.start, + end: rangeOfDoStatement(dictRangeOf).rangeOf((() => { + const $3 = Data$dArray.index(v._1.statements)(v._1.statements.length - 1 | 0); + if ($3.tag === "Just") { return $3._1; } + $runtime.fail(); + })()).end + }; + } + if (v.tag === "ExprAdo") { return {start: v._1.keyword.range.start, end: rangeOfExpr(dictRangeOf).rangeOf(v._1.result).end}; } + if (v.tag === "ExprError") { return dictRangeOf.rangeOf(v._1); } + $runtime.fail(); + } + }; +}; +const rangeOfDoStatement = dictRangeOf => { + const rangeOf9 = rangeOfBinder(dictRangeOf).rangeOf; + return { + rangeOf: v => { + if (v.tag === "DoLet") { + return { + start: v._1.range.start, + end: rangeOfLetBinding(dictRangeOf).rangeOf((() => { + const $3 = Data$dArray.index(v._2)(v._2.length - 1 | 0); + if ($3.tag === "Just") { return $3._1; } + $runtime.fail(); + })()).end + }; + } + if (v.tag === "DoDiscard") { return rangeOfExpr(dictRangeOf).rangeOf(v._1); } + if (v.tag === "DoBind") { return {start: rangeOf9(v._1).start, end: rangeOfExpr(dictRangeOf).rangeOf(v._3).end}; } + if (v.tag === "DoError") { return dictRangeOf.rangeOf(v._1); } + $runtime.fail(); + } + }; +}; +const rangeOfInstanceBinding = dictRangeOf => { + const $1 = rangeOfType(dictRangeOf); + const rangeOf10 = rangeOfGuarded(dictRangeOf).rangeOf; + return { + rangeOf: v => { + if (v.tag === "InstanceBindingSignature") { return {start: v._1.label.token.range.start, end: $1.rangeOf(v._1.value).end}; } + if (v.tag === "InstanceBindingName") { return {start: v._1.name.token.range.start, end: rangeOf10(v._1.guarded).end}; } + $runtime.fail(); + } + }; +}; +const rangeOfInstance = dictRangeOf => { + const rangeOf9 = rangeOfType(dictRangeOf).rangeOf; + const rangeOf10 = rangeOfInstanceBinding(dictRangeOf).rangeOf; + return { + rangeOf: v => ( + { + start: v.head.keyword.range.start, + end: (() => { + if (v.body.tag === "Nothing") { + const v2 = Data$dArray.index(v.head.types)(v.head.types.length - 1 | 0); + if (v2.tag === "Nothing") { return v.head.className.token.range.end; } + if (v2.tag === "Just") { return rangeOf9(v2._1).end; } + $runtime.fail(); + } + if (v.body.tag === "Just") { + return rangeOf10((() => { + const $4 = Data$dArray.index(v.body._1._2)(v.body._1._2.length - 1 | 0); + if ($4.tag === "Just") { return $4._1; } + $runtime.fail(); + })()).end; + } + $runtime.fail(); + })() + } + ) + }; +}; +const rangeOfDecl = dictRangeOf => { + const rangeOf9 = rangeOfDataCtor(dictRangeOf).rangeOf; + const rangeOfType1 = rangeOfType(dictRangeOf); + const rangeOf12 = rangeOfSeparated(rangeOfInstance(dictRangeOf)).rangeOf; + const rangeOf13 = rangeOfGuarded(dictRangeOf).rangeOf; + const rangeOf14 = rangeOfForeign(dictRangeOf).rangeOf; + return { + rangeOf: v => { + if (v.tag === "DeclData") { + return { + start: v._1.keyword.range.start, + end: (() => { + if (v._2.tag === "Nothing") { + const v2 = Data$dArray.index(v._1.vars)(v._1.vars.length - 1 | 0); + if (v2.tag === "Nothing") { return v._1.name.token.range.end; } + if (v2.tag === "Just") { + if (v2._1.tag === "TypeVarKinded") { return v2._1._1.close.range.end; } + if (v2._1.tag === "TypeVarName") { return v2._1._1.token.range.end; } + $runtime.fail(); + } + $runtime.fail(); + } + if (v._2.tag === "Just") { + return rangeOf9((() => { + const $7 = Data$dArray.index(v._2._1._2.tail)(v._2._1._2.tail.length - 1 | 0); + if ($7.tag === "Nothing") { return v._2._1._2.head; } + if ($7.tag === "Just") { return $7._1._2; } + $runtime.fail(); + })()).end; + } + $runtime.fail(); + })() + }; + } + if (v.tag === "DeclType") { return {start: v._1.keyword.range.start, end: rangeOfType1.rangeOf(v._3).end}; } + if (v.tag === "DeclNewtype") { return {start: v._1.keyword.range.start, end: rangeOfType1.rangeOf(v._4).end}; } + if (v.tag === "DeclClass") { + return { + start: v._1.keyword.range.start, + end: (() => { + if (v._2.tag === "Nothing") { + if (v._1.fundeps.tag === "Nothing") { + const v2 = Data$dArray.index(v._1.vars)(v._1.vars.length - 1 | 0); + if (v2.tag === "Nothing") { return v._1.name.token.range.end; } + if (v2.tag === "Just") { + if (v2._1.tag === "TypeVarKinded") { return v2._1._1.close.range.end; } + if (v2._1.tag === "TypeVarName") { return v2._1._1.token.range.end; } + $runtime.fail(); + } + $runtime.fail(); + } + if (v._1.fundeps.tag === "Just") { return rangeOf7(v._1.fundeps._1._2).end; } + $runtime.fail(); + } + if (v._2.tag === "Just") { + const $7 = Data$dArray.index(v._2._1._2)(v._2._1._2.length - 1 | 0); + return rangeOfType1.rangeOf((() => { + if ($7.tag === "Just") { return $7._1.value; } + $runtime.fail(); + })()).end; + } + $runtime.fail(); + })() + }; + } + if (v.tag === "DeclInstanceChain") { return rangeOf12(v._1); } + if (v.tag === "DeclDerive") { + const v2 = Data$dArray.index(v._3.types)(v._3.types.length - 1 | 0); + return { + start: v._1.range.start, + end: (() => { + if (v2.tag === "Nothing") { return v._3.className.token.range.end; } + if (v2.tag === "Just") { return rangeOfType1.rangeOf(v2._1).end; } + $runtime.fail(); + })() + }; + } + if (v.tag === "DeclKindSignature") { return {start: v._1.range.start, end: rangeOfType1.rangeOf(v._2.value).end}; } + if (v.tag === "DeclSignature") { return {start: v._1.label.token.range.start, end: rangeOfType1.rangeOf(v._1.value).end}; } + if (v.tag === "DeclValue") { return {start: v._1.name.token.range.start, end: rangeOf13(v._1.guarded).end}; } + if (v.tag === "DeclFixity") { + return { + start: v._1.keyword._1.range.start, + end: (() => { + if (v._1.operator.tag === "FixityValue") { return v._1.operator._3.token.range.end; } + if (v._1.operator.tag === "FixityType") { return v._1.operator._4.token.range.end; } + $runtime.fail(); + })() + }; + } + if (v.tag === "DeclForeign") { return {start: v._1.range.start, end: rangeOf14(v._3).end}; } + if (v.tag === "DeclRole") { + return { + start: v._1.range.start, + end: (() => { + const $7 = Data$dArray.index(v._4)(v._4.length - 1 | 0); + if ($7.tag === "Just") { return $7._1._1.range.end; } + $runtime.fail(); + })() + }; + } + if (v.tag === "DeclError") { return dictRangeOf.rangeOf(v._1); } + $runtime.fail(); + } + }; +}; +export { + foldMap, + foldMap1, + foldMap2, + rangeOf, + rangeOf6, + rangeOf7, + rangeOfBinder, + rangeOfClassFundep, + rangeOfDataCtor, + rangeOfDataMembers, + rangeOfDecl, + rangeOfDoStatement, + rangeOfExport, + rangeOfExpr, + rangeOfFixityOp, + rangeOfForeign, + rangeOfGuarded, + rangeOfGuardedExpr, + rangeOfImport, + rangeOfImportDecl, + rangeOfInstance, + rangeOfInstanceBinding, + rangeOfLabeled, + rangeOfLetBinding, + rangeOfModule, + rangeOfName, + rangeOfOneOrDelimited, + rangeOfQualifiedName, + rangeOfRecoveredError, + rangeOfSeparated, + rangeOfType, + rangeOfTypeVarBinding, + rangeOfVoid, + rangeOfWhere, + rangeOfWrapped, + tokensOf, + tokensOf4, + tokensOf6, + tokensOf7, + tokensOfArray, + tokensOfBinder, + tokensOfClassFundep, + tokensOfDataCtor, + tokensOfDataMembers, + tokensOfDecl, + tokensOfDoStatement, + tokensOfExport, + tokensOfExpr, + tokensOfFixityOp, + tokensOfForeign, + tokensOfGuarded, + tokensOfGuardedExpr, + tokensOfImport, + tokensOfImportDecl, + tokensOfInstance, + tokensOfInstanceBinding, + tokensOfLabeled, + tokensOfLetBinding, + tokensOfMaybe, + tokensOfModule, + tokensOfName, + tokensOfNonEmptyArray, + tokensOfOneOrDelimited, + tokensOfPatternGuard, + tokensOfQualifiedName, + tokensOfRecordLabeled, + tokensOfRecordUpdate, + tokensOfRecoveredError, + tokensOfRow, + tokensOfSeparated, + tokensOfSeparated1, + tokensOfTuple, + tokensOfType, + tokensOfTypeVarBinding, + tokensOfVoid, + tokensOfWhere, + tokensOfWrapped +}; diff --git a/.storybook/purescript-indexer/output-es/PureScript.CST.TokenStream/index.js b/.storybook/purescript-indexer/output-es/PureScript.CST.TokenStream/index.js new file mode 100644 index 0000000..a12c4a0 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/PureScript.CST.TokenStream/index.js @@ -0,0 +1,48 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dLazy from "../Data.Lazy/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as PureScript$dCST$dTypes from "../PureScript.CST.Types/index.js"; +const $TokenStep = (tag, _1, _2, _3, _4) => ({tag, _1, _2, _3, _4}); +const TokenEOF = value0 => value1 => $TokenStep("TokenEOF", value0, value1); +const TokenError = value0 => value1 => value2 => value3 => $TokenStep("TokenError", value0, value1, value2, value3); +const TokenCons = value0 => value1 => value2 => value3 => $TokenStep("TokenCons", value0, value1, value2, value3); +const TokenStream = x => x; +const newtypeTokenStream = {Coercible0: () => undefined}; +const step = x => Data$dLazy.force(x); +const unwindLayout = pos => eof => { + const go = stk => Data$dLazy.defer(v => { + if (stk.tag === "Nil") { return Data$dLazy.force(eof); } + if (stk.tag === "Cons") { + if (stk._1._2.tag === "LytRoot") { return Data$dLazy.force(eof); } + if ( + stk._1._2.tag === "LytLet" || ( + stk._1._2.tag === "LytLetStmt" || (stk._1._2.tag === "LytWhere" || (stk._1._2.tag === "LytOf" || (stk._1._2.tag === "LytDo" || stk._1._2.tag === "LytAdo"))) + ) + ) { + return $TokenStep( + "TokenCons", + {range: {start: pos, end: pos}, leadingComments: [], trailingComments: [], value: PureScript$dCST$dTypes.$Token("TokLayoutEnd", stk._1._1.column)}, + pos, + go(stk._2), + stk._2 + ); + } + return Data$dLazy.force(go(stk._2)); + } + $runtime.fail(); + }); + return go; +}; +const layoutStack = stream => { + const v = Data$dLazy.force(stream); + if (v.tag === "TokenEOF") { return Data$dList$dTypes.Nil; } + if (v.tag === "TokenError") { return v._4; } + if (v.tag === "TokenCons") { return v._4; } + $runtime.fail(); +}; +const consTokens = dictFoldable => { + const $1 = dictFoldable.foldr(v => v1 => Data$dTuple.$Tuple(v._1.range.start, Data$dLazy.defer(v2 => $TokenStep("TokenCons", v._1, v1._1, v1._2, v._2)))); + return b => a => $1(a)(b); +}; +export {$TokenStep, TokenCons, TokenEOF, TokenError, TokenStream, consTokens, layoutStack, newtypeTokenStream, step, unwindLayout}; diff --git a/.storybook/purescript-indexer/output-es/PureScript.CST.Traversal/index.js b/.storybook/purescript-indexer/output-es/PureScript.CST.Traversal/index.js new file mode 100644 index 0000000..3bbbe3f --- /dev/null +++ b/.storybook/purescript-indexer/output-es/PureScript.CST.Traversal/index.js @@ -0,0 +1,889 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dFree from "../Control.Monad.Free/index.js"; +import * as Data$dBitraversable from "../Data.Bitraversable/index.js"; +import * as Data$dCatList from "../Data.CatList/index.js"; +import * as Data$dCatQueue from "../Data.CatQueue/index.js"; +import * as Data$dConst from "../Data.Const/index.js"; +import * as Data$dFunctor$dCompose from "../Data.Functor.Compose/index.js"; +import * as Data$dIdentity from "../Data.Identity/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dTraversable from "../Data.Traversable/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnit from "../Data.Unit/index.js"; +import * as PureScript$dCST$dTypes from "../PureScript.CST.Types/index.js"; +import * as Unsafe$dCoerce from "../Unsafe.Coerce/index.js"; +const applicativeReaderT = /* #__PURE__ */ (() => { + const functorReaderT1 = {map: x => v => x$1 => x(v(x$1))}; + const applyReaderT1 = {apply: v => v1 => r => v(r)(v1(r)), Functor0: () => functorReaderT1}; + return {pure: x => v => x, Apply0: () => applyReaderT1}; +})(); +const applyCompose = dictApply1 => { + const $1 = dictApply1.Functor0(); + const functorCompose2 = { + map: f => v => { + const $4 = $1.map(f); + return Control$dMonad$dFree.$Free( + v._1, + Data$dCatList.link(v._2)(Data$dCatList.$CatList( + "CatCons", + x => Control$dMonad$dFree.$Free(Control$dMonad$dFree.$FreeView("Return", $4(x)), Data$dCatList.CatNil), + Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil) + )) + ); + } + }; + return { + apply: v => v1 => Control$dMonad$dFree.freeApply.apply(Control$dMonad$dFree.$Free( + v._1, + Data$dCatList.link(v._2)(Data$dCatList.$CatList( + "CatCons", + x => Control$dMonad$dFree.$Free(Control$dMonad$dFree.$FreeView("Return", dictApply1.apply(x)), Data$dCatList.CatNil), + Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil) + )) + ))(v1), + Functor0: () => functorCompose2 + }; +}; +const applicativeCompose = /* #__PURE__ */ Data$dFunctor$dCompose.applicativeCompose(Control$dMonad$dFree.freeApplicative); +const identity = x => x; +const traverseWrapped = dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return k => v => map(value => ({open: v.open, value: value, close: v.close}))(k(v.value)); +}; +const traverseSeparated = dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map = Apply0.Functor0().map; + const traverse4 = Data$dTraversable.traversableArray.traverse(dictApplicative); + const traverse5 = Data$dTraversable.traversableTuple.traverse(dictApplicative); + return k => v => Apply0.apply(map(v1 => v2 => ({head: v1, tail: v2}))(k(v.head)))(traverse4(traverse5(k))(v.tail)); +}; +const traverseRecordUpdate = dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const map$1 = dictApplicative.Apply0().Functor0().map; + const traverseSeparated1 = traverseSeparated(dictApplicative); + return k => v => { + if (v.tag === "RecordUpdateLeaf") { return map(PureScript$dCST$dTypes.RecordUpdateLeaf(v._1)(v._2))(k.onExpr(v._3)); } + if (v.tag === "RecordUpdateBranch") { + return map(PureScript$dCST$dTypes.RecordUpdateBranch(v._1))(map$1(value => ({open: v._2.open, value: value, close: v._2.close}))(traverseSeparated1(traverseRecordUpdate(dictApplicative)(k))(v._2.value))); + } + $runtime.fail(); + }; +}; +const traverseRecordLabeled = dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return k => v => { + if (v.tag === "RecordPun") { return dictApplicative.pure(PureScript$dCST$dTypes.$RecordLabeled("RecordPun", v._1)); } + if (v.tag === "RecordField") { return map(PureScript$dCST$dTypes.RecordField(v._1)(v._2))(k(v._3)); } + $runtime.fail(); + }; +}; +const traverseRecordAccessor = dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return k => r => map(v => ({expr: v, dot: r.dot, path: r.path}))(k.onExpr(r.expr)); +}; +const traversePatternGuard = dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map = Apply0.Functor0().map; + const traverse4 = Data$dTraversable.traversableMaybe.traverse(dictApplicative); + const bitraverse2 = Data$dBitraversable.bitraversableTuple.bitraverse(dictApplicative); + return k => v => Apply0.apply(map(binder => expr => ({binder: binder, expr: expr}))(traverse4(bitraverse2(k.onBinder)(dictApplicative.pure))(v.binder)))(k.onExpr(v.expr)); +}; +const traverseModuleBody = dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const traverse4 = Data$dTraversable.traversableArray.traverse(dictApplicative); + return k => v => map(decls => ({decls: decls, trailingComments: v.trailingComments, end: v.end}))(traverse4(k.onDecl)(v.decls)); +}; +const traverseModule = dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const traverseModuleBody1 = traverseModuleBody(dictApplicative); + return k => v => map(body => ({header: v.header, body: body}))(traverseModuleBody1(k)(v.body)); +}; +const traverseModule1 = /* #__PURE__ */ traverseModule(Control$dMonad$dFree.freeApplicative); +const traverseLambda = dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map = Apply0.Functor0().map; + const traverse4 = Data$dTraversable.traversableArray.traverse(dictApplicative); + return k => l => Apply0.apply(map(v => v1 => ({binders: v, body: v1, arrow: l.arrow, symbol: l.symbol}))(traverse4(k.onBinder)(l.binders)))(k.onExpr(l.body)); +}; +const traverseLabeled = dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + return k => v => map(value => ({label: v.label, separator: v.separator, value: value}))(k(v.value)); +}; +const traverseRow = dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map = Apply0.Functor0().map; + const traverse4 = Data$dTraversable.traversableMaybe.traverse(dictApplicative); + const traverseSeparated1 = traverseSeparated(dictApplicative); + const map$1 = dictApplicative.Apply0().Functor0().map; + const traverse5 = Data$dTraversable.traversableTuple.traverse(dictApplicative); + return k => v => Apply0.apply(map(labels => tail => ({labels: labels, tail: tail}))(traverse4(traverseSeparated1(v$1 => map$1(value => ( + {label: v$1.label, separator: v$1.separator, value: value} + ))(k.onType(v$1.value))))(v.labels)))(traverse4(traverse5(k.onType))(v.tail)); +}; +const traverseTypeVarBinding = dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const map$1 = dictApplicative.Apply0().Functor0().map; + const map$2 = dictApplicative.Apply0().Functor0().map; + return k => v => { + if (v.tag === "TypeVarKinded") { + return map(PureScript$dCST$dTypes.TypeVarKinded)(map$1(value => ({open: v._1.open, value: value, close: v._1.close}))(map$2(value => ( + {label: v._1.value.label, separator: v._1.value.separator, value: value} + ))(k.onType(v._1.value.value)))); + } + if (v.tag === "TypeVarName") { return dictApplicative.pure(PureScript$dCST$dTypes.$TypeVarBinding("TypeVarName", v._1)); } + $runtime.fail(); + }; +}; +const traverseType = dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const Functor0 = Apply0.Functor0(); + const map = dictApplicative.Apply0().Functor0().map; + const traverseWrapped1 = (k, v) => map(value => ({open: v.open, value: value, close: v.close}))(k(v.value)); + const traverseRow1 = traverseRow(dictApplicative); + const traverse4 = Data$dTraversable.traversableArray.traverse(dictApplicative); + const traverseTypeVarBinding1 = traverseTypeVarBinding(dictApplicative); + const traverse5 = Data$dTraversable.traversableTuple.traverse(dictApplicative); + return k => v => { + if (v.tag === "TypeRow") { return Functor0.map(PureScript$dCST$dTypes.TypeRow)(traverseWrapped1(traverseRow1(k), v._1)); } + if (v.tag === "TypeRecord") { return Functor0.map(PureScript$dCST$dTypes.TypeRecord)(traverseWrapped1(traverseRow1(k), v._1)); } + if (v.tag === "TypeForall") { + return Apply0.apply(Functor0.map(f => f(v._3))(Functor0.map(PureScript$dCST$dTypes.TypeForall(v._1))(traverse4(traverseTypeVarBinding1(k))(v._2))))(k.onType(v._4)); + } + if (v.tag === "TypeKinded") { return Apply0.apply(Functor0.map(f => f(v._2))(Functor0.map(PureScript$dCST$dTypes.TypeKinded)(k.onType(v._1))))(k.onType(v._3)); } + if (v.tag === "TypeApp") { return Apply0.apply(Functor0.map(PureScript$dCST$dTypes.TypeApp)(k.onType(v._1)))(traverse4(k.onType)(v._2)); } + if (v.tag === "TypeOp") { return Apply0.apply(Functor0.map(PureScript$dCST$dTypes.TypeOp)(k.onType(v._1)))(traverse4(traverse5(k.onType))(v._2)); } + if (v.tag === "TypeArrow") { return Apply0.apply(Functor0.map(f => f(v._2))(Functor0.map(PureScript$dCST$dTypes.TypeArrow)(k.onType(v._1))))(k.onType(v._3)); } + if (v.tag === "TypeConstrained") { return Apply0.apply(Functor0.map(f => f(v._2))(Functor0.map(PureScript$dCST$dTypes.TypeConstrained)(k.onType(v._1))))(k.onType(v._3)); } + if (v.tag === "TypeParens") { return Functor0.map(PureScript$dCST$dTypes.TypeParens)(traverseWrapped1(k.onType, v._1)); } + return dictApplicative.pure(v); + }; +}; +const traverseType1 = /* #__PURE__ */ traverseType(applicativeReaderT); +const traverseType2 = /* #__PURE__ */ traverseType(Control$dMonad$dFree.freeApplicative); +const traverseIfThenElse = dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map = Apply0.Functor0().map; + return k => r => Apply0.apply(Apply0.apply(map(v => v1 => v2 => ({cond: v, true: v1, false: v2, else: r.else, keyword: r.keyword, then: r.then}))(k.onExpr(r.cond)))(k.onExpr(r.true)))(k.onExpr(r.false)); +}; +const traverseWhere = dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map = Apply0.Functor0().map; + const traverse4 = Data$dTraversable.traversableMaybe.traverse(dictApplicative); + const traverse5 = Data$dTraversable.traversableTuple.traverse(dictApplicative); + const traverse6 = Data$dTraversable.traversableArray.traverse(dictApplicative); + return k => v => Apply0.apply(map(expr => bindings => ({expr: expr, bindings: bindings}))(k.onExpr(v.expr)))(traverse4(traverse5(traverse6(traverseLetBinding(dictApplicative)(k))))(v.bindings)); +}; +const traverseValueBindingFields = dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map = Apply0.Functor0().map; + const traverse4 = Data$dTraversable.traversableArray.traverse(dictApplicative); + return k => v => Apply0.apply(map(v1 => v2 => ({binders: v1, guarded: v2, name: v.name}))(traverse4(k.onBinder)(v.binders)))(traverseGuarded(dictApplicative)(k)(v.guarded)); +}; +const traverseLetBinding = dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const Functor0 = Apply0.Functor0(); + const map = dictApplicative.Apply0().Functor0().map; + return k => v => { + if (v.tag === "LetBindingSignature") { + return Functor0.map(PureScript$dCST$dTypes.LetBindingSignature)(map(value => ({label: v._1.label, separator: v._1.separator, value: value}))(k.onType(v._1.value))); + } + if (v.tag === "LetBindingName") { return Functor0.map(PureScript$dCST$dTypes.LetBindingName)(traverseValueBindingFields(dictApplicative)(k)(v._1)); } + if (v.tag === "LetBindingPattern") { + return Apply0.apply(Functor0.map(f => f(v._2))(Functor0.map(PureScript$dCST$dTypes.LetBindingPattern)(k.onBinder(v._1))))(traverseWhere(dictApplicative)(k)(v._3)); + } + if (v.tag === "LetBindingError") { return dictApplicative.pure(PureScript$dCST$dTypes.$LetBinding("LetBindingError", v._1)); } + $runtime.fail(); + }; +}; +const traverseGuardedExpr = dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map = Apply0.Functor0().map; + const traverseSeparated1 = traverseSeparated(dictApplicative); + const traversePatternGuard1 = traversePatternGuard(dictApplicative); + return k => v => Apply0.apply(map(ps => wh => ({bar: v.bar, patterns: ps, separator: v.separator, where: wh}))(traverseSeparated1(traversePatternGuard1(k))(v.patterns)))(traverseWhere(dictApplicative)(k)(v.where)); +}; +const traverseGuarded = dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const traverse4 = Data$dTraversable.traversableArray.traverse(dictApplicative); + return k => v => { + if (v.tag === "Unconditional") { return map(PureScript$dCST$dTypes.Unconditional(v._1))(traverseWhere(dictApplicative)(k)(v._2)); } + if (v.tag === "Guarded") { return map(PureScript$dCST$dTypes.Guarded)(traverse4(traverseGuardedExpr(dictApplicative)(k))(v._1)); } + $runtime.fail(); + }; +}; +const traverseInstanceBinding = dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const map$1 = dictApplicative.Apply0().Functor0().map; + const traverseValueBindingFields1 = traverseValueBindingFields(dictApplicative); + return k => v => { + if (v.tag === "InstanceBindingSignature") { + return map(PureScript$dCST$dTypes.InstanceBindingSignature)(map$1(value => ({label: v._1.label, separator: v._1.separator, value: value}))(k.onType(v._1.value))); + } + if (v.tag === "InstanceBindingName") { return map(PureScript$dCST$dTypes.InstanceBindingName)(traverseValueBindingFields1(k)(v._1)); } + $runtime.fail(); + }; +}; +const traverseLetIn = dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map = Apply0.Functor0().map; + const traverse4 = Data$dTraversable.traversableArray.traverse(dictApplicative); + const traverseLetBinding1 = traverseLetBinding(dictApplicative); + return k => l => Apply0.apply(map(v => v1 => ({bindings: v, body: v1, in: l.in, keyword: l.keyword}))(traverse4(traverseLetBinding1(k))(l.bindings)))(k.onExpr(l.body)); +}; +const traverseForeign = dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const map$1 = dictApplicative.Apply0().Functor0().map; + const traverseLabeled1 = (k, v) => map$1(value => ({label: v.label, separator: v.separator, value: value}))(k(v.value)); + return k => v => { + if (v.tag === "ForeignValue") { return map(PureScript$dCST$dTypes.ForeignValue)(traverseLabeled1(k.onType, v._1)); } + if (v.tag === "ForeignData") { return map(PureScript$dCST$dTypes.ForeignData(v._1))(traverseLabeled1(k.onType, v._2)); } + if (v.tag === "ForeignKind") { return dictApplicative.pure(v); } + $runtime.fail(); + }; +}; +const traverseDoStatement = dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const Functor0 = Apply0.Functor0(); + const traverse4 = Data$dTraversable.traversableArray.traverse(dictApplicative); + const traverseLetBinding1 = traverseLetBinding(dictApplicative); + return k => v => { + if (v.tag === "DoLet") { return Functor0.map(PureScript$dCST$dTypes.DoLet(v._1))(traverse4(traverseLetBinding1(k))(v._2)); } + if (v.tag === "DoDiscard") { return Functor0.map(PureScript$dCST$dTypes.DoDiscard)(k.onExpr(v._1)); } + if (v.tag === "DoBind") { return Apply0.apply(Functor0.map(f => f(v._2))(Functor0.map(PureScript$dCST$dTypes.DoBind)(k.onBinder(v._1))))(k.onExpr(v._3)); } + if (v.tag === "DoError") { return dictApplicative.pure(PureScript$dCST$dTypes.$DoStatement("DoError", v._1)); } + $runtime.fail(); + }; +}; +const traverseDoBlock = dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const traverse4 = Data$dTraversable.traversableArray.traverse(dictApplicative); + const traverseDoStatement1 = traverseDoStatement(dictApplicative); + return k => d => map(v => ({statements: v, keyword: d.keyword}))(traverse4(traverseDoStatement1(k))(d.statements)); +}; +const traverseDelimitedNonEmpty = dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const traverseSeparated1 = traverseSeparated(dictApplicative); + return k => { + const $4 = traverseSeparated1(k); + return v => map(value => ({open: v.open, value: value, close: v.close}))($4(v.value)); + }; +}; +const traverseOneOrDelimited = dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const traverseDelimitedNonEmpty1 = traverseDelimitedNonEmpty(dictApplicative); + return k => v => { + if (v.tag === "One") { return map(PureScript$dCST$dTypes.One)(k(v._1)); } + if (v.tag === "Many") { return map(PureScript$dCST$dTypes.Many)(traverseDelimitedNonEmpty1(k)(v._1)); } + $runtime.fail(); + }; +}; +const traverseInstanceHead = dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map = Apply0.Functor0().map; + const traverse4 = Data$dTraversable.traversableMaybe.traverse(dictApplicative); + const bitraverse2 = Data$dBitraversable.bitraversableTuple.bitraverse(dictApplicative); + const traverseOneOrDelimited1 = traverseOneOrDelimited(dictApplicative); + const traverse5 = Data$dTraversable.traversableArray.traverse(dictApplicative); + return k => head => Apply0.apply(map(v => v1 => ({constraints: v, types: v1, className: head.className, keyword: head.keyword, name: head.name}))(traverse4(bitraverse2(traverseOneOrDelimited1(k.onType))(dictApplicative.pure))(head.constraints)))(traverse5(k.onType)(head.types)); +}; +const traverseInstance = dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map = Apply0.Functor0().map; + const traverseInstanceHead1 = traverseInstanceHead(dictApplicative); + const traverse4 = Data$dTraversable.traversableMaybe.traverse(dictApplicative); + const traverse5 = Data$dTraversable.traversableTuple.traverse(dictApplicative); + const traverse6 = Data$dTraversable.traversableArray.traverse(dictApplicative); + const traverseInstanceBinding1 = traverseInstanceBinding(dictApplicative); + return k => v => Apply0.apply(map(head => body => ({head: head, body: body}))(traverseInstanceHead1(k)(v.head)))(traverse4(traverse5(traverse6(traverseInstanceBinding1(k))))(v.body)); +}; +const traverseDelimited = dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const traverse4 = Data$dTraversable.traversableMaybe.traverse(dictApplicative); + const traverseSeparated1 = traverseSeparated(dictApplicative); + return k => { + const $5 = traverse4(traverseSeparated1(k)); + return v => map(value => ({open: v.open, value: value, close: v.close}))($5(v.value)); + }; +}; +const traverseDataHead = dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const traverse4 = Data$dTraversable.traversableArray.traverse(dictApplicative); + const traverseTypeVarBinding1 = traverseTypeVarBinding(dictApplicative); + return k => head => map(v => ({vars: v, keyword: head.keyword, name: head.name}))(traverse4(traverseTypeVarBinding1(k))(head.vars)); +}; +const traverseDataCtor = dictApplicative => { + const map = dictApplicative.Apply0().Functor0().map; + const traverse4 = Data$dTraversable.traversableArray.traverse(dictApplicative); + return k => v => map(fields => ({name: v.name, fields: fields}))(traverse4(k.onType)(v.fields)); +}; +const traverseClassHead = dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map = Apply0.Functor0().map; + const traverse4 = Data$dTraversable.traversableMaybe.traverse(dictApplicative); + const bitraverse2 = Data$dBitraversable.bitraversableTuple.bitraverse(dictApplicative); + const traverseOneOrDelimited1 = traverseOneOrDelimited(dictApplicative); + const traverse5 = Data$dTraversable.traversableArray.traverse(dictApplicative); + const traverseTypeVarBinding1 = traverseTypeVarBinding(dictApplicative); + return k => head => Apply0.apply(map(v => v1 => ({super: v, vars: v1, fundeps: head.fundeps, keyword: head.keyword, name: head.name}))(traverse4(bitraverse2(traverseOneOrDelimited1(k.onType))(dictApplicative.pure))(head.super)))(traverse5(traverseTypeVarBinding1(k))(head.vars)); +}; +const traverseDecl = dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const Functor0 = Apply0.Functor0(); + const traverseDataHead1 = traverseDataHead(dictApplicative); + const traverse4 = Data$dTraversable.traversableMaybe.traverse(dictApplicative); + const traverse5 = Data$dTraversable.traversableTuple.traverse(dictApplicative); + const traverseSeparated1 = traverseSeparated(dictApplicative); + const traverseDataCtor1 = traverseDataCtor(dictApplicative); + const traverseClassHead1 = traverseClassHead(dictApplicative); + const traverse6 = Data$dTraversable.traversableArray.traverse(dictApplicative); + const map = dictApplicative.Apply0().Functor0().map; + const traverseLabeled1 = k => v => map(value => ({label: v.label, separator: v.separator, value: value}))(k(v.value)); + const traverseInstance1 = traverseInstance(dictApplicative); + const traverseInstanceHead1 = traverseInstanceHead(dictApplicative); + const traverseValueBindingFields1 = traverseValueBindingFields(dictApplicative); + const traverseForeign1 = traverseForeign(dictApplicative); + return k => v => { + if (v.tag === "DeclData") { + return Apply0.apply(Functor0.map(PureScript$dCST$dTypes.DeclData)(traverseDataHead1(k)(v._1)))(traverse4(traverse5(traverseSeparated1(traverseDataCtor1(k))))(v._2)); + } + if (v.tag === "DeclType") { return Apply0.apply(Functor0.map(f => f(v._2))(Functor0.map(PureScript$dCST$dTypes.DeclType)(traverseDataHead1(k)(v._1))))(k.onType(v._3)); } + if (v.tag === "DeclNewtype") { + return Apply0.apply(Functor0.map(f => f(v._3))(Functor0.map(f => f(v._2))(Functor0.map(PureScript$dCST$dTypes.DeclNewtype)(traverseDataHead1(k)(v._1)))))(k.onType(v._4)); + } + if (v.tag === "DeclClass") { + return Apply0.apply(Functor0.map(PureScript$dCST$dTypes.DeclClass)(traverseClassHead1(k)(v._1)))(traverse4(traverse5(traverse6(traverseLabeled1(k.onType))))(v._2)); + } + if (v.tag === "DeclInstanceChain") { return Functor0.map(PureScript$dCST$dTypes.DeclInstanceChain)(traverseSeparated1(traverseInstance1(k))(v._1)); } + if (v.tag === "DeclDerive") { return Functor0.map(PureScript$dCST$dTypes.DeclDerive(v._1)(v._2))(traverseInstanceHead1(k)(v._3)); } + if (v.tag === "DeclKindSignature") { return Functor0.map(PureScript$dCST$dTypes.DeclKindSignature(v._1))(traverseLabeled1(k.onType)(v._2)); } + if (v.tag === "DeclSignature") { return Functor0.map(PureScript$dCST$dTypes.DeclSignature)(traverseLabeled1(k.onType)(v._1)); } + if (v.tag === "DeclValue") { return Functor0.map(PureScript$dCST$dTypes.DeclValue)(traverseValueBindingFields1(k)(v._1)); } + if (v.tag === "DeclForeign") { return Functor0.map(PureScript$dCST$dTypes.DeclForeign(v._1)(v._2))(traverseForeign1(k)(v._3)); } + return dictApplicative.pure(v); + }; +}; +const traverseDecl1 = /* #__PURE__ */ traverseDecl(applicativeReaderT); +const traverseDecl2 = /* #__PURE__ */ traverseDecl(Control$dMonad$dFree.freeApplicative); +const traverseCaseOf = dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map = Apply0.Functor0().map; + const traverseSeparated1 = traverseSeparated(dictApplicative); + const traverse4 = Data$dTraversable.traversableArray.traverse(dictApplicative); + const bitraverse1 = Data$dBitraversable.bitraversableTuple.bitraverse(dictApplicative); + const traverseGuarded1 = traverseGuarded(dictApplicative); + return k => r => Apply0.apply(map(v => v1 => ({head: v, branches: v1, keyword: r.keyword, of: r.of}))(traverseSeparated1(k.onExpr)(r.head)))(traverse4(bitraverse1(traverseSeparated1(k.onBinder))(traverseGuarded1(k)))(r.branches)); +}; +const traverseBinder = dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const Functor0 = Apply0.Functor0(); + const traverse4 = Data$dTraversable.traversableArray.traverse(dictApplicative); + const traverseDelimited1 = traverseDelimited(dictApplicative); + const traverseRecordLabeled1 = traverseRecordLabeled(dictApplicative); + const map = dictApplicative.Apply0().Functor0().map; + const traverse5 = Data$dTraversable.traversableArray.traverse(dictApplicative); + const traverse6 = Data$dTraversable.traversableTuple.traverse(dictApplicative); + return k => v => { + if (v.tag === "BinderNamed") { return Functor0.map(PureScript$dCST$dTypes.BinderNamed(v._1)(v._2))(k.onBinder(v._3)); } + if (v.tag === "BinderConstructor") { return Functor0.map(PureScript$dCST$dTypes.BinderConstructor(v._1))(traverse4(k.onBinder)(v._2)); } + if (v.tag === "BinderArray") { return Functor0.map(PureScript$dCST$dTypes.BinderArray)(traverseDelimited1(k.onBinder)(v._1)); } + if (v.tag === "BinderRecord") { return Functor0.map(PureScript$dCST$dTypes.BinderRecord)(traverseDelimited1(traverseRecordLabeled1(k.onBinder))(v._1)); } + if (v.tag === "BinderParens") { + return Functor0.map(PureScript$dCST$dTypes.BinderParens)(map(value => ({open: v._1.open, value: value, close: v._1.close}))(k.onBinder(v._1.value))); + } + if (v.tag === "BinderTyped") { return Apply0.apply(Functor0.map(f => f(v._2))(Functor0.map(PureScript$dCST$dTypes.BinderTyped)(k.onBinder(v._1))))(k.onType(v._3)); } + if (v.tag === "BinderOp") { return Apply0.apply(Functor0.map(PureScript$dCST$dTypes.BinderOp)(k.onBinder(v._1)))(traverse5(traverse6(k.onBinder))(v._2)); } + return dictApplicative.pure(v); + }; +}; +const traverseBinder1 = /* #__PURE__ */ traverseBinder(applicativeReaderT); +const traverseBinder2 = /* #__PURE__ */ traverseBinder(Control$dMonad$dFree.freeApplicative); +const traverseAdoBlock = dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const map = Apply0.Functor0().map; + const traverse4 = Data$dTraversable.traversableArray.traverse(dictApplicative); + const traverseDoStatement1 = traverseDoStatement(dictApplicative); + return k => a => Apply0.apply(map(v => v1 => ({statements: v, result: v1, in: a.in, keyword: a.keyword}))(traverse4(traverseDoStatement1(k))(a.statements)))(k.onExpr(a.result)); +}; +const traverseExpr = dictApplicative => { + const Apply0 = dictApplicative.Apply0(); + const Functor0 = Apply0.Functor0(); + const traverseDelimited1 = traverseDelimited(dictApplicative); + const traverseRecordLabeled1 = traverseRecordLabeled(dictApplicative); + const map = dictApplicative.Apply0().Functor0().map; + const traverseWrapped1 = k => v => map(value => ({open: v.open, value: value, close: v.close}))(k(v.value)); + const traverse4 = Data$dTraversable.traversableArray.traverse(dictApplicative); + const bitraverse1 = Data$dBitraversable.bitraversableTuple.bitraverse(dictApplicative); + const traverse5 = Data$dTraversable.traversableTuple.traverse(dictApplicative); + const map$1 = dictApplicative.Apply0().Functor0().map; + const traverseSeparated1 = traverseSeparated(dictApplicative); + const traverseRecordUpdate1 = traverseRecordUpdate(dictApplicative); + const traverseLambda1 = traverseLambda(dictApplicative); + const Apply0$1 = dictApplicative.Apply0(); + const map$2 = Apply0$1.Functor0().map; + const traverseCaseOf1 = traverseCaseOf(dictApplicative); + const traverseLetIn1 = traverseLetIn(dictApplicative); + const traverseDoBlock1 = traverseDoBlock(dictApplicative); + const traverseAdoBlock1 = traverseAdoBlock(dictApplicative); + return k => v => { + if (v.tag === "ExprArray") { return Functor0.map(PureScript$dCST$dTypes.ExprArray)(traverseDelimited1(k.onExpr)(v._1)); } + if (v.tag === "ExprRecord") { return Functor0.map(PureScript$dCST$dTypes.ExprRecord)(traverseDelimited1(traverseRecordLabeled1(k.onExpr))(v._1)); } + if (v.tag === "ExprParens") { return Functor0.map(PureScript$dCST$dTypes.ExprParens)(traverseWrapped1(k.onExpr)(v._1)); } + if (v.tag === "ExprTyped") { return Apply0.apply(Functor0.map(f => f(v._2))(Functor0.map(PureScript$dCST$dTypes.ExprTyped)(k.onExpr(v._1))))(k.onType(v._3)); } + if (v.tag === "ExprInfix") { + return Apply0.apply(Functor0.map(PureScript$dCST$dTypes.ExprInfix)(k.onExpr(v._1)))(traverse4(bitraverse1(traverseWrapped1(k.onExpr))(k.onExpr))(v._2)); + } + if (v.tag === "ExprOp") { return Apply0.apply(Functor0.map(PureScript$dCST$dTypes.ExprOp)(k.onExpr(v._1)))(traverse4(traverse5(k.onExpr))(v._2)); } + if (v.tag === "ExprNegate") { return Functor0.map(PureScript$dCST$dTypes.ExprNegate(v._1))(k.onExpr(v._2)); } + if (v.tag === "ExprRecordAccessor") { + return Functor0.map(PureScript$dCST$dTypes.ExprRecordAccessor)(map$1(v$1 => ({expr: v$1, dot: v._1.dot, path: v._1.path}))(k.onExpr(v._1.expr))); + } + if (v.tag === "ExprRecordUpdate") { + return Apply0.apply(Functor0.map(PureScript$dCST$dTypes.ExprRecordUpdate)(k.onExpr(v._1)))(traverseWrapped1(traverseSeparated1(traverseRecordUpdate1(k)))(v._2)); + } + if (v.tag === "ExprApp") { return Apply0.apply(Functor0.map(PureScript$dCST$dTypes.ExprApp)(k.onExpr(v._1)))(traverse4(k.onExpr)(v._2)); } + if (v.tag === "ExprLambda") { return Functor0.map(PureScript$dCST$dTypes.ExprLambda)(traverseLambda1(k)(v._1)); } + if (v.tag === "ExprIf") { + return Functor0.map(PureScript$dCST$dTypes.ExprIf)(Apply0$1.apply(Apply0$1.apply(map$2(v$1 => v1 => v2 => ( + {cond: v$1, true: v1, false: v2, else: v._1.else, keyword: v._1.keyword, then: v._1.then} + ))(k.onExpr(v._1.cond)))(k.onExpr(v._1.true)))(k.onExpr(v._1.false))); + } + if (v.tag === "ExprCase") { return Functor0.map(PureScript$dCST$dTypes.ExprCase)(traverseCaseOf1(k)(v._1)); } + if (v.tag === "ExprLet") { return Functor0.map(PureScript$dCST$dTypes.ExprLet)(traverseLetIn1(k)(v._1)); } + if (v.tag === "ExprDo") { return Functor0.map(PureScript$dCST$dTypes.ExprDo)(traverseDoBlock1(k)(v._1)); } + if (v.tag === "ExprAdo") { return Functor0.map(PureScript$dCST$dTypes.ExprAdo)(traverseAdoBlock1(k)(v._1)); } + return dictApplicative.pure(v); + }; +}; +const traverseExpr1 = /* #__PURE__ */ traverseExpr(applicativeReaderT); +const traverseExpr2 = /* #__PURE__ */ traverseExpr(Control$dMonad$dFree.freeApplicative); +const topDownTraversalWithContextM = dictMonad => { + const bind2 = dictMonad.Bind1().bind; + const $2 = dictMonad.Applicative0(); + const $3 = $2.Apply0(); + const $4 = $3.Functor0(); + const functorReaderT1 = { + map: x => { + const $6 = $4.map(x); + return v => x$1 => $6(v(x$1)); + } + }; + const applyReaderT1 = {apply: v => v1 => r => $3.apply(v(r))(v1(r)), Functor0: () => functorReaderT1}; + const applicativeReaderT1 = { + pure: x => { + const $8 = $2.pure(x); + return v => $8; + }, + Apply0: () => applyReaderT1 + }; + const traverseBinder3 = traverseBinder(applicativeReaderT1); + const traverseExpr3 = traverseExpr(applicativeReaderT1); + const traverseDecl3 = traverseDecl(applicativeReaderT1); + const traverseType3 = traverseType(applicativeReaderT1); + return visitor => { + const visitor$p = { + onBinder: a => ctx => bind2(visitor.onBinder(ctx)(a))((() => { + const $16 = traverseBinder3(visitor$p); + return v => $16(v._2)(v._1); + })()), + onExpr: a => ctx => bind2(visitor.onExpr(ctx)(a))((() => { + const $16 = traverseExpr3(visitor$p); + return v => $16(v._2)(v._1); + })()), + onDecl: a => ctx => bind2(visitor.onDecl(ctx)(a))((() => { + const $16 = traverseDecl3(visitor$p); + return v => $16(v._2)(v._1); + })()), + onType: a => ctx => bind2(visitor.onType(ctx)(a))((() => { + const $16 = traverseType3(visitor$p); + return v => $16(v._2)(v._1); + })()) + }; + return visitor$p; + }; +}; +const topDownTraversalWithContext = visitor => { + const visitor$p = { + onBinder: a => ctx => { + const $4 = visitor.onBinder(ctx)(a); + return traverseBinder1(visitor$p)($4._2)($4._1); + }, + onExpr: a => ctx => { + const $4 = visitor.onExpr(ctx)(a); + return traverseExpr1(visitor$p)($4._2)($4._1); + }, + onDecl: a => ctx => { + const $4 = visitor.onDecl(ctx)(a); + return traverseDecl1(visitor$p)($4._2)($4._1); + }, + onType: a => ctx => { + const $4 = visitor.onType(ctx)(a); + return traverseType1(visitor$p)($4._2)($4._1); + } + }; + return visitor$p; +}; +const topDownTraversal = dictMonad => { + const bind2 = dictMonad.Bind1().bind; + const Applicative0 = dictMonad.Applicative0(); + const traverseBinder3 = traverseBinder(Applicative0); + const traverseExpr3 = traverseExpr(Applicative0); + const traverseType3 = traverseType(Applicative0); + const traverseDecl3 = traverseDecl(Applicative0); + return visitor => { + const visitor$p = { + onBinder: a => bind2(visitor.onBinder(a))(traverseBinder3(visitor$p)), + onExpr: a => bind2(visitor.onExpr(a))(traverseExpr3(visitor$p)), + onType: a => bind2(visitor.onType(a))(traverseType3(visitor$p)), + onDecl: a => bind2(visitor.onDecl(a))(traverseDecl3(visitor$p)) + }; + return visitor$p; + }; +}; +const topDownPureTraversal = visitor => { + const visitor$p = { + onBinder: a => Control$dMonad$dFree.$Free( + Control$dMonad$dFree.$FreeView("Return", visitor.onBinder(a)), + Data$dCatList.link(Data$dCatList.CatNil)(Data$dCatList.$CatList("CatCons", traverseBinder2(visitor$p), Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil))) + ), + onExpr: a => Control$dMonad$dFree.$Free( + Control$dMonad$dFree.$FreeView("Return", visitor.onExpr(a)), + Data$dCatList.link(Data$dCatList.CatNil)(Data$dCatList.$CatList("CatCons", traverseExpr2(visitor$p), Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil))) + ), + onType: a => Control$dMonad$dFree.$Free( + Control$dMonad$dFree.$FreeView("Return", visitor.onType(a)), + Data$dCatList.link(Data$dCatList.CatNil)(Data$dCatList.$CatList("CatCons", traverseType2(visitor$p), Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil))) + ), + onDecl: a => Control$dMonad$dFree.$Free( + Control$dMonad$dFree.$FreeView("Return", visitor.onDecl(a)), + Data$dCatList.link(Data$dCatList.CatNil)(Data$dCatList.$CatList("CatCons", traverseDecl2(visitor$p), Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil))) + ) + }; + return visitor$p; +}; +const rewriteWithContextM = dictMonad => { + const topDownTraversalWithContextM1 = topDownTraversalWithContextM(dictMonad); + const map = dictMonad.Bind1().Apply0().Functor0().map; + return traversal => visitor => ctx => g => map(Data$dTuple.Tuple(ctx))(traversal(topDownTraversalWithContextM1(visitor))(g)(ctx)); +}; +const rewriteWithContext = traversal => visitor => ctx => g => Data$dTuple.$Tuple(ctx, traversal(topDownTraversalWithContext(visitor))(g)(ctx)); +const rewriteTypeWithContextM = dictMonad => rewriteWithContextM(dictMonad)(v => v.onType); +const rewriteTypeWithContext = visitor => ctx => g => Data$dTuple.$Tuple(ctx, topDownTraversalWithContext(visitor).onType(g)(ctx)); +const rewriteTopDownM = dictMonad => { + const topDownTraversal1 = topDownTraversal(dictMonad); + return traversal => visitor => traversal(topDownTraversal1(visitor)); +}; +const rewriteTypeTopDownM = dictMonad => { + const topDownTraversal1 = topDownTraversal(dictMonad); + return visitor => topDownTraversal1(visitor).onType; +}; +const rewriteTopDown = traversal => visitor => { + const $2 = Control$dMonad$dFree.runFree(Data$dIdentity.functorIdentity)(Unsafe$dCoerce.unsafeCoerce); + const $3 = traversal(topDownPureTraversal(visitor)); + return x => $2($3(x)); +}; +const rewriteTypeTopDown = /* #__PURE__ */ rewriteTopDown(v => v.onType); +const rewriteModuleWithContextM = dictMonad => rewriteWithContextM(dictMonad)(traverseModule((() => { + const $1 = dictMonad.Applicative0(); + const $2 = $1.Apply0(); + const $3 = $2.Functor0(); + const functorReaderT1 = { + map: x => { + const $5 = $3.map(x); + return v => x$1 => $5(v(x$1)); + } + }; + const applyReaderT1 = {apply: v => v1 => r => $2.apply(v(r))(v1(r)), Functor0: () => functorReaderT1}; + return { + pure: x => { + const $7 = $1.pure(x); + return v => $7; + }, + Apply0: () => applyReaderT1 + }; +})())); +const rewriteModuleWithContext = /* #__PURE__ */ rewriteWithContext(/* #__PURE__ */ traverseModule(applicativeReaderT)); +const rewriteModuleTopDownM = dictMonad => { + const topDownTraversal1 = topDownTraversal(dictMonad); + const $2 = traverseModule(dictMonad.Applicative0()); + return visitor => $2(topDownTraversal1(visitor)); +}; +const rewriteModuleTopDown = /* #__PURE__ */ rewriteTopDown(traverseModule1); +const rewriteExprWithContextM = dictMonad => rewriteWithContextM(dictMonad)(v => v.onExpr); +const rewriteExprWithContext = visitor => ctx => g => Data$dTuple.$Tuple(ctx, topDownTraversalWithContext(visitor).onExpr(g)(ctx)); +const rewriteExprTopDownM = dictMonad => { + const topDownTraversal1 = topDownTraversal(dictMonad); + return visitor => topDownTraversal1(visitor).onExpr; +}; +const rewriteExprTopDown = /* #__PURE__ */ rewriteTopDown(v => v.onExpr); +const rewriteDeclWithContextM = dictMonad => rewriteWithContextM(dictMonad)(v => v.onDecl); +const rewriteDeclWithContext = visitor => ctx => g => Data$dTuple.$Tuple(ctx, topDownTraversalWithContext(visitor).onDecl(g)(ctx)); +const rewriteDeclTopDownM = dictMonad => { + const topDownTraversal1 = topDownTraversal(dictMonad); + return visitor => topDownTraversal1(visitor).onDecl; +}; +const rewriteDeclTopDown = /* #__PURE__ */ rewriteTopDown(v => v.onDecl); +const rewriteBinderWithContextM = dictMonad => rewriteWithContextM(dictMonad)(v => v.onBinder); +const rewriteBinderWithContext = visitor => ctx => g => Data$dTuple.$Tuple(ctx, topDownTraversalWithContext(visitor).onBinder(g)(ctx)); +const rewriteBinderTopDownM = dictMonad => { + const topDownTraversal1 = topDownTraversal(dictMonad); + return visitor => topDownTraversal1(visitor).onBinder; +}; +const rewriteBinderTopDown = /* #__PURE__ */ rewriteTopDown(v => v.onBinder); +const defer = dictMonad => { + const bind2 = dictMonad.Bind1().bind; + const pure2 = dictMonad.Applicative0().pure; + return v => bind2(pure2(Data$dUnit.unit))(v); +}; +const defer1 = /* #__PURE__ */ defer(Control$dMonad$dFree.freeMonad); +const topDownMonoidalTraversal = dictMonoid => { + const apply = applyCompose((() => { + const $1 = dictMonoid.Semigroup0(); + return {apply: v => v1 => $1.append(v)(v1), Functor0: () => Data$dConst.functorConst}; + })()).apply; + const applicativeCompose1 = applicativeCompose(Data$dConst.applicativeConst(dictMonoid)); + const traverseBinder3 = traverseBinder(applicativeCompose1); + const traverseExpr3 = traverseExpr(applicativeCompose1); + const traverseDecl3 = traverseDecl(applicativeCompose1); + const traverseType3 = traverseType(applicativeCompose1); + return visitor => { + const visitor$p = { + onBinder: a => apply(Control$dMonad$dFree.$Free(Control$dMonad$dFree.$FreeView("Return", visitor.onBinder(a)), Data$dCatList.CatNil))(defer1(v => traverseBinder3(visitor$p)(a))), + onExpr: a => apply(Control$dMonad$dFree.$Free(Control$dMonad$dFree.$FreeView("Return", visitor.onExpr(a)), Data$dCatList.CatNil))(defer1(v => traverseExpr3(visitor$p)(a))), + onDecl: a => apply(Control$dMonad$dFree.$Free(Control$dMonad$dFree.$FreeView("Return", visitor.onDecl(a)), Data$dCatList.CatNil))(defer1(v => traverseDecl3(visitor$p)(a))), + onType: a => apply(Control$dMonad$dFree.$Free(Control$dMonad$dFree.$FreeView("Return", visitor.onType(a)), Data$dCatList.CatNil))(defer1(v => traverseType3(visitor$p)(a))) + }; + return visitor$p; + }; +}; +const monoidalRewrite = dictMonoid => { + const topDownMonoidalTraversal1 = topDownMonoidalTraversal(dictMonoid); + return traversal => visitor => g => Control$dMonad$dFree.runFree(Data$dIdentity.functorIdentity)(Unsafe$dCoerce.unsafeCoerce)(traversal(topDownMonoidalTraversal1(visitor))(g)); +}; +const foldMapBinder = dictMonoid => monoidalRewrite(dictMonoid)(v => v.onBinder); +const foldMapDecl = dictMonoid => monoidalRewrite(dictMonoid)(v => v.onDecl); +const foldMapExpr = dictMonoid => monoidalRewrite(dictMonoid)(v => v.onExpr); +const foldMapModule = dictMonoid => monoidalRewrite(dictMonoid)(traverseModule(applicativeCompose(Data$dConst.applicativeConst(dictMonoid)))); +const foldMapType = dictMonoid => monoidalRewrite(dictMonoid)(v => v.onType); +const defaultVisitorWithContextM = dictMonad => { + const pure2 = dictMonad.Applicative0().pure; + return {onBinder: Data$dTuple.curry(pure2), onDecl: Data$dTuple.curry(pure2), onExpr: Data$dTuple.curry(pure2), onType: Data$dTuple.curry(pure2)}; +}; +const defaultVisitorWithContext = { + onBinder: /* #__PURE__ */ Data$dTuple.curry(identity), + onDecl: /* #__PURE__ */ Data$dTuple.curry(identity), + onExpr: /* #__PURE__ */ Data$dTuple.curry(identity), + onType: /* #__PURE__ */ Data$dTuple.curry(identity) +}; +const defaultVisitorM = dictApplicative => ({onBinder: dictApplicative.pure, onDecl: dictApplicative.pure, onExpr: dictApplicative.pure, onType: dictApplicative.pure}); +const defaultVisitor = {onBinder: identity, onDecl: identity, onExpr: identity, onType: identity}; +const defaultMonoidalVisitor = dictMonoid => ({onBinder: v => dictMonoid.mempty, onDecl: v => dictMonoid.mempty, onExpr: v => dictMonoid.mempty, onType: v => dictMonoid.mempty}); +const bottomUpTraversal = dictMonad => { + const $1 = dictMonad.Bind1(); + const defer2 = defer(dictMonad); + const Applicative0 = dictMonad.Applicative0(); + const traverseBinder3 = traverseBinder(Applicative0); + const traverseExpr3 = traverseExpr(Applicative0); + const traverseType3 = traverseType(Applicative0); + const traverseDecl3 = traverseDecl(Applicative0); + return visitor => { + const visitor$p = { + onBinder: a => $1.bind(defer2(v => traverseBinder3(visitor$p)(a)))(visitor.onBinder), + onExpr: a => $1.bind(defer2(v => traverseExpr3(visitor$p)(a)))(visitor.onExpr), + onType: a => $1.bind(defer2(v => traverseType3(visitor$p)(a)))(visitor.onType), + onDecl: a => $1.bind(defer2(v => traverseDecl3(visitor$p)(a)))(visitor.onDecl) + }; + return visitor$p; + }; +}; +const rewriteBottomUpM = dictMonad => { + const bottomUpTraversal1 = bottomUpTraversal(dictMonad); + return traversal => visitor => traversal(bottomUpTraversal1(visitor)); +}; +const rewriteBinderBottomUpM = dictMonad => { + const bottomUpTraversal1 = bottomUpTraversal(dictMonad); + return visitor => bottomUpTraversal1(visitor).onBinder; +}; +const rewriteDeclBottomUpM = dictMonad => { + const bottomUpTraversal1 = bottomUpTraversal(dictMonad); + return visitor => bottomUpTraversal1(visitor).onDecl; +}; +const rewriteExprBottomUpM = dictMonad => { + const bottomUpTraversal1 = bottomUpTraversal(dictMonad); + return visitor => bottomUpTraversal1(visitor).onExpr; +}; +const rewriteModuleBottomUpM = dictMonad => { + const bottomUpTraversal1 = bottomUpTraversal(dictMonad); + const $2 = traverseModule(dictMonad.Applicative0()); + return visitor => $2(bottomUpTraversal1(visitor)); +}; +const rewriteTypeBottomUpM = dictMonad => { + const bottomUpTraversal1 = bottomUpTraversal(dictMonad); + return visitor => bottomUpTraversal1(visitor).onType; +}; +const bottomUpPureTraversal = visitor => { + const visitor$p = { + onBinder: a => { + const $3 = traverseBinder2(visitor$p)(a); + return Control$dMonad$dFree.$Free( + $3._1, + Data$dCatList.link($3._2)(Data$dCatList.$CatList( + "CatCons", + x => Control$dMonad$dFree.$Free(Control$dMonad$dFree.$FreeView("Return", visitor.onBinder(x)), Data$dCatList.CatNil), + Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil) + )) + ); + }, + onExpr: a => { + const $3 = traverseExpr2(visitor$p)(a); + return Control$dMonad$dFree.$Free( + $3._1, + Data$dCatList.link($3._2)(Data$dCatList.$CatList( + "CatCons", + x => Control$dMonad$dFree.$Free(Control$dMonad$dFree.$FreeView("Return", visitor.onExpr(x)), Data$dCatList.CatNil), + Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil) + )) + ); + }, + onType: a => { + const $3 = traverseType2(visitor$p)(a); + return Control$dMonad$dFree.$Free( + $3._1, + Data$dCatList.link($3._2)(Data$dCatList.$CatList( + "CatCons", + x => Control$dMonad$dFree.$Free(Control$dMonad$dFree.$FreeView("Return", visitor.onType(x)), Data$dCatList.CatNil), + Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil) + )) + ); + }, + onDecl: a => { + const $3 = traverseDecl2(visitor$p)(a); + return Control$dMonad$dFree.$Free( + $3._1, + Data$dCatList.link($3._2)(Data$dCatList.$CatList( + "CatCons", + x => Control$dMonad$dFree.$Free(Control$dMonad$dFree.$FreeView("Return", visitor.onDecl(x)), Data$dCatList.CatNil), + Data$dCatQueue.$CatQueue(Data$dList$dTypes.Nil, Data$dList$dTypes.Nil) + )) + ); + } + }; + return visitor$p; +}; +const rewriteBottomUp = traversal => visitor => { + const $2 = Control$dMonad$dFree.runFree(Data$dIdentity.functorIdentity)(Unsafe$dCoerce.unsafeCoerce); + const $3 = traversal(bottomUpPureTraversal(visitor)); + return x => $2($3(x)); +}; +const rewriteBinderBottomUp = /* #__PURE__ */ rewriteBottomUp(v => v.onBinder); +const rewriteDeclBottomUp = /* #__PURE__ */ rewriteBottomUp(v => v.onDecl); +const rewriteExprBottomUp = /* #__PURE__ */ rewriteBottomUp(v => v.onExpr); +const rewriteModuleBottomUp = /* #__PURE__ */ rewriteBottomUp(traverseModule1); +const rewriteTypeBottomUp = /* #__PURE__ */ rewriteBottomUp(v => v.onType); +export { + applicativeCompose, + applicativeReaderT, + applyCompose, + bottomUpPureTraversal, + bottomUpTraversal, + defaultMonoidalVisitor, + defaultVisitor, + defaultVisitorM, + defaultVisitorWithContext, + defaultVisitorWithContextM, + defer, + defer1, + foldMapBinder, + foldMapDecl, + foldMapExpr, + foldMapModule, + foldMapType, + identity, + monoidalRewrite, + rewriteBinderBottomUp, + rewriteBinderBottomUpM, + rewriteBinderTopDown, + rewriteBinderTopDownM, + rewriteBinderWithContext, + rewriteBinderWithContextM, + rewriteBottomUp, + rewriteBottomUpM, + rewriteDeclBottomUp, + rewriteDeclBottomUpM, + rewriteDeclTopDown, + rewriteDeclTopDownM, + rewriteDeclWithContext, + rewriteDeclWithContextM, + rewriteExprBottomUp, + rewriteExprBottomUpM, + rewriteExprTopDown, + rewriteExprTopDownM, + rewriteExprWithContext, + rewriteExprWithContextM, + rewriteModuleBottomUp, + rewriteModuleBottomUpM, + rewriteModuleTopDown, + rewriteModuleTopDownM, + rewriteModuleWithContext, + rewriteModuleWithContextM, + rewriteTopDown, + rewriteTopDownM, + rewriteTypeBottomUp, + rewriteTypeBottomUpM, + rewriteTypeTopDown, + rewriteTypeTopDownM, + rewriteTypeWithContext, + rewriteTypeWithContextM, + rewriteWithContext, + rewriteWithContextM, + topDownMonoidalTraversal, + topDownPureTraversal, + topDownTraversal, + topDownTraversalWithContext, + topDownTraversalWithContextM, + traverseAdoBlock, + traverseBinder, + traverseBinder1, + traverseBinder2, + traverseCaseOf, + traverseClassHead, + traverseDataCtor, + traverseDataHead, + traverseDecl, + traverseDecl1, + traverseDecl2, + traverseDelimited, + traverseDelimitedNonEmpty, + traverseDoBlock, + traverseDoStatement, + traverseExpr, + traverseExpr1, + traverseExpr2, + traverseForeign, + traverseGuarded, + traverseGuardedExpr, + traverseIfThenElse, + traverseInstance, + traverseInstanceBinding, + traverseInstanceHead, + traverseLabeled, + traverseLambda, + traverseLetBinding, + traverseLetIn, + traverseModule, + traverseModule1, + traverseModuleBody, + traverseOneOrDelimited, + traversePatternGuard, + traverseRecordAccessor, + traverseRecordLabeled, + traverseRecordUpdate, + traverseRow, + traverseSeparated, + traverseType, + traverseType1, + traverseType2, + traverseTypeVarBinding, + traverseValueBindingFields, + traverseWhere, + traverseWrapped +}; diff --git a/.storybook/purescript-indexer/output-es/PureScript.CST.Types/index.js b/.storybook/purescript-indexer/output-es/PureScript.CST.Types/index.js new file mode 100644 index 0000000..087fcdd --- /dev/null +++ b/.storybook/purescript-indexer/output-es/PureScript.CST.Types/index.js @@ -0,0 +1,681 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dEq from "../Data.Eq/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +const $Binder = (tag, _1, _2, _3) => ({tag, _1, _2, _3}); +const $ClassFundep = (tag, _1, _2, _3) => ({tag, _1, _2, _3}); +const $Comment = (tag, _1, _2) => ({tag, _1, _2}); +const $DataMembers = (tag, _1) => ({tag, _1}); +const $Declaration = (tag, _1, _2, _3, _4) => ({tag, _1, _2, _3, _4}); +const $DoStatement = (tag, _1, _2, _3) => ({tag, _1, _2, _3}); +const $Export = (tag, _1, _2) => ({tag, _1, _2}); +const $Expr = (tag, _1, _2, _3) => ({tag, _1, _2, _3}); +const $Fixity = tag => ({tag}); +const $FixityOp = (tag, _1, _2, _3, _4) => ({tag, _1, _2, _3, _4}); +const $Foreign = (tag, _1, _2) => ({tag, _1, _2}); +const $Guarded = (tag, _1, _2) => ({tag, _1, _2}); +const $Import = (tag, _1, _2) => ({tag, _1, _2}); +const $InstanceBinding = (tag, _1) => ({tag, _1}); +const $IntValue = (tag, _1) => ({tag, _1}); +const $LetBinding = (tag, _1, _2, _3) => ({tag, _1, _2, _3}); +const $LineFeed = tag => ({tag}); +const $OneOrDelimited = (tag, _1) => ({tag, _1}); +const $RecordLabeled = (tag, _1, _2, _3) => ({tag, _1, _2, _3}); +const $RecordUpdate = (tag, _1, _2, _3) => ({tag, _1, _2, _3}); +const $Role = tag => ({tag}); +const $SourceStyle = tag => ({tag}); +const $Token = (tag, _1, _2) => ({tag, _1, _2}); +const $Type = (tag, _1, _2, _3, _4) => ({tag, _1, _2, _3, _4}); +const $TypeVarBinding = (tag, _1) => ({tag, _1}); +const ASCII = /* #__PURE__ */ $SourceStyle("ASCII"); +const Unicode = /* #__PURE__ */ $SourceStyle("Unicode"); +const Nominal = /* #__PURE__ */ $Role("Nominal"); +const Representational = /* #__PURE__ */ $Role("Representational"); +const Phantom = /* #__PURE__ */ $Role("Phantom"); +const Proper = x => x; +const Operator = x => x; +const ModuleName = x => x; +const LF = /* #__PURE__ */ $LineFeed("LF"); +const CRLF = /* #__PURE__ */ $LineFeed("CRLF"); +const Label = x => x; +const SmallInt = value0 => $IntValue("SmallInt", value0); +const $$BigInt = value0 => $IntValue("BigInt", value0); +const BigHex = value0 => $IntValue("BigHex", value0); +const TokLeftParen = /* #__PURE__ */ $Token("TokLeftParen"); +const TokRightParen = /* #__PURE__ */ $Token("TokRightParen"); +const TokLeftBrace = /* #__PURE__ */ $Token("TokLeftBrace"); +const TokRightBrace = /* #__PURE__ */ $Token("TokRightBrace"); +const TokLeftSquare = /* #__PURE__ */ $Token("TokLeftSquare"); +const TokRightSquare = /* #__PURE__ */ $Token("TokRightSquare"); +const TokLeftArrow = value0 => $Token("TokLeftArrow", value0); +const TokRightArrow = value0 => $Token("TokRightArrow", value0); +const TokRightFatArrow = value0 => $Token("TokRightFatArrow", value0); +const TokDoubleColon = value0 => $Token("TokDoubleColon", value0); +const TokForall = value0 => $Token("TokForall", value0); +const TokEquals = /* #__PURE__ */ $Token("TokEquals"); +const TokPipe = /* #__PURE__ */ $Token("TokPipe"); +const TokTick = /* #__PURE__ */ $Token("TokTick"); +const TokDot = /* #__PURE__ */ $Token("TokDot"); +const TokComma = /* #__PURE__ */ $Token("TokComma"); +const TokUnderscore = /* #__PURE__ */ $Token("TokUnderscore"); +const TokBackslash = /* #__PURE__ */ $Token("TokBackslash"); +const TokAt = /* #__PURE__ */ $Token("TokAt"); +const TokLowerName = value0 => value1 => $Token("TokLowerName", value0, value1); +const TokUpperName = value0 => value1 => $Token("TokUpperName", value0, value1); +const TokOperator = value0 => value1 => $Token("TokOperator", value0, value1); +const TokSymbolName = value0 => value1 => $Token("TokSymbolName", value0, value1); +const TokSymbolArrow = value0 => $Token("TokSymbolArrow", value0); +const TokHole = value0 => $Token("TokHole", value0); +const TokChar = value0 => value1 => $Token("TokChar", value0, value1); +const TokString = value0 => value1 => $Token("TokString", value0, value1); +const TokRawString = value0 => $Token("TokRawString", value0); +const TokInt = value0 => value1 => $Token("TokInt", value0, value1); +const TokNumber = value0 => value1 => $Token("TokNumber", value0, value1); +const TokLayoutStart = value0 => $Token("TokLayoutStart", value0); +const TokLayoutSep = value0 => $Token("TokLayoutSep", value0); +const TokLayoutEnd = value0 => $Token("TokLayoutEnd", value0); +const Ident = x => x; +const Infix = /* #__PURE__ */ $Fixity("Infix"); +const Infixl = /* #__PURE__ */ $Fixity("Infixl"); +const Infixr = /* #__PURE__ */ $Fixity("Infixr"); +const Comment = value0 => $Comment("Comment", value0); +const Space = value0 => $Comment("Space", value0); +const Line = value0 => value1 => $Comment("Line", value0, value1); +const Labeled = x => x; +const Name = x => x; +const QualifiedName = x => x; +const FixityValue = value0 => value1 => value2 => $FixityOp("FixityValue", value0, value1, value2); +const FixityType = value0 => value1 => value2 => value3 => $FixityOp("FixityType", value0, value1, value2, value3); +const RecordPun = value0 => $RecordLabeled("RecordPun", value0); +const RecordField = value0 => value1 => value2 => $RecordLabeled("RecordField", value0, value1, value2); +const Separated = x => x; +const Wrapped = x => x; +const DataAll = value0 => $DataMembers("DataAll", value0); +const DataEnumerated = value0 => $DataMembers("DataEnumerated", value0); +const ExportValue = value0 => $Export("ExportValue", value0); +const ExportOp = value0 => $Export("ExportOp", value0); +const ExportType = value0 => value1 => $Export("ExportType", value0, value1); +const ExportTypeOp = value0 => value1 => $Export("ExportTypeOp", value0, value1); +const ExportClass = value0 => value1 => $Export("ExportClass", value0, value1); +const ExportModule = value0 => value1 => $Export("ExportModule", value0, value1); +const ExportError = value0 => $Export("ExportError", value0); +const ImportValue = value0 => $Import("ImportValue", value0); +const ImportOp = value0 => $Import("ImportOp", value0); +const ImportType = value0 => value1 => $Import("ImportType", value0, value1); +const ImportTypeOp = value0 => value1 => $Import("ImportTypeOp", value0, value1); +const ImportClass = value0 => value1 => $Import("ImportClass", value0, value1); +const ImportError = value0 => $Import("ImportError", value0); +const ImportDecl = x => x; +const ModuleHeader = x => x; +const One = value0 => $OneOrDelimited("One", value0); +const Many = value0 => $OneOrDelimited("Many", value0); +const TypeVarKinded = value0 => $TypeVarBinding("TypeVarKinded", value0); +const TypeVarName = value0 => $TypeVarBinding("TypeVarName", value0); +const TypeVar = value0 => $Type("TypeVar", value0); +const TypeConstructor = value0 => $Type("TypeConstructor", value0); +const TypeWildcard = value0 => $Type("TypeWildcard", value0); +const TypeHole = value0 => $Type("TypeHole", value0); +const TypeString = value0 => value1 => $Type("TypeString", value0, value1); +const TypeInt = value0 => value1 => value2 => $Type("TypeInt", value0, value1, value2); +const TypeRow = value0 => $Type("TypeRow", value0); +const TypeRecord = value0 => $Type("TypeRecord", value0); +const TypeForall = value0 => value1 => value2 => value3 => $Type("TypeForall", value0, value1, value2, value3); +const TypeKinded = value0 => value1 => value2 => $Type("TypeKinded", value0, value1, value2); +const TypeApp = value0 => value1 => $Type("TypeApp", value0, value1); +const TypeOp = value0 => value1 => $Type("TypeOp", value0, value1); +const TypeOpName = value0 => $Type("TypeOpName", value0); +const TypeArrow = value0 => value1 => value2 => $Type("TypeArrow", value0, value1, value2); +const TypeArrowName = value0 => $Type("TypeArrowName", value0); +const TypeConstrained = value0 => value1 => value2 => $Type("TypeConstrained", value0, value1, value2); +const TypeParens = value0 => $Type("TypeParens", value0); +const $$TypeError = value0 => $Type("TypeError", value0); +const Row = x => x; +const DataCtor = x => x; +const ForeignValue = value0 => $Foreign("ForeignValue", value0); +const ForeignData = value0 => value1 => $Foreign("ForeignData", value0, value1); +const ForeignKind = value0 => value1 => $Foreign("ForeignKind", value0, value1); +const FundepDetermined = value0 => value1 => $ClassFundep("FundepDetermined", value0, value1); +const FundepDetermines = value0 => value1 => value2 => $ClassFundep("FundepDetermines", value0, value1, value2); +const BinderWildcard = value0 => $Binder("BinderWildcard", value0); +const BinderVar = value0 => $Binder("BinderVar", value0); +const BinderNamed = value0 => value1 => value2 => $Binder("BinderNamed", value0, value1, value2); +const BinderConstructor = value0 => value1 => $Binder("BinderConstructor", value0, value1); +const BinderBoolean = value0 => value1 => $Binder("BinderBoolean", value0, value1); +const BinderChar = value0 => value1 => $Binder("BinderChar", value0, value1); +const BinderString = value0 => value1 => $Binder("BinderString", value0, value1); +const BinderInt = value0 => value1 => value2 => $Binder("BinderInt", value0, value1, value2); +const BinderNumber = value0 => value1 => value2 => $Binder("BinderNumber", value0, value1, value2); +const BinderArray = value0 => $Binder("BinderArray", value0); +const BinderRecord = value0 => $Binder("BinderRecord", value0); +const BinderParens = value0 => $Binder("BinderParens", value0); +const BinderTyped = value0 => value1 => value2 => $Binder("BinderTyped", value0, value1, value2); +const BinderOp = value0 => value1 => $Binder("BinderOp", value0, value1); +const BinderError = value0 => $Binder("BinderError", value0); +const DoLet = value0 => value1 => $DoStatement("DoLet", value0, value1); +const DoDiscard = value0 => $DoStatement("DoDiscard", value0); +const DoBind = value0 => value1 => value2 => $DoStatement("DoBind", value0, value1, value2); +const DoError = value0 => $DoStatement("DoError", value0); +const LetBindingSignature = value0 => $LetBinding("LetBindingSignature", value0); +const LetBindingName = value0 => $LetBinding("LetBindingName", value0); +const LetBindingPattern = value0 => value1 => value2 => $LetBinding("LetBindingPattern", value0, value1, value2); +const LetBindingError = value0 => $LetBinding("LetBindingError", value0); +const Unconditional = value0 => value1 => $Guarded("Unconditional", value0, value1); +const Guarded = value0 => $Guarded("Guarded", value0); +const Where = x => x; +const ExprHole = value0 => $Expr("ExprHole", value0); +const ExprSection = value0 => $Expr("ExprSection", value0); +const ExprIdent = value0 => $Expr("ExprIdent", value0); +const ExprConstructor = value0 => $Expr("ExprConstructor", value0); +const ExprBoolean = value0 => value1 => $Expr("ExprBoolean", value0, value1); +const ExprChar = value0 => value1 => $Expr("ExprChar", value0, value1); +const ExprString = value0 => value1 => $Expr("ExprString", value0, value1); +const ExprInt = value0 => value1 => $Expr("ExprInt", value0, value1); +const ExprNumber = value0 => value1 => $Expr("ExprNumber", value0, value1); +const ExprArray = value0 => $Expr("ExprArray", value0); +const ExprRecord = value0 => $Expr("ExprRecord", value0); +const ExprParens = value0 => $Expr("ExprParens", value0); +const ExprTyped = value0 => value1 => value2 => $Expr("ExprTyped", value0, value1, value2); +const ExprInfix = value0 => value1 => $Expr("ExprInfix", value0, value1); +const ExprOp = value0 => value1 => $Expr("ExprOp", value0, value1); +const ExprOpName = value0 => $Expr("ExprOpName", value0); +const ExprNegate = value0 => value1 => $Expr("ExprNegate", value0, value1); +const ExprRecordAccessor = value0 => $Expr("ExprRecordAccessor", value0); +const ExprRecordUpdate = value0 => value1 => $Expr("ExprRecordUpdate", value0, value1); +const ExprApp = value0 => value1 => $Expr("ExprApp", value0, value1); +const ExprLambda = value0 => $Expr("ExprLambda", value0); +const ExprIf = value0 => $Expr("ExprIf", value0); +const ExprCase = value0 => $Expr("ExprCase", value0); +const ExprLet = value0 => $Expr("ExprLet", value0); +const ExprDo = value0 => $Expr("ExprDo", value0); +const ExprAdo = value0 => $Expr("ExprAdo", value0); +const ExprError = value0 => $Expr("ExprError", value0); +const RecordUpdateLeaf = value0 => value1 => value2 => $RecordUpdate("RecordUpdateLeaf", value0, value1, value2); +const RecordUpdateBranch = value0 => value1 => $RecordUpdate("RecordUpdateBranch", value0, value1); +const GuardedExpr = x => x; +const PatternGuard = x => x; +const InstanceBindingSignature = value0 => $InstanceBinding("InstanceBindingSignature", value0); +const InstanceBindingName = value0 => $InstanceBinding("InstanceBindingName", value0); +const Instance = x => x; +const DeclData = value0 => value1 => $Declaration("DeclData", value0, value1); +const DeclType = value0 => value1 => value2 => $Declaration("DeclType", value0, value1, value2); +const DeclNewtype = value0 => value1 => value2 => value3 => $Declaration("DeclNewtype", value0, value1, value2, value3); +const DeclClass = value0 => value1 => $Declaration("DeclClass", value0, value1); +const DeclInstanceChain = value0 => $Declaration("DeclInstanceChain", value0); +const DeclDerive = value0 => value1 => value2 => $Declaration("DeclDerive", value0, value1, value2); +const DeclKindSignature = value0 => value1 => $Declaration("DeclKindSignature", value0, value1); +const DeclSignature = value0 => $Declaration("DeclSignature", value0); +const DeclValue = value0 => $Declaration("DeclValue", value0); +const DeclFixity = value0 => $Declaration("DeclFixity", value0); +const DeclForeign = value0 => value1 => value2 => $Declaration("DeclForeign", value0, value1, value2); +const DeclRole = value0 => value1 => value2 => value3 => $Declaration("DeclRole", value0, value1, value2, value3); +const DeclError = value0 => $Declaration("DeclError", value0); +const ModuleBody = x => x; +const Module = x => x; +const ordProper = Data$dOrd.ordString; +const ordOperator = Data$dOrd.ordString; +const ordModuleName = Data$dOrd.ordString; +const ordLabel = Data$dOrd.ordString; +const ordIdent = Data$dOrd.ordString; +const newtypeWrapped = {Coercible0: () => undefined}; +const newtypeWhere = {Coercible0: () => undefined}; +const newtypeSeparated = {Coercible0: () => undefined}; +const newtypeRow = {Coercible0: () => undefined}; +const newtypeQualifiedName = {Coercible0: () => undefined}; +const newtypeProper = {Coercible0: () => undefined}; +const newtypePatternGuard = {Coercible0: () => undefined}; +const newtypeOperator = {Coercible0: () => undefined}; +const newtypeName = {Coercible0: () => undefined}; +const newtypeModuleName = {Coercible0: () => undefined}; +const newtypeModuleHeader = {Coercible0: () => undefined}; +const newtypeModuleBody = {Coercible0: () => undefined}; +const newtypeModule = {Coercible0: () => undefined}; +const newtypeLabeled = {Coercible0: () => undefined}; +const newtypeLabel = {Coercible0: () => undefined}; +const newtypeInstance = {Coercible0: () => undefined}; +const newtypeImportDecl = {Coercible0: () => undefined}; +const newtypeIdent = {Coercible0: () => undefined}; +const newtypeGuardedExpr = {Coercible0: () => undefined}; +const newtypeDataCtor = {Coercible0: () => undefined}; +const eqSourceStyle = { + eq: x => y => { + if (x.tag === "ASCII") { return y.tag === "ASCII"; } + if (x.tag === "Unicode") { return y.tag === "Unicode"; } + return false; + } +}; +const eqProper = Data$dEq.eqString; +const eqOperator = Data$dEq.eqString; +const eqModuleName = Data$dEq.eqString; +const eqLabel = Data$dEq.eqString; +const eqIntValue = { + eq: x => y => { + if (x.tag === "SmallInt") { + if (y.tag === "SmallInt") { return x._1 === y._1; } + return false; + } + if (x.tag === "BigInt") { + if (y.tag === "BigInt") { return x._1 === y._1; } + return false; + } + if (x.tag === "BigHex") { + if (y.tag === "BigHex") { return x._1 === y._1; } + return false; + } + return false; + } +}; +const eqToken = { + eq: x => y => { + if (x.tag === "TokLeftParen") { return y.tag === "TokLeftParen"; } + if (x.tag === "TokRightParen") { return y.tag === "TokRightParen"; } + if (x.tag === "TokLeftBrace") { return y.tag === "TokLeftBrace"; } + if (x.tag === "TokRightBrace") { return y.tag === "TokRightBrace"; } + if (x.tag === "TokLeftSquare") { return y.tag === "TokLeftSquare"; } + if (x.tag === "TokRightSquare") { return y.tag === "TokRightSquare"; } + if (x.tag === "TokLeftArrow") { + if (y.tag === "TokLeftArrow") { + if (x._1.tag === "ASCII") { return y._1.tag === "ASCII"; } + if (x._1.tag === "Unicode") { return y._1.tag === "Unicode"; } + return false; + } + return false; + } + if (x.tag === "TokRightArrow") { + if (y.tag === "TokRightArrow") { + if (x._1.tag === "ASCII") { return y._1.tag === "ASCII"; } + if (x._1.tag === "Unicode") { return y._1.tag === "Unicode"; } + return false; + } + return false; + } + if (x.tag === "TokRightFatArrow") { + if (y.tag === "TokRightFatArrow") { + if (x._1.tag === "ASCII") { return y._1.tag === "ASCII"; } + if (x._1.tag === "Unicode") { return y._1.tag === "Unicode"; } + return false; + } + return false; + } + if (x.tag === "TokDoubleColon") { + if (y.tag === "TokDoubleColon") { + if (x._1.tag === "ASCII") { return y._1.tag === "ASCII"; } + if (x._1.tag === "Unicode") { return y._1.tag === "Unicode"; } + return false; + } + return false; + } + if (x.tag === "TokForall") { + if (y.tag === "TokForall") { + if (x._1.tag === "ASCII") { return y._1.tag === "ASCII"; } + if (x._1.tag === "Unicode") { return y._1.tag === "Unicode"; } + return false; + } + return false; + } + if (x.tag === "TokEquals") { return y.tag === "TokEquals"; } + if (x.tag === "TokPipe") { return y.tag === "TokPipe"; } + if (x.tag === "TokTick") { return y.tag === "TokTick"; } + if (x.tag === "TokDot") { return y.tag === "TokDot"; } + if (x.tag === "TokComma") { return y.tag === "TokComma"; } + if (x.tag === "TokUnderscore") { return y.tag === "TokUnderscore"; } + if (x.tag === "TokBackslash") { return y.tag === "TokBackslash"; } + if (x.tag === "TokAt") { return y.tag === "TokAt"; } + if (x.tag === "TokLowerName") { + if (y.tag === "TokLowerName") { + return (() => { + if (x._1.tag === "Nothing") { return y._1.tag === "Nothing"; } + if (x._1.tag === "Just") { + if (y._1.tag === "Just") { return x._1._1 === y._1._1; } + return false; + } + return false; + })() && x._2 === y._2; + } + return false; + } + if (x.tag === "TokUpperName") { + if (y.tag === "TokUpperName") { + return (() => { + if (x._1.tag === "Nothing") { return y._1.tag === "Nothing"; } + if (x._1.tag === "Just") { + if (y._1.tag === "Just") { return x._1._1 === y._1._1; } + return false; + } + return false; + })() && x._2 === y._2; + } + return false; + } + if (x.tag === "TokOperator") { + if (y.tag === "TokOperator") { + return (() => { + if (x._1.tag === "Nothing") { return y._1.tag === "Nothing"; } + if (x._1.tag === "Just") { + if (y._1.tag === "Just") { return x._1._1 === y._1._1; } + return false; + } + return false; + })() && x._2 === y._2; + } + return false; + } + if (x.tag === "TokSymbolName") { + if (y.tag === "TokSymbolName") { + return (() => { + if (x._1.tag === "Nothing") { return y._1.tag === "Nothing"; } + if (x._1.tag === "Just") { + if (y._1.tag === "Just") { return x._1._1 === y._1._1; } + return false; + } + return false; + })() && x._2 === y._2; + } + return false; + } + if (x.tag === "TokSymbolArrow") { + if (y.tag === "TokSymbolArrow") { + if (x._1.tag === "ASCII") { return y._1.tag === "ASCII"; } + if (x._1.tag === "Unicode") { return y._1.tag === "Unicode"; } + return false; + } + return false; + } + if (x.tag === "TokHole") { + if (y.tag === "TokHole") { return x._1 === y._1; } + return false; + } + if (x.tag === "TokChar") { + if (y.tag === "TokChar") { return x._1 === y._1 && x._2 === y._2; } + return false; + } + if (x.tag === "TokString") { + if (y.tag === "TokString") { return x._1 === y._1 && x._2 === y._2; } + return false; + } + if (x.tag === "TokRawString") { + if (y.tag === "TokRawString") { return x._1 === y._1; } + return false; + } + if (x.tag === "TokInt") { + if (y.tag === "TokInt") { + return x._1 === y._1 && (() => { + if (x._2.tag === "SmallInt") { + if (y._2.tag === "SmallInt") { return x._2._1 === y._2._1; } + return false; + } + if (x._2.tag === "BigInt") { + if (y._2.tag === "BigInt") { return x._2._1 === y._2._1; } + return false; + } + if (x._2.tag === "BigHex") { + if (y._2.tag === "BigHex") { return x._2._1 === y._2._1; } + return false; + } + return false; + })(); + } + return false; + } + if (x.tag === "TokNumber") { + if (y.tag === "TokNumber") { return x._1 === y._1 && x._2 === y._2; } + return false; + } + if (x.tag === "TokLayoutStart") { + if (y.tag === "TokLayoutStart") { return x._1 === y._1; } + return false; + } + if (x.tag === "TokLayoutSep") { + if (y.tag === "TokLayoutSep") { return x._1 === y._1; } + return false; + } + if (x.tag === "TokLayoutEnd") { + if (y.tag === "TokLayoutEnd") { return x._1 === y._1; } + return false; + } + return false; + } +}; +const eqIdent = Data$dEq.eqString; +export { + $Binder, + $ClassFundep, + $Comment, + $DataMembers, + $Declaration, + $DoStatement, + $Export, + $Expr, + $Fixity, + $FixityOp, + $Foreign, + $Guarded, + $Import, + $InstanceBinding, + $IntValue, + $LetBinding, + $LineFeed, + $OneOrDelimited, + $RecordLabeled, + $RecordUpdate, + $Role, + $SourceStyle, + $Token, + $Type, + $TypeVarBinding, + ASCII, + BigHex, + $$BigInt as BigInt, + BinderArray, + BinderBoolean, + BinderChar, + BinderConstructor, + BinderError, + BinderInt, + BinderNamed, + BinderNumber, + BinderOp, + BinderParens, + BinderRecord, + BinderString, + BinderTyped, + BinderVar, + BinderWildcard, + CRLF, + Comment, + DataAll, + DataCtor, + DataEnumerated, + DeclClass, + DeclData, + DeclDerive, + DeclError, + DeclFixity, + DeclForeign, + DeclInstanceChain, + DeclKindSignature, + DeclNewtype, + DeclRole, + DeclSignature, + DeclType, + DeclValue, + DoBind, + DoDiscard, + DoError, + DoLet, + ExportClass, + ExportError, + ExportModule, + ExportOp, + ExportType, + ExportTypeOp, + ExportValue, + ExprAdo, + ExprApp, + ExprArray, + ExprBoolean, + ExprCase, + ExprChar, + ExprConstructor, + ExprDo, + ExprError, + ExprHole, + ExprIdent, + ExprIf, + ExprInfix, + ExprInt, + ExprLambda, + ExprLet, + ExprNegate, + ExprNumber, + ExprOp, + ExprOpName, + ExprParens, + ExprRecord, + ExprRecordAccessor, + ExprRecordUpdate, + ExprSection, + ExprString, + ExprTyped, + FixityType, + FixityValue, + ForeignData, + ForeignKind, + ForeignValue, + FundepDetermined, + FundepDetermines, + Guarded, + GuardedExpr, + Ident, + ImportClass, + ImportDecl, + ImportError, + ImportOp, + ImportType, + ImportTypeOp, + ImportValue, + Infix, + Infixl, + Infixr, + Instance, + InstanceBindingName, + InstanceBindingSignature, + LF, + Label, + Labeled, + LetBindingError, + LetBindingName, + LetBindingPattern, + LetBindingSignature, + Line, + Many, + Module, + ModuleBody, + ModuleHeader, + ModuleName, + Name, + Nominal, + One, + Operator, + PatternGuard, + Phantom, + Proper, + QualifiedName, + RecordField, + RecordPun, + RecordUpdateBranch, + RecordUpdateLeaf, + Representational, + Row, + Separated, + SmallInt, + Space, + TokAt, + TokBackslash, + TokChar, + TokComma, + TokDot, + TokDoubleColon, + TokEquals, + TokForall, + TokHole, + TokInt, + TokLayoutEnd, + TokLayoutSep, + TokLayoutStart, + TokLeftArrow, + TokLeftBrace, + TokLeftParen, + TokLeftSquare, + TokLowerName, + TokNumber, + TokOperator, + TokPipe, + TokRawString, + TokRightArrow, + TokRightBrace, + TokRightFatArrow, + TokRightParen, + TokRightSquare, + TokString, + TokSymbolArrow, + TokSymbolName, + TokTick, + TokUnderscore, + TokUpperName, + TypeApp, + TypeArrow, + TypeArrowName, + TypeConstrained, + TypeConstructor, + $$TypeError as TypeError, + TypeForall, + TypeHole, + TypeInt, + TypeKinded, + TypeOp, + TypeOpName, + TypeParens, + TypeRecord, + TypeRow, + TypeString, + TypeVar, + TypeVarKinded, + TypeVarName, + TypeWildcard, + Unconditional, + Unicode, + Where, + Wrapped, + eqIdent, + eqIntValue, + eqLabel, + eqModuleName, + eqOperator, + eqProper, + eqSourceStyle, + eqToken, + newtypeDataCtor, + newtypeGuardedExpr, + newtypeIdent, + newtypeImportDecl, + newtypeInstance, + newtypeLabel, + newtypeLabeled, + newtypeModule, + newtypeModuleBody, + newtypeModuleHeader, + newtypeModuleName, + newtypeName, + newtypeOperator, + newtypePatternGuard, + newtypeProper, + newtypeQualifiedName, + newtypeRow, + newtypeSeparated, + newtypeWhere, + newtypeWrapped, + ordIdent, + ordLabel, + ordModuleName, + ordOperator, + ordProper +}; diff --git a/.storybook/purescript-indexer/output-es/PureScript.CST/index.js b/.storybook/purescript-indexer/output-es/PureScript.CST/index.js new file mode 100644 index 0000000..69bc558 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/PureScript.CST/index.js @@ -0,0 +1,87 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dLazy from "../Data.Lazy/index.js"; +import * as Data$dMonoid from "../Data.Monoid/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as PureScript$dCST$dLexer from "../PureScript.CST.Lexer/index.js"; +import * as PureScript$dCST$dParser from "../PureScript.CST.Parser/index.js"; +import * as PureScript$dCST$dParser$dMonad from "../PureScript.CST.Parser.Monad/index.js"; +import * as PureScript$dCST$dPrint from "../PureScript.CST.Print/index.js"; +import * as PureScript$dCST$dRange from "../PureScript.CST.Range/index.js"; +import * as PureScript$dCST$dRange$dTokenList from "../PureScript.CST.Range.TokenList/index.js"; +import * as Unsafe$dCoerce from "../Unsafe.Coerce/index.js"; +const $RecoveredParserResult = (tag, _1, _2) => ({tag, _1, _2}); +const foldMap = /* #__PURE__ */ (() => Data$dFoldable.foldableArray.foldMap(Data$dMonoid.monoidString))(); +const ParseSucceeded = value0 => $RecoveredParserResult("ParseSucceeded", value0); +const ParseSucceededWithErrors = value0 => value1 => $RecoveredParserResult("ParseSucceededWithErrors", value0, value1); +const ParseFailed = value0 => $RecoveredParserResult("ParseFailed", value0); +const PartialModule = x => x; +const toRecoveredParserResult = v => { + if (v.tag === "Right") { + if (v._1._2.length > 0) { return $RecoveredParserResult("ParseSucceededWithErrors", v._1._1, v._1._2); } + if (v.tag === "Right") { return $RecoveredParserResult("ParseSucceeded", v._1._1); } + if (v.tag === "Left") { return $RecoveredParserResult("ParseFailed", v._1); } + $runtime.fail(); + } + if (v.tag === "Right") { return $RecoveredParserResult("ParseSucceeded", v._1._1); } + if (v.tag === "Left") { return $RecoveredParserResult("ParseFailed", v._1); } + $runtime.fail(); +}; +const toRecovered = Unsafe$dCoerce.unsafeCoerce; +const runRecoveredParser = p => x => toRecoveredParserResult(PureScript$dCST$dParser$dMonad.fromParserResult(PureScript$dCST$dParser$dMonad.runParser$p({ + consumed: false, + errors: [], + stream: PureScript$dCST$dLexer.lex(x) +})(p))); +const printModule = dictTokensOf => { + const tokensOf = PureScript$dCST$dRange.tokensOfModule(dictTokensOf).tokensOf; + return mod => foldMap(PureScript$dCST$dPrint.printSourceTokenWithOption(PureScript$dCST$dPrint.HideLayout))(PureScript$dCST$dRange$dTokenList.toArray(tokensOf(mod))) + foldMap(PureScript$dCST$dPrint.printComment(PureScript$dCST$dPrint.printLineFeed))(mod.body.trailingComments); +}; +const parseType = /* #__PURE__ */ runRecoveredParser(PureScript$dCST$dParser.parseType); +const parsePartialModule = src => toRecoveredParserResult((() => { + const v = PureScript$dCST$dParser$dMonad.runParser$p({consumed: false, errors: [], stream: PureScript$dCST$dLexer.lex(src)})(PureScript$dCST$dParser.parseModuleHeader); + if (v.tag === "ParseSucc") { + return Data$dEither.$Either( + "Right", + Data$dTuple.$Tuple( + { + header: v._1, + full: Data$dLazy.defer(v1 => toRecoveredParserResult(PureScript$dCST$dParser$dMonad.fromParserResult(PureScript$dCST$dParser$dMonad.runParser$p(v._2)(( + state1, + more, + resume, + done + ) => PureScript$dCST$dParser.parseModuleBody(state1, more, resume, (state2, a) => more(v1$1 => done(state2, {header: v._1, body: a}))))))) + }, + v._2.errors + ) + ); + } + if (v.tag === "ParseFail") { return Data$dEither.$Either("Left", v._1); } + $runtime.fail(); +})()); +const parseModule = /* #__PURE__ */ runRecoveredParser(PureScript$dCST$dParser.parseModule); +const parseImportDecl = /* #__PURE__ */ runRecoveredParser(PureScript$dCST$dParser.parseImportDecl); +const parseExpr = /* #__PURE__ */ runRecoveredParser(PureScript$dCST$dParser.parseExpr); +const parseDecl = /* #__PURE__ */ runRecoveredParser(PureScript$dCST$dParser.parseDecl); +const parseBinder = /* #__PURE__ */ runRecoveredParser(PureScript$dCST$dParser.parseBinder); +export { + $RecoveredParserResult, + ParseFailed, + ParseSucceeded, + ParseSucceededWithErrors, + PartialModule, + foldMap, + parseBinder, + parseDecl, + parseExpr, + parseImportDecl, + parseModule, + parsePartialModule, + parseType, + printModule, + runRecoveredParser, + toRecovered, + toRecoveredParserResult +}; diff --git a/.storybook/purescript-indexer/output-es/PureScriptCSFIndexer/index.js b/.storybook/purescript-indexer/output-es/PureScriptCSFIndexer/index.js new file mode 100644 index 0000000..b90b00a --- /dev/null +++ b/.storybook/purescript-indexer/output-es/PureScriptCSFIndexer/index.js @@ -0,0 +1,140 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dArray from "../Data.Array/index.js"; +import * as Data$dConst from "../Data.Const/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dMap from "../Data.Map/index.js"; +import * as Data$dMap$dInternal from "../Data.Map.Internal/index.js"; +import * as Data$dMonoid from "../Data.Monoid/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dSemigroup$dFirst from "../Data.Semigroup.First/index.js"; +import * as Data$dString$dCodeUnits from "../Data.String.CodeUnits/index.js"; +import * as Data$dString$dCommon from "../Data.String.Common/index.js"; +import * as Data$dString$dRegex from "../Data.String.Regex/index.js"; +import * as Data$dString$dRegex$dUnsafe from "../Data.String.Regex.Unsafe/index.js"; +import * as Effect$dAff from "../Effect.Aff/index.js"; +import * as Effect$dConsole from "../Effect.Console/index.js"; +import * as Effect$dException from "../Effect.Exception/index.js"; +import * as Node$dEncoding from "../Node.Encoding/index.js"; +import * as Node$dFS$dAff from "../Node.FS.Aff/index.js"; +import * as Node$dFS$dAsync from "../Node.FS.Async/index.js"; +import * as Node$dPath from "../Node.Path/index.js"; +import * as PureScript$dCST from "../PureScript.CST/index.js"; +import * as PureScript$dCST$dParser from "../PureScript.CST.Parser/index.js"; +import * as PureScript$dCST$dTraversal from "../PureScript.CST.Traversal/index.js"; +import * as Record$dUnsafe$dUnion from "../Record.Unsafe.Union/index.js"; +import * as Storybook$dCSFTools from "../Storybook.CSFTools/index.js"; +import * as Yoga$dJSON from "../Yoga.JSON/index.js"; +import * as Yoga$dJSON$dError from "../Yoga.JSON.Error/index.js"; +const monoidSemigroupMap = /* #__PURE__ */ Data$dMap.monoidSemigroupMap(Data$dOrd.ordString)(Data$dSemigroup$dFirst.semigroupFirst); +const intercalateMap = /* #__PURE__ */ (() => { + const foldMap12 = Data$dList$dTypes.foldable1NonEmptyList.foldMap1({append: v => v1 => j => v(j) + (j + v1(j))}); + return j => f => foldable => foldMap12(x => { + const $5 = f(x); + return v => $5; + })(foldable)(j); +})(); +const readForeignArray = /* #__PURE__ */ Yoga$dJSON.readForeignArray(Yoga$dJSON.readForeignString); +const readJSON = /* #__PURE__ */ Yoga$dJSON.readJSON(/* #__PURE__ */ Yoga$dJSON.readForeignRecord()(/* #__PURE__ */ Yoga$dJSON.readForeignFieldsCons({reflectSymbol: () => "file"})(Yoga$dJSON.readForeignString)(/* #__PURE__ */ Yoga$dJSON.readForeignFieldsCons({ + reflectSymbol: () => "mappings" +})(Yoga$dJSON.readForeignString)(/* #__PURE__ */ Yoga$dJSON.readForeignFieldsCons({reflectSymbol: () => "names"})(readForeignArray)(/* #__PURE__ */ Yoga$dJSON.readForeignFieldsCons({ + reflectSymbol: () => "sourceRoot" +})(/* #__PURE__ */ Yoga$dJSON.readForeignMaybe(Yoga$dJSON.readForeignString))(/* #__PURE__ */ Yoga$dJSON.readForeignFieldsCons({reflectSymbol: () => "sources"})(readForeignArray)(/* #__PURE__ */ Yoga$dJSON.readForeignFieldsCons({ + reflectSymbol: () => "version" +})(Yoga$dJSON.readForeignInt)(Yoga$dJSON.readForeignFieldsNilRowRo)()())()())()())()())()())()())); +const for_ = /* #__PURE__ */ Data$dFoldable.for_(Effect$dAff.applicativeAff); +const for_1 = /* #__PURE__ */ for_(Data$dFoldable.foldableArray); +const for_2 = /* #__PURE__ */ for_(Data$dFoldable.foldableMaybe); +const intercalate = /* #__PURE__ */ Data$dArray.intercalate1(Data$dMonoid.monoidString); +const getTopLevelValueDeclarations = /* #__PURE__ */ PureScript$dCST$dTraversal.monoidalRewrite(monoidSemigroupMap)(/* #__PURE__ */ PureScript$dCST$dTraversal.traverseModule(/* #__PURE__ */ PureScript$dCST$dTraversal.applicativeCompose(/* #__PURE__ */ Data$dConst.applicativeConst(monoidSemigroupMap))))({ + onBinder: v => monoidSemigroupMap.mempty, + onDecl: v1 => { + if (v1.tag === "DeclValue") { return Data$dMap$dInternal.$Map("Two", Data$dMap$dInternal.Leaf, v1._1.name.name, v1._1.name.token.range, Data$dMap$dInternal.Leaf); } + return monoidSemigroupMap.mempty; + }, + onExpr: v => monoidSemigroupMap.mempty, + onType: v => monoidSemigroupMap.mempty +}); +const enrichWithPureScriptInfo = fileName => parsed => { + const $2 = intercalateMap("\n")(Yoga$dJSON$dError.renderHumanError); + return Effect$dAff.try(Effect$dAff._bind(Node$dFS$dAff.toAff2(Node$dFS$dAsync.readTextFile)(Node$dEncoding.UTF8)(fileName + ".map"))(sourceMapText => Effect$dAff._bind((() => { + const $4 = readJSON(sourceMapText); + if ($4.tag === "Left") { return Effect$dAff._throwError(Effect$dException.error($2($4._1))); } + if ($4.tag === "Right") { return Effect$dAff._pure($4._1); } + $runtime.fail(); + })())(v => Effect$dAff._bind((() => { + const $5 = Effect$dAff._throwError(Effect$dException.error("empty source path")); + const $6 = Data$dArray.index(v.sources)(0); + if ($6.tag === "Nothing") { return $5; } + if ($6.tag === "Just") { return Effect$dAff._pure($6._1); } + $runtime.fail(); + })())(sourcePath => Effect$dAff._bind(Effect$dAff._liftEffect(Node$dPath.resolve([Node$dPath.dirname(fileName)])(sourcePath)))(absoluteSourcePath => Effect$dAff._bind(Node$dFS$dAff.toAff2(Node$dFS$dAsync.readTextFile)(Node$dEncoding.UTF8)(absoluteSourcePath))(psFile => Effect$dAff._bind((() => { + const v1 = PureScript$dCST.runRecoveredParser(PureScript$dCST$dParser.parseModule)(psFile); + if (v1.tag === "ParseSucceeded") { return Effect$dAff._pure(v1._1); } + return Effect$dAff._throwError(Effect$dException.error("failed to parse PureScript module " + psFile)); + })())(cst => { + const topLevelDecls = getTopLevelValueDeclarations(cst); + return Effect$dAff._bind(Effect$dAff._liftEffect(Storybook$dCSFTools.getStoryNames(parsed)))(storyNames => Effect$dAff._bind(Effect$dAff._liftEffect(() => ({value: parsed})))(resultRef => { + const lines = Data$dString$dCommon.split("\n")(psFile); + return Effect$dAff._bind(for_1(storyNames)(storyName => for_2(Data$dMap$dInternal.lookup(Data$dOrd.ordString)(storyName)(topLevelDecls))(v1 => Effect$dAff._liftEffect((() => { + const completeLines = Data$dArray.slice(v1.start.line)(v1.end.line - 2 | 0)(lines); + const v3 = Data$dArray.index(lines)(v1.end.line); + const v4 = Data$dArray.index(lines)(v1.start.line); + if (v4.tag === "Just") { + if (v3.tag === "Just") { + const code = Data$dString$dCodeUnits.drop(v1.start.column)(v4._1) + ( + "\n" + (intercalate("\n")(completeLines) + ("\n" + Data$dString$dCodeUnits.take(v1.end.column)(v3._1))) + ); + return () => { + const before = resultRef.value; + const after = Storybook$dCSFTools.setStoryCode({storyName: storyName, code: code})(before)(); + return resultRef.value = after; + }; + } + return Effect$dConsole.error("weird"); + } + return Effect$dConsole.error("weird"); + })()))))(() => Effect$dAff._bind(Effect$dAff._liftEffect(() => resultRef.value))(result => Effect$dAff._pure(result))); + })); + }))))))); +}; +const defaultVariableRecordRegex = /* #__PURE__ */ Data$dString$dRegex$dUnsafe.unsafeRegex("^var \\$\\$default =[^\\{]+\\{((?:.*\\n)+?)(^\\}\\);)")({ + global: true, + ignoreCase: false, + multiline: true, + dotAll: false, + sticky: false, + unicode: false +}); +const adjustSourceForStorybook = /* #__PURE__ */ Data$dString$dRegex.replace(defaultVariableRecordRegex)("var $$$$default = { $1 };"); +const indexer = fileName => options => Effect$dAff._bind(Node$dFS$dAff.toAff2(Node$dFS$dAsync.readTextFile)(Node$dEncoding.UTF8)(fileName))(fileContent => Effect$dAff._bind(Effect$dAff._liftEffect(Storybook$dCSFTools.parseCsf(adjustSourceForStorybook(fileContent))({ + ...options, + fileName: fileName +})))(parsed => Effect$dAff._bind(enrichWithPureScriptInfo(fileName)(parsed))(enriched => Effect$dAff._bind((() => { + if (enriched.tag === "Left") { + return Effect$dAff._bind(Effect$dAff._liftEffect(Effect$dConsole.error(Effect$dException.showErrorImpl(enriched._1))))(() => Effect$dAff._pure(parsed)); + } + if (enriched.tag === "Right") { return Effect$dAff._pure(enriched._1); } + $runtime.fail(); +})())(csf => Effect$dAff._liftEffect((() => { + const $6 = Storybook$dCSFTools.formatCsf(csf); + return () => { + const formatted = $6(); + return Storybook$dCSFTools.parseCsf(formatted)(options)(); + }; +})()))))); +export { + adjustSourceForStorybook, + defaultVariableRecordRegex, + enrichWithPureScriptInfo, + for_, + for_1, + for_2, + getTopLevelValueDeclarations, + indexer, + intercalate, + intercalateMap, + monoidSemigroupMap, + readForeignArray, + readJSON +}; diff --git a/.storybook/purescript-indexer/output-es/Record.Builder/foreign.js b/.storybook/purescript-indexer/output-es/Record.Builder/foreign.js new file mode 100644 index 0000000..bae6e96 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Record.Builder/foreign.js @@ -0,0 +1,44 @@ +export function copyRecord(rec) { + var copy = {}; + for (var key in rec) { + if ({}.hasOwnProperty.call(rec, key)) { + copy[key] = rec[key]; + } + } + return copy; +} + +export function unsafeInsert(l) { + return function(a) { + return function(rec) { + rec[l] = a; + return rec; + }; + }; +} + +export function unsafeModify(l) { + return function (f) { + return function(rec) { + rec[l] = f(rec[l]); + return rec; + }; + }; +} + +export function unsafeDelete(l) { + return function(rec) { + delete rec[l]; + return rec; + }; +} + +export function unsafeRename(l1) { + return function (l2) { + return function (rec) { + rec[l2] = rec[l1]; + delete rec[l1]; + return rec; + }; + }; +} diff --git a/.storybook/purescript-indexer/output-es/Record.Builder/index.js b/.storybook/purescript-indexer/output-es/Record.Builder/index.js new file mode 100644 index 0000000..97dae8d --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Record.Builder/index.js @@ -0,0 +1,21 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dCategory from "../Control.Category/index.js"; +import * as Control$dSemigroupoid from "../Control.Semigroupoid/index.js"; +import * as Record$dUnsafe$dUnion from "../Record.Unsafe.Union/index.js"; +import * as Unsafe$dCoerce from "../Unsafe.Coerce/index.js"; +import {copyRecord, unsafeDelete, unsafeInsert, unsafeModify, unsafeRename} from "./foreign.js"; +const union = () => r1 => r2 => Record$dUnsafe$dUnion.unsafeUnionFn(r1, r2); +const semigroupoidBuilder = Control$dSemigroupoid.semigroupoidFn; +const rename = dictIsSymbol => dictIsSymbol1 => () => () => () => () => l1 => l2 => r1 => unsafeRename(dictIsSymbol.reflectSymbol(l1))(dictIsSymbol1.reflectSymbol(l2))(r1); +const nub = () => Unsafe$dCoerce.unsafeCoerce; +const modify = () => () => dictIsSymbol => l => f => r1 => unsafeModify(dictIsSymbol.reflectSymbol(l))(f)(r1); +const merge = () => () => r1 => r2 => Record$dUnsafe$dUnion.unsafeUnionFn(r1, r2); +const insert = () => () => dictIsSymbol => l => a => r1 => unsafeInsert(dictIsSymbol.reflectSymbol(l))(a)(r1); +const disjointUnion = () => () => r1 => r2 => Record$dUnsafe$dUnion.unsafeUnionFn(r1, r2); +const $$delete = dictIsSymbol => () => () => l => r2 => unsafeDelete(dictIsSymbol.reflectSymbol(l))(r2); +const categoryBuilder = Control$dCategory.categoryFn; +const build = v => r1 => v(copyRecord(r1)); +const buildFromScratch = a => a({}); +const flip = f => b => a => f(a)(copyRecord(b)); +export {build, buildFromScratch, categoryBuilder, $$delete as delete, disjointUnion, flip, insert, merge, modify, nub, rename, semigroupoidBuilder, union}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Record.Unsafe.Union/foreign.js b/.storybook/purescript-indexer/output-es/Record.Unsafe.Union/foreign.js new file mode 100644 index 0000000..01efccf --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Record.Unsafe.Union/foreign.js @@ -0,0 +1,14 @@ +export function unsafeUnionFn(r1, r2) { + var copy = {}; + for (var k1 in r2) { + if ({}.hasOwnProperty.call(r2, k1)) { + copy[k1] = r2[k1]; + } + } + for (var k2 in r1) { + if ({}.hasOwnProperty.call(r1, k2)) { + copy[k2] = r1[k2]; + } + } + return copy; +} diff --git a/.storybook/purescript-indexer/output-es/Record.Unsafe.Union/index.js b/.storybook/purescript-indexer/output-es/Record.Unsafe.Union/index.js new file mode 100644 index 0000000..ea333d4 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Record.Unsafe.Union/index.js @@ -0,0 +1,5 @@ +import * as $runtime from "../runtime.js"; +import {unsafeUnionFn} from "./foreign.js"; +const unsafeUnion = $0 => $1 => unsafeUnionFn($0, $1); +export {unsafeUnion}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Record.Unsafe/foreign.js b/.storybook/purescript-indexer/output-es/Record.Unsafe/foreign.js new file mode 100644 index 0000000..af2d506 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Record.Unsafe/foreign.js @@ -0,0 +1,38 @@ +export const unsafeHas = function (label) { + return function (rec) { + return {}.hasOwnProperty.call(rec, label); + }; +}; + +export const unsafeGet = function (label) { + return function (rec) { + return rec[label]; + }; +}; + +export const unsafeSet = function (label) { + return function (value) { + return function (rec) { + var copy = {}; + for (var key in rec) { + if ({}.hasOwnProperty.call(rec, key)) { + copy[key] = rec[key]; + } + } + copy[label] = value; + return copy; + }; + }; +}; + +export const unsafeDelete = function (label) { + return function (rec) { + var copy = {}; + for (var key in rec) { + if (key !== label && {}.hasOwnProperty.call(rec, key)) { + copy[key] = rec[key]; + } + } + return copy; + }; +}; diff --git a/.storybook/purescript-indexer/output-es/Record.Unsafe/index.js b/.storybook/purescript-indexer/output-es/Record.Unsafe/index.js new file mode 100644 index 0000000..06ef078 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Record.Unsafe/index.js @@ -0,0 +1,10 @@ +// | The functions in this module are highly unsafe as they treat records like +// | stringly-keyed maps and can coerce the row of labels that a record has. +// | +// | These function are intended for situations where there is some other way of +// | proving things about the structure of the record - for example, when using +// | `RowToList`. **They should never be used for general record manipulation.** +import * as $runtime from "../runtime.js"; +import {unsafeDelete, unsafeGet, unsafeHas, unsafeSet} from "./foreign.js"; +export {}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Record/index.js b/.storybook/purescript-indexer/output-es/Record/index.js new file mode 100644 index 0000000..8d10884 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Record/index.js @@ -0,0 +1,24 @@ +import * as $runtime from "../runtime.js"; +import * as Record$dUnsafe from "../Record.Unsafe/index.js"; +import * as Record$dUnsafe$dUnion from "../Record.Unsafe.Union/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +import * as Unsafe$dCoerce from "../Unsafe.Coerce/index.js"; +const union = () => l => r => Record$dUnsafe$dUnion.unsafeUnionFn(l, r); +const $$set = dictIsSymbol => () => () => l => b => r => Record$dUnsafe.unsafeSet(dictIsSymbol.reflectSymbol(l))(b)(r); +const nub = () => Unsafe$dCoerce.unsafeCoerce; +const merge = () => () => l => r => Record$dUnsafe$dUnion.unsafeUnionFn(l, r); +const insert = dictIsSymbol => () => () => l => a => r => Record$dUnsafe.unsafeSet(dictIsSymbol.reflectSymbol(l))(a)(r); +const $$get = dictIsSymbol => () => l => r => Record$dUnsafe.unsafeGet(dictIsSymbol.reflectSymbol(l))(r); +const modify = dictIsSymbol => () => () => l => f => r => Record$dUnsafe.unsafeSet(dictIsSymbol.reflectSymbol(l))(f(Record$dUnsafe.unsafeGet(dictIsSymbol.reflectSymbol(l))(r)))(r); +const equalFieldsNil = {equalFields: v => v1 => v2 => true}; +const equalFields = dict => dict.equalFields; +const equalFieldsCons = dictIsSymbol => dictEq => () => dictEqualFields => ( + { + equalFields: v => a => b => dictEq.eq(Record$dUnsafe.unsafeGet(dictIsSymbol.reflectSymbol(Type$dProxy.Proxy))(a))(Record$dUnsafe.unsafeGet(dictIsSymbol.reflectSymbol(Type$dProxy.Proxy))(b)) && dictEqualFields.equalFields(Type$dProxy.Proxy)(a)(b) + } +); +const equal = () => dictEqualFields => a => b => dictEqualFields.equalFields(Type$dProxy.Proxy)(a)(b); +const disjointUnion = () => () => l => r => Record$dUnsafe$dUnion.unsafeUnionFn(l, r); +const $$delete = dictIsSymbol => () => () => l => r => Record$dUnsafe.unsafeDelete(dictIsSymbol.reflectSymbol(l))(r); +const rename = dictIsSymbol => dictIsSymbol1 => () => () => () => () => prev => next => record => Record$dUnsafe.unsafeSet(dictIsSymbol1.reflectSymbol(next))(Record$dUnsafe.unsafeGet(dictIsSymbol.reflectSymbol(prev))(record))(Record$dUnsafe.unsafeDelete(dictIsSymbol.reflectSymbol(prev))(record)); +export {$$delete as delete, disjointUnion, equal, equalFields, equalFieldsCons, equalFieldsNil, $$get as get, insert, merge, modify, nub, rename, $$set as set, union}; diff --git a/.storybook/purescript-indexer/output-es/Safe.Coerce/index.js b/.storybook/purescript-indexer/output-es/Safe.Coerce/index.js new file mode 100644 index 0000000..8e5f371 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Safe.Coerce/index.js @@ -0,0 +1,4 @@ +import * as $runtime from "../runtime.js"; +import * as Unsafe$dCoerce from "../Unsafe.Coerce/index.js"; +const coerce = () => Unsafe$dCoerce.unsafeCoerce; +export {coerce}; diff --git a/.storybook/purescript-indexer/output-es/SourceMap.Types/index.js b/.storybook/purescript-indexer/output-es/SourceMap.Types/index.js new file mode 100644 index 0000000..2d3a7c9 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/SourceMap.Types/index.js @@ -0,0 +1,2 @@ +import * as $runtime from "../runtime.js"; +export {}; diff --git a/.storybook/purescript-indexer/output-es/SourceMap/foreign.js b/.storybook/purescript-indexer/output-es/SourceMap/foreign.js new file mode 100644 index 0000000..715dd8d --- /dev/null +++ b/.storybook/purescript-indexer/output-es/SourceMap/foreign.js @@ -0,0 +1,4 @@ +import { SourceMapConsumer } from "source-map" + +export const withSourceMapConsumerImpl = + (fn, data) => SourceMapConsumer.with(data, null, fn) diff --git a/.storybook/purescript-indexer/output-es/SourceMap/index.js b/.storybook/purescript-indexer/output-es/SourceMap/index.js new file mode 100644 index 0000000..ce8939b --- /dev/null +++ b/.storybook/purescript-indexer/output-es/SourceMap/index.js @@ -0,0 +1,27 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dPromise from "../Control.Promise/index.js"; +import * as Data$dFunctor from "../Data.Functor/index.js"; +import * as Effect$dAff from "../Effect.Aff/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +import * as Unsafe$dCoerce from "../Unsafe.Coerce/index.js"; +import * as Yoga$dJSON from "../Yoga.JSON/index.js"; +import {withSourceMapConsumerImpl} from "./foreign.js"; +const writeForeignArray = {writeImpl: xs => Data$dFunctor.arrayMap(Unsafe$dCoerce.unsafeCoerce)(xs)}; +const write = /* #__PURE__ */ (() => { + const $0 = Yoga$dJSON.writeForeignFieldsCons({reflectSymbol: () => "file"})(Yoga$dJSON.writeForeignString)(Yoga$dJSON.writeForeignFieldsCons({reflectSymbol: () => "mappings"})(Yoga$dJSON.writeForeignString)(Yoga$dJSON.writeForeignFieldsCons({ + reflectSymbol: () => "names" + })(writeForeignArray)(Yoga$dJSON.writeForeignFieldsCons({reflectSymbol: () => "sourceRoot"})({ + writeImpl: v2 => { + if (v2.tag === "Nothing") { return Yoga$dJSON._undefined; } + if (v2.tag === "Just") { return v2._1; } + $runtime.fail(); + } + })(Yoga$dJSON.writeForeignFieldsCons({reflectSymbol: () => "sources"})(writeForeignArray)(Yoga$dJSON.writeForeignFieldsCons({reflectSymbol: () => "version"})(Yoga$dJSON.writeForeignInt)(Yoga$dJSON.writeForeignFieldsNilRowR)()()())()()())()()())()()())()()())()()(); + return rec => $0.writeImplFields(Type$dProxy.Proxy)(rec)({}); +})(); +const withSourceMapConsumer = handler => map => Effect$dAff._bind(Effect$dAff._liftEffect((() => { + const $2 = write(map); + return () => withSourceMapConsumerImpl(x => Control$dPromise.fromAff(handler(x))(), $2); +})()))(Control$dPromise.toAff$p(Control$dPromise.coerce)); +export {withSourceMapConsumer, write, writeForeignArray}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Storybook.CSFTools.Types/index.js b/.storybook/purescript-indexer/output-es/Storybook.CSFTools.Types/index.js new file mode 100644 index 0000000..2d3a7c9 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Storybook.CSFTools.Types/index.js @@ -0,0 +1,2 @@ +import * as $runtime from "../runtime.js"; +export {}; diff --git a/.storybook/purescript-indexer/output-es/Storybook.CSFTools/foreign.js b/.storybook/purescript-indexer/output-es/Storybook.CSFTools/foreign.js new file mode 100644 index 0000000..8d31376 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Storybook.CSFTools/foreign.js @@ -0,0 +1,22 @@ +import * as CSF from '@storybook/csf-tools'; + +export const parseCsf = code => options => () => CSF.loadCsf(code, options).parse() + +export const formatCsf = file => () => CSF.formatCsf(file) + +export const getStoryNames = csf => () => Object.keys(csf._stories) + +export const setStoryCode = ({ storyName, code }) => csf => () => { + console.log("schdori", JSON.stringify(csf._stories[storyName], null, 2)) + //docs: { + // source: { + // code: 'some string here' + // } + // } + if (!csf._stories[storyName]) return csf; + if (!csf._stories[storyName].parameters) { csf._stories[storyName].parameters = {} } + if (!csf._stories[storyName].parameters.docs) { csf._stories[storyName].parameters.docs = {} } + if (!csf._stories[storyName].parameters.docs.source) { csf._stories[storyName].parameters.docs.source = {} } + csf._stories[storyName].parameters.docs.source.code = code + return csf +} diff --git a/.storybook/purescript-indexer/output-es/Storybook.CSFTools/index.js b/.storybook/purescript-indexer/output-es/Storybook.CSFTools/index.js new file mode 100644 index 0000000..37176f2 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Storybook.CSFTools/index.js @@ -0,0 +1,4 @@ +import * as $runtime from "../runtime.js"; +import {formatCsf, getStoryNames, parseCsf, setStoryCode} from "./foreign.js"; +export {}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Test.Main/index.js b/.storybook/purescript-indexer/output-es/Test.Main/index.js new file mode 100644 index 0000000..72a627b --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Test.Main/index.js @@ -0,0 +1,10 @@ +import * as $runtime from "../runtime.js"; +import * as Effect$dConsole from "../Effect.Console/index.js"; +const main = /* #__PURE__ */ (() => { + const $0 = Effect$dConsole.log("🍝"); + return () => { + $0(); + return Effect$dConsole.log("You should add some tests.")(); + }; +})(); +export {main}; diff --git a/.storybook/purescript-indexer/output-es/Tidy.Doc/index.js b/.storybook/purescript-indexer/output-es/Tidy.Doc/index.js new file mode 100644 index 0000000..2c9f73f --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Tidy.Doc/index.js @@ -0,0 +1,578 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dAlternative from "../Control.Alternative/index.js"; +import * as Data$dArray from "../Data.Array/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dFunctor from "../Data.Functor/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dMonoid from "../Data.Monoid/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import * as Data$dString$dCodePoints from "../Data.String.CodePoints/index.js"; +import * as Data$dString$dCodeUnits from "../Data.String.CodeUnits/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Dodo from "../Dodo/index.js"; +import * as Dodo$dInternal from "../Dodo.Internal/index.js"; +import * as Tidy$dUtil from "../Tidy.Util/index.js"; +const $ForceBreak = tag => ({tag}); +const guard = /* #__PURE__ */ Control$dAlternative.guard(Data$dMaybe.alternativeMaybe); +const power = /* #__PURE__ */ Data$dMonoid.power(Data$dMonoid.monoidString); +const lines = /* #__PURE__ */ Data$dFoldable.foldrArray(Dodo.appendBreak)(Dodo$dInternal.Empty); +const intercalate = sep => xs => Data$dFoldable.foldlArray(v => v1 => { + if (v.init) { return {init: false, acc: v1}; } + return {init: false, acc: Dodo$dInternal.semigroupDoc.append(v.acc)(Dodo$dInternal.semigroupDoc.append(sep)(v1))}; +})({init: true, acc: Dodo$dInternal.Empty})(xs).acc; +const max = x => y => { + const v = Data$dOrd.ordInt.compare(x)(y); + if (v.tag === "LT") { return y; } + if (v.tag === "EQ") { return x; } + if (v.tag === "GT") { return x; } + $runtime.fail(); +}; +const min = x => y => { + const v = Data$dOrd.ordInt.compare(x)(y); + if (v.tag === "LT") { return x; } + if (v.tag === "EQ") { return x; } + if (v.tag === "GT") { return y; } + $runtime.fail(); +}; +const identity = x => x; +const ForceNone = /* #__PURE__ */ $ForceBreak("ForceNone"); +const ForceSpace = /* #__PURE__ */ $ForceBreak("ForceSpace"); +const ForceBreak = /* #__PURE__ */ $ForceBreak("ForceBreak"); +const LeadingComment = x => x; +const TrailingComment = x => x; +const FormatDoc = x => x; +const sourceBreak = n => v => ( + { + doc: v.doc, + isEmpty: false, + leading: {doc: v.leading.doc, left: v.leading.left, lines: v.leading.lines + n | 0, multiline: v.leading.multiline, right: v.leading.right}, + multiline: v.multiline, + trailing: v.trailing + } +); +const mapDoc = k => v => { + if (v.isEmpty) { return v; } + return {doc: k(v.doc), isEmpty: v.isEmpty, leading: v.leading, multiline: v.multiline, trailing: v.trailing}; +}; +const locally = k => v => ( + {doc: Dodo$dInternal.$Doc("Local", options => Data$dTuple.$Tuple(k(options), v.doc)), isEmpty: v.isEmpty, leading: v.leading, multiline: v.multiline, trailing: v.trailing} +); +const indent = v => { + if (v.isEmpty) { return v; } + return { + doc: (() => { + if (v.doc.tag === "Empty") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Indent", v.doc); + })(), + isEmpty: v.isEmpty, + leading: { + doc: (() => { + if (v.leading.doc.tag === "Empty") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Indent", v.leading.doc); + })(), + left: v.leading.left, + lines: v.leading.lines, + multiline: v.leading.multiline, + right: v.leading.right + }, + multiline: v.multiline, + trailing: { + doc: (() => { + if (v.trailing.doc.tag === "Empty") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Indent", v.trailing.doc); + })(), + left: v.trailing.left, + multiline: v.trailing.multiline, + right: v.trailing.right + } + }; +}; +const formatBlockComment = x => { + const $1 = Data$dArray.uncons(Tidy$dUtil.splitLines(x)); + if ($1.tag === "Nothing") { return Data$dTuple.$Tuple(false, Dodo$dInternal.Empty); } + if ($1.tag === "Just") { + const prefixSpaces = Data$dArray.index(Data$dArray.sortBy(Data$dOrd.ordInt.compare)(Data$dArray.mapMaybe(str => { + const spaces = Data$dString$dCodeUnits.length(Data$dString$dCodePoints.take(Data$dString$dCodePoints.countPrefix(y => 32 === y)(str))(str)); + if (guard(spaces < Data$dString$dCodeUnits.length(str)).tag === "Just") { return Data$dMaybe.$Maybe("Just", spaces); } + return Data$dMaybe.Nothing; + })($1._1.tail)))(0); + if (prefixSpaces.tag === "Nothing") { + return Data$dTuple.$Tuple( + false, + (() => { + if ($1._1.head === "") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Text", Data$dString$dCodePoints.toCodePointArray($1._1.head).length, $1._1.head); + })() + ); + } + if (prefixSpaces.tag === "Just") { + return Data$dTuple.$Tuple( + true, + Dodo$dInternal.$Doc( + "WithPosition", + pos => { + const newIndent = (() => { + if (prefixSpaces._1 < pos.indent) { return 0; } + return prefixSpaces._1; + })(); + const spaces = power(" ")(newIndent); + return lines([ + (() => { + if ($1._1.head === "") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Text", Data$dString$dCodePoints.toCodePointArray($1._1.head).length, $1._1.head); + })(), + (() => { + const $6 = intercalate(Dodo$dInternal.Break)(Data$dFunctor.arrayMap(str => { + const $7 = Data$dString$dCodeUnits.stripPrefix(spaces)(str); + const $8 = (() => { + if ($7.tag === "Nothing") { return str; } + if ($7.tag === "Just") { return $7._1; } + $runtime.fail(); + })(); + if ($8 === "") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Text", Data$dString$dCodePoints.toCodePointArray($8).length, $8); + })($1._1.tail)); + return Dodo$dInternal.$Doc( + "Local", + options => Data$dTuple.$Tuple( + (() => { + if (newIndent < options.indent) { + return { + indent: newIndent, + indentSpaces: spaces, + indentUnit: options.indentUnit, + indentWidth: options.indentWidth, + pageWidth: options.pageWidth, + ribbonRatio: options.ribbonRatio + }; + } + return options; + })(), + $6 + ) + ); + })() + ]); + } + ) + ); + } + $runtime.fail(); + } + $runtime.fail(); +}; +const forceMinSourceBreaks = n => v => { + if (v.isEmpty) { return v; } + return { + doc: v.doc, + isEmpty: v.isEmpty, + leading: {doc: v.leading.doc, left: v.leading.left, lines: max(v.leading.lines)(n), multiline: v.leading.multiline, right: v.leading.right}, + multiline: v.multiline, + trailing: v.trailing + }; +}; +const force = k => f => m => doc => { + if (f.tag === "ForceBreak") { return Data$dTuple.$Tuple(true, Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)(doc)); } + return Data$dTuple.$Tuple(m, k(doc)); +}; +const flexGroup = v => { + if (v.multiline) { return v; } + return {doc: Dodo.flexGroup(v.doc), isEmpty: v.isEmpty, leading: v.leading, multiline: v.multiline, trailing: v.trailing}; +}; +const flattenMax = n => v => ( + { + doc: v.doc, + isEmpty: v.isEmpty, + leading: {doc: v.leading.doc, left: v.leading.left, lines: min(v.leading.lines)(n), multiline: v.leading.multiline, right: v.leading.right}, + multiline: v.multiline, + trailing: v.trailing + } +); +const flatten = /* #__PURE__ */ flattenMax(0); +const eqForceBreak = { + eq: x => y => { + if (x.tag === "ForceNone") { return y.tag === "ForceNone"; } + if (x.tag === "ForceSpace") { return y.tag === "ForceSpace"; } + if (x.tag === "ForceBreak") { return y.tag === "ForceBreak"; } + return false; + } +}; +const ordForceBreak = { + compare: x => y => { + if (x.tag === "ForceNone") { + if (y.tag === "ForceNone") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "ForceNone") { return Data$dOrdering.GT; } + if (x.tag === "ForceSpace") { + if (y.tag === "ForceSpace") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "ForceSpace") { return Data$dOrdering.GT; } + if (x.tag === "ForceBreak") { + if (y.tag === "ForceBreak") { return Data$dOrdering.EQ; } + $runtime.fail(); + } + $runtime.fail(); + }, + Eq0: () => eqForceBreak +}; +const max1 = x => y => { + const v = ordForceBreak.compare(x)(y); + if (v.tag === "LT") { return y; } + if (v.tag === "EQ") { return x; } + if (v.tag === "GT") { return x; } + $runtime.fail(); +}; +const breaks = fl => n => { + if (n >= 2) { return Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)(Dodo$dInternal.Break); } + if (n === 1) { return Dodo$dInternal.Break; } + if (fl.tag === "ForceBreak") { return Dodo$dInternal.Break; } + if (fl.tag === "ForceSpace") { return Dodo$dInternal.$Doc("Text", 1, " "); } + if (fl.tag === "ForceNone") { return Dodo$dInternal.Empty; } + $runtime.fail(); +}; +const breakDoc = br => doc => { + if (doc.tag === "Empty") { return doc; } + if (br.tag === "ForceBreak") { return Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)(doc); } + if (br.tag === "ForceSpace") { return Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))(doc); } + if (br.tag === "ForceNone") { return doc; } + $runtime.fail(); +}; +const flexDoubleBreak = v => v1 => { + if (v.isEmpty) { return v1; } + if (v1.isEmpty) { return v; } + const docLeft = Dodo$dInternal.semigroupDoc.append(v.doc)(breakDoc(v.trailing.left)(v.trailing.doc)); + const docRight = Dodo$dInternal.semigroupDoc.append(v1.leading.doc)(breakDoc(v1.leading.right)(v1.doc)); + if (v1.leading.lines >= 2 || v.multiline) { + return { + doc: Dodo$dInternal.semigroupDoc.append(docLeft)(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)(docRight))), + isEmpty: v.isEmpty, + leading: v.leading, + multiline: true, + trailing: v1.trailing + }; + } + return { + doc: Dodo$dInternal.semigroupDoc.append((() => { + if (docLeft.tag === "Empty") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("FlexSelect", docLeft, Dodo$dInternal.Empty, Dodo$dInternal.Break); + })())(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)(docRight)), + isEmpty: v.isEmpty, + leading: v.leading, + multiline: true, + trailing: v1.trailing + }; +}; +const joinDoc = spaceFn => v => v1 => { + if (v.isEmpty) { return v1; } + if (v1.isEmpty) { return v; } + const docLeft = Dodo$dInternal.semigroupDoc.append(v.doc)(breakDoc(v.trailing.left)(v.trailing.doc)); + const docRight = Dodo$dInternal.semigroupDoc.append(v1.leading.doc)(breakDoc(v1.leading.right)(v1.doc)); + if (v1.leading.lines > 0) { + return { + doc: Dodo$dInternal.semigroupDoc.append(docLeft)(Dodo$dInternal.semigroupDoc.append(breaks(ForceBreak)(v1.leading.lines))(docRight)), + isEmpty: v.isEmpty, + leading: v.leading, + multiline: true, + trailing: v1.trailing + }; + } + const v2 = spaceFn(max1(v.trailing.right)(v1.leading.left))(v1.leading.multiline || v1.multiline)(docRight); + return { + doc: Dodo$dInternal.semigroupDoc.append(docLeft)(v2._2), + isEmpty: v.isEmpty, + leading: v.leading, + multiline: v.trailing.multiline || (v.multiline || v2._1), + trailing: v1.trailing + }; +}; +const flexSoftBreak = /* #__PURE__ */ joinDoc(f => m => doc => { + if (f.tag === "ForceBreak") { return Data$dTuple.$Tuple(true, Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)(doc)); } + if (f.tag === "ForceSpace") { + if (m) { return Data$dTuple.$Tuple(true, Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))(doc)); } + return Data$dTuple.$Tuple( + false, + Dodo.flexGroup(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break))(doc)) + ); + } + if (f.tag === "ForceNone") { + if (m) { return Data$dTuple.$Tuple(true, Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)(doc)); } + return Data$dTuple.$Tuple(false, Dodo.flexGroup(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.Empty, Dodo$dInternal.Break))(doc))); + } + $runtime.fail(); +}); +const flexSoftSpace = /* #__PURE__ */ joinDoc(f => m => doc => { + if (f.tag === "ForceBreak") { return Data$dTuple.$Tuple(true, Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)(doc)); } + if (f.tag === "ForceSpace") { + if (m) { return Data$dTuple.$Tuple(true, Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))(doc)); } + return Data$dTuple.$Tuple(false, Dodo.flexGroup(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))(doc))); + } + if (f.tag === "ForceNone") { + if (m) { return Data$dTuple.$Tuple(true, Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.Empty, Dodo$dInternal.$Doc("Text", 1, " ")))(doc)); } + return Data$dTuple.$Tuple( + false, + Dodo.flexGroup(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.Empty, Dodo$dInternal.$Doc("Text", 1, " ")))(doc)) + ); + } + $runtime.fail(); +}); +const flexSpaceBreak = /* #__PURE__ */ joinDoc(f => m => doc => { + if (f.tag === "ForceBreak") { return Data$dTuple.$Tuple(true, Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)(doc)); } + if (m) { return Data$dTuple.$Tuple(true, Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break))(doc)); } + return Data$dTuple.$Tuple( + false, + Dodo.flexGroup(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break))(doc)) + ); +}); +const semigroupFormatDoc = {append: /* #__PURE__ */ joinDoc(/* #__PURE__ */ force(identity))}; +const softBreak = /* #__PURE__ */ joinDoc(f => m => doc => { + if (f.tag === "ForceBreak") { return Data$dTuple.$Tuple(true, Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)(doc)); } + if (f.tag === "ForceSpace") { + return Data$dTuple.$Tuple(m, Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break))(doc)); + } + if (f.tag === "ForceNone") { return Data$dTuple.$Tuple(m, Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.Empty, Dodo$dInternal.Break))(doc)); } + $runtime.fail(); +}); +const softSpace = /* #__PURE__ */ joinDoc(f => m => doc => { + if (f.tag === "ForceBreak") { return Data$dTuple.$Tuple(true, Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)(doc)); } + if (f.tag === "ForceSpace") { return Data$dTuple.$Tuple(m, Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))(doc)); } + if (f.tag === "ForceNone") { + return Data$dTuple.$Tuple(m, Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.Empty, Dodo$dInternal.$Doc("Text", 1, " ")))(doc)); + } + $runtime.fail(); +}); +const space = /* #__PURE__ */ (() => joinDoc(force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " ")))))(); +const spaceBreak = /* #__PURE__ */ (() => joinDoc(force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break)))))(); +const toDoc = v => { + if (v.isEmpty) { return Dodo$dInternal.Empty; } + return Dodo$dInternal.semigroupDoc.append(v.leading.doc)(Dodo$dInternal.semigroupDoc.append(breakDoc(v.leading.right)(v.doc))(breakDoc(v.trailing.left)(v.trailing.doc))); +}; +const semigroupLeadingComment = { + append: v => v1 => { + if (v.doc.tag === "Empty") { return {doc: v1.doc, left: max1(v.left)(v1.left), lines: v.lines + v1.lines | 0, multiline: v1.multiline, right: v1.right}; } + if (v1.doc.tag === "Empty") { + return { + doc: Dodo$dInternal.semigroupDoc.append(v.doc)(breaks(ForceNone)(v1.lines)), + left: v.left, + lines: v.lines, + multiline: v.multiline || v1.lines > 0, + right: (() => { + if (v1.lines > 0) { return ForceNone; } + return max1(v.right)(v1.right); + })() + }; + } + const br = max1(v.right)(v1.left); + if (v1.lines > 0 || br.tag === "ForceBreak") { + return { + doc: Dodo$dInternal.semigroupDoc.append(v.doc)(Dodo$dInternal.semigroupDoc.append(breaks(ForceBreak)(v1.lines))(v1.doc)), + left: v.left, + lines: v.lines, + multiline: true, + right: v1.right + }; + } + return {doc: Dodo$dInternal.semigroupDoc.append(v.doc)(breakDoc(br)(v1.doc)), left: v.left, lines: v.lines, multiline: v.multiline || v1.multiline, right: v1.right}; + } +}; +const leadingBlockComment = str => v => { + const v1 = formatBlockComment(str); + return { + doc: v.doc, + isEmpty: false, + leading: semigroupLeadingComment.append({doc: v1._2, left: ForceSpace, lines: 0, multiline: v1._1, right: ForceSpace})(v.leading), + multiline: v.multiline, + trailing: v.trailing + }; +}; +const leadingLineComment = str => v => ( + { + doc: v.doc, + isEmpty: false, + leading: semigroupLeadingComment.append({ + doc: (() => { + if (str === "") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Text", Data$dString$dCodePoints.toCodePointArray(str).length, str); + })(), + left: ForceBreak, + lines: 0, + multiline: false, + right: ForceBreak + })(v.leading), + multiline: v.multiline, + trailing: v.trailing + } +); +const monoidLeadingComment = {mempty: {doc: Dodo$dInternal.Empty, left: ForceNone, lines: 0, multiline: false, right: ForceNone}, Semigroup0: () => semigroupLeadingComment}; +const semigroupTrailingComment = { + append: v => v1 => { + if (v.doc.tag === "Empty") { return {doc: v1.doc, left: max1(v.left)(v1.left), multiline: v1.multiline, right: v1.right}; } + if (v1.doc.tag === "Empty") { return {doc: v.doc, left: v.left, multiline: v.multiline, right: max1(v.right)(v1.right)}; } + return {doc: Dodo$dInternal.semigroupDoc.append(v.doc)(breakDoc(max1(v.right)(v1.left))(v1.doc)), left: v.left, multiline: v.multiline || v1.multiline, right: v1.right}; + } +}; +const trailingBlockComment = str => v => { + const v1 = formatBlockComment(str); + return { + doc: v.doc, + isEmpty: false, + leading: v.leading, + multiline: v.multiline, + trailing: semigroupTrailingComment.append({doc: v1._2, left: ForceSpace, multiline: v1._1, right: ForceSpace})(v.trailing) + }; +}; +const trailingLineComment = str => v => ( + { + doc: v.doc, + isEmpty: false, + leading: v.leading, + multiline: v.multiline, + trailing: semigroupTrailingComment.append({ + doc: (() => { + if (str === "") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Text", Data$dString$dCodePoints.toCodePointArray(str).length, str); + })(), + left: ForceSpace, + multiline: false, + right: ForceBreak + })(v.trailing) + } +); +const monoidTrailingComment = {mempty: {doc: Dodo$dInternal.Empty, left: ForceNone, multiline: false, right: ForceNone}, Semigroup0: () => semigroupTrailingComment}; +const monoidFormatDoc = /* #__PURE__ */ (() => ( + { + mempty: {doc: Dodo$dInternal.Empty, leading: monoidLeadingComment.mempty, isEmpty: true, multiline: false, trailing: monoidTrailingComment.mempty}, + Semigroup0: () => semigroupFormatDoc + } +))(); +const fromDoc = doc => { + if (doc.tag === "Empty") { return monoidFormatDoc.mempty; } + return {doc: doc, leading: monoidLeadingComment.mempty, isEmpty: false, multiline: false, trailing: monoidTrailingComment.mempty}; +}; +const text = x => { + const $1 = (() => { + if (x === "") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Text", Data$dString$dCodePoints.toCodePointArray(x).length, x); + })(); + if ($1.tag === "Empty") { return monoidFormatDoc.mempty; } + return {doc: $1, leading: monoidLeadingComment.mempty, isEmpty: false, multiline: false, trailing: monoidTrailingComment.mempty}; +}; +const joinWithMap = dictFoldable => op => k => dictFoldable.foldl(a => b => { + if (a.isEmpty) { return k(b); } + return op(a)(k(b)); +})(monoidFormatDoc.mempty); +const joinWith = dictFoldable => a => joinWithMap(dictFoldable)(a)(identity); +const $$break = /* #__PURE__ */ (() => joinDoc(force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break))))(); +const anchor = v => { + if (v.leading.lines > 0) { + return { + doc: v.doc, + isEmpty: v.isEmpty, + leading: {doc: v.leading.doc, left: v.leading.left, lines: 0, multiline: v.leading.multiline, right: v.leading.right}, + multiline: true, + trailing: v.trailing + }; + } + return v; +}; +const alignCurrentColumn = v => { + if (v.isEmpty) { return v; } + return { + doc: (() => { + if (v.doc.tag === "Empty") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("WithPosition", pos => Dodo.align(pos.column - pos.nextIndent | 0)(v.doc)); + })(), + isEmpty: v.isEmpty, + leading: { + doc: (() => { + if (v.leading.doc.tag === "Empty") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("WithPosition", pos => Dodo.align(pos.column - pos.nextIndent | 0)(v.leading.doc)); + })(), + left: v.leading.left, + lines: v.leading.lines, + multiline: v.leading.multiline, + right: v.leading.right + }, + multiline: v.multiline, + trailing: { + doc: (() => { + if (v.trailing.doc.tag === "Empty") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("WithPosition", pos => Dodo.align(pos.column - pos.nextIndent | 0)(v.trailing.doc)); + })(), + left: v.trailing.left, + multiline: v.trailing.multiline, + right: v.trailing.right + } + }; +}; +const align = x => v => { + if (v.isEmpty) { return v; } + return { + doc: Dodo.align(x)(v.doc), + isEmpty: v.isEmpty, + leading: {doc: Dodo.align(x)(v.leading.doc), left: v.leading.left, lines: v.leading.lines, multiline: v.leading.multiline, right: v.leading.right}, + multiline: v.multiline, + trailing: {doc: Dodo.align(x)(v.trailing.doc), left: v.trailing.left, multiline: v.trailing.multiline, right: v.trailing.right} + }; +}; +export { + $ForceBreak, + ForceBreak, + ForceNone, + ForceSpace, + FormatDoc, + LeadingComment, + TrailingComment, + align, + alignCurrentColumn, + anchor, + $$break as break, + breakDoc, + breaks, + eqForceBreak, + flatten, + flattenMax, + flexDoubleBreak, + flexGroup, + flexSoftBreak, + flexSoftSpace, + flexSpaceBreak, + force, + forceMinSourceBreaks, + formatBlockComment, + fromDoc, + guard, + identity, + indent, + intercalate, + joinDoc, + joinWith, + joinWithMap, + leadingBlockComment, + leadingLineComment, + lines, + locally, + mapDoc, + max, + max1, + min, + monoidFormatDoc, + monoidLeadingComment, + monoidTrailingComment, + ordForceBreak, + power, + semigroupFormatDoc, + semigroupLeadingComment, + semigroupTrailingComment, + softBreak, + softSpace, + sourceBreak, + space, + spaceBreak, + text, + toDoc, + trailingBlockComment, + trailingLineComment +}; diff --git a/.storybook/purescript-indexer/output-es/Tidy.Hang/index.js b/.storybook/purescript-indexer/output-es/Tidy.Hang/index.js new file mode 100644 index 0000000..5eab8a2 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Tidy.Hang/index.js @@ -0,0 +1,844 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dArray from "../Data.Array/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dSemigroup from "../Data.Semigroup/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Dodo$dInternal from "../Dodo.Internal/index.js"; +import * as Tidy$dDoc from "../Tidy.Doc/index.js"; +const $HangingDoc = (tag, _1, _2, _3) => ({tag, _1, _2, _3}); +const $HangingOp = (_1, _2, _3) => ({tag: "HangingOp", _1, _2, _3}); +const max = x => y => { + const v = Tidy$dDoc.ordForceBreak.compare(x)(y); + if (v.tag === "LT") { return y; } + if (v.tag === "EQ") { return x; } + if (v.tag === "GT") { return x; } + $runtime.fail(); +}; +const identity = x => x; +const HangBreak = value0 => $HangingDoc("HangBreak", value0); +const HangOps = value0 => value1 => value2 => $HangingDoc("HangOps", value0, value1, value2); +const HangApp = value0 => value1 => value2 => $HangingDoc("HangApp", value0, value1, value2); +const HangingOp = value0 => value1 => value2 => $HangingOp(value0, value1, value2); +const overHangHead = f => { + const go = v => { + if (v.tag === "HangBreak") { return $HangingDoc("HangBreak", f(v._1)); } + if (v.tag === "HangOps") { return $HangingDoc("HangOps", v._1, go(v._2), v._3); } + if (v.tag === "HangApp") { return $HangingDoc("HangApp", v._1, go(v._2), v._3); } + $runtime.fail(); + }; + return go; +}; +const hangWithIndent = ind => a => { + const $2 = HangApp(ind)(a); + return x => { + if (x.length > 0) { return $2(x); } + return a; + }; +}; +const hangOps = /* #__PURE__ */ HangOps(Tidy$dDoc.indent); +const hangHead = hangHead$a0$copy => { + let hangHead$a0 = hangHead$a0$copy, hangHead$c = true, hangHead$r; + while (hangHead$c) { + const v = hangHead$a0; + if (v.tag === "HangBreak") { + hangHead$c = false; + hangHead$r = v._1; + continue; + } + if (v.tag === "HangOps") { + hangHead$a0 = v._2; + continue; + } + if (v.tag === "HangApp") { + hangHead$a0 = v._2; + continue; + } + $runtime.fail(); + }; + return hangHead$r; +}; +const hangConcatApp = a => b => { + if (a.tag === "HangApp") { return $HangingDoc("HangApp", a._1, a._2, Data$dSemigroup.concatArray(a._3)(b)); } + return $HangingDoc("HangApp", Tidy$dDoc.indent, a, b); +}; +const hangBreak = x => $HangingDoc("HangBreak", Tidy$dDoc.flexGroup(x)); +const hangApp = /* #__PURE__ */ HangApp(Tidy$dDoc.indent); +const hang = a => { + const $1 = HangApp(Tidy$dDoc.indent)($HangingDoc("HangBreak", Tidy$dDoc.flexGroup(a))); + return x => $1([x]); +}; +const breaks = fl => n => { + if (fl.tag === "ForceBreak" || n > 0) { + if (n >= 2) { return Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)(Dodo$dInternal.Break); } + return Dodo$dInternal.Break; + } + if (fl.tag === "ForceSpace") { return Dodo$dInternal.$Doc("Text", 1, " "); } + return Dodo$dInternal.Empty; +}; +const toFormatDoc = /* #__PURE__ */ (() => { + const realignOp = realignOp$a0$copy => realignOp$a1$copy => { + let realignOp$a0 = realignOp$a0$copy, realignOp$a1 = realignOp$a1$copy, realignOp$c = true, realignOp$r; + while (realignOp$c) { + const op = realignOp$a0, doc = realignOp$a1; + const v = hangHead(doc); + if ( + (op.leading.left.tag === "ForceNone" || (op.leading.left.tag === "ForceSpace" || !(op.leading.left.tag === "ForceBreak"))) && ( + op.leading.lines === 0 && ( + (op.trailing.right.tag === "ForceNone" || (op.trailing.right.tag === "ForceSpace" || !(op.trailing.right.tag === "ForceBreak"))) && ( + (v.leading.left.tag === "ForceNone" || (v.leading.left.tag === "ForceSpace" || !(v.leading.left.tag === "ForceBreak"))) && v.leading.lines > 0 + ) + ) + ) + ) { + realignOp$a0 = Tidy$dDoc.forceMinSourceBreaks(1)(op); + realignOp$a1 = overHangHead(Tidy$dDoc.flattenMax(0))(doc); + continue; + } + if (doc.tag === "HangBreak") { + if ( + (op.trailing.right.tag === "ForceNone" || (op.trailing.right.tag === "ForceSpace" || !(op.trailing.right.tag === "ForceBreak"))) && ( + (v.leading.left.tag === "ForceNone" || (v.leading.left.tag === "ForceSpace" || !(v.leading.left.tag === "ForceBreak"))) && ( + v.leading.lines === 0 && (v.leading.multiline || op.multiline) + ) + ) + ) { + realignOp$c = false; + realignOp$r = Data$dTuple.$Tuple(op, overHangHead(Tidy$dDoc.forceMinSourceBreaks(1))(doc)); + continue; + } + realignOp$c = false; + realignOp$r = Data$dTuple.$Tuple(op, doc); + continue; + } + realignOp$c = false; + realignOp$r = Data$dTuple.$Tuple(op, doc); + continue; + }; + return realignOp$r; + }; + const goLastOperand = prevAlgn => prevInd => v => { + if (v.tag === "HangBreak") { + const doc$p = Tidy$dDoc.flexGroup((() => { + if (v._1.isEmpty) { return v._1; } + if ( + (() => { + if (v._1.leading.left.tag === "ForceNone") { return false; } + if (v._1.leading.left.tag === "ForceSpace") { return false; } + return v._1.leading.left.tag === "ForceBreak"; + })() || v._1.leading.lines > 0 + ) { + return v._1; + } + if (v._1.leading.multiline || v._1.multiline) { return Tidy$dDoc.forceMinSourceBreaks(1)(v._1); } + return { + doc: Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break))(Dodo$dInternal.semigroupDoc.append(v._1.leading.doc)(Tidy$dDoc.breakDoc(v._1.leading.right)(v._1.doc))), + isEmpty: v._1.isEmpty, + leading: Tidy$dDoc.monoidLeadingComment.mempty, + multiline: v._1.multiline, + trailing: v._1.trailing + }; + })()); + return Data$dTuple.$Tuple(doc$p, prevInd(doc$p)); + } + if (v.tag === "HangApp") { + const $5 = Data$dArray.unsnoc(v._3); + const v1 = (() => { + if ($5.tag === "Just") { return $5._1; } + $runtime.fail(); + })(); + const $$this = goInit((() => { + if (v._2.tag === "HangApp") { return overHangHead(Tidy$dDoc.forceMinSourceBreaks(1))(v._2); } + return v._2; + })())._1; + const next = Data$dFoldable.foldrArray(goInitApp)(goLastApp(v1.last))(v1.init); + const docIndent = (() => { + if (v._2.tag === "HangApp") { return next._1; } + return v._1(next._1); + })(); + return Data$dTuple.$Tuple( + (() => { + const doc1$p = Dodo$dInternal.semigroupDoc.append((() => { + if ( + (() => { + if ($$this.leading.left.tag === "ForceNone") { return false; } + if ($$this.leading.left.tag === "ForceSpace") { return false; } + return $$this.leading.left.tag === "ForceBreak"; + })() || $$this.leading.lines > 0 + ) { + return Dodo$dInternal.Break; + } + return Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break); + })())(Dodo$dInternal.semigroupDoc.append($$this.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc($$this.leading.right)($$this.doc))(Tidy$dDoc.breakDoc($$this.trailing.left)($$this.trailing.doc)))); + const doc2$p = Dodo$dInternal.semigroupDoc.append(breaks(max($$this.trailing.right)(next._1.leading.left))(next._1.leading.lines))(Dodo$dInternal.semigroupDoc.append(next._1.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc(next._1.leading.right)(next._1.doc))(Tidy$dDoc.breakDoc(next._1.trailing.left)(next._1.trailing.doc)))); + return { + doc: (() => { + const $12 = Dodo$dInternal.semigroupDoc.append(breaks(max($$this.trailing.right)(docIndent.leading.left))(docIndent.leading.lines))(Dodo$dInternal.semigroupDoc.append(docIndent.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc(next._1.leading.right)(docIndent.doc))(Tidy$dDoc.breakDoc(docIndent.trailing.left)(docIndent.trailing.doc)))); + if (doc1$p.tag === "Empty") { return doc2$p; } + return Dodo$dInternal.$Doc("FlexSelect", doc1$p, doc2$p, $12); + })(), + leading: Tidy$dDoc.monoidLeadingComment.mempty, + isEmpty: false, + multiline: $$this.leading.multiline || ($$this.multiline || $$this.trailing.multiline) || ( + next._1.leading.multiline || (next._1.multiline || next._1.trailing.multiline) + ) && (docIndent.leading.multiline || (docIndent.multiline || docIndent.trailing.multiline)), + trailing: {doc: Dodo$dInternal.Empty, left: Tidy$dDoc.ForceNone, multiline: false, right: max(next._1.trailing.right)(docIndent.trailing.right)} + }; + })(), + (() => { + const $10 = prevInd($$this); + const $11 = prevAlgn(docIndent); + const $12 = prevInd(docIndent); + const doc1$p = Dodo$dInternal.semigroupDoc.append((() => { + if ( + (() => { + if ($10.leading.left.tag === "ForceNone") { return false; } + if ($10.leading.left.tag === "ForceSpace") { return false; } + return $10.leading.left.tag === "ForceBreak"; + })() || $10.leading.lines > 0 + ) { + return Dodo$dInternal.Break; + } + return Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break); + })())(Dodo$dInternal.semigroupDoc.append($10.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc($10.leading.right)($10.doc))(Tidy$dDoc.breakDoc($10.trailing.left)($10.trailing.doc)))); + const doc2$p = Dodo$dInternal.semigroupDoc.append(breaks(max($10.trailing.right)($11.leading.left))($11.leading.lines))(Dodo$dInternal.semigroupDoc.append($11.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc($11.leading.right)($11.doc))(Tidy$dDoc.breakDoc($11.trailing.left)($11.trailing.doc)))); + return { + doc: (() => { + const $15 = Dodo$dInternal.semigroupDoc.append(breaks(max($10.trailing.right)($12.leading.left))($12.leading.lines))(Dodo$dInternal.semigroupDoc.append($12.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc($11.leading.right)($12.doc))(Tidy$dDoc.breakDoc($12.trailing.left)($12.trailing.doc)))); + if (doc1$p.tag === "Empty") { return doc2$p; } + return Dodo$dInternal.$Doc("FlexSelect", doc1$p, doc2$p, $15); + })(), + leading: Tidy$dDoc.monoidLeadingComment.mempty, + isEmpty: false, + multiline: $10.leading.multiline || ($10.multiline || $10.trailing.multiline) || ($11.leading.multiline || ($11.multiline || $11.trailing.multiline)) && ( + $12.leading.multiline || ($12.multiline || $12.trailing.multiline) + ), + trailing: {doc: Dodo$dInternal.Empty, left: Tidy$dDoc.ForceNone, multiline: false, right: max($11.trailing.right)($12.trailing.right)} + }; + })() + ); + } + if (v.tag === "HangOps") { + const $5 = Data$dArray.unsnoc(v._3); + const v1 = (() => { + if ($5.tag === "Just") { return $5._1; } + $runtime.fail(); + })(); + const $$this = goInit(v._2)._1; + const next = Data$dFoldable.foldrArray(goInitOp(v._1))(goLastOp(v._1)(v1.last))(v1.init); + const docIndent = v._1(next._1); + return Data$dTuple.$Tuple( + (() => { + const doc1$p = Dodo$dInternal.semigroupDoc.append((() => { + if ( + (() => { + if ($$this.leading.left.tag === "ForceNone") { return false; } + if ($$this.leading.left.tag === "ForceSpace") { return false; } + return $$this.leading.left.tag === "ForceBreak"; + })() || $$this.leading.lines > 0 + ) { + return Dodo$dInternal.Break; + } + return Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break); + })())(Dodo$dInternal.semigroupDoc.append($$this.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc($$this.leading.right)($$this.doc))(Tidy$dDoc.breakDoc($$this.trailing.left)($$this.trailing.doc)))); + const doc2$p = Dodo$dInternal.semigroupDoc.append(breaks(max($$this.trailing.right)(next._1.leading.left))(next._1.leading.lines))(Dodo$dInternal.semigroupDoc.append(next._1.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc(next._1.leading.right)(next._1.doc))(Tidy$dDoc.breakDoc(next._1.trailing.left)(next._1.trailing.doc)))); + return { + doc: (() => { + const $12 = Dodo$dInternal.semigroupDoc.append(breaks(max($$this.trailing.right)(docIndent.leading.left))(docIndent.leading.lines))(Dodo$dInternal.semigroupDoc.append(docIndent.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc(next._1.leading.right)(docIndent.doc))(Tidy$dDoc.breakDoc(docIndent.trailing.left)(docIndent.trailing.doc)))); + if (doc1$p.tag === "Empty") { return doc2$p; } + return Dodo$dInternal.$Doc("FlexSelect", doc1$p, doc2$p, $12); + })(), + leading: Tidy$dDoc.monoidLeadingComment.mempty, + isEmpty: false, + multiline: $$this.leading.multiline || ($$this.multiline || $$this.trailing.multiline) || ( + next._1.leading.multiline || (next._1.multiline || next._1.trailing.multiline) + ) && (docIndent.leading.multiline || (docIndent.multiline || docIndent.trailing.multiline)), + trailing: {doc: Dodo$dInternal.Empty, left: Tidy$dDoc.ForceNone, multiline: false, right: max(next._1.trailing.right)(docIndent.trailing.right)} + }; + })(), + (() => { + const $10 = prevInd($$this); + const $11 = prevAlgn(docIndent); + const $12 = prevInd(docIndent); + const doc1$p = Dodo$dInternal.semigroupDoc.append((() => { + if ( + (() => { + if ($10.leading.left.tag === "ForceNone") { return false; } + if ($10.leading.left.tag === "ForceSpace") { return false; } + return $10.leading.left.tag === "ForceBreak"; + })() || $10.leading.lines > 0 + ) { + return Dodo$dInternal.Break; + } + return Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break); + })())(Dodo$dInternal.semigroupDoc.append($10.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc($10.leading.right)($10.doc))(Tidy$dDoc.breakDoc($10.trailing.left)($10.trailing.doc)))); + const doc2$p = Dodo$dInternal.semigroupDoc.append(breaks(max($10.trailing.right)($11.leading.left))($11.leading.lines))(Dodo$dInternal.semigroupDoc.append($11.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc($11.leading.right)($11.doc))(Tidy$dDoc.breakDoc($11.trailing.left)($11.trailing.doc)))); + return { + doc: (() => { + const $15 = Dodo$dInternal.semigroupDoc.append(breaks(max($10.trailing.right)($12.leading.left))($12.leading.lines))(Dodo$dInternal.semigroupDoc.append($12.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc($11.leading.right)($12.doc))(Tidy$dDoc.breakDoc($12.trailing.left)($12.trailing.doc)))); + if (doc1$p.tag === "Empty") { return doc2$p; } + return Dodo$dInternal.$Doc("FlexSelect", doc1$p, doc2$p, $15); + })(), + leading: Tidy$dDoc.monoidLeadingComment.mempty, + isEmpty: false, + multiline: $10.leading.multiline || ($10.multiline || $10.trailing.multiline) || ($11.leading.multiline || ($11.multiline || $11.trailing.multiline)) && ( + $12.leading.multiline || ($12.multiline || $12.trailing.multiline) + ), + trailing: {doc: Dodo$dInternal.Empty, left: Tidy$dDoc.ForceNone, multiline: false, right: max($11.trailing.right)($12.trailing.right)} + }; + })() + ); + } + $runtime.fail(); + }; + const goLastOp = ind => v => { + const next = goLastOperand((() => { + if (v._1 <= 1) { return Tidy$dDoc.align(2); } + return identity; + })())(ind)(v._3); + return Data$dTuple.$Tuple( + (() => { + const doc1$p = Dodo$dInternal.semigroupDoc.append((() => { + if ( + (() => { + if (v._2.leading.left.tag === "ForceNone") { return false; } + if (v._2.leading.left.tag === "ForceSpace") { return false; } + return v._2.leading.left.tag === "ForceBreak"; + })() || v._2.leading.lines > 0 + ) { + return Dodo$dInternal.Break; + } + return Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break); + })())(Dodo$dInternal.semigroupDoc.append(v._2.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc(v._2.leading.right)(v._2.doc))(Tidy$dDoc.breakDoc(v._2.trailing.left)(v._2.trailing.doc)))); + const doc2$p = Dodo$dInternal.semigroupDoc.append(breaks(max(v._2.trailing.right)(next._1.leading.left))(next._1.leading.lines))(Dodo$dInternal.semigroupDoc.append(next._1.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc(next._1.leading.right)(next._1.doc))(Tidy$dDoc.breakDoc(next._1.trailing.left)(next._1.trailing.doc)))); + return { + doc: (() => { + const $7 = Dodo$dInternal.semigroupDoc.append(breaks(max(v._2.trailing.right)(next._2.leading.left))(next._2.leading.lines))(Dodo$dInternal.semigroupDoc.append(next._2.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc(next._1.leading.right)(next._2.doc))(Tidy$dDoc.breakDoc(next._2.trailing.left)(next._2.trailing.doc)))); + if (doc1$p.tag === "Empty") { return doc2$p; } + return Dodo$dInternal.$Doc("FlexSelect", doc1$p, doc2$p, $7); + })(), + leading: Tidy$dDoc.monoidLeadingComment.mempty, + isEmpty: false, + multiline: v._2.leading.multiline || (v._2.multiline || v._2.trailing.multiline) || (next._1.leading.multiline || (next._1.multiline || next._1.trailing.multiline)) && ( + next._2.leading.multiline || (next._2.multiline || next._2.trailing.multiline) + ), + trailing: {doc: Dodo$dInternal.Empty, left: Tidy$dDoc.ForceNone, multiline: false, right: max(next._1.trailing.right)(next._2.trailing.right)} + }; + })(), + Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity))((() => { + if (v._2.isEmpty) { return v._2; } + if ( + (() => { + if (v._2.leading.left.tag === "ForceNone") { return false; } + if (v._2.leading.left.tag === "ForceSpace") { return false; } + return v._2.leading.left.tag === "ForceBreak"; + })() || v._2.leading.lines > 0 + ) { + return v._2; + } + if (v._2.leading.multiline || v._2.multiline) { return Tidy$dDoc.forceMinSourceBreaks(1)(v._2); } + return { + doc: Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break))(Dodo$dInternal.semigroupDoc.append(v._2.leading.doc)(Tidy$dDoc.breakDoc(v._2.leading.right)(v._2.doc))), + isEmpty: v._2.isEmpty, + leading: Tidy$dDoc.monoidLeadingComment.mempty, + multiline: v._2.multiline, + trailing: v._2.trailing + }; + })())(next._2) + ); + }; + const goLastApp = doc => { + const $$this = goLast(doc); + return Data$dTuple.$Tuple(Tidy$dDoc.flexGroup($$this._1), $$this._2); + }; + const goLast = v => { + if (v.tag === "HangBreak") { + const doc$p = (() => { + if (v._1.isEmpty) { return v._1; } + if ( + (() => { + if (v._1.leading.left.tag === "ForceNone") { return false; } + if (v._1.leading.left.tag === "ForceSpace") { return false; } + return v._1.leading.left.tag === "ForceBreak"; + })() || v._1.leading.lines > 0 + ) { + return v._1; + } + if (v._1.leading.multiline || v._1.multiline) { return Tidy$dDoc.forceMinSourceBreaks(1)(v._1); } + return { + doc: Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break))(Dodo$dInternal.semigroupDoc.append(v._1.leading.doc)(Tidy$dDoc.breakDoc(v._1.leading.right)(v._1.doc))), + isEmpty: v._1.isEmpty, + leading: Tidy$dDoc.monoidLeadingComment.mempty, + multiline: v._1.multiline, + trailing: v._1.trailing + }; + })(); + return Data$dTuple.$Tuple(doc$p, doc$p); + } + if (v.tag === "HangApp") { + const $3 = Data$dArray.unsnoc(v._3); + const v1 = (() => { + if ($3.tag === "Just") { return $3._1; } + $runtime.fail(); + })(); + const $$this = goInit(v._2)._1; + const next = Data$dFoldable.foldrArray(goInitApp)(goLastApp(v1.last))(v1.init); + return Data$dTuple.$Tuple( + (() => { + const $7 = (() => { + if (v._2.tag === "HangApp") { return next._1; } + return v._1(next._1); + })(); + const doc1$p = Dodo$dInternal.semigroupDoc.append((() => { + if ( + (() => { + if ($$this.leading.left.tag === "ForceNone") { return false; } + if ($$this.leading.left.tag === "ForceSpace") { return false; } + return $$this.leading.left.tag === "ForceBreak"; + })() || $$this.leading.lines > 0 + ) { + return Dodo$dInternal.Break; + } + return Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break); + })())(Dodo$dInternal.semigroupDoc.append($$this.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc($$this.leading.right)($$this.doc))(Tidy$dDoc.breakDoc($$this.trailing.left)($$this.trailing.doc)))); + const doc2$p = Dodo$dInternal.semigroupDoc.append(breaks(max($$this.trailing.right)(next._1.leading.left))(next._1.leading.lines))(Dodo$dInternal.semigroupDoc.append(next._1.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc(next._1.leading.right)(next._1.doc))(Tidy$dDoc.breakDoc(next._1.trailing.left)(next._1.trailing.doc)))); + return { + doc: (() => { + const $10 = Dodo$dInternal.semigroupDoc.append(breaks(max($$this.trailing.right)($7.leading.left))($7.leading.lines))(Dodo$dInternal.semigroupDoc.append($7.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc(next._1.leading.right)($7.doc))(Tidy$dDoc.breakDoc($7.trailing.left)($7.trailing.doc)))); + if (doc1$p.tag === "Empty") { return doc2$p; } + return Dodo$dInternal.$Doc("FlexSelect", doc1$p, doc2$p, $10); + })(), + leading: Tidy$dDoc.monoidLeadingComment.mempty, + isEmpty: false, + multiline: $$this.leading.multiline || ($$this.multiline || $$this.trailing.multiline) || ( + next._1.leading.multiline || (next._1.multiline || next._1.trailing.multiline) + ) && ($7.leading.multiline || ($7.multiline || $7.trailing.multiline)), + trailing: {doc: Dodo$dInternal.Empty, left: Tidy$dDoc.ForceNone, multiline: false, right: max(next._1.trailing.right)($7.trailing.right)} + }; + })(), + Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity))((() => { + if ($$this.isEmpty) { return $$this; } + if ( + (() => { + if ($$this.leading.left.tag === "ForceNone") { return false; } + if ($$this.leading.left.tag === "ForceSpace") { return false; } + return $$this.leading.left.tag === "ForceBreak"; + })() || $$this.leading.lines > 0 + ) { + return $$this; + } + if ($$this.leading.multiline || $$this.multiline) { return Tidy$dDoc.forceMinSourceBreaks(1)($$this); } + return { + doc: Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break))(Dodo$dInternal.semigroupDoc.append($$this.leading.doc)(Tidy$dDoc.breakDoc($$this.leading.right)($$this.doc))), + isEmpty: $$this.isEmpty, + leading: Tidy$dDoc.monoidLeadingComment.mempty, + multiline: $$this.multiline, + trailing: $$this.trailing + }; + })())((() => { + if (v._2.tag === "HangApp") { return next._1; } + return v._1(next._1); + })()) + ); + } + if (v.tag === "HangOps") { + const $3 = Data$dArray.unsnoc(v._3); + const v1 = (() => { + if ($3.tag === "Just") { return $3._1; } + $runtime.fail(); + })(); + const $$this = goInit(v._2)._1; + const next = Data$dFoldable.foldrArray(goInitOp(v._1))(goLastOp(v._1)(v1.last))(v1.init); + return Data$dTuple.$Tuple( + (() => { + const $7 = v._1(next._1); + const doc1$p = Dodo$dInternal.semigroupDoc.append((() => { + if ( + (() => { + if ($$this.leading.left.tag === "ForceNone") { return false; } + if ($$this.leading.left.tag === "ForceSpace") { return false; } + return $$this.leading.left.tag === "ForceBreak"; + })() || $$this.leading.lines > 0 + ) { + return Dodo$dInternal.Break; + } + return Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break); + })())(Dodo$dInternal.semigroupDoc.append($$this.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc($$this.leading.right)($$this.doc))(Tidy$dDoc.breakDoc($$this.trailing.left)($$this.trailing.doc)))); + const doc2$p = Dodo$dInternal.semigroupDoc.append(breaks(max($$this.trailing.right)(next._1.leading.left))(next._1.leading.lines))(Dodo$dInternal.semigroupDoc.append(next._1.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc(next._1.leading.right)(next._1.doc))(Tidy$dDoc.breakDoc(next._1.trailing.left)(next._1.trailing.doc)))); + return { + doc: (() => { + const $10 = Dodo$dInternal.semigroupDoc.append(breaks(max($$this.trailing.right)($7.leading.left))($7.leading.lines))(Dodo$dInternal.semigroupDoc.append($7.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc(next._1.leading.right)($7.doc))(Tidy$dDoc.breakDoc($7.trailing.left)($7.trailing.doc)))); + if (doc1$p.tag === "Empty") { return doc2$p; } + return Dodo$dInternal.$Doc("FlexSelect", doc1$p, doc2$p, $10); + })(), + leading: Tidy$dDoc.monoidLeadingComment.mempty, + isEmpty: false, + multiline: $$this.leading.multiline || ($$this.multiline || $$this.trailing.multiline) || ( + next._1.leading.multiline || (next._1.multiline || next._1.trailing.multiline) + ) && ($7.leading.multiline || ($7.multiline || $7.trailing.multiline)), + trailing: {doc: Dodo$dInternal.Empty, left: Tidy$dDoc.ForceNone, multiline: false, right: max(next._1.trailing.right)($7.trailing.right)} + }; + })(), + Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)))((() => { + if ($$this.isEmpty) { return $$this; } + if ( + (() => { + if ($$this.leading.left.tag === "ForceNone") { return false; } + if ($$this.leading.left.tag === "ForceSpace") { return false; } + return $$this.leading.left.tag === "ForceBreak"; + })() || $$this.leading.lines > 0 + ) { + return $$this; + } + if ($$this.leading.multiline || $$this.multiline) { return Tidy$dDoc.forceMinSourceBreaks(1)($$this); } + return { + doc: Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break))(Dodo$dInternal.semigroupDoc.append($$this.leading.doc)(Tidy$dDoc.breakDoc($$this.leading.right)($$this.doc))), + isEmpty: $$this.isEmpty, + leading: Tidy$dDoc.monoidLeadingComment.mempty, + multiline: $$this.multiline, + trailing: $$this.trailing + }; + })())(v._1(next._2)) + ); + } + $runtime.fail(); + }; + const goInitOperand = prevAlgn => prevInd => v => { + if (v.tag === "HangBreak") { + const doc$p = prevInd(Tidy$dDoc.flexGroup((() => { + if (v._1.isEmpty) { return v._1; } + if ( + (() => { + if (v._1.leading.left.tag === "ForceNone") { return false; } + if (v._1.leading.left.tag === "ForceSpace") { return false; } + return v._1.leading.left.tag === "ForceBreak"; + })() || v._1.leading.lines > 0 + ) { + return v._1; + } + if (v._1.leading.multiline || v._1.multiline) { return Tidy$dDoc.forceMinSourceBreaks(1)(v._1); } + return { + doc: Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break))(Dodo$dInternal.semigroupDoc.append(v._1.leading.doc)(Tidy$dDoc.breakDoc(v._1.leading.right)(v._1.doc))), + isEmpty: v._1.isEmpty, + leading: Tidy$dDoc.monoidLeadingComment.mempty, + multiline: v._1.multiline, + trailing: v._1.trailing + }; + })())); + return Data$dTuple.$Tuple(doc$p, doc$p); + } + if (v.tag === "HangApp") { + const $5 = Data$dArray.unsnoc(v._3); + const v1 = (() => { + if ($5.tag === "Just") { return $5._1; } + $runtime.fail(); + })(); + const $$this = goInit(v._2)._1; + const next = Data$dFoldable.foldrArray(goInitApp)(goLastApp(v1.last))(v1.init); + return Data$dTuple.$Tuple( + (() => { + const $9 = prevInd($$this); + const $10 = (() => { + if (v._2.tag === "HangApp") { return next._1; } + return prevAlgn(v._1(next._1)); + })(); + const $11 = prevInd((() => { + if (v._2.tag === "HangApp") { return next._1; } + return v._1(next._1); + })()); + const doc1$p = Dodo$dInternal.semigroupDoc.append((() => { + if ( + (() => { + if ($9.leading.left.tag === "ForceNone") { return false; } + if ($9.leading.left.tag === "ForceSpace") { return false; } + return $9.leading.left.tag === "ForceBreak"; + })() || $9.leading.lines > 0 + ) { + return Dodo$dInternal.Break; + } + return Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break); + })())(Dodo$dInternal.semigroupDoc.append($9.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc($9.leading.right)($9.doc))(Tidy$dDoc.breakDoc($9.trailing.left)($9.trailing.doc)))); + const doc2$p = Dodo$dInternal.semigroupDoc.append(breaks(max($9.trailing.right)($10.leading.left))($10.leading.lines))(Dodo$dInternal.semigroupDoc.append($10.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc($10.leading.right)($10.doc))(Tidy$dDoc.breakDoc($10.trailing.left)($10.trailing.doc)))); + return { + doc: (() => { + const $14 = Dodo$dInternal.semigroupDoc.append(breaks(max($9.trailing.right)($11.leading.left))($11.leading.lines))(Dodo$dInternal.semigroupDoc.append($11.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc($10.leading.right)($11.doc))(Tidy$dDoc.breakDoc($11.trailing.left)($11.trailing.doc)))); + if (doc1$p.tag === "Empty") { return doc2$p; } + return Dodo$dInternal.$Doc("FlexSelect", doc1$p, doc2$p, $14); + })(), + leading: Tidy$dDoc.monoidLeadingComment.mempty, + isEmpty: false, + multiline: $9.leading.multiline || ($9.multiline || $9.trailing.multiline) || ($10.leading.multiline || ($10.multiline || $10.trailing.multiline)) && ( + $11.leading.multiline || ($11.multiline || $11.trailing.multiline) + ), + trailing: {doc: Dodo$dInternal.Empty, left: Tidy$dDoc.ForceNone, multiline: false, right: max($10.trailing.right)($11.trailing.right)} + }; + })(), + prevInd(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity))((() => { + if ($$this.isEmpty) { return $$this; } + if ( + (() => { + if ($$this.leading.left.tag === "ForceNone") { return false; } + if ($$this.leading.left.tag === "ForceSpace") { return false; } + return $$this.leading.left.tag === "ForceBreak"; + })() || $$this.leading.lines > 0 + ) { + return $$this; + } + if ($$this.leading.multiline || $$this.multiline) { return Tidy$dDoc.forceMinSourceBreaks(1)($$this); } + return { + doc: Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break))(Dodo$dInternal.semigroupDoc.append($$this.leading.doc)(Tidy$dDoc.breakDoc($$this.leading.right)($$this.doc))), + isEmpty: $$this.isEmpty, + leading: Tidy$dDoc.monoidLeadingComment.mempty, + multiline: $$this.multiline, + trailing: $$this.trailing + }; + })())(v._1(next._2))) + ); + } + if (v.tag === "HangOps") { + const $5 = Data$dArray.unsnoc(v._3); + const v1 = (() => { + if ($5.tag === "Just") { return $5._1; } + $runtime.fail(); + })(); + const $$this = goInit(v._2)._1; + const next = Data$dFoldable.foldrArray(goInitOp(v._1))(goLastOp(v._1)(v1.last))(v1.init); + return Data$dTuple.$Tuple( + (() => { + const $9 = prevInd($$this); + const $10 = prevAlgn(v._1(next._1)); + const $11 = prevInd(v._1(next._1)); + const doc1$p = Dodo$dInternal.semigroupDoc.append((() => { + if ( + (() => { + if ($9.leading.left.tag === "ForceNone") { return false; } + if ($9.leading.left.tag === "ForceSpace") { return false; } + return $9.leading.left.tag === "ForceBreak"; + })() || $9.leading.lines > 0 + ) { + return Dodo$dInternal.Break; + } + return Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break); + })())(Dodo$dInternal.semigroupDoc.append($9.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc($9.leading.right)($9.doc))(Tidy$dDoc.breakDoc($9.trailing.left)($9.trailing.doc)))); + const doc2$p = Dodo$dInternal.semigroupDoc.append(breaks(max($9.trailing.right)($10.leading.left))($10.leading.lines))(Dodo$dInternal.semigroupDoc.append($10.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc($10.leading.right)($10.doc))(Tidy$dDoc.breakDoc($10.trailing.left)($10.trailing.doc)))); + return { + doc: (() => { + const $14 = Dodo$dInternal.semigroupDoc.append(breaks(max($9.trailing.right)($11.leading.left))($11.leading.lines))(Dodo$dInternal.semigroupDoc.append($11.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc($10.leading.right)($11.doc))(Tidy$dDoc.breakDoc($11.trailing.left)($11.trailing.doc)))); + if (doc1$p.tag === "Empty") { return doc2$p; } + return Dodo$dInternal.$Doc("FlexSelect", doc1$p, doc2$p, $14); + })(), + leading: Tidy$dDoc.monoidLeadingComment.mempty, + isEmpty: false, + multiline: $9.leading.multiline || ($9.multiline || $9.trailing.multiline) || ($10.leading.multiline || ($10.multiline || $10.trailing.multiline)) && ( + $11.leading.multiline || ($11.multiline || $11.trailing.multiline) + ), + trailing: {doc: Dodo$dInternal.Empty, left: Tidy$dDoc.ForceNone, multiline: false, right: max($10.trailing.right)($11.trailing.right)} + }; + })(), + prevInd(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity))((() => { + if ($$this.isEmpty) { return $$this; } + if ( + (() => { + if ($$this.leading.left.tag === "ForceNone") { return false; } + if ($$this.leading.left.tag === "ForceSpace") { return false; } + return $$this.leading.left.tag === "ForceBreak"; + })() || $$this.leading.lines > 0 + ) { + return $$this; + } + if ($$this.leading.multiline || $$this.multiline) { return Tidy$dDoc.forceMinSourceBreaks(1)($$this); } + return { + doc: Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break))(Dodo$dInternal.semigroupDoc.append($$this.leading.doc)(Tidy$dDoc.breakDoc($$this.leading.right)($$this.doc))), + isEmpty: $$this.isEmpty, + leading: Tidy$dDoc.monoidLeadingComment.mempty, + multiline: $$this.multiline, + trailing: $$this.trailing + }; + })())(v._1(next._2))) + ); + } + $runtime.fail(); + }; + const goInitOp = ind => v => next => { + const v1 = realignOp(v._2)(v._3); + const docOprd = goInitOperand((() => { + if (v._1 <= 1) { return Tidy$dDoc.align(2); } + return identity; + })())(ind)(v1._2)._1; + return Data$dTuple.$Tuple( + (() => { + const $7 = Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity))(v1._1)(docOprd); + const doc1$p = Dodo$dInternal.semigroupDoc.append((() => { + if ( + (() => { + if ($7.leading.left.tag === "ForceNone") { return false; } + if ($7.leading.left.tag === "ForceSpace") { return false; } + return $7.leading.left.tag === "ForceBreak"; + })() || $7.leading.lines > 0 + ) { + return Dodo$dInternal.Break; + } + return Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break); + })())(Dodo$dInternal.semigroupDoc.append($7.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc($7.leading.right)($7.doc))(Tidy$dDoc.breakDoc($7.trailing.left)($7.trailing.doc)))); + const doc2$p = Dodo$dInternal.semigroupDoc.append(breaks(max($7.trailing.right)(next._1.leading.left))(next._1.leading.lines))(Dodo$dInternal.semigroupDoc.append(next._1.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc(next._1.leading.right)(next._1.doc))(Tidy$dDoc.breakDoc(next._1.trailing.left)(next._1.trailing.doc)))); + return { + doc: (() => { + const $10 = Dodo$dInternal.semigroupDoc.append(breaks(max($7.trailing.right)(next._2.leading.left))(next._2.leading.lines))(Dodo$dInternal.semigroupDoc.append(next._2.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc(next._1.leading.right)(next._2.doc))(Tidy$dDoc.breakDoc(next._2.trailing.left)(next._2.trailing.doc)))); + if (doc1$p.tag === "Empty") { return doc2$p; } + return Dodo$dInternal.$Doc("FlexSelect", doc1$p, doc2$p, $10); + })(), + leading: Tidy$dDoc.monoidLeadingComment.mempty, + isEmpty: false, + multiline: $7.leading.multiline || ($7.multiline || $7.trailing.multiline) || (next._1.leading.multiline || (next._1.multiline || next._1.trailing.multiline)) && ( + next._2.leading.multiline || (next._2.multiline || next._2.trailing.multiline) + ), + trailing: {doc: Dodo$dInternal.Empty, left: Tidy$dDoc.ForceNone, multiline: false, right: max(next._1.trailing.right)(next._2.trailing.right)} + }; + })(), + Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity))((() => { + if (v1._1.isEmpty) { return v1._1; } + if ( + (() => { + if (v1._1.leading.left.tag === "ForceNone") { return false; } + if (v1._1.leading.left.tag === "ForceSpace") { return false; } + return v1._1.leading.left.tag === "ForceBreak"; + })() || v1._1.leading.lines > 0 + ) { + return v1._1; + } + if (v1._1.leading.multiline || v1._1.multiline) { return Tidy$dDoc.forceMinSourceBreaks(1)(v1._1); } + return { + doc: Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break))(Dodo$dInternal.semigroupDoc.append(v1._1.leading.doc)(Tidy$dDoc.breakDoc(v1._1.leading.right)(v1._1.doc))), + isEmpty: v1._1.isEmpty, + leading: Tidy$dDoc.monoidLeadingComment.mempty, + multiline: v1._1.multiline, + trailing: v1._1.trailing + }; + })())(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity))(docOprd)(next._2)) + ); + }; + const goInitApp = doc => next => { + const $$this = goInit(doc)._1; + return Data$dTuple.$Tuple( + (() => { + const doc1$p = Dodo$dInternal.semigroupDoc.append((() => { + if ( + (() => { + if ($$this.leading.left.tag === "ForceNone") { return false; } + if ($$this.leading.left.tag === "ForceSpace") { return false; } + return $$this.leading.left.tag === "ForceBreak"; + })() || $$this.leading.lines > 0 + ) { + return Dodo$dInternal.Break; + } + return Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break); + })())(Dodo$dInternal.semigroupDoc.append($$this.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc($$this.leading.right)($$this.doc))(Tidy$dDoc.breakDoc($$this.trailing.left)($$this.trailing.doc)))); + const doc2$p = Dodo$dInternal.semigroupDoc.append(breaks(max($$this.trailing.right)(next._1.leading.left))(next._1.leading.lines))(Dodo$dInternal.semigroupDoc.append(next._1.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc(next._1.leading.right)(next._1.doc))(Tidy$dDoc.breakDoc(next._1.trailing.left)(next._1.trailing.doc)))); + return { + doc: (() => { + const $7 = Dodo$dInternal.semigroupDoc.append(breaks(max($$this.trailing.right)(next._2.leading.left))(next._2.leading.lines))(Dodo$dInternal.semigroupDoc.append(next._2.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc(next._1.leading.right)(next._2.doc))(Tidy$dDoc.breakDoc(next._2.trailing.left)(next._2.trailing.doc)))); + if (doc1$p.tag === "Empty") { return doc2$p; } + return Dodo$dInternal.$Doc("FlexSelect", doc1$p, doc2$p, $7); + })(), + leading: Tidy$dDoc.monoidLeadingComment.mempty, + isEmpty: false, + multiline: $$this.leading.multiline || ($$this.multiline || $$this.trailing.multiline) || (next._1.leading.multiline || (next._1.multiline || next._1.trailing.multiline)) && ( + next._2.leading.multiline || (next._2.multiline || next._2.trailing.multiline) + ), + trailing: {doc: Dodo$dInternal.Empty, left: Tidy$dDoc.ForceNone, multiline: false, right: max(next._1.trailing.right)(next._2.trailing.right)} + }; + })(), + Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity))((() => { + if ($$this.isEmpty) { return $$this; } + if ( + (() => { + if ($$this.leading.left.tag === "ForceNone") { return false; } + if ($$this.leading.left.tag === "ForceSpace") { return false; } + return $$this.leading.left.tag === "ForceBreak"; + })() || $$this.leading.lines > 0 + ) { + return $$this; + } + if ($$this.leading.multiline || $$this.multiline) { return Tidy$dDoc.forceMinSourceBreaks(1)($$this); } + return { + doc: Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break))(Dodo$dInternal.semigroupDoc.append($$this.leading.doc)(Tidy$dDoc.breakDoc($$this.leading.right)($$this.doc))), + isEmpty: $$this.isEmpty, + leading: Tidy$dDoc.monoidLeadingComment.mempty, + multiline: $$this.multiline, + trailing: $$this.trailing + }; + })())(next._2) + ); + }; + const goInit = v => { + if (v.tag === "HangBreak") { return Data$dTuple.$Tuple(v._1, v._1); } + if (v.tag === "HangApp") { + const $3 = Data$dArray.unsnoc(v._3); + const v1 = (() => { + if ($3.tag === "Just") { return $3._1; } + $runtime.fail(); + })(); + const $$this = goInit(v._2)._1; + const next = Data$dFoldable.foldrArray(goInitApp)(goLastApp(v1.last))(v1.init); + return Data$dTuple.$Tuple( + (() => { + const $7 = v._1(next._1); + const $8 = (() => { + if (v._2.tag === "HangApp") { return next._1; } + return v._1(next._1); + })(); + const doc1$p = Dodo$dInternal.semigroupDoc.append($$this.doc)(Tidy$dDoc.breakDoc($$this.trailing.left)($$this.trailing.doc)); + const doc2$p = Dodo$dInternal.semigroupDoc.append(breaks(max($$this.trailing.right)($7.leading.left))($7.leading.lines))(Dodo$dInternal.semigroupDoc.append($7.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc($7.leading.right)($7.doc))(Tidy$dDoc.breakDoc($7.trailing.left)($7.trailing.doc)))); + return { + doc: (() => { + const $11 = Dodo$dInternal.semigroupDoc.append(breaks(max($$this.trailing.right)($8.leading.left))($8.leading.lines))(Dodo$dInternal.semigroupDoc.append($8.leading.doc)(Dodo$dInternal.semigroupDoc.append(Tidy$dDoc.breakDoc($7.leading.right)($8.doc))(Tidy$dDoc.breakDoc($8.trailing.left)($8.trailing.doc)))); + if (doc1$p.tag === "Empty") { return doc2$p; } + return Dodo$dInternal.$Doc("FlexSelect", doc1$p, doc2$p, $11); + })(), + leading: $$this.leading, + isEmpty: false, + multiline: $$this.multiline || $$this.trailing.multiline || ($7.leading.multiline || ($7.multiline || $7.trailing.multiline)) && ( + $8.leading.multiline || ($8.multiline || $8.trailing.multiline) + ), + trailing: {doc: Dodo$dInternal.Empty, left: Tidy$dDoc.ForceNone, multiline: false, right: max($7.trailing.right)($8.trailing.right)} + }; + })(), + Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)))($$this)(v._1(next._2)) + ); + } + if (v.tag === "HangOps") { + const $3 = Data$dArray.unsnoc(v._3); + const v1 = (() => { + if ($3.tag === "Just") { return $3._1; } + $runtime.fail(); + })(); + const $$this = goInit(v._2)._1; + const next = Data$dFoldable.foldrArray(goInitOp(v._1))(goLastOp(v._1)(v1.last))(v1.init); + return Data$dTuple.$Tuple( + Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity))(Tidy$dDoc.flexGroup($$this))(v._1(next._1)), + Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)))($$this)(v._1(next._2)) + ); + } + $runtime.fail(); + }; + return x => goInit(x)._1; +})(); +export { + $HangingDoc, + $HangingOp, + HangApp, + HangBreak, + HangOps, + HangingOp, + breaks, + hang, + hangApp, + hangBreak, + hangConcatApp, + hangHead, + hangOps, + hangWithIndent, + identity, + max, + overHangHead, + toFormatDoc +}; diff --git a/.storybook/purescript-indexer/output-es/Tidy.Operators.Defaults/index.js b/.storybook/purescript-indexer/output-es/Tidy.Operators.Defaults/index.js new file mode 100644 index 0000000..6918e87 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Tidy.Operators.Defaults/index.js @@ -0,0 +1,357 @@ +//------------------------------------------ +// This module is generated. DO NOT EDIT! -- +//------------------------------------------ +import * as $runtime from "../runtime.js"; +const defaultOperators = [ + "Control.Alt.($>) 4", + "Control.Alt.(<#>) 1", + "Control.Alt.(<$) 4", + "Control.Alt.(<$>) 4", + "Control.Alt.(<@>) 4", + "Control.Alt.(<|>) 3", + "Control.Alternative.($>) 4", + "Control.Alternative.(*>) 4", + "Control.Alternative.(<#>) 1", + "Control.Alternative.(<$) 4", + "Control.Alternative.(<$>) 4", + "Control.Alternative.(<*) 4", + "Control.Alternative.(<*>) 4", + "Control.Alternative.(<@>) 4", + "Control.Alternative.(<|>) 3", + "Control.Applicative.($>) 4", + "Control.Applicative.(*>) 4", + "Control.Applicative.(<#>) 1", + "Control.Applicative.(<$) 4", + "Control.Applicative.(<$>) 4", + "Control.Applicative.(<*) 4", + "Control.Applicative.(<*>) 4", + "Control.Applicative.(<@>) 4", + "Control.Apply.($>) 4", + "Control.Apply.(*>) 4", + "Control.Apply.(<#>) 1", + "Control.Apply.(<$) 4", + "Control.Apply.(<$>) 4", + "Control.Apply.(<*) 4", + "Control.Apply.(<*>) 4", + "Control.Apply.(<@>) 4", + "Control.Biapply.(*>>) 4", + "Control.Biapply.(<<$>>) 4", + "Control.Biapply.(<<*) 4", + "Control.Biapply.(<<*>>) 4", + "Control.Bind.($>) 4", + "Control.Bind.(*>) 4", + "Control.Bind.(<#>) 1", + "Control.Bind.(<$) 4", + "Control.Bind.(<$>) 4", + "Control.Bind.(<*) 4", + "Control.Bind.(<*>) 4", + "Control.Bind.(<=<) 1", + "Control.Bind.(<@>) 4", + "Control.Bind.(=<<) 1", + "Control.Bind.(>=>) 1", + "Control.Bind.(>>=) 1", + "Control.Category.(<<<) 9", + "Control.Category.(>>>) 9", + "Control.Comonad.($>) 4", + "Control.Comonad.(<#>) 1", + "Control.Comonad.(<$) 4", + "Control.Comonad.(<$>) 4", + "Control.Comonad.(<<=) 1", + "Control.Comonad.(<@>) 4", + "Control.Comonad.(=<=) 1", + "Control.Comonad.(=>=) 1", + "Control.Comonad.(=>>) 1", + "Control.Comonad.Cofree.(:<) 5", + "Control.Coroutine.($$) 2", + "Control.Coroutine.($~) 2", + "Control.Coroutine.(/\\) 3", + "Control.Coroutine.(\\/) 3", + "Control.Coroutine.(~$) 2", + "Control.Coroutine.(~~) 2", + "Control.Extend.($>) 4", + "Control.Extend.(<#>) 1", + "Control.Extend.(<$) 4", + "Control.Extend.(<$>) 4", + "Control.Extend.(<<=) 1", + "Control.Extend.(<@>) 4", + "Control.Extend.(=<=) 1", + "Control.Extend.(=>=) 1", + "Control.Extend.(=>>) 1", + "Control.Monad.($>) 4", + "Control.Monad.(*>) 4", + "Control.Monad.(<#>) 1", + "Control.Monad.(<$) 4", + "Control.Monad.(<$>) 4", + "Control.Monad.(<*) 4", + "Control.Monad.(<*>) 4", + "Control.Monad.(<=<) 1", + "Control.Monad.(<@>) 4", + "Control.Monad.(=<<) 1", + "Control.Monad.(>=>) 1", + "Control.Monad.(>>=) 1", + "Control.MonadPlus.($>) 4", + "Control.MonadPlus.(*>) 4", + "Control.MonadPlus.(<#>) 1", + "Control.MonadPlus.(<$) 4", + "Control.MonadPlus.(<$>) 4", + "Control.MonadPlus.(<*) 4", + "Control.MonadPlus.(<*>) 4", + "Control.MonadPlus.(<=<) 1", + "Control.MonadPlus.(<@>) 4", + "Control.MonadPlus.(<|>) 3", + "Control.MonadPlus.(=<<) 1", + "Control.MonadPlus.(>=>) 1", + "Control.MonadPlus.(>>=) 1", + "Control.Plus.($>) 4", + "Control.Plus.(<#>) 1", + "Control.Plus.(<$) 4", + "Control.Plus.(<$>) 4", + "Control.Plus.(<@>) 4", + "Control.Plus.(<|>) 3", + "Control.Semigroupoid.(<<<) 9", + "Control.Semigroupoid.(>>>) 9", + "Data.Argonaut.(.!=) 6", + "Data.Argonaut.(.:) 7", + "Data.Argonaut.(.:!) 7", + "Data.Argonaut.(.:?) 7", + "Data.Argonaut.(:=) 7", + "Data.Argonaut.(:=?) 7", + "Data.Argonaut.(~>) 6", + "Data.Argonaut.(~>?) 6", + "Data.Argonaut.Decode.(.!=) 6", + "Data.Argonaut.Decode.(.:) 7", + "Data.Argonaut.Decode.(.:!) 7", + "Data.Argonaut.Decode.(.:?) 7", + "Data.Argonaut.Decode.Combinators.(.!=) 6", + "Data.Argonaut.Decode.Combinators.(.:) 7", + "Data.Argonaut.Decode.Combinators.(.:!) 7", + "Data.Argonaut.Decode.Combinators.(.:?) 7", + "Data.Argonaut.Encode.(:=) 7", + "Data.Argonaut.Encode.(:=?) 7", + "Data.Argonaut.Encode.(~>) 6", + "Data.Argonaut.Encode.(~>?) 6", + "Data.Argonaut.Encode.Combinators.(:=) 7", + "Data.Argonaut.Encode.Combinators.(:=?) 7", + "Data.Argonaut.Encode.Combinators.(~>) 6", + "Data.Argonaut.Encode.Combinators.(~>?) 6", + "Data.Array.(!!) 8", + "Data.Array.(..) 8", + "Data.Array.(:) 6", + "Data.Array.(\\\\) 5", + "Data.Array.NonEmpty.(!!) 8", + "Data.Array.NonEmpty.(..) 8", + "Data.Array.NonEmpty.(:) 6", + "Data.Array.NonEmpty.(\\\\) 5", + "Data.BooleanAlgebra.(&&) 3", + "Data.BooleanAlgebra.(||) 2", + "Data.Bounded.(<) 4", + "Data.Bounded.(<=) 4", + "Data.Bounded.(>) 4", + "Data.Bounded.(>=) 4", + "Data.CommutativeRing.(*) 7", + "Data.CommutativeRing.(+) 6", + "Data.CommutativeRing.(-) 6", + "Data.DivisionRing.(*) 7", + "Data.DivisionRing.(+) 6", + "Data.DivisionRing.(-) 6", + "Data.Either.Nested.(\\/) type 6", + "Data.Either.Nested.(\\/) 6", + "Data.Eq.(/=) 4", + "Data.Eq.(==) 4", + "Data.EuclideanRing.(*) 7", + "Data.EuclideanRing.(+) 6", + "Data.EuclideanRing.(-) 6", + "Data.EuclideanRing.(/) 7", + "Data.Field.(*) 7", + "Data.Field.(+) 6", + "Data.Field.(-) 6", + "Data.Field.(/) 7", + "Data.Function.(#) 1", + "Data.Function.($) 0", + "Data.Function.(<<<) 9", + "Data.Function.(>>>) 9", + "Data.Functor.($>) 4", + "Data.Functor.(<#>) 1", + "Data.Functor.(<$) 4", + "Data.Functor.(<$>) 4", + "Data.Functor.(<@>) 4", + "Data.Functor.Contravariant.(>#<) 4", + "Data.Functor.Contravariant.(>$<) 4", + "Data.Functor.Coproduct.Nested.(<\\/>) type 6", + "Data.Functor.Coproduct.Nested.(<\\/>) 6", + "Data.Functor.Product.Nested.() type 6", + "Data.Functor.Product.Nested.() 6", + "Data.HeytingAlgebra.(&&) 3", + "Data.HeytingAlgebra.(||) 2", + "Data.HugeNum.(^) 8", + "Data.Int.Bits.(.&.) 10", + "Data.Int.Bits.(.^.) 10", + "Data.Int.Bits.(.|.) 10", + "Data.Lens.(%=) 4", + "Data.Lens.(%~) 4", + "Data.Lens.(&&&) 3", + "Data.Lens.(&&=) 4", + "Data.Lens.(&&~) 4", + "Data.Lens.(***) 3", + "Data.Lens.(*=) 4", + "Data.Lens.(*~) 4", + "Data.Lens.(+++) 2", + "Data.Lens.(+=) 4", + "Data.Lens.(+~) 4", + "Data.Lens.(-=) 4", + "Data.Lens.(-~) 4", + "Data.Lens.(.=) 4", + "Data.Lens.(.~) 4", + "Data.Lens.(//=) 4", + "Data.Lens.(//~) 4", + "Data.Lens.(<>=) 4", + "Data.Lens.(<>~) 4", + "Data.Lens.(?=) 4", + "Data.Lens.(?~) 4", + "Data.Lens.(^.) 8", + "Data.Lens.(^..) 8", + "Data.Lens.(^?) 8", + "Data.Lens.(||=) 4", + "Data.Lens.(|||) 2", + "Data.Lens.(||~) 4", + "Data.Lens.Common.(&&&) 3", + "Data.Lens.Common.(***) 3", + "Data.Lens.Common.(+++) 2", + "Data.Lens.Common.(|||) 2", + "Data.Lens.Fold.(^..) 8", + "Data.Lens.Fold.(^?) 8", + "Data.Lens.Fold.Partial.(^?!) 8", + "Data.Lens.Fold.Partial.(^@?!) 8", + "Data.Lens.Getter.(^.) 8", + "Data.Lens.Lens.Tuple.(&&&) 3", + "Data.Lens.Lens.Tuple.(***) 3", + "Data.Lens.Prism.Either.(+++) 2", + "Data.Lens.Prism.Either.(|||) 2", + "Data.Lens.Setter.(%=) 4", + "Data.Lens.Setter.(%~) 4", + "Data.Lens.Setter.(&&=) 4", + "Data.Lens.Setter.(&&~) 4", + "Data.Lens.Setter.(*=) 4", + "Data.Lens.Setter.(*~) 4", + "Data.Lens.Setter.(+=) 4", + "Data.Lens.Setter.(+~) 4", + "Data.Lens.Setter.(-=) 4", + "Data.Lens.Setter.(-~) 4", + "Data.Lens.Setter.(.=) 4", + "Data.Lens.Setter.(.~) 4", + "Data.Lens.Setter.(//=) 4", + "Data.Lens.Setter.(//~) 4", + "Data.Lens.Setter.(<>=) 4", + "Data.Lens.Setter.(<>~) 4", + "Data.Lens.Setter.(?=) 4", + "Data.Lens.Setter.(?~) 4", + "Data.Lens.Setter.(||=) 4", + "Data.Lens.Setter.(||~) 4", + "Data.List.(!!) 8", + "Data.List.(..) 8", + "Data.List.(:) 6", + "Data.List.(\\\\) 5", + "Data.List.Lazy.(!!) 8", + "Data.List.Lazy.(..) 8", + "Data.List.Lazy.(:) 6", + "Data.List.Lazy.(\\\\) 5", + "Data.List.Lazy.NonEmpty.(:) 6", + "Data.List.Lazy.Types.(:) 6", + "Data.List.NonEmpty.(!!) 8", + "Data.List.NonEmpty.(:) 6", + "Data.List.Types.(:) 6", + "Data.Monoid.(<>) 5", + "Data.NaturalTransformation.(~>) type 4", + "Data.NonEmpty.(:|) 5", + "Data.Number.(%) 7", + "Data.Number.Approximate.(~=) 4", + "Data.Number.Approximate.(≅) 4", + "Data.Number.Approximate.(≇) 4", + "Data.Options.(:=) 6", + "Data.Ord.(<) 4", + "Data.Ord.(<=) 4", + "Data.Ord.(>) 4", + "Data.Ord.(>=) 4", + "Data.Profunctor.Choice.(+++) 2", + "Data.Profunctor.Choice.(|||) 2", + "Data.Profunctor.Strong.(&&&) 3", + "Data.Profunctor.Strong.(***) 3", + "Data.Ring.(*) 7", + "Data.Ring.(+) 6", + "Data.Ring.(-) 6", + "Data.Semigroup.(<>) 5", + "Data.Semiring.(*) 7", + "Data.Semiring.(+) 6", + "Data.Tuple.Nested.(/\\) type 6", + "Data.Tuple.Nested.(/\\) 6", + "Foreign.Index.(!) 9", + "Parsing.Combinators.(!!) 8", + "Parsing.Combinators.($>) 4", + "Parsing.Combinators.(..) 8", + "Parsing.Combinators.(:) 6", + "Parsing.Combinators.(<#>) 1", + "Parsing.Combinators.(<$) 4", + "Parsing.Combinators.(<$>) 4", + "Parsing.Combinators.() 4", + "Parsing.Combinators.() 3", + "Parsing.Combinators.(<@>) 4", + "Parsing.Combinators.(<|>) 3", + "Parsing.Combinators.(<~?>) 4", + "Parsing.Combinators.(\\\\) 5", + "Parsing.Indent.(<*/>) 11", + "Parsing.Indent.(<+/>) 9", + "Parsing.Indent.(<-/>) 10", + "Parsing.Indent.() 12", + "Pathy.(<..>) 6", + "Pathy.(<.>) 6", + "Pathy.() 6", + "Pathy.Path.(<..>) 6", + "Pathy.Path.(<.>) 6", + "Pathy.Path.() 6", + "Prelude.(~>) type 4", + "Prelude.(#) 1", + "Prelude.($) 0", + "Prelude.($>) 4", + "Prelude.(&&) 3", + "Prelude.(*) 7", + "Prelude.(*>) 4", + "Prelude.(+) 6", + "Prelude.(-) 6", + "Prelude.(/) 7", + "Prelude.(/=) 4", + "Prelude.(<) 4", + "Prelude.(<#>) 1", + "Prelude.(<$) 4", + "Prelude.(<$>) 4", + "Prelude.(<*) 4", + "Prelude.(<*>) 4", + "Prelude.(<<<) 9", + "Prelude.(<=) 4", + "Prelude.(<=<) 1", + "Prelude.(<>) 5", + "Prelude.(<@>) 4", + "Prelude.(=<<) 1", + "Prelude.(==) 4", + "Prelude.(>) 4", + "Prelude.(>=) 4", + "Prelude.(>=>) 1", + "Prelude.(>>=) 1", + "Prelude.(>>>) 9", + "Prelude.(||) 2", + "StringParser.() 4", + "StringParser.Combinators.() 4", + "Test.QuickCheck.(/==) 2", + "Test.QuickCheck.(/=?) 2", + "Test.QuickCheck.(<=?) 2", + "Test.QuickCheck.() 2", + "Test.QuickCheck.(===) 2", + "Test.QuickCheck.(==?) 2", + "Test.QuickCheck.(>=?) 2", + "Test.QuickCheck.(>?) 2", + "Type.Function.(#) type 1", + "Type.Function.($) type 0", + "Type.Prelude.(+) type 0", + "Type.Row.(+) type 0" +]; +export {defaultOperators}; diff --git a/.storybook/purescript-indexer/output-es/Tidy.Operators/index.js b/.storybook/purescript-indexer/output-es/Tidy.Operators/index.js new file mode 100644 index 0000000..09684bb --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Tidy.Operators/index.js @@ -0,0 +1,147 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dST$dInternal from "../Control.Monad.ST.Internal/index.js"; +import * as Data$dArray from "../Data.Array/index.js"; +import * as Data$dArray$dST from "../Data.Array.ST/index.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dFunctor from "../Data.Functor/index.js"; +import * as Data$dLazy from "../Data.Lazy/index.js"; +import * as Data$dMap$dInternal from "../Data.Map.Internal/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dSemigroup from "../Data.Semigroup/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as PureScript$dCST$dLexer from "../PureScript.CST.Lexer/index.js"; +import * as Tidy$dPrecedence from "../Tidy.Precedence/index.js"; +const ordMaybe = /* #__PURE__ */ Data$dMaybe.ordMaybe(Data$dOrd.ordString); +const union = /* #__PURE__ */ Data$dMap$dInternal.union(/* #__PURE__ */ Data$dTuple.ordTuple(Tidy$dPrecedence.ordOperatorNamespace)(Data$dOrd.ordString)); +const resolveOperatorExports = precMap => v => { + const remappedPrecMap = Tidy$dPrecedence.remapOperators(precMap)(v); + if (v.header.exports.tag === "Nothing") { + return Data$dFoldable.foldlArray(pm => v1 => { + if (v1.tag === "DeclFixity") { + if (v1._1.operator.tag === "FixityValue") { + return Tidy$dPrecedence.insertOperator(Tidy$dPrecedence.$QualifiedOperator( + Data$dMaybe.$Maybe("Just", v.header.name.name), + Tidy$dPrecedence.OperatorValue, + v1._1.operator._3.name + ))(v1._1.prec._2)(pm); + } + if (v1._1.operator.tag === "FixityType") { + return Tidy$dPrecedence.insertOperator(Tidy$dPrecedence.$QualifiedOperator( + Data$dMaybe.$Maybe("Just", v.header.name.name), + Tidy$dPrecedence.OperatorType, + v1._1.operator._4.name + ))(v1._1.prec._2)(pm); + } + $runtime.fail(); + } + return pm; + })(precMap)(v.body.decls); + } + if (v.header.exports.tag === "Just") { + return Data$dFoldable.foldlArray(pm => x => { + if (x.tag === "ExportOp") { + const $5 = Tidy$dPrecedence.lookupOperator(Tidy$dPrecedence.$QualifiedOperator(Data$dMaybe.Nothing, Tidy$dPrecedence.OperatorValue, x._1.name))(remappedPrecMap); + if ($5.tag === "Just") { + return Tidy$dPrecedence.insertOperator(Tidy$dPrecedence.$QualifiedOperator(Data$dMaybe.$Maybe("Just", v.header.name.name), Tidy$dPrecedence.OperatorValue, x._1.name))($5._1)(pm); + } + if ($5.tag === "Nothing") { return pm; } + $runtime.fail(); + } + if (x.tag === "ExportTypeOp") { + const $5 = Tidy$dPrecedence.lookupOperator(Tidy$dPrecedence.$QualifiedOperator(Data$dMaybe.Nothing, Tidy$dPrecedence.OperatorType, x._2.name))(remappedPrecMap); + if ($5.tag === "Just") { + return Tidy$dPrecedence.insertOperator(Tidy$dPrecedence.$QualifiedOperator(Data$dMaybe.$Maybe("Just", v.header.name.name), Tidy$dPrecedence.OperatorType, x._2.name))($5._1)(pm); + } + if ($5.tag === "Nothing") { return pm; } + $runtime.fail(); + } + if (x.tag === "ExportModule") { + const $5 = Data$dMap$dInternal.lookup(ordMaybe)(Data$dMaybe.$Maybe("Just", x._2.name))(remappedPrecMap); + if ($5.tag === "Just") { return Data$dMap$dInternal.insertWith(ordMaybe)(union)(Data$dMaybe.$Maybe("Just", v.header.name.name))($5._1)(pm); } + if ($5.tag === "Nothing") { return pm; } + $runtime.fail(); + } + return pm; + })(precMap)(Data$dSemigroup.concatArray([v.header.exports._1.value.head])(Data$dFunctor.arrayMap(Data$dTuple.snd)(v.header.exports._1.value.tail))); + } + $runtime.fail(); +}; +const parseOperatorPrec = /* #__PURE__ */ (() => { + const $0 = (() => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const acc = go$a0, x = go$a1; + const $3 = Data$dLazy.force(x); + if ($3.tag === "TokenEOF") { + go$c = false; + go$r = Data$dEither.$Either("Right", acc); + continue; + } + if ($3.tag === "TokenError") { + go$c = false; + go$r = Data$dEither.$Either("Left", $3._2); + continue; + } + if ($3.tag === "TokenCons") { + go$a0 = Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([$3._1.value]))(acc)); + go$a1 = $3._3; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go([]); + })(); + return x => { + const $2 = $0(PureScript$dCST$dLexer.lex(x)); + if ($2.tag === "Right") { + if ($2._1.length === 2) { + if ($2._1[0].tag === "TokSymbolName") { + if ($2._1[1].tag === "TokInt") { + if ($2._1[1]._2.tag === "SmallInt") { + return Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(Tidy$dPrecedence.$QualifiedOperator($2._1[0]._1, Tidy$dPrecedence.OperatorValue, $2._1[0]._2), $2._1[1]._2._1)); + } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.Nothing; + } + if ($2._1.length === 3) { + if ($2._1[0].tag === "TokSymbolName") { + if ($2._1[1].tag === "TokLowerName") { + if ($2._1[1]._1.tag === "Nothing") { + if ($2._1[1]._2 === "type") { + if ($2._1[2].tag === "TokInt") { + if ($2._1[2]._2.tag === "SmallInt") { + return Data$dMaybe.$Maybe( + "Just", + Data$dTuple.$Tuple(Tidy$dPrecedence.$QualifiedOperator($2._1[0]._1, Tidy$dPrecedence.OperatorType, $2._1[0]._2), $2._1[2]._2._1) + ); + } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.Nothing; + } + return Data$dMaybe.Nothing; + }; +})(); +const parseOperatorTable = /* #__PURE__ */ (() => { + const $0 = Data$dFoldable.foldrArray(v => Tidy$dPrecedence.insertOperator(v._1)(v._2))(Data$dMap$dInternal.Leaf); + return x => $0(Data$dArray.mapMaybe(parseOperatorPrec)(x)); +})(); +export {ordMaybe, parseOperatorPrec, parseOperatorTable, resolveOperatorExports, union}; diff --git a/.storybook/purescript-indexer/output-es/Tidy.Precedence/index.js b/.storybook/purescript-indexer/output-es/Tidy.Precedence/index.js new file mode 100644 index 0000000..c460e93 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Tidy.Precedence/index.js @@ -0,0 +1,358 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dST$dInternal from "../Control.Monad.ST.Internal/index.js"; +import * as Data$dArray from "../Data.Array/index.js"; +import * as Data$dArray$dST from "../Data.Array.ST/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dFunction from "../Data.Function/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dMap$dInternal from "../Data.Map.Internal/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dMonoid from "../Data.Monoid/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import * as Data$dSemigroup from "../Data.Semigroup/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +const $OperatorNamespace = tag => ({tag}); +const $OperatorStk = (tag, _1, _2, _3) => ({tag, _1, _2, _3}); +const $OperatorTree = (tag, _1, _2, _3) => ({tag, _1, _2, _3}); +const $QualifiedOperator = (_1, _2, _3) => ({tag: "QualifiedOperator", _1, _2, _3}); +const ordMaybe = /* #__PURE__ */ Data$dMaybe.ordMaybe(Data$dOrd.ordString); +const foldMap = /* #__PURE__ */ (() => Data$dFoldable.foldableArray.foldMap(Data$dMonoid.monoidArray))(); +const OperatorType = /* #__PURE__ */ $OperatorNamespace("OperatorType"); +const OperatorValue = /* #__PURE__ */ $OperatorNamespace("OperatorValue"); +const QualifiedOperator = value0 => value1 => value2 => $QualifiedOperator(value0, value1, value2); +const OpList = value0 => value1 => value2 => $OperatorTree("OpList", value0, value1, value2); +const OpPure = value0 => $OperatorTree("OpPure", value0); +const OpHead = value0 => $OperatorStk("OpHead", value0); +const OpPrec = value0 => value1 => value2 => $OperatorStk("OpPrec", value0, value1, value2); +const snoc = prevOps => nextPrec => nextOps => { + const $3 = Data$dArray.unsnoc(prevOps); + const v = (() => { + if ($3.tag === "Just") { return $3._1; } + $runtime.fail(); + })(); + return Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([Data$dTuple.$Tuple(v.last._1, $OperatorTree("OpList", v.last._2, nextPrec, nextOps))]))(v.init)); +}; +const unwind = /* #__PURE__ */ (() => { + const go = go$a0$copy => go$a1$copy => go$a2$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$a2 = go$a2$copy, go$c = true, go$r; + while (go$c) { + const prec = go$a0, ops = go$a1, v = go$a2; + if (v.tag === "OpHead") { + go$c = false; + go$r = $OperatorTree("OpList", v._1, prec, ops); + continue; + } + if (v.tag === "OpPrec") { + go$a0 = v._2; + go$a1 = snoc(v._3)(prec)(ops); + go$a2 = v._1; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return v => { + if (v.tag === "OpHead") { return v._1; } + if (v.tag === "OpPrec") { return go(v._2)(v._3)(v._1); } + $runtime.fail(); + }; +})(); +const push = push$a0$copy => push$a1$copy => { + let push$a0 = push$a0$copy, push$a1 = push$a1$copy, push$c = true, push$r; + while (push$c) { + const stk = push$a0, chs = push$a1; + if (chs.tag === "Nil") { + push$c = false; + push$r = stk; + continue; + } + if (chs.tag === "Cons") { + if (chs._2.tag === "Nil") { + if (stk.tag === "OpHead") { + push$c = false; + push$r = $OperatorStk("OpPrec", stk, chs._1._1, chs._1._2); + continue; + } + if (stk.tag === "OpPrec") { + const v = Data$dOrd.ordInt.compare(chs._1._1)(stk._2); + if (v.tag === "EQ") { + push$c = false; + push$r = $OperatorStk("OpPrec", stk._1, stk._2, Data$dSemigroup.concatArray(stk._3)(chs._1._2)); + continue; + } + if (v.tag === "GT") { + push$c = false; + push$r = $OperatorStk("OpPrec", stk, chs._1._1, chs._1._2); + continue; + } + if (v.tag === "LT") { + push$a0 = stk._1; + push$a1 = Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(stk._2, stk._3), chs); + continue; + } + $runtime.fail(); + } + $runtime.fail(); + } + if (stk.tag === "OpHead") { + push$a0 = $OperatorStk("OpHead", $OperatorTree("OpList", stk._1, chs._1._1, chs._1._2)); + push$a1 = chs._2; + continue; + } + if (stk.tag === "OpPrec") { + const v = Data$dOrd.ordInt.compare(chs._1._1)(stk._2); + if (v.tag === "EQ") { + push$a0 = $OperatorStk("OpPrec", stk._1, stk._2, Data$dSemigroup.concatArray(stk._3)(chs._1._2)); + push$a1 = chs._2; + continue; + } + if (v.tag === "GT") { + push$a0 = $OperatorStk("OpPrec", stk._1, stk._2, snoc(stk._3)(chs._1._1)(chs._1._2)); + push$a1 = chs._2; + continue; + } + if (v.tag === "LT") { + push$a0 = stk._1; + push$a1 = Data$dList$dTypes.$List("Cons", Data$dTuple.$Tuple(stk._2, snoc(stk._3)(chs._1._1)(chs._1._2)), chs._2); + continue; + } + $runtime.fail(); + } + $runtime.fail(); + } + $runtime.fail(); + }; + return push$r; +}; +const eqOperatorNamespace = { + eq: x => y => { + if (x.tag === "OperatorType") { return y.tag === "OperatorType"; } + if (x.tag === "OperatorValue") { return y.tag === "OperatorValue"; } + return false; + } +}; +const eqQualifiedOperator = { + eq: x => y => (() => { + if (x._1.tag === "Nothing") { return y._1.tag === "Nothing"; } + if (x._1.tag === "Just") { + if (y._1.tag === "Just") { return x._1._1 === y._1._1; } + return false; + } + return false; + })() && (() => { + if (x._2.tag === "OperatorType") { return y._2.tag === "OperatorType"; } + if (x._2.tag === "OperatorValue") { return y._2.tag === "OperatorValue"; } + return false; + })() && x._3 === y._3 +}; +const ordOperatorNamespace = { + compare: x => y => { + if (x.tag === "OperatorType") { + if (y.tag === "OperatorType") { return Data$dOrdering.EQ; } + return Data$dOrdering.LT; + } + if (y.tag === "OperatorType") { return Data$dOrdering.GT; } + if (x.tag === "OperatorValue") { + if (y.tag === "OperatorValue") { return Data$dOrdering.EQ; } + $runtime.fail(); + } + $runtime.fail(); + }, + Eq0: () => eqOperatorNamespace +}; +const ordTuple = /* #__PURE__ */ Data$dTuple.ordTuple(ordOperatorNamespace)(Data$dOrd.ordString); +const filterKeys = /* #__PURE__ */ Data$dMap$dInternal.filterKeys(ordTuple); +const insertOperator = v => prec => Data$dMap$dInternal.alter(ordMaybe)(v1 => { + if (v1.tag === "Nothing") { + return Data$dMaybe.$Maybe("Just", Data$dMap$dInternal.$Map("Two", Data$dMap$dInternal.Leaf, Data$dTuple.$Tuple(v._2, v._3), prec, Data$dMap$dInternal.Leaf)); + } + if (v1.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dMap$dInternal.insert(ordTuple)(Data$dTuple.$Tuple(v._2, v._3))(prec)(v1._1)); } + $runtime.fail(); +})(v._1); +const lookupOperator = v => precMap => { + const $2 = Data$dMap$dInternal.lookup(ordMaybe)(v._1)(precMap); + const $3 = Data$dMap$dInternal.lookup(ordTuple)(Data$dTuple.$Tuple(v._2, v._3)); + if ($2.tag === "Just") { return $3($2._1); } + if ($2.tag === "Nothing") { return Data$dMaybe.Nothing; } + $runtime.fail(); +}; +const remapOperatorTo = newModName => v => precMap => { + const $3 = lookupOperator(v)(precMap); + if ($3.tag === "Just") { return insertOperator($QualifiedOperator(newModName, v._2, v._3))($3._1)(precMap); } + if ($3.tag === "Nothing") { return precMap; } + $runtime.fail(); +}; +const ordQualifiedOperator = { + compare: x => y => { + const v = ordMaybe.compare(x._1)(y._1); + if (v.tag === "LT") { return Data$dOrdering.LT; } + if (v.tag === "GT") { return Data$dOrdering.GT; } + const v1 = ordOperatorNamespace.compare(x._2)(y._2); + if (v1.tag === "LT") { return Data$dOrdering.LT; } + if (v1.tag === "GT") { return Data$dOrdering.GT; } + return Data$dOrd.ordString.compare(x._3)(y._3); + }, + Eq0: () => eqQualifiedOperator +}; +const remapModuleTo = newModName => modName => precMap => { + const $3 = Data$dMap$dInternal.lookup(ordMaybe)(Data$dMaybe.$Maybe("Just", modName))(precMap); + if ($3.tag === "Just") { + return Data$dMap$dInternal.alter(ordMaybe)(v => { + if (v.tag === "Nothing") { return Data$dMaybe.$Maybe("Just", $3._1); } + if (v.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dMap$dInternal.unionWith(ordTuple)(Data$dFunction.const)($3._1)(v._1)); } + $runtime.fail(); + })(newModName)(precMap); + } + if ($3.tag === "Nothing") { return precMap; } + $runtime.fail(); +}; +const remapModuleToHiding = dictFoldable => { + const any1 = dictFoldable.foldMap((() => { + const semigroupDisj1 = {append: v => v1 => v || v1}; + return {mempty: false, Semigroup0: () => semigroupDisj1}; + })()); + return hiding => newModName => modName => precMap => { + const $6 = Data$dMap$dInternal.lookup(ordMaybe)(Data$dMaybe.$Maybe("Just", modName))(precMap); + if ($6.tag === "Just") { + const filteredOps = filterKeys((() => { + const $7 = QualifiedOperator(Data$dMaybe.$Maybe("Just", modName)); + return x => { + const $9 = $7(x._1)(x._2); + return !any1(y => (() => { + if ($9._1.tag === "Nothing") { return y._1.tag === "Nothing"; } + if ($9._1.tag === "Just") { + if (y._1.tag === "Just") { return $9._1._1 === y._1._1; } + return false; + } + return false; + })() && (() => { + if ($9._2.tag === "OperatorType") { return y._2.tag === "OperatorType"; } + if ($9._2.tag === "OperatorValue") { return y._2.tag === "OperatorValue"; } + return false; + })() && $9._3 === y._3)(hiding); + }; + })())($6._1); + return Data$dMap$dInternal.alter(ordMaybe)(v => { + if (v.tag === "Nothing") { return Data$dMaybe.$Maybe("Just", filteredOps); } + if (v.tag === "Just") { return Data$dMaybe.$Maybe("Just", Data$dMap$dInternal.unionWith(ordTuple)(Data$dFunction.const)(filteredOps)(v._1)); } + $runtime.fail(); + })(newModName)(precMap); + } + if ($6.tag === "Nothing") { return precMap; } + $runtime.fail(); + }; +}; +const remapModuleToHiding1 = /* #__PURE__ */ remapModuleToHiding(Data$dFoldable.foldableArray); +const remapOperators = precMap => v => Data$dFoldable.foldlArray(precMap$1 => v$1 => { + if (v$1.tag === "DeclFixity") { + if (v$1._1.operator.tag === "FixityValue") { + return insertOperator($QualifiedOperator(Data$dMaybe.$Maybe("Just", v.header.name.name), OperatorValue, v$1._1.operator._3.name))(v$1._1.prec._2)(insertOperator($QualifiedOperator( + Data$dMaybe.Nothing, + OperatorValue, + v$1._1.operator._3.name + ))(v$1._1.prec._2)(precMap$1)); + } + if (v$1._1.operator.tag === "FixityType") { + return insertOperator($QualifiedOperator(Data$dMaybe.$Maybe("Just", v.header.name.name), OperatorType, v$1._1.operator._4.name))(v$1._1.prec._2)(insertOperator($QualifiedOperator( + Data$dMaybe.Nothing, + OperatorType, + v$1._1.operator._4.name + ))(v$1._1.prec._2)(precMap$1)); + } + $runtime.fail(); + } + return precMap$1; +})(Data$dFoldable.foldlArray(precMap$1 => v$1 => { + const newModName = (() => { + if (v$1.qualified.tag === "Just") { return Data$dMaybe.$Maybe("Just", v$1.qualified._1._2.name); } + return Data$dMaybe.Nothing; + })(); + if (v$1.names.tag === "Nothing") { return remapModuleTo(newModName)(v$1.module.name)(precMap$1); } + if (v$1.names.tag === "Just") { + const impOps = Data$dSemigroup.concatArray((() => { + if (v$1.names._1._2.value.head.tag === "ImportOp") { + return [$QualifiedOperator(Data$dMaybe.$Maybe("Just", v$1.module.name), OperatorValue, v$1.names._1._2.value.head._1.name)]; + } + if (v$1.names._1._2.value.head.tag === "ImportTypeOp") { + return [$QualifiedOperator(Data$dMaybe.$Maybe("Just", v$1.module.name), OperatorType, v$1.names._1._2.value.head._2.name)]; + } + return []; + })())(foldMap(x => { + if (x._2.tag === "ImportOp") { return [$QualifiedOperator(Data$dMaybe.$Maybe("Just", v$1.module.name), OperatorValue, x._2._1.name)]; } + if (x._2.tag === "ImportTypeOp") { return [$QualifiedOperator(Data$dMaybe.$Maybe("Just", v$1.module.name), OperatorType, x._2._2.name)]; } + return []; + })(v$1.names._1._2.value.tail)); + if ( + (() => { + if (v$1.names._1._1.tag === "Nothing") { return false; } + if (v$1.names._1._1.tag === "Just") { return true; } + $runtime.fail(); + })() + ) { + return remapModuleToHiding1(impOps)(newModName)(v$1.module.name)(precMap$1); + } + return Data$dFoldable.foldlArray(b => a => remapOperatorTo(newModName)(a)(b))(precMap$1)(impOps); + } + $runtime.fail(); +})(precMap)(v.header.imports))(v.body.decls); +const defaultPrecedence = 10; +const toOperatorTree = precMap => getOperator => init => { + const $3 = Data$dFoldable.foldlArray(stk => v => { + const v1 = getOperator(v._1); + return push(stk)(Data$dList$dTypes.$List( + "Cons", + Data$dTuple.$Tuple( + (() => { + const $6 = Data$dMap$dInternal.lookup(ordTuple)(Data$dTuple.$Tuple(v1._2, v1._3)); + const $7 = Data$dMap$dInternal.lookup(ordMaybe)(v1._1)(precMap); + const $8 = (() => { + if ($7.tag === "Just") { return $6($7._1); } + if ($7.tag === "Nothing") { return Data$dMaybe.Nothing; } + $runtime.fail(); + })(); + if ($8.tag === "Nothing") { return 10; } + if ($8.tag === "Just") { return $8._1; } + $runtime.fail(); + })(), + [Data$dTuple.$Tuple(v._1, $OperatorTree("OpPure", v._2))] + ), + Data$dList$dTypes.Nil + )); + })($OperatorStk("OpHead", $OperatorTree("OpPure", init))); + return x => unwind($3(x)); +}; +export { + $OperatorNamespace, + $OperatorStk, + $OperatorTree, + $QualifiedOperator, + OpHead, + OpList, + OpPrec, + OpPure, + OperatorType, + OperatorValue, + QualifiedOperator, + defaultPrecedence, + eqOperatorNamespace, + eqQualifiedOperator, + filterKeys, + foldMap, + insertOperator, + lookupOperator, + ordMaybe, + ordOperatorNamespace, + ordQualifiedOperator, + ordTuple, + push, + remapModuleTo, + remapModuleToHiding, + remapModuleToHiding1, + remapOperatorTo, + remapOperators, + snoc, + toOperatorTree, + unwind +}; diff --git a/.storybook/purescript-indexer/output-es/Tidy.Token/index.js b/.storybook/purescript-indexer/output-es/Tidy.Token/index.js new file mode 100644 index 0000000..b951379 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Tidy.Token/index.js @@ -0,0 +1,121 @@ +import * as $runtime from "../runtime.js"; +const $UnicodeOption = tag => ({tag}); +const UnicodeSource = /* #__PURE__ */ $UnicodeOption("UnicodeSource"); +const UnicodeAlways = /* #__PURE__ */ $UnicodeOption("UnicodeAlways"); +const UnicodeNever = /* #__PURE__ */ $UnicodeOption("UnicodeNever"); +const printToken = option => v => { + if (v.tag === "TokLeftParen") { return "("; } + if (v.tag === "TokRightParen") { return ")"; } + if (v.tag === "TokLeftBrace") { return "{"; } + if (v.tag === "TokRightBrace") { return "}"; } + if (v.tag === "TokLeftSquare") { return "["; } + if (v.tag === "TokRightSquare") { return "]"; } + if (v.tag === "TokLeftArrow") { + if (option.tag === "UnicodeNever") { return "<-"; } + if (option.tag === "UnicodeAlways") { return "←"; } + if (option.tag === "UnicodeSource") { + if (v._1.tag === "ASCII") { return "<-"; } + if (v._1.tag === "Unicode") { return "←"; } + $runtime.fail(); + } + $runtime.fail(); + } + if (v.tag === "TokRightArrow") { + if (option.tag === "UnicodeNever") { return "->"; } + if (option.tag === "UnicodeAlways") { return "→"; } + if (option.tag === "UnicodeSource") { + if (v._1.tag === "ASCII") { return "->"; } + if (v._1.tag === "Unicode") { return "→"; } + $runtime.fail(); + } + $runtime.fail(); + } + if (v.tag === "TokRightFatArrow") { + if (option.tag === "UnicodeNever") { return "=>"; } + if (option.tag === "UnicodeAlways") { return "⇒"; } + if (option.tag === "UnicodeSource") { + if (v._1.tag === "ASCII") { return "=>"; } + if (v._1.tag === "Unicode") { return "⇒"; } + $runtime.fail(); + } + $runtime.fail(); + } + if (v.tag === "TokDoubleColon") { + if (option.tag === "UnicodeNever") { return "::"; } + if (option.tag === "UnicodeAlways") { return "∷"; } + if (option.tag === "UnicodeSource") { + if (v._1.tag === "ASCII") { return "::"; } + if (v._1.tag === "Unicode") { return "∷"; } + $runtime.fail(); + } + $runtime.fail(); + } + if (v.tag === "TokForall") { + if (option.tag === "UnicodeNever") { return "forall"; } + if (option.tag === "UnicodeAlways") { return "∀"; } + if (option.tag === "UnicodeSource") { + if (v._1.tag === "ASCII") { return "forall"; } + if (v._1.tag === "Unicode") { return "∀"; } + $runtime.fail(); + } + $runtime.fail(); + } + if (v.tag === "TokEquals") { return "="; } + if (v.tag === "TokPipe") { return "|"; } + if (v.tag === "TokTick") { return "`"; } + if (v.tag === "TokDot") { return "."; } + if (v.tag === "TokComma") { return ","; } + if (v.tag === "TokUnderscore") { return "_"; } + if (v.tag === "TokBackslash") { return "\\"; } + if (v.tag === "TokAt") { return "@"; } + if (v.tag === "TokLowerName") { + if (v._1.tag === "Nothing") { return v._2; } + if (v._1.tag === "Just") { return v._1._1 + ("." + v._2); } + $runtime.fail(); + } + if (v.tag === "TokUpperName") { + if (v._1.tag === "Nothing") { return v._2; } + if (v._1.tag === "Just") { return v._1._1 + ("." + v._2); } + $runtime.fail(); + } + if (v.tag === "TokOperator") { + if (v._1.tag === "Nothing") { return v._2; } + if (v._1.tag === "Just") { return v._1._1 + ("." + v._2); } + $runtime.fail(); + } + if (v.tag === "TokSymbolName") { + const $2 = "(" + (v._2 + ")"); + if (v._1.tag === "Nothing") { return $2; } + if (v._1.tag === "Just") { return v._1._1 + ("." + $2); } + $runtime.fail(); + } + if (v.tag === "TokSymbolArrow") { + if (option.tag === "UnicodeNever") { return "(->)"; } + if (option.tag === "UnicodeAlways") { return "(→)"; } + if (option.tag === "UnicodeSource") { + if (v._1.tag === "ASCII") { return "(->)"; } + if (v._1.tag === "Unicode") { return "(→)"; } + $runtime.fail(); + } + $runtime.fail(); + } + if (v.tag === "TokHole") { return "?" + v._1; } + if (v.tag === "TokChar") { return "'" + (v._1 + "'"); } + if (v.tag === "TokString") { return "\"" + (v._1 + "\""); } + if (v.tag === "TokRawString") { return "\"\"\"" + (v._1 + "\"\"\""); } + if (v.tag === "TokInt") { return v._1; } + if (v.tag === "TokNumber") { return v._1; } + if (v.tag === "TokLayoutStart") { return ""; } + if (v.tag === "TokLayoutSep") { return ""; } + if (v.tag === "TokLayoutEnd") { return ""; } + $runtime.fail(); +}; +const eqUnicodeOption = { + eq: x => y => { + if (x.tag === "UnicodeSource") { return y.tag === "UnicodeSource"; } + if (x.tag === "UnicodeAlways") { return y.tag === "UnicodeAlways"; } + if (x.tag === "UnicodeNever") { return y.tag === "UnicodeNever"; } + return false; + } +}; +export {$UnicodeOption, UnicodeAlways, UnicodeNever, UnicodeSource, eqUnicodeOption, printToken}; diff --git a/.storybook/purescript-indexer/output-es/Tidy.Util/index.js b/.storybook/purescript-indexer/output-es/Tidy.Util/index.js new file mode 100644 index 0000000..d78ef27 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Tidy.Util/index.js @@ -0,0 +1,9 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dString$dRegex from "../Data.String.Regex/index.js"; +import * as Data$dString$dRegex$dFlags from "../Data.String.Regex.Flags/index.js"; +import * as Data$dString$dRegex$dUnsafe from "../Data.String.Regex.Unsafe/index.js"; +const splitStringEscapeLines = /* #__PURE__ */ Data$dString$dRegex.split(/* #__PURE__ */ Data$dString$dRegex$dUnsafe.unsafeRegex("\\\\ *\\r?\\n\\s*\\\\")(Data$dString$dRegex$dFlags.global)); +const splitLines = /* #__PURE__ */ Data$dString$dRegex.split(/* #__PURE__ */ Data$dString$dRegex$dUnsafe.unsafeRegex("\\r?\\n")(Data$dString$dRegex$dFlags.global)); +const overLabel = k => v => ({label: k(v.label), separator: v.separator, value: v.value}); +const nameOf = v => v.name; +export {nameOf, overLabel, splitLines, splitStringEscapeLines}; diff --git a/.storybook/purescript-indexer/output-es/Tidy/index.js b/.storybook/purescript-indexer/output-es/Tidy/index.js new file mode 100644 index 0000000..d1c7af2 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Tidy/index.js @@ -0,0 +1,2659 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dST$dInternal from "../Control.Monad.ST.Internal/index.js"; +import * as Data$dArray from "../Data.Array/index.js"; +import * as Data$dArray$dST from "../Data.Array.ST/index.js"; +import * as Data$dEq from "../Data.Eq/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dFunctor from "../Data.Functor/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dMap$dInternal from "../Data.Map.Internal/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dMonoid from "../Data.Monoid/index.js"; +import * as Data$dNonEmpty from "../Data.NonEmpty/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import * as Data$dSemigroup from "../Data.Semigroup/index.js"; +import * as Data$dString$dCodePoints from "../Data.String.CodePoints/index.js"; +import * as Data$dString$dCodeUnits from "../Data.String.CodeUnits/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dVoid from "../Data.Void/index.js"; +import * as Dodo from "../Dodo/index.js"; +import * as Dodo$dInternal from "../Dodo.Internal/index.js"; +import * as Partial from "../Partial/index.js"; +import * as PureScript$dCST$dTypes from "../PureScript.CST.Types/index.js"; +import * as Tidy$dDoc from "../Tidy.Doc/index.js"; +import * as Tidy$dHang from "../Tidy.Hang/index.js"; +import * as Tidy$dPrecedence from "../Tidy.Precedence/index.js"; +import * as Tidy$dToken from "../Tidy.Token/index.js"; +import * as Tidy$dUtil from "../Tidy.Util/index.js"; +const $DeclGroup = (tag, _1) => ({tag, _1}); +const $DeclGroupSeparator = tag => ({tag}); +const $ElseIfChain = (tag, _1, _2, _3, _4, _5) => ({tag, _1, _2, _3, _4, _5}); +const $FormatGrouped = tag => ({tag}); +const $ImportComparison = (tag, _1, _2, _3) => ({tag, _1, _2, _3}); +const $ImportModuleComparison = (_1, _2, _3, _4) => ({tag: "ImportModuleCmp", _1, _2, _3, _4}); +const $ImportSortOption = tag => ({tag}); +const $ImportWrapOption = tag => ({tag}); +const $Poly = (tag, _1, _2, _3) => ({tag, _1, _2, _3}); +const $TypeArrowOption = tag => ({tag}); +const lines = /* #__PURE__ */ Data$dFoldable.foldrArray(Dodo.appendBreak)(Dodo$dInternal.Empty); +const intercalate = /* #__PURE__ */ Data$dArray.intercalate1(Dodo$dInternal.monoidDoc); +const power = /* #__PURE__ */ Data$dMonoid.power(Dodo$dInternal.monoidDoc); +const power1 = /* #__PURE__ */ Data$dMonoid.power(Data$dMonoid.monoidString); +const max = x => y => { + const v = Data$dOrd.ordInt.compare(x)(y); + if (v.tag === "LT") { return y; } + if (v.tag === "EQ") { return x; } + if (v.tag === "GT") { return x; } + $runtime.fail(); +}; +const foldMap2 = /* #__PURE__ */ (() => Data$dFoldable.foldableArray.foldMap(Dodo$dInternal.monoidDoc))(); +const identity = x => x; +const eq5 = /* #__PURE__ */ Data$dEq.eqArrayImpl(Data$dEq.eqStringImpl); +const compare3 = /* #__PURE__ */ (() => Data$dOrd.ordArray(Data$dOrd.ordString).compare)(); +const compare7 = /* #__PURE__ */ (() => Data$dMaybe.ordMaybe(Data$dOrd.ordString).compare)(); +const foldMap3 = /* #__PURE__ */ (() => Data$dFoldable.foldableArray.foldMap(Tidy$dDoc.monoidFormatDoc))(); +const TypeArrowFirst = /* #__PURE__ */ $TypeArrowOption("TypeArrowFirst"); +const TypeArrowLast = /* #__PURE__ */ $TypeArrowOption("TypeArrowLast"); +const PolyForall = value0 => value1 => value2 => $Poly("PolyForall", value0, value1, value2); +const PolyArrow = value0 => value1 => $Poly("PolyArrow", value0, value1); +const ImportWrapSource = /* #__PURE__ */ $ImportWrapOption("ImportWrapSource"); +const ImportWrapAuto = /* #__PURE__ */ $ImportWrapOption("ImportWrapAuto"); +const ImportSortSource = /* #__PURE__ */ $ImportSortOption("ImportSortSource"); +const ImportSortIde = /* #__PURE__ */ $ImportSortOption("ImportSortIde"); +const ImportClassCmp = value0 => $ImportComparison("ImportClassCmp", value0); +const ImportTypeOpCmp = value0 => $ImportComparison("ImportTypeOpCmp", value0); +const ImportTypeCmp = value0 => value1 => value2 => $ImportComparison("ImportTypeCmp", value0, value1, value2); +const ImportValueCmp = value0 => $ImportComparison("ImportValueCmp", value0); +const ImportOpCmp = value0 => $ImportComparison("ImportOpCmp", value0); +const ImportErrorCmp = /* #__PURE__ */ $ImportComparison("ImportErrorCmp"); +const ImportModuleCmp = value0 => value1 => value2 => value3 => $ImportModuleComparison(value0, value1, value2, value3); +const Grouped = /* #__PURE__ */ $FormatGrouped("Grouped"); +const NotGrouped = /* #__PURE__ */ $FormatGrouped("NotGrouped"); +const IfThen = value0 => value1 => value2 => value3 => $ElseIfChain("IfThen", value0, value1, value2, value3); +const ElseIfThen = value0 => value1 => value2 => value3 => value4 => $ElseIfChain("ElseIfThen", value0, value1, value2, value3, value4); +const Else = value0 => value1 => $ElseIfChain("Else", value0, value1); +const DeclGroupSame = /* #__PURE__ */ $DeclGroupSeparator("DeclGroupSame"); +const DeclGroupHard = /* #__PURE__ */ $DeclGroupSeparator("DeclGroupHard"); +const DeclGroupSoft = /* #__PURE__ */ $DeclGroupSeparator("DeclGroupSoft"); +const DeclGroupValueSignature = value0 => $DeclGroup("DeclGroupValueSignature", value0); +const DeclGroupValue = value0 => $DeclGroup("DeclGroupValue", value0); +const DeclGroupTypeSignature = value0 => $DeclGroup("DeclGroupTypeSignature", value0); +const DeclGroupType = value0 => $DeclGroup("DeclGroupType", value0); +const DeclGroupClass = value0 => $DeclGroup("DeclGroupClass", value0); +const DeclGroupInstance = /* #__PURE__ */ $DeclGroup("DeclGroupInstance"); +const DeclGroupFixity = /* #__PURE__ */ $DeclGroup("DeclGroupFixity"); +const DeclGroupForeign = /* #__PURE__ */ $DeclGroup("DeclGroupForeign"); +const DeclGroupRole = /* #__PURE__ */ $DeclGroup("DeclGroupRole"); +const DeclGroupUnknown = /* #__PURE__ */ $DeclGroup("DeclGroupUnknown"); +const toPolytype = /* #__PURE__ */ (() => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const init = go$a0, v = go$a1; + if (v.tag === "TypeForall") { + go$a0 = Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([$Poly("PolyForall", v._1, v._2, v._3)]))(init)); + go$a1 = v._4; + continue; + } + if (v.tag === "TypeArrow") { + go$a0 = Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([$Poly("PolyArrow", v._1, v._2)]))(init)); + go$a1 = v._3; + continue; + } + if (v.tag === "TypeConstrained") { + go$a0 = Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([$Poly("PolyArrow", v._1, v._2)]))(init)); + go$a1 = v._3; + continue; + } + go$c = false; + go$r = {init: init, last: v}; + continue; + }; + return go$r; + }; + return go([]); +})(); +const toElseIfChain = ifte => { + const go = go$a0$copy => go$a1$copy => { + let go$a0 = go$a0$copy, go$a1 = go$a1$copy, go$c = true, go$r; + while (go$c) { + const acc = go$a0, curr = go$a1; + if (curr.false.tag === "ExprIf") { + go$a0 = Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([ + $ElseIfChain("ElseIfThen", curr.else, curr.false._1.keyword, curr.false._1.cond, curr.false._1.then, curr.false._1.true) + ]))(acc)); + go$a1 = curr.false._1; + continue; + } + go$c = false; + go$r = Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([$ElseIfChain("Else", curr.else, curr.false)]))(acc)); + continue; + }; + return go$r; + }; + return go([$ElseIfChain("IfThen", ifte.keyword, ifte.cond, ifte.then, ifte.true)])(ifte); +}; +const formatString = x => { + const $1 = Data$dArray.uncons(Tidy$dUtil.splitStringEscapeLines(x)); + if ($1.tag === "Nothing") { return Tidy$dDoc.monoidFormatDoc.mempty; } + if ($1.tag === "Just") { + const v1 = Data$dArray.unsnoc($1._1.tail); + if (v1.tag === "Nothing") { return Tidy$dDoc.text($1._1.head); } + if (v1.tag === "Just") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)))(Tidy$dDoc.text($1._1.head + "\\"))(Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break))))(str => Tidy$dDoc.text("\\" + ( + str + "\\" + )))(v1._1.init)))(Tidy$dDoc.text("\\" + v1._1.last)); + } + $runtime.fail(); + } + $runtime.fail(); +}; +const formatRawString = x => { + const $1 = Data$dArray.uncons(Tidy$dUtil.splitLines(x)); + if ($1.tag === "Nothing") { return Tidy$dDoc.monoidFormatDoc.mempty; } + if ($1.tag === "Just") { + if ($1._1.tail.length === 0) { return Tidy$dDoc.text($1._1.head); } + const $2 = lines([ + (() => { + if ($1._1.head === "") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Text", Data$dString$dCodePoints.toCodePointArray($1._1.head).length, $1._1.head); + })(), + (() => { + const $2 = intercalate(Dodo$dInternal.Break)(Data$dFunctor.arrayMap(Dodo.text)($1._1.tail)); + return Dodo$dInternal.$Doc( + "Local", + options => Data$dTuple.$Tuple( + {indent: 0, indentSpaces: "", indentUnit: options.indentUnit, indentWidth: options.indentWidth, pageWidth: options.pageWidth, ribbonRatio: options.ribbonRatio}, + $2 + ) + ); + })() + ]); + if ($2.tag === "Empty") { return Tidy$dDoc.monoidFormatDoc.mempty; } + return {doc: $2, leading: Tidy$dDoc.monoidLeadingComment.mempty, isEmpty: false, multiline: false, trailing: Tidy$dDoc.monoidTrailingComment.mempty}; + } + $runtime.fail(); +}; +const formatListElem = alignment => format => conf => b => Tidy$dDoc.flexGroup(Tidy$dDoc.align(alignment)((() => { + const $4 = format(conf)(b); + if ($4.leading.lines > 0) { + return { + doc: $4.doc, + isEmpty: $4.isEmpty, + leading: {doc: $4.leading.doc, left: $4.leading.left, lines: 0, multiline: $4.leading.multiline, right: $4.leading.right}, + multiline: true, + trailing: $4.trailing + }; + } + return $4; +})())); +const formatHangingOperatorTree = formatOperator => format => conf => { + const go = v => { + if (v.tag === "OpPure") { return format(conf)(v._1); } + if (v.tag === "OpList") { + return Tidy$dHang.hangOps(go(v._1))(Data$dFunctor.arrayMap(v1 => Tidy$dHang.$HangingOp( + v1._1.token.range.end.column - v1._1.token.range.start.column | 0, + formatOperator(conf)(v1._1), + go(v1._2) + ))(v._3)); + } + $runtime.fail(); + }; + return go; +}; +const formatErrorVoid = {formatError: Data$dVoid.absurd}; +const formatError = dict => dict.formatError; +const formatDeclGroups = declSeparator => k => format => conf => { + const joinDecls = acc => { + const newDoc = Tidy$dDoc.joinWithMap(Data$dList$dTypes.foldableNonEmptyList)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break))))(format(conf))(acc.decls); + if (acc.sep.tag === "DeclGroupSame") { return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)))(newDoc)(acc.doc); } + if (acc.sep.tag === "DeclGroupSoft") { return Tidy$dDoc.flexDoubleBreak(newDoc)(acc.doc); } + if (acc.sep.tag === "DeclGroupHard") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)))(newDoc)(Tidy$dDoc.forceMinSourceBreaks(2)(acc.doc)); + } + $runtime.fail(); + }; + const $5 = Data$dFoldable.foldrArray(decl => x => Data$dMaybe.$Maybe( + "Just", + (() => { + if (x.tag === "Nothing") { return {doc: Tidy$dDoc.monoidFormatDoc.mempty, sep: DeclGroupSame, group: k(decl), decls: Data$dNonEmpty.$NonEmpty(decl, Data$dList$dTypes.Nil)}; } + if (x.tag === "Just") { + const group = k(decl); + const v1 = declSeparator(group)(x._1.group); + if (v1.tag === "DeclGroupSame") { + return {doc: x._1.doc, sep: x._1.sep, group: group, decls: Data$dNonEmpty.$NonEmpty(decl, Data$dList$dTypes.$List("Cons", x._1.decls._1, x._1.decls._2))}; + } + return {doc: joinDecls(x._1), sep: v1, group: group, decls: Data$dNonEmpty.$NonEmpty(decl, Data$dList$dTypes.Nil)}; + } + $runtime.fail(); + })() + ))(Data$dMaybe.Nothing); + return x => { + const $7 = $5(x); + if ($7.tag === "Nothing") { return Tidy$dDoc.monoidFormatDoc.mempty; } + if ($7.tag === "Just") { return joinDecls($7._1); } + $runtime.fail(); + }; +}; +const formatComment = lineComment => blockComment => com => next => { + if (com.tag === "Comment") { + if (Data$dString$dCodeUnits.take(2)(com._1) === "--") { return lineComment(com._1)(next); } + return blockComment(com._1)(next); + } + if (com.tag === "Line") { + return { + doc: next.doc, + isEmpty: false, + leading: {doc: next.leading.doc, left: next.leading.left, lines: next.leading.lines + com._2 | 0, multiline: next.leading.multiline, right: next.leading.right}, + multiline: next.multiline, + trailing: next.trailing + }; + } + if (com.tag === "Space") { return next; } + $runtime.fail(); +}; +const formatWithComments = leading => trailing => doc => Data$dFoldable.foldrArray(formatComment(Tidy$dDoc.leadingLineComment)(Tidy$dDoc.leadingBlockComment))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity))(doc)(Data$dFoldable.foldrArray(formatComment(Tidy$dDoc.trailingLineComment)(Tidy$dDoc.trailingBlockComment))(Tidy$dDoc.monoidFormatDoc.mempty)(trailing)))(leading); +const formatToken = conf => tok => { + const tokStr = Tidy$dToken.printToken(conf.unicode)(tok.value); + return formatWithComments(tok.leadingComments)(tok.trailingComments)((() => { + if (tok.value.tag === "TokRawString") { return formatRawString(tokStr); } + if (tok.value.tag === "TokString") { return formatString(tokStr); } + return Tidy$dDoc.text(tokStr); + })()); +}; +const formatEmptyList = conf => v => Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity))(formatToken(conf)(v.open))(formatToken(conf)(v.close)); +const formatErrorRecoveredError = { + formatError: v => { + const v1 = Data$dArray.uncons(v.tokens); + if (v1.tag === "Just") { + const v2 = Data$dArray.unsnoc(v1._1.tail); + if (v2.tag === "Just") { + return formatWithComments(v1._1.head.leadingComments)(v2._1.last.trailingComments)((() => { + const $3 = Dodo$dInternal.$Doc( + "WithPosition", + v3 => Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.semigroupDoc.append((() => { + const $4 = Tidy$dToken.printToken(Tidy$dToken.UnicodeSource)(v1._1.head.value); + if ($4 === "") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Text", Data$dString$dCodePoints.toCodePointArray($4).length, $4); + })())(Data$dFoldable.foldlArray(acc => v1$1 => { + if (v1$1.tag === "Comment") { + if (Data$dString$dCodeUnits.take(2)(v1$1._1) === "--") { + return { + line: false, + doc: Dodo$dInternal.semigroupDoc.append(acc.doc)((() => { + if (v1$1._1 === "") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Text", Data$dString$dCodePoints.toCodePointArray(v1$1._1).length, v1$1._1); + })()) + }; + } + return {line: false, doc: Dodo$dInternal.semigroupDoc.append(acc.doc)(lines(Data$dFunctor.arrayMap(Dodo.text)(Tidy$dUtil.splitLines(v1$1._1))))}; + } + if (v1$1.tag === "Line") { return {line: true, doc: Dodo$dInternal.semigroupDoc.append(acc.doc)(power(Dodo$dInternal.Break)(v1$1._2))}; } + if (v1$1.tag === "Space") { + if (acc.line) { + return { + line: false, + doc: Dodo$dInternal.semigroupDoc.append(acc.doc)((() => { + const $6 = power1(" ")(max(0)(v1$1._1 - v3.nextIndent | 0)); + if ($6 === "") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Text", Data$dString$dCodePoints.toCodePointArray($6).length, $6); + })()) + }; + } + return { + line: false, + doc: Dodo$dInternal.semigroupDoc.append(acc.doc)((() => { + const $6 = power1(" ")(v1$1._1); + if ($6 === "") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Text", Data$dString$dCodePoints.toCodePointArray($6).length, $6); + })()) + }; + } + $runtime.fail(); + })({line: false, doc: Dodo$dInternal.Empty})(v1._1.head.trailingComments).doc))(Dodo$dInternal.semigroupDoc.append(foldMap2(tok => Dodo$dInternal.semigroupDoc.append(Data$dFoldable.foldlArray(acc => v1$1 => { + if (v1$1.tag === "Comment") { + if (Data$dString$dCodeUnits.take(2)(v1$1._1) === "--") { + return { + line: false, + doc: Dodo$dInternal.semigroupDoc.append(acc.doc)((() => { + if (v1$1._1 === "") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Text", Data$dString$dCodePoints.toCodePointArray(v1$1._1).length, v1$1._1); + })()) + }; + } + return {line: false, doc: Dodo$dInternal.semigroupDoc.append(acc.doc)(lines(Data$dFunctor.arrayMap(Dodo.text)(Tidy$dUtil.splitLines(v1$1._1))))}; + } + if (v1$1.tag === "Line") { return {line: true, doc: Dodo$dInternal.semigroupDoc.append(acc.doc)(power(Dodo$dInternal.Break)(v1$1._2))}; } + if (v1$1.tag === "Space") { + if (acc.line) { + return { + line: false, + doc: Dodo$dInternal.semigroupDoc.append(acc.doc)((() => { + const $7 = power1(" ")(max(0)(v1$1._1 - v3.nextIndent | 0)); + if ($7 === "") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Text", Data$dString$dCodePoints.toCodePointArray($7).length, $7); + })()) + }; + } + return { + line: false, + doc: Dodo$dInternal.semigroupDoc.append(acc.doc)((() => { + const $7 = power1(" ")(v1$1._1); + if ($7 === "") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Text", Data$dString$dCodePoints.toCodePointArray($7).length, $7); + })()) + }; + } + $runtime.fail(); + })({line: false, doc: Dodo$dInternal.Empty})(tok.leadingComments).doc)(Dodo$dInternal.semigroupDoc.append((() => { + const $5 = Tidy$dToken.printToken(Tidy$dToken.UnicodeSource)(tok.value); + if ($5 === "") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Text", Data$dString$dCodePoints.toCodePointArray($5).length, $5); + })())(Data$dFoldable.foldlArray(acc => v1$1 => { + if (v1$1.tag === "Comment") { + if (Data$dString$dCodeUnits.take(2)(v1$1._1) === "--") { + return { + line: false, + doc: Dodo$dInternal.semigroupDoc.append(acc.doc)((() => { + if (v1$1._1 === "") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Text", Data$dString$dCodePoints.toCodePointArray(v1$1._1).length, v1$1._1); + })()) + }; + } + return {line: false, doc: Dodo$dInternal.semigroupDoc.append(acc.doc)(lines(Data$dFunctor.arrayMap(Dodo.text)(Tidy$dUtil.splitLines(v1$1._1))))}; + } + if (v1$1.tag === "Line") { return {line: true, doc: Dodo$dInternal.semigroupDoc.append(acc.doc)(power(Dodo$dInternal.Break)(v1$1._2))}; } + if (v1$1.tag === "Space") { + if (acc.line) { + return { + line: false, + doc: Dodo$dInternal.semigroupDoc.append(acc.doc)((() => { + const $7 = power1(" ")(max(0)(v1$1._1 - v3.nextIndent | 0)); + if ($7 === "") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Text", Data$dString$dCodePoints.toCodePointArray($7).length, $7); + })()) + }; + } + return { + line: false, + doc: Dodo$dInternal.semigroupDoc.append(acc.doc)((() => { + const $7 = power1(" ")(v1$1._1); + if ($7 === "") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Text", Data$dString$dCodePoints.toCodePointArray($7).length, $7); + })()) + }; + } + $runtime.fail(); + })({line: false, doc: Dodo$dInternal.Empty})(tok.trailingComments).doc)))(v2._1.init))(Dodo$dInternal.semigroupDoc.append(Data$dFoldable.foldlArray(acc => v1$1 => { + if (v1$1.tag === "Comment") { + if (Data$dString$dCodeUnits.take(2)(v1$1._1) === "--") { + return { + line: false, + doc: Dodo$dInternal.semigroupDoc.append(acc.doc)((() => { + if (v1$1._1 === "") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Text", Data$dString$dCodePoints.toCodePointArray(v1$1._1).length, v1$1._1); + })()) + }; + } + return {line: false, doc: Dodo$dInternal.semigroupDoc.append(acc.doc)(lines(Data$dFunctor.arrayMap(Dodo.text)(Tidy$dUtil.splitLines(v1$1._1))))}; + } + if (v1$1.tag === "Line") { return {line: true, doc: Dodo$dInternal.semigroupDoc.append(acc.doc)(power(Dodo$dInternal.Break)(v1$1._2))}; } + if (v1$1.tag === "Space") { + if (acc.line) { + return { + line: false, + doc: Dodo$dInternal.semigroupDoc.append(acc.doc)((() => { + const $6 = power1(" ")(max(0)(v1$1._1 - v3.nextIndent | 0)); + if ($6 === "") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Text", Data$dString$dCodePoints.toCodePointArray($6).length, $6); + })()) + }; + } + return { + line: false, + doc: Dodo$dInternal.semigroupDoc.append(acc.doc)((() => { + const $6 = power1(" ")(v1$1._1); + if ($6 === "") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Text", Data$dString$dCodePoints.toCodePointArray($6).length, $6); + })()) + }; + } + $runtime.fail(); + })({line: false, doc: Dodo$dInternal.Empty})(v2._1.last.leadingComments).doc)((() => { + const $4 = Tidy$dToken.printToken(Tidy$dToken.UnicodeSource)(v2._1.last.value); + if ($4 === "") { return Dodo$dInternal.Empty; } + return Dodo$dInternal.$Doc("Text", Data$dString$dCodePoints.toCodePointArray($4).length, $4); + })()))) + ); + if ($3.tag === "Empty") { return Tidy$dDoc.monoidFormatDoc.mempty; } + return {doc: $3, leading: Tidy$dDoc.monoidLeadingComment.mempty, isEmpty: false, multiline: false, trailing: Tidy$dDoc.monoidTrailingComment.mempty}; + })()); + } + if (v2.tag === "Nothing") { return formatToken({unicode: Tidy$dToken.UnicodeSource})(v1._1.head); } + $runtime.fail(); + } + if (v1.tag === "Nothing") { return Tidy$dDoc.monoidFormatDoc.mempty; } + $runtime.fail(); + } +}; +const formatListTail = alignment => format => conf => Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.softBreak)(v => Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "Text", + 1, + " " +))))(formatToken(conf)(v._1))(formatListElem(alignment)(format)(conf)(v._2))); +const formatList = openSpace => closeSpace => alignment => grouped => format => conf => v => { + const listElems = closeSpace(Tidy$dDoc.softBreak(formatListElem(alignment)(format)(conf)(v.head))(formatListTail(alignment)(format)(conf)(v.tail)))(formatToken(conf)(v.close)); + if (grouped.tag === "Grouped") { return Tidy$dDoc.flexGroup(openSpace(formatToken(conf)(v.open))(listElems)); } + if (grouped.tag === "NotGrouped") { return openSpace(formatToken(conf)(v.open))(listElems); } + $runtime.fail(); +}; +const formatDelimited = openSpace => closeSpace => alignment => grouped => format => conf => v => { + if (v.value.tag === "Nothing") { return formatEmptyList(conf)({open: v.open, close: v.close}); } + if (v.value.tag === "Just") { + return formatList(openSpace)(closeSpace)(alignment)(grouped)(format)(conf)({open: v.open, head: v.value._1.head, tail: v.value._1.tail, close: v.close}); + } + $runtime.fail(); +}; +const formatDelimitedNonEmpty = openSpace => closeSpace => alignment => grouped => format => conf => v => formatList(openSpace)(closeSpace)(alignment)(grouped)(format)(conf)({ + open: v.open, + head: v.value.head, + tail: v.value.tail, + close: v.close +}); +const formatOneOrDelimited = format => conf => v => { + if (v.tag === "One") { return format(conf)(v._1); } + if (v.tag === "Many") { return formatDelimitedNonEmpty(Tidy$dDoc.softSpace)(Tidy$dDoc.softBreak)(2)(NotGrouped)(format)(conf)(v._1); } + $runtime.fail(); +}; +const formatName = conf => v => formatToken(conf)(v.token); +const formatDataMembers = conf => v => { + if (v.tag === "DataAll") { return formatToken(conf)(v._1); } + if (v.tag === "DataEnumerated") { return formatDelimited(Tidy$dDoc.softSpace)(Tidy$dDoc.softBreak)(2)(NotGrouped)(formatName)(conf)(v._1); } + $runtime.fail(); +}; +const formatExport = conf => v => { + if (v.tag === "ExportValue") { return formatToken(conf)(v._1.token); } + if (v.tag === "ExportOp") { return formatToken(conf)(v._1.token); } + if (v.tag === "ExportType") { + return Tidy$dDoc.flexGroup(Tidy$dDoc.softBreak(formatToken(conf)(v._1.token))(Tidy$dDoc.indent((() => { + if (v._2.tag === "Nothing") { return Tidy$dDoc.monoidFormatDoc.mempty; } + if (v._2.tag === "Just") { return formatDataMembers(conf)(v._2._1); } + $runtime.fail(); + })()))); + } + if (v.tag === "ExportTypeOp") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(formatToken(conf)(v._1))((() => { + const $2 = formatToken(conf)(v._2.token); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; + })()); + } + if (v.tag === "ExportClass") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(formatToken(conf)(v._1))((() => { + const $2 = formatToken(conf)(v._2.token); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; + })()); + } + if (v.tag === "ExportModule") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(formatToken(conf)(v._1))((() => { + const $2 = formatToken(conf)(v._2.token); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; + })()); + } + if (v.tag === "ExportError") { return conf.formatError(v._1); } + $runtime.fail(); +}; +const formatFundep = conf => v => { + if (v.tag === "FundepDetermined") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(formatToken(conf)(v._1))(Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "Text", + 1, + " " + )))))(formatName(conf))(v._2)); + } + if (v.tag === "FundepDetermines") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "Text", + 1, + " " + ))))(Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " ")))))(formatName(conf))(v._1))(formatToken(conf)(v._2)))(Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "Text", + 1, + " " + )))))(formatName(conf))(v._3)); + } + $runtime.fail(); +}; +const formatImport = conf => v => { + if (v.tag === "ImportValue") { return formatToken(conf)(v._1.token); } + if (v.tag === "ImportOp") { return formatToken(conf)(v._1.token); } + if (v.tag === "ImportType") { + return Tidy$dDoc.flexGroup(Tidy$dDoc.softBreak(formatToken(conf)(v._1.token))(Tidy$dDoc.indent((() => { + if (v._2.tag === "Nothing") { return Tidy$dDoc.monoidFormatDoc.mempty; } + if (v._2.tag === "Just") { return formatDataMembers(conf)(v._2._1); } + $runtime.fail(); + })()))); + } + if (v.tag === "ImportTypeOp") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(formatToken(conf)(v._1))((() => { + const $2 = formatToken(conf)(v._2.token); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; + })()); + } + if (v.tag === "ImportClass") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(formatToken(conf)(v._1))((() => { + const $2 = formatToken(conf)(v._2.token); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; + })()); + } + if (v.tag === "ImportError") { return conf.formatError(v._1); } + $runtime.fail(); +}; +const formatImportDecl = conf => v => { + const formatImportQualified = v1 => Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(formatToken(conf)(v1._1))((() => { + const $3 = formatToken(conf)(v1._2.token); + if ($3.leading.lines > 0) { + return { + doc: $3.doc, + isEmpty: $3.isEmpty, + leading: {doc: $3.leading.doc, left: $3.leading.left, lines: 0, multiline: $3.leading.multiline, right: $3.leading.right}, + multiline: true, + trailing: $3.trailing + }; + } + return $3; + })()); + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(formatToken(conf)(v.keyword))(Tidy$dDoc.indent((() => { + const $3 = (() => { + if (v.names.tag === "Just") { + if (v.names._1._1.tag === "Just") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(Tidy$dDoc.flexSpaceBreak(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "Text", + 1, + " " + ))))(formatToken(conf)(v.module.token))((() => { + const $3 = formatToken(conf)(v.names._1._1._1); + if ($3.leading.lines > 0) { + return { + doc: $3.doc, + isEmpty: $3.isEmpty, + leading: {doc: $3.leading.doc, left: $3.leading.left, lines: 0, multiline: $3.leading.multiline, right: $3.leading.right}, + multiline: true, + trailing: $3.trailing + }; + } + return $3; + })()))((() => { + const $3 = formatDelimitedNonEmpty(Tidy$dDoc.softSpace)(Tidy$dDoc.softBreak)(2)(NotGrouped)(formatImport)(conf)(v.names._1._2); + if ($3.leading.lines > 0) { + return { + doc: $3.doc, + isEmpty: $3.isEmpty, + leading: {doc: $3.leading.doc, left: $3.leading.left, lines: 0, multiline: $3.leading.multiline, right: $3.leading.right}, + multiline: true, + trailing: $3.trailing + }; + } + return $3; + })()))((() => { + const $3 = (() => { + if (v.qualified.tag === "Nothing") { return Tidy$dDoc.monoidFormatDoc.mempty; } + if (v.qualified.tag === "Just") { return formatImportQualified(v.qualified._1); } + $runtime.fail(); + })(); + if ($3.leading.lines > 0) { + return { + doc: $3.doc, + isEmpty: $3.isEmpty, + leading: {doc: $3.leading.doc, left: $3.leading.left, lines: 0, multiline: $3.leading.multiline, right: $3.leading.right}, + multiline: true, + trailing: $3.trailing + }; + } + return $3; + })()); + } + if (v.names._1._1.tag === "Nothing") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(Tidy$dDoc.flexSpaceBreak(formatToken(conf)(v.module.token))((() => { + const $3 = formatDelimitedNonEmpty(Tidy$dDoc.softSpace)(Tidy$dDoc.softBreak)(2)(NotGrouped)(formatImport)(conf)(v.names._1._2); + if ($3.leading.lines > 0) { + return { + doc: $3.doc, + isEmpty: $3.isEmpty, + leading: {doc: $3.leading.doc, left: $3.leading.left, lines: 0, multiline: $3.leading.multiline, right: $3.leading.right}, + multiline: true, + trailing: $3.trailing + }; + } + return $3; + })()))((() => { + const $3 = (() => { + if (v.qualified.tag === "Nothing") { return Tidy$dDoc.monoidFormatDoc.mempty; } + if (v.qualified.tag === "Just") { return formatImportQualified(v.qualified._1); } + $runtime.fail(); + })(); + if ($3.leading.lines > 0) { + return { + doc: $3.doc, + isEmpty: $3.isEmpty, + leading: {doc: $3.leading.doc, left: $3.leading.left, lines: 0, multiline: $3.leading.multiline, right: $3.leading.right}, + multiline: true, + trailing: $3.trailing + }; + } + return $3; + })()); + } + $runtime.fail(); + } + if (v.names.tag === "Nothing") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(formatToken(conf)(v.module.token))((() => { + const $3 = (() => { + if (v.qualified.tag === "Nothing") { return Tidy$dDoc.monoidFormatDoc.mempty; } + if (v.qualified.tag === "Just") { return formatImportQualified(v.qualified._1); } + $runtime.fail(); + })(); + if ($3.leading.lines > 0) { + return { + doc: $3.doc, + isEmpty: $3.isEmpty, + leading: {doc: $3.leading.doc, left: $3.leading.left, lines: 0, multiline: $3.leading.multiline, right: $3.leading.right}, + multiline: true, + trailing: $3.trailing + }; + } + return $3; + })()); + } + $runtime.fail(); + })(); + if ($3.leading.lines > 0) { + return { + doc: $3.doc, + isEmpty: $3.isEmpty, + leading: {doc: $3.leading.doc, left: $3.leading.left, lines: 0, multiline: $3.leading.multiline, right: $3.leading.right}, + multiline: true, + trailing: $3.trailing + }; + } + return $3; + })())); +}; +const formatParens = format => conf => v => Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity))(formatToken(conf)(v.open))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity))((() => { + const $3 = format(conf)(v.value); + if ($3.leading.lines > 0) { + return { + doc: $3.doc, + isEmpty: $3.isEmpty, + leading: {doc: $3.leading.doc, left: $3.leading.left, lines: 0, multiline: $3.leading.multiline, right: $3.leading.right}, + multiline: true, + trailing: $3.trailing + }; + } + return $3; +})())(formatToken(conf)(v.close))); +const formatParensBlock = format => conf => v => Tidy$dDoc.flexGroup(Tidy$dDoc.softSpace(formatToken(conf)(v.open))(Tidy$dDoc.softBreak(Tidy$dDoc.align(2)((() => { + const $3 = format(conf)(v.value); + if ($3.leading.lines > 0) { + return { + doc: $3.doc, + isEmpty: $3.isEmpty, + leading: {doc: $3.leading.doc, left: $3.leading.left, lines: 0, multiline: $3.leading.multiline, right: $3.leading.right}, + multiline: true, + trailing: $3.trailing + }; + } + return $3; +})()))(formatToken(conf)(v.close)))); +const formatQualifiedName = conf => v => formatToken(conf)(v.token); +const formatBasicListNonEmpty = /* #__PURE__ */ (() => formatDelimitedNonEmpty(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "Text", + 1, + " " +)))))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break)))))(2))(); +const formatBasicList = /* #__PURE__ */ (() => formatDelimited(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " ")))))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, " "), + Dodo$dInternal.Break +)))))(2))(); +const flatten = x => { + const $1 = Data$dArray.uncons(x); + if ($1.tag === "Nothing") { return Tidy$dDoc.monoidFormatDoc.mempty; } + if ($1.tag === "Just") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))($1._1.head)(Tidy$dDoc.indent(Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "Text", + 1, + " " + )))))(Tidy$dDoc.anchor)($1._1.tail))); + } + $runtime.fail(); +}; +const formatTypeVarBinding = conf => v => { + if (v.tag === "TypeVarKinded") { return formatParensBlock(formatKindedTypeVarBinding)(conf)(v._1); } + if (v.tag === "TypeVarName") { return formatToken(conf)(v._1.token); } + $runtime.fail(); +}; +const formatType = conf => { + const $1 = formatHangingType(conf); + return x => Tidy$dHang.toFormatDoc($1(x)); +}; +const formatRowLabeled = conf => v => Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(formatToken(conf)(v.label.token))(Tidy$dDoc.indent(Tidy$dDoc.flexSpaceBreak((() => { + const $2 = formatToken(conf)(v.separator); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; +})())((() => { + const $2 = Tidy$dHang.toFormatDoc(formatHangingType(conf)(v.value)); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; +})()))); +const formatRow = openSpace => closeSpace => conf => v => { + if (v.value.tail.tag === "Nothing") { + if (v.value.labels.tag === "Nothing") { return formatEmptyList(conf)({open: v.open, close: v.close}); } + if (v.value.labels.tag === "Just") { + return formatDelimitedNonEmpty(openSpace)(closeSpace)(2)(Grouped)(formatRowLabeled)(conf)({open: v.open, value: v.value.labels._1, close: v.close}); + } + $runtime.fail(); + } + if (v.value.tail.tag === "Just") { + if (v.value.labels.tag === "Nothing") { + return closeSpace(openSpace(formatToken(conf)(v.open))(flatten([formatToken(conf)(v.value.tail._1._1), Tidy$dHang.toFormatDoc(formatHangingType(conf)(v.value.tail._1._2))])))(formatToken(conf)(v.close)); + } + if (v.value.labels.tag === "Just") { + return closeSpace(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, " "), + Dodo$dInternal.Break + ))))(Tidy$dDoc.softBreak(openSpace(formatToken(conf)(v.open))(formatListElem(2)(formatRowLabeled)(conf)(v.value.labels._1.head)))(formatListTail(2)(formatRowLabeled)(conf)(v.value.labels._1.tail)))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "Text", + 1, + " " + ))))(formatToken(conf)(v.value.tail._1._1))(formatListElem(2)(formatType)(conf)(v.value.tail._1._2))))(formatToken(conf)(v.close)); + } + $runtime.fail(); + } + $runtime.fail(); +}; +const formatMonotype = conf => { + const $1 = formatHangingMonotype(conf); + return x => Tidy$dHang.toFormatDoc($1(x)); +}; +const formatKindedTypeVarBinding = conf => v => Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(formatToken(conf)(v.label.token))(Tidy$dDoc.indent(Tidy$dDoc.flexSpaceBreak((() => { + const $2 = formatToken(conf)(v.separator); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; +})())(Tidy$dHang.toFormatDoc(formatHangingType(conf)(v.value))))); +const formatHangingType = conf => { + const $1 = formatHangingPolytype(identity)(conf); + return x => $1(toPolytype(x)); +}; +const formatHangingPolytype = ind => conf => v => { + if (v.init.length === 0) { return formatHangingMonotype(conf)(v.last); } + if (conf.typeArrowPlacement.tag === "TypeArrowFirst") { + const isUnicode = Data$dArray.all((() => { + if (conf.unicode.tag === "UnicodeAlways") { return v$1 => true; } + if (conf.unicode.tag === "UnicodeNever") { return v$1 => false; } + if (conf.unicode.tag === "UnicodeSource") { + return v1 => { + if (v1.tag === "PolyArrow") { + if (v1._2.value.tag === "TokRightArrow") { return v1._2.value._1.tag === "Unicode"; } + if (v1._2.value.tag === "TokRightFatArrow") { return v1._2.value._1.tag === "Unicode"; } + return false; + } + if (v1.tag === "PolyForall") { + if (v1._1.value.tag === "TokForall") { return v1._1.value._1.tag === "Unicode"; } + return false; + } + return false; + }; + } + $runtime.fail(); + })())(v.init); + return Tidy$dHang.$HangingDoc( + "HangBreak", + Tidy$dDoc.flexGroup(Data$dFoldable.foldlArray(k => v1 => { + if (v1.tag === "PolyForall") { + return doc => Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(Tidy$dDoc.softBreak(k(Data$dFoldable.foldlArray(doc$1 => tyVar => Tidy$dDoc.flexSpaceBreak(doc$1)(Tidy$dDoc.indent(formatTypeVarBinding(conf)(tyVar))))(formatToken(conf)(v1._1))(v1._2)))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity))((() => { + if (!isUnicode) { + return { + doc: Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.Empty, Dodo$dInternal.$Doc("Text", 1, " ")), + leading: Tidy$dDoc.monoidLeadingComment.mempty, + isEmpty: false, + multiline: false, + trailing: Tidy$dDoc.monoidTrailingComment.mempty + }; + } + return Tidy$dDoc.monoidFormatDoc.mempty; + })())((() => { + const $7 = formatToken(conf)(v1._3); + if ($7.leading.lines > 0) { + return { + doc: $7.doc, + isEmpty: $7.isEmpty, + leading: {doc: $7.leading.doc, left: $7.leading.left, lines: 0, multiline: $7.leading.multiline, right: $7.leading.right}, + multiline: true, + trailing: $7.trailing + }; + } + return $7; + })())))((() => { + const $7 = Tidy$dDoc.alignCurrentColumn(doc); + if ($7.leading.lines > 0) { + return { + doc: $7.doc, + isEmpty: $7.isEmpty, + leading: {doc: $7.leading.doc, left: $7.leading.left, lines: 0, multiline: $7.leading.multiline, right: $7.leading.right}, + multiline: true, + trailing: $7.trailing + }; + } + return $7; + })()); + } + if (v1.tag === "PolyArrow") { + return doc => Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, " "), + Dodo$dInternal.Break + ))))(k(Tidy$dDoc.flexGroup(Tidy$dHang.toFormatDoc(formatHangingMonotype(conf)(v1._1)))))((() => { + const $7 = formatToken(conf)(v1._2); + if ($7.leading.lines > 0) { + return { + doc: $7.doc, + isEmpty: $7.isEmpty, + leading: {doc: $7.leading.doc, left: $7.leading.left, lines: 0, multiline: $7.leading.multiline, right: $7.leading.right}, + multiline: true, + trailing: $7.trailing + }; + } + return $7; + })()))((() => { + const $7 = Tidy$dDoc.alignCurrentColumn(doc); + if ($7.leading.lines > 0) { + return { + doc: $7.doc, + isEmpty: $7.isEmpty, + leading: {doc: $7.leading.doc, left: $7.leading.left, lines: 0, multiline: $7.leading.multiline, right: $7.leading.right}, + multiline: true, + trailing: $7.trailing + }; + } + return $7; + })()); + } + $runtime.fail(); + })(ind)(v.init)((() => { + const $4 = Tidy$dHang.toFormatDoc(formatHangingMonotype(conf)(v.last)); + if ($4.leading.lines > 0) { + return { + doc: $4.doc, + isEmpty: $4.isEmpty, + leading: {doc: $4.leading.doc, left: $4.leading.left, lines: 0, multiline: $4.leading.multiline, right: $4.leading.right}, + multiline: true, + trailing: $4.trailing + }; + } + return $4; + })())) + ); + } + if (conf.typeArrowPlacement.tag === "TypeArrowLast") { + return Tidy$dHang.$HangingDoc( + "HangBreak", + Tidy$dDoc.flexGroup(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, " "), + Dodo$dInternal.Break + ))))(Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, " "), + Dodo$dInternal.Break + )))))(v1 => { + if (v1.tag === "PolyForall") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity))(Data$dFoldable.foldlArray(doc => tyVar => Tidy$dDoc.flexSpaceBreak(doc)(Tidy$dDoc.indent(formatTypeVarBinding(conf)(tyVar))))(formatToken(conf)(v1._1))(v1._2))(Tidy$dDoc.indent((() => { + const $4 = formatToken(conf)(v1._3); + if ($4.leading.lines > 0) { + return { + doc: $4.doc, + isEmpty: $4.isEmpty, + leading: {doc: $4.leading.doc, left: $4.leading.left, lines: 0, multiline: $4.leading.multiline, right: $4.leading.right}, + multiline: true, + trailing: $4.trailing + }; + } + return $4; + })())); + } + if (v1.tag === "PolyArrow") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(Tidy$dDoc.flexGroup(Tidy$dHang.toFormatDoc(formatHangingPolytype(identity)(conf)(toPolytype(v1._1)))))(Tidy$dDoc.indent((() => { + const $4 = formatToken(conf)(v1._2); + if ($4.leading.lines > 0) { + return { + doc: $4.doc, + isEmpty: $4.isEmpty, + leading: {doc: $4.leading.doc, left: $4.leading.left, lines: 0, multiline: $4.leading.multiline, right: $4.leading.right}, + multiline: true, + trailing: $4.trailing + }; + } + return $4; + })())); + } + $runtime.fail(); + })(v.init))(Tidy$dDoc.flexGroup(Tidy$dHang.toFormatDoc(formatHangingMonotype(conf)(v.last))))) + ); + } + $runtime.fail(); +}; +const formatHangingMonotype = conf => v => { + if (v.tag === "TypeVar") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatToken(conf)(v._1.token))); } + if (v.tag === "TypeConstructor") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatToken(conf)(v._1.token))); } + if (v.tag === "TypeWildcard") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatToken(conf)(v._1))); } + if (v.tag === "TypeHole") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatToken(conf)(v._1.token))); } + if (v.tag === "TypeString") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatToken(conf)(v._1))); } + if (v.tag === "TypeInt") { + return Tidy$dHang.$HangingDoc( + "HangBreak", + Tidy$dDoc.flexGroup(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity))((() => { + if (v._1.tag === "Nothing") { return Tidy$dDoc.monoidFormatDoc.mempty; } + if (v._1.tag === "Just") { return formatToken(conf)(v._1._1); } + $runtime.fail(); + })())(formatToken(conf)(v._2))) + ); + } + if (v.tag === "TypeArrowName") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatToken(conf)(v._1))); } + if (v.tag === "TypeOpName") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatToken(conf)(v._1.token))); } + if (v.tag === "TypeRow") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatRow(Tidy$dDoc.softSpace)(Tidy$dDoc.softBreak)(conf)(v._1))); } + if (v.tag === "TypeRecord") { + return Tidy$dHang.$HangingDoc( + "HangBreak", + Tidy$dDoc.flexGroup(formatRow(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " ")))))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, " "), + Dodo$dInternal.Break + )))))(conf)(v._1)) + ); + } + if (v.tag === "TypeApp") { + return Tidy$dHang.hangApp(formatHangingPolytype(identity)(conf)(toPolytype(v._1)))(Data$dFunctor.arrayMap(x => formatHangingPolytype(identity)(conf)(toPolytype(x)))(v._2)); + } + if (v.tag === "TypeParens") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatParensBlock(formatType)(conf)(v._1))); } + if (v.tag === "TypeKinded") { + return Tidy$dHang.$HangingDoc( + "HangBreak", + Tidy$dDoc.flexGroup(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(Tidy$dHang.toFormatDoc(formatHangingPolytype(identity)(conf)(toPolytype(v._1))))(Tidy$dDoc.indent(Tidy$dDoc.flexSpaceBreak((() => { + const $2 = formatToken(conf)(v._2); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; + })())((() => { + const $2 = Tidy$dHang.toFormatDoc(formatHangingPolytype(identity)(conf)(toPolytype(v._3))); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; + })())))) + ); + } + if (v.tag === "TypeOp") { + return formatHangingOperatorTree(formatQualifiedName)(formatHangingType)(conf)(Tidy$dPrecedence.toOperatorTree(conf.operators)(v$1 => Tidy$dPrecedence.$QualifiedOperator( + v$1.module, + Tidy$dPrecedence.OperatorType, + v$1.name + ))(v._1)(v._2)); + } + if (v.tag === "TypeError") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(conf.formatError(v._1))); } + if (v.tag === "TypeArrow") { return Partial._crashWith("formatMonotype: TypeArrow handled by formatPolytype"); } + if (v.tag === "TypeConstrained") { return Partial._crashWith("formatMonotype: TypeConstrained handled by formatPolytype"); } + if (v.tag === "TypeForall") { return Partial._crashWith("formatMonotype: TypeForall handled by formatPolytype"); } + $runtime.fail(); +}; +const formatHangingDataCtor = conf => v => { + const hangingName = Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatToken(conf)(v.name.token))); + if (v.fields.length > 0) { return Tidy$dHang.hangApp(hangingName)(Data$dFunctor.arrayMap(x => formatHangingPolytype(identity)(conf)(toPolytype(x)))(v.fields)); } + return hangingName; +}; +const formatDataCtor = conf => x => Tidy$dHang.toFormatDoc(formatHangingDataCtor(conf)(x)); +const formatConstraints = conf => v => Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(formatOneOrDelimited(formatType)(conf)(v._1))((() => { + const $2 = formatToken(conf)((() => { + if (v._2.value.tag === "TokOperator") { + if (v._2.value._1.tag === "Nothing") { + if (v._2.value._2 === "<=") { + if ( + (() => { + if (conf.unicode.tag === "UnicodeSource") { return false; } + return conf.unicode.tag === "UnicodeAlways"; + })() + ) { + return { + value: PureScript$dCST$dTypes.$Token("TokOperator", Data$dMaybe.Nothing, "⇐"), + leadingComments: v._2.leadingComments, + range: v._2.range, + trailingComments: v._2.trailingComments + }; + } + return v._2; + } + if (v._2.value._2 === "⇐") { + if ( + (() => { + if (conf.unicode.tag === "UnicodeSource") { return false; } + if (conf.unicode.tag === "UnicodeAlways") { return false; } + return conf.unicode.tag === "UnicodeNever"; + })() + ) { + return { + value: PureScript$dCST$dTypes.$Token("TokOperator", Data$dMaybe.Nothing, "<="), + leadingComments: v._2.leadingComments, + range: v._2.range, + trailingComments: v._2.trailingComments + }; + } + return v._2; + } + return v._2; + } + return v._2; + } + return v._2; + })()); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; +})()); +const formatInstanceHead = conf => v => { + const hdTypes = Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break))))((() => { + if (v._1.constraints.tag === "Nothing") { return Tidy$dDoc.monoidFormatDoc.mempty; } + if (v._1.constraints.tag === "Just") { return formatConstraints(conf)(v._1.constraints._1); } + $runtime.fail(); + })())(Tidy$dDoc.flexGroup(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(formatToken(conf)(v._1.className.token))(Tidy$dDoc.indent(Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, " "), + Dodo$dInternal.Break + )))))(x => Tidy$dHang.toFormatDoc(formatHangingPolytype(identity)(conf)(toPolytype(x))))(v._1.types))))); + if (v._1.name.tag === "Just") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(Tidy$dDoc.flexSpaceBreak(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "Text", + 1, + " " + ))))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(formatToken(conf)(v._1.keyword))((() => { + const $3 = formatToken(conf)(v._1.name._1._1.token); + if ($3.leading.lines > 0) { + return { + doc: $3.doc, + isEmpty: $3.isEmpty, + leading: {doc: $3.leading.doc, left: $3.leading.left, lines: 0, multiline: $3.leading.multiline, right: $3.leading.right}, + multiline: true, + trailing: $3.trailing + }; + } + return $3; + })()))((() => { + const $3 = formatToken(conf)(v._1.name._1._2); + if ($3.leading.lines > 0) { + return { + doc: $3.doc, + isEmpty: $3.isEmpty, + leading: {doc: $3.leading.doc, left: $3.leading.left, lines: 0, multiline: $3.leading.multiline, right: $3.leading.right}, + multiline: true, + trailing: $3.trailing + }; + } + return $3; + })()))(Tidy$dDoc.indent(hdTypes)))(Tidy$dDoc.indent((() => { + if (v._2.tag === "Nothing") { return Tidy$dDoc.monoidFormatDoc.mempty; } + if (v._2.tag === "Just") { return formatToken(conf)(v._2._1); } + $runtime.fail(); + })())); + } + if (v._1.name.tag === "Nothing") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(Tidy$dDoc.flexSpaceBreak(formatToken(conf)(v._1.keyword))(Tidy$dDoc.indent(hdTypes)))(Tidy$dDoc.indent((() => { + if (v._2.tag === "Nothing") { return Tidy$dDoc.monoidFormatDoc.mempty; } + if (v._2.tag === "Just") { return formatToken(conf)(v._2._1); } + $runtime.fail(); + })())); + } + $runtime.fail(); +}; +const formatClassHead = conf => v => Tidy$dDoc.flexSpaceBreak(formatToken(conf)(v._1.keyword))(Tidy$dDoc.indent(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "Text", + 1, + " " +))))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break))))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, " "), + Dodo$dInternal.Break +))))((() => { + const $2 = (() => { + if (v._1.super.tag === "Nothing") { return Tidy$dDoc.monoidFormatDoc.mempty; } + if (v._1.super.tag === "Just") { return formatConstraints(conf)(v._1.super._1); } + $runtime.fail(); + })(); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; +})())(Tidy$dDoc.flexGroup(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, " "), + Dodo$dInternal.Break +))))(formatToken(conf)(v._1.name.token))(Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, " "), + Dodo$dInternal.Break +)))))(x => Tidy$dDoc.indent(formatTypeVarBinding(conf)(x)))(v._1.vars)))))(Tidy$dDoc.flexGroup((() => { + const $2 = (() => { + if (v._1.fundeps.tag === "Nothing") { return Tidy$dDoc.monoidFormatDoc.mempty; } + if (v._1.fundeps.tag === "Just") { + return Tidy$dDoc.softBreak(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(formatToken(conf)(v._1.fundeps._1._1))(formatListElem(2)(formatFundep)(conf)(v._1.fundeps._1._2.head)))(Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.softBreak)(v2 => Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "Text", + 1, + " " + ))))(formatToken(conf)(v2._1))(formatListElem(2)(formatFundep)(conf)(v2._2)))(v._1.fundeps._1._2.tail)); + } + $runtime.fail(); + })(); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; +})())))((() => { + if (v._2.tag === "Nothing") { return Tidy$dDoc.monoidFormatDoc.mempty; } + if (v._2.tag === "Just") { return formatToken(conf)(v._2._1); } + $runtime.fail(); +})()))); +const formatDataHead = conf => v => Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(formatToken(conf)(v.keyword))(Tidy$dDoc.indent(Tidy$dDoc.flexSpaceBreak((() => { + const $2 = formatToken(conf)(v.name.token); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; +})())(Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, " "), + Dodo$dInternal.Break +)))))(formatTypeVarBinding(conf))(v.vars)))); +const formatSignature = conf => v => { + if (conf.typeArrowPlacement.tag === "TypeArrowFirst") { + const polytype = toPolytype(v.value); + const width = (() => { + if ( + (() => { + if (conf.unicode.tag === "UnicodeAlways") { return true; } + if (conf.unicode.tag === "UnicodeNever") { return false; } + if (conf.unicode.tag === "UnicodeSource") { + if (v.separator.value.tag === "TokDoubleColon") { return v.separator.value._1.tag === "Unicode"; } + return false; + } + $runtime.fail(); + })() + ) { + return 2; + } + return 3; + })(); + const formattedPolytype = formatHangingPolytype(Tidy$dDoc.align(width))(conf)(polytype); + if (polytype.init.length === 0) { + return Tidy$dDoc.flexSpaceBreak(v.label)(Tidy$dDoc.indent(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))((() => { + const $5 = formatToken(conf)(v.separator); + if ($5.leading.lines > 0) { + return { + doc: $5.doc, + isEmpty: $5.isEmpty, + leading: {doc: $5.leading.doc, left: $5.leading.left, lines: 0, multiline: $5.leading.multiline, right: $5.leading.right}, + multiline: true, + trailing: $5.trailing + }; + } + return $5; + })())((() => { + const $5 = Tidy$dDoc.align(width)(Tidy$dHang.toFormatDoc(formattedPolytype)); + if ($5.leading.lines > 0) { + return { + doc: $5.doc, + isEmpty: $5.isEmpty, + leading: {doc: $5.leading.doc, left: $5.leading.left, lines: 0, multiline: $5.leading.multiline, right: $5.leading.right}, + multiline: true, + trailing: $5.trailing + }; + } + return $5; + })()))); + } + return Tidy$dDoc.flexSpaceBreak(v.label)(Tidy$dDoc.indent(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))((() => { + const $5 = formatToken(conf)(v.separator); + if ($5.leading.lines > 0) { + return { + doc: $5.doc, + isEmpty: $5.isEmpty, + leading: {doc: $5.leading.doc, left: $5.leading.left, lines: 0, multiline: $5.leading.multiline, right: $5.leading.right}, + multiline: true, + trailing: $5.trailing + }; + } + return $5; + })())((() => { + const $5 = Tidy$dHang.toFormatDoc(formattedPolytype); + if ($5.leading.lines > 0) { + return { + doc: $5.doc, + isEmpty: $5.isEmpty, + leading: {doc: $5.leading.doc, left: $5.leading.left, lines: 0, multiline: $5.leading.multiline, right: $5.leading.right}, + multiline: true, + trailing: $5.trailing + }; + } + return $5; + })()))); + } + if (conf.typeArrowPlacement.tag === "TypeArrowLast") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(v.label)(Tidy$dDoc.indent(Tidy$dDoc.flexGroup(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, " "), + Dodo$dInternal.Break + ))))((() => { + const $2 = formatToken(conf)(v.separator); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; + })())((() => { + const $2 = Tidy$dDoc.flexGroup(Tidy$dHang.toFormatDoc(formatHangingPolytype(identity)(conf)(toPolytype(v.value)))); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; + })())))); + } + $runtime.fail(); +}; +const eqTypeArrowOption = { + eq: x => y => { + if (x.tag === "TypeArrowFirst") { return y.tag === "TypeArrowFirst"; } + if (x.tag === "TypeArrowLast") { return y.tag === "TypeArrowLast"; } + return false; + } +}; +const eqImportWrapOption = { + eq: x => y => { + if (x.tag === "ImportWrapSource") { return y.tag === "ImportWrapSource"; } + if (x.tag === "ImportWrapAuto") { return y.tag === "ImportWrapAuto"; } + return false; + } +}; +const eqImportSortOpion = { + eq: x => y => { + if (x.tag === "ImportSortSource") { return y.tag === "ImportSortSource"; } + if (x.tag === "ImportSortIde") { return y.tag === "ImportSortIde"; } + return false; + } +}; +const eqImportComparison = { + eq: x => y => { + if (x.tag === "ImportClassCmp") { + if (y.tag === "ImportClassCmp") { return x._1 === y._1; } + return false; + } + if (x.tag === "ImportTypeOpCmp") { + if (y.tag === "ImportTypeOpCmp") { return x._1 === y._1; } + return false; + } + if (x.tag === "ImportTypeCmp") { + if (y.tag === "ImportTypeCmp") { return x._1 === y._1 && x._2 === y._2 && eq5(x._3)(y._3); } + return false; + } + if (x.tag === "ImportValueCmp") { + if (y.tag === "ImportValueCmp") { return x._1 === y._1; } + return false; + } + if (x.tag === "ImportOpCmp") { + if (y.tag === "ImportOpCmp") { return x._1 === y._1; } + return false; + } + if (x.tag === "ImportErrorCmp") { return y.tag === "ImportErrorCmp"; } + return false; + } +}; +const eq10 = /* #__PURE__ */ (() => Data$dEq.eqArrayImpl(eqImportComparison.eq))(); +const eqImportModuleComparison = { + eq: x => y => x._1 === y._1 && x._2 === y._2 && eq10(x._3)(y._3) && (() => { + if (x._4.tag === "Nothing") { return y._4.tag === "Nothing"; } + if (x._4.tag === "Just") { + if (y._4.tag === "Just") { return x._4._1 === y._4._1; } + return false; + } + return false; + })() +}; +const ordImportComparison = { + compare: x => y => { + if (x.tag === "ImportClassCmp") { + if (y.tag === "ImportClassCmp") { return Data$dOrd.ordString.compare(x._1)(y._1); } + return Data$dOrdering.LT; + } + if (y.tag === "ImportClassCmp") { return Data$dOrdering.GT; } + if (x.tag === "ImportTypeOpCmp") { + if (y.tag === "ImportTypeOpCmp") { return Data$dOrd.ordString.compare(x._1)(y._1); } + return Data$dOrdering.LT; + } + if (y.tag === "ImportTypeOpCmp") { return Data$dOrdering.GT; } + if (x.tag === "ImportTypeCmp") { + if (y.tag === "ImportTypeCmp") { + const v = Data$dOrd.ordString.compare(x._1)(y._1); + if (v.tag === "LT") { return Data$dOrdering.LT; } + if (v.tag === "GT") { return Data$dOrdering.GT; } + const v1 = Data$dOrd.ordBoolean.compare(x._2)(y._2); + if (v1.tag === "LT") { return Data$dOrdering.LT; } + if (v1.tag === "GT") { return Data$dOrdering.GT; } + return compare3(x._3)(y._3); + } + return Data$dOrdering.LT; + } + if (y.tag === "ImportTypeCmp") { return Data$dOrdering.GT; } + if (x.tag === "ImportValueCmp") { + if (y.tag === "ImportValueCmp") { return Data$dOrd.ordString.compare(x._1)(y._1); } + return Data$dOrdering.LT; + } + if (y.tag === "ImportValueCmp") { return Data$dOrdering.GT; } + if (x.tag === "ImportOpCmp") { + if (y.tag === "ImportOpCmp") { return Data$dOrd.ordString.compare(x._1)(y._1); } + return Data$dOrdering.LT; + } + if (y.tag === "ImportOpCmp") { return Data$dOrdering.GT; } + if (x.tag === "ImportErrorCmp") { + if (y.tag === "ImportErrorCmp") { return Data$dOrdering.EQ; } + $runtime.fail(); + } + $runtime.fail(); + }, + Eq0: () => eqImportComparison +}; +const compare8 = /* #__PURE__ */ (() => Data$dOrd.ordArray(ordImportComparison).compare)(); +const ordImportModuleComparison = { + compare: x => y => { + const v = Data$dOrd.ordString.compare(x._1)(y._1); + if (v.tag === "LT") { return Data$dOrdering.LT; } + if (v.tag === "GT") { return Data$dOrdering.GT; } + const v1 = Data$dOrd.ordInt.compare(x._2)(y._2); + if (v1.tag === "LT") { return Data$dOrdering.LT; } + if (v1.tag === "GT") { return Data$dOrdering.GT; } + const v2 = compare8(x._3)(y._3); + if (v2.tag === "LT") { return Data$dOrdering.LT; } + if (v2.tag === "GT") { return Data$dOrdering.GT; } + return compare7(x._4)(y._4); + }, + Eq0: () => eqImportModuleComparison +}; +const sortImportsIde = v => { + const v1 = Data$dArray.unzip(v.value.tail); + const $2 = Data$dArray.unzip(Data$dArray.sortWith(ordImportComparison)(Data$dTuple.fst)(Data$dFunctor.arrayMap(x => Data$dTuple.$Tuple( + (() => { + if (x.tag === "ImportValue") { return $ImportComparison("ImportValueCmp", x._1.name); } + if (x.tag === "ImportOp") { return $ImportComparison("ImportOpCmp", x._1.name); } + if (x.tag === "ImportType") { + if (x._2.tag === "Nothing") { return $ImportComparison("ImportTypeCmp", x._1.name, true, []); } + if (x._2.tag === "Just") { + if (x._2._1.tag === "DataEnumerated") { + if (x._2._1._1.value.tag === "Nothing") { return $ImportComparison("ImportTypeCmp", x._1.name, true, []); } + if (x._2._1._1.value.tag === "Just") { + return $ImportComparison( + "ImportTypeCmp", + x._1.name, + true, + Data$dFunctor.arrayMap(x$1 => x$1.name)(Data$dSemigroup.concatArray([x._2._1._1.value._1.head])(Data$dFunctor.arrayMap(Data$dTuple.snd)(x._2._1._1.value._1.tail))) + ); + } + $runtime.fail(); + } + if (x._2._1.tag === "DataAll") { return $ImportComparison("ImportTypeCmp", x._1.name, false, []); } + $runtime.fail(); + } + $runtime.fail(); + } + if (x.tag === "ImportTypeOp") { return $ImportComparison("ImportTypeOpCmp", x._2.name); } + if (x.tag === "ImportClass") { return $ImportComparison("ImportClassCmp", x._2.name); } + if (x.tag === "ImportError") { return ImportErrorCmp; } + $runtime.fail(); + })(), + x + ))(Data$dSemigroup.concatArray([v.value.head])(v1._2)))); + return Data$dTuple.$Tuple( + $2._1, + { + open: v.open, + value: { + head: (() => { + const $3 = Data$dArray.index($2._2)(0); + if ($3.tag === "Just") { return $3._1; } + $runtime.fail(); + })(), + tail: Data$dArray.zip(v1._1)((() => { + const $3 = Data$dArray.tail($2._2); + if ($3.tag === "Just") { return $3._1; } + $runtime.fail(); + })()) + }, + close: v.close + } + ); +}; +const defaultFormatOptions = dictFormatError => ( + { + formatError: dictFormatError.formatError, + unicode: Tidy$dToken.UnicodeSource, + typeArrowPlacement: TypeArrowFirst, + operators: Data$dMap$dInternal.Leaf, + importSort: ImportSortSource, + importWrap: ImportWrapSource + } +); +const declareHanging = label => spc => separator => value => spc(label)(Tidy$dHang.toFormatDoc(Tidy$dHang.hang(Tidy$dDoc.indent(separator))(value))); +const formatRecordLabeled = format => conf => v => { + if (v.tag === "RecordPun") { return formatToken(conf)(v._1.token); } + if (v.tag === "RecordField") { + return declareHanging(formatToken(conf)(v._1.token))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity)))((() => { + const $3 = formatToken(conf)(v._2); + if ($3.leading.lines > 0) { + return { + doc: $3.doc, + isEmpty: $3.isEmpty, + leading: {doc: $3.leading.doc, left: $3.leading.left, lines: 0, multiline: $3.leading.multiline, right: $3.leading.right}, + multiline: true, + trailing: $3.trailing + }; + } + return $3; + })())(format(conf)(v._3)); + } + $runtime.fail(); +}; +const formatHangingBinder = conf => v => { + if (v.tag === "BinderWildcard") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatToken(conf)(v._1))); } + if (v.tag === "BinderVar") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatToken(conf)(v._1.token))); } + if (v.tag === "BinderNamed") { + return Tidy$dHang.$HangingDoc( + "HangBreak", + Tidy$dDoc.flexGroup(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity))(formatToken(conf)(v._1.token))(Tidy$dDoc.flexSoftBreak((() => { + const $2 = formatToken(conf)(v._2); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; + })())(Tidy$dDoc.indent(formatBinder(conf)(v._3))))) + ); + } + if (v.tag === "BinderConstructor") { + const ctorName = Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatToken(conf)(v._1.token))); + if (v._2.length > 0) { return Tidy$dHang.hangApp(ctorName)(Data$dFunctor.arrayMap(formatHangingBinder(conf))(v._2)); } + return ctorName; + } + if (v.tag === "BinderBoolean") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatToken(conf)(v._1))); } + if (v.tag === "BinderChar") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatToken(conf)(v._1))); } + if (v.tag === "BinderString") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatToken(conf)(v._1))); } + if (v.tag === "BinderInt") { + return Tidy$dHang.$HangingDoc( + "HangBreak", + Tidy$dDoc.flexGroup(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity))((() => { + if (v._1.tag === "Nothing") { return Tidy$dDoc.monoidFormatDoc.mempty; } + if (v._1.tag === "Just") { return formatToken(conf)(v._1._1); } + $runtime.fail(); + })())(formatToken(conf)(v._2))) + ); + } + if (v.tag === "BinderNumber") { + return Tidy$dHang.$HangingDoc( + "HangBreak", + Tidy$dDoc.flexGroup(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity))((() => { + if (v._1.tag === "Nothing") { return Tidy$dDoc.monoidFormatDoc.mempty; } + if (v._1.tag === "Just") { return formatToken(conf)(v._1._1); } + $runtime.fail(); + })())(formatToken(conf)(v._2))) + ); + } + if (v.tag === "BinderArray") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatBasicList(Grouped)(formatBinder)(conf)(v._1))); } + if (v.tag === "BinderRecord") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatBasicList(Grouped)(formatRecordLabeled(formatHangingBinder))(conf)(v._1))); } + if (v.tag === "BinderParens") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatParensBlock(formatBinder)(conf)(v._1))); } + if (v.tag === "BinderTyped") { + return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatSignature(conf)({label: formatBinder(conf)(v._1), separator: v._2, value: v._3}))); + } + if (v.tag === "BinderOp") { + return formatHangingOperatorTree(formatQualifiedName)(formatHangingBinder)(conf)(Tidy$dPrecedence.toOperatorTree(conf.operators)(v$1 => Tidy$dPrecedence.$QualifiedOperator( + v$1.module, + Tidy$dPrecedence.OperatorValue, + v$1.name + ))(v._1)(v._2)); + } + if (v.tag === "BinderError") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(conf.formatError(v._1))); } + $runtime.fail(); +}; +const formatBinder = conf => x => Tidy$dHang.toFormatDoc(formatHangingBinder(conf)(x)); +const formatWhere = conf => v => Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)))(formatToken(conf)(v._1))(formatLetGroups$lazy()(conf)(v._2)); +const formatValueBinding = conf => v => { + if (v.guarded.tag === "Unconditional") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "Text", + 1, + " " + ))))(Tidy$dDoc.flexSpaceBreak(formatToken(conf)(v.name.token))(Tidy$dDoc.indent(Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, " "), + Dodo$dInternal.Break + )))))(x => { + const $3 = Tidy$dHang.toFormatDoc(formatHangingBinder(conf)(x)); + if ($3.leading.lines > 0) { + return { + doc: $3.doc, + isEmpty: $3.isEmpty, + leading: {doc: $3.leading.doc, left: $3.leading.left, lines: 0, multiline: $3.leading.multiline, right: $3.leading.right}, + multiline: true, + trailing: $3.trailing + }; + } + return $3; + })(v.binders))))(Tidy$dHang.toFormatDoc(Tidy$dHang.hang(Tidy$dDoc.indent((() => { + const $2 = formatToken(conf)(v.guarded._1); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; + })()))(formatHangingExpr(conf)(v.guarded._2.expr)))))(Tidy$dDoc.indent((() => { + if (v.guarded._2.bindings.tag === "Nothing") { return Tidy$dDoc.monoidFormatDoc.mempty; } + if (v.guarded._2.bindings.tag === "Just") { return formatWhere(conf)(v.guarded._2.bindings._1); } + $runtime.fail(); + })())); + } + if (v.guarded.tag === "Guarded") { + const valBinders = Tidy$dDoc.flexSpaceBreak(formatToken(conf)(v.name.token))(Tidy$dDoc.indent(Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, " "), + Dodo$dInternal.Break + )))))(x => { + const $3 = Tidy$dDoc.flexGroup(Tidy$dHang.toFormatDoc(formatHangingBinder(conf)(x))); + if ($3.leading.lines > 0) { + return { + doc: $3.doc, + isEmpty: $3.isEmpty, + leading: {doc: $3.leading.doc, left: $3.leading.left, lines: 0, multiline: $3.leading.multiline, right: $3.leading.right}, + multiline: true, + trailing: $3.trailing + }; + } + return $3; + })(v.binders))); + if (v.guarded._1.length === 1) { + return Tidy$dHang.toFormatDoc(Tidy$dHang.hang(valBinders)(formatGuardedExpr(conf)((() => { + const $3 = Data$dArray.index(v.guarded._1)(0); + if ($3.tag === "Just") { return $3._1; } + $runtime.fail(); + })()))); + } + return Tidy$dDoc.flexSpaceBreak(valBinders)(Tidy$dDoc.indent(Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break))))((() => { + const $3 = formatGuardedExpr(conf); + return x => Tidy$dHang.toFormatDoc($3(x)); + })())(v.guarded._1))); + } + $runtime.fail(); +}; +const formatRecordUpdate = conf => v => { + if (v.tag === "RecordUpdateLeaf") { + return declareHanging(formatToken(conf)(v._1.token))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " ")))))(formatToken(conf)(v._2))(formatHangingExpr(conf)(v._3)); + } + if (v.tag === "RecordUpdateBranch") { + return Tidy$dDoc.flexSpaceBreak(formatToken(conf)(v._1.token))(Tidy$dDoc.indent(formatBasicListNonEmpty(Grouped)(formatRecordUpdate)(conf)(v._2))); + } + $runtime.fail(); +}; +const formatPatternGuard = conf => v => { + if (v.binder.tag === "Nothing") { return formatExpr(conf)(v.expr); } + if (v.binder.tag === "Just") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(Tidy$dHang.toFormatDoc(formatHangingBinder(conf)(v.binder._1._1)))(Tidy$dDoc.indent(Tidy$dDoc.flexSpaceBreak((() => { + const $2 = formatToken(conf)(v.binder._1._2); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; + })())(formatExpr(conf)(v.expr)))); + } + $runtime.fail(); +}; +const formatLetBinding = conf => v => { + if (v.tag === "LetBindingSignature") { return formatSignature(conf)({label: formatToken(conf)(v._1.label.token), separator: v._1.separator, value: v._1.value}); } + if (v.tag === "LetBindingName") { return formatValueBinding(conf)(v._1); } + if (v.tag === "LetBindingPattern") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "Text", + 1, + " " + ))))(Tidy$dDoc.flexGroup(Tidy$dHang.toFormatDoc(formatHangingBinder(conf)(v._1))))(Tidy$dHang.toFormatDoc(Tidy$dHang.hang(Tidy$dDoc.indent((() => { + const $2 = formatToken(conf)(v._2); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; + })()))(formatHangingExpr(conf)(v._3.expr)))))(Tidy$dDoc.indent((() => { + if (v._3.bindings.tag === "Nothing") { return Tidy$dDoc.monoidFormatDoc.mempty; } + if (v._3.bindings.tag === "Just") { return formatWhere(conf)(v._3.bindings._1); } + $runtime.fail(); + })())); + } + if (v.tag === "LetBindingError") { return conf.formatError(v._1); } + $runtime.fail(); +}; +const formatHangingExpr = conf => v => { + if (v.tag === "ExprHole") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatToken(conf)(v._1.token))); } + if (v.tag === "ExprSection") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatToken(conf)(v._1))); } + if (v.tag === "ExprIdent") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatToken(conf)(v._1.token))); } + if (v.tag === "ExprConstructor") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatToken(conf)(v._1.token))); } + if (v.tag === "ExprBoolean") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatToken(conf)(v._1))); } + if (v.tag === "ExprChar") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatToken(conf)(v._1))); } + if (v.tag === "ExprString") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatToken(conf)(v._1))); } + if (v.tag === "ExprInt") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatToken(conf)(v._1))); } + if (v.tag === "ExprNumber") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatToken(conf)(v._1))); } + if (v.tag === "ExprArray") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatBasicList(Grouped)(formatExpr)(conf)(v._1))); } + if (v.tag === "ExprRecord") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatBasicList(Grouped)(formatRecordLabeled(formatHangingExpr))(conf)(v._1))); } + if (v.tag === "ExprParens") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatParensBlock(formatExpr)(conf)(v._1))); } + if (v.tag === "ExprTyped") { + return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatSignature(conf)({label: formatExpr(conf)(v._1), separator: v._2, value: v._3}))); + } + if (v.tag === "ExprInfix") { + return Tidy$dHang.hangOps(formatHangingExpr(conf)(v._1))(Data$dFunctor.arrayMap(v1 => Tidy$dHang.$HangingOp( + 3, + formatParens(formatExpr)(conf)(v1._1), + formatHangingExpr(conf)(v1._2) + ))(v._2)); + } + if (v.tag === "ExprOp") { + return formatHangingOperatorTree(formatQualifiedName)(formatHangingExpr)(conf)(Tidy$dPrecedence.toOperatorTree(conf.operators)(v$1 => Tidy$dPrecedence.$QualifiedOperator( + v$1.module, + Tidy$dPrecedence.OperatorValue, + v$1.name + ))(v._1)(v._2)); + } + if (v.tag === "ExprOpName") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatToken(conf)(v._1.token))); } + if (v.tag === "ExprNegate") { + return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity))(formatToken(conf)(v._1))(formatExpr(conf)(v._2)))); + } + if (v.tag === "ExprRecordAccessor") { + return Tidy$dHang.$HangingDoc( + "HangBreak", + Tidy$dDoc.flexGroup(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity))(formatExpr(conf)(v._1.expr))(Tidy$dDoc.indent(foldMap3(Tidy$dDoc.anchor)([ + formatToken(conf)(v._1.dot), + formatToken(conf)(v._1.path.head.token), + foldMap3(v1 => Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity))((() => { + const $3 = formatToken(conf)(v1._1); + if ($3.leading.lines > 0) { + return { + doc: $3.doc, + isEmpty: $3.isEmpty, + leading: {doc: $3.leading.doc, left: $3.leading.left, lines: 0, multiline: $3.leading.multiline, right: $3.leading.right}, + multiline: true, + trailing: $3.trailing + }; + } + return $3; + })())((() => { + const $3 = formatToken(conf)(v1._2.token); + if ($3.leading.lines > 0) { + return { + doc: $3.doc, + isEmpty: $3.isEmpty, + leading: {doc: $3.leading.doc, left: $3.leading.left, lines: 0, multiline: $3.leading.multiline, right: $3.leading.right}, + multiline: true, + trailing: $3.trailing + }; + } + return $3; + })()))(v._1.path.tail) + ])))) + ); + } + if (v.tag === "ExprRecordUpdate") { + return Tidy$dHang.hang(formatExpr(conf)(v._1))(Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatBasicListNonEmpty(Grouped)(formatRecordUpdate)(conf)(v._2)))); + } + if (v.tag === "ExprApp") { return Tidy$dHang.hangApp(formatHangingExpr(conf)(v._1))(Data$dFunctor.arrayMap(formatHangingExpr(conf))(v._2)); } + if (v.tag === "ExprLambda") { + return Tidy$dHang.hang(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity))(formatToken(conf)(v._1.symbol))(Tidy$dDoc.alignCurrentColumn(Tidy$dDoc.flexGroup(Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, " "), + Dodo$dInternal.Break + )))))(x => { + const $3 = Tidy$dHang.toFormatDoc(formatHangingBinder(conf)(x)); + if ($3.leading.lines > 0) { + return { + doc: $3.doc, + isEmpty: $3.isEmpty, + leading: {doc: $3.leading.doc, left: $3.leading.left, lines: 0, multiline: $3.leading.multiline, right: $3.leading.right}, + multiline: true, + trailing: $3.trailing + }; + } + return $3; + })(v._1.binders)))))(Tidy$dDoc.indent((() => { + const $2 = formatToken(conf)(v._1.arrow); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; + })())))(formatHangingExpr(conf)(v._1.body)); + } + if (v.tag === "ExprIf") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatElseIfChain(conf)(toElseIfChain(v._1)))); } + if (v.tag === "ExprCase") { + return Tidy$dHang.hang(Tidy$dDoc.flexSpaceBreak(formatToken(conf)(v._1.keyword))(Tidy$dDoc.indent(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, " "), + Dodo$dInternal.Break + ))))(Data$dFoldable.foldlArray(doc => v1 => Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, " "), + Dodo$dInternal.Break + ))))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity))(doc)((() => { + const $4 = formatToken(conf)(v1._1); + if ($4.leading.lines > 0) { + return { + doc: $4.doc, + isEmpty: $4.isEmpty, + leading: {doc: $4.leading.doc, left: $4.leading.left, lines: 0, multiline: $4.leading.multiline, right: $4.leading.right}, + multiline: true, + trailing: $4.trailing + }; + } + return $4; + })()))(Tidy$dDoc.flexGroup(formatExpr(conf)(v1._2))))(Tidy$dDoc.flexGroup(formatExpr(conf)(v._1.head.head)))(v._1.head.tail))((() => { + const $2 = formatToken(conf)(v._1.of); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; + })()))))(Tidy$dHang.$HangingDoc( + "HangBreak", + Tidy$dDoc.flexGroup(Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break))))((() => { + const $2 = formatCaseBranch(conf); + return x => Tidy$dDoc.flexGroup($2(x)); + })())(v._1.branches)) + )); + } + if (v.tag === "ExprLet") { + return Tidy$dHang.$HangingDoc( + "HangBreak", + Tidy$dDoc.flexGroup(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, " "), + Dodo$dInternal.Break + ))))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("FlexAlt", Dodo$dInternal.$Doc("Text", 1, " "), Dodo$dInternal.Break))))(formatToken(conf)(v._1.keyword))(Tidy$dDoc.indent(formatLetGroups$lazy()(conf)(v._1.bindings))))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, " "), + Dodo$dInternal.Break + ))))(formatToken(conf)(v._1.in))(Tidy$dDoc.indent(Tidy$dDoc.flexGroup(formatExpr(conf)(v._1.body)))))) + ); + } + if (v.tag === "ExprDo") { + return Tidy$dHang.hang(formatToken(conf)(v._1.keyword))(Tidy$dHang.$HangingDoc( + "HangBreak", + Tidy$dDoc.flexGroup(Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break))))((() => { + const $2 = formatDoStatement(conf); + return x => Tidy$dDoc.flexGroup($2(x)); + })())(v._1.statements)) + )); + } + if (v.tag === "ExprAdo") { + return Tidy$dHang.hang(formatToken(conf)(v._1.keyword))(Tidy$dHang.$HangingDoc( + "HangBreak", + Tidy$dDoc.flexGroup(Tidy$dDoc.flexSpaceBreak(Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break))))(formatDoStatement(conf))(v._1.statements))(Tidy$dDoc.flexSpaceBreak(formatToken(conf)(v._1.in))(Tidy$dDoc.indent(formatExpr(conf)(v._1.result))))) + )); + } + if (v.tag === "ExprError") { return Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(conf.formatError(v._1))); } + $runtime.fail(); +}; +const formatGuardedExpr = conf => v => Tidy$dHang.hangWithIndent(x => Tidy$dDoc.align(2)(Tidy$dDoc.indent(x)))(Tidy$dHang.$HangingDoc( + "HangBreak", + Tidy$dDoc.flexGroup(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "Text", + 1, + " " + ))))(formatToken(conf)(v.bar))(Tidy$dDoc.flexGroup(Tidy$dDoc.softBreak(formatListElem(2)(formatPatternGuard)(conf)(v.patterns.head))(formatListTail(2)(formatPatternGuard)(conf)(v.patterns.tail)))))((() => { + const $2 = formatToken(conf)(v.separator); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; + })())) +))((() => { + if (v.where.bindings.tag === "Nothing") { return [formatHangingExpr(conf)(v.where.expr)]; } + if (v.where.bindings.tag === "Just") { + return [formatHangingExpr(conf)(v.where.expr), Tidy$dHang.$HangingDoc("HangBreak", Tidy$dDoc.flexGroup(formatWhere(conf)(v.where.bindings._1)))]; + } + $runtime.fail(); +})()); +const formatExpr = conf => x => Tidy$dHang.toFormatDoc(formatHangingExpr(conf)(x)); +const formatElseIfChain = conf => { + const $1 = Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, " "), + Dodo$dInternal.Break + )))))(v => { + if (v.tag === "IfThen") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(Tidy$dDoc.flexSpaceBreak(formatToken(conf)(v._1))(Tidy$dDoc.indent((() => { + const $2 = Tidy$dDoc.flexGroup(Tidy$dHang.toFormatDoc(formatHangingExpr(conf)(v._2))); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; + })())))(Tidy$dHang.toFormatDoc(Tidy$dHang.hang((() => { + const $2 = formatToken(conf)(v._3); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; + })())(formatHangingExpr(conf)(v._4)))); + } + if (v.tag === "ElseIfThen") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(Tidy$dDoc.flexSpaceBreak(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "Text", + 1, + " " + ))))(formatToken(conf)(v._1))(Tidy$dDoc.indent((() => { + const $2 = formatToken(conf)(v._2); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; + })())))(Tidy$dDoc.indent((() => { + const $2 = Tidy$dDoc.flexGroup(Tidy$dHang.toFormatDoc(formatHangingExpr(conf)(v._3))); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; + })())))(Tidy$dHang.toFormatDoc(Tidy$dHang.hang((() => { + const $2 = formatToken(conf)(v._4); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; + })())(formatHangingExpr(conf)(v._5)))); + } + if (v.tag === "Else") { return Tidy$dHang.toFormatDoc(Tidy$dHang.hang(formatToken(conf)(v._1))(formatHangingExpr(conf)(v._2))); } + $runtime.fail(); + }); + return x => Tidy$dDoc.flexGroup($1(x)); +}; +const formatDoStatement = conf => v => { + if (v.tag === "DoLet") { return Tidy$dDoc.flexSpaceBreak(formatToken(conf)(v._1))(Tidy$dDoc.indent(formatLetGroups$lazy()(conf)(v._2))); } + if (v.tag === "DoDiscard") { return Tidy$dHang.toFormatDoc(formatHangingExpr(conf)(v._1)); } + if (v.tag === "DoBind") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(Tidy$dDoc.flexGroup(Tidy$dHang.toFormatDoc(formatHangingBinder(conf)(v._1))))(Tidy$dHang.toFormatDoc(Tidy$dHang.hang(Tidy$dDoc.indent((() => { + const $2 = formatToken(conf)(v._2); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; + })()))(formatHangingExpr(conf)(v._3)))); + } + if (v.tag === "DoError") { return conf.formatError(v._1); } + $runtime.fail(); +}; +const formatCaseBranch = conf => v => { + const caseBinders = Tidy$dDoc.flexGroup(Data$dFoldable.foldlArray(doc => v1 => Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, " "), + Dodo$dInternal.Break + ))))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity))(doc)(Tidy$dDoc.indent((() => { + const $4 = formatToken(conf)(v1._1); + if ($4.leading.lines > 0) { + return { + doc: $4.doc, + isEmpty: $4.isEmpty, + leading: {doc: $4.leading.doc, left: $4.leading.left, lines: 0, multiline: $4.leading.multiline, right: $4.leading.right}, + multiline: true, + trailing: $4.trailing + }; + } + return $4; + })())))(Tidy$dDoc.flexGroup(Tidy$dHang.toFormatDoc(formatHangingBinder(conf)(v1._2)))))(Tidy$dDoc.flexGroup(Tidy$dHang.toFormatDoc(formatHangingBinder(conf)(v._1.head))))(v._1.tail)); + if (v._2.tag === "Unconditional") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "Text", + 1, + " " + ))))(caseBinders)(Tidy$dHang.toFormatDoc(Tidy$dHang.hang(formatToken(conf)(v._2._1))(formatHangingExpr(conf)(v._2._2.expr)))))(Tidy$dDoc.indent((() => { + if (v._2._2.bindings.tag === "Nothing") { return Tidy$dDoc.monoidFormatDoc.mempty; } + if (v._2._2.bindings.tag === "Just") { return formatWhere(conf)(v._2._2.bindings._1); } + $runtime.fail(); + })())); + } + if (v._2.tag === "Guarded") { + if (v._2._1.length === 1) { + return Tidy$dHang.toFormatDoc(Tidy$dHang.hang(caseBinders)(formatGuardedExpr(conf)((() => { + const $3 = Data$dArray.index(v._2._1)(0); + if ($3.tag === "Just") { return $3._1; } + $runtime.fail(); + })()))); + } + return Tidy$dDoc.flexSpaceBreak(caseBinders)(Tidy$dDoc.indent(Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break))))(x => Tidy$dHang.toFormatDoc(formatGuardedExpr(conf)(x)))(v._2._1))); + } + $runtime.fail(); +}; +const formatLetGroups$lazy = /* #__PURE__ */ $runtime.binding(() => formatDeclGroups(v => v1 => { + if (v1.tag === "DeclGroupValueSignature") { return DeclGroupHard; } + return DeclGroupSame; +})(v => { + if (v.tag === "LetBindingSignature") { return $DeclGroup("DeclGroupValueSignature", v._1.label.name); } + if (v.tag === "LetBindingName") { return $DeclGroup("DeclGroupValue", v._1.name.name); } + if (v.tag === "LetBindingPattern") { return DeclGroupUnknown; } + if (v.tag === "LetBindingError") { return DeclGroupUnknown; } + $runtime.fail(); +})(formatLetBinding)); +const formatLetGroups = /* #__PURE__ */ formatLetGroups$lazy(); +const formatInstanceBinding = conf => v => { + if (v.tag === "InstanceBindingSignature") { return formatSignature(conf)({label: formatToken(conf)(v._1.label.token), separator: v._1.separator, value: v._1.value}); } + if (v.tag === "InstanceBindingName") { return formatValueBinding(conf)(v._1); } + $runtime.fail(); +}; +const formatInstance = conf => v => { + if (v.body.tag === "Nothing") { return formatInstanceHead(conf)(Data$dTuple.$Tuple(v.head, Data$dMaybe.Nothing)); } + if (v.body.tag === "Just") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)))(formatInstanceHead(conf)(Data$dTuple.$Tuple( + v.head, + Data$dMaybe.$Maybe("Just", v.body._1._1) + )))(Tidy$dDoc.indent(Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break))))(formatInstanceBinding(conf))(v.body._1._2))); + } + $runtime.fail(); +}; +const formatDecl = conf => v => { + if (v.tag === "DeclData") { + if (v._2.tag === "Just") { + const formatDataElem = v1 => Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(formatToken(conf)(v1._1))(formatListElem(2)(formatDataCtor)(conf)(v1._2)); + if (v._2._1._2.tail.length === 0) { + return declareHanging(formatDataHead(conf)(v._1))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " ")))))((() => { + const $3 = formatToken(conf)(v._2._1._1); + if ($3.leading.lines > 0) { + return { + doc: $3.doc, + isEmpty: $3.isEmpty, + leading: {doc: $3.leading.doc, left: $3.leading.left, lines: 0, multiline: $3.leading.multiline, right: $3.leading.right}, + multiline: true, + trailing: $3.trailing + }; + } + return $3; + })())(formatHangingDataCtor(conf)(v._2._1._2.head)); + } + return Tidy$dDoc.flexSpaceBreak(formatDataHead(conf)(v._1))(Tidy$dDoc.indent(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, " "), + Dodo$dInternal.Break + ))))(formatDataElem(Data$dTuple.$Tuple(v._2._1._1, v._2._1._2.head)))(Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "FlexAlt", + Dodo$dInternal.$Doc("Text", 1, " "), + Dodo$dInternal.Break + )))))($3 => formatDataElem($3))(v._2._1._2.tail)))); + } + return formatDataHead(conf)(v._1); + } + if (v.tag === "DeclType") { + return declareHanging(formatDataHead(conf)(v._1))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " ")))))((() => { + const $2 = formatToken(conf)(v._2); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; + })())(formatHangingPolytype(identity)(conf)(toPolytype(v._3))); + } + if (v.tag === "DeclNewtype") { + return declareHanging(formatDataHead(conf)(v._1))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " ")))))((() => { + const $2 = formatToken(conf)(v._2); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; + })())(formatHangingDataCtor(conf)({name: v._3, fields: [v._4]})); + } + if (v.tag === "DeclRole") { + return flatten(Data$dSemigroup.concatArray([formatToken(conf)(v._1), formatToken(conf)(v._2), formatToken(conf)(v._3.token)])(Data$dFunctor.arrayMap(x => formatToken(conf)(x._1))(v._4))); + } + if (v.tag === "DeclFixity") { + if (v._1.operator.tag === "FixityValue") { + return flatten([ + formatToken(conf)(v._1.keyword._1), + formatToken(conf)(v._1.prec._1), + formatToken(conf)(v._1.operator._1.token), + formatToken(conf)(v._1.operator._2), + formatToken(conf)(v._1.operator._3.token) + ]); + } + if (v._1.operator.tag === "FixityType") { + return flatten([ + formatToken(conf)(v._1.keyword._1), + formatToken(conf)(v._1.prec._1), + formatToken(conf)(v._1.operator._1), + formatToken(conf)(v._1.operator._2.token), + formatToken(conf)(v._1.operator._3), + formatToken(conf)(v._1.operator._4.token) + ]); + } + $runtime.fail(); + } + if (v.tag === "DeclKindSignature") { + return formatSignature(conf)({label: flatten([formatToken(conf)(v._1), formatToken(conf)(v._2.label.token)]), separator: v._2.separator, value: v._2.value}); + } + if (v.tag === "DeclForeign") { + if (v._3.tag === "ForeignValue") { + return formatSignature(conf)({ + label: flatten([formatToken(conf)(v._1), formatToken(conf)(v._2), formatToken(conf)(v._3._1.label.token)]), + separator: v._3._1.separator, + value: v._3._1.value + }); + } + if (v._3.tag === "ForeignData") { + return formatSignature(conf)({ + label: flatten([formatToken(conf)(v._1), formatToken(conf)(v._2), formatToken(conf)(v._3._1), formatToken(conf)(v._3._2.label.token)]), + separator: v._3._2.separator, + value: v._3._2.value + }); + } + if (v._3.tag === "ForeignKind") { return flatten([formatToken(conf)(v._1), formatToken(conf)(v._2), formatToken(conf)(v._3._1), formatToken(conf)(v._3._2.token)]); } + $runtime.fail(); + } + if (v.tag === "DeclClass") { + if (v._2.tag === "Nothing") { return formatClassHead(conf)(Data$dTuple.$Tuple(v._1, Data$dMaybe.Nothing)); } + if (v._2.tag === "Just") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)))(formatClassHead(conf)(Data$dTuple.$Tuple( + v._1, + Data$dMaybe.$Maybe("Just", v._2._1._1) + )))(Tidy$dDoc.indent(Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break))))(x => formatSignature(conf)({ + label: formatToken(conf)(x.label.token), + separator: x.separator, + value: x.value + }))(v._2._1._2))); + } + $runtime.fail(); + } + if (v.tag === "DeclInstanceChain") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break)))(formatInstance(conf)(v._1.head))(Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break))))(v1 => Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "Text", + 1, + " " + ))))(formatToken(conf)(v1._1))((() => { + const $3 = formatInstance(conf)(v1._2); + if ($3.leading.lines > 0) { + return { + doc: $3.doc, + isEmpty: $3.isEmpty, + leading: {doc: $3.leading.doc, left: $3.leading.left, lines: 0, multiline: $3.leading.multiline, right: $3.leading.right}, + multiline: true, + trailing: $3.trailing + }; + } + return $3; + })()))(v._1.tail)); + } + if (v.tag === "DeclDerive") { + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc( + "Text", + 1, + " " + ))))(formatToken(conf)(v._1))((() => { + if (v._2.tag === "Nothing") { return Tidy$dDoc.monoidFormatDoc.mempty; } + if (v._2.tag === "Just") { + return Tidy$dDoc.indent((() => { + const $2 = formatToken(conf)(v._2._1); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; + })()); + } + $runtime.fail(); + })()))((() => { + const $2 = formatInstanceHead(conf)(Data$dTuple.$Tuple(v._3, Data$dMaybe.Nothing)); + if ($2.leading.lines > 0) { + return { + doc: $2.doc, + isEmpty: $2.isEmpty, + leading: {doc: $2.leading.doc, left: $2.leading.left, lines: 0, multiline: $2.leading.multiline, right: $2.leading.right}, + multiline: true, + trailing: $2.trailing + }; + } + return $2; + })()); + } + if (v.tag === "DeclSignature") { return formatSignature(conf)({label: flatten([formatToken(conf)(v._1.label.token)]), separator: v._1.separator, value: v._1.value}); } + if (v.tag === "DeclValue") { return formatValueBinding(conf)(v._1); } + if (v.tag === "DeclError") { return conf.formatError(v._1); } + $runtime.fail(); +}; +const formatTopLevelGroups = /* #__PURE__ */ formatDeclGroups(v => v1 => { + if (v1.tag === "DeclGroupValue") { + if (v.tag === "DeclGroupValue") { + if (v._1 === v1._1) { return DeclGroupSame; } + return DeclGroupSoft; + } + if (v.tag === "DeclGroupValueSignature") { + if (v._1 === v1._1) { return DeclGroupSame; } + return DeclGroupHard; + } + return DeclGroupSoft; + } + if (v1.tag === "DeclGroupValueSignature") { return DeclGroupHard; } + if (v1.tag === "DeclGroupType") { + if (v.tag === "DeclGroupType") { return DeclGroupSoft; } + if (v.tag === "DeclGroupTypeSignature") { + if (v._1 === v1._1) { return DeclGroupSame; } + return DeclGroupHard; + } + return DeclGroupSoft; + } + if (v.tag === "DeclGroupTypeSignature") { + if (v1.tag === "DeclGroupClass") { + if (v._1 === v1._1) { return DeclGroupSame; } + return DeclGroupHard; + } + if (v1.tag === "DeclGroupTypeSignature") { return DeclGroupHard; } + if (v1.tag === "DeclGroupInstance") { return DeclGroupHard; } + if (v1.tag === "DeclGroupFixity") { return DeclGroupHard; } + if (v1.tag === "DeclGroupForeign") { return DeclGroupHard; } + if (v1.tag === "DeclGroupRole") { return DeclGroupHard; } + return DeclGroupSoft; + } + if (v1.tag === "DeclGroupTypeSignature") { return DeclGroupHard; } + if (v1.tag === "DeclGroupClass") { + if (v.tag === "DeclGroupClass") { return DeclGroupSoft; } + return DeclGroupHard; + } + if (v1.tag === "DeclGroupInstance") { + if (v.tag === "DeclGroupInstance") { return DeclGroupSoft; } + return DeclGroupHard; + } + if (v1.tag === "DeclGroupFixity") { + if (v.tag === "DeclGroupFixity") { return DeclGroupSoft; } + return DeclGroupHard; + } + if (v1.tag === "DeclGroupForeign") { + if (v.tag === "DeclGroupForeign") { return DeclGroupSoft; } + return DeclGroupHard; + } + if (v1.tag === "DeclGroupRole") { + if (v.tag === "DeclGroupRole") { return DeclGroupSoft; } + return DeclGroupHard; + } + return DeclGroupSoft; +})(v => { + if (v.tag === "DeclData") { return $DeclGroup("DeclGroupType", v._1.name.name); } + if (v.tag === "DeclType") { return $DeclGroup("DeclGroupType", v._1.name.name); } + if (v.tag === "DeclNewtype") { return $DeclGroup("DeclGroupType", v._1.name.name); } + if (v.tag === "DeclClass") { return $DeclGroup("DeclGroupClass", v._1.name.name); } + if (v.tag === "DeclKindSignature") { return $DeclGroup("DeclGroupTypeSignature", v._2.label.name); } + if (v.tag === "DeclSignature") { return $DeclGroup("DeclGroupValueSignature", v._1.label.name); } + if (v.tag === "DeclValue") { return $DeclGroup("DeclGroupValue", v._1.name.name); } + if (v.tag === "DeclInstanceChain") { return DeclGroupInstance; } + if (v.tag === "DeclDerive") { return DeclGroupInstance; } + if (v.tag === "DeclFixity") { return DeclGroupFixity; } + if (v.tag === "DeclForeign") { return DeclGroupForeign; } + if (v.tag === "DeclRole") { return DeclGroupRole; } + if (v.tag === "DeclError") { return DeclGroupUnknown; } + $runtime.fail(); +})(formatDecl); +const formatModule = conf => v => { + const imports = (() => { + if (conf.importSort.tag === "ImportSortSource") { + return Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break))))(x => formatImportDecl(conf)(x))(v.header.imports); + } + if (conf.importSort.tag === "ImportSortIde") { + const v1 = Data$dArray.partition(v1 => { + if (v1.qualified.tag === "Nothing") { + if (v1.names.tag === "Nothing") { return true; } + if (v1.names.tag === "Just") { return v1.names._1._1.tag === "Just"; } + return false; + } + return false; + })(Data$dFunctor.arrayMap(Data$dTuple.snd)(Data$dArray.sortWith(ordImportModuleComparison)(Data$dTuple.fst)(Data$dFunctor.arrayMap(v1 => { + const qualName = (() => { + if (v1.qualified.tag === "Just") { return Data$dMaybe.$Maybe("Just", v1.qualified._1._2.name); } + return Data$dMaybe.Nothing; + })(); + if (v1.names.tag === "Just") { + const v2 = sortImportsIde(v1.names._1._2); + return Data$dTuple.$Tuple( + $ImportModuleComparison( + v1.module.name, + (() => { + if ( + (() => { + if (v1.names._1._1.tag === "Nothing") { return false; } + if (v1.names._1._1.tag === "Just") { return true; } + $runtime.fail(); + })() + ) { + return 3; + } + return 1; + })(), + v2._1, + qualName + ), + {keyword: v1.keyword, module: v1.module, names: Data$dMaybe.$Maybe("Just", Data$dTuple.$Tuple(v1.names._1._1, v2._2)), qualified: v1.qualified} + ); + } + if (v1.names.tag === "Nothing") { return Data$dTuple.$Tuple($ImportModuleComparison(v1.module.name, 2, [], qualName), v1); } + $runtime.fail(); + })(v.header.imports)))); + return Tidy$dDoc.joinDoc(Tidy$dDoc.force(Tidy$dDoc.identity))(Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break))))(x => Tidy$dDoc.flattenMax(0)(formatImportDecl(conf)(x)))(v1.yes))(Tidy$dDoc.forceMinSourceBreaks(2)(Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break))))(x => Tidy$dDoc.flattenMax(0)(formatImportDecl(conf)(x)))(v1.no))); + } + $runtime.fail(); + })(); + return Tidy$dDoc.joinWithMap(Data$dFoldable.foldableArray)(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.Break))))(Tidy$dDoc.identity)([ + Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))((() => { + const $3 = formatToken(conf)(v.header.keyword); + if ($3.leading.lines > 0) { + return { + doc: $3.doc, + isEmpty: $3.isEmpty, + leading: {doc: $3.leading.doc, left: $3.leading.left, lines: 0, multiline: $3.leading.multiline, right: $3.leading.right}, + multiline: true, + trailing: $3.trailing + }; + } + return $3; + })())(Tidy$dDoc.indent(Tidy$dDoc.joinDoc(Tidy$dDoc.force(Dodo$dInternal.semigroupDoc.append(Dodo$dInternal.$Doc("Text", 1, " "))))(Tidy$dDoc.flexSpaceBreak((() => { + const $3 = formatToken(conf)(v.header.name.token); + if ($3.leading.lines > 0) { + return { + doc: $3.doc, + isEmpty: $3.isEmpty, + leading: {doc: $3.leading.doc, left: $3.leading.left, lines: 0, multiline: $3.leading.multiline, right: $3.leading.right}, + multiline: true, + trailing: $3.trailing + }; + } + return $3; + })())((() => { + const $3 = (() => { + if (v.header.exports.tag === "Nothing") { return Tidy$dDoc.monoidFormatDoc.mempty; } + if (v.header.exports.tag === "Just") { return formatDelimitedNonEmpty(Tidy$dDoc.softSpace)(Tidy$dDoc.softBreak)(2)(NotGrouped)(formatExport)(conf)(v.header.exports._1); } + $runtime.fail(); + })(); + if ($3.leading.lines > 0) { + return { + doc: $3.doc, + isEmpty: $3.isEmpty, + leading: {doc: $3.leading.doc, left: $3.leading.left, lines: 0, multiline: $3.leading.multiline, right: $3.leading.right}, + multiline: true, + trailing: $3.trailing + }; + } + return $3; + })()))((() => { + const $3 = formatToken(conf)(v.header.where); + if ($3.leading.lines > 0) { + return { + doc: $3.doc, + isEmpty: $3.isEmpty, + leading: {doc: $3.leading.doc, left: $3.leading.left, lines: 0, multiline: $3.leading.multiline, right: $3.leading.right}, + multiline: true, + trailing: $3.trailing + }; + } + return $3; + })()))), + Tidy$dDoc.forceMinSourceBreaks(2)((() => { + if (conf.importWrap.tag === "ImportWrapAuto") { return imports; } + if (conf.importWrap.tag === "ImportWrapSource") { + return Tidy$dDoc.locally(v1 => ( + {indent: v1.indent, indentSpaces: v1.indentSpaces, indentUnit: v1.indentUnit, indentWidth: v1.indentWidth, pageWidth: 2147483647, ribbonRatio: 1.0} + ))(imports); + } + $runtime.fail(); + })()), + Tidy$dDoc.forceMinSourceBreaks(2)(formatTopLevelGroups(conf)(v.body.decls)), + Data$dFoldable.foldrArray(formatComment(Tidy$dDoc.leadingLineComment)(Tidy$dDoc.leadingBlockComment))(Tidy$dDoc.monoidFormatDoc.mempty)(v.body.trailingComments) + ]); +}; +export { + $DeclGroup, + $DeclGroupSeparator, + $ElseIfChain, + $FormatGrouped, + $ImportComparison, + $ImportModuleComparison, + $ImportSortOption, + $ImportWrapOption, + $Poly, + $TypeArrowOption, + DeclGroupClass, + DeclGroupFixity, + DeclGroupForeign, + DeclGroupHard, + DeclGroupInstance, + DeclGroupRole, + DeclGroupSame, + DeclGroupSoft, + DeclGroupType, + DeclGroupTypeSignature, + DeclGroupUnknown, + DeclGroupValue, + DeclGroupValueSignature, + Else, + ElseIfThen, + Grouped, + IfThen, + ImportClassCmp, + ImportErrorCmp, + ImportModuleCmp, + ImportOpCmp, + ImportSortIde, + ImportSortSource, + ImportTypeCmp, + ImportTypeOpCmp, + ImportValueCmp, + ImportWrapAuto, + ImportWrapSource, + NotGrouped, + PolyArrow, + PolyForall, + TypeArrowFirst, + TypeArrowLast, + compare3, + compare7, + compare8, + declareHanging, + defaultFormatOptions, + eq10, + eq5, + eqImportComparison, + eqImportModuleComparison, + eqImportSortOpion, + eqImportWrapOption, + eqTypeArrowOption, + flatten, + foldMap2, + foldMap3, + formatBasicList, + formatBasicListNonEmpty, + formatBinder, + formatCaseBranch, + formatClassHead, + formatComment, + formatConstraints, + formatDataCtor, + formatDataHead, + formatDataMembers, + formatDecl, + formatDeclGroups, + formatDelimited, + formatDelimitedNonEmpty, + formatDoStatement, + formatElseIfChain, + formatEmptyList, + formatError, + formatErrorRecoveredError, + formatErrorVoid, + formatExport, + formatExpr, + formatFundep, + formatGuardedExpr, + formatHangingBinder, + formatHangingDataCtor, + formatHangingExpr, + formatHangingMonotype, + formatHangingOperatorTree, + formatHangingPolytype, + formatHangingType, + formatImport, + formatImportDecl, + formatInstance, + formatInstanceBinding, + formatInstanceHead, + formatKindedTypeVarBinding, + formatLetBinding, + formatLetGroups, + formatList, + formatListElem, + formatListTail, + formatModule, + formatMonotype, + formatName, + formatOneOrDelimited, + formatParens, + formatParensBlock, + formatPatternGuard, + formatQualifiedName, + formatRawString, + formatRecordLabeled, + formatRecordUpdate, + formatRow, + formatRowLabeled, + formatSignature, + formatString, + formatToken, + formatTopLevelGroups, + formatType, + formatTypeVarBinding, + formatValueBinding, + formatWhere, + formatWithComments, + identity, + intercalate, + lines, + max, + ordImportComparison, + ordImportModuleComparison, + power, + power1, + sortImportsIde, + toElseIfChain, + toPolytype +}; diff --git a/.storybook/purescript-indexer/output-es/Type.Data.Boolean/index.js b/.storybook/purescript-indexer/output-es/Type.Data.Boolean/index.js new file mode 100644 index 0000000..2fa9640 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Type.Data.Boolean/index.js @@ -0,0 +1,22 @@ +import * as $runtime from "../runtime.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +const reflectBoolean = dict => dict.reflectBoolean; +const orTrue = {}; +const orFalse = {}; +const or = () => v => v1 => Type$dProxy.Proxy; +const notTrue = {}; +const notFalse = {}; +const not = () => v => Type$dProxy.Proxy; +const isBooleanTrue = {reflectBoolean: v => true}; +const isBooleanFalse = {reflectBoolean: v => false}; +const reifyBoolean = v => v1 => { + if (v) { return v1(isBooleanTrue)(Type$dProxy.Proxy); } + return v1(isBooleanFalse)(Type$dProxy.Proxy); +}; +const if_ = () => v => v1 => v2 => Type$dProxy.Proxy; +const ifTrue = {}; +const ifFalse = {}; +const andTrue = {}; +const andFalse = {}; +const and = () => v => v1 => Type$dProxy.Proxy; +export {and, andFalse, andTrue, ifFalse, ifTrue, if_, isBooleanFalse, isBooleanTrue, not, notFalse, notTrue, or, orFalse, orTrue, reflectBoolean, reifyBoolean}; diff --git a/.storybook/purescript-indexer/output-es/Type.Data.Ordering/index.js b/.storybook/purescript-indexer/output-es/Type.Data.Ordering/index.js new file mode 100644 index 0000000..ac4918f --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Type.Data.Ordering/index.js @@ -0,0 +1,56 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dOrdering from "../Data.Ordering/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +const reflectOrdering = dict => dict.reflectOrdering; +const isOrderingLT = {reflectOrdering: v => Data$dOrdering.LT}; +const isOrderingGT = {reflectOrdering: v => Data$dOrdering.GT}; +const isOrderingEQ = {reflectOrdering: v => Data$dOrdering.EQ}; +const reifyOrdering = v => v1 => { + if (v.tag === "LT") { return v1(isOrderingLT)(Type$dProxy.Proxy); } + if (v.tag === "EQ") { return v1(isOrderingEQ)(Type$dProxy.Proxy); } + if (v.tag === "GT") { return v1(isOrderingGT)(Type$dProxy.Proxy); } + $runtime.fail(); +}; +const invertOrderingLT = {}; +const invertOrderingGT = {}; +const invertOrderingEQ = {}; +const invert = () => v => Type$dProxy.Proxy; +const equalsLTLT = {}; +const equalsLTGT = {}; +const equalsLTEQ = {}; +const equalsGTLT = {}; +const equalsGTGT = {}; +const equalsGTEQ = {}; +const equalsEQLT = {}; +const equalsEQGT = {}; +const equalsEQEQ = {}; +const equals = () => v => v1 => Type$dProxy.Proxy; +const appendOrderingLT = {}; +const appendOrderingGT = {}; +const appendOrderingEQ = {}; +const append = () => v => v1 => Type$dProxy.Proxy; +export { + append, + appendOrderingEQ, + appendOrderingGT, + appendOrderingLT, + equals, + equalsEQEQ, + equalsEQGT, + equalsEQLT, + equalsGTEQ, + equalsGTGT, + equalsGTLT, + equalsLTEQ, + equalsLTGT, + equalsLTLT, + invert, + invertOrderingEQ, + invertOrderingGT, + invertOrderingLT, + isOrderingEQ, + isOrderingGT, + isOrderingLT, + reflectOrdering, + reifyOrdering +}; diff --git a/.storybook/purescript-indexer/output-es/Type.Data.Symbol/index.js b/.storybook/purescript-indexer/output-es/Type.Data.Symbol/index.js new file mode 100644 index 0000000..66ca109 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Type.Data.Symbol/index.js @@ -0,0 +1,8 @@ +import * as $runtime from "../runtime.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +const uncons = () => v => ({head: Type$dProxy.Proxy, tail: Type$dProxy.Proxy}); +const equalsSymbol = () => () => ({}); +const equals = () => v => v1 => Type$dProxy.Proxy; +const compare = () => v => v1 => Type$dProxy.Proxy; +const append = () => v => v1 => Type$dProxy.Proxy; +export {append, compare, equals, equalsSymbol, uncons}; diff --git a/.storybook/purescript-indexer/output-es/Type.Equality/index.js b/.storybook/purescript-indexer/output-es/Type.Equality/index.js new file mode 100644 index 0000000..be150c4 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Type.Equality/index.js @@ -0,0 +1,6 @@ +import * as $runtime from "../runtime.js"; +const refl = {proof: a => a, Coercible0: () => undefined}; +const proof = dict => dict.proof; +const to = dictTypeEquals => dictTypeEquals.proof(a => a); +const from = dictTypeEquals => dictTypeEquals.proof(a => a); +export {from, proof, refl, to}; diff --git a/.storybook/purescript-indexer/output-es/Type.Function/index.js b/.storybook/purescript-indexer/output-es/Type.Function/index.js new file mode 100644 index 0000000..2d3a7c9 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Type.Function/index.js @@ -0,0 +1,2 @@ +import * as $runtime from "../runtime.js"; +export {}; diff --git a/.storybook/purescript-indexer/output-es/Type.Prelude/index.js b/.storybook/purescript-indexer/output-es/Type.Prelude/index.js new file mode 100644 index 0000000..2d3a7c9 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Type.Prelude/index.js @@ -0,0 +1,2 @@ +import * as $runtime from "../runtime.js"; +export {}; diff --git a/.storybook/purescript-indexer/output-es/Type.Proxy/index.js b/.storybook/purescript-indexer/output-es/Type.Proxy/index.js new file mode 100644 index 0000000..dd9a69f --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Type.Proxy/index.js @@ -0,0 +1,52 @@ +// | The `Proxy` type and values are for situations where type information is +// | required for an input to determine the type of an output, but where it is +// | not possible or convenient to provide a _value_ for the input. +// | +// | A hypothetical example: if you have a class that is used to handle the +// | result of an AJAX request, you may want to use this information to set the +// | expected content type of the request, so you might have a class something +// | like this: +// | +// | ``` purescript +// | class AjaxResponse a where +// | responseType :: a -> ResponseType +// | fromResponse :: Foreign -> a +// | ``` +// | +// | The problem here is `responseType` requires a value of type `a`, but we +// | won't have a value of that type until the request has been completed. The +// | solution is to use a `Proxy` type instead: +// | +// | ``` purescript +// | class AjaxResponse a where +// | responseType :: Proxy a -> ResponseType +// | fromResponse :: Foreign -> a +// | ``` +// | +// | We can now call `responseType (Proxy :: Proxy SomeContentType)` to produce +// | a `ResponseType` for `SomeContentType` without having to construct some +// | empty version of `SomeContentType` first. In situations like this where +// | the `Proxy` type can be statically determined, it is recommended to pull +// | out the definition to the top level and make a declaration like: +// | +// | ``` purescript +// | _SomeContentType :: Proxy SomeContentType +// | _SomeContentType = Proxy +// | ``` +// | +// | That way the proxy value can be used as `responseType _SomeContentType` +// | for improved readability. However, this is not always possible, sometimes +// | the type required will be determined by a type variable. As PureScript has +// | scoped type variables, we can do things like this: +// | +// | ``` purescript +// | makeRequest :: URL -> ResponseType -> Aff _ Foreign +// | makeRequest = ... +// | +// | fetchData :: forall a. (AjaxResponse a) => URL -> Aff _ a +// | fetchData url = fromResponse <$> makeRequest url (responseType (Proxy :: Proxy a)) +// | ``` +import * as $runtime from "../runtime.js"; +const $Proxy = () => ({tag: "Proxy"}); +const $$Proxy = /* #__PURE__ */ $Proxy(); +export {$Proxy, $$Proxy as Proxy}; diff --git a/.storybook/purescript-indexer/output-es/Type.Row.Homogeneous/index.js b/.storybook/purescript-indexer/output-es/Type.Row.Homogeneous/index.js new file mode 100644 index 0000000..d9e4690 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Type.Row.Homogeneous/index.js @@ -0,0 +1,5 @@ +import * as $runtime from "../runtime.js"; +const homogeneousRowListNil = {}; +const homogeneousRowListCons = () => dictTypeEquals => ({}); +const homogeneous = () => () => ({}); +export {homogeneous, homogeneousRowListCons, homogeneousRowListNil}; diff --git a/.storybook/purescript-indexer/output-es/Type.Row/index.js b/.storybook/purescript-indexer/output-es/Type.Row/index.js new file mode 100644 index 0000000..2d3a7c9 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Type.Row/index.js @@ -0,0 +1,2 @@ +import * as $runtime from "../runtime.js"; +export {}; diff --git a/.storybook/purescript-indexer/output-es/Type.RowList/index.js b/.storybook/purescript-indexer/output-es/Type.RowList/index.js new file mode 100644 index 0000000..97373aa --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Type.RowList/index.js @@ -0,0 +1,11 @@ +import * as $runtime from "../runtime.js"; +const rowListSetImpl = dictTypeEquals => dictTypeEquals1 => () => ({}); +const rowListRemoveNil = {}; +const rowListRemoveCons = () => () => () => ({}); +const rowListNubNil = {}; +const rowListNubCons = dictTypeEquals => dictTypeEquals1 => dictTypeEquals2 => () => () => ({}); +const rowListAppendNil = dictTypeEquals => ({}); +const rowListAppendCons = () => dictTypeEquals => ({}); +const listToRowNil = {}; +const listToRowCons = () => () => ({}); +export {listToRowCons, listToRowNil, rowListAppendCons, rowListAppendNil, rowListNubCons, rowListNubNil, rowListRemoveCons, rowListRemoveNil, rowListSetImpl}; diff --git a/.storybook/purescript-indexer/output-es/Unsafe.Coerce/foreign.js b/.storybook/purescript-indexer/output-es/Unsafe.Coerce/foreign.js new file mode 100644 index 0000000..6c7317a --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Unsafe.Coerce/foreign.js @@ -0,0 +1,5 @@ +// module Unsafe.Coerce + +export const unsafeCoerce = function (x) { + return x; +}; diff --git a/.storybook/purescript-indexer/output-es/Unsafe.Coerce/index.js b/.storybook/purescript-indexer/output-es/Unsafe.Coerce/index.js new file mode 100644 index 0000000..33219c7 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Unsafe.Coerce/index.js @@ -0,0 +1,4 @@ +import * as $runtime from "../runtime.js"; +import {unsafeCoerce} from "./foreign.js"; +export {}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/Yoga.JSON.Error/index.js b/.storybook/purescript-indexer/output-es/Yoga.JSON.Error/index.js new file mode 100644 index 0000000..18a03c2 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Yoga.JSON.Error/index.js @@ -0,0 +1,63 @@ +import * as $runtime from "../runtime.js"; +import * as Data$dShow from "../Data.Show/index.js"; +const toJSONPath = fe => { + const go = v => { + if (v.tag === "ForeignError") { return ""; } + if (v.tag === "TypeMismatch") { return ""; } + if (v.tag === "ErrorAtIndex") { return "[" + (Data$dShow.showIntImpl(v._1) + ("]" + go(v._2))); } + if (v.tag === "ErrorAtProperty") { + if (v._2.tag === "TypeMismatch") { + if (v._2._2 === "undefined") { return ""; } + return "." + (v._1 + go(v._2)); + } + return "." + (v._1 + go(v._2)); + } + $runtime.fail(); + }; + return "$" + go(fe); +}; +const errorToJSON = err => { + const path = toJSONPath(err); + const go = go$a0$copy => { + let go$a0 = go$a0$copy, go$c = true, go$r; + while (go$c) { + const v = go$a0; + if (v.tag === "ForeignError") { + go$c = false; + go$r = {path: path, message: v._1}; + continue; + } + if (v.tag === "TypeMismatch") { + if (v._2 === "Undefined") { + go$c = false; + go$r = {path: path, message: "Must provide a value of type '" + (v._1 + "'")}; + continue; + } + if (v._2 === "undefined") { + go$c = false; + go$r = {path: path, message: "Must provide a value of type '" + (v._1 + "'")}; + continue; + } + go$c = false; + go$r = {path: path, message: "Must provide a value of type '" + (v._1 + ("' instead of '" + (v._2 + "'")))}; + continue; + } + if (v.tag === "ErrorAtIndex") { + go$a0 = v._2; + continue; + } + if (v.tag === "ErrorAtProperty") { + go$a0 = v._2; + continue; + } + $runtime.fail(); + }; + return go$r; + }; + return go(err); +}; +const renderHumanError = x => { + const $1 = errorToJSON(x); + return $1.message + (" at " + $1.path); +}; +export {errorToJSON, renderHumanError, toJSONPath}; diff --git a/.storybook/purescript-indexer/output-es/Yoga.JSON.Generics.EnumSumRep/index.js b/.storybook/purescript-indexer/output-es/Yoga.JSON.Generics.EnumSumRep/index.js new file mode 100644 index 0000000..2e305ee --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Yoga.JSON.Generics.EnumSumRep/index.js @@ -0,0 +1,72 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dExcept$dTrans from "../Control.Monad.Except.Trans/index.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dGeneric$dRep from "../Data.Generic.Rep/index.js"; +import * as Data$dIdentity from "../Data.Identity/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dNonEmpty from "../Data.NonEmpty/index.js"; +import * as Foreign from "../Foreign/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +import * as Yoga$dJSON from "../Yoga.JSON/index.js"; +const bind = /* #__PURE__ */ (() => Control$dMonad$dExcept$dTrans.bindExceptT(Data$dIdentity.monadIdentity).bind)(); +const pure = /* #__PURE__ */ (() => Control$dMonad$dExcept$dTrans.applicativeExceptT(Data$dIdentity.monadIdentity).pure)(); +const fail = /* #__PURE__ */ (() => { + const $0 = Control$dMonad$dExcept$dTrans.monadThrowExceptT(Data$dIdentity.monadIdentity).throwError; + return x => $0(Data$dNonEmpty.$NonEmpty(x, Data$dList$dTypes.Nil)); +})(); +const alt = /* #__PURE__ */ (() => Control$dMonad$dExcept$dTrans.altExceptT(Data$dList$dTypes.semigroupNonEmptyList)(Data$dIdentity.monadIdentity).alt)(); +const genericEnumSumRepConstruc = dictIsSymbol => ( + { + genericEnumReadForeign: options => f => { + const name = dictIsSymbol.reflectSymbol(Type$dProxy.Proxy); + return bind(Yoga$dJSON.readString(f))(s => { + if (s === options.toConstructorName(name)) { return pure(Data$dGeneric$dRep.NoArguments); } + return fail(Foreign.$ForeignError("ForeignError", "Enum string " + (s + (" did not match expected string " + options.toConstructorName(name))))); + }); + }, + genericEnumWriteForeign: options => v => options.toConstructorName(dictIsSymbol.reflectSymbol(Type$dProxy.Proxy)) + } +); +const genericEnumWriteForeign = dict => dict.genericEnumWriteForeign; +const genericWriteForeignEnum = dictGeneric => dictGenericEnumSumRep => options => a => dictGenericEnumSumRep.genericEnumWriteForeign(options)(dictGeneric.from(a)); +const genericEnumReadForeign = dict => dict.genericEnumReadForeign; +const genericReadForeignEnum = dictGeneric => dictGenericEnumSumRep => options => f => { + const $4 = dictGenericEnumSumRep.genericEnumReadForeign(options)(f); + if ($4.tag === "Left") { return Data$dEither.$Either("Left", $4._1); } + if ($4.tag === "Right") { return Data$dEither.$Either("Right", dictGeneric.to($4._1)); } + $runtime.fail(); +}; +const genericEnumSumRepSum = dictGenericEnumSumRep => dictGenericEnumSumRep1 => ( + { + genericEnumReadForeign: options => f => alt((() => { + const $4 = dictGenericEnumSumRep.genericEnumReadForeign(options)(f); + if ($4.tag === "Left") { return Data$dEither.$Either("Left", $4._1); } + if ($4.tag === "Right") { return Data$dEither.$Either("Right", Data$dGeneric$dRep.$Sum("Inl", $4._1)); } + $runtime.fail(); + })())((() => { + const $4 = dictGenericEnumSumRep1.genericEnumReadForeign(options)(f); + if ($4.tag === "Left") { return Data$dEither.$Either("Left", $4._1); } + if ($4.tag === "Right") { return Data$dEither.$Either("Right", Data$dGeneric$dRep.$Sum("Inr", $4._1)); } + $runtime.fail(); + })()), + genericEnumWriteForeign: options => v => { + if (v.tag === "Inl") { return dictGenericEnumSumRep.genericEnumWriteForeign(options)(v._1); } + if (v.tag === "Inr") { return dictGenericEnumSumRep1.genericEnumWriteForeign(options)(v._1); } + $runtime.fail(); + } + } +); +const defaultOptions = {toConstructorName: x => x}; +export { + alt, + bind, + defaultOptions, + fail, + genericEnumReadForeign, + genericEnumSumRepConstruc, + genericEnumSumRepSum, + genericEnumWriteForeign, + genericReadForeignEnum, + genericWriteForeignEnum, + pure +}; diff --git a/.storybook/purescript-indexer/output-es/Yoga.JSON.Generics.TaggedSumRep/index.js b/.storybook/purescript-indexer/output-es/Yoga.JSON.Generics.TaggedSumRep/index.js new file mode 100644 index 0000000..9a444d5 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Yoga.JSON.Generics.TaggedSumRep/index.js @@ -0,0 +1,150 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dExcept$dTrans from "../Control.Monad.Except.Trans/index.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dGeneric$dRep from "../Data.Generic.Rep/index.js"; +import * as Data$dIdentity from "../Data.Identity/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dNonEmpty from "../Data.NonEmpty/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Foreign from "../Foreign/index.js"; +import * as Foreign$dObject from "../Foreign.Object/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +import * as Yoga$dJSON from "../Yoga.JSON/index.js"; +const bind = /* #__PURE__ */ (() => Control$dMonad$dExcept$dTrans.bindExceptT(Data$dIdentity.monadIdentity).bind)(); +const read$p = /* #__PURE__ */ (() => Yoga$dJSON.readForeignObject(Yoga$dJSON.readForeignForeign).readImpl)(); +const fail = /* #__PURE__ */ (() => { + const $0 = Control$dMonad$dExcept$dTrans.monadThrowExceptT(Data$dIdentity.monadIdentity).throwError; + return x => $0(Data$dNonEmpty.$NonEmpty(x, Data$dList$dTypes.Nil)); +})(); +const pure = /* #__PURE__ */ (() => Control$dMonad$dExcept$dTrans.applicativeExceptT(Data$dIdentity.monadIdentity).pure)(); +const fromFoldable = /* #__PURE__ */ Foreign$dObject.fromFoldable(Data$dFoldable.foldableArray); +const alt = /* #__PURE__ */ (() => Control$dMonad$dExcept$dTrans.altExceptT(Data$dList$dTypes.semigroupNonEmptyList)(Data$dIdentity.monadIdentity).alt)(); +const writeGenericTaggedSumRepN = {genericWriteForeignTaggedSumRep: v => v1 => Yoga$dJSON._undefined}; +const writeGenericTaggedSumRepA = dictWriteForeign => ({genericWriteForeignTaggedSumRep: v => v1 => dictWriteForeign.writeImpl(v1)}); +const readGenericTaggedSumRepCo = dictIsSymbol => ( + { + genericReadForeignTaggedSumRep: v => f => { + const name = v.toConstructorName(dictIsSymbol.reflectSymbol(Type$dProxy.Proxy)); + return bind(read$p(f))(v1 => bind((() => { + const $5 = fail(Foreign.$ForeignError("ErrorAtProperty", v.typeTag, Foreign.$ForeignError("ForeignError", "Missing type tag: " + v.typeTag))); + const $6 = Foreign$dObject._lookup(Data$dMaybe.Nothing, Data$dMaybe.Just, v.typeTag, v1); + if ($6.tag === "Nothing") { return $5; } + if ($6.tag === "Just") { return pure($6._1); } + $runtime.fail(); + })())(typeFgn => bind(Yoga$dJSON.readString(typeFgn))(typeStr => { + if (typeStr === name) { + return Control$dMonad$dExcept$dTrans.withExceptT(Data$dIdentity.functorIdentity)(Data$dList$dTypes.functorNonEmptyList.map(Foreign.ErrorAtProperty(name)))(pure(Data$dGeneric$dRep.NoArguments)); + } + return fail(Foreign.$ForeignError("ForeignError", "Wrong type tag " + (typeStr + (" where " + (v.typeTag + " was expected."))))); + }))); + } + } +); +const readGenericTaggedSumRepAr = dictReadForeign => ( + { + genericReadForeignTaggedSumRep: v => f => { + const $3 = dictReadForeign.readImpl(f); + if ($3.tag === "Left") { return Data$dEither.$Either("Left", $3._1); } + if ($3.tag === "Right") { return Data$dEither.$Either("Right", $3._1); } + $runtime.fail(); + } + } +); +const genericWriteForeignTaggedSumRep = dict => dict.genericWriteForeignTaggedSumRep; +const writeGenericTaggedSumRepC = dictWriteGenericTaggedSumRep => dictIsSymbol => ( + { + genericWriteForeignTaggedSumRep: v => v1 => Foreign$dObject._mapWithKey( + fromFoldable([ + Data$dTuple.$Tuple(v.typeTag, v.toConstructorName(dictIsSymbol.reflectSymbol(Type$dProxy.Proxy))), + Data$dTuple.$Tuple(v.valueTag, dictWriteGenericTaggedSumRep.genericWriteForeignTaggedSumRep(v)(v1)) + ]), + v$1 => Yoga$dJSON.writeForeignForeign.writeImpl + ) + } +); +const writeGenericTaggedSumRepS = dictWriteGenericTaggedSumRep => dictWriteGenericTaggedSumRep1 => ( + { + genericWriteForeignTaggedSumRep: options => v => { + if (v.tag === "Inl") { return dictWriteGenericTaggedSumRep.genericWriteForeignTaggedSumRep(options)(v._1); } + if (v.tag === "Inr") { return dictWriteGenericTaggedSumRep1.genericWriteForeignTaggedSumRep(options)(v._1); } + $runtime.fail(); + } + } +); +const genericWriteForeignTaggedSum = dictGeneric => dictWriteGenericTaggedSumRep => options => r => dictWriteGenericTaggedSumRep.genericWriteForeignTaggedSumRep(options)(dictGeneric.from(r)); +const genericReadForeignTaggedSumRep = dict => dict.genericReadForeignTaggedSumRep; +const readGenericTaggedSumRepCo1 = dictReadGenericTaggedSumRep => dictIsSymbol => ( + { + genericReadForeignTaggedSumRep: v => f => { + const name = v.toConstructorName(dictIsSymbol.reflectSymbol(Type$dProxy.Proxy)); + return bind(read$p(f))(v1 => bind((() => { + const $6 = fail(Foreign.$ForeignError("ErrorAtProperty", v.typeTag, Foreign.$ForeignError("ForeignError", "Missing type tag: " + v.typeTag))); + const $7 = Foreign$dObject._lookup(Data$dMaybe.Nothing, Data$dMaybe.Just, v.typeTag, v1); + if ($7.tag === "Nothing") { return $6; } + if ($7.tag === "Just") { return pure($7._1); } + $runtime.fail(); + })())(typeFgn => bind(Yoga$dJSON.readString(typeFgn))(typeStr => bind((() => { + const $8 = fail(Foreign.$ForeignError("ErrorAtProperty", v.valueTag, Foreign.$ForeignError("ForeignError", "Missing value tag: " + v.valueTag))); + const $9 = Foreign$dObject._lookup(Data$dMaybe.Nothing, Data$dMaybe.Just, v.valueTag, v1); + if ($9.tag === "Nothing") { return $8; } + if ($9.tag === "Just") { return pure($9._1); } + $runtime.fail(); + })())(value => { + if (typeStr === name) { + return Control$dMonad$dExcept$dTrans.withExceptT(Data$dIdentity.functorIdentity)(Data$dList$dTypes.functorNonEmptyList.map(Foreign.ErrorAtProperty(name)))((() => { + const $9 = dictReadGenericTaggedSumRep.genericReadForeignTaggedSumRep(v)(value); + if ($9.tag === "Left") { return Data$dEither.$Either("Left", $9._1); } + if ($9.tag === "Right") { return Data$dEither.$Either("Right", $9._1); } + $runtime.fail(); + })()); + } + return fail(Foreign.$ForeignError("ForeignError", "Wrong constructor name tag " + (typeStr + (" where " + (name + " was expected."))))); + })))); + } + } +); +const readGenericTaggedSumRepSu = dictReadGenericTaggedSumRep => dictReadGenericTaggedSumRep1 => ( + { + genericReadForeignTaggedSumRep: options => f => alt((() => { + const $4 = dictReadGenericTaggedSumRep.genericReadForeignTaggedSumRep(options)(f); + if ($4.tag === "Left") { return Data$dEither.$Either("Left", $4._1); } + if ($4.tag === "Right") { return Data$dEither.$Either("Right", Data$dGeneric$dRep.$Sum("Inl", $4._1)); } + $runtime.fail(); + })())((() => { + const $4 = dictReadGenericTaggedSumRep1.genericReadForeignTaggedSumRep(options)(f); + if ($4.tag === "Left") { return Data$dEither.$Either("Left", $4._1); } + if ($4.tag === "Right") { return Data$dEither.$Either("Right", Data$dGeneric$dRep.$Sum("Inr", $4._1)); } + $runtime.fail(); + })()) + } +); +const genericReadForeignTaggedSum = dictGeneric => dictReadGenericTaggedSumRep => options => f => { + const $4 = dictReadGenericTaggedSumRep.genericReadForeignTaggedSumRep(options)(f); + if ($4.tag === "Left") { return Data$dEither.$Either("Left", $4._1); } + if ($4.tag === "Right") { return Data$dEither.$Either("Right", dictGeneric.to($4._1)); } + $runtime.fail(); +}; +const defaultOptions = {typeTag: "type", valueTag: "value", toConstructorName: x => x}; +export { + alt, + bind, + defaultOptions, + fail, + fromFoldable, + genericReadForeignTaggedSum, + genericReadForeignTaggedSumRep, + genericWriteForeignTaggedSum, + genericWriteForeignTaggedSumRep, + pure, + read$p, + readGenericTaggedSumRepAr, + readGenericTaggedSumRepCo, + readGenericTaggedSumRepCo1, + readGenericTaggedSumRepSu, + writeGenericTaggedSumRepA, + writeGenericTaggedSumRepC, + writeGenericTaggedSumRepN, + writeGenericTaggedSumRepS +}; diff --git a/.storybook/purescript-indexer/output-es/Yoga.JSON.Generics.UntaggedProductRep/index.js b/.storybook/purescript-indexer/output-es/Yoga.JSON.Generics.UntaggedProductRep/index.js new file mode 100644 index 0000000..df11895 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Yoga.JSON.Generics.UntaggedProductRep/index.js @@ -0,0 +1,73 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dExcept$dTrans from "../Control.Monad.Except.Trans/index.js"; +import * as Control$dMonad$dST$dInternal from "../Control.Monad.ST.Internal/index.js"; +import * as Data$dArray$dST from "../Data.Array.ST/index.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dFunctor from "../Data.Functor/index.js"; +import * as Data$dGeneric$dRep from "../Data.Generic.Rep/index.js"; +import * as Data$dIdentity from "../Data.Identity/index.js"; +import * as Foreign$dIndex from "../Foreign.Index/index.js"; +import * as Yoga$dJSON from "../Yoga.JSON/index.js"; +const bindExceptT = /* #__PURE__ */ Control$dMonad$dExcept$dTrans.bindExceptT(Data$dIdentity.monadIdentity); +const readIndex = /* #__PURE__ */ Foreign$dIndex.unsafeReadProp(Data$dIdentity.monadIdentity); +const pure = /* #__PURE__ */ (() => Control$dMonad$dExcept$dTrans.applicativeExceptT(Data$dIdentity.monadIdentity).pure)(); +const apply = /* #__PURE__ */ (() => Control$dMonad$dExcept$dTrans.applyExceptT(Data$dIdentity.monadIdentity).apply)(); +const writeGenericUntaggedProdu = dictWriteForeign => ( + {genericWriteForeignUntaggedProductRep: arr => v => Control$dMonad$dST$dInternal.run(Data$dArray$dST.withArray(Data$dArray$dST.pushAll([dictWriteForeign.writeImpl(v)]))(arr))} +); +const readGenericUntaggedProduc = dictReadForeign => ( + {genericReadForeignUntaggedProductRep: i => f => bindExceptT.bind(bindExceptT.bind(readIndex(i)(f))(dictReadForeign.readImpl))(x => pure(x))} +); +const genericWriteForeignUntaggedProductRep = dict => dict.genericWriteForeignUntaggedProductRep; +const writeGenericUntaggedProdu1 = dictWriteGenericUntaggedProduct => ( + {genericWriteForeignUntaggedProductRep: arr => v => dictWriteGenericUntaggedProduct.genericWriteForeignUntaggedProductRep(arr)(v)} +); +const writeGenericUntaggedProdu2 = dictWriteGenericUntaggedProduct => dictWriteGenericUntaggedProduct1 => ( + { + genericWriteForeignUntaggedProductRep: arr => v => dictWriteGenericUntaggedProduct1.genericWriteForeignUntaggedProductRep(dictWriteGenericUntaggedProduct.genericWriteForeignUntaggedProductRep(arr)(v._1))(v._2) + } +); +const genericWriteForeignUntaggedProduct = dictGeneric => dictWriteGenericUntaggedProduct => a => Data$dFunctor.arrayMap(Yoga$dJSON.writeForeignForeign.writeImpl)(dictWriteGenericUntaggedProduct.genericWriteForeignUntaggedProductRep([])(dictGeneric.from(a))); +const genericReadForeignUntaggedProductRep = dict => dict.genericReadForeignUntaggedProductRep; +const readGenericUntaggedProduc1 = dictReadGenericUntaggedProduct => ( + { + genericReadForeignUntaggedProductRep: i => f => { + const $3 = dictReadGenericUntaggedProduct.genericReadForeignUntaggedProductRep(i)(f); + if ($3.tag === "Left") { return Data$dEither.$Either("Left", $3._1); } + if ($3.tag === "Right") { return Data$dEither.$Either("Right", $3._1); } + $runtime.fail(); + } + } +); +const readGenericUntaggedProduc2 = dictReadGenericUntaggedProduct => dictReadGenericUntaggedProduct1 => ( + { + genericReadForeignUntaggedProductRep: i => f => apply((() => { + const $4 = dictReadGenericUntaggedProduct.genericReadForeignUntaggedProductRep(i)(f); + if ($4.tag === "Left") { return Data$dEither.$Either("Left", $4._1); } + if ($4.tag === "Right") { return Data$dEither.$Either("Right", Data$dGeneric$dRep.Product($4._1)); } + $runtime.fail(); + })())(dictReadGenericUntaggedProduct1.genericReadForeignUntaggedProductRep(i + 1 | 0)(f)) + } +); +const genericReadForeignUntaggedProduct = dictGeneric => dictReadGenericUntaggedProduct => f => { + const $3 = dictReadGenericUntaggedProduct.genericReadForeignUntaggedProductRep(0)(f); + if ($3.tag === "Left") { return Data$dEither.$Either("Left", $3._1); } + if ($3.tag === "Right") { return Data$dEither.$Either("Right", dictGeneric.to($3._1)); } + $runtime.fail(); +}; +export { + apply, + bindExceptT, + genericReadForeignUntaggedProduct, + genericReadForeignUntaggedProductRep, + genericWriteForeignUntaggedProduct, + genericWriteForeignUntaggedProductRep, + pure, + readGenericUntaggedProduc, + readGenericUntaggedProduc1, + readGenericUntaggedProduc2, + readIndex, + writeGenericUntaggedProdu, + writeGenericUntaggedProdu1, + writeGenericUntaggedProdu2 +}; diff --git a/.storybook/purescript-indexer/output-es/Yoga.JSON.Generics.UntaggedSumRep/index.js b/.storybook/purescript-indexer/output-es/Yoga.JSON.Generics.UntaggedSumRep/index.js new file mode 100644 index 0000000..52c0b50 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Yoga.JSON.Generics.UntaggedSumRep/index.js @@ -0,0 +1,75 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dExcept$dTrans from "../Control.Monad.Except.Trans/index.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dGeneric$dRep from "../Data.Generic.Rep/index.js"; +import * as Data$dIdentity from "../Data.Identity/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +const alt = /* #__PURE__ */ (() => Control$dMonad$dExcept$dTrans.altExceptT(Data$dList$dTypes.semigroupNonEmptyList)(Data$dIdentity.monadIdentity).alt)(); +const writeGenericUntaggedSumRe = dictWriteForeign => ({genericWriteForeignUntaggedSumRep: v => dictWriteForeign.writeImpl(v)}); +const readGenericUntaggedSumRep = dictReadForeign => ( + { + genericReadForeignUntaggedSumRep: f => { + const $2 = dictReadForeign.readImpl(f); + if ($2.tag === "Left") { return Data$dEither.$Either("Left", $2._1); } + if ($2.tag === "Right") { return Data$dEither.$Either("Right", $2._1); } + $runtime.fail(); + } + } +); +const genericWriteForeignUntaggedSumRep = dict => dict.genericWriteForeignUntaggedSumRep; +const writeGenericUntaggedSumRe1 = dictWriteGenericUntaggedSumRep => dictWriteGenericUntaggedSumRep1 => ( + { + genericWriteForeignUntaggedSumRep: v => { + if (v.tag === "Inl") { return dictWriteGenericUntaggedSumRep.genericWriteForeignUntaggedSumRep(v._1); } + if (v.tag === "Inr") { return dictWriteGenericUntaggedSumRep1.genericWriteForeignUntaggedSumRep(v._1); } + $runtime.fail(); + } + } +); +const writeGenericUntaggedSumRe2 = dictWriteGenericUntaggedSumRep => ({genericWriteForeignUntaggedSumRep: v => dictWriteGenericUntaggedSumRep.genericWriteForeignUntaggedSumRep(v)}); +const genericWriteForeignUntaggedSum = dictGeneric => dictWriteGenericUntaggedSumRep => a => dictWriteGenericUntaggedSumRep.genericWriteForeignUntaggedSumRep(dictGeneric.from(a)); +const genericReadForeignUntaggedSumRep = dict => dict.genericReadForeignUntaggedSumRep; +const readGenericUntaggedSumRep1 = dictReadGenericUntaggedSumRep => dictReadGenericUntaggedSumRep1 => ( + { + genericReadForeignUntaggedSumRep: f => alt((() => { + const $3 = dictReadGenericUntaggedSumRep.genericReadForeignUntaggedSumRep(f); + if ($3.tag === "Left") { return Data$dEither.$Either("Left", $3._1); } + if ($3.tag === "Right") { return Data$dEither.$Either("Right", Data$dGeneric$dRep.$Sum("Inl", $3._1)); } + $runtime.fail(); + })())((() => { + const $3 = dictReadGenericUntaggedSumRep1.genericReadForeignUntaggedSumRep(f); + if ($3.tag === "Left") { return Data$dEither.$Either("Left", $3._1); } + if ($3.tag === "Right") { return Data$dEither.$Either("Right", Data$dGeneric$dRep.$Sum("Inr", $3._1)); } + $runtime.fail(); + })()) + } +); +const readGenericUntaggedSumRep2 = dictReadGenericUntaggedSumRep => ( + { + genericReadForeignUntaggedSumRep: f => { + const $2 = dictReadGenericUntaggedSumRep.genericReadForeignUntaggedSumRep(f); + if ($2.tag === "Left") { return Data$dEither.$Either("Left", $2._1); } + if ($2.tag === "Right") { return Data$dEither.$Either("Right", $2._1); } + $runtime.fail(); + } + } +); +const genericReadForeignUntaggedSum = dictGeneric => dictReadGenericUntaggedSumRep => f => { + const $3 = dictReadGenericUntaggedSumRep.genericReadForeignUntaggedSumRep(f); + if ($3.tag === "Left") { return Data$dEither.$Either("Left", $3._1); } + if ($3.tag === "Right") { return Data$dEither.$Either("Right", dictGeneric.to($3._1)); } + $runtime.fail(); +}; +export { + alt, + genericReadForeignUntaggedSum, + genericReadForeignUntaggedSumRep, + genericWriteForeignUntaggedSum, + genericWriteForeignUntaggedSumRep, + readGenericUntaggedSumRep, + readGenericUntaggedSumRep1, + readGenericUntaggedSumRep2, + writeGenericUntaggedSumRe, + writeGenericUntaggedSumRe1, + writeGenericUntaggedSumRe2 +}; diff --git a/.storybook/purescript-indexer/output-es/Yoga.JSON.Generics/index.js b/.storybook/purescript-indexer/output-es/Yoga.JSON.Generics/index.js new file mode 100644 index 0000000..2d3a7c9 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Yoga.JSON.Generics/index.js @@ -0,0 +1,2 @@ +import * as $runtime from "../runtime.js"; +export {}; diff --git a/.storybook/purescript-indexer/output-es/Yoga.JSON.Variant/index.js b/.storybook/purescript-indexer/output-es/Yoga.JSON.Variant/index.js new file mode 100644 index 0000000..1391ec3 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Yoga.JSON.Variant/index.js @@ -0,0 +1,127 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dMonad$dExcept$dTrans from "../Control.Monad.Except.Trans/index.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dIdentity from "../Data.Identity/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dNonEmpty from "../Data.NonEmpty/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Foreign from "../Foreign/index.js"; +import * as Foreign$dIndex from "../Foreign.Index/index.js"; +import * as Foreign$dObject from "../Foreign.Object/index.js"; +import * as Partial from "../Partial/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +import * as Yoga$dJSON from "../Yoga.JSON/index.js"; +const fail = /* #__PURE__ */ (() => { + const $0 = Control$dMonad$dExcept$dTrans.monadThrowExceptT(Data$dIdentity.monadIdentity).throwError; + return x => $0(Data$dNonEmpty.$NonEmpty(x, Data$dList$dTypes.Nil)); +})(); +const fromFoldable = /* #__PURE__ */ Foreign$dObject.fromFoldable(Data$dFoldable.foldableArray); +const alt = /* #__PURE__ */ (() => Control$dMonad$dExcept$dTrans.altExceptT(Data$dList$dTypes.semigroupNonEmptyList)(Data$dIdentity.monadIdentity).alt)(); +const bind = /* #__PURE__ */ (() => Control$dMonad$dExcept$dTrans.bindExceptT(Data$dIdentity.monadIdentity).bind)(); +const readProp = /* #__PURE__ */ Foreign$dIndex.unsafeReadProp(Data$dIdentity.monadIdentity); +const pure = /* #__PURE__ */ (() => Control$dMonad$dExcept$dTrans.applicativeExceptT(Data$dIdentity.monadIdentity).pure)(); +const UntaggedVariant = x => x; +const TaggedVariant = x => x; +const writeForeignUntaggedVaria = {writeUntaggedVariantImpl: v => v1 => Partial._crashWith("Attempted to write empty Variant")}; +const writeForeignTaggedVariant = {writeVariantImpl: v => v1 => v2 => v3 => Partial._crashWith("Attempted to write empty Variant")}; +const showUntaggedVariant = dictShow => dictShow; +const showTaggedVariant = dictShow => dictShow; +const readForeignUntaggedVarian = {readUntaggedVariantImpl: v => v1 => fail(Foreign.$ForeignError("ForeignError", "Unable to match any variant member."))}; +const readForeignTaggedVariantN = {readVariantImpl: __ => v => fail(Foreign.$ForeignError("ForeignError", "Unable to match any variant member."))}; +const newtypeUntaggedVariantVar = {Coercible0: () => undefined}; +const newtypeTaggedVariantVaria = {Coercible0: () => undefined}; +const eqUntaggedVariant = dictEq => dictEq; +const eqTaggedVariant = dictEq => dictEq; +const writeVariantImpl = dict => dict.writeVariantImpl; +const writeForeignTaggedVariant1 = () => dictWriteForeignTaggedVariant => dictIsSymbol => dictIsSymbol1 => ( + { + writeImpl: v => dictWriteForeignTaggedVariant.writeVariantImpl(dictIsSymbol.reflectSymbol(Type$dProxy.Proxy))(dictIsSymbol1.reflectSymbol(Type$dProxy.Proxy))(Type$dProxy.Proxy)(v) + } +); +const writeForeignTaggedVariant2 = dictIsSymbol => dictWriteForeign => () => dictWriteForeignTaggedVariant => ( + { + writeVariantImpl: typeTag => valueTag => v => variant => { + const name = dictIsSymbol.reflectSymbol(Type$dProxy.Proxy); + const $9 = dictWriteForeignTaggedVariant.writeVariantImpl(typeTag)(valueTag)(Type$dProxy.Proxy); + if (variant.type === dictIsSymbol.reflectSymbol(Type$dProxy.Proxy)) { + return Foreign$dObject._mapWithKey( + fromFoldable([Data$dTuple.$Tuple(valueTag, dictWriteForeign.writeImpl(variant.value)), Data$dTuple.$Tuple(typeTag, name)]), + v$1 => Yoga$dJSON.writeForeignForeign.writeImpl + ); + } + return $9(variant); + } + } +); +const writeUntaggedVariantImpl = dict => dict.writeUntaggedVariantImpl; +const writeForeignUntaggedVaria1 = () => dictWriteForeignUntaggedVariant => ({writeImpl: v => dictWriteForeignUntaggedVariant.writeUntaggedVariantImpl(Type$dProxy.Proxy)(v)}); +const writeForeignUntaggedVaria2 = dictIsSymbol => dictWriteForeign => () => dictWriteForeignUntaggedVariant => ( + { + writeUntaggedVariantImpl: v => variant => { + const $6 = dictWriteForeignUntaggedVariant.writeUntaggedVariantImpl(Type$dProxy.Proxy); + if (variant.type === dictIsSymbol.reflectSymbol(Type$dProxy.Proxy)) { return dictWriteForeign.writeImpl(variant.value); } + return $6(variant); + } + } +); +const readVariantImpl = dict => dict.readVariantImpl; +const readForeignTaggedVariant = () => dictReadForeignTaggedVariant => dictIsSymbol => dictIsSymbol1 => ( + {readImpl: o => dictReadForeignTaggedVariant.readVariantImpl(Type$dProxy.Proxy)(o)} +); +const readForeignTaggedVariantC = dictIsSymbol => dictIsSymbol1 => dictIsSymbol2 => dictReadForeign => () => dictReadForeignTaggedVariant => ( + { + readVariantImpl: v => o => { + const valueTag = dictIsSymbol2.reflectSymbol(Type$dProxy.Proxy); + const name = dictIsSymbol.reflectSymbol(Type$dProxy.Proxy); + return alt(dictReadForeignTaggedVariant.readVariantImpl(Type$dProxy.Proxy)(o))(bind(bind(readProp(dictIsSymbol1.reflectSymbol(Type$dProxy.Proxy))(o))(Yoga$dJSON.readString))(type_ => { + if (type_ === name) { return bind(bind(readProp(valueTag)(o))(dictReadForeign.readImpl))(v1 => pure({type: dictIsSymbol.reflectSymbol(Type$dProxy.Proxy), value: v1})); } + return fail(Foreign.$ForeignError("ForeignError", "Did not match variant tag " + name)); + })); + } + } +); +const readUntaggedVariantImpl = dict => dict.readUntaggedVariantImpl; +const readForeignUntaggedVarian1 = () => dictReadForeignUntaggedVariant => ({readImpl: o => dictReadForeignUntaggedVariant.readUntaggedVariantImpl(Type$dProxy.Proxy)(o)}); +const readForeignUntaggedVarian2 = dictIsSymbol => dictReadForeign => () => dictReadForeignUntaggedVariant => ( + { + readUntaggedVariantImpl: v => o => alt(dictReadForeignUntaggedVariant.readUntaggedVariantImpl(Type$dProxy.Proxy)(o))((() => { + const $6 = dictReadForeign.readImpl(o); + if ($6.tag === "Left") { return Data$dEither.$Either("Left", $6._1); } + if ($6.tag === "Right") { return Data$dEither.$Either("Right", {type: dictIsSymbol.reflectSymbol(Type$dProxy.Proxy), value: $6._1}); } + $runtime.fail(); + })()) + } +); +export { + TaggedVariant, + UntaggedVariant, + alt, + bind, + eqTaggedVariant, + eqUntaggedVariant, + fail, + fromFoldable, + newtypeTaggedVariantVaria, + newtypeUntaggedVariantVar, + pure, + readForeignTaggedVariant, + readForeignTaggedVariantC, + readForeignTaggedVariantN, + readForeignUntaggedVarian, + readForeignUntaggedVarian1, + readForeignUntaggedVarian2, + readProp, + readUntaggedVariantImpl, + readVariantImpl, + showTaggedVariant, + showUntaggedVariant, + writeForeignTaggedVariant, + writeForeignTaggedVariant1, + writeForeignTaggedVariant2, + writeForeignUntaggedVaria, + writeForeignUntaggedVaria1, + writeForeignUntaggedVaria2, + writeUntaggedVariantImpl, + writeVariantImpl +}; diff --git a/.storybook/purescript-indexer/output-es/Yoga.JSON/foreign.js b/.storybook/purescript-indexer/output-es/Yoga.JSON/foreign.js new file mode 100644 index 0000000..cff7639 --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Yoga.JSON/foreign.js @@ -0,0 +1,18 @@ +function reviver(key, value) { + if (key === "big") { + return BigInt(value); + } + return value; +} +export const _parseJSON = (payload) => JSON.parse(payload, reviver); + +export const _undefined = undefined; + +function replacer(key, value) { + if (typeof value === "bigint") { + return value.toString(); + } + return value; +} + +export const _unsafeStringify = (data) => JSON.stringify(data, replacer); diff --git a/.storybook/purescript-indexer/output-es/Yoga.JSON/index.js b/.storybook/purescript-indexer/output-es/Yoga.JSON/index.js new file mode 100644 index 0000000..2c88fca --- /dev/null +++ b/.storybook/purescript-indexer/output-es/Yoga.JSON/index.js @@ -0,0 +1,595 @@ +import * as $runtime from "../runtime.js"; +import * as Control$dApplicative from "../Control.Applicative/index.js"; +import * as Control$dMonad$dExcept$dTrans from "../Control.Monad.Except.Trans/index.js"; +import * as Control$dMonad$dST$dInternal from "../Control.Monad.ST.Internal/index.js"; +import * as Data$dArray from "../Data.Array/index.js"; +import * as Data$dBifunctor from "../Data.Bifunctor/index.js"; +import * as Data$dDateTime$dInstant from "../Data.DateTime.Instant/index.js"; +import * as Data$dEither from "../Data.Either/index.js"; +import * as Data$dFoldable from "../Data.Foldable/index.js"; +import * as Data$dFunctor from "../Data.Functor/index.js"; +import * as Data$dFunctorWithIndex from "../Data.FunctorWithIndex/index.js"; +import * as Data$dIdentity from "../Data.Identity/index.js"; +import * as Data$dInt from "../Data.Int/index.js"; +import * as Data$dJSDate from "../Data.JSDate/index.js"; +import * as Data$dList$dTypes from "../Data.List.Types/index.js"; +import * as Data$dMap$dInternal from "../Data.Map.Internal/index.js"; +import * as Data$dMaybe from "../Data.Maybe/index.js"; +import * as Data$dMonoid from "../Data.Monoid/index.js"; +import * as Data$dNonEmpty from "../Data.NonEmpty/index.js"; +import * as Data$dNullable from "../Data.Nullable/index.js"; +import * as Data$dNumber from "../Data.Number/index.js"; +import * as Data$dOrd from "../Data.Ord/index.js"; +import * as Data$dSemigroup from "../Data.Semigroup/index.js"; +import * as Data$dShow from "../Data.Show/index.js"; +import * as Data$dTraversable from "../Data.Traversable/index.js"; +import * as Data$dTuple from "../Data.Tuple/index.js"; +import * as Data$dUnfoldable from "../Data.Unfoldable/index.js"; +import * as Effect$dException from "../Effect.Exception/index.js"; +import * as Effect$dUncurried from "../Effect.Uncurried/index.js"; +import * as Effect$dUnsafe from "../Effect.Unsafe/index.js"; +import * as Foreign from "../Foreign/index.js"; +import * as Foreign$dIndex from "../Foreign.Index/index.js"; +import * as Foreign$dObject from "../Foreign.Object/index.js"; +import * as Foreign$dObject$dST from "../Foreign.Object.ST/index.js"; +import * as Js$dBigInt$dBigInt from "../Js.BigInt.BigInt/index.js"; +import * as Partial from "../Partial/index.js"; +import * as Record$dBuilder from "../Record.Builder/index.js"; +import * as Record$dUnsafe from "../Record.Unsafe/index.js"; +import * as Type$dProxy from "../Type.Proxy/index.js"; +import * as Unsafe$dCoerce from "../Unsafe.Coerce/index.js"; +import {_parseJSON, _undefined, _unsafeStringify} from "./foreign.js"; +const identity = x => x; +const fail = /* #__PURE__ */ (() => { + const $0 = Control$dMonad$dExcept$dTrans.monadThrowExceptT(Data$dIdentity.monadIdentity).throwError; + return x => $0(Data$dNonEmpty.$NonEmpty(x, Data$dList$dTypes.Nil)); +})(); +const readString = /* #__PURE__ */ Foreign.unsafeReadTagged(Data$dIdentity.monadIdentity)("String"); +const readNumber = /* #__PURE__ */ Foreign.unsafeReadTagged(Data$dIdentity.monadIdentity)("Number"); +const readInt = /* #__PURE__ */ Foreign.readInt(Data$dIdentity.monadIdentity); +const applicativeExceptT = /* #__PURE__ */ Control$dMonad$dExcept$dTrans.applicativeExceptT(Data$dIdentity.monadIdentity); +const typeIsSymbol = {reflectSymbol: () => "type"}; +const valueIsSymbol = {reflectSymbol: () => "value"}; +const functorExceptT = { + map: f => m => { + if (m.tag === "Left") { return Data$dEither.$Either("Left", m._1); } + if (m.tag === "Right") { return Data$dEither.$Either("Right", f(m._1)); } + $runtime.fail(); + } +}; +const bindExceptT = /* #__PURE__ */ Control$dMonad$dExcept$dTrans.bindExceptT(Data$dIdentity.monadIdentity); +const traverse = /* #__PURE__ */ (() => Data$dTraversable.traversableMaybe.traverse(applicativeExceptT))(); +const readNull = /* #__PURE__ */ Foreign.readNull(Data$dIdentity.monadIdentity); +const toUnfoldable = /* #__PURE__ */ (() => { + const $0 = Foreign$dObject.toArrayWithKey(Data$dTuple.Tuple); + return x => Data$dArray.toUnfoldable(Data$dUnfoldable.unfoldableArray)($0(x)); +})(); +const alt = /* #__PURE__ */ (() => Control$dMonad$dExcept$dTrans.altExceptT(Data$dList$dTypes.semigroupNonEmptyList)(Data$dIdentity.monadIdentity).alt)(); +const readProp = /* #__PURE__ */ Foreign$dIndex.unsafeReadProp(Data$dIdentity.monadIdentity); +const readArray = /* #__PURE__ */ Foreign.readArray(Data$dIdentity.monadIdentity); +const throwError = /* #__PURE__ */ (() => Control$dMonad$dExcept$dTrans.monadThrowExceptT(Data$dIdentity.monadIdentity).throwError)(); +const writeForeignVariantNilRow = {writeVariantImpl: v => v1 => Partial._crashWith("Attempted to write empty variant.")}; +const writeForeignString = {writeImpl: Unsafe$dCoerce.unsafeCoerce}; +const writeForeignNumber = {writeImpl: Unsafe$dCoerce.unsafeCoerce}; +const writeForeignInt = {writeImpl: Unsafe$dCoerce.unsafeCoerce}; +const writeForeignForeign = {writeImpl: x => x}; +const writeForeignFieldsNilRowR = {writeImplFields: v => v1 => identity}; +const writeForeignChar = {writeImpl: Unsafe$dCoerce.unsafeCoerce}; +const writeForeignBoolean = {writeImpl: Unsafe$dCoerce.unsafeCoerce}; +const writeForeignBigInt = {writeImpl: Unsafe$dCoerce.unsafeCoerce}; +const readForeignVariantNil = {readVariantImpl: v => v1 => fail(Foreign.$ForeignError("ForeignError", "Unable to match any variant member."))}; +const readForeignString = {readImpl: readString}; +const readForeignNumber = {readImpl: readNumber}; +const readForeignInt = {readImpl: readInt}; +const readForeignForeign = /* #__PURE__ */ (() => ({readImpl: applicativeExceptT.pure}))(); +const readForeignFieldsNilRowRo = {getFields: v => v1 => applicativeExceptT.pure(identity)}; +const readForeignChar = {readImpl: /* #__PURE__ */ Foreign.readChar(Data$dIdentity.monadIdentity)}; +const readForeignBoolean = {readImpl: /* #__PURE__ */ Foreign.unsafeReadTagged(Data$dIdentity.monadIdentity)("Boolean")}; +const writeVariantImpl = dict => dict.writeVariantImpl; +const writeForeignVariant = () => dictWriteForeignVariant => ({writeImpl: variant => dictWriteForeignVariant.writeVariantImpl(Type$dProxy.Proxy)(variant)}); +const writeImplFields = dict => dict.writeImplFields; +const writeForeignRecord = () => dictWriteForeignFields => ({writeImpl: rec => dictWriteForeignFields.writeImplFields(Type$dProxy.Proxy)(rec)({})}); +const writeImpl = dict => dict.writeImpl; +const writeJSON = dictWriteForeign => x => _unsafeStringify(dictWriteForeign.writeImpl(x)); +const writeForeignArray = dictWriteForeign => ({writeImpl: xs => Data$dFunctor.arrayMap(dictWriteForeign.writeImpl)(xs)}); +const writeForeignFieldsCons = dictIsSymbol => dictWriteForeign => dictWriteForeignFields => () => () => () => ( + { + writeImplFields: v => rec => { + const $8 = Record$dBuilder.insert()()(dictIsSymbol)(Type$dProxy.Proxy)(dictWriteForeign.writeImpl(Record$dUnsafe.unsafeGet(dictIsSymbol.reflectSymbol(Type$dProxy.Proxy))(rec))); + const $9 = dictWriteForeignFields.writeImplFields(Type$dProxy.Proxy)(rec); + return x => $8($9(x)); + } + } +); +const writeImpl2 = /* #__PURE__ */ (() => { + const $0 = writeForeignFieldsCons(typeIsSymbol)(writeForeignString)(writeForeignFieldsCons(valueIsSymbol)(writeForeignForeign)(writeForeignFieldsNilRowR)()()())()()(); + return rec => $0.writeImplFields(Type$dProxy.Proxy)(rec)({}); +})(); +const writeForeignEither = dictWriteForeign => dictWriteForeign1 => ( + { + writeImpl: value => { + if (value.tag === "Left") { return writeImpl2({type: "left", value: dictWriteForeign.writeImpl(value._1)}); } + if (value.tag === "Right") { return writeImpl2({type: "right", value: dictWriteForeign1.writeImpl(value._1)}); } + $runtime.fail(); + } + } +); +const writeForeignJSDate = {writeImpl: x => Effect$dUnsafe.unsafePerformEffect(Data$dJSDate.dateMethodEff("toISOString", x))}; +const writeForeignDateTime = {writeImpl: x => Effect$dUnsafe.unsafePerformEffect(Data$dJSDate.dateMethodEff("toISOString", Data$dJSDate.fromDateTime(x)))}; +const writeForeignMap = () => dictWriteForeign => ({writeImpl: x => dictWriteForeign.writeImpl(x)}); +const writeForeignNullable = dictWriteForeign => ( + { + writeImpl: x => { + const $2 = Data$dNullable.nullable(x, Data$dMaybe.Nothing, Data$dMaybe.Just); + if ($2.tag === "Nothing") { return Data$dNullable.null; } + if ($2.tag === "Just") { return dictWriteForeign.writeImpl($2._1); } + $runtime.fail(); + } + } +); +const writeForeignObject = dictWriteForeign => ({writeImpl: x => Foreign$dObject._mapWithKey(x, v => dictWriteForeign.writeImpl)}); +const writeForeignMapInt = dictWriteForeign => ( + { + writeImpl: (() => { + const $1 = Data$dMap$dInternal.foldableWithIndexMap.foldrWithIndex(x => Foreign$dObject.insert(Data$dShow.showIntImpl(x)))(Foreign$dObject.empty); + return x => Foreign$dObject._mapWithKey($1(x), v => dictWriteForeign.writeImpl); + })() + } +); +const writeForeignMapString = dictWriteForeign => ( + { + writeImpl: x => Foreign$dObject._mapWithKey( + Data$dMap$dInternal.foldableWithIndexMap.foldrWithIndex(Foreign$dObject.insert)(Foreign$dObject.empty)(x), + v => dictWriteForeign.writeImpl + ) + } +); +const writeForeignTuple = dictWriteForeign => dictWriteForeign1 => ( + {writeImpl: v => Data$dFunctor.arrayMap(writeForeignForeign.writeImpl)([dictWriteForeign.writeImpl(v._1), dictWriteForeign1.writeImpl(v._2)])} +); +const writeForeignVariantCons = dictIsSymbol => dictWriteForeign => () => dictWriteForeignVariant => ( + { + writeVariantImpl: v => variant => { + const name = dictIsSymbol.reflectSymbol(Type$dProxy.Proxy); + const $7 = dictWriteForeignVariant.writeVariantImpl(Type$dProxy.Proxy); + if (variant.type === dictIsSymbol.reflectSymbol(Type$dProxy.Proxy)) { + return Foreign$dObject._mapWithKey( + Foreign$dObject.runST(Control$dMonad$dST$dInternal.bind_(Foreign$dObject$dST.new)(Foreign$dObject$dST.poke(name)(dictWriteForeign.writeImpl(variant.value)))), + v$1 => writeForeignForeign.writeImpl + ); + } + return $7(variant); + } + } +); +const writeForeignNEArray = dictWriteForeign => ({writeImpl: a => Data$dFunctor.arrayMap(dictWriteForeign.writeImpl)(a)}); +const write = dictWriteForeign => dictWriteForeign.writeImpl; +const unsafeStringify = _unsafeStringify; +const unsafeStringToInt = /* #__PURE__ */ (() => { + const $0 = Data$dMaybe.fromMaybe$p(v => Partial._crashWith("impossible")); + return x => $0(Data$dInt.fromString(x)); +})(); +const $$undefined = _undefined; +const writeForeignMaybe = dictWriteForeign => ( + { + writeImpl: v2 => { + if (v2.tag === "Nothing") { return _undefined; } + if (v2.tag === "Just") { return dictWriteForeign.writeImpl(v2._1); } + $runtime.fail(); + } + } +); +const tupleSize = dict => dict.tupleSize; +const sequenceCombining = dictMonoid => { + const append2 = dictMonoid.Semigroup0().append; + return dictFoldable => dictApplicative => dictFoldable.foldl(acc => elem => { + if (acc.tag === "Left") { + if (elem.tag === "Left") { return Data$dEither.$Either("Left", Data$dList$dTypes.semigroupNonEmptyList.append(acc._1)(elem._1)); } + if (elem.tag === "Right") { return Data$dEither.$Either("Left", acc._1); } + $runtime.fail(); + } + if (acc.tag === "Right") { + if (elem.tag === "Right") { return Data$dEither.$Either("Right", append2(acc._1)(dictApplicative.pure(elem._1))); } + if (elem.tag === "Left") { return Data$dEither.$Either("Left", elem._1); } + $runtime.fail(); + } + $runtime.fail(); + })(Data$dEither.$Either("Right", dictMonoid.mempty)); +}; +const sequenceCombining1 = /* #__PURE__ */ sequenceCombining(Data$dMonoid.monoidArray)(Data$dFoldable.foldableArray)(Control$dApplicative.applicativeArray); +const readVariantImpl = dict => dict.readVariantImpl; +const readForeignVariant = () => dictReadForeignVariant => ({readImpl: o => dictReadForeignVariant.readVariantImpl(Type$dProxy.Proxy)(o)}); +const readTupleImpl = dict => dict.readTupleImpl; +const readForeignTuple = dictReadTuple => ({readImpl: dictReadTuple.readTupleImpl(0)}); +const readImpl = dict => dict.readImpl; +const readForeignJSDate = { + readImpl: x => { + const $1 = readString(x); + if ($1.tag === "Left") { return Data$dEither.$Either("Left", $1._1); } + if ($1.tag === "Right") { return Data$dEither.$Either("Right", Effect$dUnsafe.unsafePerformEffect(Data$dJSDate.parse($1._1))); } + $runtime.fail(); + } +}; +const readForeignDateTime = { + readImpl: a => bindExceptT.bind(readForeignJSDate.readImpl(a))(x => { + const $2 = Data$dJSDate.toInstant(x); + if ($2.tag === "Just") { return Data$dEither.$Either("Right", Data$dDateTime$dInstant.toDateTime($2._1)); } + return Data$dEither.$Either("Left", Data$dNonEmpty.$NonEmpty(Foreign.$ForeignError("ForeignError", "Invalid date time"), Data$dList$dTypes.Nil)); + }) +}; +const readForeignMap = () => dictReadForeign => ( + { + readImpl: x => { + const $3 = dictReadForeign.readImpl(x); + if ($3.tag === "Left") { return Data$dEither.$Either("Left", $3._1); } + if ($3.tag === "Right") { return Data$dEither.$Either("Right", $3._1); } + $runtime.fail(); + } + } +); +const readForeignMaybe = dictReadForeign => ( + { + readImpl: v1 => { + if (Foreign.isNull(v1) || Foreign.isUndefined(v1)) { return applicativeExceptT.pure(Data$dMaybe.Nothing); } + const $2 = dictReadForeign.readImpl(v1); + if ($2.tag === "Left") { return Data$dEither.$Either("Left", $2._1); } + if ($2.tag === "Right") { return Data$dEither.$Either("Right", Data$dMaybe.$Maybe("Just", $2._1)); } + $runtime.fail(); + } + } +); +const readForeignNullable = dictReadForeign => ( + { + readImpl: o => Control$dMonad$dExcept$dTrans.withExceptT(Data$dIdentity.functorIdentity)(Data$dList$dTypes.functorNonEmptyList.map(error => { + if (error.tag === "TypeMismatch") { return Foreign.$ForeignError("TypeMismatch", "Nullable " + error._1, error._2); } + return error; + }))(bindExceptT.bind(readNull(o))((() => { + const $2 = traverse(dictReadForeign.readImpl); + return x => { + const $4 = $2(x); + if ($4.tag === "Left") { return Data$dEither.$Either("Left", $4._1); } + if ($4.tag === "Right") { + return Data$dEither.$Either( + "Right", + (() => { + if ($4._1.tag === "Nothing") { return Data$dNullable.null; } + if ($4._1.tag === "Just") { return Data$dNullable.notNull($4._1._1); } + $runtime.fail(); + })() + ); + } + $runtime.fail(); + }; + })())) + } +); +const readForeignObject = dictReadForeign => ( + { + readImpl: (() => { + const $1 = Data$dFoldable.foldlArray(acc => v => { + if (acc.tag === "Left") { + if (v._2.tag === "Left") { return Data$dEither.$Either("Left", Data$dList$dTypes.semigroupNonEmptyList.append(acc._1)(v._2._1)); } + if (v._2.tag === "Right") { return Data$dEither.$Either("Left", acc._1); } + $runtime.fail(); + } + if (acc.tag === "Right") { + if (v._2.tag === "Right") { return Data$dEither.$Either("Right", Foreign$dObject.mutate(Foreign$dObject$dST.poke(v._1)(v._2._1))(acc._1)); } + if (v._2.tag === "Left") { return Data$dEither.$Either("Left", v._2._1); } + $runtime.fail(); + } + $runtime.fail(); + })(Data$dEither.$Either("Right", Foreign$dObject.empty)); + const $2 = Foreign$dObject.mapWithKey(key => value => Data$dBifunctor.bifunctorEither.bimap(Data$dList$dTypes.functorNonEmptyList.map(Foreign.ErrorAtProperty(key)))(Data$dBifunctor.identity)(dictReadForeign.readImpl(value))); + return a => bindExceptT.bind((() => { + if (Foreign.tagOf(a) === "Object") { return applicativeExceptT.pure(a); } + return fail(Foreign.$ForeignError("TypeMismatch", "Object", Foreign.tagOf(a))); + })())(x => $1(toUnfoldable($2(x)))); + })() + } +); +const readForeignMapInt = dictReadForeign => ( + { + readImpl: (() => { + const $1 = readForeignObject(dictReadForeign).readImpl; + const $2 = functorExceptT.map(Foreign$dObject.foldableWithIndexObject.foldrWithIndex(x => Data$dMap$dInternal.insert(Data$dOrd.ordInt)(unsafeStringToInt(x)))(Data$dMap$dInternal.Leaf)); + return x => $2($1(x)); + })() + } +); +const readForeignMapString = dictReadForeign => ( + { + readImpl: (() => { + const $1 = readForeignObject(dictReadForeign).readImpl; + return x => { + const $3 = $1(x); + if ($3.tag === "Left") { return Data$dEither.$Either("Left", $3._1); } + if ($3.tag === "Right") { + return Data$dEither.$Either( + "Right", + Foreign$dObject.foldableWithIndexObject.foldrWithIndex(Data$dMap$dInternal.insert(Data$dOrd.ordString))(Data$dMap$dInternal.Leaf)($3._1) + ); + } + $runtime.fail(); + }; + })() + } +); +const readForeignVariantCons = dictIsSymbol => dictReadForeign => () => dictReadForeignVariant => ( + { + readVariantImpl: v => o => alt(dictReadForeignVariant.readVariantImpl(Type$dProxy.Proxy)(o))((() => { + const $6 = bindExceptT.bind(readProp(dictIsSymbol.reflectSymbol(Type$dProxy.Proxy))(o))(dictReadForeign.readImpl); + if ($6.tag === "Left") { return Data$dEither.$Either("Left", $6._1); } + if ($6.tag === "Right") { return Data$dEither.$Either("Right", {type: dictIsSymbol.reflectSymbol(Type$dProxy.Proxy), value: $6._1}); } + $runtime.fail(); + })()) + } +); +const readBigInt1 = /* #__PURE__ */ Foreign.unsafeReadTagged(Data$dIdentity.monadIdentity)("BigInt"); +const readForeignBigInt = { + readImpl: fValue => alt((() => { + const $1 = readInt(fValue); + if ($1.tag === "Left") { return Data$dEither.$Either("Left", $1._1); } + if ($1.tag === "Right") { return Data$dEither.$Either("Right", Js$dBigInt$dBigInt.fromInt($1._1)); } + $runtime.fail(); + })())(alt(bindExceptT.bind(readNumber(fValue))(num => { + if (Data$dNumber.round(num) === num) { + const $2 = Data$dNonEmpty.$NonEmpty(Foreign.$ForeignError("ForeignError", "Cannot convert Number " + (Data$dShow.showNumberImpl(num) + " to BigInt")), Data$dList$dTypes.Nil); + const $3 = Js$dBigInt$dBigInt.fromNumber(num); + if ($3.tag === "Nothing") { return Data$dEither.$Either("Left", $2); } + if ($3.tag === "Just") { return Data$dEither.$Either("Right", $3._1); } + $runtime.fail(); + } + return Data$dEither.$Either( + "Left", + Data$dNonEmpty.$NonEmpty(Foreign.$ForeignError("ForeignError", "Cannot convert decimal Number " + (Data$dShow.showNumberImpl(num) + " to BigInt")), Data$dList$dTypes.Nil) + ); + }))(alt(readBigInt1(fValue))(bindExceptT.bind(readString(fValue))(bi => { + const $2 = Data$dNonEmpty.$NonEmpty(Foreign.$ForeignError("ForeignError", "Cannot convert String " + (bi + " to BigInt")), Data$dList$dTypes.Nil); + const $3 = Js$dBigInt$dBigInt.fromString(bi); + if ($3.tag === "Nothing") { return Data$dEither.$Either("Left", $2); } + if ($3.tag === "Just") { return Data$dEither.$Either("Right", $3._1); } + $runtime.fail(); + })))) +}; +const readAtIdx = dictReadForeign => i => f => Control$dMonad$dExcept$dTrans.withExceptT(Data$dIdentity.functorIdentity)(Data$dList$dTypes.functorNonEmptyList.map(Foreign.ErrorAtIndex(i)))(dictReadForeign.readImpl(f)); +const readForeignArray = dictReadForeign => ( + { + readImpl: (() => { + const $1 = Data$dFunctorWithIndex.mapWithIndexArray(readAtIdx(dictReadForeign)); + return a => bindExceptT.bind(readArray(a))(x => sequenceCombining1($1(x))); + })() + } +); +const readForeignArray1 = /* #__PURE__ */ readForeignArray(readForeignForeign); +const readTupleHelper = dictReadForeign => dictReadForeign1 => ( + { + readTupleImpl: n => a => bindExceptT.bind(readForeignArray1.readImpl(a))(v => { + if (v.length === 2) { + const $5 = Control$dMonad$dExcept$dTrans.applyExceptT(Data$dIdentity.monadIdentity); + return $5.apply($5.Functor0().map(Data$dTuple.Tuple)(readAtIdx(dictReadForeign)(n)(v[0])))(readAtIdx(dictReadForeign1)(n + 1 | 0)(v[1])); + } + return throwError(Data$dNonEmpty.$NonEmpty( + Foreign.$ForeignError("TypeMismatch", "array of length " + Data$dShow.showIntImpl(n + 2 | 0), "array of length " + Data$dShow.showIntImpl(n + v.length | 0)), + Data$dList$dTypes.Nil + )); + }), + tupleSize: v => 2 + } +); +const readForeignNonEmptyArray = dictReadForeign => { + const readImpl3 = readForeignArray(dictReadForeign).readImpl; + return { + readImpl: f => bindExceptT.bind(readImpl3(f))(v => { + if (v.length > 0) { return Data$dEither.$Either("Right", v); } + return Data$dEither.$Either("Left", Data$dNonEmpty.$NonEmpty(Foreign.$ForeignError("ForeignError", "Nonempty array expected, got empty array"), Data$dList$dTypes.Nil)); + }) + }; +}; +const readTupleTupleTuple = dictReadForeign => dictReadTuple => ( + { + readTupleImpl: n => a => bindExceptT.bind(readForeignArray1.readImpl(a))(v => { + const v1 = Data$dArray.uncons(v); + if (v1.tag === "Just") { + const $6 = Control$dMonad$dExcept$dTrans.applyExceptT(Data$dIdentity.monadIdentity); + return $6.apply($6.Functor0().map(Data$dTuple.Tuple)(readAtIdx(dictReadForeign)(n)(v1._1.head)))(dictReadTuple.readTupleImpl(n + 1 | 0)(Data$dFunctor.arrayMap(writeForeignForeign.writeImpl)(v1._1.tail))); + } + return throwError(Data$dNonEmpty.$NonEmpty( + Foreign.$ForeignError( + "TypeMismatch", + "array of length " + Data$dShow.showIntImpl((1 + n | 0) + dictReadTuple.tupleSize(Type$dProxy.Proxy) | 0), + "array of length " + Data$dShow.showIntImpl(n) + ), + Data$dList$dTypes.Nil + )); + }), + tupleSize: v => 1 + dictReadTuple.tupleSize(Type$dProxy.Proxy) | 0 + } +); +const read$p = dictReadForeign => dictReadForeign.readImpl; +const read = dictReadForeign => x => dictReadForeign.readImpl(x); +const read_ = dictReadForeign => x => { + const $2 = dictReadForeign.readImpl(x); + if ($2.tag === "Left") { return Data$dMaybe.Nothing; } + if ($2.tag === "Right") { return Data$dMaybe.$Maybe("Just", $2._1); } + $runtime.fail(); +}; +const writeForeignTupleTuple = dictWriteForeign => dictWriteForeign1 => ( + { + writeImpl: v => Data$dFunctor.arrayMap(writeForeignForeign.writeImpl)(Data$dSemigroup.concatArray([dictWriteForeign.writeImpl(v._1)])((() => { + const $3 = read_(readForeignArray1)(dictWriteForeign1.writeImpl(v._2)); + if ($3.tag === "Nothing") { return []; } + if ($3.tag === "Just") { return $3._1; } + $runtime.fail(); + })())) + } +); +const parseJSON = /* #__PURE__ */ (() => { + const $0 = Data$dBifunctor.bifunctorEither.bimap(x => Data$dNonEmpty.$NonEmpty(Foreign.$ForeignError("ForeignError", Effect$dException.message(x)), Data$dList$dTypes.Nil))(Data$dBifunctor.identity); + const $1 = Effect$dUncurried.runEffectFn1(_parseJSON); + return x => $0(Effect$dUnsafe.unsafePerformEffect((() => { + const $3 = $1(x); + return Effect$dException.catchException(x$1 => () => Data$dEither.$Either("Left", x$1))(() => { + const a$p = $3(); + return Data$dEither.$Either("Right", a$p); + }); + })())); +})(); +const readJSON = dictReadForeign => x => bindExceptT.bind(parseJSON(x))(dictReadForeign.readImpl); +const readJSON_ = dictReadForeign => x => { + const $2 = bindExceptT.bind(parseJSON(x))(dictReadForeign.readImpl); + if ($2.tag === "Left") { return Data$dMaybe.Nothing; } + if ($2.tag === "Right") { return Data$dMaybe.$Maybe("Just", $2._1); } + $runtime.fail(); +}; +const readJSON$p = dictReadForeign => a => bindExceptT.bind(parseJSON(a))(dictReadForeign.readImpl); +const getFields = dict => dict.getFields; +const readForeignFieldsCons = dictIsSymbol => dictReadForeign => dictReadForeignFields => () => () => ( + { + getFields: v => obj => { + const name = dictIsSymbol.reflectSymbol(Type$dProxy.Proxy); + const v1 = dictReadForeignFields.getFields(Type$dProxy.Proxy)(obj); + const $9 = Control$dMonad$dExcept$dTrans.withExceptT(Data$dIdentity.functorIdentity)(Data$dList$dTypes.functorNonEmptyList.map(Foreign.ErrorAtProperty(name)))(bindExceptT.bind(readProp(name)(obj))(dictReadForeign.readImpl)); + if ($9.tag === "Left") { + if (v1.tag === "Left") { return Data$dEither.$Either("Left", Data$dList$dTypes.semigroupNonEmptyList.append($9._1)(v1._1)); } + if (v1.tag === "Right") { return Data$dEither.$Either("Left", $9._1); } + $runtime.fail(); + } + if ($9.tag === "Right") { + if (v1.tag === "Right") { return Data$dEither.$Either("Right", x => Record$dBuilder.unsafeInsert(dictIsSymbol.reflectSymbol(Type$dProxy.Proxy))($9._1)(v1._1(x))); } + if (v1.tag === "Left") { return Data$dEither.$Either("Left", v1._1); } + $runtime.fail(); + } + $runtime.fail(); + } + } +); +const readForeignRecord = () => dictReadForeignFields => ( + { + readImpl: o => { + const $3 = dictReadForeignFields.getFields(Type$dProxy.Proxy)(o); + if ($3.tag === "Left") { return Data$dEither.$Either("Left", $3._1); } + if ($3.tag === "Right") { return Data$dEither.$Either("Right", $3._1({})); } + $runtime.fail(); + } + } +); +const readImpl2 = /* #__PURE__ */ (() => readForeignRecord()(readForeignFieldsCons(typeIsSymbol)(readForeignString)(readForeignFieldsCons(valueIsSymbol)(readForeignForeign)(readForeignFieldsNilRowRo)()())()()).readImpl)(); +const readForeignEither = dictReadForeign => dictReadForeign1 => ( + { + readImpl: f => bindExceptT.bind(readImpl2(f))(v => { + if (v.type === "left") { + const $4 = dictReadForeign.readImpl(v.value); + if ($4.tag === "Left") { return Data$dEither.$Either("Left", $4._1); } + if ($4.tag === "Right") { return Data$dEither.$Either("Right", Data$dEither.$Either("Left", $4._1)); } + $runtime.fail(); + } + if (v.type === "right") { + const $4 = dictReadForeign1.readImpl(v.value); + if ($4.tag === "Left") { return Data$dEither.$Either("Left", $4._1); } + if ($4.tag === "Right") { return Data$dEither.$Either("Right", Data$dEither.$Either("Right", $4._1)); } + $runtime.fail(); + } + return Data$dEither.$Either("Left", Data$dNonEmpty.$NonEmpty(Foreign.$ForeignError("ForeignError", "Invalid Either tag " + v.type), Data$dList$dTypes.Nil)); + }) + } +); +export { + alt, + applicativeExceptT, + bindExceptT, + fail, + functorExceptT, + getFields, + identity, + parseJSON, + read, + read$p, + readArray, + readAtIdx, + readBigInt1, + readForeignArray, + readForeignArray1, + readForeignBigInt, + readForeignBoolean, + readForeignChar, + readForeignDateTime, + readForeignEither, + readForeignFieldsCons, + readForeignFieldsNilRowRo, + readForeignForeign, + readForeignInt, + readForeignJSDate, + readForeignMap, + readForeignMapInt, + readForeignMapString, + readForeignMaybe, + readForeignNonEmptyArray, + readForeignNullable, + readForeignNumber, + readForeignObject, + readForeignRecord, + readForeignString, + readForeignTuple, + readForeignVariant, + readForeignVariantCons, + readForeignVariantNil, + readImpl, + readImpl2, + readInt, + readJSON, + readJSON$p, + readJSON_, + readNull, + readNumber, + readProp, + readString, + readTupleHelper, + readTupleImpl, + readTupleTupleTuple, + readVariantImpl, + read_, + sequenceCombining, + sequenceCombining1, + throwError, + toUnfoldable, + traverse, + tupleSize, + typeIsSymbol, + $$undefined as undefined, + unsafeStringToInt, + unsafeStringify, + valueIsSymbol, + write, + writeForeignArray, + writeForeignBigInt, + writeForeignBoolean, + writeForeignChar, + writeForeignDateTime, + writeForeignEither, + writeForeignFieldsCons, + writeForeignFieldsNilRowR, + writeForeignForeign, + writeForeignInt, + writeForeignJSDate, + writeForeignMap, + writeForeignMapInt, + writeForeignMapString, + writeForeignMaybe, + writeForeignNEArray, + writeForeignNullable, + writeForeignNumber, + writeForeignObject, + writeForeignRecord, + writeForeignString, + writeForeignTuple, + writeForeignTupleTuple, + writeForeignVariant, + writeForeignVariantCons, + writeForeignVariantNilRow, + writeImpl, + writeImpl2, + writeImplFields, + writeJSON, + writeVariantImpl +}; +export * from "./foreign.js"; diff --git a/.storybook/purescript-indexer/output-es/package.json b/.storybook/purescript-indexer/output-es/package.json new file mode 100644 index 0000000..1632c2c --- /dev/null +++ b/.storybook/purescript-indexer/output-es/package.json @@ -0,0 +1 @@ +{"type": "module"} \ No newline at end of file diff --git a/.storybook/purescript-indexer/output-es/runtime.js b/.storybook/purescript-indexer/output-es/runtime.js new file mode 100644 index 0000000..1388a4e --- /dev/null +++ b/.storybook/purescript-indexer/output-es/runtime.js @@ -0,0 +1,21 @@ +export function binding(init) { + let state = 0; + let value; + + return () => { + if (state === 2) { + return value; + } + if (state === 1) { + throw new Error("Binding demanded before initialized"); + } + state = 1; + value = init(); + state = 2; + return value; + }; +} + +export function fail() { + throw new Error("Failed pattern match"); +} diff --git a/.storybook/purescript-indexer/package-lock.json b/.storybook/purescript-indexer/package-lock.json new file mode 100644 index 0000000..6e2d2c0 --- /dev/null +++ b/.storybook/purescript-indexer/package-lock.json @@ -0,0 +1,623 @@ +{ + "name": "purescript-indexer", + "version": "1.0.0", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "purescript-indexer", + "version": "1.0.0", + "license": "ISC", + "dependencies": { + "source-map": "^0.7.4" + }, + "devDependencies": { + "esbuild": "^0.15.13", + "purs-backend-es": "^1.2.0" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.15.13.tgz", + "integrity": "sha512-RY2fVI8O0iFUNvZirXaQ1vMvK0xhCcl0gqRj74Z6yEiO1zAUa7hbsdwZM1kzqbxHK7LFyMizipfXT3JME+12Hw==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.15.13.tgz", + "integrity": "sha512-+BoyIm4I8uJmH/QDIH0fu7MG0AEx9OXEDXnqptXCwKOlOqZiS4iraH1Nr7/ObLMokW3sOCeBNyD68ATcV9b9Ag==", + "cpu": [ + "loong64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.15.13.tgz", + "integrity": "sha512-Cu3SC84oyzzhrK/YyN4iEVy2jZu5t2fz66HEOShHURcjSkOSAVL8C/gfUT+lDJxkVHpg8GZ10DD0rMHRPqMFaQ==", + "dev": true, + "hasInstallScript": true, + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/android-arm": "0.15.13", + "@esbuild/linux-loong64": "0.15.13", + "esbuild-android-64": "0.15.13", + "esbuild-android-arm64": "0.15.13", + "esbuild-darwin-64": "0.15.13", + "esbuild-darwin-arm64": "0.15.13", + "esbuild-freebsd-64": "0.15.13", + "esbuild-freebsd-arm64": "0.15.13", + "esbuild-linux-32": "0.15.13", + "esbuild-linux-64": "0.15.13", + "esbuild-linux-arm": "0.15.13", + "esbuild-linux-arm64": "0.15.13", + "esbuild-linux-mips64le": "0.15.13", + "esbuild-linux-ppc64le": "0.15.13", + "esbuild-linux-riscv64": "0.15.13", + "esbuild-linux-s390x": "0.15.13", + "esbuild-netbsd-64": "0.15.13", + "esbuild-openbsd-64": "0.15.13", + "esbuild-sunos-64": "0.15.13", + "esbuild-windows-32": "0.15.13", + "esbuild-windows-64": "0.15.13", + "esbuild-windows-arm64": "0.15.13" + } + }, + "node_modules/esbuild-android-64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-android-64/-/esbuild-android-64-0.15.13.tgz", + "integrity": "sha512-yRorukXBlokwTip+Sy4MYskLhJsO0Kn0/Fj43s1krVblfwP+hMD37a4Wmg139GEsMLl+vh8WXp2mq/cTA9J97g==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-android-arm64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-android-arm64/-/esbuild-android-arm64-0.15.13.tgz", + "integrity": "sha512-TKzyymLD6PiVeyYa4c5wdPw87BeAiTXNtK6amWUcXZxkV51gOk5u5qzmDaYSwiWeecSNHamFsaFjLoi32QR5/w==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-darwin-64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.15.13.tgz", + "integrity": "sha512-WAx7c2DaOS6CrRcoYCgXgkXDliLnFv3pQLV6GeW1YcGEZq2Gnl8s9Pg7ahValZkpOa0iE/ojRVQ87sbUhF1Cbg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-darwin-arm64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.13.tgz", + "integrity": "sha512-U6jFsPfSSxC3V1CLiQqwvDuj3GGrtQNB3P3nNC3+q99EKf94UGpsG9l4CQ83zBs1NHrk1rtCSYT0+KfK5LsD8A==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-freebsd-64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.13.tgz", + "integrity": "sha512-whItJgDiOXaDG/idy75qqevIpZjnReZkMGCgQaBWZuKHoElDJC1rh7MpoUgupMcdfOd+PgdEwNQW9DAE6i8wyA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-freebsd-arm64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.13.tgz", + "integrity": "sha512-6pCSWt8mLUbPtygv7cufV0sZLeylaMwS5Fznj6Rsx9G2AJJsAjQ9ifA+0rQEIg7DwJmi9it+WjzNTEAzzdoM3Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-linux-32": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.15.13.tgz", + "integrity": "sha512-VbZdWOEdrJiYApm2kkxoTOgsoCO1krBZ3quHdYk3g3ivWaMwNIVPIfEE0f0XQQ0u5pJtBsnk2/7OPiCFIPOe/w==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-linux-64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.15.13.tgz", + "integrity": "sha512-rXmnArVNio6yANSqDQlIO4WiP+Cv7+9EuAHNnag7rByAqFVuRusLbGi2697A5dFPNXoO//IiogVwi3AdcfPC6A==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-linux-arm": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.15.13.tgz", + "integrity": "sha512-Ac6LpfmJO8WhCMQmO253xX2IU2B3wPDbl4IvR0hnqcPrdfCaUa2j/lLMGTjmQ4W5JsJIdHEdW12dG8lFS0MbxQ==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-linux-arm64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.13.tgz", + "integrity": "sha512-alEMGU4Z+d17U7KQQw2IV8tQycO6T+rOrgW8OS22Ua25x6kHxoG6Ngry6Aq6uranC+pNWNMB6aHFPh7aTQdORQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-linux-mips64le": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.13.tgz", + "integrity": "sha512-47PgmyYEu+yN5rD/MbwS6DxP2FSGPo4Uxg5LwIdxTiyGC2XKwHhHyW7YYEDlSuXLQXEdTO7mYe8zQ74czP7W8A==", + "cpu": [ + "mips64el" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-linux-ppc64le": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.13.tgz", + "integrity": "sha512-z6n28h2+PC1Ayle9DjKoBRcx/4cxHoOa2e689e2aDJSaKug3jXcQw7mM+GLg+9ydYoNzj8QxNL8ihOv/OnezhA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-linux-riscv64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.13.tgz", + "integrity": "sha512-+Lu4zuuXuQhgLUGyZloWCqTslcCAjMZH1k3Xc9MSEJEpEFdpsSU0sRDXAnk18FKOfEjhu4YMGaykx9xjtpA6ow==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-linux-s390x": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.13.tgz", + "integrity": "sha512-BMeXRljruf7J0TMxD5CIXS65y7puiZkAh+s4XFV9qy16SxOuMhxhVIXYLnbdfLrsYGFzx7U9mcdpFWkkvy/Uag==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-netbsd-64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.13.tgz", + "integrity": "sha512-EHj9QZOTel581JPj7UO3xYbltFTYnHy+SIqJVq6yd3KkCrsHRbapiPb0Lx3EOOtybBEE9EyqbmfW1NlSDsSzvQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-openbsd-64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.13.tgz", + "integrity": "sha512-nkuDlIjF/sfUhfx8SKq0+U+Fgx5K9JcPq1mUodnxI0x4kBdCv46rOGWbuJ6eof2n3wdoCLccOoJAbg9ba/bT2w==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-sunos-64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.15.13.tgz", + "integrity": "sha512-jVeu2GfxZQ++6lRdY43CS0Tm/r4WuQQ0Pdsrxbw+aOrHQPHV0+LNOLnvbN28M7BSUGnJnHkHm2HozGgNGyeIRw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-windows-32": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-windows-32/-/esbuild-windows-32-0.15.13.tgz", + "integrity": "sha512-XoF2iBf0wnqo16SDq+aDGi/+QbaLFpkiRarPVssMh9KYbFNCqPLlGAWwDvxEVz+ywX6Si37J2AKm+AXq1kC0JA==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-windows-64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.15.13.tgz", + "integrity": "sha512-Et6htEfGycjDrtqb2ng6nT+baesZPYQIW+HUEHK4D1ncggNrDNk3yoboYQ5KtiVrw/JaDMNttz8rrPubV/fvPQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-windows-arm64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.13.tgz", + "integrity": "sha512-3bv7tqntThQC9SWLRouMDmZnlOukBhOCTlkzNqzGCmrkCJI7io5LLjwJBOVY6kOUlIvdxbooNZwjtBvj+7uuVg==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/purs-backend-es": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/purs-backend-es/-/purs-backend-es-1.2.0.tgz", + "integrity": "sha512-mvjyKAz0s56f8it2upQlolAus0fYPS71kLIj2bTolspVH9c9YhTrd7EwvRO102EJmGkV4TiSD5vkvD8+UCBJnQ==", + "dev": true, + "bin": { + "purs-backend-es": "index.js" + } + }, + "node_modules/source-map": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", + "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", + "engines": { + "node": ">= 8" + } + } + }, + "dependencies": { + "@esbuild/android-arm": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.15.13.tgz", + "integrity": "sha512-RY2fVI8O0iFUNvZirXaQ1vMvK0xhCcl0gqRj74Z6yEiO1zAUa7hbsdwZM1kzqbxHK7LFyMizipfXT3JME+12Hw==", + "dev": true, + "optional": true + }, + "@esbuild/linux-loong64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.15.13.tgz", + "integrity": "sha512-+BoyIm4I8uJmH/QDIH0fu7MG0AEx9OXEDXnqptXCwKOlOqZiS4iraH1Nr7/ObLMokW3sOCeBNyD68ATcV9b9Ag==", + "dev": true, + "optional": true + }, + "esbuild": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.15.13.tgz", + "integrity": "sha512-Cu3SC84oyzzhrK/YyN4iEVy2jZu5t2fz66HEOShHURcjSkOSAVL8C/gfUT+lDJxkVHpg8GZ10DD0rMHRPqMFaQ==", + "dev": true, + "requires": { + "@esbuild/android-arm": "0.15.13", + "@esbuild/linux-loong64": "0.15.13", + "esbuild-android-64": "0.15.13", + "esbuild-android-arm64": "0.15.13", + "esbuild-darwin-64": "0.15.13", + "esbuild-darwin-arm64": "0.15.13", + "esbuild-freebsd-64": "0.15.13", + "esbuild-freebsd-arm64": "0.15.13", + "esbuild-linux-32": "0.15.13", + "esbuild-linux-64": "0.15.13", + "esbuild-linux-arm": "0.15.13", + "esbuild-linux-arm64": "0.15.13", + "esbuild-linux-mips64le": "0.15.13", + "esbuild-linux-ppc64le": "0.15.13", + "esbuild-linux-riscv64": "0.15.13", + "esbuild-linux-s390x": "0.15.13", + "esbuild-netbsd-64": "0.15.13", + "esbuild-openbsd-64": "0.15.13", + "esbuild-sunos-64": "0.15.13", + "esbuild-windows-32": "0.15.13", + "esbuild-windows-64": "0.15.13", + "esbuild-windows-arm64": "0.15.13" + } + }, + "esbuild-android-64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-android-64/-/esbuild-android-64-0.15.13.tgz", + "integrity": "sha512-yRorukXBlokwTip+Sy4MYskLhJsO0Kn0/Fj43s1krVblfwP+hMD37a4Wmg139GEsMLl+vh8WXp2mq/cTA9J97g==", + "dev": true, + "optional": true + }, + "esbuild-android-arm64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-android-arm64/-/esbuild-android-arm64-0.15.13.tgz", + "integrity": "sha512-TKzyymLD6PiVeyYa4c5wdPw87BeAiTXNtK6amWUcXZxkV51gOk5u5qzmDaYSwiWeecSNHamFsaFjLoi32QR5/w==", + "dev": true, + "optional": true + }, + "esbuild-darwin-64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.15.13.tgz", + "integrity": "sha512-WAx7c2DaOS6CrRcoYCgXgkXDliLnFv3pQLV6GeW1YcGEZq2Gnl8s9Pg7ahValZkpOa0iE/ojRVQ87sbUhF1Cbg==", + "dev": true, + "optional": true + }, + "esbuild-darwin-arm64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.13.tgz", + "integrity": "sha512-U6jFsPfSSxC3V1CLiQqwvDuj3GGrtQNB3P3nNC3+q99EKf94UGpsG9l4CQ83zBs1NHrk1rtCSYT0+KfK5LsD8A==", + "dev": true, + "optional": true + }, + "esbuild-freebsd-64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.13.tgz", + "integrity": "sha512-whItJgDiOXaDG/idy75qqevIpZjnReZkMGCgQaBWZuKHoElDJC1rh7MpoUgupMcdfOd+PgdEwNQW9DAE6i8wyA==", + "dev": true, + "optional": true + }, + "esbuild-freebsd-arm64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.13.tgz", + "integrity": "sha512-6pCSWt8mLUbPtygv7cufV0sZLeylaMwS5Fznj6Rsx9G2AJJsAjQ9ifA+0rQEIg7DwJmi9it+WjzNTEAzzdoM3Q==", + "dev": true, + "optional": true + }, + "esbuild-linux-32": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.15.13.tgz", + "integrity": "sha512-VbZdWOEdrJiYApm2kkxoTOgsoCO1krBZ3quHdYk3g3ivWaMwNIVPIfEE0f0XQQ0u5pJtBsnk2/7OPiCFIPOe/w==", + "dev": true, + "optional": true + }, + "esbuild-linux-64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.15.13.tgz", + "integrity": "sha512-rXmnArVNio6yANSqDQlIO4WiP+Cv7+9EuAHNnag7rByAqFVuRusLbGi2697A5dFPNXoO//IiogVwi3AdcfPC6A==", + "dev": true, + "optional": true + }, + "esbuild-linux-arm": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.15.13.tgz", + "integrity": "sha512-Ac6LpfmJO8WhCMQmO253xX2IU2B3wPDbl4IvR0hnqcPrdfCaUa2j/lLMGTjmQ4W5JsJIdHEdW12dG8lFS0MbxQ==", + "dev": true, + "optional": true + }, + "esbuild-linux-arm64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.13.tgz", + "integrity": "sha512-alEMGU4Z+d17U7KQQw2IV8tQycO6T+rOrgW8OS22Ua25x6kHxoG6Ngry6Aq6uranC+pNWNMB6aHFPh7aTQdORQ==", + "dev": true, + "optional": true + }, + "esbuild-linux-mips64le": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.13.tgz", + "integrity": "sha512-47PgmyYEu+yN5rD/MbwS6DxP2FSGPo4Uxg5LwIdxTiyGC2XKwHhHyW7YYEDlSuXLQXEdTO7mYe8zQ74czP7W8A==", + "dev": true, + "optional": true + }, + "esbuild-linux-ppc64le": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.13.tgz", + "integrity": "sha512-z6n28h2+PC1Ayle9DjKoBRcx/4cxHoOa2e689e2aDJSaKug3jXcQw7mM+GLg+9ydYoNzj8QxNL8ihOv/OnezhA==", + "dev": true, + "optional": true + }, + "esbuild-linux-riscv64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.13.tgz", + "integrity": "sha512-+Lu4zuuXuQhgLUGyZloWCqTslcCAjMZH1k3Xc9MSEJEpEFdpsSU0sRDXAnk18FKOfEjhu4YMGaykx9xjtpA6ow==", + "dev": true, + "optional": true + }, + "esbuild-linux-s390x": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.13.tgz", + "integrity": "sha512-BMeXRljruf7J0TMxD5CIXS65y7puiZkAh+s4XFV9qy16SxOuMhxhVIXYLnbdfLrsYGFzx7U9mcdpFWkkvy/Uag==", + "dev": true, + "optional": true + }, + "esbuild-netbsd-64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.13.tgz", + "integrity": "sha512-EHj9QZOTel581JPj7UO3xYbltFTYnHy+SIqJVq6yd3KkCrsHRbapiPb0Lx3EOOtybBEE9EyqbmfW1NlSDsSzvQ==", + "dev": true, + "optional": true + }, + "esbuild-openbsd-64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.13.tgz", + "integrity": "sha512-nkuDlIjF/sfUhfx8SKq0+U+Fgx5K9JcPq1mUodnxI0x4kBdCv46rOGWbuJ6eof2n3wdoCLccOoJAbg9ba/bT2w==", + "dev": true, + "optional": true + }, + "esbuild-sunos-64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.15.13.tgz", + "integrity": "sha512-jVeu2GfxZQ++6lRdY43CS0Tm/r4WuQQ0Pdsrxbw+aOrHQPHV0+LNOLnvbN28M7BSUGnJnHkHm2HozGgNGyeIRw==", + "dev": true, + "optional": true + }, + "esbuild-windows-32": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-windows-32/-/esbuild-windows-32-0.15.13.tgz", + "integrity": "sha512-XoF2iBf0wnqo16SDq+aDGi/+QbaLFpkiRarPVssMh9KYbFNCqPLlGAWwDvxEVz+ywX6Si37J2AKm+AXq1kC0JA==", + "dev": true, + "optional": true + }, + "esbuild-windows-64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.15.13.tgz", + "integrity": "sha512-Et6htEfGycjDrtqb2ng6nT+baesZPYQIW+HUEHK4D1ncggNrDNk3yoboYQ5KtiVrw/JaDMNttz8rrPubV/fvPQ==", + "dev": true, + "optional": true + }, + "esbuild-windows-arm64": { + "version": "0.15.13", + "resolved": "https://registry.npmjs.org/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.13.tgz", + "integrity": "sha512-3bv7tqntThQC9SWLRouMDmZnlOukBhOCTlkzNqzGCmrkCJI7io5LLjwJBOVY6kOUlIvdxbooNZwjtBvj+7uuVg==", + "dev": true, + "optional": true + }, + "purs-backend-es": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/purs-backend-es/-/purs-backend-es-1.2.0.tgz", + "integrity": "sha512-mvjyKAz0s56f8it2upQlolAus0fYPS71kLIj2bTolspVH9c9YhTrd7EwvRO102EJmGkV4TiSD5vkvD8+UCBJnQ==", + "dev": true + }, + "source-map": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", + "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==" + } + } +} diff --git a/.storybook/purescript-indexer/package.json b/.storybook/purescript-indexer/package.json new file mode 100644 index 0000000..5a2befe --- /dev/null +++ b/.storybook/purescript-indexer/package.json @@ -0,0 +1,26 @@ +{ + "name": "purescript-indexer", + "version": "1.0.0", + "description": "", + "main": "dist/index.mjs", + "type": "module", + "directories": { + "test": "test" + }, + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1", + "build:production": "spago -x production.dhall build", + "prebundle": "npm run build:production", + "bundle": "esbuild output-es/Main/index.js --minify --format=esm --bundle --platform=node --outfile=dist/index.mjs" + }, + "keywords": [], + "author": "", + "license": "ISC", + "dependencies": { + "source-map": "^0.7.4" + }, + "devDependencies": { + "esbuild": "^0.15.13", + "purs-backend-es": "^1.2.0" + } +} diff --git a/.storybook/purescript-indexer/packages.dhall b/.storybook/purescript-indexer/packages.dhall new file mode 100644 index 0000000..ae97e93 --- /dev/null +++ b/.storybook/purescript-indexer/packages.dhall @@ -0,0 +1,124 @@ +{- +Welcome to your new Dhall package-set! + +Below are instructions for how to edit this file for most use +cases, so that you don't need to know Dhall to use it. + +## Use Cases + +Most will want to do one or both of these options: +1. Override/Patch a package's dependency +2. Add a package not already in the default package set + +This file will continue to work whether you use one or both options. +Instructions for each option are explained below. + +### Overriding/Patching a package + +Purpose: +- Change a package's dependency to a newer/older release than the + default package set's release +- Use your own modified version of some dependency that may + include new API, changed API, removed API by + using your custom git repo of the library rather than + the package set's repo + +Syntax: +where `entityName` is one of the following: +- dependencies +- repo +- version +------------------------------- +let upstream = -- +in upstream + with packageName.entityName = "new value" +------------------------------- + +Example: +------------------------------- +let upstream = -- +in upstream + with halogen.version = "master" + with halogen.repo = "https://example.com/path/to/git/repo.git" + + with halogen-vdom.version = "v4.0.0" + with halogen-vdom.dependencies = [ "extra-dependency" ] # halogen-vdom.dependencies +------------------------------- + +### Additions + +Purpose: +- Add packages that aren't already included in the default package set + +Syntax: +where `` is: +- a tag (i.e. "v4.0.0") +- a branch (i.e. "master") +- commit hash (i.e. "701f3e44aafb1a6459281714858fadf2c4c2a977") +------------------------------- +let upstream = -- +in upstream + with new-package-name = + { dependencies = + [ "dependency1" + , "dependency2" + ] + , repo = + "https://example.com/path/to/git/repo.git" + , version = + "" + } +------------------------------- + +Example: +------------------------------- +let upstream = -- +in upstream + with benchotron = + { dependencies = + [ "arrays" + , "exists" + , "profunctor" + , "strings" + , "quickcheck" + , "lcg" + , "transformers" + , "foldable-traversable" + , "exceptions" + , "node-fs" + , "node-buffer" + , "node-readline" + , "datetime" + , "now" + ] + , repo = + "https://github.com/hdgarrood/purescript-benchotron.git" + , version = + "v7.0.0" + } +------------------------------- +-} +let upstream = + https://github.com/purescript/package-sets/releases/download/psc-0.15.4-20221107/packages.dhall + sha256:cd0c29e8a69cf70b714ce3ee91c57c02b3d20a1118e35dd8405f33aa80177849 + +in upstream + with tidy = + { dependencies = + [ "control" + , "dodo-printer" + , "either" + , "foldable-traversable" + , "lists" + , "maybe" + , "newtype" + , "ordered-collections" + , "partial" + , "prelude" + , "language-cst-parser" + , "strings" + , "tuples" + ] + , repo = "https://github.com/natefaubion/purescript-tidy.git" + , version = "v0.9.0" + } diff --git a/.storybook/purescript-indexer/production.dhall b/.storybook/purescript-indexer/production.dhall new file mode 100644 index 0000000..5e5ece4 --- /dev/null +++ b/.storybook/purescript-indexer/production.dhall @@ -0,0 +1 @@ +./spago.dhall // { backend = "purs-backend-es build" } diff --git a/.storybook/purescript-indexer/spago.dhall b/.storybook/purescript-indexer/spago.dhall new file mode 100644 index 0000000..b4445f9 --- /dev/null +++ b/.storybook/purescript-indexer/spago.dhall @@ -0,0 +1,46 @@ +{- +Welcome to a Spago project! +You can edit this file as you like. + +Need help? See the following resources: +- Spago documentation: https://github.com/purescript/spago +- Dhall language tour: https://docs.dhall-lang.org/tutorials/Language-Tour.html + +When creating a new Spago project, you can use +`spago init --no-comments` or `spago init -C` +to generate this file without the comments in this block. +-} +{ name = "my-project" +, dependencies = + [ "aff" + , "aff-promise" + , "arrays" + , "console" + , "control" + , "debug" + , "effect" + , "either" + , "exceptions" + , "foldable-traversable" + , "foreign" + , "foreign-object" + , "functions" + , "language-cst-parser" + , "maybe" + , "newtype" + , "node-buffer" + , "node-fs-aff" + , "node-path" + , "node-process" + , "ordered-collections" + , "prelude" + , "record" + , "refs" + , "strings" + , "tidy" + , "unsafe-coerce" + , "yoga-json" + ] +, packages = ./packages.dhall +, sources = [ "src/**/*.purs", "test/**/*.purs" ] +} diff --git a/.storybook/purescript-indexer/src/Main.purs b/.storybook/purescript-indexer/src/Main.purs new file mode 100644 index 0000000..99530e5 --- /dev/null +++ b/.storybook/purescript-indexer/src/Main.purs @@ -0,0 +1,11 @@ +module Main (indexer) where + +import Control.Promise (Promise) +import Control.Promise as Promise +import Effect.Uncurried (EffectFn2, mkEffectFn2) +import PureScriptCSFIndexer as PureScriptCSFIndexer +import Storybook.CSFTools.Types (CsfFile, CsfOptions) + +indexer :: EffectFn2 String CsfOptions (Promise CsfFile) +indexer = mkEffectFn2 \fn opts -> Promise.fromAff do + PureScriptCSFIndexer.indexer fn opts diff --git a/.storybook/purescript-indexer/src/PureScriptCSFIndexer.purs b/.storybook/purescript-indexer/src/PureScriptCSFIndexer.purs new file mode 100644 index 0000000..4db1a10 --- /dev/null +++ b/.storybook/purescript-indexer/src/PureScriptCSFIndexer.purs @@ -0,0 +1,124 @@ +module PureScriptCSFIndexer (indexer) where + +import Prelude + +import Data.Array ((!!)) +import Data.Array as Array +import Data.Either (Either(..), either) +import Data.Foldable (for_) +import Data.Map (SemigroupMap(..)) +import Data.Map as Map +import Data.Maybe (Maybe(..), maybe) +import Data.Newtype (un, unwrap) +import Data.Semigroup.First (First(..)) +import Data.Semigroup.Foldable (intercalateMap) +import Data.String (Pattern(..)) +import Data.String as String +import Data.String.CodeUnits as SCU +import Data.String.Regex (Regex) +import Data.String.Regex as Regex +import Data.String.Regex.Flags as RF +import Data.String.Regex.Unsafe (unsafeRegex) +import Effect.Aff (Aff, attempt, throwError) +import Effect.Class (liftEffect) +import Effect.Class.Console as Console +import Effect.Exception (Error, error) +import Effect.Ref as Ref +import Foreign (Foreign) +import Node.Encoding (Encoding(..)) +import Node.FS.Aff (readTextFile) +import Node.Path (dirname, resolve) +import PureScript.CST (RecoveredParserResult(..), parseModule) +import PureScript.CST.Traversal (defaultMonoidalVisitor, foldMapModule) +import PureScript.CST.Types as CST +import Record (merge) +import SourceMap.Types (SourceMap) +import Storybook.CSFTools (formatCsf, parseCsf, setStoryCode) +import Storybook.CSFTools as CSF +import Storybook.CSFTools.Types (CsfFile, CsfOptions) +import Unsafe.Coerce (unsafeCoerce) +import Yoga.JSON as JSON +import Yoga.JSON.Error (renderHumanError) + +-- foreign import defaultVariableRecordRegex :: Regex + +indexer ∷ String → CsfOptions → Aff CsfFile +indexer fileName options = do + fileContent <- readTextFile UTF8 fileName + -- withSourceMapConsumer + let fixedFileContent = adjustSourceForStorybook fileContent + parsed <- parseCsf fixedFileContent (options # merge { fileName }) # liftEffect + + enriched <- enrichWithPureScriptInfo fileName parsed + csf <- case enriched of + Left err -> do + Console.errorShow err + pure parsed + Right r -> pure r + liftEffect do + formatted <- formatCsf csf + parseCsf formatted options + +enrichWithPureScriptInfo ∷ String → CsfFile → Aff (Either Error CsfFile) +enrichWithPureScriptInfo fileName parsed = attempt do + sourceMapText <- readTextFile UTF8 (fileName <> ".map") + sourceMap :: SourceMap <- JSON.readJSON sourceMapText # throwJSONErr + sourcePath <- sourceMap.sources # Array.head # throwMaybe "empty source path" + absoluteSourcePath <- resolve [ (dirname fileName) ] sourcePath # liftEffect + psFile <- readTextFile UTF8 absoluteSourcePath + cst <- case parseModule psFile of + ParseSucceeded mod -> pure mod + _ -> err $ "failed to parse PureScript module " <> psFile + let topLevelDecls = getTopLevelValueDeclarations cst + storyNames <- CSF.getStoryNames parsed # liftEffect + resultRef <- Ref.new parsed # liftEffect + -- The lines we will need later + let lines = String.split (Pattern "\n") psFile + for_ storyNames \storyName -> do + for_ (Map.lookup storyName (unwrap topLevelDecls)) \(pos :: (First CST.SourceRange)) -> liftEffect do + let { start, end } = un First pos + let completeLines = Array.slice (start.line) (end.line - 2) lines + case lines !! (start.line), lines !! (end.line) of + Just startLine, Just endLine -> do + let + code = + SCU.drop start.column startLine <> "\n" + <> Array.intercalate "\n" completeLines + <> "\n" + <> + SCU.take end.column endLine + before <- Ref.read resultRef + after <- setStoryCode { storyName, code } before + Ref.write after resultRef + _, _ -> Console.error "weird" + result <- Ref.read resultRef # liftEffect + pure result + where + + err :: forall a. String -> Aff a + err = throwError <<< error + + throwMaybe msg = maybe (err msg) pure + + throwJSONErr = either (err <<< intercalateMap "\n" renderHumanError) pure + +type TLDMap = SemigroupMap String (First CST.SourceRange) + +getTopLevelValueDeclarations :: forall a. CST.Module a -> TLDMap +getTopLevelValueDeclarations = foldMapModule $ defaultMonoidalVisitor + { onDecl = case _ of + CST.DeclValue { name: CST.Name { token: { range }, name: CST.Ident name } } -> + SemigroupMap $ Map.singleton name (First range) + _ -> mempty + } + +adjustSourceForStorybook ∷ String → String +adjustSourceForStorybook = + Regex.replace + defaultVariableRecordRegex + """var $$$$default = { $1 };""" + +defaultVariableRecordRegex ∷ Regex +defaultVariableRecordRegex = unsafeRegex + """^var \$\$default =[^\{]+\{((?:.*\n)+?)(^\}\);)""" + (RF.multiline <> RF.global) diff --git a/.storybook/purescript-indexer/src/SourceMap.js b/.storybook/purescript-indexer/src/SourceMap.js new file mode 100644 index 0000000..715dd8d --- /dev/null +++ b/.storybook/purescript-indexer/src/SourceMap.js @@ -0,0 +1,4 @@ +import { SourceMapConsumer } from "source-map" + +export const withSourceMapConsumerImpl = + (fn, data) => SourceMapConsumer.with(data, null, fn) diff --git a/.storybook/purescript-indexer/src/SourceMap.purs b/.storybook/purescript-indexer/src/SourceMap.purs new file mode 100644 index 0000000..341e61f --- /dev/null +++ b/.storybook/purescript-indexer/src/SourceMap.purs @@ -0,0 +1,29 @@ +module SourceMap (withSourceMapConsumer) where + +import Prelude + +import Control.Promise (Promise) +import Control.Promise as Promise +import Effect.Aff (Aff) +import Effect.Uncurried (EffectFn1, EffectFn2, mkEffectFn1, runEffectFn2) +import Foreign (Foreign) +import SourceMap.Types (SourceMapConsumer, SourceMap) +import Yoga.JSON as JSON + +foreign import withSourceMapConsumerImpl :: + EffectFn2 + -- handler + (EffectFn1 SourceMapConsumer (Promise Unit)) + -- the map + Foreign + (Promise Unit) + +withSourceMapConsumer + :: (SourceMapConsumer -> Aff Unit) -> + SourceMap -> + Aff Unit +withSourceMapConsumer handler map = + Promise.toAffE do + runEffectFn2 withSourceMapConsumerImpl + (mkEffectFn1 (Promise.fromAff <<< handler)) + (JSON.write map) diff --git a/.storybook/purescript-indexer/src/SourceMap/Types.purs b/.storybook/purescript-indexer/src/SourceMap/Types.purs new file mode 100644 index 0000000..198af8a --- /dev/null +++ b/.storybook/purescript-indexer/src/SourceMap/Types.purs @@ -0,0 +1,14 @@ +module SourceMap.Types where + +import Data.Maybe (Maybe) + +foreign import data SourceMapConsumer :: Type + +type SourceMap = + { file ∷ String + , mappings ∷ String + , names ∷ Array String + , sourceRoot ∷ Maybe String + , sources ∷ Array String + , version ∷ Int + } diff --git a/.storybook/purescript-indexer/src/Storybook/CSFTools.js b/.storybook/purescript-indexer/src/Storybook/CSFTools.js new file mode 100644 index 0000000..e3fcf2b --- /dev/null +++ b/.storybook/purescript-indexer/src/Storybook/CSFTools.js @@ -0,0 +1,16 @@ +import * as CSF from '@storybook/csf-tools'; + +export const parseCsf = code => options => () => CSF.loadCsf(code, options).parse() + +export const formatCsf = file => () => CSF.formatCsf(file) + +export const getStoryNames = csf => () => Object.keys(csf._stories) + +export const setStoryCode = ({ storyName, code }) => csf => () => { + if (!csf._stories[storyName]) return csf; + if (!csf._stories[storyName].parameters) { csf._stories[storyName].parameters = {} } + if (!csf._stories[storyName].parameters.docs) { csf._stories[storyName].parameters.docs = {} } + if (!csf._stories[storyName].parameters.docs.source) { csf._stories[storyName].parameters.docs.source = {} } + csf._stories[storyName].parameters.docs.source.code = code + return csf +} diff --git a/.storybook/purescript-indexer/src/Storybook/CSFTools.purs b/.storybook/purescript-indexer/src/Storybook/CSFTools.purs new file mode 100644 index 0000000..c4e0d7c --- /dev/null +++ b/.storybook/purescript-indexer/src/Storybook/CSFTools.purs @@ -0,0 +1,12 @@ +module Storybook.CSFTools where + +import Effect (Effect) +import Storybook.CSFTools.Types (CsfFile, CsfOptions) + +foreign import parseCsf :: String -> CsfOptions -> Effect CsfFile + +foreign import formatCsf :: CsfFile -> Effect String + +foreign import getStoryNames :: CsfFile -> Effect (Array String) + +foreign import setStoryCode :: { storyName :: String, code :: String } -> CsfFile -> Effect CsfFile diff --git a/.storybook/purescript-indexer/src/Storybook/CSFTools/Types.purs b/.storybook/purescript-indexer/src/Storybook/CSFTools/Types.purs new file mode 100644 index 0000000..1c9feac --- /dev/null +++ b/.storybook/purescript-indexer/src/Storybook/CSFTools/Types.purs @@ -0,0 +1,8 @@ +module Storybook.CSFTools.Types where + +foreign import data CsfFile :: Type + +type CsfOptions = { + fileName :: String, + makeTitle :: String -> String +} diff --git a/.storybook/purescript-indexer/test/Main.purs b/.storybook/purescript-indexer/test/Main.purs new file mode 100644 index 0000000..f91f98c --- /dev/null +++ b/.storybook/purescript-indexer/test/Main.purs @@ -0,0 +1,11 @@ +module Test.Main where + +import Prelude + +import Effect (Effect) +import Effect.Class.Console (log) + +main :: Effect Unit +main = do + log "🍝" + log "You should add some tests." diff --git a/.storybook/purescript-loader.ts b/.storybook/purescript-loader.ts new file mode 100644 index 0000000..e5a09ee --- /dev/null +++ b/.storybook/purescript-loader.ts @@ -0,0 +1,51 @@ +import { promises } from "fs" +import { relative } from "path" + +const mapWithKeys = (obj, fn) => + Object.fromEntries(Object.entries(obj).map(([k, v], i) => fn(k, v, i))) + +const capitalise = str => { + if (str.length === 0) return str + return str.charAt(0).toUpperCase() + str.slice(1) +} + +const toJSPath = (outputFolder, pursPath) => + pursPath + .slice(0, -5) + .split("/") + .reduce((acc, curr) => { + if (acc == "") { + if (curr == "stories") return (outputFolder + "/") + return "" + } + return acc + curr + "." + }, "").slice(0, -1) + "/index.js" + +export default function (source) { + console.log(this.resourcePath) + const options = this.getOptions() + if(!options.outputFolder) { + this.emitError("You must specify an output folder in options") + } + const outputFolder = relative(this.resourcePath, options.outputFolder) + const callback = this.async(); + const path = toJSPath(outputFolder, this.resourcePath).slice(3) + console.log() + console.log() + console.log() + const result = `export * from "${path}" +import originalDefault from "${path}" +export default { title: "Erwin", decorators: originalDefault.decorators } +` + console.log("Result", `export * from "${path}"`) + console.log() + console.log() + console.log() + + callback(null, result) + + // promises.readFile(path).then(file => { + // // console.log(file.toString()) + // callback(null, file.toString()) + // ) +} diff --git a/.storybook/rowtype-yoga-theme.js b/.storybook/rowtype-yoga-theme.js deleted file mode 100644 index 6f2abd2..0000000 --- a/.storybook/rowtype-yoga-theme.js +++ /dev/null @@ -1,28 +0,0 @@ -import logo from "./logo.svg" -import { create } from "@storybook/theming/create" - -export default create({ - base: "light", - - colorSecondary: "#271C5A", - colorPrimary: "#5B43D0", - - // UI - // appBg: '#10354a', - // appContentBg: '#203f50', - // appBorderColor: '#002334', - - // Typography - fontBase: - '"Inter V", "Inter var", Inter, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Ubuntu, Arial, sans-serif', - fontCode: '"VictorMono", monospace', - - // Text colors - textColor: "black", - - textInverseColor: "rgba(255,255,255,0.9)", - - brandTitle: "Rowtype Yoga", - brandUrl: "https://rowtype.yoga", - brandImage: logo -}) diff --git a/.tidyrc.json b/.tidyrc.json new file mode 100644 index 0000000..a5eaff1 --- /dev/null +++ b/.tidyrc.json @@ -0,0 +1,11 @@ +{ + "importSort": "source", + "importWrap": "source", + "indent": 2, + "operatorsFile": null, + "ribbon": 1, + "typeArrowPlacement": "last", + "unicode": "always", + "width": 80 +} + diff --git a/.vscode/settings.json b/.vscode/settings.json index fcf72ed..4d24222 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,6 @@ { "editor.formatOnSave": true, - "workbench.colorTheme": "Espresso Soda", + "workbench.colorTheme": "Halcyon", "search.useGlobalIgnoreFiles": true, "files.watcherExclude": { "**/.spago/**": true, diff --git a/assets/mat.webm b/assets/mat.webm new file mode 100644 index 0000000..0d4a299 Binary files /dev/null and b/assets/mat.webm differ diff --git a/assets/unsplash-mat-2400.jpg b/assets/unsplash-mat-2400.jpg new file mode 100644 index 0000000..789648f Binary files /dev/null and b/assets/unsplash-mat-2400.jpg differ diff --git a/assets/unsplash-mat-320.jpg b/assets/unsplash-mat-320.jpg new file mode 100644 index 0000000..6551fae Binary files /dev/null and b/assets/unsplash-mat-320.jpg differ diff --git a/assets/unsplash-mat-4160.jpg b/assets/unsplash-mat-4160.jpg new file mode 100644 index 0000000..e2d8e60 Binary files /dev/null and b/assets/unsplash-mat-4160.jpg differ diff --git a/assets/unsplash-mat-640.jpg b/assets/unsplash-mat-640.jpg new file mode 100644 index 0000000..5b80cfe Binary files /dev/null and b/assets/unsplash-mat-640.jpg differ diff --git a/package-lock.json b/package-lock.json deleted file mode 100644 index 2d03125..0000000 --- a/package-lock.json +++ /dev/null @@ -1,38502 +0,0 @@ -{ - "name": "ry-blocks", - "version": "1.0.0", - "lockfileVersion": 2, - "requires": true, - "packages": { - "": { - "name": "ry-blocks", - "version": "1.0.0", - "hasInstallScript": true, - "license": "MIT", - "dependencies": { - "@dnd-kit/core": "^6.0.1", - "@dnd-kit/modifiers": "^6.0.0", - "@dnd-kit/sortable": "^7.0.0", - "@dnd-kit/utilities": "^3.2.0", - "@emotion/react": "^11.9.0", - "@popperjs/core": "^2.11.5", - "downshift": "^6.1.7", - "framer-motion": "^6.3.3", - "react": "^18.1.0", - "react-dom": "^18.1.0", - "react-intersection-observer": "^9.1.0", - "react-popper": "^2.3.0", - "react-syntax-highlighter": "^15.5.0" - }, - "devDependencies": { - "@babel/core": "^7.18.0", - "@pmmmwh/react-refresh-webpack-plugin": "^0.5.6", - "@storybook/addons": "^6.5.3", - "@storybook/builder-webpack5": "^6.5.3", - "@storybook/manager-webpack5": "^6.5.3", - "@storybook/react": "^6.1.21", - "@storybook/theming": "^6.5.3", - "@testing-library/react": "^13.2.0", - "@testing-library/user-event": "^14.2.0", - "babel-loader": "^8.2.5", - "clean-webpack-plugin": "^4.0.0", - "compression-webpack-plugin": "^10.0.0", - "html-webpack-plugin": "^5.5.0", - "jsdom": "^19.0.0", - "jsdom-global": "^3.0.2", - "react-refresh": "^0.13.0", - "rimraf": "^3.0.2", - "source-map": "GerHobbelt/source-map#patch-8", - "source-map-loader": "^3.0.1", - "svg2psreact": "^2.1.0", - "webpack": "^5.72.1", - "webpack-cli": "^4.9.2", - "webpack-dev-server": "^4.9.0", - "webpack-merge": "^5.8.0" - } - }, - "node_modules/@ampproject/remapping": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz", - "integrity": "sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==", - "dependencies": { - "@jridgewell/gen-mapping": "^0.1.0", - "@jridgewell/trace-mapping": "^0.3.9" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/code-frame": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", - "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", - "dependencies": { - "@babel/highlight": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/compat-data": { - "version": "7.17.10", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.17.10.tgz", - "integrity": "sha512-GZt/TCsG70Ms19gfZO1tM4CVnXsPgEPBCpJu+Qz3L0LUDsY5nZqFZglIoPC1kIYOtNBZlrnFT+klg12vFGZXrw==", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/core": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.0.tgz", - "integrity": "sha512-Xyw74OlJwDijToNi0+6BBI5mLLR5+5R3bcSH80LXzjzEGEUlvNzujEE71BaD/ApEZHAvFI/Mlmp4M5lIkdeeWw==", - "dependencies": { - "@ampproject/remapping": "^2.1.0", - "@babel/code-frame": "^7.16.7", - "@babel/generator": "^7.18.0", - "@babel/helper-compilation-targets": "^7.17.10", - "@babel/helper-module-transforms": "^7.18.0", - "@babel/helpers": "^7.18.0", - "@babel/parser": "^7.18.0", - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.18.0", - "@babel/types": "^7.18.0", - "convert-source-map": "^1.7.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.2.1", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" - } - }, - "node_modules/@babel/core/node_modules/debug": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", - "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", - "license": "MIT", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/@babel/core/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "license": "MIT" - }, - "node_modules/@babel/generator": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.0.tgz", - "integrity": "sha512-81YO9gGx6voPXlvYdZBliFXAZU8vZ9AZ6z+CjlmcnaeOcYSFbMTpdeDUO9xD9dh/68Vq03I8ZspfUTPfitcDHg==", - "dependencies": { - "@babel/types": "^7.18.0", - "@jridgewell/gen-mapping": "^0.3.0", - "jsesc": "^2.5.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.1.tgz", - "integrity": "sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==", - "dependencies": { - "@jridgewell/set-array": "^1.0.0", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/helper-annotate-as-pure": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.16.7.tgz", - "integrity": "sha512-s6t2w/IPQVTAET1HitoowRGXooX8mCgtuP5195wD/QJPV6wYjpujCGF7JuMODVX2ZAJOf1GT6DT9MHEZvLOFSw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-builder-binary-assignment-operator-visitor": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.16.7.tgz", - "integrity": "sha512-C6FdbRaxYjwVu/geKW4ZeQ0Q31AftgRcdSnZ5/jsH6BzCJbtvXvhpfkbkThYSuutZA7nCXpPR6AD9zd1dprMkA==", - "dev": true, - "dependencies": { - "@babel/helper-explode-assignable-expression": "^7.16.7", - "@babel/types": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-compilation-targets": { - "version": "7.17.10", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.17.10.tgz", - "integrity": "sha512-gh3RxjWbauw/dFiU/7whjd0qN9K6nPJMqe6+Er7rOavFh0CQUSwhAE3IcTho2rywPJFxej6TUUHDkWcYI6gGqQ==", - "dependencies": { - "@babel/compat-data": "^7.17.10", - "@babel/helper-validator-option": "^7.16.7", - "browserslist": "^4.20.2", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.18.0.tgz", - "integrity": "sha512-Kh8zTGR9de3J63e5nS0rQUdRs/kbtwoeQQ0sriS0lItjC96u8XXZN6lKpuyWd2coKSU13py/y+LTmThLuVX0Pg==", - "dev": true, - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.16.7", - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-function-name": "^7.17.9", - "@babel/helper-member-expression-to-functions": "^7.17.7", - "@babel/helper-optimise-call-expression": "^7.16.7", - "@babel/helper-replace-supers": "^7.16.7", - "@babel/helper-split-export-declaration": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-create-regexp-features-plugin": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.17.12.tgz", - "integrity": "sha512-b2aZrV4zvutr9AIa6/gA3wsZKRwTKYoDxYiFKcESS3Ug2GTXzwBEvMuuFLhCQpEnRXs1zng4ISAXSUxxKBIcxw==", - "dev": true, - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.16.7", - "regexpu-core": "^5.0.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-define-polyfill-provider": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.1.tgz", - "integrity": "sha512-J9hGMpJQmtWmj46B3kBHmL38UhJGhYX7eqkcq+2gsstyYt341HmPeWspihX43yVRA0mS+8GGk2Gckc7bY/HCmA==", - "dev": true, - "dependencies": { - "@babel/helper-compilation-targets": "^7.13.0", - "@babel/helper-module-imports": "^7.12.13", - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/traverse": "^7.13.0", - "debug": "^4.1.1", - "lodash.debounce": "^4.0.8", - "resolve": "^1.14.2", - "semver": "^6.1.2" - }, - "peerDependencies": { - "@babel/core": "^7.4.0-0" - } - }, - "node_modules/@babel/helper-define-polyfill-provider/node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/@babel/helper-define-polyfill-provider/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "node_modules/@babel/helper-environment-visitor": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz", - "integrity": "sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==", - "dependencies": { - "@babel/types": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-explode-assignable-expression": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.16.7.tgz", - "integrity": "sha512-KyUenhWMC8VrxzkGP0Jizjo4/Zx+1nNZhgocs+gLzyZyB8SHidhoq9KK/8Ato4anhwsivfkBLftky7gvzbZMtQ==", - "dev": true, - "dependencies": { - "@babel/types": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-function-name": { - "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz", - "integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==", - "dependencies": { - "@babel/template": "^7.16.7", - "@babel/types": "^7.17.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-hoist-variables": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz", - "integrity": "sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==", - "dependencies": { - "@babel/types": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-member-expression-to-functions": { - "version": "7.17.7", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.17.7.tgz", - "integrity": "sha512-thxXgnQ8qQ11W2wVUObIqDL4p148VMxkt5T/qpN5k2fboRyzFGFmKsTGViquyM5QHKUy48OZoca8kw4ajaDPyw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.17.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-imports": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz", - "integrity": "sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==", - "dependencies": { - "@babel/types": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-transforms": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.18.0.tgz", - "integrity": "sha512-kclUYSUBIjlvnzN2++K9f2qzYKFgjmnmjwL4zlmU5f8ZtzgWe8s0rUPSTGy2HmK4P8T52MQsS+HTQAgZd3dMEA==", - "dependencies": { - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-module-imports": "^7.16.7", - "@babel/helper-simple-access": "^7.17.7", - "@babel/helper-split-export-declaration": "^7.16.7", - "@babel/helper-validator-identifier": "^7.16.7", - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.18.0", - "@babel/types": "^7.18.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-optimise-call-expression": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.16.7.tgz", - "integrity": "sha512-EtgBhg7rd/JcnpZFXpBy0ze1YRfdm7BnBX4uKMBd3ixa3RGAE002JZB66FJyNH7g0F38U05pXmA5P8cBh7z+1w==", - "dev": true, - "dependencies": { - "@babel/types": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-plugin-utils": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.17.12.tgz", - "integrity": "sha512-JDkf04mqtN3y4iAbO1hv9U2ARpPyPL1zqyWs/2WG1pgSq9llHFjStX5jdxb84himgJm+8Ng+x0oiWF/nw/XQKA==", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-remap-async-to-generator": { - "version": "7.16.8", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.16.8.tgz", - "integrity": "sha512-fm0gH7Flb8H51LqJHy3HJ3wnE1+qtYR2A99K06ahwrawLdOFsCEWjZOrYricXJHoPSudNKxrMBUPEIPxiIIvBw==", - "dev": true, - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.16.7", - "@babel/helper-wrap-function": "^7.16.8", - "@babel/types": "^7.16.8" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-replace-supers": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.16.7.tgz", - "integrity": "sha512-y9vsWilTNaVnVh6xiJfABzsNpgDPKev9HnAgz6Gb1p6UUwf9NepdlsV7VXGCftJM+jqD5f7JIEubcpLjZj5dBw==", - "dev": true, - "dependencies": { - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-member-expression-to-functions": "^7.16.7", - "@babel/helper-optimise-call-expression": "^7.16.7", - "@babel/traverse": "^7.16.7", - "@babel/types": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-simple-access": { - "version": "7.17.7", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.17.7.tgz", - "integrity": "sha512-txyMCGroZ96i+Pxr3Je3lzEJjqwaRC9buMUgtomcrLe5Nd0+fk1h0LLA+ixUF5OW7AhHuQ7Es1WcQJZmZsz2XA==", - "dependencies": { - "@babel/types": "^7.17.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-skip-transparent-expression-wrappers": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.16.0.tgz", - "integrity": "sha512-+il1gTy0oHwUsBQZyJvukbB4vPMdcYBrFHa0Uc4AizLxbq6BOYC51Rv4tWocX9BLBDLZ4kc6qUFpQ6HRgL+3zw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.16.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-split-export-declaration": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", - "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", - "dependencies": { - "@babel/types": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-option": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz", - "integrity": "sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-wrap-function": { - "version": "7.16.8", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.16.8.tgz", - "integrity": "sha512-8RpyRVIAW1RcDDGTA+GpPAwV22wXCfKOoM9bet6TLkGIFTkRQSkH1nMQ5Yet4MpoXe1ZwHPVtNasc2w0uZMqnw==", - "dev": true, - "dependencies": { - "@babel/helper-function-name": "^7.16.7", - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.16.8", - "@babel/types": "^7.16.8" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helpers": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.18.0.tgz", - "integrity": "sha512-AE+HMYhmlMIbho9nbvicHyxFwhrO+xhKB6AhRxzl8w46Yj0VXTZjEsAoBVC7rB2I0jzX+yWyVybnO08qkfx6kg==", - "dependencies": { - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.18.0", - "@babel/types": "^7.18.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.12.tgz", - "integrity": "sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==", - "dependencies": { - "@babel/helper-validator-identifier": "^7.16.7", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/parser": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.0.tgz", - "integrity": "sha512-AqDccGC+m5O/iUStSJy3DGRIUFu7WbY/CppZYwrEUB4N0tZlnI8CSTsgL7v5fHVFmUbRv2sd+yy27o8Ydt4MGg==", - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.17.12.tgz", - "integrity": "sha512-xCJQXl4EeQ3J9C4yOmpTrtVGmzpm2iSzyxbkZHw7UCnZBftHpF/hpII80uWVyVrc40ytIClHjgWGTG1g/yB+aw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.17.12.tgz", - "integrity": "sha512-/vt0hpIw0x4b6BLKUkwlvEoiGZYYLNZ96CzyHYPbtG2jZGz6LBe7/V+drYrc/d+ovrF9NBi0pmtvmNb/FsWtRQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", - "@babel/plugin-proposal-optional-chaining": "^7.17.12" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.13.0" - } - }, - "node_modules/@babel/plugin-proposal-async-generator-functions": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.17.12.tgz", - "integrity": "sha512-RWVvqD1ooLKP6IqWTA5GyFVX2isGEgC5iFxKzfYOIy/QEFdxYyCybBDtIGjipHpb9bDWHzcqGqFakf+mVmBTdQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-remap-async-to-generator": "^7.16.8", - "@babel/plugin-syntax-async-generators": "^7.8.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-class-properties": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.17.12.tgz", - "integrity": "sha512-U0mI9q8pW5Q9EaTHFPwSVusPMV/DV9Mm8p7csqROFLtIE9rBF5piLqyrBGigftALrBcsBGu4m38JneAe7ZDLXw==", - "dev": true, - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.17.12", - "@babel/helper-plugin-utils": "^7.17.12" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-class-static-block": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.18.0.tgz", - "integrity": "sha512-t+8LsRMMDE74c6sV7KShIw13sqbqd58tlqNrsWoWBTIMw7SVQ0cZ905wLNS/FBCy/3PyooRHLFFlfrUNyyz5lA==", - "dev": true, - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.18.0", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/plugin-syntax-class-static-block": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.12.0" - } - }, - "node_modules/@babel/plugin-proposal-decorators": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.17.12.tgz", - "integrity": "sha512-gL0qSSeIk/VRfTDgtQg/EtejENssN/r3p5gJsPie1UacwiHibprpr19Z0pcK3XKuqQvjGVxsQ37Tl1MGfXzonA==", - "dev": true, - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.17.12", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-replace-supers": "^7.16.7", - "@babel/helper-split-export-declaration": "^7.16.7", - "@babel/plugin-syntax-decorators": "^7.17.12", - "charcodes": "^0.2.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-dynamic-import": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.16.7.tgz", - "integrity": "sha512-I8SW9Ho3/8DRSdmDdH3gORdyUuYnk1m4cMxUAdu5oy4n3OfN8flDEH+d60iG7dUfi0KkYwSvoalHzzdRzpWHTg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.16.7", - "@babel/plugin-syntax-dynamic-import": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-export-default-from": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.17.12.tgz", - "integrity": "sha512-LpsTRw725eBAXXKUOnJJct+SEaOzwR78zahcLuripD2+dKc2Sj+8Q2DzA+GC/jOpOu/KlDXuxrzG214o1zTauQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/plugin-syntax-export-default-from": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-export-namespace-from": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.17.12.tgz", - "integrity": "sha512-j7Ye5EWdwoXOpRmo5QmRyHPsDIe6+u70ZYZrd7uz+ebPYFKfRcLcNu3Ro0vOlJ5zuv8rU7xa+GttNiRzX56snQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-json-strings": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.17.12.tgz", - "integrity": "sha512-rKJ+rKBoXwLnIn7n6o6fulViHMrOThz99ybH+hKHcOZbnN14VuMnH9fo2eHE69C8pO4uX1Q7t2HYYIDmv8VYkg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/plugin-syntax-json-strings": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-logical-assignment-operators": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.17.12.tgz", - "integrity": "sha512-EqFo2s1Z5yy+JeJu7SFfbIUtToJTVlC61/C7WLKDntSw4Sz6JNAIfL7zQ74VvirxpjB5kz/kIx0gCcb+5OEo2Q==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-nullish-coalescing-operator": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.17.12.tgz", - "integrity": "sha512-ws/g3FSGVzv+VH86+QvgtuJL/kR67xaEIF2x0iPqdDfYW6ra6JF3lKVBkWynRLcNtIC1oCTfDRVxmm2mKzy+ag==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-numeric-separator": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.16.7.tgz", - "integrity": "sha512-vQgPMknOIgiuVqbokToyXbkY/OmmjAzr/0lhSIbG/KmnzXPGwW/AdhdKpi+O4X/VkWiWjnkKOBiqJrTaC98VKw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.16.7", - "@babel/plugin-syntax-numeric-separator": "^7.10.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-object-rest-spread": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.0.tgz", - "integrity": "sha512-nbTv371eTrFabDfHLElkn9oyf9VG+VKK6WMzhY2o4eHKaG19BToD9947zzGMO6I/Irstx9d8CwX6njPNIAR/yw==", - "dev": true, - "dependencies": { - "@babel/compat-data": "^7.17.10", - "@babel/helper-compilation-targets": "^7.17.10", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.17.12" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-optional-catch-binding": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.16.7.tgz", - "integrity": "sha512-eMOH/L4OvWSZAE1VkHbr1vckLG1WUcHGJSLqqQwl2GaUqG6QjddvrOaTUMNYiv77H5IKPMZ9U9P7EaHwvAShfA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.16.7", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-optional-chaining": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.17.12.tgz", - "integrity": "sha512-7wigcOs/Z4YWlK7xxjkvaIw84vGhDv/P1dFGQap0nHkc8gFKY/r+hXc8Qzf5k1gY7CvGIcHqAnOagVKJJ1wVOQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", - "@babel/plugin-syntax-optional-chaining": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-private-methods": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.17.12.tgz", - "integrity": "sha512-SllXoxo19HmxhDWm3luPz+cPhtoTSKLJE9PXshsfrOzBqs60QP0r8OaJItrPhAj0d7mZMnNF0Y1UUggCDgMz1A==", - "dev": true, - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.17.12", - "@babel/helper-plugin-utils": "^7.17.12" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-private-property-in-object": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.17.12.tgz", - "integrity": "sha512-/6BtVi57CJfrtDNKfK5b66ydK2J5pXUKBKSPD2G1whamMuEnZWgoOIfO8Vf9F/DoD4izBLD/Au4NMQfruzzykg==", - "dev": true, - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.16.7", - "@babel/helper-create-class-features-plugin": "^7.17.12", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-unicode-property-regex": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.17.12.tgz", - "integrity": "sha512-Wb9qLjXf3ZazqXA7IvI7ozqRIXIGPtSo+L5coFmEkhTQK18ao4UDDD0zdTGAarmbLj2urpRwrc6893cu5Bfh0A==", - "dev": true, - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.17.12", - "@babel/helper-plugin-utils": "^7.17.12" - }, - "engines": { - "node": ">=4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-async-generators": { - "version": "7.8.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", - "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-properties": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", - "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-static-block": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", - "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-decorators": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.17.12.tgz", - "integrity": "sha512-D1Hz0qtGTza8K2xGyEdVNCYLdVHukAcbQr4K3/s6r/esadyEriZovpJimQOpu8ju4/jV8dW/1xdaE0UpDroidw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-dynamic-import": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", - "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-export-default-from": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.16.7.tgz", - "integrity": "sha512-4C3E4NsrLOgftKaTYTULhHsuQrGv3FHrBzOMDiS7UYKIpgGBkAdawg4h+EI8zPeK9M0fiIIh72hIwsI24K7MbA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-export-namespace-from": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz", - "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.3" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-flow": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.12.13.tgz", - "integrity": "sha512-J/RYxnlSLXZLVR7wTRsozxKT8qbsx1mNKJzXEEjQ0Kjx1ZACcyHgbanNWNCFtc36IzuWhYWPpvJFFoexoOWFmA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-import-assertions": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.17.12.tgz", - "integrity": "sha512-n/loy2zkq9ZEM8tEOwON9wTQSTNDTDEz6NujPtJGLU7qObzT1N4c4YZZf8E6ATB2AjNQg/Ib2AIpO03EZaCehw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-json-strings": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", - "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.14.5.tgz", - "integrity": "sha512-ohuFIsOMXJnbOMRfX7/w7LocdR6R7whhuRD4ax8IipLcLPlZGJKkBxgHp++U4N/vKyU16/YDQr2f5seajD3jIw==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-logical-assignment-operators": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", - "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", - "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-numeric-separator": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", - "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-object-rest-spread": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", - "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-catch-binding": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", - "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-chaining": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", - "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-private-property-in-object": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", - "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-top-level-await": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", - "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.17.12.tgz", - "integrity": "sha512-TYY0SXFiO31YXtNg3HtFwNJHjLsAyIIhAhNWkQ5whPPS7HWUFlg9z0Ta4qAQNjQbP1wsSt/oKkmZ/4/WWdMUpw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-arrow-functions": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.17.12.tgz", - "integrity": "sha512-PHln3CNi/49V+mza4xMwrg+WGYevSF1oaiXaC2EQfdp4HWlSjRsrDXWJiQBKpP7749u6vQ9mcry2uuFOv5CXvA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-async-to-generator": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.17.12.tgz", - "integrity": "sha512-J8dbrWIOO3orDzir57NRsjg4uxucvhby0L/KZuGsWDj0g7twWK3g7JhJhOrXtuXiw8MeiSdJ3E0OW9H8LYEzLQ==", - "dev": true, - "dependencies": { - "@babel/helper-module-imports": "^7.16.7", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-remap-async-to-generator": "^7.16.8" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-block-scoped-functions": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.16.7.tgz", - "integrity": "sha512-JUuzlzmF40Z9cXyytcbZEZKckgrQzChbQJw/5PuEHYeqzCsvebDx0K0jWnIIVcmmDOAVctCgnYs0pMcrYj2zJg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-block-scoping": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.17.12.tgz", - "integrity": "sha512-jw8XW/B1i7Lqwqj2CbrViPcZijSxfguBWZP2aN59NHgxUyO/OcO1mfdCxH13QhN5LbWhPkX+f+brKGhZTiqtZQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-classes": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.17.12.tgz", - "integrity": "sha512-cvO7lc7pZat6BsvH6l/EGaI8zpl8paICaoGk+7x7guvtfak/TbIf66nYmJOH13EuG0H+Xx3M+9LQDtSvZFKXKw==", - "dev": true, - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.16.7", - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-function-name": "^7.17.9", - "@babel/helper-optimise-call-expression": "^7.16.7", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-replace-supers": "^7.16.7", - "@babel/helper-split-export-declaration": "^7.16.7", - "globals": "^11.1.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-computed-properties": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.17.12.tgz", - "integrity": "sha512-a7XINeplB5cQUWMg1E/GI1tFz3LfK021IjV1rj1ypE+R7jHm+pIHmHl25VNkZxtx9uuYp7ThGk8fur1HHG7PgQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-destructuring": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.18.0.tgz", - "integrity": "sha512-Mo69klS79z6KEfrLg/1WkmVnB8javh75HX4pi2btjvlIoasuxilEyjtsQW6XPrubNd7AQy0MMaNIaQE4e7+PQw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-dotall-regex": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.16.7.tgz", - "integrity": "sha512-Lyttaao2SjZF6Pf4vk1dVKv8YypMpomAbygW+mU5cYP3S5cWTfCJjG8xV6CFdzGFlfWK81IjL9viiTvpb6G7gQ==", - "dev": true, - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-duplicate-keys": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.17.12.tgz", - "integrity": "sha512-EA5eYFUG6xeerdabina/xIoB95jJ17mAkR8ivx6ZSu9frKShBjpOGZPn511MTDTkiCO+zXnzNczvUM69YSf3Zw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-exponentiation-operator": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.16.7.tgz", - "integrity": "sha512-8UYLSlyLgRixQvlYH3J2ekXFHDFLQutdy7FfFAMm3CPZ6q9wHCwnUyiXpQCe3gVVnQlHc5nsuiEVziteRNTXEA==", - "dev": true, - "dependencies": { - "@babel/helper-builder-binary-assignment-operator-visitor": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-flow-strip-types": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.13.0.tgz", - "integrity": "sha512-EXAGFMJgSX8gxWD7PZtW/P6M+z74jpx3wm/+9pn+c2dOawPpBkUX7BrfyPvo6ZpXbgRIEuwgwDb/MGlKvu2pOg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/plugin-syntax-flow": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-for-of": { - "version": "7.18.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.18.1.tgz", - "integrity": "sha512-+TTB5XwvJ5hZbO8xvl2H4XaMDOAK57zF4miuC9qQJgysPNEAZZ9Z69rdF5LJkozGdZrjBIUAIyKUWRMmebI7vg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-function-name": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.16.7.tgz", - "integrity": "sha512-SU/C68YVwTRxqWj5kgsbKINakGag0KTgq9f2iZEXdStoAbOzLHEBRYzImmA6yFo8YZhJVflvXmIHUO7GWHmxxA==", - "dev": true, - "dependencies": { - "@babel/helper-compilation-targets": "^7.16.7", - "@babel/helper-function-name": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-literals": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.17.12.tgz", - "integrity": "sha512-8iRkvaTjJciWycPIZ9k9duu663FT7VrBdNqNgxnVXEFwOIp55JWcZd23VBRySYbnS3PwQ3rGiabJBBBGj5APmQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-member-expression-literals": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.16.7.tgz", - "integrity": "sha512-mBruRMbktKQwbxaJof32LT9KLy2f3gH+27a5XSuXo6h7R3vqltl0PgZ80C8ZMKw98Bf8bqt6BEVi3svOh2PzMw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-amd": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.18.0.tgz", - "integrity": "sha512-h8FjOlYmdZwl7Xm2Ug4iX2j7Qy63NANI+NQVWQzv6r25fqgg7k2dZl03p95kvqNclglHs4FZ+isv4p1uXMA+QA==", - "dev": true, - "dependencies": { - "@babel/helper-module-transforms": "^7.18.0", - "@babel/helper-plugin-utils": "^7.17.12", - "babel-plugin-dynamic-import-node": "^2.3.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-commonjs": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.18.0.tgz", - "integrity": "sha512-cCeR0VZWtfxWS4YueAK2qtHtBPJRSaJcMlbS8jhSIm/A3E2Kpro4W1Dn4cqJtp59dtWfXjQwK7SPKF8ghs7rlw==", - "dev": true, - "dependencies": { - "@babel/helper-module-transforms": "^7.18.0", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-simple-access": "^7.17.7", - "babel-plugin-dynamic-import-node": "^2.3.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-systemjs": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.18.0.tgz", - "integrity": "sha512-vwKpxdHnlM5tIrRt/eA0bzfbi7gUBLN08vLu38np1nZevlPySRe6yvuATJB5F/WPJ+ur4OXwpVYq9+BsxqAQuQ==", - "dev": true, - "dependencies": { - "@babel/helper-hoist-variables": "^7.16.7", - "@babel/helper-module-transforms": "^7.18.0", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-validator-identifier": "^7.16.7", - "babel-plugin-dynamic-import-node": "^2.3.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-umd": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.18.0.tgz", - "integrity": "sha512-d/zZ8I3BWli1tmROLxXLc9A6YXvGK8egMxHp+E/rRwMh1Kip0AP77VwZae3snEJ33iiWwvNv2+UIIhfalqhzZA==", - "dev": true, - "dependencies": { - "@babel/helper-module-transforms": "^7.18.0", - "@babel/helper-plugin-utils": "^7.17.12" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.17.12.tgz", - "integrity": "sha512-vWoWFM5CKaTeHrdUJ/3SIOTRV+MBVGybOC9mhJkaprGNt5demMymDW24yC74avb915/mIRe3TgNb/d8idvnCRA==", - "dev": true, - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.17.12", - "@babel/helper-plugin-utils": "^7.17.12" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/plugin-transform-new-target": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.17.12.tgz", - "integrity": "sha512-CaOtzk2fDYisbjAD4Sd1MTKGVIpRtx9bWLyj24Y/k6p4s4gQ3CqDGJauFJxt8M/LEx003d0i3klVqnN73qvK3w==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-object-super": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.16.7.tgz", - "integrity": "sha512-14J1feiQVWaGvRxj2WjyMuXS2jsBkgB3MdSN5HuC2G5nRspa5RK9COcs82Pwy5BuGcjb+fYaUj94mYcOj7rCvw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.16.7", - "@babel/helper-replace-supers": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-parameters": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.17.12.tgz", - "integrity": "sha512-6qW4rWo1cyCdq1FkYri7AHpauchbGLXpdwnYsfxFb+KtddHENfsY5JZb35xUwkK5opOLcJ3BNd2l7PhRYGlwIA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-property-literals": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.16.7.tgz", - "integrity": "sha512-z4FGr9NMGdoIl1RqavCqGG+ZuYjfZ/hkCIeuH6Do7tXmSm0ls11nYVSJqFEUOSJbDab5wC6lRE/w6YjVcr6Hqw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-react-display-name": { - "version": "7.15.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.15.1.tgz", - "integrity": "sha512-yQZ/i/pUCJAHI/LbtZr413S3VT26qNrEm0M5RRxQJA947/YNYwbZbBaXGDrq6CG5QsZycI1VIP6d7pQaBfP+8Q==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-react-jsx": { - "version": "7.14.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.14.9.tgz", - "integrity": "sha512-30PeETvS+AeD1f58i1OVyoDlVYQhap/K20ZrMjLmmzmC2AYR/G43D4sdJAaDAqCD3MYpSWbmrz3kES158QSLjw==", - "dev": true, - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.14.5", - "@babel/helper-module-imports": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-jsx": "^7.14.5", - "@babel/types": "^7.14.9" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-react-jsx-development": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.14.5.tgz", - "integrity": "sha512-rdwG/9jC6QybWxVe2UVOa7q6cnTpw8JRRHOxntG/h6g/guAOe6AhtQHJuJh5FwmnXIT1bdm5vC2/5huV8ZOorQ==", - "dev": true, - "dependencies": { - "@babel/plugin-transform-react-jsx": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-react-pure-annotations": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.14.5.tgz", - "integrity": "sha512-3X4HpBJimNxW4rhUy/SONPyNQHp5YRr0HhJdT2OH1BRp0of7u3Dkirc7x9FRJMKMqTBI079VZ1hzv7Ouuz///g==", - "dev": true, - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-regenerator": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.18.0.tgz", - "integrity": "sha512-C8YdRw9uzx25HSIzwA7EM7YP0FhCe5wNvJbZzjVNHHPGVcDJ3Aie+qGYYdS1oVQgn+B3eAIJbWFLrJ4Jipv7nw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12", - "regenerator-transform": "^0.15.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-reserved-words": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.17.12.tgz", - "integrity": "sha512-1KYqwbJV3Co03NIi14uEHW8P50Md6KqFgt0FfpHdK6oyAHQVTosgPuPSiWud1HX0oYJ1hGRRlk0fP87jFpqXZA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-shorthand-properties": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.16.7.tgz", - "integrity": "sha512-hah2+FEnoRoATdIb05IOXf+4GzXYTq75TVhIn1PewihbpyrNWUt2JbudKQOETWw6QpLe+AIUpJ5MVLYTQbeeUg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-spread": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.17.12.tgz", - "integrity": "sha512-9pgmuQAtFi3lpNUstvG9nGfk9DkrdmWNp9KeKPFmuZCpEnxRzYlS8JgwPjYj+1AWDOSvoGN0H30p1cBOmT/Svg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-sticky-regex": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.16.7.tgz", - "integrity": "sha512-NJa0Bd/87QV5NZZzTuZG5BPJjLYadeSZ9fO6oOUoL4iQx+9EEuw/eEM92SrsT19Yc2jgB1u1hsjqDtH02c3Drw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-template-literals": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.17.12.tgz", - "integrity": "sha512-kAKJ7DX1dSRa2s7WN1xUAuaQmkTpN+uig4wCKWivVXIObqGbVTUlSavHyfI2iZvz89GFAMGm9p2DBJ4Y1Tp0hw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-typeof-symbol": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.17.12.tgz", - "integrity": "sha512-Q8y+Jp7ZdtSPXCThB6zjQ74N3lj0f6TDh1Hnf5B+sYlzQ8i5Pjp8gW0My79iekSpT4WnI06blqP6DT0OmaXXmw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-typescript": { - "version": "7.18.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.18.1.tgz", - "integrity": "sha512-F+RJmL479HJmC0KeqqwEGZMg1P7kWArLGbAKfEi9yPthJyMNjF+DjxFF/halfQvq1Q9GFM4TUbYDNV8xe4Ctqg==", - "dev": true, - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.18.0", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/plugin-syntax-typescript": "^7.17.12" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-unicode-escapes": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.16.7.tgz", - "integrity": "sha512-TAV5IGahIz3yZ9/Hfv35TV2xEm+kaBDaZQCn2S/hG9/CZ0DktxJv9eKfPc7yYCvOYR4JGx1h8C+jcSOvgaaI/Q==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-unicode-regex": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.16.7.tgz", - "integrity": "sha512-oC5tYYKw56HO75KZVLQ+R/Nl3Hro9kf8iG0hXoaHP7tjAyCpvqBiSNe6vGrZni1Z6MggmUOC6A7VP7AVmw225Q==", - "dev": true, - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/preset-env": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.18.0.tgz", - "integrity": "sha512-cP74OMs7ECLPeG1reiCQ/D/ypyOxgfm8uR6HRYV23vTJ7Lu1nbgj9DQDo/vH59gnn7GOAwtTDPPYV4aXzsMKHA==", - "dev": true, - "dependencies": { - "@babel/compat-data": "^7.17.10", - "@babel/helper-compilation-targets": "^7.17.10", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-validator-option": "^7.16.7", - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.17.12", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.17.12", - "@babel/plugin-proposal-async-generator-functions": "^7.17.12", - "@babel/plugin-proposal-class-properties": "^7.17.12", - "@babel/plugin-proposal-class-static-block": "^7.18.0", - "@babel/plugin-proposal-dynamic-import": "^7.16.7", - "@babel/plugin-proposal-export-namespace-from": "^7.17.12", - "@babel/plugin-proposal-json-strings": "^7.17.12", - "@babel/plugin-proposal-logical-assignment-operators": "^7.17.12", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.17.12", - "@babel/plugin-proposal-numeric-separator": "^7.16.7", - "@babel/plugin-proposal-object-rest-spread": "^7.18.0", - "@babel/plugin-proposal-optional-catch-binding": "^7.16.7", - "@babel/plugin-proposal-optional-chaining": "^7.17.12", - "@babel/plugin-proposal-private-methods": "^7.17.12", - "@babel/plugin-proposal-private-property-in-object": "^7.17.12", - "@babel/plugin-proposal-unicode-property-regex": "^7.17.12", - "@babel/plugin-syntax-async-generators": "^7.8.4", - "@babel/plugin-syntax-class-properties": "^7.12.13", - "@babel/plugin-syntax-class-static-block": "^7.14.5", - "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3", - "@babel/plugin-syntax-import-assertions": "^7.17.12", - "@babel/plugin-syntax-json-strings": "^7.8.3", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-numeric-separator": "^7.10.4", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", - "@babel/plugin-syntax-optional-chaining": "^7.8.3", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5", - "@babel/plugin-syntax-top-level-await": "^7.14.5", - "@babel/plugin-transform-arrow-functions": "^7.17.12", - "@babel/plugin-transform-async-to-generator": "^7.17.12", - "@babel/plugin-transform-block-scoped-functions": "^7.16.7", - "@babel/plugin-transform-block-scoping": "^7.17.12", - "@babel/plugin-transform-classes": "^7.17.12", - "@babel/plugin-transform-computed-properties": "^7.17.12", - "@babel/plugin-transform-destructuring": "^7.18.0", - "@babel/plugin-transform-dotall-regex": "^7.16.7", - "@babel/plugin-transform-duplicate-keys": "^7.17.12", - "@babel/plugin-transform-exponentiation-operator": "^7.16.7", - "@babel/plugin-transform-for-of": "^7.17.12", - "@babel/plugin-transform-function-name": "^7.16.7", - "@babel/plugin-transform-literals": "^7.17.12", - "@babel/plugin-transform-member-expression-literals": "^7.16.7", - "@babel/plugin-transform-modules-amd": "^7.18.0", - "@babel/plugin-transform-modules-commonjs": "^7.18.0", - "@babel/plugin-transform-modules-systemjs": "^7.18.0", - "@babel/plugin-transform-modules-umd": "^7.18.0", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.17.12", - "@babel/plugin-transform-new-target": "^7.17.12", - "@babel/plugin-transform-object-super": "^7.16.7", - "@babel/plugin-transform-parameters": "^7.17.12", - "@babel/plugin-transform-property-literals": "^7.16.7", - "@babel/plugin-transform-regenerator": "^7.18.0", - "@babel/plugin-transform-reserved-words": "^7.17.12", - "@babel/plugin-transform-shorthand-properties": "^7.16.7", - "@babel/plugin-transform-spread": "^7.17.12", - "@babel/plugin-transform-sticky-regex": "^7.16.7", - "@babel/plugin-transform-template-literals": "^7.17.12", - "@babel/plugin-transform-typeof-symbol": "^7.17.12", - "@babel/plugin-transform-unicode-escapes": "^7.16.7", - "@babel/plugin-transform-unicode-regex": "^7.16.7", - "@babel/preset-modules": "^0.1.5", - "@babel/types": "^7.18.0", - "babel-plugin-polyfill-corejs2": "^0.3.0", - "babel-plugin-polyfill-corejs3": "^0.5.0", - "babel-plugin-polyfill-regenerator": "^0.3.0", - "core-js-compat": "^3.22.1", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/preset-env/node_modules/babel-plugin-polyfill-corejs3": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.2.tgz", - "integrity": "sha512-G3uJih0XWiID451fpeFaYGVuxHEjzKTHtc9uGFEjR6hHrvNzeS/PX+LLLcetJcytsB5m4j+K3o/EpXJNb/5IEQ==", - "dev": true, - "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.3.1", - "core-js-compat": "^3.21.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/preset-flow": { - "version": "7.13.13", - "resolved": "https://registry.npmjs.org/@babel/preset-flow/-/preset-flow-7.13.13.tgz", - "integrity": "sha512-MDtwtamMifqq3R2mC7l3A3uFalUb3NH5TIBQWjN/epEPlZktcLq4se3J+ivckKrLMGsR7H9LW8+pYuIUN9tsKg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/helper-validator-option": "^7.12.17", - "@babel/plugin-transform-flow-strip-types": "^7.13.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/preset-modules": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz", - "integrity": "sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", - "@babel/plugin-transform-dotall-regex": "^7.4.4", - "@babel/types": "^7.4.4", - "esutils": "^2.0.2" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/preset-react": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.14.5.tgz", - "integrity": "sha512-XFxBkjyObLvBaAvkx1Ie95Iaq4S/GUEIrejyrntQ/VCMKUYvKLoyKxOBzJ2kjA3b6rC9/KL6KXfDC2GqvLiNqQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-validator-option": "^7.14.5", - "@babel/plugin-transform-react-display-name": "^7.14.5", - "@babel/plugin-transform-react-jsx": "^7.14.5", - "@babel/plugin-transform-react-jsx-development": "^7.14.5", - "@babel/plugin-transform-react-pure-annotations": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/preset-typescript": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.17.12.tgz", - "integrity": "sha512-S1ViF8W2QwAKUGJXxP9NAfNaqGDdEBJKpYkxHf5Yy2C4NPPzXGeR3Lhk7G8xJaaLcFTRfNjVbtbVtm8Gb0mqvg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-validator-option": "^7.16.7", - "@babel/plugin-transform-typescript": "^7.17.12" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/register": { - "version": "7.17.7", - "resolved": "https://registry.npmjs.org/@babel/register/-/register-7.17.7.tgz", - "integrity": "sha512-fg56SwvXRifootQEDQAu1mKdjh5uthPzdO0N6t358FktfL4XjAVXuH58ULoiW8mesxiOgNIrxiImqEwv0+hRRA==", - "dev": true, - "dependencies": { - "clone-deep": "^4.0.1", - "find-cache-dir": "^2.0.0", - "make-dir": "^2.1.0", - "pirates": "^4.0.5", - "source-map-support": "^0.5.16" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/register/node_modules/find-cache-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", - "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", - "dev": true, - "dependencies": { - "commondir": "^1.0.1", - "make-dir": "^2.0.0", - "pkg-dir": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@babel/register/node_modules/find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "dev": true, - "dependencies": { - "locate-path": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@babel/register/node_modules/locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "dev": true, - "dependencies": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@babel/register/node_modules/make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", - "dev": true, - "dependencies": { - "pify": "^4.0.1", - "semver": "^5.6.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@babel/register/node_modules/p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "dev": true, - "dependencies": { - "p-limit": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@babel/register/node_modules/path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/register/node_modules/pkg-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", - "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", - "dev": true, - "dependencies": { - "find-up": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@babel/register/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/@babel/runtime": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.0.tgz", - "integrity": "sha512-YMQvx/6nKEaucl0MY56mwIG483xk8SDNdlUwb2Ts6FUpr7fm85DxEmsY18LXBNhcTz6tO6JwZV8w1W06v8UKeg==", - "dependencies": { - "regenerator-runtime": "^0.13.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/template": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", - "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", - "dependencies": { - "@babel/code-frame": "^7.16.7", - "@babel/parser": "^7.16.7", - "@babel/types": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/traverse": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.0.tgz", - "integrity": "sha512-oNOO4vaoIQoGjDQ84LgtF/IAlxlyqL4TUuoQ7xLkQETFaHkY1F7yazhB4Kt3VcZGL0ZF/jhrEpnXqUb0M7V3sw==", - "dependencies": { - "@babel/code-frame": "^7.16.7", - "@babel/generator": "^7.18.0", - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-function-name": "^7.17.9", - "@babel/helper-hoist-variables": "^7.16.7", - "@babel/helper-split-export-declaration": "^7.16.7", - "@babel/parser": "^7.18.0", - "@babel/types": "^7.18.0", - "debug": "^4.1.0", - "globals": "^11.1.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/traverse/node_modules/debug": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", - "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", - "license": "MIT", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/@babel/traverse/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "license": "MIT" - }, - "node_modules/@babel/types": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", - "dependencies": { - "@babel/helper-validator-identifier": "^7.16.7", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@base2/pretty-print-object": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@base2/pretty-print-object/-/pretty-print-object-1.0.1.tgz", - "integrity": "sha512-4iri8i1AqYHJE2DstZYkyEprg6Pq6sKx3xn5FpySk9sNhH7qN2LLlHJCfDTZRILNwQNPD7mATWM0TBui7uC1pA==", - "dev": true - }, - "node_modules/@bcoe/v8-coverage": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", - "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", - "dev": true, - "license": "MIT" - }, - "node_modules/@colors/colors": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", - "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.1.90" - } - }, - "node_modules/@discoveryjs/json-ext": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.3.tgz", - "integrity": "sha512-Fxt+AfXgjMoin2maPIYzFZnQjAXjAL0PHscM5pRTtatFqB+vZxAM9tLp2Optnuw3QOQC40jTNeGYFOMvyf7v9g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/@dnd-kit/accessibility": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@dnd-kit/accessibility/-/accessibility-3.0.0.tgz", - "integrity": "sha512-QwaQ1IJHQHMMuAGOOYHQSx7h7vMZPfO97aDts8t5N/MY7n2QTDSnW+kF7uRQ1tVBkr6vJ+BqHWG5dlgGvwVjow==", - "dependencies": { - "tslib": "^2.0.0" - }, - "peerDependencies": { - "react": ">=16.8.0" - } - }, - "node_modules/@dnd-kit/core": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/@dnd-kit/core/-/core-6.0.1.tgz", - "integrity": "sha512-ZyYmh6S1hvEkywdlwh1d0VW6UnkbP4zb0iZwBGHP4eePlPLDl0t18HaXcgbpVcFWQTUAQtEZVIJKUYBJdVQVsA==", - "dependencies": { - "@dnd-kit/accessibility": "^3.0.0", - "@dnd-kit/utilities": "^3.2.0", - "tslib": "^2.0.0" - }, - "peerDependencies": { - "react": ">=16.8.0", - "react-dom": ">=16.8.0" - } - }, - "node_modules/@dnd-kit/modifiers": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@dnd-kit/modifiers/-/modifiers-6.0.0.tgz", - "integrity": "sha512-V3+JSo6/BTcgPRHiNUTSKgqVv/doKXg+T4Z0QvKiiXp+uIyJTUtPkQOBRQApUWi3ApBhnoWljyt/3xxY4fTd0Q==", - "dependencies": { - "@dnd-kit/utilities": "^3.2.0", - "tslib": "^2.0.0" - }, - "peerDependencies": { - "@dnd-kit/core": "^6.0.0" - } - }, - "node_modules/@dnd-kit/sortable": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@dnd-kit/sortable/-/sortable-7.0.0.tgz", - "integrity": "sha512-Em6d1n18lMmpRnNB9mmBWN/X7wNDnIw26tab+c7H0jCjW9UQ0+lRV+vatB1lLzFZlgQgIas/A/TXZDY16RQA5Q==", - "dependencies": { - "@dnd-kit/utilities": "^3.2.0", - "tslib": "^2.0.0" - }, - "peerDependencies": { - "@dnd-kit/core": "^6.0.0", - "react": ">=16.8.0" - } - }, - "node_modules/@dnd-kit/utilities": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@dnd-kit/utilities/-/utilities-3.2.0.tgz", - "integrity": "sha512-h65/pn2IPCCIWwdlR2BMLqRkDxpTEONA+HQW3n765HBijLYGyrnTCLa2YQt8VVjjSQD6EfFlTE6aS2Q/b6nb2g==", - "dependencies": { - "tslib": "^2.0.0" - }, - "peerDependencies": { - "react": ">=16.8.0" - } - }, - "node_modules/@emotion/babel-plugin": { - "version": "11.9.2", - "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.9.2.tgz", - "integrity": "sha512-Pr/7HGH6H6yKgnVFNEj2MVlreu3ADqftqjqwUvDy/OJzKFgxKeTQ+eeUf20FOTuHVkDON2iNa25rAXVYtWJCjw==", - "dependencies": { - "@babel/helper-module-imports": "^7.12.13", - "@babel/plugin-syntax-jsx": "^7.12.13", - "@babel/runtime": "^7.13.10", - "@emotion/hash": "^0.8.0", - "@emotion/memoize": "^0.7.5", - "@emotion/serialize": "^1.0.2", - "babel-plugin-macros": "^2.6.1", - "convert-source-map": "^1.5.0", - "escape-string-regexp": "^4.0.0", - "find-root": "^1.1.0", - "source-map": "^0.5.7", - "stylis": "4.0.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@emotion/babel-plugin/node_modules/@emotion/memoize": { - "version": "0.7.5", - "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.5.tgz", - "integrity": "sha512-igX9a37DR2ZPGYtV6suZ6whr8pTFtyHL3K/oLUotxpSVO2ASaprmAe2Dkq7tBo7CRY7MMDrAa9nuQP9/YG8FxQ==" - }, - "node_modules/@emotion/babel-plugin/node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@emotion/babel-plugin/node_modules/source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@emotion/cache": { - "version": "11.7.1", - "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.7.1.tgz", - "integrity": "sha512-r65Zy4Iljb8oyjtLeCuBH8Qjiy107dOYC6SJq7g7GV5UCQWMObY4SJDPGFjiiVpPrOJ2hmJOoBiYTC7hwx9E2A==", - "dependencies": { - "@emotion/memoize": "^0.7.4", - "@emotion/sheet": "^1.1.0", - "@emotion/utils": "^1.0.0", - "@emotion/weak-memoize": "^0.2.5", - "stylis": "4.0.13" - } - }, - "node_modules/@emotion/hash": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.8.0.tgz", - "integrity": "sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==" - }, - "node_modules/@emotion/is-prop-valid": { - "version": "0.8.8", - "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz", - "integrity": "sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==", - "license": "MIT", - "optional": true, - "dependencies": { - "@emotion/memoize": "0.7.4" - } - }, - "node_modules/@emotion/memoize": { - "version": "0.7.4", - "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz", - "integrity": "sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw==", - "license": "MIT" - }, - "node_modules/@emotion/react": { - "version": "11.9.0", - "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.9.0.tgz", - "integrity": "sha512-lBVSF5d0ceKtfKCDQJveNAtkC7ayxpVlgOohLgXqRwqWr9bOf4TZAFFyIcNngnV6xK6X4x2ZeXq7vliHkoVkxQ==", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@emotion/babel-plugin": "^11.7.1", - "@emotion/cache": "^11.7.1", - "@emotion/serialize": "^1.0.3", - "@emotion/utils": "^1.1.0", - "@emotion/weak-memoize": "^0.2.5", - "hoist-non-react-statics": "^3.3.1" - }, - "peerDependencies": { - "@babel/core": "^7.0.0", - "react": ">=16.8.0" - }, - "peerDependenciesMeta": { - "@babel/core": { - "optional": true - }, - "@types/react": { - "optional": true - } - } - }, - "node_modules/@emotion/serialize": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.0.3.tgz", - "integrity": "sha512-2mSSvgLfyV3q+iVh3YWgNlUc2a9ZlDU7DjuP5MjK3AXRR0dYigCrP99aeFtaB2L/hjfEZdSThn5dsZ0ufqbvsA==", - "dependencies": { - "@emotion/hash": "^0.8.0", - "@emotion/memoize": "^0.7.4", - "@emotion/unitless": "^0.7.5", - "@emotion/utils": "^1.0.0", - "csstype": "^3.0.2" - } - }, - "node_modules/@emotion/sheet": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.1.0.tgz", - "integrity": "sha512-u0AX4aSo25sMAygCuQTzS+HsImZFuS8llY8O7b9MDRzbJM0kVJlAz6KNDqcG7pOuQZJmj/8X/rAW+66kMnMW+g==" - }, - "node_modules/@emotion/unitless": { - "version": "0.7.5", - "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.7.5.tgz", - "integrity": "sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg==" - }, - "node_modules/@emotion/utils": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.1.0.tgz", - "integrity": "sha512-iRLa/Y4Rs5H/f2nimczYmS5kFJEbpiVvgN3XVfZ022IYhuNA1IRSHEizcof88LtCTXtl9S2Cxt32KgaXEu72JQ==" - }, - "node_modules/@emotion/weak-memoize": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.2.5.tgz", - "integrity": "sha512-6U71C2Wp7r5XtFtQzYrW5iKFT67OixrSxjI4MptCHzdSVlgabczzqLe0ZSgnub/5Kp4hSbpDB1tMytZY9pwxxA==", - "license": "MIT" - }, - "node_modules/@gar/promisify": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", - "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==", - "dev": true - }, - "node_modules/@istanbuljs/schema": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", - "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/@jridgewell/gen-mapping": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", - "integrity": "sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==", - "dependencies": { - "@jridgewell/set-array": "^1.0.0", - "@jridgewell/sourcemap-codec": "^1.4.10" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/resolve-uri": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.7.tgz", - "integrity": "sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA==", - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/set-array": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.1.tgz", - "integrity": "sha512-Ct5MqZkLGEXTVmQYbGtx9SVqD2fqwvdubdps5D3djjAkgkKwT918VNOz65pEHFaYTeWcukmJmH5SwsA9Tn2ObQ==", - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.13", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.13.tgz", - "integrity": "sha512-GryiOJmNcWbovBxTfZSF71V/mXbgcV3MewDe3kIMCLyIh5e7SKAeUZs+rMnJ8jkMolZ/4/VsdBmMrw3l+VdZ3w==" - }, - "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.13", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.13.tgz", - "integrity": "sha512-o1xbKhp9qnIAoHJSWd6KlCZfqslL4valSF81H8ImioOAxluWYWOpWkpyktY2vnt4tbrX9XYaxovq6cgowaJp2w==", - "dependencies": { - "@jridgewell/resolve-uri": "^3.0.3", - "@jridgewell/sourcemap-codec": "^1.4.10" - } - }, - "node_modules/@leichtgewicht/ip-codec": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz", - "integrity": "sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A==", - "dev": true - }, - "node_modules/@mdx-js/mdx": { - "version": "1.6.22", - "resolved": "https://registry.npmjs.org/@mdx-js/mdx/-/mdx-1.6.22.tgz", - "integrity": "sha512-AMxuLxPz2j5/6TpF/XSdKpQP1NlG0z11dFOlq+2IP/lSgl11GY8ji6S/rgsViN/L0BDvHvUMruRb7ub+24LUYA==", - "dev": true, - "dependencies": { - "@babel/core": "7.12.9", - "@babel/plugin-syntax-jsx": "7.12.1", - "@babel/plugin-syntax-object-rest-spread": "7.8.3", - "@mdx-js/util": "1.6.22", - "babel-plugin-apply-mdx-type-prop": "1.6.22", - "babel-plugin-extract-import-names": "1.6.22", - "camelcase-css": "2.0.1", - "detab": "2.0.4", - "hast-util-raw": "6.0.1", - "lodash.uniq": "4.5.0", - "mdast-util-to-hast": "10.0.1", - "remark-footnotes": "2.0.0", - "remark-mdx": "1.6.22", - "remark-parse": "8.0.3", - "remark-squeeze-paragraphs": "4.0.0", - "style-to-object": "0.3.0", - "unified": "9.2.0", - "unist-builder": "2.0.3", - "unist-util-visit": "2.0.3" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/@mdx-js/mdx/node_modules/@babel/core": { - "version": "7.12.9", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.12.9.tgz", - "integrity": "sha512-gTXYh3M5wb7FRXQy+FErKFAv90BnlOuNn1QkCK2lREoPAjrQCO49+HVSrFoe5uakFAF5eenS75KbO2vQiLrTMQ==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.10.4", - "@babel/generator": "^7.12.5", - "@babel/helper-module-transforms": "^7.12.1", - "@babel/helpers": "^7.12.5", - "@babel/parser": "^7.12.7", - "@babel/template": "^7.12.7", - "@babel/traverse": "^7.12.9", - "@babel/types": "^7.12.7", - "convert-source-map": "^1.7.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.1", - "json5": "^2.1.2", - "lodash": "^4.17.19", - "resolve": "^1.3.2", - "semver": "^5.4.1", - "source-map": "^0.5.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" - } - }, - "node_modules/@mdx-js/mdx/node_modules/@babel/plugin-syntax-jsx": { - "version": "7.12.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.12.1.tgz", - "integrity": "sha512-1yRi7yAtB0ETgxdY9ti/p2TivUxJkTdhu/ZbF9MshVGqOx1TdB3b7xCXs49Fupgg50N45KcAsRP/ZqWjs9SRjg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@mdx-js/mdx/node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/@mdx-js/mdx/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "node_modules/@mdx-js/mdx/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/@mdx-js/mdx/node_modules/source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@mdx-js/util": { - "version": "1.6.22", - "resolved": "https://registry.npmjs.org/@mdx-js/util/-/util-1.6.22.tgz", - "integrity": "sha512-H1rQc1ZOHANWBvPcW+JpGwr+juXSxM8Q8YCkm3GhZd8REu1fHR3z99CErO1p9pkcfcxZnMdIZdIsXkOHY0NilA==", - "dev": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/@mrmlnc/readdir-enhanced": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz", - "integrity": "sha512-bPHp6Ji8b41szTOcaP63VlnbbO5Ny6dwAATtY6JTjh5N2OLrb5Qk/Th5cRkRQhkWCt+EJsYrNB0MiL+Gpn6e3g==", - "dev": true, - "dependencies": { - "call-me-maybe": "^1.0.1", - "glob-to-regexp": "^0.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@mrmlnc/readdir-enhanced/node_modules/glob-to-regexp": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz", - "integrity": "sha1-jFoUlNIGbFcMw7/kSWF1rMTVAqs=", - "dev": true - }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", - "dev": true, - "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", - "dev": true, - "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@npmcli/fs": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.1.tgz", - "integrity": "sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==", - "dev": true, - "dependencies": { - "@gar/promisify": "^1.0.1", - "semver": "^7.3.5" - } - }, - "node_modules/@npmcli/fs/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@npmcli/fs/node_modules/semver": { - "version": "7.3.7", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@npmcli/move-file": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.1.2.tgz", - "integrity": "sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg==", - "dev": true, - "dependencies": { - "mkdirp": "^1.0.4", - "rimraf": "^3.0.2" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@npmcli/move-file/node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "dev": true, - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@pmmmwh/react-refresh-webpack-plugin": { - "version": "0.5.6", - "resolved": "https://registry.npmjs.org/@pmmmwh/react-refresh-webpack-plugin/-/react-refresh-webpack-plugin-0.5.6.tgz", - "integrity": "sha512-IIWxofIYt/AbMwoeBgj+O2aAXLrlCQVg+A4a2zfpXFNHgP8o8rvi3v+oe5t787Lj+KXlKOh8BAiUp9bhuELXhg==", - "dev": true, - "dependencies": { - "ansi-html-community": "^0.0.8", - "common-path-prefix": "^3.0.0", - "core-js-pure": "^3.8.1", - "error-stack-parser": "^2.0.6", - "find-up": "^5.0.0", - "html-entities": "^2.1.0", - "loader-utils": "^2.0.0", - "schema-utils": "^3.0.0", - "source-map": "^0.7.3" - }, - "engines": { - "node": ">= 10.13" - }, - "peerDependencies": { - "@types/webpack": "4.x || 5.x", - "react-refresh": ">=0.10.0 <1.0.0", - "sockjs-client": "^1.4.0", - "type-fest": ">=0.17.0 <3.0.0", - "webpack": ">=4.43.0 <6.0.0", - "webpack-dev-server": "3.x || 4.x", - "webpack-hot-middleware": "2.x", - "webpack-plugin-serve": "0.x || 1.x" - }, - "peerDependenciesMeta": { - "@types/webpack": { - "optional": true - }, - "sockjs-client": { - "optional": true - }, - "type-fest": { - "optional": true - }, - "webpack-dev-server": { - "optional": true - }, - "webpack-hot-middleware": { - "optional": true - }, - "webpack-plugin-serve": { - "optional": true - } - } - }, - "node_modules/@pmmmwh/react-refresh-webpack-plugin/node_modules/source-map": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", - "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">= 8" - } - }, - "node_modules/@popperjs/core": { - "version": "2.11.5", - "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.5.tgz", - "integrity": "sha512-9X2obfABZuDVLCgPK9aX0a/x4jaOEweTTWE2+9sr0Qqqevj2Uv5XorvusThmc9XGYpS9yI+fhh8RTafBtGposw==", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/popperjs" - } - }, - "node_modules/@storybook/addons": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/addons/-/addons-6.5.3.tgz", - "integrity": "sha512-gzzkxZ7R4+EaEzIEBbTWmkA55JDEDQrDjg3nNY/SJklnRigYdStz41KSPx6HGkF2CaI5BYVd5vZCawYvG16gyg==", - "dev": true, - "dependencies": { - "@storybook/api": "6.5.3", - "@storybook/channels": "6.5.3", - "@storybook/client-logger": "6.5.3", - "@storybook/core-events": "6.5.3", - "@storybook/csf": "0.0.2--canary.4566f4d.1", - "@storybook/router": "6.5.3", - "@storybook/theming": "6.5.3", - "@types/webpack-env": "^1.16.0", - "core-js": "^3.8.2", - "global": "^4.4.0", - "regenerator-runtime": "^0.13.7" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" - } - }, - "node_modules/@storybook/api": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/api/-/api-6.5.3.tgz", - "integrity": "sha512-neVW47ssdG3MqwNwTLjlifS/u6zGUkkcK7G/PC1tnQPP9Zc97BStIqS1RnPGie1iawIAT5ZJQefPGJMneSTBKA==", - "dev": true, - "dependencies": { - "@storybook/channels": "6.5.3", - "@storybook/client-logger": "6.5.3", - "@storybook/core-events": "6.5.3", - "@storybook/csf": "0.0.2--canary.4566f4d.1", - "@storybook/router": "6.5.3", - "@storybook/semver": "^7.3.2", - "@storybook/theming": "6.5.3", - "core-js": "^3.8.2", - "fast-deep-equal": "^3.1.3", - "global": "^4.4.0", - "lodash": "^4.17.21", - "memoizerific": "^1.11.3", - "regenerator-runtime": "^0.13.7", - "store2": "^2.12.0", - "telejson": "^6.0.8", - "ts-dedent": "^2.0.0", - "util-deprecate": "^1.0.2" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" - } - }, - "node_modules/@storybook/builder-webpack4": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/builder-webpack4/-/builder-webpack4-6.5.3.tgz", - "integrity": "sha512-zhZ879FH8XDs8TRkXN29pGMR2rJrKQYdRn19XTsBt9MlRI8ALFClGixYBsUF/Fa74LAWF2roL5dSt7qDyBQULQ==", - "dev": true, - "dependencies": { - "@babel/core": "^7.12.10", - "@storybook/addons": "6.5.3", - "@storybook/api": "6.5.3", - "@storybook/channel-postmessage": "6.5.3", - "@storybook/channels": "6.5.3", - "@storybook/client-api": "6.5.3", - "@storybook/client-logger": "6.5.3", - "@storybook/components": "6.5.3", - "@storybook/core-common": "6.5.3", - "@storybook/core-events": "6.5.3", - "@storybook/node-logger": "6.5.3", - "@storybook/preview-web": "6.5.3", - "@storybook/router": "6.5.3", - "@storybook/semver": "^7.3.2", - "@storybook/store": "6.5.3", - "@storybook/theming": "6.5.3", - "@storybook/ui": "6.5.3", - "@types/node": "^14.0.10 || ^16.0.0", - "@types/webpack": "^4.41.26", - "autoprefixer": "^9.8.6", - "babel-loader": "^8.0.0", - "case-sensitive-paths-webpack-plugin": "^2.3.0", - "core-js": "^3.8.2", - "css-loader": "^3.6.0", - "file-loader": "^6.2.0", - "find-up": "^5.0.0", - "fork-ts-checker-webpack-plugin": "^4.1.6", - "glob": "^7.1.6", - "glob-promise": "^3.4.0", - "global": "^4.4.0", - "html-webpack-plugin": "^4.0.0", - "pnp-webpack-plugin": "1.6.4", - "postcss": "^7.0.36", - "postcss-flexbugs-fixes": "^4.2.1", - "postcss-loader": "^4.2.0", - "raw-loader": "^4.0.2", - "stable": "^0.1.8", - "style-loader": "^1.3.0", - "terser-webpack-plugin": "^4.2.3", - "ts-dedent": "^2.0.0", - "url-loader": "^4.1.1", - "util-deprecate": "^1.0.2", - "webpack": "4", - "webpack-dev-middleware": "^3.7.3", - "webpack-filter-warnings-plugin": "^1.2.1", - "webpack-hot-middleware": "^2.25.1", - "webpack-virtual-modules": "^0.2.2" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/@types/html-minifier-terser": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/@types/html-minifier-terser/-/html-minifier-terser-5.1.2.tgz", - "integrity": "sha512-h4lTMgMJctJybDp8CQrxTUiiYmedihHWkjnF/8Pxseu2S6Nlfcy8kwboQ8yejh456rP2yWoEVm1sS/FVsfM48w==", - "dev": true - }, - "node_modules/@storybook/builder-webpack4/node_modules/@webassemblyjs/ast": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.9.0.tgz", - "integrity": "sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA==", - "dev": true, - "dependencies": { - "@webassemblyjs/helper-module-context": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/wast-parser": "1.9.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/@webassemblyjs/helper-api-error": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.0.tgz", - "integrity": "sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw==", - "dev": true - }, - "node_modules/@storybook/builder-webpack4/node_modules/@webassemblyjs/helper-buffer": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.9.0.tgz", - "integrity": "sha512-qZol43oqhq6yBPx7YM3m9Bv7WMV9Eevj6kMi6InKOuZxhw+q9hOkvq5e/PpKSiLfyetpaBnogSbNCfBwyB00CA==", - "dev": true - }, - "node_modules/@storybook/builder-webpack4/node_modules/@webassemblyjs/helper-wasm-bytecode": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz", - "integrity": "sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw==", - "dev": true - }, - "node_modules/@storybook/builder-webpack4/node_modules/@webassemblyjs/helper-wasm-section": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.9.0.tgz", - "integrity": "sha512-XnMB8l3ek4tvrKUUku+IVaXNHz2YsJyOOmz+MMkZvh8h1uSJpSen6vYnw3IoQ7WwEuAhL8Efjms1ZWjqh2agvw==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-buffer": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/wasm-gen": "1.9.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/@webassemblyjs/ieee754": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.9.0.tgz", - "integrity": "sha512-dcX8JuYU/gvymzIHc9DgxTzUUTLexWwt8uCTWP3otys596io0L5aW02Gb1RjYpx2+0Jus1h4ZFqjla7umFniTg==", - "dev": true, - "dependencies": { - "@xtuc/ieee754": "^1.2.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/@webassemblyjs/leb128": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.9.0.tgz", - "integrity": "sha512-ENVzM5VwV1ojs9jam6vPys97B/S65YQtv/aanqnU7D8aSoHFX8GyhGg0CMfyKNIHBuAVjy3tlzd5QMMINa7wpw==", - "dev": true, - "dependencies": { - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/@webassemblyjs/utf8": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.9.0.tgz", - "integrity": "sha512-GZbQlWtopBTP0u7cHrEx+73yZKrQoBMpwkGEIqlacljhXCkVM1kMQge/Mf+csMJAjEdSwhOyLAS0AoR3AG5P8w==", - "dev": true - }, - "node_modules/@storybook/builder-webpack4/node_modules/@webassemblyjs/wasm-edit": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.9.0.tgz", - "integrity": "sha512-FgHzBm80uwz5M8WKnMTn6j/sVbqilPdQXTWraSjBwFXSYGirpkSWE2R9Qvz9tNiTKQvoKILpCuTjBKzOIm0nxw==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-buffer": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/helper-wasm-section": "1.9.0", - "@webassemblyjs/wasm-gen": "1.9.0", - "@webassemblyjs/wasm-opt": "1.9.0", - "@webassemblyjs/wasm-parser": "1.9.0", - "@webassemblyjs/wast-printer": "1.9.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/@webassemblyjs/wasm-gen": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.9.0.tgz", - "integrity": "sha512-cPE3o44YzOOHvlsb4+E9qSqjc9Qf9Na1OO/BHFy4OI91XDE14MjFN4lTMezzaIWdPqHnsTodGGNP+iRSYfGkjA==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/ieee754": "1.9.0", - "@webassemblyjs/leb128": "1.9.0", - "@webassemblyjs/utf8": "1.9.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/@webassemblyjs/wasm-opt": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.9.0.tgz", - "integrity": "sha512-Qkjgm6Anhm+OMbIL0iokO7meajkzQD71ioelnfPEj6r4eOFuqm4YC3VBPqXjFyyNwowzbMD+hizmprP/Fwkl2A==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-buffer": "1.9.0", - "@webassemblyjs/wasm-gen": "1.9.0", - "@webassemblyjs/wasm-parser": "1.9.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/@webassemblyjs/wasm-parser": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.9.0.tgz", - "integrity": "sha512-9+wkMowR2AmdSWQzsPEjFU7njh8HTO5MqO8vjwEHuM+AMHioNqSBONRdr0NQQ3dVQrzp0s8lTcYqzUdb7YgELA==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-api-error": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/ieee754": "1.9.0", - "@webassemblyjs/leb128": "1.9.0", - "@webassemblyjs/utf8": "1.9.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/@webassemblyjs/wast-printer": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.9.0.tgz", - "integrity": "sha512-2J0nE95rHXHyQ24cWjMKJ1tqB/ds8z/cyeOZxJhcb+rW+SQASVjuznUSmdz5GpVJTzU8JkhYut0D3siFDD6wsA==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/wast-parser": "1.9.0", - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/acorn": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz", - "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==", - "dev": true, - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "dev": true, - "dependencies": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/braces/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/clean-css": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.4.tgz", - "integrity": "sha512-EJUDT7nDVFDvaQgAo2G/PJvxmp1o/c6iXLbswsBbUFXi1Nr+AjA2cKmfbKDMjMvzEe75g3P6JkaDDAKk96A85A==", - "dev": true, - "dependencies": { - "source-map": "~0.6.0" - }, - "engines": { - "node": ">= 4.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/commander": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", - "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", - "dev": true, - "engines": { - "node": ">= 6" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/css-loader": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-3.6.0.tgz", - "integrity": "sha512-M5lSukoWi1If8dhQAUCvj4H8vUt3vOnwbQBH9DdTm/s4Ym2B/3dPMtYZeJmq7Q3S3Pa+I94DcZ7pc9bP14cWIQ==", - "dev": true, - "dependencies": { - "camelcase": "^5.3.1", - "cssesc": "^3.0.0", - "icss-utils": "^4.1.1", - "loader-utils": "^1.2.3", - "normalize-path": "^3.0.0", - "postcss": "^7.0.32", - "postcss-modules-extract-imports": "^2.0.0", - "postcss-modules-local-by-default": "^3.0.2", - "postcss-modules-scope": "^2.2.0", - "postcss-modules-values": "^3.0.0", - "postcss-value-parser": "^4.1.0", - "schema-utils": "^2.7.0", - "semver": "^6.3.0" - }, - "engines": { - "node": ">= 8.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^4.0.0 || ^5.0.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/css-loader/node_modules/loader-utils": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", - "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", - "dev": true, - "dependencies": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^1.0.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/css-loader/node_modules/schema-utils": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.1.tgz", - "integrity": "sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==", - "dev": true, - "dependencies": { - "@types/json-schema": "^7.0.5", - "ajv": "^6.12.4", - "ajv-keywords": "^3.5.2" - }, - "engines": { - "node": ">= 8.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dev": true, - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/enhanced-resolve": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.5.0.tgz", - "integrity": "sha512-Nv9m36S/vxpsI+Hc4/ZGRs0n9mXqSWGGq49zxb/cJfPAQMbUtttJAlNPS4AQzaBdw/pKskw5bMbekT/Y7W/Wlg==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.2", - "memory-fs": "^0.5.0", - "tapable": "^1.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/enhanced-resolve/node_modules/memory-fs": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.5.0.tgz", - "integrity": "sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA==", - "dev": true, - "dependencies": { - "errno": "^0.1.3", - "readable-stream": "^2.0.1" - }, - "engines": { - "node": ">=4.3.0 <5.0.0 || >=5.10" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/eslint-scope": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz", - "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==", - "dev": true, - "dependencies": { - "esrecurse": "^4.1.0", - "estraverse": "^4.1.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", - "dev": true, - "dependencies": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/fill-range/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/fork-ts-checker-webpack-plugin": { - "version": "4.1.6", - "resolved": "https://registry.npmjs.org/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-4.1.6.tgz", - "integrity": "sha512-DUxuQaKoqfNne8iikd14SAkh5uw4+8vNifp6gmA73yYNS6ywLIWSLD/n/mBzHQRpW3J7rbATEakmiA8JvkTyZw==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.5.5", - "chalk": "^2.4.1", - "micromatch": "^3.1.10", - "minimatch": "^3.0.4", - "semver": "^5.6.0", - "tapable": "^1.0.0", - "worker-rpc": "^0.1.0" - }, - "engines": { - "node": ">=6.11.5", - "yarn": ">=1.0.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/fork-ts-checker-webpack-plugin/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/html-minifier-terser": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/html-minifier-terser/-/html-minifier-terser-5.1.1.tgz", - "integrity": "sha512-ZPr5MNObqnV/T9akshPKbVgyOqLmy+Bxo7juKCfTfnjNniTAMdy4hz21YQqoofMBJD2kdREaqPPdThoR78Tgxg==", - "dev": true, - "dependencies": { - "camel-case": "^4.1.1", - "clean-css": "^4.2.3", - "commander": "^4.1.1", - "he": "^1.2.0", - "param-case": "^3.0.3", - "relateurl": "^0.2.7", - "terser": "^4.6.3" - }, - "bin": { - "html-minifier-terser": "cli.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/html-minifier-terser/node_modules/terser": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.0.tgz", - "integrity": "sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==", - "dev": true, - "dependencies": { - "commander": "^2.20.0", - "source-map": "~0.6.1", - "source-map-support": "~0.5.12" - }, - "bin": { - "terser": "bin/terser" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/html-minifier-terser/node_modules/terser/node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - }, - "node_modules/@storybook/builder-webpack4/node_modules/html-webpack-plugin": { - "version": "4.5.2", - "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-4.5.2.tgz", - "integrity": "sha512-q5oYdzjKUIPQVjOosjgvCHQOv9Ett9CYYHlgvJeXG0qQvdSojnBq4vAdQBwn1+yGveAwHCoe/rMR86ozX3+c2A==", - "dev": true, - "dependencies": { - "@types/html-minifier-terser": "^5.0.0", - "@types/tapable": "^1.0.5", - "@types/webpack": "^4.41.8", - "html-minifier-terser": "^5.0.1", - "loader-utils": "^1.2.3", - "lodash": "^4.17.20", - "pretty-error": "^2.1.1", - "tapable": "^1.1.3", - "util.promisify": "1.0.0" - }, - "engines": { - "node": ">=6.9" - }, - "peerDependencies": { - "webpack": "^4.0.0 || ^5.0.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/html-webpack-plugin/node_modules/loader-utils": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", - "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", - "dev": true, - "dependencies": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^1.0.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/is-number/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/is-wsl": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", - "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/jest-worker": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz", - "integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==", - "dev": true, - "dependencies": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^7.0.0" - }, - "engines": { - "node": ">= 10.13.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/json5": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", - "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", - "dev": true, - "dependencies": { - "minimist": "^1.2.0" - }, - "bin": { - "json5": "lib/cli.js" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/loader-runner": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.4.0.tgz", - "integrity": "sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw==", - "dev": true, - "engines": { - "node": ">=4.3.0 <5.0.0 || >=5.10" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "dev": true, - "dependencies": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", - "dev": true, - "dependencies": { - "pify": "^4.0.1", - "semver": "^5.6.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/make-dir/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", - "dev": true, - "dependencies": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/mime": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", - "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==", - "dev": true, - "bin": { - "mime": "cli.js" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "dev": true, - "dependencies": { - "yocto-queue": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "dev": true, - "dependencies": { - "p-limit": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/p-locate/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/pkg-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", - "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", - "dev": true, - "dependencies": { - "find-up": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/pkg-dir/node_modules/find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "dev": true, - "dependencies": { - "locate-path": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/pretty-error": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/pretty-error/-/pretty-error-2.1.2.tgz", - "integrity": "sha512-EY5oDzmsX5wvuynAByrmY0P0hcp+QpnAKbJng2A2MPjVKXCxrDSUkzghVJ4ZGPIv+JC4gX8fPUWscC0RtjsWGw==", - "dev": true, - "dependencies": { - "lodash": "^4.17.20", - "renderkid": "^2.0.4" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/renderkid": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/renderkid/-/renderkid-2.0.7.tgz", - "integrity": "sha512-oCcFyxaMrKsKcTY59qnCAtmDVSLfPbrv6A3tVbPdFMMrv5jaK10V6m40cKsoPNhAqN6rmHW9sswW4o3ruSrwUQ==", - "dev": true, - "dependencies": { - "css-select": "^4.1.3", - "dom-converter": "^0.2.0", - "htmlparser2": "^6.1.0", - "lodash": "^4.17.21", - "strip-ansi": "^3.0.1" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "dev": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/serialize-javascript": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.1.tgz", - "integrity": "sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA==", - "dev": true, - "dependencies": { - "randombytes": "^2.1.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "dev": true, - "dependencies": { - "ansi-regex": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/style-loader": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-1.3.0.tgz", - "integrity": "sha512-V7TCORko8rs9rIqkSrlMfkqA63DfoGBBJmK1kKGCcSi+BWb4cqz0SRsnp4l6rU5iwOEd0/2ePv68SV22VXon4Q==", - "dev": true, - "dependencies": { - "loader-utils": "^2.0.0", - "schema-utils": "^2.7.0" - }, - "engines": { - "node": ">= 8.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^4.0.0 || ^5.0.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/style-loader/node_modules/schema-utils": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.1.tgz", - "integrity": "sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==", - "dev": true, - "dependencies": { - "@types/json-schema": "^7.0.5", - "ajv": "^6.12.4", - "ajv-keywords": "^3.5.2" - }, - "engines": { - "node": ">= 8.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/terser-webpack-plugin": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-4.2.3.tgz", - "integrity": "sha512-jTgXh40RnvOrLQNgIkwEKnQ8rmHjHK4u+6UBEi+W+FPmvb+uo+chJXntKe7/3lW5mNysgSWD60KyesnhW8D6MQ==", - "dev": true, - "dependencies": { - "cacache": "^15.0.5", - "find-cache-dir": "^3.3.1", - "jest-worker": "^26.5.0", - "p-limit": "^3.0.2", - "schema-utils": "^3.0.0", - "serialize-javascript": "^5.0.1", - "source-map": "^0.6.1", - "terser": "^5.3.4", - "webpack-sources": "^1.4.3" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^4.0.0 || ^5.0.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/to-regex-range": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", - "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", - "dev": true, - "dependencies": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/watchpack": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.7.1.tgz", - "integrity": "sha512-1OeW6LucExk7h6lBuCr1isK5261Tf0PHNRG9tZjg2WKUsSkPwvyv37d7mgAUk1rZjxxaL/6WttSGMUY2hn/20g==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.2", - "neo-async": "^2.5.0" - }, - "optionalDependencies": { - "chokidar": "^3.4.0", - "chokidar2": "file:./chokidar2" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/watchpack/chokidar2": { - "dev": true, - "optional": true - }, - "node_modules/@storybook/builder-webpack4/node_modules/webpack": { - "version": "4.43.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.43.0.tgz", - "integrity": "sha512-GW1LjnPipFW2Y78OOab8NJlCflB7EFskMih2AHdvjbpKMeDJqEgSx24cXXXiPS65+WSwVyxtDsJH6jGX2czy+g==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-module-context": "1.9.0", - "@webassemblyjs/wasm-edit": "1.9.0", - "@webassemblyjs/wasm-parser": "1.9.0", - "acorn": "^6.4.1", - "ajv": "^6.10.2", - "ajv-keywords": "^3.4.1", - "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^4.1.0", - "eslint-scope": "^4.0.3", - "json-parse-better-errors": "^1.0.2", - "loader-runner": "^2.4.0", - "loader-utils": "^1.2.3", - "memory-fs": "^0.4.1", - "micromatch": "^3.1.10", - "mkdirp": "^0.5.3", - "neo-async": "^2.6.1", - "node-libs-browser": "^2.2.1", - "schema-utils": "^1.0.0", - "tapable": "^1.1.3", - "terser-webpack-plugin": "^1.4.3", - "watchpack": "^1.6.1", - "webpack-sources": "^1.4.1" - }, - "bin": { - "webpack": "bin/webpack.js" - }, - "engines": { - "node": ">=6.11.5" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/webpack-dev-middleware": { - "version": "3.7.3", - "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-3.7.3.tgz", - "integrity": "sha512-djelc/zGiz9nZj/U7PTBi2ViorGJXEWo/3ltkPbDyxCXhhEXkW0ce99falaok4TPj+AsxLiXJR0EBOb0zh9fKQ==", - "dev": true, - "dependencies": { - "memory-fs": "^0.4.1", - "mime": "^2.4.4", - "mkdirp": "^0.5.1", - "range-parser": "^1.2.1", - "webpack-log": "^2.0.0" - }, - "engines": { - "node": ">= 6" - }, - "peerDependencies": { - "webpack": "^4.0.0 || ^5.0.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/webpack-filter-warnings-plugin": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/webpack-filter-warnings-plugin/-/webpack-filter-warnings-plugin-1.2.1.tgz", - "integrity": "sha512-Ez6ytc9IseDMLPo0qCuNNYzgtUl8NovOqjIq4uAU8LTD4uoa1w1KpZyyzFtLTEMZpkkOkLfL9eN+KGYdk1Qtwg==", - "dev": true, - "engines": { - "node": ">= 4.3 < 5.0.0 || >= 5.10" - }, - "peerDependencies": { - "webpack": "^2.0.0 || ^3.0.0 || ^4.0.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/webpack-sources": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.3.tgz", - "integrity": "sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==", - "dev": true, - "dependencies": { - "source-list-map": "^2.0.0", - "source-map": "~0.6.1" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/webpack-virtual-modules": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/webpack-virtual-modules/-/webpack-virtual-modules-0.2.2.tgz", - "integrity": "sha512-kDUmfm3BZrei0y+1NTHJInejzxfhtU8eDj2M7OKb2IWrPFAeO1SOH2KuQ68MSZu9IGEHcxbkKKR1v18FrUSOmA==", - "dev": true, - "dependencies": { - "debug": "^3.0.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/webpack/node_modules/cacache": { - "version": "12.0.4", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-12.0.4.tgz", - "integrity": "sha512-a0tMB40oefvuInr4Cwb3GerbL9xTj1D5yg0T5xrjGCGyfvbxseIXX7BAO/u/hIXdafzOI5JC3wDwHyf24buOAQ==", - "dev": true, - "dependencies": { - "bluebird": "^3.5.5", - "chownr": "^1.1.1", - "figgy-pudding": "^3.5.1", - "glob": "^7.1.4", - "graceful-fs": "^4.1.15", - "infer-owner": "^1.0.3", - "lru-cache": "^5.1.1", - "mississippi": "^3.0.0", - "mkdirp": "^0.5.1", - "move-concurrently": "^1.0.1", - "promise-inflight": "^1.0.1", - "rimraf": "^2.6.3", - "ssri": "^6.0.1", - "unique-filename": "^1.1.1", - "y18n": "^4.0.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/webpack/node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - }, - "node_modules/@storybook/builder-webpack4/node_modules/webpack/node_modules/find-cache-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", - "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", - "dev": true, - "dependencies": { - "commondir": "^1.0.1", - "make-dir": "^2.0.0", - "pkg-dir": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/webpack/node_modules/loader-utils": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", - "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", - "dev": true, - "dependencies": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^1.0.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/webpack/node_modules/schema-utils": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz", - "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==", - "dev": true, - "dependencies": { - "ajv": "^6.1.0", - "ajv-errors": "^1.0.0", - "ajv-keywords": "^3.1.0" - }, - "engines": { - "node": ">= 4" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/webpack/node_modules/serialize-javascript": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", - "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", - "dev": true, - "dependencies": { - "randombytes": "^2.1.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/webpack/node_modules/terser": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.0.tgz", - "integrity": "sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==", - "dev": true, - "dependencies": { - "commander": "^2.20.0", - "source-map": "~0.6.1", - "source-map-support": "~0.5.12" - }, - "bin": { - "terser": "bin/terser" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@storybook/builder-webpack4/node_modules/webpack/node_modules/terser-webpack-plugin": { - "version": "1.4.5", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.4.5.tgz", - "integrity": "sha512-04Rfe496lN8EYruwi6oPQkG0vo8C+HT49X687FZnpPF0qMAIHONI6HEXYPKDOE8e5HjXTyKfqRd/agHtH0kOtw==", - "dev": true, - "dependencies": { - "cacache": "^12.0.2", - "find-cache-dir": "^2.1.0", - "is-wsl": "^1.1.0", - "schema-utils": "^1.0.0", - "serialize-javascript": "^4.0.0", - "source-map": "^0.6.1", - "terser": "^4.1.2", - "webpack-sources": "^1.4.0", - "worker-farm": "^1.7.0" - }, - "engines": { - "node": ">= 6.9.0" - }, - "peerDependencies": { - "webpack": "^4.0.0" - } - }, - "node_modules/@storybook/builder-webpack5": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/builder-webpack5/-/builder-webpack5-6.5.3.tgz", - "integrity": "sha512-noVd6eJE7pmBl886TahPuUdLiVkyE9ecqQhcltnZfMBCuJXeEev0/E642HRp5P2hE6uE2pBzkTAy8gaHExeY+Q==", - "dev": true, - "dependencies": { - "@babel/core": "^7.12.10", - "@storybook/addons": "6.5.3", - "@storybook/api": "6.5.3", - "@storybook/channel-postmessage": "6.5.3", - "@storybook/channels": "6.5.3", - "@storybook/client-api": "6.5.3", - "@storybook/client-logger": "6.5.3", - "@storybook/components": "6.5.3", - "@storybook/core-common": "6.5.3", - "@storybook/core-events": "6.5.3", - "@storybook/node-logger": "6.5.3", - "@storybook/preview-web": "6.5.3", - "@storybook/router": "6.5.3", - "@storybook/semver": "^7.3.2", - "@storybook/store": "6.5.3", - "@storybook/theming": "6.5.3", - "@types/node": "^14.0.10 || ^16.0.0", - "babel-loader": "^8.0.0", - "babel-plugin-named-exports-order": "^0.0.2", - "browser-assert": "^1.2.1", - "case-sensitive-paths-webpack-plugin": "^2.3.0", - "core-js": "^3.8.2", - "css-loader": "^5.0.1", - "fork-ts-checker-webpack-plugin": "^6.0.4", - "glob": "^7.1.6", - "glob-promise": "^3.4.0", - "html-webpack-plugin": "^5.0.0", - "path-browserify": "^1.0.1", - "process": "^0.11.10", - "stable": "^0.1.8", - "style-loader": "^2.0.0", - "terser-webpack-plugin": "^5.0.3", - "ts-dedent": "^2.0.0", - "util-deprecate": "^1.0.2", - "webpack": "^5.9.0", - "webpack-dev-middleware": "^4.1.0", - "webpack-hot-middleware": "^2.25.1", - "webpack-virtual-modules": "^0.4.1" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@storybook/channel-postmessage": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/channel-postmessage/-/channel-postmessage-6.5.3.tgz", - "integrity": "sha512-1vsKhFuTX53VmRm4ZKae+9z6FciSTyywZJ5cYmH2nTRWqW5GOm3UndixHzXpddVM1DWdEH4jJ/Cn15SzPRWiPg==", - "dev": true, - "dependencies": { - "@storybook/channels": "6.5.3", - "@storybook/client-logger": "6.5.3", - "@storybook/core-events": "6.5.3", - "core-js": "^3.8.2", - "global": "^4.4.0", - "qs": "^6.10.0", - "telejson": "^6.0.8" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - } - }, - "node_modules/@storybook/channel-websocket": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/channel-websocket/-/channel-websocket-6.5.3.tgz", - "integrity": "sha512-Q1XCqtVMZFP1WG+OtzJ5l0Ip8umzBOkVmH3SH+DDU+o+MCSSfXKbw7UnbDUaZHzOHuFq55WaXVEnzRkeydI9rQ==", - "dev": true, - "dependencies": { - "@storybook/channels": "6.5.3", - "@storybook/client-logger": "6.5.3", - "core-js": "^3.8.2", - "global": "^4.4.0", - "telejson": "^6.0.8" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - } - }, - "node_modules/@storybook/channels": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/channels/-/channels-6.5.3.tgz", - "integrity": "sha512-wpxnMt5clUy+04o+I5LVMoQkYt7nc0e5PDz+pAtlNOvQaoFvlC7oQqsVYxxs1cYm6ZGqAJcsfecI5COtnQfT1w==", - "dev": true, - "dependencies": { - "core-js": "^3.8.2", - "ts-dedent": "^2.0.0", - "util-deprecate": "^1.0.2" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - } - }, - "node_modules/@storybook/client-api": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/client-api/-/client-api-6.5.3.tgz", - "integrity": "sha512-BxksIgSDkkt9muA41VbsSB96/u3HJAWuOJw+GCzt0yHmlBgfb3+GpQOJUDqTluWQlojg0DHJhAKgYKbejyEpIA==", - "dev": true, - "dependencies": { - "@storybook/addons": "6.5.3", - "@storybook/channel-postmessage": "6.5.3", - "@storybook/channels": "6.5.3", - "@storybook/client-logger": "6.5.3", - "@storybook/core-events": "6.5.3", - "@storybook/csf": "0.0.2--canary.4566f4d.1", - "@storybook/store": "6.5.3", - "@types/qs": "^6.9.5", - "@types/webpack-env": "^1.16.0", - "core-js": "^3.8.2", - "fast-deep-equal": "^3.1.3", - "global": "^4.4.0", - "lodash": "^4.17.21", - "memoizerific": "^1.11.3", - "qs": "^6.10.0", - "regenerator-runtime": "^0.13.7", - "store2": "^2.12.0", - "synchronous-promise": "^2.0.15", - "ts-dedent": "^2.0.0", - "util-deprecate": "^1.0.2" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" - } - }, - "node_modules/@storybook/client-logger": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/client-logger/-/client-logger-6.5.3.tgz", - "integrity": "sha512-gUJUkDzQdOQBfAQSJffKlZQ6ueUANjTN6u4xA/FIfJM7+I5N43UuS3dFGEjcnZISS5sj7765ct2aZinMzf1NNQ==", - "dev": true, - "dependencies": { - "core-js": "^3.8.2", - "global": "^4.4.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - } - }, - "node_modules/@storybook/components": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/components/-/components-6.5.3.tgz", - "integrity": "sha512-vYTsg9ADzkPeTsmN1bm351wGqq+oyb8SrAJzLe+FXN+dujIIA9sGEQb6eUZdGe121RDgTyFMO2zKurcJNnGnxQ==", - "dev": true, - "dependencies": { - "@storybook/client-logger": "6.5.3", - "@storybook/csf": "0.0.2--canary.4566f4d.1", - "@storybook/theming": "6.5.3", - "@types/react-syntax-highlighter": "11.0.5", - "core-js": "^3.8.2", - "qs": "^6.10.0", - "react-syntax-highlighter": "^15.4.5", - "regenerator-runtime": "^0.13.7", - "util-deprecate": "^1.0.2" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" - } - }, - "node_modules/@storybook/core": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/core/-/core-6.5.3.tgz", - "integrity": "sha512-XQDcAryLNyXe5eiNqB++6xvGqnYlJ8ZAFOPWFlFUhjrktojtwVEeHfj5M3e23D9XMN4KkBODoH3OWmREcUMwXg==", - "dev": true, - "dependencies": { - "@storybook/core-client": "6.5.3", - "@storybook/core-server": "6.5.3" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0", - "webpack": "*" - }, - "peerDependenciesMeta": { - "@storybook/builder-webpack5": { - "optional": true - }, - "@storybook/manager-webpack5": { - "optional": true - }, - "typescript": { - "optional": true - } - } - }, - "node_modules/@storybook/core-client": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/core-client/-/core-client-6.5.3.tgz", - "integrity": "sha512-tsyXs+J7e210lRWminzyQU5uvbiKq9XrzsMs6feGyCE3kjZbBCj7RIgd/KxStVT/Ssim6BeTXHfnlLTxLbq5pQ==", - "dev": true, - "dependencies": { - "@storybook/addons": "6.5.3", - "@storybook/channel-postmessage": "6.5.3", - "@storybook/channel-websocket": "6.5.3", - "@storybook/client-api": "6.5.3", - "@storybook/client-logger": "6.5.3", - "@storybook/core-events": "6.5.3", - "@storybook/csf": "0.0.2--canary.4566f4d.1", - "@storybook/preview-web": "6.5.3", - "@storybook/store": "6.5.3", - "@storybook/ui": "6.5.3", - "airbnb-js-shims": "^2.2.1", - "ansi-to-html": "^0.6.11", - "core-js": "^3.8.2", - "global": "^4.4.0", - "lodash": "^4.17.21", - "qs": "^6.10.0", - "regenerator-runtime": "^0.13.7", - "ts-dedent": "^2.0.0", - "unfetch": "^4.2.0", - "util-deprecate": "^1.0.2" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0", - "webpack": "*" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@storybook/core-common": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/core-common/-/core-common-6.5.3.tgz", - "integrity": "sha512-A0WJDm/Eo2eP8CZeAQPo8oep+Pbbm/uU6Gl/8GsvK7AVtDv/Sm/kyAWcvqMx5ovnZ7A+qYYjvHr90EZuDoltPg==", - "dev": true, - "dependencies": { - "@babel/core": "^7.12.10", - "@babel/plugin-proposal-class-properties": "^7.12.1", - "@babel/plugin-proposal-decorators": "^7.12.12", - "@babel/plugin-proposal-export-default-from": "^7.12.1", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1", - "@babel/plugin-proposal-object-rest-spread": "^7.12.1", - "@babel/plugin-proposal-optional-chaining": "^7.12.7", - "@babel/plugin-proposal-private-methods": "^7.12.1", - "@babel/plugin-proposal-private-property-in-object": "^7.12.1", - "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/plugin-transform-arrow-functions": "^7.12.1", - "@babel/plugin-transform-block-scoping": "^7.12.12", - "@babel/plugin-transform-classes": "^7.12.1", - "@babel/plugin-transform-destructuring": "^7.12.1", - "@babel/plugin-transform-for-of": "^7.12.1", - "@babel/plugin-transform-parameters": "^7.12.1", - "@babel/plugin-transform-shorthand-properties": "^7.12.1", - "@babel/plugin-transform-spread": "^7.12.1", - "@babel/preset-env": "^7.12.11", - "@babel/preset-react": "^7.12.10", - "@babel/preset-typescript": "^7.12.7", - "@babel/register": "^7.12.1", - "@storybook/node-logger": "6.5.3", - "@storybook/semver": "^7.3.2", - "@types/node": "^14.0.10 || ^16.0.0", - "@types/pretty-hrtime": "^1.0.0", - "babel-loader": "^8.0.0", - "babel-plugin-macros": "^3.0.1", - "babel-plugin-polyfill-corejs3": "^0.1.0", - "chalk": "^4.1.0", - "core-js": "^3.8.2", - "express": "^4.17.1", - "file-system-cache": "^1.0.5", - "find-up": "^5.0.0", - "fork-ts-checker-webpack-plugin": "^6.0.4", - "fs-extra": "^9.0.1", - "glob": "^7.1.6", - "handlebars": "^4.7.7", - "interpret": "^2.2.0", - "json5": "^2.1.3", - "lazy-universal-dotenv": "^3.0.1", - "picomatch": "^2.3.0", - "pkg-dir": "^5.0.0", - "pretty-hrtime": "^1.0.3", - "resolve-from": "^5.0.0", - "slash": "^3.0.0", - "telejson": "^6.0.8", - "ts-dedent": "^2.0.0", - "util-deprecate": "^1.0.2", - "webpack": "4" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@storybook/core-common/node_modules/@webassemblyjs/ast": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.9.0.tgz", - "integrity": "sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA==", - "dev": true, - "dependencies": { - "@webassemblyjs/helper-module-context": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/wast-parser": "1.9.0" - } - }, - "node_modules/@storybook/core-common/node_modules/@webassemblyjs/helper-api-error": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.0.tgz", - "integrity": "sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw==", - "dev": true - }, - "node_modules/@storybook/core-common/node_modules/@webassemblyjs/helper-buffer": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.9.0.tgz", - "integrity": "sha512-qZol43oqhq6yBPx7YM3m9Bv7WMV9Eevj6kMi6InKOuZxhw+q9hOkvq5e/PpKSiLfyetpaBnogSbNCfBwyB00CA==", - "dev": true - }, - "node_modules/@storybook/core-common/node_modules/@webassemblyjs/helper-wasm-bytecode": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz", - "integrity": "sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw==", - "dev": true - }, - "node_modules/@storybook/core-common/node_modules/@webassemblyjs/helper-wasm-section": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.9.0.tgz", - "integrity": "sha512-XnMB8l3ek4tvrKUUku+IVaXNHz2YsJyOOmz+MMkZvh8h1uSJpSen6vYnw3IoQ7WwEuAhL8Efjms1ZWjqh2agvw==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-buffer": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/wasm-gen": "1.9.0" - } - }, - "node_modules/@storybook/core-common/node_modules/@webassemblyjs/ieee754": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.9.0.tgz", - "integrity": "sha512-dcX8JuYU/gvymzIHc9DgxTzUUTLexWwt8uCTWP3otys596io0L5aW02Gb1RjYpx2+0Jus1h4ZFqjla7umFniTg==", - "dev": true, - "dependencies": { - "@xtuc/ieee754": "^1.2.0" - } - }, - "node_modules/@storybook/core-common/node_modules/@webassemblyjs/leb128": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.9.0.tgz", - "integrity": "sha512-ENVzM5VwV1ojs9jam6vPys97B/S65YQtv/aanqnU7D8aSoHFX8GyhGg0CMfyKNIHBuAVjy3tlzd5QMMINa7wpw==", - "dev": true, - "dependencies": { - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@storybook/core-common/node_modules/@webassemblyjs/utf8": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.9.0.tgz", - "integrity": "sha512-GZbQlWtopBTP0u7cHrEx+73yZKrQoBMpwkGEIqlacljhXCkVM1kMQge/Mf+csMJAjEdSwhOyLAS0AoR3AG5P8w==", - "dev": true - }, - "node_modules/@storybook/core-common/node_modules/@webassemblyjs/wasm-edit": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.9.0.tgz", - "integrity": "sha512-FgHzBm80uwz5M8WKnMTn6j/sVbqilPdQXTWraSjBwFXSYGirpkSWE2R9Qvz9tNiTKQvoKILpCuTjBKzOIm0nxw==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-buffer": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/helper-wasm-section": "1.9.0", - "@webassemblyjs/wasm-gen": "1.9.0", - "@webassemblyjs/wasm-opt": "1.9.0", - "@webassemblyjs/wasm-parser": "1.9.0", - "@webassemblyjs/wast-printer": "1.9.0" - } - }, - "node_modules/@storybook/core-common/node_modules/@webassemblyjs/wasm-gen": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.9.0.tgz", - "integrity": "sha512-cPE3o44YzOOHvlsb4+E9qSqjc9Qf9Na1OO/BHFy4OI91XDE14MjFN4lTMezzaIWdPqHnsTodGGNP+iRSYfGkjA==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/ieee754": "1.9.0", - "@webassemblyjs/leb128": "1.9.0", - "@webassemblyjs/utf8": "1.9.0" - } - }, - "node_modules/@storybook/core-common/node_modules/@webassemblyjs/wasm-opt": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.9.0.tgz", - "integrity": "sha512-Qkjgm6Anhm+OMbIL0iokO7meajkzQD71ioelnfPEj6r4eOFuqm4YC3VBPqXjFyyNwowzbMD+hizmprP/Fwkl2A==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-buffer": "1.9.0", - "@webassemblyjs/wasm-gen": "1.9.0", - "@webassemblyjs/wasm-parser": "1.9.0" - } - }, - "node_modules/@storybook/core-common/node_modules/@webassemblyjs/wasm-parser": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.9.0.tgz", - "integrity": "sha512-9+wkMowR2AmdSWQzsPEjFU7njh8HTO5MqO8vjwEHuM+AMHioNqSBONRdr0NQQ3dVQrzp0s8lTcYqzUdb7YgELA==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-api-error": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/ieee754": "1.9.0", - "@webassemblyjs/leb128": "1.9.0", - "@webassemblyjs/utf8": "1.9.0" - } - }, - "node_modules/@storybook/core-common/node_modules/@webassemblyjs/wast-printer": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.9.0.tgz", - "integrity": "sha512-2J0nE95rHXHyQ24cWjMKJ1tqB/ds8z/cyeOZxJhcb+rW+SQASVjuznUSmdz5GpVJTzU8JkhYut0D3siFDD6wsA==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/wast-parser": "1.9.0", - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@storybook/core-common/node_modules/acorn": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz", - "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==", - "dev": true, - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/@storybook/core-common/node_modules/babel-plugin-macros": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz", - "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==", - "dev": true, - "dependencies": { - "@babel/runtime": "^7.12.5", - "cosmiconfig": "^7.0.0", - "resolve": "^1.19.0" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - } - }, - "node_modules/@storybook/core-common/node_modules/braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "dev": true, - "dependencies": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/core-common/node_modules/braces/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/core-common/node_modules/cacache": { - "version": "12.0.4", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-12.0.4.tgz", - "integrity": "sha512-a0tMB40oefvuInr4Cwb3GerbL9xTj1D5yg0T5xrjGCGyfvbxseIXX7BAO/u/hIXdafzOI5JC3wDwHyf24buOAQ==", - "dev": true, - "dependencies": { - "bluebird": "^3.5.5", - "chownr": "^1.1.1", - "figgy-pudding": "^3.5.1", - "glob": "^7.1.4", - "graceful-fs": "^4.1.15", - "infer-owner": "^1.0.3", - "lru-cache": "^5.1.1", - "mississippi": "^3.0.0", - "mkdirp": "^0.5.1", - "move-concurrently": "^1.0.1", - "promise-inflight": "^1.0.1", - "rimraf": "^2.6.3", - "ssri": "^6.0.1", - "unique-filename": "^1.1.1", - "y18n": "^4.0.0" - } - }, - "node_modules/@storybook/core-common/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/@storybook/core-common/node_modules/cosmiconfig": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz", - "integrity": "sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==", - "dev": true, - "dependencies": { - "@types/parse-json": "^4.0.0", - "import-fresh": "^3.2.1", - "parse-json": "^5.0.0", - "path-type": "^4.0.0", - "yaml": "^1.10.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@storybook/core-common/node_modules/enhanced-resolve": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.5.0.tgz", - "integrity": "sha512-Nv9m36S/vxpsI+Hc4/ZGRs0n9mXqSWGGq49zxb/cJfPAQMbUtttJAlNPS4AQzaBdw/pKskw5bMbekT/Y7W/Wlg==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.2", - "memory-fs": "^0.5.0", - "tapable": "^1.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@storybook/core-common/node_modules/enhanced-resolve/node_modules/memory-fs": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.5.0.tgz", - "integrity": "sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA==", - "dev": true, - "dependencies": { - "errno": "^0.1.3", - "readable-stream": "^2.0.1" - }, - "engines": { - "node": ">=4.3.0 <5.0.0 || >=5.10" - } - }, - "node_modules/@storybook/core-common/node_modules/eslint-scope": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz", - "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==", - "dev": true, - "dependencies": { - "esrecurse": "^4.1.0", - "estraverse": "^4.1.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/@storybook/core-common/node_modules/estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/@storybook/core-common/node_modules/fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", - "dev": true, - "dependencies": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/core-common/node_modules/fill-range/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/core-common/node_modules/find-cache-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", - "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", - "dev": true, - "dependencies": { - "commondir": "^1.0.1", - "make-dir": "^2.0.0", - "pkg-dir": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/core-common/node_modules/find-cache-dir/node_modules/find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "dev": true, - "dependencies": { - "locate-path": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/core-common/node_modules/find-cache-dir/node_modules/pkg-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", - "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", - "dev": true, - "dependencies": { - "find-up": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/core-common/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/core-common/node_modules/is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/core-common/node_modules/is-number/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/core-common/node_modules/is-wsl": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", - "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/@storybook/core-common/node_modules/loader-runner": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.4.0.tgz", - "integrity": "sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw==", - "dev": true, - "engines": { - "node": ">=4.3.0 <5.0.0 || >=5.10" - } - }, - "node_modules/@storybook/core-common/node_modules/loader-utils": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", - "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", - "dev": true, - "dependencies": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^1.0.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/@storybook/core-common/node_modules/loader-utils/node_modules/json5": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", - "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", - "dev": true, - "dependencies": { - "minimist": "^1.2.0" - }, - "bin": { - "json5": "lib/cli.js" - } - }, - "node_modules/@storybook/core-common/node_modules/locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "dev": true, - "dependencies": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/core-common/node_modules/make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", - "dev": true, - "dependencies": { - "pify": "^4.0.1", - "semver": "^5.6.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/core-common/node_modules/micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", - "dev": true, - "dependencies": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/core-common/node_modules/p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "dev": true, - "dependencies": { - "p-limit": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/core-common/node_modules/path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/@storybook/core-common/node_modules/rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "dev": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - } - }, - "node_modules/@storybook/core-common/node_modules/schema-utils": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz", - "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==", - "dev": true, - "dependencies": { - "ajv": "^6.1.0", - "ajv-errors": "^1.0.0", - "ajv-keywords": "^3.1.0" - }, - "engines": { - "node": ">= 4" - } - }, - "node_modules/@storybook/core-common/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/@storybook/core-common/node_modules/serialize-javascript": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", - "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", - "dev": true, - "dependencies": { - "randombytes": "^2.1.0" - } - }, - "node_modules/@storybook/core-common/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/core-common/node_modules/terser": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.0.tgz", - "integrity": "sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==", - "dev": true, - "dependencies": { - "commander": "^2.20.0", - "source-map": "~0.6.1", - "source-map-support": "~0.5.12" - }, - "bin": { - "terser": "bin/terser" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@storybook/core-common/node_modules/terser-webpack-plugin": { - "version": "1.4.5", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.4.5.tgz", - "integrity": "sha512-04Rfe496lN8EYruwi6oPQkG0vo8C+HT49X687FZnpPF0qMAIHONI6HEXYPKDOE8e5HjXTyKfqRd/agHtH0kOtw==", - "dev": true, - "dependencies": { - "cacache": "^12.0.2", - "find-cache-dir": "^2.1.0", - "is-wsl": "^1.1.0", - "schema-utils": "^1.0.0", - "serialize-javascript": "^4.0.0", - "source-map": "^0.6.1", - "terser": "^4.1.2", - "webpack-sources": "^1.4.0", - "worker-farm": "^1.7.0" - }, - "engines": { - "node": ">= 6.9.0" - }, - "peerDependencies": { - "webpack": "^4.0.0" - } - }, - "node_modules/@storybook/core-common/node_modules/to-regex-range": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", - "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", - "dev": true, - "dependencies": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/core-common/node_modules/watchpack": { - "version": "1.7.5", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.7.5.tgz", - "integrity": "sha512-9P3MWk6SrKjHsGkLT2KHXdQ/9SNkyoJbabxnKOoJepsvJjJG8uYTR3yTPxPQvNDI3w4Nz1xnE0TLHK4RIVe/MQ==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.2", - "neo-async": "^2.5.0" - }, - "optionalDependencies": { - "chokidar": "^3.4.1", - "watchpack-chokidar2": "^2.0.1" - } - }, - "node_modules/@storybook/core-common/node_modules/webpack": { - "version": "4.46.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.46.0.tgz", - "integrity": "sha512-6jJuJjg8znb/xRItk7bkT0+Q7AHCYjjFnvKIWQPkNIOyRqoCGvkOs0ipeQzrqz4l5FtN5ZI/ukEHroeX/o1/5Q==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-module-context": "1.9.0", - "@webassemblyjs/wasm-edit": "1.9.0", - "@webassemblyjs/wasm-parser": "1.9.0", - "acorn": "^6.4.1", - "ajv": "^6.10.2", - "ajv-keywords": "^3.4.1", - "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^4.5.0", - "eslint-scope": "^4.0.3", - "json-parse-better-errors": "^1.0.2", - "loader-runner": "^2.4.0", - "loader-utils": "^1.2.3", - "memory-fs": "^0.4.1", - "micromatch": "^3.1.10", - "mkdirp": "^0.5.3", - "neo-async": "^2.6.1", - "node-libs-browser": "^2.2.1", - "schema-utils": "^1.0.0", - "tapable": "^1.1.3", - "terser-webpack-plugin": "^1.4.3", - "watchpack": "^1.7.4", - "webpack-sources": "^1.4.1" - }, - "bin": { - "webpack": "bin/webpack.js" - }, - "engines": { - "node": ">=6.11.5" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependenciesMeta": { - "webpack-cli": { - "optional": true - }, - "webpack-command": { - "optional": true - } - } - }, - "node_modules/@storybook/core-common/node_modules/webpack-sources": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.3.tgz", - "integrity": "sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==", - "dev": true, - "dependencies": { - "source-list-map": "^2.0.0", - "source-map": "~0.6.1" - } - }, - "node_modules/@storybook/core-events": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/core-events/-/core-events-6.5.3.tgz", - "integrity": "sha512-DTWFjXJIx+sZndv3lsJohVEJoUL5MgtkSeeKaypkJmZm9kXkylhA0NnA07CMRE6GMqCWw6NYGSe+qOEGsHj5ig==", - "dev": true, - "dependencies": { - "core-js": "^3.8.2" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - } - }, - "node_modules/@storybook/core-server": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/core-server/-/core-server-6.5.3.tgz", - "integrity": "sha512-aehEen3VeY2NvouYfbnw346KtRwCJceOH5IWGHvVVEauSVzwCH+Yfgy7c4k2j0Ey3u6fz5qCkvPp8rdY0XS7SA==", - "dev": true, - "dependencies": { - "@discoveryjs/json-ext": "^0.5.3", - "@storybook/builder-webpack4": "6.5.3", - "@storybook/core-client": "6.5.3", - "@storybook/core-common": "6.5.3", - "@storybook/core-events": "6.5.3", - "@storybook/csf": "0.0.2--canary.4566f4d.1", - "@storybook/csf-tools": "6.5.3", - "@storybook/manager-webpack4": "6.5.3", - "@storybook/node-logger": "6.5.3", - "@storybook/semver": "^7.3.2", - "@storybook/store": "6.5.3", - "@storybook/telemetry": "6.5.3", - "@types/node": "^14.0.10 || ^16.0.0", - "@types/node-fetch": "^2.5.7", - "@types/pretty-hrtime": "^1.0.0", - "@types/webpack": "^4.41.26", - "better-opn": "^2.1.1", - "boxen": "^5.1.2", - "chalk": "^4.1.0", - "cli-table3": "^0.6.1", - "commander": "^6.2.1", - "compression": "^1.7.4", - "core-js": "^3.8.2", - "cpy": "^8.1.2", - "detect-port": "^1.3.0", - "express": "^4.17.1", - "fs-extra": "^9.0.1", - "global": "^4.4.0", - "globby": "^11.0.2", - "ip": "^1.1.5", - "lodash": "^4.17.21", - "node-fetch": "^2.6.7", - "open": "^8.4.0", - "pretty-hrtime": "^1.0.3", - "prompts": "^2.4.0", - "regenerator-runtime": "^0.13.7", - "serve-favicon": "^2.5.0", - "slash": "^3.0.0", - "telejson": "^6.0.8", - "ts-dedent": "^2.0.0", - "util-deprecate": "^1.0.2", - "watchpack": "^2.2.0", - "webpack": "4", - "ws": "^8.2.3", - "x-default-browser": "^0.4.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@storybook/builder-webpack5": { - "optional": true - }, - "@storybook/manager-webpack5": { - "optional": true - }, - "typescript": { - "optional": true - } - } - }, - "node_modules/@storybook/core-server/node_modules/@webassemblyjs/ast": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.9.0.tgz", - "integrity": "sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA==", - "dev": true, - "dependencies": { - "@webassemblyjs/helper-module-context": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/wast-parser": "1.9.0" - } - }, - "node_modules/@storybook/core-server/node_modules/@webassemblyjs/helper-api-error": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.0.tgz", - "integrity": "sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw==", - "dev": true - }, - "node_modules/@storybook/core-server/node_modules/@webassemblyjs/helper-buffer": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.9.0.tgz", - "integrity": "sha512-qZol43oqhq6yBPx7YM3m9Bv7WMV9Eevj6kMi6InKOuZxhw+q9hOkvq5e/PpKSiLfyetpaBnogSbNCfBwyB00CA==", - "dev": true - }, - "node_modules/@storybook/core-server/node_modules/@webassemblyjs/helper-wasm-bytecode": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz", - "integrity": "sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw==", - "dev": true - }, - "node_modules/@storybook/core-server/node_modules/@webassemblyjs/helper-wasm-section": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.9.0.tgz", - "integrity": "sha512-XnMB8l3ek4tvrKUUku+IVaXNHz2YsJyOOmz+MMkZvh8h1uSJpSen6vYnw3IoQ7WwEuAhL8Efjms1ZWjqh2agvw==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-buffer": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/wasm-gen": "1.9.0" - } - }, - "node_modules/@storybook/core-server/node_modules/@webassemblyjs/ieee754": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.9.0.tgz", - "integrity": "sha512-dcX8JuYU/gvymzIHc9DgxTzUUTLexWwt8uCTWP3otys596io0L5aW02Gb1RjYpx2+0Jus1h4ZFqjla7umFniTg==", - "dev": true, - "dependencies": { - "@xtuc/ieee754": "^1.2.0" - } - }, - "node_modules/@storybook/core-server/node_modules/@webassemblyjs/leb128": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.9.0.tgz", - "integrity": "sha512-ENVzM5VwV1ojs9jam6vPys97B/S65YQtv/aanqnU7D8aSoHFX8GyhGg0CMfyKNIHBuAVjy3tlzd5QMMINa7wpw==", - "dev": true, - "dependencies": { - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@storybook/core-server/node_modules/@webassemblyjs/utf8": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.9.0.tgz", - "integrity": "sha512-GZbQlWtopBTP0u7cHrEx+73yZKrQoBMpwkGEIqlacljhXCkVM1kMQge/Mf+csMJAjEdSwhOyLAS0AoR3AG5P8w==", - "dev": true - }, - "node_modules/@storybook/core-server/node_modules/@webassemblyjs/wasm-edit": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.9.0.tgz", - "integrity": "sha512-FgHzBm80uwz5M8WKnMTn6j/sVbqilPdQXTWraSjBwFXSYGirpkSWE2R9Qvz9tNiTKQvoKILpCuTjBKzOIm0nxw==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-buffer": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/helper-wasm-section": "1.9.0", - "@webassemblyjs/wasm-gen": "1.9.0", - "@webassemblyjs/wasm-opt": "1.9.0", - "@webassemblyjs/wasm-parser": "1.9.0", - "@webassemblyjs/wast-printer": "1.9.0" - } - }, - "node_modules/@storybook/core-server/node_modules/@webassemblyjs/wasm-gen": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.9.0.tgz", - "integrity": "sha512-cPE3o44YzOOHvlsb4+E9qSqjc9Qf9Na1OO/BHFy4OI91XDE14MjFN4lTMezzaIWdPqHnsTodGGNP+iRSYfGkjA==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/ieee754": "1.9.0", - "@webassemblyjs/leb128": "1.9.0", - "@webassemblyjs/utf8": "1.9.0" - } - }, - "node_modules/@storybook/core-server/node_modules/@webassemblyjs/wasm-opt": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.9.0.tgz", - "integrity": "sha512-Qkjgm6Anhm+OMbIL0iokO7meajkzQD71ioelnfPEj6r4eOFuqm4YC3VBPqXjFyyNwowzbMD+hizmprP/Fwkl2A==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-buffer": "1.9.0", - "@webassemblyjs/wasm-gen": "1.9.0", - "@webassemblyjs/wasm-parser": "1.9.0" - } - }, - "node_modules/@storybook/core-server/node_modules/@webassemblyjs/wasm-parser": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.9.0.tgz", - "integrity": "sha512-9+wkMowR2AmdSWQzsPEjFU7njh8HTO5MqO8vjwEHuM+AMHioNqSBONRdr0NQQ3dVQrzp0s8lTcYqzUdb7YgELA==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-api-error": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/ieee754": "1.9.0", - "@webassemblyjs/leb128": "1.9.0", - "@webassemblyjs/utf8": "1.9.0" - } - }, - "node_modules/@storybook/core-server/node_modules/@webassemblyjs/wast-printer": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.9.0.tgz", - "integrity": "sha512-2J0nE95rHXHyQ24cWjMKJ1tqB/ds8z/cyeOZxJhcb+rW+SQASVjuznUSmdz5GpVJTzU8JkhYut0D3siFDD6wsA==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/wast-parser": "1.9.0", - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@storybook/core-server/node_modules/acorn": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz", - "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==", - "dev": true, - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/@storybook/core-server/node_modules/braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "dev": true, - "dependencies": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/core-server/node_modules/braces/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/core-server/node_modules/cacache": { - "version": "12.0.4", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-12.0.4.tgz", - "integrity": "sha512-a0tMB40oefvuInr4Cwb3GerbL9xTj1D5yg0T5xrjGCGyfvbxseIXX7BAO/u/hIXdafzOI5JC3wDwHyf24buOAQ==", - "dev": true, - "dependencies": { - "bluebird": "^3.5.5", - "chownr": "^1.1.1", - "figgy-pudding": "^3.5.1", - "glob": "^7.1.4", - "graceful-fs": "^4.1.15", - "infer-owner": "^1.0.3", - "lru-cache": "^5.1.1", - "mississippi": "^3.0.0", - "mkdirp": "^0.5.1", - "move-concurrently": "^1.0.1", - "promise-inflight": "^1.0.1", - "rimraf": "^2.6.3", - "ssri": "^6.0.1", - "unique-filename": "^1.1.1", - "y18n": "^4.0.0" - } - }, - "node_modules/@storybook/core-server/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/@storybook/core-server/node_modules/chokidar2": { - "resolved": "node_modules/@storybook/core-server/node_modules/webpack/node_modules/watchpack/chokidar2", - "link": true - }, - "node_modules/@storybook/core-server/node_modules/commander": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", - "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==", - "dev": true, - "engines": { - "node": ">= 6" - } - }, - "node_modules/@storybook/core-server/node_modules/enhanced-resolve": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.5.0.tgz", - "integrity": "sha512-Nv9m36S/vxpsI+Hc4/ZGRs0n9mXqSWGGq49zxb/cJfPAQMbUtttJAlNPS4AQzaBdw/pKskw5bMbekT/Y7W/Wlg==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.2", - "memory-fs": "^0.5.0", - "tapable": "^1.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@storybook/core-server/node_modules/enhanced-resolve/node_modules/memory-fs": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.5.0.tgz", - "integrity": "sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA==", - "dev": true, - "dependencies": { - "errno": "^0.1.3", - "readable-stream": "^2.0.1" - }, - "engines": { - "node": ">=4.3.0 <5.0.0 || >=5.10" - } - }, - "node_modules/@storybook/core-server/node_modules/eslint-scope": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz", - "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==", - "dev": true, - "dependencies": { - "esrecurse": "^4.1.0", - "estraverse": "^4.1.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/@storybook/core-server/node_modules/estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/@storybook/core-server/node_modules/fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", - "dev": true, - "dependencies": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/core-server/node_modules/fill-range/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/core-server/node_modules/find-cache-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", - "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", - "dev": true, - "dependencies": { - "commondir": "^1.0.1", - "make-dir": "^2.0.0", - "pkg-dir": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/core-server/node_modules/find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "dev": true, - "dependencies": { - "locate-path": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/core-server/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/core-server/node_modules/is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/core-server/node_modules/is-number/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/core-server/node_modules/is-wsl": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", - "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/@storybook/core-server/node_modules/json5": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", - "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", - "dev": true, - "dependencies": { - "minimist": "^1.2.0" - }, - "bin": { - "json5": "lib/cli.js" - } - }, - "node_modules/@storybook/core-server/node_modules/loader-runner": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.4.0.tgz", - "integrity": "sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw==", - "dev": true, - "engines": { - "node": ">=4.3.0 <5.0.0 || >=5.10" - } - }, - "node_modules/@storybook/core-server/node_modules/loader-utils": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", - "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", - "dev": true, - "dependencies": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^1.0.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/@storybook/core-server/node_modules/locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "dev": true, - "dependencies": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/core-server/node_modules/make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", - "dev": true, - "dependencies": { - "pify": "^4.0.1", - "semver": "^5.6.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/core-server/node_modules/micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", - "dev": true, - "dependencies": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/core-server/node_modules/p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "dev": true, - "dependencies": { - "p-limit": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/core-server/node_modules/path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/@storybook/core-server/node_modules/pkg-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", - "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", - "dev": true, - "dependencies": { - "find-up": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/core-server/node_modules/rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "dev": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - } - }, - "node_modules/@storybook/core-server/node_modules/schema-utils": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz", - "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==", - "dev": true, - "dependencies": { - "ajv": "^6.1.0", - "ajv-errors": "^1.0.0", - "ajv-keywords": "^3.1.0" - }, - "engines": { - "node": ">= 4" - } - }, - "node_modules/@storybook/core-server/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/@storybook/core-server/node_modules/serialize-javascript": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", - "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", - "dev": true, - "dependencies": { - "randombytes": "^2.1.0" - } - }, - "node_modules/@storybook/core-server/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/core-server/node_modules/terser": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.0.tgz", - "integrity": "sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==", - "dev": true, - "dependencies": { - "commander": "^2.20.0", - "source-map": "~0.6.1", - "source-map-support": "~0.5.12" - }, - "bin": { - "terser": "bin/terser" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@storybook/core-server/node_modules/terser-webpack-plugin": { - "version": "1.4.5", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.4.5.tgz", - "integrity": "sha512-04Rfe496lN8EYruwi6oPQkG0vo8C+HT49X687FZnpPF0qMAIHONI6HEXYPKDOE8e5HjXTyKfqRd/agHtH0kOtw==", - "dev": true, - "dependencies": { - "cacache": "^12.0.2", - "find-cache-dir": "^2.1.0", - "is-wsl": "^1.1.0", - "schema-utils": "^1.0.0", - "serialize-javascript": "^4.0.0", - "source-map": "^0.6.1", - "terser": "^4.1.2", - "webpack-sources": "^1.4.0", - "worker-farm": "^1.7.0" - }, - "engines": { - "node": ">= 6.9.0" - }, - "peerDependencies": { - "webpack": "^4.0.0" - } - }, - "node_modules/@storybook/core-server/node_modules/terser/node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - }, - "node_modules/@storybook/core-server/node_modules/to-regex-range": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", - "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", - "dev": true, - "dependencies": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/core-server/node_modules/webpack": { - "version": "4.43.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.43.0.tgz", - "integrity": "sha512-GW1LjnPipFW2Y78OOab8NJlCflB7EFskMih2AHdvjbpKMeDJqEgSx24cXXXiPS65+WSwVyxtDsJH6jGX2czy+g==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-module-context": "1.9.0", - "@webassemblyjs/wasm-edit": "1.9.0", - "@webassemblyjs/wasm-parser": "1.9.0", - "acorn": "^6.4.1", - "ajv": "^6.10.2", - "ajv-keywords": "^3.4.1", - "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^4.1.0", - "eslint-scope": "^4.0.3", - "json-parse-better-errors": "^1.0.2", - "loader-runner": "^2.4.0", - "loader-utils": "^1.2.3", - "memory-fs": "^0.4.1", - "micromatch": "^3.1.10", - "mkdirp": "^0.5.3", - "neo-async": "^2.6.1", - "node-libs-browser": "^2.2.1", - "schema-utils": "^1.0.0", - "tapable": "^1.1.3", - "terser-webpack-plugin": "^1.4.3", - "watchpack": "^1.6.1", - "webpack-sources": "^1.4.1" - }, - "bin": { - "webpack": "bin/webpack.js" - }, - "engines": { - "node": ">=6.11.5" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, - "node_modules/@storybook/core-server/node_modules/webpack-sources": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.3.tgz", - "integrity": "sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==", - "dev": true, - "dependencies": { - "source-list-map": "^2.0.0", - "source-map": "~0.6.1" - } - }, - "node_modules/@storybook/core-server/node_modules/webpack/node_modules/watchpack": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.7.1.tgz", - "integrity": "sha512-1OeW6LucExk7h6lBuCr1isK5261Tf0PHNRG9tZjg2WKUsSkPwvyv37d7mgAUk1rZjxxaL/6WttSGMUY2hn/20g==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.2", - "neo-async": "^2.5.0" - }, - "optionalDependencies": { - "chokidar": "^3.4.0", - "chokidar2": "file:./chokidar2" - } - }, - "node_modules/@storybook/core-server/node_modules/webpack/node_modules/watchpack/chokidar2": { - "dev": true, - "optional": true - }, - "node_modules/@storybook/csf": { - "version": "0.0.2--canary.4566f4d.1", - "resolved": "https://registry.npmjs.org/@storybook/csf/-/csf-0.0.2--canary.4566f4d.1.tgz", - "integrity": "sha512-9OVvMVh3t9znYZwb0Svf/YQoxX2gVOeQTGe2bses2yj+a3+OJnCrUF3/hGv6Em7KujtOdL2LL+JnG49oMVGFgQ==", - "dev": true, - "dependencies": { - "lodash": "^4.17.15" - } - }, - "node_modules/@storybook/csf-tools": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/csf-tools/-/csf-tools-6.5.3.tgz", - "integrity": "sha512-WotBTvKauVV+i2DZqem4m12D+Ogexg6oFiXt0dlqh0TUGEAGzvocOAPIKk6uciEF2eXu6yn8JE4s+faXLWrXSw==", - "dev": true, - "dependencies": { - "@babel/core": "^7.12.10", - "@babel/generator": "^7.12.11", - "@babel/parser": "^7.12.11", - "@babel/plugin-transform-react-jsx": "^7.12.12", - "@babel/preset-env": "^7.12.11", - "@babel/traverse": "^7.12.11", - "@babel/types": "^7.12.11", - "@storybook/csf": "0.0.2--canary.4566f4d.1", - "@storybook/mdx1-csf": "canary", - "core-js": "^3.8.2", - "fs-extra": "^9.0.1", - "global": "^4.4.0", - "regenerator-runtime": "^0.13.7", - "ts-dedent": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "peerDependencies": { - "@storybook/mdx2-csf": "*" - }, - "peerDependenciesMeta": { - "@storybook/mdx2-csf": { - "optional": true - } - } - }, - "node_modules/@storybook/docs-tools": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/docs-tools/-/docs-tools-6.5.3.tgz", - "integrity": "sha512-scUztkQ9ZRRoo4lHiYRaCkmk351H2CwMnlOrCwv/EpmLZnHdffSAtMZS/O07KUOC8fvxCw36z5SfHlbCIcolSQ==", - "dev": true, - "dependencies": { - "@babel/core": "^7.12.10", - "@storybook/csf": "0.0.2--canary.4566f4d.1", - "@storybook/store": "6.5.3", - "core-js": "^3.8.2", - "doctrine": "^3.0.0", - "lodash": "^4.17.21", - "regenerator-runtime": "^0.13.7" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - } - }, - "node_modules/@storybook/manager-webpack4": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/manager-webpack4/-/manager-webpack4-6.5.3.tgz", - "integrity": "sha512-kI+6fbCHv9uH1GEYK/SYLtNiAJYVRgm8oh/7Zi/38cqUjnAg8lzUztABul4Iemu3w5aJplkqE08FFu69TTbHPg==", - "dev": true, - "dependencies": { - "@babel/core": "^7.12.10", - "@babel/plugin-transform-template-literals": "^7.12.1", - "@babel/preset-react": "^7.12.10", - "@storybook/addons": "6.5.3", - "@storybook/core-client": "6.5.3", - "@storybook/core-common": "6.5.3", - "@storybook/node-logger": "6.5.3", - "@storybook/theming": "6.5.3", - "@storybook/ui": "6.5.3", - "@types/node": "^14.0.10 || ^16.0.0", - "@types/webpack": "^4.41.26", - "babel-loader": "^8.0.0", - "case-sensitive-paths-webpack-plugin": "^2.3.0", - "chalk": "^4.1.0", - "core-js": "^3.8.2", - "css-loader": "^3.6.0", - "express": "^4.17.1", - "file-loader": "^6.2.0", - "find-up": "^5.0.0", - "fs-extra": "^9.0.1", - "html-webpack-plugin": "^4.0.0", - "node-fetch": "^2.6.7", - "pnp-webpack-plugin": "1.6.4", - "read-pkg-up": "^7.0.1", - "regenerator-runtime": "^0.13.7", - "resolve-from": "^5.0.0", - "style-loader": "^1.3.0", - "telejson": "^6.0.8", - "terser-webpack-plugin": "^4.2.3", - "ts-dedent": "^2.0.0", - "url-loader": "^4.1.1", - "util-deprecate": "^1.0.2", - "webpack": "4", - "webpack-dev-middleware": "^3.7.3", - "webpack-virtual-modules": "^0.2.2" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/@types/html-minifier-terser": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/@types/html-minifier-terser/-/html-minifier-terser-5.1.2.tgz", - "integrity": "sha512-h4lTMgMJctJybDp8CQrxTUiiYmedihHWkjnF/8Pxseu2S6Nlfcy8kwboQ8yejh456rP2yWoEVm1sS/FVsfM48w==", - "dev": true - }, - "node_modules/@storybook/manager-webpack4/node_modules/@webassemblyjs/ast": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.9.0.tgz", - "integrity": "sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA==", - "dev": true, - "dependencies": { - "@webassemblyjs/helper-module-context": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/wast-parser": "1.9.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/@webassemblyjs/helper-api-error": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.0.tgz", - "integrity": "sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw==", - "dev": true - }, - "node_modules/@storybook/manager-webpack4/node_modules/@webassemblyjs/helper-buffer": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.9.0.tgz", - "integrity": "sha512-qZol43oqhq6yBPx7YM3m9Bv7WMV9Eevj6kMi6InKOuZxhw+q9hOkvq5e/PpKSiLfyetpaBnogSbNCfBwyB00CA==", - "dev": true - }, - "node_modules/@storybook/manager-webpack4/node_modules/@webassemblyjs/helper-wasm-bytecode": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz", - "integrity": "sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw==", - "dev": true - }, - "node_modules/@storybook/manager-webpack4/node_modules/@webassemblyjs/helper-wasm-section": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.9.0.tgz", - "integrity": "sha512-XnMB8l3ek4tvrKUUku+IVaXNHz2YsJyOOmz+MMkZvh8h1uSJpSen6vYnw3IoQ7WwEuAhL8Efjms1ZWjqh2agvw==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-buffer": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/wasm-gen": "1.9.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/@webassemblyjs/ieee754": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.9.0.tgz", - "integrity": "sha512-dcX8JuYU/gvymzIHc9DgxTzUUTLexWwt8uCTWP3otys596io0L5aW02Gb1RjYpx2+0Jus1h4ZFqjla7umFniTg==", - "dev": true, - "dependencies": { - "@xtuc/ieee754": "^1.2.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/@webassemblyjs/leb128": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.9.0.tgz", - "integrity": "sha512-ENVzM5VwV1ojs9jam6vPys97B/S65YQtv/aanqnU7D8aSoHFX8GyhGg0CMfyKNIHBuAVjy3tlzd5QMMINa7wpw==", - "dev": true, - "dependencies": { - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/@webassemblyjs/utf8": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.9.0.tgz", - "integrity": "sha512-GZbQlWtopBTP0u7cHrEx+73yZKrQoBMpwkGEIqlacljhXCkVM1kMQge/Mf+csMJAjEdSwhOyLAS0AoR3AG5P8w==", - "dev": true - }, - "node_modules/@storybook/manager-webpack4/node_modules/@webassemblyjs/wasm-edit": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.9.0.tgz", - "integrity": "sha512-FgHzBm80uwz5M8WKnMTn6j/sVbqilPdQXTWraSjBwFXSYGirpkSWE2R9Qvz9tNiTKQvoKILpCuTjBKzOIm0nxw==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-buffer": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/helper-wasm-section": "1.9.0", - "@webassemblyjs/wasm-gen": "1.9.0", - "@webassemblyjs/wasm-opt": "1.9.0", - "@webassemblyjs/wasm-parser": "1.9.0", - "@webassemblyjs/wast-printer": "1.9.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/@webassemblyjs/wasm-gen": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.9.0.tgz", - "integrity": "sha512-cPE3o44YzOOHvlsb4+E9qSqjc9Qf9Na1OO/BHFy4OI91XDE14MjFN4lTMezzaIWdPqHnsTodGGNP+iRSYfGkjA==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/ieee754": "1.9.0", - "@webassemblyjs/leb128": "1.9.0", - "@webassemblyjs/utf8": "1.9.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/@webassemblyjs/wasm-opt": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.9.0.tgz", - "integrity": "sha512-Qkjgm6Anhm+OMbIL0iokO7meajkzQD71ioelnfPEj6r4eOFuqm4YC3VBPqXjFyyNwowzbMD+hizmprP/Fwkl2A==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-buffer": "1.9.0", - "@webassemblyjs/wasm-gen": "1.9.0", - "@webassemblyjs/wasm-parser": "1.9.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/@webassemblyjs/wasm-parser": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.9.0.tgz", - "integrity": "sha512-9+wkMowR2AmdSWQzsPEjFU7njh8HTO5MqO8vjwEHuM+AMHioNqSBONRdr0NQQ3dVQrzp0s8lTcYqzUdb7YgELA==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-api-error": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/ieee754": "1.9.0", - "@webassemblyjs/leb128": "1.9.0", - "@webassemblyjs/utf8": "1.9.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/@webassemblyjs/wast-printer": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.9.0.tgz", - "integrity": "sha512-2J0nE95rHXHyQ24cWjMKJ1tqB/ds8z/cyeOZxJhcb+rW+SQASVjuznUSmdz5GpVJTzU8JkhYut0D3siFDD6wsA==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/wast-parser": "1.9.0", - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/acorn": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz", - "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==", - "dev": true, - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "dev": true, - "dependencies": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/braces/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/chokidar2": { - "resolved": "node_modules/@storybook/manager-webpack4/node_modules/watchpack/chokidar2", - "link": true - }, - "node_modules/@storybook/manager-webpack4/node_modules/clean-css": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.4.tgz", - "integrity": "sha512-EJUDT7nDVFDvaQgAo2G/PJvxmp1o/c6iXLbswsBbUFXi1Nr+AjA2cKmfbKDMjMvzEe75g3P6JkaDDAKk96A85A==", - "dev": true, - "dependencies": { - "source-map": "~0.6.0" - }, - "engines": { - "node": ">= 4.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/commander": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", - "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", - "dev": true, - "engines": { - "node": ">= 6" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/css-loader": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-3.6.0.tgz", - "integrity": "sha512-M5lSukoWi1If8dhQAUCvj4H8vUt3vOnwbQBH9DdTm/s4Ym2B/3dPMtYZeJmq7Q3S3Pa+I94DcZ7pc9bP14cWIQ==", - "dev": true, - "dependencies": { - "camelcase": "^5.3.1", - "cssesc": "^3.0.0", - "icss-utils": "^4.1.1", - "loader-utils": "^1.2.3", - "normalize-path": "^3.0.0", - "postcss": "^7.0.32", - "postcss-modules-extract-imports": "^2.0.0", - "postcss-modules-local-by-default": "^3.0.2", - "postcss-modules-scope": "^2.2.0", - "postcss-modules-values": "^3.0.0", - "postcss-value-parser": "^4.1.0", - "schema-utils": "^2.7.0", - "semver": "^6.3.0" - }, - "engines": { - "node": ">= 8.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^4.0.0 || ^5.0.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/css-loader/node_modules/loader-utils": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", - "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", - "dev": true, - "dependencies": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^1.0.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/css-loader/node_modules/schema-utils": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.1.tgz", - "integrity": "sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==", - "dev": true, - "dependencies": { - "@types/json-schema": "^7.0.5", - "ajv": "^6.12.4", - "ajv-keywords": "^3.5.2" - }, - "engines": { - "node": ">= 8.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dev": true, - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/enhanced-resolve": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.5.0.tgz", - "integrity": "sha512-Nv9m36S/vxpsI+Hc4/ZGRs0n9mXqSWGGq49zxb/cJfPAQMbUtttJAlNPS4AQzaBdw/pKskw5bMbekT/Y7W/Wlg==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.2", - "memory-fs": "^0.5.0", - "tapable": "^1.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/enhanced-resolve/node_modules/memory-fs": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.5.0.tgz", - "integrity": "sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA==", - "dev": true, - "dependencies": { - "errno": "^0.1.3", - "readable-stream": "^2.0.1" - }, - "engines": { - "node": ">=4.3.0 <5.0.0 || >=5.10" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/eslint-scope": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz", - "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==", - "dev": true, - "dependencies": { - "esrecurse": "^4.1.0", - "estraverse": "^4.1.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", - "dev": true, - "dependencies": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/fill-range/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/html-minifier-terser": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/html-minifier-terser/-/html-minifier-terser-5.1.1.tgz", - "integrity": "sha512-ZPr5MNObqnV/T9akshPKbVgyOqLmy+Bxo7juKCfTfnjNniTAMdy4hz21YQqoofMBJD2kdREaqPPdThoR78Tgxg==", - "dev": true, - "dependencies": { - "camel-case": "^4.1.1", - "clean-css": "^4.2.3", - "commander": "^4.1.1", - "he": "^1.2.0", - "param-case": "^3.0.3", - "relateurl": "^0.2.7", - "terser": "^4.6.3" - }, - "bin": { - "html-minifier-terser": "cli.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/html-minifier-terser/node_modules/terser": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.0.tgz", - "integrity": "sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==", - "dev": true, - "dependencies": { - "commander": "^2.20.0", - "source-map": "~0.6.1", - "source-map-support": "~0.5.12" - }, - "bin": { - "terser": "bin/terser" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/html-minifier-terser/node_modules/terser/node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - }, - "node_modules/@storybook/manager-webpack4/node_modules/html-webpack-plugin": { - "version": "4.5.2", - "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-4.5.2.tgz", - "integrity": "sha512-q5oYdzjKUIPQVjOosjgvCHQOv9Ett9CYYHlgvJeXG0qQvdSojnBq4vAdQBwn1+yGveAwHCoe/rMR86ozX3+c2A==", - "dev": true, - "dependencies": { - "@types/html-minifier-terser": "^5.0.0", - "@types/tapable": "^1.0.5", - "@types/webpack": "^4.41.8", - "html-minifier-terser": "^5.0.1", - "loader-utils": "^1.2.3", - "lodash": "^4.17.20", - "pretty-error": "^2.1.1", - "tapable": "^1.1.3", - "util.promisify": "1.0.0" - }, - "engines": { - "node": ">=6.9" - }, - "peerDependencies": { - "webpack": "^4.0.0 || ^5.0.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/html-webpack-plugin/node_modules/loader-utils": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", - "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", - "dev": true, - "dependencies": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^1.0.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/is-number/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/is-wsl": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", - "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/jest-worker": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz", - "integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==", - "dev": true, - "dependencies": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^7.0.0" - }, - "engines": { - "node": ">= 10.13.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/json5": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", - "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", - "dev": true, - "dependencies": { - "minimist": "^1.2.0" - }, - "bin": { - "json5": "lib/cli.js" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/loader-runner": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.4.0.tgz", - "integrity": "sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw==", - "dev": true, - "engines": { - "node": ">=4.3.0 <5.0.0 || >=5.10" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "dev": true, - "dependencies": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", - "dev": true, - "dependencies": { - "pify": "^4.0.1", - "semver": "^5.6.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/make-dir/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", - "dev": true, - "dependencies": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/mime": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", - "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==", - "dev": true, - "bin": { - "mime": "cli.js" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "dev": true, - "dependencies": { - "yocto-queue": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "dev": true, - "dependencies": { - "p-limit": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/p-locate/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/pkg-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", - "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", - "dev": true, - "dependencies": { - "find-up": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/pkg-dir/node_modules/find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "dev": true, - "dependencies": { - "locate-path": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/pretty-error": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/pretty-error/-/pretty-error-2.1.2.tgz", - "integrity": "sha512-EY5oDzmsX5wvuynAByrmY0P0hcp+QpnAKbJng2A2MPjVKXCxrDSUkzghVJ4ZGPIv+JC4gX8fPUWscC0RtjsWGw==", - "dev": true, - "dependencies": { - "lodash": "^4.17.20", - "renderkid": "^2.0.4" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/renderkid": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/renderkid/-/renderkid-2.0.7.tgz", - "integrity": "sha512-oCcFyxaMrKsKcTY59qnCAtmDVSLfPbrv6A3tVbPdFMMrv5jaK10V6m40cKsoPNhAqN6rmHW9sswW4o3ruSrwUQ==", - "dev": true, - "dependencies": { - "css-select": "^4.1.3", - "dom-converter": "^0.2.0", - "htmlparser2": "^6.1.0", - "lodash": "^4.17.21", - "strip-ansi": "^3.0.1" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "dev": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/serialize-javascript": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.1.tgz", - "integrity": "sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA==", - "dev": true, - "dependencies": { - "randombytes": "^2.1.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "dev": true, - "dependencies": { - "ansi-regex": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/style-loader": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-1.3.0.tgz", - "integrity": "sha512-V7TCORko8rs9rIqkSrlMfkqA63DfoGBBJmK1kKGCcSi+BWb4cqz0SRsnp4l6rU5iwOEd0/2ePv68SV22VXon4Q==", - "dev": true, - "dependencies": { - "loader-utils": "^2.0.0", - "schema-utils": "^2.7.0" - }, - "engines": { - "node": ">= 8.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^4.0.0 || ^5.0.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/style-loader/node_modules/schema-utils": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.1.tgz", - "integrity": "sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==", - "dev": true, - "dependencies": { - "@types/json-schema": "^7.0.5", - "ajv": "^6.12.4", - "ajv-keywords": "^3.5.2" - }, - "engines": { - "node": ">= 8.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/terser-webpack-plugin": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-4.2.3.tgz", - "integrity": "sha512-jTgXh40RnvOrLQNgIkwEKnQ8rmHjHK4u+6UBEi+W+FPmvb+uo+chJXntKe7/3lW5mNysgSWD60KyesnhW8D6MQ==", - "dev": true, - "dependencies": { - "cacache": "^15.0.5", - "find-cache-dir": "^3.3.1", - "jest-worker": "^26.5.0", - "p-limit": "^3.0.2", - "schema-utils": "^3.0.0", - "serialize-javascript": "^5.0.1", - "source-map": "^0.6.1", - "terser": "^5.3.4", - "webpack-sources": "^1.4.3" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^4.0.0 || ^5.0.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/to-regex-range": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", - "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", - "dev": true, - "dependencies": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/watchpack": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.7.1.tgz", - "integrity": "sha512-1OeW6LucExk7h6lBuCr1isK5261Tf0PHNRG9tZjg2WKUsSkPwvyv37d7mgAUk1rZjxxaL/6WttSGMUY2hn/20g==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.2", - "neo-async": "^2.5.0" - }, - "optionalDependencies": { - "chokidar": "^3.4.0", - "chokidar2": "file:./chokidar2" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/watchpack/chokidar2": { - "dev": true, - "optional": true - }, - "node_modules/@storybook/manager-webpack4/node_modules/webpack": { - "version": "4.43.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.43.0.tgz", - "integrity": "sha512-GW1LjnPipFW2Y78OOab8NJlCflB7EFskMih2AHdvjbpKMeDJqEgSx24cXXXiPS65+WSwVyxtDsJH6jGX2czy+g==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-module-context": "1.9.0", - "@webassemblyjs/wasm-edit": "1.9.0", - "@webassemblyjs/wasm-parser": "1.9.0", - "acorn": "^6.4.1", - "ajv": "^6.10.2", - "ajv-keywords": "^3.4.1", - "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^4.1.0", - "eslint-scope": "^4.0.3", - "json-parse-better-errors": "^1.0.2", - "loader-runner": "^2.4.0", - "loader-utils": "^1.2.3", - "memory-fs": "^0.4.1", - "micromatch": "^3.1.10", - "mkdirp": "^0.5.3", - "neo-async": "^2.6.1", - "node-libs-browser": "^2.2.1", - "schema-utils": "^1.0.0", - "tapable": "^1.1.3", - "terser-webpack-plugin": "^1.4.3", - "watchpack": "^1.6.1", - "webpack-sources": "^1.4.1" - }, - "bin": { - "webpack": "bin/webpack.js" - }, - "engines": { - "node": ">=6.11.5" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/webpack-dev-middleware": { - "version": "3.7.3", - "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-3.7.3.tgz", - "integrity": "sha512-djelc/zGiz9nZj/U7PTBi2ViorGJXEWo/3ltkPbDyxCXhhEXkW0ce99falaok4TPj+AsxLiXJR0EBOb0zh9fKQ==", - "dev": true, - "dependencies": { - "memory-fs": "^0.4.1", - "mime": "^2.4.4", - "mkdirp": "^0.5.1", - "range-parser": "^1.2.1", - "webpack-log": "^2.0.0" - }, - "engines": { - "node": ">= 6" - }, - "peerDependencies": { - "webpack": "^4.0.0 || ^5.0.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/webpack-sources": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.3.tgz", - "integrity": "sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==", - "dev": true, - "dependencies": { - "source-list-map": "^2.0.0", - "source-map": "~0.6.1" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/webpack-virtual-modules": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/webpack-virtual-modules/-/webpack-virtual-modules-0.2.2.tgz", - "integrity": "sha512-kDUmfm3BZrei0y+1NTHJInejzxfhtU8eDj2M7OKb2IWrPFAeO1SOH2KuQ68MSZu9IGEHcxbkKKR1v18FrUSOmA==", - "dev": true, - "dependencies": { - "debug": "^3.0.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/webpack/node_modules/cacache": { - "version": "12.0.4", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-12.0.4.tgz", - "integrity": "sha512-a0tMB40oefvuInr4Cwb3GerbL9xTj1D5yg0T5xrjGCGyfvbxseIXX7BAO/u/hIXdafzOI5JC3wDwHyf24buOAQ==", - "dev": true, - "dependencies": { - "bluebird": "^3.5.5", - "chownr": "^1.1.1", - "figgy-pudding": "^3.5.1", - "glob": "^7.1.4", - "graceful-fs": "^4.1.15", - "infer-owner": "^1.0.3", - "lru-cache": "^5.1.1", - "mississippi": "^3.0.0", - "mkdirp": "^0.5.1", - "move-concurrently": "^1.0.1", - "promise-inflight": "^1.0.1", - "rimraf": "^2.6.3", - "ssri": "^6.0.1", - "unique-filename": "^1.1.1", - "y18n": "^4.0.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/webpack/node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - }, - "node_modules/@storybook/manager-webpack4/node_modules/webpack/node_modules/find-cache-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", - "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", - "dev": true, - "dependencies": { - "commondir": "^1.0.1", - "make-dir": "^2.0.0", - "pkg-dir": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/webpack/node_modules/loader-utils": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", - "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", - "dev": true, - "dependencies": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^1.0.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/webpack/node_modules/schema-utils": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz", - "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==", - "dev": true, - "dependencies": { - "ajv": "^6.1.0", - "ajv-errors": "^1.0.0", - "ajv-keywords": "^3.1.0" - }, - "engines": { - "node": ">= 4" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/webpack/node_modules/serialize-javascript": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", - "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", - "dev": true, - "dependencies": { - "randombytes": "^2.1.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/webpack/node_modules/terser": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.0.tgz", - "integrity": "sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==", - "dev": true, - "dependencies": { - "commander": "^2.20.0", - "source-map": "~0.6.1", - "source-map-support": "~0.5.12" - }, - "bin": { - "terser": "bin/terser" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@storybook/manager-webpack4/node_modules/webpack/node_modules/terser-webpack-plugin": { - "version": "1.4.5", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.4.5.tgz", - "integrity": "sha512-04Rfe496lN8EYruwi6oPQkG0vo8C+HT49X687FZnpPF0qMAIHONI6HEXYPKDOE8e5HjXTyKfqRd/agHtH0kOtw==", - "dev": true, - "dependencies": { - "cacache": "^12.0.2", - "find-cache-dir": "^2.1.0", - "is-wsl": "^1.1.0", - "schema-utils": "^1.0.0", - "serialize-javascript": "^4.0.0", - "source-map": "^0.6.1", - "terser": "^4.1.2", - "webpack-sources": "^1.4.0", - "worker-farm": "^1.7.0" - }, - "engines": { - "node": ">= 6.9.0" - }, - "peerDependencies": { - "webpack": "^4.0.0" - } - }, - "node_modules/@storybook/manager-webpack5": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/manager-webpack5/-/manager-webpack5-6.5.3.tgz", - "integrity": "sha512-AJpx2cpiBXt6lVHxe2ZaBWTXqq8/GNXfFKXuBRTvLM0ZqiY3HcohUmgpWs56OC2JUwunbZiS0nvxA3dzQmuBZg==", - "dev": true, - "dependencies": { - "@babel/core": "^7.12.10", - "@babel/plugin-transform-template-literals": "^7.12.1", - "@babel/preset-react": "^7.12.10", - "@storybook/addons": "6.5.3", - "@storybook/core-client": "6.5.3", - "@storybook/core-common": "6.5.3", - "@storybook/node-logger": "6.5.3", - "@storybook/theming": "6.5.3", - "@storybook/ui": "6.5.3", - "@types/node": "^14.0.10 || ^16.0.0", - "babel-loader": "^8.0.0", - "case-sensitive-paths-webpack-plugin": "^2.3.0", - "chalk": "^4.1.0", - "core-js": "^3.8.2", - "css-loader": "^5.0.1", - "express": "^4.17.1", - "find-up": "^5.0.0", - "fs-extra": "^9.0.1", - "html-webpack-plugin": "^5.0.0", - "node-fetch": "^2.6.7", - "process": "^0.11.10", - "read-pkg-up": "^7.0.1", - "regenerator-runtime": "^0.13.7", - "resolve-from": "^5.0.0", - "style-loader": "^2.0.0", - "telejson": "^6.0.8", - "terser-webpack-plugin": "^5.0.3", - "ts-dedent": "^2.0.0", - "util-deprecate": "^1.0.2", - "webpack": "^5.9.0", - "webpack-dev-middleware": "^4.1.0", - "webpack-virtual-modules": "^0.4.1" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@storybook/manager-webpack5/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/@storybook/mdx1-csf": { - "version": "0.0.1-canary.1.867dcd5.0", - "resolved": "https://registry.npmjs.org/@storybook/mdx1-csf/-/mdx1-csf-0.0.1-canary.1.867dcd5.0.tgz", - "integrity": "sha512-VnlE825M9SpjyJCPLCXbo+RbvqllsqXqRDCouzHKSpCE3Q79KR7MMURBsJo/vrTG1zeNG68Z4TZrLAu6IoyYaA==", - "dev": true, - "dependencies": { - "@babel/generator": "^7.12.11", - "@babel/parser": "^7.12.11", - "@babel/preset-env": "^7.12.11", - "@babel/types": "^7.12.11", - "@mdx-js/mdx": "^1.6.22", - "@types/lodash": "^4.14.167", - "js-string-escape": "^1.0.1", - "loader-utils": "^2.0.0", - "lodash": "^4.17.21", - "prettier": ">=2.2.1 <=2.3.0", - "ts-dedent": "^2.0.0" - } - }, - "node_modules/@storybook/node-logger": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/node-logger/-/node-logger-6.5.3.tgz", - "integrity": "sha512-iG4uQJCtuT54p3zg0zJ7+ALPUrt7PTAXmXqN7ak/9YcWbnwtMlHgg8oTlCebwr+E3QPCMauJM2eLzC6F7bI76w==", - "dev": true, - "dependencies": { - "@types/npmlog": "^4.1.2", - "chalk": "^4.1.0", - "core-js": "^3.8.2", - "npmlog": "^5.0.1", - "pretty-hrtime": "^1.0.3" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - } - }, - "node_modules/@storybook/node-logger/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/@storybook/preview-web": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/preview-web/-/preview-web-6.5.3.tgz", - "integrity": "sha512-NI+sKFloj0vP1xAMaF1BhOAokB2u0qZ5rxx8lnU8eBmAukRURGoebuHWohBoQqniuupaNQK5hkUlJ3mkAPZi8Q==", - "dev": true, - "dependencies": { - "@storybook/addons": "6.5.3", - "@storybook/channel-postmessage": "6.5.3", - "@storybook/client-logger": "6.5.3", - "@storybook/core-events": "6.5.3", - "@storybook/csf": "0.0.2--canary.4566f4d.1", - "@storybook/store": "6.5.3", - "ansi-to-html": "^0.6.11", - "core-js": "^3.8.2", - "global": "^4.4.0", - "lodash": "^4.17.21", - "qs": "^6.10.0", - "regenerator-runtime": "^0.13.7", - "synchronous-promise": "^2.0.15", - "ts-dedent": "^2.0.0", - "unfetch": "^4.2.0", - "util-deprecate": "^1.0.2" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" - } - }, - "node_modules/@storybook/react": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/react/-/react-6.5.3.tgz", - "integrity": "sha512-RP9ak2EIrq9sJ80JjaVV/Xab9O663PA/DRqfbILewRLi9uUaG6L/Qby7LktwzqwaybeKbP6dTG0w937cRkuj4w==", - "dev": true, - "dependencies": { - "@babel/preset-flow": "^7.12.1", - "@babel/preset-react": "^7.12.10", - "@pmmmwh/react-refresh-webpack-plugin": "^0.5.3", - "@storybook/addons": "6.5.3", - "@storybook/client-logger": "6.5.3", - "@storybook/core": "6.5.3", - "@storybook/core-common": "6.5.3", - "@storybook/csf": "0.0.2--canary.4566f4d.1", - "@storybook/docs-tools": "6.5.3", - "@storybook/node-logger": "6.5.3", - "@storybook/react-docgen-typescript-plugin": "1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0", - "@storybook/semver": "^7.3.2", - "@storybook/store": "6.5.3", - "@types/estree": "^0.0.51", - "@types/node": "^14.14.20 || ^16.0.0", - "@types/webpack-env": "^1.16.0", - "acorn": "^7.4.1", - "acorn-jsx": "^5.3.1", - "acorn-walk": "^7.2.0", - "babel-plugin-add-react-displayname": "^0.0.5", - "babel-plugin-react-docgen": "^4.2.1", - "core-js": "^3.8.2", - "escodegen": "^2.0.0", - "fs-extra": "^9.0.1", - "global": "^4.4.0", - "html-tags": "^3.1.0", - "lodash": "^4.17.21", - "prop-types": "^15.7.2", - "react-element-to-jsx-string": "^14.3.4", - "react-refresh": "^0.11.0", - "read-pkg-up": "^7.0.1", - "regenerator-runtime": "^0.13.7", - "ts-dedent": "^2.0.0", - "util-deprecate": "^1.0.2", - "webpack": ">=4.43.0 <6.0.0" - }, - "bin": { - "build-storybook": "bin/build.js", - "start-storybook": "bin/index.js", - "storybook-server": "bin/index.js" - }, - "engines": { - "node": ">=10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "peerDependencies": { - "@babel/core": "^7.11.5", - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0", - "require-from-string": "^2.0.2" - }, - "peerDependenciesMeta": { - "@babel/core": { - "optional": true - }, - "@storybook/builder-webpack4": { - "optional": true - }, - "@storybook/builder-webpack5": { - "optional": true - }, - "@storybook/manager-webpack4": { - "optional": true - }, - "@storybook/manager-webpack5": { - "optional": true - }, - "typescript": { - "optional": true - } - } - }, - "node_modules/@storybook/react-docgen-typescript-plugin": { - "version": "1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0", - "resolved": "https://registry.npmjs.org/@storybook/react-docgen-typescript-plugin/-/react-docgen-typescript-plugin-1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0.tgz", - "integrity": "sha512-eVg3BxlOm2P+chijHBTByr90IZVUtgRW56qEOLX7xlww2NBuKrcavBlcmn+HH7GIUktquWkMPtvy6e0W0NgA5w==", - "dev": true, - "dependencies": { - "debug": "^4.1.1", - "endent": "^2.0.1", - "find-cache-dir": "^3.3.1", - "flat-cache": "^3.0.4", - "micromatch": "^4.0.2", - "react-docgen-typescript": "^2.1.1", - "tslib": "^2.0.0" - }, - "peerDependencies": { - "typescript": ">= 3.x", - "webpack": ">= 4" - } - }, - "node_modules/@storybook/react-docgen-typescript-plugin/node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/@storybook/react-docgen-typescript-plugin/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "node_modules/@storybook/react/node_modules/is-plain-object": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", - "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/react/node_modules/react-element-to-jsx-string": { - "version": "14.3.4", - "resolved": "https://registry.npmjs.org/react-element-to-jsx-string/-/react-element-to-jsx-string-14.3.4.tgz", - "integrity": "sha512-t4ZwvV6vwNxzujDQ+37bspnLwA4JlgUPWhLjBJWsNIDceAf6ZKUTCjdm08cN6WeZ5pTMKiCJkmAYnpmR4Bm+dg==", - "dev": true, - "dependencies": { - "@base2/pretty-print-object": "1.0.1", - "is-plain-object": "5.0.0", - "react-is": "17.0.2" - }, - "peerDependencies": { - "react": "^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1", - "react-dom": "^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1" - } - }, - "node_modules/@storybook/react/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, - "node_modules/@storybook/react/node_modules/react-refresh": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.11.0.tgz", - "integrity": "sha512-F27qZr8uUqwhWZboondsPx8tnC3Ct3SxZA3V5WyEvujRyyNv0VYPhoBg1gZ8/MV5tubQp76Trw8lTv9hzRBa+A==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@storybook/router": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/router/-/router-6.5.3.tgz", - "integrity": "sha512-UcErvdeuCTMYvmztDogrTK1DKQ8ZFkUR/46bEuVo4tg9OzlX3fr+JqD4RZHT4YOUYmDcTm6cLlUJhDalUpoU6Q==", - "dev": true, - "dependencies": { - "@storybook/client-logger": "6.5.3", - "core-js": "^3.8.2", - "regenerator-runtime": "^0.13.7" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" - } - }, - "node_modules/@storybook/semver": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/@storybook/semver/-/semver-7.3.2.tgz", - "integrity": "sha512-SWeszlsiPsMI0Ps0jVNtH64cI5c0UF3f7KgjVKJoNP30crQ6wUSddY2hsdeczZXEKVJGEn50Q60flcGsQGIcrg==", - "dev": true, - "dependencies": { - "core-js": "^3.6.5", - "find-up": "^4.1.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@storybook/semver/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@storybook/semver/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@storybook/semver/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@storybook/store": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/store/-/store-6.5.3.tgz", - "integrity": "sha512-vI5w3OlDsCQE32C5AekRfHI6qX7s7iKRAUJKQE4Azqch37EAnMNLWE3E13KAzdLX1oU+JNRGHjJTogsQUR2UeQ==", - "dev": true, - "dependencies": { - "@storybook/addons": "6.5.3", - "@storybook/client-logger": "6.5.3", - "@storybook/core-events": "6.5.3", - "@storybook/csf": "0.0.2--canary.4566f4d.1", - "core-js": "^3.8.2", - "fast-deep-equal": "^3.1.3", - "global": "^4.4.0", - "lodash": "^4.17.21", - "memoizerific": "^1.11.3", - "regenerator-runtime": "^0.13.7", - "slash": "^3.0.0", - "stable": "^0.1.8", - "synchronous-promise": "^2.0.15", - "ts-dedent": "^2.0.0", - "util-deprecate": "^1.0.2" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" - } - }, - "node_modules/@storybook/telemetry": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/telemetry/-/telemetry-6.5.3.tgz", - "integrity": "sha512-eXhQ+kRWdg+ZX3sglRaCoOzpzgQ/p9wKS4/vEJd5Fq+JlKIuZkJ7xiJYaxlhR55PLpJGbj+5HCTlnepAtf7Nnw==", - "dev": true, - "dependencies": { - "@storybook/client-logger": "6.5.3", - "@storybook/core-common": "6.5.3", - "chalk": "^4.1.0", - "core-js": "^3.8.2", - "detect-package-manager": "^2.0.1", - "fetch-retry": "^5.0.2", - "fs-extra": "^9.0.1", - "global": "^4.4.0", - "isomorphic-unfetch": "^3.1.0", - "nanoid": "^3.3.1", - "read-pkg-up": "^7.0.1", - "regenerator-runtime": "^0.13.7" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - } - }, - "node_modules/@storybook/telemetry/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/@storybook/theming": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/theming/-/theming-6.5.3.tgz", - "integrity": "sha512-2tM46jahAhKRUzCcoaqPoqs+4imXqbze0dCPZ0cdVnfs14jhMB1lAfGE+diodCCaUcXUu8r2c5dTPKqqM1lHqQ==", - "dev": true, - "dependencies": { - "@storybook/client-logger": "6.5.3", - "core-js": "^3.8.2", - "regenerator-runtime": "^0.13.7" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" - } - }, - "node_modules/@storybook/ui": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/ui/-/ui-6.5.3.tgz", - "integrity": "sha512-TLJBfXHFM0ilMuUjer4AjhnNGvQ7lI4GYIKzuCjCrw/ukfUb1AABXd9fdHq7tEzVm8z7T3pyrRVsb1VVdbxL0A==", - "dev": true, - "dependencies": { - "@storybook/addons": "6.5.3", - "@storybook/api": "6.5.3", - "@storybook/channels": "6.5.3", - "@storybook/client-logger": "6.5.3", - "@storybook/components": "6.5.3", - "@storybook/core-events": "6.5.3", - "@storybook/router": "6.5.3", - "@storybook/semver": "^7.3.2", - "@storybook/theming": "6.5.3", - "core-js": "^3.8.2", - "regenerator-runtime": "^0.13.7", - "resolve-from": "^5.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" - } - }, - "node_modules/@testing-library/dom": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-8.13.0.tgz", - "integrity": "sha512-9VHgfIatKNXQNaZTtLnalIy0jNZzY35a4S3oi08YAt9Hv1VsfZ/DfA45lM8D/UhtHBGJ4/lGwp0PZkVndRkoOQ==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.10.4", - "@babel/runtime": "^7.12.5", - "@types/aria-query": "^4.2.0", - "aria-query": "^5.0.0", - "chalk": "^4.1.0", - "dom-accessibility-api": "^0.5.9", - "lz-string": "^1.4.4", - "pretty-format": "^27.0.2" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@testing-library/dom/node_modules/chalk": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", - "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/@testing-library/react": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-13.2.0.tgz", - "integrity": "sha512-Bprbz/SZVONCJy5f7hcihNCv313IJXdYiv0nSJklIs1SQCIHHNlnGNkosSXnGZTmesyGIcBGNppYhXcc11pb7g==", - "dev": true, - "dependencies": { - "@babel/runtime": "^7.12.5", - "@testing-library/dom": "^8.5.0", - "@types/react-dom": "^18.0.0" - }, - "engines": { - "node": ">=12" - }, - "peerDependencies": { - "react": "^18.0.0", - "react-dom": "^18.0.0" - } - }, - "node_modules/@testing-library/user-event": { - "version": "14.2.0", - "resolved": "https://registry.npmjs.org/@testing-library/user-event/-/user-event-14.2.0.tgz", - "integrity": "sha512-+hIlG4nJS6ivZrKnOP7OGsDu9Fxmryj9vCl8x0ZINtTJcCHs2zLsYif5GzuRiBF2ck5GZG2aQr7Msg+EHlnYVQ==", - "dev": true, - "engines": { - "node": ">=12", - "npm": ">=6" - }, - "peerDependencies": { - "@testing-library/dom": ">=7.21.4" - } - }, - "node_modules/@tootallnate/once": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", - "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", - "dev": true, - "engines": { - "node": ">= 10" - } - }, - "node_modules/@types/anymatch": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@types/anymatch/-/anymatch-3.0.0.tgz", - "integrity": "sha512-qLChUo6yhpQ9k905NwL74GU7TxH+9UODwwQ6ICNI+O6EDMExqH/Cv9NsbmcZ7yC/rRXJ/AHCzfgjsFRY5fKjYw==", - "dev": true, - "license": "MIT", - "dependencies": { - "anymatch": "*" - } - }, - "node_modules/@types/aria-query": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-4.2.1.tgz", - "integrity": "sha512-S6oPal772qJZHoRZLFc/XoZW2gFvwXusYUmXPXkgxJLuEk2vOt7jc4Yo6z/vtI0EBkbPBVrJJ0B+prLIKiWqHg==", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/body-parser": { - "version": "1.19.2", - "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz", - "integrity": "sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==", - "dev": true, - "dependencies": { - "@types/connect": "*", - "@types/node": "*" - } - }, - "node_modules/@types/bonjour": { - "version": "3.5.10", - "resolved": "https://registry.npmjs.org/@types/bonjour/-/bonjour-3.5.10.tgz", - "integrity": "sha512-p7ienRMiS41Nu2/igbJxxLDWrSZ0WxM8UQgCeO9KhoVF7cOVFkrKsiDr1EsJIla8vV3oEEjGcz11jc5yimhzZw==", - "dev": true, - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/connect": { - "version": "3.4.35", - "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz", - "integrity": "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==", - "dev": true, - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/connect-history-api-fallback": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.3.5.tgz", - "integrity": "sha512-h8QJa8xSb1WD4fpKBDcATDNGXghFj6/3GRWG6dhmRcu0RX1Ubasur2Uvx5aeEwlf0MwblEC2bMzzMQntxnw/Cw==", - "dev": true, - "dependencies": { - "@types/express-serve-static-core": "*", - "@types/node": "*" - } - }, - "node_modules/@types/eslint": { - "version": "8.4.2", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.2.tgz", - "integrity": "sha512-Z1nseZON+GEnFjJc04sv4NSALGjhFwy6K0HXt7qsn5ArfAKtb63dXNJHf+1YW6IpOIYRBGUbu3GwJdj8DGnCjA==", - "dev": true, - "dependencies": { - "@types/estree": "*", - "@types/json-schema": "*" - } - }, - "node_modules/@types/eslint-scope": { - "version": "3.7.3", - "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.3.tgz", - "integrity": "sha512-PB3ldyrcnAicT35TWPs5IcwKD8S333HMaa2VVv4+wdvebJkjWuW/xESoB8IwRcog8HYVYamb1g/R31Qv5Bx03g==", - "dev": true, - "dependencies": { - "@types/eslint": "*", - "@types/estree": "*" - } - }, - "node_modules/@types/estree": { - "version": "0.0.51", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.51.tgz", - "integrity": "sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==", - "dev": true - }, - "node_modules/@types/express": { - "version": "4.17.13", - "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.13.tgz", - "integrity": "sha512-6bSZTPaTIACxn48l50SR+axgrqm6qXFIxrdAKaG6PaJk3+zuUr35hBlgT7vOmJcum+OEaIBLtHV/qloEAFITeA==", - "dev": true, - "dependencies": { - "@types/body-parser": "*", - "@types/express-serve-static-core": "^4.17.18", - "@types/qs": "*", - "@types/serve-static": "*" - } - }, - "node_modules/@types/express-serve-static-core": { - "version": "4.17.28", - "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.28.tgz", - "integrity": "sha512-P1BJAEAW3E2DJUlkgq4tOL3RyMunoWXqbSCygWo5ZIWTjUgN1YnaXWW4VWl/oc8vs/XoYibEGBKP0uZyF4AHig==", - "dev": true, - "dependencies": { - "@types/node": "*", - "@types/qs": "*", - "@types/range-parser": "*" - } - }, - "node_modules/@types/glob": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz", - "integrity": "sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/minimatch": "*", - "@types/node": "*" - } - }, - "node_modules/@types/hast": { - "version": "2.3.4", - "resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.4.tgz", - "integrity": "sha512-wLEm0QvaoawEDoTRwzTXp4b4jpwiJDvR5KMnFnVodm3scufTlBOWRD6N1OBf9TZMhjlNsSfcO5V+7AF4+Vy+9g==", - "dependencies": { - "@types/unist": "*" - } - }, - "node_modules/@types/html-minifier-terser": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/@types/html-minifier-terser/-/html-minifier-terser-6.1.0.tgz", - "integrity": "sha512-oh/6byDPnL1zeNXFrDXFLyZjkr1MsBG667IM792caf1L2UPOOMf65NFzjUH/ltyfwjAGfs1rsX1eftK0jC/KIg==", - "dev": true - }, - "node_modules/@types/http-proxy": { - "version": "1.17.9", - "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.9.tgz", - "integrity": "sha512-QsbSjA/fSk7xB+UXlCT3wHBy5ai9wOcNDWwZAtud+jXhwOM3l+EYZh8Lng4+/6n8uar0J7xILzqftJdJ/Wdfkw==", - "dev": true, - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/is-function": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@types/is-function/-/is-function-1.0.1.tgz", - "integrity": "sha512-A79HEEiwXTFtfY+Bcbo58M2GRYzCr9itHWzbzHVFNEYCcoU/MMGwYYf721gBrnhpj1s6RGVVha/IgNFnR0Iw/Q==", - "dev": true - }, - "node_modules/@types/istanbul-lib-coverage": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.3.tgz", - "integrity": "sha512-sz7iLqvVUg1gIedBOvlkxPlc8/uVzyS5OwGz1cKjXzkl3FpL3al0crU8YGU1WoHkxn0Wxbw5tyi6hvzJKNzFsw==", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/json-schema": { - "version": "7.0.11", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", - "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==", - "dev": true - }, - "node_modules/@types/lodash": { - "version": "4.14.182", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.182.tgz", - "integrity": "sha512-/THyiqyQAP9AfARo4pF+aCGcyiQ94tX/Is2I7HofNRqoYLgN1PBoOWu2/zTA5zMxzP5EFutMtWtGAFRKUe961Q==", - "dev": true - }, - "node_modules/@types/mdast": { - "version": "3.0.10", - "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-3.0.10.tgz", - "integrity": "sha512-W864tg/Osz1+9f4lrGTZpCSO5/z4608eUp19tbozkq2HJK6i3z1kT0H9tlADXuYIb1YYOBByU4Jsqkk75q48qA==", - "dev": true, - "dependencies": { - "@types/unist": "*" - } - }, - "node_modules/@types/mime": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz", - "integrity": "sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw==", - "dev": true - }, - "node_modules/@types/minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-1z8k4wzFnNjVK/tlxvrWuK5WMt6mydWWP7+zvH5eFep4oj+UkrfiJTRtjCeBXNpwaA/FYqqtb4/QS4ianFpIRA==", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/node": { - "version": "16.11.36", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.36.tgz", - "integrity": "sha512-FR5QJe+TaoZ2GsMHkjuwoNabr+UrJNRr2HNOo+r/7vhcuntM6Ee/pRPOnRhhL2XE9OOvX9VLEq+BcXl3VjNoWA==", - "dev": true - }, - "node_modules/@types/node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-oMqjURCaxoSIsHSr1E47QHzbmzNR5rK8McHuNb11BOM9cHcIK3Avy0s/b2JlXHoQGTYS3NsvWzV1M0iK7l0wbA==", - "dev": true, - "dependencies": { - "@types/node": "*", - "form-data": "^3.0.0" - } - }, - "node_modules/@types/normalize-package-data": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", - "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==", - "dev": true - }, - "node_modules/@types/npmlog": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@types/npmlog/-/npmlog-4.1.4.tgz", - "integrity": "sha512-WKG4gTr8przEZBiJ5r3s8ZIAoMXNbOgQ+j/d5O4X3x6kZJRLNvyUJuUK/KoG3+8BaOHPhp2m7WC6JKKeovDSzQ==", - "dev": true - }, - "node_modules/@types/parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==" - }, - "node_modules/@types/parse5": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@types/parse5/-/parse5-5.0.3.tgz", - "integrity": "sha512-kUNnecmtkunAoQ3CnjmMkzNU/gtxG8guhi+Fk2U/kOpIKjIMKnXGp4IJCgQJrXSgMsWYimYG4TGjz/UzbGEBTw==", - "dev": true - }, - "node_modules/@types/pretty-hrtime": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@types/pretty-hrtime/-/pretty-hrtime-1.0.1.tgz", - "integrity": "sha512-VjID5MJb1eGKthz2qUerWT8+R4b9N+CHvGCzg9fn4kWZgaF9AhdYikQio3R7wV8YY1NsQKPaCwKz1Yff+aHNUQ==", - "dev": true - }, - "node_modules/@types/prop-types": { - "version": "15.7.5", - "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz", - "integrity": "sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==", - "dev": true - }, - "node_modules/@types/qs": { - "version": "6.9.7", - "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", - "integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==", - "dev": true - }, - "node_modules/@types/range-parser": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz", - "integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==", - "dev": true - }, - "node_modules/@types/react": { - "version": "18.0.9", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.0.9.tgz", - "integrity": "sha512-9bjbg1hJHUm4De19L1cHiW0Jvx3geel6Qczhjd0qY5VKVE2X5+x77YxAepuCwVh4vrgZJdgEJw48zrhRIeF4Nw==", - "dev": true, - "dependencies": { - "@types/prop-types": "*", - "@types/scheduler": "*", - "csstype": "^3.0.2" - } - }, - "node_modules/@types/react-dom": { - "version": "18.0.4", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.0.4.tgz", - "integrity": "sha512-FgTtbqPOCI3dzZPZoC2T/sx3L34qxy99ITWn4eoSA95qPyXDMH0ALoAqUp49ITniiJFsXUVBtalh/KffMpg21Q==", - "dev": true, - "dependencies": { - "@types/react": "*" - } - }, - "node_modules/@types/react-syntax-highlighter": { - "version": "11.0.5", - "resolved": "https://registry.npmjs.org/@types/react-syntax-highlighter/-/react-syntax-highlighter-11.0.5.tgz", - "integrity": "sha512-VIOi9i2Oj5XsmWWoB72p3KlZoEbdRAcechJa8Ztebw7bDl2YmR+odxIqhtJGp1q2EozHs02US+gzxJ9nuf56qg==", - "dev": true, - "dependencies": { - "@types/react": "*" - } - }, - "node_modules/@types/retry": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.0.tgz", - "integrity": "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==", - "dev": true - }, - "node_modules/@types/scheduler": { - "version": "0.16.2", - "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.2.tgz", - "integrity": "sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==", - "dev": true - }, - "node_modules/@types/serve-index": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/@types/serve-index/-/serve-index-1.9.1.tgz", - "integrity": "sha512-d/Hs3nWDxNL2xAczmOVZNj92YZCS6RGxfBPjKzuu/XirCgXdpKEb88dYNbrYGint6IVWLNP+yonwVAuRC0T2Dg==", - "dev": true, - "dependencies": { - "@types/express": "*" - } - }, - "node_modules/@types/serve-static": { - "version": "1.13.10", - "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.10.tgz", - "integrity": "sha512-nCkHGI4w7ZgAdNkrEu0bv+4xNV/XDqW+DydknebMOQwkpDGx8G+HTlj7R7ABI8i8nKxVw0wtKPi1D+lPOkh4YQ==", - "dev": true, - "dependencies": { - "@types/mime": "^1", - "@types/node": "*" - } - }, - "node_modules/@types/sockjs": { - "version": "0.3.33", - "resolved": "https://registry.npmjs.org/@types/sockjs/-/sockjs-0.3.33.tgz", - "integrity": "sha512-f0KEEe05NvUnat+boPTZ0dgaLZ4SfSouXUgv5noUiefG2ajgKjmETo9ZJyuqsl7dfl2aHlLJUiki6B4ZYldiiw==", - "dev": true, - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/source-list-map": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/@types/source-list-map/-/source-list-map-0.1.2.tgz", - "integrity": "sha512-K5K+yml8LTo9bWJI/rECfIPrGgxdpeNbj+d53lwN4QjW1MCwlkhUms+gtdzigTeUyBr09+u8BwOIY3MXvHdcsA==", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/tapable": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/@types/tapable/-/tapable-1.0.7.tgz", - "integrity": "sha512-0VBprVqfgFD7Ehb2vd8Lh9TG3jP98gvr8rgehQqzztZNI7o8zS8Ad4jyZneKELphpuE212D8J70LnSNQSyO6bQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/uglify-js": { - "version": "3.13.0", - "resolved": "https://registry.npmjs.org/@types/uglify-js/-/uglify-js-3.13.0.tgz", - "integrity": "sha512-EGkrJD5Uy+Pg0NUR8uA4bJ5WMfljyad0G+784vLCNUkD+QwOJXUbBYExXfVGf7YtyzdQp3L/XMYcliB987kL5Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "source-map": "^0.6.1" - } - }, - "node_modules/@types/uglify-js/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@types/unist": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.6.tgz", - "integrity": "sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==" - }, - "node_modules/@types/webpack": { - "version": "4.41.28", - "resolved": "https://registry.npmjs.org/@types/webpack/-/webpack-4.41.28.tgz", - "integrity": "sha512-Nn84RAiJjKRfPFFCVR8LC4ueTtTdfWAMZ03THIzZWRJB+rX24BD3LqPSFnbMscWauEsT4segAsylPDIaZyZyLQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/anymatch": "*", - "@types/node": "*", - "@types/tapable": "^1", - "@types/uglify-js": "*", - "@types/webpack-sources": "*", - "source-map": "^0.6.0" - } - }, - "node_modules/@types/webpack-env": { - "version": "1.16.2", - "resolved": "https://registry.npmjs.org/@types/webpack-env/-/webpack-env-1.16.2.tgz", - "integrity": "sha512-vKx7WNQNZDyJveYcHAm9ZxhqSGLYwoyLhrHjLBOkw3a7cT76sTdjgtwyijhk1MaHyRIuSztcVwrUOO/NEu68Dw==", - "dev": true - }, - "node_modules/@types/webpack-sources": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@types/webpack-sources/-/webpack-sources-2.1.0.tgz", - "integrity": "sha512-LXn/oYIpBeucgP1EIJbKQ2/4ZmpvRl+dlrFdX7+94SKRUV3Evy3FsfMZY318vGhkWUS5MPhtOM3w1/hCOAOXcg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/node": "*", - "@types/source-list-map": "*", - "source-map": "^0.7.3" - } - }, - "node_modules/@types/webpack-sources/node_modules/source-map": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", - "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">= 8" - } - }, - "node_modules/@types/webpack/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@types/ws": { - "version": "8.5.3", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.3.tgz", - "integrity": "sha512-6YOoWjruKj1uLf3INHH7D3qTXwFfEsg1kf3c0uDdSBJwfa/llkwIjrAGV7j7mVgGNbzTQ3HiHKKDXl6bJPD97w==", - "dev": true, - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@webassemblyjs/ast": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", - "integrity": "sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==", - "dev": true, - "dependencies": { - "@webassemblyjs/helper-numbers": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1" - } - }, - "node_modules/@webassemblyjs/floating-point-hex-parser": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz", - "integrity": "sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ==", - "dev": true - }, - "node_modules/@webassemblyjs/helper-api-error": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz", - "integrity": "sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg==", - "dev": true - }, - "node_modules/@webassemblyjs/helper-buffer": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz", - "integrity": "sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA==", - "dev": true - }, - "node_modules/@webassemblyjs/helper-code-frame": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.9.0.tgz", - "integrity": "sha512-ERCYdJBkD9Vu4vtjUYe8LZruWuNIToYq/ME22igL+2vj2dQ2OOujIZr3MEFvfEaqKoVqpsFKAGsRdBSBjrIvZA==", - "dev": true, - "dependencies": { - "@webassemblyjs/wast-printer": "1.9.0" - } - }, - "node_modules/@webassemblyjs/helper-code-frame/node_modules/@webassemblyjs/ast": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.9.0.tgz", - "integrity": "sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA==", - "dev": true, - "dependencies": { - "@webassemblyjs/helper-module-context": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/wast-parser": "1.9.0" - } - }, - "node_modules/@webassemblyjs/helper-code-frame/node_modules/@webassemblyjs/helper-wasm-bytecode": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz", - "integrity": "sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw==", - "dev": true - }, - "node_modules/@webassemblyjs/helper-code-frame/node_modules/@webassemblyjs/wast-printer": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.9.0.tgz", - "integrity": "sha512-2J0nE95rHXHyQ24cWjMKJ1tqB/ds8z/cyeOZxJhcb+rW+SQASVjuznUSmdz5GpVJTzU8JkhYut0D3siFDD6wsA==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/wast-parser": "1.9.0", - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@webassemblyjs/helper-fsm": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.9.0.tgz", - "integrity": "sha512-OPRowhGbshCb5PxJ8LocpdX9Kl0uB4XsAjl6jH/dWKlk/mzsANvhwbiULsaiqT5GZGT9qinTICdj6PLuM5gslw==", - "dev": true - }, - "node_modules/@webassemblyjs/helper-module-context": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.9.0.tgz", - "integrity": "sha512-MJCW8iGC08tMk2enck1aPW+BE5Cw8/7ph/VGZxwyvGbJwjktKkDK7vy7gAmMDx88D7mhDTCNKAW5tED+gZ0W8g==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0" - } - }, - "node_modules/@webassemblyjs/helper-module-context/node_modules/@webassemblyjs/ast": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.9.0.tgz", - "integrity": "sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA==", - "dev": true, - "dependencies": { - "@webassemblyjs/helper-module-context": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/wast-parser": "1.9.0" - } - }, - "node_modules/@webassemblyjs/helper-module-context/node_modules/@webassemblyjs/helper-wasm-bytecode": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz", - "integrity": "sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw==", - "dev": true - }, - "node_modules/@webassemblyjs/helper-numbers": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz", - "integrity": "sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ==", - "dev": true, - "dependencies": { - "@webassemblyjs/floating-point-hex-parser": "1.11.1", - "@webassemblyjs/helper-api-error": "1.11.1", - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@webassemblyjs/helper-wasm-bytecode": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz", - "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q==", - "dev": true - }, - "node_modules/@webassemblyjs/helper-wasm-section": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz", - "integrity": "sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1" - } - }, - "node_modules/@webassemblyjs/ieee754": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz", - "integrity": "sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ==", - "dev": true, - "dependencies": { - "@xtuc/ieee754": "^1.2.0" - } - }, - "node_modules/@webassemblyjs/leb128": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.1.tgz", - "integrity": "sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw==", - "dev": true, - "dependencies": { - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@webassemblyjs/utf8": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.1.tgz", - "integrity": "sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ==", - "dev": true - }, - "node_modules/@webassemblyjs/wasm-edit": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz", - "integrity": "sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/helper-wasm-section": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1", - "@webassemblyjs/wasm-opt": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1", - "@webassemblyjs/wast-printer": "1.11.1" - } - }, - "node_modules/@webassemblyjs/wasm-gen": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz", - "integrity": "sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/ieee754": "1.11.1", - "@webassemblyjs/leb128": "1.11.1", - "@webassemblyjs/utf8": "1.11.1" - } - }, - "node_modules/@webassemblyjs/wasm-opt": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz", - "integrity": "sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1" - } - }, - "node_modules/@webassemblyjs/wasm-parser": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz", - "integrity": "sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-api-error": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/ieee754": "1.11.1", - "@webassemblyjs/leb128": "1.11.1", - "@webassemblyjs/utf8": "1.11.1" - } - }, - "node_modules/@webassemblyjs/wast-parser": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.9.0.tgz", - "integrity": "sha512-qsqSAP3QQ3LyZjNC/0jBJ/ToSxfYJ8kYyuiGvtn/8MK89VrNEfwj7BPQzJVHi0jGTRK2dGdJ5PRqhtjzoww+bw==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/floating-point-hex-parser": "1.9.0", - "@webassemblyjs/helper-api-error": "1.9.0", - "@webassemblyjs/helper-code-frame": "1.9.0", - "@webassemblyjs/helper-fsm": "1.9.0", - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@webassemblyjs/wast-parser/node_modules/@webassemblyjs/ast": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.9.0.tgz", - "integrity": "sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA==", - "dev": true, - "dependencies": { - "@webassemblyjs/helper-module-context": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/wast-parser": "1.9.0" - } - }, - "node_modules/@webassemblyjs/wast-parser/node_modules/@webassemblyjs/floating-point-hex-parser": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.9.0.tgz", - "integrity": "sha512-TG5qcFsS8QB4g4MhrxK5TqfdNe7Ey/7YL/xN+36rRjl/BlGE/NcBvJcqsRgCP6Z92mRE+7N50pRIi8SmKUbcQA==", - "dev": true - }, - "node_modules/@webassemblyjs/wast-parser/node_modules/@webassemblyjs/helper-api-error": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.0.tgz", - "integrity": "sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw==", - "dev": true - }, - "node_modules/@webassemblyjs/wast-parser/node_modules/@webassemblyjs/helper-wasm-bytecode": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz", - "integrity": "sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw==", - "dev": true - }, - "node_modules/@webassemblyjs/wast-printer": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz", - "integrity": "sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@webpack-cli/configtest": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@webpack-cli/configtest/-/configtest-1.1.1.tgz", - "integrity": "sha512-1FBc1f9G4P/AxMqIgfZgeOTuRnwZMten8E7zap5zgpPInnCrP8D4Q81+4CWIch8i/Nf7nXjP0v6CjjbHOrXhKg==", - "dev": true, - "peerDependencies": { - "webpack": "4.x.x || 5.x.x", - "webpack-cli": "4.x.x" - } - }, - "node_modules/@webpack-cli/info": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@webpack-cli/info/-/info-1.4.1.tgz", - "integrity": "sha512-PKVGmazEq3oAo46Q63tpMr4HipI3OPfP7LiNOEJg963RMgT0rqheag28NCML0o3GIzA3DmxP1ZIAv9oTX1CUIA==", - "dev": true, - "dependencies": { - "envinfo": "^7.7.3" - }, - "peerDependencies": { - "webpack-cli": "4.x.x" - } - }, - "node_modules/@webpack-cli/serve": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-1.6.1.tgz", - "integrity": "sha512-gNGTiTrjEVQ0OcVnzsRSqTxaBSr+dmTfm+qJsCDluky8uhdLWep7Gcr62QsAKHTMxjCS/8nEITsmFAhfIx+QSw==", - "dev": true, - "peerDependencies": { - "webpack-cli": "4.x.x" - }, - "peerDependenciesMeta": { - "webpack-dev-server": { - "optional": true - } - } - }, - "node_modules/@xtuc/ieee754": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", - "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", - "dev": true - }, - "node_modules/@xtuc/long": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", - "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", - "dev": true - }, - "node_modules/abab": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", - "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==", - "dev": true - }, - "node_modules/accepts": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", - "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", - "dev": true, - "dependencies": { - "mime-types": "~2.1.34", - "negotiator": "0.6.3" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/acorn": { - "version": "7.4.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", - "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", - "dev": true, - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/acorn-globals": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-6.0.0.tgz", - "integrity": "sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==", - "dev": true, - "license": "MIT", - "dependencies": { - "acorn": "^7.1.1", - "acorn-walk": "^7.1.1" - } - }, - "node_modules/acorn-jsx": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true, - "peerDependencies": { - "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/acorn-walk": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", - "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/address": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/address/-/address-1.2.0.tgz", - "integrity": "sha512-tNEZYz5G/zYunxFm7sfhAxkXEuLj3K6BKwv6ZURlsF6yiUQ65z0Q2wZW9L5cPUl9ocofGvXOdFYbFHp0+6MOig==", - "dev": true, - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "dev": true, - "dependencies": { - "debug": "4" - }, - "engines": { - "node": ">= 6.0.0" - } - }, - "node_modules/agent-base/node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/agent-base/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "node_modules/aggregate-error": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", - "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", - "dev": true, - "dependencies": { - "clean-stack": "^2.0.0", - "indent-string": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/aggregate-error/node_modules/indent-string": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/airbnb-js-shims": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/airbnb-js-shims/-/airbnb-js-shims-2.2.1.tgz", - "integrity": "sha512-wJNXPH66U2xjgo1Zwyjf9EydvJ2Si94+vSdk6EERcBfB2VZkeltpqIats0cqIZMLCXP3zcyaUKGYQeIBT6XjsQ==", - "dev": true, - "dependencies": { - "array-includes": "^3.0.3", - "array.prototype.flat": "^1.2.1", - "array.prototype.flatmap": "^1.2.1", - "es5-shim": "^4.5.13", - "es6-shim": "^0.35.5", - "function.prototype.name": "^1.1.0", - "globalthis": "^1.0.0", - "object.entries": "^1.1.0", - "object.fromentries": "^2.0.0 || ^1.0.0", - "object.getownpropertydescriptors": "^2.0.3", - "object.values": "^1.1.0", - "promise.allsettled": "^1.0.0", - "promise.prototype.finally": "^3.1.0", - "string.prototype.matchall": "^4.0.0 || ^3.0.1", - "string.prototype.padend": "^3.0.0", - "string.prototype.padstart": "^3.0.0", - "symbol.prototype.description": "^1.0.0" - } - }, - "node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ajv-errors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-1.0.1.tgz", - "integrity": "sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ==", - "dev": true, - "peerDependencies": { - "ajv": ">=5.0.0" - } - }, - "node_modules/ajv-formats": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", - "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", - "dev": true, - "dependencies": { - "ajv": "^8.0.0" - }, - "peerDependencies": { - "ajv": "^8.0.0" - }, - "peerDependenciesMeta": { - "ajv": { - "optional": true - } - } - }, - "node_modules/ajv-formats/node_modules/ajv": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", - "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", - "dev": true, - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ajv-formats/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true - }, - "node_modules/ajv-keywords": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", - "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", - "dev": true, - "license": "MIT", - "peerDependencies": { - "ajv": "^6.9.1" - } - }, - "node_modules/ansi-align": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz", - "integrity": "sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==", - "dev": true, - "dependencies": { - "string-width": "^4.1.0" - } - }, - "node_modules/ansi-colors": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.4.tgz", - "integrity": "sha512-hHUXGagefjN2iRrID63xckIvotOXOojhQKWIPUZ4mNUZ9nLZW+7FMNoE1lOkEhNWYsx/7ysGIuJYCiMAA9FnrA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/ansi-html-community": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/ansi-html-community/-/ansi-html-community-0.0.8.tgz", - "integrity": "sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw==", - "dev": true, - "engines": [ - "node >= 0.8.0" - ], - "bin": { - "ansi-html": "bin/ansi-html" - } - }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/ansi-to-html": { - "version": "0.6.15", - "resolved": "https://registry.npmjs.org/ansi-to-html/-/ansi-to-html-0.6.15.tgz", - "integrity": "sha512-28ijx2aHJGdzbs+O5SNQF65r6rrKYnkuwTYm8lZlChuoJ9P1vVzIpWO20sQTqTPDXYp6NFwk326vApTtLVFXpQ==", - "dev": true, - "dependencies": { - "entities": "^2.0.0" - }, - "bin": { - "ansi-to-html": "bin/ansi-to-html" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/anymatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", - "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", - "dev": true, - "license": "ISC", - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/app-root-dir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/app-root-dir/-/app-root-dir-1.0.2.tgz", - "integrity": "sha512-jlpIfsOoNoafl92Sz//64uQHGSyMrD2vYG5d8o2a4qGvyNCvXur7bzIsWtAC/6flI2RYAp3kv8rsfBtaLm7w0g==", - "dev": true - }, - "node_modules/aproba": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", - "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", - "dev": true, - "license": "ISC" - }, - "node_modules/are-we-there-yet": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz", - "integrity": "sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==", - "dev": true, - "dependencies": { - "delegates": "^1.0.0", - "readable-stream": "^3.6.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/are-we-there-yet/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dev": true, - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/aria-query": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.0.0.tgz", - "integrity": "sha512-V+SM7AbUwJ+EBnB8+DXs0hPZHO0W6pqBcc0dW90OwtVG02PswOu/teuARoLQjdDOH+t9pJgGnW5/Qmouf3gPJg==", - "dev": true, - "engines": { - "node": ">=6.0" - } - }, - "node_modules/arr-diff": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", - "integrity": "sha512-YVIQ82gZPGBebQV/a8dar4AitzCQs0jjXwMPZllpXMaGjXPYVUawSxQrRsjhjupyVxEvbHgUmIhKVlND+j02kA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/arr-flatten": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", - "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/arr-union": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", - "integrity": "sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/array-find-index": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", - "integrity": "sha512-M1HQyIXcBGtVywBt8WVdim+lrNaK7VHp99Qt5pSNziXznKHViIBbXWtfRTpEFpF/c4FdfxNAsCCwPp5phBYJtw==", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=", - "dev": true, - "license": "MIT" - }, - "node_modules/array-includes": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.5.tgz", - "integrity": "sha512-iSDYZMMyTPkiFasVqfuAQnWAYcvO/SeBSCGKePoEthjp4LEMTe4uLc7b025o4jAZpHhihh8xPo99TNWUWWkGDQ==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.19.5", - "get-intrinsic": "^1.1.1", - "is-string": "^1.0.7" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/array-union": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", - "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", - "dev": true, - "license": "MIT", - "dependencies": { - "array-uniq": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/array-uniq": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", - "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/array-unique": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", - "integrity": "sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/array.prototype.flat": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.0.tgz", - "integrity": "sha512-12IUEkHsAhA4DY5s0FPgNXIdc8VRSqD9Zp78a5au9abH/SOBrsp082JOWFNTjkMozh8mqcdiKuaLGhPeYztxSw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.2", - "es-shim-unscopables": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/array.prototype.flatmap": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.0.tgz", - "integrity": "sha512-PZC9/8TKAIxcWKdyeb77EzULHPrIX/tIZebLJUQOMR1OwYosT8yggdfWScfTBCDj5utONvOuPQQumYsU2ULbkg==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.2", - "es-shim-unscopables": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/array.prototype.map": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/array.prototype.map/-/array.prototype.map-1.0.4.tgz", - "integrity": "sha512-Qds9QnX7A0qISY7JT5WuJO0NJPE9CMlC6JzHQfhpqAAQQzufVRoeH7EzUY5GcPTx72voG8LV/5eo+b8Qi8hmhA==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.0", - "es-array-method-boxes-properly": "^1.0.0", - "is-string": "^1.0.7" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/array.prototype.reduce": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/array.prototype.reduce/-/array.prototype.reduce-1.0.4.tgz", - "integrity": "sha512-WnM+AjG/DvLRLo4DDl+r+SvCzYtD2Jd9oeBYMcEaI7t3fFrHY9M53/wdLcTvmZNQ70IU6Htj0emFkZ5TS+lrdw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.2", - "es-array-method-boxes-properly": "^1.0.0", - "is-string": "^1.0.7" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/arrify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/asn1.js": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", - "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==", - "dev": true, - "dependencies": { - "bn.js": "^4.0.0", - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0", - "safer-buffer": "^2.1.0" - } - }, - "node_modules/asn1.js/node_modules/bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "dev": true - }, - "node_modules/assert": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/assert/-/assert-1.5.0.tgz", - "integrity": "sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==", - "dev": true, - "dependencies": { - "object-assign": "^4.1.1", - "util": "0.10.3" - } - }, - "node_modules/assert/node_modules/inherits": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", - "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", - "dev": true - }, - "node_modules/assert/node_modules/util": { - "version": "0.10.3", - "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", - "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", - "dev": true, - "dependencies": { - "inherits": "2.0.1" - } - }, - "node_modules/assign-symbols": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", - "integrity": "sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/ast-types": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.14.2.tgz", - "integrity": "sha512-O0yuUDnZeQDL+ncNGlJ78BiO4jnYI3bvMsD5prT0/nsgijG/LpNBIr63gTjVTNsiGkgQhiyCShTgxt8oXOrklA==", - "dev": true, - "license": "MIT", - "dependencies": { - "tslib": "^2.0.1" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/async-each": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz", - "integrity": "sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==", - "dev": true, - "optional": true - }, - "node_modules/asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", - "dev": true, - "license": "MIT" - }, - "node_modules/at-least-node": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", - "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", - "dev": true, - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/atob": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", - "dev": true, - "bin": { - "atob": "bin/atob.js" - }, - "engines": { - "node": ">= 4.5.0" - } - }, - "node_modules/autoprefixer": { - "version": "9.8.8", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.8.8.tgz", - "integrity": "sha512-eM9d/swFopRt5gdJ7jrpCwgvEMIayITpojhkkSMRsFHYuH5bkSQ4p/9qTEHtmNudUZh22Tehu7I6CxAW0IXTKA==", - "dev": true, - "dependencies": { - "browserslist": "^4.12.0", - "caniuse-lite": "^1.0.30001109", - "normalize-range": "^0.1.2", - "num2fraction": "^1.2.2", - "picocolors": "^0.2.1", - "postcss": "^7.0.32", - "postcss-value-parser": "^4.1.0" - }, - "bin": { - "autoprefixer": "bin/autoprefixer" - }, - "funding": { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/autoprefixer" - } - }, - "node_modules/babel-loader": { - "version": "8.2.5", - "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.2.5.tgz", - "integrity": "sha512-OSiFfH89LrEMiWd4pLNqGz4CwJDtbs2ZVc+iGu2HrkRfPxId9F2anQj38IxWpmRfsUY0aBZYi1EFcd3mhtRMLQ==", - "dev": true, - "dependencies": { - "find-cache-dir": "^3.3.1", - "loader-utils": "^2.0.0", - "make-dir": "^3.1.0", - "schema-utils": "^2.6.5" - }, - "engines": { - "node": ">= 8.9" - }, - "peerDependencies": { - "@babel/core": "^7.0.0", - "webpack": ">=2" - } - }, - "node_modules/babel-loader/node_modules/schema-utils": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.1.tgz", - "integrity": "sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/json-schema": "^7.0.5", - "ajv": "^6.12.4", - "ajv-keywords": "^3.5.2" - }, - "engines": { - "node": ">= 8.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, - "node_modules/babel-plugin-add-react-displayname": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/babel-plugin-add-react-displayname/-/babel-plugin-add-react-displayname-0.0.5.tgz", - "integrity": "sha1-M51M3be2X9YtHfnbn+BN4TQSK9U=", - "dev": true, - "license": "MIT" - }, - "node_modules/babel-plugin-apply-mdx-type-prop": { - "version": "1.6.22", - "resolved": "https://registry.npmjs.org/babel-plugin-apply-mdx-type-prop/-/babel-plugin-apply-mdx-type-prop-1.6.22.tgz", - "integrity": "sha512-VefL+8o+F/DfK24lPZMtJctrCVOfgbqLAGZSkxwhazQv4VxPg3Za/i40fu22KR2m8eEda+IfSOlPLUSIiLcnCQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "7.10.4", - "@mdx-js/util": "1.6.22" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - }, - "peerDependencies": { - "@babel/core": "^7.11.6" - } - }, - "node_modules/babel-plugin-apply-mdx-type-prop/node_modules/@babel/helper-plugin-utils": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.4.tgz", - "integrity": "sha512-O4KCvQA6lLiMU9l2eawBPMf1xPP8xPfB3iEQw150hOVTqj/rfXz0ThTb4HEzqQfs2Bmo5Ay8BzxfzVtBrr9dVg==", - "dev": true - }, - "node_modules/babel-plugin-dynamic-import-node": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz", - "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==", - "dev": true, - "dependencies": { - "object.assign": "^4.1.0" - } - }, - "node_modules/babel-plugin-extract-import-names": { - "version": "1.6.22", - "resolved": "https://registry.npmjs.org/babel-plugin-extract-import-names/-/babel-plugin-extract-import-names-1.6.22.tgz", - "integrity": "sha512-yJ9BsJaISua7d8zNT7oRG1ZLBJCIdZ4PZqmH8qa9N5AK01ifk3fnkc98AXhtzE7UkfCsEumvoQWgoYLhOnJ7jQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "7.10.4" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/babel-plugin-extract-import-names/node_modules/@babel/helper-plugin-utils": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.4.tgz", - "integrity": "sha512-O4KCvQA6lLiMU9l2eawBPMf1xPP8xPfB3iEQw150hOVTqj/rfXz0ThTb4HEzqQfs2Bmo5Ay8BzxfzVtBrr9dVg==", - "dev": true - }, - "node_modules/babel-plugin-macros": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-2.8.0.tgz", - "integrity": "sha512-SEP5kJpfGYqYKpBrj5XU3ahw5p5GOHJ0U5ssOSQ/WBVdwkD2Dzlce95exQTs3jOVWPPKLBN2rlEWkCK7dSmLvg==", - "dependencies": { - "@babel/runtime": "^7.7.2", - "cosmiconfig": "^6.0.0", - "resolve": "^1.12.0" - } - }, - "node_modules/babel-plugin-named-exports-order": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/babel-plugin-named-exports-order/-/babel-plugin-named-exports-order-0.0.2.tgz", - "integrity": "sha512-OgOYHOLoRK+/mvXU9imKHlG6GkPLYrUCvFXG/CM93R/aNNO8pOOF4aS+S8CCHMDQoNSeiOYEZb/G6RwL95Jktw==", - "dev": true - }, - "node_modules/babel-plugin-polyfill-corejs2": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.1.tgz", - "integrity": "sha512-v7/T6EQcNfVLfcN2X8Lulb7DjprieyLWJK/zOWH5DUYcAgex9sP3h25Q+DLsX9TloXe3y1O8l2q2Jv9q8UVB9w==", - "dev": true, - "dependencies": { - "@babel/compat-data": "^7.13.11", - "@babel/helper-define-polyfill-provider": "^0.3.1", - "semver": "^6.1.1" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/babel-plugin-polyfill-corejs3": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.1.7.tgz", - "integrity": "sha512-u+gbS9bbPhZWEeyy1oR/YaaSpod/KDT07arZHb80aTpl8H5ZBq+uN1nN9/xtX7jQyfLdPfoqI4Rue/MQSWJquw==", - "dev": true, - "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.1.5", - "core-js-compat": "^3.8.1" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/babel-plugin-polyfill-corejs3/node_modules/@babel/helper-define-polyfill-provider": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.1.5.tgz", - "integrity": "sha512-nXuzCSwlJ/WKr8qxzW816gwyT6VZgiJG17zR40fou70yfAcqjoNyTLl/DQ+FExw5Hx5KNqshmN8Ldl/r2N7cTg==", - "dev": true, - "dependencies": { - "@babel/helper-compilation-targets": "^7.13.0", - "@babel/helper-module-imports": "^7.12.13", - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/traverse": "^7.13.0", - "debug": "^4.1.1", - "lodash.debounce": "^4.0.8", - "resolve": "^1.14.2", - "semver": "^6.1.2" - }, - "peerDependencies": { - "@babel/core": "^7.4.0-0" - } - }, - "node_modules/babel-plugin-polyfill-corejs3/node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/babel-plugin-polyfill-corejs3/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "node_modules/babel-plugin-polyfill-regenerator": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.3.1.tgz", - "integrity": "sha512-Y2B06tvgHYt1x0yz17jGkGeeMr5FeKUu+ASJ+N6nB5lQ8Dapfg42i0OVrf8PNGJ3zKL4A23snMi1IRwrqqND7A==", - "dev": true, - "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.3.1" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/babel-plugin-react-docgen": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/babel-plugin-react-docgen/-/babel-plugin-react-docgen-4.2.1.tgz", - "integrity": "sha512-UQ0NmGHj/HAqi5Bew8WvNfCk8wSsmdgNd8ZdMjBCICtyCJCq9LiqgqvjCYe570/Wg7AQArSq1VQ60Dd/CHN7mQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ast-types": "^0.14.2", - "lodash": "^4.17.15", - "react-docgen": "^5.0.0" - } - }, - "node_modules/bail": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/bail/-/bail-1.0.5.tgz", - "integrity": "sha512-xFbRxM1tahm08yHBP16MMjVUAvDaBMD38zsM9EMAUN61omwLmKlOpB/Zku5QkjZ8TZ4vn53pj+t518cH0S03RQ==", - "dev": true, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true, - "license": "MIT" - }, - "node_modules/base": { - "version": "0.11.2", - "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", - "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", - "dev": true, - "dependencies": { - "cache-base": "^1.0.1", - "class-utils": "^0.3.5", - "component-emitter": "^1.2.1", - "define-property": "^1.0.0", - "isobject": "^3.0.1", - "mixin-deep": "^1.2.0", - "pascalcase": "^0.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/base/node_modules/define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, - "dependencies": { - "is-descriptor": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/batch": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz", - "integrity": "sha1-3DQxT05nkxgJP8dgJyUl+UvyXBY=", - "dev": true, - "license": "MIT" - }, - "node_modules/better-opn": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/better-opn/-/better-opn-2.1.1.tgz", - "integrity": "sha512-kIPXZS5qwyKiX/HcRvDYfmBQUa8XP17I0mYZZ0y4UhpYOSvtsLHDYqmomS+Mj20aDvD3knEiQ0ecQy2nhio3yA==", - "dev": true, - "dependencies": { - "open": "^7.0.3" - }, - "engines": { - "node": ">8.0.0" - } - }, - "node_modules/better-opn/node_modules/open": { - "version": "7.4.2", - "resolved": "https://registry.npmjs.org/open/-/open-7.4.2.tgz", - "integrity": "sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q==", - "dev": true, - "dependencies": { - "is-docker": "^2.0.0", - "is-wsl": "^2.1.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/big-integer": { - "version": "1.6.51", - "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz", - "integrity": "sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.6" - } - }, - "node_modules/big.js": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", - "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": "*" - } - }, - "node_modules/binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/bindings": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", - "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", - "dev": true, - "optional": true, - "dependencies": { - "file-uri-to-path": "1.0.0" - } - }, - "node_modules/bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", - "dev": true, - "license": "MIT" - }, - "node_modules/bn.js": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", - "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==", - "dev": true - }, - "node_modules/body-parser": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.0.tgz", - "integrity": "sha512-DfJ+q6EPcGKZD1QWUjSpqp+Q7bDQTsQIF4zfUAtZ6qk+H/3/QRhg9CEp39ss+/T2vw0+HaidC0ecJj/DRLIaKg==", - "dev": true, - "dependencies": { - "bytes": "3.1.2", - "content-type": "~1.0.4", - "debug": "2.6.9", - "depd": "2.0.0", - "destroy": "1.2.0", - "http-errors": "2.0.0", - "iconv-lite": "0.4.24", - "on-finished": "2.4.1", - "qs": "6.10.3", - "raw-body": "2.5.1", - "type-is": "~1.6.18", - "unpipe": "1.0.0" - }, - "engines": { - "node": ">= 0.8", - "npm": "1.2.8000 || >= 1.4.16" - } - }, - "node_modules/body-parser/node_modules/depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", - "dev": true, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/bonjour-service": { - "version": "1.0.12", - "resolved": "https://registry.npmjs.org/bonjour-service/-/bonjour-service-1.0.12.tgz", - "integrity": "sha512-pMmguXYCu63Ug37DluMKEHdxc+aaIf/ay4YbF8Gxtba+9d3u+rmEWy61VK3Z3hp8Rskok3BunHYnG0dUHAsblw==", - "dev": true, - "dependencies": { - "array-flatten": "^2.1.2", - "dns-equal": "^1.0.0", - "fast-deep-equal": "^3.1.3", - "multicast-dns": "^7.2.4" - } - }, - "node_modules/bonjour-service/node_modules/array-flatten": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-2.1.2.tgz", - "integrity": "sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ==", - "dev": true - }, - "node_modules/boolbase": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", - "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", - "dev": true - }, - "node_modules/boxen": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/boxen/-/boxen-5.1.2.tgz", - "integrity": "sha512-9gYgQKXx+1nP8mP7CzFyaUARhg7D3n1dF/FnErWmu9l6JvGpNUN278h0aSb+QjoiKSWG+iZ3uHrcqk0qrY9RQQ==", - "dev": true, - "dependencies": { - "ansi-align": "^3.0.0", - "camelcase": "^6.2.0", - "chalk": "^4.1.0", - "cli-boxes": "^2.2.1", - "string-width": "^4.2.2", - "type-fest": "^0.20.2", - "widest-line": "^3.1.0", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/boxen/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/boxen/node_modules/type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/bplist-parser": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.1.1.tgz", - "integrity": "sha512-2AEM0FXy8ZxVLBuqX0hqt1gDwcnz2zygEkQ6zaD5Wko/sB9paUNwlpawrFtKeHUAQUOzjVy9AO4oeonqIHKA9Q==", - "dev": true, - "optional": true, - "dependencies": { - "big-integer": "^1.6.7" - } - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, - "dependencies": { - "fill-range": "^7.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/brorand": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", - "integrity": "sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w==", - "dev": true - }, - "node_modules/browser-assert": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/browser-assert/-/browser-assert-1.2.1.tgz", - "integrity": "sha512-nfulgvOR6S4gt9UKCeGJOuSGBPGiFT6oQ/2UBnvTY/5aQ1PnksW72fhZkM30DzoRRv2WpwZf1vHHEr3mtuXIWQ==", - "dev": true - }, - "node_modules/browser-process-hrtime": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz", - "integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==", - "dev": true, - "license": "BSD-2-Clause" - }, - "node_modules/browserify-aes": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", - "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", - "dev": true, - "dependencies": { - "buffer-xor": "^1.0.3", - "cipher-base": "^1.0.0", - "create-hash": "^1.1.0", - "evp_bytestokey": "^1.0.3", - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/browserify-cipher": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", - "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", - "dev": true, - "dependencies": { - "browserify-aes": "^1.0.4", - "browserify-des": "^1.0.0", - "evp_bytestokey": "^1.0.0" - } - }, - "node_modules/browserify-des": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", - "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", - "dev": true, - "dependencies": { - "cipher-base": "^1.0.1", - "des.js": "^1.0.0", - "inherits": "^2.0.1", - "safe-buffer": "^5.1.2" - } - }, - "node_modules/browserify-rsa": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz", - "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==", - "dev": true, - "dependencies": { - "bn.js": "^5.0.0", - "randombytes": "^2.0.1" - } - }, - "node_modules/browserify-sign": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", - "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==", - "dev": true, - "dependencies": { - "bn.js": "^5.1.1", - "browserify-rsa": "^4.0.1", - "create-hash": "^1.2.0", - "create-hmac": "^1.1.7", - "elliptic": "^6.5.3", - "inherits": "^2.0.4", - "parse-asn1": "^5.1.5", - "readable-stream": "^3.6.0", - "safe-buffer": "^5.2.0" - } - }, - "node_modules/browserify-sign/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dev": true, - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/browserify-zlib": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", - "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", - "dev": true, - "dependencies": { - "pako": "~1.0.5" - } - }, - "node_modules/browserslist": { - "version": "4.20.3", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.20.3.tgz", - "integrity": "sha512-NBhymBQl1zM0Y5dQT/O+xiLP9/rzOIQdKM/eMJBAq7yBgaB6krIYLGejrwVYnSHZdqjscB1SPuAjHwxjvN6Wdg==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - } - ], - "dependencies": { - "caniuse-lite": "^1.0.30001332", - "electron-to-chromium": "^1.4.118", - "escalade": "^3.1.1", - "node-releases": "^2.0.3", - "picocolors": "^1.0.0" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - } - }, - "node_modules/browserslist/node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" - }, - "node_modules/buffer": { - "version": "4.9.2", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", - "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", - "dev": true, - "dependencies": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4", - "isarray": "^1.0.0" - } - }, - "node_modules/buffer-from": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", - "dev": true, - "license": "MIT" - }, - "node_modules/buffer-xor": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", - "integrity": "sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ==", - "dev": true - }, - "node_modules/builtin-status-codes": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", - "integrity": "sha512-HpGFw18DgFWlncDfjTa2rcQ4W88O1mC8e8yZ2AvQY5KDaktSTwo+KRf6nHK6FRI5FyRyb/5T6+TSxfP7QyGsmQ==", - "dev": true - }, - "node_modules/bytes": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", - "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", - "dev": true, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/c8": { - "version": "7.7.2", - "resolved": "https://registry.npmjs.org/c8/-/c8-7.7.2.tgz", - "integrity": "sha512-8AqNnUMxB3hsgYCYso2GJjlwnaNPlrEEbYbCQb7N76V1nrOgCKXiTcE3gXU18rIj0FeduPywROrIBMC7XAKApg==", - "dev": true, - "license": "ISC", - "dependencies": { - "@bcoe/v8-coverage": "^0.2.3", - "@istanbuljs/schema": "^0.1.2", - "find-up": "^5.0.0", - "foreground-child": "^2.0.0", - "istanbul-lib-coverage": "^3.0.0", - "istanbul-lib-report": "^3.0.0", - "istanbul-reports": "^3.0.2", - "rimraf": "^3.0.0", - "test-exclude": "^6.0.0", - "v8-to-istanbul": "^7.1.0", - "yargs": "^16.2.0", - "yargs-parser": "^20.2.7" - }, - "bin": { - "c8": "bin/c8.js" - }, - "engines": { - "node": ">=10.12.0" - } - }, - "node_modules/c8/node_modules/cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, - "node_modules/c8/node_modules/y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=10" - } - }, - "node_modules/c8/node_modules/yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", - "dev": true, - "license": "MIT", - "dependencies": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/cacache": { - "version": "15.3.0", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-15.3.0.tgz", - "integrity": "sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ==", - "dev": true, - "dependencies": { - "@npmcli/fs": "^1.0.0", - "@npmcli/move-file": "^1.0.1", - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "glob": "^7.1.4", - "infer-owner": "^1.0.4", - "lru-cache": "^6.0.0", - "minipass": "^3.1.1", - "minipass-collect": "^1.0.2", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.2", - "mkdirp": "^1.0.3", - "p-map": "^4.0.0", - "promise-inflight": "^1.0.1", - "rimraf": "^3.0.2", - "ssri": "^8.0.1", - "tar": "^6.0.2", - "unique-filename": "^1.1.1" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/cacache/node_modules/chownr": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", - "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/cacache/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/cacache/node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "dev": true, - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/cacache/node_modules/p-map": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", - "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", - "dev": true, - "dependencies": { - "aggregate-error": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cacache/node_modules/ssri": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", - "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", - "dev": true, - "dependencies": { - "minipass": "^3.1.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/cache-base": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", - "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", - "dev": true, - "dependencies": { - "collection-visit": "^1.0.0", - "component-emitter": "^1.2.1", - "get-value": "^2.0.6", - "has-value": "^1.0.0", - "isobject": "^3.0.1", - "set-value": "^2.0.0", - "to-object-path": "^0.3.0", - "union-value": "^1.0.0", - "unset-value": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/call-me-maybe": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz", - "integrity": "sha512-wCyFsDQkKPwwF8BDwOiWNx/9K45L/hvggQiDbve+viMNMQnWhrlYIuBk09offfwCRtCO9P6XwUttufzU11WCVw==", - "dev": true - }, - "node_modules/callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "engines": { - "node": ">=6" - } - }, - "node_modules/camel-case": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz", - "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==", - "dev": true, - "dependencies": { - "pascal-case": "^3.1.2", - "tslib": "^2.0.3" - } - }, - "node_modules/camelcase": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/camelcase-css": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz", - "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==", - "dev": true, - "engines": { - "node": ">= 6" - } - }, - "node_modules/camelcase-keys": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", - "integrity": "sha512-bA/Z/DERHKqoEOrp+qeGKw1QlvEQkGZSc0XaY6VnTxZr+Kv1G5zFwttpjv8qxZ/sBPT4nthwZaAcsAZTJlSKXQ==", - "dev": true, - "optional": true, - "dependencies": { - "camelcase": "^2.0.0", - "map-obj": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/camelcase-keys/node_modules/camelcase": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", - "integrity": "sha512-DLIsRzJVBQu72meAKPkWQOLcujdXT32hwdfnkI1frSiSRMK1MofjKHf+MEx0SB6fjEFXL8fBDv1dKymBlOp4Qw==", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/caniuse-lite": { - "version": "1.0.30001342", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001342.tgz", - "integrity": "sha512-bn6sOCu7L7jcbBbyNhLg0qzXdJ/PMbybZTH/BA6Roet9wxYRm6Tr9D0s0uhLkOZ6MSG+QU6txUgdpr3MXIVqjA==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/caniuse-lite" - } - ] - }, - "node_modules/case-sensitive-paths-webpack-plugin": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/case-sensitive-paths-webpack-plugin/-/case-sensitive-paths-webpack-plugin-2.4.0.tgz", - "integrity": "sha512-roIFONhcxog0JSSWbvVAh3OocukmSgpqOH6YpMkCvav/ySIV3JKg4Dc8vYtQjYi/UxpNE36r/9v+VqTQqgkYmw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/ccount": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/ccount/-/ccount-1.1.0.tgz", - "integrity": "sha512-vlNK021QdI7PNeiUh/lKkC/mNHHfV0m/Ad5JoI0TYtlBnJAslM/JIkm/tGC88bkLIwO6OQ5uV6ztS6kVAtCDlg==", - "dev": true, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "license": "MIT", - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/chalk/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "license": "MIT", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/chalk/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "license": "MIT", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/chalk/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "license": "MIT" - }, - "node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "license": "MIT", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/character-entities": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-1.2.4.tgz", - "integrity": "sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/character-entities-legacy": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-1.1.4.tgz", - "integrity": "sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/character-reference-invalid": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz", - "integrity": "sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/charcodes": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/charcodes/-/charcodes-0.2.0.tgz", - "integrity": "sha512-Y4kiDb+AM4Ecy58YkuZrrSRJBDQdQ2L+NyS1vHHFtNtUjgutcZfx3yp1dAONI/oPaPmyGfCLx5CxL+zauIMyKQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/chokidar": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", - "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ], - "dependencies": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - }, - "engines": { - "node": ">= 8.10.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "node_modules/chokidar2": { - "resolved": "node_modules/@storybook/builder-webpack4/node_modules/watchpack/chokidar2", - "link": true - }, - "node_modules/chownr": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", - "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", - "dev": true, - "license": "ISC" - }, - "node_modules/chrome-trace-event": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", - "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.0" - } - }, - "node_modules/cipher-base": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", - "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", - "dev": true, - "dependencies": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/class-utils": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", - "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", - "dev": true, - "dependencies": { - "arr-union": "^3.1.0", - "define-property": "^0.2.5", - "isobject": "^3.0.0", - "static-extend": "^0.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/is-accessor-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/is-data-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/clean-css": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.0.tgz", - "integrity": "sha512-YYuuxv4H/iNb1Z/5IbMRoxgrzjWGhOEFfd+groZ5dMCVkpENiMZmwspdrzBo9286JjM1gZJPAyL7ZIdzuvu2AQ==", - "dev": true, - "dependencies": { - "source-map": "~0.6.0" - }, - "engines": { - "node": ">= 10.0" - } - }, - "node_modules/clean-css/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/clean-stack": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", - "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/clean-webpack-plugin": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/clean-webpack-plugin/-/clean-webpack-plugin-4.0.0.tgz", - "integrity": "sha512-WuWE1nyTNAyW5T7oNyys2EN0cfP2fdRxhxnIQWiAp0bMabPdHhoGxM8A6YL2GhqwgrPnnaemVE7nv5XJ2Fhh2w==", - "dev": true, - "dependencies": { - "del": "^4.1.1" - }, - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "webpack": ">=4.0.0 <6.0.0" - } - }, - "node_modules/cli-boxes": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.1.tgz", - "integrity": "sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==", - "dev": true, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cli-table3": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.2.tgz", - "integrity": "sha512-QyavHCaIC80cMivimWu4aWHilIpiDpfm3hGmqAmXVL1UsnbLuBSMd21hTX6VY4ZSDSM73ESLeF8TOYId3rBTbw==", - "dev": true, - "dependencies": { - "string-width": "^4.2.0" - }, - "engines": { - "node": "10.* || >= 12.*" - }, - "optionalDependencies": { - "@colors/colors": "1.5.0" - } - }, - "node_modules/clone-deep": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", - "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-plain-object": "^2.0.4", - "kind-of": "^6.0.2", - "shallow-clone": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/collapse-white-space": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-1.0.6.tgz", - "integrity": "sha512-jEovNnrhMuqyCcjfEJA56v0Xq8SkIoPKDyaHahwo3POf4qcSXqMYuwNcOTzp74vTsR9Tn08z4MxWqAhcekogkQ==", - "dev": true, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/collection-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", - "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", - "dev": true, - "dependencies": { - "map-visit": "^1.0.0", - "object-visit": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true, - "license": "MIT" - }, - "node_modules/color-support": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", - "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", - "dev": true, - "bin": { - "color-support": "bin.js" - } - }, - "node_modules/colorette": { - "version": "2.0.16", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.16.tgz", - "integrity": "sha512-hUewv7oMjCp+wkBv5Rm0v87eJhq4woh5rSR+42YSQJKecCqgIqNkZ6lAlQms/BwHPJA5NKMRlpxPRv0n8HQW6g==", - "dev": true - }, - "node_modules/combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "dev": true, - "license": "MIT", - "dependencies": { - "delayed-stream": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/comma-separated-tokens": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-1.0.8.tgz", - "integrity": "sha512-GHuDRO12Sypu2cV70d1dkA2EUmXHgntrzbpvOB+Qy+49ypNfGgFQIC2fhhXbnyrJRynDCAARsT7Ou0M6hirpfw==", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/common-path-prefix": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/common-path-prefix/-/common-path-prefix-3.0.0.tgz", - "integrity": "sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w==", - "dev": true - }, - "node_modules/commondir": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", - "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", - "dev": true, - "license": "MIT" - }, - "node_modules/component-emitter": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", - "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==", - "dev": true - }, - "node_modules/compressible": { - "version": "2.0.18", - "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz", - "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==", - "dev": true, - "license": "MIT", - "dependencies": { - "mime-db": ">= 1.43.0 < 2" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/compression": { - "version": "1.7.4", - "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.4.tgz", - "integrity": "sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "accepts": "~1.3.5", - "bytes": "3.0.0", - "compressible": "~2.0.16", - "debug": "2.6.9", - "on-headers": "~1.0.2", - "safe-buffer": "5.1.2", - "vary": "~1.1.2" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/compression-webpack-plugin": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/compression-webpack-plugin/-/compression-webpack-plugin-10.0.0.tgz", - "integrity": "sha512-wLXLIBwpul/ALcm7Aj+69X0pYT3BYt6DdPn3qrgBIh9YejV9Bju9ShhlAsjujLyWMo6SAweFIWaUoFmXZNuNrg==", - "dev": true, - "dependencies": { - "schema-utils": "^4.0.0", - "serialize-javascript": "^6.0.0" - }, - "engines": { - "node": ">= 14.15.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^5.1.0" - } - }, - "node_modules/compression-webpack-plugin/node_modules/ajv": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", - "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", - "dev": true, - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/compression-webpack-plugin/node_modules/ajv-keywords": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", - "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", - "dev": true, - "dependencies": { - "fast-deep-equal": "^3.1.3" - }, - "peerDependencies": { - "ajv": "^8.8.2" - } - }, - "node_modules/compression-webpack-plugin/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true - }, - "node_modules/compression-webpack-plugin/node_modules/schema-utils": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.0.0.tgz", - "integrity": "sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg==", - "dev": true, - "dependencies": { - "@types/json-schema": "^7.0.9", - "ajv": "^8.8.0", - "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.0.0" - }, - "engines": { - "node": ">= 12.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, - "node_modules/compression/node_modules/bytes": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", - "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/compression/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true, - "license": "MIT" - }, - "node_modules/compute-scroll-into-view": { - "version": "1.0.17", - "resolved": "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.17.tgz", - "integrity": "sha512-j4dx+Fb0URmzbwwMUrhqWM2BEWHdFGx+qZ9qqASHRPqvTYdqvWnHg0H1hIbcyLnvgnoNAVMlwkepyqM3DaIFUg==" - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true, - "license": "MIT" - }, - "node_modules/concat-stream": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", - "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", - "dev": true, - "engines": [ - "node >= 0.8" - ], - "license": "MIT", - "dependencies": { - "buffer-from": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^2.2.2", - "typedarray": "^0.0.6" - } - }, - "node_modules/connect-history-api-fallback": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz", - "integrity": "sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.8" - } - }, - "node_modules/console-browserify": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz", - "integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==", - "dev": true - }, - "node_modules/console-control-strings": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", - "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", - "dev": true - }, - "node_modules/constants-browserify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", - "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=", - "dev": true - }, - "node_modules/content-disposition": { - "version": "0.5.4", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", - "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", - "dev": true, - "dependencies": { - "safe-buffer": "5.2.1" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", - "dev": true, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/convert-source-map": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", - "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==", - "license": "MIT", - "dependencies": { - "safe-buffer": "~5.1.1" - } - }, - "node_modules/convert-source-map/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "license": "MIT" - }, - "node_modules/cookie": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", - "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", - "dev": true, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/cookie-signature": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=", - "dev": true, - "license": "MIT" - }, - "node_modules/copy-concurrently": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/copy-concurrently/-/copy-concurrently-1.0.5.tgz", - "integrity": "sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A==", - "dev": true, - "license": "ISC", - "dependencies": { - "aproba": "^1.1.1", - "fs-write-stream-atomic": "^1.0.8", - "iferr": "^0.1.5", - "mkdirp": "^0.5.1", - "rimraf": "^2.5.4", - "run-queue": "^1.0.0" - } - }, - "node_modules/copy-concurrently/node_modules/rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "dev": true, - "license": "ISC", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - } - }, - "node_modules/copy-descriptor": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", - "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/core-js": { - "version": "3.12.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.12.1.tgz", - "integrity": "sha512-Ne9DKPHTObRuB09Dru5AjwKjY4cJHVGu+y5f7coGn1E9Grkc3p2iBwE9AI/nJzsE29mQF7oq+mhYYRqOMFN1Bw==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" - } - }, - "node_modules/core-js-compat": { - "version": "3.22.5", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.22.5.tgz", - "integrity": "sha512-rEF75n3QtInrYICvJjrAgV03HwKiYvtKHdPtaba1KucG+cNZ4NJnH9isqt979e67KZlhpbCOTwnsvnIr+CVeOg==", - "dev": true, - "dependencies": { - "browserslist": "^4.20.3", - "semver": "7.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" - } - }, - "node_modules/core-js-compat/node_modules/semver": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", - "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/core-js-pure": { - "version": "3.12.1", - "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.12.1.tgz", - "integrity": "sha512-1cch+qads4JnDSWsvc7d6nzlKAippwjUlf6vykkTLW53VSV+NkE6muGBToAjEA8pG90cSfcud3JgVmW2ds5TaQ==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" - } - }, - "node_modules/core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", - "dev": true, - "license": "MIT" - }, - "node_modules/cosmiconfig": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-6.0.0.tgz", - "integrity": "sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg==", - "dependencies": { - "@types/parse-json": "^4.0.0", - "import-fresh": "^3.1.0", - "parse-json": "^5.0.0", - "path-type": "^4.0.0", - "yaml": "^1.7.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cp-file": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/cp-file/-/cp-file-7.0.0.tgz", - "integrity": "sha512-0Cbj7gyvFVApzpK/uhCtQ/9kE9UnYpxMzaq5nQQC/Dh4iaj5fxp7iEFIullrYwzj8nf0qnsI1Qsx34hAeAebvw==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.2", - "make-dir": "^3.0.0", - "nested-error-stacks": "^2.0.0", - "p-event": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cpy": { - "version": "8.1.2", - "resolved": "https://registry.npmjs.org/cpy/-/cpy-8.1.2.tgz", - "integrity": "sha512-dmC4mUesv0OYH2kNFEidtf/skUwv4zePmGeepjyyJ0qTo5+8KhA1o99oIAwVVLzQMAeDJml74d6wPPKb6EZUTg==", - "dev": true, - "dependencies": { - "arrify": "^2.0.1", - "cp-file": "^7.0.0", - "globby": "^9.2.0", - "has-glob": "^1.0.0", - "junk": "^3.1.0", - "nested-error-stacks": "^2.1.0", - "p-all": "^2.1.0", - "p-filter": "^2.1.0", - "p-map": "^3.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cpy/node_modules/@nodelib/fs.stat": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz", - "integrity": "sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==", - "dev": true, - "engines": { - "node": ">= 6" - } - }, - "node_modules/cpy/node_modules/braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "dev": true, - "dependencies": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/cpy/node_modules/braces/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/cpy/node_modules/dir-glob": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-2.2.2.tgz", - "integrity": "sha512-f9LBi5QWzIW3I6e//uxZoLBlUt9kcp66qo0sSCxL6YZKc75R1c4MFCoe/LaZiBGmgujvQdxc5Bn3QhfyvK5Hsw==", - "dev": true, - "dependencies": { - "path-type": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/cpy/node_modules/fast-glob": { - "version": "2.2.7", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-2.2.7.tgz", - "integrity": "sha512-g1KuQwHOZAmOZMuBtHdxDtju+T2RT8jgCC9aANsbpdiDDTSnjgfuVsIBNKbUeJI3oKMRExcfNDtJl4OhbffMsw==", - "dev": true, - "dependencies": { - "@mrmlnc/readdir-enhanced": "^2.2.1", - "@nodelib/fs.stat": "^1.1.2", - "glob-parent": "^3.1.0", - "is-glob": "^4.0.0", - "merge2": "^1.2.3", - "micromatch": "^3.1.10" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/cpy/node_modules/fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", - "dev": true, - "dependencies": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/cpy/node_modules/fill-range/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/cpy/node_modules/glob-parent": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", - "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", - "dev": true, - "dependencies": { - "is-glob": "^3.1.0", - "path-dirname": "^1.0.0" - } - }, - "node_modules/cpy/node_modules/glob-parent/node_modules/is-glob": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", - "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", - "dev": true, - "dependencies": { - "is-extglob": "^2.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/cpy/node_modules/globby": { - "version": "9.2.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-9.2.0.tgz", - "integrity": "sha512-ollPHROa5mcxDEkwg6bPt3QbEf4pDQSNtd6JPL1YvOvAo/7/0VAm9TccUeoTmarjPw4pfUthSCqcyfNB1I3ZSg==", - "dev": true, - "dependencies": { - "@types/glob": "^7.1.1", - "array-union": "^1.0.2", - "dir-glob": "^2.2.2", - "fast-glob": "^2.2.6", - "glob": "^7.1.3", - "ignore": "^4.0.3", - "pify": "^4.0.1", - "slash": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/cpy/node_modules/ignore": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", - "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, - "node_modules/cpy/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/cpy/node_modules/is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/cpy/node_modules/is-number/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/cpy/node_modules/micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", - "dev": true, - "dependencies": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/cpy/node_modules/p-map": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-3.0.0.tgz", - "integrity": "sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==", - "dev": true, - "dependencies": { - "aggregate-error": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cpy/node_modules/path-type": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", - "dev": true, - "dependencies": { - "pify": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/cpy/node_modules/path-type/node_modules/pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/cpy/node_modules/slash": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", - "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/cpy/node_modules/to-regex-range": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", - "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", - "dev": true, - "dependencies": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/create-ecdh": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", - "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==", - "dev": true, - "dependencies": { - "bn.js": "^4.1.0", - "elliptic": "^6.5.3" - } - }, - "node_modules/create-ecdh/node_modules/bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "dev": true - }, - "node_modules/create-hash": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", - "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", - "dev": true, - "dependencies": { - "cipher-base": "^1.0.1", - "inherits": "^2.0.1", - "md5.js": "^1.3.4", - "ripemd160": "^2.0.1", - "sha.js": "^2.4.0" - } - }, - "node_modules/create-hmac": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", - "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", - "dev": true, - "dependencies": { - "cipher-base": "^1.0.3", - "create-hash": "^1.1.0", - "inherits": "^2.0.1", - "ripemd160": "^2.0.0", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" - } - }, - "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "dev": true, - "license": "MIT", - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/cross-spawn/node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "license": "ISC", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/crypto-browserify": { - "version": "3.12.0", - "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", - "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", - "dev": true, - "dependencies": { - "browserify-cipher": "^1.0.0", - "browserify-sign": "^4.0.0", - "create-ecdh": "^4.0.0", - "create-hash": "^1.1.0", - "create-hmac": "^1.1.0", - "diffie-hellman": "^5.0.0", - "inherits": "^2.0.1", - "pbkdf2": "^3.0.3", - "public-encrypt": "^4.0.0", - "randombytes": "^2.0.0", - "randomfill": "^1.0.3" - }, - "engines": { - "node": "*" - } - }, - "node_modules/css-loader": { - "version": "5.2.7", - "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-5.2.7.tgz", - "integrity": "sha512-Q7mOvpBNBG7YrVGMxRxcBJZFL75o+cH2abNASdibkj/fffYD8qWbInZrD0S9ccI6vZclF3DsHE7njGlLtaHbhg==", - "dev": true, - "dependencies": { - "icss-utils": "^5.1.0", - "loader-utils": "^2.0.0", - "postcss": "^8.2.15", - "postcss-modules-extract-imports": "^3.0.0", - "postcss-modules-local-by-default": "^4.0.0", - "postcss-modules-scope": "^3.0.0", - "postcss-modules-values": "^4.0.0", - "postcss-value-parser": "^4.1.0", - "schema-utils": "^3.0.0", - "semver": "^7.3.5" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^4.27.0 || ^5.0.0" - } - }, - "node_modules/css-loader/node_modules/icss-utils": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-5.1.0.tgz", - "integrity": "sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==", - "dev": true, - "engines": { - "node": "^10 || ^12 || >= 14" - }, - "peerDependencies": { - "postcss": "^8.1.0" - } - }, - "node_modules/css-loader/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/css-loader/node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", - "dev": true - }, - "node_modules/css-loader/node_modules/postcss": { - "version": "8.4.14", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz", - "integrity": "sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss" - } - ], - "dependencies": { - "nanoid": "^3.3.4", - "picocolors": "^1.0.0", - "source-map-js": "^1.0.2" - }, - "engines": { - "node": "^10 || ^12 || >=14" - } - }, - "node_modules/css-loader/node_modules/postcss-modules-extract-imports": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz", - "integrity": "sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw==", - "dev": true, - "engines": { - "node": "^10 || ^12 || >= 14" - }, - "peerDependencies": { - "postcss": "^8.1.0" - } - }, - "node_modules/css-loader/node_modules/postcss-modules-local-by-default": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.0.tgz", - "integrity": "sha512-sT7ihtmGSF9yhm6ggikHdV0hlziDTX7oFoXtuVWeDd3hHObNkcHRo9V3yg7vCAY7cONyxJC/XXCmmiHHcvX7bQ==", - "dev": true, - "dependencies": { - "icss-utils": "^5.0.0", - "postcss-selector-parser": "^6.0.2", - "postcss-value-parser": "^4.1.0" - }, - "engines": { - "node": "^10 || ^12 || >= 14" - }, - "peerDependencies": { - "postcss": "^8.1.0" - } - }, - "node_modules/css-loader/node_modules/postcss-modules-scope": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-3.0.0.tgz", - "integrity": "sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg==", - "dev": true, - "dependencies": { - "postcss-selector-parser": "^6.0.4" - }, - "engines": { - "node": "^10 || ^12 || >= 14" - }, - "peerDependencies": { - "postcss": "^8.1.0" - } - }, - "node_modules/css-loader/node_modules/postcss-modules-values": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz", - "integrity": "sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==", - "dev": true, - "dependencies": { - "icss-utils": "^5.0.0" - }, - "engines": { - "node": "^10 || ^12 || >= 14" - }, - "peerDependencies": { - "postcss": "^8.1.0" - } - }, - "node_modules/css-loader/node_modules/semver": { - "version": "7.3.7", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/css-select": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/css-select/-/css-select-4.3.0.tgz", - "integrity": "sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==", - "dev": true, - "dependencies": { - "boolbase": "^1.0.0", - "css-what": "^6.0.1", - "domhandler": "^4.3.1", - "domutils": "^2.8.0", - "nth-check": "^2.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/fb55" - } - }, - "node_modules/css-what": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz", - "integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==", - "dev": true, - "engines": { - "node": ">= 6" - }, - "funding": { - "url": "https://github.com/sponsors/fb55" - } - }, - "node_modules/cssesc": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", - "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", - "dev": true, - "bin": { - "cssesc": "bin/cssesc" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/cssom": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.5.0.tgz", - "integrity": "sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw==", - "dev": true - }, - "node_modules/cssstyle": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-2.3.0.tgz", - "integrity": "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==", - "dev": true, - "license": "MIT", - "dependencies": { - "cssom": "~0.3.6" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cssstyle/node_modules/cssom": { - "version": "0.3.8", - "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz", - "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==", - "dev": true, - "license": "MIT" - }, - "node_modules/csstype": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.0.tgz", - "integrity": "sha512-uX1KG+x9h5hIJsaKR9xHUeUraxf8IODOwq9JLNPq6BwB04a/xgpq3rcx47l5BZu5zBPlgD342tdke3Hom/nJRA==" - }, - "node_modules/currently-unhandled": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", - "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=", - "dev": true, - "optional": true, - "dependencies": { - "array-find-index": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/cyclist": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/cyclist/-/cyclist-1.0.1.tgz", - "integrity": "sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk=", - "dev": true, - "license": "MIT" - }, - "node_modules/data-urls": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-3.0.2.tgz", - "integrity": "sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ==", - "dev": true, - "dependencies": { - "abab": "^2.0.6", - "whatwg-mimetype": "^3.0.0", - "whatwg-url": "^11.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/data-urls/node_modules/whatwg-url": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-11.0.0.tgz", - "integrity": "sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==", - "dev": true, - "dependencies": { - "tr46": "^3.0.0", - "webidl-conversions": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/debug/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true, - "license": "MIT" - }, - "node_modules/decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/decimal.js": { - "version": "10.3.1", - "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.3.1.tgz", - "integrity": "sha512-V0pfhfr8suzyPGOx3nmq4aHqabehUZn6Ch9kyFpV79TGDTWFmHqUqXdabR7QHqxzrYolF4+tVmJhUG4OURg5dQ==", - "dev": true - }, - "node_modules/decode-uri-component": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", - "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", - "dev": true, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/dedent": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", - "integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=", - "dev": true - }, - "node_modules/deep-is": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", - "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", - "dev": true, - "license": "MIT" - }, - "node_modules/deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/default-browser-id": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-1.0.4.tgz", - "integrity": "sha1-5Z0JpdFXuCi4dsJoFuYcPSosIDo=", - "dev": true, - "optional": true, - "dependencies": { - "bplist-parser": "^0.1.0", - "meow": "^3.1.0", - "untildify": "^2.0.0" - }, - "bin": { - "default-browser-id": "cli.js" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/default-gateway": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/default-gateway/-/default-gateway-6.0.3.tgz", - "integrity": "sha512-fwSOJsbbNzZ/CUFpqFBqYfYNLj1NbMPm8MMCIzHjC83iSJRBEGmDUxU+WP661BaBQImeC2yHwXtz+P/O9o+XEg==", - "dev": true, - "dependencies": { - "execa": "^5.0.0" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/define-lazy-prop": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", - "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/define-properties": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz", - "integrity": "sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==", - "dev": true, - "dependencies": { - "has-property-descriptors": "^1.0.0", - "object-keys": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/define-property": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", - "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", - "dev": true, - "dependencies": { - "is-descriptor": "^1.0.2", - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/del": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/del/-/del-4.1.1.tgz", - "integrity": "sha512-QwGuEUouP2kVwQenAsOof5Fv8K9t3D8Ca8NxcXKrIpEHjTXK5J2nXLdP+ALI1cgv8wj7KuwBhTwBkOZSJKM5XQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/glob": "^7.1.1", - "globby": "^6.1.0", - "is-path-cwd": "^2.0.0", - "is-path-in-cwd": "^2.0.0", - "p-map": "^2.0.0", - "pify": "^4.0.1", - "rimraf": "^2.6.3" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/del/node_modules/globby": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", - "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", - "dev": true, - "license": "MIT", - "dependencies": { - "array-union": "^1.0.1", - "glob": "^7.0.3", - "object-assign": "^4.0.1", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/del/node_modules/globby/node_modules/pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/del/node_modules/rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "dev": true, - "license": "ISC", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - } - }, - "node_modules/delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/delegates": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", - "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", - "dev": true - }, - "node_modules/depd": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/des.js": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz", - "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==", - "dev": true, - "dependencies": { - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0" - } - }, - "node_modules/destroy": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", - "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", - "dev": true, - "engines": { - "node": ">= 0.8", - "npm": "1.2.8000 || >= 1.4.16" - } - }, - "node_modules/detab": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/detab/-/detab-2.0.4.tgz", - "integrity": "sha512-8zdsQA5bIkoRECvCrNKPla84lyoR7DSAyf7p0YgXzBO9PDJx8KntPUay7NS6yp+KdxdVtiE5SpHKtbp2ZQyA9g==", - "dev": true, - "dependencies": { - "repeat-string": "^1.5.4" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/detect-node": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.1.0.tgz", - "integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==", - "dev": true, - "license": "MIT" - }, - "node_modules/detect-package-manager": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/detect-package-manager/-/detect-package-manager-2.0.1.tgz", - "integrity": "sha512-j/lJHyoLlWi6G1LDdLgvUtz60Zo5GEj+sVYtTVXnYLDPuzgC3llMxonXym9zIwhhUII8vjdw0LXxavpLqTbl1A==", - "dev": true, - "dependencies": { - "execa": "^5.1.1" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/detect-port": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/detect-port/-/detect-port-1.3.0.tgz", - "integrity": "sha512-E+B1gzkl2gqxt1IhUzwjrxBKRqx1UzC3WLONHinn8S3T6lwV/agVCyitiFOsGJ/eYuEUBvD71MZHy3Pv1G9doQ==", - "dev": true, - "dependencies": { - "address": "^1.0.1", - "debug": "^2.6.0" - }, - "bin": { - "detect": "bin/detect-port", - "detect-port": "bin/detect-port" - }, - "engines": { - "node": ">= 4.2.1" - } - }, - "node_modules/diffie-hellman": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", - "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", - "dev": true, - "dependencies": { - "bn.js": "^4.1.0", - "miller-rabin": "^4.0.0", - "randombytes": "^2.0.0" - } - }, - "node_modules/diffie-hellman/node_modules/bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "dev": true - }, - "node_modules/dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", - "dev": true, - "dependencies": { - "path-type": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/dns-equal": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/dns-equal/-/dns-equal-1.0.0.tgz", - "integrity": "sha1-s55/HabrCnW6nBcySzR1PEfgZU0=", - "dev": true - }, - "node_modules/dns-packet": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-5.3.1.tgz", - "integrity": "sha512-spBwIj0TK0Ey3666GwIdWVfUpLyubpU53BTCu8iPn4r4oXd9O14Hjg3EHw3ts2oed77/SeckunUYCyRlSngqHw==", - "dev": true, - "dependencies": { - "@leichtgewicht/ip-codec": "^2.0.1" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/dom-accessibility-api": { - "version": "0.5.14", - "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.14.tgz", - "integrity": "sha512-NMt+m9zFMPZe0JcY9gN224Qvk6qLIdqex29clBvc/y75ZBX9YA9wNK3frsYvu2DI1xcCIwxwnX+TlsJ2DSOADg==", - "dev": true - }, - "node_modules/dom-converter": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/dom-converter/-/dom-converter-0.2.0.tgz", - "integrity": "sha512-gd3ypIPfOMr9h5jIKq8E3sHOTCjeirnl0WK5ZdS1AW0Odt0b1PaWaHdJ4Qk4klv+YB9aJBS7mESXjFoDQPu6DA==", - "dev": true, - "dependencies": { - "utila": "~0.4" - } - }, - "node_modules/dom-serializer": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.4.1.tgz", - "integrity": "sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==", - "dev": true, - "dependencies": { - "domelementtype": "^2.0.1", - "domhandler": "^4.2.0", - "entities": "^2.0.0" - }, - "funding": { - "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" - } - }, - "node_modules/dom-walk": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.2.tgz", - "integrity": "sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w==", - "dev": true - }, - "node_modules/domain-browser": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", - "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==", - "dev": true, - "engines": { - "node": ">=0.4", - "npm": ">=1.2" - } - }, - "node_modules/domelementtype": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", - "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fb55" - } - ] - }, - "node_modules/domexception": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/domexception/-/domexception-4.0.0.tgz", - "integrity": "sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==", - "dev": true, - "dependencies": { - "webidl-conversions": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/domhandler": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz", - "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", - "dev": true, - "dependencies": { - "domelementtype": "^2.2.0" - }, - "engines": { - "node": ">= 4" - }, - "funding": { - "url": "https://github.com/fb55/domhandler?sponsor=1" - } - }, - "node_modules/domutils": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", - "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", - "dev": true, - "dependencies": { - "dom-serializer": "^1.0.1", - "domelementtype": "^2.2.0", - "domhandler": "^4.2.0" - }, - "funding": { - "url": "https://github.com/fb55/domutils?sponsor=1" - } - }, - "node_modules/dot-case": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/dot-case/-/dot-case-3.0.4.tgz", - "integrity": "sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==", - "dev": true, - "dependencies": { - "no-case": "^3.0.4", - "tslib": "^2.0.3" - } - }, - "node_modules/dotenv": { - "version": "8.6.0", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8.6.0.tgz", - "integrity": "sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/dotenv-expand": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-5.1.0.tgz", - "integrity": "sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA==", - "dev": true - }, - "node_modules/downshift": { - "version": "6.1.7", - "resolved": "https://registry.npmjs.org/downshift/-/downshift-6.1.7.tgz", - "integrity": "sha512-cVprZg/9Lvj/uhYRxELzlu1aezRcgPWBjTvspiGTVEU64gF5pRdSRKFVLcxqsZC637cLAGMbL40JavEfWnqgNg==", - "dependencies": { - "@babel/runtime": "^7.14.8", - "compute-scroll-into-view": "^1.0.17", - "prop-types": "^15.7.2", - "react-is": "^17.0.2", - "tslib": "^2.3.0" - }, - "peerDependencies": { - "react": ">=16.12.0" - } - }, - "node_modules/downshift/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==" - }, - "node_modules/duplexify": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz", - "integrity": "sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==", - "dev": true, - "license": "MIT", - "dependencies": { - "end-of-stream": "^1.0.0", - "inherits": "^2.0.1", - "readable-stream": "^2.0.0", - "stream-shift": "^1.0.0" - } - }, - "node_modules/ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=", - "dev": true - }, - "node_modules/electron-to-chromium": { - "version": "1.4.137", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.137.tgz", - "integrity": "sha512-0Rcpald12O11BUogJagX3HsCN3FE83DSqWjgXoHo5a72KUKMSfI39XBgJpgNNxS9fuGzytaFjE06kZkiVFy2qA==" - }, - "node_modules/elliptic": { - "version": "6.5.4", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", - "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", - "dev": true, - "dependencies": { - "bn.js": "^4.11.9", - "brorand": "^1.1.0", - "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.1", - "inherits": "^2.0.4", - "minimalistic-assert": "^1.0.1", - "minimalistic-crypto-utils": "^1.0.1" - } - }, - "node_modules/elliptic/node_modules/bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "dev": true - }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true, - "license": "MIT" - }, - "node_modules/emojis-list": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz", - "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, - "node_modules/encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", - "dev": true, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "once": "^1.4.0" - } - }, - "node_modules/endent": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/endent/-/endent-2.1.0.tgz", - "integrity": "sha512-r8VyPX7XL8U01Xgnb1CjZ3XV+z90cXIJ9JPE/R9SEC9vpw2P6CfsRPJmp20DppC5N7ZAMCmjYkJIa744Iyg96w==", - "dev": true, - "dependencies": { - "dedent": "^0.7.0", - "fast-json-parse": "^1.0.3", - "objectorarray": "^1.0.5" - } - }, - "node_modules/enhanced-resolve": { - "version": "5.9.3", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.9.3.tgz", - "integrity": "sha512-Bq9VSor+kjvW3f9/MiiR4eE3XYgOl7/rS8lnSxbRbF3kS0B2r+Y9w5krBWxZgDxASVZbdYrn5wT4j/Wb0J9qow==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.2.4", - "tapable": "^2.2.0" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/enhanced-resolve/node_modules/tapable": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", - "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/entities": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", - "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", - "dev": true, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, - "node_modules/envinfo": { - "version": "7.8.1", - "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.8.1.tgz", - "integrity": "sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw==", - "dev": true, - "bin": { - "envinfo": "dist/cli.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/errno": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.8.tgz", - "integrity": "sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==", - "dev": true, - "dependencies": { - "prr": "~1.0.1" - }, - "bin": { - "errno": "cli.js" - } - }, - "node_modules/error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "dependencies": { - "is-arrayish": "^0.2.1" - } - }, - "node_modules/error-stack-parser": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.0.6.tgz", - "integrity": "sha512-d51brTeqC+BHlwF0BhPtcYgF5nlzf9ZZ0ZIUQNZpc9ZB9qw5IJ2diTrBY9jlCJkTLITYPjmiX6OWCwH+fuyNgQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "stackframe": "^1.1.1" - } - }, - "node_modules/es-abstract": { - "version": "1.20.1", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.20.1.tgz", - "integrity": "sha512-WEm2oBhfoI2sImeM4OF2zE2V3BYdSF+KnSi9Sidz51fQHd7+JuF8Xgcj9/0o+OWeIeIS/MiuNnlruQrJf16GQA==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "function.prototype.name": "^1.1.5", - "get-intrinsic": "^1.1.1", - "get-symbol-description": "^1.0.0", - "has": "^1.0.3", - "has-property-descriptors": "^1.0.0", - "has-symbols": "^1.0.3", - "internal-slot": "^1.0.3", - "is-callable": "^1.2.4", - "is-negative-zero": "^2.0.2", - "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.2", - "is-string": "^1.0.7", - "is-weakref": "^1.0.2", - "object-inspect": "^1.12.0", - "object-keys": "^1.1.1", - "object.assign": "^4.1.2", - "regexp.prototype.flags": "^1.4.3", - "string.prototype.trimend": "^1.0.5", - "string.prototype.trimstart": "^1.0.5", - "unbox-primitive": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/es-array-method-boxes-properly": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-array-method-boxes-properly/-/es-array-method-boxes-properly-1.0.0.tgz", - "integrity": "sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA==", - "dev": true - }, - "node_modules/es-get-iterator": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/es-get-iterator/-/es-get-iterator-1.1.2.tgz", - "integrity": "sha512-+DTO8GYwbMCwbywjimwZMHp8AuYXOS2JZFWoi2AlPOS3ebnII9w/NLpNZtA7A0YLaVDw+O7KFCeoIV7OPvM7hQ==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.0", - "has-symbols": "^1.0.1", - "is-arguments": "^1.1.0", - "is-map": "^2.0.2", - "is-set": "^2.0.2", - "is-string": "^1.0.5", - "isarray": "^2.0.5" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/es-get-iterator/node_modules/isarray": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", - "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", - "dev": true - }, - "node_modules/es-module-lexer": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz", - "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==", - "dev": true - }, - "node_modules/es-shim-unscopables": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz", - "integrity": "sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==", - "dev": true, - "dependencies": { - "has": "^1.0.3" - } - }, - "node_modules/es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", - "dev": true, - "dependencies": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/es5-shim": { - "version": "4.6.7", - "resolved": "https://registry.npmjs.org/es5-shim/-/es5-shim-4.6.7.tgz", - "integrity": "sha512-jg21/dmlrNQI7JyyA2w7n+yifSxBng0ZralnSfVZjoCawgNTCnS+yBCyVM9DL5itm7SUnDGgv7hcq2XCZX4iRQ==", - "dev": true, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/es6-shim": { - "version": "0.35.6", - "resolved": "https://registry.npmjs.org/es6-shim/-/es6-shim-0.35.6.tgz", - "integrity": "sha512-EmTr31wppcaIAgblChZiuN/l9Y7DPyw8Xtbg7fIVngn6zMW+IEBJDJngeKC3x6wr0V/vcA2wqeFnaw1bFJbDdA==", - "dev": true - }, - "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=", - "dev": true, - "license": "MIT" - }, - "node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "license": "MIT", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/escodegen": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.0.0.tgz", - "integrity": "sha512-mmHKys/C8BFUGI+MAWNcSYoORYLMdPzjrknd2Vc+bUsjN5bXcr8EhrNB+UTqfL1y3I9c4fw2ihgtMPQLBRiQxw==", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "esprima": "^4.0.1", - "estraverse": "^5.2.0", - "esutils": "^2.0.2", - "optionator": "^0.8.1" - }, - "bin": { - "escodegen": "bin/escodegen.js", - "esgenerate": "bin/esgenerate.js" - }, - "engines": { - "node": ">=6.0" - }, - "optionalDependencies": { - "source-map": "~0.6.1" - } - }, - "node_modules/escodegen/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "license": "BSD-3-Clause", - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/eslint-scope": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", - "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", - "dev": true, - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^4.1.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/eslint-scope/node_modules/estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "dev": true, - "license": "BSD-2-Clause", - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/esrecurse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", - "dev": true, - "dependencies": { - "estraverse": "^5.2.0" - }, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/estraverse": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", - "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=4.0" - } - }, - "node_modules/estree-to-babel": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/estree-to-babel/-/estree-to-babel-3.2.1.tgz", - "integrity": "sha512-YNF+mZ/Wu2FU/gvmzuWtYc8rloubL7wfXCTgouFrnjGVXPA/EeYYA7pupXWrb3Iv1cTBeSSxxJIbK23l4MRNqg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/traverse": "^7.1.6", - "@babel/types": "^7.2.0", - "c8": "^7.6.0" - }, - "engines": { - "node": ">=8.3.0" - } - }, - "node_modules/esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/eventemitter3": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", - "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", - "dev": true - }, - "node_modules/events": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", - "dev": true, - "engines": { - "node": ">=0.8.x" - } - }, - "node_modules/eventsource": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-1.1.0.tgz", - "integrity": "sha512-VSJjT5oCNrFvCS6igjzPAt5hBzQ2qPBFIbJ03zLI9SE0mxwZpMw6BfJrbFHm1a141AavMEB8JHmBhWAd66PfCg==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "original": "^1.0.0" - }, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/evp_bytestokey": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", - "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", - "dev": true, - "dependencies": { - "md5.js": "^1.3.4", - "safe-buffer": "^5.1.1" - } - }, - "node_modules/execa": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", - "dev": true, - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/expand-brackets": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", - "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", - "dev": true, - "dependencies": { - "debug": "^2.3.3", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "posix-character-classes": "^0.1.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-accessor-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-data-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/express": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/express/-/express-4.18.1.tgz", - "integrity": "sha512-zZBcOX9TfehHQhtupq57OF8lFZ3UZi08Y97dwFCkD8p9d/d2Y3M+ykKcwaMDEL+4qyUolgBDX6AblpR3fL212Q==", - "dev": true, - "dependencies": { - "accepts": "~1.3.8", - "array-flatten": "1.1.1", - "body-parser": "1.20.0", - "content-disposition": "0.5.4", - "content-type": "~1.0.4", - "cookie": "0.5.0", - "cookie-signature": "1.0.6", - "debug": "2.6.9", - "depd": "2.0.0", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "1.2.0", - "fresh": "0.5.2", - "http-errors": "2.0.0", - "merge-descriptors": "1.0.1", - "methods": "~1.1.2", - "on-finished": "2.4.1", - "parseurl": "~1.3.3", - "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.7", - "qs": "6.10.3", - "range-parser": "~1.2.1", - "safe-buffer": "5.2.1", - "send": "0.18.0", - "serve-static": "1.15.0", - "setprototypeof": "1.2.0", - "statuses": "2.0.1", - "type-is": "~1.6.18", - "utils-merge": "1.0.1", - "vary": "~1.1.2" - }, - "engines": { - "node": ">= 0.10.0" - } - }, - "node_modules/express/node_modules/depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", - "dev": true, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/express/node_modules/statuses": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", - "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", - "dev": true, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/extend": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", - "dev": true - }, - "node_modules/extend-shallow": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", - "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", - "dev": true, - "dependencies": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/extglob": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", - "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", - "dev": true, - "dependencies": { - "array-unique": "^0.3.2", - "define-property": "^1.0.0", - "expand-brackets": "^2.1.4", - "extend-shallow": "^2.0.1", - "fragment-cache": "^0.2.1", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/extglob/node_modules/define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, - "dependencies": { - "is-descriptor": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/extglob/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/extglob/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true, - "license": "MIT" - }, - "node_modules/fast-glob": { - "version": "3.2.11", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.11.tgz", - "integrity": "sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==", - "dev": true, - "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" - }, - "engines": { - "node": ">=8.6.0" - } - }, - "node_modules/fast-json-parse": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/fast-json-parse/-/fast-json-parse-1.0.3.tgz", - "integrity": "sha512-FRWsaZRWEJ1ESVNbDWmsAlqDk96gPQezzLghafp5J4GUKjbCz3OkAHuZs5TuPEtkbVQERysLp9xv6c24fBm8Aw==", - "dev": true - }, - "node_modules/fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true, - "license": "MIT" - }, - "node_modules/fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", - "dev": true, - "license": "MIT" - }, - "node_modules/fastest-levenshtein": { - "version": "1.0.12", - "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz", - "integrity": "sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==", - "dev": true, - "license": "MIT" - }, - "node_modules/fastq": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", - "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", - "dev": true, - "dependencies": { - "reusify": "^1.0.4" - } - }, - "node_modules/fault": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/fault/-/fault-1.0.4.tgz", - "integrity": "sha512-CJ0HCB5tL5fYTEA7ToAq5+kTwd++Borf1/bifxd9iT70QcXr4MRrO3Llf8Ifs70q+SJcGHFtnIE/Nw6giCtECA==", - "license": "MIT", - "dependencies": { - "format": "^0.2.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/faye-websocket": { - "version": "0.11.3", - "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.3.tgz", - "integrity": "sha512-D2y4bovYpzziGgbHYtGCMjlJM36vAl/y+xUyn1C+FVx8szd1E+86KwVw6XvYSzOP8iMpm1X0I4xJD+QtUb36OA==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "websocket-driver": ">=0.5.1" - }, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/fetch-retry": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/fetch-retry/-/fetch-retry-5.0.2.tgz", - "integrity": "sha512-57Hmu+1kc6pKFUGVIobT7qw3NeAzY/uNN26bSevERLVvf6VGFR/ooDCOFBHMNDgAxBiU2YJq1D0vFzc6U1DcPw==", - "dev": true - }, - "node_modules/figgy-pudding": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.2.tgz", - "integrity": "sha512-0btnI/H8f2pavGMN8w40mlSKOfTK2SVJmBfBeVIj3kNw0swwgzyRq0d5TJVOwodFmtvpPeWPN/MCcfuWF0Ezbw==", - "dev": true, - "license": "ISC" - }, - "node_modules/file-loader": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-6.2.0.tgz", - "integrity": "sha512-qo3glqyTa61Ytg4u73GultjHGjdRyig3tG6lPtyX/jOEJvHif9uB0/OCI2Kif6ctF3caQTW2G5gym21oAsI4pw==", - "dev": true, - "dependencies": { - "loader-utils": "^2.0.0", - "schema-utils": "^3.0.0" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^4.0.0 || ^5.0.0" - } - }, - "node_modules/file-system-cache": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/file-system-cache/-/file-system-cache-1.1.0.tgz", - "integrity": "sha512-IzF5MBq+5CR0jXx5RxPe4BICl/oEhBSXKaL9fLhAXrIfIUS77Hr4vzrYyqYMHN6uTt+BOqi3fDCTjjEBCjERKw==", - "dev": true, - "dependencies": { - "fs-extra": "^10.1.0", - "ramda": "^0.28.0" - } - }, - "node_modules/file-system-cache/node_modules/fs-extra": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", - "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/file-uri-to-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", - "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", - "dev": true, - "optional": true - }, - "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/finalhandler": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", - "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", - "dev": true, - "dependencies": { - "debug": "2.6.9", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "on-finished": "2.4.1", - "parseurl": "~1.3.3", - "statuses": "2.0.1", - "unpipe": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/finalhandler/node_modules/statuses": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", - "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", - "dev": true, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/find-cache-dir": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.1.tgz", - "integrity": "sha512-t2GDMt3oGC/v+BMwzmllWDuJF/xcDtE5j/fCGbqDD7OLuJkj0cfh1YSA5VKPvwMeLFLNDBkwOKZ2X85jGLVftQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "commondir": "^1.0.1", - "make-dir": "^3.0.2", - "pkg-dir": "^4.1.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/avajs/find-cache-dir?sponsor=1" - } - }, - "node_modules/find-cache-dir/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "license": "MIT", - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-cache-dir/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "license": "MIT", - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-cache-dir/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "license": "MIT", - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-cache-dir/node_modules/pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "find-up": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-root": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz", - "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==" - }, - "node_modules/find-up": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", - "dev": true, - "license": "MIT", - "dependencies": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/flat-cache": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", - "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", - "dev": true, - "dependencies": { - "flatted": "^3.1.0", - "rimraf": "^3.0.2" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - } - }, - "node_modules/flatted": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.5.tgz", - "integrity": "sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==", - "dev": true - }, - "node_modules/flush-write-stream": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.1.tgz", - "integrity": "sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w==", - "dev": true, - "license": "MIT", - "dependencies": { - "inherits": "^2.0.3", - "readable-stream": "^2.3.6" - } - }, - "node_modules/follow-redirects": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.0.tgz", - "integrity": "sha512-aExlJShTV4qOUOL7yF1U5tvLCB0xQuudbf6toyYA0E/acBNw71mvjFTnLaRp50aQaYocMR0a/RMMBIHeZnGyjQ==", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/RubenVerborgh" - } - ], - "engines": { - "node": ">=4.0" - }, - "peerDependenciesMeta": { - "debug": { - "optional": true - } - } - }, - "node_modules/for-in": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", - "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/foreground-child": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-2.0.0.tgz", - "integrity": "sha512-dCIq9FpEcyQyXKCkyzmlPTFNgrCzPudOe+mhvJU5zAtlBnGVy2yKxtfsxK2tQBThwq225jcvBjpw1Gr40uzZCA==", - "dev": true, - "license": "ISC", - "dependencies": { - "cross-spawn": "^7.0.0", - "signal-exit": "^3.0.2" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/fork-ts-checker-webpack-plugin": { - "version": "6.3.2", - "resolved": "https://registry.npmjs.org/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-6.3.2.tgz", - "integrity": "sha512-L3n1lrV20pRa7ocAuM2YW4Ux1yHM8+dV4shqPdHf1xoeG5KQhp3o0YySvNsBKBISQOCN4N2Db9DV4xYN6xXwyQ==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.8.3", - "@types/json-schema": "^7.0.5", - "chalk": "^4.1.0", - "chokidar": "^3.4.2", - "cosmiconfig": "^6.0.0", - "deepmerge": "^4.2.2", - "fs-extra": "^9.0.0", - "glob": "^7.1.6", - "memfs": "^3.1.2", - "minimatch": "^3.0.4", - "schema-utils": "2.7.0", - "semver": "^7.3.2", - "tapable": "^1.0.0" - }, - "engines": { - "node": ">=10", - "yarn": ">=1.0.0" - } - }, - "node_modules/fork-ts-checker-webpack-plugin/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/fork-ts-checker-webpack-plugin/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/fork-ts-checker-webpack-plugin/node_modules/schema-utils": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.0.tgz", - "integrity": "sha512-0ilKFI6QQF5nxDZLFn2dMjvc4hjg/Wkg7rHd3jK6/A4a1Hl9VFdQWvgB1UMGoU94pad1P/8N7fMcEnLnSiju8A==", - "dev": true, - "dependencies": { - "@types/json-schema": "^7.0.4", - "ajv": "^6.12.2", - "ajv-keywords": "^3.4.1" - }, - "engines": { - "node": ">= 8.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, - "node_modules/fork-ts-checker-webpack-plugin/node_modules/semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/form-data": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", - "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", - "dev": true, - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/format": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/format/-/format-0.2.2.tgz", - "integrity": "sha1-1hcBB+nv3E7TDJ3DkBbflCtctYs=", - "engines": { - "node": ">=0.4.x" - } - }, - "node_modules/forwarded": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", - "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", - "dev": true, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/fragment-cache": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", - "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", - "dev": true, - "dependencies": { - "map-cache": "^0.2.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/framer-motion": { - "version": "6.3.3", - "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-6.3.3.tgz", - "integrity": "sha512-wo0dCnoq5vn4L8YVOPO9W54dliH78vDaX0Lj+bSPUys6Nt5QaehrS3uaYa0q5eVeikUgtTjz070UhQ94thI5Sw==", - "dependencies": { - "framesync": "6.0.1", - "hey-listen": "^1.0.8", - "popmotion": "11.0.3", - "style-value-types": "5.0.0", - "tslib": "^2.1.0" - }, - "optionalDependencies": { - "@emotion/is-prop-valid": "^0.8.2" - }, - "peerDependencies": { - "react": ">=16.8 || ^17.0.0 || ^18.0.0", - "react-dom": ">=16.8 || ^17.0.0 || ^18.0.0" - } - }, - "node_modules/framesync": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/framesync/-/framesync-6.0.1.tgz", - "integrity": "sha512-fUY88kXvGiIItgNC7wcTOl0SNRCVXMKSWW2Yzfmn7EKNc+MpCzcz9DhdHcdjbrtN3c6R4H5dTY2jiCpPdysEjA==", - "dependencies": { - "tslib": "^2.1.0" - } - }, - "node_modules/fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/from2": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", - "integrity": "sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8=", - "dev": true, - "license": "MIT", - "dependencies": { - "inherits": "^2.0.1", - "readable-stream": "^2.0.0" - } - }, - "node_modules/fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "dependencies": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/fs-minipass": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", - "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", - "dev": true, - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/fs-monkey": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/fs-monkey/-/fs-monkey-1.0.3.tgz", - "integrity": "sha512-cybjIfiiE+pTWicSCLFHSrXZ6EilF30oh91FDP9S2B051prEa7QWfrVTQm10/dDpswBDXZugPa1Ogu8Yh+HV0Q==", - "dev": true - }, - "node_modules/fs-write-stream-atomic": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz", - "integrity": "sha1-tH31NJPvkR33VzHnCp3tAYnbQMk=", - "dev": true, - "license": "ISC", - "dependencies": { - "graceful-fs": "^4.1.2", - "iferr": "^0.1.5", - "imurmurhash": "^0.1.4", - "readable-stream": "1 || 2" - } - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true, - "license": "ISC" - }, - "node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "license": "MIT" - }, - "node_modules/function.prototype.name": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.5.tgz", - "integrity": "sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.0", - "functions-have-names": "^1.2.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/functions-have-names": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", - "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/gauge": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz", - "integrity": "sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==", - "dev": true, - "dependencies": { - "aproba": "^1.0.3 || ^2.0.0", - "color-support": "^1.1.2", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.1", - "object-assign": "^4.1.1", - "signal-exit": "^3.0.0", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1", - "wide-align": "^1.1.2" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/gensync": { - "version": "1.0.0-beta.2", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "dev": true, - "license": "ISC", - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/get-intrinsic": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", - "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/get-stdin": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", - "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/get-symbol-description": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", - "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/get-value": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", - "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/glob": { - "version": "7.1.7", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", - "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/glob-promise": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/glob-promise/-/glob-promise-3.4.0.tgz", - "integrity": "sha512-q08RJ6O+eJn+dVanerAndJwIcumgbDdYiUT7zFQl3Wm1xD6fBKtah7H8ZJChj4wP+8C+QfeVy8xautR7rdmKEw==", - "dev": true, - "dependencies": { - "@types/glob": "*" - }, - "engines": { - "node": ">=4" - }, - "peerDependencies": { - "glob": "*" - } - }, - "node_modules/glob-to-regexp": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", - "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", - "dev": true - }, - "node_modules/global": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/global/-/global-4.4.0.tgz", - "integrity": "sha512-wv/LAoHdRE3BeTGz53FAamhGlPLhlssK45usmGFThIi4XqnBmjKQ16u+RNbP7WvigRZDxUsM0J3gcQ5yicaL0w==", - "dev": true, - "license": "MIT", - "dependencies": { - "min-document": "^2.19.0", - "process": "^0.11.10" - } - }, - "node_modules/globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/globalthis": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", - "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", - "dev": true, - "dependencies": { - "define-properties": "^1.1.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/globby": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", - "dev": true, - "dependencies": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/globby/node_modules/array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.10", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", - "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", - "dev": true - }, - "node_modules/handle-thing": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.1.tgz", - "integrity": "sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==", - "dev": true, - "license": "MIT" - }, - "node_modules/handlebars": { - "version": "4.7.7", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", - "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", - "dev": true, - "dependencies": { - "minimist": "^1.2.5", - "neo-async": "^2.6.0", - "source-map": "^0.6.1", - "wordwrap": "^1.0.0" - }, - "bin": { - "handlebars": "bin/handlebars" - }, - "engines": { - "node": ">=0.4.7" - }, - "optionalDependencies": { - "uglify-js": "^3.1.4" - } - }, - "node_modules/handlebars/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "license": "MIT", - "dependencies": { - "function-bind": "^1.1.1" - }, - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/has-bigints": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", - "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/has-glob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-glob/-/has-glob-1.0.0.tgz", - "integrity": "sha1-mqqe7b/7G6OZCnsAEPtnjuAIEgc=", - "dev": true, - "dependencies": { - "is-glob": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-glob/node_modules/is-glob": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", - "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", - "dev": true, - "dependencies": { - "is-extglob": "^2.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-property-descriptors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", - "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", - "dev": true, - "dependencies": { - "get-intrinsic": "^1.1.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-tostringtag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", - "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", - "dev": true, - "dependencies": { - "has-symbols": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-unicode": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", - "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", - "dev": true - }, - "node_modules/has-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", - "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", - "dev": true, - "dependencies": { - "get-value": "^2.0.6", - "has-values": "^1.0.0", - "isobject": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-values": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", - "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", - "dev": true, - "dependencies": { - "is-number": "^3.0.0", - "kind-of": "^4.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-values/node_modules/is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-values/node_modules/is-number/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-values/node_modules/kind-of": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", - "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/hash-base": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", - "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", - "dev": true, - "dependencies": { - "inherits": "^2.0.4", - "readable-stream": "^3.6.0", - "safe-buffer": "^5.2.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/hash-base/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dev": true, - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/hash.js": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", - "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", - "dev": true, - "dependencies": { - "inherits": "^2.0.3", - "minimalistic-assert": "^1.0.1" - } - }, - "node_modules/hast-to-hyperscript": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/hast-to-hyperscript/-/hast-to-hyperscript-9.0.1.tgz", - "integrity": "sha512-zQgLKqF+O2F72S1aa4y2ivxzSlko3MAvxkwG8ehGmNiqd98BIN3JM1rAJPmplEyLmGLO2QZYJtIneOSZ2YbJuA==", - "dev": true, - "dependencies": { - "@types/unist": "^2.0.3", - "comma-separated-tokens": "^1.0.0", - "property-information": "^5.3.0", - "space-separated-tokens": "^1.0.0", - "style-to-object": "^0.3.0", - "unist-util-is": "^4.0.0", - "web-namespaces": "^1.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/hast-util-from-parse5": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/hast-util-from-parse5/-/hast-util-from-parse5-6.0.1.tgz", - "integrity": "sha512-jeJUWiN5pSxW12Rh01smtVkZgZr33wBokLzKLwinYOUfSzm1Nl/c3GUGebDyOKjdsRgMvoVbV0VpAcpjF4NrJA==", - "dev": true, - "dependencies": { - "@types/parse5": "^5.0.0", - "hastscript": "^6.0.0", - "property-information": "^5.0.0", - "vfile": "^4.0.0", - "vfile-location": "^3.2.0", - "web-namespaces": "^1.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/hast-util-parse-selector": { - "version": "2.2.5", - "resolved": "https://registry.npmjs.org/hast-util-parse-selector/-/hast-util-parse-selector-2.2.5.tgz", - "integrity": "sha512-7j6mrk/qqkSehsM92wQjdIgWM2/BW61u/53G6xmC8i1OmEdKLHbk419QKQUjz6LglWsfqoiHmyMRkP1BGjecNQ==", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/hast-util-raw": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/hast-util-raw/-/hast-util-raw-6.0.1.tgz", - "integrity": "sha512-ZMuiYA+UF7BXBtsTBNcLBF5HzXzkyE6MLzJnL605LKE8GJylNjGc4jjxazAHUtcwT5/CEt6afRKViYB4X66dig==", - "dev": true, - "dependencies": { - "@types/hast": "^2.0.0", - "hast-util-from-parse5": "^6.0.0", - "hast-util-to-parse5": "^6.0.0", - "html-void-elements": "^1.0.0", - "parse5": "^6.0.0", - "unist-util-position": "^3.0.0", - "vfile": "^4.0.0", - "web-namespaces": "^1.0.0", - "xtend": "^4.0.0", - "zwitch": "^1.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/hast-util-to-parse5": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/hast-util-to-parse5/-/hast-util-to-parse5-6.0.0.tgz", - "integrity": "sha512-Lu5m6Lgm/fWuz8eWnrKezHtVY83JeRGaNQ2kn9aJgqaxvVkFCZQBEhgodZUDUvoodgyROHDb3r5IxAEdl6suJQ==", - "dev": true, - "dependencies": { - "hast-to-hyperscript": "^9.0.0", - "property-information": "^5.0.0", - "web-namespaces": "^1.0.0", - "xtend": "^4.0.0", - "zwitch": "^1.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/hastscript": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/hastscript/-/hastscript-6.0.0.tgz", - "integrity": "sha512-nDM6bvd7lIqDUiYEiu5Sl/+6ReP0BMk/2f4U/Rooccxkj0P5nm+acM5PrGJ/t5I8qPGiqZSE6hVAwZEdZIvP4w==", - "dependencies": { - "@types/hast": "^2.0.0", - "comma-separated-tokens": "^1.0.0", - "hast-util-parse-selector": "^2.0.0", - "property-information": "^5.0.0", - "space-separated-tokens": "^1.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/he": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", - "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", - "dev": true, - "bin": { - "he": "bin/he" - } - }, - "node_modules/hey-listen": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/hey-listen/-/hey-listen-1.0.8.tgz", - "integrity": "sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q==" - }, - "node_modules/highlight.js": { - "version": "10.7.2", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.7.2.tgz", - "integrity": "sha512-oFLl873u4usRM9K63j4ME9u3etNF0PLiJhSQ8rdfuL51Wn3zkD6drf9ZW0dOzjnZI22YYG24z30JcmfCZjMgYg==", - "license": "BSD-3-Clause", - "engines": { - "node": "*" - } - }, - "node_modules/hmac-drbg": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", - "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", - "dev": true, - "dependencies": { - "hash.js": "^1.0.3", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.1" - } - }, - "node_modules/hoist-non-react-statics": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", - "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", - "license": "BSD-3-Clause", - "dependencies": { - "react-is": "^16.7.0" - } - }, - "node_modules/hosted-git-info": { - "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", - "dev": true - }, - "node_modules/hpack.js": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz", - "integrity": "sha1-h3dMCUnlE/QuhFdbPEVoH63ioLI=", - "dev": true, - "license": "MIT", - "dependencies": { - "inherits": "^2.0.1", - "obuf": "^1.0.0", - "readable-stream": "^2.0.1", - "wbuf": "^1.1.0" - } - }, - "node_modules/html-encoding-sniffer": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz", - "integrity": "sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==", - "dev": true, - "dependencies": { - "whatwg-encoding": "^2.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/html-entities": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-2.3.3.tgz", - "integrity": "sha512-DV5Ln36z34NNTDgnz0EWGBLZENelNAtkiFA4kyNOG2tDI6Mz1uSWiq1wAKdyjnJwyDiDO7Fa2SO1CTxPXL8VxA==", - "dev": true - }, - "node_modules/html-escaper": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", - "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", - "dev": true, - "license": "MIT" - }, - "node_modules/html-minifier-terser": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/html-minifier-terser/-/html-minifier-terser-6.1.0.tgz", - "integrity": "sha512-YXxSlJBZTP7RS3tWnQw74ooKa6L9b9i9QYXY21eUEvhZ3u9XLfv6OnFsQq6RxkhHygsaUMvYsZRV5rU/OVNZxw==", - "dev": true, - "dependencies": { - "camel-case": "^4.1.2", - "clean-css": "^5.2.2", - "commander": "^8.3.0", - "he": "^1.2.0", - "param-case": "^3.0.4", - "relateurl": "^0.2.7", - "terser": "^5.10.0" - }, - "bin": { - "html-minifier-terser": "cli.js" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/html-minifier-terser/node_modules/commander": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", - "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", - "dev": true, - "engines": { - "node": ">= 12" - } - }, - "node_modules/html-tags": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-3.2.0.tgz", - "integrity": "sha512-vy7ClnArOZwCnqZgvv+ddgHgJiAFXe3Ge9ML5/mBctVJoUoYPCdxVucOywjDARn6CVoh3dRSFdPHy2sX80L0Wg==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/html-void-elements": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/html-void-elements/-/html-void-elements-1.0.5.tgz", - "integrity": "sha512-uE/TxKuyNIcx44cIWnjr/rfIATDH7ZaOMmstu0CwhFG1Dunhlp4OC6/NMbhiwoq5BpW0ubi303qnEk/PZj614w==", - "dev": true, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/html-webpack-plugin": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-5.5.0.tgz", - "integrity": "sha512-sy88PC2cRTVxvETRgUHFrL4No3UxvcH8G1NepGhqaTT+GXN2kTamqasot0inS5hXeg1cMbFDt27zzo9p35lZVw==", - "dev": true, - "dependencies": { - "@types/html-minifier-terser": "^6.0.0", - "html-minifier-terser": "^6.0.2", - "lodash": "^4.17.21", - "pretty-error": "^4.0.0", - "tapable": "^2.0.0" - }, - "engines": { - "node": ">=10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/html-webpack-plugin" - }, - "peerDependencies": { - "webpack": "^5.20.0" - } - }, - "node_modules/html-webpack-plugin/node_modules/tapable": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", - "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/htmlparser2": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-6.1.0.tgz", - "integrity": "sha512-gyyPk6rgonLFEDGoeRgQNaEUvdJ4ktTmmUh/h2t7s+M8oPpIPxgNACWa+6ESR57kXstwqPiCut0V8NRpcwgU7A==", - "dev": true, - "funding": [ - "https://github.com/fb55/htmlparser2?sponsor=1", - { - "type": "github", - "url": "https://github.com/sponsors/fb55" - } - ], - "dependencies": { - "domelementtype": "^2.0.1", - "domhandler": "^4.0.0", - "domutils": "^2.5.2", - "entities": "^2.0.0" - } - }, - "node_modules/http-deceiver": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz", - "integrity": "sha1-+nFolEq5pRnTN8sL7HKE3D5yPYc=", - "dev": true, - "license": "MIT" - }, - "node_modules/http-errors": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", - "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", - "dev": true, - "dependencies": { - "depd": "2.0.0", - "inherits": "2.0.4", - "setprototypeof": "1.2.0", - "statuses": "2.0.1", - "toidentifier": "1.0.1" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/http-errors/node_modules/depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", - "dev": true, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/http-errors/node_modules/statuses": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", - "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", - "dev": true, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/http-parser-js": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.5.3.tgz", - "integrity": "sha512-t7hjvef/5HEK7RWTdUzVUhl8zkEu+LlaE0IYzdMuvbSDipxBRpOn4Uhw8ZyECEa808iVT8XCjzo6xmYt4CiLZg==", - "dev": true, - "license": "MIT" - }, - "node_modules/http-proxy": { - "version": "1.18.1", - "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.1.tgz", - "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==", - "dev": true, - "dependencies": { - "eventemitter3": "^4.0.0", - "follow-redirects": "^1.0.0", - "requires-port": "^1.0.0" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/http-proxy-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", - "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", - "dev": true, - "dependencies": { - "@tootallnate/once": "2", - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/http-proxy-agent/node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/http-proxy-agent/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "node_modules/http-proxy-middleware": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.6.tgz", - "integrity": "sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw==", - "dev": true, - "dependencies": { - "@types/http-proxy": "^1.17.8", - "http-proxy": "^1.18.1", - "is-glob": "^4.0.1", - "is-plain-obj": "^3.0.0", - "micromatch": "^4.0.2" - }, - "engines": { - "node": ">=12.0.0" - }, - "peerDependencies": { - "@types/express": "^4.17.13" - }, - "peerDependenciesMeta": { - "@types/express": { - "optional": true - } - } - }, - "node_modules/http-proxy-middleware/node_modules/is-plain-obj": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz", - "integrity": "sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/https-browserify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", - "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=", - "dev": true - }, - "node_modules/https-proxy-agent": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", - "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", - "dev": true, - "dependencies": { - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/https-proxy-agent/node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/https-proxy-agent/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "node_modules/human-signals": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": ">=10.17.0" - } - }, - "node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dev": true, - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/icss-utils": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-4.1.1.tgz", - "integrity": "sha512-4aFq7wvWyMHKgxsH8QQtGpvbASCf+eM3wPRLI6R+MgAnTCZ6STYsRvttLvRWK0Nfif5piF394St3HeJDaljGPA==", - "dev": true, - "dependencies": { - "postcss": "^7.0.14" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/iferr": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/iferr/-/iferr-0.1.5.tgz", - "integrity": "sha1-xg7taebY/bazEEofy8ocGS3FtQE=", - "dev": true, - "license": "MIT" - }, - "node_modules/ignore": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", - "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, - "node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/import-fresh/node_modules/resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "engines": { - "node": ">=4" - } - }, - "node_modules/imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.8.19" - } - }, - "node_modules/indent-string": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", - "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", - "dev": true, - "optional": true, - "dependencies": { - "repeating": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/infer-owner": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz", - "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==", - "dev": true - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dev": true, - "license": "ISC", - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/inline-style-parser": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.1.1.tgz", - "integrity": "sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q==", - "dev": true - }, - "node_modules/internal-slot": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", - "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", - "dev": true, - "dependencies": { - "get-intrinsic": "^1.1.0", - "has": "^1.0.3", - "side-channel": "^1.0.4" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/interpret": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/interpret/-/interpret-2.2.0.tgz", - "integrity": "sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/ip": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.8.tgz", - "integrity": "sha512-PuExPYUiu6qMBQb4l06ecm6T6ujzhmh+MeJcW9wa89PoAz5pvd4zPgN5WJV104mb6S2T1AwNIAaB70JNrLQWhg==", - "dev": true - }, - "node_modules/ipaddr.js": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.0.1.tgz", - "integrity": "sha512-1qTgH9NG+IIJ4yfKs2e6Pp1bZg8wbDbKHT21HrLIeYBTRLgMYKnMTPAuI3Lcs61nfx5h1xlXnbJtH1kX5/d/ng==", - "dev": true, - "engines": { - "node": ">= 10" - } - }, - "node_modules/is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, - "dependencies": { - "kind-of": "^6.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-alphabetical": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-1.0.4.tgz", - "integrity": "sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/is-alphanumerical": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-1.0.4.tgz", - "integrity": "sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==", - "dependencies": { - "is-alphabetical": "^1.0.0", - "is-decimal": "^1.0.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/is-arguments": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", - "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" - }, - "node_modules/is-bigint": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", - "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", - "dev": true, - "dependencies": { - "has-bigints": "^1.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dev": true, - "dependencies": { - "binary-extensions": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-boolean-object": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", - "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-buffer": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", - "dev": true - }, - "node_modules/is-callable": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", - "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-core-module": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.4.0.tgz", - "integrity": "sha512-6A2fkfq1rfeQZjxrZJGerpLCTHRNEBiSgnu0+obeJpEPZRUooHgsizvzv0ZjJwOz3iWIHdJtVWJ/tmPr3D21/A==", - "license": "MIT", - "dependencies": { - "has": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, - "dependencies": { - "kind-of": "^6.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-date-object": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", - "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", - "dev": true, - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-decimal": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-1.0.4.tgz", - "integrity": "sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, - "dependencies": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-docker": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", - "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", - "dev": true, - "bin": { - "is-docker": "cli.js" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dev": true, - "dependencies": { - "is-plain-object": "^2.0.4" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-finite": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", - "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.10.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-function": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-function/-/is-function-1.0.2.tgz", - "integrity": "sha512-lw7DUp0aWXYg+CBCN+JKkcE0Q2RayZnSvnZBlwgxHBQhqt5pZNVy4Ri7H9GmmXkdu7LUthszM+Tor1u/2iBcpQ==", - "dev": true - }, - "node_modules/is-glob": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", - "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-hexadecimal": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz", - "integrity": "sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/is-map": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.2.tgz", - "integrity": "sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-negative-zero": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", - "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-number-object": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", - "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", - "dev": true, - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-path-cwd": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-2.2.0.tgz", - "integrity": "sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/is-path-in-cwd": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-2.1.0.tgz", - "integrity": "sha512-rNocXHgipO+rvnP6dk3zI20RpOtrAM/kzbB258Uw5BWr3TpXi861yzjo16Dn4hUox07iw5AyeMLHWsujkjzvRQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-path-inside": "^2.1.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/is-path-inside": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-2.1.0.tgz", - "integrity": "sha512-wiyhTzfDWsvwAW53OBWF5zuvaOGlZ6PwYxAbPVDhpm+gM09xKQGjBq/8uYN12aDvMxnAnq3dxTyoSoRNmg5YFg==", - "dev": true, - "license": "MIT", - "dependencies": { - "path-is-inside": "^1.0.2" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/is-plain-obj": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", - "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dev": true, - "license": "MIT", - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-potential-custom-element-name": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", - "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/is-regex": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", - "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-set": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.2.tgz", - "integrity": "sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-shared-array-buffer": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", - "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", - "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-string": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", - "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", - "dev": true, - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-symbol": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", - "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", - "dev": true, - "dependencies": { - "has-symbols": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-utf8": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", - "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", - "dev": true, - "optional": true - }, - "node_modules/is-weakref": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", - "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-whitespace-character": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-whitespace-character/-/is-whitespace-character-1.0.4.tgz", - "integrity": "sha512-SDweEzfIZM0SJV0EUga669UTKlmL0Pq8Lno0QDQsPnvECB3IM2aP0gdx5TrU0A01MAPfViaZiI2V1QMZLaKK5w==", - "dev": true, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/is-windows": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", - "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-word-character": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-word-character/-/is-word-character-1.0.4.tgz", - "integrity": "sha512-5SMO8RVennx3nZrqtKwCGyyetPE9VDba5ugvKLaD4KopPG5kR4mQ7tNt/r7feL5yt5h3lpuBbIUmCOG2eSzXHA==", - "dev": true, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/is-wsl": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", - "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", - "dev": true, - "dependencies": { - "is-docker": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", - "dev": true, - "license": "MIT" - }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", - "dev": true, - "license": "ISC" - }, - "node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/isomorphic-unfetch": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/isomorphic-unfetch/-/isomorphic-unfetch-3.1.0.tgz", - "integrity": "sha512-geDJjpoZ8N0kWexiwkX8F9NkTsXhetLPVbZFQ+JTW239QNOwvB0gniuR1Wc6f0AMTn7/mFGyXvHTifrCp/GH8Q==", - "dev": true, - "dependencies": { - "node-fetch": "^2.6.1", - "unfetch": "^4.2.0" - } - }, - "node_modules/istanbul-lib-coverage": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz", - "integrity": "sha512-UiUIqxMgRDET6eR+o5HbfRYP1l0hqkWOs7vNxC/mggutCMUIhWMm8gAHb8tHlyfD3/l6rlgNA5cKdDzEAf6hEg==", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=8" - } - }, - "node_modules/istanbul-lib-report": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", - "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "istanbul-lib-coverage": "^3.0.0", - "make-dir": "^3.0.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/istanbul-reports": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.0.2.tgz", - "integrity": "sha512-9tZvz7AiR3PEDNGiV9vIouQ/EAcqMXFmkcA1CDFTwOB98OZVDL0PH9glHotf5Ugp6GCOTypfzGWI/OqjWNCRUw==", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "html-escaper": "^2.0.0", - "istanbul-lib-report": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/iterate-iterator": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/iterate-iterator/-/iterate-iterator-1.0.2.tgz", - "integrity": "sha512-t91HubM4ZDQ70M9wqp+pcNpu8OyJ9UAtXntT/Bcsvp5tZMnz9vRa+IunKXeI8AnfZMTv0jNuVEmGeLSMjVvfPw==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/iterate-value": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/iterate-value/-/iterate-value-1.0.2.tgz", - "integrity": "sha512-A6fMAio4D2ot2r/TYzr4yUWrmwNdsN5xL7+HUiyACE4DXm+q8HtPcnFTp+NnW3k4N05tZ7FVYFFb2CR13NxyHQ==", - "dev": true, - "dependencies": { - "es-get-iterator": "^1.0.2", - "iterate-iterator": "^1.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/jest-worker": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", - "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", - "dev": true, - "dependencies": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" - }, - "engines": { - "node": ">= 10.13.0" - } - }, - "node_modules/jest-worker/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-worker/node_modules/supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" - } - }, - "node_modules/js-string-escape": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/js-string-escape/-/js-string-escape-1.0.1.tgz", - "integrity": "sha1-4mJbrbwNZ8dTPp7cEGjFh65BN+8=", - "dev": true, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "license": "MIT" - }, - "node_modules/jsdom": { - "version": "19.0.0", - "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-19.0.0.tgz", - "integrity": "sha512-RYAyjCbxy/vri/CfnjUWJQQtZ3LKlLnDqj+9XLNnJPgEGeirZs3hllKR20re8LUZ6o1b1X4Jat+Qd26zmP41+A==", - "dev": true, - "dependencies": { - "abab": "^2.0.5", - "acorn": "^8.5.0", - "acorn-globals": "^6.0.0", - "cssom": "^0.5.0", - "cssstyle": "^2.3.0", - "data-urls": "^3.0.1", - "decimal.js": "^10.3.1", - "domexception": "^4.0.0", - "escodegen": "^2.0.0", - "form-data": "^4.0.0", - "html-encoding-sniffer": "^3.0.0", - "http-proxy-agent": "^5.0.0", - "https-proxy-agent": "^5.0.0", - "is-potential-custom-element-name": "^1.0.1", - "nwsapi": "^2.2.0", - "parse5": "6.0.1", - "saxes": "^5.0.1", - "symbol-tree": "^3.2.4", - "tough-cookie": "^4.0.0", - "w3c-hr-time": "^1.0.2", - "w3c-xmlserializer": "^3.0.0", - "webidl-conversions": "^7.0.0", - "whatwg-encoding": "^2.0.0", - "whatwg-mimetype": "^3.0.0", - "whatwg-url": "^10.0.0", - "ws": "^8.2.3", - "xml-name-validator": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "peerDependencies": { - "canvas": "^2.5.0" - }, - "peerDependenciesMeta": { - "canvas": { - "optional": true - } - } - }, - "node_modules/jsdom-global": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/jsdom-global/-/jsdom-global-3.0.2.tgz", - "integrity": "sha1-a9KZwTsMRiay2iwDk81DhdYGrLk=", - "dev": true, - "license": "MIT", - "peerDependencies": { - "jsdom": ">=10.0.0" - } - }, - "node_modules/jsdom/node_modules/acorn": { - "version": "8.7.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", - "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", - "dev": true, - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/jsdom/node_modules/form-data": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", - "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", - "dev": true, - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/jsdom/node_modules/tough-cookie": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.0.0.tgz", - "integrity": "sha512-tHdtEpQCMrc1YLrMaqXXcj6AxhYi/xgit6mZu1+EDWUn+qhUf8wMQoFIy9NXuq23zAwtcB0t/MjACGR18pcRbg==", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "psl": "^1.1.33", - "punycode": "^2.1.1", - "universalify": "^0.1.2" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/jsdom/node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", - "license": "MIT", - "bin": { - "jsesc": "bin/jsesc" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/json-parse-better-errors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", - "dev": true - }, - "node_modules/json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" - }, - "node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true, - "license": "MIT" - }, - "node_modules/json3": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/json3/-/json3-3.3.3.tgz", - "integrity": "sha512-c7/8mbUsKigAbLkD5B010BK4D9LZm7A1pNItkEwiUZRpIN66exu/e7YQWysGun+TRKaJp8MhemM+VkfWv42aCA==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true - }, - "node_modules/json5": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", - "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==", - "bin": { - "json5": "lib/cli.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "dependencies": { - "universalify": "^2.0.0" - }, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/junk": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/junk/-/junk-3.1.0.tgz", - "integrity": "sha512-pBxcB3LFc8QVgdggvZWyeys+hnrNWg4OcZIU/1X59k5jQdLBlCsYGRQaz234SqoRLTCgMH00fY0xRJH+F9METQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/kleur": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", - "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/klona": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/klona/-/klona-2.0.5.tgz", - "integrity": "sha512-pJiBpiXMbt7dkzXe8Ghj/u4FfXOOa98fPW+bihOJ4SjnoijweJrNThJfd3ifXpXhREjpoF2mZVH1GfS9LV3kHQ==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, - "node_modules/lazy-universal-dotenv": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/lazy-universal-dotenv/-/lazy-universal-dotenv-3.0.1.tgz", - "integrity": "sha512-prXSYk799h3GY3iOWnC6ZigYzMPjxN2svgjJ9shk7oMadSNX3wXy0B6F32PMJv7qtMnrIbUxoEHzbutvxR2LBQ==", - "dev": true, - "dependencies": { - "@babel/runtime": "^7.5.0", - "app-root-dir": "^1.0.2", - "core-js": "^3.0.4", - "dotenv": "^8.0.0", - "dotenv-expand": "^5.1.0" - }, - "engines": { - "node": ">=6.0.0", - "npm": ">=6.0.0", - "yarn": ">=1.0.0" - } - }, - "node_modules/levn": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", - "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", - "dev": true, - "license": "MIT", - "dependencies": { - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/lines-and-columns": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", - "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=" - }, - "node_modules/load-json-file": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", - "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", - "dev": true, - "optional": true, - "dependencies": { - "graceful-fs": "^4.1.2", - "parse-json": "^2.2.0", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0", - "strip-bom": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/load-json-file/node_modules/parse-json": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", - "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", - "dev": true, - "optional": true, - "dependencies": { - "error-ex": "^1.2.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/load-json-file/node_modules/pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/loader-runner": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", - "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", - "dev": true, - "engines": { - "node": ">=6.11.5" - } - }, - "node_modules/loader-utils": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.0.tgz", - "integrity": "sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^2.1.2" - }, - "engines": { - "node": ">=8.9.0" - } - }, - "node_modules/locate-path": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", - "dev": true, - "license": "MIT", - "dependencies": { - "p-locate": "^5.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true, - "license": "MIT" - }, - "node_modules/lodash.debounce": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", - "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=", - "dev": true - }, - "node_modules/lodash.sortby": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", - "integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=", - "dev": true, - "license": "MIT" - }, - "node_modules/lodash.uniq": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", - "integrity": "sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=", - "dev": true - }, - "node_modules/loose-envify": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", - "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", - "license": "MIT", - "dependencies": { - "js-tokens": "^3.0.0 || ^4.0.0" - }, - "bin": { - "loose-envify": "cli.js" - } - }, - "node_modules/loud-rejection": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", - "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", - "dev": true, - "optional": true, - "dependencies": { - "currently-unhandled": "^0.4.1", - "signal-exit": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/lower-case": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz", - "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==", - "dev": true, - "dependencies": { - "tslib": "^2.0.3" - } - }, - "node_modules/lowlight": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/lowlight/-/lowlight-1.20.0.tgz", - "integrity": "sha512-8Ktj+prEb1RoCPkEOrPMYUN/nCggB7qAWe3a7OpMjWQkh3l2RD5wKRQ+o8Q8YuI9RG/xs95waaI/E6ym/7NsTw==", - "license": "MIT", - "dependencies": { - "fault": "^1.0.0", - "highlight.js": "~10.7.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/lru-cache": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", - "dev": true, - "license": "ISC", - "dependencies": { - "yallist": "^3.0.2" - } - }, - "node_modules/lru-cache/node_modules/yallist": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", - "dev": true, - "license": "ISC" - }, - "node_modules/lz-string": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/lz-string/-/lz-string-1.4.4.tgz", - "integrity": "sha1-wNjq82BZ9wV5bh40SBHPTEmNOiY=", - "dev": true, - "license": "WTFPL", - "bin": { - "lz-string": "bin/bin.js" - } - }, - "node_modules/make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "dev": true, - "license": "MIT", - "dependencies": { - "semver": "^6.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/map-age-cleaner": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz", - "integrity": "sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w==", - "dev": true, - "dependencies": { - "p-defer": "^1.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/map-cache": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", - "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/map-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/map-or-similar": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/map-or-similar/-/map-or-similar-1.5.0.tgz", - "integrity": "sha1-beJlMXSt+12e3DPGnT6Sobdvrwg=", - "dev": true - }, - "node_modules/map-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", - "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", - "dev": true, - "dependencies": { - "object-visit": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/markdown-escapes": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/markdown-escapes/-/markdown-escapes-1.0.4.tgz", - "integrity": "sha512-8z4efJYk43E0upd0NbVXwgSTQs6cT3T06etieCMEg7dRbzCbxUCK/GHlX8mhHRDcp+OLlHkPKsvqQTCvsRl2cg==", - "dev": true, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/md5.js": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", - "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", - "dev": true, - "dependencies": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1", - "safe-buffer": "^5.1.2" - } - }, - "node_modules/mdast-squeeze-paragraphs": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mdast-squeeze-paragraphs/-/mdast-squeeze-paragraphs-4.0.0.tgz", - "integrity": "sha512-zxdPn69hkQ1rm4J+2Cs2j6wDEv7O17TfXTJ33tl/+JPIoEmtV9t2ZzBM5LPHE8QlHsmVD8t3vPKCyY3oH+H8MQ==", - "dev": true, - "dependencies": { - "unist-util-remove": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/mdast-util-definitions": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mdast-util-definitions/-/mdast-util-definitions-4.0.0.tgz", - "integrity": "sha512-k8AJ6aNnUkB7IE+5azR9h81O5EQ/cTDXtWdMq9Kk5KcEW/8ritU5CeLg/9HhOC++nALHBlaogJ5jz0Ybk3kPMQ==", - "dev": true, - "dependencies": { - "unist-util-visit": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/mdast-util-to-hast": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-10.0.1.tgz", - "integrity": "sha512-BW3LM9SEMnjf4HXXVApZMt8gLQWVNXc3jryK0nJu/rOXPOnlkUjmdkDlmxMirpbU9ILncGFIwLH/ubnWBbcdgA==", - "dev": true, - "dependencies": { - "@types/mdast": "^3.0.0", - "@types/unist": "^2.0.0", - "mdast-util-definitions": "^4.0.0", - "mdurl": "^1.0.0", - "unist-builder": "^2.0.0", - "unist-util-generated": "^1.0.0", - "unist-util-position": "^3.0.0", - "unist-util-visit": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/mdurl": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", - "integrity": "sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=", - "dev": true - }, - "node_modules/media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", - "dev": true, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mem": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/mem/-/mem-8.1.1.tgz", - "integrity": "sha512-qFCFUDs7U3b8mBDPyz5EToEKoAkgCzqquIgi9nkkR9bixxOVOre+09lbuH7+9Kn2NFpm56M3GUWVbU2hQgdACA==", - "dev": true, - "dependencies": { - "map-age-cleaner": "^0.1.3", - "mimic-fn": "^3.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/mem?sponsor=1" - } - }, - "node_modules/mem/node_modules/mimic-fn": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-3.1.0.tgz", - "integrity": "sha512-Ysbi9uYW9hFyfrThdDEQuykN4Ey6BuwPD2kpI5ES/nFTDn/98yxYNLZJcgUAKPT/mcrLLKaGzJR9YVxJrIdASQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/memfs": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.4.3.tgz", - "integrity": "sha512-eivjfi7Ahr6eQTn44nvTnR60e4a1Fs1Via2kCR5lHo/kyNoiMWaXCNJ/GpSd0ilXas2JSOl9B5FTIhflXu0hlg==", - "dev": true, - "dependencies": { - "fs-monkey": "1.0.3" - }, - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/memoizerific": { - "version": "1.11.3", - "resolved": "https://registry.npmjs.org/memoizerific/-/memoizerific-1.11.3.tgz", - "integrity": "sha1-fIekZGREwy11Q4VwkF8tvRsagFo=", - "dev": true, - "dependencies": { - "map-or-similar": "^1.5.0" - } - }, - "node_modules/memory-fs": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz", - "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=", - "dev": true, - "dependencies": { - "errno": "^0.1.3", - "readable-stream": "^2.0.1" - } - }, - "node_modules/meow": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", - "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", - "dev": true, - "optional": true, - "dependencies": { - "camelcase-keys": "^2.0.0", - "decamelize": "^1.1.2", - "loud-rejection": "^1.0.0", - "map-obj": "^1.0.1", - "minimist": "^1.1.3", - "normalize-package-data": "^2.3.4", - "object-assign": "^4.0.1", - "read-pkg-up": "^1.0.1", - "redent": "^1.0.0", - "trim-newlines": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/meow/node_modules/find-up": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", - "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", - "dev": true, - "optional": true, - "dependencies": { - "path-exists": "^2.0.0", - "pinkie-promise": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/meow/node_modules/path-exists": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", - "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", - "dev": true, - "optional": true, - "dependencies": { - "pinkie-promise": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/meow/node_modules/path-type": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", - "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", - "dev": true, - "optional": true, - "dependencies": { - "graceful-fs": "^4.1.2", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/meow/node_modules/pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/meow/node_modules/read-pkg": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", - "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", - "dev": true, - "optional": true, - "dependencies": { - "load-json-file": "^1.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/meow/node_modules/read-pkg-up": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", - "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", - "dev": true, - "optional": true, - "dependencies": { - "find-up": "^1.0.0", - "read-pkg": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=", - "dev": true, - "license": "MIT" - }, - "node_modules/merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true, - "license": "MIT" - }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, - "node_modules/methods": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/microevent.ts": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/microevent.ts/-/microevent.ts-0.1.1.tgz", - "integrity": "sha512-jo1OfR4TaEwd5HOrt5+tAZ9mqT4jmpNAusXtyfNzqVm9uiSYFZlKM1wYL4oU7azZW/PxQW53wM0S6OR1JHNa2g==", - "dev": true - }, - "node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", - "dev": true, - "dependencies": { - "braces": "^3.0.2", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/miller-rabin": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", - "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", - "dev": true, - "dependencies": { - "bn.js": "^4.0.0", - "brorand": "^1.0.1" - }, - "bin": { - "miller-rabin": "bin/miller-rabin" - } - }, - "node_modules/miller-rabin/node_modules/bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "dev": true - }, - "node_modules/mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", - "dev": true, - "bin": { - "mime": "cli.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "dev": true, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "dev": true, - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/min-document": { - "version": "2.19.0", - "resolved": "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz", - "integrity": "sha1-e9KC4/WELtKVu3SM3Z8f+iyCRoU=", - "dev": true, - "dependencies": { - "dom-walk": "^0.1.0" - } - }, - "node_modules/min-indent": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", - "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/minimalistic-assert": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", - "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", - "dev": true, - "license": "ISC" - }, - "node_modules/minimalistic-crypto-utils": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", - "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=", - "dev": true - }, - "node_modules/minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/minimist": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", - "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", - "dev": true - }, - "node_modules/minipass": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.6.tgz", - "integrity": "sha512-rty5kpw9/z8SX9dmxblFA6edItUmwJgMeYDZRrwlIVN27i8gysGbznJwUggw2V/FVqFSDdWy040ZPS811DYAqQ==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/minipass-collect": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz", - "integrity": "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==", - "dev": true, - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/minipass-flush": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz", - "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==", - "dev": true, - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/minipass-pipeline": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz", - "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==", - "dev": true, - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/minizlib": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", - "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", - "dev": true, - "dependencies": { - "minipass": "^3.0.0", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/mississippi": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-3.0.0.tgz", - "integrity": "sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA==", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "concat-stream": "^1.5.0", - "duplexify": "^3.4.2", - "end-of-stream": "^1.1.0", - "flush-write-stream": "^1.0.0", - "from2": "^2.1.0", - "parallel-transform": "^1.1.0", - "pump": "^3.0.0", - "pumpify": "^1.3.3", - "stream-each": "^1.1.0", - "through2": "^2.0.0" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/mixin-deep": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", - "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", - "dev": true, - "dependencies": { - "for-in": "^1.0.2", - "is-extendable": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/mkdirp": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", - "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "minimist": "^1.2.5" - }, - "bin": { - "mkdirp": "bin/cmd.js" - } - }, - "node_modules/move-concurrently": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz", - "integrity": "sha1-viwAX9oy4LKa8fBdfEszIUxwH5I=", - "dev": true, - "license": "ISC", - "dependencies": { - "aproba": "^1.1.1", - "copy-concurrently": "^1.0.0", - "fs-write-stream-atomic": "^1.0.8", - "mkdirp": "^0.5.1", - "rimraf": "^2.5.4", - "run-queue": "^1.0.3" - } - }, - "node_modules/move-concurrently/node_modules/rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "dev": true, - "license": "ISC", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - } - }, - "node_modules/ms": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", - "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", - "dev": true - }, - "node_modules/multicast-dns": { - "version": "7.2.5", - "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-7.2.5.tgz", - "integrity": "sha512-2eznPJP8z2BFLX50tf0LuODrpINqP1RVIm/CObbTcBRITQgmC/TjcREF1NeTBzIcR5XO/ukWo+YHOjBbFwIupg==", - "dev": true, - "dependencies": { - "dns-packet": "^5.2.2", - "thunky": "^1.0.2" - }, - "bin": { - "multicast-dns": "cli.js" - } - }, - "node_modules/nan": { - "version": "2.15.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz", - "integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==", - "dev": true, - "optional": true - }, - "node_modules/nanoid": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", - "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", - "dev": true, - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, - "node_modules/nanomatch": { - "version": "1.2.13", - "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", - "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", - "dev": true, - "dependencies": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "fragment-cache": "^0.2.1", - "is-windows": "^1.0.2", - "kind-of": "^6.0.2", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/negotiator": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", - "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", - "dev": true, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/neo-async": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", - "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", - "dev": true, - "license": "MIT" - }, - "node_modules/nested-error-stacks": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/nested-error-stacks/-/nested-error-stacks-2.1.1.tgz", - "integrity": "sha512-9iN1ka/9zmX1ZvLV9ewJYEk9h7RyRRtqdK0woXcqohu8EWIerfPUjYJPg0ULy0UqP7cslmdGc8xKDJcojlKiaw==", - "dev": true - }, - "node_modules/no-case": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz", - "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==", - "dev": true, - "dependencies": { - "lower-case": "^2.0.2", - "tslib": "^2.0.3" - } - }, - "node_modules/node-dir": { - "version": "0.1.17", - "resolved": "https://registry.npmjs.org/node-dir/-/node-dir-0.1.17.tgz", - "integrity": "sha1-X1Zl2TNRM1yqvvjxxVRRbPXx5OU=", - "dev": true, - "license": "MIT", - "dependencies": { - "minimatch": "^3.0.2" - }, - "engines": { - "node": ">= 0.10.5" - } - }, - "node_modules/node-fetch": { - "version": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", - "dev": true, - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } - } - }, - "node_modules/node-fetch/node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=", - "dev": true - }, - "node_modules/node-fetch/node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=", - "dev": true - }, - "node_modules/node-fetch/node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", - "dev": true, - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, - "node_modules/node-forge": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.1.tgz", - "integrity": "sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==", - "dev": true, - "engines": { - "node": ">= 6.13.0" - } - }, - "node_modules/node-libs-browser": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.2.1.tgz", - "integrity": "sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q==", - "dev": true, - "dependencies": { - "assert": "^1.1.1", - "browserify-zlib": "^0.2.0", - "buffer": "^4.3.0", - "console-browserify": "^1.1.0", - "constants-browserify": "^1.0.0", - "crypto-browserify": "^3.11.0", - "domain-browser": "^1.1.1", - "events": "^3.0.0", - "https-browserify": "^1.0.0", - "os-browserify": "^0.3.0", - "path-browserify": "0.0.1", - "process": "^0.11.10", - "punycode": "^1.2.4", - "querystring-es3": "^0.2.0", - "readable-stream": "^2.3.3", - "stream-browserify": "^2.0.1", - "stream-http": "^2.7.2", - "string_decoder": "^1.0.0", - "timers-browserify": "^2.0.4", - "tty-browserify": "0.0.0", - "url": "^0.11.0", - "util": "^0.11.0", - "vm-browserify": "^1.0.1" - } - }, - "node_modules/node-libs-browser/node_modules/path-browserify": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.1.tgz", - "integrity": "sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==", - "dev": true - }, - "node_modules/node-libs-browser/node_modules/punycode": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", - "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", - "dev": true - }, - "node_modules/node-releases": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.4.tgz", - "integrity": "sha512-gbMzqQtTtDz/00jQzZ21PQzdI9PyLYqUSvD0p3naOhX4odFji0ZxYdnVwPTxmSwkmxhcFImpozceidSG+AgoPQ==" - }, - "node_modules/normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "dev": true, - "dependencies": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - } - }, - "node_modules/normalize-package-data/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/normalize-range": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", - "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/npm-run-path": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", - "dev": true, - "license": "MIT", - "dependencies": { - "path-key": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/npmlog": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz", - "integrity": "sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==", - "dev": true, - "dependencies": { - "are-we-there-yet": "^2.0.0", - "console-control-strings": "^1.1.0", - "gauge": "^3.0.0", - "set-blocking": "^2.0.0" - } - }, - "node_modules/nth-check": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.0.1.tgz", - "integrity": "sha512-it1vE95zF6dTT9lBsYbxvqh0Soy4SPowchj0UBGj/V6cTPnXXtQOPUbhZ6CmGzAD/rW22LQK6E96pcdJXk4A4w==", - "dev": true, - "dependencies": { - "boolbase": "^1.0.0" - }, - "funding": { - "url": "https://github.com/fb55/nth-check?sponsor=1" - } - }, - "node_modules/num2fraction": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz", - "integrity": "sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=", - "dev": true - }, - "node_modules/nwsapi": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.0.tgz", - "integrity": "sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", - "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", - "dev": true, - "dependencies": { - "copy-descriptor": "^0.1.0", - "define-property": "^0.2.5", - "kind-of": "^3.0.3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/is-descriptor/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-inspect": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.1.tgz", - "integrity": "sha512-Y/jF6vnvEtOPGiKD1+q+X0CiUYRQtEHp89MLLUJ7TUivtH8Ugn2+3A7Rynqk7BRsAoqeOQWnFnjpDrKSxDgIGA==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/object-visit": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", - "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", - "dev": true, - "dependencies": { - "isobject": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object.assign": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", - "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "has-symbols": "^1.0.1", - "object-keys": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object.entries": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.5.tgz", - "integrity": "sha512-TyxmjUoZggd4OrrU1W66FMDG6CuqJxsFvymeyXI51+vQLN67zYfZseptRge703kKQdo4uccgAKebXFcRCzk4+g==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/object.fromentries": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.5.tgz", - "integrity": "sha512-CAyG5mWQRRiBU57Re4FKoTBjXfDoNwdFVH2Y1tS9PqCsfUTymAohOkEMSG3aRNKmv4lV3O7p1et7c187q6bynw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object.getownpropertydescriptors": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.4.tgz", - "integrity": "sha512-sccv3L/pMModT6dJAYF3fzGMVcb38ysQ0tEE6ixv2yXJDtEIPph268OlAdJj5/qZMZDq2g/jqvwppt36uS/uQQ==", - "dev": true, - "dependencies": { - "array.prototype.reduce": "^1.0.4", - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.1" - }, - "engines": { - "node": ">= 0.8" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object.pick": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", - "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", - "dev": true, - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object.values": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.5.tgz", - "integrity": "sha512-QUZRW0ilQ3PnPpbNtgdNV1PDbEqLIiSFB3l+EnGtBQ/8SUTLj1PZwtQHABZtLgwpJZTSZhuGLOGk57Drx2IvYg==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/objectorarray": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/objectorarray/-/objectorarray-1.0.5.tgz", - "integrity": "sha512-eJJDYkhJFFbBBAxeh8xW+weHlkI28n2ZdQV/J/DNfWfSKlGEf2xcfAbZTv3riEXHAhL9SVOTs2pRmXiSTf78xg==", - "dev": true - }, - "node_modules/obuf": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.2.tgz", - "integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==", - "dev": true, - "license": "MIT" - }, - "node_modules/on-finished": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", - "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", - "dev": true, - "dependencies": { - "ee-first": "1.1.1" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/on-headers": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", - "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dev": true, - "license": "ISC", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dev": true, - "license": "MIT", - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/open": { - "version": "8.4.0", - "resolved": "https://registry.npmjs.org/open/-/open-8.4.0.tgz", - "integrity": "sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==", - "dev": true, - "dependencies": { - "define-lazy-prop": "^2.0.0", - "is-docker": "^2.1.1", - "is-wsl": "^2.2.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/optionator": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", - "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", - "dev": true, - "license": "MIT", - "dependencies": { - "deep-is": "~0.1.3", - "fast-levenshtein": "~2.0.6", - "levn": "~0.3.0", - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2", - "word-wrap": "~1.2.3" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/original": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/original/-/original-1.0.2.tgz", - "integrity": "sha512-hyBVl6iqqUOJ8FqRe+l/gS8H+kKYjrEndd5Pm1MfBtsEKA038HkkdbAl/72EAXGyonD/PFsvmVG+EvcIpliMBg==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "url-parse": "^1.4.3" - } - }, - "node_modules/os-browserify": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz", - "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=", - "dev": true - }, - "node_modules/os-homedir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", - "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/p-all": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-all/-/p-all-2.1.0.tgz", - "integrity": "sha512-HbZxz5FONzz/z2gJfk6bFca0BCiSRF8jU3yCsWOen/vR6lZjfPOu/e7L3uFzTW1i0H8TlC3vqQstEJPQL4/uLA==", - "dev": true, - "dependencies": { - "p-map": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/p-defer": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz", - "integrity": "sha1-n26xgvbJqozXQwBKfU+WsZaw+ww=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/p-event": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/p-event/-/p-event-4.2.0.tgz", - "integrity": "sha512-KXatOjCRXXkSePPb1Nbi0p0m+gQAwdlbhi4wQKJPI1HsMQS9g+Sqp2o+QHziPr7eYJyOZet836KoHEVM1mwOrQ==", - "dev": true, - "dependencies": { - "p-timeout": "^3.1.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-filter": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-filter/-/p-filter-2.1.0.tgz", - "integrity": "sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw==", - "dev": true, - "dependencies": { - "p-map": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/p-finally": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "license": "MIT", - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-locate": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", - "dev": true, - "license": "MIT", - "dependencies": { - "p-limit": "^3.0.2" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-locate/node_modules/p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "yocto-queue": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-map": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", - "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/p-retry": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-4.6.2.tgz", - "integrity": "sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==", - "dev": true, - "dependencies": { - "@types/retry": "0.12.0", - "retry": "^0.13.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/p-timeout": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz", - "integrity": "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==", - "dev": true, - "dependencies": { - "p-finally": "^1.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/pako": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", - "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", - "dev": true - }, - "node_modules/parallel-transform": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/parallel-transform/-/parallel-transform-1.2.0.tgz", - "integrity": "sha512-P2vSmIu38uIlvdcU7fDkyrxj33gTUy/ABO5ZUbGowxNCopBq/OoD42bP4UmMrJoPyk4Uqf0mu3mtWBhHCZD8yg==", - "dev": true, - "license": "MIT", - "dependencies": { - "cyclist": "^1.0.1", - "inherits": "^2.0.3", - "readable-stream": "^2.1.5" - } - }, - "node_modules/param-case": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/param-case/-/param-case-3.0.4.tgz", - "integrity": "sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==", - "dev": true, - "dependencies": { - "dot-case": "^3.0.4", - "tslib": "^2.0.3" - } - }, - "node_modules/parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "dependencies": { - "callsites": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/parse-asn1": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", - "integrity": "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==", - "dev": true, - "dependencies": { - "asn1.js": "^5.2.0", - "browserify-aes": "^1.0.0", - "evp_bytestokey": "^1.0.0", - "pbkdf2": "^3.0.3", - "safe-buffer": "^5.1.1" - } - }, - "node_modules/parse-entities": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-2.0.0.tgz", - "integrity": "sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==", - "dependencies": { - "character-entities": "^1.0.0", - "character-entities-legacy": "^1.0.0", - "character-reference-invalid": "^1.0.0", - "is-alphanumerical": "^1.0.0", - "is-decimal": "^1.0.0", - "is-hexadecimal": "^1.0.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/parse-json": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", - "dependencies": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/parse5": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", - "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", - "dev": true, - "license": "MIT" - }, - "node_modules/parseurl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/pascal-case": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz", - "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==", - "dev": true, - "dependencies": { - "no-case": "^3.0.4", - "tslib": "^2.0.3" - } - }, - "node_modules/pascalcase": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", - "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-browserify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", - "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==", - "dev": true - }, - "node_modules/path-dirname": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", - "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=", - "dev": true - }, - "node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-is-inside": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", - "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", - "dev": true, - "license": "(WTFPL OR MIT)" - }, - "node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" - }, - "node_modules/path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=", - "dev": true, - "license": "MIT" - }, - "node_modules/path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "engines": { - "node": ">=8" - } - }, - "node_modules/pbkdf2": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz", - "integrity": "sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==", - "dev": true, - "dependencies": { - "create-hash": "^1.1.2", - "create-hmac": "^1.1.4", - "ripemd160": "^2.0.1", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" - }, - "engines": { - "node": ">=0.12" - } - }, - "node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "dev": true, - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/pinkie": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", - "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/pinkie-promise": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", - "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", - "dev": true, - "license": "MIT", - "dependencies": { - "pinkie": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/pirates": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.5.tgz", - "integrity": "sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ==", - "dev": true, - "engines": { - "node": ">= 6" - } - }, - "node_modules/pkg-dir": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-5.0.0.tgz", - "integrity": "sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA==", - "dev": true, - "dependencies": { - "find-up": "^5.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/pnp-webpack-plugin": { - "version": "1.6.4", - "resolved": "https://registry.npmjs.org/pnp-webpack-plugin/-/pnp-webpack-plugin-1.6.4.tgz", - "integrity": "sha512-7Wjy+9E3WwLOEL30D+m8TSTF7qJJUJLONBnwQp0518siuMxUQUbgZwssaFX+QKlZkjHZcw/IpZCt/H0srrntSg==", - "dev": true, - "dependencies": { - "ts-pnp": "^1.1.6" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/popmotion": { - "version": "11.0.3", - "resolved": "https://registry.npmjs.org/popmotion/-/popmotion-11.0.3.tgz", - "integrity": "sha512-Y55FLdj3UxkR7Vl3s7Qr4e9m0onSnP8W7d/xQLsoJM40vs6UKHFdygs6SWryasTZYqugMjm3BepCF4CWXDiHgA==", - "dependencies": { - "framesync": "6.0.1", - "hey-listen": "^1.0.8", - "style-value-types": "5.0.0", - "tslib": "^2.1.0" - } - }, - "node_modules/posix-character-classes": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", - "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", - "dev": true, - "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-flexbugs-fixes": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/postcss-flexbugs-fixes/-/postcss-flexbugs-fixes-4.2.1.tgz", - "integrity": "sha512-9SiofaZ9CWpQWxOwRh1b/r85KD5y7GgvsNt1056k6OYLvWUun0czCvogfJgylC22uJTwW1KzY3Gz65NZRlvoiQ==", - "dev": true, - "dependencies": { - "postcss": "^7.0.26" - } - }, - "node_modules/postcss-loader": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-4.3.0.tgz", - "integrity": "sha512-M/dSoIiNDOo8Rk0mUqoj4kpGq91gcxCfb9PoyZVdZ76/AuhxylHDYZblNE8o+EQ9AMSASeMFEKxZf5aU6wlx1Q==", - "dev": true, - "dependencies": { - "cosmiconfig": "^7.0.0", - "klona": "^2.0.4", - "loader-utils": "^2.0.0", - "schema-utils": "^3.0.0", - "semver": "^7.3.4" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "postcss": "^7.0.0 || ^8.0.1", - "webpack": "^4.0.0 || ^5.0.0" - } - }, - "node_modules/postcss-loader/node_modules/cosmiconfig": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz", - "integrity": "sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==", - "dev": true, - "dependencies": { - "@types/parse-json": "^4.0.0", - "import-fresh": "^3.2.1", - "parse-json": "^5.0.0", - "path-type": "^4.0.0", - "yaml": "^1.10.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/postcss-loader/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/postcss-loader/node_modules/semver": { - "version": "7.3.7", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/postcss-modules-extract-imports": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-2.0.0.tgz", - "integrity": "sha512-LaYLDNS4SG8Q5WAWqIJgdHPJrDDr/Lv775rMBFUbgjTz6j34lUznACHcdRWroPvXANP2Vj7yNK57vp9eFqzLWQ==", - "dev": true, - "dependencies": { - "postcss": "^7.0.5" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/postcss-modules-local-by-default": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-3.0.3.tgz", - "integrity": "sha512-e3xDq+LotiGesympRlKNgaJ0PCzoUIdpH0dj47iWAui/kyTgh3CiAr1qP54uodmJhl6p9rN6BoNcdEDVJx9RDw==", - "dev": true, - "dependencies": { - "icss-utils": "^4.1.1", - "postcss": "^7.0.32", - "postcss-selector-parser": "^6.0.2", - "postcss-value-parser": "^4.1.0" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/postcss-modules-scope": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-2.2.0.tgz", - "integrity": "sha512-YyEgsTMRpNd+HmyC7H/mh3y+MeFWevy7V1evVhJWewmMbjDHIbZbOXICC2y+m1xI1UVfIT1HMW/O04Hxyu9oXQ==", - "dev": true, - "dependencies": { - "postcss": "^7.0.6", - "postcss-selector-parser": "^6.0.0" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/postcss-modules-values": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-3.0.0.tgz", - "integrity": "sha512-1//E5jCBrZ9DmRX+zCtmQtRSV6PV42Ix7Bzj9GbwJceduuf7IqP8MgeTXuRDHOWj2m0VzZD5+roFWDuU8RQjcg==", - "dev": true, - "dependencies": { - "icss-utils": "^4.0.0", - "postcss": "^7.0.6" - } - }, - "node_modules/postcss-selector-parser": { - "version": "6.0.10", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.10.tgz", - "integrity": "sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==", - "dev": true, - "dependencies": { - "cssesc": "^3.0.0", - "util-deprecate": "^1.0.2" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-value-parser": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", - "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", - "dev": true - }, - "node_modules/postcss/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/prelude-ls": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", - "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", - "dev": true, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/prettier": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.0.tgz", - "integrity": "sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w==", - "dev": true, - "bin": { - "prettier": "bin-prettier.js" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/pretty-error": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/pretty-error/-/pretty-error-4.0.0.tgz", - "integrity": "sha512-AoJ5YMAcXKYxKhuJGdcvse+Voc6v1RgnsR3nWcYU7q4t6z0Q6T86sv5Zq8VIRbOWWFpvdGE83LtdSMNd+6Y0xw==", - "dev": true, - "dependencies": { - "lodash": "^4.17.20", - "renderkid": "^3.0.0" - } - }, - "node_modules/pretty-format": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", - "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", - "dev": true, - "dependencies": { - "ansi-regex": "^5.0.1", - "ansi-styles": "^5.0.0", - "react-is": "^17.0.1" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, - "node_modules/pretty-format/node_modules/ansi-styles": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/pretty-format/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, - "node_modules/pretty-hrtime": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz", - "integrity": "sha1-t+PqQkNaTJsnWdmeDyAesZWALuE=", - "dev": true, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/prismjs": { - "version": "1.28.0", - "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.28.0.tgz", - "integrity": "sha512-8aaXdYvl1F7iC7Xm1spqSaY/OJBpYW3v+KJ+F17iYxvdc8sfjW194COK5wVhMZX45tGteiBQgdvD/nhxcRwylw==", - "engines": { - "node": ">=6" - } - }, - "node_modules/process": { - "version": "0.11.10", - "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", - "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6.0" - } - }, - "node_modules/process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", - "dev": true, - "license": "MIT" - }, - "node_modules/promise-inflight": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", - "integrity": "sha1-mEcocL8igTL8vdhoEputEsPAKeM=", - "dev": true, - "license": "ISC" - }, - "node_modules/promise.allsettled": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/promise.allsettled/-/promise.allsettled-1.0.5.tgz", - "integrity": "sha512-tVDqeZPoBC0SlzJHzWGZ2NKAguVq2oiYj7gbggbiTvH2itHohijTp7njOUA0aQ/nl+0lr/r6egmhoYu63UZ/pQ==", - "dev": true, - "dependencies": { - "array.prototype.map": "^1.0.4", - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1", - "get-intrinsic": "^1.1.1", - "iterate-value": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/promise.prototype.finally": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/promise.prototype.finally/-/promise.prototype.finally-3.1.3.tgz", - "integrity": "sha512-EXRF3fC9/0gz4qkt/f5EP5iW4kj9oFpBICNpCNOb/52+8nlHIX07FPLbi/q4qYBQ1xZqivMzTpNQSnArVASolQ==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/prompts": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", - "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", - "dev": true, - "dependencies": { - "kleur": "^3.0.3", - "sisteransi": "^1.0.5" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/prop-types": { - "version": "15.8.1", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", - "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", - "dependencies": { - "loose-envify": "^1.4.0", - "object-assign": "^4.1.1", - "react-is": "^16.13.1" - } - }, - "node_modules/property-information": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/property-information/-/property-information-5.6.0.tgz", - "integrity": "sha512-YUHSPk+A30YPv+0Qf8i9Mbfe/C0hdPXk1s1jPVToV8pk8BQtpw10ct89Eo7OWkutrwqvT0eicAxlOg3dOAu8JA==", - "dependencies": { - "xtend": "^4.0.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/proxy-addr": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", - "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", - "dev": true, - "dependencies": { - "forwarded": "0.2.0", - "ipaddr.js": "1.9.1" - }, - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/proxy-addr/node_modules/ipaddr.js": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", - "dev": true, - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/prr": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", - "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY=", - "dev": true - }, - "node_modules/psl": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", - "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/public-encrypt": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", - "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", - "dev": true, - "dependencies": { - "bn.js": "^4.1.0", - "browserify-rsa": "^4.0.0", - "create-hash": "^1.1.0", - "parse-asn1": "^5.0.0", - "randombytes": "^2.0.1", - "safe-buffer": "^5.1.2" - } - }, - "node_modules/public-encrypt/node_modules/bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "dev": true - }, - "node_modules/pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "dev": true, - "license": "MIT", - "dependencies": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "node_modules/pumpify": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-1.5.1.tgz", - "integrity": "sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "duplexify": "^3.6.0", - "inherits": "^2.0.3", - "pump": "^2.0.0" - } - }, - "node_modules/pumpify/node_modules/pump": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz", - "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", - "dev": true, - "license": "MIT", - "dependencies": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "node_modules/punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/qs": { - "version": "6.10.3", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.3.tgz", - "integrity": "sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ==", - "dev": true, - "dependencies": { - "side-channel": "^1.0.4" - }, - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/querystring": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.1.tgz", - "integrity": "sha512-wkvS7mL/JMugcup3/rMitHmd9ecIGd2lhFhK9N3UUQ450h66d1r3Y9nvXzQAW1Lq+wyx61k/1pfKS5KuKiyEbg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.4.x" - } - }, - "node_modules/querystring-es3": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", - "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=", - "dev": true, - "engines": { - "node": ">=0.4.x" - } - }, - "node_modules/querystringify": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", - "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true - }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/ramda": { - "version": "0.28.0", - "resolved": "https://registry.npmjs.org/ramda/-/ramda-0.28.0.tgz", - "integrity": "sha512-9QnLuG/kPVgWvMQ4aODhsBUFKOUmnbUnsSXACv+NCQZcHbeb+v8Lodp8OVxtRULN1/xOyYLLaL6npE6dMq5QTA==", - "dev": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/ramda" - } - }, - "node_modules/randombytes": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", - "dev": true, - "dependencies": { - "safe-buffer": "^5.1.0" - } - }, - "node_modules/randomfill": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", - "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", - "dev": true, - "dependencies": { - "randombytes": "^2.0.5", - "safe-buffer": "^5.1.0" - } - }, - "node_modules/range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/raw-body": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", - "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", - "dev": true, - "dependencies": { - "bytes": "3.1.2", - "http-errors": "2.0.0", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/raw-loader": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/raw-loader/-/raw-loader-4.0.2.tgz", - "integrity": "sha512-ZnScIV3ag9A4wPX/ZayxL/jZH+euYb6FcUinPcgiQW0+UBtEv0O6Q3lGd3cqJ+GHH+rksEv3Pj99oxJ3u3VIKA==", - "dev": true, - "dependencies": { - "loader-utils": "^2.0.0", - "schema-utils": "^3.0.0" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^4.0.0 || ^5.0.0" - } - }, - "node_modules/react": { - "version": "18.1.0", - "resolved": "https://registry.npmjs.org/react/-/react-18.1.0.tgz", - "integrity": "sha512-4oL8ivCz5ZEPyclFQXaNksK3adutVS8l2xzZU0cqEFrE9Sb7fC0EFK5uEk74wIreL1DERyjvsU915j1pcT2uEQ==", - "dependencies": { - "loose-envify": "^1.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/react-docgen": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/react-docgen/-/react-docgen-5.4.0.tgz", - "integrity": "sha512-JBjVQ9cahmNlfjMGxWUxJg919xBBKAoy3hgDgKERbR+BcF4ANpDuzWAScC7j27hZfd8sJNmMPOLWo9+vB/XJEQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/core": "^7.7.5", - "@babel/generator": "^7.12.11", - "@babel/runtime": "^7.7.6", - "ast-types": "^0.14.2", - "commander": "^2.19.0", - "doctrine": "^3.0.0", - "estree-to-babel": "^3.1.0", - "neo-async": "^2.6.1", - "node-dir": "^0.1.10", - "strip-indent": "^3.0.0" - }, - "bin": { - "react-docgen": "bin/react-docgen.js" - }, - "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/react-docgen-typescript": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/react-docgen-typescript/-/react-docgen-typescript-2.2.2.tgz", - "integrity": "sha512-tvg2ZtOpOi6QDwsb3GZhOjDkkX0h8Z2gipvTg6OVMUyoYoURhEiRNePT8NZItTVCDh39JJHnLdfCOkzoLbFnTg==", - "dev": true, - "peerDependencies": { - "typescript": ">= 4.3.x" - } - }, - "node_modules/react-dom": { - "version": "18.1.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.1.0.tgz", - "integrity": "sha512-fU1Txz7Budmvamp7bshe4Zi32d0ll7ect+ccxNu9FlObT605GOEB8BfO4tmRJ39R5Zj831VCpvQ05QPBW5yb+w==", - "dependencies": { - "loose-envify": "^1.1.0", - "scheduler": "^0.22.0" - }, - "peerDependencies": { - "react": "^18.1.0" - } - }, - "node_modules/react-fast-compare": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz", - "integrity": "sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA==" - }, - "node_modules/react-intersection-observer": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/react-intersection-observer/-/react-intersection-observer-9.1.0.tgz", - "integrity": "sha512-XSDWQGzgJ4/B4eW39+qa3S+uc4Gb+m6lxXR54m/uD5lqeL5sLrgYdntbjl4BlTYAblgUhz+JB5obINhZaD+c0Q==", - "peerDependencies": { - "react": "^15.0.0 || ^16.0.0 || ^17.0.0|| ^18.0.0" - } - }, - "node_modules/react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", - "license": "MIT" - }, - "node_modules/react-popper": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/react-popper/-/react-popper-2.3.0.tgz", - "integrity": "sha512-e1hj8lL3uM+sgSR4Lxzn5h1GxBlpa4CQz0XLF8kx4MDrDRWY0Ena4c97PUeSX9i5W3UAfDP0z0FXCTQkoXUl3Q==", - "dependencies": { - "react-fast-compare": "^3.0.1", - "warning": "^4.0.2" - }, - "peerDependencies": { - "@popperjs/core": "^2.0.0", - "react": "^16.8.0 || ^17 || ^18", - "react-dom": "^16.8.0 || ^17 || ^18" - } - }, - "node_modules/react-refresh": { - "version": "0.13.0", - "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.13.0.tgz", - "integrity": "sha512-XP8A9BT0CpRBD+NYLLeIhld/RqG9+gktUjW1FkE+Vm7OCinbG1SshcK5tb9ls4kzvjZr9mOQc7HYgBngEyPAXg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/react-syntax-highlighter": { - "version": "15.5.0", - "resolved": "https://registry.npmjs.org/react-syntax-highlighter/-/react-syntax-highlighter-15.5.0.tgz", - "integrity": "sha512-+zq2myprEnQmH5yw6Gqc8lD55QHnpKaU8TOcFeC/Lg/MQSs8UknEA0JC4nTZGFAXC2J2Hyj/ijJ7NlabyPi2gg==", - "dependencies": { - "@babel/runtime": "^7.3.1", - "highlight.js": "^10.4.1", - "lowlight": "^1.17.0", - "prismjs": "^1.27.0", - "refractor": "^3.6.0" - }, - "peerDependencies": { - "react": ">= 0.14.0" - } - }, - "node_modules/read-pkg": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", - "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", - "dev": true, - "dependencies": { - "@types/normalize-package-data": "^2.4.0", - "normalize-package-data": "^2.5.0", - "parse-json": "^5.0.0", - "type-fest": "^0.6.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/read-pkg-up": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", - "dev": true, - "dependencies": { - "find-up": "^4.1.0", - "read-pkg": "^5.2.0", - "type-fest": "^0.8.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/read-pkg-up/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/read-pkg-up/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/read-pkg-up/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/read-pkg-up/node_modules/type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/read-pkg/node_modules/type-fest": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dev": true, - "license": "MIT", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/readable-stream/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true, - "license": "MIT" - }, - "node_modules/readable-stream/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, - "license": "MIT", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "dev": true, - "dependencies": { - "picomatch": "^2.2.1" - }, - "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/rechoir": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.7.0.tgz", - "integrity": "sha512-ADsDEH2bvbjltXEP+hTIAmeFekTFK0V2BTxMkok6qILyAJEXV0AFfoWcAq4yfll5VdIMd/RVXq0lR+wQi5ZU3Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "resolve": "^1.9.0" - }, - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/redent": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", - "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", - "dev": true, - "optional": true, - "dependencies": { - "indent-string": "^2.1.0", - "strip-indent": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/redent/node_modules/strip-indent": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", - "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", - "dev": true, - "optional": true, - "dependencies": { - "get-stdin": "^4.0.1" - }, - "bin": { - "strip-indent": "cli.js" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/refractor": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/refractor/-/refractor-3.6.0.tgz", - "integrity": "sha512-MY9W41IOWxxk31o+YvFCNyNzdkc9M20NoZK5vq6jkv4I/uh2zkWcfudj0Q1fovjUQJrNewS9NMzeTtqPf+n5EA==", - "dependencies": { - "hastscript": "^6.0.0", - "parse-entities": "^2.0.0", - "prismjs": "~1.27.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/refractor/node_modules/prismjs": { - "version": "1.27.0", - "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.27.0.tgz", - "integrity": "sha512-t13BGPUlFDR7wRB5kQDG4jjl7XeuH6jbJGt11JHPL96qwsEHNX2+68tFXqc1/k+/jALsbSWJKUOT/hcYAZ5LkA==", - "engines": { - "node": ">=6" - } - }, - "node_modules/regenerate": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", - "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", - "dev": true - }, - "node_modules/regenerate-unicode-properties": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.0.1.tgz", - "integrity": "sha512-vn5DU6yg6h8hP/2OkQo3K7uVILvY4iu0oI4t3HFa81UPkhGJwkRwM10JEc3upjdhHjs/k8GJY1sRBhk5sr69Bw==", - "dev": true, - "dependencies": { - "regenerate": "^1.4.2" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/regenerator-runtime": { - "version": "0.13.7", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz", - "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==", - "license": "MIT" - }, - "node_modules/regenerator-transform": { - "version": "0.15.0", - "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.0.tgz", - "integrity": "sha512-LsrGtPmbYg19bcPHwdtmXwbW+TqNvtY4riE3P83foeHRroMbH6/2ddFBfab3t7kbzc7v7p4wbkIecHImqt0QNg==", - "dev": true, - "dependencies": { - "@babel/runtime": "^7.8.4" - } - }, - "node_modules/regex-not": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", - "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", - "dev": true, - "dependencies": { - "extend-shallow": "^3.0.2", - "safe-regex": "^1.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/regexp.prototype.flags": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz", - "integrity": "sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "functions-have-names": "^1.2.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/regexpu-core": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.0.1.tgz", - "integrity": "sha512-CriEZlrKK9VJw/xQGJpQM5rY88BtuL8DM+AEwvcThHilbxiTAy8vq4iJnd2tqq8wLmjbGZzP7ZcKFjbGkmEFrw==", - "dev": true, - "dependencies": { - "regenerate": "^1.4.2", - "regenerate-unicode-properties": "^10.0.1", - "regjsgen": "^0.6.0", - "regjsparser": "^0.8.2", - "unicode-match-property-ecmascript": "^2.0.0", - "unicode-match-property-value-ecmascript": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/regjsgen": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.6.0.tgz", - "integrity": "sha512-ozE883Uigtqj3bx7OhL1KNbCzGyW2NQZPl6Hs09WTvCuZD5sTI4JY58bkbQWa/Y9hxIsvJ3M8Nbf7j54IqeZbA==", - "dev": true - }, - "node_modules/regjsparser": { - "version": "0.8.4", - "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.8.4.tgz", - "integrity": "sha512-J3LABycON/VNEu3abOviqGHuB/LOtOQj8SKmfP9anY5GfAVw/SPjwzSjxGjbZXIxbGfqTHtJw58C2Li/WkStmA==", - "dev": true, - "dependencies": { - "jsesc": "~0.5.0" - }, - "bin": { - "regjsparser": "bin/parser" - } - }, - "node_modules/regjsparser/node_modules/jsesc": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", - "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", - "dev": true, - "bin": { - "jsesc": "bin/jsesc" - } - }, - "node_modules/relateurl": { - "version": "0.2.7", - "resolved": "https://registry.npmjs.org/relateurl/-/relateurl-0.2.7.tgz", - "integrity": "sha1-VNvzd+UUQKypCkzSdGANP/LYiKk=", - "dev": true, - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/remark-footnotes": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/remark-footnotes/-/remark-footnotes-2.0.0.tgz", - "integrity": "sha512-3Clt8ZMH75Ayjp9q4CorNeyjwIxHFcTkaektplKGl2A1jNGEUey8cKL0ZC5vJwfcD5GFGsNLImLG/NGzWIzoMQ==", - "dev": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/remark-mdx": { - "version": "1.6.22", - "resolved": "https://registry.npmjs.org/remark-mdx/-/remark-mdx-1.6.22.tgz", - "integrity": "sha512-phMHBJgeV76uyFkH4rvzCftLfKCr2RZuF+/gmVcaKrpsihyzmhXjA0BEMDaPTXG5y8qZOKPVo83NAOX01LPnOQ==", - "dev": true, - "dependencies": { - "@babel/core": "7.12.9", - "@babel/helper-plugin-utils": "7.10.4", - "@babel/plugin-proposal-object-rest-spread": "7.12.1", - "@babel/plugin-syntax-jsx": "7.12.1", - "@mdx-js/util": "1.6.22", - "is-alphabetical": "1.0.4", - "remark-parse": "8.0.3", - "unified": "9.2.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/remark-mdx/node_modules/@babel/core": { - "version": "7.12.9", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.12.9.tgz", - "integrity": "sha512-gTXYh3M5wb7FRXQy+FErKFAv90BnlOuNn1QkCK2lREoPAjrQCO49+HVSrFoe5uakFAF5eenS75KbO2vQiLrTMQ==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.10.4", - "@babel/generator": "^7.12.5", - "@babel/helper-module-transforms": "^7.12.1", - "@babel/helpers": "^7.12.5", - "@babel/parser": "^7.12.7", - "@babel/template": "^7.12.7", - "@babel/traverse": "^7.12.9", - "@babel/types": "^7.12.7", - "convert-source-map": "^1.7.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.1", - "json5": "^2.1.2", - "lodash": "^4.17.19", - "resolve": "^1.3.2", - "semver": "^5.4.1", - "source-map": "^0.5.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" - } - }, - "node_modules/remark-mdx/node_modules/@babel/helper-plugin-utils": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.4.tgz", - "integrity": "sha512-O4KCvQA6lLiMU9l2eawBPMf1xPP8xPfB3iEQw150hOVTqj/rfXz0ThTb4HEzqQfs2Bmo5Ay8BzxfzVtBrr9dVg==", - "dev": true - }, - "node_modules/remark-mdx/node_modules/@babel/plugin-proposal-object-rest-spread": { - "version": "7.12.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.12.1.tgz", - "integrity": "sha512-s6SowJIjzlhx8o7lsFx5zmY4At6CTtDvgNQDdPzkBQucle58A6b/TTeEBYtyDgmcXjUTM+vE8YOGHZzzbc/ioA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4", - "@babel/plugin-syntax-object-rest-spread": "^7.8.0", - "@babel/plugin-transform-parameters": "^7.12.1" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/remark-mdx/node_modules/@babel/plugin-syntax-jsx": { - "version": "7.12.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.12.1.tgz", - "integrity": "sha512-1yRi7yAtB0ETgxdY9ti/p2TivUxJkTdhu/ZbF9MshVGqOx1TdB3b7xCXs49Fupgg50N45KcAsRP/ZqWjs9SRjg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/remark-mdx/node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/remark-mdx/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "node_modules/remark-mdx/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/remark-mdx/node_modules/source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/remark-parse": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-8.0.3.tgz", - "integrity": "sha512-E1K9+QLGgggHxCQtLt++uXltxEprmWzNfg+MxpfHsZlrddKzZ/hZyWHDbK3/Ap8HJQqYJRXP+jHczdL6q6i85Q==", - "dev": true, - "dependencies": { - "ccount": "^1.0.0", - "collapse-white-space": "^1.0.2", - "is-alphabetical": "^1.0.0", - "is-decimal": "^1.0.0", - "is-whitespace-character": "^1.0.0", - "is-word-character": "^1.0.0", - "markdown-escapes": "^1.0.0", - "parse-entities": "^2.0.0", - "repeat-string": "^1.5.4", - "state-toggle": "^1.0.0", - "trim": "0.0.1", - "trim-trailing-lines": "^1.0.0", - "unherit": "^1.0.4", - "unist-util-remove-position": "^2.0.0", - "vfile-location": "^3.0.0", - "xtend": "^4.0.1" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/remark-squeeze-paragraphs": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/remark-squeeze-paragraphs/-/remark-squeeze-paragraphs-4.0.0.tgz", - "integrity": "sha512-8qRqmL9F4nuLPIgl92XUuxI3pFxize+F1H0e/W3llTk0UsjJaj01+RrirkMw7P21RKe4X6goQhYRSvNWX+70Rw==", - "dev": true, - "dependencies": { - "mdast-squeeze-paragraphs": "^4.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/remove-trailing-separator": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", - "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=", - "dev": true, - "optional": true - }, - "node_modules/renderkid": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/renderkid/-/renderkid-3.0.0.tgz", - "integrity": "sha512-q/7VIQA8lmM1hF+jn+sFSPWGlMkSAeNYcPLmDQx2zzuiDfaLrOmumR8iaUKlenFgh0XRPIUeSPlH3A+AW3Z5pg==", - "dev": true, - "dependencies": { - "css-select": "^4.1.3", - "dom-converter": "^0.2.0", - "htmlparser2": "^6.1.0", - "lodash": "^4.17.21", - "strip-ansi": "^6.0.1" - } - }, - "node_modules/repeat-element": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.4.tgz", - "integrity": "sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/repeat-string": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", - "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", - "dev": true, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/repeating": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", - "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", - "dev": true, - "optional": true, - "dependencies": { - "is-finite": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/require-from-string": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/requires-port": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", - "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=", - "dev": true, - "license": "MIT" - }, - "node_modules/resolve": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", - "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", - "license": "MIT", - "dependencies": { - "is-core-module": "^2.2.0", - "path-parse": "^1.0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/resolve-from": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/resolve-url": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", - "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", - "deprecated": "https://github.com/lydell/resolve-url#deprecated", - "dev": true - }, - "node_modules/ret": { - "version": "0.1.15", - "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", - "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", - "dev": true, - "engines": { - "node": ">=0.12" - } - }, - "node_modules/retry": { - "version": "0.13.1", - "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", - "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, - "node_modules/reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", - "dev": true, - "engines": { - "iojs": ">=1.0.0", - "node": ">=0.10.0" - } - }, - "node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, - "license": "ISC", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/ripemd160": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", - "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", - "dev": true, - "dependencies": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1" - } - }, - "node_modules/run-parallel": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "queue-microtask": "^1.2.2" - } - }, - "node_modules/run-queue": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/run-queue/-/run-queue-1.0.3.tgz", - "integrity": "sha1-6Eg5bwV9Ij8kOGkkYY4laUFh7Ec=", - "dev": true, - "license": "ISC", - "dependencies": { - "aproba": "^1.1.1" - } - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, - "node_modules/safe-regex": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", - "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", - "dev": true, - "dependencies": { - "ret": "~0.1.10" - } - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "dev": true, - "license": "MIT" - }, - "node_modules/saxes": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/saxes/-/saxes-5.0.1.tgz", - "integrity": "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==", - "dev": true, - "license": "ISC", - "dependencies": { - "xmlchars": "^2.2.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/scheduler": { - "version": "0.22.0", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.22.0.tgz", - "integrity": "sha512-6QAm1BgQI88NPYymgGQLCZgvep4FyePDWFpXVK+zNSUgHwlqpJy8VEh8Et0KxTACS4VWwMousBElAZOH9nkkoQ==", - "dependencies": { - "loose-envify": "^1.1.0" - } - }, - "node_modules/schema-utils": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz", - "integrity": "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/json-schema": "^7.0.6", - "ajv": "^6.12.5", - "ajv-keywords": "^3.5.2" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, - "node_modules/select-hose": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz", - "integrity": "sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo=", - "dev": true, - "license": "MIT" - }, - "node_modules/selfsigned": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-2.0.1.tgz", - "integrity": "sha512-LmME957M1zOsUhG+67rAjKfiWFox3SBxE/yymatMZsAx+oMrJ0YQ8AToOnyCm7xbeg2ep37IHLxdu0o2MavQOQ==", - "dev": true, - "dependencies": { - "node-forge": "^1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/send": { - "version": "0.18.0", - "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", - "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", - "dev": true, - "dependencies": { - "debug": "2.6.9", - "depd": "2.0.0", - "destroy": "1.2.0", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "2.0.0", - "mime": "1.6.0", - "ms": "2.1.3", - "on-finished": "2.4.1", - "range-parser": "~1.2.1", - "statuses": "2.0.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/send/node_modules/depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", - "dev": true, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/send/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true - }, - "node_modules/send/node_modules/statuses": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", - "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", - "dev": true, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/serialize-javascript": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", - "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", - "dev": true, - "dependencies": { - "randombytes": "^2.1.0" - } - }, - "node_modules/serve-favicon": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/serve-favicon/-/serve-favicon-2.5.0.tgz", - "integrity": "sha1-k10kDN/g9YBTB/3+ln2IlCosvPA=", - "dev": true, - "dependencies": { - "etag": "~1.8.1", - "fresh": "0.5.2", - "ms": "2.1.1", - "parseurl": "~1.3.2", - "safe-buffer": "5.1.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/serve-favicon/node_modules/safe-buffer": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz", - "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==", - "dev": true - }, - "node_modules/serve-index": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz", - "integrity": "sha1-03aNabHn2C5c4FD/9bRTvqEqkjk=", - "dev": true, - "license": "MIT", - "dependencies": { - "accepts": "~1.3.4", - "batch": "0.6.1", - "debug": "2.6.9", - "escape-html": "~1.0.3", - "http-errors": "~1.6.2", - "mime-types": "~2.1.17", - "parseurl": "~1.3.2" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/serve-index/node_modules/http-errors": { - "version": "1.6.3", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", - "integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=", - "dev": true, - "license": "MIT", - "dependencies": { - "depd": "~1.1.2", - "inherits": "2.0.3", - "setprototypeof": "1.1.0", - "statuses": ">= 1.4.0 < 2" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/serve-index/node_modules/inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", - "dev": true, - "license": "ISC" - }, - "node_modules/serve-index/node_modules/setprototypeof": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", - "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/serve-static": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", - "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", - "dev": true, - "dependencies": { - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "parseurl": "~1.3.3", - "send": "0.18.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/set-blocking": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", - "dev": true - }, - "node_modules/set-value": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", - "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", - "dev": true, - "dependencies": { - "extend-shallow": "^2.0.1", - "is-extendable": "^0.1.1", - "is-plain-object": "^2.0.3", - "split-string": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/set-value/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/set-value/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/setimmediate": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", - "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=", - "dev": true - }, - "node_modules/setprototypeof": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", - "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", - "dev": true - }, - "node_modules/sha.js": { - "version": "2.4.11", - "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", - "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", - "dev": true, - "dependencies": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - }, - "bin": { - "sha.js": "bin.js" - } - }, - "node_modules/shallow-clone": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", - "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", - "dev": true, - "license": "MIT", - "dependencies": { - "kind-of": "^6.0.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, - "license": "MIT", - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/signal-exit": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", - "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==", - "dev": true, - "license": "ISC" - }, - "node_modules/sisteransi": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", - "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", - "dev": true - }, - "node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/snapdragon": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", - "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", - "dev": true, - "dependencies": { - "base": "^0.11.1", - "debug": "^2.2.0", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "map-cache": "^0.2.2", - "source-map": "^0.5.6", - "source-map-resolve": "^0.5.0", - "use": "^3.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-node": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", - "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", - "dev": true, - "dependencies": { - "define-property": "^1.0.0", - "isobject": "^3.0.0", - "snapdragon-util": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-node/node_modules/define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, - "dependencies": { - "is-descriptor": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-util": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", - "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", - "dev": true, - "dependencies": { - "kind-of": "^3.2.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-util/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-accessor-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-data-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sockjs": { - "version": "0.3.21", - "resolved": "https://registry.npmjs.org/sockjs/-/sockjs-0.3.21.tgz", - "integrity": "sha512-DhbPFGpxjc6Z3I+uX07Id5ZO2XwYsWOrYjaSeieES78cq+JaJvVe5q/m1uvjIQhXinhIeCFRH6JgXe+mvVMyXw==", - "dev": true, - "license": "MIT", - "dependencies": { - "faye-websocket": "^0.11.3", - "uuid": "^3.4.0", - "websocket-driver": "^0.7.4" - } - }, - "node_modules/sockjs-client": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/sockjs-client/-/sockjs-client-1.5.1.tgz", - "integrity": "sha512-VnVAb663fosipI/m6pqRXakEOw7nvd7TUgdr3PlR/8V2I95QIdwT8L4nMxhyU8SmDBHYXU1TOElaKOmKLfYzeQ==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "debug": "^3.2.6", - "eventsource": "^1.0.7", - "faye-websocket": "^0.11.3", - "inherits": "^2.0.4", - "json3": "^3.3.3", - "url-parse": "^1.5.1" - } - }, - "node_modules/sockjs-client/node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/sockjs-client/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true - }, - "node_modules/source-list-map": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz", - "integrity": "sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==", - "dev": true - }, - "node_modules/source-map": { - "version": "0.8.0-beta.0", - "resolved": "git+ssh://git@github.com/GerHobbelt/source-map.git#cb653e459c8a75c91c829c057c833f466b88aabe", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "whatwg-url": "^7.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/source-map-js": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", - "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-loader": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/source-map-loader/-/source-map-loader-3.0.1.tgz", - "integrity": "sha512-Vp1UsfyPvgujKQzi4pyDiTOnE3E4H+yHvkVRN3c/9PJmQS4CQJExvcDvaX/D+RV+xQben9HJ56jMJS3CgUeWyA==", - "dev": true, - "dependencies": { - "abab": "^2.0.5", - "iconv-lite": "^0.6.3", - "source-map-js": "^1.0.1" - }, - "engines": { - "node": ">= 12.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^5.0.0" - } - }, - "node_modules/source-map-loader/node_modules/iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "dev": true, - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-resolve": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz", - "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", - "deprecated": "See https://github.com/lydell/source-map-resolve#deprecated", - "dev": true, - "dependencies": { - "atob": "^2.1.2", - "decode-uri-component": "^0.2.0", - "resolve-url": "^0.2.1", - "source-map-url": "^0.4.0", - "urix": "^0.1.0" - } - }, - "node_modules/source-map-support": { - "version": "0.5.21", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", - "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", - "dev": true, - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, - "node_modules/source-map-support/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-url": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.1.tgz", - "integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==", - "deprecated": "See https://github.com/lydell/source-map-url#deprecated", - "dev": true - }, - "node_modules/source-map/node_modules/tr46": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz", - "integrity": "sha1-qLE/1r/SSJUZZ0zN5VujaTtwbQk=", - "dev": true, - "license": "MIT", - "dependencies": { - "punycode": "^2.1.0" - } - }, - "node_modules/source-map/node_modules/webidl-conversions": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", - "integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==", - "dev": true, - "license": "BSD-2-Clause" - }, - "node_modules/source-map/node_modules/whatwg-url": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz", - "integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==", - "dev": true, - "license": "MIT", - "dependencies": { - "lodash.sortby": "^4.7.0", - "tr46": "^1.0.1", - "webidl-conversions": "^4.0.2" - } - }, - "node_modules/space-separated-tokens": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-1.1.5.tgz", - "integrity": "sha512-q/JSVd1Lptzhf5bkYm4ob4iWPjx0KiRe3sRFBNrVqbJkFaBm5vbbowy1mymoPNLRa52+oadOhJ+K49wsSeSjTA==", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/spdx-correct": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", - "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", - "dev": true, - "dependencies": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" - } - }, - "node_modules/spdx-exceptions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", - "dev": true - }, - "node_modules/spdx-expression-parse": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", - "dev": true, - "dependencies": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" - } - }, - "node_modules/spdx-license-ids": { - "version": "3.0.10", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.10.tgz", - "integrity": "sha512-oie3/+gKf7QtpitB0LYLETe+k8SifzsX4KixvpOsbI6S0kRiRQ5MKOio8eMSAKQ17N06+wdEOXRiId+zOxo0hA==", - "dev": true - }, - "node_modules/spdy": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/spdy/-/spdy-4.0.2.tgz", - "integrity": "sha512-r46gZQZQV+Kl9oItvl1JZZqJKGr+oEkB08A6BzkiR7593/7IbtuncXHd2YoYeTsG4157ZssMu9KYvUHLcjcDoA==", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "^4.1.0", - "handle-thing": "^2.0.0", - "http-deceiver": "^1.2.7", - "select-hose": "^2.0.0", - "spdy-transport": "^3.0.0" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/spdy-transport": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/spdy-transport/-/spdy-transport-3.0.0.tgz", - "integrity": "sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw==", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "^4.1.0", - "detect-node": "^2.0.4", - "hpack.js": "^2.1.6", - "obuf": "^1.1.2", - "readable-stream": "^3.0.6", - "wbuf": "^1.7.3" - } - }, - "node_modules/spdy-transport/node_modules/debug": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", - "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/spdy-transport/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true, - "license": "MIT" - }, - "node_modules/spdy-transport/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dev": true, - "license": "MIT", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/spdy/node_modules/debug": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", - "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/spdy/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true, - "license": "MIT" - }, - "node_modules/split-string": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", - "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", - "dev": true, - "dependencies": { - "extend-shallow": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/ssri": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.2.tgz", - "integrity": "sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q==", - "dev": true, - "license": "ISC", - "dependencies": { - "figgy-pudding": "^3.5.1" - } - }, - "node_modules/stable": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/stable/-/stable-0.1.8.tgz", - "integrity": "sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==", - "dev": true - }, - "node_modules/stackframe": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.2.0.tgz", - "integrity": "sha512-GrdeshiRmS1YLMYgzF16olf2jJ/IzxXY9lhKOskuVziubpTYcYqyOwYeJKzQkwy7uN0fYSsbsC4RQaXf9LCrYA==", - "dev": true, - "license": "MIT" - }, - "node_modules/state-toggle": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/state-toggle/-/state-toggle-1.0.3.tgz", - "integrity": "sha512-d/5Z4/2iiCnHw6Xzghyhb+GcmF89bxwgXG60wjIiZaxnymbyOmI8Hk4VqHXiVVp6u2ysaskFfXg3ekCj4WNftQ==", - "dev": true, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/static-extend": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", - "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", - "dev": true, - "dependencies": { - "define-property": "^0.2.5", - "object-copy": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-accessor-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-data-descriptor/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/statuses": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", - "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/store2": { - "version": "2.13.2", - "resolved": "https://registry.npmjs.org/store2/-/store2-2.13.2.tgz", - "integrity": "sha512-CMtO2Uneg3SAz/d6fZ/6qbqqQHi2ynq6/KzMD/26gTkiEShCcpqFfTHgOxsE0egAq6SX3FmN4CeSqn8BzXQkJg==", - "dev": true - }, - "node_modules/stream-browserify": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz", - "integrity": "sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==", - "dev": true, - "dependencies": { - "inherits": "~2.0.1", - "readable-stream": "^2.0.2" - } - }, - "node_modules/stream-each": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz", - "integrity": "sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw==", - "dev": true, - "license": "MIT", - "dependencies": { - "end-of-stream": "^1.1.0", - "stream-shift": "^1.0.0" - } - }, - "node_modules/stream-http": { - "version": "2.8.3", - "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz", - "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==", - "dev": true, - "dependencies": { - "builtin-status-codes": "^3.0.0", - "inherits": "^2.0.1", - "readable-stream": "^2.3.6", - "to-arraybuffer": "^1.0.0", - "xtend": "^4.0.0" - } - }, - "node_modules/stream-shift": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz", - "integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dev": true, - "license": "MIT", - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, - "node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/string-width/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/string.prototype.matchall": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.7.tgz", - "integrity": "sha512-f48okCX7JiwVi1NXCVWcFnZgADDC/n2vePlQ/KUCNqCikLLilQvwjMO8+BHVKvgzH0JB0J9LEPgxOGT02RoETg==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1", - "get-intrinsic": "^1.1.1", - "has-symbols": "^1.0.3", - "internal-slot": "^1.0.3", - "regexp.prototype.flags": "^1.4.1", - "side-channel": "^1.0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.padend": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.1.3.tgz", - "integrity": "sha512-jNIIeokznm8SD/TZISQsZKYu7RJyheFNt84DUPrh482GC8RVp2MKqm2O5oBRdGxbDQoXrhhWtPIWQOiy20svUg==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.padstart": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/string.prototype.padstart/-/string.prototype.padstart-3.1.3.tgz", - "integrity": "sha512-NZydyOMtYxpTjGqp0VN5PYUF/tsU15yDMZnUdj16qRUIUiMJkHHSDElYyQFrMu+/WloTpA7MQSiADhBicDfaoA==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimend": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.5.tgz", - "integrity": "sha512-I7RGvmjV4pJ7O3kdf+LXFpVfdNOxtCW/2C8f6jNiW4+PQchwxkCDzlk1/7p+Wl4bqFIZeF47qAHXLuHHWKAxog==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.19.5" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimstart": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.5.tgz", - "integrity": "sha512-THx16TJCGlsN0o6dl2o6ncWUsdgnLRSA23rRE5pyGBw/mLr3Ej/R2LaqCtgP8VNMGZsvMWnf9ooZPyY2bHvUFg==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.19.5" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-bom": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", - "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", - "dev": true, - "optional": true, - "dependencies": { - "is-utf8": "^0.2.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/strip-final-newline": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", - "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/strip-indent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", - "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "min-indent": "^1.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/style-loader": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-2.0.0.tgz", - "integrity": "sha512-Z0gYUJmzZ6ZdRUqpg1r8GsaFKypE+3xAzuFeMuoHgjc9KZv3wMyCRjQIWEbhoFSq7+7yoHXySDJyyWQaPajeiQ==", - "dev": true, - "dependencies": { - "loader-utils": "^2.0.0", - "schema-utils": "^3.0.0" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^4.0.0 || ^5.0.0" - } - }, - "node_modules/style-to-object": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-0.3.0.tgz", - "integrity": "sha512-CzFnRRXhzWIdItT3OmF8SQfWyahHhjq3HwcMNCNLn+N7klOOqPjMeG/4JSu77D7ypZdGvSzvkrbyeTMizz2VrA==", - "dev": true, - "dependencies": { - "inline-style-parser": "0.1.1" - } - }, - "node_modules/style-value-types": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/style-value-types/-/style-value-types-5.0.0.tgz", - "integrity": "sha512-08yq36Ikn4kx4YU6RD7jWEv27v4V+PUsOGa4n/as8Et3CuODMJQ00ENeAVXAeydX4Z2j1XHZF1K2sX4mGl18fA==", - "dependencies": { - "hey-listen": "^1.0.8", - "tslib": "^2.1.0" - } - }, - "node_modules/stylis": { - "version": "4.0.13", - "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz", - "integrity": "sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag==" - }, - "node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/supports-color/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/svg2psreact": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/svg2psreact/-/svg2psreact-2.1.0.tgz", - "integrity": "sha512-Nzv6slSjABB6hIwyKjdohRoLOpiOSklAb/LmidQ4wiAENObps/0edP4dthTZ+BtrPnu4lIhgiex9nwmty2Yy+A==", - "dev": true, - "license": "MIT" - }, - "node_modules/symbol-tree": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", - "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", - "dev": true, - "license": "MIT" - }, - "node_modules/symbol.prototype.description": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/symbol.prototype.description/-/symbol.prototype.description-1.0.5.tgz", - "integrity": "sha512-x738iXRYsrAt9WBhRCVG5BtIC3B7CUkFwbHW2zOvGtwM33s7JjrCDyq8V0zgMYVb5ymsL8+qkzzpANH63CPQaQ==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "get-symbol-description": "^1.0.0", - "has-symbols": "^1.0.2", - "object.getownpropertydescriptors": "^2.1.2" - }, - "engines": { - "node": ">= 0.11.15" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/synchronous-promise": { - "version": "2.0.15", - "resolved": "https://registry.npmjs.org/synchronous-promise/-/synchronous-promise-2.0.15.tgz", - "integrity": "sha512-k8uzYIkIVwmT+TcglpdN50pS2y1BDcUnBPK9iJeGu0Pl1lOI8pD6wtzgw91Pjpe+RxtTncw32tLxs/R0yNL2Mg==", - "dev": true - }, - "node_modules/tapable": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz", - "integrity": "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/tar": { - "version": "6.1.11", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz", - "integrity": "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==", - "dev": true, - "dependencies": { - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "minipass": "^3.0.0", - "minizlib": "^2.1.1", - "mkdirp": "^1.0.3", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/tar/node_modules/chownr": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", - "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/tar/node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "dev": true, - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/telejson": { - "version": "6.0.8", - "resolved": "https://registry.npmjs.org/telejson/-/telejson-6.0.8.tgz", - "integrity": "sha512-nerNXi+j8NK1QEfBHtZUN/aLdDcyupA//9kAboYLrtzZlPLpUfqbVGWb9zz91f/mIjRbAYhbgtnJHY8I1b5MBg==", - "dev": true, - "dependencies": { - "@types/is-function": "^1.0.0", - "global": "^4.4.0", - "is-function": "^1.0.2", - "is-regex": "^1.1.2", - "is-symbol": "^1.0.3", - "isobject": "^4.0.0", - "lodash": "^4.17.21", - "memoizerific": "^1.11.3" - } - }, - "node_modules/telejson/node_modules/isobject": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-4.0.0.tgz", - "integrity": "sha512-S/2fF5wH8SJA/kmwr6HYhK/RI/OkhD84k8ntalo0iJjZikgq1XFvR5M8NPT1x5F7fBwCG3qHfnzeP/Vh/ZxCUA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/terser": { - "version": "5.13.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.13.1.tgz", - "integrity": "sha512-hn4WKOfwnwbYfe48NgrQjqNOH9jzLqRcIfbYytOXCOv46LBfWr9bDS17MQqOi+BWGD0sJK3Sj5NC/gJjiojaoA==", - "dev": true, - "dependencies": { - "acorn": "^8.5.0", - "commander": "^2.20.0", - "source-map": "~0.8.0-beta.0", - "source-map-support": "~0.5.20" - }, - "bin": { - "terser": "bin/terser" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/terser-webpack-plugin": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.1.tgz", - "integrity": "sha512-GvlZdT6wPQKbDNW/GDQzZFg/j4vKU96yl2q6mcUkzKOgW4gwf1Z8cZToUCrz31XHlPWH8MVb1r2tFtdDtTGJ7g==", - "dev": true, - "dependencies": { - "jest-worker": "^27.4.5", - "schema-utils": "^3.1.1", - "serialize-javascript": "^6.0.0", - "source-map": "^0.6.1", - "terser": "^5.7.2" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^5.1.0" - }, - "peerDependenciesMeta": { - "@swc/core": { - "optional": true - }, - "esbuild": { - "optional": true - }, - "uglify-js": { - "optional": true - } - } - }, - "node_modules/terser-webpack-plugin/node_modules/schema-utils": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", - "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", - "dev": true, - "dependencies": { - "@types/json-schema": "^7.0.8", - "ajv": "^6.12.5", - "ajv-keywords": "^3.5.2" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, - "node_modules/terser-webpack-plugin/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/terser/node_modules/acorn": { - "version": "8.7.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", - "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", - "dev": true, - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/test-exclude": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", - "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", - "dev": true, - "license": "ISC", - "dependencies": { - "@istanbuljs/schema": "^0.1.2", - "glob": "^7.1.4", - "minimatch": "^3.0.4" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/through2": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "readable-stream": "~2.3.6", - "xtend": "~4.0.1" - } - }, - "node_modules/thunky": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz", - "integrity": "sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==", - "dev": true - }, - "node_modules/timers-browserify": { - "version": "2.0.12", - "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.12.tgz", - "integrity": "sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ==", - "dev": true, - "dependencies": { - "setimmediate": "^1.0.4" - }, - "engines": { - "node": ">=0.6.0" - } - }, - "node_modules/to-arraybuffer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", - "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=", - "dev": true - }, - "node_modules/to-fast-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/to-object-path": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", - "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", - "dev": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-object-path/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-regex": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", - "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", - "dev": true, - "dependencies": { - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "regex-not": "^1.0.2", - "safe-regex": "^1.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/toidentifier": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", - "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", - "dev": true, - "engines": { - "node": ">=0.6" - } - }, - "node_modules/tr46": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-3.0.0.tgz", - "integrity": "sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==", - "dev": true, - "dependencies": { - "punycode": "^2.1.1" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/trim": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/trim/-/trim-0.0.1.tgz", - "integrity": "sha1-WFhUf2spB1fulczMZm+1AITEYN0=", - "dev": true - }, - "node_modules/trim-newlines": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", - "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/trim-trailing-lines": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/trim-trailing-lines/-/trim-trailing-lines-1.1.4.tgz", - "integrity": "sha512-rjUWSqnfTNrjbB9NQWfPMH/xRK1deHeGsHoVfpxJ++XeYXE0d6B1En37AHfw3jtfTU7dzMzZL2jjpe8Qb5gLIQ==", - "dev": true, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/trough": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/trough/-/trough-1.0.5.tgz", - "integrity": "sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA==", - "dev": true, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/ts-dedent": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/ts-dedent/-/ts-dedent-2.2.0.tgz", - "integrity": "sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==", - "dev": true, - "engines": { - "node": ">=6.10" - } - }, - "node_modules/ts-pnp": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/ts-pnp/-/ts-pnp-1.2.0.tgz", - "integrity": "sha512-csd+vJOb/gkzvcCHgTGSChYpy5f1/XKNsmvBGO4JXS+z1v2HobugDz4s1IeFXM3wZB44uczs+eazB5Q/ccdhQw==", - "dev": true, - "engines": { - "node": ">=6" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" - }, - "node_modules/tty-browserify": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz", - "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=", - "dev": true - }, - "node_modules/type-check": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", - "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", - "dev": true, - "license": "MIT", - "dependencies": { - "prelude-ls": "~1.1.2" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/type-fest": { - "version": "2.12.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.12.2.tgz", - "integrity": "sha512-qt6ylCGpLjZ7AaODxbpyBZSs9fCI9SkL3Z9q2oxMBQhs/uyY+VD8jHA8ULCGmWQJlBgqvO3EJeAngOHD8zQCrQ==", - "dev": true, - "optional": true, - "peer": true, - "engines": { - "node": ">=12.20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", - "dev": true, - "dependencies": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/typedarray": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", - "dev": true, - "license": "MIT" - }, - "node_modules/typescript": { - "version": "4.6.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.4.tgz", - "integrity": "sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg==", - "dev": true, - "peer": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=4.2.0" - } - }, - "node_modules/uglify-js": { - "version": "3.15.5", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.15.5.tgz", - "integrity": "sha512-hNM5q5GbBRB5xB+PMqVRcgYe4c8jbyZ1pzZhS6jbq54/4F2gFK869ZheiE5A8/t+W5jtTNpWef/5Q9zk639FNQ==", - "dev": true, - "optional": true, - "bin": { - "uglifyjs": "bin/uglifyjs" - }, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/unbox-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", - "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "has-bigints": "^1.0.2", - "has-symbols": "^1.0.3", - "which-boxed-primitive": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/unfetch": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/unfetch/-/unfetch-4.2.0.tgz", - "integrity": "sha512-F9p7yYCn6cIW9El1zi0HI6vqpeIvBsr3dSuRO6Xuppb1u5rXpCPmMvLSyECLhybr9isec8Ohl0hPekMVrEinDA==", - "dev": true - }, - "node_modules/unherit": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/unherit/-/unherit-1.1.3.tgz", - "integrity": "sha512-Ft16BJcnapDKp0+J/rqFC3Rrk6Y/Ng4nzsC028k2jdDII/rdZ7Wd3pPT/6+vIIxRagwRc9K0IUX0Ra4fKvw+WQ==", - "dev": true, - "dependencies": { - "inherits": "^2.0.0", - "xtend": "^4.0.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/unicode-canonical-property-names-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", - "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/unicode-match-property-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", - "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", - "dev": true, - "dependencies": { - "unicode-canonical-property-names-ecmascript": "^2.0.0", - "unicode-property-aliases-ecmascript": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/unicode-match-property-value-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz", - "integrity": "sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/unicode-property-aliases-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz", - "integrity": "sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/unified": { - "version": "9.2.0", - "resolved": "https://registry.npmjs.org/unified/-/unified-9.2.0.tgz", - "integrity": "sha512-vx2Z0vY+a3YoTj8+pttM3tiJHCwY5UFbYdiWrwBEbHmK8pvsPj2rtAX2BFfgXen8T39CJWblWRDT4L5WGXtDdg==", - "dev": true, - "dependencies": { - "bail": "^1.0.0", - "extend": "^3.0.0", - "is-buffer": "^2.0.0", - "is-plain-obj": "^2.0.0", - "trough": "^1.0.0", - "vfile": "^4.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/unified/node_modules/is-buffer": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", - "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "engines": { - "node": ">=4" - } - }, - "node_modules/union-value": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", - "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", - "dev": true, - "dependencies": { - "arr-union": "^3.1.0", - "get-value": "^2.0.6", - "is-extendable": "^0.1.1", - "set-value": "^2.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/union-value/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unique-filename": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", - "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "unique-slug": "^2.0.0" - } - }, - "node_modules/unique-slug": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz", - "integrity": "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==", - "dev": true, - "license": "ISC", - "dependencies": { - "imurmurhash": "^0.1.4" - } - }, - "node_modules/unist-builder": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/unist-builder/-/unist-builder-2.0.3.tgz", - "integrity": "sha512-f98yt5pnlMWlzP539tPc4grGMsFaQQlP/vM396b00jngsiINumNmsY8rkXjfoi1c6QaM8nQ3vaGDuoKWbe/1Uw==", - "dev": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/unist-util-generated": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/unist-util-generated/-/unist-util-generated-1.1.6.tgz", - "integrity": "sha512-cln2Mm1/CZzN5ttGK7vkoGw+RZ8VcUH6BtGbq98DDtRGquAAOXig1mrBQYelOwMXYS8rK+vZDyyojSjp7JX+Lg==", - "dev": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/unist-util-is": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-4.1.0.tgz", - "integrity": "sha512-ZOQSsnce92GrxSqlnEEseX0gi7GH9zTJZ0p9dtu87WRb/37mMPO2Ilx1s/t9vBHrFhbgweUwb+t7cIn5dxPhZg==", - "dev": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/unist-util-position": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-3.1.0.tgz", - "integrity": "sha512-w+PkwCbYSFw8vpgWD0v7zRCl1FpY3fjDSQ3/N/wNd9Ffa4gPi8+4keqt99N3XW6F99t/mUzp2xAhNmfKWp95QA==", - "dev": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/unist-util-remove": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/unist-util-remove/-/unist-util-remove-2.1.0.tgz", - "integrity": "sha512-J8NYPyBm4baYLdCbjmf1bhPu45Cr1MWTm77qd9istEkzWpnN6O9tMsEbB2JhNnBCqGENRqEWomQ+He6au0B27Q==", - "dev": true, - "dependencies": { - "unist-util-is": "^4.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/unist-util-remove-position": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/unist-util-remove-position/-/unist-util-remove-position-2.0.1.tgz", - "integrity": "sha512-fDZsLYIe2uT+oGFnuZmy73K6ZxOPG/Qcm+w7jbEjaFcJgbQ6cqjs/eSPzXhsmGpAsWPkqZM9pYjww5QTn3LHMA==", - "dev": true, - "dependencies": { - "unist-util-visit": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/unist-util-stringify-position": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-2.0.3.tgz", - "integrity": "sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==", - "dev": true, - "dependencies": { - "@types/unist": "^2.0.2" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/unist-util-visit": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-2.0.3.tgz", - "integrity": "sha512-iJ4/RczbJMkD0712mGktuGpm/U4By4FfDonL7N/9tATGIF4imikjOuagyMY53tnZq3NP6BcmlrHhEKAfGWjh7Q==", - "dev": true, - "dependencies": { - "@types/unist": "^2.0.0", - "unist-util-is": "^4.0.0", - "unist-util-visit-parents": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/unist-util-visit-parents": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-3.1.1.tgz", - "integrity": "sha512-1KROIZWo6bcMrZEwiH2UrXDyalAa0uqzWCxCJj6lPOvTve2WkfgCytoDTPaMnodXh1WrXOq0haVYHj99ynJlsg==", - "dev": true, - "dependencies": { - "@types/unist": "^2.0.0", - "unist-util-is": "^4.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true, - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", - "dev": true, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/unset-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", - "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", - "dev": true, - "dependencies": { - "has-value": "^0.3.1", - "isobject": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unset-value/node_modules/has-value": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", - "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", - "dev": true, - "dependencies": { - "get-value": "^2.0.3", - "has-values": "^0.1.4", - "isobject": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unset-value/node_modules/has-value/node_modules/isobject": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", - "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", - "dev": true, - "dependencies": { - "isarray": "1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unset-value/node_modules/has-values": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", - "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/untildify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/untildify/-/untildify-2.1.0.tgz", - "integrity": "sha1-F+soB5h/dpUunASF/DEdBqgmouA=", - "dev": true, - "optional": true, - "dependencies": { - "os-homedir": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/upath": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz", - "integrity": "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==", - "dev": true, - "optional": true, - "engines": { - "node": ">=4", - "yarn": "*" - } - }, - "node_modules/uri-js": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "punycode": "^2.1.0" - } - }, - "node_modules/urix": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", - "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", - "deprecated": "Please see https://github.com/lydell/urix#deprecated", - "dev": true - }, - "node_modules/url": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", - "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", - "dev": true, - "dependencies": { - "punycode": "1.3.2", - "querystring": "0.2.0" - } - }, - "node_modules/url-loader": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/url-loader/-/url-loader-4.1.1.tgz", - "integrity": "sha512-3BTV812+AVHHOJQO8O5MkWgZ5aosP7GnROJwvzLS9hWDj00lZ6Z0wNak423Lp9PBZN05N+Jk/N5Si8jRAlGyWA==", - "dev": true, - "dependencies": { - "loader-utils": "^2.0.0", - "mime-types": "^2.1.27", - "schema-utils": "^3.0.0" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "file-loader": "*", - "webpack": "^4.0.0 || ^5.0.0" - }, - "peerDependenciesMeta": { - "file-loader": { - "optional": true - } - } - }, - "node_modules/url-parse": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz", - "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==", - "dev": true, - "optional": true, - "peer": true, - "dependencies": { - "querystringify": "^2.1.1", - "requires-port": "^1.0.0" - } - }, - "node_modules/url/node_modules/punycode": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=", - "dev": true - }, - "node_modules/url/node_modules/querystring": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", - "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", - "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.", - "dev": true, - "engines": { - "node": ">=0.4.x" - } - }, - "node_modules/use": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", - "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/util": { - "version": "0.11.1", - "resolved": "https://registry.npmjs.org/util/-/util-0.11.1.tgz", - "integrity": "sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ==", - "dev": true, - "dependencies": { - "inherits": "2.0.3" - } - }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", - "dev": true, - "license": "MIT" - }, - "node_modules/util.promisify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.0.tgz", - "integrity": "sha512-i+6qA2MPhvoKLuxnJNpXAGhg7HphQOSUq2LKMZD0m15EiskXUkMvKdF4Uui0WYeCUGea+o2cw/ZuwehtfsrNkA==", - "dev": true, - "dependencies": { - "define-properties": "^1.1.2", - "object.getownpropertydescriptors": "^2.0.3" - } - }, - "node_modules/util/node_modules/inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", - "dev": true - }, - "node_modules/utila": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/utila/-/utila-0.4.0.tgz", - "integrity": "sha1-ihagXURWV6Oupe7MWxKk+lN5dyw=", - "dev": true - }, - "node_modules/utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/uuid": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", - "dev": true, - "license": "MIT", - "bin": { - "uuid": "bin/uuid" - } - }, - "node_modules/v8-to-istanbul": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-7.1.2.tgz", - "integrity": "sha512-TxNb7YEUwkLXCQYeudi6lgQ/SZrzNO4kMdlqVxaZPUIUjCv6iSSypUQX70kNBSERpQ8fk48+d61FXk+tgqcWow==", - "dev": true, - "license": "ISC", - "dependencies": { - "@types/istanbul-lib-coverage": "^2.0.1", - "convert-source-map": "^1.6.0", - "source-map": "^0.7.3" - }, - "engines": { - "node": ">=10.10.0" - } - }, - "node_modules/v8-to-istanbul/node_modules/source-map": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", - "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">= 8" - } - }, - "node_modules/validate-npm-package-license": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "dev": true, - "dependencies": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" - } - }, - "node_modules/vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/vfile": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/vfile/-/vfile-4.2.1.tgz", - "integrity": "sha512-O6AE4OskCG5S1emQ/4gl8zK586RqA3srz3nfK/Viy0UPToBc5Trp9BVFb1u0CjsKrAWwnpr4ifM/KBXPWwJbCA==", - "dev": true, - "dependencies": { - "@types/unist": "^2.0.0", - "is-buffer": "^2.0.0", - "unist-util-stringify-position": "^2.0.0", - "vfile-message": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/vfile-location": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/vfile-location/-/vfile-location-3.2.0.tgz", - "integrity": "sha512-aLEIZKv/oxuCDZ8lkJGhuhztf/BW4M+iHdCwglA/eWc+vtuRFJj8EtgceYFX4LRjOhCAAiNHsKGssC6onJ+jbA==", - "dev": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/vfile-message": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-2.0.4.tgz", - "integrity": "sha512-DjssxRGkMvifUOJre00juHoP9DPWuzjxKuMDrhNbk2TdaYYBNMStsNhEOt3idrtI12VQYM/1+iM0KOzXi4pxwQ==", - "dev": true, - "dependencies": { - "@types/unist": "^2.0.0", - "unist-util-stringify-position": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/vfile/node_modules/is-buffer": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", - "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "engines": { - "node": ">=4" - } - }, - "node_modules/vm-browserify": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz", - "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==", - "dev": true - }, - "node_modules/w3c-hr-time": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz", - "integrity": "sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "browser-process-hrtime": "^1.0.0" - } - }, - "node_modules/w3c-xmlserializer": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-3.0.0.tgz", - "integrity": "sha512-3WFqGEgSXIyGhOmAFtlicJNMjEps8b1MG31NCA0/vOF9+nKMUW1ckhi9cnNHmf88Rzw5V+dwIwsm2C7X8k9aQg==", - "dev": true, - "dependencies": { - "xml-name-validator": "^4.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/warning": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/warning/-/warning-4.0.3.tgz", - "integrity": "sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==", - "dependencies": { - "loose-envify": "^1.0.0" - } - }, - "node_modules/watchpack": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.3.1.tgz", - "integrity": "sha512-x0t0JuydIo8qCNctdDrn1OzH/qDzk2+rdCOC3YzumZ42fiMqmQ7T3xQurykYMhYfHaPHTp4ZxAx2NfUo1K6QaA==", - "dev": true, - "dependencies": { - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.1.2" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/watchpack-chokidar2": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/watchpack-chokidar2/-/watchpack-chokidar2-2.0.1.tgz", - "integrity": "sha512-nCFfBIPKr5Sh61s4LPpy1Wtfi0HE8isJ3d2Yb5/Ppw2P2B/3eVSEBjKfN0fmHJSK14+31KwMKmcrzs2GM4P0Ww==", - "dev": true, - "optional": true, - "dependencies": { - "chokidar": "^2.1.8" - } - }, - "node_modules/watchpack-chokidar2/node_modules/anymatch": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", - "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", - "dev": true, - "optional": true, - "dependencies": { - "micromatch": "^3.1.4", - "normalize-path": "^2.1.1" - } - }, - "node_modules/watchpack-chokidar2/node_modules/anymatch/node_modules/normalize-path": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", - "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", - "dev": true, - "optional": true, - "dependencies": { - "remove-trailing-separator": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/watchpack-chokidar2/node_modules/binary-extensions": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz", - "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/watchpack-chokidar2/node_modules/braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "dev": true, - "optional": true, - "dependencies": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/watchpack-chokidar2/node_modules/braces/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "optional": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/watchpack-chokidar2/node_modules/chokidar": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz", - "integrity": "sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==", - "deprecated": "Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies", - "dev": true, - "optional": true, - "dependencies": { - "anymatch": "^2.0.0", - "async-each": "^1.0.1", - "braces": "^2.3.2", - "glob-parent": "^3.1.0", - "inherits": "^2.0.3", - "is-binary-path": "^1.0.0", - "is-glob": "^4.0.0", - "normalize-path": "^3.0.0", - "path-is-absolute": "^1.0.0", - "readdirp": "^2.2.1", - "upath": "^1.1.1" - }, - "optionalDependencies": { - "fsevents": "^1.2.7" - } - }, - "node_modules/watchpack-chokidar2/node_modules/fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", - "dev": true, - "optional": true, - "dependencies": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/watchpack-chokidar2/node_modules/fill-range/node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "optional": true, - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/watchpack-chokidar2/node_modules/fsevents": { - "version": "1.2.13", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz", - "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==", - "deprecated": "fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.", - "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "dependencies": { - "bindings": "^1.5.0", - "nan": "^2.12.1" - }, - "engines": { - "node": ">= 4.0" - } - }, - "node_modules/watchpack-chokidar2/node_modules/glob-parent": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", - "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", - "dev": true, - "optional": true, - "dependencies": { - "is-glob": "^3.1.0", - "path-dirname": "^1.0.0" - } - }, - "node_modules/watchpack-chokidar2/node_modules/glob-parent/node_modules/is-glob": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", - "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", - "dev": true, - "optional": true, - "dependencies": { - "is-extglob": "^2.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/watchpack-chokidar2/node_modules/is-binary-path": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", - "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", - "dev": true, - "optional": true, - "dependencies": { - "binary-extensions": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/watchpack-chokidar2/node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/watchpack-chokidar2/node_modules/is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "dev": true, - "optional": true, - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/watchpack-chokidar2/node_modules/is-number/node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "optional": true, - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/watchpack-chokidar2/node_modules/micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", - "dev": true, - "optional": true, - "dependencies": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/watchpack-chokidar2/node_modules/readdirp": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz", - "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", - "dev": true, - "optional": true, - "dependencies": { - "graceful-fs": "^4.1.11", - "micromatch": "^3.1.10", - "readable-stream": "^2.0.2" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/watchpack-chokidar2/node_modules/to-regex-range": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", - "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", - "dev": true, - "optional": true, - "dependencies": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/wbuf": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/wbuf/-/wbuf-1.7.3.tgz", - "integrity": "sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA==", - "dev": true, - "license": "MIT", - "dependencies": { - "minimalistic-assert": "^1.0.0" - } - }, - "node_modules/web-namespaces": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/web-namespaces/-/web-namespaces-1.1.4.tgz", - "integrity": "sha512-wYxSGajtmoP4WxfejAPIr4l0fVh+jeMXZb08wNc0tMg6xsfZXj3cECqIK0G7ZAqUq0PP8WlMDtaOGVBTAWztNw==", - "dev": true, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/webidl-conversions": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", - "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==", - "dev": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/webpack": { - "version": "5.72.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.72.1.tgz", - "integrity": "sha512-dXG5zXCLspQR4krZVR6QgajnZOjW2K/djHvdcRaDQvsjV9z9vaW6+ja5dZOYbqBBjF6kGXka/2ZyxNdc+8Jung==", - "dev": true, - "dependencies": { - "@types/eslint-scope": "^3.7.3", - "@types/estree": "^0.0.51", - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/wasm-edit": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1", - "acorn": "^8.4.1", - "acorn-import-assertions": "^1.7.6", - "browserslist": "^4.14.5", - "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.9.3", - "es-module-lexer": "^0.9.0", - "eslint-scope": "5.1.1", - "events": "^3.2.0", - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.2.9", - "json-parse-even-better-errors": "^2.3.1", - "loader-runner": "^4.2.0", - "mime-types": "^2.1.27", - "neo-async": "^2.6.2", - "schema-utils": "^3.1.0", - "tapable": "^2.1.1", - "terser-webpack-plugin": "^5.1.3", - "watchpack": "^2.3.1", - "webpack-sources": "^3.2.3" - }, - "bin": { - "webpack": "bin/webpack.js" - }, - "engines": { - "node": ">=10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependenciesMeta": { - "webpack-cli": { - "optional": true - } - } - }, - "node_modules/webpack-cli": { - "version": "4.9.2", - "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-4.9.2.tgz", - "integrity": "sha512-m3/AACnBBzK/kMTcxWHcZFPrw/eQuY4Df1TxvIWfWM2x7mRqBQCqKEd96oCUa9jkapLBaFfRce33eGDb4Pr7YQ==", - "dev": true, - "dependencies": { - "@discoveryjs/json-ext": "^0.5.0", - "@webpack-cli/configtest": "^1.1.1", - "@webpack-cli/info": "^1.4.1", - "@webpack-cli/serve": "^1.6.1", - "colorette": "^2.0.14", - "commander": "^7.0.0", - "execa": "^5.0.0", - "fastest-levenshtein": "^1.0.12", - "import-local": "^3.0.2", - "interpret": "^2.2.0", - "rechoir": "^0.7.0", - "webpack-merge": "^5.7.3" - }, - "bin": { - "webpack-cli": "bin/cli.js" - }, - "engines": { - "node": ">=10.13.0" - }, - "peerDependencies": { - "webpack": "4.x.x || 5.x.x" - }, - "peerDependenciesMeta": { - "@webpack-cli/generators": { - "optional": true - }, - "@webpack-cli/migrate": { - "optional": true - }, - "webpack-bundle-analyzer": { - "optional": true - }, - "webpack-dev-server": { - "optional": true - } - } - }, - "node_modules/webpack-cli/node_modules/commander": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", - "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 10" - } - }, - "node_modules/webpack-cli/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "license": "MIT", - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/webpack-cli/node_modules/import-local": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.0.2.tgz", - "integrity": "sha512-vjL3+w0oulAVZ0hBHnxa/Nm5TAurf9YLQJDhqRZyqb+VKGOB6LU8t9H1Nr5CIo16vh9XfJTOoHwU0B71S557gA==", - "dev": true, - "license": "MIT", - "dependencies": { - "pkg-dir": "^4.2.0", - "resolve-cwd": "^3.0.0" - }, - "bin": { - "import-local-fixture": "fixtures/cli.js" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/webpack-cli/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "license": "MIT", - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/webpack-cli/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "license": "MIT", - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/webpack-cli/node_modules/pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "find-up": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/webpack-cli/node_modules/resolve-cwd": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", - "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", - "dev": true, - "license": "MIT", - "dependencies": { - "resolve-from": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/webpack-dev-middleware": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-4.3.0.tgz", - "integrity": "sha512-PjwyVY95/bhBh6VUqt6z4THplYcsvQ8YNNBTBM873xLVmw8FLeALn0qurHbs9EmcfhzQis/eoqypSnZeuUz26w==", - "dev": true, - "dependencies": { - "colorette": "^1.2.2", - "mem": "^8.1.1", - "memfs": "^3.2.2", - "mime-types": "^2.1.30", - "range-parser": "^1.2.1", - "schema-utils": "^3.0.0" - }, - "engines": { - "node": ">= v10.23.3" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^4.0.0 || ^5.0.0" - } - }, - "node_modules/webpack-dev-middleware/node_modules/colorette": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.4.0.tgz", - "integrity": "sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g==", - "dev": true - }, - "node_modules/webpack-dev-server": { - "version": "4.9.0", - "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-4.9.0.tgz", - "integrity": "sha512-+Nlb39iQSOSsFv0lWUuUTim3jDQO8nhK3E68f//J2r5rIcp4lULHXz2oZ0UVdEeWXEh5lSzYUlzarZhDAeAVQw==", - "dev": true, - "dependencies": { - "@types/bonjour": "^3.5.9", - "@types/connect-history-api-fallback": "^1.3.5", - "@types/express": "^4.17.13", - "@types/serve-index": "^1.9.1", - "@types/sockjs": "^0.3.33", - "@types/ws": "^8.5.1", - "ansi-html-community": "^0.0.8", - "bonjour-service": "^1.0.11", - "chokidar": "^3.5.3", - "colorette": "^2.0.10", - "compression": "^1.7.4", - "connect-history-api-fallback": "^1.6.0", - "default-gateway": "^6.0.3", - "express": "^4.17.3", - "graceful-fs": "^4.2.6", - "html-entities": "^2.3.2", - "http-proxy-middleware": "^2.0.3", - "ipaddr.js": "^2.0.1", - "open": "^8.0.9", - "p-retry": "^4.5.0", - "rimraf": "^3.0.2", - "schema-utils": "^4.0.0", - "selfsigned": "^2.0.1", - "serve-index": "^1.9.1", - "sockjs": "^0.3.21", - "spdy": "^4.0.2", - "webpack-dev-middleware": "^5.3.1", - "ws": "^8.4.2" - }, - "bin": { - "webpack-dev-server": "bin/webpack-dev-server.js" - }, - "engines": { - "node": ">= 12.13.0" - }, - "peerDependencies": { - "webpack": "^4.37.0 || ^5.0.0" - }, - "peerDependenciesMeta": { - "webpack-cli": { - "optional": true - } - } - }, - "node_modules/webpack-dev-server/node_modules/ajv": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", - "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", - "dev": true, - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/webpack-dev-server/node_modules/ajv-keywords": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", - "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", - "dev": true, - "dependencies": { - "fast-deep-equal": "^3.1.3" - }, - "peerDependencies": { - "ajv": "^8.8.2" - } - }, - "node_modules/webpack-dev-server/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true - }, - "node_modules/webpack-dev-server/node_modules/schema-utils": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.0.0.tgz", - "integrity": "sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg==", - "dev": true, - "dependencies": { - "@types/json-schema": "^7.0.9", - "ajv": "^8.8.0", - "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.0.0" - }, - "engines": { - "node": ">= 12.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, - "node_modules/webpack-dev-server/node_modules/webpack-dev-middleware": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.3.tgz", - "integrity": "sha512-hj5CYrY0bZLB+eTO+x/j67Pkrquiy7kWepMHmUMoPsmcUaeEnQJqFzHJOyxgWlq746/wUuA64p9ta34Kyb01pA==", - "dev": true, - "dependencies": { - "colorette": "^2.0.10", - "memfs": "^3.4.3", - "mime-types": "^2.1.31", - "range-parser": "^1.2.1", - "schema-utils": "^4.0.0" - }, - "engines": { - "node": ">= 12.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^4.0.0 || ^5.0.0" - } - }, - "node_modules/webpack-hot-middleware": { - "version": "2.25.1", - "resolved": "https://registry.npmjs.org/webpack-hot-middleware/-/webpack-hot-middleware-2.25.1.tgz", - "integrity": "sha512-Koh0KyU/RPYwel/khxbsDz9ibDivmUbrRuKSSQvW42KSDdO4w23WI3SkHpSUKHE76LrFnnM/L7JCrpBwu8AXYw==", - "dev": true, - "dependencies": { - "ansi-html-community": "0.0.8", - "html-entities": "^2.1.0", - "querystring": "^0.2.0", - "strip-ansi": "^6.0.0" - } - }, - "node_modules/webpack-log": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/webpack-log/-/webpack-log-2.0.0.tgz", - "integrity": "sha512-cX8G2vR/85UYG59FgkoMamwHUIkSSlV3bBMRsbxVXVUk2j6NleCKjQ/WE9eYg9WY4w25O9w8wKP4rzNZFmUcUg==", - "dev": true, - "dependencies": { - "ansi-colors": "^3.0.0", - "uuid": "^3.3.2" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/webpack-merge": { - "version": "5.8.0", - "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.8.0.tgz", - "integrity": "sha512-/SaI7xY0831XwP6kzuwhKWVKDP9t1QY1h65lAFLbZqMPIuYcD9QAW4u9STIbU9kaJbPBB/geU/gLr1wDjOhQ+Q==", - "dev": true, - "dependencies": { - "clone-deep": "^4.0.1", - "wildcard": "^2.0.0" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/webpack-sources": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", - "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", - "dev": true, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/webpack-virtual-modules": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/webpack-virtual-modules/-/webpack-virtual-modules-0.4.3.tgz", - "integrity": "sha512-5NUqC2JquIL2pBAAo/VfBP6KuGkHIZQXW/lNKupLPfhViwh8wNsu0BObtl09yuKZszeEUfbXz8xhrHvSG16Nqw==", - "dev": true - }, - "node_modules/webpack/node_modules/acorn": { - "version": "8.7.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", - "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", - "dev": true, - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/webpack/node_modules/acorn-import-assertions": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz", - "integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==", - "dev": true, - "peerDependencies": { - "acorn": "^8" - } - }, - "node_modules/webpack/node_modules/schema-utils": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", - "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", - "dev": true, - "dependencies": { - "@types/json-schema": "^7.0.8", - "ajv": "^6.12.5", - "ajv-keywords": "^3.5.2" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, - "node_modules/webpack/node_modules/tapable": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", - "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/websocket-driver": { - "version": "0.7.4", - "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.4.tgz", - "integrity": "sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "http-parser-js": ">=0.5.1", - "safe-buffer": ">=5.1.0", - "websocket-extensions": ">=0.1.1" - }, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/websocket-extensions": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.4.tgz", - "integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/whatwg-encoding": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-2.0.0.tgz", - "integrity": "sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==", - "dev": true, - "dependencies": { - "iconv-lite": "0.6.3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/whatwg-encoding/node_modules/iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "dev": true, - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/whatwg-mimetype": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz", - "integrity": "sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==", - "dev": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/whatwg-url": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-10.0.0.tgz", - "integrity": "sha512-CLxxCmdUby142H5FZzn4D8ikO1cmypvXVQktsgosNy4a4BHrDHeciBBGZhb0bNoR5/MltoCatso+vFjjGx8t0w==", - "dev": true, - "dependencies": { - "tr46": "^3.0.0", - "webidl-conversions": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/which-boxed-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", - "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", - "dev": true, - "dependencies": { - "is-bigint": "^1.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "is-symbol": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/wide-align": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz", - "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==", - "dev": true, - "dependencies": { - "string-width": "^1.0.2 || 2 || 3 || 4" - } - }, - "node_modules/widest-line": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz", - "integrity": "sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==", - "dev": true, - "dependencies": { - "string-width": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wildcard": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.0.tgz", - "integrity": "sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw==", - "dev": true, - "license": "MIT" - }, - "node_modules/word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/wordwrap": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", - "dev": true - }, - "node_modules/worker-farm": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/worker-farm/-/worker-farm-1.7.0.tgz", - "integrity": "sha512-rvw3QTZc8lAxyVrqcSGVm5yP/IJ2UcB3U0graE3LCFoZ0Yn2x4EoVSqJKdB/T5M+FLcRPjz4TDacRf3OCfNUzw==", - "dev": true, - "dependencies": { - "errno": "~0.1.7" - } - }, - "node_modules/worker-rpc": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/worker-rpc/-/worker-rpc-0.1.1.tgz", - "integrity": "sha512-P1WjMrUB3qgJNI9jfmpZ/htmBEjFh//6l/5y8SD9hg1Ef5zTTVVoRjTrTEzPrNBQvmhMxkoTsjOXN10GWU7aCg==", - "dev": true, - "dependencies": { - "microevent.ts": "~0.1.1" - } - }, - "node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true, - "license": "ISC" - }, - "node_modules/ws": { - "version": "8.6.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.6.0.tgz", - "integrity": "sha512-AzmM3aH3gk0aX7/rZLYvjdvZooofDu3fFOzGqcSnQ1tOcTWwhM/o+q++E8mAyVVIyUdajrkzWUGftaVSDLn1bw==", - "dev": true, - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, - "node_modules/x-default-browser": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/x-default-browser/-/x-default-browser-0.4.0.tgz", - "integrity": "sha1-cM8NqF2nwKtcsPFaiX8jIqa91IE=", - "dev": true, - "bin": { - "x-default-browser": "bin/x-default-browser.js" - }, - "optionalDependencies": { - "default-browser-id": "^1.0.4" - } - }, - "node_modules/xml-name-validator": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-4.0.0.tgz", - "integrity": "sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==", - "dev": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/xmlchars": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", - "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==", - "dev": true, - "license": "MIT" - }, - "node_modules/xtend": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", - "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", - "license": "MIT", - "engines": { - "node": ">=0.4" - } - }, - "node_modules/y18n": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", - "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true, - "license": "ISC" - }, - "node_modules/yaml": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", - "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", - "engines": { - "node": ">= 6" - } - }, - "node_modules/yargs-parser": { - "version": "20.2.7", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.7.tgz", - "integrity": "sha512-FiNkvbeHzB/syOjIUxFDCnhSfzAL8R5vs40MgLFBorXACCOAEaWu0gRZl14vG8MR9AOJIZbmkjhusqBYZ3HTHw==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=10" - } - }, - "node_modules/yocto-queue": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/zwitch": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.5.tgz", - "integrity": "sha512-V50KMwwzqJV0NpZIZFwfOD5/lyny3WlSzRiXgA0G7VUnRlqttta1L6UQIHzd6EuBY/cHGfwTIck7w1yH6Q5zUw==", - "dev": true, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - } - }, - "dependencies": { - "@ampproject/remapping": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz", - "integrity": "sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==", - "requires": { - "@jridgewell/gen-mapping": "^0.1.0", - "@jridgewell/trace-mapping": "^0.3.9" - } - }, - "@babel/code-frame": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", - "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", - "requires": { - "@babel/highlight": "^7.16.7" - } - }, - "@babel/compat-data": { - "version": "7.17.10", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.17.10.tgz", - "integrity": "sha512-GZt/TCsG70Ms19gfZO1tM4CVnXsPgEPBCpJu+Qz3L0LUDsY5nZqFZglIoPC1kIYOtNBZlrnFT+klg12vFGZXrw==" - }, - "@babel/core": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.0.tgz", - "integrity": "sha512-Xyw74OlJwDijToNi0+6BBI5mLLR5+5R3bcSH80LXzjzEGEUlvNzujEE71BaD/ApEZHAvFI/Mlmp4M5lIkdeeWw==", - "requires": { - "@ampproject/remapping": "^2.1.0", - "@babel/code-frame": "^7.16.7", - "@babel/generator": "^7.18.0", - "@babel/helper-compilation-targets": "^7.17.10", - "@babel/helper-module-transforms": "^7.18.0", - "@babel/helpers": "^7.18.0", - "@babel/parser": "^7.18.0", - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.18.0", - "@babel/types": "^7.18.0", - "convert-source-map": "^1.7.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.2.1", - "semver": "^6.3.0" - }, - "dependencies": { - "debug": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", - "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - } - } - }, - "@babel/generator": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.0.tgz", - "integrity": "sha512-81YO9gGx6voPXlvYdZBliFXAZU8vZ9AZ6z+CjlmcnaeOcYSFbMTpdeDUO9xD9dh/68Vq03I8ZspfUTPfitcDHg==", - "requires": { - "@babel/types": "^7.18.0", - "@jridgewell/gen-mapping": "^0.3.0", - "jsesc": "^2.5.1" - }, - "dependencies": { - "@jridgewell/gen-mapping": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.1.tgz", - "integrity": "sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==", - "requires": { - "@jridgewell/set-array": "^1.0.0", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - } - } - } - }, - "@babel/helper-annotate-as-pure": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.16.7.tgz", - "integrity": "sha512-s6t2w/IPQVTAET1HitoowRGXooX8mCgtuP5195wD/QJPV6wYjpujCGF7JuMODVX2ZAJOf1GT6DT9MHEZvLOFSw==", - "dev": true, - "requires": { - "@babel/types": "^7.16.7" - } - }, - "@babel/helper-builder-binary-assignment-operator-visitor": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.16.7.tgz", - "integrity": "sha512-C6FdbRaxYjwVu/geKW4ZeQ0Q31AftgRcdSnZ5/jsH6BzCJbtvXvhpfkbkThYSuutZA7nCXpPR6AD9zd1dprMkA==", - "dev": true, - "requires": { - "@babel/helper-explode-assignable-expression": "^7.16.7", - "@babel/types": "^7.16.7" - } - }, - "@babel/helper-compilation-targets": { - "version": "7.17.10", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.17.10.tgz", - "integrity": "sha512-gh3RxjWbauw/dFiU/7whjd0qN9K6nPJMqe6+Er7rOavFh0CQUSwhAE3IcTho2rywPJFxej6TUUHDkWcYI6gGqQ==", - "requires": { - "@babel/compat-data": "^7.17.10", - "@babel/helper-validator-option": "^7.16.7", - "browserslist": "^4.20.2", - "semver": "^6.3.0" - } - }, - "@babel/helper-create-class-features-plugin": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.18.0.tgz", - "integrity": "sha512-Kh8zTGR9de3J63e5nS0rQUdRs/kbtwoeQQ0sriS0lItjC96u8XXZN6lKpuyWd2coKSU13py/y+LTmThLuVX0Pg==", - "dev": true, - "requires": { - "@babel/helper-annotate-as-pure": "^7.16.7", - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-function-name": "^7.17.9", - "@babel/helper-member-expression-to-functions": "^7.17.7", - "@babel/helper-optimise-call-expression": "^7.16.7", - "@babel/helper-replace-supers": "^7.16.7", - "@babel/helper-split-export-declaration": "^7.16.7" - } - }, - "@babel/helper-create-regexp-features-plugin": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.17.12.tgz", - "integrity": "sha512-b2aZrV4zvutr9AIa6/gA3wsZKRwTKYoDxYiFKcESS3Ug2GTXzwBEvMuuFLhCQpEnRXs1zng4ISAXSUxxKBIcxw==", - "dev": true, - "requires": { - "@babel/helper-annotate-as-pure": "^7.16.7", - "regexpu-core": "^5.0.1" - } - }, - "@babel/helper-define-polyfill-provider": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.1.tgz", - "integrity": "sha512-J9hGMpJQmtWmj46B3kBHmL38UhJGhYX7eqkcq+2gsstyYt341HmPeWspihX43yVRA0mS+8GGk2Gckc7bY/HCmA==", - "dev": true, - "requires": { - "@babel/helper-compilation-targets": "^7.13.0", - "@babel/helper-module-imports": "^7.12.13", - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/traverse": "^7.13.0", - "debug": "^4.1.1", - "lodash.debounce": "^4.0.8", - "resolve": "^1.14.2", - "semver": "^6.1.2" - }, - "dependencies": { - "debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - } - } - }, - "@babel/helper-environment-visitor": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz", - "integrity": "sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==", - "requires": { - "@babel/types": "^7.16.7" - } - }, - "@babel/helper-explode-assignable-expression": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.16.7.tgz", - "integrity": "sha512-KyUenhWMC8VrxzkGP0Jizjo4/Zx+1nNZhgocs+gLzyZyB8SHidhoq9KK/8Ato4anhwsivfkBLftky7gvzbZMtQ==", - "dev": true, - "requires": { - "@babel/types": "^7.16.7" - } - }, - "@babel/helper-function-name": { - "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz", - "integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==", - "requires": { - "@babel/template": "^7.16.7", - "@babel/types": "^7.17.0" - } - }, - "@babel/helper-hoist-variables": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz", - "integrity": "sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==", - "requires": { - "@babel/types": "^7.16.7" - } - }, - "@babel/helper-member-expression-to-functions": { - "version": "7.17.7", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.17.7.tgz", - "integrity": "sha512-thxXgnQ8qQ11W2wVUObIqDL4p148VMxkt5T/qpN5k2fboRyzFGFmKsTGViquyM5QHKUy48OZoca8kw4ajaDPyw==", - "dev": true, - "requires": { - "@babel/types": "^7.17.0" - } - }, - "@babel/helper-module-imports": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz", - "integrity": "sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==", - "requires": { - "@babel/types": "^7.16.7" - } - }, - "@babel/helper-module-transforms": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.18.0.tgz", - "integrity": "sha512-kclUYSUBIjlvnzN2++K9f2qzYKFgjmnmjwL4zlmU5f8ZtzgWe8s0rUPSTGy2HmK4P8T52MQsS+HTQAgZd3dMEA==", - "requires": { - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-module-imports": "^7.16.7", - "@babel/helper-simple-access": "^7.17.7", - "@babel/helper-split-export-declaration": "^7.16.7", - "@babel/helper-validator-identifier": "^7.16.7", - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.18.0", - "@babel/types": "^7.18.0" - } - }, - "@babel/helper-optimise-call-expression": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.16.7.tgz", - "integrity": "sha512-EtgBhg7rd/JcnpZFXpBy0ze1YRfdm7BnBX4uKMBd3ixa3RGAE002JZB66FJyNH7g0F38U05pXmA5P8cBh7z+1w==", - "dev": true, - "requires": { - "@babel/types": "^7.16.7" - } - }, - "@babel/helper-plugin-utils": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.17.12.tgz", - "integrity": "sha512-JDkf04mqtN3y4iAbO1hv9U2ARpPyPL1zqyWs/2WG1pgSq9llHFjStX5jdxb84himgJm+8Ng+x0oiWF/nw/XQKA==" - }, - "@babel/helper-remap-async-to-generator": { - "version": "7.16.8", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.16.8.tgz", - "integrity": "sha512-fm0gH7Flb8H51LqJHy3HJ3wnE1+qtYR2A99K06ahwrawLdOFsCEWjZOrYricXJHoPSudNKxrMBUPEIPxiIIvBw==", - "dev": true, - "requires": { - "@babel/helper-annotate-as-pure": "^7.16.7", - "@babel/helper-wrap-function": "^7.16.8", - "@babel/types": "^7.16.8" - } - }, - "@babel/helper-replace-supers": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.16.7.tgz", - "integrity": "sha512-y9vsWilTNaVnVh6xiJfABzsNpgDPKev9HnAgz6Gb1p6UUwf9NepdlsV7VXGCftJM+jqD5f7JIEubcpLjZj5dBw==", - "dev": true, - "requires": { - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-member-expression-to-functions": "^7.16.7", - "@babel/helper-optimise-call-expression": "^7.16.7", - "@babel/traverse": "^7.16.7", - "@babel/types": "^7.16.7" - } - }, - "@babel/helper-simple-access": { - "version": "7.17.7", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.17.7.tgz", - "integrity": "sha512-txyMCGroZ96i+Pxr3Je3lzEJjqwaRC9buMUgtomcrLe5Nd0+fk1h0LLA+ixUF5OW7AhHuQ7Es1WcQJZmZsz2XA==", - "requires": { - "@babel/types": "^7.17.0" - } - }, - "@babel/helper-skip-transparent-expression-wrappers": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.16.0.tgz", - "integrity": "sha512-+il1gTy0oHwUsBQZyJvukbB4vPMdcYBrFHa0Uc4AizLxbq6BOYC51Rv4tWocX9BLBDLZ4kc6qUFpQ6HRgL+3zw==", - "dev": true, - "requires": { - "@babel/types": "^7.16.0" - } - }, - "@babel/helper-split-export-declaration": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", - "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", - "requires": { - "@babel/types": "^7.16.7" - } - }, - "@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==" - }, - "@babel/helper-validator-option": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz", - "integrity": "sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==" - }, - "@babel/helper-wrap-function": { - "version": "7.16.8", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.16.8.tgz", - "integrity": "sha512-8RpyRVIAW1RcDDGTA+GpPAwV22wXCfKOoM9bet6TLkGIFTkRQSkH1nMQ5Yet4MpoXe1ZwHPVtNasc2w0uZMqnw==", - "dev": true, - "requires": { - "@babel/helper-function-name": "^7.16.7", - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.16.8", - "@babel/types": "^7.16.8" - } - }, - "@babel/helpers": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.18.0.tgz", - "integrity": "sha512-AE+HMYhmlMIbho9nbvicHyxFwhrO+xhKB6AhRxzl8w46Yj0VXTZjEsAoBVC7rB2I0jzX+yWyVybnO08qkfx6kg==", - "requires": { - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.18.0", - "@babel/types": "^7.18.0" - } - }, - "@babel/highlight": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.12.tgz", - "integrity": "sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - } - }, - "@babel/parser": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.0.tgz", - "integrity": "sha512-AqDccGC+m5O/iUStSJy3DGRIUFu7WbY/CppZYwrEUB4N0tZlnI8CSTsgL7v5fHVFmUbRv2sd+yy27o8Ydt4MGg==" - }, - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.17.12.tgz", - "integrity": "sha512-xCJQXl4EeQ3J9C4yOmpTrtVGmzpm2iSzyxbkZHw7UCnZBftHpF/hpII80uWVyVrc40ytIClHjgWGTG1g/yB+aw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.17.12.tgz", - "integrity": "sha512-/vt0hpIw0x4b6BLKUkwlvEoiGZYYLNZ96CzyHYPbtG2jZGz6LBe7/V+drYrc/d+ovrF9NBi0pmtvmNb/FsWtRQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", - "@babel/plugin-proposal-optional-chaining": "^7.17.12" - } - }, - "@babel/plugin-proposal-async-generator-functions": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.17.12.tgz", - "integrity": "sha512-RWVvqD1ooLKP6IqWTA5GyFVX2isGEgC5iFxKzfYOIy/QEFdxYyCybBDtIGjipHpb9bDWHzcqGqFakf+mVmBTdQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-remap-async-to-generator": "^7.16.8", - "@babel/plugin-syntax-async-generators": "^7.8.4" - } - }, - "@babel/plugin-proposal-class-properties": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.17.12.tgz", - "integrity": "sha512-U0mI9q8pW5Q9EaTHFPwSVusPMV/DV9Mm8p7csqROFLtIE9rBF5piLqyrBGigftALrBcsBGu4m38JneAe7ZDLXw==", - "dev": true, - "requires": { - "@babel/helper-create-class-features-plugin": "^7.17.12", - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-proposal-class-static-block": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.18.0.tgz", - "integrity": "sha512-t+8LsRMMDE74c6sV7KShIw13sqbqd58tlqNrsWoWBTIMw7SVQ0cZ905wLNS/FBCy/3PyooRHLFFlfrUNyyz5lA==", - "dev": true, - "requires": { - "@babel/helper-create-class-features-plugin": "^7.18.0", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/plugin-syntax-class-static-block": "^7.14.5" - } - }, - "@babel/plugin-proposal-decorators": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.17.12.tgz", - "integrity": "sha512-gL0qSSeIk/VRfTDgtQg/EtejENssN/r3p5gJsPie1UacwiHibprpr19Z0pcK3XKuqQvjGVxsQ37Tl1MGfXzonA==", - "dev": true, - "requires": { - "@babel/helper-create-class-features-plugin": "^7.17.12", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-replace-supers": "^7.16.7", - "@babel/helper-split-export-declaration": "^7.16.7", - "@babel/plugin-syntax-decorators": "^7.17.12", - "charcodes": "^0.2.0" - } - }, - "@babel/plugin-proposal-dynamic-import": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.16.7.tgz", - "integrity": "sha512-I8SW9Ho3/8DRSdmDdH3gORdyUuYnk1m4cMxUAdu5oy4n3OfN8flDEH+d60iG7dUfi0KkYwSvoalHzzdRzpWHTg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.16.7", - "@babel/plugin-syntax-dynamic-import": "^7.8.3" - } - }, - "@babel/plugin-proposal-export-default-from": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.17.12.tgz", - "integrity": "sha512-LpsTRw725eBAXXKUOnJJct+SEaOzwR78zahcLuripD2+dKc2Sj+8Q2DzA+GC/jOpOu/KlDXuxrzG214o1zTauQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/plugin-syntax-export-default-from": "^7.16.7" - } - }, - "@babel/plugin-proposal-export-namespace-from": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.17.12.tgz", - "integrity": "sha512-j7Ye5EWdwoXOpRmo5QmRyHPsDIe6+u70ZYZrd7uz+ebPYFKfRcLcNu3Ro0vOlJ5zuv8rU7xa+GttNiRzX56snQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3" - } - }, - "@babel/plugin-proposal-json-strings": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.17.12.tgz", - "integrity": "sha512-rKJ+rKBoXwLnIn7n6o6fulViHMrOThz99ybH+hKHcOZbnN14VuMnH9fo2eHE69C8pO4uX1Q7t2HYYIDmv8VYkg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/plugin-syntax-json-strings": "^7.8.3" - } - }, - "@babel/plugin-proposal-logical-assignment-operators": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.17.12.tgz", - "integrity": "sha512-EqFo2s1Z5yy+JeJu7SFfbIUtToJTVlC61/C7WLKDntSw4Sz6JNAIfL7zQ74VvirxpjB5kz/kIx0gCcb+5OEo2Q==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" - } - }, - "@babel/plugin-proposal-nullish-coalescing-operator": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.17.12.tgz", - "integrity": "sha512-ws/g3FSGVzv+VH86+QvgtuJL/kR67xaEIF2x0iPqdDfYW6ra6JF3lKVBkWynRLcNtIC1oCTfDRVxmm2mKzy+ag==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" - } - }, - "@babel/plugin-proposal-numeric-separator": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.16.7.tgz", - "integrity": "sha512-vQgPMknOIgiuVqbokToyXbkY/OmmjAzr/0lhSIbG/KmnzXPGwW/AdhdKpi+O4X/VkWiWjnkKOBiqJrTaC98VKw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.16.7", - "@babel/plugin-syntax-numeric-separator": "^7.10.4" - } - }, - "@babel/plugin-proposal-object-rest-spread": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.0.tgz", - "integrity": "sha512-nbTv371eTrFabDfHLElkn9oyf9VG+VKK6WMzhY2o4eHKaG19BToD9947zzGMO6I/Irstx9d8CwX6njPNIAR/yw==", - "dev": true, - "requires": { - "@babel/compat-data": "^7.17.10", - "@babel/helper-compilation-targets": "^7.17.10", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.17.12" - } - }, - "@babel/plugin-proposal-optional-catch-binding": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.16.7.tgz", - "integrity": "sha512-eMOH/L4OvWSZAE1VkHbr1vckLG1WUcHGJSLqqQwl2GaUqG6QjddvrOaTUMNYiv77H5IKPMZ9U9P7EaHwvAShfA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.16.7", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" - } - }, - "@babel/plugin-proposal-optional-chaining": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.17.12.tgz", - "integrity": "sha512-7wigcOs/Z4YWlK7xxjkvaIw84vGhDv/P1dFGQap0nHkc8gFKY/r+hXc8Qzf5k1gY7CvGIcHqAnOagVKJJ1wVOQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", - "@babel/plugin-syntax-optional-chaining": "^7.8.3" - } - }, - "@babel/plugin-proposal-private-methods": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.17.12.tgz", - "integrity": "sha512-SllXoxo19HmxhDWm3luPz+cPhtoTSKLJE9PXshsfrOzBqs60QP0r8OaJItrPhAj0d7mZMnNF0Y1UUggCDgMz1A==", - "dev": true, - "requires": { - "@babel/helper-create-class-features-plugin": "^7.17.12", - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-proposal-private-property-in-object": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.17.12.tgz", - "integrity": "sha512-/6BtVi57CJfrtDNKfK5b66ydK2J5pXUKBKSPD2G1whamMuEnZWgoOIfO8Vf9F/DoD4izBLD/Au4NMQfruzzykg==", - "dev": true, - "requires": { - "@babel/helper-annotate-as-pure": "^7.16.7", - "@babel/helper-create-class-features-plugin": "^7.17.12", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5" - } - }, - "@babel/plugin-proposal-unicode-property-regex": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.17.12.tgz", - "integrity": "sha512-Wb9qLjXf3ZazqXA7IvI7ozqRIXIGPtSo+L5coFmEkhTQK18ao4UDDD0zdTGAarmbLj2urpRwrc6893cu5Bfh0A==", - "dev": true, - "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.17.12", - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-syntax-async-generators": { - "version": "7.8.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", - "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-class-properties": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", - "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.12.13" - } - }, - "@babel/plugin-syntax-class-static-block": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", - "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-syntax-decorators": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.17.12.tgz", - "integrity": "sha512-D1Hz0qtGTza8K2xGyEdVNCYLdVHukAcbQr4K3/s6r/esadyEriZovpJimQOpu8ju4/jV8dW/1xdaE0UpDroidw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-syntax-dynamic-import": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", - "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-export-default-from": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.16.7.tgz", - "integrity": "sha512-4C3E4NsrLOgftKaTYTULhHsuQrGv3FHrBzOMDiS7UYKIpgGBkAdawg4h+EI8zPeK9M0fiIIh72hIwsI24K7MbA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.16.7" - } - }, - "@babel/plugin-syntax-export-namespace-from": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz", - "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.3" - } - }, - "@babel/plugin-syntax-flow": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.12.13.tgz", - "integrity": "sha512-J/RYxnlSLXZLVR7wTRsozxKT8qbsx1mNKJzXEEjQ0Kjx1ZACcyHgbanNWNCFtc36IzuWhYWPpvJFFoexoOWFmA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.12.13" - } - }, - "@babel/plugin-syntax-import-assertions": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.17.12.tgz", - "integrity": "sha512-n/loy2zkq9ZEM8tEOwON9wTQSTNDTDEz6NujPtJGLU7qObzT1N4c4YZZf8E6ATB2AjNQg/Ib2AIpO03EZaCehw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-syntax-json-strings": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", - "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-jsx": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.14.5.tgz", - "integrity": "sha512-ohuFIsOMXJnbOMRfX7/w7LocdR6R7whhuRD4ax8IipLcLPlZGJKkBxgHp++U4N/vKyU16/YDQr2f5seajD3jIw==", - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-syntax-logical-assignment-operators": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", - "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.10.4" - } - }, - "@babel/plugin-syntax-nullish-coalescing-operator": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", - "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-numeric-separator": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", - "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.10.4" - } - }, - "@babel/plugin-syntax-object-rest-spread": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", - "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-optional-catch-binding": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", - "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-optional-chaining": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", - "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-private-property-in-object": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", - "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-syntax-top-level-await": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", - "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-syntax-typescript": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.17.12.tgz", - "integrity": "sha512-TYY0SXFiO31YXtNg3HtFwNJHjLsAyIIhAhNWkQ5whPPS7HWUFlg9z0Ta4qAQNjQbP1wsSt/oKkmZ/4/WWdMUpw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-arrow-functions": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.17.12.tgz", - "integrity": "sha512-PHln3CNi/49V+mza4xMwrg+WGYevSF1oaiXaC2EQfdp4HWlSjRsrDXWJiQBKpP7749u6vQ9mcry2uuFOv5CXvA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-async-to-generator": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.17.12.tgz", - "integrity": "sha512-J8dbrWIOO3orDzir57NRsjg4uxucvhby0L/KZuGsWDj0g7twWK3g7JhJhOrXtuXiw8MeiSdJ3E0OW9H8LYEzLQ==", - "dev": true, - "requires": { - "@babel/helper-module-imports": "^7.16.7", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-remap-async-to-generator": "^7.16.8" - } - }, - "@babel/plugin-transform-block-scoped-functions": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.16.7.tgz", - "integrity": "sha512-JUuzlzmF40Z9cXyytcbZEZKckgrQzChbQJw/5PuEHYeqzCsvebDx0K0jWnIIVcmmDOAVctCgnYs0pMcrYj2zJg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.16.7" - } - }, - "@babel/plugin-transform-block-scoping": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.17.12.tgz", - "integrity": "sha512-jw8XW/B1i7Lqwqj2CbrViPcZijSxfguBWZP2aN59NHgxUyO/OcO1mfdCxH13QhN5LbWhPkX+f+brKGhZTiqtZQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-classes": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.17.12.tgz", - "integrity": "sha512-cvO7lc7pZat6BsvH6l/EGaI8zpl8paICaoGk+7x7guvtfak/TbIf66nYmJOH13EuG0H+Xx3M+9LQDtSvZFKXKw==", - "dev": true, - "requires": { - "@babel/helper-annotate-as-pure": "^7.16.7", - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-function-name": "^7.17.9", - "@babel/helper-optimise-call-expression": "^7.16.7", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-replace-supers": "^7.16.7", - "@babel/helper-split-export-declaration": "^7.16.7", - "globals": "^11.1.0" - } - }, - "@babel/plugin-transform-computed-properties": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.17.12.tgz", - "integrity": "sha512-a7XINeplB5cQUWMg1E/GI1tFz3LfK021IjV1rj1ypE+R7jHm+pIHmHl25VNkZxtx9uuYp7ThGk8fur1HHG7PgQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-destructuring": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.18.0.tgz", - "integrity": "sha512-Mo69klS79z6KEfrLg/1WkmVnB8javh75HX4pi2btjvlIoasuxilEyjtsQW6XPrubNd7AQy0MMaNIaQE4e7+PQw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-dotall-regex": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.16.7.tgz", - "integrity": "sha512-Lyttaao2SjZF6Pf4vk1dVKv8YypMpomAbygW+mU5cYP3S5cWTfCJjG8xV6CFdzGFlfWK81IjL9viiTvpb6G7gQ==", - "dev": true, - "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7" - } - }, - "@babel/plugin-transform-duplicate-keys": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.17.12.tgz", - "integrity": "sha512-EA5eYFUG6xeerdabina/xIoB95jJ17mAkR8ivx6ZSu9frKShBjpOGZPn511MTDTkiCO+zXnzNczvUM69YSf3Zw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-exponentiation-operator": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.16.7.tgz", - "integrity": "sha512-8UYLSlyLgRixQvlYH3J2ekXFHDFLQutdy7FfFAMm3CPZ6q9wHCwnUyiXpQCe3gVVnQlHc5nsuiEVziteRNTXEA==", - "dev": true, - "requires": { - "@babel/helper-builder-binary-assignment-operator-visitor": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7" - } - }, - "@babel/plugin-transform-flow-strip-types": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.13.0.tgz", - "integrity": "sha512-EXAGFMJgSX8gxWD7PZtW/P6M+z74jpx3wm/+9pn+c2dOawPpBkUX7BrfyPvo6ZpXbgRIEuwgwDb/MGlKvu2pOg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/plugin-syntax-flow": "^7.12.13" - } - }, - "@babel/plugin-transform-for-of": { - "version": "7.18.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.18.1.tgz", - "integrity": "sha512-+TTB5XwvJ5hZbO8xvl2H4XaMDOAK57zF4miuC9qQJgysPNEAZZ9Z69rdF5LJkozGdZrjBIUAIyKUWRMmebI7vg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-function-name": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.16.7.tgz", - "integrity": "sha512-SU/C68YVwTRxqWj5kgsbKINakGag0KTgq9f2iZEXdStoAbOzLHEBRYzImmA6yFo8YZhJVflvXmIHUO7GWHmxxA==", - "dev": true, - "requires": { - "@babel/helper-compilation-targets": "^7.16.7", - "@babel/helper-function-name": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7" - } - }, - "@babel/plugin-transform-literals": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.17.12.tgz", - "integrity": "sha512-8iRkvaTjJciWycPIZ9k9duu663FT7VrBdNqNgxnVXEFwOIp55JWcZd23VBRySYbnS3PwQ3rGiabJBBBGj5APmQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-member-expression-literals": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.16.7.tgz", - "integrity": "sha512-mBruRMbktKQwbxaJof32LT9KLy2f3gH+27a5XSuXo6h7R3vqltl0PgZ80C8ZMKw98Bf8bqt6BEVi3svOh2PzMw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.16.7" - } - }, - "@babel/plugin-transform-modules-amd": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.18.0.tgz", - "integrity": "sha512-h8FjOlYmdZwl7Xm2Ug4iX2j7Qy63NANI+NQVWQzv6r25fqgg7k2dZl03p95kvqNclglHs4FZ+isv4p1uXMA+QA==", - "dev": true, - "requires": { - "@babel/helper-module-transforms": "^7.18.0", - "@babel/helper-plugin-utils": "^7.17.12", - "babel-plugin-dynamic-import-node": "^2.3.3" - } - }, - "@babel/plugin-transform-modules-commonjs": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.18.0.tgz", - "integrity": "sha512-cCeR0VZWtfxWS4YueAK2qtHtBPJRSaJcMlbS8jhSIm/A3E2Kpro4W1Dn4cqJtp59dtWfXjQwK7SPKF8ghs7rlw==", - "dev": true, - "requires": { - "@babel/helper-module-transforms": "^7.18.0", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-simple-access": "^7.17.7", - "babel-plugin-dynamic-import-node": "^2.3.3" - } - }, - "@babel/plugin-transform-modules-systemjs": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.18.0.tgz", - "integrity": "sha512-vwKpxdHnlM5tIrRt/eA0bzfbi7gUBLN08vLu38np1nZevlPySRe6yvuATJB5F/WPJ+ur4OXwpVYq9+BsxqAQuQ==", - "dev": true, - "requires": { - "@babel/helper-hoist-variables": "^7.16.7", - "@babel/helper-module-transforms": "^7.18.0", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-validator-identifier": "^7.16.7", - "babel-plugin-dynamic-import-node": "^2.3.3" - } - }, - "@babel/plugin-transform-modules-umd": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.18.0.tgz", - "integrity": "sha512-d/zZ8I3BWli1tmROLxXLc9A6YXvGK8egMxHp+E/rRwMh1Kip0AP77VwZae3snEJ33iiWwvNv2+UIIhfalqhzZA==", - "dev": true, - "requires": { - "@babel/helper-module-transforms": "^7.18.0", - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.17.12.tgz", - "integrity": "sha512-vWoWFM5CKaTeHrdUJ/3SIOTRV+MBVGybOC9mhJkaprGNt5demMymDW24yC74avb915/mIRe3TgNb/d8idvnCRA==", - "dev": true, - "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.17.12", - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-new-target": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.17.12.tgz", - "integrity": "sha512-CaOtzk2fDYisbjAD4Sd1MTKGVIpRtx9bWLyj24Y/k6p4s4gQ3CqDGJauFJxt8M/LEx003d0i3klVqnN73qvK3w==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-object-super": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.16.7.tgz", - "integrity": "sha512-14J1feiQVWaGvRxj2WjyMuXS2jsBkgB3MdSN5HuC2G5nRspa5RK9COcs82Pwy5BuGcjb+fYaUj94mYcOj7rCvw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.16.7", - "@babel/helper-replace-supers": "^7.16.7" - } - }, - "@babel/plugin-transform-parameters": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.17.12.tgz", - "integrity": "sha512-6qW4rWo1cyCdq1FkYri7AHpauchbGLXpdwnYsfxFb+KtddHENfsY5JZb35xUwkK5opOLcJ3BNd2l7PhRYGlwIA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-property-literals": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.16.7.tgz", - "integrity": "sha512-z4FGr9NMGdoIl1RqavCqGG+ZuYjfZ/hkCIeuH6Do7tXmSm0ls11nYVSJqFEUOSJbDab5wC6lRE/w6YjVcr6Hqw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.16.7" - } - }, - "@babel/plugin-transform-react-display-name": { - "version": "7.15.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.15.1.tgz", - "integrity": "sha512-yQZ/i/pUCJAHI/LbtZr413S3VT26qNrEm0M5RRxQJA947/YNYwbZbBaXGDrq6CG5QsZycI1VIP6d7pQaBfP+8Q==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-react-jsx": { - "version": "7.14.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.14.9.tgz", - "integrity": "sha512-30PeETvS+AeD1f58i1OVyoDlVYQhap/K20ZrMjLmmzmC2AYR/G43D4sdJAaDAqCD3MYpSWbmrz3kES158QSLjw==", - "dev": true, - "requires": { - "@babel/helper-annotate-as-pure": "^7.14.5", - "@babel/helper-module-imports": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-jsx": "^7.14.5", - "@babel/types": "^7.14.9" - } - }, - "@babel/plugin-transform-react-jsx-development": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.14.5.tgz", - "integrity": "sha512-rdwG/9jC6QybWxVe2UVOa7q6cnTpw8JRRHOxntG/h6g/guAOe6AhtQHJuJh5FwmnXIT1bdm5vC2/5huV8ZOorQ==", - "dev": true, - "requires": { - "@babel/plugin-transform-react-jsx": "^7.14.5" - } - }, - "@babel/plugin-transform-react-pure-annotations": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.14.5.tgz", - "integrity": "sha512-3X4HpBJimNxW4rhUy/SONPyNQHp5YRr0HhJdT2OH1BRp0of7u3Dkirc7x9FRJMKMqTBI079VZ1hzv7Ouuz///g==", - "dev": true, - "requires": { - "@babel/helper-annotate-as-pure": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-regenerator": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.18.0.tgz", - "integrity": "sha512-C8YdRw9uzx25HSIzwA7EM7YP0FhCe5wNvJbZzjVNHHPGVcDJ3Aie+qGYYdS1oVQgn+B3eAIJbWFLrJ4Jipv7nw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12", - "regenerator-transform": "^0.15.0" - } - }, - "@babel/plugin-transform-reserved-words": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.17.12.tgz", - "integrity": "sha512-1KYqwbJV3Co03NIi14uEHW8P50Md6KqFgt0FfpHdK6oyAHQVTosgPuPSiWud1HX0oYJ1hGRRlk0fP87jFpqXZA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-shorthand-properties": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.16.7.tgz", - "integrity": "sha512-hah2+FEnoRoATdIb05IOXf+4GzXYTq75TVhIn1PewihbpyrNWUt2JbudKQOETWw6QpLe+AIUpJ5MVLYTQbeeUg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.16.7" - } - }, - "@babel/plugin-transform-spread": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.17.12.tgz", - "integrity": "sha512-9pgmuQAtFi3lpNUstvG9nGfk9DkrdmWNp9KeKPFmuZCpEnxRzYlS8JgwPjYj+1AWDOSvoGN0H30p1cBOmT/Svg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0" - } - }, - "@babel/plugin-transform-sticky-regex": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.16.7.tgz", - "integrity": "sha512-NJa0Bd/87QV5NZZzTuZG5BPJjLYadeSZ9fO6oOUoL4iQx+9EEuw/eEM92SrsT19Yc2jgB1u1hsjqDtH02c3Drw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.16.7" - } - }, - "@babel/plugin-transform-template-literals": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.17.12.tgz", - "integrity": "sha512-kAKJ7DX1dSRa2s7WN1xUAuaQmkTpN+uig4wCKWivVXIObqGbVTUlSavHyfI2iZvz89GFAMGm9p2DBJ4Y1Tp0hw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-typeof-symbol": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.17.12.tgz", - "integrity": "sha512-Q8y+Jp7ZdtSPXCThB6zjQ74N3lj0f6TDh1Hnf5B+sYlzQ8i5Pjp8gW0My79iekSpT4WnI06blqP6DT0OmaXXmw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-typescript": { - "version": "7.18.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.18.1.tgz", - "integrity": "sha512-F+RJmL479HJmC0KeqqwEGZMg1P7kWArLGbAKfEi9yPthJyMNjF+DjxFF/halfQvq1Q9GFM4TUbYDNV8xe4Ctqg==", - "dev": true, - "requires": { - "@babel/helper-create-class-features-plugin": "^7.18.0", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/plugin-syntax-typescript": "^7.17.12" - } - }, - "@babel/plugin-transform-unicode-escapes": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.16.7.tgz", - "integrity": "sha512-TAV5IGahIz3yZ9/Hfv35TV2xEm+kaBDaZQCn2S/hG9/CZ0DktxJv9eKfPc7yYCvOYR4JGx1h8C+jcSOvgaaI/Q==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.16.7" - } - }, - "@babel/plugin-transform-unicode-regex": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.16.7.tgz", - "integrity": "sha512-oC5tYYKw56HO75KZVLQ+R/Nl3Hro9kf8iG0hXoaHP7tjAyCpvqBiSNe6vGrZni1Z6MggmUOC6A7VP7AVmw225Q==", - "dev": true, - "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7" - } - }, - "@babel/preset-env": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.18.0.tgz", - "integrity": "sha512-cP74OMs7ECLPeG1reiCQ/D/ypyOxgfm8uR6HRYV23vTJ7Lu1nbgj9DQDo/vH59gnn7GOAwtTDPPYV4aXzsMKHA==", - "dev": true, - "requires": { - "@babel/compat-data": "^7.17.10", - "@babel/helper-compilation-targets": "^7.17.10", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-validator-option": "^7.16.7", - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.17.12", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.17.12", - "@babel/plugin-proposal-async-generator-functions": "^7.17.12", - "@babel/plugin-proposal-class-properties": "^7.17.12", - "@babel/plugin-proposal-class-static-block": "^7.18.0", - "@babel/plugin-proposal-dynamic-import": "^7.16.7", - "@babel/plugin-proposal-export-namespace-from": "^7.17.12", - "@babel/plugin-proposal-json-strings": "^7.17.12", - "@babel/plugin-proposal-logical-assignment-operators": "^7.17.12", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.17.12", - "@babel/plugin-proposal-numeric-separator": "^7.16.7", - "@babel/plugin-proposal-object-rest-spread": "^7.18.0", - "@babel/plugin-proposal-optional-catch-binding": "^7.16.7", - "@babel/plugin-proposal-optional-chaining": "^7.17.12", - "@babel/plugin-proposal-private-methods": "^7.17.12", - "@babel/plugin-proposal-private-property-in-object": "^7.17.12", - "@babel/plugin-proposal-unicode-property-regex": "^7.17.12", - "@babel/plugin-syntax-async-generators": "^7.8.4", - "@babel/plugin-syntax-class-properties": "^7.12.13", - "@babel/plugin-syntax-class-static-block": "^7.14.5", - "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3", - "@babel/plugin-syntax-import-assertions": "^7.17.12", - "@babel/plugin-syntax-json-strings": "^7.8.3", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-numeric-separator": "^7.10.4", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", - "@babel/plugin-syntax-optional-chaining": "^7.8.3", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5", - "@babel/plugin-syntax-top-level-await": "^7.14.5", - "@babel/plugin-transform-arrow-functions": "^7.17.12", - "@babel/plugin-transform-async-to-generator": "^7.17.12", - "@babel/plugin-transform-block-scoped-functions": "^7.16.7", - "@babel/plugin-transform-block-scoping": "^7.17.12", - "@babel/plugin-transform-classes": "^7.17.12", - "@babel/plugin-transform-computed-properties": "^7.17.12", - "@babel/plugin-transform-destructuring": "^7.18.0", - "@babel/plugin-transform-dotall-regex": "^7.16.7", - "@babel/plugin-transform-duplicate-keys": "^7.17.12", - "@babel/plugin-transform-exponentiation-operator": "^7.16.7", - "@babel/plugin-transform-for-of": "^7.17.12", - "@babel/plugin-transform-function-name": "^7.16.7", - "@babel/plugin-transform-literals": "^7.17.12", - "@babel/plugin-transform-member-expression-literals": "^7.16.7", - "@babel/plugin-transform-modules-amd": "^7.18.0", - "@babel/plugin-transform-modules-commonjs": "^7.18.0", - "@babel/plugin-transform-modules-systemjs": "^7.18.0", - "@babel/plugin-transform-modules-umd": "^7.18.0", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.17.12", - "@babel/plugin-transform-new-target": "^7.17.12", - "@babel/plugin-transform-object-super": "^7.16.7", - "@babel/plugin-transform-parameters": "^7.17.12", - "@babel/plugin-transform-property-literals": "^7.16.7", - "@babel/plugin-transform-regenerator": "^7.18.0", - "@babel/plugin-transform-reserved-words": "^7.17.12", - "@babel/plugin-transform-shorthand-properties": "^7.16.7", - "@babel/plugin-transform-spread": "^7.17.12", - "@babel/plugin-transform-sticky-regex": "^7.16.7", - "@babel/plugin-transform-template-literals": "^7.17.12", - "@babel/plugin-transform-typeof-symbol": "^7.17.12", - "@babel/plugin-transform-unicode-escapes": "^7.16.7", - "@babel/plugin-transform-unicode-regex": "^7.16.7", - "@babel/preset-modules": "^0.1.5", - "@babel/types": "^7.18.0", - "babel-plugin-polyfill-corejs2": "^0.3.0", - "babel-plugin-polyfill-corejs3": "^0.5.0", - "babel-plugin-polyfill-regenerator": "^0.3.0", - "core-js-compat": "^3.22.1", - "semver": "^6.3.0" - }, - "dependencies": { - "babel-plugin-polyfill-corejs3": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.2.tgz", - "integrity": "sha512-G3uJih0XWiID451fpeFaYGVuxHEjzKTHtc9uGFEjR6hHrvNzeS/PX+LLLcetJcytsB5m4j+K3o/EpXJNb/5IEQ==", - "dev": true, - "requires": { - "@babel/helper-define-polyfill-provider": "^0.3.1", - "core-js-compat": "^3.21.0" - } - } - } - }, - "@babel/preset-flow": { - "version": "7.13.13", - "resolved": "https://registry.npmjs.org/@babel/preset-flow/-/preset-flow-7.13.13.tgz", - "integrity": "sha512-MDtwtamMifqq3R2mC7l3A3uFalUb3NH5TIBQWjN/epEPlZktcLq4se3J+ivckKrLMGsR7H9LW8+pYuIUN9tsKg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/helper-validator-option": "^7.12.17", - "@babel/plugin-transform-flow-strip-types": "^7.13.0" - } - }, - "@babel/preset-modules": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz", - "integrity": "sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", - "@babel/plugin-transform-dotall-regex": "^7.4.4", - "@babel/types": "^7.4.4", - "esutils": "^2.0.2" - } - }, - "@babel/preset-react": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.14.5.tgz", - "integrity": "sha512-XFxBkjyObLvBaAvkx1Ie95Iaq4S/GUEIrejyrntQ/VCMKUYvKLoyKxOBzJ2kjA3b6rC9/KL6KXfDC2GqvLiNqQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-validator-option": "^7.14.5", - "@babel/plugin-transform-react-display-name": "^7.14.5", - "@babel/plugin-transform-react-jsx": "^7.14.5", - "@babel/plugin-transform-react-jsx-development": "^7.14.5", - "@babel/plugin-transform-react-pure-annotations": "^7.14.5" - } - }, - "@babel/preset-typescript": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.17.12.tgz", - "integrity": "sha512-S1ViF8W2QwAKUGJXxP9NAfNaqGDdEBJKpYkxHf5Yy2C4NPPzXGeR3Lhk7G8xJaaLcFTRfNjVbtbVtm8Gb0mqvg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-validator-option": "^7.16.7", - "@babel/plugin-transform-typescript": "^7.17.12" - } - }, - "@babel/register": { - "version": "7.17.7", - "resolved": "https://registry.npmjs.org/@babel/register/-/register-7.17.7.tgz", - "integrity": "sha512-fg56SwvXRifootQEDQAu1mKdjh5uthPzdO0N6t358FktfL4XjAVXuH58ULoiW8mesxiOgNIrxiImqEwv0+hRRA==", - "dev": true, - "requires": { - "clone-deep": "^4.0.1", - "find-cache-dir": "^2.0.0", - "make-dir": "^2.1.0", - "pirates": "^4.0.5", - "source-map-support": "^0.5.16" - }, - "dependencies": { - "find-cache-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", - "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", - "dev": true, - "requires": { - "commondir": "^1.0.1", - "make-dir": "^2.0.0", - "pkg-dir": "^3.0.0" - } - }, - "find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "dev": true, - "requires": { - "locate-path": "^3.0.0" - } - }, - "locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "dev": true, - "requires": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - } - }, - "make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", - "dev": true, - "requires": { - "pify": "^4.0.1", - "semver": "^5.6.0" - } - }, - "p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "dev": true, - "requires": { - "p-limit": "^2.0.0" - } - }, - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true - }, - "pkg-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", - "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", - "dev": true, - "requires": { - "find-up": "^3.0.0" - } - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - } - } - }, - "@babel/runtime": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.0.tgz", - "integrity": "sha512-YMQvx/6nKEaucl0MY56mwIG483xk8SDNdlUwb2Ts6FUpr7fm85DxEmsY18LXBNhcTz6tO6JwZV8w1W06v8UKeg==", - "requires": { - "regenerator-runtime": "^0.13.4" - } - }, - "@babel/template": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", - "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", - "requires": { - "@babel/code-frame": "^7.16.7", - "@babel/parser": "^7.16.7", - "@babel/types": "^7.16.7" - } - }, - "@babel/traverse": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.0.tgz", - "integrity": "sha512-oNOO4vaoIQoGjDQ84LgtF/IAlxlyqL4TUuoQ7xLkQETFaHkY1F7yazhB4Kt3VcZGL0ZF/jhrEpnXqUb0M7V3sw==", - "requires": { - "@babel/code-frame": "^7.16.7", - "@babel/generator": "^7.18.0", - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-function-name": "^7.17.9", - "@babel/helper-hoist-variables": "^7.16.7", - "@babel/helper-split-export-declaration": "^7.16.7", - "@babel/parser": "^7.18.0", - "@babel/types": "^7.18.0", - "debug": "^4.1.0", - "globals": "^11.1.0" - }, - "dependencies": { - "debug": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", - "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - } - } - }, - "@babel/types": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "to-fast-properties": "^2.0.0" - } - }, - "@base2/pretty-print-object": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@base2/pretty-print-object/-/pretty-print-object-1.0.1.tgz", - "integrity": "sha512-4iri8i1AqYHJE2DstZYkyEprg6Pq6sKx3xn5FpySk9sNhH7qN2LLlHJCfDTZRILNwQNPD7mATWM0TBui7uC1pA==", - "dev": true - }, - "@bcoe/v8-coverage": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", - "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", - "dev": true - }, - "@colors/colors": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", - "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", - "dev": true, - "optional": true - }, - "@discoveryjs/json-ext": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.3.tgz", - "integrity": "sha512-Fxt+AfXgjMoin2maPIYzFZnQjAXjAL0PHscM5pRTtatFqB+vZxAM9tLp2Optnuw3QOQC40jTNeGYFOMvyf7v9g==", - "dev": true - }, - "@dnd-kit/accessibility": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@dnd-kit/accessibility/-/accessibility-3.0.0.tgz", - "integrity": "sha512-QwaQ1IJHQHMMuAGOOYHQSx7h7vMZPfO97aDts8t5N/MY7n2QTDSnW+kF7uRQ1tVBkr6vJ+BqHWG5dlgGvwVjow==", - "requires": { - "tslib": "^2.0.0" - } - }, - "@dnd-kit/core": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/@dnd-kit/core/-/core-6.0.1.tgz", - "integrity": "sha512-ZyYmh6S1hvEkywdlwh1d0VW6UnkbP4zb0iZwBGHP4eePlPLDl0t18HaXcgbpVcFWQTUAQtEZVIJKUYBJdVQVsA==", - "requires": { - "@dnd-kit/accessibility": "^3.0.0", - "@dnd-kit/utilities": "^3.2.0", - "tslib": "^2.0.0" - } - }, - "@dnd-kit/modifiers": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@dnd-kit/modifiers/-/modifiers-6.0.0.tgz", - "integrity": "sha512-V3+JSo6/BTcgPRHiNUTSKgqVv/doKXg+T4Z0QvKiiXp+uIyJTUtPkQOBRQApUWi3ApBhnoWljyt/3xxY4fTd0Q==", - "requires": { - "@dnd-kit/utilities": "^3.2.0", - "tslib": "^2.0.0" - } - }, - "@dnd-kit/sortable": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@dnd-kit/sortable/-/sortable-7.0.0.tgz", - "integrity": "sha512-Em6d1n18lMmpRnNB9mmBWN/X7wNDnIw26tab+c7H0jCjW9UQ0+lRV+vatB1lLzFZlgQgIas/A/TXZDY16RQA5Q==", - "requires": { - "@dnd-kit/utilities": "^3.2.0", - "tslib": "^2.0.0" - } - }, - "@dnd-kit/utilities": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@dnd-kit/utilities/-/utilities-3.2.0.tgz", - "integrity": "sha512-h65/pn2IPCCIWwdlR2BMLqRkDxpTEONA+HQW3n765HBijLYGyrnTCLa2YQt8VVjjSQD6EfFlTE6aS2Q/b6nb2g==", - "requires": { - "tslib": "^2.0.0" - } - }, - "@emotion/babel-plugin": { - "version": "11.9.2", - "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.9.2.tgz", - "integrity": "sha512-Pr/7HGH6H6yKgnVFNEj2MVlreu3ADqftqjqwUvDy/OJzKFgxKeTQ+eeUf20FOTuHVkDON2iNa25rAXVYtWJCjw==", - "requires": { - "@babel/helper-module-imports": "^7.12.13", - "@babel/plugin-syntax-jsx": "^7.12.13", - "@babel/runtime": "^7.13.10", - "@emotion/hash": "^0.8.0", - "@emotion/memoize": "^0.7.5", - "@emotion/serialize": "^1.0.2", - "babel-plugin-macros": "^2.6.1", - "convert-source-map": "^1.5.0", - "escape-string-regexp": "^4.0.0", - "find-root": "^1.1.0", - "source-map": "^0.5.7", - "stylis": "4.0.13" - }, - "dependencies": { - "@emotion/memoize": { - "version": "0.7.5", - "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.5.tgz", - "integrity": "sha512-igX9a37DR2ZPGYtV6suZ6whr8pTFtyHL3K/oLUotxpSVO2ASaprmAe2Dkq7tBo7CRY7MMDrAa9nuQP9/YG8FxQ==" - }, - "escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - } - } - }, - "@emotion/cache": { - "version": "11.7.1", - "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.7.1.tgz", - "integrity": "sha512-r65Zy4Iljb8oyjtLeCuBH8Qjiy107dOYC6SJq7g7GV5UCQWMObY4SJDPGFjiiVpPrOJ2hmJOoBiYTC7hwx9E2A==", - "requires": { - "@emotion/memoize": "^0.7.4", - "@emotion/sheet": "^1.1.0", - "@emotion/utils": "^1.0.0", - "@emotion/weak-memoize": "^0.2.5", - "stylis": "4.0.13" - } - }, - "@emotion/hash": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.8.0.tgz", - "integrity": "sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==" - }, - "@emotion/is-prop-valid": { - "version": "0.8.8", - "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz", - "integrity": "sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==", - "optional": true, - "requires": { - "@emotion/memoize": "0.7.4" - } - }, - "@emotion/memoize": { - "version": "0.7.4", - "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz", - "integrity": "sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw==" - }, - "@emotion/react": { - "version": "11.9.0", - "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.9.0.tgz", - "integrity": "sha512-lBVSF5d0ceKtfKCDQJveNAtkC7ayxpVlgOohLgXqRwqWr9bOf4TZAFFyIcNngnV6xK6X4x2ZeXq7vliHkoVkxQ==", - "requires": { - "@babel/runtime": "^7.13.10", - "@emotion/babel-plugin": "^11.7.1", - "@emotion/cache": "^11.7.1", - "@emotion/serialize": "^1.0.3", - "@emotion/utils": "^1.1.0", - "@emotion/weak-memoize": "^0.2.5", - "hoist-non-react-statics": "^3.3.1" - } - }, - "@emotion/serialize": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.0.3.tgz", - "integrity": "sha512-2mSSvgLfyV3q+iVh3YWgNlUc2a9ZlDU7DjuP5MjK3AXRR0dYigCrP99aeFtaB2L/hjfEZdSThn5dsZ0ufqbvsA==", - "requires": { - "@emotion/hash": "^0.8.0", - "@emotion/memoize": "^0.7.4", - "@emotion/unitless": "^0.7.5", - "@emotion/utils": "^1.0.0", - "csstype": "^3.0.2" - } - }, - "@emotion/sheet": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.1.0.tgz", - "integrity": "sha512-u0AX4aSo25sMAygCuQTzS+HsImZFuS8llY8O7b9MDRzbJM0kVJlAz6KNDqcG7pOuQZJmj/8X/rAW+66kMnMW+g==" - }, - "@emotion/unitless": { - "version": "0.7.5", - "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.7.5.tgz", - "integrity": "sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg==" - }, - "@emotion/utils": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.1.0.tgz", - "integrity": "sha512-iRLa/Y4Rs5H/f2nimczYmS5kFJEbpiVvgN3XVfZ022IYhuNA1IRSHEizcof88LtCTXtl9S2Cxt32KgaXEu72JQ==" - }, - "@emotion/weak-memoize": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.2.5.tgz", - "integrity": "sha512-6U71C2Wp7r5XtFtQzYrW5iKFT67OixrSxjI4MptCHzdSVlgabczzqLe0ZSgnub/5Kp4hSbpDB1tMytZY9pwxxA==" - }, - "@gar/promisify": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", - "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==", - "dev": true - }, - "@istanbuljs/schema": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", - "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", - "dev": true - }, - "@jridgewell/gen-mapping": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", - "integrity": "sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==", - "requires": { - "@jridgewell/set-array": "^1.0.0", - "@jridgewell/sourcemap-codec": "^1.4.10" - } - }, - "@jridgewell/resolve-uri": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.7.tgz", - "integrity": "sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA==" - }, - "@jridgewell/set-array": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.1.tgz", - "integrity": "sha512-Ct5MqZkLGEXTVmQYbGtx9SVqD2fqwvdubdps5D3djjAkgkKwT918VNOz65pEHFaYTeWcukmJmH5SwsA9Tn2ObQ==" - }, - "@jridgewell/sourcemap-codec": { - "version": "1.4.13", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.13.tgz", - "integrity": "sha512-GryiOJmNcWbovBxTfZSF71V/mXbgcV3MewDe3kIMCLyIh5e7SKAeUZs+rMnJ8jkMolZ/4/VsdBmMrw3l+VdZ3w==" - }, - "@jridgewell/trace-mapping": { - "version": "0.3.13", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.13.tgz", - "integrity": "sha512-o1xbKhp9qnIAoHJSWd6KlCZfqslL4valSF81H8ImioOAxluWYWOpWkpyktY2vnt4tbrX9XYaxovq6cgowaJp2w==", - "requires": { - "@jridgewell/resolve-uri": "^3.0.3", - "@jridgewell/sourcemap-codec": "^1.4.10" - } - }, - "@leichtgewicht/ip-codec": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz", - "integrity": "sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A==", - "dev": true - }, - "@mdx-js/mdx": { - "version": "1.6.22", - "resolved": "https://registry.npmjs.org/@mdx-js/mdx/-/mdx-1.6.22.tgz", - "integrity": "sha512-AMxuLxPz2j5/6TpF/XSdKpQP1NlG0z11dFOlq+2IP/lSgl11GY8ji6S/rgsViN/L0BDvHvUMruRb7ub+24LUYA==", - "dev": true, - "requires": { - "@babel/core": "7.12.9", - "@babel/plugin-syntax-jsx": "7.12.1", - "@babel/plugin-syntax-object-rest-spread": "7.8.3", - "@mdx-js/util": "1.6.22", - "babel-plugin-apply-mdx-type-prop": "1.6.22", - "babel-plugin-extract-import-names": "1.6.22", - "camelcase-css": "2.0.1", - "detab": "2.0.4", - "hast-util-raw": "6.0.1", - "lodash.uniq": "4.5.0", - "mdast-util-to-hast": "10.0.1", - "remark-footnotes": "2.0.0", - "remark-mdx": "1.6.22", - "remark-parse": "8.0.3", - "remark-squeeze-paragraphs": "4.0.0", - "style-to-object": "0.3.0", - "unified": "9.2.0", - "unist-builder": "2.0.3", - "unist-util-visit": "2.0.3" - }, - "dependencies": { - "@babel/core": { - "version": "7.12.9", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.12.9.tgz", - "integrity": "sha512-gTXYh3M5wb7FRXQy+FErKFAv90BnlOuNn1QkCK2lREoPAjrQCO49+HVSrFoe5uakFAF5eenS75KbO2vQiLrTMQ==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.10.4", - "@babel/generator": "^7.12.5", - "@babel/helper-module-transforms": "^7.12.1", - "@babel/helpers": "^7.12.5", - "@babel/parser": "^7.12.7", - "@babel/template": "^7.12.7", - "@babel/traverse": "^7.12.9", - "@babel/types": "^7.12.7", - "convert-source-map": "^1.7.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.1", - "json5": "^2.1.2", - "lodash": "^4.17.19", - "resolve": "^1.3.2", - "semver": "^5.4.1", - "source-map": "^0.5.0" - } - }, - "@babel/plugin-syntax-jsx": { - "version": "7.12.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.12.1.tgz", - "integrity": "sha512-1yRi7yAtB0ETgxdY9ti/p2TivUxJkTdhu/ZbF9MshVGqOx1TdB3b7xCXs49Fupgg50N45KcAsRP/ZqWjs9SRjg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.10.4" - } - }, - "debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true - } - } - }, - "@mdx-js/util": { - "version": "1.6.22", - "resolved": "https://registry.npmjs.org/@mdx-js/util/-/util-1.6.22.tgz", - "integrity": "sha512-H1rQc1ZOHANWBvPcW+JpGwr+juXSxM8Q8YCkm3GhZd8REu1fHR3z99CErO1p9pkcfcxZnMdIZdIsXkOHY0NilA==", - "dev": true - }, - "@mrmlnc/readdir-enhanced": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz", - "integrity": "sha512-bPHp6Ji8b41szTOcaP63VlnbbO5Ny6dwAATtY6JTjh5N2OLrb5Qk/Th5cRkRQhkWCt+EJsYrNB0MiL+Gpn6e3g==", - "dev": true, - "requires": { - "call-me-maybe": "^1.0.1", - "glob-to-regexp": "^0.3.0" - }, - "dependencies": { - "glob-to-regexp": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz", - "integrity": "sha1-jFoUlNIGbFcMw7/kSWF1rMTVAqs=", - "dev": true - } - } - }, - "@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", - "dev": true, - "requires": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - } - }, - "@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", - "dev": true - }, - "@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", - "dev": true, - "requires": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - } - }, - "@npmcli/fs": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.1.tgz", - "integrity": "sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==", - "dev": true, - "requires": { - "@gar/promisify": "^1.0.1", - "semver": "^7.3.5" - }, - "dependencies": { - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "requires": { - "yallist": "^4.0.0" - } - }, - "semver": { - "version": "7.3.7", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - } - } - }, - "@npmcli/move-file": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.1.2.tgz", - "integrity": "sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg==", - "dev": true, - "requires": { - "mkdirp": "^1.0.4", - "rimraf": "^3.0.2" - }, - "dependencies": { - "mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "dev": true - } - } - }, - "@pmmmwh/react-refresh-webpack-plugin": { - "version": "0.5.6", - "resolved": "https://registry.npmjs.org/@pmmmwh/react-refresh-webpack-plugin/-/react-refresh-webpack-plugin-0.5.6.tgz", - "integrity": "sha512-IIWxofIYt/AbMwoeBgj+O2aAXLrlCQVg+A4a2zfpXFNHgP8o8rvi3v+oe5t787Lj+KXlKOh8BAiUp9bhuELXhg==", - "dev": true, - "requires": { - "ansi-html-community": "^0.0.8", - "common-path-prefix": "^3.0.0", - "core-js-pure": "^3.8.1", - "error-stack-parser": "^2.0.6", - "find-up": "^5.0.0", - "html-entities": "^2.1.0", - "loader-utils": "^2.0.0", - "schema-utils": "^3.0.0", - "source-map": "^0.7.3" - }, - "dependencies": { - "source-map": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", - "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", - "dev": true - } - } - }, - "@popperjs/core": { - "version": "2.11.5", - "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.5.tgz", - "integrity": "sha512-9X2obfABZuDVLCgPK9aX0a/x4jaOEweTTWE2+9sr0Qqqevj2Uv5XorvusThmc9XGYpS9yI+fhh8RTafBtGposw==" - }, - "@storybook/addons": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/addons/-/addons-6.5.3.tgz", - "integrity": "sha512-gzzkxZ7R4+EaEzIEBbTWmkA55JDEDQrDjg3nNY/SJklnRigYdStz41KSPx6HGkF2CaI5BYVd5vZCawYvG16gyg==", - "dev": true, - "requires": { - "@storybook/api": "6.5.3", - "@storybook/channels": "6.5.3", - "@storybook/client-logger": "6.5.3", - "@storybook/core-events": "6.5.3", - "@storybook/csf": "0.0.2--canary.4566f4d.1", - "@storybook/router": "6.5.3", - "@storybook/theming": "6.5.3", - "@types/webpack-env": "^1.16.0", - "core-js": "^3.8.2", - "global": "^4.4.0", - "regenerator-runtime": "^0.13.7" - } - }, - "@storybook/api": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/api/-/api-6.5.3.tgz", - "integrity": "sha512-neVW47ssdG3MqwNwTLjlifS/u6zGUkkcK7G/PC1tnQPP9Zc97BStIqS1RnPGie1iawIAT5ZJQefPGJMneSTBKA==", - "dev": true, - "requires": { - "@storybook/channels": "6.5.3", - "@storybook/client-logger": "6.5.3", - "@storybook/core-events": "6.5.3", - "@storybook/csf": "0.0.2--canary.4566f4d.1", - "@storybook/router": "6.5.3", - "@storybook/semver": "^7.3.2", - "@storybook/theming": "6.5.3", - "core-js": "^3.8.2", - "fast-deep-equal": "^3.1.3", - "global": "^4.4.0", - "lodash": "^4.17.21", - "memoizerific": "^1.11.3", - "regenerator-runtime": "^0.13.7", - "store2": "^2.12.0", - "telejson": "^6.0.8", - "ts-dedent": "^2.0.0", - "util-deprecate": "^1.0.2" - } - }, - "@storybook/builder-webpack4": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/builder-webpack4/-/builder-webpack4-6.5.3.tgz", - "integrity": "sha512-zhZ879FH8XDs8TRkXN29pGMR2rJrKQYdRn19XTsBt9MlRI8ALFClGixYBsUF/Fa74LAWF2roL5dSt7qDyBQULQ==", - "dev": true, - "requires": { - "@babel/core": "^7.12.10", - "@storybook/addons": "6.5.3", - "@storybook/api": "6.5.3", - "@storybook/channel-postmessage": "6.5.3", - "@storybook/channels": "6.5.3", - "@storybook/client-api": "6.5.3", - "@storybook/client-logger": "6.5.3", - "@storybook/components": "6.5.3", - "@storybook/core-common": "6.5.3", - "@storybook/core-events": "6.5.3", - "@storybook/node-logger": "6.5.3", - "@storybook/preview-web": "6.5.3", - "@storybook/router": "6.5.3", - "@storybook/semver": "^7.3.2", - "@storybook/store": "6.5.3", - "@storybook/theming": "6.5.3", - "@storybook/ui": "6.5.3", - "@types/node": "^14.0.10 || ^16.0.0", - "@types/webpack": "^4.41.26", - "autoprefixer": "^9.8.6", - "babel-loader": "^8.0.0", - "case-sensitive-paths-webpack-plugin": "^2.3.0", - "core-js": "^3.8.2", - "css-loader": "^3.6.0", - "file-loader": "^6.2.0", - "find-up": "^5.0.0", - "fork-ts-checker-webpack-plugin": "^4.1.6", - "glob": "^7.1.6", - "glob-promise": "^3.4.0", - "global": "^4.4.0", - "html-webpack-plugin": "^4.0.0", - "pnp-webpack-plugin": "1.6.4", - "postcss": "^7.0.36", - "postcss-flexbugs-fixes": "^4.2.1", - "postcss-loader": "^4.2.0", - "raw-loader": "^4.0.2", - "stable": "^0.1.8", - "style-loader": "^1.3.0", - "terser-webpack-plugin": "^4.2.3", - "ts-dedent": "^2.0.0", - "url-loader": "^4.1.1", - "util-deprecate": "^1.0.2", - "webpack": "4", - "webpack-dev-middleware": "^3.7.3", - "webpack-filter-warnings-plugin": "^1.2.1", - "webpack-hot-middleware": "^2.25.1", - "webpack-virtual-modules": "^0.2.2" - }, - "dependencies": { - "@types/html-minifier-terser": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/@types/html-minifier-terser/-/html-minifier-terser-5.1.2.tgz", - "integrity": "sha512-h4lTMgMJctJybDp8CQrxTUiiYmedihHWkjnF/8Pxseu2S6Nlfcy8kwboQ8yejh456rP2yWoEVm1sS/FVsfM48w==", - "dev": true - }, - "@webassemblyjs/ast": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.9.0.tgz", - "integrity": "sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA==", - "dev": true, - "requires": { - "@webassemblyjs/helper-module-context": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/wast-parser": "1.9.0" - } - }, - "@webassemblyjs/helper-api-error": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.0.tgz", - "integrity": "sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw==", - "dev": true - }, - "@webassemblyjs/helper-buffer": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.9.0.tgz", - "integrity": "sha512-qZol43oqhq6yBPx7YM3m9Bv7WMV9Eevj6kMi6InKOuZxhw+q9hOkvq5e/PpKSiLfyetpaBnogSbNCfBwyB00CA==", - "dev": true - }, - "@webassemblyjs/helper-wasm-bytecode": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz", - "integrity": "sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw==", - "dev": true - }, - "@webassemblyjs/helper-wasm-section": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.9.0.tgz", - "integrity": "sha512-XnMB8l3ek4tvrKUUku+IVaXNHz2YsJyOOmz+MMkZvh8h1uSJpSen6vYnw3IoQ7WwEuAhL8Efjms1ZWjqh2agvw==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-buffer": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/wasm-gen": "1.9.0" - } - }, - "@webassemblyjs/ieee754": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.9.0.tgz", - "integrity": "sha512-dcX8JuYU/gvymzIHc9DgxTzUUTLexWwt8uCTWP3otys596io0L5aW02Gb1RjYpx2+0Jus1h4ZFqjla7umFniTg==", - "dev": true, - "requires": { - "@xtuc/ieee754": "^1.2.0" - } - }, - "@webassemblyjs/leb128": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.9.0.tgz", - "integrity": "sha512-ENVzM5VwV1ojs9jam6vPys97B/S65YQtv/aanqnU7D8aSoHFX8GyhGg0CMfyKNIHBuAVjy3tlzd5QMMINa7wpw==", - "dev": true, - "requires": { - "@xtuc/long": "4.2.2" - } - }, - "@webassemblyjs/utf8": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.9.0.tgz", - "integrity": "sha512-GZbQlWtopBTP0u7cHrEx+73yZKrQoBMpwkGEIqlacljhXCkVM1kMQge/Mf+csMJAjEdSwhOyLAS0AoR3AG5P8w==", - "dev": true - }, - "@webassemblyjs/wasm-edit": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.9.0.tgz", - "integrity": "sha512-FgHzBm80uwz5M8WKnMTn6j/sVbqilPdQXTWraSjBwFXSYGirpkSWE2R9Qvz9tNiTKQvoKILpCuTjBKzOIm0nxw==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-buffer": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/helper-wasm-section": "1.9.0", - "@webassemblyjs/wasm-gen": "1.9.0", - "@webassemblyjs/wasm-opt": "1.9.0", - "@webassemblyjs/wasm-parser": "1.9.0", - "@webassemblyjs/wast-printer": "1.9.0" - } - }, - "@webassemblyjs/wasm-gen": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.9.0.tgz", - "integrity": "sha512-cPE3o44YzOOHvlsb4+E9qSqjc9Qf9Na1OO/BHFy4OI91XDE14MjFN4lTMezzaIWdPqHnsTodGGNP+iRSYfGkjA==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/ieee754": "1.9.0", - "@webassemblyjs/leb128": "1.9.0", - "@webassemblyjs/utf8": "1.9.0" - } - }, - "@webassemblyjs/wasm-opt": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.9.0.tgz", - "integrity": "sha512-Qkjgm6Anhm+OMbIL0iokO7meajkzQD71ioelnfPEj6r4eOFuqm4YC3VBPqXjFyyNwowzbMD+hizmprP/Fwkl2A==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-buffer": "1.9.0", - "@webassemblyjs/wasm-gen": "1.9.0", - "@webassemblyjs/wasm-parser": "1.9.0" - } - }, - "@webassemblyjs/wasm-parser": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.9.0.tgz", - "integrity": "sha512-9+wkMowR2AmdSWQzsPEjFU7njh8HTO5MqO8vjwEHuM+AMHioNqSBONRdr0NQQ3dVQrzp0s8lTcYqzUdb7YgELA==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-api-error": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/ieee754": "1.9.0", - "@webassemblyjs/leb128": "1.9.0", - "@webassemblyjs/utf8": "1.9.0" - } - }, - "@webassemblyjs/wast-printer": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.9.0.tgz", - "integrity": "sha512-2J0nE95rHXHyQ24cWjMKJ1tqB/ds8z/cyeOZxJhcb+rW+SQASVjuznUSmdz5GpVJTzU8JkhYut0D3siFDD6wsA==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/wast-parser": "1.9.0", - "@xtuc/long": "4.2.2" - } - }, - "acorn": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz", - "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==", - "dev": true - }, - "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", - "dev": true - }, - "braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "dev": true, - "requires": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true - }, - "clean-css": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.4.tgz", - "integrity": "sha512-EJUDT7nDVFDvaQgAo2G/PJvxmp1o/c6iXLbswsBbUFXi1Nr+AjA2cKmfbKDMjMvzEe75g3P6JkaDDAKk96A85A==", - "dev": true, - "requires": { - "source-map": "~0.6.0" - } - }, - "commander": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", - "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", - "dev": true - }, - "css-loader": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-3.6.0.tgz", - "integrity": "sha512-M5lSukoWi1If8dhQAUCvj4H8vUt3vOnwbQBH9DdTm/s4Ym2B/3dPMtYZeJmq7Q3S3Pa+I94DcZ7pc9bP14cWIQ==", - "dev": true, - "requires": { - "camelcase": "^5.3.1", - "cssesc": "^3.0.0", - "icss-utils": "^4.1.1", - "loader-utils": "^1.2.3", - "normalize-path": "^3.0.0", - "postcss": "^7.0.32", - "postcss-modules-extract-imports": "^2.0.0", - "postcss-modules-local-by-default": "^3.0.2", - "postcss-modules-scope": "^2.2.0", - "postcss-modules-values": "^3.0.0", - "postcss-value-parser": "^4.1.0", - "schema-utils": "^2.7.0", - "semver": "^6.3.0" - }, - "dependencies": { - "loader-utils": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", - "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", - "dev": true, - "requires": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^1.0.1" - } - }, - "schema-utils": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.1.tgz", - "integrity": "sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==", - "dev": true, - "requires": { - "@types/json-schema": "^7.0.5", - "ajv": "^6.12.4", - "ajv-keywords": "^3.5.2" - } - } - } - }, - "debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - }, - "enhanced-resolve": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.5.0.tgz", - "integrity": "sha512-Nv9m36S/vxpsI+Hc4/ZGRs0n9mXqSWGGq49zxb/cJfPAQMbUtttJAlNPS4AQzaBdw/pKskw5bMbekT/Y7W/Wlg==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2", - "memory-fs": "^0.5.0", - "tapable": "^1.0.0" - }, - "dependencies": { - "memory-fs": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.5.0.tgz", - "integrity": "sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA==", - "dev": true, - "requires": { - "errno": "^0.1.3", - "readable-stream": "^2.0.1" - } - } - } - }, - "eslint-scope": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz", - "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==", - "dev": true, - "requires": { - "esrecurse": "^4.1.0", - "estraverse": "^4.1.1" - } - }, - "estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true - }, - "fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", - "dev": true, - "requires": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "fork-ts-checker-webpack-plugin": { - "version": "4.1.6", - "resolved": "https://registry.npmjs.org/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-4.1.6.tgz", - "integrity": "sha512-DUxuQaKoqfNne8iikd14SAkh5uw4+8vNifp6gmA73yYNS6ywLIWSLD/n/mBzHQRpW3J7rbATEakmiA8JvkTyZw==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.5.5", - "chalk": "^2.4.1", - "micromatch": "^3.1.10", - "minimatch": "^3.0.4", - "semver": "^5.6.0", - "tapable": "^1.0.0", - "worker-rpc": "^0.1.0" - }, - "dependencies": { - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - } - } - }, - "html-minifier-terser": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/html-minifier-terser/-/html-minifier-terser-5.1.1.tgz", - "integrity": "sha512-ZPr5MNObqnV/T9akshPKbVgyOqLmy+Bxo7juKCfTfnjNniTAMdy4hz21YQqoofMBJD2kdREaqPPdThoR78Tgxg==", - "dev": true, - "requires": { - "camel-case": "^4.1.1", - "clean-css": "^4.2.3", - "commander": "^4.1.1", - "he": "^1.2.0", - "param-case": "^3.0.3", - "relateurl": "^0.2.7", - "terser": "^4.6.3" - }, - "dependencies": { - "terser": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.0.tgz", - "integrity": "sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==", - "dev": true, - "requires": { - "commander": "^2.20.0", - "source-map": "~0.6.1", - "source-map-support": "~0.5.12" - }, - "dependencies": { - "commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - } - } - } - } - }, - "html-webpack-plugin": { - "version": "4.5.2", - "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-4.5.2.tgz", - "integrity": "sha512-q5oYdzjKUIPQVjOosjgvCHQOv9Ett9CYYHlgvJeXG0qQvdSojnBq4vAdQBwn1+yGveAwHCoe/rMR86ozX3+c2A==", - "dev": true, - "requires": { - "@types/html-minifier-terser": "^5.0.0", - "@types/tapable": "^1.0.5", - "@types/webpack": "^4.41.8", - "html-minifier-terser": "^5.0.1", - "loader-utils": "^1.2.3", - "lodash": "^4.17.20", - "pretty-error": "^2.1.1", - "tapable": "^1.1.3", - "util.promisify": "1.0.0" - }, - "dependencies": { - "loader-utils": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", - "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", - "dev": true, - "requires": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^1.0.1" - } - } - } - }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true - }, - "is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-wsl": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", - "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=", - "dev": true - }, - "jest-worker": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz", - "integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==", - "dev": true, - "requires": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^7.0.0" - } - }, - "json5": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", - "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", - "dev": true, - "requires": { - "minimist": "^1.2.0" - } - }, - "loader-runner": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.4.0.tgz", - "integrity": "sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw==", - "dev": true - }, - "locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "dev": true, - "requires": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - } - }, - "make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", - "dev": true, - "requires": { - "pify": "^4.0.1", - "semver": "^5.6.0" - }, - "dependencies": { - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - } - } - }, - "micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", - "dev": true, - "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - } - }, - "mime": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", - "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==", - "dev": true - }, - "p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "dev": true, - "requires": { - "yocto-queue": "^0.1.0" - } - }, - "p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "dev": true, - "requires": { - "p-limit": "^2.0.0" - }, - "dependencies": { - "p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "requires": { - "p-try": "^2.0.0" - } - } - } - }, - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true - }, - "pkg-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", - "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", - "dev": true, - "requires": { - "find-up": "^3.0.0" - }, - "dependencies": { - "find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "dev": true, - "requires": { - "locate-path": "^3.0.0" - } - } - } - }, - "pretty-error": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/pretty-error/-/pretty-error-2.1.2.tgz", - "integrity": "sha512-EY5oDzmsX5wvuynAByrmY0P0hcp+QpnAKbJng2A2MPjVKXCxrDSUkzghVJ4ZGPIv+JC4gX8fPUWscC0RtjsWGw==", - "dev": true, - "requires": { - "lodash": "^4.17.20", - "renderkid": "^2.0.4" - } - }, - "renderkid": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/renderkid/-/renderkid-2.0.7.tgz", - "integrity": "sha512-oCcFyxaMrKsKcTY59qnCAtmDVSLfPbrv6A3tVbPdFMMrv5jaK10V6m40cKsoPNhAqN6rmHW9sswW4o3ruSrwUQ==", - "dev": true, - "requires": { - "css-select": "^4.1.3", - "dom-converter": "^0.2.0", - "htmlparser2": "^6.1.0", - "lodash": "^4.17.21", - "strip-ansi": "^3.0.1" - } - }, - "rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - }, - "serialize-javascript": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.1.tgz", - "integrity": "sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA==", - "dev": true, - "requires": { - "randombytes": "^2.1.0" - } - }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "dev": true, - "requires": { - "ansi-regex": "^2.0.0" - } - }, - "style-loader": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-1.3.0.tgz", - "integrity": "sha512-V7TCORko8rs9rIqkSrlMfkqA63DfoGBBJmK1kKGCcSi+BWb4cqz0SRsnp4l6rU5iwOEd0/2ePv68SV22VXon4Q==", - "dev": true, - "requires": { - "loader-utils": "^2.0.0", - "schema-utils": "^2.7.0" - }, - "dependencies": { - "schema-utils": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.1.tgz", - "integrity": "sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==", - "dev": true, - "requires": { - "@types/json-schema": "^7.0.5", - "ajv": "^6.12.4", - "ajv-keywords": "^3.5.2" - } - } - } - }, - "terser-webpack-plugin": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-4.2.3.tgz", - "integrity": "sha512-jTgXh40RnvOrLQNgIkwEKnQ8rmHjHK4u+6UBEi+W+FPmvb+uo+chJXntKe7/3lW5mNysgSWD60KyesnhW8D6MQ==", - "dev": true, - "requires": { - "cacache": "^15.0.5", - "find-cache-dir": "^3.3.1", - "jest-worker": "^26.5.0", - "p-limit": "^3.0.2", - "schema-utils": "^3.0.0", - "serialize-javascript": "^5.0.1", - "source-map": "^0.6.1", - "terser": "^5.3.4", - "webpack-sources": "^1.4.3" - } - }, - "to-regex-range": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", - "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", - "dev": true, - "requires": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" - } - }, - "watchpack": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.7.1.tgz", - "integrity": "sha512-1OeW6LucExk7h6lBuCr1isK5261Tf0PHNRG9tZjg2WKUsSkPwvyv37d7mgAUk1rZjxxaL/6WttSGMUY2hn/20g==", - "dev": true, - "requires": { - "chokidar": "^3.4.0", - "chokidar2": "file:chokidar2", - "graceful-fs": "^4.1.2", - "neo-async": "^2.5.0" - } - }, - "webpack": { - "version": "4.43.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.43.0.tgz", - "integrity": "sha512-GW1LjnPipFW2Y78OOab8NJlCflB7EFskMih2AHdvjbpKMeDJqEgSx24cXXXiPS65+WSwVyxtDsJH6jGX2czy+g==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-module-context": "1.9.0", - "@webassemblyjs/wasm-edit": "1.9.0", - "@webassemblyjs/wasm-parser": "1.9.0", - "acorn": "^6.4.1", - "ajv": "^6.10.2", - "ajv-keywords": "^3.4.1", - "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^4.1.0", - "eslint-scope": "^4.0.3", - "json-parse-better-errors": "^1.0.2", - "loader-runner": "^2.4.0", - "loader-utils": "^1.2.3", - "memory-fs": "^0.4.1", - "micromatch": "^3.1.10", - "mkdirp": "^0.5.3", - "neo-async": "^2.6.1", - "node-libs-browser": "^2.2.1", - "schema-utils": "^1.0.0", - "tapable": "^1.1.3", - "terser-webpack-plugin": "^1.4.3", - "watchpack": "^1.6.1", - "webpack-sources": "^1.4.1" - }, - "dependencies": { - "cacache": { - "version": "12.0.4", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-12.0.4.tgz", - "integrity": "sha512-a0tMB40oefvuInr4Cwb3GerbL9xTj1D5yg0T5xrjGCGyfvbxseIXX7BAO/u/hIXdafzOI5JC3wDwHyf24buOAQ==", - "dev": true, - "requires": { - "bluebird": "^3.5.5", - "chownr": "^1.1.1", - "figgy-pudding": "^3.5.1", - "glob": "^7.1.4", - "graceful-fs": "^4.1.15", - "infer-owner": "^1.0.3", - "lru-cache": "^5.1.1", - "mississippi": "^3.0.0", - "mkdirp": "^0.5.1", - "move-concurrently": "^1.0.1", - "promise-inflight": "^1.0.1", - "rimraf": "^2.6.3", - "ssri": "^6.0.1", - "unique-filename": "^1.1.1", - "y18n": "^4.0.0" - } - }, - "commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - }, - "find-cache-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", - "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", - "dev": true, - "requires": { - "commondir": "^1.0.1", - "make-dir": "^2.0.0", - "pkg-dir": "^3.0.0" - } - }, - "loader-utils": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", - "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", - "dev": true, - "requires": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^1.0.1" - } - }, - "schema-utils": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz", - "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==", - "dev": true, - "requires": { - "ajv": "^6.1.0", - "ajv-errors": "^1.0.0", - "ajv-keywords": "^3.1.0" - } - }, - "serialize-javascript": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", - "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", - "dev": true, - "requires": { - "randombytes": "^2.1.0" - } - }, - "terser": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.0.tgz", - "integrity": "sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==", - "dev": true, - "requires": { - "commander": "^2.20.0", - "source-map": "~0.6.1", - "source-map-support": "~0.5.12" - } - }, - "terser-webpack-plugin": { - "version": "1.4.5", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.4.5.tgz", - "integrity": "sha512-04Rfe496lN8EYruwi6oPQkG0vo8C+HT49X687FZnpPF0qMAIHONI6HEXYPKDOE8e5HjXTyKfqRd/agHtH0kOtw==", - "dev": true, - "requires": { - "cacache": "^12.0.2", - "find-cache-dir": "^2.1.0", - "is-wsl": "^1.1.0", - "schema-utils": "^1.0.0", - "serialize-javascript": "^4.0.0", - "source-map": "^0.6.1", - "terser": "^4.1.2", - "webpack-sources": "^1.4.0", - "worker-farm": "^1.7.0" - } - } - } - }, - "webpack-dev-middleware": { - "version": "3.7.3", - "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-3.7.3.tgz", - "integrity": "sha512-djelc/zGiz9nZj/U7PTBi2ViorGJXEWo/3ltkPbDyxCXhhEXkW0ce99falaok4TPj+AsxLiXJR0EBOb0zh9fKQ==", - "dev": true, - "requires": { - "memory-fs": "^0.4.1", - "mime": "^2.4.4", - "mkdirp": "^0.5.1", - "range-parser": "^1.2.1", - "webpack-log": "^2.0.0" - } - }, - "webpack-filter-warnings-plugin": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/webpack-filter-warnings-plugin/-/webpack-filter-warnings-plugin-1.2.1.tgz", - "integrity": "sha512-Ez6ytc9IseDMLPo0qCuNNYzgtUl8NovOqjIq4uAU8LTD4uoa1w1KpZyyzFtLTEMZpkkOkLfL9eN+KGYdk1Qtwg==", - "dev": true, - "requires": {} - }, - "webpack-sources": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.3.tgz", - "integrity": "sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==", - "dev": true, - "requires": { - "source-list-map": "^2.0.0", - "source-map": "~0.6.1" - } - }, - "webpack-virtual-modules": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/webpack-virtual-modules/-/webpack-virtual-modules-0.2.2.tgz", - "integrity": "sha512-kDUmfm3BZrei0y+1NTHJInejzxfhtU8eDj2M7OKb2IWrPFAeO1SOH2KuQ68MSZu9IGEHcxbkKKR1v18FrUSOmA==", - "dev": true, - "requires": { - "debug": "^3.0.0" - } - } - } - }, - "@storybook/builder-webpack5": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/builder-webpack5/-/builder-webpack5-6.5.3.tgz", - "integrity": "sha512-noVd6eJE7pmBl886TahPuUdLiVkyE9ecqQhcltnZfMBCuJXeEev0/E642HRp5P2hE6uE2pBzkTAy8gaHExeY+Q==", - "dev": true, - "requires": { - "@babel/core": "^7.12.10", - "@storybook/addons": "6.5.3", - "@storybook/api": "6.5.3", - "@storybook/channel-postmessage": "6.5.3", - "@storybook/channels": "6.5.3", - "@storybook/client-api": "6.5.3", - "@storybook/client-logger": "6.5.3", - "@storybook/components": "6.5.3", - "@storybook/core-common": "6.5.3", - "@storybook/core-events": "6.5.3", - "@storybook/node-logger": "6.5.3", - "@storybook/preview-web": "6.5.3", - "@storybook/router": "6.5.3", - "@storybook/semver": "^7.3.2", - "@storybook/store": "6.5.3", - "@storybook/theming": "6.5.3", - "@types/node": "^14.0.10 || ^16.0.0", - "babel-loader": "^8.0.0", - "babel-plugin-named-exports-order": "^0.0.2", - "browser-assert": "^1.2.1", - "case-sensitive-paths-webpack-plugin": "^2.3.0", - "core-js": "^3.8.2", - "css-loader": "^5.0.1", - "fork-ts-checker-webpack-plugin": "^6.0.4", - "glob": "^7.1.6", - "glob-promise": "^3.4.0", - "html-webpack-plugin": "^5.0.0", - "path-browserify": "^1.0.1", - "process": "^0.11.10", - "stable": "^0.1.8", - "style-loader": "^2.0.0", - "terser-webpack-plugin": "^5.0.3", - "ts-dedent": "^2.0.0", - "util-deprecate": "^1.0.2", - "webpack": "^5.9.0", - "webpack-dev-middleware": "^4.1.0", - "webpack-hot-middleware": "^2.25.1", - "webpack-virtual-modules": "^0.4.1" - } - }, - "@storybook/channel-postmessage": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/channel-postmessage/-/channel-postmessage-6.5.3.tgz", - "integrity": "sha512-1vsKhFuTX53VmRm4ZKae+9z6FciSTyywZJ5cYmH2nTRWqW5GOm3UndixHzXpddVM1DWdEH4jJ/Cn15SzPRWiPg==", - "dev": true, - "requires": { - "@storybook/channels": "6.5.3", - "@storybook/client-logger": "6.5.3", - "@storybook/core-events": "6.5.3", - "core-js": "^3.8.2", - "global": "^4.4.0", - "qs": "^6.10.0", - "telejson": "^6.0.8" - } - }, - "@storybook/channel-websocket": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/channel-websocket/-/channel-websocket-6.5.3.tgz", - "integrity": "sha512-Q1XCqtVMZFP1WG+OtzJ5l0Ip8umzBOkVmH3SH+DDU+o+MCSSfXKbw7UnbDUaZHzOHuFq55WaXVEnzRkeydI9rQ==", - "dev": true, - "requires": { - "@storybook/channels": "6.5.3", - "@storybook/client-logger": "6.5.3", - "core-js": "^3.8.2", - "global": "^4.4.0", - "telejson": "^6.0.8" - } - }, - "@storybook/channels": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/channels/-/channels-6.5.3.tgz", - "integrity": "sha512-wpxnMt5clUy+04o+I5LVMoQkYt7nc0e5PDz+pAtlNOvQaoFvlC7oQqsVYxxs1cYm6ZGqAJcsfecI5COtnQfT1w==", - "dev": true, - "requires": { - "core-js": "^3.8.2", - "ts-dedent": "^2.0.0", - "util-deprecate": "^1.0.2" - } - }, - "@storybook/client-api": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/client-api/-/client-api-6.5.3.tgz", - "integrity": "sha512-BxksIgSDkkt9muA41VbsSB96/u3HJAWuOJw+GCzt0yHmlBgfb3+GpQOJUDqTluWQlojg0DHJhAKgYKbejyEpIA==", - "dev": true, - "requires": { - "@storybook/addons": "6.5.3", - "@storybook/channel-postmessage": "6.5.3", - "@storybook/channels": "6.5.3", - "@storybook/client-logger": "6.5.3", - "@storybook/core-events": "6.5.3", - "@storybook/csf": "0.0.2--canary.4566f4d.1", - "@storybook/store": "6.5.3", - "@types/qs": "^6.9.5", - "@types/webpack-env": "^1.16.0", - "core-js": "^3.8.2", - "fast-deep-equal": "^3.1.3", - "global": "^4.4.0", - "lodash": "^4.17.21", - "memoizerific": "^1.11.3", - "qs": "^6.10.0", - "regenerator-runtime": "^0.13.7", - "store2": "^2.12.0", - "synchronous-promise": "^2.0.15", - "ts-dedent": "^2.0.0", - "util-deprecate": "^1.0.2" - } - }, - "@storybook/client-logger": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/client-logger/-/client-logger-6.5.3.tgz", - "integrity": "sha512-gUJUkDzQdOQBfAQSJffKlZQ6ueUANjTN6u4xA/FIfJM7+I5N43UuS3dFGEjcnZISS5sj7765ct2aZinMzf1NNQ==", - "dev": true, - "requires": { - "core-js": "^3.8.2", - "global": "^4.4.0" - } - }, - "@storybook/components": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/components/-/components-6.5.3.tgz", - "integrity": "sha512-vYTsg9ADzkPeTsmN1bm351wGqq+oyb8SrAJzLe+FXN+dujIIA9sGEQb6eUZdGe121RDgTyFMO2zKurcJNnGnxQ==", - "dev": true, - "requires": { - "@storybook/client-logger": "6.5.3", - "@storybook/csf": "0.0.2--canary.4566f4d.1", - "@storybook/theming": "6.5.3", - "@types/react-syntax-highlighter": "11.0.5", - "core-js": "^3.8.2", - "qs": "^6.10.0", - "react-syntax-highlighter": "^15.4.5", - "regenerator-runtime": "^0.13.7", - "util-deprecate": "^1.0.2" - } - }, - "@storybook/core": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/core/-/core-6.5.3.tgz", - "integrity": "sha512-XQDcAryLNyXe5eiNqB++6xvGqnYlJ8ZAFOPWFlFUhjrktojtwVEeHfj5M3e23D9XMN4KkBODoH3OWmREcUMwXg==", - "dev": true, - "requires": { - "@storybook/core-client": "6.5.3", - "@storybook/core-server": "6.5.3" - } - }, - "@storybook/core-client": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/core-client/-/core-client-6.5.3.tgz", - "integrity": "sha512-tsyXs+J7e210lRWminzyQU5uvbiKq9XrzsMs6feGyCE3kjZbBCj7RIgd/KxStVT/Ssim6BeTXHfnlLTxLbq5pQ==", - "dev": true, - "requires": { - "@storybook/addons": "6.5.3", - "@storybook/channel-postmessage": "6.5.3", - "@storybook/channel-websocket": "6.5.3", - "@storybook/client-api": "6.5.3", - "@storybook/client-logger": "6.5.3", - "@storybook/core-events": "6.5.3", - "@storybook/csf": "0.0.2--canary.4566f4d.1", - "@storybook/preview-web": "6.5.3", - "@storybook/store": "6.5.3", - "@storybook/ui": "6.5.3", - "airbnb-js-shims": "^2.2.1", - "ansi-to-html": "^0.6.11", - "core-js": "^3.8.2", - "global": "^4.4.0", - "lodash": "^4.17.21", - "qs": "^6.10.0", - "regenerator-runtime": "^0.13.7", - "ts-dedent": "^2.0.0", - "unfetch": "^4.2.0", - "util-deprecate": "^1.0.2" - } - }, - "@storybook/core-common": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/core-common/-/core-common-6.5.3.tgz", - "integrity": "sha512-A0WJDm/Eo2eP8CZeAQPo8oep+Pbbm/uU6Gl/8GsvK7AVtDv/Sm/kyAWcvqMx5ovnZ7A+qYYjvHr90EZuDoltPg==", - "dev": true, - "requires": { - "@babel/core": "^7.12.10", - "@babel/plugin-proposal-class-properties": "^7.12.1", - "@babel/plugin-proposal-decorators": "^7.12.12", - "@babel/plugin-proposal-export-default-from": "^7.12.1", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1", - "@babel/plugin-proposal-object-rest-spread": "^7.12.1", - "@babel/plugin-proposal-optional-chaining": "^7.12.7", - "@babel/plugin-proposal-private-methods": "^7.12.1", - "@babel/plugin-proposal-private-property-in-object": "^7.12.1", - "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/plugin-transform-arrow-functions": "^7.12.1", - "@babel/plugin-transform-block-scoping": "^7.12.12", - "@babel/plugin-transform-classes": "^7.12.1", - "@babel/plugin-transform-destructuring": "^7.12.1", - "@babel/plugin-transform-for-of": "^7.12.1", - "@babel/plugin-transform-parameters": "^7.12.1", - "@babel/plugin-transform-shorthand-properties": "^7.12.1", - "@babel/plugin-transform-spread": "^7.12.1", - "@babel/preset-env": "^7.12.11", - "@babel/preset-react": "^7.12.10", - "@babel/preset-typescript": "^7.12.7", - "@babel/register": "^7.12.1", - "@storybook/node-logger": "6.5.3", - "@storybook/semver": "^7.3.2", - "@types/node": "^14.0.10 || ^16.0.0", - "@types/pretty-hrtime": "^1.0.0", - "babel-loader": "^8.0.0", - "babel-plugin-macros": "^3.0.1", - "babel-plugin-polyfill-corejs3": "^0.1.0", - "chalk": "^4.1.0", - "core-js": "^3.8.2", - "express": "^4.17.1", - "file-system-cache": "^1.0.5", - "find-up": "^5.0.0", - "fork-ts-checker-webpack-plugin": "^6.0.4", - "fs-extra": "^9.0.1", - "glob": "^7.1.6", - "handlebars": "^4.7.7", - "interpret": "^2.2.0", - "json5": "^2.1.3", - "lazy-universal-dotenv": "^3.0.1", - "picomatch": "^2.3.0", - "pkg-dir": "^5.0.0", - "pretty-hrtime": "^1.0.3", - "resolve-from": "^5.0.0", - "slash": "^3.0.0", - "telejson": "^6.0.8", - "ts-dedent": "^2.0.0", - "util-deprecate": "^1.0.2", - "webpack": "4" - }, - "dependencies": { - "@webassemblyjs/ast": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.9.0.tgz", - "integrity": "sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA==", - "dev": true, - "requires": { - "@webassemblyjs/helper-module-context": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/wast-parser": "1.9.0" - } - }, - "@webassemblyjs/helper-api-error": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.0.tgz", - "integrity": "sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw==", - "dev": true - }, - "@webassemblyjs/helper-buffer": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.9.0.tgz", - "integrity": "sha512-qZol43oqhq6yBPx7YM3m9Bv7WMV9Eevj6kMi6InKOuZxhw+q9hOkvq5e/PpKSiLfyetpaBnogSbNCfBwyB00CA==", - "dev": true - }, - "@webassemblyjs/helper-wasm-bytecode": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz", - "integrity": "sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw==", - "dev": true - }, - "@webassemblyjs/helper-wasm-section": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.9.0.tgz", - "integrity": "sha512-XnMB8l3ek4tvrKUUku+IVaXNHz2YsJyOOmz+MMkZvh8h1uSJpSen6vYnw3IoQ7WwEuAhL8Efjms1ZWjqh2agvw==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-buffer": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/wasm-gen": "1.9.0" - } - }, - "@webassemblyjs/ieee754": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.9.0.tgz", - "integrity": "sha512-dcX8JuYU/gvymzIHc9DgxTzUUTLexWwt8uCTWP3otys596io0L5aW02Gb1RjYpx2+0Jus1h4ZFqjla7umFniTg==", - "dev": true, - "requires": { - "@xtuc/ieee754": "^1.2.0" - } - }, - "@webassemblyjs/leb128": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.9.0.tgz", - "integrity": "sha512-ENVzM5VwV1ojs9jam6vPys97B/S65YQtv/aanqnU7D8aSoHFX8GyhGg0CMfyKNIHBuAVjy3tlzd5QMMINa7wpw==", - "dev": true, - "requires": { - "@xtuc/long": "4.2.2" - } - }, - "@webassemblyjs/utf8": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.9.0.tgz", - "integrity": "sha512-GZbQlWtopBTP0u7cHrEx+73yZKrQoBMpwkGEIqlacljhXCkVM1kMQge/Mf+csMJAjEdSwhOyLAS0AoR3AG5P8w==", - "dev": true - }, - "@webassemblyjs/wasm-edit": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.9.0.tgz", - "integrity": "sha512-FgHzBm80uwz5M8WKnMTn6j/sVbqilPdQXTWraSjBwFXSYGirpkSWE2R9Qvz9tNiTKQvoKILpCuTjBKzOIm0nxw==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-buffer": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/helper-wasm-section": "1.9.0", - "@webassemblyjs/wasm-gen": "1.9.0", - "@webassemblyjs/wasm-opt": "1.9.0", - "@webassemblyjs/wasm-parser": "1.9.0", - "@webassemblyjs/wast-printer": "1.9.0" - } - }, - "@webassemblyjs/wasm-gen": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.9.0.tgz", - "integrity": "sha512-cPE3o44YzOOHvlsb4+E9qSqjc9Qf9Na1OO/BHFy4OI91XDE14MjFN4lTMezzaIWdPqHnsTodGGNP+iRSYfGkjA==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/ieee754": "1.9.0", - "@webassemblyjs/leb128": "1.9.0", - "@webassemblyjs/utf8": "1.9.0" - } - }, - "@webassemblyjs/wasm-opt": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.9.0.tgz", - "integrity": "sha512-Qkjgm6Anhm+OMbIL0iokO7meajkzQD71ioelnfPEj6r4eOFuqm4YC3VBPqXjFyyNwowzbMD+hizmprP/Fwkl2A==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-buffer": "1.9.0", - "@webassemblyjs/wasm-gen": "1.9.0", - "@webassemblyjs/wasm-parser": "1.9.0" - } - }, - "@webassemblyjs/wasm-parser": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.9.0.tgz", - "integrity": "sha512-9+wkMowR2AmdSWQzsPEjFU7njh8HTO5MqO8vjwEHuM+AMHioNqSBONRdr0NQQ3dVQrzp0s8lTcYqzUdb7YgELA==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-api-error": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/ieee754": "1.9.0", - "@webassemblyjs/leb128": "1.9.0", - "@webassemblyjs/utf8": "1.9.0" - } - }, - "@webassemblyjs/wast-printer": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.9.0.tgz", - "integrity": "sha512-2J0nE95rHXHyQ24cWjMKJ1tqB/ds8z/cyeOZxJhcb+rW+SQASVjuznUSmdz5GpVJTzU8JkhYut0D3siFDD6wsA==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/wast-parser": "1.9.0", - "@xtuc/long": "4.2.2" - } - }, - "acorn": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz", - "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==", - "dev": true - }, - "babel-plugin-macros": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz", - "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==", - "dev": true, - "requires": { - "@babel/runtime": "^7.12.5", - "cosmiconfig": "^7.0.0", - "resolve": "^1.19.0" - } - }, - "braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "dev": true, - "requires": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "cacache": { - "version": "12.0.4", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-12.0.4.tgz", - "integrity": "sha512-a0tMB40oefvuInr4Cwb3GerbL9xTj1D5yg0T5xrjGCGyfvbxseIXX7BAO/u/hIXdafzOI5JC3wDwHyf24buOAQ==", - "dev": true, - "requires": { - "bluebird": "^3.5.5", - "chownr": "^1.1.1", - "figgy-pudding": "^3.5.1", - "glob": "^7.1.4", - "graceful-fs": "^4.1.15", - "infer-owner": "^1.0.3", - "lru-cache": "^5.1.1", - "mississippi": "^3.0.0", - "mkdirp": "^0.5.1", - "move-concurrently": "^1.0.1", - "promise-inflight": "^1.0.1", - "rimraf": "^2.6.3", - "ssri": "^6.0.1", - "unique-filename": "^1.1.1", - "y18n": "^4.0.0" - } - }, - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "cosmiconfig": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz", - "integrity": "sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==", - "dev": true, - "requires": { - "@types/parse-json": "^4.0.0", - "import-fresh": "^3.2.1", - "parse-json": "^5.0.0", - "path-type": "^4.0.0", - "yaml": "^1.10.0" - } - }, - "enhanced-resolve": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.5.0.tgz", - "integrity": "sha512-Nv9m36S/vxpsI+Hc4/ZGRs0n9mXqSWGGq49zxb/cJfPAQMbUtttJAlNPS4AQzaBdw/pKskw5bMbekT/Y7W/Wlg==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2", - "memory-fs": "^0.5.0", - "tapable": "^1.0.0" - }, - "dependencies": { - "memory-fs": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.5.0.tgz", - "integrity": "sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA==", - "dev": true, - "requires": { - "errno": "^0.1.3", - "readable-stream": "^2.0.1" - } - } - } - }, - "eslint-scope": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz", - "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==", - "dev": true, - "requires": { - "esrecurse": "^4.1.0", - "estraverse": "^4.1.1" - } - }, - "estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true - }, - "fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", - "dev": true, - "requires": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "find-cache-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", - "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", - "dev": true, - "requires": { - "commondir": "^1.0.1", - "make-dir": "^2.0.0", - "pkg-dir": "^3.0.0" - }, - "dependencies": { - "find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "dev": true, - "requires": { - "locate-path": "^3.0.0" - } - }, - "pkg-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", - "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", - "dev": true, - "requires": { - "find-up": "^3.0.0" - } - } - } - }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true - }, - "is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-wsl": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", - "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=", - "dev": true - }, - "loader-runner": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.4.0.tgz", - "integrity": "sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw==", - "dev": true - }, - "loader-utils": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", - "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", - "dev": true, - "requires": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^1.0.1" - }, - "dependencies": { - "json5": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", - "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", - "dev": true, - "requires": { - "minimist": "^1.2.0" - } - } - } - }, - "locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "dev": true, - "requires": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - } - }, - "make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", - "dev": true, - "requires": { - "pify": "^4.0.1", - "semver": "^5.6.0" - } - }, - "micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", - "dev": true, - "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - } - }, - "p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "dev": true, - "requires": { - "p-limit": "^2.0.0" - } - }, - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true - }, - "rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - }, - "schema-utils": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz", - "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==", - "dev": true, - "requires": { - "ajv": "^6.1.0", - "ajv-errors": "^1.0.0", - "ajv-keywords": "^3.1.0" - } - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - }, - "serialize-javascript": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", - "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", - "dev": true, - "requires": { - "randombytes": "^2.1.0" - } - }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - }, - "terser": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.0.tgz", - "integrity": "sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==", - "dev": true, - "requires": { - "commander": "^2.20.0", - "source-map": "~0.6.1", - "source-map-support": "~0.5.12" - } - }, - "terser-webpack-plugin": { - "version": "1.4.5", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.4.5.tgz", - "integrity": "sha512-04Rfe496lN8EYruwi6oPQkG0vo8C+HT49X687FZnpPF0qMAIHONI6HEXYPKDOE8e5HjXTyKfqRd/agHtH0kOtw==", - "dev": true, - "requires": { - "cacache": "^12.0.2", - "find-cache-dir": "^2.1.0", - "is-wsl": "^1.1.0", - "schema-utils": "^1.0.0", - "serialize-javascript": "^4.0.0", - "source-map": "^0.6.1", - "terser": "^4.1.2", - "webpack-sources": "^1.4.0", - "worker-farm": "^1.7.0" - } - }, - "to-regex-range": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", - "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", - "dev": true, - "requires": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" - } - }, - "watchpack": { - "version": "1.7.5", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.7.5.tgz", - "integrity": "sha512-9P3MWk6SrKjHsGkLT2KHXdQ/9SNkyoJbabxnKOoJepsvJjJG8uYTR3yTPxPQvNDI3w4Nz1xnE0TLHK4RIVe/MQ==", - "dev": true, - "requires": { - "chokidar": "^3.4.1", - "graceful-fs": "^4.1.2", - "neo-async": "^2.5.0", - "watchpack-chokidar2": "^2.0.1" - } - }, - "webpack": { - "version": "4.46.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.46.0.tgz", - "integrity": "sha512-6jJuJjg8znb/xRItk7bkT0+Q7AHCYjjFnvKIWQPkNIOyRqoCGvkOs0ipeQzrqz4l5FtN5ZI/ukEHroeX/o1/5Q==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-module-context": "1.9.0", - "@webassemblyjs/wasm-edit": "1.9.0", - "@webassemblyjs/wasm-parser": "1.9.0", - "acorn": "^6.4.1", - "ajv": "^6.10.2", - "ajv-keywords": "^3.4.1", - "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^4.5.0", - "eslint-scope": "^4.0.3", - "json-parse-better-errors": "^1.0.2", - "loader-runner": "^2.4.0", - "loader-utils": "^1.2.3", - "memory-fs": "^0.4.1", - "micromatch": "^3.1.10", - "mkdirp": "^0.5.3", - "neo-async": "^2.6.1", - "node-libs-browser": "^2.2.1", - "schema-utils": "^1.0.0", - "tapable": "^1.1.3", - "terser-webpack-plugin": "^1.4.3", - "watchpack": "^1.7.4", - "webpack-sources": "^1.4.1" - } - }, - "webpack-sources": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.3.tgz", - "integrity": "sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==", - "dev": true, - "requires": { - "source-list-map": "^2.0.0", - "source-map": "~0.6.1" - } - } - } - }, - "@storybook/core-events": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/core-events/-/core-events-6.5.3.tgz", - "integrity": "sha512-DTWFjXJIx+sZndv3lsJohVEJoUL5MgtkSeeKaypkJmZm9kXkylhA0NnA07CMRE6GMqCWw6NYGSe+qOEGsHj5ig==", - "dev": true, - "requires": { - "core-js": "^3.8.2" - } - }, - "@storybook/core-server": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/core-server/-/core-server-6.5.3.tgz", - "integrity": "sha512-aehEen3VeY2NvouYfbnw346KtRwCJceOH5IWGHvVVEauSVzwCH+Yfgy7c4k2j0Ey3u6fz5qCkvPp8rdY0XS7SA==", - "dev": true, - "requires": { - "@discoveryjs/json-ext": "^0.5.3", - "@storybook/builder-webpack4": "6.5.3", - "@storybook/core-client": "6.5.3", - "@storybook/core-common": "6.5.3", - "@storybook/core-events": "6.5.3", - "@storybook/csf": "0.0.2--canary.4566f4d.1", - "@storybook/csf-tools": "6.5.3", - "@storybook/manager-webpack4": "6.5.3", - "@storybook/node-logger": "6.5.3", - "@storybook/semver": "^7.3.2", - "@storybook/store": "6.5.3", - "@storybook/telemetry": "6.5.3", - "@types/node": "^14.0.10 || ^16.0.0", - "@types/node-fetch": "^2.5.7", - "@types/pretty-hrtime": "^1.0.0", - "@types/webpack": "^4.41.26", - "better-opn": "^2.1.1", - "boxen": "^5.1.2", - "chalk": "^4.1.0", - "cli-table3": "^0.6.1", - "commander": "^6.2.1", - "compression": "^1.7.4", - "core-js": "^3.8.2", - "cpy": "^8.1.2", - "detect-port": "^1.3.0", - "express": "^4.17.1", - "fs-extra": "^9.0.1", - "global": "^4.4.0", - "globby": "^11.0.2", - "ip": "^1.1.5", - "lodash": "^4.17.21", - "node-fetch": "^2.6.7", - "open": "^8.4.0", - "pretty-hrtime": "^1.0.3", - "prompts": "^2.4.0", - "regenerator-runtime": "^0.13.7", - "serve-favicon": "^2.5.0", - "slash": "^3.0.0", - "telejson": "^6.0.8", - "ts-dedent": "^2.0.0", - "util-deprecate": "^1.0.2", - "watchpack": "^2.2.0", - "webpack": "4", - "ws": "^8.2.3", - "x-default-browser": "^0.4.0" - }, - "dependencies": { - "@webassemblyjs/ast": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.9.0.tgz", - "integrity": "sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA==", - "dev": true, - "requires": { - "@webassemblyjs/helper-module-context": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/wast-parser": "1.9.0" - } - }, - "@webassemblyjs/helper-api-error": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.0.tgz", - "integrity": "sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw==", - "dev": true - }, - "@webassemblyjs/helper-buffer": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.9.0.tgz", - "integrity": "sha512-qZol43oqhq6yBPx7YM3m9Bv7WMV9Eevj6kMi6InKOuZxhw+q9hOkvq5e/PpKSiLfyetpaBnogSbNCfBwyB00CA==", - "dev": true - }, - "@webassemblyjs/helper-wasm-bytecode": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz", - "integrity": "sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw==", - "dev": true - }, - "@webassemblyjs/helper-wasm-section": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.9.0.tgz", - "integrity": "sha512-XnMB8l3ek4tvrKUUku+IVaXNHz2YsJyOOmz+MMkZvh8h1uSJpSen6vYnw3IoQ7WwEuAhL8Efjms1ZWjqh2agvw==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-buffer": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/wasm-gen": "1.9.0" - } - }, - "@webassemblyjs/ieee754": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.9.0.tgz", - "integrity": "sha512-dcX8JuYU/gvymzIHc9DgxTzUUTLexWwt8uCTWP3otys596io0L5aW02Gb1RjYpx2+0Jus1h4ZFqjla7umFniTg==", - "dev": true, - "requires": { - "@xtuc/ieee754": "^1.2.0" - } - }, - "@webassemblyjs/leb128": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.9.0.tgz", - "integrity": "sha512-ENVzM5VwV1ojs9jam6vPys97B/S65YQtv/aanqnU7D8aSoHFX8GyhGg0CMfyKNIHBuAVjy3tlzd5QMMINa7wpw==", - "dev": true, - "requires": { - "@xtuc/long": "4.2.2" - } - }, - "@webassemblyjs/utf8": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.9.0.tgz", - "integrity": "sha512-GZbQlWtopBTP0u7cHrEx+73yZKrQoBMpwkGEIqlacljhXCkVM1kMQge/Mf+csMJAjEdSwhOyLAS0AoR3AG5P8w==", - "dev": true - }, - "@webassemblyjs/wasm-edit": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.9.0.tgz", - "integrity": "sha512-FgHzBm80uwz5M8WKnMTn6j/sVbqilPdQXTWraSjBwFXSYGirpkSWE2R9Qvz9tNiTKQvoKILpCuTjBKzOIm0nxw==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-buffer": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/helper-wasm-section": "1.9.0", - "@webassemblyjs/wasm-gen": "1.9.0", - "@webassemblyjs/wasm-opt": "1.9.0", - "@webassemblyjs/wasm-parser": "1.9.0", - "@webassemblyjs/wast-printer": "1.9.0" - } - }, - "@webassemblyjs/wasm-gen": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.9.0.tgz", - "integrity": "sha512-cPE3o44YzOOHvlsb4+E9qSqjc9Qf9Na1OO/BHFy4OI91XDE14MjFN4lTMezzaIWdPqHnsTodGGNP+iRSYfGkjA==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/ieee754": "1.9.0", - "@webassemblyjs/leb128": "1.9.0", - "@webassemblyjs/utf8": "1.9.0" - } - }, - "@webassemblyjs/wasm-opt": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.9.0.tgz", - "integrity": "sha512-Qkjgm6Anhm+OMbIL0iokO7meajkzQD71ioelnfPEj6r4eOFuqm4YC3VBPqXjFyyNwowzbMD+hizmprP/Fwkl2A==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-buffer": "1.9.0", - "@webassemblyjs/wasm-gen": "1.9.0", - "@webassemblyjs/wasm-parser": "1.9.0" - } - }, - "@webassemblyjs/wasm-parser": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.9.0.tgz", - "integrity": "sha512-9+wkMowR2AmdSWQzsPEjFU7njh8HTO5MqO8vjwEHuM+AMHioNqSBONRdr0NQQ3dVQrzp0s8lTcYqzUdb7YgELA==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-api-error": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/ieee754": "1.9.0", - "@webassemblyjs/leb128": "1.9.0", - "@webassemblyjs/utf8": "1.9.0" - } - }, - "@webassemblyjs/wast-printer": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.9.0.tgz", - "integrity": "sha512-2J0nE95rHXHyQ24cWjMKJ1tqB/ds8z/cyeOZxJhcb+rW+SQASVjuznUSmdz5GpVJTzU8JkhYut0D3siFDD6wsA==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/wast-parser": "1.9.0", - "@xtuc/long": "4.2.2" - } - }, - "acorn": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz", - "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==", - "dev": true - }, - "braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "dev": true, - "requires": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "cacache": { - "version": "12.0.4", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-12.0.4.tgz", - "integrity": "sha512-a0tMB40oefvuInr4Cwb3GerbL9xTj1D5yg0T5xrjGCGyfvbxseIXX7BAO/u/hIXdafzOI5JC3wDwHyf24buOAQ==", - "dev": true, - "requires": { - "bluebird": "^3.5.5", - "chownr": "^1.1.1", - "figgy-pudding": "^3.5.1", - "glob": "^7.1.4", - "graceful-fs": "^4.1.15", - "infer-owner": "^1.0.3", - "lru-cache": "^5.1.1", - "mississippi": "^3.0.0", - "mkdirp": "^0.5.1", - "move-concurrently": "^1.0.1", - "promise-inflight": "^1.0.1", - "rimraf": "^2.6.3", - "ssri": "^6.0.1", - "unique-filename": "^1.1.1", - "y18n": "^4.0.0" - } - }, - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "chokidar2": { - "version": "file:node_modules/@storybook/core-server/node_modules/webpack/node_modules/watchpack/chokidar2" - }, - "commander": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", - "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==", - "dev": true - }, - "enhanced-resolve": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.5.0.tgz", - "integrity": "sha512-Nv9m36S/vxpsI+Hc4/ZGRs0n9mXqSWGGq49zxb/cJfPAQMbUtttJAlNPS4AQzaBdw/pKskw5bMbekT/Y7W/Wlg==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2", - "memory-fs": "^0.5.0", - "tapable": "^1.0.0" - }, - "dependencies": { - "memory-fs": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.5.0.tgz", - "integrity": "sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA==", - "dev": true, - "requires": { - "errno": "^0.1.3", - "readable-stream": "^2.0.1" - } - } - } - }, - "eslint-scope": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz", - "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==", - "dev": true, - "requires": { - "esrecurse": "^4.1.0", - "estraverse": "^4.1.1" - } - }, - "estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true - }, - "fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", - "dev": true, - "requires": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "find-cache-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", - "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", - "dev": true, - "requires": { - "commondir": "^1.0.1", - "make-dir": "^2.0.0", - "pkg-dir": "^3.0.0" - } - }, - "find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "dev": true, - "requires": { - "locate-path": "^3.0.0" - } - }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true - }, - "is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-wsl": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", - "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=", - "dev": true - }, - "json5": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", - "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", - "dev": true, - "requires": { - "minimist": "^1.2.0" - } - }, - "loader-runner": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.4.0.tgz", - "integrity": "sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw==", - "dev": true - }, - "loader-utils": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", - "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", - "dev": true, - "requires": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^1.0.1" - } - }, - "locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "dev": true, - "requires": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - } - }, - "make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", - "dev": true, - "requires": { - "pify": "^4.0.1", - "semver": "^5.6.0" - } - }, - "micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", - "dev": true, - "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - } - }, - "p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "dev": true, - "requires": { - "p-limit": "^2.0.0" - } - }, - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true - }, - "pkg-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", - "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", - "dev": true, - "requires": { - "find-up": "^3.0.0" - } - }, - "rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - }, - "schema-utils": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz", - "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==", - "dev": true, - "requires": { - "ajv": "^6.1.0", - "ajv-errors": "^1.0.0", - "ajv-keywords": "^3.1.0" - } - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - }, - "serialize-javascript": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", - "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", - "dev": true, - "requires": { - "randombytes": "^2.1.0" - } - }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - }, - "terser": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.0.tgz", - "integrity": "sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==", - "dev": true, - "requires": { - "commander": "^2.20.0", - "source-map": "~0.6.1", - "source-map-support": "~0.5.12" - }, - "dependencies": { - "commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - } - } - }, - "terser-webpack-plugin": { - "version": "1.4.5", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.4.5.tgz", - "integrity": "sha512-04Rfe496lN8EYruwi6oPQkG0vo8C+HT49X687FZnpPF0qMAIHONI6HEXYPKDOE8e5HjXTyKfqRd/agHtH0kOtw==", - "dev": true, - "requires": { - "cacache": "^12.0.2", - "find-cache-dir": "^2.1.0", - "is-wsl": "^1.1.0", - "schema-utils": "^1.0.0", - "serialize-javascript": "^4.0.0", - "source-map": "^0.6.1", - "terser": "^4.1.2", - "webpack-sources": "^1.4.0", - "worker-farm": "^1.7.0" - } - }, - "to-regex-range": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", - "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", - "dev": true, - "requires": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" - } - }, - "webpack": { - "version": "4.43.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.43.0.tgz", - "integrity": "sha512-GW1LjnPipFW2Y78OOab8NJlCflB7EFskMih2AHdvjbpKMeDJqEgSx24cXXXiPS65+WSwVyxtDsJH6jGX2czy+g==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-module-context": "1.9.0", - "@webassemblyjs/wasm-edit": "1.9.0", - "@webassemblyjs/wasm-parser": "1.9.0", - "acorn": "^6.4.1", - "ajv": "^6.10.2", - "ajv-keywords": "^3.4.1", - "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^4.1.0", - "eslint-scope": "^4.0.3", - "json-parse-better-errors": "^1.0.2", - "loader-runner": "^2.4.0", - "loader-utils": "^1.2.3", - "memory-fs": "^0.4.1", - "micromatch": "^3.1.10", - "mkdirp": "^0.5.3", - "neo-async": "^2.6.1", - "node-libs-browser": "^2.2.1", - "schema-utils": "^1.0.0", - "tapable": "^1.1.3", - "terser-webpack-plugin": "^1.4.3", - "watchpack": "^1.6.1", - "webpack-sources": "^1.4.1" - }, - "dependencies": { - "watchpack": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.7.1.tgz", - "integrity": "sha512-1OeW6LucExk7h6lBuCr1isK5261Tf0PHNRG9tZjg2WKUsSkPwvyv37d7mgAUk1rZjxxaL/6WttSGMUY2hn/20g==", - "dev": true, - "requires": { - "chokidar": "^3.4.0", - "chokidar2": "file:chokidar2", - "graceful-fs": "^4.1.2", - "neo-async": "^2.5.0" - } - } - } - }, - "webpack-sources": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.3.tgz", - "integrity": "sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==", - "dev": true, - "requires": { - "source-list-map": "^2.0.0", - "source-map": "~0.6.1" - } - } - } - }, - "@storybook/csf": { - "version": "0.0.2--canary.4566f4d.1", - "resolved": "https://registry.npmjs.org/@storybook/csf/-/csf-0.0.2--canary.4566f4d.1.tgz", - "integrity": "sha512-9OVvMVh3t9znYZwb0Svf/YQoxX2gVOeQTGe2bses2yj+a3+OJnCrUF3/hGv6Em7KujtOdL2LL+JnG49oMVGFgQ==", - "dev": true, - "requires": { - "lodash": "^4.17.15" - } - }, - "@storybook/csf-tools": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/csf-tools/-/csf-tools-6.5.3.tgz", - "integrity": "sha512-WotBTvKauVV+i2DZqem4m12D+Ogexg6oFiXt0dlqh0TUGEAGzvocOAPIKk6uciEF2eXu6yn8JE4s+faXLWrXSw==", - "dev": true, - "requires": { - "@babel/core": "^7.12.10", - "@babel/generator": "^7.12.11", - "@babel/parser": "^7.12.11", - "@babel/plugin-transform-react-jsx": "^7.12.12", - "@babel/preset-env": "^7.12.11", - "@babel/traverse": "^7.12.11", - "@babel/types": "^7.12.11", - "@storybook/csf": "0.0.2--canary.4566f4d.1", - "@storybook/mdx1-csf": "canary", - "core-js": "^3.8.2", - "fs-extra": "^9.0.1", - "global": "^4.4.0", - "regenerator-runtime": "^0.13.7", - "ts-dedent": "^2.0.0" - } - }, - "@storybook/docs-tools": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/docs-tools/-/docs-tools-6.5.3.tgz", - "integrity": "sha512-scUztkQ9ZRRoo4lHiYRaCkmk351H2CwMnlOrCwv/EpmLZnHdffSAtMZS/O07KUOC8fvxCw36z5SfHlbCIcolSQ==", - "dev": true, - "requires": { - "@babel/core": "^7.12.10", - "@storybook/csf": "0.0.2--canary.4566f4d.1", - "@storybook/store": "6.5.3", - "core-js": "^3.8.2", - "doctrine": "^3.0.0", - "lodash": "^4.17.21", - "regenerator-runtime": "^0.13.7" - } - }, - "@storybook/manager-webpack4": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/manager-webpack4/-/manager-webpack4-6.5.3.tgz", - "integrity": "sha512-kI+6fbCHv9uH1GEYK/SYLtNiAJYVRgm8oh/7Zi/38cqUjnAg8lzUztABul4Iemu3w5aJplkqE08FFu69TTbHPg==", - "dev": true, - "requires": { - "@babel/core": "^7.12.10", - "@babel/plugin-transform-template-literals": "^7.12.1", - "@babel/preset-react": "^7.12.10", - "@storybook/addons": "6.5.3", - "@storybook/core-client": "6.5.3", - "@storybook/core-common": "6.5.3", - "@storybook/node-logger": "6.5.3", - "@storybook/theming": "6.5.3", - "@storybook/ui": "6.5.3", - "@types/node": "^14.0.10 || ^16.0.0", - "@types/webpack": "^4.41.26", - "babel-loader": "^8.0.0", - "case-sensitive-paths-webpack-plugin": "^2.3.0", - "chalk": "^4.1.0", - "core-js": "^3.8.2", - "css-loader": "^3.6.0", - "express": "^4.17.1", - "file-loader": "^6.2.0", - "find-up": "^5.0.0", - "fs-extra": "^9.0.1", - "html-webpack-plugin": "^4.0.0", - "node-fetch": "^2.6.7", - "pnp-webpack-plugin": "1.6.4", - "read-pkg-up": "^7.0.1", - "regenerator-runtime": "^0.13.7", - "resolve-from": "^5.0.0", - "style-loader": "^1.3.0", - "telejson": "^6.0.8", - "terser-webpack-plugin": "^4.2.3", - "ts-dedent": "^2.0.0", - "url-loader": "^4.1.1", - "util-deprecate": "^1.0.2", - "webpack": "4", - "webpack-dev-middleware": "^3.7.3", - "webpack-virtual-modules": "^0.2.2" - }, - "dependencies": { - "@types/html-minifier-terser": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/@types/html-minifier-terser/-/html-minifier-terser-5.1.2.tgz", - "integrity": "sha512-h4lTMgMJctJybDp8CQrxTUiiYmedihHWkjnF/8Pxseu2S6Nlfcy8kwboQ8yejh456rP2yWoEVm1sS/FVsfM48w==", - "dev": true - }, - "@webassemblyjs/ast": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.9.0.tgz", - "integrity": "sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA==", - "dev": true, - "requires": { - "@webassemblyjs/helper-module-context": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/wast-parser": "1.9.0" - } - }, - "@webassemblyjs/helper-api-error": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.0.tgz", - "integrity": "sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw==", - "dev": true - }, - "@webassemblyjs/helper-buffer": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.9.0.tgz", - "integrity": "sha512-qZol43oqhq6yBPx7YM3m9Bv7WMV9Eevj6kMi6InKOuZxhw+q9hOkvq5e/PpKSiLfyetpaBnogSbNCfBwyB00CA==", - "dev": true - }, - "@webassemblyjs/helper-wasm-bytecode": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz", - "integrity": "sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw==", - "dev": true - }, - "@webassemblyjs/helper-wasm-section": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.9.0.tgz", - "integrity": "sha512-XnMB8l3ek4tvrKUUku+IVaXNHz2YsJyOOmz+MMkZvh8h1uSJpSen6vYnw3IoQ7WwEuAhL8Efjms1ZWjqh2agvw==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-buffer": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/wasm-gen": "1.9.0" - } - }, - "@webassemblyjs/ieee754": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.9.0.tgz", - "integrity": "sha512-dcX8JuYU/gvymzIHc9DgxTzUUTLexWwt8uCTWP3otys596io0L5aW02Gb1RjYpx2+0Jus1h4ZFqjla7umFniTg==", - "dev": true, - "requires": { - "@xtuc/ieee754": "^1.2.0" - } - }, - "@webassemblyjs/leb128": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.9.0.tgz", - "integrity": "sha512-ENVzM5VwV1ojs9jam6vPys97B/S65YQtv/aanqnU7D8aSoHFX8GyhGg0CMfyKNIHBuAVjy3tlzd5QMMINa7wpw==", - "dev": true, - "requires": { - "@xtuc/long": "4.2.2" - } - }, - "@webassemblyjs/utf8": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.9.0.tgz", - "integrity": "sha512-GZbQlWtopBTP0u7cHrEx+73yZKrQoBMpwkGEIqlacljhXCkVM1kMQge/Mf+csMJAjEdSwhOyLAS0AoR3AG5P8w==", - "dev": true - }, - "@webassemblyjs/wasm-edit": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.9.0.tgz", - "integrity": "sha512-FgHzBm80uwz5M8WKnMTn6j/sVbqilPdQXTWraSjBwFXSYGirpkSWE2R9Qvz9tNiTKQvoKILpCuTjBKzOIm0nxw==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-buffer": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/helper-wasm-section": "1.9.0", - "@webassemblyjs/wasm-gen": "1.9.0", - "@webassemblyjs/wasm-opt": "1.9.0", - "@webassemblyjs/wasm-parser": "1.9.0", - "@webassemblyjs/wast-printer": "1.9.0" - } - }, - "@webassemblyjs/wasm-gen": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.9.0.tgz", - "integrity": "sha512-cPE3o44YzOOHvlsb4+E9qSqjc9Qf9Na1OO/BHFy4OI91XDE14MjFN4lTMezzaIWdPqHnsTodGGNP+iRSYfGkjA==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/ieee754": "1.9.0", - "@webassemblyjs/leb128": "1.9.0", - "@webassemblyjs/utf8": "1.9.0" - } - }, - "@webassemblyjs/wasm-opt": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.9.0.tgz", - "integrity": "sha512-Qkjgm6Anhm+OMbIL0iokO7meajkzQD71ioelnfPEj6r4eOFuqm4YC3VBPqXjFyyNwowzbMD+hizmprP/Fwkl2A==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-buffer": "1.9.0", - "@webassemblyjs/wasm-gen": "1.9.0", - "@webassemblyjs/wasm-parser": "1.9.0" - } - }, - "@webassemblyjs/wasm-parser": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.9.0.tgz", - "integrity": "sha512-9+wkMowR2AmdSWQzsPEjFU7njh8HTO5MqO8vjwEHuM+AMHioNqSBONRdr0NQQ3dVQrzp0s8lTcYqzUdb7YgELA==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-api-error": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/ieee754": "1.9.0", - "@webassemblyjs/leb128": "1.9.0", - "@webassemblyjs/utf8": "1.9.0" - } - }, - "@webassemblyjs/wast-printer": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.9.0.tgz", - "integrity": "sha512-2J0nE95rHXHyQ24cWjMKJ1tqB/ds8z/cyeOZxJhcb+rW+SQASVjuznUSmdz5GpVJTzU8JkhYut0D3siFDD6wsA==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/wast-parser": "1.9.0", - "@xtuc/long": "4.2.2" - } - }, - "acorn": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz", - "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==", - "dev": true - }, - "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", - "dev": true - }, - "braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "dev": true, - "requires": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true - }, - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "chokidar2": { - "version": "file:node_modules/@storybook/manager-webpack4/node_modules/watchpack/chokidar2" - }, - "clean-css": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.4.tgz", - "integrity": "sha512-EJUDT7nDVFDvaQgAo2G/PJvxmp1o/c6iXLbswsBbUFXi1Nr+AjA2cKmfbKDMjMvzEe75g3P6JkaDDAKk96A85A==", - "dev": true, - "requires": { - "source-map": "~0.6.0" - } - }, - "commander": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", - "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", - "dev": true - }, - "css-loader": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-3.6.0.tgz", - "integrity": "sha512-M5lSukoWi1If8dhQAUCvj4H8vUt3vOnwbQBH9DdTm/s4Ym2B/3dPMtYZeJmq7Q3S3Pa+I94DcZ7pc9bP14cWIQ==", - "dev": true, - "requires": { - "camelcase": "^5.3.1", - "cssesc": "^3.0.0", - "icss-utils": "^4.1.1", - "loader-utils": "^1.2.3", - "normalize-path": "^3.0.0", - "postcss": "^7.0.32", - "postcss-modules-extract-imports": "^2.0.0", - "postcss-modules-local-by-default": "^3.0.2", - "postcss-modules-scope": "^2.2.0", - "postcss-modules-values": "^3.0.0", - "postcss-value-parser": "^4.1.0", - "schema-utils": "^2.7.0", - "semver": "^6.3.0" - }, - "dependencies": { - "loader-utils": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", - "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", - "dev": true, - "requires": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^1.0.1" - } - }, - "schema-utils": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.1.tgz", - "integrity": "sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==", - "dev": true, - "requires": { - "@types/json-schema": "^7.0.5", - "ajv": "^6.12.4", - "ajv-keywords": "^3.5.2" - } - } - } - }, - "debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - }, - "enhanced-resolve": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.5.0.tgz", - "integrity": "sha512-Nv9m36S/vxpsI+Hc4/ZGRs0n9mXqSWGGq49zxb/cJfPAQMbUtttJAlNPS4AQzaBdw/pKskw5bMbekT/Y7W/Wlg==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2", - "memory-fs": "^0.5.0", - "tapable": "^1.0.0" - }, - "dependencies": { - "memory-fs": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.5.0.tgz", - "integrity": "sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA==", - "dev": true, - "requires": { - "errno": "^0.1.3", - "readable-stream": "^2.0.1" - } - } - } - }, - "eslint-scope": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz", - "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==", - "dev": true, - "requires": { - "esrecurse": "^4.1.0", - "estraverse": "^4.1.1" - } - }, - "estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true - }, - "fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", - "dev": true, - "requires": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "html-minifier-terser": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/html-minifier-terser/-/html-minifier-terser-5.1.1.tgz", - "integrity": "sha512-ZPr5MNObqnV/T9akshPKbVgyOqLmy+Bxo7juKCfTfnjNniTAMdy4hz21YQqoofMBJD2kdREaqPPdThoR78Tgxg==", - "dev": true, - "requires": { - "camel-case": "^4.1.1", - "clean-css": "^4.2.3", - "commander": "^4.1.1", - "he": "^1.2.0", - "param-case": "^3.0.3", - "relateurl": "^0.2.7", - "terser": "^4.6.3" - }, - "dependencies": { - "terser": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.0.tgz", - "integrity": "sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==", - "dev": true, - "requires": { - "commander": "^2.20.0", - "source-map": "~0.6.1", - "source-map-support": "~0.5.12" - }, - "dependencies": { - "commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - } - } - } - } - }, - "html-webpack-plugin": { - "version": "4.5.2", - "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-4.5.2.tgz", - "integrity": "sha512-q5oYdzjKUIPQVjOosjgvCHQOv9Ett9CYYHlgvJeXG0qQvdSojnBq4vAdQBwn1+yGveAwHCoe/rMR86ozX3+c2A==", - "dev": true, - "requires": { - "@types/html-minifier-terser": "^5.0.0", - "@types/tapable": "^1.0.5", - "@types/webpack": "^4.41.8", - "html-minifier-terser": "^5.0.1", - "loader-utils": "^1.2.3", - "lodash": "^4.17.20", - "pretty-error": "^2.1.1", - "tapable": "^1.1.3", - "util.promisify": "1.0.0" - }, - "dependencies": { - "loader-utils": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", - "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", - "dev": true, - "requires": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^1.0.1" - } - } - } - }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true - }, - "is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-wsl": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", - "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=", - "dev": true - }, - "jest-worker": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz", - "integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==", - "dev": true, - "requires": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^7.0.0" - } - }, - "json5": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", - "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", - "dev": true, - "requires": { - "minimist": "^1.2.0" - } - }, - "loader-runner": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.4.0.tgz", - "integrity": "sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw==", - "dev": true - }, - "locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "dev": true, - "requires": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - } - }, - "make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", - "dev": true, - "requires": { - "pify": "^4.0.1", - "semver": "^5.6.0" - }, - "dependencies": { - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - } - } - }, - "micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", - "dev": true, - "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - } - }, - "mime": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", - "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==", - "dev": true - }, - "p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "dev": true, - "requires": { - "yocto-queue": "^0.1.0" - } - }, - "p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "dev": true, - "requires": { - "p-limit": "^2.0.0" - }, - "dependencies": { - "p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "requires": { - "p-try": "^2.0.0" - } - } - } - }, - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true - }, - "pkg-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", - "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", - "dev": true, - "requires": { - "find-up": "^3.0.0" - }, - "dependencies": { - "find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "dev": true, - "requires": { - "locate-path": "^3.0.0" - } - } - } - }, - "pretty-error": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/pretty-error/-/pretty-error-2.1.2.tgz", - "integrity": "sha512-EY5oDzmsX5wvuynAByrmY0P0hcp+QpnAKbJng2A2MPjVKXCxrDSUkzghVJ4ZGPIv+JC4gX8fPUWscC0RtjsWGw==", - "dev": true, - "requires": { - "lodash": "^4.17.20", - "renderkid": "^2.0.4" - } - }, - "renderkid": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/renderkid/-/renderkid-2.0.7.tgz", - "integrity": "sha512-oCcFyxaMrKsKcTY59qnCAtmDVSLfPbrv6A3tVbPdFMMrv5jaK10V6m40cKsoPNhAqN6rmHW9sswW4o3ruSrwUQ==", - "dev": true, - "requires": { - "css-select": "^4.1.3", - "dom-converter": "^0.2.0", - "htmlparser2": "^6.1.0", - "lodash": "^4.17.21", - "strip-ansi": "^3.0.1" - } - }, - "rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - }, - "serialize-javascript": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.1.tgz", - "integrity": "sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA==", - "dev": true, - "requires": { - "randombytes": "^2.1.0" - } - }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "dev": true, - "requires": { - "ansi-regex": "^2.0.0" - } - }, - "style-loader": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-1.3.0.tgz", - "integrity": "sha512-V7TCORko8rs9rIqkSrlMfkqA63DfoGBBJmK1kKGCcSi+BWb4cqz0SRsnp4l6rU5iwOEd0/2ePv68SV22VXon4Q==", - "dev": true, - "requires": { - "loader-utils": "^2.0.0", - "schema-utils": "^2.7.0" - }, - "dependencies": { - "schema-utils": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.1.tgz", - "integrity": "sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==", - "dev": true, - "requires": { - "@types/json-schema": "^7.0.5", - "ajv": "^6.12.4", - "ajv-keywords": "^3.5.2" - } - } - } - }, - "terser-webpack-plugin": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-4.2.3.tgz", - "integrity": "sha512-jTgXh40RnvOrLQNgIkwEKnQ8rmHjHK4u+6UBEi+W+FPmvb+uo+chJXntKe7/3lW5mNysgSWD60KyesnhW8D6MQ==", - "dev": true, - "requires": { - "cacache": "^15.0.5", - "find-cache-dir": "^3.3.1", - "jest-worker": "^26.5.0", - "p-limit": "^3.0.2", - "schema-utils": "^3.0.0", - "serialize-javascript": "^5.0.1", - "source-map": "^0.6.1", - "terser": "^5.3.4", - "webpack-sources": "^1.4.3" - } - }, - "to-regex-range": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", - "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", - "dev": true, - "requires": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" - } - }, - "watchpack": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.7.1.tgz", - "integrity": "sha512-1OeW6LucExk7h6lBuCr1isK5261Tf0PHNRG9tZjg2WKUsSkPwvyv37d7mgAUk1rZjxxaL/6WttSGMUY2hn/20g==", - "dev": true, - "requires": { - "chokidar": "^3.4.0", - "chokidar2": "file:chokidar2", - "graceful-fs": "^4.1.2", - "neo-async": "^2.5.0" - } - }, - "webpack": { - "version": "4.43.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.43.0.tgz", - "integrity": "sha512-GW1LjnPipFW2Y78OOab8NJlCflB7EFskMih2AHdvjbpKMeDJqEgSx24cXXXiPS65+WSwVyxtDsJH6jGX2czy+g==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/helper-module-context": "1.9.0", - "@webassemblyjs/wasm-edit": "1.9.0", - "@webassemblyjs/wasm-parser": "1.9.0", - "acorn": "^6.4.1", - "ajv": "^6.10.2", - "ajv-keywords": "^3.4.1", - "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^4.1.0", - "eslint-scope": "^4.0.3", - "json-parse-better-errors": "^1.0.2", - "loader-runner": "^2.4.0", - "loader-utils": "^1.2.3", - "memory-fs": "^0.4.1", - "micromatch": "^3.1.10", - "mkdirp": "^0.5.3", - "neo-async": "^2.6.1", - "node-libs-browser": "^2.2.1", - "schema-utils": "^1.0.0", - "tapable": "^1.1.3", - "terser-webpack-plugin": "^1.4.3", - "watchpack": "^1.6.1", - "webpack-sources": "^1.4.1" - }, - "dependencies": { - "cacache": { - "version": "12.0.4", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-12.0.4.tgz", - "integrity": "sha512-a0tMB40oefvuInr4Cwb3GerbL9xTj1D5yg0T5xrjGCGyfvbxseIXX7BAO/u/hIXdafzOI5JC3wDwHyf24buOAQ==", - "dev": true, - "requires": { - "bluebird": "^3.5.5", - "chownr": "^1.1.1", - "figgy-pudding": "^3.5.1", - "glob": "^7.1.4", - "graceful-fs": "^4.1.15", - "infer-owner": "^1.0.3", - "lru-cache": "^5.1.1", - "mississippi": "^3.0.0", - "mkdirp": "^0.5.1", - "move-concurrently": "^1.0.1", - "promise-inflight": "^1.0.1", - "rimraf": "^2.6.3", - "ssri": "^6.0.1", - "unique-filename": "^1.1.1", - "y18n": "^4.0.0" - } - }, - "commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - }, - "find-cache-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", - "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", - "dev": true, - "requires": { - "commondir": "^1.0.1", - "make-dir": "^2.0.0", - "pkg-dir": "^3.0.0" - } - }, - "loader-utils": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", - "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", - "dev": true, - "requires": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^1.0.1" - } - }, - "schema-utils": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz", - "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==", - "dev": true, - "requires": { - "ajv": "^6.1.0", - "ajv-errors": "^1.0.0", - "ajv-keywords": "^3.1.0" - } - }, - "serialize-javascript": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", - "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", - "dev": true, - "requires": { - "randombytes": "^2.1.0" - } - }, - "terser": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.0.tgz", - "integrity": "sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==", - "dev": true, - "requires": { - "commander": "^2.20.0", - "source-map": "~0.6.1", - "source-map-support": "~0.5.12" - } - }, - "terser-webpack-plugin": { - "version": "1.4.5", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.4.5.tgz", - "integrity": "sha512-04Rfe496lN8EYruwi6oPQkG0vo8C+HT49X687FZnpPF0qMAIHONI6HEXYPKDOE8e5HjXTyKfqRd/agHtH0kOtw==", - "dev": true, - "requires": { - "cacache": "^12.0.2", - "find-cache-dir": "^2.1.0", - "is-wsl": "^1.1.0", - "schema-utils": "^1.0.0", - "serialize-javascript": "^4.0.0", - "source-map": "^0.6.1", - "terser": "^4.1.2", - "webpack-sources": "^1.4.0", - "worker-farm": "^1.7.0" - } - } - } - }, - "webpack-dev-middleware": { - "version": "3.7.3", - "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-3.7.3.tgz", - "integrity": "sha512-djelc/zGiz9nZj/U7PTBi2ViorGJXEWo/3ltkPbDyxCXhhEXkW0ce99falaok4TPj+AsxLiXJR0EBOb0zh9fKQ==", - "dev": true, - "requires": { - "memory-fs": "^0.4.1", - "mime": "^2.4.4", - "mkdirp": "^0.5.1", - "range-parser": "^1.2.1", - "webpack-log": "^2.0.0" - } - }, - "webpack-sources": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.3.tgz", - "integrity": "sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==", - "dev": true, - "requires": { - "source-list-map": "^2.0.0", - "source-map": "~0.6.1" - } - }, - "webpack-virtual-modules": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/webpack-virtual-modules/-/webpack-virtual-modules-0.2.2.tgz", - "integrity": "sha512-kDUmfm3BZrei0y+1NTHJInejzxfhtU8eDj2M7OKb2IWrPFAeO1SOH2KuQ68MSZu9IGEHcxbkKKR1v18FrUSOmA==", - "dev": true, - "requires": { - "debug": "^3.0.0" - } - } - } - }, - "@storybook/manager-webpack5": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/manager-webpack5/-/manager-webpack5-6.5.3.tgz", - "integrity": "sha512-AJpx2cpiBXt6lVHxe2ZaBWTXqq8/GNXfFKXuBRTvLM0ZqiY3HcohUmgpWs56OC2JUwunbZiS0nvxA3dzQmuBZg==", - "dev": true, - "requires": { - "@babel/core": "^7.12.10", - "@babel/plugin-transform-template-literals": "^7.12.1", - "@babel/preset-react": "^7.12.10", - "@storybook/addons": "6.5.3", - "@storybook/core-client": "6.5.3", - "@storybook/core-common": "6.5.3", - "@storybook/node-logger": "6.5.3", - "@storybook/theming": "6.5.3", - "@storybook/ui": "6.5.3", - "@types/node": "^14.0.10 || ^16.0.0", - "babel-loader": "^8.0.0", - "case-sensitive-paths-webpack-plugin": "^2.3.0", - "chalk": "^4.1.0", - "core-js": "^3.8.2", - "css-loader": "^5.0.1", - "express": "^4.17.1", - "find-up": "^5.0.0", - "fs-extra": "^9.0.1", - "html-webpack-plugin": "^5.0.0", - "node-fetch": "^2.6.7", - "process": "^0.11.10", - "read-pkg-up": "^7.0.1", - "regenerator-runtime": "^0.13.7", - "resolve-from": "^5.0.0", - "style-loader": "^2.0.0", - "telejson": "^6.0.8", - "terser-webpack-plugin": "^5.0.3", - "ts-dedent": "^2.0.0", - "util-deprecate": "^1.0.2", - "webpack": "^5.9.0", - "webpack-dev-middleware": "^4.1.0", - "webpack-virtual-modules": "^0.4.1" - }, - "dependencies": { - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - } - } - }, - "@storybook/mdx1-csf": { - "version": "0.0.1-canary.1.867dcd5.0", - "resolved": "https://registry.npmjs.org/@storybook/mdx1-csf/-/mdx1-csf-0.0.1-canary.1.867dcd5.0.tgz", - "integrity": "sha512-VnlE825M9SpjyJCPLCXbo+RbvqllsqXqRDCouzHKSpCE3Q79KR7MMURBsJo/vrTG1zeNG68Z4TZrLAu6IoyYaA==", - "dev": true, - "requires": { - "@babel/generator": "^7.12.11", - "@babel/parser": "^7.12.11", - "@babel/preset-env": "^7.12.11", - "@babel/types": "^7.12.11", - "@mdx-js/mdx": "^1.6.22", - "@types/lodash": "^4.14.167", - "js-string-escape": "^1.0.1", - "loader-utils": "^2.0.0", - "lodash": "^4.17.21", - "prettier": ">=2.2.1 <=2.3.0", - "ts-dedent": "^2.0.0" - } - }, - "@storybook/node-logger": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/node-logger/-/node-logger-6.5.3.tgz", - "integrity": "sha512-iG4uQJCtuT54p3zg0zJ7+ALPUrt7PTAXmXqN7ak/9YcWbnwtMlHgg8oTlCebwr+E3QPCMauJM2eLzC6F7bI76w==", - "dev": true, - "requires": { - "@types/npmlog": "^4.1.2", - "chalk": "^4.1.0", - "core-js": "^3.8.2", - "npmlog": "^5.0.1", - "pretty-hrtime": "^1.0.3" - }, - "dependencies": { - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - } - } - }, - "@storybook/preview-web": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/preview-web/-/preview-web-6.5.3.tgz", - "integrity": "sha512-NI+sKFloj0vP1xAMaF1BhOAokB2u0qZ5rxx8lnU8eBmAukRURGoebuHWohBoQqniuupaNQK5hkUlJ3mkAPZi8Q==", - "dev": true, - "requires": { - "@storybook/addons": "6.5.3", - "@storybook/channel-postmessage": "6.5.3", - "@storybook/client-logger": "6.5.3", - "@storybook/core-events": "6.5.3", - "@storybook/csf": "0.0.2--canary.4566f4d.1", - "@storybook/store": "6.5.3", - "ansi-to-html": "^0.6.11", - "core-js": "^3.8.2", - "global": "^4.4.0", - "lodash": "^4.17.21", - "qs": "^6.10.0", - "regenerator-runtime": "^0.13.7", - "synchronous-promise": "^2.0.15", - "ts-dedent": "^2.0.0", - "unfetch": "^4.2.0", - "util-deprecate": "^1.0.2" - } - }, - "@storybook/react": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/react/-/react-6.5.3.tgz", - "integrity": "sha512-RP9ak2EIrq9sJ80JjaVV/Xab9O663PA/DRqfbILewRLi9uUaG6L/Qby7LktwzqwaybeKbP6dTG0w937cRkuj4w==", - "dev": true, - "requires": { - "@babel/preset-flow": "^7.12.1", - "@babel/preset-react": "^7.12.10", - "@pmmmwh/react-refresh-webpack-plugin": "^0.5.3", - "@storybook/addons": "6.5.3", - "@storybook/client-logger": "6.5.3", - "@storybook/core": "6.5.3", - "@storybook/core-common": "6.5.3", - "@storybook/csf": "0.0.2--canary.4566f4d.1", - "@storybook/docs-tools": "6.5.3", - "@storybook/node-logger": "6.5.3", - "@storybook/react-docgen-typescript-plugin": "1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0", - "@storybook/semver": "^7.3.2", - "@storybook/store": "6.5.3", - "@types/estree": "^0.0.51", - "@types/node": "^14.14.20 || ^16.0.0", - "@types/webpack-env": "^1.16.0", - "acorn": "^7.4.1", - "acorn-jsx": "^5.3.1", - "acorn-walk": "^7.2.0", - "babel-plugin-add-react-displayname": "^0.0.5", - "babel-plugin-react-docgen": "^4.2.1", - "core-js": "^3.8.2", - "escodegen": "^2.0.0", - "fs-extra": "^9.0.1", - "global": "^4.4.0", - "html-tags": "^3.1.0", - "lodash": "^4.17.21", - "prop-types": "^15.7.2", - "react-element-to-jsx-string": "^14.3.4", - "react-refresh": "^0.11.0", - "read-pkg-up": "^7.0.1", - "regenerator-runtime": "^0.13.7", - "ts-dedent": "^2.0.0", - "util-deprecate": "^1.0.2", - "webpack": ">=4.43.0 <6.0.0" - }, - "dependencies": { - "is-plain-object": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", - "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", - "dev": true - }, - "react-element-to-jsx-string": { - "version": "14.3.4", - "resolved": "https://registry.npmjs.org/react-element-to-jsx-string/-/react-element-to-jsx-string-14.3.4.tgz", - "integrity": "sha512-t4ZwvV6vwNxzujDQ+37bspnLwA4JlgUPWhLjBJWsNIDceAf6ZKUTCjdm08cN6WeZ5pTMKiCJkmAYnpmR4Bm+dg==", - "dev": true, - "requires": { - "@base2/pretty-print-object": "1.0.1", - "is-plain-object": "5.0.0", - "react-is": "17.0.2" - } - }, - "react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, - "react-refresh": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.11.0.tgz", - "integrity": "sha512-F27qZr8uUqwhWZboondsPx8tnC3Ct3SxZA3V5WyEvujRyyNv0VYPhoBg1gZ8/MV5tubQp76Trw8lTv9hzRBa+A==", - "dev": true - } - } - }, - "@storybook/react-docgen-typescript-plugin": { - "version": "1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0", - "resolved": "https://registry.npmjs.org/@storybook/react-docgen-typescript-plugin/-/react-docgen-typescript-plugin-1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0.tgz", - "integrity": "sha512-eVg3BxlOm2P+chijHBTByr90IZVUtgRW56qEOLX7xlww2NBuKrcavBlcmn+HH7GIUktquWkMPtvy6e0W0NgA5w==", - "dev": true, - "requires": { - "debug": "^4.1.1", - "endent": "^2.0.1", - "find-cache-dir": "^3.3.1", - "flat-cache": "^3.0.4", - "micromatch": "^4.0.2", - "react-docgen-typescript": "^2.1.1", - "tslib": "^2.0.0" - }, - "dependencies": { - "debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - } - } - }, - "@storybook/router": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/router/-/router-6.5.3.tgz", - "integrity": "sha512-UcErvdeuCTMYvmztDogrTK1DKQ8ZFkUR/46bEuVo4tg9OzlX3fr+JqD4RZHT4YOUYmDcTm6cLlUJhDalUpoU6Q==", - "dev": true, - "requires": { - "@storybook/client-logger": "6.5.3", - "core-js": "^3.8.2", - "regenerator-runtime": "^0.13.7" - } - }, - "@storybook/semver": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/@storybook/semver/-/semver-7.3.2.tgz", - "integrity": "sha512-SWeszlsiPsMI0Ps0jVNtH64cI5c0UF3f7KgjVKJoNP30crQ6wUSddY2hsdeczZXEKVJGEn50Q60flcGsQGIcrg==", - "dev": true, - "requires": { - "core-js": "^3.6.5", - "find-up": "^4.1.0" - }, - "dependencies": { - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, - "locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "requires": { - "p-locate": "^4.1.0" - } - }, - "p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "requires": { - "p-limit": "^2.2.0" - } - } - } - }, - "@storybook/store": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/store/-/store-6.5.3.tgz", - "integrity": "sha512-vI5w3OlDsCQE32C5AekRfHI6qX7s7iKRAUJKQE4Azqch37EAnMNLWE3E13KAzdLX1oU+JNRGHjJTogsQUR2UeQ==", - "dev": true, - "requires": { - "@storybook/addons": "6.5.3", - "@storybook/client-logger": "6.5.3", - "@storybook/core-events": "6.5.3", - "@storybook/csf": "0.0.2--canary.4566f4d.1", - "core-js": "^3.8.2", - "fast-deep-equal": "^3.1.3", - "global": "^4.4.0", - "lodash": "^4.17.21", - "memoizerific": "^1.11.3", - "regenerator-runtime": "^0.13.7", - "slash": "^3.0.0", - "stable": "^0.1.8", - "synchronous-promise": "^2.0.15", - "ts-dedent": "^2.0.0", - "util-deprecate": "^1.0.2" - } - }, - "@storybook/telemetry": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/telemetry/-/telemetry-6.5.3.tgz", - "integrity": "sha512-eXhQ+kRWdg+ZX3sglRaCoOzpzgQ/p9wKS4/vEJd5Fq+JlKIuZkJ7xiJYaxlhR55PLpJGbj+5HCTlnepAtf7Nnw==", - "dev": true, - "requires": { - "@storybook/client-logger": "6.5.3", - "@storybook/core-common": "6.5.3", - "chalk": "^4.1.0", - "core-js": "^3.8.2", - "detect-package-manager": "^2.0.1", - "fetch-retry": "^5.0.2", - "fs-extra": "^9.0.1", - "global": "^4.4.0", - "isomorphic-unfetch": "^3.1.0", - "nanoid": "^3.3.1", - "read-pkg-up": "^7.0.1", - "regenerator-runtime": "^0.13.7" - }, - "dependencies": { - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - } - } - }, - "@storybook/theming": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/theming/-/theming-6.5.3.tgz", - "integrity": "sha512-2tM46jahAhKRUzCcoaqPoqs+4imXqbze0dCPZ0cdVnfs14jhMB1lAfGE+diodCCaUcXUu8r2c5dTPKqqM1lHqQ==", - "dev": true, - "requires": { - "@storybook/client-logger": "6.5.3", - "core-js": "^3.8.2", - "regenerator-runtime": "^0.13.7" - } - }, - "@storybook/ui": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@storybook/ui/-/ui-6.5.3.tgz", - "integrity": "sha512-TLJBfXHFM0ilMuUjer4AjhnNGvQ7lI4GYIKzuCjCrw/ukfUb1AABXd9fdHq7tEzVm8z7T3pyrRVsb1VVdbxL0A==", - "dev": true, - "requires": { - "@storybook/addons": "6.5.3", - "@storybook/api": "6.5.3", - "@storybook/channels": "6.5.3", - "@storybook/client-logger": "6.5.3", - "@storybook/components": "6.5.3", - "@storybook/core-events": "6.5.3", - "@storybook/router": "6.5.3", - "@storybook/semver": "^7.3.2", - "@storybook/theming": "6.5.3", - "core-js": "^3.8.2", - "regenerator-runtime": "^0.13.7", - "resolve-from": "^5.0.0" - } - }, - "@testing-library/dom": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-8.13.0.tgz", - "integrity": "sha512-9VHgfIatKNXQNaZTtLnalIy0jNZzY35a4S3oi08YAt9Hv1VsfZ/DfA45lM8D/UhtHBGJ4/lGwp0PZkVndRkoOQ==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.10.4", - "@babel/runtime": "^7.12.5", - "@types/aria-query": "^4.2.0", - "aria-query": "^5.0.0", - "chalk": "^4.1.0", - "dom-accessibility-api": "^0.5.9", - "lz-string": "^1.4.4", - "pretty-format": "^27.0.2" - }, - "dependencies": { - "chalk": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", - "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - } - } - }, - "@testing-library/react": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-13.2.0.tgz", - "integrity": "sha512-Bprbz/SZVONCJy5f7hcihNCv313IJXdYiv0nSJklIs1SQCIHHNlnGNkosSXnGZTmesyGIcBGNppYhXcc11pb7g==", - "dev": true, - "requires": { - "@babel/runtime": "^7.12.5", - "@testing-library/dom": "^8.5.0", - "@types/react-dom": "^18.0.0" - } - }, - "@testing-library/user-event": { - "version": "14.2.0", - "resolved": "https://registry.npmjs.org/@testing-library/user-event/-/user-event-14.2.0.tgz", - "integrity": "sha512-+hIlG4nJS6ivZrKnOP7OGsDu9Fxmryj9vCl8x0ZINtTJcCHs2zLsYif5GzuRiBF2ck5GZG2aQr7Msg+EHlnYVQ==", - "dev": true, - "requires": {} - }, - "@tootallnate/once": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", - "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", - "dev": true - }, - "@types/anymatch": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@types/anymatch/-/anymatch-3.0.0.tgz", - "integrity": "sha512-qLChUo6yhpQ9k905NwL74GU7TxH+9UODwwQ6ICNI+O6EDMExqH/Cv9NsbmcZ7yC/rRXJ/AHCzfgjsFRY5fKjYw==", - "dev": true, - "requires": { - "anymatch": "*" - } - }, - "@types/aria-query": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-4.2.1.tgz", - "integrity": "sha512-S6oPal772qJZHoRZLFc/XoZW2gFvwXusYUmXPXkgxJLuEk2vOt7jc4Yo6z/vtI0EBkbPBVrJJ0B+prLIKiWqHg==", - "dev": true - }, - "@types/body-parser": { - "version": "1.19.2", - "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz", - "integrity": "sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==", - "dev": true, - "requires": { - "@types/connect": "*", - "@types/node": "*" - } - }, - "@types/bonjour": { - "version": "3.5.10", - "resolved": "https://registry.npmjs.org/@types/bonjour/-/bonjour-3.5.10.tgz", - "integrity": "sha512-p7ienRMiS41Nu2/igbJxxLDWrSZ0WxM8UQgCeO9KhoVF7cOVFkrKsiDr1EsJIla8vV3oEEjGcz11jc5yimhzZw==", - "dev": true, - "requires": { - "@types/node": "*" - } - }, - "@types/connect": { - "version": "3.4.35", - "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz", - "integrity": "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==", - "dev": true, - "requires": { - "@types/node": "*" - } - }, - "@types/connect-history-api-fallback": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.3.5.tgz", - "integrity": "sha512-h8QJa8xSb1WD4fpKBDcATDNGXghFj6/3GRWG6dhmRcu0RX1Ubasur2Uvx5aeEwlf0MwblEC2bMzzMQntxnw/Cw==", - "dev": true, - "requires": { - "@types/express-serve-static-core": "*", - "@types/node": "*" - } - }, - "@types/eslint": { - "version": "8.4.2", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.2.tgz", - "integrity": "sha512-Z1nseZON+GEnFjJc04sv4NSALGjhFwy6K0HXt7qsn5ArfAKtb63dXNJHf+1YW6IpOIYRBGUbu3GwJdj8DGnCjA==", - "dev": true, - "requires": { - "@types/estree": "*", - "@types/json-schema": "*" - } - }, - "@types/eslint-scope": { - "version": "3.7.3", - "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.3.tgz", - "integrity": "sha512-PB3ldyrcnAicT35TWPs5IcwKD8S333HMaa2VVv4+wdvebJkjWuW/xESoB8IwRcog8HYVYamb1g/R31Qv5Bx03g==", - "dev": true, - "requires": { - "@types/eslint": "*", - "@types/estree": "*" - } - }, - "@types/estree": { - "version": "0.0.51", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.51.tgz", - "integrity": "sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==", - "dev": true - }, - "@types/express": { - "version": "4.17.13", - "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.13.tgz", - "integrity": "sha512-6bSZTPaTIACxn48l50SR+axgrqm6qXFIxrdAKaG6PaJk3+zuUr35hBlgT7vOmJcum+OEaIBLtHV/qloEAFITeA==", - "dev": true, - "requires": { - "@types/body-parser": "*", - "@types/express-serve-static-core": "^4.17.18", - "@types/qs": "*", - "@types/serve-static": "*" - } - }, - "@types/express-serve-static-core": { - "version": "4.17.28", - "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.28.tgz", - "integrity": "sha512-P1BJAEAW3E2DJUlkgq4tOL3RyMunoWXqbSCygWo5ZIWTjUgN1YnaXWW4VWl/oc8vs/XoYibEGBKP0uZyF4AHig==", - "dev": true, - "requires": { - "@types/node": "*", - "@types/qs": "*", - "@types/range-parser": "*" - } - }, - "@types/glob": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz", - "integrity": "sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w==", - "dev": true, - "requires": { - "@types/minimatch": "*", - "@types/node": "*" - } - }, - "@types/hast": { - "version": "2.3.4", - "resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.4.tgz", - "integrity": "sha512-wLEm0QvaoawEDoTRwzTXp4b4jpwiJDvR5KMnFnVodm3scufTlBOWRD6N1OBf9TZMhjlNsSfcO5V+7AF4+Vy+9g==", - "requires": { - "@types/unist": "*" - } - }, - "@types/html-minifier-terser": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/@types/html-minifier-terser/-/html-minifier-terser-6.1.0.tgz", - "integrity": "sha512-oh/6byDPnL1zeNXFrDXFLyZjkr1MsBG667IM792caf1L2UPOOMf65NFzjUH/ltyfwjAGfs1rsX1eftK0jC/KIg==", - "dev": true - }, - "@types/http-proxy": { - "version": "1.17.9", - "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.9.tgz", - "integrity": "sha512-QsbSjA/fSk7xB+UXlCT3wHBy5ai9wOcNDWwZAtud+jXhwOM3l+EYZh8Lng4+/6n8uar0J7xILzqftJdJ/Wdfkw==", - "dev": true, - "requires": { - "@types/node": "*" - } - }, - "@types/is-function": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@types/is-function/-/is-function-1.0.1.tgz", - "integrity": "sha512-A79HEEiwXTFtfY+Bcbo58M2GRYzCr9itHWzbzHVFNEYCcoU/MMGwYYf721gBrnhpj1s6RGVVha/IgNFnR0Iw/Q==", - "dev": true - }, - "@types/istanbul-lib-coverage": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.3.tgz", - "integrity": "sha512-sz7iLqvVUg1gIedBOvlkxPlc8/uVzyS5OwGz1cKjXzkl3FpL3al0crU8YGU1WoHkxn0Wxbw5tyi6hvzJKNzFsw==", - "dev": true - }, - "@types/json-schema": { - "version": "7.0.11", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", - "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==", - "dev": true - }, - "@types/lodash": { - "version": "4.14.182", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.182.tgz", - "integrity": "sha512-/THyiqyQAP9AfARo4pF+aCGcyiQ94tX/Is2I7HofNRqoYLgN1PBoOWu2/zTA5zMxzP5EFutMtWtGAFRKUe961Q==", - "dev": true - }, - "@types/mdast": { - "version": "3.0.10", - "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-3.0.10.tgz", - "integrity": "sha512-W864tg/Osz1+9f4lrGTZpCSO5/z4608eUp19tbozkq2HJK6i3z1kT0H9tlADXuYIb1YYOBByU4Jsqkk75q48qA==", - "dev": true, - "requires": { - "@types/unist": "*" - } - }, - "@types/mime": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz", - "integrity": "sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw==", - "dev": true - }, - "@types/minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-1z8k4wzFnNjVK/tlxvrWuK5WMt6mydWWP7+zvH5eFep4oj+UkrfiJTRtjCeBXNpwaA/FYqqtb4/QS4ianFpIRA==", - "dev": true - }, - "@types/node": { - "version": "16.11.36", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.36.tgz", - "integrity": "sha512-FR5QJe+TaoZ2GsMHkjuwoNabr+UrJNRr2HNOo+r/7vhcuntM6Ee/pRPOnRhhL2XE9OOvX9VLEq+BcXl3VjNoWA==", - "dev": true - }, - "@types/node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-oMqjURCaxoSIsHSr1E47QHzbmzNR5rK8McHuNb11BOM9cHcIK3Avy0s/b2JlXHoQGTYS3NsvWzV1M0iK7l0wbA==", - "dev": true, - "requires": { - "@types/node": "*", - "form-data": "^3.0.0" - } - }, - "@types/normalize-package-data": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", - "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==", - "dev": true - }, - "@types/npmlog": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@types/npmlog/-/npmlog-4.1.4.tgz", - "integrity": "sha512-WKG4gTr8przEZBiJ5r3s8ZIAoMXNbOgQ+j/d5O4X3x6kZJRLNvyUJuUK/KoG3+8BaOHPhp2m7WC6JKKeovDSzQ==", - "dev": true - }, - "@types/parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==" - }, - "@types/parse5": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@types/parse5/-/parse5-5.0.3.tgz", - "integrity": "sha512-kUNnecmtkunAoQ3CnjmMkzNU/gtxG8guhi+Fk2U/kOpIKjIMKnXGp4IJCgQJrXSgMsWYimYG4TGjz/UzbGEBTw==", - "dev": true - }, - "@types/pretty-hrtime": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@types/pretty-hrtime/-/pretty-hrtime-1.0.1.tgz", - "integrity": "sha512-VjID5MJb1eGKthz2qUerWT8+R4b9N+CHvGCzg9fn4kWZgaF9AhdYikQio3R7wV8YY1NsQKPaCwKz1Yff+aHNUQ==", - "dev": true - }, - "@types/prop-types": { - "version": "15.7.5", - "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz", - "integrity": "sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==", - "dev": true - }, - "@types/qs": { - "version": "6.9.7", - "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", - "integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==", - "dev": true - }, - "@types/range-parser": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz", - "integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==", - "dev": true - }, - "@types/react": { - "version": "18.0.9", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.0.9.tgz", - "integrity": "sha512-9bjbg1hJHUm4De19L1cHiW0Jvx3geel6Qczhjd0qY5VKVE2X5+x77YxAepuCwVh4vrgZJdgEJw48zrhRIeF4Nw==", - "dev": true, - "requires": { - "@types/prop-types": "*", - "@types/scheduler": "*", - "csstype": "^3.0.2" - } - }, - "@types/react-dom": { - "version": "18.0.4", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.0.4.tgz", - "integrity": "sha512-FgTtbqPOCI3dzZPZoC2T/sx3L34qxy99ITWn4eoSA95qPyXDMH0ALoAqUp49ITniiJFsXUVBtalh/KffMpg21Q==", - "dev": true, - "requires": { - "@types/react": "*" - } - }, - "@types/react-syntax-highlighter": { - "version": "11.0.5", - "resolved": "https://registry.npmjs.org/@types/react-syntax-highlighter/-/react-syntax-highlighter-11.0.5.tgz", - "integrity": "sha512-VIOi9i2Oj5XsmWWoB72p3KlZoEbdRAcechJa8Ztebw7bDl2YmR+odxIqhtJGp1q2EozHs02US+gzxJ9nuf56qg==", - "dev": true, - "requires": { - "@types/react": "*" - } - }, - "@types/retry": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.0.tgz", - "integrity": "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==", - "dev": true - }, - "@types/scheduler": { - "version": "0.16.2", - "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.2.tgz", - "integrity": "sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==", - "dev": true - }, - "@types/serve-index": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/@types/serve-index/-/serve-index-1.9.1.tgz", - "integrity": "sha512-d/Hs3nWDxNL2xAczmOVZNj92YZCS6RGxfBPjKzuu/XirCgXdpKEb88dYNbrYGint6IVWLNP+yonwVAuRC0T2Dg==", - "dev": true, - "requires": { - "@types/express": "*" - } - }, - "@types/serve-static": { - "version": "1.13.10", - "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.10.tgz", - "integrity": "sha512-nCkHGI4w7ZgAdNkrEu0bv+4xNV/XDqW+DydknebMOQwkpDGx8G+HTlj7R7ABI8i8nKxVw0wtKPi1D+lPOkh4YQ==", - "dev": true, - "requires": { - "@types/mime": "^1", - "@types/node": "*" - } - }, - "@types/sockjs": { - "version": "0.3.33", - "resolved": "https://registry.npmjs.org/@types/sockjs/-/sockjs-0.3.33.tgz", - "integrity": "sha512-f0KEEe05NvUnat+boPTZ0dgaLZ4SfSouXUgv5noUiefG2ajgKjmETo9ZJyuqsl7dfl2aHlLJUiki6B4ZYldiiw==", - "dev": true, - "requires": { - "@types/node": "*" - } - }, - "@types/source-list-map": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/@types/source-list-map/-/source-list-map-0.1.2.tgz", - "integrity": "sha512-K5K+yml8LTo9bWJI/rECfIPrGgxdpeNbj+d53lwN4QjW1MCwlkhUms+gtdzigTeUyBr09+u8BwOIY3MXvHdcsA==", - "dev": true - }, - "@types/tapable": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/@types/tapable/-/tapable-1.0.7.tgz", - "integrity": "sha512-0VBprVqfgFD7Ehb2vd8Lh9TG3jP98gvr8rgehQqzztZNI7o8zS8Ad4jyZneKELphpuE212D8J70LnSNQSyO6bQ==", - "dev": true - }, - "@types/uglify-js": { - "version": "3.13.0", - "resolved": "https://registry.npmjs.org/@types/uglify-js/-/uglify-js-3.13.0.tgz", - "integrity": "sha512-EGkrJD5Uy+Pg0NUR8uA4bJ5WMfljyad0G+784vLCNUkD+QwOJXUbBYExXfVGf7YtyzdQp3L/XMYcliB987kL5Q==", - "dev": true, - "requires": { - "source-map": "^0.6.1" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - } - } - }, - "@types/unist": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.6.tgz", - "integrity": "sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==" - }, - "@types/webpack": { - "version": "4.41.28", - "resolved": "https://registry.npmjs.org/@types/webpack/-/webpack-4.41.28.tgz", - "integrity": "sha512-Nn84RAiJjKRfPFFCVR8LC4ueTtTdfWAMZ03THIzZWRJB+rX24BD3LqPSFnbMscWauEsT4segAsylPDIaZyZyLQ==", - "dev": true, - "requires": { - "@types/anymatch": "*", - "@types/node": "*", - "@types/tapable": "^1", - "@types/uglify-js": "*", - "@types/webpack-sources": "*", - "source-map": "^0.6.0" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - } - } - }, - "@types/webpack-env": { - "version": "1.16.2", - "resolved": "https://registry.npmjs.org/@types/webpack-env/-/webpack-env-1.16.2.tgz", - "integrity": "sha512-vKx7WNQNZDyJveYcHAm9ZxhqSGLYwoyLhrHjLBOkw3a7cT76sTdjgtwyijhk1MaHyRIuSztcVwrUOO/NEu68Dw==", - "dev": true - }, - "@types/webpack-sources": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@types/webpack-sources/-/webpack-sources-2.1.0.tgz", - "integrity": "sha512-LXn/oYIpBeucgP1EIJbKQ2/4ZmpvRl+dlrFdX7+94SKRUV3Evy3FsfMZY318vGhkWUS5MPhtOM3w1/hCOAOXcg==", - "dev": true, - "requires": { - "@types/node": "*", - "@types/source-list-map": "*", - "source-map": "^0.7.3" - }, - "dependencies": { - "source-map": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", - "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", - "dev": true - } - } - }, - "@types/ws": { - "version": "8.5.3", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.3.tgz", - "integrity": "sha512-6YOoWjruKj1uLf3INHH7D3qTXwFfEsg1kf3c0uDdSBJwfa/llkwIjrAGV7j7mVgGNbzTQ3HiHKKDXl6bJPD97w==", - "dev": true, - "requires": { - "@types/node": "*" - } - }, - "@webassemblyjs/ast": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", - "integrity": "sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==", - "dev": true, - "requires": { - "@webassemblyjs/helper-numbers": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1" - } - }, - "@webassemblyjs/floating-point-hex-parser": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz", - "integrity": "sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ==", - "dev": true - }, - "@webassemblyjs/helper-api-error": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz", - "integrity": "sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg==", - "dev": true - }, - "@webassemblyjs/helper-buffer": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz", - "integrity": "sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA==", - "dev": true - }, - "@webassemblyjs/helper-code-frame": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.9.0.tgz", - "integrity": "sha512-ERCYdJBkD9Vu4vtjUYe8LZruWuNIToYq/ME22igL+2vj2dQ2OOujIZr3MEFvfEaqKoVqpsFKAGsRdBSBjrIvZA==", - "dev": true, - "requires": { - "@webassemblyjs/wast-printer": "1.9.0" - }, - "dependencies": { - "@webassemblyjs/ast": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.9.0.tgz", - "integrity": "sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA==", - "dev": true, - "requires": { - "@webassemblyjs/helper-module-context": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/wast-parser": "1.9.0" - } - }, - "@webassemblyjs/helper-wasm-bytecode": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz", - "integrity": "sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw==", - "dev": true - }, - "@webassemblyjs/wast-printer": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.9.0.tgz", - "integrity": "sha512-2J0nE95rHXHyQ24cWjMKJ1tqB/ds8z/cyeOZxJhcb+rW+SQASVjuznUSmdz5GpVJTzU8JkhYut0D3siFDD6wsA==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/wast-parser": "1.9.0", - "@xtuc/long": "4.2.2" - } - } - } - }, - "@webassemblyjs/helper-fsm": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.9.0.tgz", - "integrity": "sha512-OPRowhGbshCb5PxJ8LocpdX9Kl0uB4XsAjl6jH/dWKlk/mzsANvhwbiULsaiqT5GZGT9qinTICdj6PLuM5gslw==", - "dev": true - }, - "@webassemblyjs/helper-module-context": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.9.0.tgz", - "integrity": "sha512-MJCW8iGC08tMk2enck1aPW+BE5Cw8/7ph/VGZxwyvGbJwjktKkDK7vy7gAmMDx88D7mhDTCNKAW5tED+gZ0W8g==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0" - }, - "dependencies": { - "@webassemblyjs/ast": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.9.0.tgz", - "integrity": "sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA==", - "dev": true, - "requires": { - "@webassemblyjs/helper-module-context": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/wast-parser": "1.9.0" - } - }, - "@webassemblyjs/helper-wasm-bytecode": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz", - "integrity": "sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw==", - "dev": true - } - } - }, - "@webassemblyjs/helper-numbers": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz", - "integrity": "sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ==", - "dev": true, - "requires": { - "@webassemblyjs/floating-point-hex-parser": "1.11.1", - "@webassemblyjs/helper-api-error": "1.11.1", - "@xtuc/long": "4.2.2" - } - }, - "@webassemblyjs/helper-wasm-bytecode": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz", - "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q==", - "dev": true - }, - "@webassemblyjs/helper-wasm-section": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz", - "integrity": "sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1" - } - }, - "@webassemblyjs/ieee754": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz", - "integrity": "sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ==", - "dev": true, - "requires": { - "@xtuc/ieee754": "^1.2.0" - } - }, - "@webassemblyjs/leb128": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.1.tgz", - "integrity": "sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw==", - "dev": true, - "requires": { - "@xtuc/long": "4.2.2" - } - }, - "@webassemblyjs/utf8": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.1.tgz", - "integrity": "sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ==", - "dev": true - }, - "@webassemblyjs/wasm-edit": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz", - "integrity": "sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/helper-wasm-section": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1", - "@webassemblyjs/wasm-opt": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1", - "@webassemblyjs/wast-printer": "1.11.1" - } - }, - "@webassemblyjs/wasm-gen": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz", - "integrity": "sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/ieee754": "1.11.1", - "@webassemblyjs/leb128": "1.11.1", - "@webassemblyjs/utf8": "1.11.1" - } - }, - "@webassemblyjs/wasm-opt": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz", - "integrity": "sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1" - } - }, - "@webassemblyjs/wasm-parser": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz", - "integrity": "sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-api-error": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/ieee754": "1.11.1", - "@webassemblyjs/leb128": "1.11.1", - "@webassemblyjs/utf8": "1.11.1" - } - }, - "@webassemblyjs/wast-parser": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.9.0.tgz", - "integrity": "sha512-qsqSAP3QQ3LyZjNC/0jBJ/ToSxfYJ8kYyuiGvtn/8MK89VrNEfwj7BPQzJVHi0jGTRK2dGdJ5PRqhtjzoww+bw==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.9.0", - "@webassemblyjs/floating-point-hex-parser": "1.9.0", - "@webassemblyjs/helper-api-error": "1.9.0", - "@webassemblyjs/helper-code-frame": "1.9.0", - "@webassemblyjs/helper-fsm": "1.9.0", - "@xtuc/long": "4.2.2" - }, - "dependencies": { - "@webassemblyjs/ast": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.9.0.tgz", - "integrity": "sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA==", - "dev": true, - "requires": { - "@webassemblyjs/helper-module-context": "1.9.0", - "@webassemblyjs/helper-wasm-bytecode": "1.9.0", - "@webassemblyjs/wast-parser": "1.9.0" - } - }, - "@webassemblyjs/floating-point-hex-parser": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.9.0.tgz", - "integrity": "sha512-TG5qcFsS8QB4g4MhrxK5TqfdNe7Ey/7YL/xN+36rRjl/BlGE/NcBvJcqsRgCP6Z92mRE+7N50pRIi8SmKUbcQA==", - "dev": true - }, - "@webassemblyjs/helper-api-error": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.0.tgz", - "integrity": "sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw==", - "dev": true - }, - "@webassemblyjs/helper-wasm-bytecode": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz", - "integrity": "sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw==", - "dev": true - } - } - }, - "@webassemblyjs/wast-printer": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz", - "integrity": "sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.11.1", - "@xtuc/long": "4.2.2" - } - }, - "@webpack-cli/configtest": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@webpack-cli/configtest/-/configtest-1.1.1.tgz", - "integrity": "sha512-1FBc1f9G4P/AxMqIgfZgeOTuRnwZMten8E7zap5zgpPInnCrP8D4Q81+4CWIch8i/Nf7nXjP0v6CjjbHOrXhKg==", - "dev": true, - "requires": {} - }, - "@webpack-cli/info": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@webpack-cli/info/-/info-1.4.1.tgz", - "integrity": "sha512-PKVGmazEq3oAo46Q63tpMr4HipI3OPfP7LiNOEJg963RMgT0rqheag28NCML0o3GIzA3DmxP1ZIAv9oTX1CUIA==", - "dev": true, - "requires": { - "envinfo": "^7.7.3" - } - }, - "@webpack-cli/serve": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-1.6.1.tgz", - "integrity": "sha512-gNGTiTrjEVQ0OcVnzsRSqTxaBSr+dmTfm+qJsCDluky8uhdLWep7Gcr62QsAKHTMxjCS/8nEITsmFAhfIx+QSw==", - "dev": true, - "requires": {} - }, - "@xtuc/ieee754": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", - "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", - "dev": true - }, - "@xtuc/long": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", - "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", - "dev": true - }, - "abab": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", - "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==", - "dev": true - }, - "accepts": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", - "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", - "dev": true, - "requires": { - "mime-types": "~2.1.34", - "negotiator": "0.6.3" - } - }, - "acorn": { - "version": "7.4.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", - "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", - "dev": true - }, - "acorn-globals": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-6.0.0.tgz", - "integrity": "sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==", - "dev": true, - "requires": { - "acorn": "^7.1.1", - "acorn-walk": "^7.1.1" - } - }, - "acorn-jsx": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true, - "requires": {} - }, - "acorn-walk": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", - "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==", - "dev": true - }, - "address": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/address/-/address-1.2.0.tgz", - "integrity": "sha512-tNEZYz5G/zYunxFm7sfhAxkXEuLj3K6BKwv6ZURlsF6yiUQ65z0Q2wZW9L5cPUl9ocofGvXOdFYbFHp0+6MOig==", - "dev": true - }, - "agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "dev": true, - "requires": { - "debug": "4" - }, - "dependencies": { - "debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - } - } - }, - "aggregate-error": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", - "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", - "dev": true, - "requires": { - "clean-stack": "^2.0.0", - "indent-string": "^4.0.0" - }, - "dependencies": { - "indent-string": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", - "dev": true - } - } - }, - "airbnb-js-shims": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/airbnb-js-shims/-/airbnb-js-shims-2.2.1.tgz", - "integrity": "sha512-wJNXPH66U2xjgo1Zwyjf9EydvJ2Si94+vSdk6EERcBfB2VZkeltpqIats0cqIZMLCXP3zcyaUKGYQeIBT6XjsQ==", - "dev": true, - "requires": { - "array-includes": "^3.0.3", - "array.prototype.flat": "^1.2.1", - "array.prototype.flatmap": "^1.2.1", - "es5-shim": "^4.5.13", - "es6-shim": "^0.35.5", - "function.prototype.name": "^1.1.0", - "globalthis": "^1.0.0", - "object.entries": "^1.1.0", - "object.fromentries": "^2.0.0 || ^1.0.0", - "object.getownpropertydescriptors": "^2.0.3", - "object.values": "^1.1.0", - "promise.allsettled": "^1.0.0", - "promise.prototype.finally": "^3.1.0", - "string.prototype.matchall": "^4.0.0 || ^3.0.1", - "string.prototype.padend": "^3.0.0", - "string.prototype.padstart": "^3.0.0", - "symbol.prototype.description": "^1.0.0" - } - }, - "ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dev": true, - "requires": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - } - }, - "ajv-errors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-1.0.1.tgz", - "integrity": "sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ==", - "dev": true, - "requires": {} - }, - "ajv-formats": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", - "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", - "dev": true, - "requires": { - "ajv": "^8.0.0" - }, - "dependencies": { - "ajv": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", - "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", - "dev": true, - "requires": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - } - }, - "json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true - } - } - }, - "ajv-keywords": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", - "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", - "dev": true, - "requires": {} - }, - "ansi-align": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz", - "integrity": "sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==", - "dev": true, - "requires": { - "string-width": "^4.1.0" - } - }, - "ansi-colors": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.4.tgz", - "integrity": "sha512-hHUXGagefjN2iRrID63xckIvotOXOojhQKWIPUZ4mNUZ9nLZW+7FMNoE1lOkEhNWYsx/7ysGIuJYCiMAA9FnrA==", - "dev": true - }, - "ansi-html-community": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/ansi-html-community/-/ansi-html-community-0.0.8.tgz", - "integrity": "sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw==", - "dev": true - }, - "ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true - }, - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "requires": { - "color-convert": "^2.0.1" - } - }, - "ansi-to-html": { - "version": "0.6.15", - "resolved": "https://registry.npmjs.org/ansi-to-html/-/ansi-to-html-0.6.15.tgz", - "integrity": "sha512-28ijx2aHJGdzbs+O5SNQF65r6rrKYnkuwTYm8lZlChuoJ9P1vVzIpWO20sQTqTPDXYp6NFwk326vApTtLVFXpQ==", - "dev": true, - "requires": { - "entities": "^2.0.0" - } - }, - "anymatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", - "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", - "dev": true, - "requires": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - } - }, - "app-root-dir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/app-root-dir/-/app-root-dir-1.0.2.tgz", - "integrity": "sha512-jlpIfsOoNoafl92Sz//64uQHGSyMrD2vYG5d8o2a4qGvyNCvXur7bzIsWtAC/6flI2RYAp3kv8rsfBtaLm7w0g==", - "dev": true - }, - "aproba": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", - "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", - "dev": true - }, - "are-we-there-yet": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz", - "integrity": "sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==", - "dev": true, - "requires": { - "delegates": "^1.0.0", - "readable-stream": "^3.6.0" - }, - "dependencies": { - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dev": true, - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - } - } - }, - "aria-query": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.0.0.tgz", - "integrity": "sha512-V+SM7AbUwJ+EBnB8+DXs0hPZHO0W6pqBcc0dW90OwtVG02PswOu/teuARoLQjdDOH+t9pJgGnW5/Qmouf3gPJg==", - "dev": true - }, - "arr-diff": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", - "integrity": "sha512-YVIQ82gZPGBebQV/a8dar4AitzCQs0jjXwMPZllpXMaGjXPYVUawSxQrRsjhjupyVxEvbHgUmIhKVlND+j02kA==", - "dev": true - }, - "arr-flatten": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", - "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", - "dev": true - }, - "arr-union": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", - "integrity": "sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q==", - "dev": true - }, - "array-find-index": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", - "integrity": "sha512-M1HQyIXcBGtVywBt8WVdim+lrNaK7VHp99Qt5pSNziXznKHViIBbXWtfRTpEFpF/c4FdfxNAsCCwPp5phBYJtw==", - "dev": true, - "optional": true - }, - "array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=", - "dev": true - }, - "array-includes": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.5.tgz", - "integrity": "sha512-iSDYZMMyTPkiFasVqfuAQnWAYcvO/SeBSCGKePoEthjp4LEMTe4uLc7b025o4jAZpHhihh8xPo99TNWUWWkGDQ==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.19.5", - "get-intrinsic": "^1.1.1", - "is-string": "^1.0.7" - } - }, - "array-union": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", - "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", - "dev": true, - "requires": { - "array-uniq": "^1.0.1" - } - }, - "array-uniq": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", - "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", - "dev": true - }, - "array-unique": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", - "integrity": "sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ==", - "dev": true - }, - "array.prototype.flat": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.0.tgz", - "integrity": "sha512-12IUEkHsAhA4DY5s0FPgNXIdc8VRSqD9Zp78a5au9abH/SOBrsp082JOWFNTjkMozh8mqcdiKuaLGhPeYztxSw==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.2", - "es-shim-unscopables": "^1.0.0" - } - }, - "array.prototype.flatmap": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.0.tgz", - "integrity": "sha512-PZC9/8TKAIxcWKdyeb77EzULHPrIX/tIZebLJUQOMR1OwYosT8yggdfWScfTBCDj5utONvOuPQQumYsU2ULbkg==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.2", - "es-shim-unscopables": "^1.0.0" - } - }, - "array.prototype.map": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/array.prototype.map/-/array.prototype.map-1.0.4.tgz", - "integrity": "sha512-Qds9QnX7A0qISY7JT5WuJO0NJPE9CMlC6JzHQfhpqAAQQzufVRoeH7EzUY5GcPTx72voG8LV/5eo+b8Qi8hmhA==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.0", - "es-array-method-boxes-properly": "^1.0.0", - "is-string": "^1.0.7" - } - }, - "array.prototype.reduce": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/array.prototype.reduce/-/array.prototype.reduce-1.0.4.tgz", - "integrity": "sha512-WnM+AjG/DvLRLo4DDl+r+SvCzYtD2Jd9oeBYMcEaI7t3fFrHY9M53/wdLcTvmZNQ70IU6Htj0emFkZ5TS+lrdw==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.2", - "es-array-method-boxes-properly": "^1.0.0", - "is-string": "^1.0.7" - } - }, - "arrify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", - "dev": true - }, - "asn1.js": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", - "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==", - "dev": true, - "requires": { - "bn.js": "^4.0.0", - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0", - "safer-buffer": "^2.1.0" - }, - "dependencies": { - "bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "dev": true - } - } - }, - "assert": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/assert/-/assert-1.5.0.tgz", - "integrity": "sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==", - "dev": true, - "requires": { - "object-assign": "^4.1.1", - "util": "0.10.3" - }, - "dependencies": { - "inherits": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", - "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", - "dev": true - }, - "util": { - "version": "0.10.3", - "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", - "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", - "dev": true, - "requires": { - "inherits": "2.0.1" - } - } - } - }, - "assign-symbols": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", - "integrity": "sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw==", - "dev": true - }, - "ast-types": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.14.2.tgz", - "integrity": "sha512-O0yuUDnZeQDL+ncNGlJ78BiO4jnYI3bvMsD5prT0/nsgijG/LpNBIr63gTjVTNsiGkgQhiyCShTgxt8oXOrklA==", - "dev": true, - "requires": { - "tslib": "^2.0.1" - } - }, - "async-each": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz", - "integrity": "sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==", - "dev": true, - "optional": true - }, - "asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", - "dev": true - }, - "at-least-node": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", - "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", - "dev": true - }, - "atob": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", - "dev": true - }, - "autoprefixer": { - "version": "9.8.8", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.8.8.tgz", - "integrity": "sha512-eM9d/swFopRt5gdJ7jrpCwgvEMIayITpojhkkSMRsFHYuH5bkSQ4p/9qTEHtmNudUZh22Tehu7I6CxAW0IXTKA==", - "dev": true, - "requires": { - "browserslist": "^4.12.0", - "caniuse-lite": "^1.0.30001109", - "normalize-range": "^0.1.2", - "num2fraction": "^1.2.2", - "picocolors": "^0.2.1", - "postcss": "^7.0.32", - "postcss-value-parser": "^4.1.0" - } - }, - "babel-loader": { - "version": "8.2.5", - "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.2.5.tgz", - "integrity": "sha512-OSiFfH89LrEMiWd4pLNqGz4CwJDtbs2ZVc+iGu2HrkRfPxId9F2anQj38IxWpmRfsUY0aBZYi1EFcd3mhtRMLQ==", - "dev": true, - "requires": { - "find-cache-dir": "^3.3.1", - "loader-utils": "^2.0.0", - "make-dir": "^3.1.0", - "schema-utils": "^2.6.5" - }, - "dependencies": { - "schema-utils": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.1.tgz", - "integrity": "sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==", - "dev": true, - "requires": { - "@types/json-schema": "^7.0.5", - "ajv": "^6.12.4", - "ajv-keywords": "^3.5.2" - } - } - } - }, - "babel-plugin-add-react-displayname": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/babel-plugin-add-react-displayname/-/babel-plugin-add-react-displayname-0.0.5.tgz", - "integrity": "sha1-M51M3be2X9YtHfnbn+BN4TQSK9U=", - "dev": true - }, - "babel-plugin-apply-mdx-type-prop": { - "version": "1.6.22", - "resolved": "https://registry.npmjs.org/babel-plugin-apply-mdx-type-prop/-/babel-plugin-apply-mdx-type-prop-1.6.22.tgz", - "integrity": "sha512-VefL+8o+F/DfK24lPZMtJctrCVOfgbqLAGZSkxwhazQv4VxPg3Za/i40fu22KR2m8eEda+IfSOlPLUSIiLcnCQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "7.10.4", - "@mdx-js/util": "1.6.22" - }, - "dependencies": { - "@babel/helper-plugin-utils": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.4.tgz", - "integrity": "sha512-O4KCvQA6lLiMU9l2eawBPMf1xPP8xPfB3iEQw150hOVTqj/rfXz0ThTb4HEzqQfs2Bmo5Ay8BzxfzVtBrr9dVg==", - "dev": true - } - } - }, - "babel-plugin-dynamic-import-node": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz", - "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==", - "dev": true, - "requires": { - "object.assign": "^4.1.0" - } - }, - "babel-plugin-extract-import-names": { - "version": "1.6.22", - "resolved": "https://registry.npmjs.org/babel-plugin-extract-import-names/-/babel-plugin-extract-import-names-1.6.22.tgz", - "integrity": "sha512-yJ9BsJaISua7d8zNT7oRG1ZLBJCIdZ4PZqmH8qa9N5AK01ifk3fnkc98AXhtzE7UkfCsEumvoQWgoYLhOnJ7jQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "7.10.4" - }, - "dependencies": { - "@babel/helper-plugin-utils": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.4.tgz", - "integrity": "sha512-O4KCvQA6lLiMU9l2eawBPMf1xPP8xPfB3iEQw150hOVTqj/rfXz0ThTb4HEzqQfs2Bmo5Ay8BzxfzVtBrr9dVg==", - "dev": true - } - } - }, - "babel-plugin-macros": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-2.8.0.tgz", - "integrity": "sha512-SEP5kJpfGYqYKpBrj5XU3ahw5p5GOHJ0U5ssOSQ/WBVdwkD2Dzlce95exQTs3jOVWPPKLBN2rlEWkCK7dSmLvg==", - "requires": { - "@babel/runtime": "^7.7.2", - "cosmiconfig": "^6.0.0", - "resolve": "^1.12.0" - } - }, - "babel-plugin-named-exports-order": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/babel-plugin-named-exports-order/-/babel-plugin-named-exports-order-0.0.2.tgz", - "integrity": "sha512-OgOYHOLoRK+/mvXU9imKHlG6GkPLYrUCvFXG/CM93R/aNNO8pOOF4aS+S8CCHMDQoNSeiOYEZb/G6RwL95Jktw==", - "dev": true - }, - "babel-plugin-polyfill-corejs2": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.1.tgz", - "integrity": "sha512-v7/T6EQcNfVLfcN2X8Lulb7DjprieyLWJK/zOWH5DUYcAgex9sP3h25Q+DLsX9TloXe3y1O8l2q2Jv9q8UVB9w==", - "dev": true, - "requires": { - "@babel/compat-data": "^7.13.11", - "@babel/helper-define-polyfill-provider": "^0.3.1", - "semver": "^6.1.1" - } - }, - "babel-plugin-polyfill-corejs3": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.1.7.tgz", - "integrity": "sha512-u+gbS9bbPhZWEeyy1oR/YaaSpod/KDT07arZHb80aTpl8H5ZBq+uN1nN9/xtX7jQyfLdPfoqI4Rue/MQSWJquw==", - "dev": true, - "requires": { - "@babel/helper-define-polyfill-provider": "^0.1.5", - "core-js-compat": "^3.8.1" - }, - "dependencies": { - "@babel/helper-define-polyfill-provider": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.1.5.tgz", - "integrity": "sha512-nXuzCSwlJ/WKr8qxzW816gwyT6VZgiJG17zR40fou70yfAcqjoNyTLl/DQ+FExw5Hx5KNqshmN8Ldl/r2N7cTg==", - "dev": true, - "requires": { - "@babel/helper-compilation-targets": "^7.13.0", - "@babel/helper-module-imports": "^7.12.13", - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/traverse": "^7.13.0", - "debug": "^4.1.1", - "lodash.debounce": "^4.0.8", - "resolve": "^1.14.2", - "semver": "^6.1.2" - } - }, - "debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - } - } - }, - "babel-plugin-polyfill-regenerator": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.3.1.tgz", - "integrity": "sha512-Y2B06tvgHYt1x0yz17jGkGeeMr5FeKUu+ASJ+N6nB5lQ8Dapfg42i0OVrf8PNGJ3zKL4A23snMi1IRwrqqND7A==", - "dev": true, - "requires": { - "@babel/helper-define-polyfill-provider": "^0.3.1" - } - }, - "babel-plugin-react-docgen": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/babel-plugin-react-docgen/-/babel-plugin-react-docgen-4.2.1.tgz", - "integrity": "sha512-UQ0NmGHj/HAqi5Bew8WvNfCk8wSsmdgNd8ZdMjBCICtyCJCq9LiqgqvjCYe570/Wg7AQArSq1VQ60Dd/CHN7mQ==", - "dev": true, - "requires": { - "ast-types": "^0.14.2", - "lodash": "^4.17.15", - "react-docgen": "^5.0.0" - } - }, - "bail": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/bail/-/bail-1.0.5.tgz", - "integrity": "sha512-xFbRxM1tahm08yHBP16MMjVUAvDaBMD38zsM9EMAUN61omwLmKlOpB/Zku5QkjZ8TZ4vn53pj+t518cH0S03RQ==", - "dev": true - }, - "balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true - }, - "base": { - "version": "0.11.2", - "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", - "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", - "dev": true, - "requires": { - "cache-base": "^1.0.1", - "class-utils": "^0.3.5", - "component-emitter": "^1.2.1", - "define-property": "^1.0.0", - "isobject": "^3.0.1", - "mixin-deep": "^1.2.0", - "pascalcase": "^0.1.1" - }, - "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, - "requires": { - "is-descriptor": "^1.0.0" - } - } - } - }, - "base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "dev": true - }, - "batch": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz", - "integrity": "sha1-3DQxT05nkxgJP8dgJyUl+UvyXBY=", - "dev": true - }, - "better-opn": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/better-opn/-/better-opn-2.1.1.tgz", - "integrity": "sha512-kIPXZS5qwyKiX/HcRvDYfmBQUa8XP17I0mYZZ0y4UhpYOSvtsLHDYqmomS+Mj20aDvD3knEiQ0ecQy2nhio3yA==", - "dev": true, - "requires": { - "open": "^7.0.3" - }, - "dependencies": { - "open": { - "version": "7.4.2", - "resolved": "https://registry.npmjs.org/open/-/open-7.4.2.tgz", - "integrity": "sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q==", - "dev": true, - "requires": { - "is-docker": "^2.0.0", - "is-wsl": "^2.1.1" - } - } - } - }, - "big-integer": { - "version": "1.6.51", - "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz", - "integrity": "sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==", - "dev": true, - "optional": true - }, - "big.js": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", - "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", - "dev": true - }, - "binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "dev": true - }, - "bindings": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", - "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", - "dev": true, - "optional": true, - "requires": { - "file-uri-to-path": "1.0.0" - } - }, - "bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", - "dev": true - }, - "bn.js": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", - "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==", - "dev": true - }, - "body-parser": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.0.tgz", - "integrity": "sha512-DfJ+q6EPcGKZD1QWUjSpqp+Q7bDQTsQIF4zfUAtZ6qk+H/3/QRhg9CEp39ss+/T2vw0+HaidC0ecJj/DRLIaKg==", - "dev": true, - "requires": { - "bytes": "3.1.2", - "content-type": "~1.0.4", - "debug": "2.6.9", - "depd": "2.0.0", - "destroy": "1.2.0", - "http-errors": "2.0.0", - "iconv-lite": "0.4.24", - "on-finished": "2.4.1", - "qs": "6.10.3", - "raw-body": "2.5.1", - "type-is": "~1.6.18", - "unpipe": "1.0.0" - }, - "dependencies": { - "depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", - "dev": true - } - } - }, - "bonjour-service": { - "version": "1.0.12", - "resolved": "https://registry.npmjs.org/bonjour-service/-/bonjour-service-1.0.12.tgz", - "integrity": "sha512-pMmguXYCu63Ug37DluMKEHdxc+aaIf/ay4YbF8Gxtba+9d3u+rmEWy61VK3Z3hp8Rskok3BunHYnG0dUHAsblw==", - "dev": true, - "requires": { - "array-flatten": "^2.1.2", - "dns-equal": "^1.0.0", - "fast-deep-equal": "^3.1.3", - "multicast-dns": "^7.2.4" - }, - "dependencies": { - "array-flatten": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-2.1.2.tgz", - "integrity": "sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ==", - "dev": true - } - } - }, - "boolbase": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", - "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", - "dev": true - }, - "boxen": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/boxen/-/boxen-5.1.2.tgz", - "integrity": "sha512-9gYgQKXx+1nP8mP7CzFyaUARhg7D3n1dF/FnErWmu9l6JvGpNUN278h0aSb+QjoiKSWG+iZ3uHrcqk0qrY9RQQ==", - "dev": true, - "requires": { - "ansi-align": "^3.0.0", - "camelcase": "^6.2.0", - "chalk": "^4.1.0", - "cli-boxes": "^2.2.1", - "string-width": "^4.2.2", - "type-fest": "^0.20.2", - "widest-line": "^3.1.0", - "wrap-ansi": "^7.0.0" - }, - "dependencies": { - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", - "dev": true - } - } - }, - "bplist-parser": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.1.1.tgz", - "integrity": "sha512-2AEM0FXy8ZxVLBuqX0hqt1gDwcnz2zygEkQ6zaD5Wko/sB9paUNwlpawrFtKeHUAQUOzjVy9AO4oeonqIHKA9Q==", - "dev": true, - "optional": true, - "requires": { - "big-integer": "^1.6.7" - } - }, - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, - "requires": { - "fill-range": "^7.0.1" - } - }, - "brorand": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", - "integrity": "sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w==", - "dev": true - }, - "browser-assert": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/browser-assert/-/browser-assert-1.2.1.tgz", - "integrity": "sha512-nfulgvOR6S4gt9UKCeGJOuSGBPGiFT6oQ/2UBnvTY/5aQ1PnksW72fhZkM30DzoRRv2WpwZf1vHHEr3mtuXIWQ==", - "dev": true - }, - "browser-process-hrtime": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz", - "integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==", - "dev": true - }, - "browserify-aes": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", - "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", - "dev": true, - "requires": { - "buffer-xor": "^1.0.3", - "cipher-base": "^1.0.0", - "create-hash": "^1.1.0", - "evp_bytestokey": "^1.0.3", - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, - "browserify-cipher": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", - "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", - "dev": true, - "requires": { - "browserify-aes": "^1.0.4", - "browserify-des": "^1.0.0", - "evp_bytestokey": "^1.0.0" - } - }, - "browserify-des": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", - "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", - "dev": true, - "requires": { - "cipher-base": "^1.0.1", - "des.js": "^1.0.0", - "inherits": "^2.0.1", - "safe-buffer": "^5.1.2" - } - }, - "browserify-rsa": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz", - "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==", - "dev": true, - "requires": { - "bn.js": "^5.0.0", - "randombytes": "^2.0.1" - } - }, - "browserify-sign": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", - "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==", - "dev": true, - "requires": { - "bn.js": "^5.1.1", - "browserify-rsa": "^4.0.1", - "create-hash": "^1.2.0", - "create-hmac": "^1.1.7", - "elliptic": "^6.5.3", - "inherits": "^2.0.4", - "parse-asn1": "^5.1.5", - "readable-stream": "^3.6.0", - "safe-buffer": "^5.2.0" - }, - "dependencies": { - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dev": true, - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - } - } - }, - "browserify-zlib": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", - "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", - "dev": true, - "requires": { - "pako": "~1.0.5" - } - }, - "browserslist": { - "version": "4.20.3", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.20.3.tgz", - "integrity": "sha512-NBhymBQl1zM0Y5dQT/O+xiLP9/rzOIQdKM/eMJBAq7yBgaB6krIYLGejrwVYnSHZdqjscB1SPuAjHwxjvN6Wdg==", - "requires": { - "caniuse-lite": "^1.0.30001332", - "electron-to-chromium": "^1.4.118", - "escalade": "^3.1.1", - "node-releases": "^2.0.3", - "picocolors": "^1.0.0" - }, - "dependencies": { - "picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" - } - } - }, - "buffer": { - "version": "4.9.2", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", - "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", - "dev": true, - "requires": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4", - "isarray": "^1.0.0" - } - }, - "buffer-from": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", - "dev": true - }, - "buffer-xor": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", - "integrity": "sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ==", - "dev": true - }, - "builtin-status-codes": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", - "integrity": "sha512-HpGFw18DgFWlncDfjTa2rcQ4W88O1mC8e8yZ2AvQY5KDaktSTwo+KRf6nHK6FRI5FyRyb/5T6+TSxfP7QyGsmQ==", - "dev": true - }, - "bytes": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", - "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", - "dev": true - }, - "c8": { - "version": "7.7.2", - "resolved": "https://registry.npmjs.org/c8/-/c8-7.7.2.tgz", - "integrity": "sha512-8AqNnUMxB3hsgYCYso2GJjlwnaNPlrEEbYbCQb7N76V1nrOgCKXiTcE3gXU18rIj0FeduPywROrIBMC7XAKApg==", - "dev": true, - "requires": { - "@bcoe/v8-coverage": "^0.2.3", - "@istanbuljs/schema": "^0.1.2", - "find-up": "^5.0.0", - "foreground-child": "^2.0.0", - "istanbul-lib-coverage": "^3.0.0", - "istanbul-lib-report": "^3.0.0", - "istanbul-reports": "^3.0.2", - "rimraf": "^3.0.0", - "test-exclude": "^6.0.0", - "v8-to-istanbul": "^7.1.0", - "yargs": "^16.2.0", - "yargs-parser": "^20.2.7" - }, - "dependencies": { - "cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "dev": true, - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, - "y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "dev": true - }, - "yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", - "dev": true, - "requires": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - } - } - } - }, - "cacache": { - "version": "15.3.0", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-15.3.0.tgz", - "integrity": "sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ==", - "dev": true, - "requires": { - "@npmcli/fs": "^1.0.0", - "@npmcli/move-file": "^1.0.1", - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "glob": "^7.1.4", - "infer-owner": "^1.0.4", - "lru-cache": "^6.0.0", - "minipass": "^3.1.1", - "minipass-collect": "^1.0.2", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.2", - "mkdirp": "^1.0.3", - "p-map": "^4.0.0", - "promise-inflight": "^1.0.1", - "rimraf": "^3.0.2", - "ssri": "^8.0.1", - "tar": "^6.0.2", - "unique-filename": "^1.1.1" - }, - "dependencies": { - "chownr": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", - "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", - "dev": true - }, - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "requires": { - "yallist": "^4.0.0" - } - }, - "mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "dev": true - }, - "p-map": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", - "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", - "dev": true, - "requires": { - "aggregate-error": "^3.0.0" - } - }, - "ssri": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", - "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", - "dev": true, - "requires": { - "minipass": "^3.1.1" - } - } - } - }, - "cache-base": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", - "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", - "dev": true, - "requires": { - "collection-visit": "^1.0.0", - "component-emitter": "^1.2.1", - "get-value": "^2.0.6", - "has-value": "^1.0.0", - "isobject": "^3.0.1", - "set-value": "^2.0.0", - "to-object-path": "^0.3.0", - "union-value": "^1.0.0", - "unset-value": "^1.0.0" - } - }, - "call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "dev": true, - "requires": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" - } - }, - "call-me-maybe": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz", - "integrity": "sha512-wCyFsDQkKPwwF8BDwOiWNx/9K45L/hvggQiDbve+viMNMQnWhrlYIuBk09offfwCRtCO9P6XwUttufzU11WCVw==", - "dev": true - }, - "callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==" - }, - "camel-case": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz", - "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==", - "dev": true, - "requires": { - "pascal-case": "^3.1.2", - "tslib": "^2.0.3" - } - }, - "camelcase": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", - "dev": true - }, - "camelcase-css": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz", - "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==", - "dev": true - }, - "camelcase-keys": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", - "integrity": "sha512-bA/Z/DERHKqoEOrp+qeGKw1QlvEQkGZSc0XaY6VnTxZr+Kv1G5zFwttpjv8qxZ/sBPT4nthwZaAcsAZTJlSKXQ==", - "dev": true, - "optional": true, - "requires": { - "camelcase": "^2.0.0", - "map-obj": "^1.0.0" - }, - "dependencies": { - "camelcase": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", - "integrity": "sha512-DLIsRzJVBQu72meAKPkWQOLcujdXT32hwdfnkI1frSiSRMK1MofjKHf+MEx0SB6fjEFXL8fBDv1dKymBlOp4Qw==", - "dev": true, - "optional": true - } - } - }, - "caniuse-lite": { - "version": "1.0.30001342", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001342.tgz", - "integrity": "sha512-bn6sOCu7L7jcbBbyNhLg0qzXdJ/PMbybZTH/BA6Roet9wxYRm6Tr9D0s0uhLkOZ6MSG+QU6txUgdpr3MXIVqjA==" - }, - "case-sensitive-paths-webpack-plugin": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/case-sensitive-paths-webpack-plugin/-/case-sensitive-paths-webpack-plugin-2.4.0.tgz", - "integrity": "sha512-roIFONhcxog0JSSWbvVAh3OocukmSgpqOH6YpMkCvav/ySIV3JKg4Dc8vYtQjYi/UxpNE36r/9v+VqTQqgkYmw==", - "dev": true - }, - "ccount": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/ccount/-/ccount-1.1.0.tgz", - "integrity": "sha512-vlNK021QdI7PNeiUh/lKkC/mNHHfV0m/Ad5JoI0TYtlBnJAslM/JIkm/tGC88bkLIwO6OQ5uV6ztS6kVAtCDlg==", - "dev": true - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "character-entities": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-1.2.4.tgz", - "integrity": "sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==" - }, - "character-entities-legacy": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-1.1.4.tgz", - "integrity": "sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==" - }, - "character-reference-invalid": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz", - "integrity": "sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==" - }, - "charcodes": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/charcodes/-/charcodes-0.2.0.tgz", - "integrity": "sha512-Y4kiDb+AM4Ecy58YkuZrrSRJBDQdQ2L+NyS1vHHFtNtUjgutcZfx3yp1dAONI/oPaPmyGfCLx5CxL+zauIMyKQ==", - "dev": true - }, - "chokidar": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", - "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", - "dev": true, - "requires": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "fsevents": "~2.3.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - } - }, - "chokidar2": { - "version": "file:node_modules/@storybook/builder-webpack4/node_modules/watchpack/chokidar2" - }, - "chownr": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", - "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", - "dev": true - }, - "chrome-trace-event": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", - "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==", - "dev": true - }, - "cipher-base": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", - "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", - "dev": true, - "requires": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, - "class-utils": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", - "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", - "dev": true, - "requires": { - "arr-union": "^3.1.0", - "define-property": "^0.2.5", - "isobject": "^3.0.0", - "static-extend": "^0.1.1" - }, - "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - } - }, - "kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true - } - } - }, - "clean-css": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.0.tgz", - "integrity": "sha512-YYuuxv4H/iNb1Z/5IbMRoxgrzjWGhOEFfd+groZ5dMCVkpENiMZmwspdrzBo9286JjM1gZJPAyL7ZIdzuvu2AQ==", - "dev": true, - "requires": { - "source-map": "~0.6.0" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - } - } - }, - "clean-stack": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", - "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", - "dev": true - }, - "clean-webpack-plugin": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/clean-webpack-plugin/-/clean-webpack-plugin-4.0.0.tgz", - "integrity": "sha512-WuWE1nyTNAyW5T7oNyys2EN0cfP2fdRxhxnIQWiAp0bMabPdHhoGxM8A6YL2GhqwgrPnnaemVE7nv5XJ2Fhh2w==", - "dev": true, - "requires": { - "del": "^4.1.1" - } - }, - "cli-boxes": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.1.tgz", - "integrity": "sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==", - "dev": true - }, - "cli-table3": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.2.tgz", - "integrity": "sha512-QyavHCaIC80cMivimWu4aWHilIpiDpfm3hGmqAmXVL1UsnbLuBSMd21hTX6VY4ZSDSM73ESLeF8TOYId3rBTbw==", - "dev": true, - "requires": { - "@colors/colors": "1.5.0", - "string-width": "^4.2.0" - } - }, - "clone-deep": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", - "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", - "dev": true, - "requires": { - "is-plain-object": "^2.0.4", - "kind-of": "^6.0.2", - "shallow-clone": "^3.0.0" - } - }, - "collapse-white-space": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-1.0.6.tgz", - "integrity": "sha512-jEovNnrhMuqyCcjfEJA56v0Xq8SkIoPKDyaHahwo3POf4qcSXqMYuwNcOTzp74vTsR9Tn08z4MxWqAhcekogkQ==", - "dev": true - }, - "collection-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", - "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", - "dev": true, - "requires": { - "map-visit": "^1.0.0", - "object-visit": "^1.0.0" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "color-support": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", - "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", - "dev": true - }, - "colorette": { - "version": "2.0.16", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.16.tgz", - "integrity": "sha512-hUewv7oMjCp+wkBv5Rm0v87eJhq4woh5rSR+42YSQJKecCqgIqNkZ6lAlQms/BwHPJA5NKMRlpxPRv0n8HQW6g==", - "dev": true - }, - "combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "dev": true, - "requires": { - "delayed-stream": "~1.0.0" - } - }, - "comma-separated-tokens": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-1.0.8.tgz", - "integrity": "sha512-GHuDRO12Sypu2cV70d1dkA2EUmXHgntrzbpvOB+Qy+49ypNfGgFQIC2fhhXbnyrJRynDCAARsT7Ou0M6hirpfw==" - }, - "commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - }, - "common-path-prefix": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/common-path-prefix/-/common-path-prefix-3.0.0.tgz", - "integrity": "sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w==", - "dev": true - }, - "commondir": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", - "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", - "dev": true - }, - "component-emitter": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", - "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==", - "dev": true - }, - "compressible": { - "version": "2.0.18", - "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz", - "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==", - "dev": true, - "requires": { - "mime-db": ">= 1.43.0 < 2" - } - }, - "compression": { - "version": "1.7.4", - "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.4.tgz", - "integrity": "sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ==", - "dev": true, - "requires": { - "accepts": "~1.3.5", - "bytes": "3.0.0", - "compressible": "~2.0.16", - "debug": "2.6.9", - "on-headers": "~1.0.2", - "safe-buffer": "5.1.2", - "vary": "~1.1.2" - }, - "dependencies": { - "bytes": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", - "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=", - "dev": true - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true - } - } - }, - "compression-webpack-plugin": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/compression-webpack-plugin/-/compression-webpack-plugin-10.0.0.tgz", - "integrity": "sha512-wLXLIBwpul/ALcm7Aj+69X0pYT3BYt6DdPn3qrgBIh9YejV9Bju9ShhlAsjujLyWMo6SAweFIWaUoFmXZNuNrg==", - "dev": true, - "requires": { - "schema-utils": "^4.0.0", - "serialize-javascript": "^6.0.0" - }, - "dependencies": { - "ajv": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", - "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", - "dev": true, - "requires": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - } - }, - "ajv-keywords": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", - "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", - "dev": true, - "requires": { - "fast-deep-equal": "^3.1.3" - } - }, - "json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true - }, - "schema-utils": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.0.0.tgz", - "integrity": "sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg==", - "dev": true, - "requires": { - "@types/json-schema": "^7.0.9", - "ajv": "^8.8.0", - "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.0.0" - } - } - } - }, - "compute-scroll-into-view": { - "version": "1.0.17", - "resolved": "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.17.tgz", - "integrity": "sha512-j4dx+Fb0URmzbwwMUrhqWM2BEWHdFGx+qZ9qqASHRPqvTYdqvWnHg0H1hIbcyLnvgnoNAVMlwkepyqM3DaIFUg==" - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true - }, - "concat-stream": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", - "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", - "dev": true, - "requires": { - "buffer-from": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^2.2.2", - "typedarray": "^0.0.6" - } - }, - "connect-history-api-fallback": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz", - "integrity": "sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg==", - "dev": true - }, - "console-browserify": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz", - "integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==", - "dev": true - }, - "console-control-strings": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", - "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", - "dev": true - }, - "constants-browserify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", - "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=", - "dev": true - }, - "content-disposition": { - "version": "0.5.4", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", - "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", - "dev": true, - "requires": { - "safe-buffer": "5.2.1" - } - }, - "content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", - "dev": true - }, - "convert-source-map": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", - "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==", - "requires": { - "safe-buffer": "~5.1.1" - }, - "dependencies": { - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - } - } - }, - "cookie": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", - "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", - "dev": true - }, - "cookie-signature": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=", - "dev": true - }, - "copy-concurrently": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/copy-concurrently/-/copy-concurrently-1.0.5.tgz", - "integrity": "sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A==", - "dev": true, - "requires": { - "aproba": "^1.1.1", - "fs-write-stream-atomic": "^1.0.8", - "iferr": "^0.1.5", - "mkdirp": "^0.5.1", - "rimraf": "^2.5.4", - "run-queue": "^1.0.0" - }, - "dependencies": { - "rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - } - } - }, - "copy-descriptor": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", - "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", - "dev": true - }, - "core-js": { - "version": "3.12.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.12.1.tgz", - "integrity": "sha512-Ne9DKPHTObRuB09Dru5AjwKjY4cJHVGu+y5f7coGn1E9Grkc3p2iBwE9AI/nJzsE29mQF7oq+mhYYRqOMFN1Bw==", - "dev": true - }, - "core-js-compat": { - "version": "3.22.5", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.22.5.tgz", - "integrity": "sha512-rEF75n3QtInrYICvJjrAgV03HwKiYvtKHdPtaba1KucG+cNZ4NJnH9isqt979e67KZlhpbCOTwnsvnIr+CVeOg==", - "dev": true, - "requires": { - "browserslist": "^4.20.3", - "semver": "7.0.0" - }, - "dependencies": { - "semver": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", - "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==", - "dev": true - } - } - }, - "core-js-pure": { - "version": "3.12.1", - "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.12.1.tgz", - "integrity": "sha512-1cch+qads4JnDSWsvc7d6nzlKAippwjUlf6vykkTLW53VSV+NkE6muGBToAjEA8pG90cSfcud3JgVmW2ds5TaQ==", - "dev": true - }, - "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", - "dev": true - }, - "cosmiconfig": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-6.0.0.tgz", - "integrity": "sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg==", - "requires": { - "@types/parse-json": "^4.0.0", - "import-fresh": "^3.1.0", - "parse-json": "^5.0.0", - "path-type": "^4.0.0", - "yaml": "^1.7.2" - } - }, - "cp-file": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/cp-file/-/cp-file-7.0.0.tgz", - "integrity": "sha512-0Cbj7gyvFVApzpK/uhCtQ/9kE9UnYpxMzaq5nQQC/Dh4iaj5fxp7iEFIullrYwzj8nf0qnsI1Qsx34hAeAebvw==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2", - "make-dir": "^3.0.0", - "nested-error-stacks": "^2.0.0", - "p-event": "^4.1.0" - } - }, - "cpy": { - "version": "8.1.2", - "resolved": "https://registry.npmjs.org/cpy/-/cpy-8.1.2.tgz", - "integrity": "sha512-dmC4mUesv0OYH2kNFEidtf/skUwv4zePmGeepjyyJ0qTo5+8KhA1o99oIAwVVLzQMAeDJml74d6wPPKb6EZUTg==", - "dev": true, - "requires": { - "arrify": "^2.0.1", - "cp-file": "^7.0.0", - "globby": "^9.2.0", - "has-glob": "^1.0.0", - "junk": "^3.1.0", - "nested-error-stacks": "^2.1.0", - "p-all": "^2.1.0", - "p-filter": "^2.1.0", - "p-map": "^3.0.0" - }, - "dependencies": { - "@nodelib/fs.stat": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz", - "integrity": "sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==", - "dev": true - }, - "braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "dev": true, - "requires": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "dir-glob": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-2.2.2.tgz", - "integrity": "sha512-f9LBi5QWzIW3I6e//uxZoLBlUt9kcp66qo0sSCxL6YZKc75R1c4MFCoe/LaZiBGmgujvQdxc5Bn3QhfyvK5Hsw==", - "dev": true, - "requires": { - "path-type": "^3.0.0" - } - }, - "fast-glob": { - "version": "2.2.7", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-2.2.7.tgz", - "integrity": "sha512-g1KuQwHOZAmOZMuBtHdxDtju+T2RT8jgCC9aANsbpdiDDTSnjgfuVsIBNKbUeJI3oKMRExcfNDtJl4OhbffMsw==", - "dev": true, - "requires": { - "@mrmlnc/readdir-enhanced": "^2.2.1", - "@nodelib/fs.stat": "^1.1.2", - "glob-parent": "^3.1.0", - "is-glob": "^4.0.0", - "merge2": "^1.2.3", - "micromatch": "^3.1.10" - } - }, - "fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", - "dev": true, - "requires": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "glob-parent": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", - "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", - "dev": true, - "requires": { - "is-glob": "^3.1.0", - "path-dirname": "^1.0.0" - }, - "dependencies": { - "is-glob": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", - "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", - "dev": true, - "requires": { - "is-extglob": "^2.1.0" - } - } - } - }, - "globby": { - "version": "9.2.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-9.2.0.tgz", - "integrity": "sha512-ollPHROa5mcxDEkwg6bPt3QbEf4pDQSNtd6JPL1YvOvAo/7/0VAm9TccUeoTmarjPw4pfUthSCqcyfNB1I3ZSg==", - "dev": true, - "requires": { - "@types/glob": "^7.1.1", - "array-union": "^1.0.2", - "dir-glob": "^2.2.2", - "fast-glob": "^2.2.6", - "glob": "^7.1.3", - "ignore": "^4.0.3", - "pify": "^4.0.1", - "slash": "^2.0.0" - } - }, - "ignore": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", - "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", - "dev": true - }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true - }, - "is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", - "dev": true, - "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - } - }, - "p-map": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-3.0.0.tgz", - "integrity": "sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==", - "dev": true, - "requires": { - "aggregate-error": "^3.0.0" - } - }, - "path-type": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", - "dev": true, - "requires": { - "pify": "^3.0.0" - }, - "dependencies": { - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true - } - } - }, - "slash": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", - "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", - "dev": true - }, - "to-regex-range": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", - "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", - "dev": true, - "requires": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" - } - } - } - }, - "create-ecdh": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", - "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==", - "dev": true, - "requires": { - "bn.js": "^4.1.0", - "elliptic": "^6.5.3" - }, - "dependencies": { - "bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "dev": true - } - } - }, - "create-hash": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", - "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", - "dev": true, - "requires": { - "cipher-base": "^1.0.1", - "inherits": "^2.0.1", - "md5.js": "^1.3.4", - "ripemd160": "^2.0.1", - "sha.js": "^2.4.0" - } - }, - "create-hmac": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", - "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", - "dev": true, - "requires": { - "cipher-base": "^1.0.3", - "create-hash": "^1.1.0", - "inherits": "^2.0.1", - "ripemd160": "^2.0.0", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" - } - }, - "cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "dev": true, - "requires": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "dependencies": { - "which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "requires": { - "isexe": "^2.0.0" - } - } - } - }, - "crypto-browserify": { - "version": "3.12.0", - "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", - "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", - "dev": true, - "requires": { - "browserify-cipher": "^1.0.0", - "browserify-sign": "^4.0.0", - "create-ecdh": "^4.0.0", - "create-hash": "^1.1.0", - "create-hmac": "^1.1.0", - "diffie-hellman": "^5.0.0", - "inherits": "^2.0.1", - "pbkdf2": "^3.0.3", - "public-encrypt": "^4.0.0", - "randombytes": "^2.0.0", - "randomfill": "^1.0.3" - } - }, - "css-loader": { - "version": "5.2.7", - "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-5.2.7.tgz", - "integrity": "sha512-Q7mOvpBNBG7YrVGMxRxcBJZFL75o+cH2abNASdibkj/fffYD8qWbInZrD0S9ccI6vZclF3DsHE7njGlLtaHbhg==", - "dev": true, - "requires": { - "icss-utils": "^5.1.0", - "loader-utils": "^2.0.0", - "postcss": "^8.2.15", - "postcss-modules-extract-imports": "^3.0.0", - "postcss-modules-local-by-default": "^4.0.0", - "postcss-modules-scope": "^3.0.0", - "postcss-modules-values": "^4.0.0", - "postcss-value-parser": "^4.1.0", - "schema-utils": "^3.0.0", - "semver": "^7.3.5" - }, - "dependencies": { - "icss-utils": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-5.1.0.tgz", - "integrity": "sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==", - "dev": true, - "requires": {} - }, - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "requires": { - "yallist": "^4.0.0" - } - }, - "picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", - "dev": true - }, - "postcss": { - "version": "8.4.14", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz", - "integrity": "sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==", - "dev": true, - "requires": { - "nanoid": "^3.3.4", - "picocolors": "^1.0.0", - "source-map-js": "^1.0.2" - } - }, - "postcss-modules-extract-imports": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz", - "integrity": "sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw==", - "dev": true, - "requires": {} - }, - "postcss-modules-local-by-default": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.0.tgz", - "integrity": "sha512-sT7ihtmGSF9yhm6ggikHdV0hlziDTX7oFoXtuVWeDd3hHObNkcHRo9V3yg7vCAY7cONyxJC/XXCmmiHHcvX7bQ==", - "dev": true, - "requires": { - "icss-utils": "^5.0.0", - "postcss-selector-parser": "^6.0.2", - "postcss-value-parser": "^4.1.0" - } - }, - "postcss-modules-scope": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-3.0.0.tgz", - "integrity": "sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg==", - "dev": true, - "requires": { - "postcss-selector-parser": "^6.0.4" - } - }, - "postcss-modules-values": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz", - "integrity": "sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==", - "dev": true, - "requires": { - "icss-utils": "^5.0.0" - } - }, - "semver": { - "version": "7.3.7", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - } - } - }, - "css-select": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/css-select/-/css-select-4.3.0.tgz", - "integrity": "sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==", - "dev": true, - "requires": { - "boolbase": "^1.0.0", - "css-what": "^6.0.1", - "domhandler": "^4.3.1", - "domutils": "^2.8.0", - "nth-check": "^2.0.1" - } - }, - "css-what": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz", - "integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==", - "dev": true - }, - "cssesc": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", - "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", - "dev": true - }, - "cssom": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.5.0.tgz", - "integrity": "sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw==", - "dev": true - }, - "cssstyle": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-2.3.0.tgz", - "integrity": "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==", - "dev": true, - "requires": { - "cssom": "~0.3.6" - }, - "dependencies": { - "cssom": { - "version": "0.3.8", - "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz", - "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==", - "dev": true - } - } - }, - "csstype": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.0.tgz", - "integrity": "sha512-uX1KG+x9h5hIJsaKR9xHUeUraxf8IODOwq9JLNPq6BwB04a/xgpq3rcx47l5BZu5zBPlgD342tdke3Hom/nJRA==" - }, - "currently-unhandled": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", - "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=", - "dev": true, - "optional": true, - "requires": { - "array-find-index": "^1.0.1" - } - }, - "cyclist": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/cyclist/-/cyclist-1.0.1.tgz", - "integrity": "sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk=", - "dev": true - }, - "data-urls": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-3.0.2.tgz", - "integrity": "sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ==", - "dev": true, - "requires": { - "abab": "^2.0.6", - "whatwg-mimetype": "^3.0.0", - "whatwg-url": "^11.0.0" - }, - "dependencies": { - "whatwg-url": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-11.0.0.tgz", - "integrity": "sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==", - "dev": true, - "requires": { - "tr46": "^3.0.0", - "webidl-conversions": "^7.0.0" - } - } - } - }, - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - }, - "dependencies": { - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - } - } - }, - "decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", - "dev": true, - "optional": true - }, - "decimal.js": { - "version": "10.3.1", - "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.3.1.tgz", - "integrity": "sha512-V0pfhfr8suzyPGOx3nmq4aHqabehUZn6Ch9kyFpV79TGDTWFmHqUqXdabR7QHqxzrYolF4+tVmJhUG4OURg5dQ==", - "dev": true - }, - "decode-uri-component": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", - "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", - "dev": true - }, - "dedent": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", - "integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=", - "dev": true - }, - "deep-is": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", - "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", - "dev": true - }, - "deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", - "dev": true - }, - "default-browser-id": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-1.0.4.tgz", - "integrity": "sha1-5Z0JpdFXuCi4dsJoFuYcPSosIDo=", - "dev": true, - "optional": true, - "requires": { - "bplist-parser": "^0.1.0", - "meow": "^3.1.0", - "untildify": "^2.0.0" - } - }, - "default-gateway": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/default-gateway/-/default-gateway-6.0.3.tgz", - "integrity": "sha512-fwSOJsbbNzZ/CUFpqFBqYfYNLj1NbMPm8MMCIzHjC83iSJRBEGmDUxU+WP661BaBQImeC2yHwXtz+P/O9o+XEg==", - "dev": true, - "requires": { - "execa": "^5.0.0" - } - }, - "define-lazy-prop": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", - "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", - "dev": true - }, - "define-properties": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz", - "integrity": "sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==", - "dev": true, - "requires": { - "has-property-descriptors": "^1.0.0", - "object-keys": "^1.1.1" - } - }, - "define-property": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", - "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", - "dev": true, - "requires": { - "is-descriptor": "^1.0.2", - "isobject": "^3.0.1" - } - }, - "del": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/del/-/del-4.1.1.tgz", - "integrity": "sha512-QwGuEUouP2kVwQenAsOof5Fv8K9t3D8Ca8NxcXKrIpEHjTXK5J2nXLdP+ALI1cgv8wj7KuwBhTwBkOZSJKM5XQ==", - "dev": true, - "requires": { - "@types/glob": "^7.1.1", - "globby": "^6.1.0", - "is-path-cwd": "^2.0.0", - "is-path-in-cwd": "^2.0.0", - "p-map": "^2.0.0", - "pify": "^4.0.1", - "rimraf": "^2.6.3" - }, - "dependencies": { - "globby": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", - "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", - "dev": true, - "requires": { - "array-union": "^1.0.1", - "glob": "^7.0.3", - "object-assign": "^4.0.1", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" - }, - "dependencies": { - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", - "dev": true - } - } - }, - "rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - } - } - }, - "delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", - "dev": true - }, - "delegates": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", - "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", - "dev": true - }, - "depd": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", - "dev": true - }, - "des.js": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz", - "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==", - "dev": true, - "requires": { - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0" - } - }, - "destroy": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", - "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", - "dev": true - }, - "detab": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/detab/-/detab-2.0.4.tgz", - "integrity": "sha512-8zdsQA5bIkoRECvCrNKPla84lyoR7DSAyf7p0YgXzBO9PDJx8KntPUay7NS6yp+KdxdVtiE5SpHKtbp2ZQyA9g==", - "dev": true, - "requires": { - "repeat-string": "^1.5.4" - } - }, - "detect-node": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.1.0.tgz", - "integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==", - "dev": true - }, - "detect-package-manager": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/detect-package-manager/-/detect-package-manager-2.0.1.tgz", - "integrity": "sha512-j/lJHyoLlWi6G1LDdLgvUtz60Zo5GEj+sVYtTVXnYLDPuzgC3llMxonXym9zIwhhUII8vjdw0LXxavpLqTbl1A==", - "dev": true, - "requires": { - "execa": "^5.1.1" - } - }, - "detect-port": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/detect-port/-/detect-port-1.3.0.tgz", - "integrity": "sha512-E+B1gzkl2gqxt1IhUzwjrxBKRqx1UzC3WLONHinn8S3T6lwV/agVCyitiFOsGJ/eYuEUBvD71MZHy3Pv1G9doQ==", - "dev": true, - "requires": { - "address": "^1.0.1", - "debug": "^2.6.0" - } - }, - "diffie-hellman": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", - "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", - "dev": true, - "requires": { - "bn.js": "^4.1.0", - "miller-rabin": "^4.0.0", - "randombytes": "^2.0.0" - }, - "dependencies": { - "bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "dev": true - } - } - }, - "dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", - "dev": true, - "requires": { - "path-type": "^4.0.0" - } - }, - "dns-equal": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/dns-equal/-/dns-equal-1.0.0.tgz", - "integrity": "sha1-s55/HabrCnW6nBcySzR1PEfgZU0=", - "dev": true - }, - "dns-packet": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-5.3.1.tgz", - "integrity": "sha512-spBwIj0TK0Ey3666GwIdWVfUpLyubpU53BTCu8iPn4r4oXd9O14Hjg3EHw3ts2oed77/SeckunUYCyRlSngqHw==", - "dev": true, - "requires": { - "@leichtgewicht/ip-codec": "^2.0.1" - } - }, - "doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", - "dev": true, - "requires": { - "esutils": "^2.0.2" - } - }, - "dom-accessibility-api": { - "version": "0.5.14", - "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.14.tgz", - "integrity": "sha512-NMt+m9zFMPZe0JcY9gN224Qvk6qLIdqex29clBvc/y75ZBX9YA9wNK3frsYvu2DI1xcCIwxwnX+TlsJ2DSOADg==", - "dev": true - }, - "dom-converter": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/dom-converter/-/dom-converter-0.2.0.tgz", - "integrity": "sha512-gd3ypIPfOMr9h5jIKq8E3sHOTCjeirnl0WK5ZdS1AW0Odt0b1PaWaHdJ4Qk4klv+YB9aJBS7mESXjFoDQPu6DA==", - "dev": true, - "requires": { - "utila": "~0.4" - } - }, - "dom-serializer": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.4.1.tgz", - "integrity": "sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==", - "dev": true, - "requires": { - "domelementtype": "^2.0.1", - "domhandler": "^4.2.0", - "entities": "^2.0.0" - } - }, - "dom-walk": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.2.tgz", - "integrity": "sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w==", - "dev": true - }, - "domain-browser": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", - "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==", - "dev": true - }, - "domelementtype": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", - "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", - "dev": true - }, - "domexception": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/domexception/-/domexception-4.0.0.tgz", - "integrity": "sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==", - "dev": true, - "requires": { - "webidl-conversions": "^7.0.0" - } - }, - "domhandler": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz", - "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", - "dev": true, - "requires": { - "domelementtype": "^2.2.0" - } - }, - "domutils": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", - "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", - "dev": true, - "requires": { - "dom-serializer": "^1.0.1", - "domelementtype": "^2.2.0", - "domhandler": "^4.2.0" - } - }, - "dot-case": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/dot-case/-/dot-case-3.0.4.tgz", - "integrity": "sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==", - "dev": true, - "requires": { - "no-case": "^3.0.4", - "tslib": "^2.0.3" - } - }, - "dotenv": { - "version": "8.6.0", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8.6.0.tgz", - "integrity": "sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g==", - "dev": true - }, - "dotenv-expand": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-5.1.0.tgz", - "integrity": "sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA==", - "dev": true - }, - "downshift": { - "version": "6.1.7", - "resolved": "https://registry.npmjs.org/downshift/-/downshift-6.1.7.tgz", - "integrity": "sha512-cVprZg/9Lvj/uhYRxELzlu1aezRcgPWBjTvspiGTVEU64gF5pRdSRKFVLcxqsZC637cLAGMbL40JavEfWnqgNg==", - "requires": { - "@babel/runtime": "^7.14.8", - "compute-scroll-into-view": "^1.0.17", - "prop-types": "^15.7.2", - "react-is": "^17.0.2", - "tslib": "^2.3.0" - }, - "dependencies": { - "react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==" - } - } - }, - "duplexify": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz", - "integrity": "sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==", - "dev": true, - "requires": { - "end-of-stream": "^1.0.0", - "inherits": "^2.0.1", - "readable-stream": "^2.0.0", - "stream-shift": "^1.0.0" - } - }, - "ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=", - "dev": true - }, - "electron-to-chromium": { - "version": "1.4.137", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.137.tgz", - "integrity": "sha512-0Rcpald12O11BUogJagX3HsCN3FE83DSqWjgXoHo5a72KUKMSfI39XBgJpgNNxS9fuGzytaFjE06kZkiVFy2qA==" - }, - "elliptic": { - "version": "6.5.4", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", - "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", - "dev": true, - "requires": { - "bn.js": "^4.11.9", - "brorand": "^1.1.0", - "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.1", - "inherits": "^2.0.4", - "minimalistic-assert": "^1.0.1", - "minimalistic-crypto-utils": "^1.0.1" - }, - "dependencies": { - "bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "dev": true - } - } - }, - "emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true - }, - "emojis-list": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz", - "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", - "dev": true - }, - "encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", - "dev": true - }, - "end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dev": true, - "requires": { - "once": "^1.4.0" - } - }, - "endent": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/endent/-/endent-2.1.0.tgz", - "integrity": "sha512-r8VyPX7XL8U01Xgnb1CjZ3XV+z90cXIJ9JPE/R9SEC9vpw2P6CfsRPJmp20DppC5N7ZAMCmjYkJIa744Iyg96w==", - "dev": true, - "requires": { - "dedent": "^0.7.0", - "fast-json-parse": "^1.0.3", - "objectorarray": "^1.0.5" - } - }, - "enhanced-resolve": { - "version": "5.9.3", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.9.3.tgz", - "integrity": "sha512-Bq9VSor+kjvW3f9/MiiR4eE3XYgOl7/rS8lnSxbRbF3kS0B2r+Y9w5krBWxZgDxASVZbdYrn5wT4j/Wb0J9qow==", - "dev": true, - "requires": { - "graceful-fs": "^4.2.4", - "tapable": "^2.2.0" - }, - "dependencies": { - "tapable": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", - "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", - "dev": true - } - } - }, - "entities": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", - "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", - "dev": true - }, - "envinfo": { - "version": "7.8.1", - "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.8.1.tgz", - "integrity": "sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw==", - "dev": true - }, - "errno": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.8.tgz", - "integrity": "sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==", - "dev": true, - "requires": { - "prr": "~1.0.1" - } - }, - "error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "requires": { - "is-arrayish": "^0.2.1" - } - }, - "error-stack-parser": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.0.6.tgz", - "integrity": "sha512-d51brTeqC+BHlwF0BhPtcYgF5nlzf9ZZ0ZIUQNZpc9ZB9qw5IJ2diTrBY9jlCJkTLITYPjmiX6OWCwH+fuyNgQ==", - "dev": true, - "requires": { - "stackframe": "^1.1.1" - } - }, - "es-abstract": { - "version": "1.20.1", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.20.1.tgz", - "integrity": "sha512-WEm2oBhfoI2sImeM4OF2zE2V3BYdSF+KnSi9Sidz51fQHd7+JuF8Xgcj9/0o+OWeIeIS/MiuNnlruQrJf16GQA==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "function.prototype.name": "^1.1.5", - "get-intrinsic": "^1.1.1", - "get-symbol-description": "^1.0.0", - "has": "^1.0.3", - "has-property-descriptors": "^1.0.0", - "has-symbols": "^1.0.3", - "internal-slot": "^1.0.3", - "is-callable": "^1.2.4", - "is-negative-zero": "^2.0.2", - "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.2", - "is-string": "^1.0.7", - "is-weakref": "^1.0.2", - "object-inspect": "^1.12.0", - "object-keys": "^1.1.1", - "object.assign": "^4.1.2", - "regexp.prototype.flags": "^1.4.3", - "string.prototype.trimend": "^1.0.5", - "string.prototype.trimstart": "^1.0.5", - "unbox-primitive": "^1.0.2" - } - }, - "es-array-method-boxes-properly": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-array-method-boxes-properly/-/es-array-method-boxes-properly-1.0.0.tgz", - "integrity": "sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA==", - "dev": true - }, - "es-get-iterator": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/es-get-iterator/-/es-get-iterator-1.1.2.tgz", - "integrity": "sha512-+DTO8GYwbMCwbywjimwZMHp8AuYXOS2JZFWoi2AlPOS3ebnII9w/NLpNZtA7A0YLaVDw+O7KFCeoIV7OPvM7hQ==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.0", - "has-symbols": "^1.0.1", - "is-arguments": "^1.1.0", - "is-map": "^2.0.2", - "is-set": "^2.0.2", - "is-string": "^1.0.5", - "isarray": "^2.0.5" - }, - "dependencies": { - "isarray": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", - "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", - "dev": true - } - } - }, - "es-module-lexer": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz", - "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==", - "dev": true - }, - "es-shim-unscopables": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz", - "integrity": "sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==", - "dev": true, - "requires": { - "has": "^1.0.3" - } - }, - "es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", - "dev": true, - "requires": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - } - }, - "es5-shim": { - "version": "4.6.7", - "resolved": "https://registry.npmjs.org/es5-shim/-/es5-shim-4.6.7.tgz", - "integrity": "sha512-jg21/dmlrNQI7JyyA2w7n+yifSxBng0ZralnSfVZjoCawgNTCnS+yBCyVM9DL5itm7SUnDGgv7hcq2XCZX4iRQ==", - "dev": true - }, - "es6-shim": { - "version": "0.35.6", - "resolved": "https://registry.npmjs.org/es6-shim/-/es6-shim-0.35.6.tgz", - "integrity": "sha512-EmTr31wppcaIAgblChZiuN/l9Y7DPyw8Xtbg7fIVngn6zMW+IEBJDJngeKC3x6wr0V/vcA2wqeFnaw1bFJbDdA==", - "dev": true - }, - "escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" - }, - "escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=", - "dev": true - }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" - }, - "escodegen": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.0.0.tgz", - "integrity": "sha512-mmHKys/C8BFUGI+MAWNcSYoORYLMdPzjrknd2Vc+bUsjN5bXcr8EhrNB+UTqfL1y3I9c4fw2ihgtMPQLBRiQxw==", - "dev": true, - "requires": { - "esprima": "^4.0.1", - "estraverse": "^5.2.0", - "esutils": "^2.0.2", - "optionator": "^0.8.1", - "source-map": "~0.6.1" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "optional": true - } - } - }, - "eslint-scope": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", - "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", - "dev": true, - "requires": { - "esrecurse": "^4.3.0", - "estraverse": "^4.1.1" - }, - "dependencies": { - "estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true - } - } - }, - "esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "dev": true - }, - "esrecurse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", - "dev": true, - "requires": { - "estraverse": "^5.2.0" - } - }, - "estraverse": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", - "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", - "dev": true - }, - "estree-to-babel": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/estree-to-babel/-/estree-to-babel-3.2.1.tgz", - "integrity": "sha512-YNF+mZ/Wu2FU/gvmzuWtYc8rloubL7wfXCTgouFrnjGVXPA/EeYYA7pupXWrb3Iv1cTBeSSxxJIbK23l4MRNqg==", - "dev": true, - "requires": { - "@babel/traverse": "^7.1.6", - "@babel/types": "^7.2.0", - "c8": "^7.6.0" - } - }, - "esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "dev": true - }, - "etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", - "dev": true - }, - "eventemitter3": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", - "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", - "dev": true - }, - "events": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", - "dev": true - }, - "eventsource": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-1.1.0.tgz", - "integrity": "sha512-VSJjT5oCNrFvCS6igjzPAt5hBzQ2qPBFIbJ03zLI9SE0mxwZpMw6BfJrbFHm1a141AavMEB8JHmBhWAd66PfCg==", - "dev": true, - "optional": true, - "peer": true, - "requires": { - "original": "^1.0.0" - } - }, - "evp_bytestokey": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", - "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", - "dev": true, - "requires": { - "md5.js": "^1.3.4", - "safe-buffer": "^5.1.1" - } - }, - "execa": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", - "dev": true, - "requires": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" - } - }, - "expand-brackets": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", - "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", - "dev": true, - "requires": { - "debug": "^2.3.3", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "posix-character-classes": "^0.1.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - }, - "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - } - }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true - }, - "kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true - } - } - }, - "express": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/express/-/express-4.18.1.tgz", - "integrity": "sha512-zZBcOX9TfehHQhtupq57OF8lFZ3UZi08Y97dwFCkD8p9d/d2Y3M+ykKcwaMDEL+4qyUolgBDX6AblpR3fL212Q==", - "dev": true, - "requires": { - "accepts": "~1.3.8", - "array-flatten": "1.1.1", - "body-parser": "1.20.0", - "content-disposition": "0.5.4", - "content-type": "~1.0.4", - "cookie": "0.5.0", - "cookie-signature": "1.0.6", - "debug": "2.6.9", - "depd": "2.0.0", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "1.2.0", - "fresh": "0.5.2", - "http-errors": "2.0.0", - "merge-descriptors": "1.0.1", - "methods": "~1.1.2", - "on-finished": "2.4.1", - "parseurl": "~1.3.3", - "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.7", - "qs": "6.10.3", - "range-parser": "~1.2.1", - "safe-buffer": "5.2.1", - "send": "0.18.0", - "serve-static": "1.15.0", - "setprototypeof": "1.2.0", - "statuses": "2.0.1", - "type-is": "~1.6.18", - "utils-merge": "1.0.1", - "vary": "~1.1.2" - }, - "dependencies": { - "depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", - "dev": true - }, - "statuses": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", - "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", - "dev": true - } - } - }, - "extend": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", - "dev": true - }, - "extend-shallow": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", - "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", - "dev": true, - "requires": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" - } - }, - "extglob": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", - "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", - "dev": true, - "requires": { - "array-unique": "^0.3.2", - "define-property": "^1.0.0", - "expand-brackets": "^2.1.4", - "extend-shallow": "^2.0.1", - "fragment-cache": "^0.2.1", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, - "requires": { - "is-descriptor": "^1.0.0" - } - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true - } - } - }, - "fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true - }, - "fast-glob": { - "version": "3.2.11", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.11.tgz", - "integrity": "sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==", - "dev": true, - "requires": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" - } - }, - "fast-json-parse": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/fast-json-parse/-/fast-json-parse-1.0.3.tgz", - "integrity": "sha512-FRWsaZRWEJ1ESVNbDWmsAlqDk96gPQezzLghafp5J4GUKjbCz3OkAHuZs5TuPEtkbVQERysLp9xv6c24fBm8Aw==", - "dev": true - }, - "fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true - }, - "fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", - "dev": true - }, - "fastest-levenshtein": { - "version": "1.0.12", - "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz", - "integrity": "sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==", - "dev": true - }, - "fastq": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", - "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", - "dev": true, - "requires": { - "reusify": "^1.0.4" - } - }, - "fault": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/fault/-/fault-1.0.4.tgz", - "integrity": "sha512-CJ0HCB5tL5fYTEA7ToAq5+kTwd++Borf1/bifxd9iT70QcXr4MRrO3Llf8Ifs70q+SJcGHFtnIE/Nw6giCtECA==", - "requires": { - "format": "^0.2.0" - } - }, - "faye-websocket": { - "version": "0.11.3", - "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.3.tgz", - "integrity": "sha512-D2y4bovYpzziGgbHYtGCMjlJM36vAl/y+xUyn1C+FVx8szd1E+86KwVw6XvYSzOP8iMpm1X0I4xJD+QtUb36OA==", - "dev": true, - "requires": { - "websocket-driver": ">=0.5.1" - } - }, - "fetch-retry": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/fetch-retry/-/fetch-retry-5.0.2.tgz", - "integrity": "sha512-57Hmu+1kc6pKFUGVIobT7qw3NeAzY/uNN26bSevERLVvf6VGFR/ooDCOFBHMNDgAxBiU2YJq1D0vFzc6U1DcPw==", - "dev": true - }, - "figgy-pudding": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.2.tgz", - "integrity": "sha512-0btnI/H8f2pavGMN8w40mlSKOfTK2SVJmBfBeVIj3kNw0swwgzyRq0d5TJVOwodFmtvpPeWPN/MCcfuWF0Ezbw==", - "dev": true - }, - "file-loader": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-6.2.0.tgz", - "integrity": "sha512-qo3glqyTa61Ytg4u73GultjHGjdRyig3tG6lPtyX/jOEJvHif9uB0/OCI2Kif6ctF3caQTW2G5gym21oAsI4pw==", - "dev": true, - "requires": { - "loader-utils": "^2.0.0", - "schema-utils": "^3.0.0" - } - }, - "file-system-cache": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/file-system-cache/-/file-system-cache-1.1.0.tgz", - "integrity": "sha512-IzF5MBq+5CR0jXx5RxPe4BICl/oEhBSXKaL9fLhAXrIfIUS77Hr4vzrYyqYMHN6uTt+BOqi3fDCTjjEBCjERKw==", - "dev": true, - "requires": { - "fs-extra": "^10.1.0", - "ramda": "^0.28.0" - }, - "dependencies": { - "fs-extra": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", - "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", - "dev": true, - "requires": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - } - } - } - }, - "file-uri-to-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", - "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", - "dev": true, - "optional": true - }, - "fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, - "requires": { - "to-regex-range": "^5.0.1" - } - }, - "finalhandler": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", - "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", - "dev": true, - "requires": { - "debug": "2.6.9", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "on-finished": "2.4.1", - "parseurl": "~1.3.3", - "statuses": "2.0.1", - "unpipe": "~1.0.0" - }, - "dependencies": { - "statuses": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", - "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", - "dev": true - } - } - }, - "find-cache-dir": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.1.tgz", - "integrity": "sha512-t2GDMt3oGC/v+BMwzmllWDuJF/xcDtE5j/fCGbqDD7OLuJkj0cfh1YSA5VKPvwMeLFLNDBkwOKZ2X85jGLVftQ==", - "dev": true, - "requires": { - "commondir": "^1.0.1", - "make-dir": "^3.0.2", - "pkg-dir": "^4.1.0" - }, - "dependencies": { - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, - "locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "requires": { - "p-locate": "^4.1.0" - } - }, - "p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "requires": { - "p-limit": "^2.2.0" - } - }, - "pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "dev": true, - "requires": { - "find-up": "^4.0.0" - } - } - } - }, - "find-root": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz", - "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==" - }, - "find-up": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", - "dev": true, - "requires": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" - } - }, - "flat-cache": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", - "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", - "dev": true, - "requires": { - "flatted": "^3.1.0", - "rimraf": "^3.0.2" - } - }, - "flatted": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.5.tgz", - "integrity": "sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==", - "dev": true - }, - "flush-write-stream": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.1.tgz", - "integrity": "sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w==", - "dev": true, - "requires": { - "inherits": "^2.0.3", - "readable-stream": "^2.3.6" - } - }, - "follow-redirects": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.0.tgz", - "integrity": "sha512-aExlJShTV4qOUOL7yF1U5tvLCB0xQuudbf6toyYA0E/acBNw71mvjFTnLaRp50aQaYocMR0a/RMMBIHeZnGyjQ==", - "dev": true - }, - "for-in": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", - "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", - "dev": true - }, - "foreground-child": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-2.0.0.tgz", - "integrity": "sha512-dCIq9FpEcyQyXKCkyzmlPTFNgrCzPudOe+mhvJU5zAtlBnGVy2yKxtfsxK2tQBThwq225jcvBjpw1Gr40uzZCA==", - "dev": true, - "requires": { - "cross-spawn": "^7.0.0", - "signal-exit": "^3.0.2" - } - }, - "fork-ts-checker-webpack-plugin": { - "version": "6.3.2", - "resolved": "https://registry.npmjs.org/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-6.3.2.tgz", - "integrity": "sha512-L3n1lrV20pRa7ocAuM2YW4Ux1yHM8+dV4shqPdHf1xoeG5KQhp3o0YySvNsBKBISQOCN4N2Db9DV4xYN6xXwyQ==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.8.3", - "@types/json-schema": "^7.0.5", - "chalk": "^4.1.0", - "chokidar": "^3.4.2", - "cosmiconfig": "^6.0.0", - "deepmerge": "^4.2.2", - "fs-extra": "^9.0.0", - "glob": "^7.1.6", - "memfs": "^3.1.2", - "minimatch": "^3.0.4", - "schema-utils": "2.7.0", - "semver": "^7.3.2", - "tapable": "^1.0.0" - }, - "dependencies": { - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "requires": { - "yallist": "^4.0.0" - } - }, - "schema-utils": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.0.tgz", - "integrity": "sha512-0ilKFI6QQF5nxDZLFn2dMjvc4hjg/Wkg7rHd3jK6/A4a1Hl9VFdQWvgB1UMGoU94pad1P/8N7fMcEnLnSiju8A==", - "dev": true, - "requires": { - "@types/json-schema": "^7.0.4", - "ajv": "^6.12.2", - "ajv-keywords": "^3.4.1" - } - }, - "semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - } - } - }, - "form-data": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", - "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", - "dev": true, - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - } - }, - "format": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/format/-/format-0.2.2.tgz", - "integrity": "sha1-1hcBB+nv3E7TDJ3DkBbflCtctYs=" - }, - "forwarded": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", - "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", - "dev": true - }, - "fragment-cache": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", - "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", - "dev": true, - "requires": { - "map-cache": "^0.2.2" - } - }, - "framer-motion": { - "version": "6.3.3", - "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-6.3.3.tgz", - "integrity": "sha512-wo0dCnoq5vn4L8YVOPO9W54dliH78vDaX0Lj+bSPUys6Nt5QaehrS3uaYa0q5eVeikUgtTjz070UhQ94thI5Sw==", - "requires": { - "@emotion/is-prop-valid": "^0.8.2", - "framesync": "6.0.1", - "hey-listen": "^1.0.8", - "popmotion": "11.0.3", - "style-value-types": "5.0.0", - "tslib": "^2.1.0" - } - }, - "framesync": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/framesync/-/framesync-6.0.1.tgz", - "integrity": "sha512-fUY88kXvGiIItgNC7wcTOl0SNRCVXMKSWW2Yzfmn7EKNc+MpCzcz9DhdHcdjbrtN3c6R4H5dTY2jiCpPdysEjA==", - "requires": { - "tslib": "^2.1.0" - } - }, - "fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", - "dev": true - }, - "from2": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", - "integrity": "sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8=", - "dev": true, - "requires": { - "inherits": "^2.0.1", - "readable-stream": "^2.0.0" - } - }, - "fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "requires": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - } - }, - "fs-minipass": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", - "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", - "dev": true, - "requires": { - "minipass": "^3.0.0" - } - }, - "fs-monkey": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/fs-monkey/-/fs-monkey-1.0.3.tgz", - "integrity": "sha512-cybjIfiiE+pTWicSCLFHSrXZ6EilF30oh91FDP9S2B051prEa7QWfrVTQm10/dDpswBDXZugPa1Ogu8Yh+HV0Q==", - "dev": true - }, - "fs-write-stream-atomic": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz", - "integrity": "sha1-tH31NJPvkR33VzHnCp3tAYnbQMk=", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2", - "iferr": "^0.1.5", - "imurmurhash": "^0.1.4", - "readable-stream": "1 || 2" - } - }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true - }, - "fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "optional": true - }, - "function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" - }, - "function.prototype.name": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.5.tgz", - "integrity": "sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.0", - "functions-have-names": "^1.2.2" - } - }, - "functions-have-names": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", - "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", - "dev": true - }, - "gauge": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz", - "integrity": "sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==", - "dev": true, - "requires": { - "aproba": "^1.0.3 || ^2.0.0", - "color-support": "^1.1.2", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.1", - "object-assign": "^4.1.1", - "signal-exit": "^3.0.0", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1", - "wide-align": "^1.1.2" - } - }, - "gensync": { - "version": "1.0.0-beta.2", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==" - }, - "get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "dev": true - }, - "get-intrinsic": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", - "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", - "dev": true, - "requires": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1" - } - }, - "get-stdin": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", - "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=", - "dev": true, - "optional": true - }, - "get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", - "dev": true - }, - "get-symbol-description": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", - "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.1" - } - }, - "get-value": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", - "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", - "dev": true - }, - "glob": { - "version": "7.1.7", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", - "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "requires": { - "is-glob": "^4.0.1" - } - }, - "glob-promise": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/glob-promise/-/glob-promise-3.4.0.tgz", - "integrity": "sha512-q08RJ6O+eJn+dVanerAndJwIcumgbDdYiUT7zFQl3Wm1xD6fBKtah7H8ZJChj4wP+8C+QfeVy8xautR7rdmKEw==", - "dev": true, - "requires": { - "@types/glob": "*" - } - }, - "glob-to-regexp": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", - "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", - "dev": true - }, - "global": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/global/-/global-4.4.0.tgz", - "integrity": "sha512-wv/LAoHdRE3BeTGz53FAamhGlPLhlssK45usmGFThIi4XqnBmjKQ16u+RNbP7WvigRZDxUsM0J3gcQ5yicaL0w==", - "dev": true, - "requires": { - "min-document": "^2.19.0", - "process": "^0.11.10" - } - }, - "globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==" - }, - "globalthis": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", - "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", - "dev": true, - "requires": { - "define-properties": "^1.1.3" - } - }, - "globby": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", - "dev": true, - "requires": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - }, - "dependencies": { - "array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "dev": true - } - } - }, - "graceful-fs": { - "version": "4.2.10", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", - "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", - "dev": true - }, - "handle-thing": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.1.tgz", - "integrity": "sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==", - "dev": true - }, - "handlebars": { - "version": "4.7.7", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", - "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", - "dev": true, - "requires": { - "minimist": "^1.2.5", - "neo-async": "^2.6.0", - "source-map": "^0.6.1", - "uglify-js": "^3.1.4", - "wordwrap": "^1.0.0" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - } - } - }, - "has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "requires": { - "function-bind": "^1.1.1" - } - }, - "has-bigints": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", - "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", - "dev": true - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "has-glob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-glob/-/has-glob-1.0.0.tgz", - "integrity": "sha1-mqqe7b/7G6OZCnsAEPtnjuAIEgc=", - "dev": true, - "requires": { - "is-glob": "^3.0.0" - }, - "dependencies": { - "is-glob": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", - "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", - "dev": true, - "requires": { - "is-extglob": "^2.1.0" - } - } - } - }, - "has-property-descriptors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", - "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", - "dev": true, - "requires": { - "get-intrinsic": "^1.1.1" - } - }, - "has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "dev": true - }, - "has-tostringtag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", - "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", - "dev": true, - "requires": { - "has-symbols": "^1.0.2" - } - }, - "has-unicode": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", - "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", - "dev": true - }, - "has-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", - "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", - "dev": true, - "requires": { - "get-value": "^2.0.6", - "has-values": "^1.0.0", - "isobject": "^3.0.0" - } - }, - "has-values": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", - "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", - "dev": true, - "requires": { - "is-number": "^3.0.0", - "kind-of": "^4.0.0" - }, - "dependencies": { - "is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "kind-of": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", - "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "hash-base": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", - "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", - "dev": true, - "requires": { - "inherits": "^2.0.4", - "readable-stream": "^3.6.0", - "safe-buffer": "^5.2.0" - }, - "dependencies": { - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dev": true, - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - } - } - }, - "hash.js": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", - "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", - "dev": true, - "requires": { - "inherits": "^2.0.3", - "minimalistic-assert": "^1.0.1" - } - }, - "hast-to-hyperscript": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/hast-to-hyperscript/-/hast-to-hyperscript-9.0.1.tgz", - "integrity": "sha512-zQgLKqF+O2F72S1aa4y2ivxzSlko3MAvxkwG8ehGmNiqd98BIN3JM1rAJPmplEyLmGLO2QZYJtIneOSZ2YbJuA==", - "dev": true, - "requires": { - "@types/unist": "^2.0.3", - "comma-separated-tokens": "^1.0.0", - "property-information": "^5.3.0", - "space-separated-tokens": "^1.0.0", - "style-to-object": "^0.3.0", - "unist-util-is": "^4.0.0", - "web-namespaces": "^1.0.0" - } - }, - "hast-util-from-parse5": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/hast-util-from-parse5/-/hast-util-from-parse5-6.0.1.tgz", - "integrity": "sha512-jeJUWiN5pSxW12Rh01smtVkZgZr33wBokLzKLwinYOUfSzm1Nl/c3GUGebDyOKjdsRgMvoVbV0VpAcpjF4NrJA==", - "dev": true, - "requires": { - "@types/parse5": "^5.0.0", - "hastscript": "^6.0.0", - "property-information": "^5.0.0", - "vfile": "^4.0.0", - "vfile-location": "^3.2.0", - "web-namespaces": "^1.0.0" - } - }, - "hast-util-parse-selector": { - "version": "2.2.5", - "resolved": "https://registry.npmjs.org/hast-util-parse-selector/-/hast-util-parse-selector-2.2.5.tgz", - "integrity": "sha512-7j6mrk/qqkSehsM92wQjdIgWM2/BW61u/53G6xmC8i1OmEdKLHbk419QKQUjz6LglWsfqoiHmyMRkP1BGjecNQ==" - }, - "hast-util-raw": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/hast-util-raw/-/hast-util-raw-6.0.1.tgz", - "integrity": "sha512-ZMuiYA+UF7BXBtsTBNcLBF5HzXzkyE6MLzJnL605LKE8GJylNjGc4jjxazAHUtcwT5/CEt6afRKViYB4X66dig==", - "dev": true, - "requires": { - "@types/hast": "^2.0.0", - "hast-util-from-parse5": "^6.0.0", - "hast-util-to-parse5": "^6.0.0", - "html-void-elements": "^1.0.0", - "parse5": "^6.0.0", - "unist-util-position": "^3.0.0", - "vfile": "^4.0.0", - "web-namespaces": "^1.0.0", - "xtend": "^4.0.0", - "zwitch": "^1.0.0" - } - }, - "hast-util-to-parse5": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/hast-util-to-parse5/-/hast-util-to-parse5-6.0.0.tgz", - "integrity": "sha512-Lu5m6Lgm/fWuz8eWnrKezHtVY83JeRGaNQ2kn9aJgqaxvVkFCZQBEhgodZUDUvoodgyROHDb3r5IxAEdl6suJQ==", - "dev": true, - "requires": { - "hast-to-hyperscript": "^9.0.0", - "property-information": "^5.0.0", - "web-namespaces": "^1.0.0", - "xtend": "^4.0.0", - "zwitch": "^1.0.0" - } - }, - "hastscript": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/hastscript/-/hastscript-6.0.0.tgz", - "integrity": "sha512-nDM6bvd7lIqDUiYEiu5Sl/+6ReP0BMk/2f4U/Rooccxkj0P5nm+acM5PrGJ/t5I8qPGiqZSE6hVAwZEdZIvP4w==", - "requires": { - "@types/hast": "^2.0.0", - "comma-separated-tokens": "^1.0.0", - "hast-util-parse-selector": "^2.0.0", - "property-information": "^5.0.0", - "space-separated-tokens": "^1.0.0" - } - }, - "he": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", - "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", - "dev": true - }, - "hey-listen": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/hey-listen/-/hey-listen-1.0.8.tgz", - "integrity": "sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q==" - }, - "highlight.js": { - "version": "10.7.2", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.7.2.tgz", - "integrity": "sha512-oFLl873u4usRM9K63j4ME9u3etNF0PLiJhSQ8rdfuL51Wn3zkD6drf9ZW0dOzjnZI22YYG24z30JcmfCZjMgYg==" - }, - "hmac-drbg": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", - "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", - "dev": true, - "requires": { - "hash.js": "^1.0.3", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.1" - } - }, - "hoist-non-react-statics": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", - "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", - "requires": { - "react-is": "^16.7.0" - } - }, - "hosted-git-info": { - "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", - "dev": true - }, - "hpack.js": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz", - "integrity": "sha1-h3dMCUnlE/QuhFdbPEVoH63ioLI=", - "dev": true, - "requires": { - "inherits": "^2.0.1", - "obuf": "^1.0.0", - "readable-stream": "^2.0.1", - "wbuf": "^1.1.0" - } - }, - "html-encoding-sniffer": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz", - "integrity": "sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==", - "dev": true, - "requires": { - "whatwg-encoding": "^2.0.0" - } - }, - "html-entities": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-2.3.3.tgz", - "integrity": "sha512-DV5Ln36z34NNTDgnz0EWGBLZENelNAtkiFA4kyNOG2tDI6Mz1uSWiq1wAKdyjnJwyDiDO7Fa2SO1CTxPXL8VxA==", - "dev": true - }, - "html-escaper": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", - "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", - "dev": true - }, - "html-minifier-terser": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/html-minifier-terser/-/html-minifier-terser-6.1.0.tgz", - "integrity": "sha512-YXxSlJBZTP7RS3tWnQw74ooKa6L9b9i9QYXY21eUEvhZ3u9XLfv6OnFsQq6RxkhHygsaUMvYsZRV5rU/OVNZxw==", - "dev": true, - "requires": { - "camel-case": "^4.1.2", - "clean-css": "^5.2.2", - "commander": "^8.3.0", - "he": "^1.2.0", - "param-case": "^3.0.4", - "relateurl": "^0.2.7", - "terser": "^5.10.0" - }, - "dependencies": { - "commander": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", - "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", - "dev": true - } - } - }, - "html-tags": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-3.2.0.tgz", - "integrity": "sha512-vy7ClnArOZwCnqZgvv+ddgHgJiAFXe3Ge9ML5/mBctVJoUoYPCdxVucOywjDARn6CVoh3dRSFdPHy2sX80L0Wg==", - "dev": true - }, - "html-void-elements": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/html-void-elements/-/html-void-elements-1.0.5.tgz", - "integrity": "sha512-uE/TxKuyNIcx44cIWnjr/rfIATDH7ZaOMmstu0CwhFG1Dunhlp4OC6/NMbhiwoq5BpW0ubi303qnEk/PZj614w==", - "dev": true - }, - "html-webpack-plugin": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-5.5.0.tgz", - "integrity": "sha512-sy88PC2cRTVxvETRgUHFrL4No3UxvcH8G1NepGhqaTT+GXN2kTamqasot0inS5hXeg1cMbFDt27zzo9p35lZVw==", - "dev": true, - "requires": { - "@types/html-minifier-terser": "^6.0.0", - "html-minifier-terser": "^6.0.2", - "lodash": "^4.17.21", - "pretty-error": "^4.0.0", - "tapable": "^2.0.0" - }, - "dependencies": { - "tapable": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", - "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", - "dev": true - } - } - }, - "htmlparser2": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-6.1.0.tgz", - "integrity": "sha512-gyyPk6rgonLFEDGoeRgQNaEUvdJ4ktTmmUh/h2t7s+M8oPpIPxgNACWa+6ESR57kXstwqPiCut0V8NRpcwgU7A==", - "dev": true, - "requires": { - "domelementtype": "^2.0.1", - "domhandler": "^4.0.0", - "domutils": "^2.5.2", - "entities": "^2.0.0" - } - }, - "http-deceiver": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz", - "integrity": "sha1-+nFolEq5pRnTN8sL7HKE3D5yPYc=", - "dev": true - }, - "http-errors": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", - "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", - "dev": true, - "requires": { - "depd": "2.0.0", - "inherits": "2.0.4", - "setprototypeof": "1.2.0", - "statuses": "2.0.1", - "toidentifier": "1.0.1" - }, - "dependencies": { - "depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", - "dev": true - }, - "statuses": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", - "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", - "dev": true - } - } - }, - "http-parser-js": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.5.3.tgz", - "integrity": "sha512-t7hjvef/5HEK7RWTdUzVUhl8zkEu+LlaE0IYzdMuvbSDipxBRpOn4Uhw8ZyECEa808iVT8XCjzo6xmYt4CiLZg==", - "dev": true - }, - "http-proxy": { - "version": "1.18.1", - "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.1.tgz", - "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==", - "dev": true, - "requires": { - "eventemitter3": "^4.0.0", - "follow-redirects": "^1.0.0", - "requires-port": "^1.0.0" - } - }, - "http-proxy-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", - "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", - "dev": true, - "requires": { - "@tootallnate/once": "2", - "agent-base": "6", - "debug": "4" - }, - "dependencies": { - "debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - } - } - }, - "http-proxy-middleware": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.6.tgz", - "integrity": "sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw==", - "dev": true, - "requires": { - "@types/http-proxy": "^1.17.8", - "http-proxy": "^1.18.1", - "is-glob": "^4.0.1", - "is-plain-obj": "^3.0.0", - "micromatch": "^4.0.2" - }, - "dependencies": { - "is-plain-obj": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz", - "integrity": "sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==", - "dev": true - } - } - }, - "https-browserify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", - "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=", - "dev": true - }, - "https-proxy-agent": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", - "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", - "dev": true, - "requires": { - "agent-base": "6", - "debug": "4" - }, - "dependencies": { - "debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - } - } - }, - "human-signals": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", - "dev": true - }, - "iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dev": true, - "requires": { - "safer-buffer": ">= 2.1.2 < 3" - } - }, - "icss-utils": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-4.1.1.tgz", - "integrity": "sha512-4aFq7wvWyMHKgxsH8QQtGpvbASCf+eM3wPRLI6R+MgAnTCZ6STYsRvttLvRWK0Nfif5piF394St3HeJDaljGPA==", - "dev": true, - "requires": { - "postcss": "^7.0.14" - } - }, - "ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "dev": true - }, - "iferr": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/iferr/-/iferr-0.1.5.tgz", - "integrity": "sha1-xg7taebY/bazEEofy8ocGS3FtQE=", - "dev": true - }, - "ignore": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", - "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", - "dev": true - }, - "import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "requires": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - }, - "dependencies": { - "resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==" - } - } - }, - "imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", - "dev": true - }, - "indent-string": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", - "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", - "dev": true, - "optional": true, - "requires": { - "repeating": "^2.0.0" - } - }, - "infer-owner": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz", - "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==", - "dev": true - }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dev": true, - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, - "inline-style-parser": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.1.1.tgz", - "integrity": "sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q==", - "dev": true - }, - "internal-slot": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", - "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", - "dev": true, - "requires": { - "get-intrinsic": "^1.1.0", - "has": "^1.0.3", - "side-channel": "^1.0.4" - } - }, - "interpret": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/interpret/-/interpret-2.2.0.tgz", - "integrity": "sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw==", - "dev": true - }, - "ip": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.8.tgz", - "integrity": "sha512-PuExPYUiu6qMBQb4l06ecm6T6ujzhmh+MeJcW9wa89PoAz5pvd4zPgN5WJV104mb6S2T1AwNIAaB70JNrLQWhg==", - "dev": true - }, - "ipaddr.js": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.0.1.tgz", - "integrity": "sha512-1qTgH9NG+IIJ4yfKs2e6Pp1bZg8wbDbKHT21HrLIeYBTRLgMYKnMTPAuI3Lcs61nfx5h1xlXnbJtH1kX5/d/ng==", - "dev": true - }, - "is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-alphabetical": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-1.0.4.tgz", - "integrity": "sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==" - }, - "is-alphanumerical": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-1.0.4.tgz", - "integrity": "sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==", - "requires": { - "is-alphabetical": "^1.0.0", - "is-decimal": "^1.0.0" - } - }, - "is-arguments": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", - "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - } - }, - "is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" - }, - "is-bigint": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", - "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", - "dev": true, - "requires": { - "has-bigints": "^1.0.1" - } - }, - "is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dev": true, - "requires": { - "binary-extensions": "^2.0.0" - } - }, - "is-boolean-object": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", - "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - } - }, - "is-buffer": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", - "dev": true - }, - "is-callable": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", - "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==", - "dev": true - }, - "is-core-module": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.4.0.tgz", - "integrity": "sha512-6A2fkfq1rfeQZjxrZJGerpLCTHRNEBiSgnu0+obeJpEPZRUooHgsizvzv0ZjJwOz3iWIHdJtVWJ/tmPr3D21/A==", - "requires": { - "has": "^1.0.3" - } - }, - "is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-date-object": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", - "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", - "dev": true, - "requires": { - "has-tostringtag": "^1.0.0" - } - }, - "is-decimal": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-1.0.4.tgz", - "integrity": "sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==" - }, - "is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - } - }, - "is-docker": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", - "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", - "dev": true - }, - "is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dev": true, - "requires": { - "is-plain-object": "^2.0.4" - } - }, - "is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", - "dev": true - }, - "is-finite": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", - "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==", - "dev": true, - "optional": true - }, - "is-function": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-function/-/is-function-1.0.2.tgz", - "integrity": "sha512-lw7DUp0aWXYg+CBCN+JKkcE0Q2RayZnSvnZBlwgxHBQhqt5pZNVy4Ri7H9GmmXkdu7LUthszM+Tor1u/2iBcpQ==", - "dev": true - }, - "is-glob": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", - "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", - "dev": true, - "requires": { - "is-extglob": "^2.1.1" - } - }, - "is-hexadecimal": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz", - "integrity": "sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==" - }, - "is-map": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.2.tgz", - "integrity": "sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg==", - "dev": true - }, - "is-negative-zero": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", - "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", - "dev": true - }, - "is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true - }, - "is-number-object": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", - "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", - "dev": true, - "requires": { - "has-tostringtag": "^1.0.0" - } - }, - "is-path-cwd": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-2.2.0.tgz", - "integrity": "sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ==", - "dev": true - }, - "is-path-in-cwd": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-2.1.0.tgz", - "integrity": "sha512-rNocXHgipO+rvnP6dk3zI20RpOtrAM/kzbB258Uw5BWr3TpXi861yzjo16Dn4hUox07iw5AyeMLHWsujkjzvRQ==", - "dev": true, - "requires": { - "is-path-inside": "^2.1.0" - } - }, - "is-path-inside": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-2.1.0.tgz", - "integrity": "sha512-wiyhTzfDWsvwAW53OBWF5zuvaOGlZ6PwYxAbPVDhpm+gM09xKQGjBq/8uYN12aDvMxnAnq3dxTyoSoRNmg5YFg==", - "dev": true, - "requires": { - "path-is-inside": "^1.0.2" - } - }, - "is-plain-obj": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", - "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", - "dev": true - }, - "is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dev": true, - "requires": { - "isobject": "^3.0.1" - } - }, - "is-potential-custom-element-name": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", - "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==", - "dev": true - }, - "is-regex": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", - "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - } - }, - "is-set": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.2.tgz", - "integrity": "sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g==", - "dev": true - }, - "is-shared-array-buffer": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", - "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", - "dev": true, - "requires": { - "call-bind": "^1.0.2" - } - }, - "is-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", - "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", - "dev": true - }, - "is-string": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", - "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", - "dev": true, - "requires": { - "has-tostringtag": "^1.0.0" - } - }, - "is-symbol": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", - "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", - "dev": true, - "requires": { - "has-symbols": "^1.0.2" - } - }, - "is-utf8": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", - "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", - "dev": true, - "optional": true - }, - "is-weakref": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", - "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", - "dev": true, - "requires": { - "call-bind": "^1.0.2" - } - }, - "is-whitespace-character": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-whitespace-character/-/is-whitespace-character-1.0.4.tgz", - "integrity": "sha512-SDweEzfIZM0SJV0EUga669UTKlmL0Pq8Lno0QDQsPnvECB3IM2aP0gdx5TrU0A01MAPfViaZiI2V1QMZLaKK5w==", - "dev": true - }, - "is-windows": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", - "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", - "dev": true - }, - "is-word-character": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-word-character/-/is-word-character-1.0.4.tgz", - "integrity": "sha512-5SMO8RVennx3nZrqtKwCGyyetPE9VDba5ugvKLaD4KopPG5kR4mQ7tNt/r7feL5yt5h3lpuBbIUmCOG2eSzXHA==", - "dev": true - }, - "is-wsl": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", - "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", - "dev": true, - "requires": { - "is-docker": "^2.0.0" - } - }, - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", - "dev": true - }, - "isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", - "dev": true - }, - "isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", - "dev": true - }, - "isomorphic-unfetch": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/isomorphic-unfetch/-/isomorphic-unfetch-3.1.0.tgz", - "integrity": "sha512-geDJjpoZ8N0kWexiwkX8F9NkTsXhetLPVbZFQ+JTW239QNOwvB0gniuR1Wc6f0AMTn7/mFGyXvHTifrCp/GH8Q==", - "dev": true, - "requires": { - "node-fetch": "^2.6.1", - "unfetch": "^4.2.0" - } - }, - "istanbul-lib-coverage": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz", - "integrity": "sha512-UiUIqxMgRDET6eR+o5HbfRYP1l0hqkWOs7vNxC/mggutCMUIhWMm8gAHb8tHlyfD3/l6rlgNA5cKdDzEAf6hEg==", - "dev": true - }, - "istanbul-lib-report": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", - "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", - "dev": true, - "requires": { - "istanbul-lib-coverage": "^3.0.0", - "make-dir": "^3.0.0", - "supports-color": "^7.1.0" - } - }, - "istanbul-reports": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.0.2.tgz", - "integrity": "sha512-9tZvz7AiR3PEDNGiV9vIouQ/EAcqMXFmkcA1CDFTwOB98OZVDL0PH9glHotf5Ugp6GCOTypfzGWI/OqjWNCRUw==", - "dev": true, - "requires": { - "html-escaper": "^2.0.0", - "istanbul-lib-report": "^3.0.0" - } - }, - "iterate-iterator": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/iterate-iterator/-/iterate-iterator-1.0.2.tgz", - "integrity": "sha512-t91HubM4ZDQ70M9wqp+pcNpu8OyJ9UAtXntT/Bcsvp5tZMnz9vRa+IunKXeI8AnfZMTv0jNuVEmGeLSMjVvfPw==", - "dev": true - }, - "iterate-value": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/iterate-value/-/iterate-value-1.0.2.tgz", - "integrity": "sha512-A6fMAio4D2ot2r/TYzr4yUWrmwNdsN5xL7+HUiyACE4DXm+q8HtPcnFTp+NnW3k4N05tZ7FVYFFb2CR13NxyHQ==", - "dev": true, - "requires": { - "es-get-iterator": "^1.0.2", - "iterate-iterator": "^1.0.1" - } - }, - "jest-worker": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", - "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", - "dev": true, - "requires": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" - }, - "dependencies": { - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true - }, - "supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "js-string-escape": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/js-string-escape/-/js-string-escape-1.0.1.tgz", - "integrity": "sha1-4mJbrbwNZ8dTPp7cEGjFh65BN+8=", - "dev": true - }, - "js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" - }, - "jsdom": { - "version": "19.0.0", - "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-19.0.0.tgz", - "integrity": "sha512-RYAyjCbxy/vri/CfnjUWJQQtZ3LKlLnDqj+9XLNnJPgEGeirZs3hllKR20re8LUZ6o1b1X4Jat+Qd26zmP41+A==", - "dev": true, - "requires": { - "abab": "^2.0.5", - "acorn": "^8.5.0", - "acorn-globals": "^6.0.0", - "cssom": "^0.5.0", - "cssstyle": "^2.3.0", - "data-urls": "^3.0.1", - "decimal.js": "^10.3.1", - "domexception": "^4.0.0", - "escodegen": "^2.0.0", - "form-data": "^4.0.0", - "html-encoding-sniffer": "^3.0.0", - "http-proxy-agent": "^5.0.0", - "https-proxy-agent": "^5.0.0", - "is-potential-custom-element-name": "^1.0.1", - "nwsapi": "^2.2.0", - "parse5": "6.0.1", - "saxes": "^5.0.1", - "symbol-tree": "^3.2.4", - "tough-cookie": "^4.0.0", - "w3c-hr-time": "^1.0.2", - "w3c-xmlserializer": "^3.0.0", - "webidl-conversions": "^7.0.0", - "whatwg-encoding": "^2.0.0", - "whatwg-mimetype": "^3.0.0", - "whatwg-url": "^10.0.0", - "ws": "^8.2.3", - "xml-name-validator": "^4.0.0" - }, - "dependencies": { - "acorn": { - "version": "8.7.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", - "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", - "dev": true - }, - "form-data": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", - "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", - "dev": true, - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - } - }, - "tough-cookie": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.0.0.tgz", - "integrity": "sha512-tHdtEpQCMrc1YLrMaqXXcj6AxhYi/xgit6mZu1+EDWUn+qhUf8wMQoFIy9NXuq23zAwtcB0t/MjACGR18pcRbg==", - "dev": true, - "requires": { - "psl": "^1.1.33", - "punycode": "^2.1.1", - "universalify": "^0.1.2" - } - }, - "universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "dev": true - } - } - }, - "jsdom-global": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/jsdom-global/-/jsdom-global-3.0.2.tgz", - "integrity": "sha1-a9KZwTsMRiay2iwDk81DhdYGrLk=", - "dev": true, - "requires": {} - }, - "jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==" - }, - "json-parse-better-errors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", - "dev": true - }, - "json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" - }, - "json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true - }, - "json3": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/json3/-/json3-3.3.3.tgz", - "integrity": "sha512-c7/8mbUsKigAbLkD5B010BK4D9LZm7A1pNItkEwiUZRpIN66exu/e7YQWysGun+TRKaJp8MhemM+VkfWv42aCA==", - "dev": true, - "optional": true, - "peer": true - }, - "json5": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", - "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==" - }, - "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - } - }, - "junk": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/junk/-/junk-3.1.0.tgz", - "integrity": "sha512-pBxcB3LFc8QVgdggvZWyeys+hnrNWg4OcZIU/1X59k5jQdLBlCsYGRQaz234SqoRLTCgMH00fY0xRJH+F9METQ==", - "dev": true - }, - "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "dev": true - }, - "kleur": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", - "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", - "dev": true - }, - "klona": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/klona/-/klona-2.0.5.tgz", - "integrity": "sha512-pJiBpiXMbt7dkzXe8Ghj/u4FfXOOa98fPW+bihOJ4SjnoijweJrNThJfd3ifXpXhREjpoF2mZVH1GfS9LV3kHQ==", - "dev": true - }, - "lazy-universal-dotenv": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/lazy-universal-dotenv/-/lazy-universal-dotenv-3.0.1.tgz", - "integrity": "sha512-prXSYk799h3GY3iOWnC6ZigYzMPjxN2svgjJ9shk7oMadSNX3wXy0B6F32PMJv7qtMnrIbUxoEHzbutvxR2LBQ==", - "dev": true, - "requires": { - "@babel/runtime": "^7.5.0", - "app-root-dir": "^1.0.2", - "core-js": "^3.0.4", - "dotenv": "^8.0.0", - "dotenv-expand": "^5.1.0" - } - }, - "levn": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", - "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", - "dev": true, - "requires": { - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2" - } - }, - "lines-and-columns": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", - "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=" - }, - "load-json-file": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", - "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", - "dev": true, - "optional": true, - "requires": { - "graceful-fs": "^4.1.2", - "parse-json": "^2.2.0", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0", - "strip-bom": "^2.0.0" - }, - "dependencies": { - "parse-json": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", - "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", - "dev": true, - "optional": true, - "requires": { - "error-ex": "^1.2.0" - } - }, - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", - "dev": true, - "optional": true - } - } - }, - "loader-runner": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", - "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", - "dev": true - }, - "loader-utils": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.0.tgz", - "integrity": "sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ==", - "dev": true, - "requires": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^2.1.2" - } - }, - "locate-path": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", - "dev": true, - "requires": { - "p-locate": "^5.0.0" - } - }, - "lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true - }, - "lodash.debounce": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", - "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=", - "dev": true - }, - "lodash.sortby": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", - "integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=", - "dev": true - }, - "lodash.uniq": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", - "integrity": "sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=", - "dev": true - }, - "loose-envify": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", - "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", - "requires": { - "js-tokens": "^3.0.0 || ^4.0.0" - } - }, - "loud-rejection": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", - "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", - "dev": true, - "optional": true, - "requires": { - "currently-unhandled": "^0.4.1", - "signal-exit": "^3.0.0" - } - }, - "lower-case": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz", - "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==", - "dev": true, - "requires": { - "tslib": "^2.0.3" - } - }, - "lowlight": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/lowlight/-/lowlight-1.20.0.tgz", - "integrity": "sha512-8Ktj+prEb1RoCPkEOrPMYUN/nCggB7qAWe3a7OpMjWQkh3l2RD5wKRQ+o8Q8YuI9RG/xs95waaI/E6ym/7NsTw==", - "requires": { - "fault": "^1.0.0", - "highlight.js": "~10.7.0" - } - }, - "lru-cache": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", - "dev": true, - "requires": { - "yallist": "^3.0.2" - }, - "dependencies": { - "yallist": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", - "dev": true - } - } - }, - "lz-string": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/lz-string/-/lz-string-1.4.4.tgz", - "integrity": "sha1-wNjq82BZ9wV5bh40SBHPTEmNOiY=", - "dev": true - }, - "make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "dev": true, - "requires": { - "semver": "^6.0.0" - } - }, - "map-age-cleaner": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz", - "integrity": "sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w==", - "dev": true, - "requires": { - "p-defer": "^1.0.0" - } - }, - "map-cache": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", - "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", - "dev": true - }, - "map-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", - "dev": true, - "optional": true - }, - "map-or-similar": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/map-or-similar/-/map-or-similar-1.5.0.tgz", - "integrity": "sha1-beJlMXSt+12e3DPGnT6Sobdvrwg=", - "dev": true - }, - "map-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", - "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", - "dev": true, - "requires": { - "object-visit": "^1.0.0" - } - }, - "markdown-escapes": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/markdown-escapes/-/markdown-escapes-1.0.4.tgz", - "integrity": "sha512-8z4efJYk43E0upd0NbVXwgSTQs6cT3T06etieCMEg7dRbzCbxUCK/GHlX8mhHRDcp+OLlHkPKsvqQTCvsRl2cg==", - "dev": true - }, - "md5.js": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", - "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", - "dev": true, - "requires": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1", - "safe-buffer": "^5.1.2" - } - }, - "mdast-squeeze-paragraphs": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mdast-squeeze-paragraphs/-/mdast-squeeze-paragraphs-4.0.0.tgz", - "integrity": "sha512-zxdPn69hkQ1rm4J+2Cs2j6wDEv7O17TfXTJ33tl/+JPIoEmtV9t2ZzBM5LPHE8QlHsmVD8t3vPKCyY3oH+H8MQ==", - "dev": true, - "requires": { - "unist-util-remove": "^2.0.0" - } - }, - "mdast-util-definitions": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mdast-util-definitions/-/mdast-util-definitions-4.0.0.tgz", - "integrity": "sha512-k8AJ6aNnUkB7IE+5azR9h81O5EQ/cTDXtWdMq9Kk5KcEW/8ritU5CeLg/9HhOC++nALHBlaogJ5jz0Ybk3kPMQ==", - "dev": true, - "requires": { - "unist-util-visit": "^2.0.0" - } - }, - "mdast-util-to-hast": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-10.0.1.tgz", - "integrity": "sha512-BW3LM9SEMnjf4HXXVApZMt8gLQWVNXc3jryK0nJu/rOXPOnlkUjmdkDlmxMirpbU9ILncGFIwLH/ubnWBbcdgA==", - "dev": true, - "requires": { - "@types/mdast": "^3.0.0", - "@types/unist": "^2.0.0", - "mdast-util-definitions": "^4.0.0", - "mdurl": "^1.0.0", - "unist-builder": "^2.0.0", - "unist-util-generated": "^1.0.0", - "unist-util-position": "^3.0.0", - "unist-util-visit": "^2.0.0" - } - }, - "mdurl": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", - "integrity": "sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=", - "dev": true - }, - "media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", - "dev": true - }, - "mem": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/mem/-/mem-8.1.1.tgz", - "integrity": "sha512-qFCFUDs7U3b8mBDPyz5EToEKoAkgCzqquIgi9nkkR9bixxOVOre+09lbuH7+9Kn2NFpm56M3GUWVbU2hQgdACA==", - "dev": true, - "requires": { - "map-age-cleaner": "^0.1.3", - "mimic-fn": "^3.1.0" - }, - "dependencies": { - "mimic-fn": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-3.1.0.tgz", - "integrity": "sha512-Ysbi9uYW9hFyfrThdDEQuykN4Ey6BuwPD2kpI5ES/nFTDn/98yxYNLZJcgUAKPT/mcrLLKaGzJR9YVxJrIdASQ==", - "dev": true - } - } - }, - "memfs": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.4.3.tgz", - "integrity": "sha512-eivjfi7Ahr6eQTn44nvTnR60e4a1Fs1Via2kCR5lHo/kyNoiMWaXCNJ/GpSd0ilXas2JSOl9B5FTIhflXu0hlg==", - "dev": true, - "requires": { - "fs-monkey": "1.0.3" - } - }, - "memoizerific": { - "version": "1.11.3", - "resolved": "https://registry.npmjs.org/memoizerific/-/memoizerific-1.11.3.tgz", - "integrity": "sha1-fIekZGREwy11Q4VwkF8tvRsagFo=", - "dev": true, - "requires": { - "map-or-similar": "^1.5.0" - } - }, - "memory-fs": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz", - "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=", - "dev": true, - "requires": { - "errno": "^0.1.3", - "readable-stream": "^2.0.1" - } - }, - "meow": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", - "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", - "dev": true, - "optional": true, - "requires": { - "camelcase-keys": "^2.0.0", - "decamelize": "^1.1.2", - "loud-rejection": "^1.0.0", - "map-obj": "^1.0.1", - "minimist": "^1.1.3", - "normalize-package-data": "^2.3.4", - "object-assign": "^4.0.1", - "read-pkg-up": "^1.0.1", - "redent": "^1.0.0", - "trim-newlines": "^1.0.0" - }, - "dependencies": { - "find-up": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", - "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", - "dev": true, - "optional": true, - "requires": { - "path-exists": "^2.0.0", - "pinkie-promise": "^2.0.0" - } - }, - "path-exists": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", - "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", - "dev": true, - "optional": true, - "requires": { - "pinkie-promise": "^2.0.0" - } - }, - "path-type": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", - "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", - "dev": true, - "optional": true, - "requires": { - "graceful-fs": "^4.1.2", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" - } - }, - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", - "dev": true, - "optional": true - }, - "read-pkg": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", - "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", - "dev": true, - "optional": true, - "requires": { - "load-json-file": "^1.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^1.0.0" - } - }, - "read-pkg-up": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", - "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", - "dev": true, - "optional": true, - "requires": { - "find-up": "^1.0.0", - "read-pkg": "^1.0.0" - } - } - } - }, - "merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=", - "dev": true - }, - "merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true - }, - "merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "dev": true - }, - "methods": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", - "dev": true - }, - "microevent.ts": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/microevent.ts/-/microevent.ts-0.1.1.tgz", - "integrity": "sha512-jo1OfR4TaEwd5HOrt5+tAZ9mqT4jmpNAusXtyfNzqVm9uiSYFZlKM1wYL4oU7azZW/PxQW53wM0S6OR1JHNa2g==", - "dev": true - }, - "micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", - "dev": true, - "requires": { - "braces": "^3.0.2", - "picomatch": "^2.3.1" - } - }, - "miller-rabin": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", - "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", - "dev": true, - "requires": { - "bn.js": "^4.0.0", - "brorand": "^1.0.1" - }, - "dependencies": { - "bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "dev": true - } - } - }, - "mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", - "dev": true - }, - "mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "dev": true - }, - "mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "dev": true, - "requires": { - "mime-db": "1.52.0" - } - }, - "mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true - }, - "min-document": { - "version": "2.19.0", - "resolved": "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz", - "integrity": "sha1-e9KC4/WELtKVu3SM3Z8f+iyCRoU=", - "dev": true, - "requires": { - "dom-walk": "^0.1.0" - } - }, - "min-indent": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", - "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", - "dev": true - }, - "minimalistic-assert": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", - "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", - "dev": true - }, - "minimalistic-crypto-utils": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", - "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=", - "dev": true - }, - "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "dev": true, - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "minimist": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", - "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", - "dev": true - }, - "minipass": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.6.tgz", - "integrity": "sha512-rty5kpw9/z8SX9dmxblFA6edItUmwJgMeYDZRrwlIVN27i8gysGbznJwUggw2V/FVqFSDdWy040ZPS811DYAqQ==", - "dev": true, - "requires": { - "yallist": "^4.0.0" - } - }, - "minipass-collect": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz", - "integrity": "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==", - "dev": true, - "requires": { - "minipass": "^3.0.0" - } - }, - "minipass-flush": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz", - "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==", - "dev": true, - "requires": { - "minipass": "^3.0.0" - } - }, - "minipass-pipeline": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz", - "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==", - "dev": true, - "requires": { - "minipass": "^3.0.0" - } - }, - "minizlib": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", - "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", - "dev": true, - "requires": { - "minipass": "^3.0.0", - "yallist": "^4.0.0" - } - }, - "mississippi": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-3.0.0.tgz", - "integrity": "sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA==", - "dev": true, - "requires": { - "concat-stream": "^1.5.0", - "duplexify": "^3.4.2", - "end-of-stream": "^1.1.0", - "flush-write-stream": "^1.0.0", - "from2": "^2.1.0", - "parallel-transform": "^1.1.0", - "pump": "^3.0.0", - "pumpify": "^1.3.3", - "stream-each": "^1.1.0", - "through2": "^2.0.0" - } - }, - "mixin-deep": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", - "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", - "dev": true, - "requires": { - "for-in": "^1.0.2", - "is-extendable": "^1.0.1" - } - }, - "mkdirp": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", - "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", - "dev": true, - "requires": { - "minimist": "^1.2.5" - } - }, - "move-concurrently": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz", - "integrity": "sha1-viwAX9oy4LKa8fBdfEszIUxwH5I=", - "dev": true, - "requires": { - "aproba": "^1.1.1", - "copy-concurrently": "^1.0.0", - "fs-write-stream-atomic": "^1.0.8", - "mkdirp": "^0.5.1", - "rimraf": "^2.5.4", - "run-queue": "^1.0.3" - }, - "dependencies": { - "rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - } - } - }, - "ms": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", - "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", - "dev": true - }, - "multicast-dns": { - "version": "7.2.5", - "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-7.2.5.tgz", - "integrity": "sha512-2eznPJP8z2BFLX50tf0LuODrpINqP1RVIm/CObbTcBRITQgmC/TjcREF1NeTBzIcR5XO/ukWo+YHOjBbFwIupg==", - "dev": true, - "requires": { - "dns-packet": "^5.2.2", - "thunky": "^1.0.2" - } - }, - "nan": { - "version": "2.15.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz", - "integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==", - "dev": true, - "optional": true - }, - "nanoid": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", - "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", - "dev": true - }, - "nanomatch": { - "version": "1.2.13", - "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", - "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", - "dev": true, - "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "fragment-cache": "^0.2.1", - "is-windows": "^1.0.2", - "kind-of": "^6.0.2", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - } - }, - "negotiator": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", - "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", - "dev": true - }, - "neo-async": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", - "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", - "dev": true - }, - "nested-error-stacks": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/nested-error-stacks/-/nested-error-stacks-2.1.1.tgz", - "integrity": "sha512-9iN1ka/9zmX1ZvLV9ewJYEk9h7RyRRtqdK0woXcqohu8EWIerfPUjYJPg0ULy0UqP7cslmdGc8xKDJcojlKiaw==", - "dev": true - }, - "no-case": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz", - "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==", - "dev": true, - "requires": { - "lower-case": "^2.0.2", - "tslib": "^2.0.3" - } - }, - "node-dir": { - "version": "0.1.17", - "resolved": "https://registry.npmjs.org/node-dir/-/node-dir-0.1.17.tgz", - "integrity": "sha1-X1Zl2TNRM1yqvvjxxVRRbPXx5OU=", - "dev": true, - "requires": { - "minimatch": "^3.0.2" - } - }, - "node-fetch": { - "version": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", - "dev": true, - "requires": { - "whatwg-url": "^5.0.0" - }, - "dependencies": { - "tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=", - "dev": true - }, - "webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=", - "dev": true - }, - "whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", - "dev": true, - "requires": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - } - } - }, - "node-forge": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.1.tgz", - "integrity": "sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==", - "dev": true - }, - "node-libs-browser": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.2.1.tgz", - "integrity": "sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q==", - "dev": true, - "requires": { - "assert": "^1.1.1", - "browserify-zlib": "^0.2.0", - "buffer": "^4.3.0", - "console-browserify": "^1.1.0", - "constants-browserify": "^1.0.0", - "crypto-browserify": "^3.11.0", - "domain-browser": "^1.1.1", - "events": "^3.0.0", - "https-browserify": "^1.0.0", - "os-browserify": "^0.3.0", - "path-browserify": "0.0.1", - "process": "^0.11.10", - "punycode": "^1.2.4", - "querystring-es3": "^0.2.0", - "readable-stream": "^2.3.3", - "stream-browserify": "^2.0.1", - "stream-http": "^2.7.2", - "string_decoder": "^1.0.0", - "timers-browserify": "^2.0.4", - "tty-browserify": "0.0.0", - "url": "^0.11.0", - "util": "^0.11.0", - "vm-browserify": "^1.0.1" - }, - "dependencies": { - "path-browserify": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.1.tgz", - "integrity": "sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==", - "dev": true - }, - "punycode": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", - "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", - "dev": true - } - } - }, - "node-releases": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.4.tgz", - "integrity": "sha512-gbMzqQtTtDz/00jQzZ21PQzdI9PyLYqUSvD0p3naOhX4odFji0ZxYdnVwPTxmSwkmxhcFImpozceidSG+AgoPQ==" - }, - "normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "dev": true, - "requires": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - }, - "dependencies": { - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - } - } - }, - "normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true - }, - "normalize-range": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", - "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=", - "dev": true - }, - "npm-run-path": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", - "dev": true, - "requires": { - "path-key": "^3.0.0" - } - }, - "npmlog": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz", - "integrity": "sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==", - "dev": true, - "requires": { - "are-we-there-yet": "^2.0.0", - "console-control-strings": "^1.1.0", - "gauge": "^3.0.0", - "set-blocking": "^2.0.0" - } - }, - "nth-check": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.0.1.tgz", - "integrity": "sha512-it1vE95zF6dTT9lBsYbxvqh0Soy4SPowchj0UBGj/V6cTPnXXtQOPUbhZ6CmGzAD/rW22LQK6E96pcdJXk4A4w==", - "dev": true, - "requires": { - "boolbase": "^1.0.0" - } - }, - "num2fraction": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz", - "integrity": "sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=", - "dev": true - }, - "nwsapi": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.0.tgz", - "integrity": "sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==", - "dev": true - }, - "object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" - }, - "object-copy": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", - "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", - "dev": true, - "requires": { - "copy-descriptor": "^0.1.0", - "define-property": "^0.2.5", - "kind-of": "^3.0.3" - }, - "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - } - }, - "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - } - }, - "is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "dependencies": { - "kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true - } - } - }, - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "object-inspect": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.1.tgz", - "integrity": "sha512-Y/jF6vnvEtOPGiKD1+q+X0CiUYRQtEHp89MLLUJ7TUivtH8Ugn2+3A7Rynqk7BRsAoqeOQWnFnjpDrKSxDgIGA==", - "dev": true - }, - "object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true - }, - "object-visit": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", - "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", - "dev": true, - "requires": { - "isobject": "^3.0.0" - } - }, - "object.assign": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", - "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", - "dev": true, - "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "has-symbols": "^1.0.1", - "object-keys": "^1.1.1" - } - }, - "object.entries": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.5.tgz", - "integrity": "sha512-TyxmjUoZggd4OrrU1W66FMDG6CuqJxsFvymeyXI51+vQLN67zYfZseptRge703kKQdo4uccgAKebXFcRCzk4+g==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1" - } - }, - "object.fromentries": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.5.tgz", - "integrity": "sha512-CAyG5mWQRRiBU57Re4FKoTBjXfDoNwdFVH2Y1tS9PqCsfUTymAohOkEMSG3aRNKmv4lV3O7p1et7c187q6bynw==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1" - } - }, - "object.getownpropertydescriptors": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.4.tgz", - "integrity": "sha512-sccv3L/pMModT6dJAYF3fzGMVcb38ysQ0tEE6ixv2yXJDtEIPph268OlAdJj5/qZMZDq2g/jqvwppt36uS/uQQ==", - "dev": true, - "requires": { - "array.prototype.reduce": "^1.0.4", - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.1" - } - }, - "object.pick": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", - "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", - "dev": true, - "requires": { - "isobject": "^3.0.1" - } - }, - "object.values": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.5.tgz", - "integrity": "sha512-QUZRW0ilQ3PnPpbNtgdNV1PDbEqLIiSFB3l+EnGtBQ/8SUTLj1PZwtQHABZtLgwpJZTSZhuGLOGk57Drx2IvYg==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1" - } - }, - "objectorarray": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/objectorarray/-/objectorarray-1.0.5.tgz", - "integrity": "sha512-eJJDYkhJFFbBBAxeh8xW+weHlkI28n2ZdQV/J/DNfWfSKlGEf2xcfAbZTv3riEXHAhL9SVOTs2pRmXiSTf78xg==", - "dev": true - }, - "obuf": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.2.tgz", - "integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==", - "dev": true - }, - "on-finished": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", - "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", - "dev": true, - "requires": { - "ee-first": "1.1.1" - } - }, - "on-headers": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", - "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==", - "dev": true - }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dev": true, - "requires": { - "wrappy": "1" - } - }, - "onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dev": true, - "requires": { - "mimic-fn": "^2.1.0" - } - }, - "open": { - "version": "8.4.0", - "resolved": "https://registry.npmjs.org/open/-/open-8.4.0.tgz", - "integrity": "sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==", - "dev": true, - "requires": { - "define-lazy-prop": "^2.0.0", - "is-docker": "^2.1.1", - "is-wsl": "^2.2.0" - } - }, - "optionator": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", - "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", - "dev": true, - "requires": { - "deep-is": "~0.1.3", - "fast-levenshtein": "~2.0.6", - "levn": "~0.3.0", - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2", - "word-wrap": "~1.2.3" - } - }, - "original": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/original/-/original-1.0.2.tgz", - "integrity": "sha512-hyBVl6iqqUOJ8FqRe+l/gS8H+kKYjrEndd5Pm1MfBtsEKA038HkkdbAl/72EAXGyonD/PFsvmVG+EvcIpliMBg==", - "dev": true, - "optional": true, - "peer": true, - "requires": { - "url-parse": "^1.4.3" - } - }, - "os-browserify": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz", - "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=", - "dev": true - }, - "os-homedir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", - "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", - "dev": true, - "optional": true - }, - "p-all": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-all/-/p-all-2.1.0.tgz", - "integrity": "sha512-HbZxz5FONzz/z2gJfk6bFca0BCiSRF8jU3yCsWOen/vR6lZjfPOu/e7L3uFzTW1i0H8TlC3vqQstEJPQL4/uLA==", - "dev": true, - "requires": { - "p-map": "^2.0.0" - } - }, - "p-defer": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz", - "integrity": "sha1-n26xgvbJqozXQwBKfU+WsZaw+ww=", - "dev": true - }, - "p-event": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/p-event/-/p-event-4.2.0.tgz", - "integrity": "sha512-KXatOjCRXXkSePPb1Nbi0p0m+gQAwdlbhi4wQKJPI1HsMQS9g+Sqp2o+QHziPr7eYJyOZet836KoHEVM1mwOrQ==", - "dev": true, - "requires": { - "p-timeout": "^3.1.0" - } - }, - "p-filter": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-filter/-/p-filter-2.1.0.tgz", - "integrity": "sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw==", - "dev": true, - "requires": { - "p-map": "^2.0.0" - } - }, - "p-finally": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", - "dev": true - }, - "p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "requires": { - "p-try": "^2.0.0" - } - }, - "p-locate": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", - "dev": true, - "requires": { - "p-limit": "^3.0.2" - }, - "dependencies": { - "p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "dev": true, - "requires": { - "yocto-queue": "^0.1.0" - } - } - } - }, - "p-map": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", - "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", - "dev": true - }, - "p-retry": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-4.6.2.tgz", - "integrity": "sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==", - "dev": true, - "requires": { - "@types/retry": "0.12.0", - "retry": "^0.13.1" - } - }, - "p-timeout": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz", - "integrity": "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==", - "dev": true, - "requires": { - "p-finally": "^1.0.0" - } - }, - "p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true - }, - "pako": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", - "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", - "dev": true - }, - "parallel-transform": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/parallel-transform/-/parallel-transform-1.2.0.tgz", - "integrity": "sha512-P2vSmIu38uIlvdcU7fDkyrxj33gTUy/ABO5ZUbGowxNCopBq/OoD42bP4UmMrJoPyk4Uqf0mu3mtWBhHCZD8yg==", - "dev": true, - "requires": { - "cyclist": "^1.0.1", - "inherits": "^2.0.3", - "readable-stream": "^2.1.5" - } - }, - "param-case": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/param-case/-/param-case-3.0.4.tgz", - "integrity": "sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==", - "dev": true, - "requires": { - "dot-case": "^3.0.4", - "tslib": "^2.0.3" - } - }, - "parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "requires": { - "callsites": "^3.0.0" - } - }, - "parse-asn1": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", - "integrity": "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==", - "dev": true, - "requires": { - "asn1.js": "^5.2.0", - "browserify-aes": "^1.0.0", - "evp_bytestokey": "^1.0.0", - "pbkdf2": "^3.0.3", - "safe-buffer": "^5.1.1" - } - }, - "parse-entities": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-2.0.0.tgz", - "integrity": "sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==", - "requires": { - "character-entities": "^1.0.0", - "character-entities-legacy": "^1.0.0", - "character-reference-invalid": "^1.0.0", - "is-alphanumerical": "^1.0.0", - "is-decimal": "^1.0.0", - "is-hexadecimal": "^1.0.0" - } - }, - "parse-json": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", - "requires": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - } - }, - "parse5": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", - "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", - "dev": true - }, - "parseurl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", - "dev": true - }, - "pascal-case": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz", - "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==", - "dev": true, - "requires": { - "no-case": "^3.0.4", - "tslib": "^2.0.3" - } - }, - "pascalcase": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", - "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", - "dev": true - }, - "path-browserify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", - "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==", - "dev": true - }, - "path-dirname": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", - "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=", - "dev": true - }, - "path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true - }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true - }, - "path-is-inside": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", - "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", - "dev": true - }, - "path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true - }, - "path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" - }, - "path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=", - "dev": true - }, - "path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==" - }, - "pbkdf2": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz", - "integrity": "sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==", - "dev": true, - "requires": { - "create-hash": "^1.1.2", - "create-hmac": "^1.1.4", - "ripemd160": "^2.0.1", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" - } - }, - "picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "dev": true - }, - "pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", - "dev": true - }, - "pinkie": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", - "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", - "dev": true - }, - "pinkie-promise": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", - "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", - "dev": true, - "requires": { - "pinkie": "^2.0.0" - } - }, - "pirates": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.5.tgz", - "integrity": "sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ==", - "dev": true - }, - "pkg-dir": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-5.0.0.tgz", - "integrity": "sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA==", - "dev": true, - "requires": { - "find-up": "^5.0.0" - } - }, - "pnp-webpack-plugin": { - "version": "1.6.4", - "resolved": "https://registry.npmjs.org/pnp-webpack-plugin/-/pnp-webpack-plugin-1.6.4.tgz", - "integrity": "sha512-7Wjy+9E3WwLOEL30D+m8TSTF7qJJUJLONBnwQp0518siuMxUQUbgZwssaFX+QKlZkjHZcw/IpZCt/H0srrntSg==", - "dev": true, - "requires": { - "ts-pnp": "^1.1.6" - } - }, - "popmotion": { - "version": "11.0.3", - "resolved": "https://registry.npmjs.org/popmotion/-/popmotion-11.0.3.tgz", - "integrity": "sha512-Y55FLdj3UxkR7Vl3s7Qr4e9m0onSnP8W7d/xQLsoJM40vs6UKHFdygs6SWryasTZYqugMjm3BepCF4CWXDiHgA==", - "requires": { - "framesync": "6.0.1", - "hey-listen": "^1.0.8", - "style-value-types": "5.0.0", - "tslib": "^2.1.0" - } - }, - "posix-character-classes": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", - "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", - "dev": true - }, - "postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", - "dev": true, - "requires": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - } - } - }, - "postcss-flexbugs-fixes": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/postcss-flexbugs-fixes/-/postcss-flexbugs-fixes-4.2.1.tgz", - "integrity": "sha512-9SiofaZ9CWpQWxOwRh1b/r85KD5y7GgvsNt1056k6OYLvWUun0czCvogfJgylC22uJTwW1KzY3Gz65NZRlvoiQ==", - "dev": true, - "requires": { - "postcss": "^7.0.26" - } - }, - "postcss-loader": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-4.3.0.tgz", - "integrity": "sha512-M/dSoIiNDOo8Rk0mUqoj4kpGq91gcxCfb9PoyZVdZ76/AuhxylHDYZblNE8o+EQ9AMSASeMFEKxZf5aU6wlx1Q==", - "dev": true, - "requires": { - "cosmiconfig": "^7.0.0", - "klona": "^2.0.4", - "loader-utils": "^2.0.0", - "schema-utils": "^3.0.0", - "semver": "^7.3.4" - }, - "dependencies": { - "cosmiconfig": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz", - "integrity": "sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==", - "dev": true, - "requires": { - "@types/parse-json": "^4.0.0", - "import-fresh": "^3.2.1", - "parse-json": "^5.0.0", - "path-type": "^4.0.0", - "yaml": "^1.10.0" - } - }, - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "requires": { - "yallist": "^4.0.0" - } - }, - "semver": { - "version": "7.3.7", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - } - } - }, - "postcss-modules-extract-imports": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-2.0.0.tgz", - "integrity": "sha512-LaYLDNS4SG8Q5WAWqIJgdHPJrDDr/Lv775rMBFUbgjTz6j34lUznACHcdRWroPvXANP2Vj7yNK57vp9eFqzLWQ==", - "dev": true, - "requires": { - "postcss": "^7.0.5" - } - }, - "postcss-modules-local-by-default": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-3.0.3.tgz", - "integrity": "sha512-e3xDq+LotiGesympRlKNgaJ0PCzoUIdpH0dj47iWAui/kyTgh3CiAr1qP54uodmJhl6p9rN6BoNcdEDVJx9RDw==", - "dev": true, - "requires": { - "icss-utils": "^4.1.1", - "postcss": "^7.0.32", - "postcss-selector-parser": "^6.0.2", - "postcss-value-parser": "^4.1.0" - } - }, - "postcss-modules-scope": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-2.2.0.tgz", - "integrity": "sha512-YyEgsTMRpNd+HmyC7H/mh3y+MeFWevy7V1evVhJWewmMbjDHIbZbOXICC2y+m1xI1UVfIT1HMW/O04Hxyu9oXQ==", - "dev": true, - "requires": { - "postcss": "^7.0.6", - "postcss-selector-parser": "^6.0.0" - } - }, - "postcss-modules-values": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-3.0.0.tgz", - "integrity": "sha512-1//E5jCBrZ9DmRX+zCtmQtRSV6PV42Ix7Bzj9GbwJceduuf7IqP8MgeTXuRDHOWj2m0VzZD5+roFWDuU8RQjcg==", - "dev": true, - "requires": { - "icss-utils": "^4.0.0", - "postcss": "^7.0.6" - } - }, - "postcss-selector-parser": { - "version": "6.0.10", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.10.tgz", - "integrity": "sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==", - "dev": true, - "requires": { - "cssesc": "^3.0.0", - "util-deprecate": "^1.0.2" - } - }, - "postcss-value-parser": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", - "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", - "dev": true - }, - "prelude-ls": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", - "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", - "dev": true - }, - "prettier": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.0.tgz", - "integrity": "sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w==", - "dev": true - }, - "pretty-error": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/pretty-error/-/pretty-error-4.0.0.tgz", - "integrity": "sha512-AoJ5YMAcXKYxKhuJGdcvse+Voc6v1RgnsR3nWcYU7q4t6z0Q6T86sv5Zq8VIRbOWWFpvdGE83LtdSMNd+6Y0xw==", - "dev": true, - "requires": { - "lodash": "^4.17.20", - "renderkid": "^3.0.0" - } - }, - "pretty-format": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", - "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", - "dev": true, - "requires": { - "ansi-regex": "^5.0.1", - "ansi-styles": "^5.0.0", - "react-is": "^17.0.1" - }, - "dependencies": { - "ansi-styles": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", - "dev": true - }, - "react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - } - } - }, - "pretty-hrtime": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz", - "integrity": "sha1-t+PqQkNaTJsnWdmeDyAesZWALuE=", - "dev": true - }, - "prismjs": { - "version": "1.28.0", - "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.28.0.tgz", - "integrity": "sha512-8aaXdYvl1F7iC7Xm1spqSaY/OJBpYW3v+KJ+F17iYxvdc8sfjW194COK5wVhMZX45tGteiBQgdvD/nhxcRwylw==" - }, - "process": { - "version": "0.11.10", - "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", - "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=", - "dev": true - }, - "process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", - "dev": true - }, - "promise-inflight": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", - "integrity": "sha1-mEcocL8igTL8vdhoEputEsPAKeM=", - "dev": true - }, - "promise.allsettled": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/promise.allsettled/-/promise.allsettled-1.0.5.tgz", - "integrity": "sha512-tVDqeZPoBC0SlzJHzWGZ2NKAguVq2oiYj7gbggbiTvH2itHohijTp7njOUA0aQ/nl+0lr/r6egmhoYu63UZ/pQ==", - "dev": true, - "requires": { - "array.prototype.map": "^1.0.4", - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1", - "get-intrinsic": "^1.1.1", - "iterate-value": "^1.0.2" - } - }, - "promise.prototype.finally": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/promise.prototype.finally/-/promise.prototype.finally-3.1.3.tgz", - "integrity": "sha512-EXRF3fC9/0gz4qkt/f5EP5iW4kj9oFpBICNpCNOb/52+8nlHIX07FPLbi/q4qYBQ1xZqivMzTpNQSnArVASolQ==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1" - } - }, - "prompts": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", - "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", - "dev": true, - "requires": { - "kleur": "^3.0.3", - "sisteransi": "^1.0.5" - } - }, - "prop-types": { - "version": "15.8.1", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", - "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", - "requires": { - "loose-envify": "^1.4.0", - "object-assign": "^4.1.1", - "react-is": "^16.13.1" - } - }, - "property-information": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/property-information/-/property-information-5.6.0.tgz", - "integrity": "sha512-YUHSPk+A30YPv+0Qf8i9Mbfe/C0hdPXk1s1jPVToV8pk8BQtpw10ct89Eo7OWkutrwqvT0eicAxlOg3dOAu8JA==", - "requires": { - "xtend": "^4.0.0" - } - }, - "proxy-addr": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", - "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", - "dev": true, - "requires": { - "forwarded": "0.2.0", - "ipaddr.js": "1.9.1" - }, - "dependencies": { - "ipaddr.js": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", - "dev": true - } - } - }, - "prr": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", - "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY=", - "dev": true - }, - "psl": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", - "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==", - "dev": true - }, - "public-encrypt": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", - "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", - "dev": true, - "requires": { - "bn.js": "^4.1.0", - "browserify-rsa": "^4.0.0", - "create-hash": "^1.1.0", - "parse-asn1": "^5.0.0", - "randombytes": "^2.0.1", - "safe-buffer": "^5.1.2" - }, - "dependencies": { - "bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "dev": true - } - } - }, - "pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "dev": true, - "requires": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "pumpify": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-1.5.1.tgz", - "integrity": "sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ==", - "dev": true, - "requires": { - "duplexify": "^3.6.0", - "inherits": "^2.0.3", - "pump": "^2.0.0" - }, - "dependencies": { - "pump": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz", - "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", - "dev": true, - "requires": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - } - } - }, - "punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", - "dev": true - }, - "qs": { - "version": "6.10.3", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.3.tgz", - "integrity": "sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ==", - "dev": true, - "requires": { - "side-channel": "^1.0.4" - } - }, - "querystring": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.1.tgz", - "integrity": "sha512-wkvS7mL/JMugcup3/rMitHmd9ecIGd2lhFhK9N3UUQ450h66d1r3Y9nvXzQAW1Lq+wyx61k/1pfKS5KuKiyEbg==", - "dev": true - }, - "querystring-es3": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", - "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=", - "dev": true - }, - "querystringify": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", - "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==", - "dev": true, - "optional": true, - "peer": true - }, - "queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "dev": true - }, - "ramda": { - "version": "0.28.0", - "resolved": "https://registry.npmjs.org/ramda/-/ramda-0.28.0.tgz", - "integrity": "sha512-9QnLuG/kPVgWvMQ4aODhsBUFKOUmnbUnsSXACv+NCQZcHbeb+v8Lodp8OVxtRULN1/xOyYLLaL6npE6dMq5QTA==", - "dev": true - }, - "randombytes": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", - "dev": true, - "requires": { - "safe-buffer": "^5.1.0" - } - }, - "randomfill": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", - "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", - "dev": true, - "requires": { - "randombytes": "^2.0.5", - "safe-buffer": "^5.1.0" - } - }, - "range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", - "dev": true - }, - "raw-body": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", - "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", - "dev": true, - "requires": { - "bytes": "3.1.2", - "http-errors": "2.0.0", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" - } - }, - "raw-loader": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/raw-loader/-/raw-loader-4.0.2.tgz", - "integrity": "sha512-ZnScIV3ag9A4wPX/ZayxL/jZH+euYb6FcUinPcgiQW0+UBtEv0O6Q3lGd3cqJ+GHH+rksEv3Pj99oxJ3u3VIKA==", - "dev": true, - "requires": { - "loader-utils": "^2.0.0", - "schema-utils": "^3.0.0" - } - }, - "react": { - "version": "18.1.0", - "resolved": "https://registry.npmjs.org/react/-/react-18.1.0.tgz", - "integrity": "sha512-4oL8ivCz5ZEPyclFQXaNksK3adutVS8l2xzZU0cqEFrE9Sb7fC0EFK5uEk74wIreL1DERyjvsU915j1pcT2uEQ==", - "requires": { - "loose-envify": "^1.1.0" - } - }, - "react-docgen": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/react-docgen/-/react-docgen-5.4.0.tgz", - "integrity": "sha512-JBjVQ9cahmNlfjMGxWUxJg919xBBKAoy3hgDgKERbR+BcF4ANpDuzWAScC7j27hZfd8sJNmMPOLWo9+vB/XJEQ==", - "dev": true, - "requires": { - "@babel/core": "^7.7.5", - "@babel/generator": "^7.12.11", - "@babel/runtime": "^7.7.6", - "ast-types": "^0.14.2", - "commander": "^2.19.0", - "doctrine": "^3.0.0", - "estree-to-babel": "^3.1.0", - "neo-async": "^2.6.1", - "node-dir": "^0.1.10", - "strip-indent": "^3.0.0" - } - }, - "react-docgen-typescript": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/react-docgen-typescript/-/react-docgen-typescript-2.2.2.tgz", - "integrity": "sha512-tvg2ZtOpOi6QDwsb3GZhOjDkkX0h8Z2gipvTg6OVMUyoYoURhEiRNePT8NZItTVCDh39JJHnLdfCOkzoLbFnTg==", - "dev": true, - "requires": {} - }, - "react-dom": { - "version": "18.1.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.1.0.tgz", - "integrity": "sha512-fU1Txz7Budmvamp7bshe4Zi32d0ll7ect+ccxNu9FlObT605GOEB8BfO4tmRJ39R5Zj831VCpvQ05QPBW5yb+w==", - "requires": { - "loose-envify": "^1.1.0", - "scheduler": "^0.22.0" - } - }, - "react-fast-compare": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz", - "integrity": "sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA==" - }, - "react-intersection-observer": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/react-intersection-observer/-/react-intersection-observer-9.1.0.tgz", - "integrity": "sha512-XSDWQGzgJ4/B4eW39+qa3S+uc4Gb+m6lxXR54m/uD5lqeL5sLrgYdntbjl4BlTYAblgUhz+JB5obINhZaD+c0Q==", - "requires": {} - }, - "react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" - }, - "react-popper": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/react-popper/-/react-popper-2.3.0.tgz", - "integrity": "sha512-e1hj8lL3uM+sgSR4Lxzn5h1GxBlpa4CQz0XLF8kx4MDrDRWY0Ena4c97PUeSX9i5W3UAfDP0z0FXCTQkoXUl3Q==", - "requires": { - "react-fast-compare": "^3.0.1", - "warning": "^4.0.2" - } - }, - "react-refresh": { - "version": "0.13.0", - "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.13.0.tgz", - "integrity": "sha512-XP8A9BT0CpRBD+NYLLeIhld/RqG9+gktUjW1FkE+Vm7OCinbG1SshcK5tb9ls4kzvjZr9mOQc7HYgBngEyPAXg==", - "dev": true - }, - "react-syntax-highlighter": { - "version": "15.5.0", - "resolved": "https://registry.npmjs.org/react-syntax-highlighter/-/react-syntax-highlighter-15.5.0.tgz", - "integrity": "sha512-+zq2myprEnQmH5yw6Gqc8lD55QHnpKaU8TOcFeC/Lg/MQSs8UknEA0JC4nTZGFAXC2J2Hyj/ijJ7NlabyPi2gg==", - "requires": { - "@babel/runtime": "^7.3.1", - "highlight.js": "^10.4.1", - "lowlight": "^1.17.0", - "prismjs": "^1.27.0", - "refractor": "^3.6.0" - } - }, - "read-pkg": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", - "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", - "dev": true, - "requires": { - "@types/normalize-package-data": "^2.4.0", - "normalize-package-data": "^2.5.0", - "parse-json": "^5.0.0", - "type-fest": "^0.6.0" - }, - "dependencies": { - "type-fest": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", - "dev": true - } - } - }, - "read-pkg-up": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", - "dev": true, - "requires": { - "find-up": "^4.1.0", - "read-pkg": "^5.2.0", - "type-fest": "^0.8.1" - }, - "dependencies": { - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, - "locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "requires": { - "p-locate": "^4.1.0" - } - }, - "p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "requires": { - "p-limit": "^2.2.0" - } - }, - "type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true - } - } - }, - "readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dev": true, - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - }, - "dependencies": { - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, - "requires": { - "safe-buffer": "~5.1.0" - } - } - } - }, - "readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "dev": true, - "requires": { - "picomatch": "^2.2.1" - } - }, - "rechoir": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.7.0.tgz", - "integrity": "sha512-ADsDEH2bvbjltXEP+hTIAmeFekTFK0V2BTxMkok6qILyAJEXV0AFfoWcAq4yfll5VdIMd/RVXq0lR+wQi5ZU3Q==", - "dev": true, - "requires": { - "resolve": "^1.9.0" - } - }, - "redent": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", - "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", - "dev": true, - "optional": true, - "requires": { - "indent-string": "^2.1.0", - "strip-indent": "^1.0.1" - }, - "dependencies": { - "strip-indent": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", - "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", - "dev": true, - "optional": true, - "requires": { - "get-stdin": "^4.0.1" - } - } - } - }, - "refractor": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/refractor/-/refractor-3.6.0.tgz", - "integrity": "sha512-MY9W41IOWxxk31o+YvFCNyNzdkc9M20NoZK5vq6jkv4I/uh2zkWcfudj0Q1fovjUQJrNewS9NMzeTtqPf+n5EA==", - "requires": { - "hastscript": "^6.0.0", - "parse-entities": "^2.0.0", - "prismjs": "~1.27.0" - }, - "dependencies": { - "prismjs": { - "version": "1.27.0", - "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.27.0.tgz", - "integrity": "sha512-t13BGPUlFDR7wRB5kQDG4jjl7XeuH6jbJGt11JHPL96qwsEHNX2+68tFXqc1/k+/jALsbSWJKUOT/hcYAZ5LkA==" - } - } - }, - "regenerate": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", - "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", - "dev": true - }, - "regenerate-unicode-properties": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.0.1.tgz", - "integrity": "sha512-vn5DU6yg6h8hP/2OkQo3K7uVILvY4iu0oI4t3HFa81UPkhGJwkRwM10JEc3upjdhHjs/k8GJY1sRBhk5sr69Bw==", - "dev": true, - "requires": { - "regenerate": "^1.4.2" - } - }, - "regenerator-runtime": { - "version": "0.13.7", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz", - "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==" - }, - "regenerator-transform": { - "version": "0.15.0", - "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.0.tgz", - "integrity": "sha512-LsrGtPmbYg19bcPHwdtmXwbW+TqNvtY4riE3P83foeHRroMbH6/2ddFBfab3t7kbzc7v7p4wbkIecHImqt0QNg==", - "dev": true, - "requires": { - "@babel/runtime": "^7.8.4" - } - }, - "regex-not": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", - "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", - "dev": true, - "requires": { - "extend-shallow": "^3.0.2", - "safe-regex": "^1.1.0" - } - }, - "regexp.prototype.flags": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz", - "integrity": "sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "functions-have-names": "^1.2.2" - } - }, - "regexpu-core": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.0.1.tgz", - "integrity": "sha512-CriEZlrKK9VJw/xQGJpQM5rY88BtuL8DM+AEwvcThHilbxiTAy8vq4iJnd2tqq8wLmjbGZzP7ZcKFjbGkmEFrw==", - "dev": true, - "requires": { - "regenerate": "^1.4.2", - "regenerate-unicode-properties": "^10.0.1", - "regjsgen": "^0.6.0", - "regjsparser": "^0.8.2", - "unicode-match-property-ecmascript": "^2.0.0", - "unicode-match-property-value-ecmascript": "^2.0.0" - } - }, - "regjsgen": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.6.0.tgz", - "integrity": "sha512-ozE883Uigtqj3bx7OhL1KNbCzGyW2NQZPl6Hs09WTvCuZD5sTI4JY58bkbQWa/Y9hxIsvJ3M8Nbf7j54IqeZbA==", - "dev": true - }, - "regjsparser": { - "version": "0.8.4", - "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.8.4.tgz", - "integrity": "sha512-J3LABycON/VNEu3abOviqGHuB/LOtOQj8SKmfP9anY5GfAVw/SPjwzSjxGjbZXIxbGfqTHtJw58C2Li/WkStmA==", - "dev": true, - "requires": { - "jsesc": "~0.5.0" - }, - "dependencies": { - "jsesc": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", - "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", - "dev": true - } - } - }, - "relateurl": { - "version": "0.2.7", - "resolved": "https://registry.npmjs.org/relateurl/-/relateurl-0.2.7.tgz", - "integrity": "sha1-VNvzd+UUQKypCkzSdGANP/LYiKk=", - "dev": true - }, - "remark-footnotes": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/remark-footnotes/-/remark-footnotes-2.0.0.tgz", - "integrity": "sha512-3Clt8ZMH75Ayjp9q4CorNeyjwIxHFcTkaektplKGl2A1jNGEUey8cKL0ZC5vJwfcD5GFGsNLImLG/NGzWIzoMQ==", - "dev": true - }, - "remark-mdx": { - "version": "1.6.22", - "resolved": "https://registry.npmjs.org/remark-mdx/-/remark-mdx-1.6.22.tgz", - "integrity": "sha512-phMHBJgeV76uyFkH4rvzCftLfKCr2RZuF+/gmVcaKrpsihyzmhXjA0BEMDaPTXG5y8qZOKPVo83NAOX01LPnOQ==", - "dev": true, - "requires": { - "@babel/core": "7.12.9", - "@babel/helper-plugin-utils": "7.10.4", - "@babel/plugin-proposal-object-rest-spread": "7.12.1", - "@babel/plugin-syntax-jsx": "7.12.1", - "@mdx-js/util": "1.6.22", - "is-alphabetical": "1.0.4", - "remark-parse": "8.0.3", - "unified": "9.2.0" - }, - "dependencies": { - "@babel/core": { - "version": "7.12.9", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.12.9.tgz", - "integrity": "sha512-gTXYh3M5wb7FRXQy+FErKFAv90BnlOuNn1QkCK2lREoPAjrQCO49+HVSrFoe5uakFAF5eenS75KbO2vQiLrTMQ==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.10.4", - "@babel/generator": "^7.12.5", - "@babel/helper-module-transforms": "^7.12.1", - "@babel/helpers": "^7.12.5", - "@babel/parser": "^7.12.7", - "@babel/template": "^7.12.7", - "@babel/traverse": "^7.12.9", - "@babel/types": "^7.12.7", - "convert-source-map": "^1.7.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.1", - "json5": "^2.1.2", - "lodash": "^4.17.19", - "resolve": "^1.3.2", - "semver": "^5.4.1", - "source-map": "^0.5.0" - } - }, - "@babel/helper-plugin-utils": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.4.tgz", - "integrity": "sha512-O4KCvQA6lLiMU9l2eawBPMf1xPP8xPfB3iEQw150hOVTqj/rfXz0ThTb4HEzqQfs2Bmo5Ay8BzxfzVtBrr9dVg==", - "dev": true - }, - "@babel/plugin-proposal-object-rest-spread": { - "version": "7.12.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.12.1.tgz", - "integrity": "sha512-s6SowJIjzlhx8o7lsFx5zmY4At6CTtDvgNQDdPzkBQucle58A6b/TTeEBYtyDgmcXjUTM+vE8YOGHZzzbc/ioA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.10.4", - "@babel/plugin-syntax-object-rest-spread": "^7.8.0", - "@babel/plugin-transform-parameters": "^7.12.1" - } - }, - "@babel/plugin-syntax-jsx": { - "version": "7.12.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.12.1.tgz", - "integrity": "sha512-1yRi7yAtB0ETgxdY9ti/p2TivUxJkTdhu/ZbF9MshVGqOx1TdB3b7xCXs49Fupgg50N45KcAsRP/ZqWjs9SRjg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.10.4" - } - }, - "debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true - } - } - }, - "remark-parse": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-8.0.3.tgz", - "integrity": "sha512-E1K9+QLGgggHxCQtLt++uXltxEprmWzNfg+MxpfHsZlrddKzZ/hZyWHDbK3/Ap8HJQqYJRXP+jHczdL6q6i85Q==", - "dev": true, - "requires": { - "ccount": "^1.0.0", - "collapse-white-space": "^1.0.2", - "is-alphabetical": "^1.0.0", - "is-decimal": "^1.0.0", - "is-whitespace-character": "^1.0.0", - "is-word-character": "^1.0.0", - "markdown-escapes": "^1.0.0", - "parse-entities": "^2.0.0", - "repeat-string": "^1.5.4", - "state-toggle": "^1.0.0", - "trim": "0.0.1", - "trim-trailing-lines": "^1.0.0", - "unherit": "^1.0.4", - "unist-util-remove-position": "^2.0.0", - "vfile-location": "^3.0.0", - "xtend": "^4.0.1" - } - }, - "remark-squeeze-paragraphs": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/remark-squeeze-paragraphs/-/remark-squeeze-paragraphs-4.0.0.tgz", - "integrity": "sha512-8qRqmL9F4nuLPIgl92XUuxI3pFxize+F1H0e/W3llTk0UsjJaj01+RrirkMw7P21RKe4X6goQhYRSvNWX+70Rw==", - "dev": true, - "requires": { - "mdast-squeeze-paragraphs": "^4.0.0" - } - }, - "remove-trailing-separator": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", - "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=", - "dev": true, - "optional": true - }, - "renderkid": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/renderkid/-/renderkid-3.0.0.tgz", - "integrity": "sha512-q/7VIQA8lmM1hF+jn+sFSPWGlMkSAeNYcPLmDQx2zzuiDfaLrOmumR8iaUKlenFgh0XRPIUeSPlH3A+AW3Z5pg==", - "dev": true, - "requires": { - "css-select": "^4.1.3", - "dom-converter": "^0.2.0", - "htmlparser2": "^6.1.0", - "lodash": "^4.17.21", - "strip-ansi": "^6.0.1" - } - }, - "repeat-element": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.4.tgz", - "integrity": "sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==", - "dev": true - }, - "repeat-string": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", - "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", - "dev": true - }, - "repeating": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", - "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", - "dev": true, - "optional": true, - "requires": { - "is-finite": "^1.0.0" - } - }, - "require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", - "dev": true - }, - "require-from-string": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", - "dev": true - }, - "requires-port": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", - "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=", - "dev": true - }, - "resolve": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", - "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", - "requires": { - "is-core-module": "^2.2.0", - "path-parse": "^1.0.6" - } - }, - "resolve-from": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "dev": true - }, - "resolve-url": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", - "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", - "dev": true - }, - "ret": { - "version": "0.1.15", - "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", - "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", - "dev": true - }, - "retry": { - "version": "0.13.1", - "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", - "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==", - "dev": true - }, - "reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", - "dev": true - }, - "rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - }, - "ripemd160": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", - "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", - "dev": true, - "requires": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1" - } - }, - "run-parallel": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "dev": true, - "requires": { - "queue-microtask": "^1.2.2" - } - }, - "run-queue": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/run-queue/-/run-queue-1.0.3.tgz", - "integrity": "sha1-6Eg5bwV9Ij8kOGkkYY4laUFh7Ec=", - "dev": true, - "requires": { - "aproba": "^1.1.1" - } - }, - "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true - }, - "safe-regex": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", - "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", - "dev": true, - "requires": { - "ret": "~0.1.10" - } - }, - "safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "dev": true - }, - "saxes": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/saxes/-/saxes-5.0.1.tgz", - "integrity": "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==", - "dev": true, - "requires": { - "xmlchars": "^2.2.0" - } - }, - "scheduler": { - "version": "0.22.0", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.22.0.tgz", - "integrity": "sha512-6QAm1BgQI88NPYymgGQLCZgvep4FyePDWFpXVK+zNSUgHwlqpJy8VEh8Et0KxTACS4VWwMousBElAZOH9nkkoQ==", - "requires": { - "loose-envify": "^1.1.0" - } - }, - "schema-utils": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz", - "integrity": "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==", - "dev": true, - "requires": { - "@types/json-schema": "^7.0.6", - "ajv": "^6.12.5", - "ajv-keywords": "^3.5.2" - } - }, - "select-hose": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz", - "integrity": "sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo=", - "dev": true - }, - "selfsigned": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-2.0.1.tgz", - "integrity": "sha512-LmME957M1zOsUhG+67rAjKfiWFox3SBxE/yymatMZsAx+oMrJ0YQ8AToOnyCm7xbeg2ep37IHLxdu0o2MavQOQ==", - "dev": true, - "requires": { - "node-forge": "^1" - } - }, - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" - }, - "send": { - "version": "0.18.0", - "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", - "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", - "dev": true, - "requires": { - "debug": "2.6.9", - "depd": "2.0.0", - "destroy": "1.2.0", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "2.0.0", - "mime": "1.6.0", - "ms": "2.1.3", - "on-finished": "2.4.1", - "range-parser": "~1.2.1", - "statuses": "2.0.1" - }, - "dependencies": { - "depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", - "dev": true - }, - "ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true - }, - "statuses": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", - "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", - "dev": true - } - } - }, - "serialize-javascript": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", - "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", - "dev": true, - "requires": { - "randombytes": "^2.1.0" - } - }, - "serve-favicon": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/serve-favicon/-/serve-favicon-2.5.0.tgz", - "integrity": "sha1-k10kDN/g9YBTB/3+ln2IlCosvPA=", - "dev": true, - "requires": { - "etag": "~1.8.1", - "fresh": "0.5.2", - "ms": "2.1.1", - "parseurl": "~1.3.2", - "safe-buffer": "5.1.1" - }, - "dependencies": { - "safe-buffer": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz", - "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==", - "dev": true - } - } - }, - "serve-index": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz", - "integrity": "sha1-03aNabHn2C5c4FD/9bRTvqEqkjk=", - "dev": true, - "requires": { - "accepts": "~1.3.4", - "batch": "0.6.1", - "debug": "2.6.9", - "escape-html": "~1.0.3", - "http-errors": "~1.6.2", - "mime-types": "~2.1.17", - "parseurl": "~1.3.2" - }, - "dependencies": { - "http-errors": { - "version": "1.6.3", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", - "integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=", - "dev": true, - "requires": { - "depd": "~1.1.2", - "inherits": "2.0.3", - "setprototypeof": "1.1.0", - "statuses": ">= 1.4.0 < 2" - } - }, - "inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", - "dev": true - }, - "setprototypeof": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", - "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", - "dev": true - } - } - }, - "serve-static": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", - "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", - "dev": true, - "requires": { - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "parseurl": "~1.3.3", - "send": "0.18.0" - } - }, - "set-blocking": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", - "dev": true - }, - "set-value": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", - "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", - "dev": true, - "requires": { - "extend-shallow": "^2.0.1", - "is-extendable": "^0.1.1", - "is-plain-object": "^2.0.3", - "split-string": "^3.0.1" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true - } - } - }, - "setimmediate": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", - "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=", - "dev": true - }, - "setprototypeof": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", - "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", - "dev": true - }, - "sha.js": { - "version": "2.4.11", - "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", - "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", - "dev": true, - "requires": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, - "shallow-clone": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", - "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", - "dev": true, - "requires": { - "kind-of": "^6.0.2" - } - }, - "shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, - "requires": { - "shebang-regex": "^3.0.0" - } - }, - "shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true - }, - "side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "dev": true, - "requires": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" - } - }, - "signal-exit": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", - "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==", - "dev": true - }, - "sisteransi": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", - "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", - "dev": true - }, - "slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true - }, - "snapdragon": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", - "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", - "dev": true, - "requires": { - "base": "^0.11.1", - "debug": "^2.2.0", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "map-cache": "^0.2.2", - "source-map": "^0.5.6", - "source-map-resolve": "^0.5.0", - "use": "^3.1.0" - }, - "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - }, - "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - } - }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true - }, - "kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true - } - } - }, - "snapdragon-node": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", - "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", - "dev": true, - "requires": { - "define-property": "^1.0.0", - "isobject": "^3.0.0", - "snapdragon-util": "^3.0.1" - }, - "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, - "requires": { - "is-descriptor": "^1.0.0" - } - } - } - }, - "snapdragon-util": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", - "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", - "dev": true, - "requires": { - "kind-of": "^3.2.0" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "sockjs": { - "version": "0.3.21", - "resolved": "https://registry.npmjs.org/sockjs/-/sockjs-0.3.21.tgz", - "integrity": "sha512-DhbPFGpxjc6Z3I+uX07Id5ZO2XwYsWOrYjaSeieES78cq+JaJvVe5q/m1uvjIQhXinhIeCFRH6JgXe+mvVMyXw==", - "dev": true, - "requires": { - "faye-websocket": "^0.11.3", - "uuid": "^3.4.0", - "websocket-driver": "^0.7.4" - } - }, - "sockjs-client": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/sockjs-client/-/sockjs-client-1.5.1.tgz", - "integrity": "sha512-VnVAb663fosipI/m6pqRXakEOw7nvd7TUgdr3PlR/8V2I95QIdwT8L4nMxhyU8SmDBHYXU1TOElaKOmKLfYzeQ==", - "dev": true, - "optional": true, - "peer": true, - "requires": { - "debug": "^3.2.6", - "eventsource": "^1.0.7", - "faye-websocket": "^0.11.3", - "inherits": "^2.0.4", - "json3": "^3.3.3", - "url-parse": "^1.5.1" - }, - "dependencies": { - "debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dev": true, - "optional": true, - "peer": true, - "requires": { - "ms": "^2.1.1" - } - }, - "ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true, - "optional": true, - "peer": true - } - } - }, - "source-list-map": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz", - "integrity": "sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==", - "dev": true - }, - "source-map": { - "version": "git+ssh://git@github.com/GerHobbelt/source-map.git#cb653e459c8a75c91c829c057c833f466b88aabe", - "dev": true, - "from": "source-map@GerHobbelt/source-map#patch-8", - "requires": { - "whatwg-url": "^7.0.0" - }, - "dependencies": { - "tr46": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz", - "integrity": "sha1-qLE/1r/SSJUZZ0zN5VujaTtwbQk=", - "dev": true, - "requires": { - "punycode": "^2.1.0" - } - }, - "webidl-conversions": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", - "integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==", - "dev": true - }, - "whatwg-url": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz", - "integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==", - "dev": true, - "requires": { - "lodash.sortby": "^4.7.0", - "tr46": "^1.0.1", - "webidl-conversions": "^4.0.2" - } - } - } - }, - "source-map-js": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", - "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", - "dev": true - }, - "source-map-loader": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/source-map-loader/-/source-map-loader-3.0.1.tgz", - "integrity": "sha512-Vp1UsfyPvgujKQzi4pyDiTOnE3E4H+yHvkVRN3c/9PJmQS4CQJExvcDvaX/D+RV+xQben9HJ56jMJS3CgUeWyA==", - "dev": true, - "requires": { - "abab": "^2.0.5", - "iconv-lite": "^0.6.3", - "source-map-js": "^1.0.1" - }, - "dependencies": { - "iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "dev": true, - "requires": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - } - } - } - }, - "source-map-resolve": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz", - "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", - "dev": true, - "requires": { - "atob": "^2.1.2", - "decode-uri-component": "^0.2.0", - "resolve-url": "^0.2.1", - "source-map-url": "^0.4.0", - "urix": "^0.1.0" - } - }, - "source-map-support": { - "version": "0.5.21", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", - "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", - "dev": true, - "requires": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - } - } - }, - "source-map-url": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.1.tgz", - "integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==", - "dev": true - }, - "space-separated-tokens": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-1.1.5.tgz", - "integrity": "sha512-q/JSVd1Lptzhf5bkYm4ob4iWPjx0KiRe3sRFBNrVqbJkFaBm5vbbowy1mymoPNLRa52+oadOhJ+K49wsSeSjTA==" - }, - "spdx-correct": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", - "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", - "dev": true, - "requires": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" - } - }, - "spdx-exceptions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", - "dev": true - }, - "spdx-expression-parse": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", - "dev": true, - "requires": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" - } - }, - "spdx-license-ids": { - "version": "3.0.10", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.10.tgz", - "integrity": "sha512-oie3/+gKf7QtpitB0LYLETe+k8SifzsX4KixvpOsbI6S0kRiRQ5MKOio8eMSAKQ17N06+wdEOXRiId+zOxo0hA==", - "dev": true - }, - "spdy": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/spdy/-/spdy-4.0.2.tgz", - "integrity": "sha512-r46gZQZQV+Kl9oItvl1JZZqJKGr+oEkB08A6BzkiR7593/7IbtuncXHd2YoYeTsG4157ZssMu9KYvUHLcjcDoA==", - "dev": true, - "requires": { - "debug": "^4.1.0", - "handle-thing": "^2.0.0", - "http-deceiver": "^1.2.7", - "select-hose": "^2.0.0", - "spdy-transport": "^3.0.0" - }, - "dependencies": { - "debug": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", - "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", - "dev": true, - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - } - } - }, - "spdy-transport": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/spdy-transport/-/spdy-transport-3.0.0.tgz", - "integrity": "sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw==", - "dev": true, - "requires": { - "debug": "^4.1.0", - "detect-node": "^2.0.4", - "hpack.js": "^2.1.6", - "obuf": "^1.1.2", - "readable-stream": "^3.0.6", - "wbuf": "^1.7.3" - }, - "dependencies": { - "debug": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", - "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", - "dev": true, - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dev": true, - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - } - } - }, - "split-string": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", - "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", - "dev": true, - "requires": { - "extend-shallow": "^3.0.0" - } - }, - "ssri": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.2.tgz", - "integrity": "sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q==", - "dev": true, - "requires": { - "figgy-pudding": "^3.5.1" - } - }, - "stable": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/stable/-/stable-0.1.8.tgz", - "integrity": "sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==", - "dev": true - }, - "stackframe": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.2.0.tgz", - "integrity": "sha512-GrdeshiRmS1YLMYgzF16olf2jJ/IzxXY9lhKOskuVziubpTYcYqyOwYeJKzQkwy7uN0fYSsbsC4RQaXf9LCrYA==", - "dev": true - }, - "state-toggle": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/state-toggle/-/state-toggle-1.0.3.tgz", - "integrity": "sha512-d/5Z4/2iiCnHw6Xzghyhb+GcmF89bxwgXG60wjIiZaxnymbyOmI8Hk4VqHXiVVp6u2ysaskFfXg3ekCj4WNftQ==", - "dev": true - }, - "static-extend": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", - "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", - "dev": true, - "requires": { - "define-property": "^0.2.5", - "object-copy": "^0.1.0" - }, - "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - } - }, - "kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true - } - } - }, - "statuses": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", - "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=", - "dev": true - }, - "store2": { - "version": "2.13.2", - "resolved": "https://registry.npmjs.org/store2/-/store2-2.13.2.tgz", - "integrity": "sha512-CMtO2Uneg3SAz/d6fZ/6qbqqQHi2ynq6/KzMD/26gTkiEShCcpqFfTHgOxsE0egAq6SX3FmN4CeSqn8BzXQkJg==", - "dev": true - }, - "stream-browserify": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz", - "integrity": "sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==", - "dev": true, - "requires": { - "inherits": "~2.0.1", - "readable-stream": "^2.0.2" - } - }, - "stream-each": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz", - "integrity": "sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw==", - "dev": true, - "requires": { - "end-of-stream": "^1.1.0", - "stream-shift": "^1.0.0" - } - }, - "stream-http": { - "version": "2.8.3", - "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz", - "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==", - "dev": true, - "requires": { - "builtin-status-codes": "^3.0.0", - "inherits": "^2.0.1", - "readable-stream": "^2.3.6", - "to-arraybuffer": "^1.0.0", - "xtend": "^4.0.0" - } - }, - "stream-shift": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz", - "integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==", - "dev": true - }, - "string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dev": true, - "requires": { - "safe-buffer": "~5.2.0" - } - }, - "string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "dependencies": { - "is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true - } - } - }, - "string.prototype.matchall": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.7.tgz", - "integrity": "sha512-f48okCX7JiwVi1NXCVWcFnZgADDC/n2vePlQ/KUCNqCikLLilQvwjMO8+BHVKvgzH0JB0J9LEPgxOGT02RoETg==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1", - "get-intrinsic": "^1.1.1", - "has-symbols": "^1.0.3", - "internal-slot": "^1.0.3", - "regexp.prototype.flags": "^1.4.1", - "side-channel": "^1.0.4" - } - }, - "string.prototype.padend": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.1.3.tgz", - "integrity": "sha512-jNIIeokznm8SD/TZISQsZKYu7RJyheFNt84DUPrh482GC8RVp2MKqm2O5oBRdGxbDQoXrhhWtPIWQOiy20svUg==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1" - } - }, - "string.prototype.padstart": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/string.prototype.padstart/-/string.prototype.padstart-3.1.3.tgz", - "integrity": "sha512-NZydyOMtYxpTjGqp0VN5PYUF/tsU15yDMZnUdj16qRUIUiMJkHHSDElYyQFrMu+/WloTpA7MQSiADhBicDfaoA==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1" - } - }, - "string.prototype.trimend": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.5.tgz", - "integrity": "sha512-I7RGvmjV4pJ7O3kdf+LXFpVfdNOxtCW/2C8f6jNiW4+PQchwxkCDzlk1/7p+Wl4bqFIZeF47qAHXLuHHWKAxog==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.19.5" - } - }, - "string.prototype.trimstart": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.5.tgz", - "integrity": "sha512-THx16TJCGlsN0o6dl2o6ncWUsdgnLRSA23rRE5pyGBw/mLr3Ej/R2LaqCtgP8VNMGZsvMWnf9ooZPyY2bHvUFg==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.19.5" - } - }, - "strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "requires": { - "ansi-regex": "^5.0.1" - } - }, - "strip-bom": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", - "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", - "dev": true, - "optional": true, - "requires": { - "is-utf8": "^0.2.0" - } - }, - "strip-final-newline": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", - "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", - "dev": true - }, - "strip-indent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", - "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", - "dev": true, - "requires": { - "min-indent": "^1.0.0" - } - }, - "style-loader": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-2.0.0.tgz", - "integrity": "sha512-Z0gYUJmzZ6ZdRUqpg1r8GsaFKypE+3xAzuFeMuoHgjc9KZv3wMyCRjQIWEbhoFSq7+7yoHXySDJyyWQaPajeiQ==", - "dev": true, - "requires": { - "loader-utils": "^2.0.0", - "schema-utils": "^3.0.0" - } - }, - "style-to-object": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-0.3.0.tgz", - "integrity": "sha512-CzFnRRXhzWIdItT3OmF8SQfWyahHhjq3HwcMNCNLn+N7klOOqPjMeG/4JSu77D7ypZdGvSzvkrbyeTMizz2VrA==", - "dev": true, - "requires": { - "inline-style-parser": "0.1.1" - } - }, - "style-value-types": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/style-value-types/-/style-value-types-5.0.0.tgz", - "integrity": "sha512-08yq36Ikn4kx4YU6RD7jWEv27v4V+PUsOGa4n/as8Et3CuODMJQ00ENeAVXAeydX4Z2j1XHZF1K2sX4mGl18fA==", - "requires": { - "hey-listen": "^1.0.8", - "tslib": "^2.1.0" - } - }, - "stylis": { - "version": "4.0.13", - "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz", - "integrity": "sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag==" - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - }, - "dependencies": { - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true - } - } - }, - "svg2psreact": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/svg2psreact/-/svg2psreact-2.1.0.tgz", - "integrity": "sha512-Nzv6slSjABB6hIwyKjdohRoLOpiOSklAb/LmidQ4wiAENObps/0edP4dthTZ+BtrPnu4lIhgiex9nwmty2Yy+A==", - "dev": true - }, - "symbol-tree": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", - "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", - "dev": true - }, - "symbol.prototype.description": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/symbol.prototype.description/-/symbol.prototype.description-1.0.5.tgz", - "integrity": "sha512-x738iXRYsrAt9WBhRCVG5BtIC3B7CUkFwbHW2zOvGtwM33s7JjrCDyq8V0zgMYVb5ymsL8+qkzzpANH63CPQaQ==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "get-symbol-description": "^1.0.0", - "has-symbols": "^1.0.2", - "object.getownpropertydescriptors": "^2.1.2" - } - }, - "synchronous-promise": { - "version": "2.0.15", - "resolved": "https://registry.npmjs.org/synchronous-promise/-/synchronous-promise-2.0.15.tgz", - "integrity": "sha512-k8uzYIkIVwmT+TcglpdN50pS2y1BDcUnBPK9iJeGu0Pl1lOI8pD6wtzgw91Pjpe+RxtTncw32tLxs/R0yNL2Mg==", - "dev": true - }, - "tapable": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz", - "integrity": "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==", - "dev": true - }, - "tar": { - "version": "6.1.11", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz", - "integrity": "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==", - "dev": true, - "requires": { - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "minipass": "^3.0.0", - "minizlib": "^2.1.1", - "mkdirp": "^1.0.3", - "yallist": "^4.0.0" - }, - "dependencies": { - "chownr": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", - "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", - "dev": true - }, - "mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "dev": true - } - } - }, - "telejson": { - "version": "6.0.8", - "resolved": "https://registry.npmjs.org/telejson/-/telejson-6.0.8.tgz", - "integrity": "sha512-nerNXi+j8NK1QEfBHtZUN/aLdDcyupA//9kAboYLrtzZlPLpUfqbVGWb9zz91f/mIjRbAYhbgtnJHY8I1b5MBg==", - "dev": true, - "requires": { - "@types/is-function": "^1.0.0", - "global": "^4.4.0", - "is-function": "^1.0.2", - "is-regex": "^1.1.2", - "is-symbol": "^1.0.3", - "isobject": "^4.0.0", - "lodash": "^4.17.21", - "memoizerific": "^1.11.3" - }, - "dependencies": { - "isobject": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-4.0.0.tgz", - "integrity": "sha512-S/2fF5wH8SJA/kmwr6HYhK/RI/OkhD84k8ntalo0iJjZikgq1XFvR5M8NPT1x5F7fBwCG3qHfnzeP/Vh/ZxCUA==", - "dev": true - } - } - }, - "terser": { - "version": "5.13.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.13.1.tgz", - "integrity": "sha512-hn4WKOfwnwbYfe48NgrQjqNOH9jzLqRcIfbYytOXCOv46LBfWr9bDS17MQqOi+BWGD0sJK3Sj5NC/gJjiojaoA==", - "dev": true, - "requires": { - "acorn": "^8.5.0", - "commander": "^2.20.0", - "source-map": "~0.8.0-beta.0", - "source-map-support": "~0.5.20" - }, - "dependencies": { - "acorn": { - "version": "8.7.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", - "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", - "dev": true - } - } - }, - "terser-webpack-plugin": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.1.tgz", - "integrity": "sha512-GvlZdT6wPQKbDNW/GDQzZFg/j4vKU96yl2q6mcUkzKOgW4gwf1Z8cZToUCrz31XHlPWH8MVb1r2tFtdDtTGJ7g==", - "dev": true, - "requires": { - "jest-worker": "^27.4.5", - "schema-utils": "^3.1.1", - "serialize-javascript": "^6.0.0", - "source-map": "^0.6.1", - "terser": "^5.7.2" - }, - "dependencies": { - "schema-utils": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", - "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", - "dev": true, - "requires": { - "@types/json-schema": "^7.0.8", - "ajv": "^6.12.5", - "ajv-keywords": "^3.5.2" - } - }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - } - } - }, - "test-exclude": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", - "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", - "dev": true, - "requires": { - "@istanbuljs/schema": "^0.1.2", - "glob": "^7.1.4", - "minimatch": "^3.0.4" - } - }, - "through2": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", - "dev": true, - "requires": { - "readable-stream": "~2.3.6", - "xtend": "~4.0.1" - } - }, - "thunky": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz", - "integrity": "sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==", - "dev": true - }, - "timers-browserify": { - "version": "2.0.12", - "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.12.tgz", - "integrity": "sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ==", - "dev": true, - "requires": { - "setimmediate": "^1.0.4" - } - }, - "to-arraybuffer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", - "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=", - "dev": true - }, - "to-fast-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=" - }, - "to-object-path": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", - "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "to-regex": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", - "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", - "dev": true, - "requires": { - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "regex-not": "^1.0.2", - "safe-regex": "^1.1.0" - } - }, - "to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "requires": { - "is-number": "^7.0.0" - } - }, - "toidentifier": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", - "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", - "dev": true - }, - "tr46": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-3.0.0.tgz", - "integrity": "sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==", - "dev": true, - "requires": { - "punycode": "^2.1.1" - } - }, - "trim": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/trim/-/trim-0.0.1.tgz", - "integrity": "sha1-WFhUf2spB1fulczMZm+1AITEYN0=", - "dev": true - }, - "trim-newlines": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", - "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=", - "dev": true, - "optional": true - }, - "trim-trailing-lines": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/trim-trailing-lines/-/trim-trailing-lines-1.1.4.tgz", - "integrity": "sha512-rjUWSqnfTNrjbB9NQWfPMH/xRK1deHeGsHoVfpxJ++XeYXE0d6B1En37AHfw3jtfTU7dzMzZL2jjpe8Qb5gLIQ==", - "dev": true - }, - "trough": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/trough/-/trough-1.0.5.tgz", - "integrity": "sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA==", - "dev": true - }, - "ts-dedent": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/ts-dedent/-/ts-dedent-2.2.0.tgz", - "integrity": "sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==", - "dev": true - }, - "ts-pnp": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/ts-pnp/-/ts-pnp-1.2.0.tgz", - "integrity": "sha512-csd+vJOb/gkzvcCHgTGSChYpy5f1/XKNsmvBGO4JXS+z1v2HobugDz4s1IeFXM3wZB44uczs+eazB5Q/ccdhQw==", - "dev": true - }, - "tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" - }, - "tty-browserify": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz", - "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=", - "dev": true - }, - "type-check": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", - "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", - "dev": true, - "requires": { - "prelude-ls": "~1.1.2" - } - }, - "type-fest": { - "version": "2.12.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.12.2.tgz", - "integrity": "sha512-qt6ylCGpLjZ7AaODxbpyBZSs9fCI9SkL3Z9q2oxMBQhs/uyY+VD8jHA8ULCGmWQJlBgqvO3EJeAngOHD8zQCrQ==", - "dev": true, - "optional": true, - "peer": true - }, - "type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", - "dev": true, - "requires": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" - } - }, - "typedarray": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", - "dev": true - }, - "typescript": { - "version": "4.6.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.4.tgz", - "integrity": "sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg==", - "dev": true, - "peer": true - }, - "uglify-js": { - "version": "3.15.5", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.15.5.tgz", - "integrity": "sha512-hNM5q5GbBRB5xB+PMqVRcgYe4c8jbyZ1pzZhS6jbq54/4F2gFK869ZheiE5A8/t+W5jtTNpWef/5Q9zk639FNQ==", - "dev": true, - "optional": true - }, - "unbox-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", - "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "has-bigints": "^1.0.2", - "has-symbols": "^1.0.3", - "which-boxed-primitive": "^1.0.2" - } - }, - "unfetch": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/unfetch/-/unfetch-4.2.0.tgz", - "integrity": "sha512-F9p7yYCn6cIW9El1zi0HI6vqpeIvBsr3dSuRO6Xuppb1u5rXpCPmMvLSyECLhybr9isec8Ohl0hPekMVrEinDA==", - "dev": true - }, - "unherit": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/unherit/-/unherit-1.1.3.tgz", - "integrity": "sha512-Ft16BJcnapDKp0+J/rqFC3Rrk6Y/Ng4nzsC028k2jdDII/rdZ7Wd3pPT/6+vIIxRagwRc9K0IUX0Ra4fKvw+WQ==", - "dev": true, - "requires": { - "inherits": "^2.0.0", - "xtend": "^4.0.0" - } - }, - "unicode-canonical-property-names-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", - "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==", - "dev": true - }, - "unicode-match-property-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", - "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", - "dev": true, - "requires": { - "unicode-canonical-property-names-ecmascript": "^2.0.0", - "unicode-property-aliases-ecmascript": "^2.0.0" - } - }, - "unicode-match-property-value-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz", - "integrity": "sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw==", - "dev": true - }, - "unicode-property-aliases-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz", - "integrity": "sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ==", - "dev": true - }, - "unified": { - "version": "9.2.0", - "resolved": "https://registry.npmjs.org/unified/-/unified-9.2.0.tgz", - "integrity": "sha512-vx2Z0vY+a3YoTj8+pttM3tiJHCwY5UFbYdiWrwBEbHmK8pvsPj2rtAX2BFfgXen8T39CJWblWRDT4L5WGXtDdg==", - "dev": true, - "requires": { - "bail": "^1.0.0", - "extend": "^3.0.0", - "is-buffer": "^2.0.0", - "is-plain-obj": "^2.0.0", - "trough": "^1.0.0", - "vfile": "^4.0.0" - }, - "dependencies": { - "is-buffer": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", - "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==", - "dev": true - } - } - }, - "union-value": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", - "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", - "dev": true, - "requires": { - "arr-union": "^3.1.0", - "get-value": "^2.0.6", - "is-extendable": "^0.1.1", - "set-value": "^2.0.1" - }, - "dependencies": { - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true - } - } - }, - "unique-filename": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", - "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", - "dev": true, - "requires": { - "unique-slug": "^2.0.0" - } - }, - "unique-slug": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz", - "integrity": "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==", - "dev": true, - "requires": { - "imurmurhash": "^0.1.4" - } - }, - "unist-builder": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/unist-builder/-/unist-builder-2.0.3.tgz", - "integrity": "sha512-f98yt5pnlMWlzP539tPc4grGMsFaQQlP/vM396b00jngsiINumNmsY8rkXjfoi1c6QaM8nQ3vaGDuoKWbe/1Uw==", - "dev": true - }, - "unist-util-generated": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/unist-util-generated/-/unist-util-generated-1.1.6.tgz", - "integrity": "sha512-cln2Mm1/CZzN5ttGK7vkoGw+RZ8VcUH6BtGbq98DDtRGquAAOXig1mrBQYelOwMXYS8rK+vZDyyojSjp7JX+Lg==", - "dev": true - }, - "unist-util-is": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-4.1.0.tgz", - "integrity": "sha512-ZOQSsnce92GrxSqlnEEseX0gi7GH9zTJZ0p9dtu87WRb/37mMPO2Ilx1s/t9vBHrFhbgweUwb+t7cIn5dxPhZg==", - "dev": true - }, - "unist-util-position": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-3.1.0.tgz", - "integrity": "sha512-w+PkwCbYSFw8vpgWD0v7zRCl1FpY3fjDSQ3/N/wNd9Ffa4gPi8+4keqt99N3XW6F99t/mUzp2xAhNmfKWp95QA==", - "dev": true - }, - "unist-util-remove": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/unist-util-remove/-/unist-util-remove-2.1.0.tgz", - "integrity": "sha512-J8NYPyBm4baYLdCbjmf1bhPu45Cr1MWTm77qd9istEkzWpnN6O9tMsEbB2JhNnBCqGENRqEWomQ+He6au0B27Q==", - "dev": true, - "requires": { - "unist-util-is": "^4.0.0" - } - }, - "unist-util-remove-position": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/unist-util-remove-position/-/unist-util-remove-position-2.0.1.tgz", - "integrity": "sha512-fDZsLYIe2uT+oGFnuZmy73K6ZxOPG/Qcm+w7jbEjaFcJgbQ6cqjs/eSPzXhsmGpAsWPkqZM9pYjww5QTn3LHMA==", - "dev": true, - "requires": { - "unist-util-visit": "^2.0.0" - } - }, - "unist-util-stringify-position": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-2.0.3.tgz", - "integrity": "sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==", - "dev": true, - "requires": { - "@types/unist": "^2.0.2" - } - }, - "unist-util-visit": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-2.0.3.tgz", - "integrity": "sha512-iJ4/RczbJMkD0712mGktuGpm/U4By4FfDonL7N/9tATGIF4imikjOuagyMY53tnZq3NP6BcmlrHhEKAfGWjh7Q==", - "dev": true, - "requires": { - "@types/unist": "^2.0.0", - "unist-util-is": "^4.0.0", - "unist-util-visit-parents": "^3.0.0" - } - }, - "unist-util-visit-parents": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-3.1.1.tgz", - "integrity": "sha512-1KROIZWo6bcMrZEwiH2UrXDyalAa0uqzWCxCJj6lPOvTve2WkfgCytoDTPaMnodXh1WrXOq0haVYHj99ynJlsg==", - "dev": true, - "requires": { - "@types/unist": "^2.0.0", - "unist-util-is": "^4.0.0" - } - }, - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true - }, - "unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", - "dev": true - }, - "unset-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", - "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", - "dev": true, - "requires": { - "has-value": "^0.3.1", - "isobject": "^3.0.0" - }, - "dependencies": { - "has-value": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", - "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", - "dev": true, - "requires": { - "get-value": "^2.0.3", - "has-values": "^0.1.4", - "isobject": "^2.0.0" - }, - "dependencies": { - "isobject": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", - "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", - "dev": true, - "requires": { - "isarray": "1.0.0" - } - } - } - }, - "has-values": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", - "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=", - "dev": true - } - } - }, - "untildify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/untildify/-/untildify-2.1.0.tgz", - "integrity": "sha1-F+soB5h/dpUunASF/DEdBqgmouA=", - "dev": true, - "optional": true, - "requires": { - "os-homedir": "^1.0.0" - } - }, - "upath": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz", - "integrity": "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==", - "dev": true, - "optional": true - }, - "uri-js": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "dev": true, - "requires": { - "punycode": "^2.1.0" - } - }, - "urix": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", - "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", - "dev": true - }, - "url": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", - "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", - "dev": true, - "requires": { - "punycode": "1.3.2", - "querystring": "0.2.0" - }, - "dependencies": { - "punycode": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=", - "dev": true - }, - "querystring": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", - "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", - "dev": true - } - } - }, - "url-loader": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/url-loader/-/url-loader-4.1.1.tgz", - "integrity": "sha512-3BTV812+AVHHOJQO8O5MkWgZ5aosP7GnROJwvzLS9hWDj00lZ6Z0wNak423Lp9PBZN05N+Jk/N5Si8jRAlGyWA==", - "dev": true, - "requires": { - "loader-utils": "^2.0.0", - "mime-types": "^2.1.27", - "schema-utils": "^3.0.0" - } - }, - "url-parse": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz", - "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==", - "dev": true, - "optional": true, - "peer": true, - "requires": { - "querystringify": "^2.1.1", - "requires-port": "^1.0.0" - } - }, - "use": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", - "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", - "dev": true - }, - "util": { - "version": "0.11.1", - "resolved": "https://registry.npmjs.org/util/-/util-0.11.1.tgz", - "integrity": "sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ==", - "dev": true, - "requires": { - "inherits": "2.0.3" - }, - "dependencies": { - "inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", - "dev": true - } - } - }, - "util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", - "dev": true - }, - "util.promisify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.0.tgz", - "integrity": "sha512-i+6qA2MPhvoKLuxnJNpXAGhg7HphQOSUq2LKMZD0m15EiskXUkMvKdF4Uui0WYeCUGea+o2cw/ZuwehtfsrNkA==", - "dev": true, - "requires": { - "define-properties": "^1.1.2", - "object.getownpropertydescriptors": "^2.0.3" - } - }, - "utila": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/utila/-/utila-0.4.0.tgz", - "integrity": "sha1-ihagXURWV6Oupe7MWxKk+lN5dyw=", - "dev": true - }, - "utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", - "dev": true - }, - "uuid": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", - "dev": true - }, - "v8-to-istanbul": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-7.1.2.tgz", - "integrity": "sha512-TxNb7YEUwkLXCQYeudi6lgQ/SZrzNO4kMdlqVxaZPUIUjCv6iSSypUQX70kNBSERpQ8fk48+d61FXk+tgqcWow==", - "dev": true, - "requires": { - "@types/istanbul-lib-coverage": "^2.0.1", - "convert-source-map": "^1.6.0", - "source-map": "^0.7.3" - }, - "dependencies": { - "source-map": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", - "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", - "dev": true - } - } - }, - "validate-npm-package-license": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "dev": true, - "requires": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" - } - }, - "vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", - "dev": true - }, - "vfile": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/vfile/-/vfile-4.2.1.tgz", - "integrity": "sha512-O6AE4OskCG5S1emQ/4gl8zK586RqA3srz3nfK/Viy0UPToBc5Trp9BVFb1u0CjsKrAWwnpr4ifM/KBXPWwJbCA==", - "dev": true, - "requires": { - "@types/unist": "^2.0.0", - "is-buffer": "^2.0.0", - "unist-util-stringify-position": "^2.0.0", - "vfile-message": "^2.0.0" - }, - "dependencies": { - "is-buffer": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", - "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==", - "dev": true - } - } - }, - "vfile-location": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/vfile-location/-/vfile-location-3.2.0.tgz", - "integrity": "sha512-aLEIZKv/oxuCDZ8lkJGhuhztf/BW4M+iHdCwglA/eWc+vtuRFJj8EtgceYFX4LRjOhCAAiNHsKGssC6onJ+jbA==", - "dev": true - }, - "vfile-message": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-2.0.4.tgz", - "integrity": "sha512-DjssxRGkMvifUOJre00juHoP9DPWuzjxKuMDrhNbk2TdaYYBNMStsNhEOt3idrtI12VQYM/1+iM0KOzXi4pxwQ==", - "dev": true, - "requires": { - "@types/unist": "^2.0.0", - "unist-util-stringify-position": "^2.0.0" - } - }, - "vm-browserify": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz", - "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==", - "dev": true - }, - "w3c-hr-time": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz", - "integrity": "sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==", - "dev": true, - "requires": { - "browser-process-hrtime": "^1.0.0" - } - }, - "w3c-xmlserializer": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-3.0.0.tgz", - "integrity": "sha512-3WFqGEgSXIyGhOmAFtlicJNMjEps8b1MG31NCA0/vOF9+nKMUW1ckhi9cnNHmf88Rzw5V+dwIwsm2C7X8k9aQg==", - "dev": true, - "requires": { - "xml-name-validator": "^4.0.0" - } - }, - "warning": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/warning/-/warning-4.0.3.tgz", - "integrity": "sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==", - "requires": { - "loose-envify": "^1.0.0" - } - }, - "watchpack": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.3.1.tgz", - "integrity": "sha512-x0t0JuydIo8qCNctdDrn1OzH/qDzk2+rdCOC3YzumZ42fiMqmQ7T3xQurykYMhYfHaPHTp4ZxAx2NfUo1K6QaA==", - "dev": true, - "requires": { - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.1.2" - } - }, - "watchpack-chokidar2": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/watchpack-chokidar2/-/watchpack-chokidar2-2.0.1.tgz", - "integrity": "sha512-nCFfBIPKr5Sh61s4LPpy1Wtfi0HE8isJ3d2Yb5/Ppw2P2B/3eVSEBjKfN0fmHJSK14+31KwMKmcrzs2GM4P0Ww==", - "dev": true, - "optional": true, - "requires": { - "chokidar": "^2.1.8" - }, - "dependencies": { - "anymatch": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", - "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", - "dev": true, - "optional": true, - "requires": { - "micromatch": "^3.1.4", - "normalize-path": "^2.1.1" - }, - "dependencies": { - "normalize-path": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", - "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", - "dev": true, - "optional": true, - "requires": { - "remove-trailing-separator": "^1.0.1" - } - } - } - }, - "binary-extensions": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz", - "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==", - "dev": true, - "optional": true - }, - "braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "dev": true, - "optional": true, - "requires": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "optional": true, - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "chokidar": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz", - "integrity": "sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==", - "dev": true, - "optional": true, - "requires": { - "anymatch": "^2.0.0", - "async-each": "^1.0.1", - "braces": "^2.3.2", - "fsevents": "^1.2.7", - "glob-parent": "^3.1.0", - "inherits": "^2.0.3", - "is-binary-path": "^1.0.0", - "is-glob": "^4.0.0", - "normalize-path": "^3.0.0", - "path-is-absolute": "^1.0.0", - "readdirp": "^2.2.1", - "upath": "^1.1.1" - } - }, - "fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", - "dev": true, - "optional": true, - "requires": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "optional": true, - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "fsevents": { - "version": "1.2.13", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz", - "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==", - "dev": true, - "optional": true, - "requires": { - "bindings": "^1.5.0", - "nan": "^2.12.1" - } - }, - "glob-parent": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", - "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", - "dev": true, - "optional": true, - "requires": { - "is-glob": "^3.1.0", - "path-dirname": "^1.0.0" - }, - "dependencies": { - "is-glob": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", - "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", - "dev": true, - "optional": true, - "requires": { - "is-extglob": "^2.1.0" - } - } - } - }, - "is-binary-path": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", - "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", - "dev": true, - "optional": true, - "requires": { - "binary-extensions": "^1.0.0" - } - }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true, - "optional": true - }, - "is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "dev": true, - "optional": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "optional": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", - "dev": true, - "optional": true, - "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - } - }, - "readdirp": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz", - "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", - "dev": true, - "optional": true, - "requires": { - "graceful-fs": "^4.1.11", - "micromatch": "^3.1.10", - "readable-stream": "^2.0.2" - } - }, - "to-regex-range": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", - "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", - "dev": true, - "optional": true, - "requires": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" - } - } - } - }, - "wbuf": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/wbuf/-/wbuf-1.7.3.tgz", - "integrity": "sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA==", - "dev": true, - "requires": { - "minimalistic-assert": "^1.0.0" - } - }, - "web-namespaces": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/web-namespaces/-/web-namespaces-1.1.4.tgz", - "integrity": "sha512-wYxSGajtmoP4WxfejAPIr4l0fVh+jeMXZb08wNc0tMg6xsfZXj3cECqIK0G7ZAqUq0PP8WlMDtaOGVBTAWztNw==", - "dev": true - }, - "webidl-conversions": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", - "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==", - "dev": true - }, - "webpack": { - "version": "5.72.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.72.1.tgz", - "integrity": "sha512-dXG5zXCLspQR4krZVR6QgajnZOjW2K/djHvdcRaDQvsjV9z9vaW6+ja5dZOYbqBBjF6kGXka/2ZyxNdc+8Jung==", - "dev": true, - "requires": { - "@types/eslint-scope": "^3.7.3", - "@types/estree": "^0.0.51", - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/wasm-edit": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1", - "acorn": "^8.4.1", - "acorn-import-assertions": "^1.7.6", - "browserslist": "^4.14.5", - "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.9.3", - "es-module-lexer": "^0.9.0", - "eslint-scope": "5.1.1", - "events": "^3.2.0", - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.2.9", - "json-parse-even-better-errors": "^2.3.1", - "loader-runner": "^4.2.0", - "mime-types": "^2.1.27", - "neo-async": "^2.6.2", - "schema-utils": "^3.1.0", - "tapable": "^2.1.1", - "terser-webpack-plugin": "^5.1.3", - "watchpack": "^2.3.1", - "webpack-sources": "^3.2.3" - }, - "dependencies": { - "acorn": { - "version": "8.7.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", - "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", - "dev": true - }, - "acorn-import-assertions": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz", - "integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==", - "dev": true, - "requires": {} - }, - "schema-utils": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", - "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", - "dev": true, - "requires": { - "@types/json-schema": "^7.0.8", - "ajv": "^6.12.5", - "ajv-keywords": "^3.5.2" - } - }, - "tapable": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", - "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", - "dev": true - } - } - }, - "webpack-cli": { - "version": "4.9.2", - "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-4.9.2.tgz", - "integrity": "sha512-m3/AACnBBzK/kMTcxWHcZFPrw/eQuY4Df1TxvIWfWM2x7mRqBQCqKEd96oCUa9jkapLBaFfRce33eGDb4Pr7YQ==", - "dev": true, - "requires": { - "@discoveryjs/json-ext": "^0.5.0", - "@webpack-cli/configtest": "^1.1.1", - "@webpack-cli/info": "^1.4.1", - "@webpack-cli/serve": "^1.6.1", - "colorette": "^2.0.14", - "commander": "^7.0.0", - "execa": "^5.0.0", - "fastest-levenshtein": "^1.0.12", - "import-local": "^3.0.2", - "interpret": "^2.2.0", - "rechoir": "^0.7.0", - "webpack-merge": "^5.7.3" - }, - "dependencies": { - "commander": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", - "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", - "dev": true - }, - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, - "import-local": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.0.2.tgz", - "integrity": "sha512-vjL3+w0oulAVZ0hBHnxa/Nm5TAurf9YLQJDhqRZyqb+VKGOB6LU8t9H1Nr5CIo16vh9XfJTOoHwU0B71S557gA==", - "dev": true, - "requires": { - "pkg-dir": "^4.2.0", - "resolve-cwd": "^3.0.0" - } - }, - "locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "requires": { - "p-locate": "^4.1.0" - } - }, - "p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "requires": { - "p-limit": "^2.2.0" - } - }, - "pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "dev": true, - "requires": { - "find-up": "^4.0.0" - } - }, - "resolve-cwd": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", - "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", - "dev": true, - "requires": { - "resolve-from": "^5.0.0" - } - } - } - }, - "webpack-dev-middleware": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-4.3.0.tgz", - "integrity": "sha512-PjwyVY95/bhBh6VUqt6z4THplYcsvQ8YNNBTBM873xLVmw8FLeALn0qurHbs9EmcfhzQis/eoqypSnZeuUz26w==", - "dev": true, - "requires": { - "colorette": "^1.2.2", - "mem": "^8.1.1", - "memfs": "^3.2.2", - "mime-types": "^2.1.30", - "range-parser": "^1.2.1", - "schema-utils": "^3.0.0" - }, - "dependencies": { - "colorette": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.4.0.tgz", - "integrity": "sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g==", - "dev": true - } - } - }, - "webpack-dev-server": { - "version": "4.9.0", - "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-4.9.0.tgz", - "integrity": "sha512-+Nlb39iQSOSsFv0lWUuUTim3jDQO8nhK3E68f//J2r5rIcp4lULHXz2oZ0UVdEeWXEh5lSzYUlzarZhDAeAVQw==", - "dev": true, - "requires": { - "@types/bonjour": "^3.5.9", - "@types/connect-history-api-fallback": "^1.3.5", - "@types/express": "^4.17.13", - "@types/serve-index": "^1.9.1", - "@types/sockjs": "^0.3.33", - "@types/ws": "^8.5.1", - "ansi-html-community": "^0.0.8", - "bonjour-service": "^1.0.11", - "chokidar": "^3.5.3", - "colorette": "^2.0.10", - "compression": "^1.7.4", - "connect-history-api-fallback": "^1.6.0", - "default-gateway": "^6.0.3", - "express": "^4.17.3", - "graceful-fs": "^4.2.6", - "html-entities": "^2.3.2", - "http-proxy-middleware": "^2.0.3", - "ipaddr.js": "^2.0.1", - "open": "^8.0.9", - "p-retry": "^4.5.0", - "rimraf": "^3.0.2", - "schema-utils": "^4.0.0", - "selfsigned": "^2.0.1", - "serve-index": "^1.9.1", - "sockjs": "^0.3.21", - "spdy": "^4.0.2", - "webpack-dev-middleware": "^5.3.1", - "ws": "^8.4.2" - }, - "dependencies": { - "ajv": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", - "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", - "dev": true, - "requires": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - } - }, - "ajv-keywords": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", - "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", - "dev": true, - "requires": { - "fast-deep-equal": "^3.1.3" - } - }, - "json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true - }, - "schema-utils": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.0.0.tgz", - "integrity": "sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg==", - "dev": true, - "requires": { - "@types/json-schema": "^7.0.9", - "ajv": "^8.8.0", - "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.0.0" - } - }, - "webpack-dev-middleware": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.3.tgz", - "integrity": "sha512-hj5CYrY0bZLB+eTO+x/j67Pkrquiy7kWepMHmUMoPsmcUaeEnQJqFzHJOyxgWlq746/wUuA64p9ta34Kyb01pA==", - "dev": true, - "requires": { - "colorette": "^2.0.10", - "memfs": "^3.4.3", - "mime-types": "^2.1.31", - "range-parser": "^1.2.1", - "schema-utils": "^4.0.0" - } - } - } - }, - "webpack-hot-middleware": { - "version": "2.25.1", - "resolved": "https://registry.npmjs.org/webpack-hot-middleware/-/webpack-hot-middleware-2.25.1.tgz", - "integrity": "sha512-Koh0KyU/RPYwel/khxbsDz9ibDivmUbrRuKSSQvW42KSDdO4w23WI3SkHpSUKHE76LrFnnM/L7JCrpBwu8AXYw==", - "dev": true, - "requires": { - "ansi-html-community": "0.0.8", - "html-entities": "^2.1.0", - "querystring": "^0.2.0", - "strip-ansi": "^6.0.0" - } - }, - "webpack-log": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/webpack-log/-/webpack-log-2.0.0.tgz", - "integrity": "sha512-cX8G2vR/85UYG59FgkoMamwHUIkSSlV3bBMRsbxVXVUk2j6NleCKjQ/WE9eYg9WY4w25O9w8wKP4rzNZFmUcUg==", - "dev": true, - "requires": { - "ansi-colors": "^3.0.0", - "uuid": "^3.3.2" - } - }, - "webpack-merge": { - "version": "5.8.0", - "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.8.0.tgz", - "integrity": "sha512-/SaI7xY0831XwP6kzuwhKWVKDP9t1QY1h65lAFLbZqMPIuYcD9QAW4u9STIbU9kaJbPBB/geU/gLr1wDjOhQ+Q==", - "dev": true, - "requires": { - "clone-deep": "^4.0.1", - "wildcard": "^2.0.0" - } - }, - "webpack-sources": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", - "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", - "dev": true - }, - "webpack-virtual-modules": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/webpack-virtual-modules/-/webpack-virtual-modules-0.4.3.tgz", - "integrity": "sha512-5NUqC2JquIL2pBAAo/VfBP6KuGkHIZQXW/lNKupLPfhViwh8wNsu0BObtl09yuKZszeEUfbXz8xhrHvSG16Nqw==", - "dev": true - }, - "websocket-driver": { - "version": "0.7.4", - "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.4.tgz", - "integrity": "sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg==", - "dev": true, - "requires": { - "http-parser-js": ">=0.5.1", - "safe-buffer": ">=5.1.0", - "websocket-extensions": ">=0.1.1" - } - }, - "websocket-extensions": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.4.tgz", - "integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==", - "dev": true - }, - "whatwg-encoding": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-2.0.0.tgz", - "integrity": "sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==", - "dev": true, - "requires": { - "iconv-lite": "0.6.3" - }, - "dependencies": { - "iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "dev": true, - "requires": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - } - } - } - }, - "whatwg-mimetype": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz", - "integrity": "sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==", - "dev": true - }, - "whatwg-url": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-10.0.0.tgz", - "integrity": "sha512-CLxxCmdUby142H5FZzn4D8ikO1cmypvXVQktsgosNy4a4BHrDHeciBBGZhb0bNoR5/MltoCatso+vFjjGx8t0w==", - "dev": true, - "requires": { - "tr46": "^3.0.0", - "webidl-conversions": "^7.0.0" - } - }, - "which-boxed-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", - "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", - "dev": true, - "requires": { - "is-bigint": "^1.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "is-symbol": "^1.0.3" - } - }, - "wide-align": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz", - "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==", - "dev": true, - "requires": { - "string-width": "^1.0.2 || 2 || 3 || 4" - } - }, - "widest-line": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz", - "integrity": "sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==", - "dev": true, - "requires": { - "string-width": "^4.0.0" - } - }, - "wildcard": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.0.tgz", - "integrity": "sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw==", - "dev": true - }, - "word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", - "dev": true - }, - "wordwrap": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", - "dev": true - }, - "worker-farm": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/worker-farm/-/worker-farm-1.7.0.tgz", - "integrity": "sha512-rvw3QTZc8lAxyVrqcSGVm5yP/IJ2UcB3U0graE3LCFoZ0Yn2x4EoVSqJKdB/T5M+FLcRPjz4TDacRf3OCfNUzw==", - "dev": true, - "requires": { - "errno": "~0.1.7" - } - }, - "worker-rpc": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/worker-rpc/-/worker-rpc-0.1.1.tgz", - "integrity": "sha512-P1WjMrUB3qgJNI9jfmpZ/htmBEjFh//6l/5y8SD9hg1Ef5zTTVVoRjTrTEzPrNBQvmhMxkoTsjOXN10GWU7aCg==", - "dev": true, - "requires": { - "microevent.ts": "~0.1.1" - } - }, - "wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - } - }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true - }, - "ws": { - "version": "8.6.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.6.0.tgz", - "integrity": "sha512-AzmM3aH3gk0aX7/rZLYvjdvZooofDu3fFOzGqcSnQ1tOcTWwhM/o+q++E8mAyVVIyUdajrkzWUGftaVSDLn1bw==", - "dev": true, - "requires": {} - }, - "x-default-browser": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/x-default-browser/-/x-default-browser-0.4.0.tgz", - "integrity": "sha1-cM8NqF2nwKtcsPFaiX8jIqa91IE=", - "dev": true, - "requires": { - "default-browser-id": "^1.0.4" - } - }, - "xml-name-validator": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-4.0.0.tgz", - "integrity": "sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==", - "dev": true - }, - "xmlchars": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", - "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==", - "dev": true - }, - "xtend": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", - "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==" - }, - "y18n": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", - "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", - "dev": true - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, - "yaml": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", - "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==" - }, - "yargs-parser": { - "version": "20.2.7", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.7.tgz", - "integrity": "sha512-FiNkvbeHzB/syOjIUxFDCnhSfzAL8R5vs40MgLFBorXACCOAEaWu0gRZl14vG8MR9AOJIZbmkjhusqBYZ3HTHw==", - "dev": true - }, - "yocto-queue": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", - "dev": true - }, - "zwitch": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.5.tgz", - "integrity": "sha512-V50KMwwzqJV0NpZIZFwfOD5/lyny3WlSzRiXgA0G7VUnRlqttta1L6UQIHzd6EuBY/cHGfwTIck7w1yH6Q5zUw==", - "dev": true - } - } -} diff --git a/package.json b/package.json index e38ff02..6428425 100644 --- a/package.json +++ b/package.json @@ -8,12 +8,10 @@ "license": "MIT", "devDependencies": { "@babel/core": "^7.18.0", - "@pmmmwh/react-refresh-webpack-plugin": "^0.5.6", - "@storybook/addons": "^6.5.9", - "@storybook/builder-webpack5": "^6.5.9", - "@storybook/manager-webpack5": "^6.5.9", - "@storybook/react": "^6.5.9", - "@storybook/theming": "^6.5.9", + "@storybook/addon-essentials": "^7.0.0-alpha.48", + "@storybook/addon-interactions": "^7.0.0-alpha.48", + "@storybook/react-webpack5": "^7.0.0-alpha.48", + "@storybook/testing-library": "^0.0.13", "@testing-library/react": "^13.2.0", "@testing-library/user-event": "^14.2.0", "babel-loader": "^8.2.5", @@ -24,8 +22,7 @@ "jsdom-global": "^3.0.2", "react-refresh": "^0.13.0", "rimraf": "^3.0.2", - "source-map": "GerHobbelt/source-map#patch-8", - "source-map-loader": "^3.0.1", + "storybook": "^7.0.0-alpha.48", "svg2psreact": "^2.1.0", "webpack": "^5.72.1", "webpack-cli": "^4.9.2", @@ -35,6 +32,7 @@ "scripts": { "clean": "rimraf node_modules output dce-output .spago dist/* *.lock dist", "build": "spago build", + "build:stories": "spago -x stories.dhall build", "convert-svgs": "node convert-svgs.js", "postinstall": "spago install", "pretest": "yarn build", @@ -42,10 +40,10 @@ "prestart": "yarn build", "start": "webpack-dev-server --open --config webpack.dev.js", "bundle": "yarn bundle:build && yarn bundle:dce && yarn bundle:webpack", - "prestorybook": "yarn build", - "storybook": "start-storybook -p 6006", + "prestorybook": "yarn build:stories", + "storybook": "storybook dev -p 6006", "prebuild-storybook": "yarn build", - "build-storybook": "build-storybook" + "build-storybook": "storybook build" }, "dependencies": { "@dnd-kit/core": "^6.0.1", @@ -54,12 +52,15 @@ "@dnd-kit/utilities": "^3.2.0", "@emotion/react": "^11.9.0", "@popperjs/core": "^2.11.5", + "@react-aria/interactions": "^3.13.0", + "@react-aria/utils": "^3.14.1", "downshift": "^6.1.7", "framer-motion": "^6.3.3", "react": "^18.1.0", "react-dom": "^18.1.0", "react-intersection-observer": "^9.1.0", "react-popper": "^2.3.0", - "react-syntax-highlighter": "^15.5.0" + "react-syntax-highlighter": "^15.5.0", + "react-virtuoso": "^3.1.4" } } diff --git a/packages.dhall b/packages.dhall index 7126899..69afd32 100644 --- a/packages.dhall +++ b/packages.dhall @@ -99,14 +99,13 @@ in upstream ------------------------------- -} let upstream = - https://github.com/purescript/package-sets/releases/download/psc-0.15.4-20220822/packages.dhall - sha256:908b4ffbfba37a0a4edf806513a555d0dbcdd0cde7abd621f8d018d2e8ecf828 + https://github.com/purescript/package-sets/releases/download/psc-0.15.4-20221107/packages.dhall + sha256:cd0c29e8a69cf70b714ce3ee91c57c02b3d20a1118e35dd8405f33aa80177849 in upstream - with either.version = "v6.0.0" with framer-motion = - { version = "es-modules" - , repo = "https://github.com/i-am-the-slime/purescript-framer-motion.git" + { repo = "https://github.com/i-am-the-slime/purescript-framer-motion.git" + , version = "v1.0.1" , dependencies = [ "aff" , "aff-promise" @@ -135,213 +134,6 @@ in upstream , "web-uievents" ] } - with spec = - { repo = "https://github.com/purescript-spec/purescript-spec.git" - , version = "master" - , dependencies = - [ "aff" - , "ansi" - , "avar" - , "console" - , "exceptions" - , "foldable-traversable" - , "fork" - , "now" - , "pipes" - , "prelude" - , "strings" - , "transformers" - ] - } - with spec-discovery = - { repo = "https://github.com/purescript-spec/purescript-spec-discovery.git" - , version = "master" - , dependencies = - [ "aff" - , "aff-promise" - , "arrays" - , "console" - , "effect" - , "foldable-traversable" - , "node-fs" - , "prelude" - , "spec" - ] - } - with playwright = - { repo = - "https://github.com/working-group-purescript-es/purescript-playwright.git" - , version = "es-modules" - , dependencies = - [ "argonaut-core" - , "console" - , "effect" - , "prelude" - , "psci-support" - , "aff-promise" - , "test-unit" - , "untagged-union" - , "node-buffer" - , "node-fs-aff" - , "undefined" - , "aff" - , "either" - , "exceptions" - , "foreign" - , "foreign-object" - , "literals" - , "maybe" - , "node-streams" - , "ordered-collections" - , "refs" - , "strings" - , "transformers" - ] - } - with milkis = - { repo = - "https://github.com/working-group-purescript-es/purescript-milkis.git" - , version = "es-modules" - , dependencies = - [ "aff-promise" - , "arraybuffer-types" - , "foreign-object" - , "prelude" - , "typelevel-prelude" - ] - } - with debug = - { dependencies = [ "prelude", "functions" ] - , repo = - "https://github.com/working-group-purescript-es/purescript-debug.git" - , version = "es-modules" - } - with checked-exceptions = - { dependencies = [ "prelude", "transformers", "variant" ] - , repo = "https://github.com/natefaubion/purescript-checked-exceptions.git" - , version = "v3.1.1" - } - with language-cst-parser = - { dependencies = - [ "arrays" - , "const" - , "effect" - , "either" - , "foldable-traversable" - , "free" - , "functors" - , "maybe" - , "numbers" - , "ordered-collections" - , "strings" - , "transformers" - , "tuples" - , "typelevel-prelude" - ] - , repo = "https://github.com/natefaubion/purescript-language-cst-parser.git" - , version = "v0.9.3" - } - with stringutils = - { dependencies = - [ "arrays" - , "either" - , "integers" - , "maybe" - , "partial" - , "prelude" - , "strings" - ] - , repo = - "https://github.com/working-group-purescript-es/purescript-stringutils.git" - , version = "es-modules" - } - with routing-duplex = - { dependencies = - [ "arrays" - , "control" - , "either" - , "js-uri" - , "lazy" - , "numbers" - , "prelude" - , "profunctor" - , "record" - , "strings" - , "typelevel-prelude" - ] - , repo = - "https://github.com/working-group-purescript-es/purescript-routing-duplex.git" - , version = "v0.15.0-update" - } - with web-router = - { dependencies = - [ "aff" - , "effect" - , "freet" - , "indexed-monad" - , "prelude" - , "profunctor-lenses" - , "routing" - ] - , repo = "https://github.com/robertdp/purescript-web-router.git" - , version = "v0.3.0" - } - with framer-motion.version = "24dc0a89dd65458b768f3731c886f9911898788d" - with visx = - { repo = "https://github.com/i-am-the-slime/purescript-visx.git" - , version = "es-modules" - , dependencies = - [ "arrays" - , "console" - , "datetime" - , "debug" - , "effect" - , "either" - , "foldable-traversable" - , "foreign" - , "foreign-object" - , "functions" - , "integers" - , "js-date" - , "justifill" - , "lists" - , "maybe" - , "newtype" - , "nullable" - , "orders" - , "prelude" - , "psci-support" - , "react-basic" - , "react-basic-dom" - , "react-basic-hooks" - , "record" - , "record-extra" - , "transformers" - , "tuples" - , "typelevel-prelude" - , "unsafe-coerce" - , "untagged-union" - , "web-dom" - ] - } - with graphql-fundeps = - { dependencies = - [ "aff" - , "affjax" - , "console" - , "effect" - , "either" - , "http-methods" - , "maybe" - , "media-types" - , "prelude" - , "psci-support" - , "simple-json" - , "strings" - ] - , repo = "https://github.com/meeshkan/purescript-graphql-fundeps.git" - , version = "b83fcc13d5f9b1c28baeede35319f34084ec7f3c" - } with foreign-generic = { repo = "https://github.com/working-group-purescript-es/purescript-foreign-generic.git" @@ -356,186 +148,9 @@ in upstream , "record" ] } - with heterogeneous = - { dependencies = - [ "either", "functors", "prelude", "record", "tuples", "variant" ] - , repo = "https://github.com/natefaubion/purescript-heterogeneous.git" - , version = "v0.5.1" - } - with interpolate = - { dependencies = [ "prelude" ] - , repo = "https://github.com/jordanmartinez/purescript-interpolate.git" - , version = "v3.0.1" - } - with interpolate.version = "patch-1" - with interpolate.repo - = "https://github.com/i-am-the-slime/purescript-interpolate.git" - with justifill = - { dependencies = [ "record", "spec", "typelevel-prelude" ] - , repo = "https://github.com/i-am-the-slime/purescript-justifill.git" - , version = "v0.2.1" - } - with morello = - { dependencies = - [ "console", "debug", "effect", "heterogeneous", "strings", "validation" ] - , repo = "https://github.com/sigma-andex/purescript-morello.git" - , version = "v0.2.0" - } - with react-basic = - { dependencies = [ "prelude", "effect", "record" ] - , repo = "https://github.com/lumihq/purescript-react-basic.git" - , version = "v16.0.0" - } - with react-basic-dom = - { dependencies = - [ "prelude" - , "console" - , "effect" - , "foreign-object" - , "psci-support" - , "react-basic" - , "unsafe-coerce" - , "web-dom" - , "web-events" - , "web-file" - , "web-html" - ] - , repo = "https://github.com/lumihq/purescript-react-basic-dom.git" - , version = "v4.2.0" - } - with react-basic-emotion = - { dependencies = - [ "colors" - , "console" - , "effect" - , "foreign" - , "foreign-object" - , "numbers" - , "prelude" - , "react-basic" - , "react-basic-hooks" - , "typelevel-prelude" - , "unsafe-reference" - ] - , repo = "https://github.com/lumihq/purescript-react-basic-emotion.git" - , version = "v6.0.0" - } - with uuid = - { dependencies = [ "effect", "maybe", "foreign-generic", "console", "spec" ] - , repo = "https://github.com/i-am-the-slime/purescript-uuid.git" - , version = "patch-2" - } - with react-basic-hooks = - { dependencies = - [ "aff" - , "aff-promise" - , "bifunctors" - , "console" - , "control" - , "datetime" - , "effect" - , "either" - , "exceptions" - , "foldable-traversable" - , "functions" - , "indexed-monad" - , "integers" - , "maybe" - , "newtype" - , "now" - , "nullable" - , "ordered-collections" - , "prelude" - , "psci-support" - , "react-basic" - , "refs" - , "tuples" - , "type-equality" - , "unsafe-coerce" - , "unsafe-reference" - , "web-html" - ] - , repo = "https://github.com/spicydonuts/purescript-react-basic-hooks.git" - , version = "e7494bd4656b4a43c2efc69bf5f512e154f05cc1" - } - with react-basic.repo - = - "https://github.com/working-group-purescript-es/purescript-react-basic.git" - with react-basic.version = "es-modules" - with react-basic-dom.repo - = - "https://github.com/working-group-purescript-es/purescript-react-basic-dom.git" - with react-basic-dom.version = "es-modules" - with react-basic-emotion.repo - = - "https://github.com/working-group-purescript-es/purescript-react-basic-emotion.git" - with react-basic-emotion.version = "es-modules" - with literals = - { dependencies = - [ "assert" - , "effect" - , "console" - , "integers" - , "numbers" - , "partial" - , "psci-support" - , "unsafe-coerce" - , "typelevel-prelude" - ] - , repo = "https://github.com/jvliwanag/purescript-literals.git" - , version = "v0.2.0" - } - with literals.repo - = - "https://github.com/working-group-purescript-es/purescript-literals.git" - with literals.version = "es-modules" - with untagged-union = - { dependencies = - [ "assert" - , "console" - , "effect" - , "foreign" - , "foreign-object" - , "literals" - , "maybe" - , "newtype" - , "psci-support" - , "tuples" - , "unsafe-coerce" - ] - , repo = "https://github.com/jvliwanag/purescript-untagged-union.git" - , version = "v0.3.0" - } - with untagged-union.repo - = - "https://github.com/working-group-purescript-es/purescript-untagged-union.git" - with untagged-union.version = "es-modules" - with react-testing-library = - { name = "react-testing-library" - , dependencies = [ "react-basic", "react-basic-hooks", "react-basic-dom" ] - , repo = - "https://github.com/i-am-the-slime/purescript-react-testing-library.git" - , version = "v4.0.1" - } - with record-extra = - { repo = - "https://github.com/working-group-purescript-es/purescript-record-extra.git" - , version = "v0.15.0-update" - , dependencies = - [ "arrays" - , "console" - , "effect" - , "functions" - , "lists" - , "maybe" - , "prelude" - , "record" - , "tuples" - , "typelevel-prelude" - ] - } with fahrtwind = { repo = "https://github.com/rowtype-yoga/purescript-fahrtwind.git" + , version = "v1.0.1" , dependencies = [ "arrays" , "colors" @@ -549,24 +164,31 @@ in upstream , "typelevel-prelude" , "unsafe-coerce" ] - , version = "6f457d26d56d15f8eb3609dd687dba19fbfd85b5" } - with react-virtuoso = - { dependencies = - [ "effect", "functions", "prelude", "react-basic", "react-basic-dom" ] - , repo = "https://github.com/rowtype-yoga/purescript-react-virtuoso.git" - , version = "5be142c5a651509e9e9a68582ed1807c029ba1b5" + with record-studio = + { repo = "https://github.com/rowtype-yoga/purescript-record-studio.git" + , version = "v1.0.4" + , dependencies = + [ "heterogeneous", "lists", "prelude", "record", "typelevel-prelude" ] } - with yoga-tree = - { dependencies = - [ "arrays" - , "control" - , "foldable-traversable" - , "free" - , "maybe" + with react-basic-storybook = ../purescript-react-basic-storybook/spago.dhall as Location + with react-aria = + { repo = "https://github.com/rowtype-yoga/purescript-react-aria" + , version = "v0.2.0" + , dependencies = + [ "aff" + , "effect" + , "foreign" + , "foreign-object" + , "nullable" + , "ordered-collections" , "prelude" - , "tailrec" + , "react-basic" + , "react-basic-dom" + , "react-basic-hooks" + , "unsafe-coerce" + , "untagged-union" + , "web-dom" + , "web-html" ] - , version = "master" - , repo = "https://github.com/rowtype-yoga/purescript-yoga-tree.git" } diff --git a/spago.dhall b/spago.dhall index d7597c9..57fa935 100644 --- a/spago.dhall +++ b/spago.dhall @@ -21,7 +21,6 @@ You can edit this file as you like. , "foreign-generic" , "foreign-object" , "framer-motion" - , "free" , "functions" , "heterogeneous" , "integers" @@ -37,21 +36,21 @@ You can edit this file as you like. , "prelude" , "profunctor-lenses" , "random" + , "react-aria" , "react-basic" , "react-basic-dom" , "react-basic-emotion" , "react-basic-hooks" + , "react-basic-storybook" , "react-testing-library" , "react-virtuoso" , "record" - , "record-extra" + , "record-studio" , "refs" , "remotedata" , "spec" - , "spec-discovery" , "st" , "strings" - , "tailrec" , "transformers" , "tuples" , "two-or-more" @@ -64,7 +63,6 @@ You can edit this file as you like. , "web-events" , "web-html" , "web-uievents" - , "yoga-tree" ] , packages = ./packages.dhall , sources = [ "src/**/*.purs" ] diff --git a/src/MediaQuery.purs b/src/MediaQuery.purs index 5104826..6e32ed6 100644 --- a/src/MediaQuery.purs +++ b/src/MediaQuery.purs @@ -6,4 +6,4 @@ import Web.HTML (Window) foreign import matchMedia ∷ String → Window → Effect MediaQueryList -foreign import matches ∷ MediaQueryList → Effect Boolean \ No newline at end of file +foreign import matches ∷ MediaQueryList → Effect Boolean diff --git a/src/Plumage/Atom/Button.purs b/src/Plumage/Atom/Button.purs deleted file mode 100644 index 25b0e9d..0000000 --- a/src/Plumage/Atom/Button.purs +++ /dev/null @@ -1,148 +0,0 @@ -module Plumage.Atom.Button where - -import Prelude - -import Data.Array (fold) -import Data.Monoid (guard) -import Data.Nullable as Nullable -import Data.Traversable (for_) -import Data.Tuple.Nested ((/\)) -import Foreign.Object as Object -import Framer.Motion as M -import Fahrtwind.Layer as Layer -import Fahrtwind.Style (background, black, border, borderCol, borderNone, borderSolid, boxSizingBorderBox, cursorPointer, gray, inlineBlock, mXY, opacity, pX, pXY, pY, positionAbsolute, positionRelative, rounded, roundedXl, shadowDefaultCol, shadowSm, textCol, violet, white) -import Prim.Row (class Union) -import React.Aria.Button (ButtonPropsImpl, useButton) -import React.Aria.Focus (useFocusRing) -import React.Aria.Utils (mergeProps) -import React.Basic (JSX) -import React.Basic.DOM (css, unsafeCreateDOMComponent) -import React.Basic.DOM as R -import React.Basic.Emotion (Style) -import React.Basic.Emotion as E -import React.Basic.Hooks (Component, component, useEffectAlways) -import React.Basic.Hooks as React -import Yoga.Prelude.View (getBoundingBoxFromRef) - -mkButton ∷ - ∀ attrsIn69 attrsIn_70. - Union attrsIn69 attrsIn_70 ButtonPropsImpl ⇒ - Component - { buttonProps ∷ Record attrsIn69 - , children ∷ Array JSX - , containerCss ∷ Style - , css ∷ Style - } -mkButton = do - rawButton ← unsafeCreateDOMComponent "button" - component "Button" \props → React.do - ref ← React.useRef Nullable.null - containerRef ← React.useRef Nullable.null - boundingBox /\ setBoundingBox ← React.useState' zero - useEffectAlways do - maybeBB ← getBoundingBoxFromRef containerRef - for_ maybeBB \bb → - when (bb /= boundingBox) (setBoundingBox bb) - mempty - { buttonProps } ← useButton props.buttonProps ref - { isFocused, isFocusVisible, focusProps } ← - useFocusRing { within: false, isTextInput: false, autoFocus: false } - pure - $ E.element R.div' - { className: "plm-button-container" - , css: - positionRelative - <> inlineBlock - <> pXY 0 - <> mXY 0 - <> props.containerCss - , ref: containerRef - , children: - [ E.element rawButton - ( mergeProps - focusProps - ( mergeProps - buttonProps - { className: "plm-button" - , css: props.css - , ref - , children: props.children - } - ) - ) - , guard (isFocused && isFocusVisible) - ( E.element M.div - { className: "focus-outline" - , css: focusStyle - , initial: - M.initial - $ css - { width: boundingBox.width - , height: boundingBox.height - , left: 0 - , top: 0 - } - , animate: - M.animate - $ css - { width: boundingBox.width + 12.0 - , height: boundingBox.height + 12.0 - , left: -6.0 - , top: -6.0 - } - , layout: M.layout true - , layoutId: M.layoutId "focus-indicator" - , _aria: Object.singleton "hidden" "true" - } - ) - ] - } - -focusStyle ∷ Style -focusStyle = - fold - [ border 4 - , borderCol violet._400 - , borderSolid - , boxSizingBorderBox - , rounded (E.px 17) - , positionAbsolute - , opacity 80 - , Layer.topmost - ] - -baseButtonStyle ∷ Style -baseButtonStyle = - fold - [ background white - , textCol black - , roundedXl - , borderSolid - , borderCol gray._300 - , border 1 - , pY 11 - , pX 27 - , boxSizingBorderBox - , shadowSm - , cursorPointer - , E.css - { fontFamily: E.str "InterVariable, sans-serif" - , fontSize: E.str "0.95em" - , fontWeight: E.str "500" - , letterSpacing: E.str "0.025em" - , textAlign: E.str "center" - , outline: E.none - } - ] - -primaryButtonStyle ∷ Style -primaryButtonStyle = - baseButtonStyle - <> fold - [ background violet._600 - , textCol white - , borderNone - , pY 12 - , pX 28 - , shadowDefaultCol violet._600 - ] \ No newline at end of file diff --git a/src/Plumage/Atom/InfiniteLoadingBar.purs b/src/Plumage/Atom/InfiniteLoadingBar.purs deleted file mode 100644 index 9c2b20f..0000000 --- a/src/Plumage/Atom/InfiniteLoadingBar.purs +++ /dev/null @@ -1,93 +0,0 @@ -module Plumage.Atom.InfiniteLoadingBar where - -import Plumage.Prelude.Style - -import Data.Array ((..)) -import Network.RemoteData (RemoteData) -import Network.RemoteData as RemoteData -import Fahrtwind.Style as TW -import Plumage.Util.HTML as H -import React.Basic.DOM as R -import React.Basic.Emotion as E -import React.Basic.Hooks as React -import Yoga ((/>), ( gap 4 - <> E.css { alignSelf: E.center } - <> boxSizingContentBox - ) - ( (1 .. number) - <#> \i → - R.div' - - "ms" - } - , css: baseStyle number <> dynamicStyle number rd i - } - /> [] - ) - where - dynamicStyle number rd i = case rd of - RemoteData.NotAsked → notAskedStyle - RemoteData.Loading → loadingStyle case i of - x | x < (number - 3) → TW.violet - _ → TW.violet - RemoteData.Failure _ → errorStyle - RemoteData.Success _ → successStyle - - loadingStyle col = E.css { animationName: glowAnimation col } - - baseStyle number = - ( width 12 - <> height 4 - <> boxSizingContentBox - <> background (violet._400 # desaturate 0.8) - <> E.css - { borderRadius: E.str "14%" - , animation: E.str "x 1s infinite ease-in-out" - , animationFillMode: E.str "alternate" - , animationDuration: E.str $ show (number * 50 * 2) <> "ms" - } - ) - - notAskedStyle = background TW.warmGray._300 - errorStyle = background TW.red._400 - successStyle = - E.css - { boxShadow: - E.str - ("0 0 2px " <> cssStringRGBA (TW.gray._300 # withAlpha 0.6)) - } - - glowAnimation col = - E.keyframes - { from: - background (col._400 # desaturate 0.8) - <> E.css - { boxShadow: - E.str - ( "0 0 1px " <> cssStringRGBA - (col._200 # withAlpha 0.0) - ) - } - , to: - background col._500 - <> E.css - { boxShadow: - E.str - ( "0 0 5px " <> cssStringRGBA - (col._400 # withAlpha 0.33) - ) - } - } diff --git a/src/Plumage/Atom/Input/Input/Style.purs b/src/Plumage/Atom/Input/Input/Style.purs deleted file mode 100644 index b9fc5b5..0000000 --- a/src/Plumage/Atom/Input/Input/Style.purs +++ /dev/null @@ -1,125 +0,0 @@ -module Plumage.Atom.Input.Input.Style where - -import Plumage.Prelude.Style - -import React.Basic.Emotion (auto, px) -import Yoga.Block.Internal.CSS (transparent) - -blockContainerStyle ∷ Style -blockContainerStyle = - flexCol - <> textCol gray._700 - <> focusWithin blockContainerFocusWithinStyle - -blockContainerFocusWithinStyle ∷ Style -blockContainerFocusWithinStyle = css - { "&>label": nested - $ translate "0px" "4px" - <> textCol violet._50 - <> background violet._500 - } - -defaultLabelStyle ∷ Style -defaultLabelStyle = - (textSized 0.8 1.2) - <> trackingTight - <> textTransformUppercase - <> css { borderRadius: str "4px 4px 0 0" } - <> pL 6 - <> pY 3 - <> transition "all 0.2s ease-in-out" - <> fontMedium - -smallLabelStyle ∷ Style -smallLabelStyle = defaultLabelStyle <> textSized 0.67 0.7 - -inputBackground ∷ Color -inputBackground = (coolGray._700 # rotateHue 30.0 # desaturate 0.1) - -defaultInputStyle ∷ Style -defaultInputStyle = - border 3 - <> textCol gray._800 - <> borderCol (gray._300 # withAlpha 0.5) - <> transition "all 0.2s ease-in-out" - <> roundedDefault - <> textLg - <> pY 6 - <> pX 8 - <> hover - ( borderCol (gray._500 # withAlpha 0.5) - ) - <> shadow "inset 0 1px 4px rgba(0,0,0,0.3)" - <> focus - defaultInputFocusStyle - <> outlineNone - <> placeholder (textCol (gray._500)) - -defaultInputFocusStyle ∷ Style -defaultInputFocusStyle = - borderCol violet._500 - -- <> E.css { backgroundImage: E.none } - -- <> background (violet._900 # darken 0.1) - <> textCol violet._100 - <> placeholder (textCol violet._400) - -type InputProps = - { id ∷ String - , value ∷ String - , setValue ∷ String → Effect Unit - , placeholder ∷ String - , placeholders ∷ Array String - } - -plumageInputContainerStyle ∷ Style -plumageInputContainerStyle = - width' auto - <> flexRow - <> itemsCenter - <> positionRelative - <> borderSolid - <> roundedMd - <> textSm - <> border 2 - <> borderCol' (var "--plm-inputBorder-colour") - <> background' (var "--plm-inputBackground-colour") - <> textCol' (var "--plm-inputIcon--colour") - <> focusWithin plumageInputContainerFocusWithinStyle - <> - ( attributeValueStyle "data-input-size" "small" - ( rounded (5 # px) - <> border 1 - <> fontSize 12 - ) - ) - -plumageInputContainerFocusWithinStyle ∷ Style -plumageInputContainerFocusWithinStyle = borderCol' - (var "--plm-inputBorderActive-colour") - -plumageInputStyle ∷ Style -plumageInputStyle = - userSelectText - <> height 32 - <> background transparent - <> border 0 - <> mXY 0 - <> width 1 - <> flexGrow 1 - <> outlineNone - <> textCol' (var "--plm-inputText-colour") - <> pB 1 - <> pL 8 - <> css - { autocomplete: str "off" - , autocorrect: str "off" - , spellcheck: str "false" - } - <> css - { "&[data-input-size='small']": nested - $ pT 0 - <> pB 1 - <> pL 8 - <> height 26 - - } \ No newline at end of file diff --git a/src/Plumage/Atom/Input/Select.purs b/src/Plumage/Atom/Input/Select.purs deleted file mode 100644 index 0cc4abf..0000000 --- a/src/Plumage/Atom/Input/Select.purs +++ /dev/null @@ -1,43 +0,0 @@ -module Plumage.Atom.Input.Select where - -import Prelude - -import Effect (Effect) -import Plumage.Atom.Input.Input.Style (plumageInputContainerStyle) -import Plumage.Atom.Input.Select.Style (plumageSelectStyle) -import Plumage.Util.HTML as Styled -import React.Basic.DOM as R -import React.Basic.Hooks as React -import Yoga ((/>), ( - ( choices <#> \c → R.option' - [ R.text $ toString c ] - ) - ] - --- [ R.div_ [ R.text (toString choice) ] --- , H.div_ (widthAndHeight 16) --- [ Heroicons.chevronDown ] - --- ] diff --git a/src/Plumage/Atom/Input/Select/Style.purs b/src/Plumage/Atom/Input/Select/Style.purs deleted file mode 100644 index 91fd00d..0000000 --- a/src/Plumage/Atom/Input/Select/Style.purs +++ /dev/null @@ -1,31 +0,0 @@ -module Plumage.Atom.Input.Select.Style where - -import Plumage.Prelude.Style - -import Plumage.Atom.Input.Input.Style (plumageInputStyle) -import React.Basic.DOM.SVG as SVG - -plumageSelectStyle ∷ Style -plumageSelectStyle = - plumageInputStyle - <> css { appearance: none } - <> pR 8 - <> svgBackgroundImage - ( SVG.svg - { viewBox: "0 0 24 24" - , xmlns: "http://www.w3.org/2000/svg" - , stroke: cssStringRGBA gray._400 - , fill: "none" - , children: - [ SVG.path - { strokeLinecap: "round" - , strokeLinejoin: "round" - , strokeWidth: "4" - , d: "M19 9l-7 7-7-7" - } - ] - } - ) - <> backgroundPosition "right 4px center" - <> backgroundNoRepeat - <> backgroundSize "10px" \ No newline at end of file diff --git a/src/Plumage/Atom/Input/View.purs b/src/Plumage/Atom/Input/View.purs deleted file mode 100644 index ee0f57c..0000000 --- a/src/Plumage/Atom/Input/View.purs +++ /dev/null @@ -1,39 +0,0 @@ -module Plumage.Atom.Input.View where - -import Plumage.Prelude.Style - -import Plumage.Atom.Input.Input.Style (plumageInputContainerStyle, plumageInputStyle) -import Plumage.Util.HTML as Styled -import React.Basic.DOM as R -import React.Basic.Hooks (Component) -import React.Basic.Hooks as React -import Yoga (()) -import Yoga.Block.Atom.Input.Hook.UseTypingPlaceholders (useTypingPlaceholders) -import Yoga.Prelude.View (handler, targetValue) - -type InputProps = - { id ∷ String - , value ∷ String - , setValue ∷ String → Effect Unit - , placeholder ∷ String - , placeholders ∷ Array String - } - -mkInput ∷ Component InputProps -mkInput = React.component "Input" render - where - render ∷ InputProps → _ - render (props@{ id, value, setValue } ∷ InputProps) = React.do - inputRef ← useTypingPlaceholders props.placeholder props.placeholders - pure $ - Styled.div "input-container" plumageInputContainerStyle - [ R.input' - - { id - , className: "plm-input" - , css: plumageInputStyle - , value - , onChange: handler targetValue (traverse_ setValue) - , ref: inputRef - } - ] diff --git a/src/Plumage/Atom/Modal/View.purs b/src/Plumage/Atom/Modal/View.purs deleted file mode 100644 index 71ce887..0000000 --- a/src/Plumage/Atom/Modal/View.purs +++ /dev/null @@ -1,91 +0,0 @@ -module Plumage.Atom.Modal.View where - -import Yoga.Prelude.View - -import Fahrtwind (acceptClicks) -import Fahrtwind.Style.Color.Background (background) -import Fahrtwind.Style.Color.Tailwind as TW -import Fahrtwind.Style.Color.Util (withAlpha) -import Fahrtwind.Style.Inset (left, left', top) as P -import Fahrtwind.Style.Position (positionFixed) -import Fahrtwind.Style.Size (heightScreen, widthScreen) as P -import Fahrtwind.Style.Transform (translate) -import Plumage.Hooks.UseRenderInPortal (useRenderInPortal) -import Plumage.Util.HTML as H -import React.Basic.DOM as R -import React.Basic.Emotion (Style) -import React.Basic.Emotion as E -import React.Basic.Hooks as React - -clickAwayStyle ∷ Style -clickAwayStyle = - P.widthScreen - <> P.heightScreen - <> positionFixed - <> P.left 0 - <> P.top 0 - <> acceptClicks - --- [TODO] Move out -mkClickAway ∷ - React.Component - { css ∷ Style - , hide ∷ Effect Unit - , isVisible ∷ Boolean - , clickAwayId ∷ String - } -mkClickAway = do - React.component "Clickaway" - \{ css, isVisible, hide, clickAwayId } → - React.do - renderInPortal ← useRenderInPortal clickAwayId - pure - $ guard isVisible - $ renderInPortal - $ R.div' - - { className: "click-away" - , css: clickAwayStyle <> css - , onMouseUp: handler_ hide - , onTouchEnd: handler_ hide - } - -modalStyle ∷ Style -modalStyle = positionFixed <> P.left' (50.0 # E.percent) - <> P.top 0 - <> translate "-50%" "0" - <> acceptClicks - -type ModalIds = { clickAwayId ∷ String, modalContainerId ∷ String } - -type Props = - { hide ∷ Effect Unit - , isVisible ∷ Boolean - , content ∷ JSX - , allowClickAway ∷ Boolean - , clickAwayId ∷ String - , modalContainerId ∷ String - } - -mkModal ∷ React.Component Props -mkModal = do - clickAway ← mkClickAway - React.component "Modal" \props → React.do - let - { hide - , isVisible - , content - , allowClickAway - , clickAwayId - , modalContainerId - } = props - renderInPortal ← useRenderInPortal modalContainerId - pure $ fragment - [ clickAway - { css: background (TW.gray._900 # withAlpha 0.5) - , hide: if allowClickAway then hide else mempty - , isVisible - , clickAwayId - } - , renderInPortal (H.div "modal" modalStyle [ content ]) - ] \ No newline at end of file diff --git a/src/Plumage/Hooks/UseRenderInPortal.purs b/src/Plumage/Hooks/UseRenderInPortal.purs deleted file mode 100644 index ba75ad4..0000000 --- a/src/Plumage/Hooks/UseRenderInPortal.purs +++ /dev/null @@ -1,28 +0,0 @@ -module Plumage.Hooks.UseRenderInPortal - ( UseRenderInPortal(..) - , useRenderInPortal - ) where - -import Yoga.Prelude.View - -import Data.Maybe (isNothing) -import Data.Newtype (class Newtype) -import React.Basic.DOM (createPortal) -import React.Basic.Hooks as React -import Web.DOM (Element) -import Yoga.Block.Internal (findElementByIdInDocument) - -newtype UseRenderInPortal hooks = UseRenderInPortal - (UseEffect Unit (UseState (Maybe Element) hooks)) - -derive instance Newtype (UseRenderInPortal hooks) _ - -useRenderInPortal ∷ String → Hook UseRenderInPortal (JSX → JSX) -useRenderInPortal portalId = coerceHook React.do - portalʔ /\ setPortal ← React.useState' Nothing - let renderInPortal jsx = portalʔ # foldMap (createPortal jsx) - useEffectOnce do - when (portalʔ # isNothing) do - findElementByIdInDocument portalId >>= setPortal - mempty - pure renderInPortal \ No newline at end of file diff --git a/src/Plumage/Molecule/Typeahead/Style.purs b/src/Plumage/Molecule/Typeahead/Style.purs deleted file mode 100644 index 51f5425..0000000 --- a/src/Plumage/Molecule/Typeahead/Style.purs +++ /dev/null @@ -1,31 +0,0 @@ -module Plumage.Molecule.Typeahead.Style where - -import Yoga.Prelude.Style - -import Yoga.Block.Container.Style (col) - -resultsContainer ∷ Style -resultsContainer = - background' col.inputBackground - <> pT 0 - <> pX 0 - <> flexCol - <> justifyEnd - <> itemsStart - <> gap 3 - <> roundedLg - <> textXs - <> shadowLg - <> borderCol gray._200 - <> overflowHidden - -resultContainer ∷ Style -resultContainer = pY 2 <> cursorPointer <> overflowHidden - -item ∷ Style -item = - focus - ( background' col.highlight - <> textCol' col.highlightText - <> outlineNone - ) diff --git a/src/Plumage/Prelude/Style.purs b/src/Plumage/Prelude/Style.purs deleted file mode 100644 index 64cafb6..0000000 --- a/src/Plumage/Prelude/Style.purs +++ /dev/null @@ -1,12 +0,0 @@ -module Plumage.Prelude.Style - ( module Yoga.Prelude.Default - , module Fahrtwind.Style - , module Color - , module React.Basic.Emotion - ) where - -import Color (Color, ColorSpace(..), Interpolator, brightness, complementary, contrast, cssStringHSLA, cssStringRGBA, darken, desaturate, distance, fromHexString, fromInt, graytone, hsl, hsla, hsv, hsva, isLight, isReadable, lab, lch, lighten, luminance, mix, mixCubehelix, rgb, rgb', rgba, rgba', rotateHue, saturate, textColor, toGray, toHSLA, toHSVA, toHexString, toLCh, toLab, toRGBA, toRGBA', toXYZ, xyz) -import Yoga.Prelude.Default (class Applicative, class Apply, class Bind, class BooleanAlgebra, class Bounded, class Category, class CommutativeRing, class Discard, class DivisionRing, class Eq, class EuclideanRing, class Field, class Functor, class HeytingAlgebra, class Monad, class Monoid, class Ord, class Ring, class Semigroup, class Semigroupoid, class Semiring, class Show, type (~>), Effect, Either(..), Maybe(..), MaybeT(..), Ordering(..), Unit, Void, absurd, add, ap, append, apply, between, bind, clamp, compare, comparing, compose, conj, const, degree, discard, disj, div, eq, flap, flip, fold, foldMap, foldMapWithIndex, for_, fromMaybe, fromMaybe', gcd, guard, hush, identity, ifM, intercalate, isJust, join, lcm, lift, liftA1, liftEffect, liftM1, map, mapWithIndex, max, maybe, mempty, min, mod, mul, negate, not, notEq, note, one, otherwise, pure, recip, runMaybeT, runMaybeT_, show, sub, traverse_, unit, unless, unlessM, void, when, whenM, zero, (#), ($), ($>), (&&), (*), (*>), (+), (-), (/), (/=), (<), (<#>), (<$), (<$>), (<*), (<*>), (<<<), (<=), (<=<), (<>), (<@>), (<|>), (=<<), (==), (>), (>=), (>=>), (>>=), (>>>), (||)) -import React.Basic.Emotion (StyleProperty, Style, nested, css, str, var, none) - -import Fahrtwind.Style \ No newline at end of file diff --git a/src/React/Aria/Button.js b/src/React/Aria/Button.js deleted file mode 100644 index 4618321..0000000 --- a/src/React/Aria/Button.js +++ /dev/null @@ -1,50 +0,0 @@ -import { useButton } from "@react-aria/button" - -export const useButtonImpl = useButton - -export function toDashedProps(psProps) { - const arias = psProps.hasOwnProperty("_aria") - ? Object.fromEntries( - Object.entries(psProps._aria).map(([key, value]) => [ - "aria-" + key, - value - ]) - ) - : {} - const datas = psProps.hasOwnProperty("_data") - ? Object.fromEntries( - Object.entries(psProps._data).map(([key, value]) => [ - "data-" + key, - value - ]) - ) - : {} - const reactProps = Object.assign({}, psProps, arias, datas) - delete reactProps._aria - delete reactProps._data - return reactProps -} - -export function fromDashedProps(reactProps) { - const psProps = {} - let _aria = {} - let _data = {} - Object.entries(reactProps.buttonProps).forEach(([key, value]) => { - if (key.startsWith("aria-")) { - _aria[key.slice(5)] = value - } else if (key.startsWith("data-")) { - _data[key.slice(5)] = value - } else { - psProps[key] = value - } - // console.log(psProps) - }) - if (Object.keys(_aria).length !== 0) { - psProps._aria = _aria - } - if (Object.keys(_data).length !== 0) { - psProps._data = _data - } - reactProps.buttonProps = psProps - return reactProps -} diff --git a/src/React/Aria/Button.purs b/src/React/Aria/Button.purs deleted file mode 100644 index ca85b6e..0000000 --- a/src/React/Aria/Button.purs +++ /dev/null @@ -1,98 +0,0 @@ -module React.Aria.Button - ( useButton - , UseButton - , ButtonPropsImpl - , pressEvent - , PressEventImpl - ) where - -import Prelude -import Data.Nullable (Nullable) -import Effect.Uncurried (EffectFn1, EffectFn2, runEffectFn2) -import Foreign (Foreign, unsafeFromForeign, unsafeToForeign) -import Foreign.Object (Object) -import Prim.Row (class Union) -import React.Basic.Events (EventFn, SyntheticEvent, EventHandler, unsafeEventFn) -import React.Basic.Hooks (Hook, Ref, unsafeHook) -import Unsafe.Coerce (unsafeCoerce) -import Untagged.Union (OneOf) -import Web.DOM (Node) -import Web.HTML (HTMLElement) - -foreign import data UseButton ∷ Type → Type - -type PressEventImpl = - { type ∷ String - , pointerType ∷ String - , target ∷ HTMLElement - , shiftKey ∷ Boolean - , ctrlKey ∷ Boolean - , metaKey ∷ Boolean - } - -pressEvent ∷ EventFn SyntheticEvent PressEventImpl -pressEvent = unsafeEventFn unsafeCoerce - -type ButtonPropsImpl = - ( elementType ∷ String -- button/a/div... - , isDisabled ∷ Boolean - , onPress ∷ EventHandler - , onPressStart ∷ EventHandler - , onPressEnd ∷ EventHandler - , onPressUp ∷ EventHandler - , onPressChange ∷ EffectFn1 Boolean Unit - , preventFocusOnPress ∷ Boolean - , href ∷ String -- for `a` - , target ∷ String -- for `a` - , rel ∷ String -- for `a` - , "aria-expanded" ∷ Boolean - , "aria-haspopup" ∷ OneOf Boolean String - , "aria-controls" ∷ String - , "aria-pressed" ∷ Boolean - , type ∷ String -- button/submit/reset - , excludeFromTabOrder ∷ Boolean - , "aria-label" ∷ String - , "aria-labelledby" ∷ String - , "aria-describedby" ∷ String - , "aria-details" ∷ String - ) - -type ButtonPropsResult = - { _aria ∷ Object String - , disabled ∷ Boolean - , onBlur ∷ EventHandler - , onClick ∷ EventHandler - , onDragStart ∷ EventHandler - , onFocus ∷ EventHandler - , onKeyDown ∷ EventHandler - , onKeyUp ∷ EventHandler - , onMouseDown ∷ EventHandler - , onPointerDown ∷ EventHandler - , onPointerUp ∷ EventHandler - , tabIndex ∷ Int - , type ∷ String - } - -useButton ∷ - ∀ attrsIn attrsIn_. - Union attrsIn attrsIn_ ButtonPropsImpl ⇒ - { | attrsIn } → - Ref (Nullable Node) → - Hook UseButton { isPressed ∷ Boolean, buttonProps ∷ ButtonPropsResult } -useButton props ref = - unsafeHook - $ - runEffectFn2 useButtonImpl - (unsafeToForeign $ props) - ref - <#> (fromDashedProps >>> unsafeFromForeign) - -foreign import useButtonImpl ∷ - EffectFn2 - (Foreign) - (Ref (Nullable Node)) - (Foreign) - -foreign import toDashedProps ∷ Foreign → Foreign - -foreign import fromDashedProps ∷ Foreign → Foreign diff --git a/src/React/Aria/Combobox.js b/src/React/Aria/Combobox.js deleted file mode 100644 index 0ec22ad..0000000 --- a/src/React/Aria/Combobox.js +++ /dev/null @@ -1,3 +0,0 @@ -import { useComboBox } from "@react-aria/combobox" - -export const useComboBoxImpl = useComboBox diff --git a/src/React/Aria/Combobox.purs b/src/React/Aria/Combobox.purs deleted file mode 100644 index 3ca062c..0000000 --- a/src/React/Aria/Combobox.purs +++ /dev/null @@ -1,127 +0,0 @@ -module React.Aria.Combobox where - -import Prelude - -import Data.Nullable (Nullable) -import Effect (Effect) -import Effect.Uncurried (EffectFn1, EffectFn2, runEffectFn2) -import Prim.Row (class Union) -import React.Aria.JSSet (JSSet) -import React.Aria.Types (FocusStrategy, MenuTriggerAction, Selection, SelectionBehaviour, SelectionMode, ValidationState) -import React.Basic (JSX) -import React.Basic.Events (EventHandler, SyntheticEvent) -import React.Basic.Hooks (Hook, Ref, unsafeHook) -import Web.DOM (Node) - --- UseComboBox -newtype UseComboBox hooks = UseComboBox hooks - -type AriaComboBoxPropsRequired a r = - ( inputRef ∷ Ref (Nullable Node) - , popoverRef ∷ Ref (Nullable Node) - , listBoxRef ∷ Ref (Nullable Node) - , children ∷ a → JSX -- Must map to either an item or a section - | r - ) - -type AriaComboBoxPropsOptional a = - ( buttonRef ∷ Ref (Nullable Node) - , defaultItems ∷ Array a - , items ∷ Array a - -- , keyboardDelegate :: KeyboardDelegate - , onOpenChange ∷ - EffectFn2 Boolean {- isOpen -} - String {- menuTriggerAction: 'focus' | 'input' | 'manual' -} - Unit - , inputValue ∷ String - , defaultInputValue ∷ String - , onInputChange ∷ EffectFn1 String Unit - , allowsCustomValue ∷ Boolean - , menuTrigger ∷ MenuTriggerAction - , shouldFocusWrap ∷ Boolean -- | Whether keyboard navigation is circular. - , disabledKeys ∷ - Array String -- | The item keys that are disabled. These items cannot be selected, focused, or otherwise interacted with. - , disallowEmptySelection ∷ Boolean -- | Whether the collection allows empty selection. - , selectedKey ∷ String -- | The currently selected key in the collection (controlled). - , defaultSelectedKey ∷ String -- | The initial selected key in the collection (uncontrolled). - , onSelectionChange ∷ EffectFn1 String Unit - , isDisabled ∷ Boolean - , isReadOnly ∷ Boolean - , placeholder ∷ String - , id ∷ String - , validationState ∷ ValidationState - , isRequired ∷ Boolean - , autoFocus ∷ Boolean - , onFocus ∷ EventHandler - , onBlur ∷ EventHandler - , onFocusChange ∷ EffectFn1 Boolean Unit - , onKeyDown ∷ EventHandler - , onKeyUp ∷ EventHandler - , label ∷ JSX - , description ∷ JSX - , errorMessage ∷ JSX - ) - -type UseComboBoxState = - { inputValue ∷ String - , isFocused ∷ Boolean - , selectedKey ∷ String - , selectedItem ∷ Node - , collection ∷ Array Node - , disabledKeys :: JSSet String - , selectionManager :: SelectionManager - , focusStrategy ∷ FocusStrategy - , isOpen ∷ Boolean - , setInputValue ∷ EffectFn1 String Unit - , commit ∷ Effect Unit - , open ∷ EffectFn2 (Nullable FocusStrategy) MenuTriggerAction Unit - , toggle ∷ EffectFn2 (Nullable FocusStrategy) MenuTriggerAction Unit - , revert ∷ Effect Unit - , setFocused ∷ EffectFn1 Boolean Unit - , setSelectedKey ∷ EffectFn1 String Unit - , close ∷ Effect Unit - } - -type SelectionManager = - { selectionMode ∷ SelectionMode - , disallowEmptySelection ∷ Boolean - , selectionBehavior ∷ SelectionBehaviour - , isFocused ∷ Boolean - , focusedKey ∷ String - , childFocusStrategy ∷ FocusStrategy - , selectedKeys :: JSSet String - , rawSelection :: Selection - , isEmpty ∷ Boolean - , isSelectAll ∷ Boolean - , firstSelectedKey ∷ Nullable String - , lastSelectedKey ∷ Nullable String - , setSelectionBehavior ∷ EffectFn1 SelectionBehaviour Unit - , setFocused ∷ EffectFn1 Boolean Unit - , setFocusedKey ∷ EffectFn2 String FocusStrategy Unit - , isSelected ∷ EffectFn1 String Boolean - , extendSelection ∷ EffectFn1 String Unit - , toggleSelection ∷ EffectFn1 String Unit - , replaceSelection ∷ EffectFn1 String Unit - , setSelectedKeys ∷ EffectFn1 (Array String) Unit - , selectAll ∷ Effect Unit - , clearSelection ∷ Effect Unit - , toggleSelectAll ∷ Effect Unit - , select ∷ EffectFn2 String SyntheticEvent Unit - , isSelectionEqual :: EffectFn1 (JSSet String) Unit - , canSelectItem ∷ EffectFn1 String Unit - } - -type ComboBoxAria = { comboBoxProps ∷ { "data-isComboBox" ∷ Boolean } } - -foreign import useComboBoxImpl - ∷ ∀ props state - . EffectFn2 props state ComboBoxAria - -useComboBox - ∷ ∀ a props props_ - . Union props props_ (AriaComboBoxPropsOptional a) - ⇒ { | AriaComboBoxPropsRequired a props } - → UseComboBoxState - → Hook UseComboBox ComboBoxAria -useComboBox p s = unsafeHook do - runEffectFn2 useComboBoxImpl p s diff --git a/src/React/Aria/Focus.js b/src/React/Aria/Focus.js deleted file mode 100644 index 2f29855..0000000 --- a/src/React/Aria/Focus.js +++ /dev/null @@ -1,5 +0,0 @@ -import { FocusRing, FocusScope, useFocusRing } from "@react-aria/focus" - -export const focusRingImpl = FocusRing -export const focusScopeImpl = FocusScope -export const useFocusRingImpl = useFocusRing diff --git a/src/React/Aria/Focus.purs b/src/React/Aria/Focus.purs deleted file mode 100644 index 0f157b1..0000000 --- a/src/React/Aria/Focus.purs +++ /dev/null @@ -1,27 +0,0 @@ -module React.Aria.Focus where - -import Prelude -import Effect.Uncurried (EffectFn1, runEffectFn1) -import React.Basic (ReactComponent) -import React.Basic.Events (EventHandler) -import React.Basic.Hooks (Hook, unsafeHook) - -foreign import focusRingImpl ∷ ∀ props. ReactComponent { | props } - -foreign import focusScopeImpl ∷ ∀ props. ReactComponent { | props } - -foreign import useFocusRingImpl ∷ EffectFn1 UseFocusRingInput UseFocusRingResult - -foreign import data UseFocusRing ∷ Type -> Type - -type UseFocusRingResult = - { isFocused ∷ Boolean - , isFocusVisible ∷ Boolean - , focusProps ∷ { onBlur ∷ EventHandler, onFocus ∷ EventHandler } - } - -type UseFocusRingInput = - { within ∷ Boolean, isTextInput ∷ Boolean, autoFocus ∷ Boolean } - -useFocusRing ∷ UseFocusRingInput -> Hook UseFocusRing UseFocusRingResult -useFocusRing = unsafeHook <<< runEffectFn1 useFocusRingImpl diff --git a/src/React/Aria/Interactions.js b/src/React/Aria/Interactions.js deleted file mode 100644 index b7fe973..0000000 --- a/src/React/Aria/Interactions.js +++ /dev/null @@ -1,4 +0,0 @@ -import { useFocusWithin, useFocus } from "@react-aria/interactions" - -export const useFocusWithinImpl = useFocusWithin -export const useFocusImpl = useFocus diff --git a/src/React/Aria/Interactions.purs b/src/React/Aria/Interactions.purs deleted file mode 100644 index 984cea2..0000000 --- a/src/React/Aria/Interactions.purs +++ /dev/null @@ -1,56 +0,0 @@ -module React.Aria.Interactions2 where - -import Prelude - -import Effect.Uncurried (EffectFn1, runEffectFn1) -import Prim.Row (class Union) -import React.Basic.Events (EventHandler) -import React.Basic.Hooks (Hook, unsafeHook) - --- UseFocusWithin - -type FocusWithinProps = - ( isDisabled ∷ Boolean - , onFocusWithin ∷ EventHandler - , onBlurWithin ∷ EventHandler - , onFocusWithinChange ∷ EffectFn1 Boolean Unit - ) - -type FocusWithinResult = - { focusWithinProps ∷ - { onBlur ∷ EventHandler, onFocus ∷ EventHandler } - } - -foreign import useFocusWithinImpl ∷ ∀ props. EffectFn1 props FocusWithinResult - -newtype UseFocusWithin a = UseFocusWithin a - -useFocusWithin ∷ - ∀ props props_. - Union props props_ FocusWithinProps ⇒ - { | props } → - Hook UseFocusWithin FocusWithinResult -useFocusWithin = unsafeHook <<< runEffectFn1 useFocusWithinImpl - --- UseFocus - -type FocusProps = - ( isDisabled ∷ Boolean - , onFocus ∷ EventHandler - , onBlur ∷ EventHandler - , onFocusChange ∷ EffectFn1 Boolean Unit - ) - -type FocusResult = - { focusProps ∷ { onBlur ∷ EventHandler, onFocus ∷ EventHandler } } - -foreign import useFocusImpl ∷ ∀ props. EffectFn1 props FocusResult - -newtype UseFocus a = UseFocus a - -useFocus ∷ - ∀ props props_. - Union props props_ FocusProps ⇒ - { | props } → - Hook UseFocus FocusResult -useFocus = unsafeHook <<< runEffectFn1 useFocusImpl \ No newline at end of file diff --git a/src/React/Aria/JSSet.js b/src/React/Aria/JSSet.js deleted file mode 100644 index 7320aa1..0000000 --- a/src/React/Aria/JSSet.js +++ /dev/null @@ -1,4 +0,0 @@ -export const toArray = Array.from -export function fromArray(arr) { - return new Set(arr) -} diff --git a/src/React/Aria/JSSet.purs b/src/React/Aria/JSSet.purs deleted file mode 100644 index 802b244..0000000 --- a/src/React/Aria/JSSet.purs +++ /dev/null @@ -1,17 +0,0 @@ -module React.Aria.JSSet where - -import Prelude - -import Data.Set (Set) -import Data.Set as Set - -foreign import data JSSet ∷ Type → Type - -foreign import toArray ∷ JSSet ~> Array -foreign import fromArray ∷ Array ~> JSSet - -fromJSSet ∷ ∀ a. Ord a ⇒ JSSet a → Set a -fromJSSet = toArray >>> Set.fromFoldable - -toJSSet ∷ Set ~> JSSet -toJSSet = Set.toUnfoldable >>> fromArray \ No newline at end of file diff --git a/src/React/Aria/Listbox.js b/src/React/Aria/Listbox.js deleted file mode 100644 index 174c0fe..0000000 --- a/src/React/Aria/Listbox.js +++ /dev/null @@ -1,6 +0,0 @@ -import { useListBox, useListBoxSection, useOption } from "@react-aria/listbox" - -export const useListBoxImpl = useListBox -export const useListBoxSectionImpl = useListBoxSection -export const useOptionImpl = useOption -// exports.getItemIdImpl = listbox.getItemId; diff --git a/src/React/Aria/Listbox.purs b/src/React/Aria/Listbox.purs deleted file mode 100644 index 1ec6baf..0000000 --- a/src/React/Aria/Listbox.purs +++ /dev/null @@ -1,112 +0,0 @@ -module React.Aria.Listbox where - -import Prelude - -import Data.Nullable (Nullable) -import Effect.Uncurried (EffectFn1, EffectFn3, runEffectFn3) -import Prim.Row (class Union) -import React.Aria.Combobox (SelectionManager) -import React.Aria.JSSet (JSSet) -import React.Aria.Types (FocusStrategy, Selection, SelectionMode) -import React.Basic (JSX, Ref) -import React.Basic.Events (EventHandler) -import React.Basic.Hooks (Hook, unsafeHook) -import Web.DOM (Node) - -type ListState = - { collection ∷ Array Node - , disabledKeys ∷ JSSet String - , selectionManager ∷ SelectionManager - } - ---########################################################################## - -type AriaListBoxOptions a = - ( isVirtualized ∷ Boolean - -- , keyboardDelegate :: KeyboardDelegate - , shouldUseVirtualFocus ∷ Boolean - , shouldSelectOnPressUp ∷ Boolean - , shouldFocusOnHover ∷ Boolean - , label ∷ JSX - , autoFocus ∷ FocusStrategy - , shouldFocusWrap ∷ Boolean - , items ∷ Array a - , disabledKeys ∷ Array String - , selectionMode ∷ SelectionMode - , disallowEmptySelection ∷ Boolean - , selectedKeys ∷ Array String - , defaultSelectedKeys ∷ Array String - , onSelectionChange ∷ EffectFn1 Selection Unit - , onFocus ∷ EventHandler - , onBlur ∷ EventHandler - , onFocusChange ∷ EffectFn1 Boolean Unit - , id ∷ String - , "aria-label" ∷ String - , "aria-labelledby" ∷ String - , "aria-describedby" ∷ String - , "aria-details" ∷ String - ) - -type ListBoxAria = - { listBoxProps ∷ {} - , labelProps ∷ {} - } - -foreign import useListBoxImpl - ∷ ∀ props. EffectFn3 props ListState (Ref (Nullable Node)) ListBoxAria - -newtype UseListBox hooks = UseListBox hooks - -useListBox - ∷ ∀ a props props_ - . Union props props_ (AriaListBoxOptions a) - ⇒ { | props } - → ListState - → Ref (Nullable Node) - → Hook UseListBox ListBoxAria -useListBox p s r = unsafeHook do - runEffectFn3 useListBoxImpl p s r - ---########################################################################## - -type AriaOptionPropsOptional = ("aria-label" ∷ String) -type AriaOptionPropsRequired r = (key ∷ String | r) -type OptionAria = - { optionProps ∷ {} - , labelProps ∷ {} - , descriptionProps ∷ {} - , isFocused ∷ Boolean - , isSelected ∷ Boolean - , isPressed ∷ Boolean - , isDisabled ∷ Boolean - } - -foreign import useOptionImpl - ∷ ∀ props. EffectFn3 props ListState (Ref (Nullable Node)) OptionAria - -newtype UseOption hooks = UseOption hooks - -useOption - ∷ ∀ props props_ - . Union props props_ AriaOptionPropsOptional - ⇒ { | AriaOptionPropsRequired props } - → ListState - → (Ref (Nullable Node)) - → Hook UseOption OptionAria -useOption p s r = unsafeHook do - runEffectFn3 useOptionImpl p s r - ---########################################################################## - -type AriaListBoxSectionProps = (heading :: JSX, "aria-label" :: String) -type ListBoxSectionAria = - { itemProps ∷ {} -- [FIXME] - , headingProps ∷ {} -- [FIXME] - , groupProps ∷ {} -- [FIXME] - } - -foreign import useListBoxSectionImpl - ∷ forall props - . EffectFn1 props ListBoxSectionAria - -newtype UseListBoxSection hooks = UseListBoxSection hooks \ No newline at end of file diff --git a/src/React/Aria/Overlays.js b/src/React/Aria/Overlays.js deleted file mode 100644 index 0e8617f..0000000 --- a/src/React/Aria/Overlays.js +++ /dev/null @@ -1,37 +0,0 @@ -import { - useModal, - useOverlay, - useOverlayPosition, - useOverlayTrigger, - usePreventScroll, - OverlayProvider, - OverlayContainer, - DismissButton, - ModalProvider -} from "@react-aria/overlays" - -export const useModalImpl = useModal -export const useOverlayImpl = useOverlay -export const useOverlayPositionImpl = useOverlayPosition -export const useOverlayTriggerImpl = useOverlayTrigger -export const usePreventScrollImpl = usePreventScroll -export const overlayProvider = OverlayProvider -export const overlayContainer = OverlayContainer -export const dismissButton = DismissButton -export const modalProvider = ModalProvider - -export function toPSAria(obj) { - let result = {} - Object.keys(obj).forEach((k) => { - if (k.startsWith("aria-")) { - const v = obj[k] - if (v !== undefined && v !== null) { - const newKey = k.substring(5) - result[newKey] = v - } - } else { - console.error(`${k} is not an aria attribute`) - } - }) - return result -} diff --git a/src/React/Aria/Overlays.purs b/src/React/Aria/Overlays.purs deleted file mode 100644 index 634b9f8..0000000 --- a/src/React/Aria/Overlays.purs +++ /dev/null @@ -1,159 +0,0 @@ -module React.Aria.Overlays where - -import Prelude - -import Data.Nullable (Nullable) -import Effect (Effect) -import Effect.Aff.Compat (runEffectFn1) -import Effect.Uncurried (EffectFn1, EffectFn2, EffectFn3, runEffectFn2, runEffectFn3) -import Foreign (Foreign) -import Foreign.Object (Object) -import Prim.Row (class Union) -import React.Basic (JSX) -import React.Basic.DOM (CSS) -import React.Basic.Events (EventHandler) -import React.Basic.Hooks (Hook, ReactComponent, Ref, unsafeHook) -import Web.DOM (Node) -import Web.HTML (HTMLElement) - --- UseModal -newtype UseModal hooks = UseModal hooks - -type UseModalOptions = { isDisabled :: Boolean } - -type ModalAria = { modalProps :: { "data-ismodal" :: Boolean } } - -foreign import useModalImpl ∷ EffectFn1 UseModalOptions ModalAria - -useModal :: UseModalOptions -> Hook UseModal ModalAria -useModal = unsafeHook <<< runEffectFn1 useModalImpl - --- UseOverlay -newtype UseOverlay hooks = UseOverlay hooks - -type UseOverlayProps = - ( isOpen ∷ Boolean - , onClose ∷ Effect Unit - , isDismissable ∷ Boolean - , shouldCloseOnBlur ∷ Boolean - , isKeyboardDismissaDisabled ∷ Boolean - , shouldCloseOnInteractOutside ∷ HTMLElement → Boolean - ) - -type OverlayAria = - { overlayProps ∷ { onKeyDown ∷ EventHandler } - , underlayProps ∷ { onPointerDown ∷ EventHandler } - } - -foreign import useOverlayImpl - ∷ ∀ useOverlayProps. EffectFn2 useOverlayProps (Ref (Nullable Node)) OverlayAria - -useOverlay - ∷ ∀ props props_ - . Union props props_ UseOverlayProps - ⇒ Record props - → Ref (Nullable Node) - → Hook UseOverlay OverlayAria -useOverlay x y = unsafeHook $ runEffectFn2 useOverlayImpl x y - --- UseOverlayPosition -newtype UseOverlayPosition hooks = UseOverlayPosition hooks - -type UseAriaPositionPropsRequired r = - ( targetRef ∷ Ref (Nullable Node) - , overlayRef ∷ Ref (Nullable Node) - | r - ) - -type UseAriaPositionPropsOptional = - ( boundaryElement ∷ HTMLElement - , scrollRef ∷ Ref (Nullable Node) - , shouldUpdatePosition ∷ Boolean - , onClose ∷ Effect Unit - , placement ∷ String - , containerPadding ∷ Number - , offset ∷ Number - , crossOffset ∷ Number - , shouldFlip ∷ Boolean - , isOpen ∷ Boolean - ) - -type PositionAria = - { overlayProps :: { style :: CSS } - , arrowProps :: { style :: CSS } - , placement :: String - , updatePosition :: Effect Unit - } - -foreign import useOverlayPositionImpl - ∷ ∀ props - . EffectFn1 props PositionAria - -usePosition - ∷ ∀ props props_ - . Union props props_ UseAriaPositionPropsOptional - ⇒ Record (UseAriaPositionPropsRequired props) - → Hook UseOverlayPosition PositionAria -usePosition = unsafeHook <<< runEffectFn1 useOverlayPositionImpl - --- UseOverlayTrigger -newtype UseOverlayTrigger hooks = UseOverlayTrigger hooks - --- | Type must be one of the following --- | 'dialog' --- | 'menu' --- | 'listbox' --- | 'tree' --- | 'grid' -type UseOverlayTriggerProps = { type ∷ String } - -type UseOverlayTriggerState = - { isOpen ∷ Boolean - , open ∷ Effect Unit - , close ∷ Effect Unit - , toggle ∷ Effect Unit - } - -type OverlayTriggerAriaImpl = - { triggerProps ∷ Object Foreign - , overlayProps ∷ { id ∷ String } - } - -type OverlayTriggerAria = - { triggerProps ∷ { _aria ∷ Object String } - , overlayProps ∷ { id ∷ String } - } - -foreign import useOverlayTriggerImpl ∷ - EffectFn3 - UseOverlayTriggerProps - UseOverlayTriggerState - (Ref (Nullable Node)) - OverlayTriggerAriaImpl - -useOverlayTrigger - ∷ UseOverlayTriggerProps - → UseOverlayTriggerState - → Ref (Nullable Node) - → Hook UseOverlayTrigger OverlayTriggerAria -useOverlayTrigger x y z = unsafeHook do - implProps ← runEffectFn3 useOverlayTriggerImpl x y z - pure (implProps { triggerProps = { _aria: toPSAria implProps.triggerProps } }) - --- Prevent Scroll -newtype UsePreventScroll hooks = UsePreventScroll hooks -type UsePreventScrollOptions = { isDisabled :: Boolean } - -foreign import usePreventScrollImpl ∷ EffectFn1 UsePreventScrollOptions Unit - -usePreventScroll :: UsePreventScrollOptions -> Hook UsePreventScroll Unit -usePreventScroll = unsafeHook <<< runEffectFn1 usePreventScrollImpl - --- foreign import ariaHideOutsideImpl ∷ Fn2 Foreign Foreign (Effect Unit) - -foreign import overlayProvider :: ReactComponent { children :: Array JSX } -foreign import overlayContainer :: ReactComponent { children :: Array JSX } -foreign import dismissButton :: ReactComponent { onDismiss :: Effect Unit } -foreign import modalProvider :: ReactComponent { children :: Array JSX } - -foreign import toPSAria ∷ Object Foreign → Object String \ No newline at end of file diff --git a/src/React/Aria/Types.purs b/src/React/Aria/Types.purs deleted file mode 100644 index 3cfd779..0000000 --- a/src/React/Aria/Types.purs +++ /dev/null @@ -1,81 +0,0 @@ -module React.Aria.Types where - -import Prelude - -import React.Aria.JSSet (JSSet) -import Unsafe.Coerce (unsafeCoerce) - --- MenuTriggerAction -foreign import data MenuTriggerAction ∷ Type - -menuTriggerActionFocus ∷ MenuTriggerAction -menuTriggerActionFocus = unsafeCoerce "focus" - -menuTriggerActionInput ∷ MenuTriggerAction -menuTriggerActionInput = unsafeCoerce "input" - -menuTriggerActionManual ∷ MenuTriggerAction -menuTriggerActionManual = unsafeCoerce "manual" - -instance Eq MenuTriggerAction where - eq a b = ((unsafeCoerce a) ∷ String) == unsafeCoerce b - --- ValidationState -foreign import data ValidationState ∷ Type - -validationStateValid ∷ ValidationState -validationStateValid = unsafeCoerce "valid" - -validationStateInvalid ∷ ValidationState -validationStateInvalid = unsafeCoerce "invalid" - -instance Eq ValidationState where - eq a b = ((unsafeCoerce a) ∷ String) == unsafeCoerce b - --- FocusStrategy -foreign import data FocusStrategy ∷ Type - -focusStrategyFirst ∷ FocusStrategy -focusStrategyFirst = unsafeCoerce "first" - -focusStrategyLast ∷ FocusStrategy -focusStrategyLast = unsafeCoerce "last" - -instance Eq FocusStrategy where - eq a b = ((unsafeCoerce a) ∷ String) == unsafeCoerce b - --- SelectionMode -foreign import data SelectionMode ∷ Type - -selectionModeNone ∷ SelectionMode -selectionModeNone = unsafeCoerce "none" - -selectionModeSingle ∷ SelectionMode -selectionModeSingle = unsafeCoerce "single" - -selectionModeMultiple ∷ SelectionMode -selectionModeMultiple = unsafeCoerce "multiple" - -instance Eq SelectionMode where - eq a b = ((unsafeCoerce a) ∷ String) == unsafeCoerce b - --- SelectionBehaviour -foreign import data SelectionBehaviour ∷ Type - -selectionBehaviourToggle ∷ SelectionBehaviour -selectionBehaviourToggle = unsafeCoerce "toggle" - -selectionBehaviourReplace ∷ SelectionBehaviour -selectionBehaviourReplace = unsafeCoerce "replace" - -instance Eq SelectionBehaviour where - eq a b = ((unsafeCoerce a) ∷ String) == unsafeCoerce b - --- Selection -foreign import data Selection ∷ Type - -selectionAll ∷ Selection -selectionAll = unsafeCoerce "all" - -selectionFromSet ∷ JSSet String -> SelectionBehaviour -selectionFromSet = unsafeCoerce diff --git a/src/React/Aria/Utils.js b/src/React/Aria/Utils.js deleted file mode 100644 index bf21bbe..0000000 --- a/src/React/Aria/Utils.js +++ /dev/null @@ -1,7 +0,0 @@ -import { mergeProps, useId } from "@react-aria/utils" - -export function mergePropsImpl(args) { - return mergeProps(...args) -} - -export const useIdImpl = useId diff --git a/src/React/Aria/Utils.purs b/src/React/Aria/Utils.purs deleted file mode 100644 index 23077f5..0000000 --- a/src/React/Aria/Utils.purs +++ /dev/null @@ -1,19 +0,0 @@ -module React.Aria.Utils where - -import Foreign (Foreign, unsafeFromForeign, unsafeToForeign) -import Prim.Row (class Union) -import React.Basic.Hooks (Hook, unsafeHook) -import Effect (Effect) - -foreign import useIdImpl ∷ Effect String - -newtype UseId a = UseId a - -useId ∷ Hook UseId String -useId = unsafeHook useIdImpl - -foreign import mergePropsImpl ∷ Array Foreign → Foreign - -mergeProps ∷ ∀ r1 r2 r3. Union r1 r2 r3 ⇒ { | r1 } → { | r2 } → { | r3 } -mergeProps r1 r2 = unsafeFromForeign - (mergePropsImpl [ unsafeToForeign r1, unsafeToForeign r2 ]) diff --git a/src/Web/DOM/ResizeObserver.js b/src/Web/DOM/ResizeObserver.js index 9a35e2d..e15e6c2 100644 --- a/src/Web/DOM/ResizeObserver.js +++ b/src/Web/DOM/ResizeObserver.js @@ -1,33 +1,20 @@ "use strict" -export function resizeObserver(cb) { - return function () { - return new ResizeObserver(function (entries, observer) { - return cb(entries)(observer)() - }) - } -} - -export function _observe(element) { - return function (config) { - return function (observer) { - return function () { - return observer.observe(element, config) - } +export const resizeObserver = cb => () => { + return new ResizeObserver( + (entries, observer) => { + cb(entries)(observer)() } - } + ) } -export function unobserve(observer) { - return function (element) { - return function () { - return observer.unobserve(element) - } - } -} +export const _observe = + config => observer => element => () => + observer.observe(element, config) + +export const unobserve = + observer => element => () => + observer.unobserve(element) -export function disconnect(observer) { - return function () { - return observer.disconnect() - } -} +export const disconnect = + observer => () => observer.disconnect() diff --git a/src/Web/DOM/ResizeObserver.purs b/src/Web/DOM/ResizeObserver.purs index f42e6cb..43230ed 100644 --- a/src/Web/DOM/ResizeObserver.purs +++ b/src/Web/DOM/ResizeObserver.purs @@ -42,19 +42,26 @@ optionsToFFI ContentBox = "content-box" optionsToFFI DevicePixelContentBox = "device-pixel-content-box" foreign import resizeObserver - ∷ (Array ResizeObserverEntry -> ResizeObserver -> Effect Unit) + ∷ ( Array ResizeObserverEntry + -> ResizeObserver + -> Effect Unit + ) -> Effect ResizeObserver -foreign import _observe ∷ ∀ r. Element -> Record r -> ResizeObserver -> Effect Unit +foreign import _observe ∷ ∀ r. Record r -> ResizeObserver -> Element -> Effect Unit observe ∷ ResizeObserverBoxOptions -> ResizeObserver -> Element -> Effect Unit -observe options observer element = - _observe element { box: optionsToFFI options } observer +observe options = _observe { box: optionsToFFI options } -foreign import unobserve ∷ ResizeObserver -> Element -> Effect Unit +foreign import unobserve + ∷ ResizeObserver + -> Element + -> Effect Unit -foreign import disconnect ∷ ResizeObserver -> Effect Unit +foreign import disconnect + ∷ ResizeObserver + -> Effect Unit diff --git a/src/Yoga.purs b/src/Yoga.purs index d4ae9a2..6083257 100644 --- a/src/Yoga.purs +++ b/src/Yoga.purs @@ -11,22 +11,27 @@ import Record as Record import Type.Proxy (Proxy(..)) import Unsafe.Coerce (unsafeCoerce) -div ∷ ∀ attrs attrs_. Union attrs attrs_ Props_div ⇒ ReactComponent (Record attrs) -div = R.div' +div' ∷ + ∀ attrs attrs_. Union attrs attrs_ Props_div ⇒ ReactComponent (Record attrs) +div' = R.div' -span ∷ ∀ attrs attrs_. Union attrs attrs_ Props_span ⇒ ReactComponent (Record attrs) -span = R.span' +span' ∷ + ∀ attrs attrs_. Union attrs attrs_ Props_span ⇒ ReactComponent (Record attrs) +span' = R.span' -button ∷ ∀ attrs attrs_. Union attrs attrs_ Props_button ⇒ ReactComponent (Record attrs) -button = R.button' +button' ∷ + ∀ attrs attrs_. + Union attrs attrs_ Props_button ⇒ + ReactComponent (Record attrs) +button' = R.button' -el - ∷ ∀ props - . Lacks "children" props - ⇒ ReactComponent { children ∷ Array JSX | props } - → Record props - → Array JSX - → JSX +el ∷ + ∀ props. + Lacks "children" props ⇒ + ReactComponent { children ∷ Array JSX | props } → + Record props → + Array JSX → + JSX el x props children = (Hooks.element) x @@ -36,35 +41,40 @@ infixl 5 el as -leaf - ∷ ∀ props - . Lacks "children" props - ⇒ ReactComponent { | props } - → Record props - → JSX +leaf ∷ + ∀ props. + Lacks "children" props ⇒ + ReactComponent { | props } → + Record props → + JSX leaf x props = Hooks.element x props infixl 5 leaf as -styled - ∷ ∀ props - . Lacks "children" props - ⇒ ReactComponent { children ∷ Array JSX | props } - → { css ∷ Emotion.Style | props } - → Array JSX - → JSX +styled ∷ + ∀ props. + Lacks "children" props ⇒ + ReactComponent { children ∷ Array JSX | props } → + { css ∷ Emotion.Style | props } → + Array JSX → + JSX styled x props children = - (unsafeCoerce Emotion.element ∷ ∀ r. ReactComponent { | r } → { css ∷ Emotion.Style | r } → JSX) x + ( unsafeCoerce Emotion.element ∷ + ∀ r. ReactComponent { | r } → { css ∷ Emotion.Style | r } → JSX + ) x (Record.insert (Proxy ∷ Proxy "children") children props) infixl 5 styled as diff --git a/src/Yoga/Block.purs b/src/Yoga/Block.purs index da47345..ac995ac 100644 --- a/src/Yoga/Block.purs +++ b/src/Yoga/Block.purs @@ -5,10 +5,12 @@ import React.Basic (JSX, ReactComponent) import React.Basic as React import Yoga (el) import Yoga.Block.Atom.Button as Button +import Yoga.Block.Atom.Checkbox as Checkbox import Yoga.Block.Atom.Icon as Icon import Yoga.Block.Atom.Image as Image import Yoga.Block.Atom.Input as Input import Yoga.Block.Atom.Range as Range +import Yoga.Block.Atom.Select as Select import Yoga.Block.Atom.Segmented as Segmented import Yoga.Block.Atom.Toggle as Toggle import Yoga.Block.Container as Container @@ -23,11 +25,18 @@ import Yoga.Block.Layout.Stack as Stack import Yoga.Block.Layout.Switcher as Switcher import Yoga.Block.Molecule.Modal as Modal import Yoga.Block.Molecule.ReadMore as ReadMore +import Yoga.Block.Quark.Layer as Layer box' ∷ ∀ p q. Union p q Box.Props ⇒ ReactComponent { | p } box' = Box.component -box ∷ ∀ p q. Lacks "children" p ⇒ Union p q Box.PropsNoChildren ⇒ { | p } → Array JSX → JSX +box ∷ + ∀ p q. + Lacks "children" p ⇒ + Union p q Box.PropsNoChildren ⇒ + { | p } → + Array JSX → + JSX box = el box' box_ ∷ Array JSX → JSX @@ -36,7 +45,13 @@ box_ = box {} button' ∷ ∀ p q. Union p q Button.Props ⇒ ReactComponent { | p } button' = Button.component -button ∷ ∀ p q. Lacks "children" p ⇒ Union p q Button.PropsNoChildren ⇒ { | p } → Array JSX → JSX +button ∷ + ∀ p q. + Lacks "children" p ⇒ + Union p q Button.PropsNoChildren ⇒ + { | p } → + Array JSX → + JSX button = el button' button_ ∷ Array JSX → JSX @@ -45,7 +60,13 @@ button_ = button {} centre' ∷ ∀ p q. Union p q Centre.Props ⇒ ReactComponent { | p } centre' = Centre.component -centre ∷ ∀ p q. Lacks "children" p ⇒ Union p q Centre.PropsNoChildren ⇒ { | p } → Array JSX → JSX +centre ∷ + ∀ p q. + Lacks "children" p ⇒ + Union p q Centre.PropsNoChildren ⇒ + { | p } → + Array JSX → + JSX centre = el centre' centre_ ∷ Array JSX → JSX @@ -54,7 +75,13 @@ centre_ = centre {} cluster' ∷ ∀ p q. Union p q Cluster.Props ⇒ ReactComponent { | p } cluster' = Cluster.component -cluster ∷ ∀ p q. Lacks "children" p ⇒ Union p q Cluster.PropsNoChildren ⇒ { | p } → Array JSX → JSX +cluster ∷ + ∀ p q. + Lacks "children" p ⇒ + Union p q Cluster.PropsNoChildren ⇒ + { | p } → + Array JSX → + JSX cluster = el cluster' cluster_ ∷ Array JSX → JSX @@ -66,16 +93,34 @@ container = Container.component cover' ∷ ∀ p q. Union p q Cover.Props ⇒ ReactComponent { | p } cover' = Cover.component -cover ∷ ∀ p q. Lacks "children" p ⇒ Union p q Cover.PropsNoChildren ⇒ { | p } → Array JSX → JSX +cover ∷ + ∀ p q. + Lacks "children" p ⇒ + Union p q Cover.PropsNoChildren ⇒ + { | p } → + Array JSX → + JSX cover = el cover' cover_ ∷ Array JSX → JSX cover_ = cover {} -grid' ∷ ∀ p q. Union p q Grid.Props ⇒ ReactComponent { children ∷ Array JSX | p } +checkbox' ∷ + ∀ p q. + Union p q Checkbox.Props ⇒ + ReactComponent { | Checkbox.MandatoryProps p } +checkbox' = Checkbox.component + +checkbox ∷ + ∀ p q. Union p q Checkbox.Props ⇒ { | Checkbox.MandatoryProps p } → JSX +checkbox = React.element checkbox' + +grid' ∷ + ∀ p q. Union p q Grid.Props ⇒ ReactComponent { children ∷ Array JSX | p } grid' = Grid.component -grid ∷ ∀ p q. Lacks "children" p ⇒ Union p q Grid.Props ⇒ { | p } → Array JSX → JSX +grid ∷ + ∀ p q. Lacks "children" p ⇒ Union p q Grid.Props ⇒ { | p } → Array JSX → JSX grid = el grid' grid_ ∷ Array JSX → JSX @@ -87,44 +132,82 @@ icon = Icon.component input ∷ ∀ p q. Union p q Input.Props ⇒ ReactComponent { | p } input = Input.component -image :: forall p q. Union p q Image.Props => { | p } -> JSX +image ∷ ∀ p q. Union p q Image.Props ⇒ { | p } → JSX image = React.element Image.component imposter ∷ ∀ p q. Union p q Imposter.Props ⇒ ReactComponent { | p } imposter = Imposter.component -modal ∷ ReactComponent Modal.Props -modal = Modal.component +modal' ∷ ReactComponent Modal.Props +modal' = Modal.component + +modal ∷ Modal.Props → JSX +modal = React.element modal' + +layer' ∷ ReactComponent { | Layer.Props } +layer' = Layer.component + +layer ∷ { | Layer.Props } → JSX +layer = React.element layer' range ∷ ∀ p q. Union p q Range.Props ⇒ ReactComponent { | p } range = Range.component +select' ∷ ∀ a. ReactComponent (Select.Props a) +select' = Select.component + +select ∷ ∀ a. (Select.Props a) → JSX +select = React.element select' + segmented' ∷ ReactComponent Segmented.Props segmented' = Segmented.component segmented ∷ Segmented.Props → JSX segmented = React.element Segmented.component -sidebar' ∷ ∀ p q. Union p q Sidebar.Props ⇒ ReactComponent { sidebar ∷ JSX, children ∷ Array JSX | p } +sidebar' ∷ + ∀ p q. + Union p q Sidebar.Props ⇒ + ReactComponent { sidebar ∷ JSX, children ∷ Array JSX | p } sidebar' = Sidebar.component -sidebar ∷ ∀ p q. Lacks "children" p ⇒ Union p q Sidebar.Props ⇒ { sidebar ∷ JSX | p } → Array JSX → JSX +sidebar ∷ + ∀ p q. + Lacks "children" p ⇒ + Union p q Sidebar.Props ⇒ + { sidebar ∷ JSX | p } → + Array JSX → + JSX sidebar = el sidebar' sidebar_ ∷ JSX → Array JSX → JSX sidebar_ jsx = sidebar { sidebar: jsx } -stack' ∷ ∀ p q. Union p q Stack.Props ⇒ ReactComponent { children ∷ Array JSX | p } +stack' ∷ + ∀ p q. Union p q Stack.Props ⇒ ReactComponent { children ∷ Array JSX | p } stack' = Stack.component -stack ∷ ∀ p q. Lacks "children" p ⇒ Union p q Stack.Props ⇒ { | p } → Array JSX → JSX +stack ∷ + ∀ p q. Lacks "children" p ⇒ Union p q Stack.Props ⇒ { | p } → Array JSX → JSX stack = el stack' stack_ ∷ Array JSX → JSX stack_ = stack {} -switcher ∷ ∀ p q. Union p q Switcher.Props ⇒ ReactComponent { | p } -switcher = Switcher.component +switcher' ∷ ∀ p q. Union p q Switcher.Props ⇒ ReactComponent { | p } +switcher' = Switcher.component + +switcher ∷ + ∀ p q. + Lacks "children" p ⇒ + Union p q Switcher.PropsNoChildren ⇒ + { | p } → + Array JSX → + JSX +switcher = el switcher' + +switcher_ ∷ Array JSX → JSX +switcher_ = switcher {} toggle ∷ ∀ p q. Union p q Toggle.Props ⇒ ReactComponent { | p } toggle = Toggle.component diff --git a/src/Yoga/Block/Atom/Button.purs b/src/Yoga/Block/Atom/Button.purs index 4a9a2df..a7aa7d0 100644 --- a/src/Yoga/Block/Atom/Button.purs +++ b/src/Yoga/Block/Atom/Button.purs @@ -1,5 +1,7 @@ module Yoga.Block.Atom.Button ( module Yoga.Block.Atom.Button.View + , module Yoga.Block.Atom.Button.Style ) where import Yoga.Block.Atom.Button.View (component, Props, PropsNoChildren) +import Yoga.Block.Atom.Button.Style (style) diff --git a/src/Yoga/Block/Atom/Button/Style.purs b/src/Yoga/Block/Atom/Button/Style.purs index 85681c8..f5365ac 100644 --- a/src/Yoga/Block/Atom/Button/Style.purs +++ b/src/Yoga/Block/Atom/Button/Style.purs @@ -3,12 +3,16 @@ module Yoga.Block.Atom.Button.Style where import Yoga.Prelude.Style import Data.Interpolate (i) -import Fahrtwind (background', hover, zIndex) -import Yoga.Block.Container.Style (col, colour, size) +import Unsafe.Coerce (unsafeCoerce) type Props :: forall k. (Type -> k) -> Row k -> Row k type Props f r = ( css ∷ f Style + , width :: f StyleProperty + , backgroundCol :: f StyleProperty + , borderCol :: f StyleProperty + , textCol :: f StyleProperty + , hoverBackgroundCol :: f StyleProperty | r ) @@ -35,11 +39,33 @@ backgroundAnimation = , "to": css { backgroundPosition: str "100% 50%" } } +varOr :: String -> StyleProperty -> StyleProperty +varOr varName alternative = str $ "var(" <> varName <> ", " <> unsafeCoerce alternative <> ")" + +style + :: { background :: String + , borderCol :: String + , hoverBackgroundCol :: String + , textCol :: String + , width :: String + } +style = + { background: prefix <> "background" + , textCol: prefix <> "color" + , borderCol: prefix <> "border-color" + , width: prefix <> "width" + , hoverBackgroundCol: prefix <> "hover-background-color" + } + where + prefix = "--ry-button-" + button ∷ Style button = - inlineFlex <> - css - { background: str colour.backgroundLayer5 + inlineFlex + <> cursorPointer + <> css + { background: varOr style.background (str colour.backgroundLayer5) + , width: varOr style.width auto , borderWidth: int 0 , position: relative , overflow: hidden @@ -47,9 +73,10 @@ button = , padding: str "calc(var(--s-1) * 0.8) var(--s0)" , paddingBottom: str "calc(var(--s-1) * 0.8 + 1px)" , justifyContent: center + , textAlign: str "start" , alignItems: center , borderRadius: var "--s-1" - , color: str colour.text + , color: varOr style.textCol (str colour.text) , touchAction: manipulation , boxSizing: borderBox , fontSize: str size.text.interactive @@ -61,17 +88,23 @@ button = , "& > .ry-drip": nested (zIndex 0) , "& > :not(.ry-drip)": nested (zIndex 1) , """&[data-button-shape="flat"]""": - nested $ hover (background' col.highlightAlpha10) <> css - { background: str "transparent" - , boxShadow: none - , color: str colour.highlightTextOnBackground - , "&:active": nest { boxShadow: none } - , """&[data-button-type="primary"]""": - nest - { background: str colour.highlight - , boxShadow: none + nested + $ + ( hover $ css + { background: varOr style.hoverBackgroundCol col.highlightAlpha10 } - } + ) + <> css + { background: varOr style.background (str "transparent") + , boxShadow: none + , color: varOr style.textCol (str colour.highlightTextOnBackground) + , "&:active": nest { boxShadow: none } + , """&[data-button-type="primary"]""": + nest + { background: str colour.highlight + , boxShadow: none + } + } , """&[data-button-shape="pill"]""": nest { borderRadius: str "calc(var(--s1) * 0.85)" @@ -80,26 +113,22 @@ button = } , """&[data-button-type="primary"]""": nest - { background: gradientBackground + { background: varOr style.background gradientBackground , backgroundSize: str "200% 200%" , fontWeight: str "500" , letterSpacing: str "calc(var(--s-5)* (0.1))" , animation: backgroundAnimation <> str " alternate ease-out 10s infinite" , boxShadow: str "0 1px 4px 0px rgba(0,0,0,0.40)" , borderColor: str "transparent" - , color: str colour.highlightText + , color: varOr style.textCol (str colour.highlightText) , "&:focus-visible": - nest - { borderColor: col.background - } + nest { borderColor: col.background } , "&:active": - nest - { boxShadow: str "inset 0 1px 6px rgba(0,0,0,0.40)" - } + nest { boxShadow: str "inset 0 1px 6px rgba(0,0,0,0.40)" } } , """&[data-button-type="dangerous"]""": nest - { color: str $ colour.interfaceDangerousText + { color: varOr style.textCol (str colour.interfaceDangerousText) , background: str $ colour.interfaceBackgroundDangerous , fontWeight: str "500" , letterSpacing: str "calc(var(--s-5) * -0.10)" @@ -112,12 +141,12 @@ button = , "&:active": nest { boxShadow: str $ "inset 0 1px calc(var(--s0) * var(--dark-mode) + var(--s-2) * var(--light-mode)) rgba(0,0,0, calc(0.18 * var(--dark-mode) + 0.09 * var(--light-mode)))" - , transform: str "scale3d(0.96,0.96,0.36)" + , transform: str "scale3d(0.98,0.98, 0.98)" , transition: str "transform 100ms ease" } , "&:disabled, &:disabled:active": nest - { color: str colour.interfaceTextDisabled + { color: varOr style.textCol (str colour.interfaceTextDisabled) , boxShadow: none , background: str colour.interfaceBackgroundDisabled , transform: str "none" diff --git a/src/Yoga/Block/Atom/Button/Types.purs b/src/Yoga/Block/Atom/Button/Types.purs index a1cd4a4..ae6a628 100644 --- a/src/Yoga/Block/Atom/Button/Types.purs +++ b/src/Yoga/Block/Atom/Button/Types.purs @@ -2,12 +2,32 @@ module Yoga.Block.Atom.Button.Types where import Prelude +import Data.Bounded.Generic (genericBottom, genericTop) +import Data.Enum (class BoundedEnum, class Enum) +import Data.Enum.Generic (genericCardinality, genericFromEnum, genericPred, genericSucc, genericToEnum) +import Data.Generic.Rep (class Generic) + data ButtonType = Primary | Dangerous | Generic -derive instance eqButtonType ∷ Eq ButtonType +derive instance Generic ButtonType _ +derive instance Eq ButtonType +derive instance Ord ButtonType + +instance Enum ButtonType where + succ = genericSucc + pred = genericPred + +instance Bounded ButtonType where + bottom = genericBottom + top = genericTop + +instance BoundedEnum ButtonType where + cardinality = genericCardinality + fromEnum = genericFromEnum + toEnum = genericToEnum renderButtonType ∷ ButtonType -> String renderButtonType = case _ of @@ -20,7 +40,22 @@ data ButtonShape | Pill | Flat -derive instance eqButtonShape ∷ Eq ButtonShape +derive instance Generic ButtonShape _ +derive instance Eq ButtonShape +derive instance Ord ButtonShape + +instance Enum ButtonShape where + succ = genericSucc + pred = genericPred + +instance Bounded ButtonShape where + bottom = genericBottom + top = genericTop + +instance BoundedEnum ButtonShape where + cardinality = genericCardinality + fromEnum = genericFromEnum + toEnum = genericToEnum renderButtonShape ∷ ButtonShape -> String renderButtonShape = case _ of diff --git a/src/Yoga/Block/Atom/Button/View.purs b/src/Yoga/Block/Atom/Button/View.purs index a294393..9839abd 100644 --- a/src/Yoga/Block/Atom/Button/View.purs +++ b/src/Yoga/Block/Atom/Button/View.purs @@ -3,17 +3,20 @@ module Yoga.Block.Atom.Button.View where import Yoga.Prelude.View import Data.Array as Array +import Data.Tuple (uncurry) import Effect.Uncurried (runEffectFn1) import Foreign.Object as Object +import React.Basic.DOM as R import React.Basic.Hooks as React import Record.Unsafe (unsafeGet, unsafeSet) +import Unsafe.Coerce (unsafeCoerce) import Untagged.Union (uorToMaybe) import Yoga.Block.Atom.Button.Style as Style import Yoga.Block.Atom.Button.Types (ButtonShape, ButtonType, renderButtonShape, renderButtonType) import Yoga.Block.Atom.Button.Types as Button import Yoga.Block.Container.Style (colour) import Yoga.Block.Hook.UseDrip (useDrip) -import Yoga.Block.Internal (ButtonWritablePropsNoChildrenF) +import Yoga.Block.Internal (ButtonWritablePropsNoChildrenF, objectToStyle, toStyleObject) import Yoga.Block.Quark.Drip.View as Drip type PropsF :: forall k. (Type -> k) -> Row k -> Row k @@ -93,5 +96,14 @@ rawComponent = props' { className: "ry-button" , css: Style.button <>? props.css + , style: objectToStyle + ( foldMap (uncurry toStyleObject) + [ Style.style.background /\ props.backgroundCol + , Style.style.textCol /\ props.textCol + , Style.style.borderCol /\ props.borderCol + , Style.style.width /\ props.width + , Style.style.hoverBackgroundCol /\ props.hoverBackgroundCol + ] + ) , _data } diff --git a/src/Yoga/Block/Atom/Checkbox.purs b/src/Yoga/Block/Atom/Checkbox.purs new file mode 100644 index 0000000..ebe3955 --- /dev/null +++ b/src/Yoga/Block/Atom/Checkbox.purs @@ -0,0 +1,5 @@ +module Yoga.Block.Atom.Checkbox + ( module Yoga.Block.Atom.Checkbox.View + ) where + +import Yoga.Block.Atom.Checkbox.View (component, Props, MandatoryProps) diff --git a/src/Yoga/Block/Atom/Checkbox/Story.purs b/src/Yoga/Block/Atom/Checkbox/Story.purs deleted file mode 100644 index 8deb738..0000000 --- a/src/Yoga/Block/Atom/Checkbox/Story.purs +++ /dev/null @@ -1,31 +0,0 @@ -module Yoga.Block.Atom.Checkbox.Story (default, checkbox) where - -import Prelude hiding (div) - -import Effect (Effect) -import Effect.Unsafe (unsafePerformEffect) -import React.Basic (JSX, element) -import React.Basic.DOM as R -import React.Basic.Emotion as E -import Yoga (()) -import Yoga.Block.Atom.Checkbox.View as Checkbox -import Yoga.Block.Container.Style as Styles - -default - ∷ { decorators ∷ Array (Effect JSX -> JSX) - , title ∷ String - } -default = - { title: "Atom/Checkbox" - , decorators: - [ \storyFn -> - R.div_ - [ element E.global { styles: Styles.global } - , unsafePerformEffect storyFn - ] - ] - } - -checkbox ∷ Effect JSX -checkbox = do - pure $ Checkbox.component {} \ No newline at end of file diff --git a/src/Yoga/Block/Atom/Checkbox/Style.purs b/src/Yoga/Block/Atom/Checkbox/Style.purs index b4c34ab..fa9fcc3 100644 --- a/src/Yoga/Block/Atom/Checkbox/Style.purs +++ b/src/Yoga/Block/Atom/Checkbox/Style.purs @@ -5,20 +5,114 @@ import Yoga.Prelude.Style type Props :: forall k. (Type -> k) -> Row k -> Row k type Props f r = ( css ∷ f Style + , size ∷ f Number + , stroke :: f String + , strokeWidth :: f Number | r ) checkmark ∷ Style checkmark = - block <> - css + block + <> widthFull + <> heightFull + <> css { path: nested $ css { transformOrigin: str "50% 50%" , strokeDasharray: int 48 , strokeDashoffset: int 48 + , strokeWidth: int 4 + , fill: none + , stroke: str "currentColor" + } + } + +checkmarkChecked = + block + <> widthFull + <> heightFull + <> css + { path: nested $ css + { transformOrigin: str "50% 50%" + , strokeDasharray: int 48 + , strokeDashoffset: int 48 + , fill: none + , stroke: str "currentColor" + , strokeWidth: int 4 , animation: str - "checkmarkAnimation .25s cubic-bezier(0.65, 0, 0.45, 1) forwards" + "checkmarkAnimation .25s cubic-bezier(0.35, 0, 0.45, 1) forwards" , animationName: keyframes { to: css { strokeDashoffset: int 0 } } + , animationDelay: str "125ms" } - } \ No newline at end of file + } + +checkmarkContainer :: Style +checkmarkContainer = + background' col.highlight + <> textCol' col.highlightText + <> positionAbsolute + <> boxSizingContentBox + <> boxSizingBorderBox + <> top (-checkboxBorder) + <> left (-checkboxBorder) + <> width' sizeStyle.l + <> height' sizeStyle.l + <> transition "clip-path 0.3s ease" + <> roundness + <> ignoreClicks + +checkmarkContainerChecked :: Style +checkmarkContainerChecked = + css { clipPath: str "circle(100%)" } + +checkmarkContainerNotChecked :: Style +checkmarkContainerNotChecked = + css { clipPath: str "circle(0%)" } + +checkboxBorder = 2 + +roundness = + roundedDefault + +container :: Style +container = + width' sizeStyle.l + <> height' sizeStyle.l + <> positionRelative + <> background' (str colour.inputBackground) + <> boxSizingBorderBox + <> overflowVisible + <> border checkboxBorder + <> borderSolid + <> borderCol' (str colour.inputBorder) + <> roundness + <> shadowSm + <> overflowVisible + <> focusWithin + ( afterElement + ( content "''" + <> roundness + <> css + { boxShadow: + str $ "0px 1px 12px 7px " <> colourWithDarkLightAlpha.highlight { darkAlpha: 0.8, lightAlpha: 0.4 } + } + <> border 1 + <> borderCol' (str $ colourWithAlpha.highlight 0.1) + <> background' (str $ colourWithAlpha.highlight 0.1) + <> ignoreClicks + <> positionAbsolute + <> widthFull + <> heightFull + <> top 0 + <> left 0 + <> overflowVisible + ) + ) + +checkbox :: Style +checkbox = (css { appearance: none }) + <> widthFull + <> heightFull + <> focus (outlineNone) + diff --git a/src/Yoga/Block/Atom/Checkbox/View.purs b/src/Yoga/Block/Atom/Checkbox/View.purs index f87b151..7a0af30 100644 --- a/src/Yoga/Block/Atom/Checkbox/View.purs +++ b/src/Yoga/Block/Atom/Checkbox/View.purs @@ -2,43 +2,65 @@ module Yoga.Block.Atom.Checkbox.View where import Yoga.Prelude.View +import React.Basic.DOM as R +import React.Basic.DOM.Events (targetChecked) import React.Basic.DOM.SVG as SVG +import React.Basic.Hooks as React import Yoga.Block.Atom.Checkbox.Style as Style type Props = PropsF Id -type MandatoryProps :: forall k. k -> k -type MandatoryProps r = (| r) +type MandatoryProps r = + ( onChecked ∷ (Boolean → Effect Unit) + , id ∷ String + | r + ) -type PropsF :: forall k. (Type -> k) -> Row k type PropsF f = - ( ticked ∷ f Boolean - , size ∷ f Number - , stroke :: f String - , strokeWidth :: f Number + ( checked ∷ f Boolean | Style.Props f (MandatoryProps ()) ) -component ∷ ∀ p p_. Union p p_ Props => ReactComponent { | MandatoryProps p } +component ∷ ∀ p p_. Union p p_ Props ⇒ ReactComponent { | MandatoryProps p } component = rawComponent -rawComponent :: forall p. ReactComponent { | p } -rawComponent = mkForwardRefComponent "Checkbox" \(props :: { | PropsF OptionalProp }) ref -> React.do - pure $ SVG.svg' - - [ SVG.path' - { stroke: props.stroke ?|| "currentColor" - , strokeWidth: show (props.strokeWidth ?|| 3.0) - , fill: "none" - , d: "M14.1 27.2l7.1 7.2 16.7-16.8" +rawComponent ∷ ∀ p. ReactComponent { | p } +rawComponent = mkForwardRefComponent "Checkbox" + \(props ∷ { | PropsF OptionalProp }) ref → React.do + checkedBackup /\ setChecked ← React.useState' false + let checked = props.checked ?|| checkedBackup + pure $ div "ry-checkbox-container" Style.container + [ R.input' + { className: "ry-checkbox" + , id: props.id + , css: Style.checkbox + , type: "checkbox" + , checked + , onChange: handler targetChecked + ( traverse_ \isChecked → do + case props.checked # opToMaybe of + Nothing → setChecked isChecked + Just _ → mempty + props.onChecked isChecked + ) } - - ] \ No newline at end of file + , div "ry-checkbox-checkmark-container" + ( Style.checkmarkContainer <> + if checked then Style.checkmarkContainerChecked + else Style.checkmarkContainerNotChecked + ) + [ SVG.svg' + + if checked then + Style.checkmarkChecked + else Style.checkmark + , xmlns: "http://www.w3.org/2000/svg" + , viewBox: "0 0 52 52" + } + /> + [ SVG.path' { d: "M14.1 27.2l7.1 7.2 16.7-16.8" } + ] + ] + ] diff --git a/src/Yoga/Block/Atom/Icon/Story.purs b/src/Yoga/Block/Atom/Icon/Story.purs deleted file mode 100644 index 8fe6eb8..0000000 --- a/src/Yoga/Block/Atom/Icon/Story.purs +++ /dev/null @@ -1,50 +0,0 @@ -module Yoga.Block.Atom.Icon.Story where - -import Prelude -import Effect (Effect) -import Effect.Unsafe (unsafePerformEffect) -import React.Basic (JSX, element, fragment) -import React.Basic.DOM as R -import React.Basic.Emotion as E -import Yoga.Block.Atom.Icon as Icon -import Yoga.Block.Container.Style as Styles -import Yoga.Block.Icon.SVG as SVGIcon - -default ∷ - { decorators ∷ Array (Effect JSX -> JSX) - , title ∷ String - } -default = - { title: "Atom/Icon" - , decorators: - [ \storyFn -> - R.div_ - [ element E.global { styles: Styles.global } - , unsafePerformEffect storyFn - ] - ] - } - -icon ∷ Effect JSX -icon = do - pure - $ fragment - [ R.div_ - [ R.h2_ [ R.text "Icon" ] - , element Icon.component { icon: SVGIcon.on, size: E.str "var(--s2)" } - , element Icon.component { icon: SVGIcon.off, size: E.str "var(--s2)" } - , element Icon.component { icon: SVGIcon.sun, size: E.str "var(--s2)" } - , element Icon.component { icon: SVGIcon.moon, size: E.str "var(--s2)" } - , element Icon.component { icon: SVGIcon.eyeClosed, size: E.str "var(--s2)" } - , element Icon.component { icon: SVGIcon.eyeOpen, size: E.str "var(--s2)" } - , element Icon.component { icon: SVGIcon.bin, size: E.str "var(--s2)" } - , element Icon.component { icon: SVGIcon.cross, size: E.str "var(--s2)" } - , element Icon.component { icon: SVGIcon.folder, size: E.str "var(--s2)" } - , element Icon.component { icon: SVGIcon.key, size: E.str "var(--s2)" } - , element Icon.component { icon: SVGIcon.magnifyingGlass, size: E.str "var(--s2)" } - , element Icon.component { icon: SVGIcon.simpleKey, size: E.str "var(--s2)" } - , element Icon.component { icon: SVGIcon.questionMark, size: E.str "var(--s2)" } - , element Icon.component { icon: SVGIcon.plus, size: E.str "var(--s2)" } - , element Icon.component { icon: SVGIcon.warn, size: E.str "var(--s2)" } - ] - ] diff --git a/src/Yoga/Block/Atom/Icon/View.purs b/src/Yoga/Block/Atom/Icon/View.purs index 2b945d9..55799a6 100644 --- a/src/Yoga/Block/Atom/Icon/View.purs +++ b/src/Yoga/Block/Atom/Icon/View.purs @@ -23,8 +23,9 @@ rawComponent ∷ ∀ p. ReactComponent { | p } rawComponent = mkForwardRefComponent "Yoga Icon" \(props ∷ { | PropsF OptionalProp }) ref -> React.do pure - $ span - ? props.className + $ span' + ? props.className , css: Style.span props , ref } diff --git a/src/Yoga/Block/Atom/Image/View.purs b/src/Yoga/Block/Atom/Image/View.purs index a84e4bf..5e9d320 100644 --- a/src/Yoga/Block/Atom/Image/View.purs +++ b/src/Yoga/Block/Atom/Image/View.purs @@ -8,36 +8,36 @@ import Yoga.Block.Atom.Image.FFI (setFallbackImgSrc) import Yoga.Block.Atom.Image.Style as Style import Yoga.Block.Atom.Image.Types (CrossOrigin, Decoding, Loading, ReferrerPolicy) -type PropsF :: forall k. (Type -> k) -> Row k -> Row k +type PropsF ∷ ∀ k. (Type → k) → Row k → Row k type PropsF f r = - ( alt :: f (Maybe String) - , decoding :: f Decoding - , loading :: f Loading - , onLoad :: f EventHandler - , crossOrigin :: f CrossOrigin - , referrerPolicy :: f ReferrerPolicy - , width :: f Int - , height :: f Int - , fallbackSrc :: f String - , sizes :: f (Array String) - , srcset :: f (Array String) + ( alt ∷ f String + , decoding ∷ f Decoding + , loading ∷ f Loading + , onLoad ∷ f EventHandler + , crossOrigin ∷ f CrossOrigin + , referrerPolicy ∷ f ReferrerPolicy + , width ∷ f Int + , height ∷ f Int + , fallbackSrc ∷ f String + , sizes ∷ f (Array String) + , srcSet ∷ f (Array String) | Style.Props f r ) type PropsNoChildren = PropsF Id () type Props = - PropsF Id (src :: String) + PropsF Id (src ∷ String) type PropsOptional = PropsF OptionalProp () -component ∷ ∀ p p_. Union p p_ Props => ReactComponent { | p } +component ∷ ∀ p p_. Union p p_ Props ⇒ ReactComponent { | p } component = rawComponent rawComponent ∷ ∀ p. ReactComponent { | p } rawComponent = mkForwardRefComponent "Image" do - \(props :: { | PropsF OptionalProp Props }) ref -> pure + \(props ∷ { | PropsF OptionalProp Props }) ref → pure $ img ( { className: "ry-img" @@ -48,12 +48,12 @@ rawComponent = mkForwardRefComponent "Image" do , crossOrigin: props.crossOrigin , width: props.width <#> show , height: props.height <#> show - , alt: props.alt <#> fromMaybe "" - , onError: props.fallbackSrc <#> - \src -> handler target (setFallbackImgSrc src) + , alt: props.alt + , onError: props.fallbackSrc <#> \src → handler target + (setFallbackImgSrc src) , sizes: props.sizes <#> intercalate "," , src: props.src - , srcset: props.srcset <#> intercalate "," + , srcSet: props.srcSet <#> intercalate "," , onLoad: props.onLoad , ref } # deleteUndefineds diff --git a/src/Yoga/Block/Atom/Input/Style.purs b/src/Yoga/Block/Atom/Input/Style.purs index b7b7138..5acef31 100644 --- a/src/Yoga/Block/Atom/Input/Style.purs +++ b/src/Yoga/Block/Atom/Input/Style.purs @@ -2,21 +2,24 @@ module Yoga.Block.Atom.Input.Style where import Yoga.Prelude.Style +import Data.Generic.Rep (class Generic) import Data.Interpolate (i) import Yoga.Block.Container.Style (colour) data SizeVariant = SizeMedium | SizeSmall | SizeTiny +derive instance Generic SizeVariant _ + sizeVariantToFactor ∷ SizeVariant → String sizeVariantToFactor = case _ of - SizeMedium -> "1" - SizeSmall -> "0.9" - SizeTiny -> "0.8" + SizeMedium → "1" + SizeSmall → "0.9" + SizeTiny → "0.8" -type Props :: forall k. (Type -> k) -> Row k -> Row k +type Props ∷ ∀ k. (Type → k) → Row k → Row k type Props f r = ( css ∷ f Style - , sizeVariant :: f SizeVariant + , sizeVariant ∷ f SizeVariant , background ∷ f String , textColour ∷ f String , placeholderColour ∷ f String @@ -42,8 +45,10 @@ labelAndInputWrapper = { position: relative -- , display: inlineBlock , "--left-icon-size": str "calc(var(--s0) * var(--input-size-factor))" - , "--right-icon-size": str "calc(var(--s0) * var(--input-size-factor)) * 1.2)" - , "--input-border-radius": str "calc(var(--s-1) * var(--input-size-factor) * var(--input-size-factor))" + , "--right-icon-size": str + "calc(var(--s0) * var(--input-size-factor)) * 1.2)" + , "--input-border-radius": str + "calc(var(--s-1) * var(--input-size-factor) * var(--input-size-factor))" , "--input-side-padding": var "--s-1" , width: inherit , margin: _0 @@ -59,7 +64,7 @@ labelContainer = <> left 0 <> top 0 -labelSmall ∷ String -> String -> Style +labelSmall ∷ String → String → Style labelSmall background textColour = css { fontSize: var "--s-1" @@ -74,7 +79,8 @@ labelSmall background textColour = nest { fontWeight: str "500" , whiteSpace: str "nowrap" - , background: str $ i "linear-gradient(" background " 61%, transparent 61%, transparent)" + , background: str $ i "linear-gradient(" background + " 61%, transparent 61%, transparent)" , color: str textColour , borderRadius: var "--s-4" , paddingLeft: var "--s-4" @@ -107,17 +113,17 @@ labelSmallFocusBackground = colour.highlightRotatedForwards ")" -labelLarge ∷ { left ∷ Number, width ∷ Number } -> Style +labelLarge ∷ { left ∷ Number, width ∷ Number } → Style labelLarge { left, width } = overflowXHidden <> css { fontSize: str "calc(var(--input-size-factor) * 15px)" , padding: _0 , whiteSpace: nowrap -- force on one line - -- , height: str "calc(var(--s0) * 1.2)" + , height: str "calc(var(--s0) * 1.2)" , letterSpacing: em (-0.011) , maxWidth: str $ i "calc(" width "px - 2ch)" - , marginTop: str "calc(7px * var(--input-size-factor))" + , marginTop: str "calc(10px * var(--input-size-factor))" , marginLeft: str $ i left "px" , marginRight: var "--input-side-padding" , color: str colour.textPaler3 @@ -132,7 +138,8 @@ labelLarge { left, width } = { content: str "'*'" , color: str colour.required , fontFamily: str "Helvetica, Arial, Inter, sans-serif" - , lineHeight: str "calc(var(--s0) * 0.85 * var(--input-size-factor))" + , lineHeight: str + "calc(var(--s0) * 0.85 * var(--input-size-factor))" } } @@ -155,14 +162,15 @@ leftIconContainer ∷ Style leftIconContainer = iconContainer <> css - { borderRadius: str "var(--input-border-radius) 0 0 var(--input-border-radius)" + { borderRadius: str + "var(--input-border-radius) 0 0 var(--input-border-radius)" , ".ry-icon": nest { "--stroke-colour": str colour.text } } -inputContainer ∷ ∀ r. { | Props OptionalProp r } -> Style +inputContainer ∷ ∀ r. { | Props OptionalProp r } → Style inputContainer props = theCss <>? props.css where theCss = @@ -170,8 +178,10 @@ inputContainer props = theCss <>? props.css css { "--left-icon-size": var "--s0" , "--right-icon-size": str "calc(var(--s0) * 1.2)" - , "--input-size-factor": str ((props.sizeVariant ?|| SizeMedium) # sizeVariantToFactor) - , "--input-side-padding": str "calc(var(--s-1) * var(--input-size-factor) * 1.2)" + , "--input-size-factor": str + ((props.sizeVariant ?|| SizeMedium) # sizeVariantToFactor) + , "--input-side-padding": str + "calc(var(--s-1) * var(--input-size-factor) * 1.2)" , "--input-top-padding": str "calc(6px)" , "--input-bottom-padding": str "calc(6px)" , letterSpacing: em (-0.011) @@ -204,10 +214,14 @@ inputContainer props = theCss <>? props.css , alignItems: center , justifyContent: center , border: str $ "var(--border-width) solid " <> colour.inputBorder - , paddingLeft: str "calc((var(--input-side-padding) - var(--border-width)) )" - , paddingRight: str "calc((var(--input-side-padding) - var(--border-width)) )" - , paddingTop: str "calc((var(--input-top-padding) - var(--border-width)) )" - , paddingBottom: str "calc((var(--input-bottom-padding)) - var(--border-width))" + , paddingLeft: str + "calc((var(--input-side-padding) - var(--border-width)) )" + , paddingRight: str + "calc((var(--input-side-padding) - var(--border-width)) )" + , paddingTop: str + "calc((var(--input-top-padding) - var(--border-width)) )" + , paddingBottom: str + "calc((var(--input-bottom-padding)) - var(--border-width))" , gap: str "calc(var(--input-side-padding) / 2)" , borderRadius: var "--input-border-radius" , overflow: str "visible" @@ -222,7 +236,7 @@ ploppedFocusWithin = css } -containerBackground ∷ ∀ r. { | Props OptionalProp r } -> Style +containerBackground ∷ ∀ r. { | Props OptionalProp r } → Style containerBackground props = css { background: str (props.background ?|| colour.inputBackground) -- , boxShadow: str @@ -235,18 +249,19 @@ containerBackground props = css } -containerContainer ∷ ∀ r. { | Props OptionalProp r } -> Style +containerContainer ∷ ∀ r. { | Props OptionalProp r } → Style containerContainer props = css { "& > *": nested $ css { gridColumn: int 1 , gridRow: int 1 } , "--border-width": str "1px" - , "--input-size-factor": str ((props.sizeVariant ?|| SizeMedium) # sizeVariantToFactor) + , "--input-size-factor": str + ((props.sizeVariant ?|| SizeMedium) # sizeVariantToFactor) , "--input-border-radius": case props.sizeVariant ?|| SizeMedium of - SizeMedium -> str "var(--s-1)" - SizeSmall -> str "var(--s-2)" - SizeTiny -> str "var(--s-3)" + SizeMedium → str "var(--s-1)" + SizeSmall → str "var(--s-2)" + SizeTiny → str "var(--s-3)" , borderRadius: var "--input-border-radius" , boxSizing: contentBox , display: grid @@ -263,10 +278,11 @@ inputWrapper = , width: inherit } -input ∷ ∀ r. { | Props OptionalProp r } -> Style +input ∷ ∀ r. { | Props OptionalProp r } → Style input props = css - { "--input-size-factor": str ((props.sizeVariant ?|| SizeMedium) # sizeVariantToFactor) + { "--input-size-factor": str + ((props.sizeVariant ?|| SizeMedium) # sizeVariantToFactor) , "&[type=text],&[type=search],&[type=password],&[type=number],&:not([type])": nest { background: str "transparent" @@ -286,12 +302,14 @@ input props = , letterSpacing: var "--letter-spacing" , "&::placeholder": nest - { color: str (props.placeholderColour ?|| colour.placeholderText) + { color: str + (props.placeholderColour ?|| colour.placeholderText) } , "&[aria-labelledby]": nest { paddingTop: str "calc(var(--padding-top) + (var(--s-5)/2))" - , paddingBottom: str "calc(var(--padding-bottom) - (var(--s-5)/2))" + , paddingBottom: str + "calc(var(--padding-bottom) - (var(--s-5)/2))" } , border: none } diff --git a/src/Yoga/Block/Atom/Input/View.purs b/src/Yoga/Block/Atom/Input/View.purs index ce90240..505df50 100644 --- a/src/Yoga/Block/Atom/Input/View.purs +++ b/src/Yoga/Block/Atom/Input/View.purs @@ -46,7 +46,7 @@ component = rawComponent mkLeftIcon ∷ JSX -> JSX mkLeftIcon icon = - div + div' - [ leading # foldMap \l -> div [ l ] + [ leading # foldMap \l -> div' [ l ] , theInput - , trailing # foldMap \t -> div [ t ] + , trailing # foldMap \t -> div' [ t ] ] pure $ case maybeLabelText of Nothing -> inputContainer Just labelText -> - div - ? props.css - } - /> [ inputContainer, mkLabel labelText ] + div "ry-label-and-input-wrapper" + (Style.labelAndInputWrapper <>? props.css) + [ inputContainer, mkLabel labelText ] passwordIcon ∷ ReactComponent @@ -199,7 +196,7 @@ passwordIcon passwordIcon = unsafePerformEffect $ reactComponent "Password Icon" \props -> React.do - pure $ div + pure $ div' props.modifyHidePassword not , className: "ry-input-right-icon-container" diff --git a/src/Yoga/Block/Atom/Input/View/HTMLInput.purs b/src/Yoga/Block/Atom/Input/View/HTMLInput.purs index 77d8f45..aad0eda 100644 --- a/src/Yoga/Block/Atom/Input/View/HTMLInput.purs +++ b/src/Yoga/Block/Atom/Input/View/HTMLInput.purs @@ -35,7 +35,7 @@ rawComponent = mkForwardRefComponent "Input" do \(props ∷ { | PropsOptional }) ref -> React.do let - inputWrapper = div props.type } pure do inputWrapper [ input ] diff --git a/src/Yoga/Block/Atom/Input/View/Label.purs b/src/Yoga/Block/Atom/Input/View/Label.purs index 5ee201b..d4807cf 100644 --- a/src/Yoga/Block/Atom/Input/View/Label.purs +++ b/src/Yoga/Block/Atom/Input/View/Label.purs @@ -11,7 +11,7 @@ import React.Basic.DOM (css) import React.Basic.DOM as R import React.Basic.Hooks (reactComponent) import React.Basic.Hooks as React -import Record.Extra (sequenceRecord) +import Record.Studio (sequenceRecord) import Yoga.Block.Atom.Input.Style (SizeVariant, sizeVariantToFactor) import Yoga.Block.Atom.Input.Style as Style @@ -69,7 +69,7 @@ component = text = R.text $ NonEmptyString.toString props.labelText result = container [ labelContainer [ labelSpan [ text ] ] ] - container = div guard disabled Style.inputDisabled <>? @@ -47,11 +47,11 @@ rawComponent = , _data: Object.singleton "testid" "range-testid" } /> - [ div + [ div' { className: "ry-range-filled" , css: Style.filled <> guard disabled Style.disabled } - , div + , div' { className: "ry-range-not-filled" , css: Style.notFilled <> guard disabled Style.disabled } diff --git a/src/Yoga/Block/Atom/Segmented/View.purs b/src/Yoga/Block/Atom/Segmented/View.purs index 01344c0..6ee28c1 100644 --- a/src/Yoga/Block/Atom/Segmented/View.purs +++ b/src/Yoga/Block/Atom/Segmented/View.purs @@ -95,7 +95,7 @@ component = contentToChild idx ({ id, value } /\ ref) = do let isLast = idx + 1 == TwoOrMore.length buttonContents let isFirst = idx == 0 - button + button' - [ span + [ span' flexRow + <> itemsCenter + <> positionRelative + <> borderSolid + <> roundedMd + <> textSm + <> css { borderWidth: str "1.5px" } + <> borderCol' (col.inputBorder) + <> background' (col.inputBackground) + <> textCol' col.text + <> focusWithin (borderCol' col.highlight) + +select ∷ Style +select = + css { appearance: none } + <> pR 8 + <> borderNone + <> widthFull + <> rounded (7 # px) + <> outlineNone + <> pY' sizeStyle.xxs + <> pL' sizeStyle.s + <> textDefault + <> textCol' col.text + <> background transparent + <> svgBackgroundImage + ( SVG.svg + { viewBox: "0 0 24 24" + , xmlns: "http://www.w3.org/2000/svg" + , stroke: cssStringRGBA gray._400 + , fill: "none" + , children: + [ SVG.path + { strokeLinecap: "round" + , strokeLinejoin: "round" + , strokeWidth: "4" + , d: "M19 9l-7 7-7-7" + } + ] + } + ) + <> backgroundPosition ("right " <> size.s <> " center") + <> backgroundNoRepeat + <> backgroundSize "10px" diff --git a/src/Yoga/Block/Atom/Select/View.purs b/src/Yoga/Block/Atom/Select/View.purs new file mode 100644 index 0000000..ec1b222 --- /dev/null +++ b/src/Yoga/Block/Atom/Select/View.purs @@ -0,0 +1,40 @@ +module Yoga.Block.Atom.Select.View where + +import Yoga.Prelude.View + +import Data.Array as Array +import Effect.Unsafe (unsafePerformEffect) +import React.Basic.DOM as R +import React.Basic.Hooks as React +import Yoga.Block.Atom.Select.Style as Style + +type Props a = + { choice ∷ a + , choices ∷ Array a + , onChange ∷ a → Effect Unit + , toString ∷ a → String + , toValue ∷ a → String + } + +component ∷ ∀ a. ReactComponent (Props a) +component = unsafePerformEffect do + React.reactComponent "Select" \{ toString, toValue, choices, onChange } → + React.do + pure $ + div "input-container" Style.container + [ R.select' + >> (_ == val)) + + } + /> + ( choices <#> \c → R.option' + [ R.text $ toString c ] + ) + ] diff --git a/src/Yoga/Block/Atom/Toggle/View.purs b/src/Yoga/Block/Atom/Toggle/View.purs index 95e1f6e..ae8b594 100644 --- a/src/Yoga/Block/Atom/Toggle/View.purs +++ b/src/Yoga/Block/Atom/Toggle/View.purs @@ -134,13 +134,13 @@ rawComponent = , children } textContainer = - div + div' Effect Unit - , toggleRef ∷ NodeRef - , buttonRef ∷ NodeRef - , togglePosition ∷ TogglePosition - , dragStateRef ∷ Ref DragState - , setDragState ∷ DragState -> Effect Unit - , tapState ∷ Ref TappingState - } +toggleCircle + ∷ ReactComponent + { onChange ∷ TogglePosition -> Effect Unit + , toggleRef ∷ NodeRef + , buttonRef ∷ NodeRef + , togglePosition ∷ TogglePosition + , dragStateRef ∷ Ref DragState + , setDragState ∷ DragState -> Effect Unit + , tapState ∷ Ref TappingState + } toggleCircle = unsafePerformEffect $ reactComponent "ToggleCircle" do diff --git a/src/Yoga/Block/Container/Style.purs b/src/Yoga/Block/Container/Style.purs index e763615..13cdafd 100644 --- a/src/Yoga/Block/Container/Style.purs +++ b/src/Yoga/Block/Container/Style.purs @@ -1,15 +1,20 @@ module Yoga.Block.Container.Style where -import Yoga.Prelude.Style +import Prelude +import Color (Color, darken, desaturate, lighten, rotateHue, saturate, toRGBA) import Color as Color +import Control.Monad.Maybe.Trans (MaybeT(..), lift, runMaybeT) +import Data.Maybe (Maybe(..)) import Data.String as String import Data.Symbol (class IsSymbol, reflectSymbol) +import Effect (Effect) import Effect.Uncurried (EffectFn2, runEffectFn2) import Foreign.Object (Object) import Foreign.Object as Object import Heterogeneous.Mapping (class HMapWithIndex, class MappingWithIndex, hmap, hmapWithIndex) -import Record.Extra (mapRecord) +import React.Basic.Emotion (Style, StyleProperty, css, nested, none, percent, rem, str) +import Record.Studio (mapRecord) import Type.Proxy (Proxy) import Unsafe.Coerce (unsafeCoerce) import Web.DOM (Element) @@ -85,7 +90,7 @@ getDarkOrLightMode = setDarkOrLightMode ∷ DarkOrLightMode → Effect Unit setDarkOrLightMode desiredMode = - runMaybeT_ do + void $ runMaybeT do docElem ← getDocumentElement style ← getElementStyle docElem # lift lift case desiredMode of @@ -106,25 +111,26 @@ mkGlobal maybeMode = { "html, body": nested $ css - { minHeight: 100.0 # percent + { height: 100.0 # percent , minWidth: 100.0 # percent - , "WebkitTextSizeAdjust": _100percent + , "WebkitTextSizeAdjust": 100.0 # percent } , ":root": nested - $ css + $ + css { "@media (prefers-color-scheme: dark)": - nest + nested $ css { "--theme-variant": str "dark" , "--light-mode": str "0" , "--dark-mode": str "1" } } - <> variables - <> fontVariables - { main: """"Inter V", "Inter var", Inter""" - , mono: "Victor Mono, Menlo, Consolas, Monaco, Liberation Mono, Lucida Console" - } + <> variables + <> fontVariables + { main: """"Inter V", "Inter var", Inter""" + , mono: "Jetbrains Mono, Menlo, Consolas, Monaco, Liberation Mono, Lucida Console" + } , html: nested $ css @@ -132,90 +138,43 @@ mkGlobal maybeMode = } , body: nested - $ css + $ + css { fontFamily: str "var(--main-font)" , backgroundColor: col.background , color: col.text , margin: str "0" } - <> case maybeMode of - Nothing → autoSwitchColourTheme - Just DarkMode → darkModeStyle - Just LightMode → lightModeStyle + <> case maybeMode of + Nothing → autoSwitchColourTheme + Just DarkMode → darkModeStyle + Just LightMode → lightModeStyle , "pre,code": - nest + nested $ css { fontFamily: str "var(--mono-font)" } , "h1,h2,h3,h4": - nest + nested $ css { fontWeight: str "700" -- , margin: _0 } - -- , h1: - -- nested - -- $ css - -- { "--h1size": str "calc( min( var(--s2) + 2vw , var(--s4) ) )" - -- , fontSize: var "--h1size" - -- , letterSpacing: str "calc(var(--h1size) * -0.04)" - -- -- , marginBottom: var "--s0" - -- -- , marginTop: var "--s-1" - -- } - -- , h2: - -- nested - -- $ css - -- { "--h2size": str "calc( min( (var(--s1)*1.1) + 2vw , var(--s3) ) )" - -- , fontSize: var "--h2size" - -- , letterSpacing: str "calc(var(--h2size) * -0.035)" - -- -- , marginBottom: var "--s-1" - -- -- , marginTop: var "--s-2" - -- } - -- , h3: - -- nested - -- $ css - -- { "--h3size": str "calc( min( var(--s0) + 2vw , var(--s2) ) )" - -- , fontSize: var "--h3size" - -- , letterSpacing: str "calc(var(--h3size) * -0.03)" - -- -- , marginBottom: var "--s-2" - -- -- , marginTop: var "--s-3" - -- } - -- , p: - -- nested - -- $ css - -- { "--psize": str "calc( min( (var(--s-1) * 1.7) + 0.7vw , var(--s0)*1.1 ) )" - -- , fontSize: var "--psize" - -- , letterSpacing: str "calc(var(--psize) * -0.03)" - -- } , a: - nest + nested $ css { fontWeight: str "600" , textDecoration: str "underline" , cursor: str "pointer" , "&:hover": - nest + nested $ css { textDecoration: str "none" } } , "::selection": - nest + nested $ css { color: col.highlightText , background: col.highlight } , "*, *:before, *:after": - nested - $ css - { boxSizing: str "inherit" - -- , fontFeatureSettings: - -- str - -- $ intercalate "," - -- $ show - -- <$> [ "ss03" -- curved r - -- , "cv03" -- open six - -- , "cv04" -- open nine - -- -- , "cv05" -- lower case l with tail - -- , "cv07" -- German double-s - -- , "cv09" -- Flat top three - -- ] - } + nested $ css { boxSizing: str "inherit" } } withAlpha ∷ Number → Color → Color @@ -248,7 +207,7 @@ defaultColours = , popperBackground: (withAlpha 0.9 >>> darken 0.07 >>> desaturate 0.3) lightBg , popperBackgroundNoAlpha: (darken 0.07 >>> desaturate 0.3) lightBg , popperInnerBorder: (withAlpha 0.9 >>> darken 0.25 >>> desaturate 0.3) lightBg - , popperOuterBorder: transparent + , popperOuterBorder: (withAlpha 0.0) lightBg , highlight , highlightAlpha10: highlightBase 0.10 , highlightAlpha25: highlightBase 0.25 @@ -472,10 +431,10 @@ instance makeCSSVarLabels' ∷ makeCSSVarLabels ∷ ∀ a b. HMapWithIndex MakeCSSVarLabels a b ⇒ a → b makeCSSVarLabels = hmapWithIndex MakeCSSVarLabels -colourVariableName ∷ FlatTheme String -colourVariableName = - hmap (\(x :: String) -> x) - $ makeCSSVarLabels defaultColours.light +-- colourVariableName ∷ FlatTheme String +-- colourVariableName = +-- hmap (\(x :: String) -> x) +-- $ makeCSSVarLabels defaultColours.light colour ∷ FlatTheme String colour = @@ -570,36 +529,32 @@ variables = , "--dark-mode": str "0" } -type Sizes = - { "3xl" ∷ String - , "3xs" ∷ String - , "4xl" ∷ String - , "4xs" ∷ String - , "5xl" ∷ String - , "5xs" ∷ String - , l ∷ String - , m ∷ String - , s ∷ String +type Sizes f = + { "3xl" ∷ f + , "3xs" ∷ f + , "4xl" ∷ f + , "4xs" ∷ f + , "5xl" ∷ f + , "5xs" ∷ f + , l ∷ f + , m ∷ f + , s ∷ f , text ∷ - { interactive ∷ String - , label ∷ String - , copy ∷ String - , small ∷ String - , tiny ∷ String - , heading ∷ - { h1 ∷ String - , h2 ∷ String - , h3 ∷ String - , h4 ∷ String - } + { interactive ∷ f + , label ∷ f + , copy ∷ f + , small ∷ f + , tiny ∷ f + , heading ∷ { h1 ∷ f, h2 ∷ f, h3 ∷ f, h4 ∷ f } } - , xl ∷ String - , xs ∷ String - , xxl ∷ String - , xxs ∷ String + , xl ∷ f + , xs ∷ f + , xxl ∷ f + , xxs ∷ f + , zero :: f } -size ∷ Sizes +size ∷ Sizes String size = { "5xs": "var(--s-6)" , "4xs": "var(--s-5)" @@ -627,8 +582,13 @@ size = , h4: "calc(var(--s0) * 1.1)" } } + , zero: "0" } +sizeStyle ∷ Sizes StyleProperty +sizeStyle = + mapRecord str size + type BoxShadows = { s ∷ String , m ∷ String diff --git a/src/Yoga/Block/Hook/Key.purs b/src/Yoga/Block/Hook/Key.purs index cfccdea..574a1ce 100644 --- a/src/Yoga/Block/Hook/Key.purs +++ b/src/Yoga/Block/Hook/Key.purs @@ -49,6 +49,7 @@ data KeyCode | Down | Delete | Backspace + | Tab derive instance Eq KeyCode derive instance Ord KeyCode @@ -56,6 +57,7 @@ derive instance Ord KeyCode keyCodeToInt ∷ KeyCode -> Int keyCodeToInt = case _ of Backspace -> 8 + Tab -> 9 Return -> 13 Escape -> 27 End -> 35 @@ -69,6 +71,7 @@ keyCodeToInt = case _ of intToKeyCode ∷ Int -> Maybe KeyCode intToKeyCode = case _ of 8 -> Just Backspace + 9 -> Just Tab 13 -> Just Return 27 -> Just Escape 35 -> Just End diff --git a/src/Yoga/Block/Hook/UseElementResize.purs b/src/Yoga/Block/Hook/UseElementResize.purs index 16fc795..2648787 100644 --- a/src/Yoga/Block/Hook/UseElementResize.purs +++ b/src/Yoga/Block/Hook/UseElementResize.purs @@ -4,6 +4,7 @@ import Yoga.Prelude.View import Data.Array as Array import Data.Newtype (class Newtype) +import Debug (spy) import React.Basic.Hooks as React import Type.Function (type (#)) import Web.DOM.ResizeObserver (ResizeObserverBoxOptions(..), observe, resizeObserver, unobserve) @@ -17,19 +18,18 @@ derive instance Newtype (UseOnElementResizeWithRef hooks) _ type OnResize = { old :: DOMRect, new :: DOMRect } -> Effect Unit useOnElementResizeWithRef ∷ NodeRef -> OnResize -> Hook UseOnElementResizeWithRef Unit -useOnElementResizeWithRef ref onResize = - coerceHook React.do - useLayoutEffectOnce do - elʔ <- getElementFromRef ref - case elʔ of - Nothing -> mempty - Just elem -> do - observer <- resizeObserver \entries _ -> - Array.head entries # traverse_ \{ contentRect: new } -> do - old <- getBoundingClientRect elem +useOnElementResizeWithRef ref onResize = coerceHook React.do + useLayoutEffectOnce do + elʔ <- getElementFromRef ref + case elʔ of + Nothing -> mempty + Just elem -> do + observer <- resizeObserver \entries _ -> do + Array.head entries # traverse_ \{ contentRect: new } -> do + getBoundingClientRect elem >>= \old -> onResize { old, new } - elem # observe BorderBox observer - pure (elem # unobserve observer) + observe ContentBox observer elem + pure (unobserve observer elem) newtype UseOnElementResize hooks = UseOnElementResize (hooks # UseRef (Nullable Node) # UseOnElementResizeWithRef) diff --git a/src/Plumage/Hooks/UsePopOver.purs b/src/Yoga/Block/Hook/UsePopOver.purs similarity index 81% rename from src/Plumage/Hooks/UsePopOver.purs rename to src/Yoga/Block/Hook/UsePopOver.purs index a74e04b..5c9a587 100644 --- a/src/Plumage/Hooks/UsePopOver.purs +++ b/src/Yoga/Block/Hook/UsePopOver.purs @@ -1,18 +1,19 @@ -module Plumage.Hooks.UsePopOver where +module Yoga.Block.Hook.UsePopOver where import Yoga.Prelude.View import Data.Newtype (class Newtype) import Effect.Unsafe (unsafePerformEffect) -import Plumage.Atom.PopOver.Types (HookDismissBehaviour, Placement, toDismissBehaviour) -import Plumage.Atom.PopOver.View (mkPopOverView) -import Plumage.Atom.PopOver.View as PopOver +import Yoga.Block.Atom.PopOver.Types (HookDismissBehaviour, Placement, toDismissBehaviour) +import Yoga.Block.Atom.PopOver.View (mkPopOverView) +import Yoga.Block.Atom.PopOver.View as PopOver import React.Basic.Hooks as React type Options = { dismissBehaviourʔ ∷ Maybe HookDismissBehaviour , containerId ∷ String , placement ∷ Placement + , fallbackPlacements :: Array Placement } type Result = @@ -38,6 +39,7 @@ usePopOver options = coerceHook React.do , childʔ: if isVisible then Just content else Nothing , placementRef: targetRef , placement: options.placement + , fallbackPlacements: options.fallbackPlacements , dismissBehaviourʔ: options.dismissBehaviourʔ <#> toDismissBehaviour targetRef , containerId: options.containerId diff --git a/src/Plumage/Hooks/UseResize2.purs b/src/Yoga/Block/Hook/UseResize2.purs similarity index 93% rename from src/Plumage/Hooks/UseResize2.purs rename to src/Yoga/Block/Hook/UseResize2.purs index 6559235..e949231 100644 --- a/src/Plumage/Hooks/UseResize2.purs +++ b/src/Yoga/Block/Hook/UseResize2.purs @@ -1,4 +1,4 @@ -module Plumage.Hooks.UseResize2 where +module Yoga.Block.Hook.UseResize2 where import Prelude @@ -67,18 +67,18 @@ newtype UseOnResize hooks = UseOnResize derive instance ntUseOnResize ∷ Newtype (UseOnResize hooks) _ -useOnResize ∷ - ∀ d. - Duration d ⇒ - d → - ( { innerWidth ∷ Number - , innerHeight ∷ Number - , deltaWidth ∷ Number - , deltaHeight ∷ Number - } → - Effect Unit - ) → - Hook UseOnResize Unit +useOnResize + ∷ ∀ d + . Duration d + ⇒ d + → ( { innerWidth ∷ Number + , innerHeight ∷ Number + , deltaWidth ∷ Number + , deltaHeight ∷ Number + } + → Effect Unit + ) + → Hook UseOnResize Unit useOnResize debounceBy callback = coerceHook React.do fiberRef ← React.useRef Nothing diff --git a/src/Plumage/Hooks/UseTypeAhead.purs b/src/Yoga/Block/Hook/UseTypeAhead.purs similarity index 94% rename from src/Plumage/Hooks/UseTypeAhead.purs rename to src/Yoga/Block/Hook/UseTypeAhead.purs index 3ecc9ef..a970aa9 100644 --- a/src/Plumage/Hooks/UseTypeAhead.purs +++ b/src/Yoga/Block/Hook/UseTypeAhead.purs @@ -1,4 +1,4 @@ -module Plumage.Hooks.UseTypeAhead where +module Yoga.Block.Hook.UseTypeAhead where import Yoga.Prelude.View diff --git a/src/Yoga/Block/Internal.purs b/src/Yoga/Block/Internal.purs index 4dbee9a..2d81cd7 100644 --- a/src/Yoga/Block/Internal.purs +++ b/src/Yoga/Block/Internal.purs @@ -1,47 +1,49 @@ module Yoga.Block.Internal - ( mkForwardRefComponent - , mkForwardRefComponentEffect - , forwardedRefAsMaybe - , unsafeEmotion - , unsafeDiv - , dangerous - , deleteUndefineds + ( ButtonReadableProps + , ButtonReadablePropsF + , ButtonReadablePropsNoChildrenF + , ButtonWritableProps + , ButtonWritablePropsF + , ButtonWritablePropsNoChildrenF , DivProps , DivPropsF , DivPropsNoChildren , DivPropsNoChildrenF , InputReadableProps - , InputWritableProps , InputReadablePropsF + , InputWritableProps , InputWritablePropsF - , ButtonWritableProps - , ButtonReadableProps - , ButtonReadablePropsF - , ButtonReadablePropsNoChildrenF - , ButtonWritablePropsF - , ButtonWritablePropsNoChildrenF , NodeRef + , createRef + , dangerous + , deleteUndefineds + , emotionButton , emotionDiv , emotionInput - , emotionButton - , module Yoga.Block.Internal.OptionalProp - , module Yoga.Block.Internal.CSS - , unsafeUnionDroppingUndefined - , unsafeMergeSecond - , unsafeAddProps - , createRef + , findElementByIdInDocument + , focusNodeRef + , forwardedRefAsMaybe , getBoundingBoxFromRef , getClientDimensionsFromRef , getElementFromRef , getHTMLElementFromRef + , getOffsetDimensionsFromRef , getOffsetHeightFromRef , getOffsetWidthFromRef - , getOffsetDimensionsFromRef + , getScrollDimensionsFromRef , getScrollHeightFromRef , getScrollWidthFromRef - , getScrollDimensionsFromRef - , findElementByIdInDocument - , focusNodeRef + , mkForwardRefComponent + , mkForwardRefComponentEffect + , module Yoga.Block.Internal.CSS + , module Yoga.Block.Internal.OptionalProp + , objectToStyle + , toStyleObject + , unsafeAddProps + , unsafeDiv + , unsafeEmotion + , unsafeMergeSecond + , unsafeUnionDroppingUndefined ) where import Prelude @@ -57,15 +59,16 @@ import Data.Traversable (for, for_) import Effect (Effect) import Effect.Unsafe (unsafePerformEffect) import Foreign.Object (Object) +import Foreign.Object as Object import Prim.Row (class Lacks, class Union) import Prim.Row as Row -import Prim.RowList as RL import React.Basic.DOM (CSS, unsafeCreateDOMComponent) -import React.Basic.Emotion (Style) +import React.Basic.DOM as R +import React.Basic.Emotion (Style, StyleProperty) import React.Basic.Emotion as E import React.Basic.Events (EventHandler) import React.Basic.Hooks (JSX, ReactComponent, Ref, Render, readRefMaybe) -import Record.Extra (class Keys, keys) +import Record.Studio (class Keys, keys) import Record.Unsafe.Union (unsafeUnion) import Type.Proxy (Proxy(..)) import Unsafe.Coerce (unsafeCoerce) @@ -82,6 +85,7 @@ import Web.HTML.Window (document) import Yoga.Block.Internal.CSS (_0) import Yoga.Block.Internal.OptionalProp (OptionalProp(..), Id, appendIfDefined, asOptional, composeHandler, getOr, getOrFlipped, ifTrue, isTruthy, maybeToOp, opToMaybe, setOrDelete, unsafeUnMaybe, unsafeUnOptional, (<>?), (?||)) + unsafeAddProps ∷ ∀ r s. { | r } → { | s } → { | r } unsafeAddProps = unsafeUnion @@ -106,6 +110,13 @@ focusNodeRef ref = do maybeHTMLElement <- getHTMLElementFromRef ref for_ maybeHTMLElement focus +objectToStyle :: Object StyleProperty -> R.CSS +objectToStyle = unsafeCoerce + +toStyleObject :: String -> OptionalProp StyleProperty -> Object StyleProperty +toStyleObject styleName prop = + (prop <#> Object.singleton styleName) ?|| mempty + findElementByIdInDocument ∷ String -> Effect (Maybe Element) findElementByIdInDocument id = do doc <- window >>= document @@ -223,11 +234,10 @@ unsafeDiv = dangerous "div" foreign import pickDefinedFn ∷ ∀ r1 r2. Fn3 (Ref (Nullable Node)) (Array String) (Record r1) (Record r2) pickDefined - ∷ ∀ a r b l + ∷ ∀ a r b . Row.Union b r a - => RL.RowToList b l => Ref (Nullable Node) - -> Keys l + -> Keys b => Record a -> { ref ∷ Ref (Nullable Node) | b } pickDefined ref = runFn3 pickDefinedFn ref ks diff --git a/src/Yoga/Block/Layout/Centre/Style.purs b/src/Yoga/Block/Layout/Centre/Style.purs index f8c396c..1a518a2 100644 --- a/src/Yoga/Block/Layout/Centre/Style.purs +++ b/src/Yoga/Block/Layout/Centre/Style.purs @@ -2,7 +2,7 @@ module Yoga.Block.Layout.Centre.Style where import Yoga.Prelude.Style -type Props :: forall k. (Type -> k) -> Row k -> Row k +type Props ∷ ∀ k. (Type → k) → Row k → Row k type Props f r = ( css ∷ f Style , maxWidth ∷ f StyleProperty @@ -12,7 +12,7 @@ type Props f r = | r ) -centre ∷ ∀ p. { | Props OptionalProp p } -> Style +centre ∷ ∀ p. { | Props OptionalProp p } → Style centre props = styles <>? props.css where styles = @@ -20,11 +20,10 @@ centre props = styles <>? props.css else textLeft ) <> css - { padding: props.padding ?|| (0 # px) - , boxSizing: contentBox - , marginLeft: auto - , marginRight: auto - , maxWidth: props.maxWidth ?|| (60.0 # ch) - , paddingLeft: props.gutters ?|| _0 - , paddingRight: props.gutters ?|| _0 + { boxSizing: contentBox + , width: str "fit-content" + , marginInline: auto + , maxInlineSize: props.maxWidth ?|| (60.0 # ch) + , paddingInlineStart: props.gutters ?|| _0 + , paddingInlineEnd: props.gutters ?|| _0 } diff --git a/src/Yoga/Block/Layout/Centre/View.purs b/src/Yoga/Block/Layout/Centre/View.purs index c10cc57..9add7d0 100644 --- a/src/Yoga/Block/Layout/Centre/View.purs +++ b/src/Yoga/Block/Layout/Centre/View.purs @@ -1,4 +1,10 @@ -module Yoga.Block.Layout.Centre.View (component, Props, PropsF, PropsNoChildrenF, PropsNoChildren) where +module Yoga.Block.Layout.Centre.View + ( component + , Props + , PropsF + , PropsNoChildrenF + , PropsNoChildren + ) where import Yoga.Prelude.View import Yoga.Block.Internal (DivPropsNoChildren) @@ -23,13 +29,13 @@ type Props = type PropsOptional = PropsF OptionalProp -component ∷ ∀ p p_. Union p p_ Props => ReactComponent { | p } +component ∷ ∀ p p_. Union p p_ Props ⇒ ReactComponent { | p } component = rawComponent rawComponent ∷ ∀ p. ReactComponent { | p } rawComponent = mkForwardRefComponent "Centre" do - \(props ∷ { | PropsOptional }) ref -> React.do + \(props ∷ { | PropsOptional }) ref → React.do pure $ emotionDiv ref diff --git a/src/Yoga/Block/Layout/Cluster/Style.purs b/src/Yoga/Block/Layout/Cluster/Style.purs index 6c116b1..afa4fbf 100644 --- a/src/Yoga/Block/Layout/Cluster/Style.purs +++ b/src/Yoga/Block/Layout/Cluster/Style.purs @@ -2,10 +2,15 @@ module Yoga.Block.Layout.Cluster.Style where import Yoga.Prelude.Style +import Yoga.Block.Layout.Types (AlignItems, JustifyContent, alignToString, justifyToString) + type Props :: forall k. (Type -> k) -> Row k -> Row k type Props f r = ( css ∷ f Style , space ∷ f String + , rowSpace :: f String + , justifyContent :: f JustifyContent + , alignItems :: f AlignItems , justify ∷ f String , align ∷ f String | r @@ -18,17 +23,10 @@ cluster props = styles <>? props.css styles = css - { "& > *": - nested - $ flex - <> css - { flexWrap: wrap - , alignItems: (str <$> props.align) ?|| center - , justifyContent: (str <$> props.justify) ?|| flexStart - , margin: "calc(" <> space <> " / 2 * -1)" # str - } - , "& > * > *": - nest - { margin: "calc(" <> space <> " / 2)" # str - } + { display: str "flex" + , flexWrap: wrap + , alignItems: ((str <<< alignToString) <$> props.alignItems) ?|| (str <$> props.align) ?|| center + , justifyContent: ((str <<< justifyToString) <$> props.justifyContent) ?|| (str <$> props.justify) ?|| flexStart + , gap: str space + , rowGap: (str <$> props.rowSpace) ?|| str space } diff --git a/src/Yoga/Block/Layout/Cluster/View.purs b/src/Yoga/Block/Layout/Cluster/View.purs index 1dbcd99..d027514 100644 --- a/src/Yoga/Block/Layout/Cluster/View.purs +++ b/src/Yoga/Block/Layout/Cluster/View.purs @@ -35,14 +35,12 @@ rawComponent ∷ ∀ p. ReactComponent { | p } rawComponent = mkForwardRefComponent "Cluster" do \(props ∷ { | PropsOptional }) ref -> React.do - let wrap = props.wrapper ?|| R.div_ - let wrapChild = props.childWrapper ?|| R.div_ -- Must be careful here because React fiddles with children let safeChildren = reactChildrenToArray (unsafeCoerce props.children) - let wrappedChildren = safeChildren <#> wrapChild + let wrappedChildren = safeChildren pure $ emotionDiv ref props { className: "ry-cluster " <>? props.className , css: Style.cluster props - , children: [ wrap wrappedChildren ] + , children: wrappedChildren } diff --git a/src/Yoga/Block/Layout/Cover/Style.purs b/src/Yoga/Block/Layout/Cover/Style.purs index 014ca4c..eb50008 100644 --- a/src/Yoga/Block/Layout/Cover/Style.purs +++ b/src/Yoga/Block/Layout/Cover/Style.purs @@ -2,7 +2,7 @@ module Yoga.Block.Layout.Cover.Style where import Yoga.Prelude.Style -type Props :: forall k. (Type -> k) -> Row k -> Row k +type Props ∷ ∀ k. (Type → k) → Row k → Row k type Props f r = ( css ∷ f Style , padding ∷ f StyleProperty @@ -11,29 +11,26 @@ type Props f r = | r ) -defaultMargin :: StyleProperty +defaultMargin ∷ StyleProperty defaultMargin = 1.0 # rem -cover ∷ ∀ p. { | Props OptionalProp p } -> Style +cover ∷ ∀ p. { | Props OptionalProp p } → Style cover props = styles <>? props.css where padding = props.padding ?|| _0 minHeight = props.minHeight ?|| (100.0 # percent) - styles = - flexCol <> - css - { minHeight - , padding - } + styles = flexCol <> css { minHeight, padding } -header ∷ ∀ p. { | Props OptionalProp p } -> Style -header props = css { marginTop: _0, marginBottom: props.margin ?|| defaultMargin } +header ∷ ∀ p. { | Props OptionalProp p } → Style +header props = css + { marginTop: _0, marginBottom: props.margin ?|| defaultMargin } main ∷ Style -main = css { marginTop: auto, marginBottom: auto } +main = css { marginBlock: auto } -footer ∷ ∀ p. { | Props OptionalProp p } -> Style -footer props = css { marginBottom: _0, marginTop: props.margin ?|| defaultMargin } +footer ∷ ∀ p. { | Props OptionalProp p } → Style +footer props = css + { marginBottom: _0, marginTop: props.margin ?|| defaultMargin } -invisible :: Style -invisible = css { visibility: hidden } \ No newline at end of file +invisible ∷ Style +invisible = css { visibility: hidden } diff --git a/src/Yoga/Block/Layout/Sidebar/Style.purs b/src/Yoga/Block/Layout/Sidebar/Style.purs index cd3da75..3952a40 100644 --- a/src/Yoga/Block/Layout/Sidebar/Style.purs +++ b/src/Yoga/Block/Layout/Sidebar/Style.purs @@ -8,7 +8,7 @@ data SidebarSide = SidebarLeft | SidebarRight -derive instance eqSidebarSide :: Eq SidebarSide +derive instance Eq SidebarSide type Props :: forall k. (Type -> k) -> Row k -> Row k type Props f r = @@ -23,44 +23,26 @@ type Props f r = | r ) -sidebar ∷ ∀ p. { | Props OptionalProp p } -> Style -sidebar props = styles <>? props.css +sidebarContainer ∷ ∀ p. { | Props OptionalProp p } -> Style +sidebarContainer props = styles <>? props.css where adjustedSpace = props.space <#> \s -> if s == "0" then "0px" else s - space = adjustedSpace ?|| "1rem" - - side = props.side ?|| SidebarLeft - - contentMin = props.contentMin ?|| "50%" - - nonSidebarStyle = - nest - { flexBasis: _0 - , flexGrow: "999" # str - , minWidth: i "calc(" contentMin " - " space " - " space ")" # str - } - styles = css - { overflow: hidden - , "& > *": - nested - $ flex - <> css - { flexWrap: if props.reverseOnWrap # isTruthy then str "wrap-reverse" else wrap - , margin: "calc(" <> space <> " / 2 * -1)" # str - , alignItems: props.noStretch # foldMap if _ then str "flex-start" else mempty - } - , "& > * > *": - nest - { margin: "calc(" <> space <> " / 2)" # str - , flexGrow: "1" # str - , flexBasis: props.sideWidth # foldMap str - } - <> foldMap (nest <<< { flexBasis: _ } <<< str) props.sideWidth - <> foldMap nested props.sideBarCss + { display: str "flex" + , flexWrap: wrap + , gap: str space } - <> case side of - SidebarLeft -> css { "& > * > :last-child": nonSidebarStyle } - SidebarRight -> css { "& > * > :first-child": nonSidebarStyle } + +sidebar ∷ Style +sidebar = css { flexBasis: 20.0 # rem, flexGrow: int 1 } + +notSidebar ∷ ∀ p. { | Props OptionalProp p } -> Style +notSidebar props = css + { flexBasis: int 0 + , flexGrow: int 999 + , minInlineSize: str contentMin + } + where + contentMin = props.contentMin ?|| "50%" diff --git a/src/Yoga/Block/Layout/Sidebar/View.purs b/src/Yoga/Block/Layout/Sidebar/View.purs index 38c094c..951435f 100644 --- a/src/Yoga/Block/Layout/Sidebar/View.purs +++ b/src/Yoga/Block/Layout/Sidebar/View.purs @@ -3,7 +3,8 @@ module Yoga.Block.Layout.Sidebar.View (component, Props, PropsF) where import Yoga.Prelude.View import Data.Array as Array -import React.Basic.DOM (div_) +import React.Basic.DOM (aside', div') +import React.Basic.Emotion as Emotion import Yoga.Block.Layout.Sidebar.Style (SidebarSide(..)) import Yoga.Block.Layout.Sidebar.Style as Style @@ -26,19 +27,28 @@ rawComponent ∷ ∀ p. ReactComponent { | p } rawComponent = mkForwardRefComponent "Sidebar" do \(props ∷ { | PropsOptional }) ref -> React.do - let - flipChildren = - if (props.side ?|| SidebarLeft) == SidebarRight then - Array.reverse else identity + let + flipChildren = + if (props.side ?|| SidebarLeft) == SidebarRight then + Array.reverse + else identity + pure $ emotionDiv ref props - { className: "ry-sidebar " <>? props.className - , css: Style.sidebar props + { className: "ry-sidebar__container " <>? props.className + , css: Style.sidebarContainer props , children: - [ div_ $ flipChildren - [ div_ [ props.sidebar ] - , div_ props.children + flipChildren + [ Emotion.element aside' + { className: "ry-sidebar__sidebar" + , css: Style.sidebar + , children: [ props.sidebar ] + } + , Emotion.element div' + { className: "ry-sidebar__not-sidebar" + , css: Style.notSidebar props + , children: props.children + } ] - ] } diff --git a/src/Yoga/Block/Layout/Stack/Style.purs b/src/Yoga/Block/Layout/Stack/Style.purs index 5e65b87..cca5939 100644 --- a/src/Yoga/Block/Layout/Stack/Style.purs +++ b/src/Yoga/Block/Layout/Stack/Style.purs @@ -2,6 +2,8 @@ module Yoga.Block.Layout.Stack.Style where import Yoga.Prelude.Style +import Data.Interpolate (i) + type Props ∷ forall k. (Type -> k) -> Row k -> Row k type Props f r = ( css ∷ f Style @@ -14,10 +16,9 @@ stack ∷ ∀ p. { | Props OptionalProp p } -> Style stack props = splitStyles <> styles <>? props.css where styles = - flex <> + flexCol <> css { margin: _0 - , flexDirection: column , justifyContent: flexStart , "& > *": nest @@ -38,6 +39,8 @@ stack props = splitStyles <> styles <>? props.css { "&:only-child": nest { height: 100.0 # percent } } - nthChild n = "& > div:nth-of-type(" <> show n <> ")" + -- This is really n-th child, but emotion has trouble with it so we hack it as per + -- https://github.com/emotion-js/emotion/issues/1105#issuecomment-1126025608 + nthChild n = i "& > :nth-of-type(" n "):not(style):not(:nth-of-type(" n ") ~ *), & > style + *" nthChildStyle n = (nthChild n) ~: { marginBottom: auto } diff --git a/src/Yoga/Block/Layout/Stack/View.purs b/src/Yoga/Block/Layout/Stack/View.purs index 7ca4027..feac6d9 100644 --- a/src/Yoga/Block/Layout/Stack/View.purs +++ b/src/Yoga/Block/Layout/Stack/View.purs @@ -35,10 +35,9 @@ rawComponent = let safeChildren = reactChildrenToArray (unsafeCoerce props.children) -- Wrapping children to use `:nth-of-type` instead of `:nth-child` -- in CSS because the latter is problematic in SSR - let wrappedChildren = safeChildren <#> \c -> div [ c ] pure $ emotionDiv ref props { className: "ry-stack " <>? props.className , css: Style.stack props - , children: wrappedChildren + , children: safeChildren } diff --git a/src/Yoga/Block/Layout/Story.purs b/src/Yoga/Block/Layout/Story.purs index 4948fda..e46c05e 100644 --- a/src/Yoga/Block/Layout/Story.purs +++ b/src/Yoga/Block/Layout/Story.purs @@ -4,7 +4,6 @@ import Prelude import Data.Interpolate (i) import Effect (Effect) -import Effect.Unsafe (unsafePerformEffect) import React.Basic (JSX, element, fragment) import React.Basic.DOM as R import React.Basic.Emotion (nested) @@ -17,18 +16,16 @@ import Yoga.Block.Container.Style as Styles import Yoga.Block.Internal.CSS (nest) import Yoga.Block.Layout.Sidebar.Style (SidebarSide(..)) import Yoga.Block.Typography as Typo +import Storybook -default - ∷ { decorators ∷ Array (Effect JSX -> JSX) - , title ∷ String - } -default = +-- default ∷ Meta +default = meta { title: "Layout" , decorators: - [ \storyFn -> + [ metaDecorator $ \story -> do R.div_ [ element E.global { styles: Styles.global } - , unsafePerformEffect storyFn + , story ] ] } diff --git a/src/Yoga/Block/Layout/Switcher.purs b/src/Yoga/Block/Layout/Switcher.purs index 7d8b278..ebb8078 100644 --- a/src/Yoga/Block/Layout/Switcher.purs +++ b/src/Yoga/Block/Layout/Switcher.purs @@ -2,4 +2,4 @@ module Yoga.Block.Layout.Switcher ( module Yoga.Block.Layout.Switcher.View ) where -import Yoga.Block.Layout.Switcher.View (component, Props) +import Yoga.Block.Layout.Switcher.View (component, Props, PropsNoChildren) diff --git a/src/Yoga/Block/Layout/Switcher/Style.purs b/src/Yoga/Block/Layout/Switcher/Style.purs index a7b4502..721ff6a 100644 --- a/src/Yoga/Block/Layout/Switcher/Style.purs +++ b/src/Yoga/Block/Layout/Switcher/Style.purs @@ -9,6 +9,7 @@ type Props ∷ ∀ k. (Type → k) → Row k → Row k type Props f r = ( css ∷ f Style , space ∷ f String + , rowGap ∷ f String , threshold ∷ f String , limit ∷ f Int | r @@ -19,36 +20,32 @@ switcher props = styles <>? props.css where limit = props.limit ?|| 4 space = (props.space <#> \s → if s == "0" then "0px" else s) ?|| "var(--s1)" + rowGap = props.rowGap ?|| space threshold = props.threshold ?|| "60ch" lastKey ∷ String lastKey = - "" -- this is for readability - - <> i "& > * > :nth-last-child(n+" (limit + 1) "), " - <> i "& > * > :nth-last-child(n+" (limit + 1) ") ~ *" + i "& > * > :nth-last-child(n+" (limit + 1) "), " + ("& > * > :nth-last-child(n+") + (limit + 1) + ") ~ *" nthLastChild ∷ Style - nthLastChild = - unsafeCoerce - (Object.singleton lastKey { flexBasis: _100percent }) + nthLastChild = unsafeCoerce $ + Object.singleton lastKey + { flexBasis: _100percent } styles ∷ Style styles = - nthLastChild - <> css - { "& > *": - nested - $ flex - <> css - { flexWrap: wrap - , margin: i "calc((" space " / 2) * -1)" # str - } - , "& > * > *": - nest - { flexGrow: str "1" - , flexBasis: - i "calc((" threshold " - (100% - " space ")) * 999)" # str - , margin: "calc(" <> space <> " / 2)" # str - } - } + css + { display: str "flex" + , flexWrap: str "wrap" + , gap: str space + , rowGap: str rowGap + , "--threshold": str threshold + , "& > *": nested $ css + { flexGrow: int 1 + , flexBasis: str "calc((var(--threshold) - 100%) * 999)" + } + } + <> nthLastChild diff --git a/src/Yoga/Block/Layout/Switcher/View.purs b/src/Yoga/Block/Layout/Switcher/View.purs index 523ec67..7c7a877 100644 --- a/src/Yoga/Block/Layout/Switcher/View.purs +++ b/src/Yoga/Block/Layout/Switcher/View.purs @@ -1,19 +1,25 @@ -module Yoga.Block.Layout.Switcher.View (component, Props, PropsF) where +module Yoga.Block.Layout.Switcher.View (component, Props, PropsNoChildren, PropsF) where import Yoga.Prelude.View + import React.Basic.DOM as R +import Yoga.Block.Internal (DivPropsNoChildrenF) import Yoga.Block.Layout.Switcher.Style as Style -type PropsF f = +type PropsF :: forall k. (Type -> k) -> Row k -> Row k +type PropsF f r = ( className ∷ f String - | Style.Props f DivProps + | Style.Props f r ) +type PropsNoChildren = + PropsF Id (DivPropsNoChildrenF Id ()) + type Props = - PropsF Id + PropsF Id (DivPropsF Id ()) type PropsOptional = - PropsF OptionalProp + PropsF OptionalProp (DivProps) component ∷ ∀ p p_. Union p p_ Props => ReactComponent { | p } component = rawComponent @@ -26,5 +32,5 @@ rawComponent = $ emotionDiv ref props { className: "ry-switcher " <>? props.className , css: Style.switcher props - , children: [ R.div_ props.children ] + , children: props.children } diff --git a/src/Yoga/Block/Layout/Types.purs b/src/Yoga/Block/Layout/Types.purs new file mode 100644 index 0000000..cbde6c6 --- /dev/null +++ b/src/Yoga/Block/Layout/Types.purs @@ -0,0 +1,22 @@ +module Yoga.Block.Layout.Types where + +data JustifyContent = JStart | JEnd | JCenter | JBetween | JAround | JEvenly + +data AlignItems = AStart | AEnd | ACenter | AStretch | ABaseline + +justifyToString :: JustifyContent -> String +justifyToString = case _ of + JStart -> "flex-start" + JEnd -> "flex-end" + JCenter -> "center" + JBetween -> "space-between" + JAround -> "space-around" + JEvenly -> "space-evenly" + +alignToString :: AlignItems -> String +alignToString = case _ of + AStart -> "flex-start" + AEnd -> "flex-end" + ACenter -> "center" + AStretch -> "stretch" + ABaseline -> "baseline" diff --git a/src/Plumage/Atom/DatePicker.purs b/src/Yoga/Block/Molecule/DatePicker.purs similarity index 92% rename from src/Plumage/Atom/DatePicker.purs rename to src/Yoga/Block/Molecule/DatePicker.purs index 40aefb8..00bef9b 100644 --- a/src/Plumage/Atom/DatePicker.purs +++ b/src/Yoga/Block/Molecule/DatePicker.purs @@ -1,11 +1,11 @@ -module Plumage.Atom.DatePicker where +module Yoga.Block.Atom.DatePicker where import Yoga.Prelude.View import Data.Date (Date, Month, Year) import Effect.Now (nowDate) -import Plumage.Atom.DatePicker.View (mkDatePickerView) -import Plumage.Atom.DatePicker.View as DateView +import Yoga.Block.Atom.DatePicker.View (mkDatePickerView) +import Yoga.Block.Atom.DatePicker.View as DateView import React.Basic.Hooks (mkReducer) import React.Basic.Hooks as React @@ -67,4 +67,4 @@ mkDatePicker = do { state: state.datePickerState , dispatch: dispatch <<< DateViewAction } - ) \ No newline at end of file + ) diff --git a/src/Yoga/Block/Molecule/DatePicker/Style.purs b/src/Yoga/Block/Molecule/DatePicker/Style.purs new file mode 100644 index 0000000..509b773 --- /dev/null +++ b/src/Yoga/Block/Molecule/DatePicker/Style.purs @@ -0,0 +1,131 @@ +module Yoga.Block.Molecule.DatePicker.Style where + +import Yoga.Prelude.Style hiding (size) + +commonDays ∷ Style +commonDays = displayGrid <> templateCols "repeat(7, 1fr)" <> textCenter + +daysHeadings ∷ Style +daysHeadings = commonDays + <> textCol gray._500 + <> fontMedium + <> textXs + <> pT 10 + <> pB 8 + +theDays ∷ Style +theDays = flexRow <> width (7 * size) <> height 260 + +days ∷ Style +days = commonDays <> templateRows ("repeat(7," <> show size <> "px)") + +size ∷ Int +size = 42 + +padding ∷ Int +padding = 2 + +day ∷ Style +day = width size <> height size <> borderNone + <> css { background: none } + <> mXY 0 + <> pXY padding + <> textCol (gray._500 # darken 0.07) + <> fontMedium + <> textSm + +dayRound ∷ Style +dayRound = roundedXl <> widthFull <> heightFull <> boxSizingBorderBox + <> pT 6 + <> transition "all 160ms ease-out" + <> hover + ( background coolGray._100 + <> borderCol coolGray._100 + <> cursorPointer + <> textCol black + ) + <> border 3 + <> borderCol white + <> borderSolid + +selectedDay ∷ Style +selectedDay = s <> hover s + where + s = background violet._100 + <> borderCol violet._500 + <> textCol violet._800 + +oneDay ∷ Style +oneDay = pR' (str "1px") + +currentDay ∷ Style +currentDay = positionRelative + <> css { fontVariantNumeric: str "tabular-nums" } + <> afterElement + ( positionAbsolute <> bottom' (6 # px) <> right' (50.0 # percent) + <> width 18 + <> height 3 + <> background (gray._500 # withAlpha 0.5) + <> translate "50%" "50%" + <> roundedFull + ) + +otherMonthDay ∷ Style +otherMonthDay = textCol gray._400 + +dateContainer ∷ Style +dateContainer = roundedLg <> shadowMd <> flexCol <> justifyCenter + <> itemsCenter + <> pX 12 + <> pT 16 + <> pB 12 + <> background (white) + <> textSm + <> overflowXHidden + <> border 1 + <> borderSolid + <> borderCol gray._200 + <> css { width: str "fit-content" } + +titleAndControls ∷ Style +titleAndControls = flexRow + <> justifyBetween + <> itemsCenter + <> widthFull + +monthChangeButton ∷ Style +monthChangeButton = + border 1 + <> roundedMd + <> borderSolid + <> textCol gray._600 + <> background white + <> borderCol gray._200 + <> widthAndHeight 30 + <> shadowSm + <> pXY 6 + <> boxSizingBorderBox + <> mXY 0 + <> hover (background gray._100) + +monthAndYear ∷ Style +monthAndYear = + textDefault <> fontMedium <> textCol gray._600 + <> background white + <> border 1 + <> borderSolid + <> roundedMd + <> borderCol gray._200 + <> pXY 0 + <> width 180 + <> height 30 + <> itemsCenter + <> mXY 0 + <> pX 5 + <> flexRow + <> textSm + <> justifyBetween + <> shadowSm + +daysContainer ∷ Style +daysContainer = pT 8 diff --git a/src/Plumage/Atom/DatePicker/View.purs b/src/Yoga/Block/Molecule/DatePicker/View.purs similarity index 71% rename from src/Plumage/Atom/DatePicker/View.purs rename to src/Yoga/Block/Molecule/DatePicker/View.purs index 7775cf1..1a82c70 100644 --- a/src/Plumage/Atom/DatePicker/View.purs +++ b/src/Yoga/Block/Molecule/DatePicker/View.purs @@ -1,6 +1,6 @@ -module Plumage.Atom.DatePicker.View where +module Yoga.Block.Atom.DatePicker.View where -import Plumage.Prelude.Style +import Yoga.Prelude.View import Data.Date (Date, Day, Month(..), Weekday(..), Year) import Data.Date as Date @@ -8,19 +8,15 @@ import Data.Enum (enumFromTo, fromEnum) import Data.Enum as Enum import Data.String as String import Data.Time.Duration (Days(..), negateDuration) -import Data.Tuple.Nested (type (/\), (/\)) +import Fahrtwind.Icon.Heroicons as Heroicons import Framer.Motion as M import Literals.Undefined (undefined) -import Fahrtwind.Icon.Heroicons as Heroicons -import Plumage.Util.HTML as H import Prelude as Bounded -import React.Basic (JSX) import React.Basic.DOM as R -import React.Basic.Emotion (Style) import React.Basic.Emotion as E -import React.Basic.Events (handler_) import React.Basic.Hooks as React import Record (disjointUnion) +import Yoga.Block.Molecule.DatePicker.Style as Style type Props = { state ∷ State, dispatch ∷ Action → Effect Unit } @@ -89,14 +85,14 @@ mkDatePickerView = do Just s → renderDate ({ dispatch } `disjointUnion` s) Nothing → mempty -renderDate ∷ - { dispatch ∷ Action → Effect Unit - , currentDate ∷ Date - , selectedDateʔ ∷ Maybe Date - , showingMonth ∷ Month /\ Year - , transitioningʔ ∷ Maybe TransitionDirection - } → - JSX +renderDate + ∷ { dispatch ∷ Action → Effect Unit + , currentDate ∷ Date + , selectedDateʔ ∷ Maybe Date + , showingMonth ∷ Month /\ Year + , transitioningʔ ∷ Maybe TransitionDirection + } + → JSX renderDate { dispatch , currentDate @@ -111,11 +107,11 @@ renderDate previousMonth /\ previousYear = previousMonth (showingMonth /\ showingYear) let previousDate = Date.canonicalDate previousYear previousMonth Bounded.bottom - H.div_ dateContainerStyle - [ H.div_ titleAndControlsStyle + div_ Style.dateContainer + [ div_ Style.titleAndControls [ E.element R.button' - { className: "plm-cal-btn" - , css: monthChangeButtonStyle + { className: "ry-cal-btn" + , css: Style.monthChangeButton , onClick: handler_ (dispatch (StartTransition ToPreviousMonth)) , children: [ Heroicons.chevronLeft ] } @@ -128,7 +124,7 @@ renderDate -- if showingYear == Date.year currentDate then "" -- else " " <> yearString showingYear -- ] - -- , H.div_ + -- , div_ -- ( width 20 -- <> height' (E.str "calc(100% - 6px)") -- <> flexRow @@ -139,7 +135,7 @@ renderDate -- <> borderSolid -- <> borderCol gray._200 -- ) - -- [ H.div_ (widthAndHeight 16) + -- [ div_ (widthAndHeight 16) -- [ Heroicons.chevronDown ] -- ] -- ] @@ -149,24 +145,24 @@ renderDate else " " <> yearString showingYear , E.element R.button' - { className: "plm-cal-btn" - , css: monthChangeButtonStyle + { className: "ry-cal-btn" + , css: Style.monthChangeButton , onClick: handler_ (dispatch (StartTransition ToNextMonth)) , children: [ Heroicons.chevronRight ] } ] , E.element R.div' { className: "days-container" - , css: daysContainerStyle + , css: Style.daysContainer , children: - [ H.div_ daysHeadingsStyle + [ div_ Style.daysHeadings ( enumFromTo Monday Sunday <#> (weekdayName >>> String.take 3 >>> \n → R.div_ [ R.text n ]) ) , E.element M.div { className: "the-days" , key: monthName showingMonth - , css: flexRow <> width (7 * size) <> height 260 + , css: Style.theDays , initial: M.initial $ R.css { x: "-100%" } , animate: M.animate case transitioningʔ of Just ToNextMonth → R.css @@ -180,7 +176,7 @@ renderDate Just ToPreviousMonth → const $ dispatch ShowPreviousMonth _ → mempty , children: - [ H.div "days" daysStyle + [ div "days" Style.days $ renderMonthNumbers { date: previousDate , selectedDateʔ: Nothing @@ -188,7 +184,7 @@ renderDate , showingMonth: previousMonth , dispatch: mempty } - , H.div "days" daysStyle + , div "days" Style.days $ renderMonthNumbers { date , selectedDateʔ @@ -196,7 +192,7 @@ renderDate , showingMonth , dispatch } - , H.div "days" daysStyle + , div "days" Style.days $ renderMonthNumbers { date: nextDate , selectedDateʔ: Nothing @@ -210,14 +206,14 @@ renderDate } ] -renderMonthNumbers ∷ - { currentDateʔ ∷ Maybe Date - , date ∷ Date - , dispatch ∷ Action → Effect Unit - , selectedDateʔ ∷ Maybe Date - , showingMonth ∷ Month - } → - Array JSX +renderMonthNumbers + ∷ { currentDateʔ ∷ Maybe Date + , date ∷ Date + , dispatch ∷ Action → Effect Unit + , selectedDateʔ ∷ Maybe Date + , showingMonth ∷ Month + } + → Array JSX renderMonthNumbers { date, selectedDateʔ, currentDateʔ, showingMonth, dispatch } = do let firstDay = firstMondayBefore $ setDay Bounded.bottom date @@ -230,25 +226,25 @@ renderMonthNumbers { date, selectedDateʔ, currentDateʔ, showingMonth, dispatch <#> \(d ∷ Date) → E.element R.button' { className: "day" - , css: dayStyle <> + , css: Style.day <> if Date.month d /= showingMonth then - otherMonthDayStyle + Style.otherMonthDay else mempty , children: [ E.element M.div { css: - dayRoundStyle + Style.dayRound <> ( if selectedDateʔ == Just d then - selectedDayStyle + Style.selectedDay else mempty ) <> - ( if Just d == currentDateʔ then currentDayStyle + ( if Just d == currentDateʔ then Style.currentDay else mempty ) <> - if (fromEnum $ Date.day d) == 1 then oneDayStyle + if (fromEnum $ Date.day d) == 1 then Style.oneDay else mempty , initial: if selectedDateʔ == Just d then @@ -313,131 +309,6 @@ firstSundayAfter date = go date if Date.weekday d == Sunday then d else Date.adjust (Days 1.0) d # maybe d go -commonDaysStyle ∷ Style -commonDaysStyle = displayGrid <> templateCols "repeat(7, 1fr)" <> textCenter - -daysHeadingsStyle ∷ Style -daysHeadingsStyle = commonDaysStyle - <> textCol gray._500 - <> fontMedium - <> textXs - <> pT 10 - <> pB 8 - -daysStyle ∷ Style -daysStyle = commonDaysStyle <> templateRows ("repeat(7," <> show size <> "px)") - -size ∷ Int -size = 42 - -padding ∷ Int -padding = 2 - -dayStyle ∷ Style -dayStyle = width size <> height size <> borderNone - <> E.css { background: E.none } - <> mXY 0 - <> pXY padding - <> textCol (gray._500 # darken 0.07) - <> fontMedium - <> textSm - -dayRoundStyle ∷ Style -dayRoundStyle = roundedXl <> widthFull <> heightFull <> boxSizingBorderBox - <> pT 6 - <> transition "all 160ms ease-out" - <> hover - ( background coolGray._100 - <> borderCol coolGray._100 - <> cursorPointer - <> textCol black - ) - <> border 3 - <> borderCol white - <> borderSolid - -selectedDayStyle ∷ Style -selectedDayStyle = s <> hover s - where - s = background violet._100 - <> borderCol violet._500 - <> textCol violet._800 - -oneDayStyle ∷ Style -oneDayStyle = pR' (E.str "1px") - -currentDayStyle ∷ Style -currentDayStyle = positionRelative - <> E.css { fontVariantNumeric: E.str "tabular-nums" } - <> afterElement - ( positionAbsolute <> bottom' (6 # E.px) <> right' (50.0 # E.percent) - <> width 18 - <> height 3 - <> background (gray._500 # withAlpha 0.5) - <> translate "50%" "50%" - <> roundedFull - ) - -otherMonthDayStyle ∷ Style -otherMonthDayStyle = textCol gray._400 - -dateContainerStyle ∷ Style -dateContainerStyle = roundedLg <> shadowMd <> flexCol <> justifyCenter - <> itemsCenter - <> pX 12 - <> pT 16 - <> pB 12 - <> background (white) - <> textSm - <> overflowXHidden - <> border 1 - <> borderSolid - <> borderCol gray._200 - <> E.css { width: E.str "fit-content" } - -titleAndControlsStyle ∷ Style -titleAndControlsStyle = flexRow - <> justifyBetween - <> itemsCenter - <> widthFull - -monthChangeButtonStyle ∷ Style -monthChangeButtonStyle = - border 1 - <> roundedMd - <> borderSolid - <> textCol gray._600 - <> background white - <> borderCol gray._200 - <> widthAndHeight 30 - <> shadowSm - <> pXY 6 - <> boxSizingBorderBox - <> mXY 0 - <> hover (background gray._100) - -monthAndYearStyle ∷ Style -monthAndYearStyle = - textDefault <> fontMedium <> textCol gray._600 - <> background white - <> border 1 - <> borderSolid - <> roundedMd - <> borderCol gray._200 - <> pXY 0 - <> width 180 - <> height 30 - <> itemsCenter - <> mXY 0 - <> pX 5 - <> flexRow - <> textSm - <> justifyBetween - <> shadowSm - -daysContainerStyle ∷ Style -daysContainerStyle = pT 8 - yearString ∷ Year → String yearString = fromEnum >>> show @@ -464,4 +335,4 @@ weekdayName = case _ of Thursday → "Thursday" Friday → "Friday" Saturday → "Saturday" - Sunday → "Sunday" \ No newline at end of file + Sunday → "Sunday" diff --git a/src/Yoga/Block/Molecule/Modal/Story.purs b/src/Yoga/Block/Molecule/Modal/Story.purs deleted file mode 100644 index ed2a9b7..0000000 --- a/src/Yoga/Block/Molecule/Modal/Story.purs +++ /dev/null @@ -1,79 +0,0 @@ -module Yoga.Block.Molecule.Modal.Story where - -import Prelude -import Data.Foldable (foldMap) -import Data.Maybe (Maybe(..), isNothing) -import Data.String.NonEmpty.Internal (NonEmptyString(..)) -import Data.Tuple.Nested ((/\)) -import Effect (Effect) -import Effect.Unsafe (unsafePerformEffect) -import React.Basic (JSX, element, fragment) -import React.Basic.DOM as R -import React.Basic.Emotion as E -import React.Basic.Events (handler_) -import React.Basic.Hooks (reactComponent, useEffectAlways) -import React.Basic.Hooks as React -import Web.DOM (Element) -import Web.DOM.NonElementParentNode (getElementById) -import Web.HTML (window) -import Web.HTML.HTMLDocument (toNonElementParentNode) -import Web.HTML.Window (document) -import Yoga as Y -import Yoga.Block as Block -import Yoga.Block.Container.Style (colour) -import Yoga.Block.Container.Style as Styles -import Yoga.Block.Molecule.Modal as Modal - -default ∷ - { decorators ∷ Array (Effect JSX -> JSX) - , title ∷ String - } -default = - { title: "Molecule/Modal" - , decorators: - [ \storyFn -> - R.div_ - [ element E.global { styles: Styles.global } - , unsafePerformEffect storyFn - ] - ] - } - -modal ∷ Effect JSX -modal = do - pure $ React.element compo {} - where - compo = - unsafePerformEffect - $ reactComponent "Modal Story" \{} -> React.do - isOpen /\ setIsOpen <- React.useState' true - maybeModalElement /\ setModalElement <- React.useState' Nothing - useEffectAlways do - when (isNothing maybeModalElement) do - container <- getElementById "modal-container" =<< (map toNonElementParentNode $ document =<< window) - setModalElement container - mempty - pure - $ fragment - [ R.h2_ [ R.text "No Options" ] - , Y.el R.button' - { onClick: handler_ (setIsOpen true) - } - [ R.text "Show Modal" - ] - , R.div { id: "modal-container" } - , maybeModalElement - # foldMap \(modalElement ∷ Element) -> - element Modal.component - { content: - Block.box - { borderRadius: E.str "var(--s3)" - , background: colour.backgroundLayer1 - , padding: E.str "var(--s3) var(--s2)" - } - [ Y.leaf Block.input { label: NonEmptyString "A label that should fit" } ] - , isOpen - , onDismiss: setIsOpen false - , target: modalElement - } - ] diff --git a/src/Yoga/Block/Molecule/Modal/Style.purs b/src/Yoga/Block/Molecule/Modal/Style.purs index 4f7ff4a..37de726 100644 --- a/src/Yoga/Block/Molecule/Modal/Style.purs +++ b/src/Yoga/Block/Molecule/Modal/Style.purs @@ -2,27 +2,14 @@ module Yoga.Block.Molecule.Modal.Style where import Yoga.Prelude.Style -type Props :: forall k. (Type -> k) -> Row k -> Row k -type Props f r = - ( css ∷ f Style - | r - ) +clickAway ∷ Style +clickAway = + widthScreen + <> heightScreen + <> positionFixed + <> left zero + <> top zero + <> acceptClicks modal ∷ Style -modal = styles - where - styles = - css - {} - -clickaway ∷ Style -clickaway = - css - { width: 100.0 # vw - , height: 100.0 # vh - , position: fixed - , left: _0 - , top: _0 - , backdropFilter: str "blur(4px) brightness(80%)" - , zIndex: str "3" - } +modal = acceptClicks diff --git a/src/Yoga/Block/Molecule/Modal/View.purs b/src/Yoga/Block/Molecule/Modal/View.purs index 6ad21c6..42bdfcf 100644 --- a/src/Yoga/Block/Molecule/Modal/View.purs +++ b/src/Yoga/Block/Molecule/Modal/View.purs @@ -1,92 +1,90 @@ -module Yoga.Block.Molecule.Modal.View (component, Props) where +module Yoga.Block.Molecule.Modal.View where import Yoga.Prelude.View -import Data.Nullable as Nullable + import Effect.Unsafe (unsafePerformEffect) -import Framer.Motion (withMotion) -import Framer.Motion as Motion -import React.Basic.DOM (createPortal, css) +import Fahrtwind.Style.Color.Background (background) +import Fahrtwind.Style.Color.Tailwind as TW +import Fahrtwind.Style.Color.Util (withAlpha) +import Framer.Motion as M import React.Basic.DOM as R -import React.Basic.Emotion as Emotion -import React.Basic.Hooks (reactComponent) import React.Basic.Hooks as React -import Web.DOM (Element) -import Yoga.Block.Hook.Key as KeyCode -import Yoga.Block.Hook.UseKeyDown (useKeyDown) -import Yoga.Block.Layout.Imposter as Imposter import Yoga.Block.Molecule.Modal.Style as Style +import Yoga.Block.Hook.UseRenderInPortal (useRenderInPortal) +import Yoga.Block.Layout.Centre.View as Centre +import Yoga.Block.Layout.Cover.View as Cover +import Yoga.Block.Quark.ClickAway.View as ClickAway + +type ModalIds = { clickAwayId ∷ String, modalContainerId ∷ String } type Props = - { content ∷ JSX - , isOpen ∷ Boolean - , onDismiss ∷ Effect Unit - , target ∷ Element - | () + { hide ∷ Effect Unit + , isVisible ∷ Boolean + , content ∷ JSX + , allowClickAway ∷ Boolean + , clickAwayId ∷ String + , modalContainerId ∷ String } component ∷ ReactComponent Props -component = - unsafePerformEffect - $ reactComponent "Modal Wrapper" \{ content, isOpen, onDismiss, target } -> React.do - useKeyDown $ \_ _ -> case _ of - KeyCode.Escape -> onDismiss - _ -> mempty - clickAwayRef <- React.useRef Nullable.null - let - toRender ∷ JSX - toRender = - R.div' - [ Motion.animatePresence [ guard isOpen $ element clickaway { theRef: clickAwayRef, onDismiss } ] - , Motion.animatePresence [ guard isOpen $ element window { clickAwayRef, onDismiss, content } ] - ] - pure (createPortal toRender target) - -clickaway ∷ ReactComponent { theRef ∷ Ref (Nullable Node), onDismiss ∷ Effect Unit } -clickaway = - unsafePerformEffect - $ reactComponent "Modal Clickaway" \{ theRef, onDismiss } -> React.do - pure $ Emotion.elementKeyed Motion.div - $ - { key: "ry-modal-clickaway" - , onClick: handler_ onDismiss - , className: "ry-modal-clickaway" - , css: Style.clickaway - , initial: Motion.prop $ css { opacity: 0.0 } - , animate: Motion.prop $ css { opacity: 1.0 } - , exit: Motion.prop $ css { opacity: 0.0 } - , ref: theRef - } - -window ∷ ReactComponent { clickAwayRef ∷ NodeRef, content ∷ JSX, onDismiss ∷ Effect Unit } -window = - unsafePerformEffect - $ reactComponent "Modal Window" \{ clickAwayRef, content, onDismiss } -> React.do - imposterRef <- useRef null - pure - $ Emotion.element motionImposter - ( { className: "ry-modal-window" - , css: Style.modal - , ref: imposterRef - , onClick: handler_ onDismiss - , children: - [ Motion.div - + { css: background (TW.gray._900 # withAlpha 0.5) + , hide: if allowClickAway then hide else mempty + , isVisible + , clickAwayId + } + , renderInPortal + $ Cover.component + + [ Centre.component + [ M.animatePresence + [ guard isVisible + $ M.div + [ content ] + /> + [ child ] ] - } - `withMotion` - { initial: css { transform: "translate(-50%, -50%) scale3d(0.1,0.1,0.1)", opacity: 0 } - , animate: css { transform: "translate(-50%, -50%) scale3d(1,1,1)", opacity: 1 } - , exit: css { transform: "translate(-50%, -50%) scale3d(0.1,0.1,0.1)", opacity: 0 } - } - ) - where - motionImposter = unsafePerformEffect $ Motion.custom Imposter.component + ] + ] + ] diff --git a/src/Plumage/Atom/Tooltip/View.purs b/src/Yoga/Block/Molecule/Tooltip/View.purs similarity index 62% rename from src/Plumage/Atom/Tooltip/View.purs rename to src/Yoga/Block/Molecule/Tooltip/View.purs index 9375238..70879d2 100644 --- a/src/Plumage/Atom/Tooltip/View.purs +++ b/src/Yoga/Block/Molecule/Tooltip/View.purs @@ -1,18 +1,19 @@ -module Plumage.Atom.Tooltip.View where +module Yoga.Block.Atom.Tooltip.View where import Yoga.Prelude.View import Effect.Unsafe (unsafePerformEffect) -import Plumage.Atom.PopOver.Types (Placement) -import Plumage.Hooks.UsePopOver (usePopOver) +import Yoga.Block.Atom.PopOver.Types (Placement) +import Yoga.Block.Hook.UsePopOver (usePopOver) import React.Basic.DOM as R import React.Basic.Hooks as React -tooltip ∷ - { containerId ∷ String, placement ∷ Placement, tooltip ∷ JSX } → JSX → JSX -tooltip props@{ containerId, placement } child = rawComponent +tooltip + ∷ { containerId ∷ String, placement ∷ Placement, fallbackPlacements :: Array Placement, tooltip ∷ JSX } → JSX → JSX +tooltip props@{ containerId, placement, fallbackPlacements } child = rawComponent { placement + , fallbackPlacements , containerId , child , tooltipContent: props.tooltip @@ -20,6 +21,7 @@ tooltip props@{ containerId, placement } child = rawComponent type Props = { placement ∷ Placement + , fallbackPlacements :: Array Placement , containerId ∷ String , child ∷ JSX , tooltipContent ∷ JSX @@ -27,7 +29,7 @@ type Props = rawComponent ∷ ReactComponent Props rawComponent = unsafePerformEffect $ React.reactComponent "Tooltip" $ - \({ placement, containerId, child, tooltipContent } ∷ Props) → React.do + \({ placement, containerId, child, tooltipContent, fallbackPlacements } ∷ Props) → React.do { hidePopOver , renderInPopOver , targetRef @@ -37,6 +39,7 @@ rawComponent = unsafePerformEffect $ React.reactComponent "Tooltip" $ { dismissBehaviourʔ: Nothing , containerId , placement + , fallbackPlacements } pure $ fragment @@ -47,4 +50,4 @@ rawComponent = unsafePerformEffect $ React.reactComponent "Tooltip" $ , onMouseEnter: handler_ $ guard (not isVisible) showPopOver } , renderInPopOver tooltipContent - ] \ No newline at end of file + ] diff --git a/src/Yoga/Block/Molecule/Typeahead.purs b/src/Yoga/Block/Molecule/Typeahead.purs new file mode 100644 index 0000000..1e6beda --- /dev/null +++ b/src/Yoga/Block/Molecule/Typeahead.purs @@ -0,0 +1,5 @@ +module Yoga.Block.Molecule.Typeahead + ( module Yoga.Block.Molecule.Typeahead.View + ) where + +import Yoga.Block.Molecule.Typeahead.View (Args, InputProps, Props, ScrollSeekConfiguration, inputProps, mkDefaultArgs, mkTypeahead, mkTypeaheadView) diff --git a/src/Yoga/Block/Molecule/Typeahead/Style.purs b/src/Yoga/Block/Molecule/Typeahead/Style.purs new file mode 100644 index 0000000..db7c71d --- /dev/null +++ b/src/Yoga/Block/Molecule/Typeahead/Style.purs @@ -0,0 +1,48 @@ +module Yoga.Block.Molecule.Typeahead.Style where + +import Yoga.Prelude.Style + +type Props f r = (| r) + +resultsContainer ∷ Style +resultsContainer = + pXY 0 + <> mT 4 + <> mB 4 + <> maxHeight' (50.0 # vh) + <> minHeight' (25.0 # vh) + <> height' (230 # px) + <> justifyEnd + <> itemsStart + <> gap 3 + <> roundedDefault + <> shadowXxl + <> overflowHidden + <> blurredBackground' + { blurRadius: 4 + , blurredCol: colourWithDarkLightAlpha.backgroundLayer5 + { darkAlpha: 0.5, lightAlpha: 0.5 } + , fallbackCol: colour.inputBackground + } + <> border 1 + <> borderSolid + <> borderCol' col.inputBorder + <> css { ".TypeaheadList": nested (pXY 0 <> mXY 0) } + +resultContainer ∷ Style +resultContainer = + pX 0 + <> cursorPointer + <> overflowHidden + +item ∷ Style +item = + focus + ( background' col.highlight + <> textCol' col.highlightText + <> outlineNone + ) + <> border 0 + <> borderBottom 1 + <> borderSolid + <> borderCol' col.backgroundLayer3 diff --git a/src/Plumage/Molecule/Typeahead.purs b/src/Yoga/Block/Molecule/Typeahead/View.purs similarity index 77% rename from src/Plumage/Molecule/Typeahead.purs rename to src/Yoga/Block/Molecule/Typeahead/View.purs index dc8e050..e90e4e2 100644 --- a/src/Plumage/Molecule/Typeahead.purs +++ b/src/Yoga/Block/Molecule/Typeahead/View.purs @@ -1,4 +1,4 @@ -module Plumage.Molecule.Typeahead where +module Yoga.Block.Molecule.Typeahead.View where import Yoga.Prelude.View @@ -7,45 +7,59 @@ import Data.Array as Array import Data.Function.Uncurried (mkFn3) import Data.Time.Duration (Milliseconds(..)) import Effect.Aff (Aff, attempt, delay) +import Effect.Console as Console import Effect.Exception (Error) -import Effect.Uncurried (mkEffectFn1, runEffectFn1) -import Fahrtwind (mX, minWidth, overflowHidden, textCol', widthAndHeight) +import Effect.Uncurried (mkEffectFn1, runEffectFn1, runEffectFn2) +import Fahrtwind (overflowHidden, textCol', widthAndHeight) import Fahrtwind.Style.ScrollBar (scrollBar') - import Framer.Motion as M +import Literals.Undefined (Undefined, undefined) import Network.RemoteData (RemoteData) import Network.RemoteData as RemoteData -import Plumage.Atom.PopOver.Types (Placement(..), PrimaryPlacement(..), SecondaryPlacement(..)) -import Plumage.Atom.PopOver.View (mkPopOverView) -import Plumage.Molecule.Typeahead.Style as Style -import Plumage.Util.HTML as H import Prim.Row (class Lacks, class Nub) -import React.Aria.Interactions2 (useFocus, useFocusWithin) -import React.Aria.Utils (mergeProps) +import React.Aria.Interactions (useFocus, useFocusWithin) import React.Basic.DOM as R import React.Basic.DOM.Events (capture_) import React.Basic.DOM.Events as SE import React.Basic.Emotion as E import React.Basic.Hooks as React import React.Basic.Hooks.Aff (useAff) -import React.Virtuoso (virtuosoImpl) +import React.Virtuoso (VirtuosoInstance, virtuosoImpl) import Record as Record import Type.Proxy (Proxy(..)) import Unsafe.Coerce (unsafeCoerce) -import Untagged.Union (maybeToUor, uorToMaybe) +import Untagged.Union (UndefinedOr, maybeToUor, uorToMaybe) import Web.DOM.Document (toNonElementParentNode) import Web.DOM.NonElementParentNode (getElementById) - import Web.HTML (window) import Web.HTML.HTMLDocument (activeElement) import Web.HTML.HTMLDocument as HTMLDocument import Web.HTML.HTMLElement as HTMLElement import Web.HTML.Window (document) import Yoga.Block.Atom.Input as Input -import Yoga.Block.Container.Style (col) +import Yoga.Block.Atom.PopOver.Types (Placement(..), PrimaryPlacement(..), SecondaryPlacement(..)) +import Yoga.Block.Atom.PopOver.View (mkPopOverView) +import Yoga.Block.Container.Style (col, sizeStyle) import Yoga.Block.Hook.Key (KeyCode) import Yoga.Block.Hook.Key as Key +import Yoga.Block.Hook.UseOnElementResize (useOnElementResizeWithRef) +import Yoga.Block.Hook.UseResize2 (useOnResize) import Yoga.Block.Icon.SVG.Spinner (spinner) +import Yoga.Block.Internal (focusNodeRef) +import Yoga.Block.Molecule.Typeahead.Style as Style + +type Props a = PropsF Id a + +type PropsF f a = + ( checked ∷ f Boolean + | Style.Props f (MandatoryProps () a) + ) + +type MandatoryProps r a = + ( renderSuggestion ∷ a → JSX + , loadSuggestions ∷ String → Aff (Either Error (Array a)) + | r + ) type Overscan = { main ∷ Int, reverse ∷ Int } type ScrollSeekPlaceholder = ReactComponent { height ∷ Number, index ∷ Int } @@ -68,14 +82,13 @@ newtype InputProps = InputProps (∀ x. { | x }) inputProps ∷ ∀ p p_. Union p p_ Input.Props ⇒ { | p } → InputProps inputProps = unsafeCoerce -type Props a = +type PropsOld a = { onSelected ∷ a → Effect { overrideInputValue ∷ Maybe String, dismiss ∷ Boolean } , onRemoved ∷ a → Effect Unit , renderSuggestion ∷ a → JSX , loadSuggestions ∷ String → Aff (Either Error (Array a)) , onDismiss ∷ Effect Unit - , placeholder ∷ String , inputProps ∷ InputProps } @@ -99,7 +112,7 @@ mkDefaultArgs , itemStyle: Style.item } -mkTypeahead ∷ ∀ a. Eq a ⇒ Args a → Effect (ReactComponent (Props a)) +mkTypeahead ∷ ∀ a. Eq a ⇒ Args a → Effect (ReactComponent (PropsOld a)) mkTypeahead args = do typeaheadView ← mkTypeaheadView { contextMenuLayerId: args.contextMenuLayerId @@ -109,7 +122,7 @@ mkTypeahead args = do , containerStyle: args.containerStyle , itemStyle: args.itemStyle } - React.reactComponent "Typeahead" \(props ∷ Props a) → React.do + React.reactComponent "Typeahead" \(props ∷ PropsOld a) → React.do input /\ setInput ← React.useState' "" suggestions /\ setSuggestions ← React.useState' RemoteData.NotAsked { activeIndex, updatedByKeyboard } /\ updateActiveIndex ← React.useState @@ -134,7 +147,6 @@ mkTypeahead args = do , onSelected: props.onSelected , onRemoved: props.onRemoved , onDismiss: setSuggestions RemoteData.NotAsked *> props.onDismiss - , placeholder: props.placeholder , renderSuggestion: props.renderSuggestion , inputProps: props.inputProps , isLoading: suggestions # RemoteData.isLoading @@ -161,7 +173,6 @@ type ViewProps a = a → Effect { overrideInputValue ∷ Maybe String, dismiss ∷ Boolean } , onRemoved ∷ a → Effect Unit , onDismiss ∷ Effect Unit - , placeholder ∷ String , inputProps ∷ InputProps } @@ -184,7 +195,7 @@ mkTypeaheadView Style.resultContainer M.li listCompo ∷ ReactComponent {} ← mkForwardRefComponentWithStyle "TypeaheadList" - (overflowHidden) + overflowHidden R.ul' React.reactComponent "TypeaheadView" \(props ∷ ViewProps a) → @@ -198,7 +209,6 @@ mkTypeaheadView , activeIndex , updatedByKeyboard , updateActiveIndex - , placeholder , isLoading } = props let (InputProps inputProps) = props.inputProps @@ -212,20 +222,28 @@ mkTypeaheadView inputContainerRef ← React.useRef null inputRef ← React.useRef null virtuosoRef ← React.useRef null + width /\ setWidth ← React.useState' 210.0 let focusIsWithin = inputHasFocus || popupHasFocus - { focusWithinProps } ← - useFocusWithin - { onFocusWithin: handler_ (setPopupHasFocus true) - , onBlurWithin: handler_ (setPopupHasFocus false) - } + { focusWithinProps } ← useFocusWithin + { onFocusWithin: handler_ (setPopupHasFocus true) + , onBlurWithin: handler_ (setPopupHasFocus false) + } - { focusProps } ← - useFocus - { onFocus: handler_ (setInputHasFocus true) - , onBlur: handler_ (setInputHasFocus false) - } + { focusProps } ← useFocus + { onFocus: handler_ (setInputHasFocus true) + , onBlur: handler_ (setInputHasFocus false) + } + + React.useEffectOnce do + getBoundingBoxFromRef inputContainerRef >>= traverse_ + (_.width >>> setWidth) + mempty + + useOnResize (150.0 # Milliseconds) \_ → do + getBoundingBoxFromRef inputContainerRef >>= traverse_ + (_.width >>> setWidth) -- We store the result whenever we have successful suggestions React.useEffect (RemoteData.isSuccess suggestions) do @@ -242,17 +260,18 @@ mkTypeaheadView RemoteData.Success suggs → suggs focusInput ∷ Effect Unit - focusInput = do - maybeElem ← React.readRefMaybe inputRef - for_ (maybeElem >>= HTMLElement.fromNode) focus + focusInput = focusNodeRef inputRef blurCurrentItem ∷ Effect Unit blurCurrentItem = do maybeActive ← window >>= document >>= activeElement for_ maybeActive \active → blur active - focusActiveElement id { isAnimating, isScrolling, updatedByKeyboard } + focusActiveElement + id + { isAnimating, isScrolling, updatedByKeyboard } blurCurrentItem + virtuosoRef activeIndex let onSelected i = do @@ -271,8 +290,11 @@ mkTypeaheadView handleKeyUp = mkHandleKeyUp { activeIndex - , updateActiveIndex: \update → updateActiveIndex \old → - { activeIndex: update old.activeIndex, updatedByKeyboard: true } + , updateActiveIndex: + \update → updateActiveIndex \old → + { activeIndex: update old.activeIndex + , updatedByKeyboard: true + } , focusInput , suggestions: suggestions # RemoteData.toMaybe # fromMaybe prevSuggs @@ -284,13 +306,20 @@ mkTypeaheadView [ inputElement , popOver { hide: blurCurrentItem - , placement: Placement Below Start + , placement: Placement Below Centre + , fallbackPlacements: + [ Placement Below End + , Placement Below Start + , Placement Above End + , Placement Above Centre + , Placement Above Start + ] , placementRef: inputContainerRef , dismissBehaviourʔ: Nothing , onAnimationStateChange: setIsAnimating , containerId: contextMenuLayerId , childʔ: - if focusIsWithin then Just $ R.div' + if focusIsWithin then Just $ div' >= parseKey # traverse_ handleKeyUp + , onKeyUp: handler + SE.key + \e → e >>= parseKey # traverse_ handleKeyUp , onFocus: focusProps.onFocus , onBlur: focusProps.onBlur , trailing: - if isLoading then H.div_ + if isLoading then div_ (widthAndHeight 18 <> textCol' col.textPaler2) [ spinner ] else (unsafeCoerce inputProps.trailing) @@ -335,12 +362,11 @@ mkTypeaheadView , id: id <> "-suggestion-" <> show i , css: args.itemStyle , onMouseMove: - handler syntheticEvent \det → unless (activeIndex == Just i) - do + handler syntheticEvent + \det → unless (activeIndex == Just i) do let movementX = (unsafeCoerce det).movementX # uorToMaybe # fromMaybe 0.0 - let movementY = (unsafeCoerce det).movementY # uorToMaybe # fromMaybe 0.0 unless ((movementX == zero && movementY == zero)) do @@ -361,15 +387,10 @@ mkTypeaheadView /> [ renderSuggestion suggestion ] resultsContainer = - M.div + R.div' mX 0 <> args.containerStyle - , initial: M.initial $ false - , animate: M.animate $ R.css - { height: - if Array.length visibleData > 5 then 230 - else 120 - } + { css: args.containerStyle + , style: R.css { width: show width <> "px", maxHeight: "50vh" } } /> [ suggestionElements @@ -381,11 +402,11 @@ mkTypeaheadView , className: "virtuoso" , css: scrollBar' - { background: col.inputBackground - , col: col.textPaler2 - , width: E.var "--s0" - , borderRadius: E.px 8 - , borderWidth: E.px 4 + { background: col.backgroundBright2 + , col: col.backgroundBright4 + , width: sizeStyle.m + , borderRadius: E.px 5 + , borderWidth: E.px 2 } , scrollSeekConfiguration: args.scrollSeekConfigurationʔ # maybeToUor @@ -398,7 +419,11 @@ mkTypeaheadView } , isScrolling: mkEffectFn1 setIsScrolling , style: R.css - { height: "100%", width: "100%" } + { height: "100%" + , width: "100%" + , padding: "0" + , margin: "0" + } , data: visibleData , itemContent: mkFn3 wrapSuggestion } @@ -417,6 +442,7 @@ mkTypeaheadView id { isAnimating, isScrolling, updatedByKeyboard } blurCurrentItem + virtuosoRef activeIndex = useEffect activeIndex do unless (isAnimating || isScrolling) do @@ -427,10 +453,27 @@ mkTypeaheadView ( HTMLDocument.toDocument >>> toNonElementParentNode >>> getElementById (id <> "-suggestion-" <> show i) ) - for_ (suggʔ >>= HTMLElement.fromElement) - (if updatedByKeyboard then focus else focusPreventScroll) + for_ (suggʔ >>= HTMLElement.fromElement) \el → + if updatedByKeyboard then do + React.readRefMaybe virtuosoRef >>= traverse_ + ( scrollToIndex + { behavior: cast undefined + , index: i + , align: "center" + } + ) + focus el + else + focusPreventScroll el mempty +scrollToIndex ∷ + { behavior ∷ UndefinedOr String, index ∷ Int, align ∷ String } → + VirtuosoInstance → + Effect Unit +scrollToIndex options inst = + runEffectFn1 (unsafeCoerce inst).scrollToIndex options + -- https://caniuse.com/mdn-api_svgelement_focus_options_preventscroll_parameter focusPreventScroll ∷ HTMLElement → Effect Unit focusPreventScroll (htmlElement ∷ HTMLElement) = do @@ -468,26 +511,28 @@ mkHandleKeyUp key = do let maxIndex = Array.length suggestions - 1 case key of + Key.Tab → do + updateActiveIndex (const Nothing) + when (activeIndex # isJust) do + focusInput Key.Up → do when (activeIndex == Just 0) focusInput updateActiveIndex case _ of - Just 0 → Nothing + Just 0 → Just maxIndex Nothing → Just maxIndex Just i → Just (i - 1) Key.Down → do - when (activeIndex == Just maxIndex) focusInput + when (activeIndex == Just (maxIndex - 1)) focusInput updateActiveIndex case _ of - Just i | i == maxIndex → Nothing + Just i | i == maxIndex → Just 0 Nothing → Just 0 Just i → Just (i + 1) -- [TODO] End and Home keys - Key.Return → do + Key.Return → for_ activeIndex \i → do for_ (suggestions !! i) onSelected - Key.Backspace → do - focusInput - Key.Escape → do - onDismiss + Key.Backspace → focusInput + Key.Escape → onDismiss _ → mempty mkForwardRefComponent ∷ diff --git a/src/Yoga/Block/Quark/ClickAway/Style.purs b/src/Yoga/Block/Quark/ClickAway/Style.purs new file mode 100644 index 0000000..188b4e6 --- /dev/null +++ b/src/Yoga/Block/Quark/ClickAway/Style.purs @@ -0,0 +1,12 @@ +module Yoga.Block.Quark.ClickAway.Style where + +import Yoga.Prelude.Style + +clickAway ∷ Style +clickAway = + widthScreen + <> heightScreen + <> positionFixed + <> left zero + <> top zero + <> acceptClicks diff --git a/src/Yoga/Block/Quark/ClickAway/View.purs b/src/Yoga/Block/Quark/ClickAway/View.purs new file mode 100644 index 0000000..b1569c4 --- /dev/null +++ b/src/Yoga/Block/Quark/ClickAway/View.purs @@ -0,0 +1,34 @@ +module Yoga.Block.Quark.ClickAway.View where + +import Yoga.Prelude.View + +import Effect.Unsafe (unsafePerformEffect) +import React.Basic.DOM as R +import React.Basic.Emotion (Style) +import React.Basic.Hooks as React +import Yoga.Block.Quark.ClickAway.Style as Style +import Yoga.Block.Hook.UseRenderInPortal (useRenderInPortal) + +type Props = + { css ∷ Style + , hide ∷ Effect Unit + , isVisible ∷ Boolean + , clickAwayId ∷ String + } + +component ∷ ReactComponent Props +component = unsafePerformEffect do + React.reactComponent "Clickaway" \(props ∷ Props) → React.do + let { css, isVisible, hide, clickAwayId } = props + renderInPortal ← useRenderInPortal clickAwayId + pure + $ guard isVisible + ( renderInPortal + $ R.div' + + { className: "click-away" + , css: Style.clickAway <> css + , onMouseUp: handler_ hide + , onTouchEnd: handler_ hide + } + ) diff --git a/src/Yoga/Block/Quark/Drip.purs b/src/Yoga/Block/Quark/Drip.purs deleted file mode 100644 index ba319e4..0000000 --- a/src/Yoga/Block/Quark/Drip.purs +++ /dev/null @@ -1 +0,0 @@ -module Yoga.Block.Quark.Drip where diff --git a/src/Yoga/Block/Quark/Layer.purs b/src/Yoga/Block/Quark/Layer.purs new file mode 100644 index 0000000..6ae8077 --- /dev/null +++ b/src/Yoga/Block/Quark/Layer.purs @@ -0,0 +1,5 @@ +module Yoga.Block.Quark.Layer + ( module Yoga.Block.Quark.Layer.View + ) where + +import Yoga.Block.Quark.Layer.View (component, Props) diff --git a/src/Yoga/Block/Quark/Layer/Style.purs b/src/Yoga/Block/Quark/Layer/Style.purs new file mode 100644 index 0000000..b86e5ab --- /dev/null +++ b/src/Yoga/Block/Quark/Layer/Style.purs @@ -0,0 +1,12 @@ +module Yoga.Block.Quark.Layer.Style where + +import Yoga.Prelude.Style + +fixed ∷ Style +fixed = + positionFixed + <> widthScreen + <> heightScreen + <> top 0 + <> left 0 + <> ignoreClicks diff --git a/src/Yoga/Block/Quark/Layer/View.purs b/src/Yoga/Block/Quark/Layer/View.purs new file mode 100644 index 0000000..6b94706 --- /dev/null +++ b/src/Yoga/Block/Quark/Layer/View.purs @@ -0,0 +1,24 @@ +module Yoga.Block.Quark.Layer.View where + +import Yoga.Prelude.View + +import React.Basic.DOM as R +import Yoga.Block.Quark.Layer.Style as Style + +type Props = + ( id ∷ String + , zIndex ∷ Int + ) + +component ∷ ReactComponent { | Props } +component = mkForwardRefComponent "FixedLayer" \props ref → React.do + let { id, zIndex } = props + pure + $ div' + + { id + , style: R.css { zIndex } + , className: "ry-layer" + , css: Style.fixed + , ref + } diff --git a/src/Plumage/Atom/PopOver/Types.purs b/src/Yoga/Block/Quark/PopOver/Types.purs similarity index 96% rename from src/Plumage/Atom/PopOver/Types.purs rename to src/Yoga/Block/Quark/PopOver/Types.purs index d4accbf..c561a1c 100644 --- a/src/Plumage/Atom/PopOver/Types.purs +++ b/src/Yoga/Block/Quark/PopOver/Types.purs @@ -1,10 +1,10 @@ -module Plumage.Atom.PopOver.Types where +module Yoga.Block.Atom.PopOver.Types where import Yoga.Prelude.View import Data.Array.NonEmpty (NonEmptyArray) import Data.Array.NonEmpty as NEA -import Plumage.Prelude.Style (Style) +import Yoga.Prelude.Style (Style) data HookDismissBehaviour = DismissPopOverOnClickAway { id ∷ String, css ∷ Style } diff --git a/src/Plumage/Atom/PopOver/View.purs b/src/Yoga/Block/Quark/PopOver/View.purs similarity index 76% rename from src/Plumage/Atom/PopOver/View.purs rename to src/Yoga/Block/Quark/PopOver/View.purs index 3d41aaa..1cf05a8 100644 --- a/src/Plumage/Atom/PopOver/View.purs +++ b/src/Yoga/Block/Quark/PopOver/View.purs @@ -1,8 +1,10 @@ -module Plumage.Atom.PopOver.View where +module Yoga.Block.Atom.PopOver.View where import Yoga.Prelude.View import Control.Monad.ST.Internal as ST +import Data.Array ((:)) +import Data.Array as Array import Data.Array.NonEmpty as NEA import Data.Int as Int import Data.Maybe (isNothing) @@ -11,11 +13,6 @@ import Data.Traversable (for) import Fahrtwind (acceptClicks, positionAbsolute) import Fahrtwind.Style.BoxShadow (shadow) import Framer.Motion as M -import Plumage.Atom.Modal.View (mkClickAway) -import Plumage.Atom.PopOver.Types (DismissBehaviour(..), Placement(..), PrimaryPlacement(..), SecondaryPlacement(..)) -import Plumage.Hooks.UseRenderInPortal (useRenderInPortal) -import Plumage.Hooks.UseResize2 (useOnResize) -import Plumage.Prelude.Style (Style) import React.Basic.DOM as R import React.Basic.Hooks as React import Unsafe.Reference (reallyUnsafeRefEq) @@ -25,6 +22,11 @@ import Web.HTML (window) import Web.HTML.HTMLDocument as HTMLDocument import Web.HTML.Window (document, innerHeight, innerWidth, requestAnimationFrame, scrollX, scrollY) import Web.UIEvent.MouseEvent as MouseEvent +import Yoga.Block.Atom.PopOver.Types (DismissBehaviour(..), Placement(..), PrimaryPlacement(..), SecondaryPlacement(..)) +import Yoga.Block.Hook.UseRenderInPortal (useRenderInPortal) +import Yoga.Block.Hook.UseResize2 (useOnResize) +import Yoga.Block.Quark.ClickAway.View as ClickAway +import Yoga.Prelude.Style (Style) popOverShadow ∷ Style popOverShadow = @@ -35,6 +37,7 @@ type PopOverViewProps = { dismissBehaviourʔ ∷ Maybe DismissBehaviour , containerId ∷ String , placement ∷ Placement + , fallbackPlacements ∷ Array Placement , placementRef ∷ NodeRef , childʔ ∷ Maybe JSX , hide ∷ Effect Unit @@ -123,48 +126,30 @@ mkPopOverView = do props.onAnimationStateChange true setAnimationDone false - getBBWidthAndHeight = ado + getBbsWidthAndHeight = ado bbʔ ← getBoundingBoxFromRef contentRef + targetBbʔ ← getBoundingBoxFromRef props.placementRef w ← window >>= innerWidth <#> Int.toNumber h ← window >>= innerHeight <#> Int.toNumber - in { bbʔ, w, h } - - calculatePlacement { bbʔ, w, h } oldPlacement = do - - -- [FIXME] I need to take the placement ref into account, it'll be the - -- longest if else in the world - let (Placement _ secondary) = oldPlacement - bbʔ <#> \bb → do - if (bb.height > h) || (bb.width > w) then - oldPlacement - else if bb.right > w then - (Placement LeftOf secondary) - else if bb.left < zero then - (Placement RightOf secondary) - else if bb.top < zero then - (Placement Below secondary) - else if bb.bottom > h then - (Placement Above secondary) - else do - oldPlacement + in { bbʔ, targetBbʔ, w, h } getBestPlacement ∷ - { bbʔ ∷ Maybe DOMRect, w ∷ Number, h ∷ Number } → Placement → Placement - getBestPlacement bbWidthAndHeight oldPlacement = ST.run do - pRef ← ST.new oldPlacement - let - getNewPlacement = do - currentPlacement ← ST.read pRef - let - newPlacement = calculatePlacement bbWidthAndHeight - currentPlacement - for_ newPlacement (_ `ST.write` pRef) - getNewPlacement - placementBefore ← ST.read pRef - ST.while (ST.read pRef <#> (_ /= placementBefore)) do - getNewPlacement - result ← ST.read pRef - pure result + { bbʔ ∷ Maybe DOMRect + , targetBbʔ ∷ Maybe DOMRect + , w ∷ Number + , h ∷ Number + } → + Placement → + Array Placement → + Placement + getBestPlacement bbsWidthAndHeight oldPlacement fallbackPlacements = + fromMaybe oldPlacement do + let { w, h } = bbsWidthAndHeight + targetBb ← bbsWidthAndHeight.targetBbʔ + bb ← bbsWidthAndHeight.bbʔ + (oldPlacement : fallbackPlacements) # Array.find \placement → + isWithin { w, h } (placeAt targetBb bb placement) + -- :: DOMRect -> { width :: Number, height :: Number } -> Placement let recalculatePlacement = @@ -174,11 +159,13 @@ mkPopOverView = do void $ window >>= requestAnimationFrame do void $ window >>= requestAnimationFrame do void $ window >>= requestAnimationFrame do - bbWidthAndHeight ← getBBWidthAndHeight - for_ bbWidthAndHeight.bbʔ $ \_ → do + bbsWidthAndHeight ← getBbsWidthAndHeight + for_ bbsWidthAndHeight.bbʔ $ \_ → do let - newPlacement = getBestPlacement bbWidthAndHeight + newPlacement = getBestPlacement + bbsWidthAndHeight props.placement + props.fallbackPlacements setVisiblePlacement (Just newPlacement) -- Do this always setVisibleChild (Just child) @@ -258,7 +245,6 @@ toTransformOrigin (Placement primary secondary) = primaryOrigin <> " " <> mkPopOver ∷ React.Component Props mkPopOver = do - clickAway ← mkClickAway React.component "popOver" \props → React.do let { hide, isVisible, content, dismissBehaviourʔ, containerId } = props refBB /\ setRefBB ← React.useState' (zero ∷ DOMRect) @@ -286,7 +272,7 @@ mkPopOver = do pure $ fragment [ case dismissBehaviourʔ of Just (DismissOnClickAway { id, css }) → - clickAway { css, hide, isVisible, clickAwayId: id } + ClickAway.component { css, hide, isVisible, clickAwayId: id } _ → mempty , renderInPortal ( R.div' @@ -300,6 +286,11 @@ mkPopOver = do ) ] +isWithin ∷ { w ∷ Number, h ∷ Number } → DOMRect → Boolean +isWithin { w, h } bb = bb.top >= 0.0 && bb.left >= 0.0 && bb.bottom <= h + && bb.right + <= w + toAbsoluteCSS ∷ DOMRect → Placement → R.CSS toAbsoluteCSS bb (Placement primary secondary) = case primary, secondary of @@ -361,3 +352,67 @@ toAbsoluteCSS bb (Placement primary secondary) = , left: bb.right , transform: "translate(-100%, 0)" } + +placeAt ∷ + ∀ r. DOMRect → { width ∷ Number, height ∷ Number | r } → Placement → DOMRect +placeAt bb { width, height } (Placement primary secondary) = complete + case primary, secondary of + Above, Centre → + { x: bb.left + (bb.width / 2.0) - (width / 2.0) + , y: bb.top - (height / 2.0) + } + Above, Start → + { x: bb.left + , y: bb.top - height + } + Above, End → + { x: bb.right - width + , y: bb.top - height + } + RightOf, Centre → + { x: bb.right + , y: bb.y + (bb.height / 2.0) - (height / 2.0) + } + RightOf, Start → + { x: bb.right + , y: bb.top + } + RightOf, End → + { x: bb.right + , y: bb.bottom - height + } + LeftOf, Centre → + { x: bb.left - width + , y: bb.top + (bb.height / 2.0) - (height / 2.0) + } + LeftOf, Start → + { x: bb.left - width + , y: bb.top + } + LeftOf, End → + { x: bb.left - width + , y: bb.bottom - height + } + Below, Centre → + { x: bb.left + (bb.width / 2.0) - (width / 2.0) + , y: bb.bottom + } + Below, Start → + { x: bb.left + , y: bb.bottom + } + Below, End → + { x: bb.right - width + , y: bb.bottom + } + where + complete { x, y } = + { x + , y + , width + , height + , left: x + , top: y + , right: x + width + , bottom: y + height + } diff --git a/src/Yoga/Prelude/Style.purs b/src/Yoga/Prelude/Style.purs index bea0efc..534ec9f 100644 --- a/src/Yoga/Prelude/Style.purs +++ b/src/Yoga/Prelude/Style.purs @@ -5,11 +5,14 @@ module Yoga.Prelude.Style , module Yoga.Block.Internal.OptionalProp , module Yoga.Block.Internal.CSS , module Fahrtwind + + , module Yoga.Block.Container.Style ) where -import Yoga.Prelude.Default (class Applicative, class Apply, class Bind, class BooleanAlgebra, class Bounded, class Category, class CommutativeRing, class Discard, class DivisionRing, class Eq, class EuclideanRing, class Field, class Functor, class HeytingAlgebra, class Monad, class Monoid, class Ord, class Ring, class Semigroup, class Semigroupoid, class Semiring, class Show, type (~>), Effect, Either(..), Maybe(..), MaybeT(..), Ordering(..), Unit, Void, absurd, add, ap, append, apply, between, bind, clamp, compare, comparing, compose, conj, const, degree, discard, disj, div, eq, flap, flip, fold, foldMap, foldMapWithIndex, for_, fromMaybe, fromMaybe', gcd, guard, hush, identity, ifM, intercalate, isJust, join, lcm, lift, liftA1, liftEffect, liftM1, map, mapWithIndex, max, maybe, mempty, min, mod, mul, negate, not, notEq, note, one, otherwise, pure, recip, runMaybeT, runMaybeT_, show, sub, traverse_, unit, unless, unlessM, void, when, whenM, zero, (#), ($), ($>), (&&), (*), (*>), (+), (-), (/), (/=), (<), (<#>), (<$), (<$>), (<*), (<*>), (<<<), (<=), (<=<), (<>), (<@>), (<|>), (=<<), (==), (>), (>=), (>=>), (>>=), (>>>), (||)) +import Color (Color, ColorSpace(..), Interpolator, brightness, complementary, contrast, cssStringHSLA, cssStringRGBA, darken, desaturate, distance, fromHexString, fromInt, graytone, hsl, hsla, hsv, hsva, isLight, isReadable, lab, lch, lighten, luminance, mix, mixCubehelix, rgb, rgb', rgba, rgba', rotateHue, saturate, toGray, toHSLA, toHSVA, toHexString, toLCh, toLab, toRGBA, toRGBA', toXYZ, xyz) import Fahrtwind (BlendMode(..), TailwindColor, acceptClicks, active, afterElement, alignSelfCenter, alignSelfEnd, alignSelfStart, amber, attributeValueStyle, background, background', backgroundBlendMode, backgroundImage, backgroundImage', backgroundNoRepeat, backgroundPosition, backgroundRepeat, backgroundRepeatX, backgroundRepeatY, backgroundSize, backgroundSize', base, basePopper, beforeElement, black, blendModeToStyleProperty, block, blue, blueGray, blurredBackground, blurredBackground', border, borderBottom, borderCol, borderCol', borderLeft, borderNone, borderRight, borderSolid, borderTop, bottom, bottom', boxSizingBorderBox, boxSizingContentBox, checked, content, coolGray, cursorAuto, cursorDefault, cursorHelp, cursorMove, cursorNotAllowed, cursorPointer, cursorText, cursorWait, cyan, default, disabled, displayGrid, displayNone, divideCol, divideX, divideXReverse, divideY, divideYReverse, emerald, empty, enabled, evenChild, fadeInAndOutAnimationName, first, firstChild, firstLetter, firstLine, firstOfType, flex, flexCol, flexGrow, flexNoWrap, flexRow, flexShrink, flexWrap, flexWrapReverse, focus, focusWithin, fontBlack, fontBold, fontExtrabold, fontExtralight, fontFamilyOrMono, fontFamilyOrSans, fontFamilyOrSerif, fontLight, fontMedium, fontNormal, fontSemiMedium, fontSemibold, fontSize, fontSize', fontThin, fuchsia, full, fullscreen, gap, globalStyles, gray, green, headShakeAnimationName, height, height', heightFull, heightScreen, hover, hue, ignoreClicks, inRange, indeterminate, indigo, infiniteSpinAnimation, inlineBlock, inlineFlex, inlineGrid, invalid, invisible, isolate, isolationAuto, itemsAround, itemsBetween, itemsCenter, itemsEnd, itemsEvenly, itemsStart, justifyAround, justifyBetween, justifyCenter, justifyEnd, justifyEvenly, justifySelfCenter, justifySelfEnd, justifySelfStart, justifyStart, lastChild, lastOfType, left, left', level3, level3Popper, level4, level4Popper, level5, level5Popper, lightBlue, lightness, lime, lineHeight, lineHeight', linearGradient, linearGradientStops, linearGradientStopsString, linearGradientString, link, m', mB, mB', mL, mL', mR, mR', mT, mT', mX, mX', mXAuto, mXY, mY, mY', maxHeight, maxHeight', maxWidth, maxWidth', minHeight, minHeight', minWidth, minWidth', mixBlendMode, mkRotate, mkShadow, mkTranslate, nest, notification, notificationPopper, nthChild, nthOfType, oddChild, onlyChild, onlyOfType, opacity, optional, orange, outOfRange, outlineNone, overflowHidden, overflowScroll, overflowVisible, overflowXHidden, overflowXScroll, overflowYHidden, overflowYScroll, overlay, overlayPopper, p', pB, pB', pL, pL', pR, pR', pT, pT', pX, pX', pXY, pY, pY', pink, placeholder, pointerEventsAuto, pointerEventsNone, positionAbsolute, positionFixed, positionRelative, positionStatic, positionSticky, pseudoLeft, pseudoRight, purple, readOnly, readWrite, red, required, right, right', root, rose, rotate, rounded, rounded2xl, rounded3xl, roundedDefault, roundedFull, roundedLg, roundedMd, roundedNone, roundedSm, roundedXl, saturation, scaleAnimationName, scope, screen2xl, screenHeight, screenLg, screenMd, screenSm, screenWidth, screenXl, selection, shadow, shadow', shadowDefault, shadowDefaultCol, shadowLg, shadowLgCol, shadowMd, shadowMdCol, shadowSm, shadowSmCol, shadowXl, shadowXlCol, shadowXxl, shadowXxlCol, shadows, spinAnimationName, svgBackgroundImage, target, teal, templateCols, templateRows, text2xl, text3xl, text4xl, text5xl, text6xl, text7xl, text8xl, text9xl, textBase, textCenter, textCol, textCol', textDefault, textJustify, textLeft, textLg, textOverflowEllipsis, textRight, textSized, textSm, textTransformUppercase, textXl, textXs, top, top', topmost, tracking, trackingNormal, trackingTight, trackingTighter, trackingWide, trackingWider, trackingWidest, transform, transform', transformMany, transition, transition', transitionRec, translate, trueGray, underline, userSelectNone, userSelectText, valid, variables, violet, visible, visited, warmGray, white, width, width', widthAndHeight, widthAndHeight', widthFull, widthScreen, withAlpha, withHue, withLightness, withSaturation, yellow, zIndex) import React.Basic.Emotion (class IsStyle, class IsStyleProperty, Style, StyleProperty, absolute, auto, baseline, borderBox, center, ch, ch2, ch4, cm, cm2, cm4, color, column, contentBox, css, element, elementKeyed, ellipsis, em, em2, em4, ex, ex2, ex4, fallbacks, fixed, flexEnd, flexStart, global, grid, hidden, important, inches, inches2, inches4, inherit, initial, int, keyframes, manipulation, maxContent, merge, minContent, mm, mm2, mm4, nested, none, nowrap, num, pc, pc2, pc4, percent, percent2, percent4, pointer, preWrap, prop, pt, pt2, pt4, px, px', px2, px2', px4, px4', relative, rem, rem2, rem4, revert, row, scroll, solid, spaceAround, spaceBetween, spaceEvenly, sticky, str, stretch, style, unset, url, var, vh, vh2, vh4, vmax, vmax2, vmax4, vmin, vmin2, vmin4, vw, vw2, vw4, wrap) -import Color (Color, ColorSpace(..), Interpolator, brightness, complementary, contrast, cssStringHSLA, cssStringRGBA, darken, desaturate, distance, fromHexString, fromInt, graytone, hsl, hsla, hsv, hsva, isLight, isReadable, lab, lch, lighten, luminance, mix, mixCubehelix, rgb, rgb', rgba, rgba', rotateHue, saturate, toGray, toHSLA, toHSVA, toHexString, toLCh, toLab, toRGBA, toRGBA', toXYZ, xyz) -import Yoga.Block.Internal.OptionalProp (Id, OptionalProp(..), appendIfDefined, getOr, getOrFlipped, ifTrue, isTruthy, maybeToOp, opToMaybe, unsafeUnOptional, (<>?), (?||)) +import Yoga.Block.Container.Style (col, colour, colourWithAlpha, colourWithDarkLightAlpha, size, sizeStyle) import Yoga.Block.Internal.CSS (_0, _100percent, nestDynamic, (~:), transparent) +import Yoga.Block.Internal.OptionalProp (Id, OptionalProp(..), appendIfDefined, getOr, getOrFlipped, ifTrue, isTruthy, maybeToOp, opToMaybe, unsafeUnOptional, (<>?), (?||)) +import Yoga.Prelude.Default (class Applicative, class Apply, class Bind, class BooleanAlgebra, class Bounded, class Category, class CommutativeRing, class Discard, class DivisionRing, class Eq, class EuclideanRing, class Field, class Functor, class HeytingAlgebra, class Monad, class Monoid, class Ord, class Ring, class Semigroup, class Semigroupoid, class Semiring, class Show, type (~>), Effect, Either(..), Maybe(..), MaybeT(..), Ordering(..), Unit, Void, absurd, add, ap, append, apply, between, bind, clamp, compare, comparing, compose, conj, const, degree, discard, disj, div, eq, flap, flip, fold, foldMap, foldMapWithIndex, for_, fromMaybe, fromMaybe', gcd, guard, hush, identity, ifM, intercalate, isJust, join, lcm, lift, liftA1, liftEffect, liftM1, map, mapWithIndex, max, maybe, mempty, min, mod, mul, negate, not, notEq, note, one, otherwise, pure, recip, runMaybeT, runMaybeT_, show, sub, traverse_, unit, unless, unlessM, void, when, whenM, zero, (#), ($), ($>), (&&), (*), (*>), (+), (-), (/), (/=), (<), (<#>), (<$), (<$>), (<*), (<*>), (<<<), (<=), (<=<), (<>), (<@>), (<|>), (=<<), (==), (>), (>=), (>=>), (>>=), (>>>), (||)) diff --git a/src/Yoga/Prelude/View.purs b/src/Yoga/Prelude/View.purs index af183b4..4b6e4fb 100644 --- a/src/Yoga/Prelude/View.purs +++ b/src/Yoga/Prelude/View.purs @@ -13,6 +13,7 @@ module Yoga.Prelude.View , module Data.Nullable , module Untagged.Castable , module Web.DOM.Element + , module Yoga.Prelude.View.HTML ) where import Yoga.Prelude.Default hiding (div) @@ -28,5 +29,7 @@ import Untagged.Castable (cast) import Web.DOM (Node) import Web.DOM.Element (DOMRect, getBoundingClientRect) import Web.HTML.HTMLElement (HTMLElement, blur, focus) -import Yoga ((/>), (), (), div, span, button) +import Yoga ((/>), (), (), div', span', button') import Yoga.Block.Internal (ButtonReadableProps, ButtonReadablePropsF, ButtonWritableProps, ButtonWritablePropsF, DivProps, DivPropsF, Id, InputReadableProps, InputReadablePropsF, InputWritableProps, InputWritablePropsF, NodeRef, OptionalProp(..), _0, appendIfDefined, asOptional, composeHandler, createRef, dangerous, deleteUndefineds, emotionButton, emotionDiv, emotionInput, forwardedRefAsMaybe, getBoundingBoxFromRef, getHTMLElementFromRef, getOffsetDimensionsFromRef, getOffsetHeightFromRef, getOffsetWidthFromRef, getOr, getOrFlipped, getScrollDimensionsFromRef, getScrollHeightFromRef, getScrollWidthFromRef, ifTrue, isTruthy, maybeToOp, mkForwardRefComponent, mkForwardRefComponentEffect, opToMaybe, setOrDelete, unsafeAddProps, unsafeDiv, unsafeEmotion, unsafeMergeSecond, unsafeUnMaybe, unsafeUnOptional, unsafeUnionDroppingUndefined, (<>?), (?||)) + +import Yoga.Prelude.View.HTML (div, div_, h1_, h2_, h3_, h4_, h5_, h6_, jsx, jsx_, li, li_, nav, nav_, p, p_, section, section_, span, span_, ul, ul_) diff --git a/src/Plumage/Util/HTML.purs b/src/Yoga/Prelude/View/HTML.purs similarity index 98% rename from src/Plumage/Util/HTML.purs rename to src/Yoga/Prelude/View/HTML.purs index 4d1bd2c..cb0e0e2 100644 --- a/src/Plumage/Util/HTML.purs +++ b/src/Yoga/Prelude/View/HTML.purs @@ -1,4 +1,4 @@ -module Plumage.Util.HTML where +module Yoga.Prelude.View.HTML where import React.Basic (JSX, ReactComponent) import React.Basic.DOM as R diff --git a/stories.dhall b/stories.dhall new file mode 100644 index 0000000..2dd3d2c --- /dev/null +++ b/stories.dhall @@ -0,0 +1,16 @@ +let conf = ./spago.dhall + +in conf + ⫽ { sources = conf.sources # [ "stories/**/*.purs" ] + , dependencies = + conf.dependencies + # [ "datetime" + , "strings" + , "react-basic-storybook" + , "web-html" + , "aff" + , "tailrec" + , "tuples" + , "yoga-json" + ] + } diff --git a/stories/Story/Yoga/Block/Atom/Button.purs b/stories/Story/Yoga/Block/Atom/Button.purs new file mode 100644 index 0000000..b299203 --- /dev/null +++ b/stories/Story/Yoga/Block/Atom/Button.purs @@ -0,0 +1,64 @@ +module Story.Yoga.Block.Atom.Button + ( default + , button + ) + -- (default, button, button2, test, customButton1, customButton2) + where + +import Prelude hiding (div) + +import Color as Color +import Data.Maybe (Maybe(..)) +import Effect (Effect) +import Fahrtwind (withAlpha) +import Fahrtwind as FW +import React.Basic (JSX, element) +import React.Basic.DOM as R +import React.Basic.Emotion as E +import React.Basic.Hooks (element) as React +import Storybook (Meta, Story, meta, metaDecorator, setControl, setRequired, setType, story) +import Storybook.Addon.Docs.Types (ArgTypeControl(..), enumArg, inferArgTypes) +import Untagged.Union (UndefinedOr, maybeToUor) +import Yoga.Block as Block +import Yoga.Block.Atom.Button.Types (ButtonShape, ButtonType) +import Yoga.Block.Atom.Button.Types as ButtonShape +import Yoga.Block.Atom.Button.Types as ButtonType +import Yoga.Block.Atom.Button.View as Button +import Yoga.Block.Container.Style as Styles + +type Props = + { children :: UndefinedOr String + , buttonType :: ButtonType + , buttonShape :: ButtonShape + , ripple :: UndefinedOr String + } + +default ∷ Meta Props +default = meta + { title: "Atom/Button" + , component: pure $ React.element Button.rawComponent + , tags: [ "docsPage" ] + , decorators: + [ metaDecorator \storyFn -> + R.div_ + [ element E.global { styles: Styles.global } + , storyFn + ] + ] + } + +button ∷ Story Props +button = story args argTypes + where + args = + { children: maybeToUor (Nothing :: _ String) + , buttonType: enumArg { "ButtonType": ButtonType.Generic } + , buttonShape: enumArg { "ButtonShape": ButtonShape.Pill } + , ripple: maybeToUor (Nothing :: _ String) + } + + argTypes = inferArgTypes args + # setType { children: "Array JSX" } + # setControl { ripple: ColorControl [ Color.white # withAlpha 0.2 ] } + # setRequired { buttonType: false } + # setRequired { buttonShape: false } diff --git a/stories/Story/Yoga/Block/Atom/Checkbox.purs b/stories/Story/Yoga/Block/Atom/Checkbox.purs new file mode 100644 index 0000000..a0c934d --- /dev/null +++ b/stories/Story/Yoga/Block/Atom/Checkbox.purs @@ -0,0 +1,83 @@ +module Story.Yoga.Block.Atom.Checkbox + ( default + , checkbox + , withLabel + ) + -- (default, button, button2, test, customButton1, customButton2) + where + +import Prelude hiding (div) + +import Data.Maybe (Maybe(..)) +import Effect (Effect) +import Fahrtwind (ignoreClicks, userSelectNone) +import Literals.Undefined (undefined) +import React.Basic (JSX, element, fragment) +import React.Basic.DOM as R +import React.Basic.Emotion as E +import React.Basic.Hooks (element) as React +import Storybook (Meta, Story, meta, metaDecorator, story) +import Storybook.Addon.Actions (action) +import Storybook.Addon.Docs.Types (LogAction(..), inferArgTypes) +import Untagged.Castable (cast) +import Untagged.Union (UndefinedOr) +import Yoga ((/>), ( Effect Unit + } + +default ∷ Meta Props +default = meta + { title: "Atom/Checkbox" + , component: pure $ React.element Checkbox.rawComponent + , tags: [ "docsPage" ] + , decorators: + [ metaDecorator \storyFn -> + R.div_ + [ element E.global { styles: Styles.global } + , storyFn + ] + ] + } + +checkbox ∷ Story Props +checkbox = story args argTypes + where + args = + { checked: cast undefined :: UndefinedOr Boolean + , id: "example" + , onChecked: LogAction \(x :: Boolean) -> "Checkbox is: " <> show x + } + + argTypes = inferArgTypes args + +-- # setType { children: "Array JSX" } +-- # setControl { ripple: ColorControl [ Color.white # withAlpha 0.2 ] } +-- # setRequired { buttonType: false } +-- # setRequired { buttonShape: false } + +withLabel :: Effect JSX +withLabel = do + pure $ Block.cluster { space: size.xl, justifyContent: JEvenly } + [ Block.stack { space: E.str size.m } (toLabelled <$> [ "a", "b", "c" ]) + , Block.stack { space: E.str size.m } (toReverseLabelled <$> [ "d", "e", "f" ]) + ] + where + toLabelled x = + Block.cluster { space: size.s } + [ R.label' [ R.text x ] + , Block.checkbox { id: x, onChecked: action ("clicked " <> show x) } + ] + toReverseLabelled x = + Block.cluster { space: size.s } + [ Block.checkbox { id: x, onChecked: action ("clicked " <> show x) } + , R.label' [ R.text x ] + ] diff --git a/stories/Story/Yoga/Block/Atom/Icon.purs b/stories/Story/Yoga/Block/Atom/Icon.purs new file mode 100644 index 0000000..0917de7 --- /dev/null +++ b/stories/Story/Yoga/Block/Atom/Icon.purs @@ -0,0 +1,53 @@ +module Story.Yoga.Block.Atom.Icon.Story where + +import Prelude + +import Effect (Effect) +import Effect.Unsafe (unsafePerformEffect) +import React.Basic (JSX, element, fragment) +import React.Basic as React +import React.Basic.DOM as R +import React.Basic.Emotion as E +import Storybook (Meta, meta, metaDecorator) +import Yoga (()) +import Yoga.Block.Atom.Icon as Icon +import Yoga.Block.Container.Style as Styles +import Yoga.Block.Icon.SVG as SVGIcon + +default ∷ Meta { | Icon.Props } +default = meta + { title: "Atom/Icon" + , component: (pure <<< React.element) Icon.component + , decorators: + [ metaDecorator \storyFn → + R.div_ + [ element E.global { styles: Styles.global } + , storyFn + ] + ] + } + +icon ∷ Effect JSX +icon = do + pure $ + R.div_ + [ R.h2_ [ R.text "Icon" ] + , icon SVGIcon.on + , icon SVGIcon.off + , icon SVGIcon.sun + , icon SVGIcon.moon + , icon SVGIcon.eyeClosed + , icon SVGIcon.eyeOpen + , icon SVGIcon.bin + , icon SVGIcon.cross + , icon SVGIcon.folder + , icon SVGIcon.key + , icon SVGIcon.magnifyingGlass + , icon SVGIcon.simpleKey + , icon SVGIcon.questionMark + , icon SVGIcon.plus + , icon SVGIcon.warn + ] + where + icon svg = Icon.component + { icon: svg, size: E.str "var(--s2)" } diff --git a/stories/Story/Yoga/Block/Atom/Image.purs b/stories/Story/Yoga/Block/Atom/Image.purs new file mode 100644 index 0000000..f206733 --- /dev/null +++ b/stories/Story/Yoga/Block/Atom/Image.purs @@ -0,0 +1,56 @@ +module Story.Yoga.Block.Atom.Image.Story where + +import Prelude + +import Effect (Effect) +import Effect.Unsafe (unsafePerformEffect) +import React.Basic (JSX, element, fragment) +import React.Basic as React +import React.Basic.DOM as R +import React.Basic.Emotion as E +import Record (merge) +import Storybook (Meta, meta, metaDecorator) +import Yoga (()) +import Yoga.Block.Atom.Image as Image +import Yoga.Block.Container.Style as Styles + +default ∷ Meta { | Image.Props } +default = meta + { title: "Atom/Image" + , component: (pure <<< React.element) Image.component + , decorators: + [ metaDecorator \storyFn → + R.div_ + [ element E.global { styles: Styles.global } + , storyFn + ] + ] + } + +image ∷ Effect JSX +image = do + pure $ + R.div_ + [ R.h2_ [ R.text "Image" ] + , Image.component + ( baseProps # merge + { sizes: + [ "(min-width: 2600px) 4160px" + , "(min-width: 2400px) 2400px" + , "(min-width: 640px) 640px" + , "100vw" + ] + } + ) + , Image.component (baseProps # merge { width: 200 }) + ] + where + baseProps = + { src: imgName 640 + , srcSet: widthImage <$> [ 320, 640, 2400, 4160 ] + + , alt: "An image of a yoga mat" + + } + imgName size = "/unsplash-mat-" <> show size <> ".jpg" + widthImage size = imgName size <> " " <> show size <> "w" diff --git a/stories/Story/Yoga/Block/Atom/Input.purs b/stories/Story/Yoga/Block/Atom/Input.purs new file mode 100644 index 0000000..5145c74 --- /dev/null +++ b/stories/Story/Yoga/Block/Atom/Input.purs @@ -0,0 +1,89 @@ +module Story.Yoga.Block.Atom.Input + ( default + , input + ) where + +import Prelude hiding (div) + +import Color (Color) +import Color as Color +import Data.Maybe (Maybe(..)) +import Data.String.NonEmpty (NonEmptyString) +import Data.String.NonEmpty as NES +import Fahrtwind (withAlpha) +import Foreign.Object (Object) +import Foreign.Object as Object +import Literals.Undefined (undefined) +import React.Basic (element) +import React.Basic as React +import React.Basic.DOM as R +import React.Basic.Emotion as E +import Storybook (Meta, Story, meta, metaDecorator, setControl, setType, story) +import Storybook.Addon.Docs.Types (ArgTypeControl(..), EnumArg, enumArg, inferArgTypes) +import Unsafe.Coerce (unsafeCoerce) +import Untagged.Union (UndefinedOr, maybeToUor, uorToMaybe) +import Yoga.Block.Atom.Input.Style (SizeVariant(..)) +import Yoga.Block.Atom.Input.View as Input +import Yoga.Block.Container.Style as Styles + +type Props = + { disabled ∷ Boolean + , forceSmallLabel ∷ Boolean + , label ∷ UndefinedOr NonEmptyString + , placeholder ∷ String + , value ∷ UndefinedOr String + , _aria :: Object String + , sizeVariant :: SizeVariant + , background ∷ UndefinedOr String + , textColour ∷ UndefinedOr String + , placeholderColour ∷ UndefinedOr String + , borderColour ∷ UndefinedOr String + , leading :: UndefinedOr String + , trailing :: UndefinedOr String + } + +default ∷ Meta Props +default = meta + { title: "Atom/Input" + , component: pure $ React.element Input.rawComponent + , tags: [ "docsPage" ] + , decorators: + [ metaDecorator \storyFn -> + R.div_ + [ element E.global { styles: Styles.global } + , storyFn + ] + ] + } + +baseArgs = + { disabled: false + , forceSmallLabel: false + , label: maybeToUor (Nothing :: _ String) + , placeholder: "Placeholder" + , value: maybeToUor (Nothing :: _ String) + , _aria: Object.singleton "required" "true" + , sizeVariant: enumArg { "SizeVariant": SizeTiny } + , background: maybeToUor (Nothing :: _ String) + , textColour: maybeToUor (Nothing :: _ String) + , placeholderColour: maybeToUor (Nothing :: _ String) + , borderColour: maybeToUor (Nothing :: _ String) + , leading: maybeToUor (Nothing :: _ String) + , trailing: maybeToUor (Nothing :: _ String) + } + +-- -- A normal input +input ∷ Story Props +input = story baseArgs argTypes + where + + argTypes = inferArgTypes baseArgs + # setType { label: "NonEmptyString" } + # setType { leading: "JSX" } + # setType { trailing: "JSX" } + # setControl { sizeVariant: RadioControl [ "SizeMedium", "SizeSmall", "SizeTiny" ] } + # setControl { textColour: ColorControl [ Color.white # withAlpha 0.2 ] } + # setControl { background: ColorControl [ Color.white # withAlpha 0.2 ] } + # setControl { placeholderColour: ColorControl [ Color.white # withAlpha 0.2 ] } + # setControl { borderColour: ColorControl [ Color.white # withAlpha 0.2 ] } + diff --git a/stories/Story/Yoga/Block/Atom/Range.purs b/stories/Story/Yoga/Block/Atom/Range.purs new file mode 100644 index 0000000..afb7346 --- /dev/null +++ b/stories/Story/Yoga/Block/Atom/Range.purs @@ -0,0 +1,53 @@ +module Story.Yoga.Block.Atom.Range where + +import Prelude +import Yoga.Block.Container.Style as Styles +import Yoga.Block.Atom.Range as Range +import Effect (Effect) +import Effect.Unsafe (unsafePerformEffect) +import React.Basic (JSX, element, fragment) +import React.Basic.DOM (css) +import React.Basic.DOM as R +import React.Basic.Emotion as E + +default ∷ + { decorators ∷ Array (Effect JSX → JSX) + , title ∷ String + } +default = + { title: "Atom/Range" + , decorators: + [ \storyFn → + R.div_ + [ element E.global { styles: Styles.global } + , unsafePerformEffect storyFn + ] + ] + } + +range ∷ Effect JSX +range = + pure + $ fragment + [ R.div_ + [ R.h2_ [ R.text "No Options" ] + , element Range.component + {} + , R.h2_ [ R.text "Min and max" ] + , element Range.component + { min: 2 + , max: 10 + } + , R.h2_ [ R.text "Controlled" ] + , element Range.component + { value: 88 + , style: css { width: "200px" } + } + , R.h2_ [ R.text "Disabled" ] + , element Range.component + { value: 88 + , style: css { width: "200px" } + , disabled: true + } + ] + ] diff --git a/stories/Story/Yoga/Block/Atom/Segmented.purs b/stories/Story/Yoga/Block/Atom/Segmented.purs new file mode 100644 index 0000000..bd358f3 --- /dev/null +++ b/stories/Story/Yoga/Block/Atom/Segmented.purs @@ -0,0 +1,51 @@ +module Story.Yoga.Block.Atom.Segmented where + +import Prelude +import Data.Tuple.Nested ((/\)) +import Data.TwoOrMore (twoOrMore) +import Effect (Effect) +import Effect.Unsafe (unsafePerformEffect) +import React.Basic (JSX, element) +import React.Basic.DOM as R +import React.Basic.Emotion as E +import React.Basic.Hooks (reactComponent, useState') +import React.Basic.Hooks as React +import Yoga.Block.Atom.Segmented as Segmented +import Yoga.Block.Container.Style as Styles + +default ∷ + { decorators ∷ Array (Effect JSX → JSX) + , title ∷ String + } +default = + { title: "Atom/Segmented" + , decorators: + [ \storyFn → + R.div_ + [ element E.global { styles: Styles.global } + , unsafePerformEffect storyFn + ] + ] + } + +segmented ∷ Effect JSX +segmented = do + demoComponent ← makeDemoComponent + pure $ element demoComponent {} + where + makeDemoComponent = + reactComponent "Segmented Demo" \{} → React.do + activeIndex /\ setElementIndex ← useState' 2 + pure + $ element Segmented.component + { activeIndex + , updateActiveItem: const setElementIndex + , buttonContents: + twoOrMore + { id: "gag", value: "2" } + { id: "nag", value: "1" } + [ { id: "two", value: "Another option" } + , { id: "four", value: "2" } + , { id: "one", value: "1" } + ] + } diff --git a/stories/Story/Yoga/Block/Atom/Select.purs b/stories/Story/Yoga/Block/Atom/Select.purs new file mode 100644 index 0000000..e991436 --- /dev/null +++ b/stories/Story/Yoga/Block/Atom/Select.purs @@ -0,0 +1,44 @@ +module Story.Yoga.Block.Atom.Select where + +import Prelude + +import Effect (Effect) +import Effect.Unsafe (unsafePerformEffect) +import React.Basic (JSX, element, fragment) +import React.Basic.DOM (css) +import React.Basic.DOM as R +import React.Basic.Emotion as E +import Storybook.Addon.Actions (action) +import Yoga.Block.Atom.Select as Select +import Yoga.Block.Container.Style as Styles + +default ∷ + { decorators ∷ Array (Effect JSX → JSX) + , title ∷ String + } +default = + { title: "Atom/Select" + , decorators: + [ \storyFn → + R.div_ + [ element E.global { styles: Styles.global } + , unsafePerformEffect storyFn + ] + ] + } + +select ∷ Effect JSX +select = + pure + $ fragment + [ R.div_ + [ R.h2_ [ R.text "Select" ] + , element Select.component + { choice: 1 + , choices: [ 1, 2, 3 ] + , onChange: action "changed" + , toString: show + , toValue: show + } + ] + ] diff --git a/stories/Story/Yoga/Block/Atom/Toggle.purs b/stories/Story/Yoga/Block/Atom/Toggle.purs new file mode 100644 index 0000000..81042f4 --- /dev/null +++ b/stories/Story/Yoga/Block/Atom/Toggle.purs @@ -0,0 +1,69 @@ +module Story.Yoga.Block.Atom.Toggle where + +import Prelude +import Color as Color +import Data.Maybe (Maybe(..)) +import Data.Tuple.Nested ((/\)) +import Effect (Effect) +import React.Basic (JSX, element, fragment) +import React.Basic.DOM as R +import React.Basic.Hooks as React +import Yoga ((/>), ( [ content ] diff --git a/stories/Story/Yoga/Block/Layout.purs b/stories/Story/Yoga/Block/Layout.purs new file mode 100644 index 0000000..e99359a --- /dev/null +++ b/stories/Story/Yoga/Block/Layout.purs @@ -0,0 +1,126 @@ +module Story.Yoga.Block.Atom.Layout + ( default + , layout + ) where + +import Yoga.Prelude.Style + +import Data.Tuple.Nested ((/\)) +import Effect.Unsafe (unsafePerformEffect) +import Fahrtwind as F +import Fahrtwind as FW +import React.Basic (JSX, element, fragment) +import React.Basic.DOM as R +import React.Basic.Emotion as E +import React.Basic.Hooks as React +import Storybook (Meta, meta, metaDecorator) +import Yoga (()) +import Yoga.Block as Block +import Yoga.Block.Atom.Button.Types (ButtonShape(..), ButtonType(..)) +import Yoga.Block.Container.Style as Styles +import Yoga.Block.Layout.Types (AlignItems(..), JustifyContent(..)) + +default ∷ Meta {} +default = meta + { title: "layout" + , component: mempty + , decorators: + [ metaDecorator \storyFn → + fragment + [ element E.global + { styles: Styles.global + <> css { "highlight-col": str "#ec0" } + } + , storyFn + ] + ] + } + +bg = FW.background' + +colBox co = Block.box { css: FW.roundedDefault <> bg co } + +mainContent = Block.stack + { space: sizeStyle.s + , css: FW.background' col.backgroundLayer1 + , splitAfter: 3 + } + [ colBox col.backgroundLayer1 + [ Block.cluster + { space: size.m + , rowSpace: size.s + , justifyContent: JEnd + , alignItems: ACenter + } + [ Block.button + { buttonType: Primary + } + [ R.text "Sign up" ] + , Block.button {} [ R.text "Sign in" ] + ] + ] + , Block.box_ + [ Block.grid { min: "150px" } + [ colBox col.backgroundLayer4 [ R.text "Child Row 2 2" ] + , colBox col.backgroundLayer4 [ R.text "Child Row 2 2" ] + , colBox col.backgroundLayer4 [ R.text "Child Row 2 2" ] + , colBox col.backgroundLayer4 [ R.text "Child Row 2 2" ] + ] + ] + , Block.box_ + [ Block.cluster { space: size.s, rowSpace: size.xs } + [ colBox col.backgroundLayer4 [ R.text "Child Row 2 1" ] + , colBox col.backgroundLayer4 [ R.text "Child Row 2 2" ] + , colBox col.backgroundLayer4 [ R.text "Child Row 2 2" ] + , colBox col.backgroundLayer4 [ R.text "Child Row 2 2" ] + , colBox col.backgroundLayer4 [ R.text "Child Row 2 2" ] + , colBox col.backgroundLayer4 [ R.text "Child Row 2 2" ] + ] + ] + , Block.box_ + [ Block.switcher { rowGap: "8px" } + [ colBox col.backgroundLayer4 [ R.text "Switch me up" ] + , colBox col.backgroundLayer4 [ R.text "Switch me too" ] + , colBox col.backgroundLayer4 [ R.text "Switchy" ] + ] + ] + ] + +leftSidebar = Block.sidebar + { sidebar: Block.stack + { space: sizeStyle.xxs + , splitAfter: 1 + } + [ Block.button + { buttonShape: Flat + , css: widthFull + , backgroundCol: col.backgroundLayer4 + , hoverBackgroundCol: col.backgroundLayer5 + , textCol: str (colour.text) + , ripple: colourWithAlpha.text 0.3 + } + [ Block.box + { css: textLeft <> widthFull + , padding: str "4px 0" + } + [ R.text "Sidebar First" ] + ] + , colBox col.backgroundLayer3 [ R.text "Sidebar Second" ] + ] + , space: "8px" + , sideWidth: size."3xl" + , css: heightFull + } + +layout ∷ Effect JSX +layout = pure $ layoutCompo {} + +layoutCompo = + unsafePerformEffect $ React.reactComponent "LayoutExample" \_ → React.do + modalVisible /\ setModalVisible ← React.useState false + pure $ Block.box + { css: heightFull + <> background' col.backgroundBright3 + } + [ leftSidebar [ mainContent ] + ] diff --git a/stories/Story/Yoga/Block/Molecule/Modal.purs b/stories/Story/Yoga/Block/Molecule/Modal.purs new file mode 100644 index 0000000..1c59c6b --- /dev/null +++ b/stories/Story/Yoga/Block/Molecule/Modal.purs @@ -0,0 +1,71 @@ +module Story.Yoga.Block.Molecule.Modal.Story (default, modal) where + +import Prelude + +import Data.Tuple.Nested ((/\)) +import Effect (Effect) +import Fahrtwind (background', mXY, roundedLg, textXl) +import React.Basic (JSX, element, fragment) +import React.Basic.DOM as R +import React.Basic.Emotion as E +import React.Basic.Events (handler_) +import React.Basic.Hooks (bind, component, element, useState') as React +import Storybook (Meta, meta, metaDecorator) +import Yoga ((/>), ()) +import Yoga.Block as Block +import Yoga.Block.Molecule.Modal as Modal +import Yoga.Block.Container.Style (col) +import Yoga.Block.Container.Style as Styles +import Yoga.Block.Icon.SVG as SVGIcon +import Yoga.Block.Layout.Types (JustifyContent(..)) + +default ∷ Meta Modal.Props +default = meta + { title: "Molecule/Modal" + , component: (pure <<< React.element) Modal.component + , decorators: + [ metaDecorator \storyFn → + fragment + [ element E.global { styles: Styles.global } + , storyFn + , Block.layer { id: "modals", zIndex: 10 } + , Block.layer { id: "clickaway", zIndex: 5 } + ] + ] + } + +modal ∷ Effect JSX +modal = (_ $ unit) <$> React.component "ModalExample" \_ → React.do + open /\ setOpen ← React.useState' true + pure $ + R.div_ + [ R.h2_ [ R.text "Modal" ] + , Block.button { onClick: handler_ (setOpen true) } + [ R.text "Open modal" ] + , Block.modal + { hide: setOpen false + , isVisible: open + , content: modalContent (setOpen false) + , allowClickAway: true + , clickAwayId: "clickaway" + , modalContainerId: "modals" + } + ] + where + modalContent dismiss = + Block.box { css: background' col.backgroundBright4 <> roundedLg } + [ Block.stack { splitAfter: 2 } + [ Block.cluster { space: "0", justifyContent: JBetween } + [ R.h2' mXY 0 } /> [ R.text "Skandal!" ] + , Block.icon { icon: SVGIcon.cross } + ] + , R.p_ + [ R.text "This is the content of the modal it has a lot of text" + , R.text "This is the content of the modal it has a lot of text" + , R.text "This is the content of the modal it has a lot of text" + , R.text "This is the content of the modal it has a lot of text" + ] + , Block.cluster { justifyContent: JEnd } + [ Block.button { onClick: handler_ dismiss } [ R.text "OK" ] ] + ] + ] diff --git a/stories/Story/Yoga/Block/Molecule/Typeahead.purs b/stories/Story/Yoga/Block/Molecule/Typeahead.purs new file mode 100644 index 0000000..351f07c --- /dev/null +++ b/stories/Story/Yoga/Block/Molecule/Typeahead.purs @@ -0,0 +1,90 @@ +module Story.Yoga.Block.Molecule.Typeahead + ( default + , typeahead + ) + -- (default, button, button2, test, customButton1, customButton2) + where + +import Prelude hiding (div) + +import Data.Array as Array +import Data.Maybe (Maybe(..)) +import Data.String as String +import Data.String.NonEmpty (nes) +import Effect (Effect) +import Fahrtwind as FW +import React.Basic (JSX, element) +import React.Basic.DOM as R +import React.Basic.Emotion as E +import React.Basic.Hooks (element) as React +import Storybook (Meta, meta, metaDecorator) +import Storybook.Addon.Actions (action) +import Type.Proxy (Proxy(..)) +import Yoga (()) +import Yoga.Block as Block +import Yoga.Block.Container.Style (sizeStyle) +import Yoga.Block.Container.Style as Styles +import Yoga.Block.Molecule.Typeahead.View (inputProps, mkTypeahead) +import Yoga.Block.Molecule.Typeahead.View as Typeahead + +default ∷ Meta (Typeahead.PropsOld String) +default = meta + { title: "Molecule/Typeahead" + , component: do + typeahead ← + Typeahead.mkDefaultArgs + { suggestionToText: identity + , contextMenuLayerId: "ctx-menu" + } # mkTypeahead + pure $ React.element typeahead + , tags: [ "docsPage" ] + , decorators: + [ metaDecorator \storyFn → + R.div_ + [ element E.global { styles: Styles.global } + , storyFn + , R.div' + { id: "ctx-menu" + , css: FW.positionFixed <> FW.widthFull <> FW.heightFull + <> FW.top 0 + <> FW.left 0 + <> FW.ignoreClicks + } + ] + ] + } + +typeahead ∷ Effect JSX +typeahead = do + ta ← + Typeahead.mkDefaultArgs + { suggestionToText: identity + , contextMenuLayerId: "ctx-menu" + } # mkTypeahead + pure $ React.element ta + { onSelected: \s → do + pure { overrideInputValue: Nothing, dismiss: true } + , onRemoved: action "Removed" + , renderSuggestion: \s → + Block.box + { padding: sizeStyle.s + , css: FW.textSm + } + [ R.text s ] + , loadSuggestions: \s → + pure $ pure $ Array.filter (String.contains (String.Pattern s)) + [ "aardvark" + , "about" + , "after" + , "among" + , "again" + , "above" + , "along" + , "alone" + ] + , onDismiss: action "dismissed" unit + , inputProps: inputProps + { placeholder: "Heinz..." + , label: nes (Proxy ∷ _ "Test Typeahead") + } + } diff --git a/yarn-error.log b/yarn-error.log new file mode 100644 index 0000000..06937f9 --- /dev/null +++ b/yarn-error.log @@ -0,0 +1,91 @@ +Arguments: + /opt/homebrew/Cellar/node@16/16.18.1/bin/node /opt/homebrew/bin/yarn + +PATH: + /Users/mark/.local/bin:/Users/mark/.cabal/bin:/nix/var/nix/profiles/default/bin:/opt/homebrew/opt/node@16/bin:/opt/homebrew/opt/openjdk/bin:/Users/mark/Downloads/clang+llvm-15.0.0-rc1-arm64-apple-darwin21.0/bin:/Users/mark/code/DownOnSpot:/Users/mark/.cargo/bin:/Users/mark/.local/bin:/opt/homebrew/sbin:/opt/homebrew/bin:/Users/mark/.yarn/bin:/Users/mark/.nix-profile/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Applications/Little Snitch.app/Contents/Components:/usr/local/MacGPG2/bin:/Users/mark/.ghcup/bin + +Yarn version: + 1.22.10 + +Node version: + 16.18.1 + +Platform: + darwin arm64 + +Trace: + Error: connect EBADF 140.82.121.3:443 + at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16) + +npm manifest: + { + "name": "ry-blocks", + "version": "1.0.0", + "description": "A design system for the Web, built in PureScript and React", + "main": "index.js", + "repository": "git@github.com:rowtype-yoga/ry-components.git", + "author": "Mark Eibes ", + "license": "MIT", + "devDependencies": { + "@babel/core": "^7.18.0", + "storybook": "^7.0.0-alpha.48", + "@storybook/addon-essentials": "^7.0.0-alpha.48", + "@storybook/addon-interactions": "^7.0.0-alpha.48", + "@storybook/react-webpack5": "^7.0.0-alpha.48", + "@storybook/testing-library": "^0.0.13", + "@testing-library/react": "^13.2.0", + "@testing-library/user-event": "^14.2.0", + "babel-loader": "^8.2.5", + "clean-webpack-plugin": "^4.0.0", + "compression-webpack-plugin": "^10.0.0", + "html-webpack-plugin": "^5.5.0", + "jsdom": "^19.0.0", + "jsdom-global": "^3.0.2", + "react-refresh": "^0.13.0", + "rimraf": "^3.0.2", + "source-map": "GerHobbelt/source-map#patch-8", + "source-map-loader": "^3.0.1", + "svg2psreact": "^2.1.0", + "webpack": "^5.72.1", + "webpack-cli": "^4.9.2", + "webpack-dev-server": "^4.9.0", + "webpack-merge": "^5.8.0" + }, + "scripts": { + "clean": "rimraf node_modules output dce-output .spago dist/* *.lock dist", + "build": "spago build", + "build:stories": "spago -x stories.dhall build", + "convert-svgs": "node convert-svgs.js", + "postinstall": "spago install", + "pretest": "yarn build", + "test": "spago test", + "prestart": "yarn build", + "start": "webpack-dev-server --open --config webpack.dev.js", + "bundle": "yarn bundle:build && yarn bundle:dce && yarn bundle:webpack", + "prestorybook": "yarn build:stories", + "storybook": "storybook dev -p 6006", + "prebuild-storybook": "yarn build", + "build-storybook": "storybook build" + }, + "dependencies": { + "@dnd-kit/core": "^6.0.1", + "@dnd-kit/modifiers": "^6.0.0", + "@dnd-kit/sortable": "^7.0.0", + "@dnd-kit/utilities": "^3.2.0", + "@emotion/react": "^11.9.0", + "@popperjs/core": "^2.11.5", + "downshift": "^6.1.7", + "framer-motion": "^6.3.3", + "react": "^18.1.0", + "react-dom": "^18.1.0", + "react-intersection-observer": "^9.1.0", + "react-popper": "^2.3.0", + "react-syntax-highlighter": "^15.5.0" + } + } + +yarn manifest: + No manifest + +Lockfile: + No lockfile diff --git a/yarn.lock b/yarn.lock index 4838945..964d29c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10,472 +10,414 @@ "@jridgewell/gen-mapping" "^0.1.0" "@jridgewell/trace-mapping" "^0.3.9" -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4", "@babel/code-frame@^7.16.7", "@babel/code-frame@^7.5.5", "@babel/code-frame@^7.8.3": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.16.7.tgz#44416b6bd7624b998f5b1af5d470856c40138789" - integrity sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg== +"@aw-web-design/x-default-browser@1.4.88": + version "1.4.88" + resolved "https://registry.yarnpkg.com/@aw-web-design/x-default-browser/-/x-default-browser-1.4.88.tgz#33d869cb2a537cd6d2a8369d4dc8ea4988d4be89" + integrity sha512-AkEmF0wcwYC2QkhK703Y83fxWARttIWXDmQN8+cof8FmFZ5BRhnNXGymeb1S73bOCLfWjYELxtujL56idCN/XA== dependencies: - "@babel/highlight" "^7.16.7" + default-browser-id "3.0.0" -"@babel/compat-data@^7.13.11", "@babel/compat-data@^7.17.10": - version "7.18.5" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.18.5.tgz#acac0c839e317038c73137fbb6ef71a1d6238471" - integrity sha512-BxhE40PVCBxVEJsSBhB6UWyAuqJRxGsAw8BdHMJ3AKGydcwuWW4kOO3HmqBQAdcq/OP+/DlTVxLvsCzRTnZuGg== - -"@babel/core@7.12.9": - version "7.12.9" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.12.9.tgz#fd450c4ec10cdbb980e2928b7aa7a28484593fc8" - integrity sha512-gTXYh3M5wb7FRXQy+FErKFAv90BnlOuNn1QkCK2lREoPAjrQCO49+HVSrFoe5uakFAF5eenS75KbO2vQiLrTMQ== +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4", "@babel/code-frame@^7.16.7", "@babel/code-frame@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.18.6.tgz#3b25d38c89600baa2dcc219edfa88a74eb2c427a" + integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== dependencies: - "@babel/code-frame" "^7.10.4" - "@babel/generator" "^7.12.5" - "@babel/helper-module-transforms" "^7.12.1" - "@babel/helpers" "^7.12.5" - "@babel/parser" "^7.12.7" - "@babel/template" "^7.12.7" - "@babel/traverse" "^7.12.9" - "@babel/types" "^7.12.7" - convert-source-map "^1.7.0" - debug "^4.1.0" - gensync "^1.0.0-beta.1" - json5 "^2.1.2" - lodash "^4.17.19" - resolve "^1.3.2" - semver "^5.4.1" - source-map "^0.5.0" + "@babel/highlight" "^7.18.6" -"@babel/core@^7.12.10", "@babel/core@^7.18.0", "@babel/core@^7.7.5": - version "7.18.5" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.18.5.tgz#c597fa680e58d571c28dda9827669c78cdd7f000" - integrity sha512-MGY8vg3DxMnctw0LdvSEojOsumc70g0t18gNyUdAZqB1Rpd1Bqo/svHGvt+UJ6JcGX+DIekGFDxxIWofBxLCnQ== +"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.20.0", "@babel/compat-data@^7.20.1": + version "7.20.1" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.20.1.tgz#f2e6ef7790d8c8dbf03d379502dcc246dcce0b30" + integrity sha512-EWZ4mE2diW3QALKvDMiXnbZpRvlj+nayZ112nK93SnhqOtpdsbVD4W+2tEoT3YNBAG9RBR0ISY758ZkOgsn6pQ== + +"@babel/core@^7.11.6", "@babel/core@^7.12.10", "@babel/core@^7.12.3", "@babel/core@^7.13.16", "@babel/core@^7.18.0", "@babel/core@^7.7.5": + version "7.20.2" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.20.2.tgz#8dc9b1620a673f92d3624bd926dc49a52cf25b92" + integrity sha512-w7DbG8DtMrJcFOi4VrLm+8QM4az8Mo+PuLBKLp2zrYRCow8W/f9xiXm5sN53C8HksCyDQwCKha9JiDoIyPjT2g== dependencies: "@ampproject/remapping" "^2.1.0" - "@babel/code-frame" "^7.16.7" - "@babel/generator" "^7.18.2" - "@babel/helper-compilation-targets" "^7.18.2" - "@babel/helper-module-transforms" "^7.18.0" - "@babel/helpers" "^7.18.2" - "@babel/parser" "^7.18.5" - "@babel/template" "^7.16.7" - "@babel/traverse" "^7.18.5" - "@babel/types" "^7.18.4" + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.20.2" + "@babel/helper-compilation-targets" "^7.20.0" + "@babel/helper-module-transforms" "^7.20.2" + "@babel/helpers" "^7.20.1" + "@babel/parser" "^7.20.2" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.20.1" + "@babel/types" "^7.20.2" convert-source-map "^1.7.0" debug "^4.1.0" gensync "^1.0.0-beta.2" json5 "^2.2.1" semver "^6.3.0" -"@babel/generator@^7.12.11", "@babel/generator@^7.12.5", "@babel/generator@^7.18.2": - version "7.18.2" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.18.2.tgz#33873d6f89b21efe2da63fe554460f3df1c5880d" - integrity sha512-W1lG5vUwFvfMd8HVXqdfbuG7RuaSrTCCD8cl8fP8wOivdbtbIg2Db3IWUcgvfxKbbn6ZBGYRW/Zk1MIwK49mgw== +"@babel/generator@^7.12.11", "@babel/generator@^7.20.1", "@babel/generator@^7.20.2": + version "7.20.4" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.20.4.tgz#4d9f8f0c30be75fd90a0562099a26e5839602ab8" + integrity sha512-luCf7yk/cm7yab6CAW1aiFnmEfBJplb/JojV56MYEK7ziWfGmFlTfmL9Ehwfy4gFhbjBfWO1wj7/TuSbVNEEtA== dependencies: - "@babel/types" "^7.18.2" - "@jridgewell/gen-mapping" "^0.3.0" + "@babel/types" "^7.20.2" + "@jridgewell/gen-mapping" "^0.3.2" jsesc "^2.5.1" -"@babel/helper-annotate-as-pure@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.16.7.tgz#bb2339a7534a9c128e3102024c60760a3a7f3862" - integrity sha512-s6t2w/IPQVTAET1HitoowRGXooX8mCgtuP5195wD/QJPV6wYjpujCGF7JuMODVX2ZAJOf1GT6DT9MHEZvLOFSw== +"@babel/helper-annotate-as-pure@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz#eaa49f6f80d5a33f9a5dd2276e6d6e451be0a6bb" + integrity sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA== dependencies: - "@babel/types" "^7.16.7" + "@babel/types" "^7.18.6" -"@babel/helper-builder-binary-assignment-operator-visitor@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.16.7.tgz#38d138561ea207f0f69eb1626a418e4f7e6a580b" - integrity sha512-C6FdbRaxYjwVu/geKW4ZeQ0Q31AftgRcdSnZ5/jsH6BzCJbtvXvhpfkbkThYSuutZA7nCXpPR6AD9zd1dprMkA== +"@babel/helper-builder-binary-assignment-operator-visitor@^7.18.6": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.18.9.tgz#acd4edfd7a566d1d51ea975dff38fd52906981bb" + integrity sha512-yFQ0YCHoIqarl8BCRwBL8ulYUaZpz3bNsA7oFepAzee+8/+ImtADXNOmO5vJvsPff3qi+hvpkY/NYBTrBQgdNw== dependencies: - "@babel/helper-explode-assignable-expression" "^7.16.7" - "@babel/types" "^7.16.7" + "@babel/helper-explode-assignable-expression" "^7.18.6" + "@babel/types" "^7.18.9" -"@babel/helper-compilation-targets@^7.13.0", "@babel/helper-compilation-targets@^7.16.7", "@babel/helper-compilation-targets@^7.17.10", "@babel/helper-compilation-targets@^7.18.2": - version "7.18.2" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.18.2.tgz#67a85a10cbd5fc7f1457fec2e7f45441dc6c754b" - integrity sha512-s1jnPotJS9uQnzFtiZVBUxe67CuBa679oWFHpxYYnTpRL/1ffhyX44R9uYiXoa/pLXcY9H2moJta0iaanlk/rQ== +"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.9", "@babel/helper-compilation-targets@^7.20.0": + version "7.20.0" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.0.tgz#6bf5374d424e1b3922822f1d9bdaa43b1a139d0a" + integrity sha512-0jp//vDGp9e8hZzBc6N/KwA5ZK3Wsm/pfm4CrY7vzegkVxc65SgSn6wYOnwHe9Js9HRQ1YTCKLGPzDtaS3RoLQ== dependencies: - "@babel/compat-data" "^7.17.10" - "@babel/helper-validator-option" "^7.16.7" - browserslist "^4.20.2" + "@babel/compat-data" "^7.20.0" + "@babel/helper-validator-option" "^7.18.6" + browserslist "^4.21.3" semver "^6.3.0" -"@babel/helper-create-class-features-plugin@^7.17.12", "@babel/helper-create-class-features-plugin@^7.18.0": - version "7.18.0" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.18.0.tgz#fac430912606331cb075ea8d82f9a4c145a4da19" - integrity sha512-Kh8zTGR9de3J63e5nS0rQUdRs/kbtwoeQQ0sriS0lItjC96u8XXZN6lKpuyWd2coKSU13py/y+LTmThLuVX0Pg== +"@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.20.2": + version "7.20.2" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.20.2.tgz#3c08a5b5417c7f07b5cf3dfb6dc79cbec682e8c2" + integrity sha512-k22GoYRAHPYr9I+Gvy2ZQlAe5mGy8BqWst2wRt8cwIufWTxrsVshhIBvYNqC80N0GSFWTsqRVexOtfzlgOEDvA== dependencies: - "@babel/helper-annotate-as-pure" "^7.16.7" - "@babel/helper-environment-visitor" "^7.16.7" - "@babel/helper-function-name" "^7.17.9" - "@babel/helper-member-expression-to-functions" "^7.17.7" - "@babel/helper-optimise-call-expression" "^7.16.7" - "@babel/helper-replace-supers" "^7.16.7" - "@babel/helper-split-export-declaration" "^7.16.7" + "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" + "@babel/helper-member-expression-to-functions" "^7.18.9" + "@babel/helper-optimise-call-expression" "^7.18.6" + "@babel/helper-replace-supers" "^7.19.1" + "@babel/helper-split-export-declaration" "^7.18.6" -"@babel/helper-create-regexp-features-plugin@^7.16.7", "@babel/helper-create-regexp-features-plugin@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.17.12.tgz#bb37ca467f9694bbe55b884ae7a5cc1e0084e4fd" - integrity sha512-b2aZrV4zvutr9AIa6/gA3wsZKRwTKYoDxYiFKcESS3Ug2GTXzwBEvMuuFLhCQpEnRXs1zng4ISAXSUxxKBIcxw== +"@babel/helper-create-regexp-features-plugin@^7.18.6", "@babel/helper-create-regexp-features-plugin@^7.19.0": + version "7.19.0" + resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.19.0.tgz#7976aca61c0984202baca73d84e2337a5424a41b" + integrity sha512-htnV+mHX32DF81amCDrwIDr8nrp1PTm+3wfBN9/v8QJOLEioOCOG7qNyq0nHeFiWbT3Eb7gsPwEmV64UCQ1jzw== dependencies: - "@babel/helper-annotate-as-pure" "^7.16.7" - regexpu-core "^5.0.1" + "@babel/helper-annotate-as-pure" "^7.18.6" + regexpu-core "^5.1.0" -"@babel/helper-define-polyfill-provider@^0.1.5": - version "0.1.5" - resolved "https://registry.yarnpkg.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.1.5.tgz#3c2f91b7971b9fc11fe779c945c014065dea340e" - integrity sha512-nXuzCSwlJ/WKr8qxzW816gwyT6VZgiJG17zR40fou70yfAcqjoNyTLl/DQ+FExw5Hx5KNqshmN8Ldl/r2N7cTg== +"@babel/helper-define-polyfill-provider@^0.3.3": + version "0.3.3" + resolved "https://registry.yarnpkg.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.3.tgz#8612e55be5d51f0cd1f36b4a5a83924e89884b7a" + integrity sha512-z5aQKU4IzbqCC1XH0nAqfsFLMVSo22SBKUc0BxGrLkolTdPTructy0ToNnlO2zA4j9Q/7pjMZf0DSY+DSTYzww== dependencies: - "@babel/helper-compilation-targets" "^7.13.0" - "@babel/helper-module-imports" "^7.12.13" - "@babel/helper-plugin-utils" "^7.13.0" - "@babel/traverse" "^7.13.0" + "@babel/helper-compilation-targets" "^7.17.7" + "@babel/helper-plugin-utils" "^7.16.7" debug "^4.1.1" lodash.debounce "^4.0.8" resolve "^1.14.2" semver "^6.1.2" -"@babel/helper-define-polyfill-provider@^0.3.1": - version "0.3.1" - resolved "https://registry.yarnpkg.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.1.tgz#52411b445bdb2e676869e5a74960d2d3826d2665" - integrity sha512-J9hGMpJQmtWmj46B3kBHmL38UhJGhYX7eqkcq+2gsstyYt341HmPeWspihX43yVRA0mS+8GGk2Gckc7bY/HCmA== +"@babel/helper-environment-visitor@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz#0c0cee9b35d2ca190478756865bb3528422f51be" + integrity sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg== + +"@babel/helper-explode-assignable-expression@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.18.6.tgz#41f8228ef0a6f1a036b8dfdfec7ce94f9a6bc096" + integrity sha512-eyAYAsQmB80jNfg4baAtLeWAQHfHFiR483rzFK+BhETlGZaQC9bsfrugfXDCbRHLQbIA7U5NxhhOxN7p/dWIcg== dependencies: - "@babel/helper-compilation-targets" "^7.13.0" - "@babel/helper-module-imports" "^7.12.13" - "@babel/helper-plugin-utils" "^7.13.0" - "@babel/traverse" "^7.13.0" - debug "^4.1.1" - lodash.debounce "^4.0.8" - resolve "^1.14.2" - semver "^6.1.2" + "@babel/types" "^7.18.6" -"@babel/helper-environment-visitor@^7.16.7", "@babel/helper-environment-visitor@^7.18.2": - version "7.18.2" - resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.2.tgz#8a6d2dedb53f6bf248e31b4baf38739ee4a637bd" - integrity sha512-14GQKWkX9oJzPiQQ7/J36FTXcD4kSp8egKjO9nINlSKiHITRA9q/R74qu8S9xlc/b/yjsJItQUeeh3xnGN0voQ== - -"@babel/helper-explode-assignable-expression@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.16.7.tgz#12a6d8522fdd834f194e868af6354e8650242b7a" - integrity sha512-KyUenhWMC8VrxzkGP0Jizjo4/Zx+1nNZhgocs+gLzyZyB8SHidhoq9KK/8Ato4anhwsivfkBLftky7gvzbZMtQ== +"@babel/helper-function-name@^7.18.9", "@babel/helper-function-name@^7.19.0": + version "7.19.0" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz#941574ed5390682e872e52d3f38ce9d1bef4648c" + integrity sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w== dependencies: - "@babel/types" "^7.16.7" + "@babel/template" "^7.18.10" + "@babel/types" "^7.19.0" -"@babel/helper-function-name@^7.16.7", "@babel/helper-function-name@^7.17.9": - version "7.17.9" - resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz#136fcd54bc1da82fcb47565cf16fd8e444b1ff12" - integrity sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg== +"@babel/helper-hoist-variables@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz#d4d2c8fb4baeaa5c68b99cc8245c56554f926678" + integrity sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q== dependencies: - "@babel/template" "^7.16.7" - "@babel/types" "^7.17.0" + "@babel/types" "^7.18.6" -"@babel/helper-hoist-variables@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz#86bcb19a77a509c7b77d0e22323ef588fa58c246" - integrity sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg== +"@babel/helper-member-expression-to-functions@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.18.9.tgz#1531661e8375af843ad37ac692c132841e2fd815" + integrity sha512-RxifAh2ZoVU67PyKIO4AMi1wTenGfMR/O/ae0CCRqwgBAt5v7xjdtRw7UoSbsreKrQn5t7r89eruK/9JjYHuDg== dependencies: - "@babel/types" "^7.16.7" + "@babel/types" "^7.18.9" -"@babel/helper-member-expression-to-functions@^7.17.7": - version "7.17.7" - resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.17.7.tgz#a34013b57d8542a8c4ff8ba3f747c02452a4d8c4" - integrity sha512-thxXgnQ8qQ11W2wVUObIqDL4p148VMxkt5T/qpN5k2fboRyzFGFmKsTGViquyM5QHKUy48OZoca8kw4ajaDPyw== +"@babel/helper-module-imports@^7.16.7", "@babel/helper-module-imports@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz#1e3ebdbbd08aad1437b428c50204db13c5a3ca6e" + integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== dependencies: - "@babel/types" "^7.17.0" + "@babel/types" "^7.18.6" -"@babel/helper-module-imports@^7.12.13", "@babel/helper-module-imports@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz#25612a8091a999704461c8a222d0efec5d091437" - integrity sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg== +"@babel/helper-module-transforms@^7.18.6", "@babel/helper-module-transforms@^7.19.6", "@babel/helper-module-transforms@^7.20.2": + version "7.20.2" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.20.2.tgz#ac53da669501edd37e658602a21ba14c08748712" + integrity sha512-zvBKyJXRbmK07XhMuujYoJ48B5yvvmM6+wcpv6Ivj4Yg6qO7NOZOSnvZN9CRl1zz1Z4cKf8YejmCMh8clOoOeA== dependencies: - "@babel/types" "^7.16.7" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-module-imports" "^7.18.6" + "@babel/helper-simple-access" "^7.20.2" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/helper-validator-identifier" "^7.19.1" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.20.1" + "@babel/types" "^7.20.2" -"@babel/helper-module-transforms@^7.12.1", "@babel/helper-module-transforms@^7.18.0": - version "7.18.0" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.18.0.tgz#baf05dec7a5875fb9235bd34ca18bad4e21221cd" - integrity sha512-kclUYSUBIjlvnzN2++K9f2qzYKFgjmnmjwL4zlmU5f8ZtzgWe8s0rUPSTGy2HmK4P8T52MQsS+HTQAgZd3dMEA== +"@babel/helper-optimise-call-expression@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.18.6.tgz#9369aa943ee7da47edab2cb4e838acf09d290ffe" + integrity sha512-HP59oD9/fEHQkdcbgFCnbmgH5vIQTJbxh2yf+CdM89/glUNnuzr87Q8GIjGEnOktTROemO0Pe0iPAYbqZuOUiA== dependencies: - "@babel/helper-environment-visitor" "^7.16.7" - "@babel/helper-module-imports" "^7.16.7" - "@babel/helper-simple-access" "^7.17.7" - "@babel/helper-split-export-declaration" "^7.16.7" - "@babel/helper-validator-identifier" "^7.16.7" - "@babel/template" "^7.16.7" - "@babel/traverse" "^7.18.0" - "@babel/types" "^7.18.0" + "@babel/types" "^7.18.6" -"@babel/helper-optimise-call-expression@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.16.7.tgz#a34e3560605abbd31a18546bd2aad3e6d9a174f2" - integrity sha512-EtgBhg7rd/JcnpZFXpBy0ze1YRfdm7BnBX4uKMBd3ixa3RGAE002JZB66FJyNH7g0F38U05pXmA5P8cBh7z+1w== +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.16.7", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.18.9", "@babel/helper-plugin-utils@^7.19.0", "@babel/helper-plugin-utils@^7.20.2", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": + version "7.20.2" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz#d1b9000752b18d0877cff85a5c376ce5c3121629" + integrity sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ== + +"@babel/helper-remap-async-to-generator@^7.18.6", "@babel/helper-remap-async-to-generator@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.18.9.tgz#997458a0e3357080e54e1d79ec347f8a8cd28519" + integrity sha512-dI7q50YKd8BAv3VEfgg7PS7yD3Rtbi2J1XMXaalXO0W0164hYLnh8zpjRS0mte9MfVp/tltvr/cfdXPvJr1opA== dependencies: - "@babel/types" "^7.16.7" + "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-wrap-function" "^7.18.9" + "@babel/types" "^7.18.9" -"@babel/helper-plugin-utils@7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.4.tgz#2f75a831269d4f677de49986dff59927533cf375" - integrity sha512-O4KCvQA6lLiMU9l2eawBPMf1xPP8xPfB3iEQw150hOVTqj/rfXz0ThTb4HEzqQfs2Bmo5Ay8BzxfzVtBrr9dVg== - -"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.13.0", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.16.7", "@babel/helper-plugin-utils@^7.17.12", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.17.12.tgz#86c2347da5acbf5583ba0a10aed4c9bf9da9cf96" - integrity sha512-JDkf04mqtN3y4iAbO1hv9U2ARpPyPL1zqyWs/2WG1pgSq9llHFjStX5jdxb84himgJm+8Ng+x0oiWF/nw/XQKA== - -"@babel/helper-remap-async-to-generator@^7.16.8": - version "7.16.8" - resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.16.8.tgz#29ffaade68a367e2ed09c90901986918d25e57e3" - integrity sha512-fm0gH7Flb8H51LqJHy3HJ3wnE1+qtYR2A99K06ahwrawLdOFsCEWjZOrYricXJHoPSudNKxrMBUPEIPxiIIvBw== +"@babel/helper-replace-supers@^7.18.6", "@babel/helper-replace-supers@^7.19.1": + version "7.19.1" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.19.1.tgz#e1592a9b4b368aa6bdb8784a711e0bcbf0612b78" + integrity sha512-T7ahH7wV0Hfs46SFh5Jz3s0B6+o8g3c+7TMxu7xKfmHikg7EAZ3I2Qk9LFhjxXq8sL7UkP5JflezNwoZa8WvWw== dependencies: - "@babel/helper-annotate-as-pure" "^7.16.7" - "@babel/helper-wrap-function" "^7.16.8" - "@babel/types" "^7.16.8" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-member-expression-to-functions" "^7.18.9" + "@babel/helper-optimise-call-expression" "^7.18.6" + "@babel/traverse" "^7.19.1" + "@babel/types" "^7.19.0" -"@babel/helper-replace-supers@^7.16.7", "@babel/helper-replace-supers@^7.18.2": - version "7.18.2" - resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.18.2.tgz#41fdfcc9abaf900e18ba6e5931816d9062a7b2e0" - integrity sha512-XzAIyxx+vFnrOxiQrToSUOzUOn0e1J2Li40ntddek1Y69AXUTXoDJ40/D5RdjFu7s7qHiaeoTiempZcbuVXh2Q== +"@babel/helper-simple-access@^7.19.4", "@babel/helper-simple-access@^7.20.2": + version "7.20.2" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.20.2.tgz#0ab452687fe0c2cfb1e2b9e0015de07fc2d62dd9" + integrity sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA== dependencies: - "@babel/helper-environment-visitor" "^7.18.2" - "@babel/helper-member-expression-to-functions" "^7.17.7" - "@babel/helper-optimise-call-expression" "^7.16.7" - "@babel/traverse" "^7.18.2" - "@babel/types" "^7.18.2" + "@babel/types" "^7.20.2" -"@babel/helper-simple-access@^7.17.7", "@babel/helper-simple-access@^7.18.2": - version "7.18.2" - resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.18.2.tgz#4dc473c2169ac3a1c9f4a51cfcd091d1c36fcff9" - integrity sha512-7LIrjYzndorDY88MycupkpQLKS1AFfsVRm2k/9PtKScSy5tZq0McZTj+DiMRynboZfIqOKvo03pmhTaUgiD6fQ== +"@babel/helper-skip-transparent-expression-wrappers@^7.18.9": + version "7.20.0" + resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.20.0.tgz#fbe4c52f60518cab8140d77101f0e63a8a230684" + integrity sha512-5y1JYeNKfvnT8sZcK9DVRtpTbGiomYIHviSP3OQWmDPU3DeH4a1ZlT/N2lyQ5P8egjcRaT/Y9aNqUxK0WsnIIg== dependencies: - "@babel/types" "^7.18.2" + "@babel/types" "^7.20.0" -"@babel/helper-skip-transparent-expression-wrappers@^7.16.0": - version "7.16.0" - resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.16.0.tgz#0ee3388070147c3ae051e487eca3ebb0e2e8bb09" - integrity sha512-+il1gTy0oHwUsBQZyJvukbB4vPMdcYBrFHa0Uc4AizLxbq6BOYC51Rv4tWocX9BLBDLZ4kc6qUFpQ6HRgL+3zw== +"@babel/helper-split-export-declaration@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz#7367949bc75b20c6d5a5d4a97bba2824ae8ef075" + integrity sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA== dependencies: - "@babel/types" "^7.16.0" + "@babel/types" "^7.18.6" -"@babel/helper-split-export-declaration@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz#0b648c0c42da9d3920d85ad585f2778620b8726b" - integrity sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw== +"@babel/helper-string-parser@^7.19.4": + version "7.19.4" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" + integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== + +"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": + version "7.19.1" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" + integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== + +"@babel/helper-validator-option@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz#bf0d2b5a509b1f336099e4ff36e1a63aa5db4db8" + integrity sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw== + +"@babel/helper-wrap-function@^7.18.9": + version "7.19.0" + resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.19.0.tgz#89f18335cff1152373222f76a4b37799636ae8b1" + integrity sha512-txX8aN8CZyYGTwcLhlk87KRqncAzhh5TpQamZUa0/u3an36NtDpUP6bQgBCBcLeBs09R/OwQu3OjK0k/HwfNDg== dependencies: - "@babel/types" "^7.16.7" + "@babel/helper-function-name" "^7.19.0" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.19.0" + "@babel/types" "^7.19.0" -"@babel/helper-validator-identifier@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz#e8c602438c4a8195751243da9031d1607d247cad" - integrity sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw== - -"@babel/helper-validator-option@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz#b203ce62ce5fe153899b617c08957de860de4d23" - integrity sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ== - -"@babel/helper-wrap-function@^7.16.8": - version "7.16.8" - resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.16.8.tgz#58afda087c4cd235de92f7ceedebca2c41274200" - integrity sha512-8RpyRVIAW1RcDDGTA+GpPAwV22wXCfKOoM9bet6TLkGIFTkRQSkH1nMQ5Yet4MpoXe1ZwHPVtNasc2w0uZMqnw== +"@babel/helpers@^7.20.1": + version "7.20.1" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.20.1.tgz#2ab7a0fcb0a03b5bf76629196ed63c2d7311f4c9" + integrity sha512-J77mUVaDTUJFZ5BpP6mMn6OIl3rEWymk2ZxDBQJUG3P+PbmyMcF3bYWvz0ma69Af1oobDqT/iAsvzhB58xhQUg== dependencies: - "@babel/helper-function-name" "^7.16.7" - "@babel/template" "^7.16.7" - "@babel/traverse" "^7.16.8" - "@babel/types" "^7.16.8" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.20.1" + "@babel/types" "^7.20.0" -"@babel/helpers@^7.12.5", "@babel/helpers@^7.18.2": - version "7.18.2" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.18.2.tgz#970d74f0deadc3f5a938bfa250738eb4ac889384" - integrity sha512-j+d+u5xT5utcQSzrh9p+PaJX94h++KN+ng9b9WEJq7pkUPAd61FGqhjuUEdfknb3E/uDBb7ruwEeKkIxNJPIrg== +"@babel/highlight@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" + integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== dependencies: - "@babel/template" "^7.16.7" - "@babel/traverse" "^7.18.2" - "@babel/types" "^7.18.2" - -"@babel/highlight@^7.16.7": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.17.12.tgz#257de56ee5afbd20451ac0a75686b6b404257351" - integrity sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg== - dependencies: - "@babel/helper-validator-identifier" "^7.16.7" + "@babel/helper-validator-identifier" "^7.18.6" chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/parser@^7.12.11", "@babel/parser@^7.12.7", "@babel/parser@^7.16.7", "@babel/parser@^7.18.5": - version "7.18.5" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.18.5.tgz#337062363436a893a2d22faa60be5bb37091c83c" - integrity sha512-YZWVaglMiplo7v8f1oMQ5ZPQr0vn7HPeZXxXWsxXJRjGVrzUFn9OxFQl1sb5wzfootjA/yChhW84BV+383FSOw== +"@babel/parser@^7.1.0", "@babel/parser@^7.13.16", "@babel/parser@^7.14.7", "@babel/parser@^7.18.10", "@babel/parser@^7.20.1", "@babel/parser@^7.20.2": + version "7.20.3" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.20.3.tgz#5358cf62e380cf69efcb87a7bb922ff88bfac6e2" + integrity sha512-OP/s5a94frIPXwjzEcv5S/tpQfc6XhxYUnmWpgdqMWGgYCuErA3SzozaRAMQgSZWKeTJxht9aWAkUY+0UzvOFg== -"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.17.12.tgz#1dca338caaefca368639c9ffb095afbd4d420b1e" - integrity sha512-xCJQXl4EeQ3J9C4yOmpTrtVGmzpm2iSzyxbkZHw7UCnZBftHpF/hpII80uWVyVrc40ytIClHjgWGTG1g/yB+aw== +"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6.tgz#da5b8f9a580acdfbe53494dba45ea389fb09a4d2" + integrity sha512-Dgxsyg54Fx1d4Nge8UnvTrED63vrwOdPmyvPzlNN/boaliRP54pm3pGzZD1SJUwrBA+Cs/xdG8kXX6Mn/RfISQ== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.17.12.tgz#0d498ec8f0374b1e2eb54b9cb2c4c78714c77753" - integrity sha512-/vt0hpIw0x4b6BLKUkwlvEoiGZYYLNZ96CzyHYPbtG2jZGz6LBe7/V+drYrc/d+ovrF9NBi0pmtvmNb/FsWtRQ== +"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.18.9.tgz#a11af19aa373d68d561f08e0a57242350ed0ec50" + integrity sha512-AHrP9jadvH7qlOj6PINbgSuphjQUAK7AOT7DPjBo9EHoLhQTnnK5u45e1Hd4DbSQEO9nqPWtQ89r+XEOWFScKg== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" - "@babel/helper-skip-transparent-expression-wrappers" "^7.16.0" - "@babel/plugin-proposal-optional-chaining" "^7.17.12" + "@babel/helper-plugin-utils" "^7.18.9" + "@babel/helper-skip-transparent-expression-wrappers" "^7.18.9" + "@babel/plugin-proposal-optional-chaining" "^7.18.9" -"@babel/plugin-proposal-async-generator-functions@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.17.12.tgz#094a417e31ce7e692d84bab06c8e2a607cbeef03" - integrity sha512-RWVvqD1ooLKP6IqWTA5GyFVX2isGEgC5iFxKzfYOIy/QEFdxYyCybBDtIGjipHpb9bDWHzcqGqFakf+mVmBTdQ== +"@babel/plugin-proposal-async-generator-functions@^7.20.1": + version "7.20.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.20.1.tgz#352f02baa5d69f4e7529bdac39aaa02d41146af9" + integrity sha512-Gh5rchzSwE4kC+o/6T8waD0WHEQIsDmjltY8WnWRXHUdH8axZhuH86Ov9M72YhJfDrZseQwuuWaaIT/TmePp3g== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" - "@babel/helper-remap-async-to-generator" "^7.16.8" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-plugin-utils" "^7.19.0" + "@babel/helper-remap-async-to-generator" "^7.18.9" "@babel/plugin-syntax-async-generators" "^7.8.4" -"@babel/plugin-proposal-class-properties@^7.12.1", "@babel/plugin-proposal-class-properties@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.17.12.tgz#84f65c0cc247d46f40a6da99aadd6438315d80a4" - integrity sha512-U0mI9q8pW5Q9EaTHFPwSVusPMV/DV9Mm8p7csqROFLtIE9rBF5piLqyrBGigftALrBcsBGu4m38JneAe7ZDLXw== +"@babel/plugin-proposal-class-properties@^7.13.0", "@babel/plugin-proposal-class-properties@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.18.6.tgz#b110f59741895f7ec21a6fff696ec46265c446a3" + integrity sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ== dependencies: - "@babel/helper-create-class-features-plugin" "^7.17.12" - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-create-class-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-proposal-class-static-block@^7.18.0": - version "7.18.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.18.0.tgz#7d02253156e3c3793bdb9f2faac3a1c05f0ba710" - integrity sha512-t+8LsRMMDE74c6sV7KShIw13sqbqd58tlqNrsWoWBTIMw7SVQ0cZ905wLNS/FBCy/3PyooRHLFFlfrUNyyz5lA== +"@babel/plugin-proposal-class-static-block@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.18.6.tgz#8aa81d403ab72d3962fc06c26e222dacfc9b9020" + integrity sha512-+I3oIiNxrCpup3Gi8n5IGMwj0gOCAjcJUSQEcotNnCCPMEnixawOQ+KeJPlgfjzx+FKQ1QSyZOWe7wmoJp7vhw== dependencies: - "@babel/helper-create-class-features-plugin" "^7.18.0" - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-create-class-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-class-static-block" "^7.14.5" -"@babel/plugin-proposal-decorators@^7.12.12": - version "7.18.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.18.2.tgz#dbe4086d2d42db489399783c3aa9272e9700afd4" - integrity sha512-kbDISufFOxeczi0v4NQP3p5kIeW6izn/6klfWBrIIdGZZe4UpHR+QU03FAoWjGGd9SUXAwbw2pup1kaL4OQsJQ== +"@babel/plugin-proposal-dynamic-import@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.18.6.tgz#72bcf8d408799f547d759298c3c27c7e7faa4d94" + integrity sha512-1auuwmK+Rz13SJj36R+jqFPMJWyKEDd7lLSdOj4oJK0UTgGueSAtkrCvz9ewmgyU/P941Rv2fQwZJN8s6QruXw== dependencies: - "@babel/helper-create-class-features-plugin" "^7.18.0" - "@babel/helper-plugin-utils" "^7.17.12" - "@babel/helper-replace-supers" "^7.18.2" - "@babel/helper-split-export-declaration" "^7.16.7" - "@babel/plugin-syntax-decorators" "^7.17.12" - charcodes "^0.2.0" - -"@babel/plugin-proposal-dynamic-import@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.16.7.tgz#c19c897eaa46b27634a00fee9fb7d829158704b2" - integrity sha512-I8SW9Ho3/8DRSdmDdH3gORdyUuYnk1m4cMxUAdu5oy4n3OfN8flDEH+d60iG7dUfi0KkYwSvoalHzzdRzpWHTg== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-dynamic-import" "^7.8.3" -"@babel/plugin-proposal-export-default-from@^7.12.1": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.17.12.tgz#df785e638618d8ffa14e08c78c44d9695d083b73" - integrity sha512-LpsTRw725eBAXXKUOnJJct+SEaOzwR78zahcLuripD2+dKc2Sj+8Q2DzA+GC/jOpOu/KlDXuxrzG214o1zTauQ== +"@babel/plugin-proposal-export-namespace-from@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.18.9.tgz#5f7313ab348cdb19d590145f9247540e94761203" + integrity sha512-k1NtHyOMvlDDFeb9G5PhUXuGj8m/wiwojgQVEhJ/fsVsMCpLyOP4h0uGEjYJKrRI+EVPlb5Jk+Gt9P97lOGwtA== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" - "@babel/plugin-syntax-export-default-from" "^7.16.7" - -"@babel/plugin-proposal-export-namespace-from@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.17.12.tgz#b22864ccd662db9606edb2287ea5fd1709f05378" - integrity sha512-j7Ye5EWdwoXOpRmo5QmRyHPsDIe6+u70ZYZrd7uz+ebPYFKfRcLcNu3Ro0vOlJ5zuv8rU7xa+GttNiRzX56snQ== - dependencies: - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-plugin-utils" "^7.18.9" "@babel/plugin-syntax-export-namespace-from" "^7.8.3" -"@babel/plugin-proposal-json-strings@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.17.12.tgz#f4642951792437233216d8c1af370bb0fbff4664" - integrity sha512-rKJ+rKBoXwLnIn7n6o6fulViHMrOThz99ybH+hKHcOZbnN14VuMnH9fo2eHE69C8pO4uX1Q7t2HYYIDmv8VYkg== +"@babel/plugin-proposal-json-strings@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.18.6.tgz#7e8788c1811c393aff762817e7dbf1ebd0c05f0b" + integrity sha512-lr1peyn9kOdbYc0xr0OdHTZ5FMqS6Di+H0Fz2I/JwMzGmzJETNeOFq2pBySw6X/KFL5EWDjlJuMsUGRFb8fQgQ== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-json-strings" "^7.8.3" -"@babel/plugin-proposal-logical-assignment-operators@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.17.12.tgz#c64a1bcb2b0a6d0ed2ff674fd120f90ee4b88a23" - integrity sha512-EqFo2s1Z5yy+JeJu7SFfbIUtToJTVlC61/C7WLKDntSw4Sz6JNAIfL7zQ74VvirxpjB5kz/kIx0gCcb+5OEo2Q== +"@babel/plugin-proposal-logical-assignment-operators@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.18.9.tgz#8148cbb350483bf6220af06fa6db3690e14b2e23" + integrity sha512-128YbMpjCrP35IOExw2Fq+x55LMP42DzhOhX2aNNIdI9avSWl2PI0yuBWarr3RYpZBSPtabfadkH2yeRiMD61Q== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-plugin-utils" "^7.18.9" "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" -"@babel/plugin-proposal-nullish-coalescing-operator@^7.12.1", "@babel/plugin-proposal-nullish-coalescing-operator@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.17.12.tgz#1e93079bbc2cbc756f6db6a1925157c4a92b94be" - integrity sha512-ws/g3FSGVzv+VH86+QvgtuJL/kR67xaEIF2x0iPqdDfYW6ra6JF3lKVBkWynRLcNtIC1oCTfDRVxmm2mKzy+ag== +"@babel/plugin-proposal-nullish-coalescing-operator@^7.13.8", "@babel/plugin-proposal-nullish-coalescing-operator@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.18.6.tgz#fdd940a99a740e577d6c753ab6fbb43fdb9467e1" + integrity sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" -"@babel/plugin-proposal-numeric-separator@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.16.7.tgz#d6b69f4af63fb38b6ca2558442a7fb191236eba9" - integrity sha512-vQgPMknOIgiuVqbokToyXbkY/OmmjAzr/0lhSIbG/KmnzXPGwW/AdhdKpi+O4X/VkWiWjnkKOBiqJrTaC98VKw== +"@babel/plugin-proposal-numeric-separator@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.18.6.tgz#899b14fbafe87f053d2c5ff05b36029c62e13c75" + integrity sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-numeric-separator" "^7.10.4" -"@babel/plugin-proposal-object-rest-spread@7.12.1": - version "7.12.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.12.1.tgz#def9bd03cea0f9b72283dac0ec22d289c7691069" - integrity sha512-s6SowJIjzlhx8o7lsFx5zmY4At6CTtDvgNQDdPzkBQucle58A6b/TTeEBYtyDgmcXjUTM+vE8YOGHZzzbc/ioA== +"@babel/plugin-proposal-object-rest-spread@^7.20.2": + version "7.20.2" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.20.2.tgz#a556f59d555f06961df1e572bb5eca864c84022d" + integrity sha512-Ks6uej9WFK+fvIMesSqbAto5dD8Dz4VuuFvGJFKgIGSkJuRGcrwGECPA1fDgQK3/DbExBJpEkTeYeB8geIFCSQ== dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/plugin-syntax-object-rest-spread" "^7.8.0" - "@babel/plugin-transform-parameters" "^7.12.1" - -"@babel/plugin-proposal-object-rest-spread@^7.12.1", "@babel/plugin-proposal-object-rest-spread@^7.18.0": - version "7.18.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.0.tgz#79f2390c892ba2a68ec112eb0d895cfbd11155e8" - integrity sha512-nbTv371eTrFabDfHLElkn9oyf9VG+VKK6WMzhY2o4eHKaG19BToD9947zzGMO6I/Irstx9d8CwX6njPNIAR/yw== - dependencies: - "@babel/compat-data" "^7.17.10" - "@babel/helper-compilation-targets" "^7.17.10" - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/compat-data" "^7.20.1" + "@babel/helper-compilation-targets" "^7.20.0" + "@babel/helper-plugin-utils" "^7.20.2" "@babel/plugin-syntax-object-rest-spread" "^7.8.3" - "@babel/plugin-transform-parameters" "^7.17.12" + "@babel/plugin-transform-parameters" "^7.20.1" -"@babel/plugin-proposal-optional-catch-binding@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.16.7.tgz#c623a430674ffc4ab732fd0a0ae7722b67cb74cf" - integrity sha512-eMOH/L4OvWSZAE1VkHbr1vckLG1WUcHGJSLqqQwl2GaUqG6QjddvrOaTUMNYiv77H5IKPMZ9U9P7EaHwvAShfA== +"@babel/plugin-proposal-optional-catch-binding@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.18.6.tgz#f9400d0e6a3ea93ba9ef70b09e72dd6da638a2cb" + integrity sha512-Q40HEhs9DJQyaZfUjjn6vE8Cv4GmMHCYuMGIWUnlxH6400VGxOuwWsPt4FxXxJkC/5eOzgn0z21M9gMT4MOhbw== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" -"@babel/plugin-proposal-optional-chaining@^7.12.7", "@babel/plugin-proposal-optional-chaining@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.17.12.tgz#f96949e9bacace3a9066323a5cf90cfb9de67174" - integrity sha512-7wigcOs/Z4YWlK7xxjkvaIw84vGhDv/P1dFGQap0nHkc8gFKY/r+hXc8Qzf5k1gY7CvGIcHqAnOagVKJJ1wVOQ== +"@babel/plugin-proposal-optional-chaining@^7.13.12", "@babel/plugin-proposal-optional-chaining@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.18.9.tgz#e8e8fe0723f2563960e4bf5e9690933691915993" + integrity sha512-v5nwt4IqBXihxGsW2QmCWMDS3B3bzGIk/EQVZz2ei7f3NJl8NzAJVvUmpDW5q1CRNY+Beb/k58UAH1Km1N411w== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" - "@babel/helper-skip-transparent-expression-wrappers" "^7.16.0" + "@babel/helper-plugin-utils" "^7.18.9" + "@babel/helper-skip-transparent-expression-wrappers" "^7.18.9" "@babel/plugin-syntax-optional-chaining" "^7.8.3" -"@babel/plugin-proposal-private-methods@^7.12.1", "@babel/plugin-proposal-private-methods@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.17.12.tgz#c2ca3a80beb7539289938da005ad525a038a819c" - integrity sha512-SllXoxo19HmxhDWm3luPz+cPhtoTSKLJE9PXshsfrOzBqs60QP0r8OaJItrPhAj0d7mZMnNF0Y1UUggCDgMz1A== +"@babel/plugin-proposal-private-methods@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.18.6.tgz#5209de7d213457548a98436fa2882f52f4be6bea" + integrity sha512-nutsvktDItsNn4rpGItSNV2sz1XwS+nfU0Rg8aCx3W3NOKVzdMjJRu0O5OkgDp3ZGICSTbgRpxZoWsxoKRvbeA== dependencies: - "@babel/helper-create-class-features-plugin" "^7.17.12" - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-create-class-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-proposal-private-property-in-object@^7.12.1", "@babel/plugin-proposal-private-property-in-object@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.17.12.tgz#b02efb7f106d544667d91ae97405a9fd8c93952d" - integrity sha512-/6BtVi57CJfrtDNKfK5b66ydK2J5pXUKBKSPD2G1whamMuEnZWgoOIfO8Vf9F/DoD4izBLD/Au4NMQfruzzykg== +"@babel/plugin-proposal-private-property-in-object@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.18.6.tgz#a64137b232f0aca3733a67eb1a144c192389c503" + integrity sha512-9Rysx7FOctvT5ouj5JODjAFAkgGoudQuLPamZb0v1TGLpapdNaftzifU8NTWQm0IRjqoYypdrSmyWgkocDQ8Dw== dependencies: - "@babel/helper-annotate-as-pure" "^7.16.7" - "@babel/helper-create-class-features-plugin" "^7.17.12" - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-create-class-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-private-property-in-object" "^7.14.5" -"@babel/plugin-proposal-unicode-property-regex@^7.17.12", "@babel/plugin-proposal-unicode-property-regex@^7.4.4": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.17.12.tgz#3dbd7a67bd7f94c8238b394da112d86aaf32ad4d" - integrity sha512-Wb9qLjXf3ZazqXA7IvI7ozqRIXIGPtSo+L5coFmEkhTQK18ao4UDDD0zdTGAarmbLj2urpRwrc6893cu5Bfh0A== +"@babel/plugin-proposal-unicode-property-regex@^7.18.6", "@babel/plugin-proposal-unicode-property-regex@^7.4.4": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.18.6.tgz#af613d2cd5e643643b65cded64207b15c85cb78e" + integrity sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w== dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.17.12" - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-create-regexp-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" @@ -498,13 +440,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-syntax-decorators@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.17.12.tgz#02e8f678602f0af8222235271efea945cfdb018a" - integrity sha512-D1Hz0qtGTza8K2xGyEdVNCYLdVHukAcbQr4K3/s6r/esadyEriZovpJimQOpu8ju4/jV8dW/1xdaE0UpDroidw== - dependencies: - "@babel/helper-plugin-utils" "^7.17.12" - "@babel/plugin-syntax-dynamic-import@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz#62bf98b2da3cd21d626154fc96ee5b3cb68eacb3" @@ -512,13 +447,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-export-default-from@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.16.7.tgz#fa89cf13b60de2c3f79acdc2b52a21174c6de060" - integrity sha512-4C3E4NsrLOgftKaTYTULhHsuQrGv3FHrBzOMDiS7UYKIpgGBkAdawg4h+EI8zPeK9M0fiIIh72hIwsI24K7MbA== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - "@babel/plugin-syntax-export-namespace-from@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz#028964a9ba80dbc094c915c487ad7c4e7a66465a" @@ -526,19 +454,19 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-syntax-flow@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.17.12.tgz#23d852902acd19f42923fca9d0f196984d124e73" - integrity sha512-B8QIgBvkIG6G2jgsOHQUist7Sm0EBLDCx8sen072IwqNuzMegZNXrYnSv77cYzA8mLDZAfQYqsLIhimiP1s2HQ== +"@babel/plugin-syntax-flow@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.18.6.tgz#774d825256f2379d06139be0c723c4dd444f3ca1" + integrity sha512-LUbR+KNTBWCUAqRG9ex5Gnzu2IOkt8jRJbHHXFT9q+L9zm7M/QQbEqXyw1n1pohYvOyWC8CjeyjrSaIwiYjK7A== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-syntax-import-assertions@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.17.12.tgz#58096a92b11b2e4e54b24c6a0cc0e5e607abcedd" - integrity sha512-n/loy2zkq9ZEM8tEOwON9wTQSTNDTDEz6NujPtJGLU7qObzT1N4c4YZZf8E6ATB2AjNQg/Ib2AIpO03EZaCehw== +"@babel/plugin-syntax-import-assertions@^7.20.0": + version "7.20.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.20.0.tgz#bb50e0d4bea0957235390641209394e87bdb9cc4" + integrity sha512-IUh1vakzNoWalR8ch/areW7qFopR2AEw03JlG7BbrDqmQ4X3q9uuipQwSGrUn7oGiemKjtSLDhNtQHzMHr1JdQ== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-plugin-utils" "^7.19.0" "@babel/plugin-syntax-json-strings@^7.8.3": version "7.8.3" @@ -547,19 +475,12 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-jsx@7.12.1": - version "7.12.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.12.1.tgz#9d9d357cc818aa7ae7935917c1257f67677a0926" - integrity sha512-1yRi7yAtB0ETgxdY9ti/p2TivUxJkTdhu/ZbF9MshVGqOx1TdB3b7xCXs49Fupgg50N45KcAsRP/ZqWjs9SRjg== +"@babel/plugin-syntax-jsx@^7.17.12", "@babel/plugin-syntax-jsx@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0" + integrity sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q== dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-syntax-jsx@^7.12.13", "@babel/plugin-syntax-jsx@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.17.12.tgz#834035b45061983a491f60096f61a2e7c5674a47" - integrity sha512-spyY3E3AURfxh/RHtjx5j6hs8am5NbUBGfcZ2vB3uShSpZdQyXSf5rR5Mk76vbtlAZOelyVQ71Fg0x9SG4fsog== - dependencies: - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-syntax-logical-assignment-operators@^7.10.4": version "7.10.4" @@ -582,7 +503,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-object-rest-spread@7.8.3", "@babel/plugin-syntax-object-rest-spread@^7.8.0", "@babel/plugin-syntax-object-rest-spread@^7.8.3": +"@babel/plugin-syntax-object-rest-spread@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== @@ -617,347 +538,345 @@ dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-syntax-typescript@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.17.12.tgz#b54fc3be6de734a56b87508f99d6428b5b605a7b" - integrity sha512-TYY0SXFiO31YXtNg3HtFwNJHjLsAyIIhAhNWkQ5whPPS7HWUFlg9z0Ta4qAQNjQbP1wsSt/oKkmZ/4/WWdMUpw== +"@babel/plugin-syntax-typescript@^7.20.0": + version "7.20.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.20.0.tgz#4e9a0cfc769c85689b77a2e642d24e9f697fc8c7" + integrity sha512-rd9TkG+u1CExzS4SM1BlMEhMXwFLKVjOAFFCDx9PbX5ycJWDoWMcwdJH9RhkPu1dOgn5TrxLot/Gx6lWFuAUNQ== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-plugin-utils" "^7.19.0" -"@babel/plugin-transform-arrow-functions@^7.12.1", "@babel/plugin-transform-arrow-functions@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.17.12.tgz#dddd783b473b1b1537ef46423e3944ff24898c45" - integrity sha512-PHln3CNi/49V+mza4xMwrg+WGYevSF1oaiXaC2EQfdp4HWlSjRsrDXWJiQBKpP7749u6vQ9mcry2uuFOv5CXvA== +"@babel/plugin-transform-arrow-functions@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.18.6.tgz#19063fcf8771ec7b31d742339dac62433d0611fe" + integrity sha512-9S9X9RUefzrsHZmKMbDXxweEH+YlE8JJEuat9FdvW9Qh1cw7W64jELCtWNkPBPX5En45uy28KGvA/AySqUh8CQ== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-async-to-generator@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.17.12.tgz#dbe5511e6b01eee1496c944e35cdfe3f58050832" - integrity sha512-J8dbrWIOO3orDzir57NRsjg4uxucvhby0L/KZuGsWDj0g7twWK3g7JhJhOrXtuXiw8MeiSdJ3E0OW9H8LYEzLQ== +"@babel/plugin-transform-async-to-generator@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.18.6.tgz#ccda3d1ab9d5ced5265fdb13f1882d5476c71615" + integrity sha512-ARE5wZLKnTgPW7/1ftQmSi1CmkqqHo2DNmtztFhvgtOWSDfq0Cq9/9L+KnZNYSNrydBekhW3rwShduf59RoXag== dependencies: - "@babel/helper-module-imports" "^7.16.7" - "@babel/helper-plugin-utils" "^7.17.12" - "@babel/helper-remap-async-to-generator" "^7.16.8" + "@babel/helper-module-imports" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/helper-remap-async-to-generator" "^7.18.6" -"@babel/plugin-transform-block-scoped-functions@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.16.7.tgz#4d0d57d9632ef6062cdf354bb717102ee042a620" - integrity sha512-JUuzlzmF40Z9cXyytcbZEZKckgrQzChbQJw/5PuEHYeqzCsvebDx0K0jWnIIVcmmDOAVctCgnYs0pMcrYj2zJg== +"@babel/plugin-transform-block-scoped-functions@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.18.6.tgz#9187bf4ba302635b9d70d986ad70f038726216a8" + integrity sha512-ExUcOqpPWnliRcPqves5HJcJOvHvIIWfuS4sroBUenPuMdmW+SMHDakmtS7qOo13sVppmUijqeTv7qqGsvURpQ== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-block-scoping@^7.12.12", "@babel/plugin-transform-block-scoping@^7.17.12": - version "7.18.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.18.4.tgz#7988627b3e9186a13e4d7735dc9c34a056613fb9" - integrity sha512-+Hq10ye+jlvLEogSOtq4mKvtk7qwcUQ1f0Mrueai866C82f844Yom2cttfJdMdqRLTxWpsbfbkIkOIfovyUQXw== +"@babel/plugin-transform-block-scoping@^7.20.2": + version "7.20.2" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.20.2.tgz#f59b1767e6385c663fd0bce655db6ca9c8b236ed" + integrity sha512-y5V15+04ry69OV2wULmwhEA6jwSWXO1TwAtIwiPXcvHcoOQUqpyMVd2bDsQJMW8AurjulIyUV8kDqtjSwHy1uQ== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-plugin-utils" "^7.20.2" -"@babel/plugin-transform-classes@^7.12.1", "@babel/plugin-transform-classes@^7.17.12": - version "7.18.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.18.4.tgz#51310b812a090b846c784e47087fa6457baef814" - integrity sha512-e42NSG2mlKWgxKUAD9EJJSkZxR67+wZqzNxLSpc51T8tRU5SLFHsPmgYR5yr7sdgX4u+iHA1C5VafJ6AyImV3A== +"@babel/plugin-transform-classes@^7.20.2": + version "7.20.2" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.20.2.tgz#c0033cf1916ccf78202d04be4281d161f6709bb2" + integrity sha512-9rbPp0lCVVoagvtEyQKSo5L8oo0nQS/iif+lwlAz29MccX2642vWDlSZK+2T2buxbopotId2ld7zZAzRfz9j1g== dependencies: - "@babel/helper-annotate-as-pure" "^7.16.7" - "@babel/helper-environment-visitor" "^7.18.2" - "@babel/helper-function-name" "^7.17.9" - "@babel/helper-optimise-call-expression" "^7.16.7" - "@babel/helper-plugin-utils" "^7.17.12" - "@babel/helper-replace-supers" "^7.18.2" - "@babel/helper-split-export-declaration" "^7.16.7" + "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-compilation-targets" "^7.20.0" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" + "@babel/helper-optimise-call-expression" "^7.18.6" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-replace-supers" "^7.19.1" + "@babel/helper-split-export-declaration" "^7.18.6" globals "^11.1.0" -"@babel/plugin-transform-computed-properties@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.17.12.tgz#bca616a83679698f3258e892ed422546e531387f" - integrity sha512-a7XINeplB5cQUWMg1E/GI1tFz3LfK021IjV1rj1ypE+R7jHm+pIHmHl25VNkZxtx9uuYp7ThGk8fur1HHG7PgQ== +"@babel/plugin-transform-computed-properties@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.18.9.tgz#2357a8224d402dad623caf6259b611e56aec746e" + integrity sha512-+i0ZU1bCDymKakLxn5srGHrsAPRELC2WIbzwjLhHW9SIE1cPYkLCL0NlnXMZaM1vhfgA2+M7hySk42VBvrkBRw== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-destructuring@^7.12.1", "@babel/plugin-transform-destructuring@^7.18.0": - version "7.18.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.18.0.tgz#dc4f92587e291b4daa78aa20cc2d7a63aa11e858" - integrity sha512-Mo69klS79z6KEfrLg/1WkmVnB8javh75HX4pi2btjvlIoasuxilEyjtsQW6XPrubNd7AQy0MMaNIaQE4e7+PQw== +"@babel/plugin-transform-destructuring@^7.20.2": + version "7.20.2" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.20.2.tgz#c23741cfa44ddd35f5e53896e88c75331b8b2792" + integrity sha512-mENM+ZHrvEgxLTBXUiQ621rRXZes3KWUv6NdQlrnr1TkWVw+hUjQBZuP2X32qKlrlG2BzgR95gkuCRSkJl8vIw== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-plugin-utils" "^7.20.2" -"@babel/plugin-transform-dotall-regex@^7.16.7", "@babel/plugin-transform-dotall-regex@^7.4.4": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.16.7.tgz#6b2d67686fab15fb6a7fd4bd895d5982cfc81241" - integrity sha512-Lyttaao2SjZF6Pf4vk1dVKv8YypMpomAbygW+mU5cYP3S5cWTfCJjG8xV6CFdzGFlfWK81IjL9viiTvpb6G7gQ== +"@babel/plugin-transform-dotall-regex@^7.18.6", "@babel/plugin-transform-dotall-regex@^7.4.4": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.18.6.tgz#b286b3e7aae6c7b861e45bed0a2fafd6b1a4fef8" + integrity sha512-6S3jpun1eEbAxq7TdjLotAsl4WpQI9DxfkycRcKrjhQYzU87qpXdknpBg/e+TdcMehqGnLFi7tnFUBR02Vq6wg== dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-create-regexp-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-duplicate-keys@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.17.12.tgz#a09aa709a3310013f8e48e0e23bc7ace0f21477c" - integrity sha512-EA5eYFUG6xeerdabina/xIoB95jJ17mAkR8ivx6ZSu9frKShBjpOGZPn511MTDTkiCO+zXnzNczvUM69YSf3Zw== +"@babel/plugin-transform-duplicate-keys@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.18.9.tgz#687f15ee3cdad6d85191eb2a372c4528eaa0ae0e" + integrity sha512-d2bmXCtZXYc59/0SanQKbiWINadaJXqtvIQIzd4+hNwkWBgyCd5F/2t1kXoUdvPMrxzPvhK6EMQRROxsue+mfw== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-exponentiation-operator@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.16.7.tgz#efa9862ef97e9e9e5f653f6ddc7b665e8536fe9b" - integrity sha512-8UYLSlyLgRixQvlYH3J2ekXFHDFLQutdy7FfFAMm3CPZ6q9wHCwnUyiXpQCe3gVVnQlHc5nsuiEVziteRNTXEA== +"@babel/plugin-transform-exponentiation-operator@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.18.6.tgz#421c705f4521888c65e91fdd1af951bfefd4dacd" + integrity sha512-wzEtc0+2c88FVR34aQmiz56dxEkxr2g8DQb/KfaFa1JYXOFVsbhvAonFN6PwVWj++fKmku8NP80plJ5Et4wqHw== dependencies: - "@babel/helper-builder-binary-assignment-operator-visitor" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-builder-binary-assignment-operator-visitor" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-flow-strip-types@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.17.12.tgz#5e070f99a4152194bd9275de140e83a92966cab3" - integrity sha512-g8cSNt+cHCpG/uunPQELdq/TeV3eg1OLJYwxypwHtAWo9+nErH3lQx9CSO2uI9lF74A0mR0t4KoMjs1snSgnTw== +"@babel/plugin-transform-flow-strip-types@^7.18.6": + version "7.19.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.19.0.tgz#e9e8606633287488216028719638cbbb2f2dde8f" + integrity sha512-sgeMlNaQVbCSpgLSKP4ZZKfsJVnFnNQlUSk6gPYzR/q7tzCgQF2t8RBKAP6cKJeZdveei7Q7Jm527xepI8lNLg== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" - "@babel/plugin-syntax-flow" "^7.17.12" + "@babel/helper-plugin-utils" "^7.19.0" + "@babel/plugin-syntax-flow" "^7.18.6" -"@babel/plugin-transform-for-of@^7.12.1", "@babel/plugin-transform-for-of@^7.18.1": - version "7.18.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.18.1.tgz#ed14b657e162b72afbbb2b4cdad277bf2bb32036" - integrity sha512-+TTB5XwvJ5hZbO8xvl2H4XaMDOAK57zF4miuC9qQJgysPNEAZZ9Z69rdF5LJkozGdZrjBIUAIyKUWRMmebI7vg== +"@babel/plugin-transform-for-of@^7.18.8": + version "7.18.8" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.18.8.tgz#6ef8a50b244eb6a0bdbad0c7c61877e4e30097c1" + integrity sha512-yEfTRnjuskWYo0k1mHUqrVWaZwrdq8AYbfrpqULOJOaucGSp4mNMVps+YtA8byoevxS/urwU75vyhQIxcCgiBQ== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-function-name@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.16.7.tgz#5ab34375c64d61d083d7d2f05c38d90b97ec65cf" - integrity sha512-SU/C68YVwTRxqWj5kgsbKINakGag0KTgq9f2iZEXdStoAbOzLHEBRYzImmA6yFo8YZhJVflvXmIHUO7GWHmxxA== +"@babel/plugin-transform-function-name@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.18.9.tgz#cc354f8234e62968946c61a46d6365440fc764e0" + integrity sha512-WvIBoRPaJQ5yVHzcnJFor7oS5Ls0PYixlTYE63lCj2RtdQEl15M68FXQlxnG6wdraJIXRdR7KI+hQ7q/9QjrCQ== dependencies: - "@babel/helper-compilation-targets" "^7.16.7" - "@babel/helper-function-name" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-compilation-targets" "^7.18.9" + "@babel/helper-function-name" "^7.18.9" + "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-literals@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.17.12.tgz#97131fbc6bbb261487105b4b3edbf9ebf9c830ae" - integrity sha512-8iRkvaTjJciWycPIZ9k9duu663FT7VrBdNqNgxnVXEFwOIp55JWcZd23VBRySYbnS3PwQ3rGiabJBBBGj5APmQ== +"@babel/plugin-transform-literals@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.18.9.tgz#72796fdbef80e56fba3c6a699d54f0de557444bc" + integrity sha512-IFQDSRoTPnrAIrI5zoZv73IFeZu2dhu6irxQjY9rNjTT53VmKg9fenjvoiOWOkJ6mm4jKVPtdMzBY98Fp4Z4cg== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-member-expression-literals@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.16.7.tgz#6e5dcf906ef8a098e630149d14c867dd28f92384" - integrity sha512-mBruRMbktKQwbxaJof32LT9KLy2f3gH+27a5XSuXo6h7R3vqltl0PgZ80C8ZMKw98Bf8bqt6BEVi3svOh2PzMw== +"@babel/plugin-transform-member-expression-literals@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.18.6.tgz#ac9fdc1a118620ac49b7e7a5d2dc177a1bfee88e" + integrity sha512-qSF1ihLGO3q+/g48k85tUjD033C29TNTVB2paCwZPVmOsjn9pClvYYrM2VeJpBY2bcNkuny0YUyTNRyRxJ54KA== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-modules-amd@^7.18.0": - version "7.18.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.18.0.tgz#7ef1002e67e36da3155edc8bf1ac9398064c02ed" - integrity sha512-h8FjOlYmdZwl7Xm2Ug4iX2j7Qy63NANI+NQVWQzv6r25fqgg7k2dZl03p95kvqNclglHs4FZ+isv4p1uXMA+QA== +"@babel/plugin-transform-modules-amd@^7.19.6": + version "7.19.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.19.6.tgz#aca391801ae55d19c4d8d2ebfeaa33df5f2a2cbd" + integrity sha512-uG3od2mXvAtIFQIh0xrpLH6r5fpSQN04gIVovl+ODLdUMANokxQLZnPBHcjmv3GxRjnqwLuHvppjjcelqUFZvg== dependencies: - "@babel/helper-module-transforms" "^7.18.0" - "@babel/helper-plugin-utils" "^7.17.12" - babel-plugin-dynamic-import-node "^2.3.3" + "@babel/helper-module-transforms" "^7.19.6" + "@babel/helper-plugin-utils" "^7.19.0" -"@babel/plugin-transform-modules-commonjs@^7.18.2": - version "7.18.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.18.2.tgz#1aa8efa2e2a6e818b6a7f2235fceaf09bdb31e9e" - integrity sha512-f5A865gFPAJAEE0K7F/+nm5CmAE3y8AWlMBG9unu5j9+tk50UQVK0QS8RNxSp7MJf0wh97uYyLWt3Zvu71zyOQ== +"@babel/plugin-transform-modules-commonjs@^7.13.8", "@babel/plugin-transform-modules-commonjs@^7.19.6": + version "7.19.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.19.6.tgz#25b32feef24df8038fc1ec56038917eacb0b730c" + integrity sha512-8PIa1ym4XRTKuSsOUXqDG0YaOlEuTVvHMe5JCfgBMOtHvJKw/4NGovEGN33viISshG/rZNVrACiBmPQLvWN8xQ== dependencies: - "@babel/helper-module-transforms" "^7.18.0" - "@babel/helper-plugin-utils" "^7.17.12" - "@babel/helper-simple-access" "^7.18.2" - babel-plugin-dynamic-import-node "^2.3.3" + "@babel/helper-module-transforms" "^7.19.6" + "@babel/helper-plugin-utils" "^7.19.0" + "@babel/helper-simple-access" "^7.19.4" -"@babel/plugin-transform-modules-systemjs@^7.18.0": - version "7.18.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.18.5.tgz#87f11c44fbfd3657be000d4897e192d9cb535996" - integrity sha512-SEewrhPpcqMF1V7DhnEbhVJLrC+nnYfe1E0piZMZXBpxi9WvZqWGwpsk7JYP7wPWeqaBh4gyKlBhHJu3uz5g4Q== +"@babel/plugin-transform-modules-systemjs@^7.19.6": + version "7.19.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.19.6.tgz#59e2a84064b5736a4471b1aa7b13d4431d327e0d" + integrity sha512-fqGLBepcc3kErfR9R3DnVpURmckXP7gj7bAlrTQyBxrigFqszZCkFkcoxzCp2v32XmwXLvbw+8Yq9/b+QqksjQ== dependencies: - "@babel/helper-hoist-variables" "^7.16.7" - "@babel/helper-module-transforms" "^7.18.0" - "@babel/helper-plugin-utils" "^7.17.12" - "@babel/helper-validator-identifier" "^7.16.7" - babel-plugin-dynamic-import-node "^2.3.3" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-module-transforms" "^7.19.6" + "@babel/helper-plugin-utils" "^7.19.0" + "@babel/helper-validator-identifier" "^7.19.1" -"@babel/plugin-transform-modules-umd@^7.18.0": - version "7.18.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.18.0.tgz#56aac64a2c2a1922341129a4597d1fd5c3ff020f" - integrity sha512-d/zZ8I3BWli1tmROLxXLc9A6YXvGK8egMxHp+E/rRwMh1Kip0AP77VwZae3snEJ33iiWwvNv2+UIIhfalqhzZA== +"@babel/plugin-transform-modules-umd@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.18.6.tgz#81d3832d6034b75b54e62821ba58f28ed0aab4b9" + integrity sha512-dcegErExVeXcRqNtkRU/z8WlBLnvD4MRnHgNs3MytRO1Mn1sHRyhbcpYbVMGclAqOjdW+9cfkdZno9dFdfKLfQ== dependencies: - "@babel/helper-module-transforms" "^7.18.0" - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-module-transforms" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-named-capturing-groups-regex@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.17.12.tgz#9c4a5a5966e0434d515f2675c227fd8cc8606931" - integrity sha512-vWoWFM5CKaTeHrdUJ/3SIOTRV+MBVGybOC9mhJkaprGNt5demMymDW24yC74avb915/mIRe3TgNb/d8idvnCRA== +"@babel/plugin-transform-named-capturing-groups-regex@^7.19.1": + version "7.19.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.19.1.tgz#ec7455bab6cd8fb05c525a94876f435a48128888" + integrity sha512-oWk9l9WItWBQYS4FgXD4Uyy5kq898lvkXpXQxoJEY1RnvPk4R/Dvu2ebXU9q8lP+rlMwUQTFf2Ok6d78ODa0kw== dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.17.12" - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-create-regexp-features-plugin" "^7.19.0" + "@babel/helper-plugin-utils" "^7.19.0" -"@babel/plugin-transform-new-target@^7.17.12": - version "7.18.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.18.5.tgz#8c228c4a07501dd12c95c5f23d1622131cc23931" - integrity sha512-TuRL5uGW4KXU6OsRj+mLp9BM7pO8e7SGNTEokQRRxHFkXYMFiy2jlKSZPFtI/mKORDzciH+hneskcSOp0gU8hg== +"@babel/plugin-transform-new-target@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.18.6.tgz#d128f376ae200477f37c4ddfcc722a8a1b3246a8" + integrity sha512-DjwFA/9Iu3Z+vrAn+8pBUGcjhxKguSMlsFqeCKbhb9BAV756v0krzVK04CRDi/4aqmk8BsHb4a/gFcaA5joXRw== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-object-super@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.16.7.tgz#ac359cf8d32cf4354d27a46867999490b6c32a94" - integrity sha512-14J1feiQVWaGvRxj2WjyMuXS2jsBkgB3MdSN5HuC2G5nRspa5RK9COcs82Pwy5BuGcjb+fYaUj94mYcOj7rCvw== +"@babel/plugin-transform-object-super@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.18.6.tgz#fb3c6ccdd15939b6ff7939944b51971ddc35912c" + integrity sha512-uvGz6zk+pZoS1aTZrOvrbj6Pp/kK2mp45t2B+bTDre2UgsZZ8EZLSJtUg7m/no0zOJUWgFONpB7Zv9W2tSaFlA== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - "@babel/helper-replace-supers" "^7.16.7" + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/helper-replace-supers" "^7.18.6" -"@babel/plugin-transform-parameters@^7.12.1", "@babel/plugin-transform-parameters@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.17.12.tgz#eb467cd9586ff5ff115a9880d6fdbd4a846b7766" - integrity sha512-6qW4rWo1cyCdq1FkYri7AHpauchbGLXpdwnYsfxFb+KtddHENfsY5JZb35xUwkK5opOLcJ3BNd2l7PhRYGlwIA== +"@babel/plugin-transform-parameters@^7.20.1": + version "7.20.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.20.3.tgz#7b3468d70c3c5b62e46be0a47b6045d8590fb748" + integrity sha512-oZg/Fpx0YDrj13KsLyO8I/CX3Zdw7z0O9qOd95SqcoIzuqy/WTGWvePeHAnZCN54SfdyjHcb1S30gc8zlzlHcA== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-plugin-utils" "^7.20.2" -"@babel/plugin-transform-property-literals@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.16.7.tgz#2dadac85155436f22c696c4827730e0fe1057a55" - integrity sha512-z4FGr9NMGdoIl1RqavCqGG+ZuYjfZ/hkCIeuH6Do7tXmSm0ls11nYVSJqFEUOSJbDab5wC6lRE/w6YjVcr6Hqw== +"@babel/plugin-transform-property-literals@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.18.6.tgz#e22498903a483448e94e032e9bbb9c5ccbfc93a3" + integrity sha512-cYcs6qlgafTud3PAzrrRNbQtfpQ8+y/+M5tKmksS9+M1ckbH6kzY8MrexEM9mcA6JDsukE19iIRvAyYl463sMg== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-react-display-name@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.16.7.tgz#7b6d40d232f4c0f550ea348593db3b21e2404340" - integrity sha512-qgIg8BcZgd0G/Cz916D5+9kqX0c7nPZyXaP8R2tLNN5tkyIZdG5fEwBrxwplzSnjC1jvQmyMNVwUCZPcbGY7Pg== +"@babel/plugin-transform-react-display-name@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.18.6.tgz#8b1125f919ef36ebdfff061d664e266c666b9415" + integrity sha512-TV4sQ+T013n61uMoygyMRm+xf04Bd5oqFpv2jAEQwSZ8NwQA7zeRPg1LMVg2PWi3zWBz+CLKD+v5bcpZ/BS0aA== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-react-jsx-development@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.16.7.tgz#43a00724a3ed2557ed3f276a01a929e6686ac7b8" - integrity sha512-RMvQWvpla+xy6MlBpPlrKZCMRs2AGiHOGHY3xRwl0pEeim348dDyxeH4xBsMPbIMhujeq7ihE702eM2Ew0Wo+A== +"@babel/plugin-transform-react-jsx-development@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.18.6.tgz#dbe5c972811e49c7405b630e4d0d2e1380c0ddc5" + integrity sha512-SA6HEjwYFKF7WDjWcMcMGUimmw/nhNRDWxr+KaLSCrkD/LMDBvWRmHAYgE1HDeF8KUuI8OAu+RT6EOtKxSW2qA== dependencies: - "@babel/plugin-transform-react-jsx" "^7.16.7" + "@babel/plugin-transform-react-jsx" "^7.18.6" -"@babel/plugin-transform-react-jsx@^7.12.12", "@babel/plugin-transform-react-jsx@^7.16.7", "@babel/plugin-transform-react-jsx@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.17.12.tgz#2aa20022709cd6a3f40b45d60603d5f269586dba" - integrity sha512-Lcaw8bxd1DKht3thfD4A12dqo1X16he1Lm8rIv8sTwjAYNInRS1qHa9aJoqvzpscItXvftKDCfaEQzwoVyXpEQ== +"@babel/plugin-transform-react-jsx@^7.12.12", "@babel/plugin-transform-react-jsx@^7.18.6": + version "7.19.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.19.0.tgz#b3cbb7c3a00b92ec8ae1027910e331ba5c500eb9" + integrity sha512-UVEvX3tXie3Szm3emi1+G63jyw1w5IcMY0FSKM+CRnKRI5Mr1YbCNgsSTwoTwKphQEG9P+QqmuRFneJPZuHNhg== dependencies: - "@babel/helper-annotate-as-pure" "^7.16.7" - "@babel/helper-module-imports" "^7.16.7" - "@babel/helper-plugin-utils" "^7.17.12" - "@babel/plugin-syntax-jsx" "^7.17.12" - "@babel/types" "^7.17.12" + "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-module-imports" "^7.18.6" + "@babel/helper-plugin-utils" "^7.19.0" + "@babel/plugin-syntax-jsx" "^7.18.6" + "@babel/types" "^7.19.0" -"@babel/plugin-transform-react-pure-annotations@^7.16.7": - version "7.18.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.18.0.tgz#ef82c8e310913f3522462c9ac967d395092f1954" - integrity sha512-6+0IK6ouvqDn9bmEG7mEyF/pwlJXVj5lwydybpyyH3D0A7Hftk+NCTdYjnLNZksn261xaOV5ksmp20pQEmc2RQ== +"@babel/plugin-transform-react-pure-annotations@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.18.6.tgz#561af267f19f3e5d59291f9950fd7b9663d0d844" + integrity sha512-I8VfEPg9r2TRDdvnHgPepTKvuRomzA8+u+nhY7qSI1fR2hRNebasZEETLyM5mAUr0Ku56OkXJ0I7NHJnO6cJiQ== dependencies: - "@babel/helper-annotate-as-pure" "^7.16.7" - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-regenerator@^7.18.0": - version "7.18.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.18.0.tgz#44274d655eb3f1af3f3a574ba819d3f48caf99d5" - integrity sha512-C8YdRw9uzx25HSIzwA7EM7YP0FhCe5wNvJbZzjVNHHPGVcDJ3Aie+qGYYdS1oVQgn+B3eAIJbWFLrJ4Jipv7nw== +"@babel/plugin-transform-regenerator@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.18.6.tgz#585c66cb84d4b4bf72519a34cfce761b8676ca73" + integrity sha512-poqRI2+qiSdeldcz4wTSTXBRryoq3Gc70ye7m7UD5Ww0nE29IXqMl6r7Nd15WBgRd74vloEMlShtH6CKxVzfmQ== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-plugin-utils" "^7.18.6" regenerator-transform "^0.15.0" -"@babel/plugin-transform-reserved-words@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.17.12.tgz#7dbd349f3cdffba751e817cf40ca1386732f652f" - integrity sha512-1KYqwbJV3Co03NIi14uEHW8P50Md6KqFgt0FfpHdK6oyAHQVTosgPuPSiWud1HX0oYJ1hGRRlk0fP87jFpqXZA== +"@babel/plugin-transform-reserved-words@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.18.6.tgz#b1abd8ebf8edaa5f7fe6bbb8d2133d23b6a6f76a" + integrity sha512-oX/4MyMoypzHjFrT1CdivfKZ+XvIPMFXwwxHp/r0Ddy2Vuomt4HDFGmft1TAY2yiTKiNSsh3kjBAzcM8kSdsjA== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-shorthand-properties@^7.12.1", "@babel/plugin-transform-shorthand-properties@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.16.7.tgz#e8549ae4afcf8382f711794c0c7b6b934c5fbd2a" - integrity sha512-hah2+FEnoRoATdIb05IOXf+4GzXYTq75TVhIn1PewihbpyrNWUt2JbudKQOETWw6QpLe+AIUpJ5MVLYTQbeeUg== +"@babel/plugin-transform-shorthand-properties@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.18.6.tgz#6d6df7983d67b195289be24909e3f12a8f664dc9" + integrity sha512-eCLXXJqv8okzg86ywZJbRn19YJHU4XUa55oz2wbHhaQVn/MM+XhukiT7SYqp/7o00dg52Rj51Ny+Ecw4oyoygw== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-spread@^7.12.1", "@babel/plugin-transform-spread@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.17.12.tgz#c112cad3064299f03ea32afed1d659223935d1f5" - integrity sha512-9pgmuQAtFi3lpNUstvG9nGfk9DkrdmWNp9KeKPFmuZCpEnxRzYlS8JgwPjYj+1AWDOSvoGN0H30p1cBOmT/Svg== +"@babel/plugin-transform-spread@^7.19.0": + version "7.19.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.19.0.tgz#dd60b4620c2fec806d60cfaae364ec2188d593b6" + integrity sha512-RsuMk7j6n+r752EtzyScnWkQyuJdli6LdO5Klv8Yx0OfPVTcQkIUfS8clx5e9yHXzlnhOZF3CbQ8C2uP5j074w== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" - "@babel/helper-skip-transparent-expression-wrappers" "^7.16.0" + "@babel/helper-plugin-utils" "^7.19.0" + "@babel/helper-skip-transparent-expression-wrappers" "^7.18.9" -"@babel/plugin-transform-sticky-regex@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.16.7.tgz#c84741d4f4a38072b9a1e2e3fd56d359552e8660" - integrity sha512-NJa0Bd/87QV5NZZzTuZG5BPJjLYadeSZ9fO6oOUoL4iQx+9EEuw/eEM92SrsT19Yc2jgB1u1hsjqDtH02c3Drw== +"@babel/plugin-transform-sticky-regex@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.18.6.tgz#c6706eb2b1524028e317720339583ad0f444adcc" + integrity sha512-kfiDrDQ+PBsQDO85yj1icueWMfGfJFKN1KCkndygtu/C9+XUfydLC8Iv5UYJqRwy4zk8EcplRxEOeLyjq1gm6Q== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-transform-template-literals@^7.12.1", "@babel/plugin-transform-template-literals@^7.18.2": - version "7.18.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.18.2.tgz#31ed6915721864847c48b656281d0098ea1add28" - integrity sha512-/cmuBVw9sZBGZVOMkpAEaVLwm4JmK2GZ1dFKOGGpMzEHWFmyZZ59lUU0PdRr8YNYeQdNzTDwuxP2X2gzydTc9g== +"@babel/plugin-transform-template-literals@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.18.9.tgz#04ec6f10acdaa81846689d63fae117dd9c243a5e" + integrity sha512-S8cOWfT82gTezpYOiVaGHrCbhlHgKhQt8XH5ES46P2XWmX92yisoZywf5km75wv5sYcXDUCLMmMxOLCtthDgMA== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-typeof-symbol@^7.17.12": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.17.12.tgz#0f12f57ac35e98b35b4ed34829948d42bd0e6889" - integrity sha512-Q8y+Jp7ZdtSPXCThB6zjQ74N3lj0f6TDh1Hnf5B+sYlzQ8i5Pjp8gW0My79iekSpT4WnI06blqP6DT0OmaXXmw== +"@babel/plugin-transform-typeof-symbol@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.18.9.tgz#c8cea68263e45addcd6afc9091429f80925762c0" + integrity sha512-SRfwTtF11G2aemAZWivL7PD+C9z52v9EvMqH9BuYbabyPuKUvSWks3oCg6041pT925L4zVFqaVBeECwsmlguEw== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-typescript@^7.17.12": - version "7.18.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.18.4.tgz#587eaf6a39edb8c06215e550dc939faeadd750bf" - integrity sha512-l4vHuSLUajptpHNEOUDEGsnpl9pfRLsN1XUoDQDD/YBuXTM+v37SHGS+c6n4jdcZy96QtuUuSvZYMLSSsjH8Mw== +"@babel/plugin-transform-typescript@^7.18.6": + version "7.20.2" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.20.2.tgz#91515527b376fc122ba83b13d70b01af8fe98f3f" + integrity sha512-jvS+ngBfrnTUBfOQq8NfGnSbF9BrqlR6hjJ2yVxMkmO5nL/cdifNbI30EfjRlN4g5wYWNnMPyj5Sa6R1pbLeag== dependencies: - "@babel/helper-create-class-features-plugin" "^7.18.0" - "@babel/helper-plugin-utils" "^7.17.12" - "@babel/plugin-syntax-typescript" "^7.17.12" + "@babel/helper-create-class-features-plugin" "^7.20.2" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/plugin-syntax-typescript" "^7.20.0" -"@babel/plugin-transform-unicode-escapes@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.16.7.tgz#da8717de7b3287a2c6d659750c964f302b31ece3" - integrity sha512-TAV5IGahIz3yZ9/Hfv35TV2xEm+kaBDaZQCn2S/hG9/CZ0DktxJv9eKfPc7yYCvOYR4JGx1h8C+jcSOvgaaI/Q== +"@babel/plugin-transform-unicode-escapes@^7.18.10": + version "7.18.10" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.18.10.tgz#1ecfb0eda83d09bbcb77c09970c2dd55832aa246" + integrity sha512-kKAdAI+YzPgGY/ftStBFXTI1LZFju38rYThnfMykS+IXy8BVx+res7s2fxf1l8I35DV2T97ezo6+SGrXz6B3iQ== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.18.9" -"@babel/plugin-transform-unicode-regex@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.16.7.tgz#0f7aa4a501198976e25e82702574c34cfebe9ef2" - integrity sha512-oC5tYYKw56HO75KZVLQ+R/Nl3Hro9kf8iG0hXoaHP7tjAyCpvqBiSNe6vGrZni1Z6MggmUOC6A7VP7AVmw225Q== +"@babel/plugin-transform-unicode-regex@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.18.6.tgz#194317225d8c201bbae103364ffe9e2cea36cdca" + integrity sha512-gE7A6Lt7YLnNOL3Pb9BNeZvi+d8l7tcRrG4+pwJjK9hD2xX4mEvjlQW60G9EEmfXVYRPv9VRQcyegIVHCql/AA== dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-create-regexp-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" "@babel/preset-env@^7.12.11": - version "7.18.2" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.18.2.tgz#f47d3000a098617926e674c945d95a28cb90977a" - integrity sha512-PfpdxotV6afmXMU47S08F9ZKIm2bJIQ0YbAAtDfIENX7G1NUAXigLREh69CWDjtgUy7dYn7bsMzkgdtAlmS68Q== + version "7.20.2" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.20.2.tgz#9b1642aa47bb9f43a86f9630011780dab7f86506" + integrity sha512-1G0efQEWR1EHkKvKHqbG+IN/QdgwfByUpM5V5QroDzGV2t3S/WXNQd693cHiHTlCFMpr9B6FkPFXDA2lQcKoDg== dependencies: - "@babel/compat-data" "^7.17.10" - "@babel/helper-compilation-targets" "^7.18.2" - "@babel/helper-plugin-utils" "^7.17.12" - "@babel/helper-validator-option" "^7.16.7" - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.17.12" - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.17.12" - "@babel/plugin-proposal-async-generator-functions" "^7.17.12" - "@babel/plugin-proposal-class-properties" "^7.17.12" - "@babel/plugin-proposal-class-static-block" "^7.18.0" - "@babel/plugin-proposal-dynamic-import" "^7.16.7" - "@babel/plugin-proposal-export-namespace-from" "^7.17.12" - "@babel/plugin-proposal-json-strings" "^7.17.12" - "@babel/plugin-proposal-logical-assignment-operators" "^7.17.12" - "@babel/plugin-proposal-nullish-coalescing-operator" "^7.17.12" - "@babel/plugin-proposal-numeric-separator" "^7.16.7" - "@babel/plugin-proposal-object-rest-spread" "^7.18.0" - "@babel/plugin-proposal-optional-catch-binding" "^7.16.7" - "@babel/plugin-proposal-optional-chaining" "^7.17.12" - "@babel/plugin-proposal-private-methods" "^7.17.12" - "@babel/plugin-proposal-private-property-in-object" "^7.17.12" - "@babel/plugin-proposal-unicode-property-regex" "^7.17.12" + "@babel/compat-data" "^7.20.1" + "@babel/helper-compilation-targets" "^7.20.0" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-validator-option" "^7.18.6" + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.18.6" + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.18.9" + "@babel/plugin-proposal-async-generator-functions" "^7.20.1" + "@babel/plugin-proposal-class-properties" "^7.18.6" + "@babel/plugin-proposal-class-static-block" "^7.18.6" + "@babel/plugin-proposal-dynamic-import" "^7.18.6" + "@babel/plugin-proposal-export-namespace-from" "^7.18.9" + "@babel/plugin-proposal-json-strings" "^7.18.6" + "@babel/plugin-proposal-logical-assignment-operators" "^7.18.9" + "@babel/plugin-proposal-nullish-coalescing-operator" "^7.18.6" + "@babel/plugin-proposal-numeric-separator" "^7.18.6" + "@babel/plugin-proposal-object-rest-spread" "^7.20.2" + "@babel/plugin-proposal-optional-catch-binding" "^7.18.6" + "@babel/plugin-proposal-optional-chaining" "^7.18.9" + "@babel/plugin-proposal-private-methods" "^7.18.6" + "@babel/plugin-proposal-private-property-in-object" "^7.18.6" + "@babel/plugin-proposal-unicode-property-regex" "^7.18.6" "@babel/plugin-syntax-async-generators" "^7.8.4" "@babel/plugin-syntax-class-properties" "^7.12.13" "@babel/plugin-syntax-class-static-block" "^7.14.5" "@babel/plugin-syntax-dynamic-import" "^7.8.3" "@babel/plugin-syntax-export-namespace-from" "^7.8.3" - "@babel/plugin-syntax-import-assertions" "^7.17.12" + "@babel/plugin-syntax-import-assertions" "^7.20.0" "@babel/plugin-syntax-json-strings" "^7.8.3" "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" @@ -967,54 +886,54 @@ "@babel/plugin-syntax-optional-chaining" "^7.8.3" "@babel/plugin-syntax-private-property-in-object" "^7.14.5" "@babel/plugin-syntax-top-level-await" "^7.14.5" - "@babel/plugin-transform-arrow-functions" "^7.17.12" - "@babel/plugin-transform-async-to-generator" "^7.17.12" - "@babel/plugin-transform-block-scoped-functions" "^7.16.7" - "@babel/plugin-transform-block-scoping" "^7.17.12" - "@babel/plugin-transform-classes" "^7.17.12" - "@babel/plugin-transform-computed-properties" "^7.17.12" - "@babel/plugin-transform-destructuring" "^7.18.0" - "@babel/plugin-transform-dotall-regex" "^7.16.7" - "@babel/plugin-transform-duplicate-keys" "^7.17.12" - "@babel/plugin-transform-exponentiation-operator" "^7.16.7" - "@babel/plugin-transform-for-of" "^7.18.1" - "@babel/plugin-transform-function-name" "^7.16.7" - "@babel/plugin-transform-literals" "^7.17.12" - "@babel/plugin-transform-member-expression-literals" "^7.16.7" - "@babel/plugin-transform-modules-amd" "^7.18.0" - "@babel/plugin-transform-modules-commonjs" "^7.18.2" - "@babel/plugin-transform-modules-systemjs" "^7.18.0" - "@babel/plugin-transform-modules-umd" "^7.18.0" - "@babel/plugin-transform-named-capturing-groups-regex" "^7.17.12" - "@babel/plugin-transform-new-target" "^7.17.12" - "@babel/plugin-transform-object-super" "^7.16.7" - "@babel/plugin-transform-parameters" "^7.17.12" - "@babel/plugin-transform-property-literals" "^7.16.7" - "@babel/plugin-transform-regenerator" "^7.18.0" - "@babel/plugin-transform-reserved-words" "^7.17.12" - "@babel/plugin-transform-shorthand-properties" "^7.16.7" - "@babel/plugin-transform-spread" "^7.17.12" - "@babel/plugin-transform-sticky-regex" "^7.16.7" - "@babel/plugin-transform-template-literals" "^7.18.2" - "@babel/plugin-transform-typeof-symbol" "^7.17.12" - "@babel/plugin-transform-unicode-escapes" "^7.16.7" - "@babel/plugin-transform-unicode-regex" "^7.16.7" + "@babel/plugin-transform-arrow-functions" "^7.18.6" + "@babel/plugin-transform-async-to-generator" "^7.18.6" + "@babel/plugin-transform-block-scoped-functions" "^7.18.6" + "@babel/plugin-transform-block-scoping" "^7.20.2" + "@babel/plugin-transform-classes" "^7.20.2" + "@babel/plugin-transform-computed-properties" "^7.18.9" + "@babel/plugin-transform-destructuring" "^7.20.2" + "@babel/plugin-transform-dotall-regex" "^7.18.6" + "@babel/plugin-transform-duplicate-keys" "^7.18.9" + "@babel/plugin-transform-exponentiation-operator" "^7.18.6" + "@babel/plugin-transform-for-of" "^7.18.8" + "@babel/plugin-transform-function-name" "^7.18.9" + "@babel/plugin-transform-literals" "^7.18.9" + "@babel/plugin-transform-member-expression-literals" "^7.18.6" + "@babel/plugin-transform-modules-amd" "^7.19.6" + "@babel/plugin-transform-modules-commonjs" "^7.19.6" + "@babel/plugin-transform-modules-systemjs" "^7.19.6" + "@babel/plugin-transform-modules-umd" "^7.18.6" + "@babel/plugin-transform-named-capturing-groups-regex" "^7.19.1" + "@babel/plugin-transform-new-target" "^7.18.6" + "@babel/plugin-transform-object-super" "^7.18.6" + "@babel/plugin-transform-parameters" "^7.20.1" + "@babel/plugin-transform-property-literals" "^7.18.6" + "@babel/plugin-transform-regenerator" "^7.18.6" + "@babel/plugin-transform-reserved-words" "^7.18.6" + "@babel/plugin-transform-shorthand-properties" "^7.18.6" + "@babel/plugin-transform-spread" "^7.19.0" + "@babel/plugin-transform-sticky-regex" "^7.18.6" + "@babel/plugin-transform-template-literals" "^7.18.9" + "@babel/plugin-transform-typeof-symbol" "^7.18.9" + "@babel/plugin-transform-unicode-escapes" "^7.18.10" + "@babel/plugin-transform-unicode-regex" "^7.18.6" "@babel/preset-modules" "^0.1.5" - "@babel/types" "^7.18.2" - babel-plugin-polyfill-corejs2 "^0.3.0" - babel-plugin-polyfill-corejs3 "^0.5.0" - babel-plugin-polyfill-regenerator "^0.3.0" - core-js-compat "^3.22.1" + "@babel/types" "^7.20.2" + babel-plugin-polyfill-corejs2 "^0.3.3" + babel-plugin-polyfill-corejs3 "^0.6.0" + babel-plugin-polyfill-regenerator "^0.4.1" + core-js-compat "^3.25.1" semver "^6.3.0" -"@babel/preset-flow@^7.12.1": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/preset-flow/-/preset-flow-7.17.12.tgz#664a5df59190260939eee862800a255bef3bd66f" - integrity sha512-7QDz7k4uiaBdu7N89VKjUn807pJRXmdirQu0KyR9LXnQrr5Jt41eIMKTS7ljej+H29erwmMrwq9Io9mJHLI3Lw== +"@babel/preset-flow@^7.12.1", "@babel/preset-flow@^7.13.13": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/preset-flow/-/preset-flow-7.18.6.tgz#83f7602ba566e72a9918beefafef8ef16d2810cb" + integrity sha512-E7BDhL64W6OUqpuyHnSroLnqyRTcG6ZdOBl1OKI/QK/HJfplqK/S3sq1Cckx7oTodJ5yOXyfw7rEADJ6UjoQDQ== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" - "@babel/helper-validator-option" "^7.16.7" - "@babel/plugin-transform-flow-strip-types" "^7.17.12" + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/helper-validator-option" "^7.18.6" + "@babel/plugin-transform-flow-strip-types" "^7.18.6" "@babel/preset-modules@^0.1.5": version "0.1.5" @@ -1028,30 +947,30 @@ esutils "^2.0.2" "@babel/preset-react@^7.12.10": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.17.12.tgz#62adbd2d1870c0de3893095757ed5b00b492ab3d" - integrity sha512-h5U+rwreXtZaRBEQhW1hOJLMq8XNJBQ/9oymXiCXTuT/0uOwpbT0gUt+sXeOqoXBgNuUKI7TaObVwoEyWkpFgA== + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.18.6.tgz#979f76d6277048dc19094c217b507f3ad517dd2d" + integrity sha512-zXr6atUmyYdiWRVLOZahakYmOBHtWc2WGCkP8PYTgZi0iJXDY2CN180TdrIW4OGOAdLc7TifzDIvtx6izaRIzg== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" - "@babel/helper-validator-option" "^7.16.7" - "@babel/plugin-transform-react-display-name" "^7.16.7" - "@babel/plugin-transform-react-jsx" "^7.17.12" - "@babel/plugin-transform-react-jsx-development" "^7.16.7" - "@babel/plugin-transform-react-pure-annotations" "^7.16.7" + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/helper-validator-option" "^7.18.6" + "@babel/plugin-transform-react-display-name" "^7.18.6" + "@babel/plugin-transform-react-jsx" "^7.18.6" + "@babel/plugin-transform-react-jsx-development" "^7.18.6" + "@babel/plugin-transform-react-pure-annotations" "^7.18.6" -"@babel/preset-typescript@^7.12.7": - version "7.17.12" - resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.17.12.tgz#40269e0a0084d56fc5731b6c40febe1c9a4a3e8c" - integrity sha512-S1ViF8W2QwAKUGJXxP9NAfNaqGDdEBJKpYkxHf5Yy2C4NPPzXGeR3Lhk7G8xJaaLcFTRfNjVbtbVtm8Gb0mqvg== +"@babel/preset-typescript@^7.13.0": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.18.6.tgz#ce64be3e63eddc44240c6358daefac17b3186399" + integrity sha512-s9ik86kXBAnD760aybBucdpnLsAt0jK1xqJn2juOn9lkOvSHV60os5hxoVJsPzMQxvnUJFAlkont2DvvaYEBtQ== dependencies: - "@babel/helper-plugin-utils" "^7.17.12" - "@babel/helper-validator-option" "^7.16.7" - "@babel/plugin-transform-typescript" "^7.17.12" + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/helper-validator-option" "^7.18.6" + "@babel/plugin-transform-typescript" "^7.18.6" -"@babel/register@^7.12.1": - version "7.17.7" - resolved "https://registry.yarnpkg.com/@babel/register/-/register-7.17.7.tgz#5eef3e0f4afc07e25e847720e7b987ae33f08d0b" - integrity sha512-fg56SwvXRifootQEDQAu1mKdjh5uthPzdO0N6t358FktfL4XjAVXuH58ULoiW8mesxiOgNIrxiImqEwv0+hRRA== +"@babel/register@^7.13.16": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/register/-/register-7.18.9.tgz#1888b24bc28d5cc41c412feb015e9ff6b96e439c" + integrity sha512-ZlbnXDcNYHMR25ITwwNKT88JiaukkdVj/nG7r3wnuXkOTHc60Uy05PwMCPre0hSkY68E6zK3xz+vUJSP2jWmcw== dependencies: clone-deep "^4.0.1" find-cache-dir "^2.0.0" @@ -1059,44 +978,59 @@ pirates "^4.0.5" source-map-support "^0.5.16" -"@babel/runtime@^7.12.5", "@babel/runtime@^7.13.10", "@babel/runtime@^7.14.8", "@babel/runtime@^7.3.1", "@babel/runtime@^7.5.0", "@babel/runtime@^7.7.2", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.4": - version "7.18.3" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.18.3.tgz#c7b654b57f6f63cf7f8b418ac9ca04408c4579f4" - integrity sha512-38Y8f7YUhce/K7RMwTp7m0uCumpv9hZkitCbBClqQIow1qSbCvGkcegKOXpEWCQLfWmevgRiWokZ1GkpfhbZug== +"@babel/runtime@7.7.2": + version "7.7.2" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.7.2.tgz#111a78002a5c25fc8e3361bedc9529c696b85a6a" + integrity sha512-JONRbXbTXc9WQE2mAZd1p0Z3DZ/6vaQIkgYMSTP3KjRCyd7rCZCcfhCyX+YjwcKxcZ82UrxbRD358bpExNgrjw== dependencies: - regenerator-runtime "^0.13.4" + regenerator-runtime "^0.13.2" -"@babel/template@^7.12.7", "@babel/template@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.16.7.tgz#8d126c8701fde4d66b264b3eba3d96f07666d155" - integrity sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w== +"@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.14.8", "@babel/runtime@^7.17.8", "@babel/runtime@^7.18.3", "@babel/runtime@^7.3.1", "@babel/runtime@^7.5.0", "@babel/runtime@^7.6.2", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.4": + version "7.20.1" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.1.tgz#1148bb33ab252b165a06698fde7576092a78b4a9" + integrity sha512-mrzLkl6U9YLF8qpqI7TB82PESyEGjm/0Ly91jG575eVxMMlb8fYfOXFZIJ8XfLrJZQbm7dlKry2bJmXBUEkdFg== dependencies: - "@babel/code-frame" "^7.16.7" - "@babel/parser" "^7.16.7" - "@babel/types" "^7.16.7" + regenerator-runtime "^0.13.10" -"@babel/traverse@^7.1.6", "@babel/traverse@^7.12.11", "@babel/traverse@^7.12.9", "@babel/traverse@^7.13.0", "@babel/traverse@^7.16.8", "@babel/traverse@^7.18.0", "@babel/traverse@^7.18.2", "@babel/traverse@^7.18.5": - version "7.18.5" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.18.5.tgz#94a8195ad9642801837988ab77f36e992d9a20cd" - integrity sha512-aKXj1KT66sBj0vVzk6rEeAO6Z9aiiQ68wfDgge3nHhA/my6xMM/7HGQUNumKZaoa2qUPQ5whJG9aAifsxUKfLA== +"@babel/runtime@~7.5.4": + version "7.5.5" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.5.5.tgz#74fba56d35efbeca444091c7850ccd494fd2f132" + integrity sha512-28QvEGyQyNkB0/m2B4FU7IEZGK2NUrcMtT6BZEFALTguLk+AUT6ofsHtPk5QyjAdUkpMJ+/Em+quwz4HOt30AQ== dependencies: - "@babel/code-frame" "^7.16.7" - "@babel/generator" "^7.18.2" - "@babel/helper-environment-visitor" "^7.18.2" - "@babel/helper-function-name" "^7.17.9" - "@babel/helper-hoist-variables" "^7.16.7" - "@babel/helper-split-export-declaration" "^7.16.7" - "@babel/parser" "^7.18.5" - "@babel/types" "^7.18.4" + regenerator-runtime "^0.13.2" + +"@babel/template@^7.18.10": + version "7.18.10" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.18.10.tgz#6f9134835970d1dbf0835c0d100c9f38de0c5e71" + integrity sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/parser" "^7.18.10" + "@babel/types" "^7.18.10" + +"@babel/traverse@^7.1.6", "@babel/traverse@^7.12.11", "@babel/traverse@^7.19.0", "@babel/traverse@^7.19.1", "@babel/traverse@^7.20.1": + version "7.20.1" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.20.1.tgz#9b15ccbf882f6d107eeeecf263fbcdd208777ec8" + integrity sha512-d3tN8fkVJwFLkHkBN479SOsw4DMZnz8cdbL/gvuDuzy3TS6Nfw80HuQqhw1pITbIruHyh7d1fMA47kWzmcUEGA== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.20.1" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/parser" "^7.20.1" + "@babel/types" "^7.20.0" debug "^4.1.0" globals "^11.1.0" -"@babel/types@^7.12.11", "@babel/types@^7.12.7", "@babel/types@^7.16.0", "@babel/types@^7.16.7", "@babel/types@^7.16.8", "@babel/types@^7.17.0", "@babel/types@^7.17.12", "@babel/types@^7.18.0", "@babel/types@^7.18.2", "@babel/types@^7.18.4", "@babel/types@^7.2.0", "@babel/types@^7.4.4": - version "7.18.4" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.18.4.tgz#27eae9b9fd18e9dccc3f9d6ad051336f307be354" - integrity sha512-ThN1mBcMq5pG/Vm2IcBmPPfyPXbd8S02rS+OBIDENdufvqC7Z/jHPCv9IcP01277aKtDI8g/2XysBN4hA8niiw== +"@babel/types@^7.0.0", "@babel/types@^7.12.11", "@babel/types@^7.18.10", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.2.0", "@babel/types@^7.20.0", "@babel/types@^7.20.2", "@babel/types@^7.3.0", "@babel/types@^7.4.4": + version "7.20.2" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.20.2.tgz#67ac09266606190f496322dbaff360fdaa5e7842" + integrity sha512-FnnvsNWgZCr232sqtXggapvlkk/tuwR/qhGzcmxI0GXLCjmPYQPzio2FbdlWuY6y1sHFfQKk+rRbUZ9VStQMog== dependencies: - "@babel/helper-validator-identifier" "^7.16.7" + "@babel/helper-string-parser" "^7.19.4" + "@babel/helper-validator-identifier" "^7.19.1" to-fast-properties "^2.0.0" "@base2/pretty-print-object@1.0.1": @@ -1114,6 +1048,52 @@ resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5da43d25f97bdbd9" integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ== +"@design-systems/utils@2.12.0": + version "2.12.0" + resolved "https://registry.yarnpkg.com/@design-systems/utils/-/utils-2.12.0.tgz#955c108be07cb8f01532207cbfea8f848fa760c9" + integrity sha512-Y/d2Zzr+JJfN6u1gbuBUb1ufBuLMJJRZQk+dRmw8GaTpqKx5uf7cGUYGTwN02dIb3I+Tf+cW8jcGBTRiFxdYFg== + dependencies: + "@babel/runtime" "^7.11.2" + clsx "^1.0.4" + focus-lock "^0.8.0" + react-merge-refs "^1.0.0" + +"@devtools-ds/object-inspector@^1.1.2": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@devtools-ds/object-inspector/-/object-inspector-1.2.0.tgz#64a132fbd4159affa5a87c8cf6cf8540c337aed2" + integrity sha512-VztcwqVwScSvYdvJVZBJYsVO/2Pew3JPpFV3T9fuCHQLlHcLYOV3aU/kBS2ScuE2O1JN0ZbobLqFLa3vQF54Fw== + dependencies: + "@babel/runtime" "7.7.2" + "@devtools-ds/object-parser" "^1.2.0" + "@devtools-ds/themes" "^1.2.0" + "@devtools-ds/tree" "^1.2.0" + clsx "1.1.0" + +"@devtools-ds/object-parser@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@devtools-ds/object-parser/-/object-parser-1.2.0.tgz#8da39bf481687afdf113c78dbac5ced6fd8e30d1" + integrity sha512-SjGGyiFFY8dtUpiWXAvRSzRT+hE11EAAysrq2PsC/GVLf2ZLyT2nHlQO5kDStywyTz+fjw7S7pyDRj1HG9YTTA== + dependencies: + "@babel/runtime" "~7.5.4" + +"@devtools-ds/themes@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@devtools-ds/themes/-/themes-1.2.0.tgz#2fda60af9741e97bc09257b512e49a7aecf6f4bc" + integrity sha512-LimEITorE6yWZWWuMc6OiBfLQgPrQqWbyMEmfRUDPa3PHXoAY4SpDxczfg31fgyRDUNWnZhjaJH5bBbu8VEbIw== + dependencies: + "@babel/runtime" "~7.5.4" + "@design-systems/utils" "2.12.0" + clsx "1.1.0" + +"@devtools-ds/tree@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@devtools-ds/tree/-/tree-1.2.0.tgz#e882d10ae13a30f2aa02e75c3eeb6c44a47a80c3" + integrity sha512-hC4g4ocuo2eg7jsnzKdauxH0sDQiPW3KSM2+uK3kRgcmr9PzpBD5Kob+Y/WFSVKswFleftOGKL4BQLuRv0sPxA== + dependencies: + "@babel/runtime" "7.7.2" + "@devtools-ds/themes" "^1.2.0" + clsx "1.1.0" + "@discoveryjs/json-ext@^0.5.0", "@discoveryjs/json-ext@^0.5.3": version "0.5.7" resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b7704e0ba0f39b74815b84870d70" @@ -1158,39 +1138,39 @@ dependencies: tslib "^2.0.0" -"@emotion/babel-plugin@^11.7.1": - version "11.9.2" - resolved "https://registry.yarnpkg.com/@emotion/babel-plugin/-/babel-plugin-11.9.2.tgz#723b6d394c89fb2ef782229d92ba95a740576e95" - integrity sha512-Pr/7HGH6H6yKgnVFNEj2MVlreu3ADqftqjqwUvDy/OJzKFgxKeTQ+eeUf20FOTuHVkDON2iNa25rAXVYtWJCjw== +"@emotion/babel-plugin@^11.10.5": + version "11.10.5" + resolved "https://registry.yarnpkg.com/@emotion/babel-plugin/-/babel-plugin-11.10.5.tgz#65fa6e1790ddc9e23cc22658a4c5dea423c55c3c" + integrity sha512-xE7/hyLHJac7D2Ve9dKroBBZqBT7WuPQmWcq7HSGb84sUuP4mlOWoB8dvVfD9yk5DHkU1m6RW7xSoDtnQHNQeA== dependencies: - "@babel/helper-module-imports" "^7.12.13" - "@babel/plugin-syntax-jsx" "^7.12.13" - "@babel/runtime" "^7.13.10" - "@emotion/hash" "^0.8.0" - "@emotion/memoize" "^0.7.5" - "@emotion/serialize" "^1.0.2" - babel-plugin-macros "^2.6.1" + "@babel/helper-module-imports" "^7.16.7" + "@babel/plugin-syntax-jsx" "^7.17.12" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/serialize" "^1.1.1" + babel-plugin-macros "^3.1.0" convert-source-map "^1.5.0" escape-string-regexp "^4.0.0" find-root "^1.1.0" source-map "^0.5.7" - stylis "4.0.13" + stylis "4.1.3" -"@emotion/cache@^11.9.3": - version "11.9.3" - resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-11.9.3.tgz#96638449f6929fd18062cfe04d79b29b44c0d6cb" - integrity sha512-0dgkI/JKlCXa+lEXviaMtGBL0ynpx4osh7rjOXE71q9bIF8G+XhJgvi+wDu0B0IdCVx37BffiwXlN9I3UuzFvg== +"@emotion/cache@^11.10.5": + version "11.10.5" + resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-11.10.5.tgz#c142da9351f94e47527ed458f7bbbbe40bb13c12" + integrity sha512-dGYHWyzTdmK+f2+EnIGBpkz1lKc4Zbj2KHd4cX3Wi8/OWr5pKslNjc3yABKH4adRGCvSX4VDC0i04mrrq0aiRA== dependencies: - "@emotion/memoize" "^0.7.4" - "@emotion/sheet" "^1.1.1" - "@emotion/utils" "^1.0.0" - "@emotion/weak-memoize" "^0.2.5" - stylis "4.0.13" + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.1" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.1.3" -"@emotion/hash@^0.8.0": - version "0.8.0" - resolved "https://registry.yarnpkg.com/@emotion/hash/-/hash-0.8.0.tgz#bbbff68978fefdbe68ccb533bc8cbe1d1afb5413" - integrity sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow== +"@emotion/hash@^0.9.0": + version "0.9.0" + resolved "https://registry.yarnpkg.com/@emotion/hash/-/hash-0.9.0.tgz#c5153d50401ee3c027a57a177bc269b16d889cb7" + integrity sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ== "@emotion/is-prop-valid@^0.8.2": version "0.8.8" @@ -1204,65 +1184,138 @@ resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.7.4.tgz#19bf0f5af19149111c40d98bb0cf82119f5d9eeb" integrity sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw== -"@emotion/memoize@^0.7.4", "@emotion/memoize@^0.7.5": - version "0.7.5" - resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.7.5.tgz#2c40f81449a4e554e9fc6396910ed4843ec2be50" - integrity sha512-igX9a37DR2ZPGYtV6suZ6whr8pTFtyHL3K/oLUotxpSVO2ASaprmAe2Dkq7tBo7CRY7MMDrAa9nuQP9/YG8FxQ== +"@emotion/memoize@^0.8.0": + version "0.8.0" + resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.8.0.tgz#f580f9beb67176fa57aae70b08ed510e1b18980f" + integrity sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA== "@emotion/react@^11.9.0": - version "11.9.3" - resolved "https://registry.yarnpkg.com/@emotion/react/-/react-11.9.3.tgz#f4f4f34444f6654a2e550f5dab4f2d360c101df9" - integrity sha512-g9Q1GcTOlzOEjqwuLF/Zd9LC+4FljjPjDfxSM7KmEakm+hsHXk+bYZ2q+/hTJzr0OUNkujo72pXLQvXj6H+GJQ== + version "11.10.5" + resolved "https://registry.yarnpkg.com/@emotion/react/-/react-11.10.5.tgz#95fff612a5de1efa9c0d535384d3cfa115fe175d" + integrity sha512-TZs6235tCJ/7iF6/rvTaOH4oxQg2gMAcdHemjwLKIjKz4rRuYe1HJ2TQJKnAcRAfOUDdU8XoDadCe1rl72iv8A== dependencies: - "@babel/runtime" "^7.13.10" - "@emotion/babel-plugin" "^11.7.1" - "@emotion/cache" "^11.9.3" - "@emotion/serialize" "^1.0.4" - "@emotion/utils" "^1.1.0" - "@emotion/weak-memoize" "^0.2.5" + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.5" + "@emotion/cache" "^11.10.5" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" hoist-non-react-statics "^3.3.1" -"@emotion/serialize@^1.0.2", "@emotion/serialize@^1.0.4": - version "1.0.4" - resolved "https://registry.yarnpkg.com/@emotion/serialize/-/serialize-1.0.4.tgz#ff31fd11bb07999611199c2229e152faadc21a3c" - integrity sha512-1JHamSpH8PIfFwAMryO2bNka+y8+KA5yga5Ocf2d7ZEiJjb7xlLW7aknBGZqJLajuLOvJ+72vN+IBSwPlXD1Pg== +"@emotion/serialize@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@emotion/serialize/-/serialize-1.1.1.tgz#0595701b1902feded8a96d293b26be3f5c1a5cf0" + integrity sha512-Zl/0LFggN7+L1liljxXdsVSVlg6E/Z/olVWpfxUTxOAmi8NU7YoeWeLfi1RmnB2TATHoaWwIBRoL+FvAJiTUQA== dependencies: - "@emotion/hash" "^0.8.0" - "@emotion/memoize" "^0.7.4" - "@emotion/unitless" "^0.7.5" - "@emotion/utils" "^1.0.0" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/unitless" "^0.8.0" + "@emotion/utils" "^1.2.0" csstype "^3.0.2" -"@emotion/sheet@^1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-1.1.1.tgz#015756e2a9a3c7c5f11d8ec22966a8dbfbfac787" - integrity sha512-J3YPccVRMiTZxYAY0IOq3kd+hUP8idY8Kz6B/Cyo+JuXq52Ek+zbPbSQUrVQp95aJ+lsAW7DPL1P2Z+U1jGkKA== +"@emotion/sheet@^1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-1.2.1.tgz#0767e0305230e894897cadb6c8df2c51e61a6c2c" + integrity sha512-zxRBwl93sHMsOj4zs+OslQKg/uhF38MB+OMKoCrVuS0nyTkqnau+BM3WGEoOptg9Oz45T/aIGs1qbVAsEFo3nA== -"@emotion/unitless@^0.7.5": - version "0.7.5" - resolved "https://registry.yarnpkg.com/@emotion/unitless/-/unitless-0.7.5.tgz#77211291c1900a700b8a78cfafda3160d76949ed" - integrity sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg== +"@emotion/unitless@^0.8.0": + version "0.8.0" + resolved "https://registry.yarnpkg.com/@emotion/unitless/-/unitless-0.8.0.tgz#a4a36e9cbdc6903737cd20d38033241e1b8833db" + integrity sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw== -"@emotion/utils@^1.0.0", "@emotion/utils@^1.1.0": +"@emotion/use-insertion-effect-with-fallbacks@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz#ffadaec35dbb7885bd54de3fa267ab2f860294df" + integrity sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A== + +"@emotion/utils@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@emotion/utils/-/utils-1.2.0.tgz#9716eaccbc6b5ded2ea5a90d65562609aab0f561" + integrity sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw== + +"@emotion/weak-memoize@^0.3.0": + version "0.3.0" + resolved "https://registry.yarnpkg.com/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz#ea89004119dc42db2e1dba0f97d553f7372f6fcb" + integrity sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg== + +"@esbuild/linux-loong64@0.14.54": + version "0.14.54" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.14.54.tgz#de2a4be678bd4d0d1ffbb86e6de779cde5999028" + integrity sha512-bZBrLAIX1kpWelV0XemxBZllyRmM6vgFQQG2GdNb+r3Fkp0FOh1NJSvekXDs7jq70k4euu1cryLMfU+mTXlEpw== + +"@fal-works/esbuild-plugin-global-externals@^2.1.2": + version "2.1.2" + resolved "https://registry.yarnpkg.com/@fal-works/esbuild-plugin-global-externals/-/esbuild-plugin-global-externals-2.1.2.tgz#c05ed35ad82df8e6ac616c68b92c2282bd083ba4" + integrity sha512-cEee/Z+I12mZcFJshKcCqC8tuX5hG3s+d+9nZ3LabqKF1vKdF41B92pJVCBggjAGORAeOzyyDDKrZwIkLffeOQ== + +"@istanbuljs/load-nyc-config@^1.0.0": version "1.1.0" - resolved "https://registry.yarnpkg.com/@emotion/utils/-/utils-1.1.0.tgz#86b0b297f3f1a0f2bdb08eeac9a2f49afd40d0cf" - integrity sha512-iRLa/Y4Rs5H/f2nimczYmS5kFJEbpiVvgN3XVfZ022IYhuNA1IRSHEizcof88LtCTXtl9S2Cxt32KgaXEu72JQ== - -"@emotion/weak-memoize@^0.2.5": - version "0.2.5" - resolved "https://registry.yarnpkg.com/@emotion/weak-memoize/-/weak-memoize-0.2.5.tgz#8eed982e2ee6f7f4e44c253e12962980791efd46" - integrity sha512-6U71C2Wp7r5XtFtQzYrW5iKFT67OixrSxjI4MptCHzdSVlgabczzqLe0ZSgnub/5Kp4hSbpDB1tMytZY9pwxxA== - -"@gar/promisify@^1.0.1": - version "1.1.3" - resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6" - integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw== + resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced" + integrity sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ== + dependencies: + camelcase "^5.3.1" + find-up "^4.1.0" + get-package-type "^0.1.0" + js-yaml "^3.13.1" + resolve-from "^5.0.0" "@istanbuljs/schema@^0.1.2", "@istanbuljs/schema@^0.1.3": version "0.1.3" resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== +"@jest/schemas@^28.1.3": + version "28.1.3" + resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-28.1.3.tgz#ad8b86a66f11f33619e3d7e1dcddd7f2d40ff905" + integrity sha512-/l/VWsdt/aBXgjshLWOFyFt3IVdYypu5y2Wn2rOO1un6nkqIn8SLXzgIMYXFyYsRWDyF5EthmKJMIdJvk08grg== + dependencies: + "@sinclair/typebox" "^0.24.1" + +"@jest/transform@^28.0.0": + version "28.1.3" + resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-28.1.3.tgz#59d8098e50ab07950e0f2fc0fc7ec462371281b0" + integrity sha512-u5dT5di+oFI6hfcLOHGTAfmUxFRrjK+vnaP0kkVow9Md/M7V/MxqQMOz/VV25UZO8pzeA9PjfTpOu6BDuwSPQA== + dependencies: + "@babel/core" "^7.11.6" + "@jest/types" "^28.1.3" + "@jridgewell/trace-mapping" "^0.3.13" + babel-plugin-istanbul "^6.1.1" + chalk "^4.0.0" + convert-source-map "^1.4.0" + fast-json-stable-stringify "^2.0.0" + graceful-fs "^4.2.9" + jest-haste-map "^28.1.3" + jest-regex-util "^28.0.2" + jest-util "^28.1.3" + micromatch "^4.0.4" + pirates "^4.0.4" + slash "^3.0.0" + write-file-atomic "^4.0.1" + +"@jest/types@^27.5.1": + version "27.5.1" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-27.5.1.tgz#3c79ec4a8ba61c170bf937bcf9e98a9df175ec80" + integrity sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw== + dependencies: + "@types/istanbul-lib-coverage" "^2.0.0" + "@types/istanbul-reports" "^3.0.0" + "@types/node" "*" + "@types/yargs" "^16.0.0" + chalk "^4.0.0" + +"@jest/types@^28.1.3": + version "28.1.3" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-28.1.3.tgz#b05de80996ff12512bc5ceb1d208285a7d11748b" + integrity sha512-RyjiyMUZrKz/c+zlMFO1pm70DcIlST8AeWTkoUdZevew44wcNZQHsEVOiCVtgVnlFFD82FPaXycys58cf2muVQ== + dependencies: + "@jest/schemas" "^28.1.3" + "@types/istanbul-lib-coverage" "^2.0.0" + "@types/istanbul-reports" "^3.0.0" + "@types/node" "*" + "@types/yargs" "^17.0.8" + chalk "^4.0.0" + "@jridgewell/gen-mapping@^0.1.0": version "0.1.1" resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz#e5d2e450306a9491e3bd77e323e38d7aff315996" @@ -1271,24 +1324,24 @@ "@jridgewell/set-array" "^1.0.0" "@jridgewell/sourcemap-codec" "^1.4.10" -"@jridgewell/gen-mapping@^0.3.0": - version "0.3.1" - resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.1.tgz#cf92a983c83466b8c0ce9124fadeaf09f7c66ea9" - integrity sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg== +"@jridgewell/gen-mapping@^0.3.0", "@jridgewell/gen-mapping@^0.3.2": + version "0.3.2" + resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz#c1aedc61e853f2bb9f5dfe6d4442d3b565b253b9" + integrity sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A== dependencies: - "@jridgewell/set-array" "^1.0.0" + "@jridgewell/set-array" "^1.0.1" "@jridgewell/sourcemap-codec" "^1.4.10" "@jridgewell/trace-mapping" "^0.3.9" -"@jridgewell/resolve-uri@^3.0.3": - version "3.0.7" - resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.0.7.tgz#30cd49820a962aff48c8fffc5cd760151fca61fe" - integrity sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA== +"@jridgewell/resolve-uri@3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" + integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== -"@jridgewell/set-array@^1.0.0": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.1.tgz#36a6acc93987adcf0ba50c66908bd0b70de8afea" - integrity sha512-Ct5MqZkLGEXTVmQYbGtx9SVqD2fqwvdubdps5D3djjAkgkKwT918VNOz65pEHFaYTeWcukmJmH5SwsA9Tn2ObQ== +"@jridgewell/set-array@^1.0.0", "@jridgewell/set-array@^1.0.1": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72" + integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== "@jridgewell/source-map@^0.3.2": version "0.3.2" @@ -1298,61 +1351,107 @@ "@jridgewell/gen-mapping" "^0.3.0" "@jridgewell/trace-mapping" "^0.3.9" -"@jridgewell/sourcemap-codec@^1.4.10": - version "1.4.13" - resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.13.tgz#b6461fb0c2964356c469e115f504c95ad97ab88c" - integrity sha512-GryiOJmNcWbovBxTfZSF71V/mXbgcV3MewDe3kIMCLyIh5e7SKAeUZs+rMnJ8jkMolZ/4/VsdBmMrw3l+VdZ3w== +"@jridgewell/sourcemap-codec@1.4.14", "@jridgewell/sourcemap-codec@^1.4.10": + version "1.4.14" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" + integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== -"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.7", "@jridgewell/trace-mapping@^0.3.9": - version "0.3.13" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.13.tgz#dcfe3e95f224c8fe97a87a5235defec999aa92ea" - integrity sha512-o1xbKhp9qnIAoHJSWd6KlCZfqslL4valSF81H8ImioOAxluWYWOpWkpyktY2vnt4tbrX9XYaxovq6cgowaJp2w== +"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.13", "@jridgewell/trace-mapping@^0.3.14", "@jridgewell/trace-mapping@^0.3.9": + version "0.3.17" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz#793041277af9073b0951a7fe0f0d8c4c98c36985" + integrity sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g== dependencies: - "@jridgewell/resolve-uri" "^3.0.3" - "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/resolve-uri" "3.1.0" + "@jridgewell/sourcemap-codec" "1.4.14" "@leichtgewicht/ip-codec@^2.0.1": version "2.0.4" resolved "https://registry.yarnpkg.com/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz#b2ac626d6cb9c8718ab459166d4bb405b8ffa78b" integrity sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A== -"@mdx-js/mdx@^1.6.22": - version "1.6.22" - resolved "https://registry.yarnpkg.com/@mdx-js/mdx/-/mdx-1.6.22.tgz#8a723157bf90e78f17dc0f27995398e6c731f1ba" - integrity sha512-AMxuLxPz2j5/6TpF/XSdKpQP1NlG0z11dFOlq+2IP/lSgl11GY8ji6S/rgsViN/L0BDvHvUMruRb7ub+24LUYA== +"@mdx-js/mdx@^2.0.0": + version "2.1.5" + resolved "https://registry.yarnpkg.com/@mdx-js/mdx/-/mdx-2.1.5.tgz#577937349fd555154382c2f805f5f52834a64903" + integrity sha512-zEG0lt+Bl/r5U6e0TOS7qDbsXICtemfAPquxWFsMbdzrvlWaqMGemLl+sjVpqlyaaiCiGVQBSGdCk0t1qXjkQg== dependencies: - "@babel/core" "7.12.9" - "@babel/plugin-syntax-jsx" "7.12.1" - "@babel/plugin-syntax-object-rest-spread" "7.8.3" - "@mdx-js/util" "1.6.22" - babel-plugin-apply-mdx-type-prop "1.6.22" - babel-plugin-extract-import-names "1.6.22" - camelcase-css "2.0.1" - detab "2.0.4" - hast-util-raw "6.0.1" - lodash.uniq "4.5.0" - mdast-util-to-hast "10.0.1" - remark-footnotes "2.0.0" - remark-mdx "1.6.22" - remark-parse "8.0.3" - remark-squeeze-paragraphs "4.0.0" - style-to-object "0.3.0" - unified "9.2.0" - unist-builder "2.0.3" - unist-util-visit "2.0.3" + "@types/estree-jsx" "^1.0.0" + "@types/mdx" "^2.0.0" + estree-util-build-jsx "^2.0.0" + estree-util-is-identifier-name "^2.0.0" + estree-util-to-js "^1.1.0" + estree-walker "^3.0.0" + hast-util-to-estree "^2.0.0" + markdown-extensions "^1.0.0" + periscopic "^3.0.0" + remark-mdx "^2.0.0" + remark-parse "^10.0.0" + remark-rehype "^10.0.0" + unified "^10.0.0" + unist-util-position-from-estree "^1.0.0" + unist-util-stringify-position "^3.0.0" + unist-util-visit "^4.0.0" + vfile "^5.0.0" -"@mdx-js/util@1.6.22": - version "1.6.22" - resolved "https://registry.yarnpkg.com/@mdx-js/util/-/util-1.6.22.tgz#219dfd89ae5b97a8801f015323ffa4b62f45718b" - integrity sha512-H1rQc1ZOHANWBvPcW+JpGwr+juXSxM8Q8YCkm3GhZd8REu1fHR3z99CErO1p9pkcfcxZnMdIZdIsXkOHY0NilA== - -"@mrmlnc/readdir-enhanced@^2.2.1": - version "2.2.1" - resolved "https://registry.yarnpkg.com/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde" - integrity sha512-bPHp6Ji8b41szTOcaP63VlnbbO5Ny6dwAATtY6JTjh5N2OLrb5Qk/Th5cRkRQhkWCt+EJsYrNB0MiL+Gpn6e3g== +"@mdx-js/react@^2.1.5": + version "2.1.5" + resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-2.1.5.tgz#8225a867dae6f845ae5b0ec15bb454c23be3f576" + integrity sha512-3Az1I6SAWA9R38rYjz5rXBrGKeZhq96CSSyQtqY+maPj8stBsoUH5pNcmIixuGkufYsh8F5+ka2CVPo2fycWZw== dependencies: - call-me-maybe "^1.0.1" - glob-to-regexp "^0.3.0" + "@types/mdx" "^2.0.0" + "@types/react" ">=16" + +"@motionone/animation@^10.12.0": + version "10.14.0" + resolved "https://registry.yarnpkg.com/@motionone/animation/-/animation-10.14.0.tgz#2f2a3517183bb58d82e389aac777fe0850079de6" + integrity sha512-h+1sdyBP8vbxEBW5gPFDnj+m2DCqdlAuf2g6Iafb1lcMnqjsRXWlPw1AXgvUMXmreyhqmPbJqoNfIKdytampRQ== + dependencies: + "@motionone/easing" "^10.14.0" + "@motionone/types" "^10.14.0" + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/dom@10.12.0": + version "10.12.0" + resolved "https://registry.yarnpkg.com/@motionone/dom/-/dom-10.12.0.tgz#ae30827fd53219efca4e1150a5ff2165c28351ed" + integrity sha512-UdPTtLMAktHiqV0atOczNYyDd/d8Cf5fFsd1tua03PqTwwCe/6lwhLSQ8a7TbnQ5SN0gm44N1slBfj+ORIhrqw== + dependencies: + "@motionone/animation" "^10.12.0" + "@motionone/generators" "^10.12.0" + "@motionone/types" "^10.12.0" + "@motionone/utils" "^10.12.0" + hey-listen "^1.0.8" + tslib "^2.3.1" + +"@motionone/easing@^10.14.0": + version "10.14.0" + resolved "https://registry.yarnpkg.com/@motionone/easing/-/easing-10.14.0.tgz#d8154b7f71491414f3cdee23bd3838d763fffd00" + integrity sha512-2vUBdH9uWTlRbuErhcsMmt1jvMTTqvGmn9fHq8FleFDXBlHFs5jZzHJT9iw+4kR1h6a4SZQuCf72b9ji92qNYA== + dependencies: + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/generators@^10.12.0": + version "10.14.0" + resolved "https://registry.yarnpkg.com/@motionone/generators/-/generators-10.14.0.tgz#e05d9dd56da78a4b92db99185848a0f3db62242d" + integrity sha512-6kRHezoFfIjFN7pPpaxmkdZXD36tQNcyJe3nwVqwJ+ZfC0e3rFmszR8kp9DEVFs9QL/akWjuGPSLBI1tvz+Vjg== + dependencies: + "@motionone/types" "^10.14.0" + "@motionone/utils" "^10.14.0" + tslib "^2.3.1" + +"@motionone/types@^10.12.0", "@motionone/types@^10.14.0": + version "10.14.0" + resolved "https://registry.yarnpkg.com/@motionone/types/-/types-10.14.0.tgz#148c34f3270b175397e49c3058b33fab405c21e3" + integrity sha512-3bNWyYBHtVd27KncnJLhksMFQ5o2MSdk1cA/IZqsHtA9DnRM1SYgN01CTcJ8Iw8pCXF5Ocp34tyAjY7WRpOJJQ== + +"@motionone/utils@^10.12.0", "@motionone/utils@^10.14.0": + version "10.14.0" + resolved "https://registry.yarnpkg.com/@motionone/utils/-/utils-10.14.0.tgz#a19a3464ed35b08506747b062d035c7bc9bbe708" + integrity sha512-sLWBLPzRqkxmOTRzSaD3LFQXCPHvDzyHJ1a3VP9PRzBxyVd2pv51/gMOsdAcxQ9n+MIeGJnxzXBYplUHKj4jkw== + dependencies: + "@motionone/types" "^10.14.0" + hey-listen "^1.0.8" + tslib "^2.3.1" "@nodelib/fs.scandir@2.1.5": version "2.1.5" @@ -1367,11 +1466,6 @@ resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b" integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== -"@nodelib/fs.stat@^1.1.2": - version "1.1.3" - resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b" - integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw== - "@nodelib/fs.walk@^1.2.3": version "1.2.8" resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" @@ -1380,71 +1474,314 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@npmcli/fs@^1.0.0": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@npmcli/fs/-/fs-1.1.1.tgz#72f719fe935e687c56a4faecf3c03d06ba593257" - integrity sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ== - dependencies: - "@gar/promisify" "^1.0.1" - semver "^7.3.5" - -"@npmcli/move-file@^1.0.1": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@npmcli/move-file/-/move-file-1.1.2.tgz#1a82c3e372f7cae9253eb66d72543d6b8685c674" - integrity sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg== - dependencies: - mkdirp "^1.0.4" - rimraf "^3.0.2" - -"@pmmmwh/react-refresh-webpack-plugin@^0.5.3", "@pmmmwh/react-refresh-webpack-plugin@^0.5.6": - version "0.5.7" - resolved "https://registry.yarnpkg.com/@pmmmwh/react-refresh-webpack-plugin/-/react-refresh-webpack-plugin-0.5.7.tgz#58f8217ba70069cc6a73f5d7e05e85b458c150e2" - integrity sha512-bcKCAzF0DV2IIROp9ZHkRJa6O4jy7NlnHdWL3GmcUxYWNjLXkK5kfELELwEfSP5hXPfVL/qOGMAROuMQb9GG8Q== +"@pmmmwh/react-refresh-webpack-plugin@^0.5.5": + version "0.5.9" + resolved "https://registry.yarnpkg.com/@pmmmwh/react-refresh-webpack-plugin/-/react-refresh-webpack-plugin-0.5.9.tgz#35aae6624a6270ca7ad755800b7eec417fa6f830" + integrity sha512-7QV4cqUwhkDIHpMAZ9mestSJ2DMIotVTbOUwbiudhjCRTAWWKIaBecELiEM2LT3AHFeOAaHIcFu4dbXjX+9GBA== dependencies: ansi-html-community "^0.0.8" common-path-prefix "^3.0.0" - core-js-pure "^3.8.1" + core-js-pure "^3.23.3" error-stack-parser "^2.0.6" find-up "^5.0.0" html-entities "^2.1.0" - loader-utils "^2.0.0" + loader-utils "^2.0.3" schema-utils "^3.0.0" source-map "^0.7.3" -"@popperjs/core@^2.11.5": - version "2.11.5" - resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.5.tgz#db5a11bf66bdab39569719555b0f76e138d7bd64" - integrity sha512-9X2obfABZuDVLCgPK9aX0a/x4jaOEweTTWE2+9sr0Qqqevj2Uv5XorvusThmc9XGYpS9yI+fhh8RTafBtGposw== - -"@storybook/addons@6.5.9", "@storybook/addons@^6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-6.5.9.tgz#5a9d7395c579a9cbc44dfc122362fb3c95dfb9d5" - integrity sha512-adwdiXg+mntfPocLc1KXjZXyLgGk7Aac699Fwe+OUYPEC5tW347Rm/kFatcE556d42o5czcRiq3ZSIGWnm9ieQ== +"@pnpm/network.ca-file@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@pnpm/network.ca-file/-/network.ca-file-1.0.1.tgz#16f88d057c68cd5419c1ef3dfa281296ea80b047" + integrity sha512-gkINruT2KUhZLTaiHxwCOh1O4NVnFT0wLjWFBHmTz9vpKag/C/noIMJXBxFe4F0mYpUVX2puLwAieLYFg2NvoA== dependencies: - "@storybook/api" "6.5.9" - "@storybook/channels" "6.5.9" - "@storybook/client-logger" "6.5.9" - "@storybook/core-events" "6.5.9" + graceful-fs "4.2.10" + +"@pnpm/npm-conf@^1.0.4": + version "1.0.5" + resolved "https://registry.yarnpkg.com/@pnpm/npm-conf/-/npm-conf-1.0.5.tgz#3475541fb71d7b6ce68acaaa3392eae9fedf3276" + integrity sha512-hD8ml183638O3R6/Txrh0L8VzGOrFXgRtRDG4qQC4tONdZ5Z1M+tlUUDUvrjYdmK6G+JTBTeaCLMna11cXzi8A== + dependencies: + "@pnpm/network.ca-file" "^1.0.1" + config-chain "^1.1.11" + +"@popperjs/core@^2.11.5": + version "2.11.6" + resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45" + integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw== + +"@react-aria/interactions@^3.13.0": + version "3.13.0" + resolved "https://registry.yarnpkg.com/@react-aria/interactions/-/interactions-3.13.0.tgz#897ee2b4a7751bcf22c716ceccfc1321f427a8f2" + integrity sha512-gbZL+qs+6FPitR/abAramth4lqz/drEzXwzIDF6p6WyajF805mjyAgZin1/3mQygSE5BwJNDU7jMUSGRvgFyTw== + dependencies: + "@babel/runtime" "^7.6.2" + "@react-aria/utils" "^3.14.1" + "@react-types/shared" "^3.16.0" + +"@react-aria/ssr@^3.4.0": + version "3.4.0" + resolved "https://registry.yarnpkg.com/@react-aria/ssr/-/ssr-3.4.0.tgz#a2b9a170214f56e41d3c4c933d0d8fcffa07a12a" + integrity sha512-qzuGk14/fUyUAoW/EBwgFcuMkVNXJVGlezTgZ1HovpCZ+p9844E7MUFHE7CuzFzPEIkVeqhBNIoIu+VJJ8YCOA== + dependencies: + "@babel/runtime" "^7.6.2" + +"@react-aria/utils@^3.14.1": + version "3.14.1" + resolved "https://registry.yarnpkg.com/@react-aria/utils/-/utils-3.14.1.tgz#36aeb077f758f1f325951b1e3376a905217edd84" + integrity sha512-+ynP0YlxN02MHVEBaeuTrIhBsfBYpfJn36pZm2t7ZEFbafH8DPaMGZ70ffYZXAESkWzRULXL3e79DheWOFI1qA== + dependencies: + "@babel/runtime" "^7.6.2" + "@react-aria/ssr" "^3.4.0" + "@react-stately/utils" "^3.5.1" + "@react-types/shared" "^3.16.0" + clsx "^1.1.1" + +"@react-stately/utils@^3.5.1": + version "3.5.1" + resolved "https://registry.yarnpkg.com/@react-stately/utils/-/utils-3.5.1.tgz#502de762e5d33e892347c5f58053674e06d3bc92" + integrity sha512-INeQ5Er2Jm+db8Py4upKBtgfzp3UYgwXYmbU/XJn49Xw27ktuimH9e37qP3bgHaReb5L3g8IrGs38tJUpnGPHA== + dependencies: + "@babel/runtime" "^7.6.2" + +"@react-types/shared@^3.16.0": + version "3.16.0" + resolved "https://registry.yarnpkg.com/@react-types/shared/-/shared-3.16.0.tgz#cab7bf0376969d1773480ecb2d6da5aa91391db5" + integrity sha512-IQgU4oAEvMwylEvaTsr2XB1G/mAoMe1JFYLD6G78v++oAR9l8o9MQxZ0YSeANDkqTamb2gKezGoT1RxvSKjVxw== + +"@sinclair/typebox@^0.24.1": + version "0.24.51" + resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.51.tgz#645f33fe4e02defe26f2f5c0410e1c094eac7f5f" + integrity sha512-1P1OROm/rdubP5aFDSZQILU0vrLCJ4fvHt6EoqHEM+2D/G5MK3bIaymUKLit8Js9gbns5UyJnkP/TZROLw4tUA== + +"@sindresorhus/is@^5.2.0": + version "5.3.0" + resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-5.3.0.tgz#0ec9264cf54a527671d990eb874e030b55b70dcc" + integrity sha512-CX6t4SYQ37lzxicAqsBtxA3OseeoVrh9cSJ5PFYam0GksYlupRfy1A+Q4aYD3zvcfECLc0zO2u+ZnR2UYKvCrw== + +"@storybook/addon-actions@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-7.0.0-alpha.50.tgz#b400b19f67e0e5f3eacb74a37e484ecd7b060e71" + integrity sha512-P7W/Td6K8Swey0oeuuTWhSTx0xg87JcRAFFFT2DNnMAOEnovSeFG1s3BbNSzyjYf0oLE8kyZfYLCUMlb4po65w== + dependencies: + "@storybook/addons" "7.0.0-alpha.50" + "@storybook/api" "7.0.0-alpha.50" + "@storybook/client-logger" "7.0.0-alpha.50" + "@storybook/components" "7.0.0-alpha.50" + "@storybook/core-events" "7.0.0-alpha.50" + "@storybook/theming" "7.0.0-alpha.50" + "@storybook/types" "7.0.0-alpha.50" + dequal "^2.0.2" + global "^4.4.0" + lodash "^4.17.21" + polished "^4.2.2" + prop-types "^15.7.2" + react-inspector "^6.0.0" + telejson "^6.0.8" + ts-dedent "^2.0.0" + uuid-browser "^3.1.0" + +"@storybook/addon-backgrounds@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/addon-backgrounds/-/addon-backgrounds-7.0.0-alpha.50.tgz#035a1cb43d20537a4396e3f550f63557c8131bb8" + integrity sha512-qcJb+6M8HUm+/CbT6JVGDLxf+2KjTxhcqtJzYzNDyyjFw0l2lFCYbGULNqo1nzOGDqS/tStwd0+zAR3qtVdlgw== + dependencies: + "@storybook/addons" "7.0.0-alpha.50" + "@storybook/api" "7.0.0-alpha.50" + "@storybook/client-logger" "7.0.0-alpha.50" + "@storybook/components" "7.0.0-alpha.50" + "@storybook/core-events" "7.0.0-alpha.50" + "@storybook/theming" "7.0.0-alpha.50" + "@storybook/types" "7.0.0-alpha.50" + global "^4.4.0" + memoizerific "^1.11.3" + ts-dedent "^2.0.0" + +"@storybook/addon-controls@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/addon-controls/-/addon-controls-7.0.0-alpha.50.tgz#13762a76ee82d66e8890c5c97657123ab8b5cd7c" + integrity sha512-50GvO2cqsMhDRv1Cv8wm+zyptV3a9jAqpRRAEC2PG6R7s5a7grs4DTC+SyGnriVdvQmbshmoLqNFKTKb7cCgSA== + dependencies: + "@storybook/addons" "7.0.0-alpha.50" + "@storybook/api" "7.0.0-alpha.50" + "@storybook/blocks" "7.0.0-alpha.50" + "@storybook/client-logger" "7.0.0-alpha.50" + "@storybook/components" "7.0.0-alpha.50" + "@storybook/core-common" "7.0.0-alpha.50" + "@storybook/node-logger" "7.0.0-alpha.50" + "@storybook/store" "7.0.0-alpha.50" + "@storybook/theming" "7.0.0-alpha.50" + "@storybook/types" "7.0.0-alpha.50" + lodash "^4.17.21" + ts-dedent "^2.0.0" + +"@storybook/addon-docs@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/addon-docs/-/addon-docs-7.0.0-alpha.50.tgz#8c471817ab20ac8717788e50f2d592eccaf24516" + integrity sha512-xhAvzkBY5cq5EYOS9YxohQtzi0dYvPcqzR0FSrXP2stdBlsgLG42MsWEkzxcmCogIPq4IZ/cTCur+va2SbgmiQ== + dependencies: + "@babel/plugin-transform-react-jsx" "^7.12.12" + "@jest/transform" "^28.0.0" + "@mdx-js/react" "^2.1.5" + "@storybook/blocks" "7.0.0-alpha.50" + "@storybook/components" "7.0.0-alpha.50" + "@storybook/csf-plugin" "7.0.0-alpha.50" + "@storybook/csf-tools" "7.0.0-alpha.50" + "@storybook/mdx2-csf" next + "@storybook/node-logger" "7.0.0-alpha.50" + "@storybook/postinstall" "7.0.0-alpha.50" + "@storybook/preview-web" "7.0.0-alpha.50" + "@storybook/types" "7.0.0-alpha.50" + fs-extra "^9.0.1" + global "^4.4.0" + remark-external-links "^8.0.0" + remark-slug "^6.0.0" + ts-dedent "^2.0.0" + +"@storybook/addon-essentials@^7.0.0-alpha.48": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/addon-essentials/-/addon-essentials-7.0.0-alpha.50.tgz#aa78c9606948710231323f97077018065b94227c" + integrity sha512-28RkveR2fvFylOyXfkiNfxHDjVstlSl1FRrtXVtYqU7pa0JnGrXMg66YnQpxc2dPPLLe+fwImOrSvnlKVO/YNg== + dependencies: + "@storybook/addon-actions" "7.0.0-alpha.50" + "@storybook/addon-backgrounds" "7.0.0-alpha.50" + "@storybook/addon-controls" "7.0.0-alpha.50" + "@storybook/addon-docs" "7.0.0-alpha.50" + "@storybook/addon-highlight" "7.0.0-alpha.50" + "@storybook/addon-measure" "7.0.0-alpha.50" + "@storybook/addon-outline" "7.0.0-alpha.50" + "@storybook/addon-toolbars" "7.0.0-alpha.50" + "@storybook/addon-viewport" "7.0.0-alpha.50" + "@storybook/addons" "7.0.0-alpha.50" + "@storybook/api" "7.0.0-alpha.50" + "@storybook/core-common" "7.0.0-alpha.50" + "@storybook/node-logger" "7.0.0-alpha.50" + ts-dedent "^2.0.0" + +"@storybook/addon-highlight@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/addon-highlight/-/addon-highlight-7.0.0-alpha.50.tgz#e26577ff968bf79b882d1c2b42ffd2059ab9d241" + integrity sha512-Nrv6/PfuWEL46yKZB9WZeHLoM6sJr2DPP3vYWmXeRhT+pv1JiYSE6NaMqDYBnoa262M4MuGOah1+eVgVPyb35A== + dependencies: + "@storybook/addons" "7.0.0-alpha.50" + "@storybook/core-events" "7.0.0-alpha.50" + global "^4.4.0" + +"@storybook/addon-interactions@^7.0.0-alpha.48": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/addon-interactions/-/addon-interactions-7.0.0-alpha.50.tgz#90a64e9f2a9323bf490a5b579ac11fa3c8e8c05f" + integrity sha512-vS1of1AFTxhNfPchWSowLjSG4TfFk1kyBa6YiSr7fbCbyFG2I8TezrKq/Nc2rSI2qhcrFIwy2RZ5zHE1Rzsmqg== + dependencies: + "@devtools-ds/object-inspector" "^1.1.2" + "@storybook/addons" "7.0.0-alpha.50" + "@storybook/api" "7.0.0-alpha.50" + "@storybook/client-logger" "7.0.0-alpha.50" + "@storybook/components" "7.0.0-alpha.50" + "@storybook/core-common" "7.0.0-alpha.50" + "@storybook/core-events" "7.0.0-alpha.50" + "@storybook/instrumenter" "7.0.0-alpha.50" + "@storybook/theming" "7.0.0-alpha.50" + "@storybook/types" "7.0.0-alpha.50" + global "^4.4.0" + jest-mock "^27.0.6" + polished "^4.2.2" + ts-dedent "^2.2.0" + +"@storybook/addon-measure@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/addon-measure/-/addon-measure-7.0.0-alpha.50.tgz#0dc09685731f1cb0546668ff9cefc17b4c6f8302" + integrity sha512-B2bIrLyJtMmaDa3m9lYc4OHOCGj2+zLU4+zn3X6kYsf8gYeDr9E7I7iAm8fCn2YwzzxqSihLRtbn27npjDxgqg== + dependencies: + "@storybook/addons" "7.0.0-alpha.50" + "@storybook/api" "7.0.0-alpha.50" + "@storybook/client-logger" "7.0.0-alpha.50" + "@storybook/components" "7.0.0-alpha.50" + "@storybook/core-events" "7.0.0-alpha.50" + "@storybook/types" "7.0.0-alpha.50" + global "^4.4.0" + +"@storybook/addon-outline@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/addon-outline/-/addon-outline-7.0.0-alpha.50.tgz#3f909474c3f9d1618b8a88003001e2492c768085" + integrity sha512-58xA5XzEk7SyTJMK3imydoJ/Q/SWhOSHHAx8d9W3Mi0ibXAWELFBKKVGGLssHUY3ERmwf019Ys/rhujGWd8Shw== + dependencies: + "@storybook/addons" "7.0.0-alpha.50" + "@storybook/api" "7.0.0-alpha.50" + "@storybook/client-logger" "7.0.0-alpha.50" + "@storybook/components" "7.0.0-alpha.50" + "@storybook/core-events" "7.0.0-alpha.50" + "@storybook/types" "7.0.0-alpha.50" + global "^4.4.0" + ts-dedent "^2.0.0" + +"@storybook/addon-toolbars@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/addon-toolbars/-/addon-toolbars-7.0.0-alpha.50.tgz#1f831d516d775bf64fe98d17ed3a5bb48e6c6ad7" + integrity sha512-7jDXX50WmBWb6GT+f4WOua+6Md3HbAs+iP5Cb98heEiFMx/EMfC/ox+MidMKLx5e0pSB7s30FW/KZEgThlcj7w== + dependencies: + "@storybook/addons" "7.0.0-alpha.50" + "@storybook/api" "7.0.0-alpha.50" + "@storybook/client-logger" "7.0.0-alpha.50" + "@storybook/components" "7.0.0-alpha.50" + "@storybook/theming" "7.0.0-alpha.50" + +"@storybook/addon-viewport@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/addon-viewport/-/addon-viewport-7.0.0-alpha.50.tgz#593eeef9bf7dc344eb9209838ddad0afb9795c99" + integrity sha512-MuEGJha0P2zgdakXgQebImnBKYAI51OLw0uJUEc9WDRO/DWg6WEkjJwnD2sB9Kk5I0ws/kKMH4DBc0qiL8kHbg== + dependencies: + "@storybook/addons" "7.0.0-alpha.50" + "@storybook/api" "7.0.0-alpha.50" + "@storybook/client-logger" "7.0.0-alpha.50" + "@storybook/components" "7.0.0-alpha.50" + "@storybook/core-events" "7.0.0-alpha.50" + "@storybook/theming" "7.0.0-alpha.50" + global "^4.4.0" + memoizerific "^1.11.3" + prop-types "^15.7.2" + +"@storybook/addons@6.5.13": + version "6.5.13" + resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-6.5.13.tgz#61ec5eab07879400d423d60bb397880d10ee5e73" + integrity sha512-18CqzNnrGMfeZtiKz+R/3rHtSNnfNwz6y6prIQIbWseK16jY8ELTfIFGviwO5V2OqpbHDQi5+xQQ63QAIb89YA== + dependencies: + "@storybook/api" "6.5.13" + "@storybook/channels" "6.5.13" + "@storybook/client-logger" "6.5.13" + "@storybook/core-events" "6.5.13" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/router" "6.5.9" - "@storybook/theming" "6.5.9" + "@storybook/router" "6.5.13" + "@storybook/theming" "6.5.13" "@types/webpack-env" "^1.16.0" core-js "^3.8.2" global "^4.4.0" regenerator-runtime "^0.13.7" -"@storybook/api@6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/api/-/api-6.5.9.tgz#303733214c9de0422d162f7c54ae05d088b89bf9" - integrity sha512-9ylztnty4Y+ALU/ehW3BML9czjCAFsWvrwuCi6UgcwNjswwjSX3VRLhfD1KT3pl16ho//95LgZ0LnSwROCcPOA== +"@storybook/addons@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/addons/-/addons-7.0.0-alpha.50.tgz#bf8dce083a0971c6f3043a253226dc0a8c82a9ba" + integrity sha512-YUiVeNZCPmsJNOOaqbuqQnPvOYKMlk7nZqovDd1wVwKj716EL0xz1Th8o13RC+dk23ZH28rRW32c2pomJHtfNg== dependencies: - "@storybook/channels" "6.5.9" - "@storybook/client-logger" "6.5.9" - "@storybook/core-events" "6.5.9" + "@storybook/api" "7.0.0-alpha.50" + "@storybook/channels" "7.0.0-alpha.50" + "@storybook/client-logger" "7.0.0-alpha.50" + "@storybook/core-events" "7.0.0-alpha.50" + "@storybook/router" "7.0.0-alpha.50" + "@storybook/theming" "7.0.0-alpha.50" + "@storybook/types" "7.0.0-alpha.50" + global "^4.4.0" + +"@storybook/api@6.5.13": + version "6.5.13" + resolved "https://registry.yarnpkg.com/@storybook/api/-/api-6.5.13.tgz#8671e580721ff68d209fcde2975f967ae79b7d64" + integrity sha512-xVSmB7/IuFd6G7eiJjbI2MuS7SZunoUM6d+YCWpjiehfMeX47MXt1gZtOwFrgJC1ShZlefXFahq/dvxwtmWs+w== + dependencies: + "@storybook/channels" "6.5.13" + "@storybook/client-logger" "6.5.13" + "@storybook/core-events" "6.5.13" "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/router" "6.5.9" + "@storybook/router" "6.5.13" "@storybook/semver" "^7.3.2" - "@storybook/theming" "6.5.9" + "@storybook/theming" "6.5.13" core-js "^3.8.2" fast-deep-equal "^3.1.3" global "^4.4.0" @@ -1456,257 +1793,301 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/builder-webpack4@6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/builder-webpack4/-/builder-webpack4-6.5.9.tgz#4b37e1fa23a25aa4bfeaba640e5d318fcd511f95" - integrity sha512-YOeA4++9uRZ8Hog1wC60yjaxBOiI1FRQNtax7b9E7g+kP8UlSCPCGcv4gls9hFmzbzTOPfQTWnToA9Oa6jzRVw== +"@storybook/api@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/api/-/api-7.0.0-alpha.50.tgz#33548e38c107478c2f5dd98d25542bf4b9c47981" + integrity sha512-RtPg4gFf5FAp363goFqTZc/VAUMHZC0tkzxwOIGl9fy1zab5pKfvkEz472VnG1VYjBN/C325hwHQgTzJ5GrAmg== dependencies: - "@babel/core" "^7.12.10" - "@storybook/addons" "6.5.9" - "@storybook/api" "6.5.9" - "@storybook/channel-postmessage" "6.5.9" - "@storybook/channels" "6.5.9" - "@storybook/client-api" "6.5.9" - "@storybook/client-logger" "6.5.9" - "@storybook/components" "6.5.9" - "@storybook/core-common" "6.5.9" - "@storybook/core-events" "6.5.9" - "@storybook/node-logger" "6.5.9" - "@storybook/preview-web" "6.5.9" - "@storybook/router" "6.5.9" - "@storybook/semver" "^7.3.2" - "@storybook/store" "6.5.9" - "@storybook/theming" "6.5.9" - "@storybook/ui" "6.5.9" - "@types/node" "^14.0.10 || ^16.0.0" - "@types/webpack" "^4.41.26" - autoprefixer "^9.8.6" - babel-loader "^8.0.0" - case-sensitive-paths-webpack-plugin "^2.3.0" - core-js "^3.8.2" - css-loader "^3.6.0" - file-loader "^6.2.0" - find-up "^5.0.0" - fork-ts-checker-webpack-plugin "^4.1.6" - glob "^7.1.6" - glob-promise "^3.4.0" + "@storybook/channels" "7.0.0-alpha.50" + "@storybook/client-logger" "7.0.0-alpha.50" + "@storybook/core-events" "7.0.0-alpha.50" + "@storybook/csf" "0.0.2-next.7" + "@storybook/router" "7.0.0-alpha.50" + "@storybook/theming" "7.0.0-alpha.50" + "@storybook/types" "7.0.0-alpha.50" + dequal "^2.0.2" global "^4.4.0" - html-webpack-plugin "^4.0.0" - pnp-webpack-plugin "1.6.4" - postcss "^7.0.36" - postcss-flexbugs-fixes "^4.2.1" - postcss-loader "^4.2.0" - raw-loader "^4.0.2" - stable "^0.1.8" - style-loader "^1.3.0" - terser-webpack-plugin "^4.2.3" + lodash "^4.17.21" + memoizerific "^1.11.3" + semver "^7.3.7" + store2 "^2.12.0" + telejson "^6.0.8" ts-dedent "^2.0.0" - url-loader "^4.1.1" util-deprecate "^1.0.2" - webpack "4" - webpack-dev-middleware "^3.7.3" - webpack-filter-warnings-plugin "^1.2.1" - webpack-hot-middleware "^2.25.1" - webpack-virtual-modules "^0.2.2" -"@storybook/builder-webpack5@^6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/builder-webpack5/-/builder-webpack5-6.5.9.tgz#30b4e08622daff104bcccd015d3ee7902f99dd99" - integrity sha512-NUVZ4Qci6HWPuoH8U/zQkdBO5soGgu7QYrGC/LWU0tRfmmZxkjr7IUU14ppDpGPYgx3r7jkaQI1J/E1YEmSCWQ== +"@storybook/blocks@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/blocks/-/blocks-7.0.0-alpha.50.tgz#f4600edd36f9001762f5d6271c1b0aef230c171d" + integrity sha512-/RE7A1QGlAkEZDlM9DULDwqvnhCA5blUOLOSZUnWAyhzjhqGzsA9E51HEL+RV89/7cXZWEuEflVnQbWiDuRJyw== + dependencies: + "@storybook/api" "7.0.0-alpha.50" + "@storybook/channels" "7.0.0-alpha.50" + "@storybook/client-logger" "7.0.0-alpha.50" + "@storybook/components" "7.0.0-alpha.50" + "@storybook/core-events" "7.0.0-alpha.50" + "@storybook/csf" "0.0.2-next.7" + "@storybook/docs-tools" "7.0.0-alpha.50" + "@storybook/preview-web" "7.0.0-alpha.50" + "@storybook/store" "7.0.0-alpha.50" + "@storybook/theming" "7.0.0-alpha.50" + "@storybook/types" "7.0.0-alpha.50" + "@types/lodash" "^4.14.167" + color-convert "^2.0.1" + dequal "^2.0.2" + global "^4.4.0" + lodash "^4.17.21" + markdown-to-jsx "^7.1.3" + memoizerific "^1.11.3" + polished "^4.2.2" + react-colorful "^5.1.2" + ts-dedent "^2.0.0" + util-deprecate "^1.0.2" + +"@storybook/builder-manager@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/builder-manager/-/builder-manager-7.0.0-alpha.50.tgz#b1e8978db16beba6efcca9da95ad6772be8e5817" + integrity sha512-6YqkDOWi2YFJ+kMeSnj0Jd+mRajyQiNoHolS0y1N8K1cVca3/fZ9BdD6iatIMuDqsvURi+PwVUQ6sAinmTlr2g== + dependencies: + "@fal-works/esbuild-plugin-global-externals" "^2.1.2" + "@storybook/core-common" "7.0.0-alpha.50" + "@storybook/manager" "7.0.0-alpha.50" + "@storybook/node-logger" "7.0.0-alpha.50" + "@types/ejs" "^3.1.1" + "@yarnpkg/esbuild-plugin-pnp" "^3.0.0-rc.10" + browser-assert "^1.2.1" + ejs "^3.1.8" + esbuild "^0.14.48" + esbuild-plugin-alias "^0.2.1" + express "^4.17.1" + fs-extra "^9.0.1" + process "^0.11.10" + slash "^3.0.0" + util "^0.12.4" + +"@storybook/builder-webpack5@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/builder-webpack5/-/builder-webpack5-7.0.0-alpha.50.tgz#4834876d72dfa116236703c3165c2b1b112feef5" + integrity sha512-kM0Q+LH484XulTSyUdRvYN268cSbacbBOt9tuVO1PZfgOZdu2kWHAovUDVVRLGCLuVQ3P1GtHXeoMtu3RixFAw== dependencies: "@babel/core" "^7.12.10" - "@storybook/addons" "6.5.9" - "@storybook/api" "6.5.9" - "@storybook/channel-postmessage" "6.5.9" - "@storybook/channels" "6.5.9" - "@storybook/client-api" "6.5.9" - "@storybook/client-logger" "6.5.9" - "@storybook/components" "6.5.9" - "@storybook/core-common" "6.5.9" - "@storybook/core-events" "6.5.9" - "@storybook/node-logger" "6.5.9" - "@storybook/preview-web" "6.5.9" - "@storybook/router" "6.5.9" - "@storybook/semver" "^7.3.2" - "@storybook/store" "6.5.9" - "@storybook/theming" "6.5.9" - "@types/node" "^14.0.10 || ^16.0.0" - babel-loader "^8.0.0" + "@storybook/addons" "7.0.0-alpha.50" + "@storybook/api" "7.0.0-alpha.50" + "@storybook/channel-postmessage" "7.0.0-alpha.50" + "@storybook/channel-websocket" "7.0.0-alpha.50" + "@storybook/channels" "7.0.0-alpha.50" + "@storybook/client-api" "7.0.0-alpha.50" + "@storybook/client-logger" "7.0.0-alpha.50" + "@storybook/components" "7.0.0-alpha.50" + "@storybook/core-common" "7.0.0-alpha.50" + "@storybook/core-events" "7.0.0-alpha.50" + "@storybook/core-webpack" "7.0.0-alpha.50" + "@storybook/node-logger" "7.0.0-alpha.50" + "@storybook/preview-web" "7.0.0-alpha.50" + "@storybook/router" "7.0.0-alpha.50" + "@storybook/store" "7.0.0-alpha.50" + "@storybook/theming" "7.0.0-alpha.50" + "@types/node" "^16.0.0" + "@types/semver" "^7.3.4" + babel-loader "^8.2.5" babel-plugin-named-exports-order "^0.0.2" browser-assert "^1.2.1" - case-sensitive-paths-webpack-plugin "^2.3.0" - core-js "^3.8.2" - css-loader "^5.0.1" - fork-ts-checker-webpack-plugin "^6.0.4" - glob "^7.1.6" - glob-promise "^3.4.0" - html-webpack-plugin "^5.0.0" + case-sensitive-paths-webpack-plugin "^2.4.0" + css-loader "^6.7.1" + fork-ts-checker-webpack-plugin "^7.2.8" + global "^4.4.0" + html-webpack-plugin "^5.5.0" path-browserify "^1.0.1" process "^0.11.10" - stable "^0.1.8" - style-loader "^2.0.0" - terser-webpack-plugin "^5.0.3" + semver "^7.3.7" + style-loader "^3.3.1" + terser-webpack-plugin "^5.3.1" ts-dedent "^2.0.0" + util "^0.12.4" util-deprecate "^1.0.2" - webpack "^5.9.0" - webpack-dev-middleware "^4.1.0" + webpack "5" + webpack-dev-middleware "^5.3.1" webpack-hot-middleware "^2.25.1" - webpack-virtual-modules "^0.4.1" + webpack-virtual-modules "^0.4.3" -"@storybook/channel-postmessage@6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-6.5.9.tgz#9cf4530f0364cee0d5e58f92d6fb5ce98e10257b" - integrity sha512-pX/0R8UW7ezBhCrafRaL20OvMRcmESYvQQCDgjqSzJyHkcG51GOhsd6Ge93eJ6QvRMm9+w0Zs93N2VKjVtz0Qw== +"@storybook/channel-postmessage@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/channel-postmessage/-/channel-postmessage-7.0.0-alpha.50.tgz#b21fadb9465a5a62af6ad2c534dbfb609b67487a" + integrity sha512-alJHGCK6vJnyz4AWZAlu8mQIvu4pEC+iVrrcs0NmQuWSralSSa90LRrRXhNd1Qxuy4kPNTvLlNc9ik1BtL3BqQ== dependencies: - "@storybook/channels" "6.5.9" - "@storybook/client-logger" "6.5.9" - "@storybook/core-events" "6.5.9" - core-js "^3.8.2" + "@storybook/channels" "7.0.0-alpha.50" + "@storybook/client-logger" "7.0.0-alpha.50" + "@storybook/core-events" "7.0.0-alpha.50" global "^4.4.0" qs "^6.10.0" telejson "^6.0.8" -"@storybook/channel-websocket@6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/channel-websocket/-/channel-websocket-6.5.9.tgz#6b7a0127fec58ee5be4f6aebcf460adc564f2f34" - integrity sha512-xtHvSNwuOhkgALwVshKWsoFhDmuvcosdYfxcfFGEiYKXIu46tRS5ZXmpmgEC/0JAVkVoFj5nL8bV7IY5np6oaA== +"@storybook/channel-websocket@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/channel-websocket/-/channel-websocket-7.0.0-alpha.50.tgz#028d8521b27601d50192d4ddfff55fd4cf15ea4e" + integrity sha512-zQwiEn7EfT+RnjacYEJ7wOfxJttPSYOJ9iWmLs1HxeaqS1sj7CXXr7GWtIcQIOIHJ5nj2tgbJfSUWR9jOOL1qw== dependencies: - "@storybook/channels" "6.5.9" - "@storybook/client-logger" "6.5.9" - core-js "^3.8.2" + "@storybook/channels" "7.0.0-alpha.50" + "@storybook/client-logger" "7.0.0-alpha.50" global "^4.4.0" telejson "^6.0.8" -"@storybook/channels@6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-6.5.9.tgz#abfab89a6587a2688e9926d4aafeb11c9d8b2e79" - integrity sha512-FvGA35nV38UPXWOl9ERapFTJaxwSTamQ339s2Ev7E9riyRG+GRkgTWzf5kECJgS1PAYKd/7m/RqKJT9BVv6A5g== +"@storybook/channels@6.5.13": + version "6.5.13" + resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-6.5.13.tgz#f3f86b90a7832484ee3dcbc6845f5a47f62f028f" + integrity sha512-sGYSilE30bz0jG+HdHnkv0B4XkAv2hP+KRZr4xmnv+MOOQpRnZpJ5Z3HVU16s17cj/83NWihKj6BuKcEVzyilg== dependencies: core-js "^3.8.2" ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/client-api@6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/client-api/-/client-api-6.5.9.tgz#3e4a8ec1d277fd81325c5d959c553161a85fa182" - integrity sha512-pc7JKJoWLesixUKvG2nV36HukUuYoGRyAgD3PpIV7qSBS4JixqZ3VAHFUtqV1UzfOSQTovLSl4a0rIRnpie6gA== +"@storybook/channels@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-7.0.0-alpha.50.tgz#1c86ed255ada398499329851efc2f803bbc045a2" + integrity sha512-2n/02WhaoZGwDcPw6nfvOPx/laK2rEskU7p1qtxLYcAgWfVmf1X2tLQ0Qxm21Rw/8pWrfIRTmd9kk7Joj/Dbxg== + +"@storybook/cli@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/cli/-/cli-7.0.0-alpha.50.tgz#c4cb42e98dee76b6c7abbb7e8d90eb8820c3ba8c" + integrity sha512-9fFOrt6WtXyra4Boq2pWDghFX4jijo3g2/1MJyiIxMF9lcwFlwaiGxdizVR0iWA6z4jiZUA8JahFA7bpzsmULg== dependencies: - "@storybook/addons" "6.5.9" - "@storybook/channel-postmessage" "6.5.9" - "@storybook/channels" "6.5.9" - "@storybook/client-logger" "6.5.9" - "@storybook/core-events" "6.5.9" - "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/store" "6.5.9" + "@babel/core" "^7.12.10" + "@babel/preset-env" "^7.12.11" + "@storybook/codemod" "7.0.0-alpha.50" + "@storybook/core-common" "7.0.0-alpha.50" + "@storybook/core-server" "7.0.0-alpha.50" + "@storybook/csf-tools" "7.0.0-alpha.50" + "@storybook/node-logger" "7.0.0-alpha.50" + "@storybook/telemetry" "7.0.0-alpha.50" + "@storybook/types" "7.0.0-alpha.50" + "@types/semver" "^7.3.4" + boxen "^5.1.2" + chalk "^4.1.0" + commander "^6.2.1" + cross-spawn "^7.0.3" + degit "^2.8.4" + detect-indent "^6.1.0" + envinfo "^7.7.3" + execa "^5.0.0" + express "^4.17.1" + find-up "^5.0.0" + fs-extra "^9.0.1" + get-port "^5.1.1" + globby "^11.0.2" + jscodeshift "^0.13.1" + leven "^3.1.0" + prompts "^2.4.0" + puppeteer-core "^2.1.1" + read-pkg-up "^7.0.1" + semver "^7.3.7" + shelljs "^0.8.5" + strip-json-comments "^3.0.1" + ts-dedent "^2.0.0" + update-notifier "^6.0.2" + util-deprecate "^1.0.2" + +"@storybook/client-api@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/client-api/-/client-api-7.0.0-alpha.50.tgz#d9d0942fe1651627ba0785e8206286d0f9a33ef7" + integrity sha512-4eaFzA57EDWRU1BEcLzSP3Slki0U6AE3xMVs/aAIAzID47r5AHsIEwWkIXBRSKtG/Yx6crus6NMUWkl2dmTEcg== + dependencies: + "@storybook/addons" "7.0.0-alpha.50" + "@storybook/client-logger" "7.0.0-alpha.50" + "@storybook/csf" "0.0.2-next.7" + "@storybook/store" "7.0.0-alpha.50" + "@storybook/types" "7.0.0-alpha.50" "@types/qs" "^6.9.5" - "@types/webpack-env" "^1.16.0" - core-js "^3.8.2" - fast-deep-equal "^3.1.3" + "@types/webpack-env" "^1.16.4" global "^4.4.0" - lodash "^4.17.21" - memoizerific "^1.11.3" qs "^6.10.0" - regenerator-runtime "^0.13.7" - store2 "^2.12.0" synchronous-promise "^2.0.15" ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/client-logger@6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-6.5.9.tgz#dc1669abe8c45af1cc38f74c6f4b15ff33e63014" - integrity sha512-DOHL6p0uiDd3gV/Sb2FR+Vh6OiPrrf8BrA06uvXWsMRIIvEEvnparxv9EvPg7FlmUX0T3nq7d3juwjx4F8Wbcg== +"@storybook/client-logger@6.5.13", "@storybook/client-logger@^6.4.0": + version "6.5.13" + resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-6.5.13.tgz#83f332dd9bb4ff1696d16b0cc24561df90905264" + integrity sha512-F2SMW3LWFGXLm2ENTwTitrLWJgmMXRf3CWQXdN2EbkNCIBHy5Zcbt+91K4OX8e2e5h9gjGfrdYbyYDYOoUCEfA== dependencies: core-js "^3.8.2" global "^4.4.0" -"@storybook/components@6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/components/-/components-6.5.9.tgz#97e07ffe11ab76c01ccee380888991bd161f75b2" - integrity sha512-BhfX980O9zn/1J4FNMeDo8ZvL1m5Ml3T4HRpfYmEBnf8oW5b5BeF6S2K2cwFStZRjWqm1feUcwNpZxCBVMkQnQ== +"@storybook/client-logger@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-7.0.0-alpha.50.tgz#5106117d493eed2330f288a95b702cbaac904193" + integrity sha512-WzxBqyF/sn5CZkt4GMVT3jY11FB27Jz8s/G8YoQhdf9E0QSYasRkRlNbBCu9PM9SFzzY5+MAnAR5CjJMzJtY/Q== dependencies: - "@storybook/client-logger" "6.5.9" - "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/theming" "6.5.9" - "@types/react-syntax-highlighter" "11.0.5" - core-js "^3.8.2" - memoizerific "^1.11.3" - qs "^6.10.0" - react-syntax-highlighter "^15.4.5" - regenerator-runtime "^0.13.7" - util-deprecate "^1.0.2" - -"@storybook/core-client@6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/core-client/-/core-client-6.5.9.tgz#ea6035d1c90d2c68e860e3cf629979491856cd88" - integrity sha512-LY0QbhShowO+PQx3gao3wdVjpKMH1AaSLmuI95FrcjoMmSXGf96jVLKQp9mJRGeHIsAa93EQBYuCihZycM3Kbg== - dependencies: - "@storybook/addons" "6.5.9" - "@storybook/channel-postmessage" "6.5.9" - "@storybook/channel-websocket" "6.5.9" - "@storybook/client-api" "6.5.9" - "@storybook/client-logger" "6.5.9" - "@storybook/core-events" "6.5.9" - "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/preview-web" "6.5.9" - "@storybook/store" "6.5.9" - "@storybook/ui" "6.5.9" - airbnb-js-shims "^2.2.1" - ansi-to-html "^0.6.11" - core-js "^3.8.2" global "^4.4.0" + +"@storybook/codemod@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/codemod/-/codemod-7.0.0-alpha.50.tgz#abf8cf24396a96ff314f3a702106c4924c9fc1f2" + integrity sha512-IuR9KEHW6zFyrHTNGq8RyO3lpnpq9TwicHu6NWgoRSmT5xHbwvCiPPk9pRfy/bnhYUdWciQ4AC4eIC6RgffwFg== + dependencies: + "@babel/types" "^7.12.11" + "@storybook/csf" "0.0.2-next.7" + "@storybook/csf-tools" "7.0.0-alpha.50" + "@storybook/node-logger" "7.0.0-alpha.50" + "@storybook/types" "7.0.0-alpha.50" + cross-spawn "^7.0.3" + globby "^11.0.2" + jscodeshift "^0.13.1" lodash "^4.17.21" - qs "^6.10.0" - regenerator-runtime "^0.13.7" - ts-dedent "^2.0.0" - unfetch "^4.2.0" + prettier ">=2.2.1 <=3.0.0" + recast "^0.19.0" + util "^0.12.4" + +"@storybook/components@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/components/-/components-7.0.0-alpha.50.tgz#73d27b6fa0e0d62d2319f66285904db634f78564" + integrity sha512-JsXFuwUTnm8LI66fJJYGnAosSIVHf4ZsGe9Ma7AmtFq4nuShtJegoOd5ea0Ajj88tsri2GiytwFmy/1RfGCoJA== + dependencies: + "@storybook/client-logger" "7.0.0-alpha.50" + "@storybook/csf" "0.0.2-next.7" + "@storybook/theming" "7.0.0-alpha.50" + "@storybook/types" "7.0.0-alpha.50" + memoizerific "^1.11.3" util-deprecate "^1.0.2" -"@storybook/core-common@6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/core-common/-/core-common-6.5.9.tgz#7ca8258ea2634b1d64695c1e4262f71cc7457989" - integrity sha512-NxOK0mrOCo0TWZ7Npc5HU66EKoRHlrtg18/ZixblLDWQMIqY9XCck8K1kJ8QYpYCHla+aHIsYUArFe2vhlEfZA== +"@storybook/core-client@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/core-client/-/core-client-7.0.0-alpha.50.tgz#b6664db78d797a1fe0c5a6c114ff99d52615e756" + integrity sha512-CK2EgL7iCkZQM9KRHaQRsyOaETRsrAvl8L2CgxVvY+Qgnyj00nsi8bxYSrcTR2Gx6xszYeXmCta5Aj7vfnelzA== + dependencies: + "@storybook/addons" "7.0.0-alpha.50" + "@storybook/channel-postmessage" "7.0.0-alpha.50" + "@storybook/channel-websocket" "7.0.0-alpha.50" + "@storybook/channels" "7.0.0-alpha.50" + "@storybook/client-api" "7.0.0-alpha.50" + "@storybook/client-logger" "7.0.0-alpha.50" + "@storybook/core-events" "7.0.0-alpha.50" + "@storybook/csf" "0.0.2-next.7" + "@storybook/preview-web" "7.0.0-alpha.50" + "@storybook/store" "7.0.0-alpha.50" + "@storybook/types" "7.0.0-alpha.50" + global "^4.4.0" + util-deprecate "^1.0.2" + +"@storybook/core-common@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/core-common/-/core-common-7.0.0-alpha.50.tgz#ce31c881d3f08e5348fb9607865af48e66d0f4a0" + integrity sha512-2lxaK1ba2iOfiEyP4fayu78Dly2lud9oqWZis+pdbUdnnnNhqAdGM49aBs5f5F7/UZScdzRFnfBGXGPWDI4jUQ== dependencies: "@babel/core" "^7.12.10" - "@babel/plugin-proposal-class-properties" "^7.12.1" - "@babel/plugin-proposal-decorators" "^7.12.12" - "@babel/plugin-proposal-export-default-from" "^7.12.1" - "@babel/plugin-proposal-nullish-coalescing-operator" "^7.12.1" - "@babel/plugin-proposal-object-rest-spread" "^7.12.1" - "@babel/plugin-proposal-optional-chaining" "^7.12.7" - "@babel/plugin-proposal-private-methods" "^7.12.1" - "@babel/plugin-proposal-private-property-in-object" "^7.12.1" - "@babel/plugin-syntax-dynamic-import" "^7.8.3" - "@babel/plugin-transform-arrow-functions" "^7.12.1" - "@babel/plugin-transform-block-scoping" "^7.12.12" - "@babel/plugin-transform-classes" "^7.12.1" - "@babel/plugin-transform-destructuring" "^7.12.1" - "@babel/plugin-transform-for-of" "^7.12.1" - "@babel/plugin-transform-parameters" "^7.12.1" - "@babel/plugin-transform-shorthand-properties" "^7.12.1" - "@babel/plugin-transform-spread" "^7.12.1" - "@babel/preset-env" "^7.12.11" - "@babel/preset-react" "^7.12.10" - "@babel/preset-typescript" "^7.12.7" - "@babel/register" "^7.12.1" - "@storybook/node-logger" "6.5.9" - "@storybook/semver" "^7.3.2" - "@types/node" "^14.0.10 || ^16.0.0" + "@storybook/node-logger" "7.0.0-alpha.50" + "@storybook/types" "7.0.0-alpha.50" + "@types/babel__core" "^7.0.0" + "@types/express" "^4.7.0" + "@types/node" "^16.0.0" "@types/pretty-hrtime" "^1.0.0" - babel-loader "^8.0.0" - babel-plugin-macros "^3.0.1" - babel-plugin-polyfill-corejs3 "^0.1.0" chalk "^4.1.0" - core-js "^3.8.2" + esbuild "^0.14.48" + esbuild-register "^3.3.3" express "^4.17.1" - file-system-cache "^1.0.5" + file-system-cache "^2.0.0" find-up "^5.0.0" - fork-ts-checker-webpack-plugin "^6.0.4" fs-extra "^9.0.1" glob "^7.1.6" handlebars "^4.7.7" - interpret "^2.2.0" - json5 "^2.1.3" lazy-universal-dotenv "^3.0.1" picomatch "^2.3.0" pkg-dir "^5.0.0" @@ -1716,44 +2097,46 @@ telejson "^6.0.8" ts-dedent "^2.0.0" util-deprecate "^1.0.2" - webpack "4" -"@storybook/core-events@6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-6.5.9.tgz#5b0783c7d22a586c0f5e927a61fe1b1223e19637" - integrity sha512-tXt7a3ZvJOCeEKpNa/B5rQM5VI7UJLlOh3IHOImWn4HqoBRrZvbourmac+PRZAtXpos0h3c6554Hjapj/Sny5Q== +"@storybook/core-events@6.5.13": + version "6.5.13" + resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-6.5.13.tgz#a8c0cc92694f09981ca6501d5c5ef328db18db8a" + integrity sha512-kL745tPpRKejzHToA3/CoBNbI+NPRVk186vGxXBmk95OEg0TlwgQExP8BnqEtLlRZMbW08e4+6kilc1M1M4N5w== dependencies: core-js "^3.8.2" -"@storybook/core-server@6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/core-server/-/core-server-6.5.9.tgz#749a881c1a81d7cf1a69f3782c06a7f0c39a505c" - integrity sha512-YeePGUrd5fQPvGzMhowh124KrcZURFpFXg1VB0Op3ESqCIsInoMZeObci4Gc+binMXC7vcv7aw3EwSLU37qJzQ== +"@storybook/core-events@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-7.0.0-alpha.50.tgz#e14babef2c4b0027124dd52c53985b176a15af4a" + integrity sha512-V+WE8UbsRYVLdze+TPEA5eiA/gbuuyPf92EhtScxyAxATSC+HrWiMGyriBn1yYtIf/anlfRiwjU1fNGV3Y/gvg== + +"@storybook/core-server@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/core-server/-/core-server-7.0.0-alpha.50.tgz#546866f898ff448161a1844c0a9af2f3fe022c39" + integrity sha512-UuF2JW+OftmbxgEUN0J0WyVTe5CP2EJeGdqQlEbInXTE8Zq4NoUQ+//r2Tsh7sKG22/e0Ng71juCVri8C/ZZWw== dependencies: + "@aw-web-design/x-default-browser" "1.4.88" "@discoveryjs/json-ext" "^0.5.3" - "@storybook/builder-webpack4" "6.5.9" - "@storybook/core-client" "6.5.9" - "@storybook/core-common" "6.5.9" - "@storybook/core-events" "6.5.9" - "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/csf-tools" "6.5.9" - "@storybook/manager-webpack4" "6.5.9" - "@storybook/node-logger" "6.5.9" - "@storybook/semver" "^7.3.2" - "@storybook/store" "6.5.9" - "@storybook/telemetry" "6.5.9" - "@types/node" "^14.0.10 || ^16.0.0" + "@storybook/builder-manager" "7.0.0-alpha.50" + "@storybook/core-client" "7.0.0-alpha.50" + "@storybook/core-common" "7.0.0-alpha.50" + "@storybook/core-events" "7.0.0-alpha.50" + "@storybook/csf" "0.0.2-next.7" + "@storybook/csf-tools" "7.0.0-alpha.50" + "@storybook/docs-mdx" "0.0.1-canary.12433cf.0" + "@storybook/node-logger" "7.0.0-alpha.50" + "@storybook/store" "7.0.0-alpha.50" + "@storybook/telemetry" "7.0.0-alpha.50" + "@storybook/types" "7.0.0-alpha.50" + "@types/node" "^16.0.0" "@types/node-fetch" "^2.5.7" "@types/pretty-hrtime" "^1.0.0" - "@types/webpack" "^4.41.26" + "@types/semver" "^7.3.4" better-opn "^2.1.1" boxen "^5.1.2" chalk "^4.1.0" cli-table3 "^0.6.1" - commander "^6.2.1" compression "^1.7.4" - core-js "^3.8.2" - cpy "^8.1.2" detect-port "^1.3.0" express "^4.17.1" fs-extra "^9.0.1" @@ -1765,43 +2148,44 @@ open "^8.4.0" pretty-hrtime "^1.0.3" prompts "^2.4.0" - regenerator-runtime "^0.13.7" + read-pkg-up "^7.0.1" + semver "^7.3.7" serve-favicon "^2.5.0" slash "^3.0.0" telejson "^6.0.8" ts-dedent "^2.0.0" util-deprecate "^1.0.2" watchpack "^2.2.0" - webpack "4" ws "^8.2.3" - x-default-browser "^0.4.0" -"@storybook/core@6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/core/-/core-6.5.9.tgz#da4f237391d99aed1228323f24b335cafbdf3499" - integrity sha512-Mt3TTQnjQt2/pa60A+bqDsAOrYpohapdtt4DDZEbS8h0V6u11KyYYh3w7FCySlL+sPEyogj63l5Ec76Jah3l2w== +"@storybook/core-webpack@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/core-webpack/-/core-webpack-7.0.0-alpha.50.tgz#18cbcf49b53b29d3217fecb8d427d026fde2c000" + integrity sha512-Zm+JBITbkGJnCsMu0UuhJ+02snrVM19x+JCADzX7JIqIENRizPE30wzNG92xBUzOCF1Gc6jSLXPw1OLkyixhAw== dependencies: - "@storybook/core-client" "6.5.9" - "@storybook/core-server" "6.5.9" + "@storybook/core-common" "7.0.0-alpha.50" + "@storybook/node-logger" "7.0.0-alpha.50" + "@storybook/types" "7.0.0-alpha.50" + "@types/node" "^16.0.0" + ts-dedent "^2.0.0" -"@storybook/csf-tools@6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/csf-tools/-/csf-tools-6.5.9.tgz#8e01df2305b53e228229f0b45ada3720e6e42a1c" - integrity sha512-RAdhsO2XmEDyWy0qNQvdKMLeIZAuyfD+tYlUwBHRU6DbByDucvwgMOGy5dF97YNJFmyo93EUYJzXjUrJs3U1LQ== +"@storybook/csf-plugin@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/csf-plugin/-/csf-plugin-7.0.0-alpha.50.tgz#8eec5ab2987a765ad9a592ca02d2dd9b7f093b00" + integrity sha512-1cEwYjElwVeb7CdiNfoNJ4Il530soXAfYWTvk4uHqjN+DxsBU01QIvYpfg0GMZR+KYvfoGVFl2Gda/xF3kbkCw== + dependencies: + "@storybook/csf-tools" "7.0.0-alpha.50" + unplugin "^0.10.2" + +"@storybook/csf-tools@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/csf-tools/-/csf-tools-7.0.0-alpha.50.tgz#913fc9be19fe5c59bc94c5c4fe3e5495fe08fec6" + integrity sha512-Zq4b2P49mGjxqGGmB4/OzcSPhP4EoBBSLlAldp3/mNaL66TpeaIEiC62fCRVt9FLWlISxIcav6PJgMhoXY1cWA== dependencies: - "@babel/core" "^7.12.10" - "@babel/generator" "^7.12.11" - "@babel/parser" "^7.12.11" - "@babel/plugin-transform-react-jsx" "^7.12.12" - "@babel/preset-env" "^7.12.11" - "@babel/traverse" "^7.12.11" "@babel/types" "^7.12.11" - "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/mdx1-csf" "^0.0.1" - core-js "^3.8.2" + "@storybook/csf" "0.0.2-next.7" + "@storybook/types" "7.0.0-alpha.50" fs-extra "^9.0.1" - global "^4.4.0" - regenerator-runtime "^0.13.7" ts-dedent "^2.0.0" "@storybook/csf@0.0.2--canary.4566f4d.1": @@ -1811,146 +2195,125 @@ dependencies: lodash "^4.17.15" -"@storybook/docs-tools@6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/docs-tools/-/docs-tools-6.5.9.tgz#5ff304f881e972ce14923a5ffcfed3f052094889" - integrity sha512-UoTaXLvec8x+q+4oYIk/t8DBju9C3ZTGklqOxDIt+0kS3TFAqEgI3JhKXqQOXgN5zDcvLVSxi8dbVAeSxk2ktA== +"@storybook/csf@0.0.2-next.7": + version "0.0.2-next.7" + resolved "https://registry.yarnpkg.com/@storybook/csf/-/csf-0.0.2-next.7.tgz#eee09bfcfe2f68bcd8992d5c193cb404b5c51d37" + integrity sha512-OPBZ7WWFjkg6KSpdt+HA9N0WEJqr7wwZaMONNnjo/MxDXZgWNwGDouPBjk7CNuIh2aoDgTo6MfCMg6SOK0/IMQ== + dependencies: + expect-type "^0.14.2" + lodash "^4.17.15" + type-fest "^2.19.0" + +"@storybook/docs-mdx@0.0.1-canary.12433cf.0": + version "0.0.1-canary.12433cf.0" + resolved "https://registry.yarnpkg.com/@storybook/docs-mdx/-/docs-mdx-0.0.1-canary.12433cf.0.tgz#054edfc4dc4fe2dfc311c7d9e4721f70e2dd7e0c" + integrity sha512-JWt7Ds6T3w68HW4fMBZvjEZKMJkoa/wuc3sic2IQ06Z2ul9RNc4baDielAThdZ4BUqoxf76/Kyrp8V3aj3an2Q== + dependencies: + "@babel/traverse" "^7.12.11" + "@mdx-js/mdx" "^2.0.0" + estree-to-babel "^4.9.0" + hast-util-to-estree "^2.0.2" + +"@storybook/docs-tools@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/docs-tools/-/docs-tools-7.0.0-alpha.50.tgz#71efd2bec6d7e22f646676f77f69d4c025da5989" + integrity sha512-1rv/gDq7aj9/4qVn/jTHERkfLVsQkJAKeBRcJktfhxnpupdDj/LwFPcM4Zp96Gu/E5M3GAWb5YkLdMGXJMN2wg== dependencies: "@babel/core" "^7.12.10" - "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/store" "6.5.9" - core-js "^3.8.2" + "@storybook/core-common" "7.0.0-alpha.50" + "@storybook/store" "7.0.0-alpha.50" + "@storybook/types" "7.0.0-alpha.50" doctrine "^3.0.0" lodash "^4.17.21" - regenerator-runtime "^0.13.7" -"@storybook/manager-webpack4@6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/manager-webpack4/-/manager-webpack4-6.5.9.tgz#c75d2cced4550c8a786f00b0e57b203d613e706c" - integrity sha512-49LZlHqWc7zj9tQfOOANixPYmLxqWTTZceA6DSXnKd9xDiO2Gl23Y+l/CSPXNZGDB8QFAwpimwqyKJj/NLH45A== +"@storybook/instrumenter@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/instrumenter/-/instrumenter-7.0.0-alpha.50.tgz#4805b356f4469c276d1adbf9fce9659cae7db5fe" + integrity sha512-76DlHEiPyV2siWUGdV4UCgkMyZVBYBFG9ISP6OoGZkJ5E8ATuzM09mPKAk8lD+fgN5F1l1q2SZw3h0vk0XUSUw== dependencies: - "@babel/core" "^7.12.10" - "@babel/plugin-transform-template-literals" "^7.12.1" - "@babel/preset-react" "^7.12.10" - "@storybook/addons" "6.5.9" - "@storybook/core-client" "6.5.9" - "@storybook/core-common" "6.5.9" - "@storybook/node-logger" "6.5.9" - "@storybook/theming" "6.5.9" - "@storybook/ui" "6.5.9" - "@types/node" "^14.0.10 || ^16.0.0" - "@types/webpack" "^4.41.26" - babel-loader "^8.0.0" - case-sensitive-paths-webpack-plugin "^2.3.0" - chalk "^4.1.0" + "@storybook/addons" "7.0.0-alpha.50" + "@storybook/channels" "7.0.0-alpha.50" + "@storybook/client-logger" "7.0.0-alpha.50" + "@storybook/core-events" "7.0.0-alpha.50" core-js "^3.8.2" - css-loader "^3.6.0" - express "^4.17.1" - file-loader "^6.2.0" - find-up "^5.0.0" - fs-extra "^9.0.1" - html-webpack-plugin "^4.0.0" - node-fetch "^2.6.7" - pnp-webpack-plugin "1.6.4" - read-pkg-up "^7.0.1" - regenerator-runtime "^0.13.7" - resolve-from "^5.0.0" - style-loader "^1.3.0" - telejson "^6.0.8" - terser-webpack-plugin "^4.2.3" - ts-dedent "^2.0.0" - url-loader "^4.1.1" - util-deprecate "^1.0.2" - webpack "4" - webpack-dev-middleware "^3.7.3" - webpack-virtual-modules "^0.2.2" + global "^4.4.0" -"@storybook/manager-webpack5@^6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/manager-webpack5/-/manager-webpack5-6.5.9.tgz#ce9dd6ea6298ab426b111f170c23deea7085ba08" - integrity sha512-J1GamphSsaZLNBEhn1awgxzOS8KfvzrHtVlAm2VHwW7j1E1DItROFJhGCgduYYuBiN9eqm+KIYrxcr6cRuoolQ== +"@storybook/instrumenter@^6.4.0": + version "6.5.13" + resolved "https://registry.yarnpkg.com/@storybook/instrumenter/-/instrumenter-6.5.13.tgz#bcb743e2a2c92ba284b2d5cac41bbe3d2c8e8d12" + integrity sha512-izRF64BU+gGCP7qE1N3kOVLSv5Xk4M0OWcRmFIXoIS46qNDzmd8hmbkkx3M9wrvw0kcQ97kIyADF+UInbcr/dQ== dependencies: - "@babel/core" "^7.12.10" - "@babel/plugin-transform-template-literals" "^7.12.1" - "@babel/preset-react" "^7.12.10" - "@storybook/addons" "6.5.9" - "@storybook/core-client" "6.5.9" - "@storybook/core-common" "6.5.9" - "@storybook/node-logger" "6.5.9" - "@storybook/theming" "6.5.9" - "@storybook/ui" "6.5.9" - "@types/node" "^14.0.10 || ^16.0.0" - babel-loader "^8.0.0" - case-sensitive-paths-webpack-plugin "^2.3.0" - chalk "^4.1.0" + "@storybook/addons" "6.5.13" + "@storybook/client-logger" "6.5.13" + "@storybook/core-events" "6.5.13" core-js "^3.8.2" - css-loader "^5.0.1" - express "^4.17.1" - find-up "^5.0.0" - fs-extra "^9.0.1" - html-webpack-plugin "^5.0.0" - node-fetch "^2.6.7" - process "^0.11.10" - read-pkg-up "^7.0.1" - regenerator-runtime "^0.13.7" - resolve-from "^5.0.0" - style-loader "^2.0.0" - telejson "^6.0.8" - terser-webpack-plugin "^5.0.3" - ts-dedent "^2.0.0" - util-deprecate "^1.0.2" - webpack "^5.9.0" - webpack-dev-middleware "^4.1.0" - webpack-virtual-modules "^0.4.1" + global "^4.4.0" -"@storybook/mdx1-csf@^0.0.1": - version "0.0.1" - resolved "https://registry.yarnpkg.com/@storybook/mdx1-csf/-/mdx1-csf-0.0.1.tgz#d4184e3f6486fade9f7a6bfaf934d9bc07718d5b" - integrity sha512-4biZIWWzoWlCarMZmTpqcJNgo/RBesYZwGFbQeXiGYsswuvfWARZnW9RE9aUEMZ4XPn7B1N3EKkWcdcWe/K2tg== +"@storybook/manager@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/manager/-/manager-7.0.0-alpha.50.tgz#6def7fa3155828dd9b2ac0e9c3eba06265240ded" + integrity sha512-EGyEjytgi9I+ioFfjJekjg6CX/N/DiNrAqBXsW43f8Raex7y8hggK4cvwWd8m7EXThhiSZGcJbr41skotD9deA== + +"@storybook/mdx2-csf@next": + version "0.1.0-next.6" + resolved "https://registry.yarnpkg.com/@storybook/mdx2-csf/-/mdx2-csf-0.1.0-next.6.tgz#55288b2a94a5c5fb5e9e703bc01be950ac6e3728" + integrity sha512-FDBPTDHG9BcI27Zp5kwkqjsv2A3s8aUahtKeHOsmTicOBS8uWqUZ3jmL7vg6N7SpiUUBAft9/vTQfttNLeHO7w== dependencies: - "@babel/generator" "^7.12.11" - "@babel/parser" "^7.12.11" - "@babel/preset-env" "^7.12.11" - "@babel/types" "^7.12.11" - "@mdx-js/mdx" "^1.6.22" - "@types/lodash" "^4.14.167" - js-string-escape "^1.0.1" - loader-utils "^2.0.0" - lodash "^4.17.21" - prettier ">=2.2.1 <=2.3.0" - ts-dedent "^2.0.0" + loader-utils "^2.0.4" -"@storybook/node-logger@6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-6.5.9.tgz#129cfe0d0f79cab4f6a2ba194d39516680b1626f" - integrity sha512-nZZNZG2Wtwv6Trxi3FrnIqUmB55xO+X/WQGPT5iKlqNjdRIu/T72mE7addcp4rbuWCQfZUhcDDGpBOwKtBxaGg== +"@storybook/node-logger@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-7.0.0-alpha.50.tgz#9d7831a9dcc969fc15bb4f549711d21d48505d05" + integrity sha512-SqgxK4KnqIHhxyf/TORLESV40h+Fzk6Cuo/Emho4IX/ZRTy+j+lLStvI0ztLJTTDfKxYpbU5WpW67MB0LgtkaA== dependencies: "@types/npmlog" "^4.1.2" chalk "^4.1.0" - core-js "^3.8.2" npmlog "^5.0.1" pretty-hrtime "^1.0.3" -"@storybook/preview-web@6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/preview-web/-/preview-web-6.5.9.tgz#557d919e6df50d66259521aa36ebf4055bbd236e" - integrity sha512-4eMrO2HJyZUYyL/j+gUaDvry6iGedshwT5MQqe7J9FaA+Q2pNARQRB1X53f410w7S4sObRmYIAIluWPYdWym9w== +"@storybook/postinstall@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/postinstall/-/postinstall-7.0.0-alpha.50.tgz#b6a12b6a1c8923d939b7f56f61b7fd830307635a" + integrity sha512-1fKSuGjV4L6hpxOSQydweGtJo5cGhEqoZP+JD0wql3Rjobgu87WLH4i38OVZR/1k0fPMEdOVWkyPeqlnpbOkCA== + +"@storybook/preset-react-webpack@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/preset-react-webpack/-/preset-react-webpack-7.0.0-alpha.50.tgz#6d38f6e281ad391f3b1a4bc769a173c5d84de248" + integrity sha512-3djiEPTZljEoodDTPeLX1jYXbFcGKgDLEFOVIa/LY5wwqZMRbecj7DFeXszHvNT90FQsSGyOKMHoLK7808xY5w== dependencies: - "@storybook/addons" "6.5.9" - "@storybook/channel-postmessage" "6.5.9" - "@storybook/client-logger" "6.5.9" - "@storybook/core-events" "6.5.9" - "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/store" "6.5.9" + "@babel/preset-flow" "^7.12.1" + "@babel/preset-react" "^7.12.10" + "@pmmmwh/react-refresh-webpack-plugin" "^0.5.5" + "@storybook/core-webpack" "7.0.0-alpha.50" + "@storybook/docs-tools" "7.0.0-alpha.50" + "@storybook/node-logger" "7.0.0-alpha.50" + "@storybook/react" "7.0.0-alpha.50" + "@storybook/react-docgen-typescript-plugin" "1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0" + "@types/node" "^16.0.0" + "@types/semver" "^7.3.4" + babel-plugin-add-react-displayname "^0.0.5" + babel-plugin-react-docgen "^4.2.1" + fs-extra "^9.0.1" + react-refresh "^0.11.0" + semver "^7.3.7" + +"@storybook/preview-web@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/preview-web/-/preview-web-7.0.0-alpha.50.tgz#0114c0f9c9c73da8cbcb5c2e05eae2c29236c22d" + integrity sha512-1Uh73iGOMrQC2pd9baE0Mv1rxYAXkAmBK6kafghgw8uZs5o8MPRjB3GiV2qbPUUJW+p3XXG+VDmN4mrHPgXOxA== + dependencies: + "@storybook/addons" "7.0.0-alpha.50" + "@storybook/channels" "7.0.0-alpha.50" + "@storybook/client-logger" "7.0.0-alpha.50" + "@storybook/core-events" "7.0.0-alpha.50" + "@storybook/store" "7.0.0-alpha.50" + "@storybook/types" "7.0.0-alpha.50" ansi-to-html "^0.6.11" - core-js "^3.8.2" global "^4.4.0" lodash "^4.17.21" qs "^6.10.0" - regenerator-runtime "^0.13.7" synchronous-promise "^2.0.15" ts-dedent "^2.0.0" - unfetch "^4.2.0" util-deprecate "^1.0.2" "@storybook/react-docgen-typescript-plugin@1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0": @@ -1966,58 +2329,62 @@ react-docgen-typescript "^2.1.1" tslib "^2.0.0" -"@storybook/react@^6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/react/-/react-6.5.9.tgz#687ec1f6b785822a392b7ac115b61800f69fb7cd" - integrity sha512-Rp+QaTQAzxJhwuzJXVd49mnIBLQRlF8llTxPT2YoGHdrGkku/zl/HblQ6H2yzEf15367VyzaAv/BpLsO9Jlfxg== +"@storybook/react-webpack5@^7.0.0-alpha.48": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/react-webpack5/-/react-webpack5-7.0.0-alpha.50.tgz#0488e1e8643e1af599a6de601af0c4f02b2f16b6" + integrity sha512-YqIf6+/PlBRXC1fiKS+j5oZIXb/cYh5XkFiAf93fC5lWMahUamGABAIYQV0CgG9PB7sbg396vBPKJbwX9DdrLg== dependencies: - "@babel/preset-flow" "^7.12.1" - "@babel/preset-react" "^7.12.10" - "@pmmmwh/react-refresh-webpack-plugin" "^0.5.3" - "@storybook/addons" "6.5.9" - "@storybook/client-logger" "6.5.9" - "@storybook/core" "6.5.9" - "@storybook/core-common" "6.5.9" - "@storybook/csf" "0.0.2--canary.4566f4d.1" - "@storybook/docs-tools" "6.5.9" - "@storybook/node-logger" "6.5.9" - "@storybook/react-docgen-typescript-plugin" "1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0" - "@storybook/semver" "^7.3.2" - "@storybook/store" "6.5.9" + "@storybook/builder-webpack5" "7.0.0-alpha.50" + "@storybook/preset-react-webpack" "7.0.0-alpha.50" + "@storybook/react" "7.0.0-alpha.50" + "@types/node" "^16.0.0" + +"@storybook/react@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/react/-/react-7.0.0-alpha.50.tgz#5562cec32bfb5c7a9f1b038036e88aea5cc1af92" + integrity sha512-S36IlAxHb6bz2Gw0ltnJqadfUD9i7EH4a/zE20Mbk/FS9c4Rit+RX6FdgLJkzZJX6rb6x9fYQyDz/QUboxi6hQ== + dependencies: + "@storybook/addons" "7.0.0-alpha.50" + "@storybook/client-logger" "7.0.0-alpha.50" + "@storybook/core-client" "7.0.0-alpha.50" + "@storybook/docs-tools" "7.0.0-alpha.50" + "@storybook/store" "7.0.0-alpha.50" + "@storybook/types" "7.0.0-alpha.50" "@types/estree" "^0.0.51" - "@types/node" "^14.14.20 || ^16.0.0" - "@types/webpack-env" "^1.16.0" + "@types/node" "^16.0.0" acorn "^7.4.1" acorn-jsx "^5.3.1" acorn-walk "^7.2.0" - babel-plugin-add-react-displayname "^0.0.5" - babel-plugin-react-docgen "^4.2.1" - core-js "^3.8.2" escodegen "^2.0.0" - fs-extra "^9.0.1" global "^4.4.0" html-tags "^3.1.0" lodash "^4.17.21" prop-types "^15.7.2" - react-element-to-jsx-string "^14.3.4" - react-refresh "^0.11.0" - read-pkg-up "^7.0.1" - regenerator-runtime "^0.13.7" + react-element-to-jsx-string "^15.0.0" ts-dedent "^2.0.0" + type-fest "^2.19.0" util-deprecate "^1.0.2" - webpack ">=4.43.0 <6.0.0" -"@storybook/router@6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/router/-/router-6.5.9.tgz#4740248f8517425b2056273fb366ace8a17c65e8" - integrity sha512-G2Xp/2r8vU2O34eelE+G5VbEEVFDeHcCURrVJEROh6dq2asFJAPbzslVXSeCqgOTNLSpRDJ2NcN5BckkNqmqJg== +"@storybook/router@6.5.13": + version "6.5.13" + resolved "https://registry.yarnpkg.com/@storybook/router/-/router-6.5.13.tgz#c8bfed96f2343b097d416cfc95194038365fce94" + integrity sha512-sf5aogfirH5ucD0d0hc2mKf2iyWsZsvXhr5kjxUQmgkcoflkGUWhc34sbSQVRQ1i8K5lkLIDH/q2s1Zr2SbzhQ== dependencies: - "@storybook/client-logger" "6.5.9" + "@storybook/client-logger" "6.5.13" core-js "^3.8.2" memoizerific "^1.11.3" qs "^6.10.0" regenerator-runtime "^0.13.7" +"@storybook/router@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/router/-/router-7.0.0-alpha.50.tgz#c424ee5ff9c1ae2e3700f6768d99a041a6c73e98" + integrity sha512-TYHkeEah9qkXPWYYUzjwhmRl7sUVpMtY/hyfP28GaJuq1iv/GuUUpzp/nFdCW89T58WqDRF3CqKY/d6OhqxzIA== + dependencies: + "@storybook/client-logger" "7.0.0-alpha.50" + memoizerific "^1.11.3" + qs "^6.10.0" + "@storybook/semver@^7.3.2": version "7.3.2" resolved "https://registry.yarnpkg.com/@storybook/semver/-/semver-7.3.2.tgz#f3b9c44a1c9a0b933c04e66d0048fcf2fa10dac0" @@ -2026,79 +2393,92 @@ core-js "^3.6.5" find-up "^4.1.0" -"@storybook/store@6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/store/-/store-6.5.9.tgz#dc9963fc013636569082bd8f7200804866373735" - integrity sha512-80pcDTcCwK6wUA63aWOp13urI77jfipIVee9mpVvbNyfrNN8kGv1BS0z/JHDxuV6rC4g7LG1fb+BurR0yki7BA== +"@storybook/store@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/store/-/store-7.0.0-alpha.50.tgz#c48c9171051df84fc81681cd132d4dbf0d0020c3" + integrity sha512-gTpBiMhHjuSX5wJ5bKDiITYtyEVfnnO8nPXBr4sz61KQ9QGuI2J3ghLMuNyyAEd58fjr2zEwO+TxZof+qE4jjg== dependencies: - "@storybook/addons" "6.5.9" - "@storybook/client-logger" "6.5.9" - "@storybook/core-events" "6.5.9" - "@storybook/csf" "0.0.2--canary.4566f4d.1" - core-js "^3.8.2" - fast-deep-equal "^3.1.3" + "@storybook/addons" "7.0.0-alpha.50" + "@storybook/client-logger" "7.0.0-alpha.50" + "@storybook/core-events" "7.0.0-alpha.50" + "@storybook/csf" "0.0.2-next.7" + "@storybook/types" "7.0.0-alpha.50" + dequal "^2.0.2" global "^4.4.0" lodash "^4.17.21" memoizerific "^1.11.3" - regenerator-runtime "^0.13.7" slash "^3.0.0" - stable "^0.1.8" synchronous-promise "^2.0.15" ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/telemetry@6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/telemetry/-/telemetry-6.5.9.tgz#8e1e0d4a89fc2387620045e5ea96c109d16a7247" - integrity sha512-JluoHCRhHAr4X0eUNVBSBi1JIBA92404Tu1TPdbN7x6gCZxHXXPTSUTAnspXp/21cTdMhY2x+kfZQ8fmlGK4MQ== +"@storybook/telemetry@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/telemetry/-/telemetry-7.0.0-alpha.50.tgz#f7203b99bdc943460d5b238dccf09c8c1ca7417e" + integrity sha512-EXSCqx422W8IXY2f8DzBwdJ+ZkO81L5pEUvRFI97Zrx47QYT9kMY5ADlTvIArkA0l8vA6NhB4LDRLbLAug2msw== dependencies: - "@storybook/client-logger" "6.5.9" - "@storybook/core-common" "6.5.9" + "@storybook/client-logger" "7.0.0-alpha.50" + "@storybook/core-common" "7.0.0-alpha.50" chalk "^4.1.0" - core-js "^3.8.2" detect-package-manager "^2.0.1" fetch-retry "^5.0.2" fs-extra "^9.0.1" - global "^4.4.0" isomorphic-unfetch "^3.1.0" nanoid "^3.3.1" read-pkg-up "^7.0.1" - regenerator-runtime "^0.13.7" -"@storybook/theming@6.5.9", "@storybook/theming@^6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-6.5.9.tgz#13f60a3a3cd73ceb5caf9f188e1627e79f1891aa" - integrity sha512-KM0AMP5jMQPAdaO8tlbFCYqx9uYM/hZXGSVUhznhLYu7bhNAIK7ZVmXxyE/z/khM++8eUHzRoZGiO/cwCkg9Xw== +"@storybook/testing-library@^0.0.13": + version "0.0.13" + resolved "https://registry.yarnpkg.com/@storybook/testing-library/-/testing-library-0.0.13.tgz#417c87d4ea62895092ec5fdf67027ae201254f45" + integrity sha512-vRMeIGer4EjJkTgI8sQyK9W431ekPWYCWL//OmSDJ64IT3h7FnW7Xg6p+eqM3oII98/O5pcya5049GxnjaPtxw== dependencies: - "@storybook/client-logger" "6.5.9" + "@storybook/client-logger" "^6.4.0" + "@storybook/instrumenter" "^6.4.0" + "@testing-library/dom" "^8.3.0" + "@testing-library/user-event" "^13.2.1" + ts-dedent "^2.2.0" + +"@storybook/theming@6.5.13": + version "6.5.13" + resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-6.5.13.tgz#3f905eb9f72ddc28d096384290999057987f3083" + integrity sha512-oif5NGFAUQhizo50r+ctw2hZNLWV4dPHai+L/gFvbaSeRBeHSNkIcMoZ2FlrO566HdGZTDutYXcR+xus8rI28g== + dependencies: + "@storybook/client-logger" "6.5.13" core-js "^3.8.2" memoizerific "^1.11.3" regenerator-runtime "^0.13.7" -"@storybook/ui@6.5.9": - version "6.5.9" - resolved "https://registry.yarnpkg.com/@storybook/ui/-/ui-6.5.9.tgz#41e59279323cccc0d613974ec9782d797220c8a7" - integrity sha512-ryuPxJgtbb0gPXKGgGAUC+Z185xGAd1IvQ0jM5fJ0SisHXI8jteG3RaWhntOehi9qCg+64Vv6eH/cj9QYNHt1Q== +"@storybook/theming@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-7.0.0-alpha.50.tgz#25fa99accd13bd33b16b6cbb50db18d579c191e6" + integrity sha512-AJmHLTUav/D9gMP/J/eaL6hBdX+dIhxhDuoXIsaeXuviOV8X2T9v+OAQyhn122b3CC8TBn8dlXgip1DnK0YvvQ== dependencies: - "@storybook/addons" "6.5.9" - "@storybook/api" "6.5.9" - "@storybook/channels" "6.5.9" - "@storybook/client-logger" "6.5.9" - "@storybook/components" "6.5.9" - "@storybook/core-events" "6.5.9" - "@storybook/router" "6.5.9" - "@storybook/semver" "^7.3.2" - "@storybook/theming" "6.5.9" - core-js "^3.8.2" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@storybook/client-logger" "7.0.0-alpha.50" memoizerific "^1.11.3" - qs "^6.10.0" - regenerator-runtime "^0.13.7" - resolve-from "^5.0.0" -"@testing-library/dom@^8.5.0": - version "8.14.0" - resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-8.14.0.tgz#c9830a21006d87b9ef6e1aae306cf49b0283e28e" - integrity sha512-m8FOdUo77iMTwVRCyzWcqxlEIk+GnopbrRI15a0EaLbpZSCinIVI4kSQzWhkShK83GogvEFJSsHF3Ws0z1vrqA== +"@storybook/types@7.0.0-alpha.50": + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/@storybook/types/-/types-7.0.0-alpha.50.tgz#4f07588ff3fa53f0d64bd8b81c1b4d8309be6810" + integrity sha512-BRgWoAU9l+2qNdFUH6o9F8kRwzlixcPoUpE7+0/hQNOC0M/UdIzpZkaxR0gXCeHGayjTU/jlGGlOz1qk2R+/HQ== + dependencies: + "@babel/core" "^7.12.10" + "@types/babel__core" "^7.0.0" + "@types/express" "^4.7.0" + express "^4.17.1" + file-system-cache "^2.0.0" + +"@szmarczak/http-timer@^5.0.1": + version "5.0.1" + resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-5.0.1.tgz#c7c1bf1141cdd4751b0399c8fc7b8b664cd5be3a" + integrity sha512-+PmQX0PiAYPMeVYe237LJAYvOMYW1j2rH5YROyS3b4CTVJum34HfRvKvAzozHAQG0TnHNdUfY9nCeUyRAs//cw== + dependencies: + defer-to-connect "^2.0.1" + +"@testing-library/dom@^8.3.0", "@testing-library/dom@^8.5.0": + version "8.19.0" + resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-8.19.0.tgz#bd3f83c217ebac16694329e413d9ad5fdcfd785f" + integrity sha512-6YWYPPpxG3e/xOo6HIWwB/58HukkwIVTOaZ0VwdMVjhRUX/01E4FtQbck9GazOOj7MXHc5RBzMrU86iBJHbI+A== dependencies: "@babel/code-frame" "^7.10.4" "@babel/runtime" "^7.12.5" @@ -2110,29 +2490,76 @@ pretty-format "^27.0.2" "@testing-library/react@^13.2.0": - version "13.3.0" - resolved "https://registry.yarnpkg.com/@testing-library/react/-/react-13.3.0.tgz#bf298bfbc5589326bbcc8052b211f3bb097a97c5" - integrity sha512-DB79aA426+deFgGSjnf5grczDPiL4taK3hFaa+M5q7q20Kcve9eQottOG5kZ74KEr55v0tU2CQormSSDK87zYQ== + version "13.4.0" + resolved "https://registry.yarnpkg.com/@testing-library/react/-/react-13.4.0.tgz#6a31e3bf5951615593ad984e96b9e5e2d9380966" + integrity sha512-sXOGON+WNTh3MLE9rve97ftaZukN3oNf2KjDy7YTx6hcTO2uuLHuCGynMDhFwGw/jYf4OJ2Qk0i4i79qMNNkyw== dependencies: "@babel/runtime" "^7.12.5" "@testing-library/dom" "^8.5.0" "@types/react-dom" "^18.0.0" +"@testing-library/user-event@^13.2.1": + version "13.5.0" + resolved "https://registry.yarnpkg.com/@testing-library/user-event/-/user-event-13.5.0.tgz#69d77007f1e124d55314a2b73fd204b333b13295" + integrity sha512-5Kwtbo3Y/NowpkbRuSepbyMFkZmHgD+vPzYB/RJ4oxt5Gj/avFFBYjhw27cqSVPVw/3a67NK1PbiIr9k4Gwmdg== + dependencies: + "@babel/runtime" "^7.12.5" + "@testing-library/user-event@^14.2.0": - version "14.2.1" - resolved "https://registry.yarnpkg.com/@testing-library/user-event/-/user-event-14.2.1.tgz#8c5ff2d004544bb2220e1d864f7267fe7eb6c556" - integrity sha512-HOr1QiODrq+0j9lKU5i10y9TbhxMBMRMGimNx10asdmau9cb8Xb1Vyg0GvTwyIL2ziQyh2kAloOtAQFBQVuecA== + version "14.4.3" + resolved "https://registry.yarnpkg.com/@testing-library/user-event/-/user-event-14.4.3.tgz#af975e367743fa91989cd666666aec31a8f50591" + integrity sha512-kCUc5MEwaEMakkO5x7aoD+DLi02ehmEM2QCGWvNqAS1dV/fAvORWEjnjsEIvml59M7Y5kCkWN6fCCyPOe8OL6Q== "@tootallnate/once@2": version "2.0.0" resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf" integrity sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A== +"@types/acorn@^4.0.0": + version "4.0.6" + resolved "https://registry.yarnpkg.com/@types/acorn/-/acorn-4.0.6.tgz#d61ca5480300ac41a7d973dd5b84d0a591154a22" + integrity sha512-veQTnWP+1D/xbxVrPC3zHnCZRjSrKfhbMUlEA43iMZLu7EsnTtkJklIuwrCPbOi8YkvDQAiW05VQQFvvz9oieQ== + dependencies: + "@types/estree" "*" + "@types/aria-query@^4.2.0": version "4.2.2" resolved "https://registry.yarnpkg.com/@types/aria-query/-/aria-query-4.2.2.tgz#ed4e0ad92306a704f9fb132a0cfcf77486dbe2bc" integrity sha512-HnYpAE1Y6kRyKM/XkEuiRQhTHvkzMBurTHnpFLYLBGPIylZNPs9jJcuOOYWxPLJCSEtmZT0Y8rHDokKN7rRTig== +"@types/babel__core@^7.0.0": + version "7.1.20" + resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.20.tgz#e168cdd612c92a2d335029ed62ac94c95b362359" + integrity sha512-PVb6Bg2QuscZ30FvOU7z4guG6c926D9YRvOxEaelzndpMsvP+YM74Q/dAFASpg2l6+XLalxSGxcq/lrgYWZtyQ== + dependencies: + "@babel/parser" "^7.1.0" + "@babel/types" "^7.0.0" + "@types/babel__generator" "*" + "@types/babel__template" "*" + "@types/babel__traverse" "*" + +"@types/babel__generator@*": + version "7.6.4" + resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.4.tgz#1f20ce4c5b1990b37900b63f050182d28c2439b7" + integrity sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg== + dependencies: + "@babel/types" "^7.0.0" + +"@types/babel__template@*": + version "7.4.1" + resolved "https://registry.yarnpkg.com/@types/babel__template/-/babel__template-7.4.1.tgz#3d1a48fd9d6c0edfd56f2ff578daed48f36c8969" + integrity sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g== + dependencies: + "@babel/parser" "^7.1.0" + "@babel/types" "^7.0.0" + +"@types/babel__traverse@*": + version "7.18.2" + resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.18.2.tgz#235bf339d17185bdec25e024ca19cce257cc7309" + integrity sha512-FcFaxOr2V5KZCviw1TnutEMVUVsGt4D2hP1TAfXZAMKuHYW3xQhe3jTxNPWutgCJ3/X1c5yX8ZoGVEItxKbwBg== + dependencies: + "@babel/types" "^7.3.0" + "@types/body-parser@*": version "1.19.2" resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.19.2.tgz#aea2059e28b7658639081347ac4fab3de166e6f0" @@ -2163,47 +2590,71 @@ dependencies: "@types/node" "*" +"@types/debug@^4.0.0": + version "4.1.7" + resolved "https://registry.yarnpkg.com/@types/debug/-/debug-4.1.7.tgz#7cc0ea761509124709b8b2d1090d8f6c17aadb82" + integrity sha512-9AonUzyTjXXhEOa0DnqpzZi6VHlqKMswga9EXjpXnnqxwLtdvPPtlO8evrI5D9S6asFRCQ6v+wpiUKbw+vKqyg== + dependencies: + "@types/ms" "*" + +"@types/ejs@^3.1.1": + version "3.1.1" + resolved "https://registry.yarnpkg.com/@types/ejs/-/ejs-3.1.1.tgz#29c539826376a65e7f7d672d51301f37ed718f6d" + integrity sha512-RQul5wEfY7BjWm0sYY86cmUN/pcXWGyVxWX93DFFJvcrxax5zKlieLwA3T77xJGwNcZW0YW6CYG70p1m8xPFmA== + "@types/eslint-scope@^3.7.3": - version "3.7.3" - resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.3.tgz#125b88504b61e3c8bc6f870882003253005c3224" - integrity sha512-PB3ldyrcnAicT35TWPs5IcwKD8S333HMaa2VVv4+wdvebJkjWuW/xESoB8IwRcog8HYVYamb1g/R31Qv5Bx03g== + version "3.7.4" + resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.4.tgz#37fc1223f0786c39627068a12e94d6e6fc61de16" + integrity sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA== dependencies: "@types/eslint" "*" "@types/estree" "*" "@types/eslint@*": - version "8.4.3" - resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.4.3.tgz#5c92815a3838b1985c90034cd85f26f59d9d0ece" - integrity sha512-YP1S7YJRMPs+7KZKDb9G63n8YejIwW9BALq7a5j2+H4yl6iOv9CB29edho+cuFRrvmJbbaH2yiVChKLJVysDGw== + version "8.4.10" + resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.4.10.tgz#19731b9685c19ed1552da7052b6f668ed7eb64bb" + integrity sha512-Sl/HOqN8NKPmhWo2VBEPm0nvHnu2LL3v9vKo8MEq0EtbJ4eVzGPl41VNPvn5E1i5poMk4/XD8UriLHpJvEP/Nw== dependencies: "@types/estree" "*" "@types/json-schema" "*" -"@types/estree@*", "@types/estree@^0.0.51": +"@types/estree-jsx@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@types/estree-jsx/-/estree-jsx-1.0.0.tgz#7bfc979ab9f692b492017df42520f7f765e98df1" + integrity sha512-3qvGd0z8F2ENTGr/GG1yViqfiKmRfrXVx5sJyHGFu3z7m5g5utCQtGp/g29JnjflhtQJBv1WDQukHiT58xPcYQ== + dependencies: + "@types/estree" "*" + +"@types/estree@*", "@types/estree@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.0.tgz#5fb2e536c1ae9bf35366eed879e827fa59ca41c2" + integrity sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ== + +"@types/estree@^0.0.51": version "0.0.51" resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.51.tgz#cfd70924a25a3fd32b218e5e420e6897e1ac4f40" integrity sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ== "@types/express-serve-static-core@*", "@types/express-serve-static-core@^4.17.18": - version "4.17.29" - resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.29.tgz#2a1795ea8e9e9c91b4a4bbe475034b20c1ec711c" - integrity sha512-uMd++6dMKS32EOuw1Uli3e3BPgdLIXmezcfHv7N4c1s3gkhikBplORPpMq3fuWkxncZN1reb16d5n8yhQ80x7Q== + version "4.17.31" + resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.31.tgz#a1139efeab4e7323834bb0226e62ac019f474b2f" + integrity sha512-DxMhY+NAsTwMMFHBTtJFNp5qiHKJ7TeqOo23zVEM9alT1Ml27Q3xcTH0xwxn7Q0BbMcVEJOs/7aQtUWupUQN3Q== dependencies: "@types/node" "*" "@types/qs" "*" "@types/range-parser" "*" -"@types/express@*", "@types/express@^4.17.13": - version "4.17.13" - resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.13.tgz#a76e2995728999bab51a33fabce1d705a3709034" - integrity sha512-6bSZTPaTIACxn48l50SR+axgrqm6qXFIxrdAKaG6PaJk3+zuUr35hBlgT7vOmJcum+OEaIBLtHV/qloEAFITeA== +"@types/express@*", "@types/express@^4.17.13", "@types/express@^4.7.0": + version "4.17.14" + resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.14.tgz#143ea0557249bc1b3b54f15db4c81c3d4eb3569c" + integrity sha512-TEbt+vaPFQ+xpxFLFssxUDXj5cWCxZJjIcB7Yg0k0GMHGtgtQgpvx/MUQUeAkNbA9AAGrwkAsoeItdTgS7FMyg== dependencies: "@types/body-parser" "*" "@types/express-serve-static-core" "^4.17.18" "@types/qs" "*" "@types/serve-static" "*" -"@types/glob@*", "@types/glob@^7.1.1": +"@types/glob@^7.1.1": version "7.2.0" resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.2.0.tgz#bc1b5bf3aa92f25bd5dd39f35c57361bdce5b2eb" integrity sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA== @@ -2211,6 +2662,13 @@ "@types/minimatch" "*" "@types/node" "*" +"@types/graceful-fs@^4.1.3": + version "4.1.5" + resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.5.tgz#21ffba0d98da4350db64891f92a9e5db3cdb4e15" + integrity sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw== + dependencies: + "@types/node" "*" + "@types/hast@^2.0.0": version "2.3.4" resolved "https://registry.yarnpkg.com/@types/hast/-/hast-2.3.4.tgz#8aa5ef92c117d20d974a82bdfb6a648b08c0bafc" @@ -2218,16 +2676,16 @@ dependencies: "@types/unist" "*" -"@types/html-minifier-terser@^5.0.0": - version "5.1.2" - resolved "https://registry.yarnpkg.com/@types/html-minifier-terser/-/html-minifier-terser-5.1.2.tgz#693b316ad323ea97eed6b38ed1a3cc02b1672b57" - integrity sha512-h4lTMgMJctJybDp8CQrxTUiiYmedihHWkjnF/8Pxseu2S6Nlfcy8kwboQ8yejh456rP2yWoEVm1sS/FVsfM48w== - "@types/html-minifier-terser@^6.0.0": version "6.1.0" resolved "https://registry.yarnpkg.com/@types/html-minifier-terser/-/html-minifier-terser-6.1.0.tgz#4fc33a00c1d0c16987b1a20cf92d20614c55ac35" integrity sha512-oh/6byDPnL1zeNXFrDXFLyZjkr1MsBG667IM792caf1L2UPOOMf65NFzjUH/ltyfwjAGfs1rsX1eftK0jC/KIg== +"@types/http-cache-semantics@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@types/http-cache-semantics/-/http-cache-semantics-4.0.1.tgz#0ea7b61496902b95890dc4c3a116b60cb8dae812" + integrity sha512-SZs7ekbP8CN0txVG2xVRH6EgKmEm31BOxA07vkFaETzZz1xh+cbt8BcI0slpymvwhx5dlFnQG2rTlPVQn+iRPQ== + "@types/http-proxy@^1.17.8": version "1.17.9" resolved "https://registry.yarnpkg.com/@types/http-proxy/-/http-proxy-1.17.9.tgz#7f0e7931343761efde1e2bf48c40f02f3f75705a" @@ -2240,20 +2698,34 @@ resolved "https://registry.yarnpkg.com/@types/is-function/-/is-function-1.0.1.tgz#2d024eace950c836d9e3335a66b97960ae41d022" integrity sha512-A79HEEiwXTFtfY+Bcbo58M2GRYzCr9itHWzbzHVFNEYCcoU/MMGwYYf721gBrnhpj1s6RGVVha/IgNFnR0Iw/Q== -"@types/istanbul-lib-coverage@^2.0.1": +"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": version "2.0.4" resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz#8467d4b3c087805d63580480890791277ce35c44" integrity sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g== -"@types/json-schema@*", "@types/json-schema@^7.0.4", "@types/json-schema@^7.0.5", "@types/json-schema@^7.0.8", "@types/json-schema@^7.0.9": +"@types/istanbul-lib-report@*": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#c14c24f18ea8190c118ee7562b7ff99a36552686" + integrity sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg== + dependencies: + "@types/istanbul-lib-coverage" "*" + +"@types/istanbul-reports@^3.0.0": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz#9153fe98bba2bd565a63add9436d6f0d7f8468ff" + integrity sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw== + dependencies: + "@types/istanbul-lib-report" "*" + +"@types/json-schema@*", "@types/json-schema@^7.0.5", "@types/json-schema@^7.0.8", "@types/json-schema@^7.0.9": version "7.0.11" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== "@types/lodash@^4.14.167": - version "4.14.182" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.182.tgz#05301a4d5e62963227eaafe0ce04dd77c54ea5c2" - integrity sha512-/THyiqyQAP9AfARo4pF+aCGcyiQ94tX/Is2I7HofNRqoYLgN1PBoOWu2/zTA5zMxzP5EFutMtWtGAFRKUe961Q== + version "4.14.189" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.189.tgz#975ff8c38da5ae58b751127b19ad5e44b5b7f6d2" + integrity sha512-kb9/98N6X8gyME9Cf7YaqIMvYGnBSWqEci6tiettE6iJWH1XdJz/PO8LB0GtLCG7x8dU3KWhZT+lA1a35127tA== "@types/mdast@^3.0.0": version "3.0.10" @@ -2262,15 +2734,30 @@ dependencies: "@types/unist" "*" -"@types/mime@^1": - version "1.3.2" - resolved "https://registry.yarnpkg.com/@types/mime/-/mime-1.3.2.tgz#93e25bf9ee75fe0fd80b594bc4feb0e862111b5a" - integrity sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw== +"@types/mdx@^2.0.0": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@types/mdx/-/mdx-2.0.3.tgz#43fd32414f17fcbeced3578109a6edd877a2d96e" + integrity sha512-IgHxcT3RC8LzFLhKwP3gbMPeaK7BM9eBH46OdapPA7yvuIUJ8H6zHZV53J8hGZcTSnt95jANt+rTBNUUc22ACQ== + +"@types/mime-types@^2.1.0": + version "2.1.1" + resolved "https://registry.yarnpkg.com/@types/mime-types/-/mime-types-2.1.1.tgz#d9ba43490fa3a3df958759adf69396c3532cf2c1" + integrity sha512-vXOTGVSLR2jMw440moWTC7H19iUyLtP3Z1YTj7cSsubOICinjMxFeb/V57v9QdyyPGbbWolUFSSmSiRSn94tFw== + +"@types/mime@*": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@types/mime/-/mime-3.0.1.tgz#5f8f2bca0a5863cb69bc0b0acd88c96cb1d4ae10" + integrity sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA== "@types/minimatch@*": - version "3.0.5" - resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.5.tgz#1001cc5e6a3704b83c236027e77f2f58ea010f40" - integrity sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ== + version "5.1.2" + resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-5.1.2.tgz#07508b45797cb81ec3f273011b054cd0755eddca" + integrity sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA== + +"@types/ms@*": + version "0.7.31" + resolved "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.31.tgz#31b7ca6407128a3d2bbc27fe2d21b345397f6197" + integrity sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA== "@types/node-fetch@^2.5.7": version "2.6.2" @@ -2281,14 +2768,14 @@ form-data "^3.0.0" "@types/node@*": - version "18.0.0" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.0.0.tgz#67c7b724e1bcdd7a8821ce0d5ee184d3b4dd525a" - integrity sha512-cHlGmko4gWLVI27cGJntjs/Sj8th9aYwplmZFwmmgYQQvL5NUsgVJG7OddLvNfLqYS31KFN0s3qlaD9qCaxACA== + version "18.11.9" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.9.tgz#02d013de7058cea16d36168ef2fc653464cfbad4" + integrity sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg== -"@types/node@^14.0.10 || ^16.0.0", "@types/node@^14.14.20 || ^16.0.0": - version "16.11.41" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.41.tgz#88eb485b1bfdb4c224d878b7832239536aa2f813" - integrity sha512-mqoYK2TnVjdkGk8qXAVGc/x9nSaTpSrFaGFm43BUH3IdoBV0nta6hYaGmdOvIMlbHJbUEVen3gvwpwovAZKNdQ== +"@types/node@^16.0.0": + version "16.18.3" + resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.3.tgz#d7f7ba828ad9e540270f01ce00d391c54e6e0abc" + integrity sha512-jh6m0QUhIRcZpNv7Z/rpN+ZWXOicUUQbSoWks7Htkbb9IjFQj4kzcX/xFCkjstCj5flMsN8FiSvt+q+Tcs4Llg== "@types/normalize-package-data@^2.4.0": version "2.4.1" @@ -2305,11 +2792,6 @@ resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== -"@types/parse5@^5.0.0": - version "5.0.3" - resolved "https://registry.yarnpkg.com/@types/parse5/-/parse5-5.0.3.tgz#e7b5aebbac150f8b5fdd4a46e7f0bd8e65e19109" - integrity sha512-kUNnecmtkunAoQ3CnjmMkzNU/gtxG8guhi+Fk2U/kOpIKjIMKnXGp4IJCgQJrXSgMsWYimYG4TGjz/UzbGEBTw== - "@types/pretty-hrtime@^1.0.0": version "1.0.1" resolved "https://registry.yarnpkg.com/@types/pretty-hrtime/-/pretty-hrtime-1.0.1.tgz#72a26101dc567b0d68fd956cf42314556e42d601" @@ -2331,23 +2813,16 @@ integrity sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw== "@types/react-dom@^18.0.0": - version "18.0.5" - resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.0.5.tgz#330b2d472c22f796e5531446939eacef8378444a" - integrity sha512-OWPWTUrY/NIrjsAPkAk1wW9LZeIjSvkXRhclsFO8CZcZGCOg2G0YZy4ft+rOyYxy8B7ui5iZzi9OkDebZ7/QSA== + version "18.0.9" + resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.0.9.tgz#ffee5e4bfc2a2f8774b15496474f8e7fe8d0b504" + integrity sha512-qnVvHxASt/H7i+XG1U1xMiY5t+IHcPGUK7TDMDzom08xa7e86eCeKOiLZezwCKVxJn6NEiiy2ekgX8aQssjIKg== dependencies: "@types/react" "*" -"@types/react-syntax-highlighter@11.0.5": - version "11.0.5" - resolved "https://registry.yarnpkg.com/@types/react-syntax-highlighter/-/react-syntax-highlighter-11.0.5.tgz#0d546261b4021e1f9d85b50401c0a42acb106087" - integrity sha512-VIOi9i2Oj5XsmWWoB72p3KlZoEbdRAcechJa8Ztebw7bDl2YmR+odxIqhtJGp1q2EozHs02US+gzxJ9nuf56qg== - dependencies: - "@types/react" "*" - -"@types/react@*": - version "18.0.14" - resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.14.tgz#e016616ffff51dba01b04945610fe3671fdbe06d" - integrity sha512-x4gGuASSiWmo0xjDLpm5mPb52syZHJx02VKbqUKdLmKtAwIh63XClGsiTI1K6DO5q7ox4xAsQrU+Gl3+gGXF9Q== +"@types/react@*", "@types/react@>=16": + version "18.0.25" + resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.25.tgz#8b1dcd7e56fe7315535a4af25435e0bb55c8ae44" + integrity sha512-xD6c0KDT4m7n9uD4ZHi02lzskaiqcBxf4zi+tXZY98a04wvc0hi/TcCPC2FOESZi51Nd7tlUeOJY8RofL799/g== dependencies: "@types/prop-types" "*" "@types/scheduler" "*" @@ -2363,6 +2838,11 @@ resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.2.tgz#1a62f89525723dde24ba1b01b092bf5df8ad4d39" integrity sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew== +"@types/semver@^7.3.4": + version "7.3.13" + resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.3.13.tgz#da4bfd73f49bd541d28920ab0e2bf0ee80f71c91" + integrity sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw== + "@types/serve-index@^1.9.1": version "1.9.1" resolved "https://registry.yarnpkg.com/@types/serve-index/-/serve-index-1.9.1.tgz#1b5e85370a192c01ec6cec4735cf2917337a6278" @@ -2371,11 +2851,11 @@ "@types/express" "*" "@types/serve-static@*", "@types/serve-static@^1.13.10": - version "1.13.10" - resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.13.10.tgz#f5e0ce8797d2d7cc5ebeda48a52c96c4fa47a8d9" - integrity sha512-nCkHGI4w7ZgAdNkrEu0bv+4xNV/XDqW+DydknebMOQwkpDGx8G+HTlj7R7ABI8i8nKxVw0wtKPi1D+lPOkh4YQ== + version "1.15.0" + resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.15.0.tgz#c7930ff61afb334e121a9da780aac0d9b8f34155" + integrity sha512-z5xyF6uh8CbjAu9760KDKsH2FcDxZ2tFCsA4HIMWE6IkiYMXfVoa+4f9KX+FN0ZLsaMw1WNG2ETLA6N+/YA+cg== dependencies: - "@types/mime" "^1" + "@types/mime" "*" "@types/node" "*" "@types/sockjs@^0.3.33": @@ -2385,53 +2865,15 @@ dependencies: "@types/node" "*" -"@types/source-list-map@*": - version "0.1.2" - resolved "https://registry.yarnpkg.com/@types/source-list-map/-/source-list-map-0.1.2.tgz#0078836063ffaf17412349bba364087e0ac02ec9" - integrity sha512-K5K+yml8LTo9bWJI/rECfIPrGgxdpeNbj+d53lwN4QjW1MCwlkhUms+gtdzigTeUyBr09+u8BwOIY3MXvHdcsA== - -"@types/tapable@^1", "@types/tapable@^1.0.5": - version "1.0.8" - resolved "https://registry.yarnpkg.com/@types/tapable/-/tapable-1.0.8.tgz#b94a4391c85666c7b73299fd3ad79d4faa435310" - integrity sha512-ipixuVrh2OdNmauvtT51o3d8z12p6LtFW9in7U79der/kwejjdNchQC5UMn5u/KxNoM7VHHOs/l8KS8uHxhODQ== - -"@types/uglify-js@*": - version "3.16.0" - resolved "https://registry.yarnpkg.com/@types/uglify-js/-/uglify-js-3.16.0.tgz#2cf74a0e6ebb6cd54c0d48e509d5bd91160a9602" - integrity sha512-0yeUr92L3r0GLRnBOvtYK1v2SjqMIqQDHMl7GLb+l2L8+6LSFWEEWEIgVsPdMn5ImLM8qzWT8xFPtQYpp8co0g== - dependencies: - source-map "^0.6.1" - -"@types/unist@*", "@types/unist@^2.0.0", "@types/unist@^2.0.2", "@types/unist@^2.0.3": +"@types/unist@*", "@types/unist@^2.0.0": version "2.0.6" resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.6.tgz#250a7b16c3b91f672a24552ec64678eeb1d3a08d" integrity sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ== -"@types/webpack-env@^1.16.0": - version "1.17.0" - resolved "https://registry.yarnpkg.com/@types/webpack-env/-/webpack-env-1.17.0.tgz#f99ce359f1bfd87da90cc4a57cab0a18f34a48d0" - integrity sha512-eHSaNYEyxRA5IAG0Ym/yCyf86niZUIF/TpWKofQI/CVfh5HsMEUyfE2kwFxha4ow0s5g0LfISQxpDKjbRDrizw== - -"@types/webpack-sources@*": - version "3.2.0" - resolved "https://registry.yarnpkg.com/@types/webpack-sources/-/webpack-sources-3.2.0.tgz#16d759ba096c289034b26553d2df1bf45248d38b" - integrity sha512-Ft7YH3lEVRQ6ls8k4Ff1oB4jN6oy/XmU6tQISKdhfh+1mR+viZFphS6WL0IrtDOzvefmJg5a0s7ZQoRXwqTEFg== - dependencies: - "@types/node" "*" - "@types/source-list-map" "*" - source-map "^0.7.3" - -"@types/webpack@^4.41.26", "@types/webpack@^4.41.8": - version "4.41.32" - resolved "https://registry.yarnpkg.com/@types/webpack/-/webpack-4.41.32.tgz#a7bab03b72904070162b2f169415492209e94212" - integrity sha512-cb+0ioil/7oz5//7tZUSwbrSAN/NWHrQylz5cW8G0dWTcF/g+/dSdMlKVZspBYuMAN1+WnwHrkxiRrLcwd0Heg== - dependencies: - "@types/node" "*" - "@types/tapable" "^1" - "@types/uglify-js" "*" - "@types/webpack-sources" "*" - anymatch "^3.0.0" - source-map "^0.6.0" +"@types/webpack-env@^1.16.0", "@types/webpack-env@^1.16.4": + version "1.18.0" + resolved "https://registry.yarnpkg.com/@types/webpack-env/-/webpack-env-1.18.0.tgz#ed6ecaa8e5ed5dfe8b2b3d00181702c9925f13fb" + integrity sha512-56/MAlX5WMsPVbOg7tAxnYvNYMMWr/QJiIp6BxVSW3JJXUVzzOn64qW8TzQyMSqSUFM2+PVI4aUHcHOzIz/1tg== "@types/ws@^8.5.1": version "8.5.3" @@ -2440,6 +2882,37 @@ dependencies: "@types/node" "*" +"@types/yargs-parser@*": + version "21.0.0" + resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.0.tgz#0c60e537fa790f5f9472ed2776c2b71ec117351b" + integrity sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA== + +"@types/yargs@^16.0.0": + version "16.0.4" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-16.0.4.tgz#26aad98dd2c2a38e421086ea9ad42b9e51642977" + integrity sha512-T8Yc9wt/5LbJyCaLiHPReJa0kApcIgJ7Bn735GjItUfh08Z1pJvu8QZqb9s+mMvKV6WUQRV7K2R46YbjMXTTJw== + dependencies: + "@types/yargs-parser" "*" + +"@types/yargs@^17.0.8": + version "17.0.13" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.13.tgz#34cced675ca1b1d51fcf4d34c3c6f0fa142a5c76" + integrity sha512-9sWaruZk2JGxIQU+IhI1fhPYRcQ0UuTNuKuCW9bR5fp7qi2Llf7WDzNa17Cy7TKnh3cdxDOiyTu6gaLS0eDatg== + dependencies: + "@types/yargs-parser" "*" + +"@virtuoso.dev/react-urx@^0.2.12": + version "0.2.13" + resolved "https://registry.yarnpkg.com/@virtuoso.dev/react-urx/-/react-urx-0.2.13.tgz#e2cfc42d259d2a002695e7517d34cb97b64ee9c4" + integrity sha512-MY0ugBDjFb5Xt8v2HY7MKcRGqw/3gTpMlLXId2EwQvYJoC8sP7nnXjAxcBtTB50KTZhO0SbzsFimaZ7pSdApwA== + dependencies: + "@virtuoso.dev/urx" "^0.2.13" + +"@virtuoso.dev/urx@^0.2.12", "@virtuoso.dev/urx@^0.2.13": + version "0.2.13" + resolved "https://registry.yarnpkg.com/@virtuoso.dev/urx/-/urx-0.2.13.tgz#a65e7e8d923cb03397ac876bfdd45c7f71c8edf1" + integrity sha512-iirJNv92A1ZWxoOHHDYW/1KPoi83939o83iUBQHIim0i3tMeSKEh+bxhJdTHQ86Mr4uXx9xGUTq69cp52ZP8Xw== + "@webassemblyjs/ast@1.11.1": version "1.11.1" resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.11.1.tgz#2bfd767eae1a6996f432ff7e8d7fc75679c0b6a7" @@ -2448,64 +2921,21 @@ "@webassemblyjs/helper-numbers" "1.11.1" "@webassemblyjs/helper-wasm-bytecode" "1.11.1" -"@webassemblyjs/ast@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.9.0.tgz#bd850604b4042459a5a41cd7d338cbed695ed964" - integrity sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA== - dependencies: - "@webassemblyjs/helper-module-context" "1.9.0" - "@webassemblyjs/helper-wasm-bytecode" "1.9.0" - "@webassemblyjs/wast-parser" "1.9.0" - "@webassemblyjs/floating-point-hex-parser@1.11.1": version "1.11.1" resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz#f6c61a705f0fd7a6aecaa4e8198f23d9dc179e4f" integrity sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ== -"@webassemblyjs/floating-point-hex-parser@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.9.0.tgz#3c3d3b271bddfc84deb00f71344438311d52ffb4" - integrity sha512-TG5qcFsS8QB4g4MhrxK5TqfdNe7Ey/7YL/xN+36rRjl/BlGE/NcBvJcqsRgCP6Z92mRE+7N50pRIi8SmKUbcQA== - "@webassemblyjs/helper-api-error@1.11.1": version "1.11.1" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz#1a63192d8788e5c012800ba6a7a46c705288fd16" integrity sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg== -"@webassemblyjs/helper-api-error@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.0.tgz#203f676e333b96c9da2eeab3ccef33c45928b6a2" - integrity sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw== - "@webassemblyjs/helper-buffer@1.11.1": version "1.11.1" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz#832a900eb444884cde9a7cad467f81500f5e5ab5" integrity sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA== -"@webassemblyjs/helper-buffer@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.9.0.tgz#a1442d269c5feb23fcbc9ef759dac3547f29de00" - integrity sha512-qZol43oqhq6yBPx7YM3m9Bv7WMV9Eevj6kMi6InKOuZxhw+q9hOkvq5e/PpKSiLfyetpaBnogSbNCfBwyB00CA== - -"@webassemblyjs/helper-code-frame@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.9.0.tgz#647f8892cd2043a82ac0c8c5e75c36f1d9159f27" - integrity sha512-ERCYdJBkD9Vu4vtjUYe8LZruWuNIToYq/ME22igL+2vj2dQ2OOujIZr3MEFvfEaqKoVqpsFKAGsRdBSBjrIvZA== - dependencies: - "@webassemblyjs/wast-printer" "1.9.0" - -"@webassemblyjs/helper-fsm@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.9.0.tgz#c05256b71244214671f4b08ec108ad63b70eddb8" - integrity sha512-OPRowhGbshCb5PxJ8LocpdX9Kl0uB4XsAjl6jH/dWKlk/mzsANvhwbiULsaiqT5GZGT9qinTICdj6PLuM5gslw== - -"@webassemblyjs/helper-module-context@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-module-context/-/helper-module-context-1.9.0.tgz#25d8884b76839871a08a6c6f806c3979ef712f07" - integrity sha512-MJCW8iGC08tMk2enck1aPW+BE5Cw8/7ph/VGZxwyvGbJwjktKkDK7vy7gAmMDx88D7mhDTCNKAW5tED+gZ0W8g== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/helper-numbers@1.11.1": version "1.11.1" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz#64d81da219fbbba1e3bd1bfc74f6e8c4e10a62ae" @@ -2520,11 +2950,6 @@ resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz#f328241e41e7b199d0b20c18e88429c4433295e1" integrity sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q== -"@webassemblyjs/helper-wasm-bytecode@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz#4fed8beac9b8c14f8c58b70d124d549dd1fe5790" - integrity sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw== - "@webassemblyjs/helper-wasm-section@1.11.1": version "1.11.1" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz#21ee065a7b635f319e738f0dd73bfbda281c097a" @@ -2535,16 +2960,6 @@ "@webassemblyjs/helper-wasm-bytecode" "1.11.1" "@webassemblyjs/wasm-gen" "1.11.1" -"@webassemblyjs/helper-wasm-section@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.9.0.tgz#5a4138d5a6292ba18b04c5ae49717e4167965346" - integrity sha512-XnMB8l3ek4tvrKUUku+IVaXNHz2YsJyOOmz+MMkZvh8h1uSJpSen6vYnw3IoQ7WwEuAhL8Efjms1ZWjqh2agvw== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/helper-buffer" "1.9.0" - "@webassemblyjs/helper-wasm-bytecode" "1.9.0" - "@webassemblyjs/wasm-gen" "1.9.0" - "@webassemblyjs/ieee754@1.11.1": version "1.11.1" resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz#963929e9bbd05709e7e12243a099180812992614" @@ -2552,13 +2967,6 @@ dependencies: "@xtuc/ieee754" "^1.2.0" -"@webassemblyjs/ieee754@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.9.0.tgz#15c7a0fbaae83fb26143bbacf6d6df1702ad39e4" - integrity sha512-dcX8JuYU/gvymzIHc9DgxTzUUTLexWwt8uCTWP3otys596io0L5aW02Gb1RjYpx2+0Jus1h4ZFqjla7umFniTg== - dependencies: - "@xtuc/ieee754" "^1.2.0" - "@webassemblyjs/leb128@1.11.1": version "1.11.1" resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.11.1.tgz#ce814b45574e93d76bae1fb2644ab9cdd9527aa5" @@ -2566,23 +2974,11 @@ dependencies: "@xtuc/long" "4.2.2" -"@webassemblyjs/leb128@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.9.0.tgz#f19ca0b76a6dc55623a09cffa769e838fa1e1c95" - integrity sha512-ENVzM5VwV1ojs9jam6vPys97B/S65YQtv/aanqnU7D8aSoHFX8GyhGg0CMfyKNIHBuAVjy3tlzd5QMMINa7wpw== - dependencies: - "@xtuc/long" "4.2.2" - "@webassemblyjs/utf8@1.11.1": version "1.11.1" resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.11.1.tgz#d1f8b764369e7c6e6bae350e854dec9a59f0a3ff" integrity sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ== -"@webassemblyjs/utf8@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.9.0.tgz#04d33b636f78e6a6813227e82402f7637b6229ab" - integrity sha512-GZbQlWtopBTP0u7cHrEx+73yZKrQoBMpwkGEIqlacljhXCkVM1kMQge/Mf+csMJAjEdSwhOyLAS0AoR3AG5P8w== - "@webassemblyjs/wasm-edit@1.11.1": version "1.11.1" resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz#ad206ebf4bf95a058ce9880a8c092c5dec8193d6" @@ -2597,20 +2993,6 @@ "@webassemblyjs/wasm-parser" "1.11.1" "@webassemblyjs/wast-printer" "1.11.1" -"@webassemblyjs/wasm-edit@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.9.0.tgz#3fe6d79d3f0f922183aa86002c42dd256cfee9cf" - integrity sha512-FgHzBm80uwz5M8WKnMTn6j/sVbqilPdQXTWraSjBwFXSYGirpkSWE2R9Qvz9tNiTKQvoKILpCuTjBKzOIm0nxw== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/helper-buffer" "1.9.0" - "@webassemblyjs/helper-wasm-bytecode" "1.9.0" - "@webassemblyjs/helper-wasm-section" "1.9.0" - "@webassemblyjs/wasm-gen" "1.9.0" - "@webassemblyjs/wasm-opt" "1.9.0" - "@webassemblyjs/wasm-parser" "1.9.0" - "@webassemblyjs/wast-printer" "1.9.0" - "@webassemblyjs/wasm-gen@1.11.1": version "1.11.1" resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz#86c5ea304849759b7d88c47a32f4f039ae3c8f76" @@ -2622,17 +3004,6 @@ "@webassemblyjs/leb128" "1.11.1" "@webassemblyjs/utf8" "1.11.1" -"@webassemblyjs/wasm-gen@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.9.0.tgz#50bc70ec68ded8e2763b01a1418bf43491a7a49c" - integrity sha512-cPE3o44YzOOHvlsb4+E9qSqjc9Qf9Na1OO/BHFy4OI91XDE14MjFN4lTMezzaIWdPqHnsTodGGNP+iRSYfGkjA== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/helper-wasm-bytecode" "1.9.0" - "@webassemblyjs/ieee754" "1.9.0" - "@webassemblyjs/leb128" "1.9.0" - "@webassemblyjs/utf8" "1.9.0" - "@webassemblyjs/wasm-opt@1.11.1": version "1.11.1" resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz#657b4c2202f4cf3b345f8a4c6461c8c2418985f2" @@ -2643,16 +3014,6 @@ "@webassemblyjs/wasm-gen" "1.11.1" "@webassemblyjs/wasm-parser" "1.11.1" -"@webassemblyjs/wasm-opt@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.9.0.tgz#2211181e5b31326443cc8112eb9f0b9028721a61" - integrity sha512-Qkjgm6Anhm+OMbIL0iokO7meajkzQD71ioelnfPEj6r4eOFuqm4YC3VBPqXjFyyNwowzbMD+hizmprP/Fwkl2A== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/helper-buffer" "1.9.0" - "@webassemblyjs/wasm-gen" "1.9.0" - "@webassemblyjs/wasm-parser" "1.9.0" - "@webassemblyjs/wasm-parser@1.11.1": version "1.11.1" resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz#86ca734534f417e9bd3c67c7a1c75d8be41fb199" @@ -2665,30 +3026,6 @@ "@webassemblyjs/leb128" "1.11.1" "@webassemblyjs/utf8" "1.11.1" -"@webassemblyjs/wasm-parser@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.9.0.tgz#9d48e44826df4a6598294aa6c87469d642fff65e" - integrity sha512-9+wkMowR2AmdSWQzsPEjFU7njh8HTO5MqO8vjwEHuM+AMHioNqSBONRdr0NQQ3dVQrzp0s8lTcYqzUdb7YgELA== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/helper-api-error" "1.9.0" - "@webassemblyjs/helper-wasm-bytecode" "1.9.0" - "@webassemblyjs/ieee754" "1.9.0" - "@webassemblyjs/leb128" "1.9.0" - "@webassemblyjs/utf8" "1.9.0" - -"@webassemblyjs/wast-parser@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-parser/-/wast-parser-1.9.0.tgz#3031115d79ac5bd261556cecc3fa90a3ef451914" - integrity sha512-qsqSAP3QQ3LyZjNC/0jBJ/ToSxfYJ8kYyuiGvtn/8MK89VrNEfwj7BPQzJVHi0jGTRK2dGdJ5PRqhtjzoww+bw== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/floating-point-hex-parser" "1.9.0" - "@webassemblyjs/helper-api-error" "1.9.0" - "@webassemblyjs/helper-code-frame" "1.9.0" - "@webassemblyjs/helper-fsm" "1.9.0" - "@xtuc/long" "4.2.2" - "@webassemblyjs/wast-printer@1.11.1": version "1.11.1" resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz#d0c73beda8eec5426f10ae8ef55cee5e7084c2f0" @@ -2697,15 +3034,6 @@ "@webassemblyjs/ast" "1.11.1" "@xtuc/long" "4.2.2" -"@webassemblyjs/wast-printer@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.9.0.tgz#4935d54c85fef637b00ce9f52377451d00d47899" - integrity sha512-2J0nE95rHXHyQ24cWjMKJ1tqB/ds8z/cyeOZxJhcb+rW+SQASVjuznUSmdz5GpVJTzU8JkhYut0D3siFDD6wsA== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/wast-parser" "1.9.0" - "@xtuc/long" "4.2.2" - "@webpack-cli/configtest@^1.2.0": version "1.2.0" resolved "https://registry.yarnpkg.com/@webpack-cli/configtest/-/configtest-1.2.0.tgz#7b20ce1c12533912c3b217ea68262365fa29a6f5" @@ -2733,6 +3061,13 @@ resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== +"@yarnpkg/esbuild-plugin-pnp@^3.0.0-rc.10": + version "3.0.0-rc.15" + resolved "https://registry.yarnpkg.com/@yarnpkg/esbuild-plugin-pnp/-/esbuild-plugin-pnp-3.0.0-rc.15.tgz#4e40e7d2eb28825c9a35ab9d04c363931d7c0e67" + integrity sha512-kYzDJO5CA9sy+on/s2aIW0411AklfCi8Ck/4QDivOqsMKpStZA2SsR+X27VTggGwpStWaLrjJcDcdDMowtG8MA== + dependencies: + tslib "^2.4.0" + abab@^2.0.5, abab@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.6.tgz#41b80f2c871d19686216b82309231cfd3cb3d291" @@ -2759,7 +3094,7 @@ acorn-import-assertions@^1.7.6: resolved "https://registry.yarnpkg.com/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz#ba2b5939ce62c238db6d93d81c9b111b29b855e9" integrity sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw== -acorn-jsx@^5.3.1: +acorn-jsx@^5.0.0, acorn-jsx@^5.3.1: version "5.3.2" resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== @@ -2769,25 +3104,25 @@ acorn-walk@^7.1.1, acorn-walk@^7.2.0: resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc" integrity sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA== -acorn@^6.4.1: - version "6.4.2" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.4.2.tgz#35866fd710528e92de10cf06016498e47e39e1e6" - integrity sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ== - acorn@^7.1.1, acorn@^7.4.1: version "7.4.1" resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== -acorn@^8.4.1, acorn@^8.5.0: - version "8.7.1" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.7.1.tgz#0197122c843d1bf6d0a5e83220a788f278f63c30" - integrity sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A== +acorn@^8.0.0, acorn@^8.5.0, acorn@^8.7.1, acorn@^8.8.0: + version "8.8.1" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.1.tgz#0a3f9cbecc4ec3bea6f0a80b66ae8dd2da250b73" + integrity sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA== address@^1.0.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/address/-/address-1.2.0.tgz#d352a62c92fee90f89a693eccd2a8b2139ab02d9" - integrity sha512-tNEZYz5G/zYunxFm7sfhAxkXEuLj3K6BKwv6ZURlsF6yiUQ65z0Q2wZW9L5cPUl9ocofGvXOdFYbFHp0+6MOig== + version "1.2.1" + resolved "https://registry.yarnpkg.com/address/-/address-1.2.1.tgz#25bb61095b7522d65b357baa11bc05492d4c8acd" + integrity sha512-B+6bi5D34+fDYENiH5qOlA0cV2rAGKuWZ9LeyUUehbXy8e0VS9e498yO0Jeeh+iM+6KbfudHTFjXw2MmJD4QRA== + +agent-base@5: + version "5.1.1" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-5.1.1.tgz#e8fb3f242959db44d63be665db7a8e739537a32c" + integrity sha512-TMeqbNl2fMW0nMjTEPOwe3J/PRFP4vqeoNuQMG0HlMrtm5QxKqdvAkZ1pRBQ/ulIyDD5Yq0nJ7YbdD8ey0TO3g== agent-base@6: version "6.0.2" @@ -2796,42 +3131,6 @@ agent-base@6: dependencies: debug "4" -aggregate-error@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a" - integrity sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA== - dependencies: - clean-stack "^2.0.0" - indent-string "^4.0.0" - -airbnb-js-shims@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/airbnb-js-shims/-/airbnb-js-shims-2.2.1.tgz#db481102d682b98ed1daa4c5baa697a05ce5c040" - integrity sha512-wJNXPH66U2xjgo1Zwyjf9EydvJ2Si94+vSdk6EERcBfB2VZkeltpqIats0cqIZMLCXP3zcyaUKGYQeIBT6XjsQ== - dependencies: - array-includes "^3.0.3" - array.prototype.flat "^1.2.1" - array.prototype.flatmap "^1.2.1" - es5-shim "^4.5.13" - es6-shim "^0.35.5" - function.prototype.name "^1.1.0" - globalthis "^1.0.0" - object.entries "^1.1.0" - object.fromentries "^2.0.0 || ^1.0.0" - object.getownpropertydescriptors "^2.0.3" - object.values "^1.1.0" - promise.allsettled "^1.0.0" - promise.prototype.finally "^3.1.0" - string.prototype.matchall "^4.0.0 || ^3.0.1" - string.prototype.padend "^3.0.0" - string.prototype.padstart "^3.0.0" - symbol.prototype.description "^1.0.0" - -ajv-errors@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/ajv-errors/-/ajv-errors-1.0.1.tgz#f35986aceb91afadec4102fbd85014950cefa64d" - integrity sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ== - ajv-formats@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/ajv-formats/-/ajv-formats-2.1.1.tgz#6e669400659eb74973bbf2e33327180a0996b520" @@ -2839,7 +3138,7 @@ ajv-formats@^2.1.1: dependencies: ajv "^8.0.0" -ajv-keywords@^3.1.0, ajv-keywords@^3.4.1, ajv-keywords@^3.5.2: +ajv-keywords@^3.5.2: version "3.5.2" resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d" integrity sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ== @@ -2851,7 +3150,7 @@ ajv-keywords@^5.0.0: dependencies: fast-deep-equal "^3.1.3" -ajv@^6.1.0, ajv@^6.10.2, ajv@^6.12.2, ajv@^6.12.4, ajv@^6.12.5: +ajv@^6.12.4, ajv@^6.12.5: version "6.12.6" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== @@ -2862,42 +3161,37 @@ ajv@^6.1.0, ajv@^6.10.2, ajv@^6.12.2, ajv@^6.12.4, ajv@^6.12.5: uri-js "^4.2.2" ajv@^8.0.0, ajv@^8.8.0: - version "8.11.0" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.11.0.tgz#977e91dd96ca669f54a11e23e378e33b884a565f" - integrity sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg== + version "8.11.2" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.11.2.tgz#aecb20b50607acf2569b6382167b65a96008bb78" + integrity sha512-E4bfmKAhGiSTvMfL1Myyycaub+cUEU2/IvpylXkUu7CHBkBj1f/ikdzbD7YQ6FKUbixDxeYvB/xY4fvyroDlQg== dependencies: fast-deep-equal "^3.1.1" json-schema-traverse "^1.0.0" require-from-string "^2.0.2" uri-js "^4.2.2" -ansi-align@^3.0.0: +ansi-align@^3.0.0, ansi-align@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/ansi-align/-/ansi-align-3.0.1.tgz#0cdf12e111ace773a86e9a1fad1225c43cb19a59" integrity sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w== dependencies: string-width "^4.1.0" -ansi-colors@^3.0.0: - version "3.2.4" - resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-3.2.4.tgz#e3a3da4bfbae6c86a9c285625de124a234026fbf" - integrity sha512-hHUXGagefjN2iRrID63xckIvotOXOojhQKWIPUZ4mNUZ9nLZW+7FMNoE1lOkEhNWYsx/7ysGIuJYCiMAA9FnrA== - ansi-html-community@0.0.8, ansi-html-community@^0.0.8: version "0.0.8" resolved "https://registry.yarnpkg.com/ansi-html-community/-/ansi-html-community-0.0.8.tgz#69fbc4d6ccbe383f9736934ae34c3f8290f1bf41" integrity sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw== -ansi-regex@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" - integrity sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA== - ansi-regex@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== +ansi-regex@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.0.1.tgz#3183e38fae9a65d7cb5e53945cd5897d0260a06a" + integrity sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA== + ansi-styles@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" @@ -2917,6 +3211,11 @@ ansi-styles@^5.0.0: resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== +ansi-styles@^6.1.0: + version "6.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5" + integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== + ansi-to-html@^0.6.11: version "0.6.15" resolved "https://registry.yarnpkg.com/ansi-to-html/-/ansi-to-html-0.6.15.tgz#ac6ad4798a00f6aa045535d7f6a9cb9294eebea7" @@ -2924,15 +3223,7 @@ ansi-to-html@^0.6.11: dependencies: entities "^2.0.0" -anymatch@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-2.0.0.tgz#bcb24b4f37934d9aa7ac17b4adaf89e7c76ef2eb" - integrity sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw== - dependencies: - micromatch "^3.1.4" - normalize-path "^2.1.1" - -anymatch@^3.0.0, anymatch@~3.1.2: +anymatch@^3.0.3, anymatch@~3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716" integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg== @@ -2950,11 +3241,6 @@ app-root-dir@^1.0.2: resolved "https://registry.yarnpkg.com/aproba/-/aproba-2.0.0.tgz#52520b8ae5b569215b354efc0caa3fe1e45a8adc" integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ== -aproba@^1.1.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" - integrity sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw== - are-we-there-yet@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz#372e0e7bd279d8e94c653aaa1f67200884bf3e1c" @@ -2963,10 +3249,19 @@ are-we-there-yet@^2.0.0: delegates "^1.0.0" readable-stream "^3.6.0" +argparse@^1.0.7: + version "1.0.10" + resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" + integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== + dependencies: + sprintf-js "~1.0.2" + aria-query@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.0.0.tgz#210c21aaf469613ee8c9a62c7f86525e058db52c" - integrity sha512-V+SM7AbUwJ+EBnB8+DXs0hPZHO0W6pqBcc0dW90OwtVG02PswOu/teuARoLQjdDOH+t9pJgGnW5/Qmouf3gPJg== + version "5.1.3" + resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.1.3.tgz#19db27cd101152773631396f7a95a3b58c22c35e" + integrity sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ== + dependencies: + deep-equal "^2.0.5" arr-diff@^4.0.0: version "4.0.0" @@ -2983,11 +3278,6 @@ arr-union@^3.1.0: resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" integrity sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q== -array-find-index@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/array-find-index/-/array-find-index-1.0.2.tgz#df010aa1287e164bbda6f9723b0a96a1ec4187a1" - integrity sha512-M1HQyIXcBGtVywBt8WVdim+lrNaK7VHp99Qt5pSNziXznKHViIBbXWtfRTpEFpF/c4FdfxNAsCCwPp5phBYJtw== - array-flatten@1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" @@ -2998,18 +3288,7 @@ array-flatten@^2.1.2: resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-2.1.2.tgz#24ef80a28c1a893617e2149b0c6d0d788293b099" integrity sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ== -array-includes@^3.0.3: - version "3.1.5" - resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.5.tgz#2c320010db8d31031fd2a5f6b3bbd4b1aad31bdb" - integrity sha512-iSDYZMMyTPkiFasVqfuAQnWAYcvO/SeBSCGKePoEthjp4LEMTe4uLc7b025o4jAZpHhihh8xPo99TNWUWWkGDQ== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.19.5" - get-intrinsic "^1.1.1" - is-string "^1.0.7" - -array-union@^1.0.1, array-union@^1.0.2: +array-union@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" integrity sha512-Dxr6QJj/RdU/hCaBjOfxW+q6lyuVE6JFWIrAUpuOOhoJJoQ99cUn3igRaHVB5P9WrgFVN0FfArM3x0cueOU8ng== @@ -3031,87 +3310,37 @@ array-unique@^0.3.2: resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" integrity sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ== -array.prototype.flat@^1.2.1: - version "1.3.0" - resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.3.0.tgz#0b0c1567bf57b38b56b4c97b8aa72ab45e4adc7b" - integrity sha512-12IUEkHsAhA4DY5s0FPgNXIdc8VRSqD9Zp78a5au9abH/SOBrsp082JOWFNTjkMozh8mqcdiKuaLGhPeYztxSw== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.2" - es-shim-unscopables "^1.0.0" - -array.prototype.flatmap@^1.2.1: - version "1.3.0" - resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.3.0.tgz#a7e8ed4225f4788a70cd910abcf0791e76a5534f" - integrity sha512-PZC9/8TKAIxcWKdyeb77EzULHPrIX/tIZebLJUQOMR1OwYosT8yggdfWScfTBCDj5utONvOuPQQumYsU2ULbkg== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.2" - es-shim-unscopables "^1.0.0" - -array.prototype.map@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/array.prototype.map/-/array.prototype.map-1.0.4.tgz#0d97b640cfdd036c1b41cfe706a5e699aa0711f2" - integrity sha512-Qds9QnX7A0qISY7JT5WuJO0NJPE9CMlC6JzHQfhpqAAQQzufVRoeH7EzUY5GcPTx72voG8LV/5eo+b8Qi8hmhA== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.0" - es-array-method-boxes-properly "^1.0.0" - is-string "^1.0.7" - -array.prototype.reduce@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/array.prototype.reduce/-/array.prototype.reduce-1.0.4.tgz#8167e80089f78bff70a99e20bd4201d4663b0a6f" - integrity sha512-WnM+AjG/DvLRLo4DDl+r+SvCzYtD2Jd9oeBYMcEaI7t3fFrHY9M53/wdLcTvmZNQ70IU6Htj0emFkZ5TS+lrdw== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.2" - es-array-method-boxes-properly "^1.0.0" - is-string "^1.0.7" - -arrify@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/arrify/-/arrify-2.0.1.tgz#c9655e9331e0abcd588d2a7cad7e9956f66701fa" - integrity sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug== - -asn1.js@^5.2.0: - version "5.4.1" - resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-5.4.1.tgz#11a980b84ebb91781ce35b0fdc2ee294e3783f07" - integrity sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA== - dependencies: - bn.js "^4.0.0" - inherits "^2.0.1" - minimalistic-assert "^1.0.0" - safer-buffer "^2.1.0" - -assert@^1.1.1: - version "1.5.0" - resolved "https://registry.yarnpkg.com/assert/-/assert-1.5.0.tgz#55c109aaf6e0aefdb3dc4b71240c70bf574b18eb" - integrity sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA== - dependencies: - object-assign "^4.1.1" - util "0.10.3" - assign-symbols@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" integrity sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw== -ast-types@^0.14.2: +ast-types@0.13.3: + version "0.13.3" + resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.13.3.tgz#50da3f28d17bdbc7969a3a2d83a0e4a72ae755a7" + integrity sha512-XTZ7xGML849LkQP86sWdQzfhwbt3YwIO6MqbX9mUNYY98VKaaVZP7YNNm70IpwecbkkxmfC5IYAzOQ/2p29zRA== + +ast-types@0.14.2, ast-types@^0.14.2: version "0.14.2" resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.14.2.tgz#600b882df8583e3cd4f2df5fa20fa83759d4bdfd" integrity sha512-O0yuUDnZeQDL+ncNGlJ78BiO4jnYI3bvMsD5prT0/nsgijG/LpNBIr63gTjVTNsiGkgQhiyCShTgxt8oXOrklA== dependencies: tslib "^2.0.1" -async-each@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf" - integrity sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ== +astring@^1.8.0: + version "1.8.3" + resolved "https://registry.yarnpkg.com/astring/-/astring-1.8.3.tgz#1a0ae738c7cc558f8e5ddc8e3120636f5cebcb85" + integrity sha512-sRpyiNrx2dEYIMmUXprS8nlpRg2Drs8m9ElX9vVEXaCB4XEAJhKfs7IcX0IwShjuOAjLR6wzIrgoptz1n19i1A== + +async-limiter@~1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd" + integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ== + +async@^3.2.3: + version "3.2.4" + resolved "https://registry.yarnpkg.com/async/-/async-3.2.4.tgz#2d22e00f8cddeb5fde5dd33522b56d1cf569a81c" + integrity sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ== asynckit@^0.4.0: version "0.4.0" @@ -3128,23 +3357,20 @@ atob@^2.1.2: resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== -autoprefixer@^9.8.6: - version "9.8.8" - resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.8.8.tgz#fd4bd4595385fa6f06599de749a4d5f7a474957a" - integrity sha512-eM9d/swFopRt5gdJ7jrpCwgvEMIayITpojhkkSMRsFHYuH5bkSQ4p/9qTEHtmNudUZh22Tehu7I6CxAW0IXTKA== - dependencies: - browserslist "^4.12.0" - caniuse-lite "^1.0.30001109" - normalize-range "^0.1.2" - num2fraction "^1.2.2" - picocolors "^0.2.1" - postcss "^7.0.32" - postcss-value-parser "^4.1.0" +available-typed-arrays@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7" + integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw== -babel-loader@^8.0.0, babel-loader@^8.2.5: - version "8.2.5" - resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-8.2.5.tgz#d45f585e654d5a5d90f5350a779d7647c5ed512e" - integrity sha512-OSiFfH89LrEMiWd4pLNqGz4CwJDtbs2ZVc+iGu2HrkRfPxId9F2anQj38IxWpmRfsUY0aBZYi1EFcd3mhtRMLQ== +babel-core@^7.0.0-bridge.0: + version "7.0.0-bridge.0" + resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-7.0.0-bridge.0.tgz#95a492ddd90f9b4e9a4a1da14eb335b87b634ece" + integrity sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg== + +babel-loader@^8.2.5: + version "8.3.0" + resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-8.3.0.tgz#124936e841ba4fe8176786d6ff28add1f134d6a8" + integrity sha512-H8SvsMF+m9t15HNLMipppzkC+Y2Yq+v3SonZyU70RBL/h1gxPkH08Ot8pEE9Z4Kd+czyWJClmFS8qzIP9OZ04Q== dependencies: find-cache-dir "^3.3.1" loader-utils "^2.0.0" @@ -3156,38 +3382,18 @@ babel-plugin-add-react-displayname@^0.0.5: resolved "https://registry.yarnpkg.com/babel-plugin-add-react-displayname/-/babel-plugin-add-react-displayname-0.0.5.tgz#339d4cddb7b65fd62d1df9db9fe04de134122bd5" integrity sha512-LY3+Y0XVDYcShHHorshrDbt4KFWL4bSeniCtl4SYZbask+Syngk1uMPCeN9+nSiZo6zX5s0RTq/J9Pnaaf/KHw== -babel-plugin-apply-mdx-type-prop@1.6.22: - version "1.6.22" - resolved "https://registry.yarnpkg.com/babel-plugin-apply-mdx-type-prop/-/babel-plugin-apply-mdx-type-prop-1.6.22.tgz#d216e8fd0de91de3f1478ef3231e05446bc8705b" - integrity sha512-VefL+8o+F/DfK24lPZMtJctrCVOfgbqLAGZSkxwhazQv4VxPg3Za/i40fu22KR2m8eEda+IfSOlPLUSIiLcnCQ== +babel-plugin-istanbul@^6.1.1: + version "6.1.1" + resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz#fa88ec59232fd9b4e36dbbc540a8ec9a9b47da73" + integrity sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA== dependencies: - "@babel/helper-plugin-utils" "7.10.4" - "@mdx-js/util" "1.6.22" + "@babel/helper-plugin-utils" "^7.0.0" + "@istanbuljs/load-nyc-config" "^1.0.0" + "@istanbuljs/schema" "^0.1.2" + istanbul-lib-instrument "^5.0.4" + test-exclude "^6.0.0" -babel-plugin-dynamic-import-node@^2.3.3: - version "2.3.3" - resolved "https://registry.yarnpkg.com/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz#84fda19c976ec5c6defef57f9427b3def66e17a3" - integrity sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ== - dependencies: - object.assign "^4.1.0" - -babel-plugin-extract-import-names@1.6.22: - version "1.6.22" - resolved "https://registry.yarnpkg.com/babel-plugin-extract-import-names/-/babel-plugin-extract-import-names-1.6.22.tgz#de5f9a28eb12f3eb2578bf74472204e66d1a13dc" - integrity sha512-yJ9BsJaISua7d8zNT7oRG1ZLBJCIdZ4PZqmH8qa9N5AK01ifk3fnkc98AXhtzE7UkfCsEumvoQWgoYLhOnJ7jQ== - dependencies: - "@babel/helper-plugin-utils" "7.10.4" - -babel-plugin-macros@^2.6.1: - version "2.8.0" - resolved "https://registry.yarnpkg.com/babel-plugin-macros/-/babel-plugin-macros-2.8.0.tgz#0f958a7cc6556b1e65344465d99111a1e5e10138" - integrity sha512-SEP5kJpfGYqYKpBrj5XU3ahw5p5GOHJ0U5ssOSQ/WBVdwkD2Dzlce95exQTs3jOVWPPKLBN2rlEWkCK7dSmLvg== - dependencies: - "@babel/runtime" "^7.7.2" - cosmiconfig "^6.0.0" - resolve "^1.12.0" - -babel-plugin-macros@^3.0.1: +babel-plugin-macros@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz#9ef6dc74deb934b4db344dc973ee851d148c50c1" integrity sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg== @@ -3201,37 +3407,29 @@ babel-plugin-named-exports-order@^0.0.2: resolved "https://registry.yarnpkg.com/babel-plugin-named-exports-order/-/babel-plugin-named-exports-order-0.0.2.tgz#ae14909521cf9606094a2048239d69847540cb09" integrity sha512-OgOYHOLoRK+/mvXU9imKHlG6GkPLYrUCvFXG/CM93R/aNNO8pOOF4aS+S8CCHMDQoNSeiOYEZb/G6RwL95Jktw== -babel-plugin-polyfill-corejs2@^0.3.0: - version "0.3.1" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.1.tgz#440f1b70ccfaabc6b676d196239b138f8a2cfba5" - integrity sha512-v7/T6EQcNfVLfcN2X8Lulb7DjprieyLWJK/zOWH5DUYcAgex9sP3h25Q+DLsX9TloXe3y1O8l2q2Jv9q8UVB9w== +babel-plugin-polyfill-corejs2@^0.3.3: + version "0.3.3" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.3.tgz#5d1bd3836d0a19e1b84bbf2d9640ccb6f951c122" + integrity sha512-8hOdmFYFSZhqg2C/JgLUQ+t52o5nirNwaWM2B9LWteozwIvM14VSwdsCAUET10qT+kmySAlseadmfeeSWFCy+Q== dependencies: - "@babel/compat-data" "^7.13.11" - "@babel/helper-define-polyfill-provider" "^0.3.1" + "@babel/compat-data" "^7.17.7" + "@babel/helper-define-polyfill-provider" "^0.3.3" semver "^6.1.1" -babel-plugin-polyfill-corejs3@^0.1.0: - version "0.1.7" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.1.7.tgz#80449d9d6f2274912e05d9e182b54816904befd0" - integrity sha512-u+gbS9bbPhZWEeyy1oR/YaaSpod/KDT07arZHb80aTpl8H5ZBq+uN1nN9/xtX7jQyfLdPfoqI4Rue/MQSWJquw== +babel-plugin-polyfill-corejs3@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.6.0.tgz#56ad88237137eade485a71b52f72dbed57c6230a" + integrity sha512-+eHqR6OPcBhJOGgsIar7xoAB1GcSwVUA3XjAd7HJNzOXT4wv6/H7KIdA/Nc60cvUlDbKApmqNvD1B1bzOt4nyA== dependencies: - "@babel/helper-define-polyfill-provider" "^0.1.5" - core-js-compat "^3.8.1" + "@babel/helper-define-polyfill-provider" "^0.3.3" + core-js-compat "^3.25.1" -babel-plugin-polyfill-corejs3@^0.5.0: - version "0.5.2" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.2.tgz#aabe4b2fa04a6e038b688c5e55d44e78cd3a5f72" - integrity sha512-G3uJih0XWiID451fpeFaYGVuxHEjzKTHtc9uGFEjR6hHrvNzeS/PX+LLLcetJcytsB5m4j+K3o/EpXJNb/5IEQ== +babel-plugin-polyfill-regenerator@^0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.4.1.tgz#390f91c38d90473592ed43351e801a9d3e0fd747" + integrity sha512-NtQGmyQDXjQqQ+IzRkBVwEOz9lQ4zxAQZgoAYEtU9dJjnl1Oc98qnN7jcp+bE7O7aYzVpavXE3/VKXNzUbh7aw== dependencies: - "@babel/helper-define-polyfill-provider" "^0.3.1" - core-js-compat "^3.21.0" - -babel-plugin-polyfill-regenerator@^0.3.0: - version "0.3.1" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.3.1.tgz#2c0678ea47c75c8cc2fbb1852278d8fb68233990" - integrity sha512-Y2B06tvgHYt1x0yz17jGkGeeMr5FeKUu+ASJ+N6nB5lQ8Dapfg42i0OVrf8PNGJ3zKL4A23snMi1IRwrqqND7A== - dependencies: - "@babel/helper-define-polyfill-provider" "^0.3.1" + "@babel/helper-define-polyfill-provider" "^0.3.3" babel-plugin-react-docgen@^4.2.1: version "4.2.1" @@ -3242,21 +3440,16 @@ babel-plugin-react-docgen@^4.2.1: lodash "^4.17.15" react-docgen "^5.0.0" -bail@^1.0.0: - version "1.0.5" - resolved "https://registry.yarnpkg.com/bail/-/bail-1.0.5.tgz#b6fa133404a392cbc1f8c4bf63f5953351e7a776" - integrity sha512-xFbRxM1tahm08yHBP16MMjVUAvDaBMD38zsM9EMAUN61omwLmKlOpB/Zku5QkjZ8TZ4vn53pj+t518cH0S03RQ== +bail@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/bail/-/bail-2.0.2.tgz#d26f5cd8fe5d6f832a31517b9f7c356040ba6d5d" + integrity sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw== balanced-match@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== -base64-js@^1.0.2: - version "1.5.1" - resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" - integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== - base@^0.11.1: version "0.11.2" resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f" @@ -3282,7 +3475,7 @@ better-opn@^2.1.1: dependencies: open "^7.0.3" -big-integer@^1.6.7: +big-integer@^1.6.44: version "1.6.51" resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== @@ -3292,42 +3485,15 @@ big.js@^5.2.2: resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ== -binary-extensions@^1.0.0: - version "1.13.1" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.13.1.tgz#598afe54755b2868a5330d2aff9d4ebb53209b65" - integrity sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw== - binary-extensions@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== -bindings@^1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" - integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== - dependencies: - file-uri-to-path "1.0.0" - -bluebird@^3.5.5: - version "3.7.2" - resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" - integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== - -bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.9: - version "4.12.0" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" - integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== - -bn.js@^5.0.0, bn.js@^5.1.1: - version "5.2.1" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" - integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== - -body-parser@1.20.0: - version "1.20.0" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.0.tgz#3de69bd89011c11573d7bfee6a64f11b6bd27cc5" - integrity sha512-DfJ+q6EPcGKZD1QWUjSpqp+Q7bDQTsQIF4zfUAtZ6qk+H/3/QRhg9CEp39ss+/T2vw0+HaidC0ecJj/DRLIaKg== +body-parser@1.20.1: + version "1.20.1" + resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.1.tgz#b1812a8912c195cd371a3ee5e66faa2338a5c668" + integrity sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw== dependencies: bytes "3.1.2" content-type "~1.0.4" @@ -3337,15 +3503,15 @@ body-parser@1.20.0: http-errors "2.0.0" iconv-lite "0.4.24" on-finished "2.4.1" - qs "6.10.3" + qs "6.11.0" raw-body "2.5.1" type-is "~1.6.18" unpipe "1.0.0" bonjour-service@^1.0.11: - version "1.0.13" - resolved "https://registry.yarnpkg.com/bonjour-service/-/bonjour-service-1.0.13.tgz#4ac003dc1626023252d58adf2946f57e5da450c1" - integrity sha512-LWKRU/7EqDUC9CTAQtuZl5HzBALoCYwtLhffW3et7vZMwv3bWLpJf8bRYlMD5OCcDpTfnPgNCV4yo9ZIaJGMiA== + version "1.0.14" + resolved "https://registry.yarnpkg.com/bonjour-service/-/bonjour-service-1.0.14.tgz#c346f5bc84e87802d08f8d5a60b93f758e514ee7" + integrity sha512-HIMbgLnk1Vqvs6B4Wq5ep7mxvj9sGz5d1JJyDNSGNIdA/w2MCz6GTjWTdjqOJV1bEPj+6IkxDvWNFKEBxNt4kQ== dependencies: array-flatten "^2.1.2" dns-equal "^1.0.0" @@ -3371,12 +3537,26 @@ boxen@^5.1.2: widest-line "^3.1.0" wrap-ansi "^7.0.0" -bplist-parser@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/bplist-parser/-/bplist-parser-0.1.1.tgz#d60d5dcc20cba6dc7e1f299b35d3e1f95dafbae6" - integrity sha512-2AEM0FXy8ZxVLBuqX0hqt1gDwcnz2zygEkQ6zaD5Wko/sB9paUNwlpawrFtKeHUAQUOzjVy9AO4oeonqIHKA9Q== +boxen@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/boxen/-/boxen-7.0.0.tgz#9e5f8c26e716793fc96edcf7cf754cdf5e3fbf32" + integrity sha512-j//dBVuyacJbvW+tvZ9HuH03fZ46QcaKvvhZickZqtB271DxJ7SNRSNxrV/dZX0085m7hISRZWbzWlJvx/rHSg== dependencies: - big-integer "^1.6.7" + ansi-align "^3.0.1" + camelcase "^7.0.0" + chalk "^5.0.1" + cli-boxes "^3.0.0" + string-width "^5.1.2" + type-fest "^2.13.0" + widest-line "^4.0.1" + wrap-ansi "^8.0.1" + +bplist-parser@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/bplist-parser/-/bplist-parser-0.2.0.tgz#43a9d183e5bf9d545200ceac3e712f79ebbe8d0e" + integrity sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw== + dependencies: + big-integer "^1.6.44" brace-expansion@^1.1.7: version "1.1.11" @@ -3386,7 +3566,14 @@ brace-expansion@^1.1.7: balanced-match "^1.0.0" concat-map "0.0.1" -braces@^2.3.1, braces@^2.3.2: +brace-expansion@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae" + integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== + dependencies: + balanced-match "^1.0.0" + +braces@^2.3.1: version "2.3.2" resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729" integrity sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w== @@ -3409,11 +3596,6 @@ braces@^3.0.2, braces@~3.0.2: dependencies: fill-range "^7.0.1" -brorand@^1.0.1, brorand@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" - integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== - browser-assert@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/browser-assert/-/browser-assert-1.2.1.tgz#9aaa5a2a8c74685c2ae05bfe46efd606f068c200" @@ -3424,101 +3606,33 @@ browser-process-hrtime@^1.0.0: resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626" integrity sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow== -browserify-aes@^1.0.0, browserify-aes@^1.0.4: - version "1.2.0" - resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.2.0.tgz#326734642f403dabc3003209853bb70ad428ef48" - integrity sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA== +browserslist@^4.14.5, browserslist@^4.21.3, browserslist@^4.21.4: + version "4.21.4" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.4.tgz#e7496bbc67b9e39dd0f98565feccdcb0d4ff6987" + integrity sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw== dependencies: - buffer-xor "^1.0.3" - cipher-base "^1.0.0" - create-hash "^1.1.0" - evp_bytestokey "^1.0.3" - inherits "^2.0.1" - safe-buffer "^5.0.1" + caniuse-lite "^1.0.30001400" + electron-to-chromium "^1.4.251" + node-releases "^2.0.6" + update-browserslist-db "^1.0.9" -browserify-cipher@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/browserify-cipher/-/browserify-cipher-1.0.1.tgz#8d6474c1b870bfdabcd3bcfcc1934a10e94f15f0" - integrity sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w== +bser@2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05" + integrity sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ== dependencies: - browserify-aes "^1.0.4" - browserify-des "^1.0.0" - evp_bytestokey "^1.0.0" + node-int64 "^0.4.0" -browserify-des@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/browserify-des/-/browserify-des-1.0.2.tgz#3af4f1f59839403572f1c66204375f7a7f703e9c" - integrity sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A== - dependencies: - cipher-base "^1.0.1" - des.js "^1.0.0" - inherits "^2.0.1" - safe-buffer "^5.1.2" - -browserify-rsa@^4.0.0, browserify-rsa@^4.0.1: - version "4.1.0" - resolved "https://registry.yarnpkg.com/browserify-rsa/-/browserify-rsa-4.1.0.tgz#b2fd06b5b75ae297f7ce2dc651f918f5be158c8d" - integrity sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog== - dependencies: - bn.js "^5.0.0" - randombytes "^2.0.1" - -browserify-sign@^4.0.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/browserify-sign/-/browserify-sign-4.2.1.tgz#eaf4add46dd54be3bb3b36c0cf15abbeba7956c3" - integrity sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg== - dependencies: - bn.js "^5.1.1" - browserify-rsa "^4.0.1" - create-hash "^1.2.0" - create-hmac "^1.1.7" - elliptic "^6.5.3" - inherits "^2.0.4" - parse-asn1 "^5.1.5" - readable-stream "^3.6.0" - safe-buffer "^5.2.0" - -browserify-zlib@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/browserify-zlib/-/browserify-zlib-0.2.0.tgz#2869459d9aa3be245fe8fe2ca1f46e2e7f54d73f" - integrity sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA== - dependencies: - pako "~1.0.5" - -browserslist@^4.12.0, browserslist@^4.14.5, browserslist@^4.20.2, browserslist@^4.20.4: - version "4.21.0" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.0.tgz#7ab19572361a140ecd1e023e2c1ed95edda0cefe" - integrity sha512-UQxE0DIhRB5z/zDz9iA03BOfxaN2+GQdBYH/2WrSIWEUrnpzTPJbhqt+umq6r3acaPRTW1FNTkrcp0PXgtFkvA== - dependencies: - caniuse-lite "^1.0.30001358" - electron-to-chromium "^1.4.164" - node-releases "^2.0.5" - update-browserslist-db "^1.0.0" +buffer-crc32@~0.2.3: + version "0.2.13" + resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242" + integrity sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ== buffer-from@^1.0.0: version "1.1.2" resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -buffer-xor@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" - integrity sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ== - -buffer@^4.3.0: - version "4.9.2" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-4.9.2.tgz#230ead344002988644841ab0244af8c44bbe3ef8" - integrity sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg== - dependencies: - base64-js "^1.0.2" - ieee754 "^1.1.4" - isarray "^1.0.0" - -builtin-status-codes@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8" - integrity sha512-HpGFw18DgFWlncDfjTa2rcQ4W88O1mC8e8yZ2AvQY5KDaktSTwo+KRf6nHK6FRI5FyRyb/5T6+TSxfP7QyGsmQ== - bytes@3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048" @@ -3530,9 +3644,9 @@ bytes@3.1.2: integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== c8@^7.6.0: - version "7.11.3" - resolved "https://registry.yarnpkg.com/c8/-/c8-7.11.3.tgz#88c8459c1952ed4f701b619493c9ae732b057163" - integrity sha512-6YBmsaNmqRm9OS3ZbIiL2EZgi1+Xc4O24jL3vMYGE6idixYuGdy76rIfIdltSKDj9DpLNrcXSonUTR1miBD0wA== + version "7.12.0" + resolved "https://registry.yarnpkg.com/c8/-/c8-7.12.0.tgz#402db1c1af4af5249153535d1c84ad70c5c96b14" + integrity sha512-CtgQrHOkyxr5koX1wEUmN/5cfDa2ckbHRA4Gy5LAL0zaCFtVWJS5++n+w4/sr2GWGerBxgTjpKeDclk/Qk6W/A== dependencies: "@bcoe/v8-coverage" "^0.2.3" "@istanbuljs/schema" "^0.1.3" @@ -3547,51 +3661,6 @@ c8@^7.6.0: yargs "^16.2.0" yargs-parser "^20.2.9" -cacache@^12.0.2: - version "12.0.4" - resolved "https://registry.yarnpkg.com/cacache/-/cacache-12.0.4.tgz#668bcbd105aeb5f1d92fe25570ec9525c8faa40c" - integrity sha512-a0tMB40oefvuInr4Cwb3GerbL9xTj1D5yg0T5xrjGCGyfvbxseIXX7BAO/u/hIXdafzOI5JC3wDwHyf24buOAQ== - dependencies: - bluebird "^3.5.5" - chownr "^1.1.1" - figgy-pudding "^3.5.1" - glob "^7.1.4" - graceful-fs "^4.1.15" - infer-owner "^1.0.3" - lru-cache "^5.1.1" - mississippi "^3.0.0" - mkdirp "^0.5.1" - move-concurrently "^1.0.1" - promise-inflight "^1.0.1" - rimraf "^2.6.3" - ssri "^6.0.1" - unique-filename "^1.1.1" - y18n "^4.0.0" - -cacache@^15.0.5: - version "15.3.0" - resolved "https://registry.yarnpkg.com/cacache/-/cacache-15.3.0.tgz#dc85380fb2f556fe3dda4c719bfa0ec875a7f1eb" - integrity sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ== - dependencies: - "@npmcli/fs" "^1.0.0" - "@npmcli/move-file" "^1.0.1" - chownr "^2.0.0" - fs-minipass "^2.0.0" - glob "^7.1.4" - infer-owner "^1.0.4" - lru-cache "^6.0.0" - minipass "^3.1.1" - minipass-collect "^1.0.2" - minipass-flush "^1.0.5" - minipass-pipeline "^1.2.2" - mkdirp "^1.0.3" - p-map "^4.0.0" - promise-inflight "^1.0.1" - rimraf "^3.0.2" - ssri "^8.0.1" - tar "^6.0.2" - unique-filename "^1.1.1" - cache-base@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2" @@ -3607,6 +3676,24 @@ cache-base@^1.0.1: union-value "^1.0.0" unset-value "^1.0.0" +cacheable-lookup@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/cacheable-lookup/-/cacheable-lookup-7.0.0.tgz#3476a8215d046e5a3202a9209dd13fec1f933a27" + integrity sha512-+qJyx4xiKra8mZrcwhjMRMUhD5NR1R8esPkzIYxX96JiecFoxAXFuz/GpR3+ev4PE1WamHip78wV0vcmPQtp8w== + +cacheable-request@^10.2.1: + version "10.2.2" + resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-10.2.2.tgz#07c3d5afcaa2de2e9f66959bacb3ff78da3735fd" + integrity sha512-KxjQZM3UIo7/J6W4sLpwFvu1GB3Whv8NtZ8ZrUL284eiQjiXeeqWTdhixNrp/NLZ/JNuFBo6BD4ZaO8ZJ5BN8Q== + dependencies: + "@types/http-cache-semantics" "^4.0.1" + get-stream "^6.0.1" + http-cache-semantics "^4.1.0" + keyv "^4.5.0" + mimic-response "^4.0.0" + normalize-url "^7.2.0" + responselike "^3.0.0" + call-bind@^1.0.0, call-bind@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" @@ -3615,17 +3702,12 @@ call-bind@^1.0.0, call-bind@^1.0.2: function-bind "^1.1.1" get-intrinsic "^1.0.2" -call-me-maybe@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/call-me-maybe/-/call-me-maybe-1.0.1.tgz#26d208ea89e37b5cbde60250a15f031c16a4d66b" - integrity sha512-wCyFsDQkKPwwF8BDwOiWNx/9K45L/hvggQiDbve+viMNMQnWhrlYIuBk09offfwCRtCO9P6XwUttufzU11WCVw== - callsites@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== -camel-case@^4.1.1, camel-case@^4.1.2: +camel-case@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/camel-case/-/camel-case-4.1.2.tgz#9728072a954f805228225a6deea6b38461e1bd5a" integrity sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw== @@ -3633,24 +3715,6 @@ camel-case@^4.1.1, camel-case@^4.1.2: pascal-case "^3.1.2" tslib "^2.0.3" -camelcase-css@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/camelcase-css/-/camelcase-css-2.0.1.tgz#ee978f6947914cc30c6b44741b6ed1df7f043fd5" - integrity sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA== - -camelcase-keys@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-2.1.0.tgz#308beeaffdf28119051efa1d932213c91b8f92e7" - integrity sha512-bA/Z/DERHKqoEOrp+qeGKw1QlvEQkGZSc0XaY6VnTxZr+Kv1G5zFwttpjv8qxZ/sBPT4nthwZaAcsAZTJlSKXQ== - dependencies: - camelcase "^2.0.0" - map-obj "^1.0.0" - -camelcase@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-2.1.1.tgz#7c1d16d679a1bbe59ca02cacecfb011e201f5a1f" - integrity sha512-DLIsRzJVBQu72meAKPkWQOLcujdXT32hwdfnkI1frSiSRMK1MofjKHf+MEx0SB6fjEFXL8fBDv1dKymBlOp4Qw== - camelcase@^5.3.1: version "5.3.1" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" @@ -3661,22 +3725,27 @@ camelcase@^6.2.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== -caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001358: - version "1.0.30001358" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001358.tgz#473d35dabf5e448b463095cab7924e96ccfb8c00" - integrity sha512-hvp8PSRymk85R20bsDra7ZTCpSVGN/PAz9pSAjPSjKC+rNmnUk5vCRgJwiTT/O4feQ/yu/drvZYpKxxhbFuChw== +camelcase@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-7.0.0.tgz#fd112621b212126741f998d614cbc2a8623fd174" + integrity sha512-JToIvOmz6nhGsUhAYScbo2d6Py5wojjNfoxoc2mEVLUdJ70gJK2gnd+ABY1Tc3sVMyK7QDPtN0T/XdlCQWITyQ== -case-sensitive-paths-webpack-plugin@^2.3.0: +caniuse-lite@^1.0.30001400: + version "1.0.30001431" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001431.tgz#e7c59bd1bc518fae03a4656be442ce6c4887a795" + integrity sha512-zBUoFU0ZcxpvSt9IU66dXVT/3ctO1cy4y9cscs1szkPlcWb6pasYM144GqrUygUbT+k7cmUCW61cvskjcv0enQ== + +case-sensitive-paths-webpack-plugin@^2.4.0: version "2.4.0" resolved "https://registry.yarnpkg.com/case-sensitive-paths-webpack-plugin/-/case-sensitive-paths-webpack-plugin-2.4.0.tgz#db64066c6422eed2e08cc14b986ca43796dbc6d4" integrity sha512-roIFONhcxog0JSSWbvVAh3OocukmSgpqOH6YpMkCvav/ySIV3JKg4Dc8vYtQjYi/UxpNE36r/9v+VqTQqgkYmw== -ccount@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/ccount/-/ccount-1.1.0.tgz#246687debb6014735131be8abab2d93898f8d043" - integrity sha512-vlNK021QdI7PNeiUh/lKkC/mNHHfV0m/Ad5JoI0TYtlBnJAslM/JIkm/tGC88bkLIwO6OQ5uV6ztS6kVAtCDlg== +ccount@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/ccount/-/ccount-2.0.1.tgz#17a3bf82302e0870d6da43a01311a8bc02a3ecf5" + integrity sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg== -chalk@^2.0.0, chalk@^2.4.1: +chalk@^2.0.0: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -3685,7 +3754,7 @@ chalk@^2.0.0, chalk@^2.4.1: escape-string-regexp "^1.0.5" supports-color "^5.3.0" -chalk@^4.1.0: +chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0, chalk@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== @@ -3693,46 +3762,47 @@ chalk@^4.1.0: ansi-styles "^4.1.0" supports-color "^7.1.0" +chalk@^5.0.1: + version "5.1.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.1.2.tgz#d957f370038b75ac572471e83be4c5ca9f8e8c45" + integrity sha512-E5CkT4jWURs1Vy5qGJye+XwCkNj7Od3Af7CP6SujMetSMkLs8Do2RWJK5yx1wamHV/op8Rz+9rltjaTQWDnEFQ== + +character-entities-html4@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/character-entities-html4/-/character-entities-html4-2.1.0.tgz#1f1adb940c971a4b22ba39ddca6b618dc6e56b2b" + integrity sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA== + character-entities-legacy@^1.0.0: version "1.1.4" resolved "https://registry.yarnpkg.com/character-entities-legacy/-/character-entities-legacy-1.1.4.tgz#94bc1845dce70a5bb9d2ecc748725661293d8fc1" integrity sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA== +character-entities-legacy@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz#76bc83a90738901d7bc223a9e93759fdd560125b" + integrity sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ== + character-entities@^1.0.0: version "1.2.4" resolved "https://registry.yarnpkg.com/character-entities/-/character-entities-1.2.4.tgz#e12c3939b7eaf4e5b15e7ad4c5e28e1d48c5b16b" integrity sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw== +character-entities@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/character-entities/-/character-entities-2.0.2.tgz#2d09c2e72cd9523076ccb21157dff66ad43fcc22" + integrity sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ== + character-reference-invalid@^1.0.0: version "1.1.4" resolved "https://registry.yarnpkg.com/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz#083329cda0eae272ab3dbbf37e9a382c13af1560" integrity sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg== -charcodes@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/charcodes/-/charcodes-0.2.0.tgz#5208d327e6cc05f99eb80ffc814707572d1f14e4" - integrity sha512-Y4kiDb+AM4Ecy58YkuZrrSRJBDQdQ2L+NyS1vHHFtNtUjgutcZfx3yp1dAONI/oPaPmyGfCLx5CxL+zauIMyKQ== +character-reference-invalid@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/character-reference-invalid/-/character-reference-invalid-2.0.1.tgz#85c66b041e43b47210faf401278abf808ac45cb9" + integrity sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw== -chokidar@^2.1.8: - version "2.1.8" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.1.8.tgz#804b3a7b6a99358c3c5c61e71d8728f041cff917" - integrity sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg== - dependencies: - anymatch "^2.0.0" - async-each "^1.0.1" - braces "^2.3.2" - glob-parent "^3.1.0" - inherits "^2.0.3" - is-binary-path "^1.0.0" - is-glob "^4.0.0" - normalize-path "^3.0.0" - path-is-absolute "^1.0.0" - readdirp "^2.2.1" - upath "^1.1.1" - optionalDependencies: - fsevents "^1.2.7" - -chokidar@^3.4.1, chokidar@^3.4.2, chokidar@^3.5.3: +chokidar@^3.5.3: version "3.5.3" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== @@ -3747,28 +3817,15 @@ chokidar@^3.4.1, chokidar@^3.4.2, chokidar@^3.5.3: optionalDependencies: fsevents "~2.3.2" -chownr@^1.1.1: - version "1.1.4" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" - integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg== - -chownr@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece" - integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== - chrome-trace-event@^1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz#1015eced4741e15d06664a957dbbf50d041e26ac" integrity sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg== -cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" - integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== - dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" +ci-info@^3.2.0: + version "3.6.1" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.6.1.tgz#7594f1c95cb7fdfddee7af95a13af7dbc67afdcf" + integrity sha512-up5ggbaDqOqJ4UqLKZ2naVkyqSJQgJi5lwD6b6mM748ysrghDBX0bx/qJTUHzw7zu6Mq4gycviSF5hJnwceD8w== class-utils@^0.3.5: version "0.3.6" @@ -3780,25 +3837,13 @@ class-utils@^0.3.5: isobject "^3.0.0" static-extend "^0.1.1" -clean-css@^4.2.3: - version "4.2.4" - resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-4.2.4.tgz#733bf46eba4e607c6891ea57c24a989356831178" - integrity sha512-EJUDT7nDVFDvaQgAo2G/PJvxmp1o/c6iXLbswsBbUFXi1Nr+AjA2cKmfbKDMjMvzEe75g3P6JkaDDAKk96A85A== - dependencies: - source-map "~0.6.0" - clean-css@^5.2.2: - version "5.3.0" - resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-5.3.0.tgz#ad3d8238d5f3549e83d5f87205189494bc7cbb59" - integrity sha512-YYuuxv4H/iNb1Z/5IbMRoxgrzjWGhOEFfd+groZ5dMCVkpENiMZmwspdrzBo9286JjM1gZJPAyL7ZIdzuvu2AQ== + version "5.3.1" + resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-5.3.1.tgz#d0610b0b90d125196a2894d35366f734e5d7aa32" + integrity sha512-lCr8OHhiWCTw4v8POJovCoh4T7I9U11yVsPjMWWnnMmp9ZowCxyad1Pathle/9HjaDp+fdQKjO9fQydE6RHTZg== dependencies: source-map "~0.6.0" -clean-stack@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" - integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== - clean-webpack-plugin@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/clean-webpack-plugin/-/clean-webpack-plugin-4.0.0.tgz#72947d4403d452f38ed61a9ff0ada8122aacd729" @@ -3811,10 +3856,15 @@ cli-boxes@^2.2.1: resolved "https://registry.yarnpkg.com/cli-boxes/-/cli-boxes-2.2.1.tgz#ddd5035d25094fce220e9cab40a45840a440318f" integrity sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw== +cli-boxes@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/cli-boxes/-/cli-boxes-3.0.0.tgz#71a10c716feeba005e4504f36329ef0b17cf3145" + integrity sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g== + cli-table3@^0.6.1: - version "0.6.2" - resolved "https://registry.yarnpkg.com/cli-table3/-/cli-table3-0.6.2.tgz#aaf5df9d8b5bf12634dc8b3040806a0c07120d2a" - integrity sha512-QyavHCaIC80cMivimWu4aWHilIpiDpfm3hGmqAmXVL1UsnbLuBSMd21hTX6VY4ZSDSM73ESLeF8TOYId3rBTbw== + version "0.6.3" + resolved "https://registry.yarnpkg.com/cli-table3/-/cli-table3-0.6.3.tgz#61ab765aac156b52f222954ffc607a6f01dbeeb2" + integrity sha512-w5Jac5SykAeZJKntOxJCrm63Eg5/4dhMWIcuTbo9rpE+brgaSZo0RuNJZeOyMgsUdhDeojvgyQLmjI+K50ZGyg== dependencies: string-width "^4.2.0" optionalDependencies: @@ -3838,10 +3888,15 @@ clone-deep@^4.0.1: kind-of "^6.0.2" shallow-clone "^3.0.0" -collapse-white-space@^1.0.2: - version "1.0.6" - resolved "https://registry.yarnpkg.com/collapse-white-space/-/collapse-white-space-1.0.6.tgz#e63629c0016665792060dbbeb79c42239d2c5287" - integrity sha512-jEovNnrhMuqyCcjfEJA56v0Xq8SkIoPKDyaHahwo3POf4qcSXqMYuwNcOTzp74vTsR9Tn08z4MxWqAhcekogkQ== +clsx@1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/clsx/-/clsx-1.1.0.tgz#62937c6adfea771247c34b54d320fb99624f5702" + integrity sha512-3avwM37fSK5oP6M5rQ9CNe99lwxhXDOeSWVPAOYF6OazUTgZCMb0yWlJpmdD74REy1gkEaFiub2ULv4fq9GUhA== + +clsx@^1.0.4, clsx@^1.1.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/clsx/-/clsx-1.2.1.tgz#0ddc4a20a549b59c93a4116bb26f5294ca17dc12" + integrity sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg== collection-visit@^1.0.0: version "1.0.0" @@ -3880,11 +3935,6 @@ color-support@^1.1.2: resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2" integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg== -colorette@^1.2.2: - version "1.4.0" - resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.4.0.tgz#5190fbb87276259a86ad700bff2c6d6faa3fca40" - integrity sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g== - colorette@^2.0.10, colorette@^2.0.14: version "2.0.19" resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.19.tgz#cdf044f47ad41a0f4b56b3a0d5b4e6e1a2d5a798" @@ -3902,16 +3952,16 @@ comma-separated-tokens@^1.0.0: resolved "https://registry.yarnpkg.com/comma-separated-tokens/-/comma-separated-tokens-1.0.8.tgz#632b80b6117867a158f1080ad498b2fbe7e3f5ea" integrity sha512-GHuDRO12Sypu2cV70d1dkA2EUmXHgntrzbpvOB+Qy+49ypNfGgFQIC2fhhXbnyrJRynDCAARsT7Ou0M6hirpfw== +comma-separated-tokens@^2.0.0: + version "2.0.3" + resolved "https://registry.yarnpkg.com/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz#4e89c9458acb61bc8fef19f4529973b2392839ee" + integrity sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg== + commander@^2.19.0, commander@^2.20.0: version "2.20.3" resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== -commander@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068" - integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA== - commander@^6.2.1: version "6.2.1" resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c" @@ -3980,7 +4030,7 @@ concat-map@0.0.1: resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== -concat-stream@^1.5.0: +concat-stream@^1.6.2: version "1.6.2" resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34" integrity sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw== @@ -3990,26 +4040,35 @@ concat-stream@^1.5.0: readable-stream "^2.2.2" typedarray "^0.0.6" -connect-history-api-fallback@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz#8b32089359308d111115d81cad3fceab888f97bc" - integrity sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg== +config-chain@^1.1.11: + version "1.1.13" + resolved "https://registry.yarnpkg.com/config-chain/-/config-chain-1.1.13.tgz#fad0795aa6a6cdaff9ed1b68e9dff94372c232f4" + integrity sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ== + dependencies: + ini "^1.3.4" + proto-list "~1.2.1" -console-browserify@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.2.0.tgz#67063cef57ceb6cf4993a2ab3a55840ae8c49336" - integrity sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA== +configstore@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/configstore/-/configstore-6.0.0.tgz#49eca2ebc80983f77e09394a1a56e0aca8235566" + integrity sha512-cD31W1v3GqUlQvbBCGcXmd2Nj9SvLDOP1oQ0YFuLETufzSPaKp11rYBsSOm7rCsW3OnIRAFM3OxRhceaXNYHkA== + dependencies: + dot-prop "^6.0.1" + graceful-fs "^4.2.6" + unique-string "^3.0.0" + write-file-atomic "^3.0.3" + xdg-basedir "^5.0.1" + +connect-history-api-fallback@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/connect-history-api-fallback/-/connect-history-api-fallback-2.0.0.tgz#647264845251a0daf25b97ce87834cace0f5f1c8" + integrity sha512-U73+6lQFmfiNPrYbXqr6kZ1i1wiRqXnp2nhMsINseWXO8lDau0LGEffJ8kQi4EjLZympVgRdvqjAgiZ1tgzDDA== console-control-strings@^1.0.0, console-control-strings@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ== -constants-browserify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75" - integrity sha512-xFxOwqIzR/e1k1gLiWEophSCMqXcwVHIH7akf7b/vxcUeGunlj3hvZaaqxwHsTgn+IndtkQJgSztIDWeumWJDQ== - content-disposition@0.5.4: version "0.5.4" resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.4.tgz#8b82b4efac82512a02bb0b1dcec9d2c5e8eb5bfe" @@ -4022,12 +4081,10 @@ content-type@~1.0.4: resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== -convert-source-map@^1.5.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: - version "1.8.0" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.8.0.tgz#f3373c32d21b4d780dd8004514684fb791ca4369" - integrity sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA== - dependencies: - safe-buffer "~5.1.1" +convert-source-map@^1.4.0, convert-source-map@^1.5.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" + integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== cookie-signature@1.0.6: version "1.0.6" @@ -4039,61 +4096,37 @@ cookie@0.5.0: resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b" integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw== -copy-concurrently@^1.0.0: - version "1.0.5" - resolved "https://registry.yarnpkg.com/copy-concurrently/-/copy-concurrently-1.0.5.tgz#92297398cae34937fcafd6ec8139c18051f0b5e0" - integrity sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A== - dependencies: - aproba "^1.1.1" - fs-write-stream-atomic "^1.0.8" - iferr "^0.1.5" - mkdirp "^0.5.1" - rimraf "^2.5.4" - run-queue "^1.0.0" - copy-descriptor@^0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" integrity sha512-XgZ0pFcakEUlbwQEVNg3+QAis1FyTL3Qel9FYy8pSkQqoG3PNoT0bOCQtOXcOkur21r2Eq2kI+IE+gsmAEVlYw== -core-js-compat@^3.21.0, core-js-compat@^3.22.1, core-js-compat@^3.8.1: - version "3.23.2" - resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.23.2.tgz#5cbf8a9c8812d665392845b85ae91b5bcc7b615c" - integrity sha512-lrgZvxFwbQp9v7E8mX0rJ+JX7Bvh4eGULZXA1IAyjlsnWvCdw6TF8Tg6xtaSUSJMrSrMaLdpmk+V54LM1dvfOA== +core-js-compat@^3.25.1: + version "3.26.1" + resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.26.1.tgz#0e710b09ebf689d719545ac36e49041850f943df" + integrity sha512-622/KzTudvXCDLRw70iHW4KKs1aGpcRcowGWyYJr2DEBfRrd6hNJybxSWJFuZYD4ma86xhrwDDHxmDaIq4EA8A== dependencies: - browserslist "^4.20.4" - semver "7.0.0" + browserslist "^4.21.4" -core-js-pure@^3.8.1: - version "3.23.2" - resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.23.2.tgz#efe5e486469c5ed2d088d76e973eb12e74a930e7" - integrity sha512-t6u7H4Ff/yZNk+zqTr74UjCcZ3k8ApBryeLLV4rYQd9aF3gqmjjGjjR44ENfeBMH8VVvSynIjAJ0mUuFhzQtrA== +core-js-pure@^3.23.3: + version "3.26.1" + resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.26.1.tgz#653f4d7130c427820dcecd3168b594e8bb095a33" + integrity sha512-VVXcDpp/xJ21KdULRq/lXdLzQAtX7+37LzpyfFM973il0tWSsDEoyzG38G14AjTpK9VTfiNM9jnFauq/CpaWGQ== core-js@^3.0.4, core-js@^3.6.5, core-js@^3.8.2: - version "3.23.2" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.23.2.tgz#e07a60ca8b14dd129cabdc3d2551baf5a01c76f0" - integrity sha512-ELJOWxNrJfOH/WK4VJ3Qd+fOqZuOuDNDJz0xG6Bt4mGg2eO/UT9CljCrbqDGovjLKUrGajEEBcoTOc0w+yBYeQ== + version "3.26.1" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.26.1.tgz#7a9816dabd9ee846c1c0fe0e8fcad68f3709134e" + integrity sha512-21491RRQVzUn0GGM9Z1Jrpr6PNPxPi+Za8OM9q4tksTSnlbXXGKK1nXNg/QvwFYettXvSX6zWKCtHHfjN4puyA== core-util-is@~1.0.0: version "1.0.3" resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== -cosmiconfig@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-6.0.0.tgz#da4fee853c52f6b1e6935f41c1a2fc50bd4a9982" - integrity sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg== - dependencies: - "@types/parse-json" "^4.0.0" - import-fresh "^3.1.0" - parse-json "^5.0.0" - path-type "^4.0.0" - yaml "^1.7.2" - -cosmiconfig@^7.0.0: - version "7.0.1" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" - integrity sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ== +cosmiconfig@^7.0.0, cosmiconfig@^7.0.1: + version "7.1.0" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.1.0.tgz#1443b9afa596b670082ea46cbd8f6a62b84635f6" + integrity sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA== dependencies: "@types/parse-json" "^4.0.0" import-fresh "^3.2.1" @@ -4101,62 +4134,6 @@ cosmiconfig@^7.0.0: path-type "^4.0.0" yaml "^1.10.0" -cp-file@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/cp-file/-/cp-file-7.0.0.tgz#b9454cfd07fe3b974ab9ea0e5f29655791a9b8cd" - integrity sha512-0Cbj7gyvFVApzpK/uhCtQ/9kE9UnYpxMzaq5nQQC/Dh4iaj5fxp7iEFIullrYwzj8nf0qnsI1Qsx34hAeAebvw== - dependencies: - graceful-fs "^4.1.2" - make-dir "^3.0.0" - nested-error-stacks "^2.0.0" - p-event "^4.1.0" - -cpy@^8.1.2: - version "8.1.2" - resolved "https://registry.yarnpkg.com/cpy/-/cpy-8.1.2.tgz#e339ea54797ad23f8e3919a5cffd37bfc3f25935" - integrity sha512-dmC4mUesv0OYH2kNFEidtf/skUwv4zePmGeepjyyJ0qTo5+8KhA1o99oIAwVVLzQMAeDJml74d6wPPKb6EZUTg== - dependencies: - arrify "^2.0.1" - cp-file "^7.0.0" - globby "^9.2.0" - has-glob "^1.0.0" - junk "^3.1.0" - nested-error-stacks "^2.1.0" - p-all "^2.1.0" - p-filter "^2.1.0" - p-map "^3.0.0" - -create-ecdh@^4.0.0: - version "4.0.4" - resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.4.tgz#d6e7f4bffa66736085a0762fd3a632684dabcc4e" - integrity sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A== - dependencies: - bn.js "^4.1.0" - elliptic "^6.5.3" - -create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" - integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== - dependencies: - cipher-base "^1.0.1" - inherits "^2.0.1" - md5.js "^1.3.4" - ripemd160 "^2.0.1" - sha.js "^2.4.0" - -create-hmac@^1.1.0, create-hmac@^1.1.4, create-hmac@^1.1.7: - version "1.1.7" - resolved "https://registry.yarnpkg.com/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" - integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== - dependencies: - cipher-base "^1.0.3" - create-hash "^1.1.0" - inherits "^2.0.1" - ripemd160 "^2.0.0" - safe-buffer "^5.0.1" - sha.js "^2.4.8" - cross-spawn@^7.0.0, cross-spawn@^7.0.3: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" @@ -4166,57 +4143,26 @@ cross-spawn@^7.0.0, cross-spawn@^7.0.3: shebang-command "^2.0.0" which "^2.0.1" -crypto-browserify@^3.11.0: - version "3.12.0" - resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec" - integrity sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg== +crypto-random-string@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-4.0.0.tgz#5a3cc53d7dd86183df5da0312816ceeeb5bb1fc2" + integrity sha512-x8dy3RnvYdlUcPOjkEHqozhiwzKNSq7GcPuXFbnyMOCHxX8V3OgIg/pYuabl2sbUPfIJaeAQB7PMOK8DFIdoRA== dependencies: - browserify-cipher "^1.0.0" - browserify-sign "^4.0.0" - create-ecdh "^4.0.0" - create-hash "^1.1.0" - create-hmac "^1.1.0" - diffie-hellman "^5.0.0" - inherits "^2.0.1" - pbkdf2 "^3.0.3" - public-encrypt "^4.0.0" - randombytes "^2.0.0" - randomfill "^1.0.3" + type-fest "^1.0.1" -css-loader@^3.6.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-3.6.0.tgz#2e4b2c7e6e2d27f8c8f28f61bffcd2e6c91ef645" - integrity sha512-M5lSukoWi1If8dhQAUCvj4H8vUt3vOnwbQBH9DdTm/s4Ym2B/3dPMtYZeJmq7Q3S3Pa+I94DcZ7pc9bP14cWIQ== - dependencies: - camelcase "^5.3.1" - cssesc "^3.0.0" - icss-utils "^4.1.1" - loader-utils "^1.2.3" - normalize-path "^3.0.0" - postcss "^7.0.32" - postcss-modules-extract-imports "^2.0.0" - postcss-modules-local-by-default "^3.0.2" - postcss-modules-scope "^2.2.0" - postcss-modules-values "^3.0.0" - postcss-value-parser "^4.1.0" - schema-utils "^2.7.0" - semver "^6.3.0" - -css-loader@^5.0.1: - version "5.2.7" - resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-5.2.7.tgz#9b9f111edf6fb2be5dc62525644cbc9c232064ae" - integrity sha512-Q7mOvpBNBG7YrVGMxRxcBJZFL75o+cH2abNASdibkj/fffYD8qWbInZrD0S9ccI6vZclF3DsHE7njGlLtaHbhg== +css-loader@^6.7.1: + version "6.7.2" + resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-6.7.2.tgz#26bc22401b5921686a10fbeba75d124228302304" + integrity sha512-oqGbbVcBJkm8QwmnNzrFrWTnudnRZC+1eXikLJl0n4ljcfotgRifpg2a1lKy8jTrc4/d9A/ap1GFq1jDKG7J+Q== dependencies: icss-utils "^5.1.0" - loader-utils "^2.0.0" - postcss "^8.2.15" + postcss "^8.4.18" postcss-modules-extract-imports "^3.0.0" postcss-modules-local-by-default "^4.0.0" postcss-modules-scope "^3.0.0" postcss-modules-values "^4.0.0" - postcss-value-parser "^4.1.0" - schema-utils "^3.0.0" - semver "^7.3.5" + postcss-value-parser "^4.2.0" + semver "^7.3.8" css-select@^4.1.3: version "4.3.0" @@ -4257,21 +4203,9 @@ cssstyle@^2.3.0: cssom "~0.3.6" csstype@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.0.tgz#4ddcac3718d787cf9df0d1b7d15033925c8f29f2" - integrity sha512-uX1KG+x9h5hIJsaKR9xHUeUraxf8IODOwq9JLNPq6BwB04a/xgpq3rcx47l5BZu5zBPlgD342tdke3Hom/nJRA== - -currently-unhandled@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/currently-unhandled/-/currently-unhandled-0.4.1.tgz#988df33feab191ef799a61369dd76c17adf957ea" - integrity sha512-/fITjgjGU50vjQ4FH6eUoYu+iUoUKIXws2hL15JJpIR+BbTxaXQsMuuyjtNh2WqsSBS5nsaZHFsFecyw5CCAng== - dependencies: - array-find-index "^1.0.1" - -cyclist@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-1.0.1.tgz#596e9698fd0c80e12038c2b82d6eb1b35b6224d9" - integrity sha512-NJGVKPS81XejHcLhaLJS7plab0fK3slPh11mESeeDq2W4ZI5kUKK/LRRdVDvjJseojbPB7ZwjnyOybg3Igea/A== + version "3.1.1" + resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9" + integrity sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw== data-urls@^3.0.1: version "3.0.2" @@ -4282,47 +4216,75 @@ data-urls@^3.0.1: whatwg-mimetype "^3.0.0" whatwg-url "^11.0.0" -debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.0: +debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.9: version "2.6.9" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== dependencies: ms "2.0.0" -debug@4, debug@^4.1.0, debug@^4.1.1: +debug@4, debug@^4.0.0, debug@^4.1.0, debug@^4.1.1, debug@^4.3.4: version "4.3.4" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== dependencies: ms "2.1.2" -debug@^3.0.0: - version "3.2.7" - resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" - integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ== - dependencies: - ms "^2.1.1" - -decamelize@^1.1.2: - version "1.2.0" - resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" - integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA== - decimal.js@^10.3.1: - version "10.3.1" - resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.3.1.tgz#d8c3a444a9c6774ba60ca6ad7261c3a94fd5e783" - integrity sha512-V0pfhfr8suzyPGOx3nmq4aHqabehUZn6Ch9kyFpV79TGDTWFmHqUqXdabR7QHqxzrYolF4+tVmJhUG4OURg5dQ== + version "10.4.2" + resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.4.2.tgz#0341651d1d997d86065a2ce3a441fbd0d8e8b98e" + integrity sha512-ic1yEvwT6GuvaYwBLLY6/aFFgjZdySKTE8en/fkU3QICTmRtgtSlFn0u0BXN06InZwtfCelR7j8LRiDI/02iGA== + +decode-named-character-reference@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/decode-named-character-reference/-/decode-named-character-reference-1.0.2.tgz#daabac9690874c394c81e4162a0304b35d824f0e" + integrity sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg== + dependencies: + character-entities "^2.0.0" decode-uri-component@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" integrity sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og== +decompress-response@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-6.0.0.tgz#ca387612ddb7e104bd16d85aab00d5ecf09c66fc" + integrity sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ== + dependencies: + mimic-response "^3.1.0" + dedent@^0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" integrity sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA== +deep-equal@^2.0.5: + version "2.1.0" + resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-2.1.0.tgz#5ba60402cf44ab92c2c07f3f3312c3d857a0e1dd" + integrity sha512-2pxgvWu3Alv1PoWEyVg7HS8YhGlUFUV7N5oOvfL6d+7xAmLSemMwv/c8Zv/i9KFzxV5Kt5CAvQc70fLwVuf4UA== + dependencies: + call-bind "^1.0.2" + es-get-iterator "^1.1.2" + get-intrinsic "^1.1.3" + is-arguments "^1.1.1" + is-date-object "^1.0.5" + is-regex "^1.1.4" + isarray "^2.0.5" + object-is "^1.1.5" + object-keys "^1.1.1" + object.assign "^4.1.4" + regexp.prototype.flags "^1.4.3" + side-channel "^1.0.4" + which-boxed-primitive "^1.0.2" + which-collection "^1.0.1" + which-typed-array "^1.1.8" + +deep-extend@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" + integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA== + deep-is@~0.1.3: version "0.1.4" resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" @@ -4333,14 +4295,13 @@ deepmerge@^4.2.2: resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== -default-browser-id@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/default-browser-id/-/default-browser-id-1.0.4.tgz#e59d09a5d157b828b876c26816e61c3d2a2c203a" - integrity sha512-qPy925qewwul9Hifs+3sx1ZYn14obHxpkX+mPD369w4Rzg+YkJBgi3SOvwUq81nWSjqGUegIgEPwD8u+HUnxlw== +default-browser-id@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/default-browser-id/-/default-browser-id-3.0.0.tgz#bee7bbbef1f4e75d31f98f4d3f1556a14cea790c" + integrity sha512-OZ1y3y0SqSICtE8DE4S8YOE9UZOJ8wO16fKWVP5J1Qz42kV9jcnMVFrEE/noXb/ss3Q4pZIH79kxofzyNNtUNA== dependencies: - bplist-parser "^0.1.0" - meow "^3.1.0" - untildify "^2.0.0" + bplist-parser "^0.2.0" + untildify "^4.0.0" default-gateway@^6.0.3: version "6.0.3" @@ -4349,12 +4310,17 @@ default-gateway@^6.0.3: dependencies: execa "^5.0.0" +defer-to-connect@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-2.0.1.tgz#8016bdb4143e4632b77a3449c6236277de520587" + integrity sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg== + define-lazy-prop@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f" integrity sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og== -define-properties@^1.1.2, define-properties@^1.1.3, define-properties@^1.1.4: +define-properties@^1.1.3, define-properties@^1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.4.tgz#0b14d7bd7fbeb2f3572c3a7eda80ea5d57fb05b1" integrity sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA== @@ -4384,6 +4350,11 @@ define-property@^2.0.2: is-descriptor "^1.0.2" isobject "^3.0.1" +degit@^2.8.4: + version "2.8.4" + resolved "https://registry.yarnpkg.com/degit/-/degit-2.8.4.tgz#3bb9c5c00f157c44724dd4a50724e4aa75a54d38" + integrity sha512-vqYuzmSA5I50J882jd+AbAhQtgK6bdKUJIex1JNfEUPENCgYsxugzKVZlFyMwV4i06MmnV47/Iqi5Io86zf3Ng== + del@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/del/-/del-4.1.1.tgz#9e8f117222ea44a31ff3a156c049b99052a9f0b4" @@ -4417,25 +4388,20 @@ depd@~1.1.2: resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ== -des.js@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.1.tgz#5382142e1bdc53f85d86d53e5f4aa7deb91e0843" - integrity sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA== - dependencies: - inherits "^2.0.1" - minimalistic-assert "^1.0.0" +dequal@^2.0.0, dequal@^2.0.2: + version "2.0.3" + resolved "https://registry.yarnpkg.com/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be" + integrity sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA== destroy@1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.2.0.tgz#4803735509ad8be552934c67df614f94e66fa015" integrity sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg== -detab@2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/detab/-/detab-2.0.4.tgz#b927892069aff405fbb9a186fe97a44a92a94b43" - integrity sha512-8zdsQA5bIkoRECvCrNKPla84lyoR7DSAyf7p0YgXzBO9PDJx8KntPUay7NS6yp+KdxdVtiE5SpHKtbp2ZQyA9g== - dependencies: - repeat-string "^1.5.4" +detect-indent@^6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-6.1.0.tgz#592485ebbbf6b3b1ab2be175c8393d04ca0d57e6" + integrity sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA== detect-node@^2.0.4: version "2.1.0" @@ -4450,28 +4416,17 @@ detect-package-manager@^2.0.1: execa "^5.1.1" detect-port@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/detect-port/-/detect-port-1.3.0.tgz#d9c40e9accadd4df5cac6a782aefd014d573d1f1" - integrity sha512-E+B1gzkl2gqxt1IhUzwjrxBKRqx1UzC3WLONHinn8S3T6lwV/agVCyitiFOsGJ/eYuEUBvD71MZHy3Pv1G9doQ== + version "1.5.1" + resolved "https://registry.yarnpkg.com/detect-port/-/detect-port-1.5.1.tgz#451ca9b6eaf20451acb0799b8ab40dff7718727b" + integrity sha512-aBzdj76lueB6uUst5iAs7+0H/oOjqI5D16XUWxlWMIMROhcM0rfsNVk93zTngq1dDNpoXRr++Sus7ETAExppAQ== dependencies: address "^1.0.1" - debug "^2.6.0" + debug "4" -diffie-hellman@^5.0.0: - version "5.0.3" - resolved "https://registry.yarnpkg.com/diffie-hellman/-/diffie-hellman-5.0.3.tgz#40e8ee98f55a2149607146921c63e1ae5f3d2875" - integrity sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg== - dependencies: - bn.js "^4.1.0" - miller-rabin "^4.0.0" - randombytes "^2.0.0" - -dir-glob@^2.2.2: - version "2.2.2" - resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-2.2.2.tgz#fa09f0694153c8918b18ba0deafae94769fc50c4" - integrity sha512-f9LBi5QWzIW3I6e//uxZoLBlUt9kcp66qo0sSCxL6YZKc75R1c4MFCoe/LaZiBGmgujvQdxc5Bn3QhfyvK5Hsw== - dependencies: - path-type "^3.0.0" +diff@^5.0.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/diff/-/diff-5.1.0.tgz#bc52d298c5ea8df9194800224445ed43ffc87e40" + integrity sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw== dir-glob@^3.0.1: version "3.0.1" @@ -4525,11 +4480,6 @@ dom-walk@^0.1.0: resolved "https://registry.yarnpkg.com/dom-walk/-/dom-walk-0.1.2.tgz#0c548bef048f4d1f2a97249002236060daa3fd84" integrity sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w== -domain-browser@^1.1.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.2.0.tgz#3d31f50191a6749dd1375a7f522e823d42e54eda" - integrity sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA== - domelementtype@^2.0.1, domelementtype@^2.2.0: version "2.3.0" resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.3.0.tgz#5c45e8e869952626331d7aab326d01daf65d589d" @@ -4566,6 +4516,13 @@ dot-case@^3.0.4: no-case "^3.0.4" tslib "^2.0.3" +dot-prop@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-6.0.1.tgz#fc26b3cf142b9e59b74dbd39ed66ce620c681083" + integrity sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA== + dependencies: + is-obj "^2.0.0" + dotenv-expand@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-5.1.0.tgz#3fbaf020bfd794884072ea26b1e9791d45a629f0" @@ -4577,9 +4534,9 @@ dotenv@^8.0.0: integrity sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g== downshift@^6.1.7: - version "6.1.7" - resolved "https://registry.yarnpkg.com/downshift/-/downshift-6.1.7.tgz#fdb4c4e4f1d11587985cd76e21e8b4b3fa72e44c" - integrity sha512-cVprZg/9Lvj/uhYRxELzlu1aezRcgPWBjTvspiGTVEU64gF5pRdSRKFVLcxqsZC637cLAGMbL40JavEfWnqgNg== + version "6.1.12" + resolved "https://registry.yarnpkg.com/downshift/-/downshift-6.1.12.tgz#f14476b41a6f6fd080c340bad1ddf449f7143f6f" + integrity sha512-7XB/iaSJVS4T8wGFT3WRXmSF1UlBHAA40DshZtkrIscIN+VC+Lh363skLxFTvJwtNgHxAMDGEHT4xsyQFWL+UA== dependencies: "@babel/runtime" "^7.14.8" compute-scroll-into-view "^1.0.17" @@ -4587,44 +4544,38 @@ downshift@^6.1.7: react-is "^17.0.2" tslib "^2.3.0" -duplexify@^3.4.2, duplexify@^3.6.0: - version "3.7.1" - resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-3.7.1.tgz#2a4df5317f6ccfd91f86d6fd25d8d8a103b88309" - integrity sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g== - dependencies: - end-of-stream "^1.0.0" - inherits "^2.0.1" - readable-stream "^2.0.0" - stream-shift "^1.0.0" +eastasianwidth@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" + integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== ee-first@1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== -electron-to-chromium@^1.4.164: - version "1.4.167" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.167.tgz#72424aebc85df12c5331d37b1bcfd1ae01322c55" - integrity sha512-lPHuHXBwpkr4RcfaZBKm6TKOWG/1N9mVggUpP4fY3l1JIUU2x4fkM8928smYdZ5lF+6KCTAxo1aK9JmqT+X71Q== - -elliptic@^6.5.3: - version "6.5.4" - resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" - integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== +ejs@^3.1.8: + version "3.1.8" + resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.8.tgz#758d32910c78047585c7ef1f92f9ee041c1c190b" + integrity sha512-/sXZeMlhS0ArkfX2Aw780gJzXSMPnKjtspYZv+f3NiKLlubezAHDU5+9xz6gd3/NhG3txQCo6xlglmTS+oTGEQ== dependencies: - bn.js "^4.11.9" - brorand "^1.1.0" - hash.js "^1.0.0" - hmac-drbg "^1.0.1" - inherits "^2.0.4" - minimalistic-assert "^1.0.1" - minimalistic-crypto-utils "^1.0.1" + jake "^10.8.5" + +electron-to-chromium@^1.4.251: + version "1.4.284" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz#61046d1e4cab3a25238f6bf7413795270f125592" + integrity sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA== emoji-regex@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== +emoji-regex@^9.2.2: + version "9.2.2" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" + integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== + emojis-list@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-3.0.0.tgz#5570662046ad29e2e916e71aae260abdff4f6a78" @@ -4635,13 +4586,6 @@ encodeurl@~1.0.2: resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" integrity sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w== -end-of-stream@^1.0.0, end-of-stream@^1.1.0: - version "1.4.4" - resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" - integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== - dependencies: - once "^1.4.0" - endent@^2.0.1: version "2.1.0" resolved "https://registry.yarnpkg.com/endent/-/endent-2.1.0.tgz#5aaba698fb569e5e18e69e1ff7a28ff35373cd88" @@ -4651,19 +4595,10 @@ endent@^2.0.1: fast-json-parse "^1.0.3" objectorarray "^1.0.5" -enhanced-resolve@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-4.5.0.tgz#2f3cfd84dbe3b487f18f2db2ef1e064a571ca5ec" - integrity sha512-Nv9m36S/vxpsI+Hc4/ZGRs0n9mXqSWGGq49zxb/cJfPAQMbUtttJAlNPS4AQzaBdw/pKskw5bMbekT/Y7W/Wlg== - dependencies: - graceful-fs "^4.1.2" - memory-fs "^0.5.0" - tapable "^1.0.0" - -enhanced-resolve@^5.9.3: - version "5.9.3" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.9.3.tgz#44a342c012cbc473254af5cc6ae20ebd0aae5d88" - integrity sha512-Bq9VSor+kjvW3f9/MiiR4eE3XYgOl7/rS8lnSxbRbF3kS0B2r+Y9w5krBWxZgDxASVZbdYrn5wT4j/Wb0J9qow== +enhanced-resolve@^5.10.0: + version "5.10.0" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.10.0.tgz#0dc579c3bb2a1032e357ac45b8f3a6f3ad4fb1e6" + integrity sha512-T0yTFjdpldGY8PmuXXR0PyQ1ufZpEGiHVrp7zHKB7jdR4qlmZHhONVM5AQOAWXuF/w3dnHbEQVrNptJgt7F+cQ== dependencies: graceful-fs "^4.2.4" tapable "^2.2.0" @@ -4678,14 +4613,7 @@ envinfo@^7.7.3: resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-7.8.1.tgz#06377e3e5f4d379fea7ac592d5ad8927e0c4d475" integrity sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw== -errno@^0.1.3, errno@~0.1.7: - version "0.1.8" - resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.8.tgz#8bb3e9c7d463be4976ff888f76b4809ebc2e811f" - integrity sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A== - dependencies: - prr "~1.0.1" - -error-ex@^1.2.0, error-ex@^1.3.1: +error-ex@^1.3.1: version "1.3.2" resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== @@ -4699,41 +4627,7 @@ error-stack-parser@^2.0.6: dependencies: stackframe "^1.3.4" -es-abstract@^1.19.0, es-abstract@^1.19.1, es-abstract@^1.19.2, es-abstract@^1.19.5, es-abstract@^1.20.1: - version "1.20.1" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.20.1.tgz#027292cd6ef44bd12b1913b828116f54787d1814" - integrity sha512-WEm2oBhfoI2sImeM4OF2zE2V3BYdSF+KnSi9Sidz51fQHd7+JuF8Xgcj9/0o+OWeIeIS/MiuNnlruQrJf16GQA== - dependencies: - call-bind "^1.0.2" - es-to-primitive "^1.2.1" - function-bind "^1.1.1" - function.prototype.name "^1.1.5" - get-intrinsic "^1.1.1" - get-symbol-description "^1.0.0" - has "^1.0.3" - has-property-descriptors "^1.0.0" - has-symbols "^1.0.3" - internal-slot "^1.0.3" - is-callable "^1.2.4" - is-negative-zero "^2.0.2" - is-regex "^1.1.4" - is-shared-array-buffer "^1.0.2" - is-string "^1.0.7" - is-weakref "^1.0.2" - object-inspect "^1.12.0" - object-keys "^1.1.1" - object.assign "^4.1.2" - regexp.prototype.flags "^1.4.3" - string.prototype.trimend "^1.0.5" - string.prototype.trimstart "^1.0.5" - unbox-primitive "^1.0.2" - -es-array-method-boxes-properly@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/es-array-method-boxes-properly/-/es-array-method-boxes-properly-1.0.0.tgz#873f3e84418de4ee19c5be752990b2e44718d09e" - integrity sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA== - -es-get-iterator@^1.0.2: +es-get-iterator@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/es-get-iterator/-/es-get-iterator-1.1.2.tgz#9234c54aba713486d7ebde0220864af5e2b283f7" integrity sha512-+DTO8GYwbMCwbywjimwZMHp8AuYXOS2JZFWoi2AlPOS3ebnII9w/NLpNZtA7A0YLaVDw+O7KFCeoIV7OPvM7hQ== @@ -4752,37 +4646,155 @@ es-module-lexer@^0.9.0: resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-0.9.3.tgz#6f13db00cc38417137daf74366f535c8eb438f19" integrity sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ== -es-shim-unscopables@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz#702e632193201e3edf8713635d083d378e510241" - integrity sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w== +esbuild-android-64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-android-64/-/esbuild-android-64-0.14.54.tgz#505f41832884313bbaffb27704b8bcaa2d8616be" + integrity sha512-Tz2++Aqqz0rJ7kYBfz+iqyE3QMycD4vk7LBRyWaAVFgFtQ/O8EJOnVmTOiDWYZ/uYzB4kvP+bqejYdVKzE5lAQ== + +esbuild-android-arm64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-android-arm64/-/esbuild-android-arm64-0.14.54.tgz#8ce69d7caba49646e009968fe5754a21a9871771" + integrity sha512-F9E+/QDi9sSkLaClO8SOV6etqPd+5DgJje1F9lOWoNncDdOBL2YF59IhsWATSt0TLZbYCf3pNlTHvVV5VfHdvg== + +esbuild-darwin-64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-darwin-64/-/esbuild-darwin-64-0.14.54.tgz#24ba67b9a8cb890a3c08d9018f887cc221cdda25" + integrity sha512-jtdKWV3nBviOd5v4hOpkVmpxsBy90CGzebpbO9beiqUYVMBtSc0AL9zGftFuBon7PNDcdvNCEuQqw2x0wP9yug== + +esbuild-darwin-arm64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.54.tgz#3f7cdb78888ee05e488d250a2bdaab1fa671bf73" + integrity sha512-OPafJHD2oUPyvJMrsCvDGkRrVCar5aVyHfWGQzY1dWnzErjrDuSETxwA2HSsyg2jORLY8yBfzc1MIpUkXlctmw== + +esbuild-freebsd-64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.54.tgz#09250f997a56ed4650f3e1979c905ffc40bbe94d" + integrity sha512-OKwd4gmwHqOTp4mOGZKe/XUlbDJ4Q9TjX0hMPIDBUWWu/kwhBAudJdBoxnjNf9ocIB6GN6CPowYpR/hRCbSYAg== + +esbuild-freebsd-arm64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.14.54.tgz#bafb46ed04fc5f97cbdb016d86947a79579f8e48" + integrity sha512-sFwueGr7OvIFiQT6WeG0jRLjkjdqWWSrfbVwZp8iMP+8UHEHRBvlaxL6IuKNDwAozNUmbb8nIMXa7oAOARGs1Q== + +esbuild-linux-32@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-linux-32/-/esbuild-linux-32-0.14.54.tgz#e2a8c4a8efdc355405325033fcebeb941f781fe5" + integrity sha512-1ZuY+JDI//WmklKlBgJnglpUL1owm2OX+8E1syCD6UAxcMM/XoWd76OHSjl/0MR0LisSAXDqgjT3uJqT67O3qw== + +esbuild-linux-64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-linux-64/-/esbuild-linux-64-0.14.54.tgz#de5fdba1c95666cf72369f52b40b03be71226652" + integrity sha512-EgjAgH5HwTbtNsTqQOXWApBaPVdDn7XcK+/PtJwZLT1UmpLoznPd8c5CxqsH2dQK3j05YsB3L17T8vE7cp4cCg== + +esbuild-linux-arm64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.14.54.tgz#dae4cd42ae9787468b6a5c158da4c84e83b0ce8b" + integrity sha512-WL71L+0Rwv+Gv/HTmxTEmpv0UgmxYa5ftZILVi2QmZBgX3q7+tDeOQNqGtdXSdsL8TQi1vIaVFHUPDe0O0kdig== + +esbuild-linux-arm@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-linux-arm/-/esbuild-linux-arm-0.14.54.tgz#a2c1dff6d0f21dbe8fc6998a122675533ddfcd59" + integrity sha512-qqz/SjemQhVMTnvcLGoLOdFpCYbz4v4fUo+TfsWG+1aOu70/80RV6bgNpR2JCrppV2moUQkww+6bWxXRL9YMGw== + +esbuild-linux-mips64le@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.54.tgz#d9918e9e4cb972f8d6dae8e8655bf9ee131eda34" + integrity sha512-qTHGQB8D1etd0u1+sB6p0ikLKRVuCWhYQhAHRPkO+OF3I/iSlTKNNS0Lh2Oc0g0UFGguaFZZiPJdJey3AGpAlw== + +esbuild-linux-ppc64le@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.14.54.tgz#3f9a0f6d41073fb1a640680845c7de52995f137e" + integrity sha512-j3OMlzHiqwZBDPRCDFKcx595XVfOfOnv68Ax3U4UKZ3MTYQB5Yz3X1mn5GnodEVYzhtZgxEBidLWeIs8FDSfrQ== + +esbuild-linux-riscv64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.14.54.tgz#618853c028178a61837bc799d2013d4695e451c8" + integrity sha512-y7Vt7Wl9dkOGZjxQZnDAqqn+XOqFD7IMWiewY5SPlNlzMX39ocPQlOaoxvT4FllA5viyV26/QzHtvTjVNOxHZg== + +esbuild-linux-s390x@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.14.54.tgz#d1885c4c5a76bbb5a0fe182e2c8c60eb9e29f2a6" + integrity sha512-zaHpW9dziAsi7lRcyV4r8dhfG1qBidQWUXweUjnw+lliChJqQr+6XD71K41oEIC3Mx1KStovEmlzm+MkGZHnHA== + +esbuild-netbsd-64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.14.54.tgz#69ae917a2ff241b7df1dbf22baf04bd330349e81" + integrity sha512-PR01lmIMnfJTgeU9VJTDY9ZerDWVFIUzAtJuDHwwceppW7cQWjBBqP48NdeRtoP04/AtO9a7w3viI+PIDr6d+w== + +esbuild-openbsd-64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.54.tgz#db4c8495287a350a6790de22edea247a57c5d47b" + integrity sha512-Qyk7ikT2o7Wu76UsvvDS5q0amJvmRzDyVlL0qf5VLsLchjCa1+IAvd8kTBgUxD7VBUUVgItLkk609ZHUc1oCaw== + +esbuild-plugin-alias@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/esbuild-plugin-alias/-/esbuild-plugin-alias-0.2.1.tgz#45a86cb941e20e7c2bc68a2bea53562172494fcb" + integrity sha512-jyfL/pwPqaFXyKnj8lP8iLk6Z0m099uXR45aSN8Av1XD4vhvQutxxPzgA2bTcAwQpa1zCXDcWOlhFgyP3GKqhQ== + +esbuild-register@^3.3.3: + version "3.4.1" + resolved "https://registry.yarnpkg.com/esbuild-register/-/esbuild-register-3.4.1.tgz#fe10cd774b56471db47365ce41d607ab5bdeb713" + integrity sha512-iCgs88/1wA5dIRx4i65eSjbkgrQQQJGpY6Z1eD2XPlzrSjbgNtfkw2/rfSMzJ4dTtlOD8EZTxrIA3fyYp0FsMA== dependencies: - has "^1.0.3" + debug "^4.3.4" -es-to-primitive@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a" - integrity sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA== - dependencies: - is-callable "^1.1.4" - is-date-object "^1.0.1" - is-symbol "^1.0.2" +esbuild-sunos-64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-sunos-64/-/esbuild-sunos-64-0.14.54.tgz#54287ee3da73d3844b721c21bc80c1dc7e1bf7da" + integrity sha512-28GZ24KmMSeKi5ueWzMcco6EBHStL3B6ubM7M51RmPwXQGLe0teBGJocmWhgwccA1GeFXqxzILIxXpHbl9Q/Kw== -es5-shim@^4.5.13: - version "4.6.7" - resolved "https://registry.yarnpkg.com/es5-shim/-/es5-shim-4.6.7.tgz#bc67ae0fc3dd520636e0a1601cc73b450ad3e955" - integrity sha512-jg21/dmlrNQI7JyyA2w7n+yifSxBng0ZralnSfVZjoCawgNTCnS+yBCyVM9DL5itm7SUnDGgv7hcq2XCZX4iRQ== +esbuild-windows-32@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-windows-32/-/esbuild-windows-32-0.14.54.tgz#f8aaf9a5667630b40f0fb3aa37bf01bbd340ce31" + integrity sha512-T+rdZW19ql9MjS7pixmZYVObd9G7kcaZo+sETqNH4RCkuuYSuv9AGHUVnPoP9hhuE1WM1ZimHz1CIBHBboLU7w== -es6-shim@^0.35.5: - version "0.35.6" - resolved "https://registry.yarnpkg.com/es6-shim/-/es6-shim-0.35.6.tgz#d10578301a83af2de58b9eadb7c2c9945f7388a0" - integrity sha512-EmTr31wppcaIAgblChZiuN/l9Y7DPyw8Xtbg7fIVngn6zMW+IEBJDJngeKC3x6wr0V/vcA2wqeFnaw1bFJbDdA== +esbuild-windows-64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-windows-64/-/esbuild-windows-64-0.14.54.tgz#bf54b51bd3e9b0f1886ffdb224a4176031ea0af4" + integrity sha512-AoHTRBUuYwXtZhjXZbA1pGfTo8cJo3vZIcWGLiUcTNgHpJJMC1rVA44ZereBHMJtotyN71S8Qw0npiCIkW96cQ== + +esbuild-windows-arm64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.14.54.tgz#937d15675a15e4b0e4fafdbaa3a01a776a2be982" + integrity sha512-M0kuUvXhot1zOISQGXwWn6YtS+Y/1RT9WrVIOywZnJHo3jCDyewAc79aKNQWFCQm+xNHVTq9h8dZKvygoXQQRg== + +esbuild@^0.14.48: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.14.54.tgz#8b44dcf2b0f1a66fc22459943dccf477535e9aa2" + integrity sha512-Cy9llcy8DvET5uznocPyqL3BFRrFXSVqbgpMJ9Wz8oVjZlh/zUSNbPRbov0VX7VxN2JH1Oa0uNxZ7eLRb62pJA== + optionalDependencies: + "@esbuild/linux-loong64" "0.14.54" + esbuild-android-64 "0.14.54" + esbuild-android-arm64 "0.14.54" + esbuild-darwin-64 "0.14.54" + esbuild-darwin-arm64 "0.14.54" + esbuild-freebsd-64 "0.14.54" + esbuild-freebsd-arm64 "0.14.54" + esbuild-linux-32 "0.14.54" + esbuild-linux-64 "0.14.54" + esbuild-linux-arm "0.14.54" + esbuild-linux-arm64 "0.14.54" + esbuild-linux-mips64le "0.14.54" + esbuild-linux-ppc64le "0.14.54" + esbuild-linux-riscv64 "0.14.54" + esbuild-linux-s390x "0.14.54" + esbuild-netbsd-64 "0.14.54" + esbuild-openbsd-64 "0.14.54" + esbuild-sunos-64 "0.14.54" + esbuild-windows-32 "0.14.54" + esbuild-windows-64 "0.14.54" + esbuild-windows-arm64 "0.14.54" escalade@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== +escape-goat@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/escape-goat/-/escape-goat-4.0.0.tgz#9424820331b510b0666b98f7873fe11ac4aa8081" + integrity sha512-2Sd4ShcWxbx6OY1IHyla/CVNwvg7XwZVoXZHcSu9w9SReNP1EzzD5T8NWKIR38fIqEns9kDWKUQTXXAmlDrdPg== + escape-html@~1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" @@ -4818,20 +4830,12 @@ eslint-scope@5.1.1: esrecurse "^4.3.0" estraverse "^4.1.1" -eslint-scope@^4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-4.0.3.tgz#ca03833310f6889a3264781aa82e63eb9cfe7848" - integrity sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg== - dependencies: - esrecurse "^4.1.0" - estraverse "^4.1.1" - -esprima@^4.0.1: +esprima@^4.0.0, esprima@^4.0.1, esprima@~4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== -esrecurse@^4.1.0, esrecurse@^4.3.0: +esrecurse@^4.3.0: version "4.3.0" resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== @@ -4857,6 +4861,57 @@ estree-to-babel@^3.1.0: "@babel/types" "^7.2.0" c8 "^7.6.0" +estree-to-babel@^4.9.0: + version "4.9.0" + resolved "https://registry.yarnpkg.com/estree-to-babel/-/estree-to-babel-4.9.0.tgz#f68f6a7f969d3a3659312c096a407ae6d1054244" + integrity sha512-Ev5c4YJbMaozG8TCsRys74CViaRKnjllUpnJCrY3JB8DMlUQ0n0zgjCECEWN6ji7aAfYZvohwh6a2P0jl8A8Hw== + dependencies: + "@babel/traverse" "^7.1.6" + "@babel/types" "^7.2.0" + +estree-util-attach-comments@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/estree-util-attach-comments/-/estree-util-attach-comments-2.1.0.tgz#47d69900588bcbc6bf58c3798803ec5f1f3008de" + integrity sha512-rJz6I4L0GaXYtHpoMScgDIwM0/Vwbu5shbMeER596rB2D1EWF6+Gj0e0UKzJPZrpoOc87+Q2kgVFHfjAymIqmw== + dependencies: + "@types/estree" "^1.0.0" + +estree-util-build-jsx@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/estree-util-build-jsx/-/estree-util-build-jsx-2.2.0.tgz#d4307bbeee28c14eb4d63b75c9aad28fa61d84f5" + integrity sha512-apsfRxF9uLrqosApvHVtYZjISPvTJ+lBiIydpC+9wE6cF6ssbhnjyQLqaIjgzGxvC2Hbmec1M7g91PoBayYoQQ== + dependencies: + "@types/estree-jsx" "^1.0.0" + estree-util-is-identifier-name "^2.0.0" + estree-walker "^3.0.0" + +estree-util-is-identifier-name@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/estree-util-is-identifier-name/-/estree-util-is-identifier-name-2.0.1.tgz#cf07867f42705892718d9d89eb2d85eaa8f0fcb5" + integrity sha512-rxZj1GkQhY4x1j/CSnybK9cGuMFQYFPLq0iNyopqf14aOVLFtMv7Esika+ObJWPWiOHuMOAHz3YkWoLYYRnzWQ== + +estree-util-to-js@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/estree-util-to-js/-/estree-util-to-js-1.1.0.tgz#3bd9bb86354063537cc3d81259be2f0d4c3af39f" + integrity sha512-490lbfCcpLk+ofK6HCgqDfYs4KAfq6QVvDw3+Bm1YoKRgiOjKiKYGAVQE1uwh7zVxBgWhqp4FDtp5SqunpUk1A== + dependencies: + "@types/estree-jsx" "^1.0.0" + astring "^1.8.0" + source-map "^0.7.0" + +estree-util-visit@^1.0.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/estree-util-visit/-/estree-util-visit-1.2.0.tgz#aa0311a9c2f2aa56e9ae5e8b9d87eac14e4ec8f8" + integrity sha512-wdsoqhWueuJKsh5hqLw3j8lwFqNStm92VcwtAOAny8g/KS/l5Y8RISjR4k5W6skCj3Nirag/WUCMS0Nfy3sgsg== + dependencies: + "@types/estree-jsx" "^1.0.0" + "@types/unist" "^2.0.0" + +estree-walker@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-3.0.1.tgz#c2a9fb4a30232f5039b7c030b37ead691932debd" + integrity sha512-woY0RUD87WzMBUiZLx8NsYr23N5BKsOMZHhu2hoNRVh6NXGfoiT1KOL8G3UHlJAnEDGmfa5ubNA/AacfG+Kb0g== + esutils@^2.0.2: version "2.0.3" resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" @@ -4872,19 +4927,11 @@ eventemitter3@^4.0.0: resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== -events@^3.0.0, events@^3.2.0: +events@^3.2.0: version "3.3.0" resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== -evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz#7fcbdb198dc71959432efe13842684e0525acb02" - integrity sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA== - dependencies: - md5.js "^1.3.4" - safe-buffer "^5.1.1" - execa@^5.0.0, execa@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" @@ -4913,14 +4960,19 @@ expand-brackets@^2.1.4: snapdragon "^0.8.1" to-regex "^3.0.1" +expect-type@^0.14.2: + version "0.14.2" + resolved "https://registry.yarnpkg.com/expect-type/-/expect-type-0.14.2.tgz#3924d0e596455a9b27af48e8a99c582cdd4506eb" + integrity sha512-ed3+tr5ujbIYXZ8Pl/VgIphwJQ0q5tBLGGdn7Zvwt1WyPBRX83xjT5pT77P/GkuQbctx0K2ZNSSan7eruJqTCQ== + express@^4.17.1, express@^4.17.3: - version "4.18.1" - resolved "https://registry.yarnpkg.com/express/-/express-4.18.1.tgz#7797de8b9c72c857b9cd0e14a5eea80666267caf" - integrity sha512-zZBcOX9TfehHQhtupq57OF8lFZ3UZi08Y97dwFCkD8p9d/d2Y3M+ykKcwaMDEL+4qyUolgBDX6AblpR3fL212Q== + version "4.18.2" + resolved "https://registry.yarnpkg.com/express/-/express-4.18.2.tgz#3fabe08296e930c796c19e3c516979386ba9fd59" + integrity sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ== dependencies: accepts "~1.3.8" array-flatten "1.1.1" - body-parser "1.20.0" + body-parser "1.20.1" content-disposition "0.5.4" content-type "~1.0.4" cookie "0.5.0" @@ -4939,7 +4991,7 @@ express@^4.17.1, express@^4.17.3: parseurl "~1.3.3" path-to-regexp "0.1.7" proxy-addr "~2.0.7" - qs "6.10.3" + qs "6.11.0" range-parser "~1.2.1" safe-buffer "5.2.1" send "0.18.0" @@ -4984,27 +5036,25 @@ extglob@^2.0.4: snapdragon "^0.8.1" to-regex "^3.0.1" +extract-zip@^1.6.6: + version "1.7.0" + resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-1.7.0.tgz#556cc3ae9df7f452c493a0cfb51cc30277940927" + integrity sha512-xoh5G1W/PB0/27lXgMQyIhP5DSY/LhoCsOyZgb+6iMmRtCwVBo55uKaMoEYrDCKQhWvqEip5ZPKAc6eFNyf/MA== + dependencies: + concat-stream "^1.6.2" + debug "^2.6.9" + mkdirp "^0.5.4" + yauzl "^2.10.0" + fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: version "3.1.3" resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== -fast-glob@^2.2.6: - version "2.2.7" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-2.2.7.tgz#6953857c3afa475fff92ee6015d52da70a4cd39d" - integrity sha512-g1KuQwHOZAmOZMuBtHdxDtju+T2RT8jgCC9aANsbpdiDDTSnjgfuVsIBNKbUeJI3oKMRExcfNDtJl4OhbffMsw== - dependencies: - "@mrmlnc/readdir-enhanced" "^2.2.1" - "@nodelib/fs.stat" "^1.1.2" - glob-parent "^3.1.0" - is-glob "^4.0.0" - merge2 "^1.2.3" - micromatch "^3.1.10" - fast-glob@^3.2.9: - version "3.2.11" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.11.tgz#a1172ad95ceb8a16e20caa5c5e56480e5129c1d9" - integrity sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew== + version "3.2.12" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80" + integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w== dependencies: "@nodelib/fs.stat" "^2.0.2" "@nodelib/fs.walk" "^1.2.3" @@ -5028,9 +5078,9 @@ fast-levenshtein@~2.0.6: integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== fastest-levenshtein@^1.0.12: - version "1.0.12" - resolved "https://registry.yarnpkg.com/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz#9990f7d3a88cc5a9ffd1f1745745251700d497e2" - integrity sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow== + version "1.0.16" + resolved "https://registry.yarnpkg.com/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz#210e61b6ff181de91ea9b3d1b84fdedd47e034e5" + integrity sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg== fastq@^1.6.0: version "1.13.0" @@ -5053,36 +5103,39 @@ faye-websocket@^0.11.3: dependencies: websocket-driver ">=0.5.1" -fetch-retry@^5.0.2: - version "5.0.2" - resolved "https://registry.yarnpkg.com/fetch-retry/-/fetch-retry-5.0.2.tgz#4c55663a7c056cb45f182394e479464f0ff8f3e3" - integrity sha512-57Hmu+1kc6pKFUGVIobT7qw3NeAzY/uNN26bSevERLVvf6VGFR/ooDCOFBHMNDgAxBiU2YJq1D0vFzc6U1DcPw== - -figgy-pudding@^3.5.1: - version "3.5.2" - resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.2.tgz#b4eee8148abb01dcf1d1ac34367d59e12fa61d6e" - integrity sha512-0btnI/H8f2pavGMN8w40mlSKOfTK2SVJmBfBeVIj3kNw0swwgzyRq0d5TJVOwodFmtvpPeWPN/MCcfuWF0Ezbw== - -file-loader@^6.2.0: - version "6.2.0" - resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-6.2.0.tgz#baef7cf8e1840df325e4390b4484879480eebe4d" - integrity sha512-qo3glqyTa61Ytg4u73GultjHGjdRyig3tG6lPtyX/jOEJvHif9uB0/OCI2Kif6ctF3caQTW2G5gym21oAsI4pw== +fb-watchman@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.2.tgz#e9524ee6b5c77e9e5001af0f85f3adbb8623255c" + integrity sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA== dependencies: - loader-utils "^2.0.0" - schema-utils "^3.0.0" + bser "2.1.1" -file-system-cache@^1.0.5: +fd-slicer@~1.1.0: version "1.1.0" - resolved "https://registry.yarnpkg.com/file-system-cache/-/file-system-cache-1.1.0.tgz#984de17b976b75a77a27e08d6828137c1aa80fa1" - integrity sha512-IzF5MBq+5CR0jXx5RxPe4BICl/oEhBSXKaL9fLhAXrIfIUS77Hr4vzrYyqYMHN6uTt+BOqi3fDCTjjEBCjERKw== + resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.1.0.tgz#25c7c89cb1f9077f8891bbe61d8f390eae256f1e" + integrity sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g== + dependencies: + pend "~1.2.0" + +fetch-retry@^5.0.2: + version "5.0.3" + resolved "https://registry.yarnpkg.com/fetch-retry/-/fetch-retry-5.0.3.tgz#edfa3641892995f9afee94f25b168827aa97fe3d" + integrity sha512-uJQyMrX5IJZkhoEUBQ3EjxkeiZkppBd5jS/fMTJmfZxLSiaQjv2zD0kTvuvkSH89uFvgSlB6ueGpjD3HWN7Bxw== + +file-system-cache@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/file-system-cache/-/file-system-cache-2.0.1.tgz#1ce31c4a75ae13c00666bbde0c890cae8d980cd7" + integrity sha512-ypttSkXKUUEOSNU7qxmtlN/3wiFihpFdH9c7YZ/bYYepNN/+2moCI4TXIFpFWslRAb/Bzl0vyfTvYcHLqqpxfA== dependencies: fs-extra "^10.1.0" ramda "^0.28.0" -file-uri-to-path@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" - integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== +filelist@^1.0.1: + version "1.0.4" + resolved "https://registry.yarnpkg.com/filelist/-/filelist-1.0.4.tgz#f78978a1e944775ff9e62e744424f215e58352b5" + integrity sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q== + dependencies: + minimatch "^5.0.1" fill-range@^4.0.0: version "4.0.0" @@ -5114,7 +5167,7 @@ finalhandler@1.2.0: statuses "2.0.1" unpipe "~1.0.0" -find-cache-dir@^2.0.0, find-cache-dir@^2.1.0: +find-cache-dir@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-2.1.0.tgz#8d0f94cd13fe43c6c7c261a0d86115ca918c05f7" integrity sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ== @@ -5137,14 +5190,6 @@ find-root@^1.1.0: resolved "https://registry.yarnpkg.com/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4" integrity sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng== -find-up@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f" - integrity sha512-jvElSjyuo4EMQGoTwo1uJU5pQMwTW5lS1x05zzfJuTIyLR3zwO27LYrxNg+dlvKpGOuGy/MzBdXh80g0ve5+HA== - dependencies: - path-exists "^2.0.0" - pinkie-promise "^2.0.0" - find-up@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/find-up/-/find-up-3.0.0.tgz#49169f1d7993430646da61ecc5ae355c21c97b73" @@ -5177,22 +5222,33 @@ flat-cache@^3.0.4: rimraf "^3.0.2" flatted@^3.1.0: - version "3.2.5" - resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.5.tgz#76c8584f4fc843db64702a6bd04ab7a8bd666da3" - integrity sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg== + version "3.2.7" + resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787" + integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ== -flush-write-stream@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/flush-write-stream/-/flush-write-stream-1.1.1.tgz#8dd7d873a1babc207d94ead0c2e0e44276ebf2e8" - integrity sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w== +flow-parser@0.*: + version "0.193.0" + resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.193.0.tgz#8d705fc2d6b378a24bae189014f6f0320d040c4f" + integrity sha512-x7ZoArE1UO3Nk2rkq/KK/Tkp714QDMVzEsxIyK2+p7Alx+88LY7KgqmeQZuiAG8TCHucmYuHefbk3KsVFVjouA== + +focus-lock@^0.8.0: + version "0.8.1" + resolved "https://registry.yarnpkg.com/focus-lock/-/focus-lock-0.8.1.tgz#bb36968abf77a2063fa173cb6c47b12ac8599d33" + integrity sha512-/LFZOIo82WDsyyv7h7oc0MJF9ACOvDRdx9rWPZ2pgMfNWu/z8hQDBtOchuB/0BVLmuFOZjV02YwUVzNsWx/EzA== dependencies: - inherits "^2.0.3" - readable-stream "^2.3.6" + tslib "^1.9.3" follow-redirects@^1.0.0: - version "1.15.1" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.1.tgz#0ca6a452306c9b276e4d3127483e29575e207ad5" - integrity sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA== + version "1.15.2" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" + integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== + +for-each@^0.3.3: + version "0.3.3" + resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e" + integrity sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw== + dependencies: + is-callable "^1.1.3" for-in@^1.0.2: version "1.0.2" @@ -5207,37 +5263,28 @@ foreground-child@^2.0.0: cross-spawn "^7.0.0" signal-exit "^3.0.2" -fork-ts-checker-webpack-plugin@^4.1.6: - version "4.1.6" - resolved "https://registry.yarnpkg.com/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-4.1.6.tgz#5055c703febcf37fa06405d400c122b905167fc5" - integrity sha512-DUxuQaKoqfNne8iikd14SAkh5uw4+8vNifp6gmA73yYNS6ywLIWSLD/n/mBzHQRpW3J7rbATEakmiA8JvkTyZw== +fork-ts-checker-webpack-plugin@^7.2.8: + version "7.2.13" + resolved "https://registry.yarnpkg.com/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-7.2.13.tgz#51ffd6a2f96f03ab64b92f8aedf305dbf3dee0f1" + integrity sha512-fR3WRkOb4bQdWB/y7ssDUlVdrclvwtyCUIHCfivAoYxq9dF7XfrDKbMdZIfwJ7hxIAqkYSGeU7lLJE6xrxIBdg== dependencies: - "@babel/code-frame" "^7.5.5" - chalk "^2.4.1" - micromatch "^3.1.10" - minimatch "^3.0.4" - semver "^5.6.0" - tapable "^1.0.0" - worker-rpc "^0.1.0" - -fork-ts-checker-webpack-plugin@^6.0.4: - version "6.5.2" - resolved "https://registry.yarnpkg.com/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-6.5.2.tgz#4f67183f2f9eb8ba7df7177ce3cf3e75cdafb340" - integrity sha512-m5cUmF30xkZ7h4tWUgTAcEaKmUW7tfyUyTqNNOz7OxWJ0v1VWKTcOvH8FWHUwSjlW/356Ijc9vi3XfcPstpQKA== - dependencies: - "@babel/code-frame" "^7.8.3" - "@types/json-schema" "^7.0.5" - chalk "^4.1.0" - chokidar "^3.4.2" - cosmiconfig "^6.0.0" + "@babel/code-frame" "^7.16.7" + chalk "^4.1.2" + chokidar "^3.5.3" + cosmiconfig "^7.0.1" deepmerge "^4.2.2" - fs-extra "^9.0.0" - glob "^7.1.6" - memfs "^3.1.2" + fs-extra "^10.0.0" + memfs "^3.4.1" minimatch "^3.0.4" - schema-utils "2.7.0" - semver "^7.3.2" - tapable "^1.0.0" + node-abort-controller "^3.0.1" + schema-utils "^3.1.1" + semver "^7.3.5" + tapable "^2.2.1" + +form-data-encoder@^2.1.2: + version "2.1.3" + resolved "https://registry.yarnpkg.com/form-data-encoder/-/form-data-encoder-2.1.3.tgz#682cd821a8423605093992ff895e6b2ed5a9d429" + integrity sha512-KqU0nnPMgIJcCOFTNJFEA8epcseEaoox4XZffTgy8jlI6pL/5EFyR54NRG7CnCJN0biY7q52DO3MH6/sJ/TKlQ== form-data@^3.0.0: version "3.0.1" @@ -5275,10 +5322,11 @@ fragment-cache@^0.2.1: map-cache "^0.2.2" framer-motion@^6.3.3: - version "6.3.13" - resolved "https://registry.yarnpkg.com/framer-motion/-/framer-motion-6.3.13.tgz#a1ac202ab41bdf25c566b02a2ab8ff8ee200ebc4" - integrity sha512-z6UIxENuqa9bh/xE1fit7IUT+07TKSp81TE+C0DDBe9ly4bdEafpZUbcDZxNiN6UBU5hYdEY7rKhk+X1JlIkhg== + version "6.5.1" + resolved "https://registry.yarnpkg.com/framer-motion/-/framer-motion-6.5.1.tgz#802448a16a6eb764124bf36d8cbdfa6dd6b931a7" + integrity sha512-o1BGqqposwi7cgDrtg0dNONhkmPsUFDaLcKXigzuTFC5x58mE8iyTazxSudFzmT6MEyJKfjjU8ItoMe3W+3fiw== dependencies: + "@motionone/dom" "10.12.0" framesync "6.0.1" hey-listen "^1.0.8" popmotion "11.0.3" @@ -5299,15 +5347,7 @@ fresh@0.5.2: resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" integrity sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q== -from2@^2.1.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/from2/-/from2-2.3.0.tgz#8bfb5502bde4a4d36cfdeea007fcca21d7e382af" - integrity sha512-OMcX/4IC/uqEPVgGeyfN22LJk6AZrMkRZHxcHBMBvHScDGgwTm2GT2Wkgtocyd3JfZffjj2kYUDXXII0Fk9W0g== - dependencies: - inherits "^2.0.1" - readable-stream "^2.0.0" - -fs-extra@^10.1.0: +fs-extra@^10.0.0, fs-extra@^10.1.0: version "10.1.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.1.0.tgz#02873cfbc4084dde127eaa5f9905eef2325d1abf" integrity sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ== @@ -5316,7 +5356,7 @@ fs-extra@^10.1.0: jsonfile "^6.0.1" universalify "^2.0.0" -fs-extra@^9.0.0, fs-extra@^9.0.1: +fs-extra@^9.0.1: version "9.1.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d" integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ== @@ -5326,42 +5366,17 @@ fs-extra@^9.0.0, fs-extra@^9.0.1: jsonfile "^6.0.1" universalify "^2.0.0" -fs-minipass@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb" - integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg== - dependencies: - minipass "^3.0.0" - fs-monkey@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/fs-monkey/-/fs-monkey-1.0.3.tgz#ae3ac92d53bb328efe0e9a1d9541f6ad8d48e2d3" integrity sha512-cybjIfiiE+pTWicSCLFHSrXZ6EilF30oh91FDP9S2B051prEa7QWfrVTQm10/dDpswBDXZugPa1Ogu8Yh+HV0Q== -fs-write-stream-atomic@^1.0.8: - version "1.0.10" - resolved "https://registry.yarnpkg.com/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz#b47df53493ef911df75731e70a9ded0189db40c9" - integrity sha512-gehEzmPn2nAwr39eay+x3X34Ra+M2QlVUTLhkXPjWdeO8RF9kszk116avgBJM3ZyNHgHXBNx+VmPaFC36k0PzA== - dependencies: - graceful-fs "^4.1.2" - iferr "^0.1.5" - imurmurhash "^0.1.4" - readable-stream "1 || 2" - fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== -fsevents@^1.2.7: - version "1.2.13" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.13.tgz#f325cb0455592428bcf11b383370ef70e3bfcc38" - integrity sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw== - dependencies: - bindings "^1.5.0" - nan "^2.12.1" - -fsevents@~2.3.2: +fsevents@^2.3.2, fsevents@~2.3.2: version "2.3.2" resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== @@ -5371,16 +5386,6 @@ function-bind@^1.1.1: resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== -function.prototype.name@^1.1.0, function.prototype.name@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.5.tgz#cce0505fe1ffb80503e6f9e46cc64e46a12a9621" - integrity sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.0" - functions-have-names "^1.2.2" - functions-have-names@^1.2.2: version "1.2.3" resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834" @@ -5401,7 +5406,7 @@ gauge@^3.0.0: strip-ansi "^6.0.1" wide-align "^1.1.2" -gensync@^1.0.0-beta.1, gensync@^1.0.0-beta.2: +gensync@^1.0.0-beta.2: version "1.0.0-beta.2" resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== @@ -5411,45 +5416,39 @@ get-caller-file@^2.0.5: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.2.tgz#336975123e05ad0b7ba41f152ee4aadbea6cf598" - integrity sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA== +get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.3.tgz#063c84329ad93e83893c7f4f243ef63ffa351385" + integrity sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A== dependencies: function-bind "^1.1.1" has "^1.0.3" has-symbols "^1.0.3" -get-stdin@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-4.0.1.tgz#b968c6b0a04384324902e8bf1a5df32579a450fe" - integrity sha512-F5aQMywwJ2n85s4hJPTT9RPxGmubonuB10MNYo17/xph174n2MIR33HRguhzVag10O/npM7SPk73LMZNP+FaWw== +get-package-type@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" + integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== -get-stream@^6.0.0: +get-port@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/get-port/-/get-port-5.1.1.tgz#0469ed07563479de6efb986baf053dcd7d4e3193" + integrity sha512-g/Q1aTSDOxFpchXC4i8ZWvxA1lnPqx/JHqcpIw0/LX9T8x/GBbi6YnlN5nhaKIFkT8oFsscUKgDJYxfwfS6QsQ== + +get-stream@^6.0.0, get-stream@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== -get-symbol-description@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6" - integrity sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw== - dependencies: - call-bind "^1.0.2" - get-intrinsic "^1.1.1" - get-value@^2.0.3, get-value@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" integrity sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA== -glob-parent@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae" - integrity sha512-E8Ak/2+dZY6fnzlR7+ueWvhsH1SjHr4jjss4YS/h4py44jY9MhK/VFdaZJAWDz6BbL21KeteKxFSFpq8OS5gVA== - dependencies: - is-glob "^3.1.0" - path-dirname "^1.0.0" +github-slugger@^1.0.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/github-slugger/-/github-slugger-1.5.0.tgz#17891bbc73232051474d68bd867a34625c955f7d" + integrity sha512-wIh+gKBI9Nshz2o46B0B3f5k/W+WI9ZAv6y5Dn5WJ5SK1t0TnDimB4WE5rmTD05ZAIn8HALCZVmCsvj0w0v0lw== glob-parent@^5.1.2, glob-parent@~5.1.2: version "5.1.2" @@ -5458,24 +5457,12 @@ glob-parent@^5.1.2, glob-parent@~5.1.2: dependencies: is-glob "^4.0.1" -glob-promise@^3.4.0: - version "3.4.0" - resolved "https://registry.yarnpkg.com/glob-promise/-/glob-promise-3.4.0.tgz#b6b8f084504216f702dc2ce8c9bc9ac8866fdb20" - integrity sha512-q08RJ6O+eJn+dVanerAndJwIcumgbDdYiUT7zFQl3Wm1xD6fBKtah7H8ZJChj4wP+8C+QfeVy8xautR7rdmKEw== - dependencies: - "@types/glob" "*" - -glob-to-regexp@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab" - integrity sha512-Iozmtbqv0noj0uDDqoL0zNq0VBEfK2YFoMAZoxJe4cwphvLR+JskfF30QhXHOR4m3KrE6NLRYw+U9MRXvifyig== - glob-to-regexp@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e" integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== -glob@^7.0.3, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: +glob@^7.0.0, glob@^7.0.3, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: version "7.2.3" resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== @@ -5487,6 +5474,13 @@ glob@^7.0.3, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: once "^1.3.0" path-is-absolute "^1.0.0" +global-dirs@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-3.0.1.tgz#0c488971f066baceda21447aecb1a8b911d22485" + integrity sha512-NBcGGFbBA9s1VzD41QXDG+3++t9Mn5t1FpLdhESY6oKY4gYTFpX4wO3sqGUa0Srjtbfj3szX0RnemmrVRUdULA== + dependencies: + ini "2.0.0" + global@^4.4.0: version "4.4.0" resolved "https://registry.yarnpkg.com/global/-/global-4.4.0.tgz#3e7b105179006a323ed71aafca3e9c57a5cc6406" @@ -5500,13 +5494,6 @@ globals@^11.1.0: resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== -globalthis@^1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" - integrity sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA== - dependencies: - define-properties "^1.1.3" - globby@^11.0.2: version "11.1.0" resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" @@ -5530,21 +5517,31 @@ globby@^6.1.0: pify "^2.0.0" pinkie-promise "^2.0.0" -globby@^9.2.0: - version "9.2.0" - resolved "https://registry.yarnpkg.com/globby/-/globby-9.2.0.tgz#fd029a706c703d29bdd170f4b6db3a3f7a7cb63d" - integrity sha512-ollPHROa5mcxDEkwg6bPt3QbEf4pDQSNtd6JPL1YvOvAo/7/0VAm9TccUeoTmarjPw4pfUthSCqcyfNB1I3ZSg== +gopd@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c" + integrity sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA== dependencies: - "@types/glob" "^7.1.1" - array-union "^1.0.2" - dir-glob "^2.2.2" - fast-glob "^2.2.6" - glob "^7.1.3" - ignore "^4.0.3" - pify "^4.0.1" - slash "^2.0.0" + get-intrinsic "^1.1.3" -graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.4, graceful-fs@^4.2.6, graceful-fs@^4.2.9: +got@^12.1.0: + version "12.5.3" + resolved "https://registry.yarnpkg.com/got/-/got-12.5.3.tgz#82bdca2dd61258a02e24d668ea6e7abb70ac3598" + integrity sha512-8wKnb9MGU8IPGRIo+/ukTy9XLJBwDiCpIf5TVzQ9Cpol50eMTpBq2GAuDsuDIz7hTYmZgMgC1e9ydr6kSDWs3w== + dependencies: + "@sindresorhus/is" "^5.2.0" + "@szmarczak/http-timer" "^5.0.1" + cacheable-lookup "^7.0.0" + cacheable-request "^10.2.1" + decompress-response "^6.0.0" + form-data-encoder "^2.1.2" + get-stream "^6.0.1" + http2-wrapper "^2.1.10" + lowercase-keys "^3.0.0" + p-cancelable "^3.0.0" + responselike "^3.0.0" + +graceful-fs@4.2.10, graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.4, graceful-fs@^4.2.6, graceful-fs@^4.2.9: version "4.2.10" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== @@ -5566,7 +5563,7 @@ handlebars@^4.7.7: optionalDependencies: uglify-js "^3.1.4" -has-bigints@^1.0.1, has-bigints@^1.0.2: +has-bigints@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.2.tgz#0871bd3e3d51626f6ca0966668ba35d5602d6eaa" integrity sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ== @@ -5581,13 +5578,6 @@ has-flag@^4.0.0: resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== -has-glob@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-glob/-/has-glob-1.0.0.tgz#9aaa9eedbffb1ba3990a7b0010fb678ee0081207" - integrity sha512-D+8A457fBShSEI3tFCj65PAbT++5sKiFtdCdOam0gnfBgw9D277OERk+HM9qYJXmdVLZ/znez10SqHN0BBQ50g== - dependencies: - is-glob "^3.0.0" - has-property-descriptors@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861" @@ -5643,6 +5633,11 @@ has-values@^1.0.0: is-number "^3.0.0" kind-of "^4.0.0" +has-yarn@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/has-yarn/-/has-yarn-3.0.0.tgz#c3c21e559730d1d3b57e28af1f30d06fac38147d" + integrity sha512-IrsVwUHhEULx3R8f/aA8AHuEzAorplsab/v8HBzEiIukwq5i/EC+xmOW+HfP1OaDP+2JkgT1yILHN2O3UFIbcA== + has@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" @@ -5650,79 +5645,36 @@ has@^1.0.3: dependencies: function-bind "^1.1.1" -hash-base@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" - integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== - dependencies: - inherits "^2.0.4" - readable-stream "^3.6.0" - safe-buffer "^5.2.0" - -hash.js@^1.0.0, hash.js@^1.0.3: - version "1.1.7" - resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" - integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== - dependencies: - inherits "^2.0.3" - minimalistic-assert "^1.0.1" - -hast-to-hyperscript@^9.0.0: - version "9.0.1" - resolved "https://registry.yarnpkg.com/hast-to-hyperscript/-/hast-to-hyperscript-9.0.1.tgz#9b67fd188e4c81e8ad66f803855334173920218d" - integrity sha512-zQgLKqF+O2F72S1aa4y2ivxzSlko3MAvxkwG8ehGmNiqd98BIN3JM1rAJPmplEyLmGLO2QZYJtIneOSZ2YbJuA== - dependencies: - "@types/unist" "^2.0.3" - comma-separated-tokens "^1.0.0" - property-information "^5.3.0" - space-separated-tokens "^1.0.0" - style-to-object "^0.3.0" - unist-util-is "^4.0.0" - web-namespaces "^1.0.0" - -hast-util-from-parse5@^6.0.0: - version "6.0.1" - resolved "https://registry.yarnpkg.com/hast-util-from-parse5/-/hast-util-from-parse5-6.0.1.tgz#554e34abdeea25ac76f5bd950a1f0180e0b3bc2a" - integrity sha512-jeJUWiN5pSxW12Rh01smtVkZgZr33wBokLzKLwinYOUfSzm1Nl/c3GUGebDyOKjdsRgMvoVbV0VpAcpjF4NrJA== - dependencies: - "@types/parse5" "^5.0.0" - hastscript "^6.0.0" - property-information "^5.0.0" - vfile "^4.0.0" - vfile-location "^3.2.0" - web-namespaces "^1.0.0" - hast-util-parse-selector@^2.0.0: version "2.2.5" resolved "https://registry.yarnpkg.com/hast-util-parse-selector/-/hast-util-parse-selector-2.2.5.tgz#d57c23f4da16ae3c63b3b6ca4616683313499c3a" integrity sha512-7j6mrk/qqkSehsM92wQjdIgWM2/BW61u/53G6xmC8i1OmEdKLHbk419QKQUjz6LglWsfqoiHmyMRkP1BGjecNQ== -hast-util-raw@6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/hast-util-raw/-/hast-util-raw-6.0.1.tgz#973b15930b7529a7b66984c98148b46526885977" - integrity sha512-ZMuiYA+UF7BXBtsTBNcLBF5HzXzkyE6MLzJnL605LKE8GJylNjGc4jjxazAHUtcwT5/CEt6afRKViYB4X66dig== +hast-util-to-estree@^2.0.0, hast-util-to-estree@^2.0.2: + version "2.1.0" + resolved "https://registry.yarnpkg.com/hast-util-to-estree/-/hast-util-to-estree-2.1.0.tgz#aeac70aad0102ae309570907b3f56a08231d5323" + integrity sha512-Vwch1etMRmm89xGgz+voWXvVHba2iiMdGMKmaMfYt35rbVtFDq8JNwwAIvi8zHMkO6Gvqo9oTMwJTmzVRfXh4g== dependencies: + "@types/estree" "^1.0.0" + "@types/estree-jsx" "^1.0.0" "@types/hast" "^2.0.0" - hast-util-from-parse5 "^6.0.0" - hast-util-to-parse5 "^6.0.0" - html-void-elements "^1.0.0" - parse5 "^6.0.0" - unist-util-position "^3.0.0" - vfile "^4.0.0" - web-namespaces "^1.0.0" - xtend "^4.0.0" - zwitch "^1.0.0" + "@types/unist" "^2.0.0" + comma-separated-tokens "^2.0.0" + estree-util-attach-comments "^2.0.0" + estree-util-is-identifier-name "^2.0.0" + hast-util-whitespace "^2.0.0" + mdast-util-mdx-expression "^1.0.0" + mdast-util-mdxjs-esm "^1.0.0" + property-information "^6.0.0" + space-separated-tokens "^2.0.0" + style-to-object "^0.3.0" + unist-util-position "^4.0.0" + zwitch "^2.0.0" -hast-util-to-parse5@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/hast-util-to-parse5/-/hast-util-to-parse5-6.0.0.tgz#1ec44650b631d72952066cea9b1445df699f8479" - integrity sha512-Lu5m6Lgm/fWuz8eWnrKezHtVY83JeRGaNQ2kn9aJgqaxvVkFCZQBEhgodZUDUvoodgyROHDb3r5IxAEdl6suJQ== - dependencies: - hast-to-hyperscript "^9.0.0" - property-information "^5.0.0" - web-namespaces "^1.0.0" - xtend "^4.0.0" - zwitch "^1.0.0" +hast-util-whitespace@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/hast-util-whitespace/-/hast-util-whitespace-2.0.0.tgz#4fc1086467cc1ef5ba20673cb6b03cec3a970f1c" + integrity sha512-Pkw+xBHuV6xFeJprJe2BBEoDV+AvQySaz3pPDRUs5PNZEMQjpXJJueqrpcHIXxnWTcAGi/UOCgVShlkY6kLoqg== hastscript@^6.0.0: version "6.0.0" @@ -5750,15 +5702,6 @@ highlight.js@^10.4.1, highlight.js@~10.7.0: resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-10.7.3.tgz#697272e3991356e40c3cac566a74eef681756531" integrity sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A== -hmac-drbg@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" - integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg== - dependencies: - hash.js "^1.0.3" - minimalistic-assert "^1.0.0" - minimalistic-crypto-utils "^1.0.1" - hoist-non-react-statics@^3.3.1: version "3.3.2" resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" @@ -5798,19 +5741,6 @@ html-escaper@^2.0.0: resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453" integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg== -html-minifier-terser@^5.0.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/html-minifier-terser/-/html-minifier-terser-5.1.1.tgz#922e96f1f3bb60832c2634b79884096389b1f054" - integrity sha512-ZPr5MNObqnV/T9akshPKbVgyOqLmy+Bxo7juKCfTfnjNniTAMdy4hz21YQqoofMBJD2kdREaqPPdThoR78Tgxg== - dependencies: - camel-case "^4.1.1" - clean-css "^4.2.3" - commander "^4.1.1" - he "^1.2.0" - param-case "^3.0.3" - relateurl "^0.2.7" - terser "^4.6.3" - html-minifier-terser@^6.0.2: version "6.1.0" resolved "https://registry.yarnpkg.com/html-minifier-terser/-/html-minifier-terser-6.1.0.tgz#bfc818934cc07918f6b3669f5774ecdfd48f32ab" @@ -5829,27 +5759,7 @@ html-tags@^3.1.0: resolved "https://registry.yarnpkg.com/html-tags/-/html-tags-3.2.0.tgz#dbb3518d20b726524e4dd43de397eb0a95726961" integrity sha512-vy7ClnArOZwCnqZgvv+ddgHgJiAFXe3Ge9ML5/mBctVJoUoYPCdxVucOywjDARn6CVoh3dRSFdPHy2sX80L0Wg== -html-void-elements@^1.0.0: - version "1.0.5" - resolved "https://registry.yarnpkg.com/html-void-elements/-/html-void-elements-1.0.5.tgz#ce9159494e86d95e45795b166c2021c2cfca4483" - integrity sha512-uE/TxKuyNIcx44cIWnjr/rfIATDH7ZaOMmstu0CwhFG1Dunhlp4OC6/NMbhiwoq5BpW0ubi303qnEk/PZj614w== - -html-webpack-plugin@^4.0.0: - version "4.5.2" - resolved "https://registry.yarnpkg.com/html-webpack-plugin/-/html-webpack-plugin-4.5.2.tgz#76fc83fa1a0f12dd5f7da0404a54e2699666bc12" - integrity sha512-q5oYdzjKUIPQVjOosjgvCHQOv9Ett9CYYHlgvJeXG0qQvdSojnBq4vAdQBwn1+yGveAwHCoe/rMR86ozX3+c2A== - dependencies: - "@types/html-minifier-terser" "^5.0.0" - "@types/tapable" "^1.0.5" - "@types/webpack" "^4.41.8" - html-minifier-terser "^5.0.1" - loader-utils "^1.2.3" - lodash "^4.17.20" - pretty-error "^2.1.1" - tapable "^1.1.3" - util.promisify "1.0.0" - -html-webpack-plugin@^5.0.0, html-webpack-plugin@^5.5.0: +html-webpack-plugin@^5.5.0: version "5.5.0" resolved "https://registry.yarnpkg.com/html-webpack-plugin/-/html-webpack-plugin-5.5.0.tgz#c3911936f57681c1f9f4d8b68c158cd9dfe52f50" integrity sha512-sy88PC2cRTVxvETRgUHFrL4No3UxvcH8G1NepGhqaTT+GXN2kTamqasot0inS5hXeg1cMbFDt27zzo9p35lZVw== @@ -5870,6 +5780,11 @@ htmlparser2@^6.1.0: domutils "^2.5.2" entities "^2.0.0" +http-cache-semantics@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390" + integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ== + http-deceiver@^1.2.7: version "1.2.7" resolved "https://registry.yarnpkg.com/http-deceiver/-/http-deceiver-1.2.7.tgz#fa7168944ab9a519d337cb0bec7284dc3e723d87" @@ -5897,9 +5812,9 @@ http-errors@~1.6.2: statuses ">= 1.4.0 < 2" http-parser-js@>=0.5.1: - version "0.5.7" - resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.5.7.tgz#39bde369fb8a57235121bb69d05f079fa1b598f4" - integrity sha512-8gQM8ZcewlONQLnik2AKzS13euQhaZcu4rK5QBSYOszW0T1upLW9VA2MdWvTvMmRo42HjXp7igFmdROoBCCrfg== + version "0.5.8" + resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.5.8.tgz#af23090d9ac4e24573de6f6aecc9d84a48bf20e3" + integrity sha512-SGeBX54F94Wgu5RH3X5jsDtf4eHyRogWX1XGT3b4HuW3tQPM4AaBzoUji/4AAJNXCEOWZ5O0DgZmJw1947gD5Q== http-proxy-agent@^5.0.0: version "5.0.0" @@ -5930,10 +5845,21 @@ http-proxy@^1.18.1: follow-redirects "^1.0.0" requires-port "^1.0.0" -https-browserify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73" - integrity sha512-J+FkSdyD+0mA0N+81tMotaRMfSL9SGi+xpD3T6YApKsc3bGSXJlfXri3VyFOeYkfLRQisDk1W+jIFFKBeUBbBg== +http2-wrapper@^2.1.10: + version "2.2.0" + resolved "https://registry.yarnpkg.com/http2-wrapper/-/http2-wrapper-2.2.0.tgz#b80ad199d216b7d3680195077bd7b9060fa9d7f3" + integrity sha512-kZB0wxMo0sh1PehyjJUWRFEd99KC5TLjZ2cULC4f9iqJBAmKQQXEICjxl5iPJRwP40dpeHFqqhm7tYCvODpqpQ== + dependencies: + quick-lru "^5.1.1" + resolve-alpn "^1.2.0" + +https-proxy-agent@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-4.0.0.tgz#702b71fb5520a132a66de1f67541d9e62154d82b" + integrity sha512-zoDhWrkR3of1l9QAL8/scJZyLu8j/gBkcwcaQOZh7Gyh/+uJQzGVETdgT30akuwkpL8HTRfssqI3BZuV18teDg== + dependencies: + agent-base "5" + debug "4" https-proxy-agent@^5.0.0: version "5.0.1" @@ -5955,46 +5881,24 @@ iconv-lite@0.4.24: dependencies: safer-buffer ">= 2.1.2 < 3" -iconv-lite@0.6.3, iconv-lite@^0.6.3: +iconv-lite@0.6.3: version "0.6.3" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== dependencies: safer-buffer ">= 2.1.2 < 3.0.0" -icss-utils@^4.0.0, icss-utils@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/icss-utils/-/icss-utils-4.1.1.tgz#21170b53789ee27447c2f47dd683081403f9a467" - integrity sha512-4aFq7wvWyMHKgxsH8QQtGpvbASCf+eM3wPRLI6R+MgAnTCZ6STYsRvttLvRWK0Nfif5piF394St3HeJDaljGPA== - dependencies: - postcss "^7.0.14" - icss-utils@^5.0.0, icss-utils@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/icss-utils/-/icss-utils-5.1.0.tgz#c6be6858abd013d768e98366ae47e25d5887b1ae" integrity sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA== -ieee754@^1.1.4: - version "1.2.1" - resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" - integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== - -iferr@^0.1.5: - version "0.1.5" - resolved "https://registry.yarnpkg.com/iferr/-/iferr-0.1.5.tgz#c60eed69e6d8fdb6b3104a1fcbca1c192dc5b501" - integrity sha512-DUNFN5j7Tln0D+TxzloUjKB+CtVu6myn0JEFak6dG18mNt9YkQ6lzGCdafwofISZ1lLF3xRHJ98VKy9ynkcFaA== - -ignore@^4.0.3: - version "4.0.6" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" - integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== - ignore@^5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.0.tgz#6d3bac8fa7fe0d45d9f9be7bac2fc279577e345a" integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ== -import-fresh@^3.1.0, import-fresh@^3.2.1: +import-fresh@^3.2.1: version "3.3.0" resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== @@ -6002,6 +5906,11 @@ import-fresh@^3.1.0, import-fresh@^3.2.1: parent-module "^1.0.0" resolve-from "^4.0.0" +import-lazy@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-4.0.0.tgz#e8eb627483a0a43da3c03f3e35548be5cb0cc153" + integrity sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw== + import-local@^3.0.2: version "3.1.0" resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.1.0.tgz#b4479df8a5fd44f6cdce24070675676063c95cb4" @@ -6015,23 +5924,6 @@ imurmurhash@^0.1.4: resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== -indent-string@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-2.1.0.tgz#8e2d48348742121b4a8218b7a137e9a52049dc80" - integrity sha512-aqwDFWSgSgfRaEwao5lg5KEcVd/2a+D1rvoG7NdilmYz0NwRk6StWpWdz/Hpk34MKPpx7s8XxUqimfcQK6gGlg== - dependencies: - repeating "^2.0.0" - -indent-string@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" - integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== - -infer-owner@^1.0.3, infer-owner@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/infer-owner/-/infer-owner-1.0.4.tgz#c4cefcaa8e51051c2a40ba2ce8a3d27295af9467" - integrity sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A== - inflight@^1.0.4: version "1.0.6" resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" @@ -6040,34 +5932,35 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@2.0.4, inherits@^2.0.0, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.1, inherits@~2.0.3: +inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.3: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== -inherits@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1" - integrity sha512-8nWq2nLTAwd02jTqJExUYFSD/fKq6VH9Y/oG2accc/kdI0V98Bag8d5a4gi3XHz73rDWa2PvTtvcWYquKqSENA== - inherits@2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" integrity sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw== +ini@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ini/-/ini-2.0.0.tgz#e5fd556ecdd5726be978fa1001862eacb0a94bc5" + integrity sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA== + +ini@^1.3.4, ini@~1.3.0: + version "1.3.8" + resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" + integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== + inline-style-parser@0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/inline-style-parser/-/inline-style-parser-0.1.1.tgz#ec8a3b429274e9c0a1f1c4ffa9453a7fef72cea1" integrity sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q== -internal-slot@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.3.tgz#7347e307deeea2faac2ac6205d4bc7d34967f59c" - integrity sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA== - dependencies: - get-intrinsic "^1.1.0" - has "^1.0.3" - side-channel "^1.0.4" +interpret@^1.0.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.4.0.tgz#665ab8bc4da27a774a40584e812e3e0fa45b1a1e" + integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA== interpret@^2.2.0: version "2.2.0" @@ -6089,6 +5982,11 @@ ipaddr.js@^2.0.1: resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-2.0.1.tgz#eca256a7a877e917aeb368b0a7497ddf42ef81c0" integrity sha512-1qTgH9NG+IIJ4yfKs2e6Pp1bZg8wbDbKHT21HrLIeYBTRLgMYKnMTPAuI3Lcs61nfx5h1xlXnbJtH1kX5/d/ng== +is-absolute-url@^3.0.0: + version "3.0.3" + resolved "https://registry.yarnpkg.com/is-absolute-url/-/is-absolute-url-3.0.3.tgz#96c6a22b6a23929b11ea0afb1836c36ad4a5d698" + integrity sha512-opmNIX7uFnS96NtPmhWQgQx6/NYFgsUXYMllcfzwWKUMwfo8kku1TvE6hkNcH+Q1ts5cMVrsY7j0bxXQDciu9Q== + is-accessor-descriptor@^0.1.6: version "0.1.6" resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6" @@ -6103,11 +6001,16 @@ is-accessor-descriptor@^1.0.0: dependencies: kind-of "^6.0.0" -is-alphabetical@1.0.4, is-alphabetical@^1.0.0: +is-alphabetical@^1.0.0: version "1.0.4" resolved "https://registry.yarnpkg.com/is-alphabetical/-/is-alphabetical-1.0.4.tgz#9e7d6b94916be22153745d184c298cbf986a686d" integrity sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg== +is-alphabetical@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/is-alphabetical/-/is-alphabetical-2.0.1.tgz#01072053ea7c1036df3c7d19a6daaec7f19e789b" + integrity sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ== + is-alphanumerical@^1.0.0: version "1.0.4" resolved "https://registry.yarnpkg.com/is-alphanumerical/-/is-alphanumerical-1.0.4.tgz#7eb9a2431f855f6b1ef1a78e326df515696c4dbf" @@ -6116,7 +6019,15 @@ is-alphanumerical@^1.0.0: is-alphabetical "^1.0.0" is-decimal "^1.0.0" -is-arguments@^1.1.0: +is-alphanumerical@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/is-alphanumerical/-/is-alphanumerical-2.0.1.tgz#7c03fbe96e3e931113e57f964b0a368cc2dfd875" + integrity sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw== + dependencies: + is-alphabetical "^2.0.0" + is-decimal "^2.0.0" + +is-arguments@^1.0.4, is-arguments@^1.1.0, is-arguments@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/is-arguments/-/is-arguments-1.1.1.tgz#15b3f88fda01f2a97fec84ca761a560f123efa9b" integrity sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA== @@ -6136,13 +6047,6 @@ is-bigint@^1.0.1: dependencies: has-bigints "^1.0.1" -is-binary-path@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898" - integrity sha512-9fRVlXc0uCxEDj1nQzaWONSpbTfx0FmJfzHF7pwlI8DkWGoHBBea4Pg5Ky0ojwwxQmnSifgbKkI06Qv0Ljgj+Q== - dependencies: - binary-extensions "^1.0.0" - is-binary-path@~2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" @@ -6168,15 +6072,22 @@ is-buffer@^2.0.0: resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-2.0.5.tgz#ebc252e400d22ff8d77fa09888821a24a658c191" integrity sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ== -is-callable@^1.1.4, is-callable@^1.2.4: - version "1.2.4" - resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.4.tgz#47301d58dd0259407865547853df6d61fe471945" - integrity sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w== +is-callable@^1.1.3: + version "1.2.7" + resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055" + integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA== + +is-ci@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-3.0.1.tgz#db6ecbed1bd659c43dac0f45661e7674103d1867" + integrity sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ== + dependencies: + ci-info "^3.2.0" is-core-module@^2.9.0: - version "2.9.0" - resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.9.0.tgz#e1c34429cd51c6dd9e09e0799e396e27b19a9c69" - integrity sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A== + version "2.11.0" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144" + integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw== dependencies: has "^1.0.3" @@ -6194,7 +6105,7 @@ is-data-descriptor@^1.0.0: dependencies: kind-of "^6.0.0" -is-date-object@^1.0.1: +is-date-object@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.5.tgz#0841d5536e724c25597bf6ea62e1bd38298df31f" integrity sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ== @@ -6206,6 +6117,11 @@ is-decimal@^1.0.0: resolved "https://registry.yarnpkg.com/is-decimal/-/is-decimal-1.0.4.tgz#65a3a5958a1c5b63a706e1b333d7cd9f630d3fa5" integrity sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw== +is-decimal@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/is-decimal/-/is-decimal-2.0.1.tgz#9469d2dc190d0214fd87d78b78caecc0cc14eef7" + integrity sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A== + is-descriptor@^0.1.0: version "0.1.6" resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-0.1.6.tgz#366d8240dde487ca51823b1ab9f07a10a78251ca" @@ -6241,16 +6157,11 @@ is-extendable@^1.0.1: dependencies: is-plain-object "^2.0.4" -is-extglob@^2.1.0, is-extglob@^2.1.1: +is-extglob@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== -is-finite@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-finite/-/is-finite-1.1.0.tgz#904135c77fb42c0641d6aa1bcdbc4daa8da082f3" - integrity sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w== - is-fullwidth-code-point@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" @@ -6261,14 +6172,14 @@ is-function@^1.0.2: resolved "https://registry.yarnpkg.com/is-function/-/is-function-1.0.2.tgz#4f097f30abf6efadac9833b17ca5dc03f8144e08" integrity sha512-lw7DUp0aWXYg+CBCN+JKkcE0Q2RayZnSvnZBlwgxHBQhqt5pZNVy4Ri7H9GmmXkdu7LUthszM+Tor1u/2iBcpQ== -is-glob@^3.0.0, is-glob@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a" - integrity sha512-UFpDDrPgM6qpnFNI+rh/p3bUaq9hKLZN8bMUWzxmcnZVS3omf4IPK+BrewlnWjO1WmUsMYuSjKh4UJuV4+Lqmw== +is-generator-function@^1.0.7: + version "1.0.10" + resolved "https://registry.yarnpkg.com/is-generator-function/-/is-generator-function-1.0.10.tgz#f1558baf1ac17e0deea7c0415c438351ff2b3c72" + integrity sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A== dependencies: - is-extglob "^2.1.0" + has-tostringtag "^1.0.0" -is-glob@^4.0.0, is-glob@^4.0.1, is-glob@~4.0.1: +is-glob@^4.0.1, is-glob@~4.0.1: version "4.0.3" resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== @@ -6280,15 +6191,28 @@ is-hexadecimal@^1.0.0: resolved "https://registry.yarnpkg.com/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz#cc35c97588da4bd49a8eedd6bc4082d44dcb23a7" integrity sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw== -is-map@^2.0.2: +is-hexadecimal@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/is-hexadecimal/-/is-hexadecimal-2.0.1.tgz#86b5bf668fca307498d319dfc03289d781a90027" + integrity sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg== + +is-installed-globally@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/is-installed-globally/-/is-installed-globally-0.4.0.tgz#9a0fd407949c30f86eb6959ef1b7994ed0b7b520" + integrity sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ== + dependencies: + global-dirs "^3.0.0" + is-path-inside "^3.0.2" + +is-map@^2.0.1, is-map@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/is-map/-/is-map-2.0.2.tgz#00922db8c9bf73e81b7a335827bc2a43f2b91127" integrity sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg== -is-negative-zero@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150" - integrity sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA== +is-npm@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-6.0.0.tgz#b59e75e8915543ca5d881ecff864077cba095261" + integrity sha512-JEjxbSmtPSt1c8XTkVrlujcXdKV1/tvuQ7GwKcAlyiVLeYFQ2VHat8xfrDJsIkhCdF/tZ7CiIR3sy141c6+gPQ== is-number-object@^1.0.4: version "1.0.7" @@ -6309,6 +6233,11 @@ is-number@^7.0.0: resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== +is-obj@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982" + integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w== + is-path-cwd@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-2.2.0.tgz#67d43b82664a7b5191fd9119127eb300048a9fdb" @@ -6328,16 +6257,21 @@ is-path-inside@^2.1.0: dependencies: path-is-inside "^1.0.2" -is-plain-obj@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287" - integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA== +is-path-inside@^3.0.2: + version "3.0.3" + resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" + integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== is-plain-obj@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-3.0.0.tgz#af6f2ea14ac5a646183a5bbdb5baabbc156ad9d7" integrity sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA== +is-plain-obj@^4.0.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-4.1.0.tgz#d65025edec3657ce032fd7db63c97883eaed71f0" + integrity sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg== + is-plain-object@5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344" @@ -6355,6 +6289,13 @@ is-potential-custom-element-name@^1.0.1: resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5" integrity sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ== +is-reference@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-reference/-/is-reference-3.0.0.tgz#b1380c03d96ddf7089709781e3208fceb0c92cd6" + integrity sha512-Eo1W3wUoHWoCoVM4GVl/a+K0IgiqE5aIo4kJABFyMum1ZORlPkC+UC357sSQUL5w5QCE5kCC9upl75b7+7CY/Q== + dependencies: + "@types/estree" "*" + is-regex@^1.1.2, is-regex@^1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958" @@ -6363,69 +6304,64 @@ is-regex@^1.1.2, is-regex@^1.1.4: call-bind "^1.0.2" has-tostringtag "^1.0.0" -is-set@^2.0.2: +is-set@^2.0.1, is-set@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/is-set/-/is-set-2.0.2.tgz#90755fa4c2562dc1c5d4024760d6119b94ca18ec" integrity sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g== -is-shared-array-buffer@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz#8f259c573b60b6a32d4058a1a07430c0a7344c79" - integrity sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA== - dependencies: - call-bind "^1.0.2" - is-stream@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== -is-string@^1.0.5, is-string@^1.0.7: +is-string@^1.0.5: version "1.0.7" resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd" integrity sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg== dependencies: has-tostringtag "^1.0.0" -is-symbol@^1.0.2, is-symbol@^1.0.3: +is-symbol@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.4.tgz#a6dac93b635b063ca6872236de88910a57af139c" integrity sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg== dependencies: has-symbols "^1.0.2" -is-utf8@^0.2.0: - version "0.2.1" - resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" - integrity sha512-rMYPYvCzsXywIsldgLaSoPlw5PfoB/ssr7hY4pLfcodrA5M/eArza1a9VmTiNIBNMjOGr1Ow9mTyU2o69U6U9Q== +is-typed-array@^1.1.10, is-typed-array@^1.1.3: + version "1.1.10" + resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.10.tgz#36a5b5cb4189b575d1a3e4b08536bfb485801e3f" + integrity sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A== + dependencies: + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + for-each "^0.3.3" + gopd "^1.0.1" + has-tostringtag "^1.0.0" -is-weakref@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.2.tgz#9529f383a9338205e89765e0392efc2f100f06f2" - integrity sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ== +is-typedarray@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" + integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== + +is-weakmap@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/is-weakmap/-/is-weakmap-2.0.1.tgz#5008b59bdc43b698201d18f62b37b2ca243e8cf2" + integrity sha512-NSBR4kH5oVj1Uwvv970ruUkCV7O1mzgVFO4/rev2cLRda9Tm9HrL70ZPut4rOHgY0FNrUu9BCbXA2sdQ+x0chA== + +is-weakset@^2.0.1: + version "2.0.2" + resolved "https://registry.yarnpkg.com/is-weakset/-/is-weakset-2.0.2.tgz#4569d67a747a1ce5a994dfd4ef6dcea76e7c0a1d" + integrity sha512-t2yVvttHkQktwnNNmBQ98AhENLdPUTDTE21uPqAQ0ARwQfGeQKRVS0NNurH7bTf7RrvcVn1OOge45CnBeHCSmg== dependencies: call-bind "^1.0.2" - -is-whitespace-character@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-whitespace-character/-/is-whitespace-character-1.0.4.tgz#0858edd94a95594c7c9dd0b5c174ec6e45ee4aa7" - integrity sha512-SDweEzfIZM0SJV0EUga669UTKlmL0Pq8Lno0QDQsPnvECB3IM2aP0gdx5TrU0A01MAPfViaZiI2V1QMZLaKK5w== + get-intrinsic "^1.1.1" is-windows@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA== -is-word-character@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-word-character/-/is-word-character-1.0.4.tgz#ce0e73216f98599060592f62ff31354ddbeb0230" - integrity sha512-5SMO8RVennx3nZrqtKwCGyyetPE9VDba5ugvKLaD4KopPG5kR4mQ7tNt/r7feL5yt5h3lpuBbIUmCOG2eSzXHA== - -is-wsl@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d" - integrity sha512-gfygJYZ2gLTDlmbWMI0CE2MwnFzSN/2SZfkMlItC4K/JBlsWVDB0bO6XhqcY13YXE7iMcAJnzTCJjPiTeJJ0Mw== - is-wsl@^2.1.1, is-wsl@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" @@ -6433,7 +6369,12 @@ is-wsl@^2.1.1, is-wsl@^2.2.0: dependencies: is-docker "^2.0.0" -isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0: +is-yarn-global@^0.4.0: + version "0.4.1" + resolved "https://registry.yarnpkg.com/is-yarn-global/-/is-yarn-global-0.4.1.tgz#b312d902b313f81e4eaf98b6361ba2b45cd694bb" + integrity sha512-/kppl+R+LO5VmhYSEWARUFjodS25D68gvj8W7z0I7OWhUla5xWu8KL6CtB2V0R6yqhnRgbcaREMr4EEM6htLPQ== + +isarray@1.0.0, isarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== @@ -6478,6 +6419,17 @@ istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz#189e7909d0a39fa5a3dfad5b03f71947770191d3" integrity sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw== +istanbul-lib-instrument@^5.0.4: + version "5.2.1" + resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz#d10c8885c2125574e1c231cacadf955675e1ce3d" + integrity sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg== + dependencies: + "@babel/core" "^7.12.3" + "@babel/parser" "^7.14.7" + "@istanbuljs/schema" "^0.1.2" + istanbul-lib-coverage "^3.2.0" + semver "^6.3.0" + istanbul-lib-report@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#7518fe52ea44de372f460a76b5ecda9ffb73d8a6" @@ -6488,34 +6440,66 @@ istanbul-lib-report@^3.0.0: supports-color "^7.1.0" istanbul-reports@^3.1.4: - version "3.1.4" - resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.4.tgz#1b6f068ecbc6c331040aab5741991273e609e40c" - integrity sha512-r1/DshN4KSE7xWEknZLLLLDn5CJybV3nw01VTkp6D5jzLuELlcbudfj/eSQFvrKsJuTVCGnePO7ho82Nw9zzfw== + version "3.1.5" + resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.5.tgz#cc9a6ab25cb25659810e4785ed9d9fb742578bae" + integrity sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w== dependencies: html-escaper "^2.0.0" istanbul-lib-report "^3.0.0" -iterate-iterator@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/iterate-iterator/-/iterate-iterator-1.0.2.tgz#551b804c9eaa15b847ea6a7cdc2f5bf1ec150f91" - integrity sha512-t91HubM4ZDQ70M9wqp+pcNpu8OyJ9UAtXntT/Bcsvp5tZMnz9vRa+IunKXeI8AnfZMTv0jNuVEmGeLSMjVvfPw== - -iterate-value@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/iterate-value/-/iterate-value-1.0.2.tgz#935115bd37d006a52046535ebc8d07e9c9337f57" - integrity sha512-A6fMAio4D2ot2r/TYzr4yUWrmwNdsN5xL7+HUiyACE4DXm+q8HtPcnFTp+NnW3k4N05tZ7FVYFFb2CR13NxyHQ== +jake@^10.8.5: + version "10.8.5" + resolved "https://registry.yarnpkg.com/jake/-/jake-10.8.5.tgz#f2183d2c59382cb274226034543b9c03b8164c46" + integrity sha512-sVpxYeuAhWt0OTWITwT98oyV0GsXyMlXCF+3L1SuafBVUIr/uILGRB+NqwkzhgXKvoJpDIpQvqkUALgdmQsQxw== dependencies: - es-get-iterator "^1.0.2" - iterate-iterator "^1.0.1" + async "^3.2.3" + chalk "^4.0.2" + filelist "^1.0.1" + minimatch "^3.0.4" -jest-worker@^26.5.0: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-26.6.2.tgz#7f72cbc4d643c365e27b9fd775f9d0eaa9c7a8ed" - integrity sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ== +jest-haste-map@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-28.1.3.tgz#abd5451129a38d9841049644f34b034308944e2b" + integrity sha512-3S+RQWDXccXDKSWnkHa/dPwt+2qwA8CJzR61w3FoYCvoo3Pn8tvGcysmMF0Bj0EX5RYvAI2EIvC57OmotfdtKA== dependencies: + "@jest/types" "^28.1.3" + "@types/graceful-fs" "^4.1.3" "@types/node" "*" - merge-stream "^2.0.0" - supports-color "^7.0.0" + anymatch "^3.0.3" + fb-watchman "^2.0.0" + graceful-fs "^4.2.9" + jest-regex-util "^28.0.2" + jest-util "^28.1.3" + jest-worker "^28.1.3" + micromatch "^4.0.4" + walker "^1.0.8" + optionalDependencies: + fsevents "^2.3.2" + +jest-mock@^27.0.6: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-27.5.1.tgz#19948336d49ef4d9c52021d34ac7b5f36ff967d6" + integrity sha512-K4jKbY1d4ENhbrG2zuPWaQBvDly+iZ2yAW+T1fATN78hc0sInwn7wZB8XtlNnvHug5RMwV897Xm4LqmPM4e2Og== + dependencies: + "@jest/types" "^27.5.1" + "@types/node" "*" + +jest-regex-util@^28.0.2: + version "28.0.2" + resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-28.0.2.tgz#afdc377a3b25fb6e80825adcf76c854e5bf47ead" + integrity sha512-4s0IgyNIy0y9FK+cjoVYoxamT7Zeo7MhzqRGx7YDYmaQn1wucY9rotiGkBzzcMXTtjrCAP/f7f+E0F7+fxPNdw== + +jest-util@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-28.1.3.tgz#f4f932aa0074f0679943220ff9cbba7e497028b0" + integrity sha512-XdqfpHwpcSRko/C35uLYFM2emRAltIIKZiJ9eAmhjsj0CqZMa0p1ib0R5fWIqGhn1a103DebTbpqIaP1qCQ6tQ== + dependencies: + "@jest/types" "^28.1.3" + "@types/node" "*" + chalk "^4.0.0" + ci-info "^3.2.0" + graceful-fs "^4.2.9" + picomatch "^2.2.3" jest-worker@^27.4.5: version "27.5.1" @@ -6526,16 +6510,53 @@ jest-worker@^27.4.5: merge-stream "^2.0.0" supports-color "^8.0.0" -js-string-escape@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/js-string-escape/-/js-string-escape-1.0.1.tgz#e2625badbc0d67c7533e9edc1068c587ae4137ef" - integrity sha512-Smw4xcfIQ5LVjAOuJCvN/zIodzA/BBSsluuoSykP+lUvScIi4U6RJLfwHet5cxFnCswUjISV8oAXaqaJDY3chg== +jest-worker@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-28.1.3.tgz#7e3c4ce3fa23d1bb6accb169e7f396f98ed4bb98" + integrity sha512-CqRA220YV/6jCo8VWvAt1KKx6eek1VIHMPeLEbpcfSfkEeWyBNppynM/o6q+Wmw+sOhos2ml34wZbSX3G13//g== + dependencies: + "@types/node" "*" + merge-stream "^2.0.0" + supports-color "^8.0.0" "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== +js-yaml@^3.13.1: + version "3.14.1" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537" + integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== + dependencies: + argparse "^1.0.7" + esprima "^4.0.0" + +jscodeshift@^0.13.1: + version "0.13.1" + resolved "https://registry.yarnpkg.com/jscodeshift/-/jscodeshift-0.13.1.tgz#69bfe51e54c831296380585c6d9e733512aecdef" + integrity sha512-lGyiEbGOvmMRKgWk4vf+lUrCWO/8YR8sUR3FKF1Cq5fovjZDlIcw3Hu5ppLHAnEXshVffvaM0eyuY/AbOeYpnQ== + dependencies: + "@babel/core" "^7.13.16" + "@babel/parser" "^7.13.16" + "@babel/plugin-proposal-class-properties" "^7.13.0" + "@babel/plugin-proposal-nullish-coalescing-operator" "^7.13.8" + "@babel/plugin-proposal-optional-chaining" "^7.13.12" + "@babel/plugin-transform-modules-commonjs" "^7.13.8" + "@babel/preset-flow" "^7.13.13" + "@babel/preset-typescript" "^7.13.0" + "@babel/register" "^7.13.16" + babel-core "^7.0.0-bridge.0" + chalk "^4.1.2" + flow-parser "0.*" + graceful-fs "^4.2.4" + micromatch "^3.1.10" + neo-async "^2.5.0" + node-dir "^0.1.17" + recast "^0.20.4" + temp "^0.8.4" + write-file-atomic "^2.3.0" + jsdom-global@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/jsdom-global/-/jsdom-global-3.0.2.tgz#6bd299c13b0c4626b2da2c0393cd4385d606acb9" @@ -6584,10 +6605,10 @@ jsesc@~0.5.0: resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" integrity sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA== -json-parse-better-errors@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" - integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== +json-buffer@3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13" + integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== json-parse-even-better-errors@^2.3.0, json-parse-even-better-errors@^2.3.1: version "2.3.1" @@ -6604,14 +6625,7 @@ json-schema-traverse@^1.0.0: resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2" integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug== -json5@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.1.tgz#779fb0018604fa854eacbf6252180d83543e3dbe" - integrity sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow== - dependencies: - minimist "^1.2.0" - -json5@^2.1.2, json5@^2.1.3, json5@^2.2.1: +json5@^2.1.2, json5@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.1.tgz#655d50ed1e6f95ad1a3caababd2b0efda10b395c" integrity sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA== @@ -6625,10 +6639,12 @@ jsonfile@^6.0.1: optionalDependencies: graceful-fs "^4.1.6" -junk@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/junk/-/junk-3.1.0.tgz#31499098d902b7e98c5d9b9c80f43457a88abfa1" - integrity sha512-pBxcB3LFc8QVgdggvZWyeys+hnrNWg4OcZIU/1X59k5jQdLBlCsYGRQaz234SqoRLTCgMH00fY0xRJH+F9METQ== +keyv@^4.5.0: + version "4.5.2" + resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.2.tgz#0e310ce73bf7851ec702f2eaf46ec4e3805cce56" + integrity sha512-5MHbFaKn8cNSmVW7BYnijeAVlE4cYA/SVkifVgrh7yotnfhKmjuXpDKjrABLnT0SfHWV21P8ow07OGfRrNDg8g== + dependencies: + json-buffer "3.0.1" kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: version "3.2.2" @@ -6659,10 +6675,17 @@ kleur@^3.0.3: resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== -klona@^2.0.4: - version "2.0.5" - resolved "https://registry.yarnpkg.com/klona/-/klona-2.0.5.tgz#d166574d90076395d9963aa7a928fabb8d76afbc" - integrity sha512-pJiBpiXMbt7dkzXe8Ghj/u4FfXOOa98fPW+bihOJ4SjnoijweJrNThJfd3ifXpXhREjpoF2mZVH1GfS9LV3kHQ== +kleur@^4.0.3: + version "4.1.5" + resolved "https://registry.yarnpkg.com/kleur/-/kleur-4.1.5.tgz#95106101795f7050c6c650f350c683febddb1780" + integrity sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ== + +latest-version@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/latest-version/-/latest-version-7.0.0.tgz#843201591ea81a4d404932eeb61240fe04e9e5da" + integrity sha512-KvNT4XqAMzdcL6ka6Tl3i2lYeFDgXNCuIX+xNx6ZMVR1dFq+idXd9FLKNMOIx0t9mJ9/HudyX4oZWXZQ0UJHeg== + dependencies: + package-json "^8.1.0" lazy-universal-dotenv@^3.0.1: version "3.0.1" @@ -6675,6 +6698,11 @@ lazy-universal-dotenv@^3.0.1: dotenv "^8.0.0" dotenv-expand "^5.1.0" +leven@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" + integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A== + levn@~0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" @@ -6688,40 +6716,15 @@ lines-and-columns@^1.1.6: resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== -load-json-file@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" - integrity sha512-cy7ZdNRXdablkXYNI049pthVeXFurRyb9+hA/dZzerZ0pGTx42z+y+ssxBaVV2l70t1muq5IdKhn4UtcoGUY9A== - dependencies: - graceful-fs "^4.1.2" - parse-json "^2.2.0" - pify "^2.0.0" - pinkie-promise "^2.0.0" - strip-bom "^2.0.0" - -loader-runner@^2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.4.0.tgz#ed47066bfe534d7e84c4c7b9998c2a75607d9357" - integrity sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw== - loader-runner@^4.2.0: version "4.3.0" resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-4.3.0.tgz#c1b4a163b99f614830353b16755e7149ac2314e1" integrity sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg== -loader-utils@^1.2.3: - version "1.4.0" - resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.0.tgz#c579b5e34cb34b1a74edc6c1fb36bfa371d5a613" - integrity sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA== - dependencies: - big.js "^5.2.2" - emojis-list "^3.0.0" - json5 "^1.0.1" - -loader-utils@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-2.0.2.tgz#d6e3b4fb81870721ae4e0868ab11dd638368c129" - integrity sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A== +loader-utils@^2.0.0, loader-utils@^2.0.3, loader-utils@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-2.0.4.tgz#8b5cb38b5c34a9a018ee1fc0e6a066d1dfcc528c" + integrity sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw== dependencies: big.js "^5.2.2" emojis-list "^3.0.0" @@ -6754,21 +6757,16 @@ lodash.debounce@^4.0.8: resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" integrity sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow== -lodash.sortby@^4.7.0: - version "4.7.0" - resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438" - integrity sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA== - -lodash.uniq@4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" - integrity sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ== - -lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21: +lodash@^4.17.15, lodash@^4.17.20, lodash@^4.17.21: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== +longest-streak@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/longest-streak/-/longest-streak-3.1.0.tgz#62fa67cd958742a1574af9f39866364102d90cd4" + integrity sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g== + loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" @@ -6776,14 +6774,6 @@ loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: dependencies: js-tokens "^3.0.0 || ^4.0.0" -loud-rejection@^1.0.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/loud-rejection/-/loud-rejection-1.6.0.tgz#5b46f80147edee578870f086d04821cf998e551f" - integrity sha512-RPNliZOFkqFumDhvYqOaNY4Uz9oJM2K9tC6JWsJJsNdhuONW4LQHRBpb0qf4pJApVffI5N39SwzWZJuEhfd7eQ== - dependencies: - currently-unhandled "^0.4.1" - signal-exit "^3.0.0" - lower-case@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-2.0.2.tgz#6fa237c63dbdc4a82ca0fd882e4722dc5e634e28" @@ -6791,6 +6781,11 @@ lower-case@^2.0.2: dependencies: tslib "^2.0.3" +lowercase-keys@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-3.0.0.tgz#c5e7d442e37ead247ae9db117a9d0a467c89d4f2" + integrity sha512-ozCC6gdQ+glXOQsveKD0YsDy8DSQFjDTz4zyzEHNV5+JP5D62LmfDZ6o1cycFx9ouG940M5dE8C8CTewdj2YWQ== + lowlight@^1.17.0: version "1.20.0" resolved "https://registry.yarnpkg.com/lowlight/-/lowlight-1.20.0.tgz#ddb197d33462ad0d93bf19d17b6c301aa3941888" @@ -6799,13 +6794,6 @@ lowlight@^1.17.0: fault "^1.0.0" highlight.js "~10.7.0" -lru-cache@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" - integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== - dependencies: - yallist "^3.0.2" - lru-cache@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" @@ -6833,23 +6821,18 @@ make-dir@^3.0.0, make-dir@^3.0.2, make-dir@^3.1.0: dependencies: semver "^6.0.0" -map-age-cleaner@^0.1.3: - version "0.1.3" - resolved "https://registry.yarnpkg.com/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz#7d583a7306434c055fe474b0f45078e6e1b4b92a" - integrity sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w== +makeerror@1.0.12: + version "1.0.12" + resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.12.tgz#3e5dd2079a82e812e983cc6610c4a2cb0eaa801a" + integrity sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg== dependencies: - p-defer "^1.0.0" + tmpl "1.0.5" map-cache@^0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" integrity sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg== -map-obj@^1.0.0, map-obj@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d" - integrity sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg== - map-or-similar@^1.5.0: version "1.5.0" resolved "https://registry.yarnpkg.com/map-or-similar/-/map-or-similar-1.5.0.tgz#6de2653174adfb5d9edc33c69d3e92a1b76faf08" @@ -6862,26 +6845,15 @@ map-visit@^1.0.0: dependencies: object-visit "^1.0.0" -markdown-escapes@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/markdown-escapes/-/markdown-escapes-1.0.4.tgz#c95415ef451499d7602b91095f3c8e8975f78535" - integrity sha512-8z4efJYk43E0upd0NbVXwgSTQs6cT3T06etieCMEg7dRbzCbxUCK/GHlX8mhHRDcp+OLlHkPKsvqQTCvsRl2cg== +markdown-extensions@^1.0.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/markdown-extensions/-/markdown-extensions-1.1.1.tgz#fea03b539faeaee9b4ef02a3769b455b189f7fc3" + integrity sha512-WWC0ZuMzCyDHYCasEGs4IPvLyTGftYwh6wIEOULOF0HXcqZlhwRzrK0w2VUlxWA98xnvb/jszw4ZSkJ6ADpM6Q== -md5.js@^1.3.4: - version "1.3.5" - resolved "https://registry.yarnpkg.com/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" - integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== - dependencies: - hash-base "^3.0.0" - inherits "^2.0.1" - safe-buffer "^5.1.2" - -mdast-squeeze-paragraphs@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/mdast-squeeze-paragraphs/-/mdast-squeeze-paragraphs-4.0.0.tgz#7c4c114679c3bee27ef10b58e2e015be79f1ef97" - integrity sha512-zxdPn69hkQ1rm4J+2Cs2j6wDEv7O17TfXTJ33tl/+JPIoEmtV9t2ZzBM5LPHE8QlHsmVD8t3vPKCyY3oH+H8MQ== - dependencies: - unist-util-remove "^2.0.0" +markdown-to-jsx@^7.1.3: + version "7.1.7" + resolved "https://registry.yarnpkg.com/markdown-to-jsx/-/markdown-to-jsx-7.1.7.tgz#a5f22102fb12241c8cea1ca6a4050bb76b23a25d" + integrity sha512-VI3TyyHlGkO8uFle0IOibzpO1c1iJDcXcS/zBrQrXQQvJ2tpdwVzVZ7XdKsyRz1NdRmre4dqQkMZzUHaKIG/1w== mdast-util-definitions@^4.0.0: version "4.0.0" @@ -6890,42 +6862,127 @@ mdast-util-definitions@^4.0.0: dependencies: unist-util-visit "^2.0.0" -mdast-util-to-hast@10.0.1: - version "10.0.1" - resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-10.0.1.tgz#0cfc82089494c52d46eb0e3edb7a4eb2aea021eb" - integrity sha512-BW3LM9SEMnjf4HXXVApZMt8gLQWVNXc3jryK0nJu/rOXPOnlkUjmdkDlmxMirpbU9ILncGFIwLH/ubnWBbcdgA== +mdast-util-definitions@^5.0.0: + version "5.1.1" + resolved "https://registry.yarnpkg.com/mdast-util-definitions/-/mdast-util-definitions-5.1.1.tgz#2c1d684b28e53f84938bb06317944bee8efa79db" + integrity sha512-rQ+Gv7mHttxHOBx2dkF4HWTg+EE+UR78ptQWDylzPKaQuVGdG4HIoY3SrS/pCp80nZ04greFvXbVFHT+uf0JVQ== dependencies: "@types/mdast" "^3.0.0" "@types/unist" "^2.0.0" - mdast-util-definitions "^4.0.0" - mdurl "^1.0.0" - unist-builder "^2.0.0" - unist-util-generated "^1.0.0" - unist-util-position "^3.0.0" - unist-util-visit "^2.0.0" + unist-util-visit "^4.0.0" -mdurl@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-1.0.1.tgz#fe85b2ec75a59037f2adfec100fd6c601761152e" - integrity sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g== +mdast-util-from-markdown@^1.0.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/mdast-util-from-markdown/-/mdast-util-from-markdown-1.2.0.tgz#84df2924ccc6c995dec1e2368b2b208ad0a76268" + integrity sha512-iZJyyvKD1+K7QX1b5jXdE7Sc5dtoTry1vzV28UZZe8Z1xVnB/czKntJ7ZAkG0tANqRnBF6p3p7GpU1y19DTf2Q== + dependencies: + "@types/mdast" "^3.0.0" + "@types/unist" "^2.0.0" + decode-named-character-reference "^1.0.0" + mdast-util-to-string "^3.1.0" + micromark "^3.0.0" + micromark-util-decode-numeric-character-reference "^1.0.0" + micromark-util-decode-string "^1.0.0" + micromark-util-normalize-identifier "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.0" + unist-util-stringify-position "^3.0.0" + uvu "^0.5.0" + +mdast-util-mdx-expression@^1.0.0: + version "1.3.1" + resolved "https://registry.yarnpkg.com/mdast-util-mdx-expression/-/mdast-util-mdx-expression-1.3.1.tgz#2224cf0b5b150093704a3c225bd529d2de21f50f" + integrity sha512-TTb6cKyTA1RD+1su1iStZ5PAv3rFfOUKcoU5EstUpv/IZo63uDX03R8+jXjMEhcobXnNOiG6/ccekvVl4eV1zQ== + dependencies: + "@types/estree-jsx" "^1.0.0" + "@types/hast" "^2.0.0" + "@types/mdast" "^3.0.0" + mdast-util-from-markdown "^1.0.0" + mdast-util-to-markdown "^1.0.0" + +mdast-util-mdx-jsx@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-2.1.0.tgz#029f5a9c38485dbb5cf482059557ee7d788f1947" + integrity sha512-KzgzfWMhdteDkrY4mQtyvTU5bc/W4ppxhe9SzelO6QUUiwLAM+Et2Dnjjprik74a336kHdo0zKm7Tp+n6FFeRg== + dependencies: + "@types/estree-jsx" "^1.0.0" + "@types/hast" "^2.0.0" + "@types/mdast" "^3.0.0" + ccount "^2.0.0" + mdast-util-to-markdown "^1.3.0" + parse-entities "^4.0.0" + stringify-entities "^4.0.0" + unist-util-remove-position "^4.0.0" + unist-util-stringify-position "^3.0.0" + vfile-message "^3.0.0" + +mdast-util-mdx@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/mdast-util-mdx/-/mdast-util-mdx-2.0.0.tgz#dd4f6c993cf27da32725e50a04874f595b7b63fb" + integrity sha512-M09lW0CcBT1VrJUaF/PYxemxxHa7SLDHdSn94Q9FhxjCQfuW7nMAWKWimTmA3OyDMSTH981NN1csW1X+HPSluw== + dependencies: + mdast-util-mdx-expression "^1.0.0" + mdast-util-mdx-jsx "^2.0.0" + mdast-util-mdxjs-esm "^1.0.0" + +mdast-util-mdxjs-esm@^1.0.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/mdast-util-mdxjs-esm/-/mdast-util-mdxjs-esm-1.3.0.tgz#137345ef827169aeeeb6069277cd3e090830ce9a" + integrity sha512-7N5ihsOkAEGjFotIX9p/YPdl4TqUoMxL4ajNz7PbT89BqsdWJuBC9rvgt6wpbwTZqWWR0jKWqQbwsOWDBUZv4g== + dependencies: + "@types/estree-jsx" "^1.0.0" + "@types/hast" "^2.0.0" + "@types/mdast" "^3.0.0" + mdast-util-from-markdown "^1.0.0" + mdast-util-to-markdown "^1.0.0" + +mdast-util-to-hast@^12.1.0: + version "12.2.4" + resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-12.2.4.tgz#34c1ef2b6cf01c27b3e3504e2c977c76f722e7e1" + integrity sha512-a21xoxSef1l8VhHxS1Dnyioz6grrJkoaCUgGzMD/7dWHvboYX3VW53esRUfB5tgTyz4Yos1n25SPcj35dJqmAg== + dependencies: + "@types/hast" "^2.0.0" + "@types/mdast" "^3.0.0" + mdast-util-definitions "^5.0.0" + micromark-util-sanitize-uri "^1.1.0" + trim-lines "^3.0.0" + unist-builder "^3.0.0" + unist-util-generated "^2.0.0" + unist-util-position "^4.0.0" + unist-util-visit "^4.0.0" + +mdast-util-to-markdown@^1.0.0, mdast-util-to-markdown@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/mdast-util-to-markdown/-/mdast-util-to-markdown-1.3.0.tgz#38b6cdc8dc417de642a469c4fc2abdf8c931bd1e" + integrity sha512-6tUSs4r+KK4JGTTiQ7FfHmVOaDrLQJPmpjD6wPMlHGUVXoG9Vjc3jIeP+uyBWRf8clwB2blM+W7+KrlMYQnftA== + dependencies: + "@types/mdast" "^3.0.0" + "@types/unist" "^2.0.0" + longest-streak "^3.0.0" + mdast-util-to-string "^3.0.0" + micromark-util-decode-string "^1.0.0" + unist-util-visit "^4.0.0" + zwitch "^2.0.0" + +mdast-util-to-string@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-1.1.0.tgz#27055500103f51637bd07d01da01eb1967a43527" + integrity sha512-jVU0Nr2B9X3MU4tSK7JP1CMkSvOj7X5l/GboG1tKRw52lLF1x2Ju92Ms9tNetCcbfX3hzlM73zYo2NKkWSfF/A== + +mdast-util-to-string@^3.0.0, mdast-util-to-string@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-3.1.0.tgz#56c506d065fbf769515235e577b5a261552d56e9" + integrity sha512-n4Vypz/DZgwo0iMHLQL49dJzlp7YtAJP+N07MZHpjPf/5XJuHUWstviF4Mn2jEiR/GNmtnRRqnwsXExk3igfFA== media-typer@0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" integrity sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ== -mem@^8.1.1: - version "8.1.1" - resolved "https://registry.yarnpkg.com/mem/-/mem-8.1.1.tgz#cf118b357c65ab7b7e0817bdf00c8062297c0122" - integrity sha512-qFCFUDs7U3b8mBDPyz5EToEKoAkgCzqquIgi9nkkR9bixxOVOre+09lbuH7+9Kn2NFpm56M3GUWVbU2hQgdACA== - dependencies: - map-age-cleaner "^0.1.3" - mimic-fn "^3.1.0" - -memfs@^3.1.2, memfs@^3.2.2, memfs@^3.4.3: - version "3.4.6" - resolved "https://registry.yarnpkg.com/memfs/-/memfs-3.4.6.tgz#74097983d27c82b973665885dc75f27a65174510" - integrity sha512-rH9mjopto6Wkr7RFuH9l9dk3qb2XGOcYKr7xMhaYqfzuJqOqhRrcFvfD7JMuPj6SLmPreh5+6eAuv36NFAU+Mw== +memfs@^3.4.1, memfs@^3.4.3: + version "3.4.11" + resolved "https://registry.yarnpkg.com/memfs/-/memfs-3.4.11.tgz#3a34837ade675825d805a2c135e88cefe5e53aaf" + integrity sha512-GvsCITGAyDCxxsJ+X6prJexFQEhOCJaIlUbsAvjzSI5o5O7j2dle3jWvz5Z5aOdpOxW6ol3vI1+0ut+641F1+w== dependencies: fs-monkey "^1.0.3" @@ -6936,38 +6993,6 @@ memoizerific@^1.11.3: dependencies: map-or-similar "^1.5.0" -memory-fs@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.4.1.tgz#3a9a20b8462523e447cfbc7e8bb80ed667bfc552" - integrity sha512-cda4JKCxReDXFXRqOHPQscuIYg1PvxbE2S2GP45rnwfEK+vZaXC8C1OFvdHIbgw0DLzowXGVoxLaAmlgRy14GQ== - dependencies: - errno "^0.1.3" - readable-stream "^2.0.1" - -memory-fs@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.5.0.tgz#324c01288b88652966d161db77838720845a8e3c" - integrity sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA== - dependencies: - errno "^0.1.3" - readable-stream "^2.0.1" - -meow@^3.1.0: - version "3.7.0" - resolved "https://registry.yarnpkg.com/meow/-/meow-3.7.0.tgz#72cb668b425228290abbfa856892587308a801fb" - integrity sha512-TNdwZs0skRlpPpCUK25StC4VH+tP5GgeY1HQOOGP+lQ2xtdkN2VtT/5tiX9k3IWpkBPV9b3LsAWXn4GGi/PrSA== - dependencies: - camelcase-keys "^2.0.0" - decamelize "^1.1.2" - loud-rejection "^1.0.0" - map-obj "^1.0.1" - minimist "^1.1.3" - normalize-package-data "^2.3.4" - object-assign "^4.0.1" - read-pkg-up "^1.0.1" - redent "^1.0.0" - trim-newlines "^1.0.0" - merge-descriptors@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" @@ -6978,7 +7003,7 @@ merge-stream@^2.0.0: resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== -merge2@^1.2.3, merge2@^1.3.0, merge2@^1.4.1: +merge2@^1.3.0, merge2@^1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== @@ -6988,12 +7013,292 @@ methods@~1.1.2: resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" integrity sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w== -microevent.ts@~0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/microevent.ts/-/microevent.ts-0.1.1.tgz#70b09b83f43df5172d0205a63025bce0f7357fa0" - integrity sha512-jo1OfR4TaEwd5HOrt5+tAZ9mqT4jmpNAusXtyfNzqVm9uiSYFZlKM1wYL4oU7azZW/PxQW53wM0S6OR1JHNa2g== +micromark-core-commonmark@^1.0.0, micromark-core-commonmark@^1.0.1: + version "1.0.6" + resolved "https://registry.yarnpkg.com/micromark-core-commonmark/-/micromark-core-commonmark-1.0.6.tgz#edff4c72e5993d93724a3c206970f5a15b0585ad" + integrity sha512-K+PkJTxqjFfSNkfAhp4GB+cZPfQd6dxtTXnf+RjZOV7T4EEXnvgzOcnp+eSTmpGk9d1S9sL6/lqrgSNn/s0HZA== + dependencies: + decode-named-character-reference "^1.0.0" + micromark-factory-destination "^1.0.0" + micromark-factory-label "^1.0.0" + micromark-factory-space "^1.0.0" + micromark-factory-title "^1.0.0" + micromark-factory-whitespace "^1.0.0" + micromark-util-character "^1.0.0" + micromark-util-chunked "^1.0.0" + micromark-util-classify-character "^1.0.0" + micromark-util-html-tag-name "^1.0.0" + micromark-util-normalize-identifier "^1.0.0" + micromark-util-resolve-all "^1.0.0" + micromark-util-subtokenize "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.1" + uvu "^0.5.0" -micromatch@^3.1.10, micromatch@^3.1.4: +micromark-extension-mdx-expression@^1.0.0: + version "1.0.3" + resolved "https://registry.yarnpkg.com/micromark-extension-mdx-expression/-/micromark-extension-mdx-expression-1.0.3.tgz#cd3843573921bf55afcfff4ae0cd2e857a16dcfa" + integrity sha512-TjYtjEMszWze51NJCZmhv7MEBcgYRgb3tJeMAJ+HQCAaZHHRBaDCccqQzGizR/H4ODefP44wRTgOn2vE5I6nZA== + dependencies: + micromark-factory-mdx-expression "^1.0.0" + micromark-factory-space "^1.0.0" + micromark-util-character "^1.0.0" + micromark-util-events-to-acorn "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.0" + uvu "^0.5.0" + +micromark-extension-mdx-jsx@^1.0.0: + version "1.0.3" + resolved "https://registry.yarnpkg.com/micromark-extension-mdx-jsx/-/micromark-extension-mdx-jsx-1.0.3.tgz#9f196be5f65eb09d2a49b237a7b3398bba2999be" + integrity sha512-VfA369RdqUISF0qGgv2FfV7gGjHDfn9+Qfiv5hEwpyr1xscRj/CiVRkU7rywGFCO7JwJ5L0e7CJz60lY52+qOA== + dependencies: + "@types/acorn" "^4.0.0" + estree-util-is-identifier-name "^2.0.0" + micromark-factory-mdx-expression "^1.0.0" + micromark-factory-space "^1.0.0" + micromark-util-character "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.0" + uvu "^0.5.0" + vfile-message "^3.0.0" + +micromark-extension-mdx-md@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/micromark-extension-mdx-md/-/micromark-extension-mdx-md-1.0.0.tgz#382f5df9ee3706dd120b51782a211f31f4760d22" + integrity sha512-xaRAMoSkKdqZXDAoSgp20Azm0aRQKGOl0RrS81yGu8Hr/JhMsBmfs4wR7m9kgVUIO36cMUQjNyiyDKPrsv8gOw== + dependencies: + micromark-util-types "^1.0.0" + +micromark-extension-mdxjs-esm@^1.0.0: + version "1.0.3" + resolved "https://registry.yarnpkg.com/micromark-extension-mdxjs-esm/-/micromark-extension-mdxjs-esm-1.0.3.tgz#630d9dc9db2c2fd470cac8c1e7a824851267404d" + integrity sha512-2N13ol4KMoxb85rdDwTAC6uzs8lMX0zeqpcyx7FhS7PxXomOnLactu8WI8iBNXW8AVyea3KIJd/1CKnUmwrK9A== + dependencies: + micromark-core-commonmark "^1.0.0" + micromark-util-character "^1.0.0" + micromark-util-events-to-acorn "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.0" + unist-util-position-from-estree "^1.1.0" + uvu "^0.5.0" + vfile-message "^3.0.0" + +micromark-extension-mdxjs@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/micromark-extension-mdxjs/-/micromark-extension-mdxjs-1.0.0.tgz#772644e12fc8299a33e50f59c5aa15727f6689dd" + integrity sha512-TZZRZgeHvtgm+IhtgC2+uDMR7h8eTKF0QUX9YsgoL9+bADBpBY6SiLvWqnBlLbCEevITmTqmEuY3FoxMKVs1rQ== + dependencies: + acorn "^8.0.0" + acorn-jsx "^5.0.0" + micromark-extension-mdx-expression "^1.0.0" + micromark-extension-mdx-jsx "^1.0.0" + micromark-extension-mdx-md "^1.0.0" + micromark-extension-mdxjs-esm "^1.0.0" + micromark-util-combine-extensions "^1.0.0" + micromark-util-types "^1.0.0" + +micromark-factory-destination@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/micromark-factory-destination/-/micromark-factory-destination-1.0.0.tgz#fef1cb59ad4997c496f887b6977aa3034a5a277e" + integrity sha512-eUBA7Rs1/xtTVun9TmV3gjfPz2wEwgK5R5xcbIM5ZYAtvGF6JkyaDsj0agx8urXnO31tEO6Ug83iVH3tdedLnw== + dependencies: + micromark-util-character "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.0" + +micromark-factory-label@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/micromark-factory-label/-/micromark-factory-label-1.0.2.tgz#6be2551fa8d13542fcbbac478258fb7a20047137" + integrity sha512-CTIwxlOnU7dEshXDQ+dsr2n+yxpP0+fn271pu0bwDIS8uqfFcumXpj5mLn3hSC8iw2MUr6Gx8EcKng1dD7i6hg== + dependencies: + micromark-util-character "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.0" + uvu "^0.5.0" + +micromark-factory-mdx-expression@^1.0.0: + version "1.0.6" + resolved "https://registry.yarnpkg.com/micromark-factory-mdx-expression/-/micromark-factory-mdx-expression-1.0.6.tgz#917e17d16e6e9c2551f3a862e6a9ebdd22056476" + integrity sha512-WRQIc78FV7KrCfjsEf/sETopbYjElh3xAmNpLkd1ODPqxEngP42eVRGbiPEQWpRV27LzqW+XVTvQAMIIRLPnNA== + dependencies: + micromark-factory-space "^1.0.0" + micromark-util-character "^1.0.0" + micromark-util-events-to-acorn "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.0" + unist-util-position-from-estree "^1.0.0" + uvu "^0.5.0" + vfile-message "^3.0.0" + +micromark-factory-space@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/micromark-factory-space/-/micromark-factory-space-1.0.0.tgz#cebff49968f2b9616c0fcb239e96685cb9497633" + integrity sha512-qUmqs4kj9a5yBnk3JMLyjtWYN6Mzfcx8uJfi5XAveBniDevmZasdGBba5b4QsvRcAkmvGo5ACmSUmyGiKTLZew== + dependencies: + micromark-util-character "^1.0.0" + micromark-util-types "^1.0.0" + +micromark-factory-title@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/micromark-factory-title/-/micromark-factory-title-1.0.2.tgz#7e09287c3748ff1693930f176e1c4a328382494f" + integrity sha512-zily+Nr4yFqgMGRKLpTVsNl5L4PMu485fGFDOQJQBl2NFpjGte1e86zC0da93wf97jrc4+2G2GQudFMHn3IX+A== + dependencies: + micromark-factory-space "^1.0.0" + micromark-util-character "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.0" + uvu "^0.5.0" + +micromark-factory-whitespace@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/micromark-factory-whitespace/-/micromark-factory-whitespace-1.0.0.tgz#e991e043ad376c1ba52f4e49858ce0794678621c" + integrity sha512-Qx7uEyahU1lt1RnsECBiuEbfr9INjQTGa6Err+gF3g0Tx4YEviPbqqGKNv/NrBaE7dVHdn1bVZKM/n5I/Bak7A== + dependencies: + micromark-factory-space "^1.0.0" + micromark-util-character "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.0" + +micromark-util-character@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/micromark-util-character/-/micromark-util-character-1.1.0.tgz#d97c54d5742a0d9611a68ca0cd4124331f264d86" + integrity sha512-agJ5B3unGNJ9rJvADMJ5ZiYjBRyDpzKAOk01Kpi1TKhlT1APx3XZk6eN7RtSz1erbWHC2L8T3xLZ81wdtGRZzg== + dependencies: + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.0" + +micromark-util-chunked@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/micromark-util-chunked/-/micromark-util-chunked-1.0.0.tgz#5b40d83f3d53b84c4c6bce30ed4257e9a4c79d06" + integrity sha512-5e8xTis5tEZKgesfbQMKRCyzvffRRUX+lK/y+DvsMFdabAicPkkZV6gO+FEWi9RfuKKoxxPwNL+dFF0SMImc1g== + dependencies: + micromark-util-symbol "^1.0.0" + +micromark-util-classify-character@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/micromark-util-classify-character/-/micromark-util-classify-character-1.0.0.tgz#cbd7b447cb79ee6997dd274a46fc4eb806460a20" + integrity sha512-F8oW2KKrQRb3vS5ud5HIqBVkCqQi224Nm55o5wYLzY/9PwHGXC01tr3d7+TqHHz6zrKQ72Okwtvm/xQm6OVNZA== + dependencies: + micromark-util-character "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.0" + +micromark-util-combine-extensions@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/micromark-util-combine-extensions/-/micromark-util-combine-extensions-1.0.0.tgz#91418e1e74fb893e3628b8d496085639124ff3d5" + integrity sha512-J8H058vFBdo/6+AsjHp2NF7AJ02SZtWaVUjsayNFeAiydTxUwViQPxN0Hf8dp4FmCQi0UUFovFsEyRSUmFH3MA== + dependencies: + micromark-util-chunked "^1.0.0" + micromark-util-types "^1.0.0" + +micromark-util-decode-numeric-character-reference@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-1.0.0.tgz#dcc85f13b5bd93ff8d2868c3dba28039d490b946" + integrity sha512-OzO9AI5VUtrTD7KSdagf4MWgHMtET17Ua1fIpXTpuhclCqD8egFWo85GxSGvxgkGS74bEahvtM0WP0HjvV0e4w== + dependencies: + micromark-util-symbol "^1.0.0" + +micromark-util-decode-string@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/micromark-util-decode-string/-/micromark-util-decode-string-1.0.2.tgz#942252ab7a76dec2dbf089cc32505ee2bc3acf02" + integrity sha512-DLT5Ho02qr6QWVNYbRZ3RYOSSWWFuH3tJexd3dgN1odEuPNxCngTCXJum7+ViRAd9BbdxCvMToPOD/IvVhzG6Q== + dependencies: + decode-named-character-reference "^1.0.0" + micromark-util-character "^1.0.0" + micromark-util-decode-numeric-character-reference "^1.0.0" + micromark-util-symbol "^1.0.0" + +micromark-util-encode@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/micromark-util-encode/-/micromark-util-encode-1.0.1.tgz#2c1c22d3800870ad770ece5686ebca5920353383" + integrity sha512-U2s5YdnAYexjKDel31SVMPbfi+eF8y1U4pfiRW/Y8EFVCy/vgxk/2wWTxzcqE71LHtCuCzlBDRU2a5CQ5j+mQA== + +micromark-util-events-to-acorn@^1.0.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/micromark-util-events-to-acorn/-/micromark-util-events-to-acorn-1.2.0.tgz#65785cb77299d791bfefdc6a5213ab57ceead115" + integrity sha512-WWp3bf7xT9MppNuw3yPjpnOxa8cj5ACivEzXJKu0WwnjBYfzaBvIAT9KfeyI0Qkll+bfQtfftSwdgTH6QhTOKw== + dependencies: + "@types/acorn" "^4.0.0" + "@types/estree" "^1.0.0" + estree-util-visit "^1.0.0" + micromark-util-types "^1.0.0" + uvu "^0.5.0" + vfile-location "^4.0.0" + vfile-message "^3.0.0" + +micromark-util-html-tag-name@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/micromark-util-html-tag-name/-/micromark-util-html-tag-name-1.1.0.tgz#eb227118befd51f48858e879b7a419fc0df20497" + integrity sha512-BKlClMmYROy9UiV03SwNmckkjn8QHVaWkqoAqzivabvdGcwNGMMMH/5szAnywmsTBUzDsU57/mFi0sp4BQO6dA== + +micromark-util-normalize-identifier@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-1.0.0.tgz#4a3539cb8db954bbec5203952bfe8cedadae7828" + integrity sha512-yg+zrL14bBTFrQ7n35CmByWUTFsgst5JhA4gJYoty4Dqzj4Z4Fr/DHekSS5aLfH9bdlfnSvKAWsAgJhIbogyBg== + dependencies: + micromark-util-symbol "^1.0.0" + +micromark-util-resolve-all@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/micromark-util-resolve-all/-/micromark-util-resolve-all-1.0.0.tgz#a7c363f49a0162e931960c44f3127ab58f031d88" + integrity sha512-CB/AGk98u50k42kvgaMM94wzBqozSzDDaonKU7P7jwQIuH2RU0TeBqGYJz2WY1UdihhjweivStrJ2JdkdEmcfw== + dependencies: + micromark-util-types "^1.0.0" + +micromark-util-sanitize-uri@^1.0.0, micromark-util-sanitize-uri@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-1.1.0.tgz#f12e07a85106b902645e0364feb07cf253a85aee" + integrity sha512-RoxtuSCX6sUNtxhbmsEFQfWzs8VN7cTctmBPvYivo98xb/kDEoTCtJQX5wyzIYEmk/lvNFTat4hL8oW0KndFpg== + dependencies: + micromark-util-character "^1.0.0" + micromark-util-encode "^1.0.0" + micromark-util-symbol "^1.0.0" + +micromark-util-subtokenize@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/micromark-util-subtokenize/-/micromark-util-subtokenize-1.0.2.tgz#ff6f1af6ac836f8bfdbf9b02f40431760ad89105" + integrity sha512-d90uqCnXp/cy4G881Ub4psE57Sf8YD0pim9QdjCRNjfas2M1u6Lbt+XZK9gnHL2XFhnozZiEdCa9CNfXSfQ6xA== + dependencies: + micromark-util-chunked "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.0" + uvu "^0.5.0" + +micromark-util-symbol@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/micromark-util-symbol/-/micromark-util-symbol-1.0.1.tgz#b90344db62042ce454f351cf0bebcc0a6da4920e" + integrity sha512-oKDEMK2u5qqAptasDAwWDXq0tG9AssVwAx3E9bBF3t/shRIGsWIRG+cGafs2p/SnDSOecnt6hZPCE2o6lHfFmQ== + +micromark-util-types@^1.0.0, micromark-util-types@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/micromark-util-types/-/micromark-util-types-1.0.2.tgz#f4220fdb319205812f99c40f8c87a9be83eded20" + integrity sha512-DCfg/T8fcrhrRKTPjRrw/5LLvdGV7BHySf/1LOZx7TzWZdYRjogNtyNq885z3nNallwr3QUKARjqvHqX1/7t+w== + +micromark@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/micromark/-/micromark-3.1.0.tgz#eeba0fe0ac1c9aaef675157b52c166f125e89f62" + integrity sha512-6Mj0yHLdUZjHnOPgr5xfWIMqMWS12zDN6iws9SLuSz76W8jTtAv24MN4/CL7gJrl5vtxGInkkqDv/JIoRsQOvA== + dependencies: + "@types/debug" "^4.0.0" + debug "^4.0.0" + decode-named-character-reference "^1.0.0" + micromark-core-commonmark "^1.0.1" + micromark-factory-space "^1.0.0" + micromark-util-character "^1.0.0" + micromark-util-chunked "^1.0.0" + micromark-util-combine-extensions "^1.0.0" + micromark-util-decode-numeric-character-reference "^1.0.0" + micromark-util-encode "^1.0.0" + micromark-util-normalize-identifier "^1.0.0" + micromark-util-resolve-all "^1.0.0" + micromark-util-sanitize-uri "^1.0.0" + micromark-util-subtokenize "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.1" + uvu "^0.5.0" + +micromatch@^3.1.10: version "3.1.10" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" integrity sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg== @@ -7020,20 +7325,12 @@ micromatch@^4.0.2, micromatch@^4.0.4: braces "^3.0.2" picomatch "^2.3.1" -miller-rabin@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d" - integrity sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA== - dependencies: - bn.js "^4.0.0" - brorand "^1.0.1" - mime-db@1.52.0, "mime-db@>= 1.43.0 < 2": version "1.52.0" resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== -mime-types@^2.1.12, mime-types@^2.1.27, mime-types@^2.1.30, mime-types@^2.1.31, mime-types@~2.1.17, mime-types@~2.1.24, mime-types@~2.1.34: +mime-types@^2.1.12, mime-types@^2.1.25, mime-types@^2.1.27, mime-types@^2.1.31, mime-types@~2.1.17, mime-types@~2.1.24, mime-types@~2.1.34: version "2.1.35" resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== @@ -7045,7 +7342,7 @@ mime@1.6.0: resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== -mime@^2.4.4: +mime@^2.0.3: version "2.6.0" resolved "https://registry.yarnpkg.com/mime/-/mime-2.6.0.tgz#a2a682a95cd4d0cb1d6257e28f83da7e35800367" integrity sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg== @@ -7055,10 +7352,15 @@ mimic-fn@^2.1.0: resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== -mimic-fn@^3.1.0: +mimic-response@^3.1.0: version "3.1.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-3.1.0.tgz#65755145bbf3e36954b949c16450427451d5ca74" - integrity sha512-Ysbi9uYW9hFyfrThdDEQuykN4Ey6BuwPD2kpI5ES/nFTDn/98yxYNLZJcgUAKPT/mcrLLKaGzJR9YVxJrIdASQ== + resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9" + integrity sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ== + +mimic-response@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-4.0.0.tgz#35468b19e7c75d10f5165ea25e75a5ceea7cf70f" + integrity sha512-e5ISH9xMYU0DzrT+jl8q2ze9D6eWBto+I8CNpe+VI+K2J/F/k3PdkdTdz4wvGVH4NTpo+NRYTVIuMQEMMcsLqg== min-document@^2.19.0: version "2.19.0" @@ -7072,16 +7374,11 @@ min-indent@^1.0.0: resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg== -minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: +minimalistic-assert@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== -minimalistic-crypto-utils@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" - integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== - minimatch@^3.0.2, minimatch@^3.0.4, minimatch@^3.1.1: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" @@ -7089,62 +7386,17 @@ minimatch@^3.0.2, minimatch@^3.0.4, minimatch@^3.1.1: dependencies: brace-expansion "^1.1.7" -minimist@^1.1.3, minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6: - version "1.2.6" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44" - integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== - -minipass-collect@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/minipass-collect/-/minipass-collect-1.0.2.tgz#22b813bf745dc6edba2576b940022ad6edc8c617" - integrity sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA== +minimatch@^5.0.1: + version "5.1.0" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.0.tgz#1717b464f4971b144f6aabe8f2d0b8e4511e09c7" + integrity sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg== dependencies: - minipass "^3.0.0" + brace-expansion "^2.0.1" -minipass-flush@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/minipass-flush/-/minipass-flush-1.0.5.tgz#82e7135d7e89a50ffe64610a787953c4c4cbb373" - integrity sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw== - dependencies: - minipass "^3.0.0" - -minipass-pipeline@^1.2.2: - version "1.2.4" - resolved "https://registry.yarnpkg.com/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz#68472f79711c084657c067c5c6ad93cddea8214c" - integrity sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A== - dependencies: - minipass "^3.0.0" - -minipass@^3.0.0, minipass@^3.1.1: - version "3.3.3" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.3.3.tgz#fd1f0e6c06449c10dadda72618b59c00f3d6378d" - integrity sha512-N0BOsdFAlNRfmwMhjAsLVWOk7Ljmeb39iqFlsV1At+jqRhSUP9yeof8FyJu4imaJiSUp8vQebWD/guZwGQC8iA== - dependencies: - yallist "^4.0.0" - -minizlib@^2.1.1: - version "2.1.2" - resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931" - integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg== - dependencies: - minipass "^3.0.0" - yallist "^4.0.0" - -mississippi@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/mississippi/-/mississippi-3.0.0.tgz#ea0a3291f97e0b5e8776b363d5f0a12d94c67022" - integrity sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA== - dependencies: - concat-stream "^1.5.0" - duplexify "^3.4.2" - end-of-stream "^1.1.0" - flush-write-stream "^1.0.0" - from2 "^2.1.0" - parallel-transform "^1.1.0" - pump "^3.0.0" - pumpify "^1.3.3" - stream-each "^1.1.0" - through2 "^2.0.0" +minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6: + version "1.2.7" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.7.tgz#daa1c4d91f507390437c6a8bc01078e7000c4d18" + integrity sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g== mixin-deep@^1.2.0: version "1.3.2" @@ -7154,29 +7406,17 @@ mixin-deep@^1.2.0: for-in "^1.0.2" is-extendable "^1.0.1" -mkdirp@^0.5.1, mkdirp@^0.5.3: +mkdirp@^0.5.4: version "0.5.6" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.6.tgz#7def03d2432dcae4ba1d611445c48396062255f6" integrity sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw== dependencies: minimist "^1.2.6" -mkdirp@^1.0.3, mkdirp@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" - integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== - -move-concurrently@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/move-concurrently/-/move-concurrently-1.0.1.tgz#be2c005fda32e0b29af1f05d7c4b33214c701f92" - integrity sha512-hdrFxZOycD/g6A6SoI2bB5NA/5NEqD0569+S47WZhPvm46sD50ZHdYaFmnua5lndde9rCHGjmfK7Z8BuCt/PcQ== - dependencies: - aproba "^1.1.1" - copy-concurrently "^1.0.0" - fs-write-stream-atomic "^1.0.8" - mkdirp "^0.5.1" - rimraf "^2.5.4" - run-queue "^1.0.3" +mri@^1.1.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/mri/-/mri-1.2.0.tgz#6721480fec2a11a4889861115a48b6cbe7cc8f0b" + integrity sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA== ms@2.0.0: version "2.0.0" @@ -7193,7 +7433,7 @@ ms@2.1.2: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -ms@2.1.3, ms@^2.1.1: +ms@2.1.3: version "2.1.3" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== @@ -7206,11 +7446,6 @@ multicast-dns@^7.2.5: dns-packet "^5.2.2" thunky "^1.0.2" -nan@^2.12.1: - version "2.16.0" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.16.0.tgz#664f43e45460fb98faf00edca0bb0d7b8dce7916" - integrity sha512-UdAqHyFngu7TfQKsCBgAA6pWDkT8MAO7d0jyOecVhN5354xbLqdn8mV9Tat9gepAupm0bt2DbeaSC8vS52MuFA== - nanoid@^3.3.1, nanoid@^3.3.4: version "3.3.4" resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab" @@ -7243,11 +7478,6 @@ neo-async@^2.5.0, neo-async@^2.6.0, neo-async@^2.6.1, neo-async@^2.6.2: resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== -nested-error-stacks@^2.0.0, nested-error-stacks@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/nested-error-stacks/-/nested-error-stacks-2.1.1.tgz#26c8a3cee6cc05fbcf1e333cd2fc3e003326c0b5" - integrity sha512-9iN1ka/9zmX1ZvLV9ewJYEk9h7RyRRtqdK0woXcqohu8EWIerfPUjYJPg0ULy0UqP7cslmdGc8xKDJcojlKiaw== - no-case@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/no-case/-/no-case-3.0.4.tgz#d361fd5c9800f558551a8369fc0dcd4662b6124d" @@ -7256,7 +7486,12 @@ no-case@^3.0.4: lower-case "^2.0.2" tslib "^2.0.3" -node-dir@^0.1.10: +node-abort-controller@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/node-abort-controller/-/node-abort-controller-3.0.1.tgz#f91fa50b1dee3f909afabb7e261b1e1d6b0cb74e" + integrity sha512-/ujIVxthRs+7q6hsdjHMaj8hRG9NuWmwrz+JdRwZ14jdFoKSkm+vDsCbF9PLpnSqjaWQJuTmVtcWHNLr+vrOFw== + +node-dir@^0.1.10, node-dir@^0.1.17: version "0.1.17" resolved "https://registry.yarnpkg.com/node-dir/-/node-dir-0.1.17.tgz#5f5665d93351335caabef8f1c554516cf5f1e4e5" integrity sha512-tmPX422rYgofd4epzrNoOXiE8XFZYOcCq1vD7MAXCDO+O+zndlA2ztdKKMa+EeuBG5tHETpr4ml4RGgpqDCCAg== @@ -7275,41 +7510,17 @@ node-forge@^1: resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-1.3.1.tgz#be8da2af243b2417d5f646a770663a92b7e9ded3" integrity sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA== -node-libs-browser@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-2.2.1.tgz#b64f513d18338625f90346d27b0d235e631f6425" - integrity sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q== - dependencies: - assert "^1.1.1" - browserify-zlib "^0.2.0" - buffer "^4.3.0" - console-browserify "^1.1.0" - constants-browserify "^1.0.0" - crypto-browserify "^3.11.0" - domain-browser "^1.1.1" - events "^3.0.0" - https-browserify "^1.0.0" - os-browserify "^0.3.0" - path-browserify "0.0.1" - process "^0.11.10" - punycode "^1.2.4" - querystring-es3 "^0.2.0" - readable-stream "^2.3.3" - stream-browserify "^2.0.1" - stream-http "^2.7.2" - string_decoder "^1.0.0" - timers-browserify "^2.0.4" - tty-browserify "0.0.0" - url "^0.11.0" - util "^0.11.0" - vm-browserify "^1.0.1" +node-int64@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" + integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== -node-releases@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.5.tgz#280ed5bc3eba0d96ce44897d8aee478bfb3d9666" - integrity sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q== +node-releases@^2.0.6: + version "2.0.6" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.6.tgz#8a7088c63a55e493845683ebf3c828d8c51c5503" + integrity sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg== -normalize-package-data@^2.3.2, normalize-package-data@^2.3.4, normalize-package-data@^2.5.0: +normalize-package-data@^2.5.0: version "2.5.0" resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" integrity sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA== @@ -7319,22 +7530,15 @@ normalize-package-data@^2.3.2, normalize-package-data@^2.3.4, normalize-package- semver "2 || 3 || 4 || 5" validate-npm-package-license "^3.0.1" -normalize-path@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" - integrity sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w== - dependencies: - remove-trailing-separator "^1.0.1" - normalize-path@^3.0.0, normalize-path@~3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== -normalize-range@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942" - integrity sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA== +normalize-url@^7.2.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-7.2.0.tgz#5317f78cff95f5fa1e76cc0b5e33245c43781e11" + integrity sha512-uhXOdZry0L6M2UIo9BTt7FdpBDiAGN/7oItedQwPKh8jh31ZlvC8U9Xl/EJ3aijDHaywXTW3QbZ6LuCocur1YA== npm-run-path@^4.0.1: version "4.0.1" @@ -7360,15 +7564,10 @@ nth-check@^2.0.1: dependencies: boolbase "^1.0.0" -num2fraction@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/num2fraction/-/num2fraction-1.2.2.tgz#6f682b6a027a4e9ddfa4564cd2589d1d4e669ede" - integrity sha512-Y1wZESM7VUThYY+4W+X4ySH2maqcA+p7UR+w8VWNWVAd6lwuXXWz/w/Cz43J/dI2I+PS6wD5N+bJUF+gjWvIqg== - nwsapi@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.0.tgz#204879a9e3d068ff2a55139c2c772780681a38b7" - integrity sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ== + version "2.2.2" + resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.2.tgz#e5418863e7905df67d51ec95938d67bf801f0bb0" + integrity sha512-90yv+6538zuvUMnN+zCr8LuV6bPFdq50304114vJYJ8RDyK8D5O9Phpbd6SZWgI7PwzmmfN1upeOJlvybDSgCw== object-assign@^4.0.1, object-assign@^4.1.1: version "4.1.1" @@ -7384,11 +7583,19 @@ object-copy@^0.1.0: define-property "^0.2.5" kind-of "^3.0.3" -object-inspect@^1.12.0, object-inspect@^1.9.0: +object-inspect@^1.9.0: version "1.12.2" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.2.tgz#c0641f26394532f28ab8d796ab954e43c009a8ea" integrity sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ== +object-is@^1.1.5: + version "1.1.5" + resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.1.5.tgz#b9deeaa5fc7f1846a0faecdceec138e5778f53ac" + integrity sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + object-keys@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" @@ -7401,43 +7608,15 @@ object-visit@^1.0.0: dependencies: isobject "^3.0.0" -object.assign@^4.1.0, object.assign@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.2.tgz#0ed54a342eceb37b38ff76eb831a0e788cb63940" - integrity sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ== +object.assign@^4.1.4: + version "4.1.4" + resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.4.tgz#9673c7c7c351ab8c4d0b516f4343ebf4dfb7799f" + integrity sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ== dependencies: - call-bind "^1.0.0" - define-properties "^1.1.3" - has-symbols "^1.0.1" - object-keys "^1.1.1" - -object.entries@^1.1.0: - version "1.1.5" - resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.5.tgz#e1acdd17c4de2cd96d5a08487cfb9db84d881861" - integrity sha512-TyxmjUoZggd4OrrU1W66FMDG6CuqJxsFvymeyXI51+vQLN67zYfZseptRge703kKQdo4uccgAKebXFcRCzk4+g== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.1" - -"object.fromentries@^2.0.0 || ^1.0.0": - version "2.0.5" - resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.5.tgz#7b37b205109c21e741e605727fe8b0ad5fa08251" - integrity sha512-CAyG5mWQRRiBU57Re4FKoTBjXfDoNwdFVH2Y1tS9PqCsfUTymAohOkEMSG3aRNKmv4lV3O7p1et7c187q6bynw== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.1" - -object.getownpropertydescriptors@^2.0.3, object.getownpropertydescriptors@^2.1.2: - version "2.1.4" - resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.4.tgz#7965e6437a57278b587383831a9b829455a4bc37" - integrity sha512-sccv3L/pMModT6dJAYF3fzGMVcb38ysQ0tEE6ixv2yXJDtEIPph268OlAdJj5/qZMZDq2g/jqvwppt36uS/uQQ== - dependencies: - array.prototype.reduce "^1.0.4" call-bind "^1.0.2" define-properties "^1.1.4" - es-abstract "^1.20.1" + has-symbols "^1.0.3" + object-keys "^1.1.1" object.pick@^1.3.0: version "1.3.0" @@ -7446,15 +7625,6 @@ object.pick@^1.3.0: dependencies: isobject "^3.0.1" -object.values@^1.1.0: - version "1.1.5" - resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.5.tgz#959f63e3ce9ef108720333082131e4a459b716ac" - integrity sha512-QUZRW0ilQ3PnPpbNtgdNV1PDbEqLIiSFB3l+EnGtBQ/8SUTLj1PZwtQHABZtLgwpJZTSZhuGLOGk57Drx2IvYg== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.1" - objectorarray@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/objectorarray/-/objectorarray-1.0.5.tgz#2c05248bbefabd8f43ad13b41085951aac5e68a5" @@ -7477,7 +7647,7 @@ on-headers@~1.0.2: resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.2.tgz#772b0ae6aaa525c399e489adfad90c403eb3c28f" integrity sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA== -once@^1.3.0, once@^1.3.1, once@^1.4.0: +once@^1.3.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== @@ -7520,46 +7690,10 @@ optionator@^0.8.1: type-check "~0.3.2" word-wrap "~1.2.3" -os-browserify@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.3.0.tgz#854373c7f5c2315914fc9bfc6bd8238fdda1ec27" - integrity sha512-gjcpUc3clBf9+210TRaDWbf+rZZZEshZ+DlXMRCeAjp0xhTrnQsKHypIy1J3d5hKdUzj69t708EHtU8P6bUn0A== - -os-homedir@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" - integrity sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ== - -p-all@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/p-all/-/p-all-2.1.0.tgz#91419be56b7dee8fe4c5db875d55e0da084244a0" - integrity sha512-HbZxz5FONzz/z2gJfk6bFca0BCiSRF8jU3yCsWOen/vR6lZjfPOu/e7L3uFzTW1i0H8TlC3vqQstEJPQL4/uLA== - dependencies: - p-map "^2.0.0" - -p-defer@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c" - integrity sha512-wB3wfAxZpk2AzOfUMJNL+d36xothRSyj8EXOa4f6GMqYDN9BJaaSISbsk+wS9abmnebVw95C2Kb5t85UmpCxuw== - -p-event@^4.1.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/p-event/-/p-event-4.2.0.tgz#af4b049c8acd91ae81083ebd1e6f5cae2044c1b5" - integrity sha512-KXatOjCRXXkSePPb1Nbi0p0m+gQAwdlbhi4wQKJPI1HsMQS9g+Sqp2o+QHziPr7eYJyOZet836KoHEVM1mwOrQ== - dependencies: - p-timeout "^3.1.0" - -p-filter@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/p-filter/-/p-filter-2.1.0.tgz#1b1472562ae7a0f742f0f3d3d3718ea66ff9c09c" - integrity sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw== - dependencies: - p-map "^2.0.0" - -p-finally@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" - integrity sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow== +p-cancelable@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-3.0.0.tgz#63826694b54d61ca1c20ebcb6d3ecf5e14cd8050" + integrity sha512-mlVgR3PGuzlo0MmTdk4cXqXWlwQDLnONTAg6sm62XkMJEiRxN3GL3SffkYvqwonbkJBcrI7Uvv5Zh9yjvn2iUw== p-limit@^2.0.0, p-limit@^2.2.0: version "2.3.0" @@ -7601,20 +7735,6 @@ p-map@^2.0.0: resolved "https://registry.yarnpkg.com/p-map/-/p-map-2.1.0.tgz#310928feef9c9ecc65b68b17693018a665cea175" integrity sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw== -p-map@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/p-map/-/p-map-3.0.0.tgz#d704d9af8a2ba684e2600d9a215983d4141a979d" - integrity sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ== - dependencies: - aggregate-error "^3.0.0" - -p-map@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" - integrity sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== - dependencies: - aggregate-error "^3.0.0" - p-retry@^4.5.0: version "4.6.2" resolved "https://registry.yarnpkg.com/p-retry/-/p-retry-4.6.2.tgz#9baae7184057edd4e17231cee04264106e092a16" @@ -7623,33 +7743,22 @@ p-retry@^4.5.0: "@types/retry" "0.12.0" retry "^0.13.1" -p-timeout@^3.1.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/p-timeout/-/p-timeout-3.2.0.tgz#c7e17abc971d2a7962ef83626b35d635acf23dfe" - integrity sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg== - dependencies: - p-finally "^1.0.0" - p-try@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== -pako@~1.0.5: - version "1.0.11" - resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" - integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== - -parallel-transform@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/parallel-transform/-/parallel-transform-1.2.0.tgz#9049ca37d6cb2182c3b1d2c720be94d14a5814fc" - integrity sha512-P2vSmIu38uIlvdcU7fDkyrxj33gTUy/ABO5ZUbGowxNCopBq/OoD42bP4UmMrJoPyk4Uqf0mu3mtWBhHCZD8yg== +package-json@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/package-json/-/package-json-8.1.0.tgz#2a22806f1ed7c786c8e6ff26cfe20003bf4c6850" + integrity sha512-hySwcV8RAWeAfPsXb9/HGSPn8lwDnv6fabH+obUZKX169QknRkRhPxd1yMubpKDskLFATkl3jHpNtVtDPFA0Wg== dependencies: - cyclist "^1.0.1" - inherits "^2.0.3" - readable-stream "^2.1.5" + got "^12.1.0" + registry-auth-token "^5.0.1" + registry-url "^6.0.0" + semver "^7.3.7" -param-case@^3.0.3, param-case@^3.0.4: +param-case@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/param-case/-/param-case-3.0.4.tgz#7d17fe4aa12bde34d4a77d91acfb6219caad01c5" integrity sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A== @@ -7664,17 +7773,6 @@ parent-module@^1.0.0: dependencies: callsites "^3.0.0" -parse-asn1@^5.0.0, parse-asn1@^5.1.5: - version "5.1.6" - resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.6.tgz#385080a3ec13cb62a62d39409cb3e88844cdaed4" - integrity sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw== - dependencies: - asn1.js "^5.2.0" - browserify-aes "^1.0.0" - evp_bytestokey "^1.0.0" - pbkdf2 "^3.0.3" - safe-buffer "^5.1.1" - parse-entities@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/parse-entities/-/parse-entities-2.0.0.tgz#53c6eb5b9314a1f4ec99fa0fdf7ce01ecda0cbe8" @@ -7687,12 +7785,19 @@ parse-entities@^2.0.0: is-decimal "^1.0.0" is-hexadecimal "^1.0.0" -parse-json@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" - integrity sha512-QR/GGaKCkhwk1ePQNYDRKYZ3mwU9ypsKhB0XyFnLQdomyEqk3e8wpW3V5Jp88zbxK4n5ST1nqo+g9juTpownhQ== +parse-entities@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/parse-entities/-/parse-entities-4.0.0.tgz#f67c856d4e3fe19b1a445c3fabe78dcdc1053eeb" + integrity sha512-5nk9Fn03x3rEhGaX1FU6IDwG/k+GxLXlFAkgrbM1asuAFl3BhdQWvASaIsmwWypRNcZKHPYnIuOSfIWEyEQnPQ== dependencies: - error-ex "^1.2.0" + "@types/unist" "^2.0.0" + character-entities "^2.0.0" + character-entities-legacy "^3.0.0" + character-reference-invalid "^2.0.0" + decode-named-character-reference "^1.0.0" + is-alphanumerical "^2.0.0" + is-decimal "^2.0.0" + is-hexadecimal "^2.0.0" parse-json@^5.0.0: version "5.2.0" @@ -7704,7 +7809,7 @@ parse-json@^5.0.0: json-parse-even-better-errors "^2.3.0" lines-and-columns "^1.1.6" -parse5@6.0.1, parse5@^6.0.0: +parse5@6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/parse5/-/parse5-6.0.1.tgz#e1a1c085c569b3dc08321184f19a39cc27f7c30b" integrity sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw== @@ -7727,28 +7832,11 @@ pascalcase@^0.1.1: resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" integrity sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw== -path-browserify@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.1.tgz#e6c4ddd7ed3aa27c68a20cc4e50e1a4ee83bbc4a" - integrity sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ== - path-browserify@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-1.0.1.tgz#d98454a9c3753d5790860f16f68867b9e46be1fd" integrity sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g== -path-dirname@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/path-dirname/-/path-dirname-1.0.2.tgz#cc33d24d525e099a5388c0336c6e32b9160609e0" - integrity sha512-ALzNPpyNq9AqXMBjeymIjFDAkAFH06mHJH/cSBHAgU0s4vfpBn6b2nf8tiRLvagKD8RbTpq2FKTBg7cl9l3c7Q== - -path-exists@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-2.1.0.tgz#0feb6c64f0fc518d9a754dd5efb62c7022761f4b" - integrity sha512-yTltuKuhtNeFJKa1PiRzfLAU5182q1y4Eb4XCJ3PBqyzEDkAZRzBrKKBct682ls9reBVHf9udYLN5Nd+K1B9BQ== - dependencies: - pinkie-promise "^2.0.0" - path-exists@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" @@ -7784,49 +7872,30 @@ path-to-regexp@0.1.7: resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" integrity sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ== -path-type@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441" - integrity sha512-S4eENJz1pkiQn9Znv33Q+deTOKmbl+jj1Fl+qiP/vYezj+S8x+J3Uo0ISrx/QoEvIlOaDWJhPaRd1flJ9HXZqg== - dependencies: - graceful-fs "^4.1.2" - pify "^2.0.0" - pinkie-promise "^2.0.0" - -path-type@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f" - integrity sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg== - dependencies: - pify "^3.0.0" - path-type@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== -pbkdf2@^3.0.3: - version "3.1.2" - resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" - integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== - dependencies: - create-hash "^1.1.2" - create-hmac "^1.1.4" - ripemd160 "^2.0.1" - safe-buffer "^5.0.1" - sha.js "^2.4.8" +pend@~1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50" + integrity sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg== -picocolors@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-0.2.1.tgz#570670f793646851d1ba135996962abad587859f" - integrity sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA== +periscopic@^3.0.0: + version "3.0.4" + resolved "https://registry.yarnpkg.com/periscopic/-/periscopic-3.0.4.tgz#b3fbed0d1bc844976b977173ca2cd4a0ef4fa8d1" + integrity sha512-SFx68DxCv0Iyo6APZuw/AKewkkThGwssmU0QWtTlvov3VAtPX+QJ4CadwSaz8nrT5jPIuxdvJWB4PnD2KNDxQg== + dependencies: + estree-walker "^3.0.0" + is-reference "^3.0.0" picocolors@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== -picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.0, picomatch@^2.3.1: +picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.0, picomatch@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== @@ -7836,11 +7905,6 @@ pify@^2.0.0: resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" integrity sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog== -pify@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" - integrity sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg== - pify@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231" @@ -7858,7 +7922,7 @@ pinkie@^2.0.0: resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" integrity sha512-MnUuEycAemtSaeFSjXKW/aroV7akBbY+Sv+RkyqFjgAe73F+MR0TBWKBRDkmfWq/HiFmdavfZ1G7h4SPZXaCSg== -pirates@^4.0.5: +pirates@^4.0.4, pirates@^4.0.5: version "4.0.5" resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.5.tgz#feec352ea5c3268fb23a37c702ab1699f35a5f3b" integrity sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ== @@ -7884,12 +7948,12 @@ pkg-dir@^5.0.0: dependencies: find-up "^5.0.0" -pnp-webpack-plugin@1.6.4: - version "1.6.4" - resolved "https://registry.yarnpkg.com/pnp-webpack-plugin/-/pnp-webpack-plugin-1.6.4.tgz#c9711ac4dc48a685dabafc86f8b6dd9f8df84149" - integrity sha512-7Wjy+9E3WwLOEL30D+m8TSTF7qJJUJLONBnwQp0518siuMxUQUbgZwssaFX+QKlZkjHZcw/IpZCt/H0srrntSg== +polished@^4.2.2: + version "4.2.2" + resolved "https://registry.yarnpkg.com/polished/-/polished-4.2.2.tgz#2529bb7c3198945373c52e34618c8fe7b1aa84d1" + integrity sha512-Sz2Lkdxz6F2Pgnpi9U5Ng/WdWAUZxmHrNPoVlm3aAemxoy2Qy7LGjQg4uf8qKelDAUW94F4np3iH2YPf2qefcQ== dependencies: - ts-pnp "^1.1.6" + "@babel/runtime" "^7.17.8" popmotion@11.0.3: version "11.0.3" @@ -7906,46 +7970,11 @@ posix-character-classes@^0.1.0: resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" integrity sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg== -postcss-flexbugs-fixes@^4.2.1: - version "4.2.1" - resolved "https://registry.yarnpkg.com/postcss-flexbugs-fixes/-/postcss-flexbugs-fixes-4.2.1.tgz#9218a65249f30897deab1033aced8578562a6690" - integrity sha512-9SiofaZ9CWpQWxOwRh1b/r85KD5y7GgvsNt1056k6OYLvWUun0czCvogfJgylC22uJTwW1KzY3Gz65NZRlvoiQ== - dependencies: - postcss "^7.0.26" - -postcss-loader@^4.2.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/postcss-loader/-/postcss-loader-4.3.0.tgz#2c4de9657cd4f07af5ab42bd60a673004da1b8cc" - integrity sha512-M/dSoIiNDOo8Rk0mUqoj4kpGq91gcxCfb9PoyZVdZ76/AuhxylHDYZblNE8o+EQ9AMSASeMFEKxZf5aU6wlx1Q== - dependencies: - cosmiconfig "^7.0.0" - klona "^2.0.4" - loader-utils "^2.0.0" - schema-utils "^3.0.0" - semver "^7.3.4" - -postcss-modules-extract-imports@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-2.0.0.tgz#818719a1ae1da325f9832446b01136eeb493cd7e" - integrity sha512-LaYLDNS4SG8Q5WAWqIJgdHPJrDDr/Lv775rMBFUbgjTz6j34lUznACHcdRWroPvXANP2Vj7yNK57vp9eFqzLWQ== - dependencies: - postcss "^7.0.5" - postcss-modules-extract-imports@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz#cda1f047c0ae80c97dbe28c3e76a43b88025741d" integrity sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw== -postcss-modules-local-by-default@^3.0.2: - version "3.0.3" - resolved "https://registry.yarnpkg.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-3.0.3.tgz#bb14e0cc78279d504dbdcbfd7e0ca28993ffbbb0" - integrity sha512-e3xDq+LotiGesympRlKNgaJ0PCzoUIdpH0dj47iWAui/kyTgh3CiAr1qP54uodmJhl6p9rN6BoNcdEDVJx9RDw== - dependencies: - icss-utils "^4.1.1" - postcss "^7.0.32" - postcss-selector-parser "^6.0.2" - postcss-value-parser "^4.1.0" - postcss-modules-local-by-default@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.0.tgz#ebbb54fae1598eecfdf691a02b3ff3b390a5a51c" @@ -7955,14 +7984,6 @@ postcss-modules-local-by-default@^4.0.0: postcss-selector-parser "^6.0.2" postcss-value-parser "^4.1.0" -postcss-modules-scope@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-2.2.0.tgz#385cae013cc7743f5a7d7602d1073a89eaae62ee" - integrity sha512-YyEgsTMRpNd+HmyC7H/mh3y+MeFWevy7V1evVhJWewmMbjDHIbZbOXICC2y+m1xI1UVfIT1HMW/O04Hxyu9oXQ== - dependencies: - postcss "^7.0.6" - postcss-selector-parser "^6.0.0" - postcss-modules-scope@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-3.0.0.tgz#9ef3151456d3bbfa120ca44898dfca6f2fa01f06" @@ -7970,14 +7991,6 @@ postcss-modules-scope@^3.0.0: dependencies: postcss-selector-parser "^6.0.4" -postcss-modules-values@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/postcss-modules-values/-/postcss-modules-values-3.0.0.tgz#5b5000d6ebae29b4255301b4a3a54574423e7f10" - integrity sha512-1//E5jCBrZ9DmRX+zCtmQtRSV6PV42Ix7Bzj9GbwJceduuf7IqP8MgeTXuRDHOWj2m0VzZD5+roFWDuU8RQjcg== - dependencies: - icss-utils "^4.0.0" - postcss "^7.0.6" - postcss-modules-values@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz#d7c5e7e68c3bb3c9b27cbf48ca0bb3ffb4602c9c" @@ -7985,7 +7998,7 @@ postcss-modules-values@^4.0.0: dependencies: icss-utils "^5.0.0" -postcss-selector-parser@^6.0.0, postcss-selector-parser@^6.0.2, postcss-selector-parser@^6.0.4: +postcss-selector-parser@^6.0.2, postcss-selector-parser@^6.0.4: version "6.0.10" resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.10.tgz#79b61e2c0d1bfc2602d549e11d0876256f8df88d" integrity sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w== @@ -7993,23 +8006,15 @@ postcss-selector-parser@^6.0.0, postcss-selector-parser@^6.0.2, postcss-selector cssesc "^3.0.0" util-deprecate "^1.0.2" -postcss-value-parser@^4.1.0: +postcss-value-parser@^4.1.0, postcss-value-parser@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== -postcss@^7.0.14, postcss@^7.0.26, postcss@^7.0.32, postcss@^7.0.36, postcss@^7.0.5, postcss@^7.0.6: - version "7.0.39" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.39.tgz#9624375d965630e2e1f2c02a935c82a59cb48309" - integrity sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA== - dependencies: - picocolors "^0.2.1" - source-map "^0.6.1" - -postcss@^8.2.15: - version "8.4.14" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.14.tgz#ee9274d5622b4858c1007a74d76e42e56fd21caf" - integrity sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig== +postcss@^8.4.18: + version "8.4.19" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.19.tgz#61178e2add236b17351897c8bcc0b4c8ecab56fc" + integrity sha512-h+pbPsyhlYj6N2ozBmHhHrs9DzGmbaarbLvWipMRO7RLS+v4onj26MPFXA5OBYFxyqYhUJK456SwDcY9H2/zsA== dependencies: nanoid "^3.3.4" picocolors "^1.0.0" @@ -8020,18 +8025,10 @@ prelude-ls@~1.1.2: resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" integrity sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w== -"prettier@>=2.2.1 <=2.3.0": - version "2.3.0" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.0.tgz#b6a5bf1284026ae640f17f7ff5658a7567fc0d18" - integrity sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w== - -pretty-error@^2.1.1: - version "2.1.2" - resolved "https://registry.yarnpkg.com/pretty-error/-/pretty-error-2.1.2.tgz#be89f82d81b1c86ec8fdfbc385045882727f93b6" - integrity sha512-EY5oDzmsX5wvuynAByrmY0P0hcp+QpnAKbJng2A2MPjVKXCxrDSUkzghVJ4ZGPIv+JC4gX8fPUWscC0RtjsWGw== - dependencies: - lodash "^4.17.20" - renderkid "^2.0.4" +"prettier@>=2.2.1 <=3.0.0": + version "2.7.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64" + integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g== pretty-error@^4.0.0: version "4.0.0" @@ -8056,15 +8053,20 @@ pretty-hrtime@^1.0.3: integrity sha512-66hKPCr+72mlfiSjlEB1+45IjXSqvVAIy6mocupoww4tBFE9R9IhwwUGoI4G++Tc9Aq+2rxOt0RFU6gPcrte0A== prismjs@^1.27.0: - version "1.28.0" - resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.28.0.tgz#0d8f561fa0f7cf6ebca901747828b149147044b6" - integrity sha512-8aaXdYvl1F7iC7Xm1spqSaY/OJBpYW3v+KJ+F17iYxvdc8sfjW194COK5wVhMZX45tGteiBQgdvD/nhxcRwylw== + version "1.29.0" + resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.29.0.tgz#f113555a8fa9b57c35e637bba27509dcf802dd12" + integrity sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q== prismjs@~1.27.0: version "1.27.0" resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.27.0.tgz#bb6ee3138a0b438a3653dd4d6ce0cc6510a45057" integrity sha512-t13BGPUlFDR7wRB5kQDG4jjl7XeuH6jbJGt11JHPL96qwsEHNX2+68tFXqc1/k+/jALsbSWJKUOT/hcYAZ5LkA== +private@^0.1.8: + version "0.1.8" + resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff" + integrity sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg== + process-nextick-args@~2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" @@ -8075,31 +8077,10 @@ process@^0.11.10: resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" integrity sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A== -promise-inflight@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" - integrity sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g== - -promise.allsettled@^1.0.0: - version "1.0.5" - resolved "https://registry.yarnpkg.com/promise.allsettled/-/promise.allsettled-1.0.5.tgz#2443f3d4b2aa8dfa560f6ac2aa6c4ea999d75f53" - integrity sha512-tVDqeZPoBC0SlzJHzWGZ2NKAguVq2oiYj7gbggbiTvH2itHohijTp7njOUA0aQ/nl+0lr/r6egmhoYu63UZ/pQ== - dependencies: - array.prototype.map "^1.0.4" - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.1" - get-intrinsic "^1.1.1" - iterate-value "^1.0.2" - -promise.prototype.finally@^3.1.0: - version "3.1.3" - resolved "https://registry.yarnpkg.com/promise.prototype.finally/-/promise.prototype.finally-3.1.3.tgz#d3186e58fcf4df1682a150f934ccc27b7893389c" - integrity sha512-EXRF3fC9/0gz4qkt/f5EP5iW4kj9oFpBICNpCNOb/52+8nlHIX07FPLbi/q4qYBQ1xZqivMzTpNQSnArVASolQ== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.1" +progress@^2.0.1: + version "2.0.3" + resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" + integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== prompts@^2.4.0: version "2.4.2" @@ -8118,13 +8099,23 @@ prop-types@^15.7.2: object-assign "^4.1.1" react-is "^16.13.1" -property-information@^5.0.0, property-information@^5.3.0: +property-information@^5.0.0: version "5.6.0" resolved "https://registry.yarnpkg.com/property-information/-/property-information-5.6.0.tgz#61675545fb23002f245c6540ec46077d4da3ed69" integrity sha512-YUHSPk+A30YPv+0Qf8i9Mbfe/C0hdPXk1s1jPVToV8pk8BQtpw10ct89Eo7OWkutrwqvT0eicAxlOg3dOAu8JA== dependencies: xtend "^4.0.0" +property-information@^6.0.0: + version "6.1.1" + resolved "https://registry.yarnpkg.com/property-information/-/property-information-6.1.1.tgz#5ca85510a3019726cb9afed4197b7b8ac5926a22" + integrity sha512-hrzC564QIl0r0vy4l6MvRLhafmUowhO/O3KgVSoXIbbA2Sz4j8HGpJc6T2cubRVwMwpdiG/vKGfhT4IixmKN9w== + +proto-list@~1.2.1: + version "1.2.4" + resolved "https://registry.yarnpkg.com/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849" + integrity sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA== + proxy-addr@~2.0.7: version "2.0.7" resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.7.tgz#f19fe69ceab311eeb94b42e70e8c2070f9ba1025" @@ -8133,122 +8124,78 @@ proxy-addr@~2.0.7: forwarded "0.2.0" ipaddr.js "1.9.1" -prr@~1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476" - integrity sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw== +proxy-from-env@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" + integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== psl@^1.1.33: - version "1.8.0" - resolved "https://registry.yarnpkg.com/psl/-/psl-1.8.0.tgz#9326f8bcfb013adcc005fdff056acce020e51c24" - integrity sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ== - -public-encrypt@^4.0.0: - version "4.0.3" - resolved "https://registry.yarnpkg.com/public-encrypt/-/public-encrypt-4.0.3.tgz#4fcc9d77a07e48ba7527e7cbe0de33d0701331e0" - integrity sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q== - dependencies: - bn.js "^4.1.0" - browserify-rsa "^4.0.0" - create-hash "^1.1.0" - parse-asn1 "^5.0.0" - randombytes "^2.0.1" - safe-buffer "^5.1.2" - -pump@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/pump/-/pump-2.0.1.tgz#12399add6e4cf7526d973cbc8b5ce2e2908b3909" - integrity sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - -pump@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" - integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - -pumpify@^1.3.3: - version "1.5.1" - resolved "https://registry.yarnpkg.com/pumpify/-/pumpify-1.5.1.tgz#36513be246ab27570b1a374a5ce278bfd74370ce" - integrity sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ== - dependencies: - duplexify "^3.6.0" - inherits "^2.0.3" - pump "^2.0.0" - -punycode@1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" - integrity sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw== - -punycode@^1.2.4: - version "1.4.1" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" - integrity sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ== + version "1.9.0" + resolved "https://registry.yarnpkg.com/psl/-/psl-1.9.0.tgz#d0df2a137f00794565fcaf3b2c00cd09f8d5a5a7" + integrity sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag== punycode@^2.1.0, punycode@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== -qs@6.10.3: - version "6.10.3" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.10.3.tgz#d6cde1b2ffca87b5aa57889816c5f81535e22e8e" - integrity sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ== +pupa@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/pupa/-/pupa-3.1.0.tgz#f15610274376bbcc70c9a3aa8b505ea23f41c579" + integrity sha512-FLpr4flz5xZTSJxSeaheeMKN/EDzMdK7b8PTOC6a5PYFKTucWbdqjgqaEyH0shFiSJrVB1+Qqi4Tk19ccU6Aug== + dependencies: + escape-goat "^4.0.0" + +puppeteer-core@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/puppeteer-core/-/puppeteer-core-2.1.1.tgz#e9b3fbc1237b4f66e25999832229e9db3e0b90ed" + integrity sha512-n13AWriBMPYxnpbb6bnaY5YoY6rGj8vPLrz6CZF3o0qJNEwlcfJVxBzYZ0NJsQ21UbdJoijPCDrM++SUVEz7+w== + dependencies: + "@types/mime-types" "^2.1.0" + debug "^4.1.0" + extract-zip "^1.6.6" + https-proxy-agent "^4.0.0" + mime "^2.0.3" + mime-types "^2.1.25" + progress "^2.0.1" + proxy-from-env "^1.0.0" + rimraf "^2.6.1" + ws "^6.1.0" + +qs@6.11.0, qs@^6.10.0: + version "6.11.0" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.0.tgz#fd0d963446f7a65e1367e01abd85429453f0c37a" + integrity sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q== dependencies: side-channel "^1.0.4" -qs@^6.10.0: - version "6.10.5" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.10.5.tgz#974715920a80ff6a262264acd2c7e6c2a53282b4" - integrity sha512-O5RlPh0VFtR78y79rgcgKK4wbAI0C5zGVLztOIdpWX6ep368q5Hv6XRxDvXuZ9q3C6v+e3n8UfZZJw7IIG27eQ== - dependencies: - side-channel "^1.0.4" - -querystring-es3@^0.2.0: - version "0.2.1" - resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" - integrity sha512-773xhDQnZBMFobEiztv8LIl70ch5MSF/jUQVlhwFyBILqq96anmoctVIYz+ZRp0qbCKATTn6ev02M3r7Ga5vqA== - -querystring@0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" - integrity sha512-X/xY82scca2tau62i9mDyU9K+I+djTMUsvwf7xnUX5GLvVzgJybOJf4Y6o9Zx3oJK/LSXg5tTZBjwzqVPaPO2g== - -querystring@^0.2.0: - version "0.2.1" - resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.1.tgz#40d77615bb09d16902a85c3e38aa8b5ed761c2dd" - integrity sha512-wkvS7mL/JMugcup3/rMitHmd9ecIGd2lhFhK9N3UUQ450h66d1r3Y9nvXzQAW1Lq+wyx61k/1pfKS5KuKiyEbg== +querystringify@^2.1.1: + version "2.2.0" + resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.2.0.tgz#3345941b4153cb9d082d8eee4cda2016a9aef7f6" + integrity sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ== queue-microtask@^1.2.2: version "1.2.3" resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== +quick-lru@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932" + integrity sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA== + ramda@^0.28.0: version "0.28.0" resolved "https://registry.yarnpkg.com/ramda/-/ramda-0.28.0.tgz#acd785690100337e8b063cab3470019be427cc97" integrity sha512-9QnLuG/kPVgWvMQ4aODhsBUFKOUmnbUnsSXACv+NCQZcHbeb+v8Lodp8OVxtRULN1/xOyYLLaL6npE6dMq5QTA== -randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5, randombytes@^2.1.0: +randombytes@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== dependencies: safe-buffer "^5.1.0" -randomfill@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/randomfill/-/randomfill-1.0.4.tgz#c92196fc86ab42be983f1bf31778224931d61458" - integrity sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw== - dependencies: - randombytes "^2.0.5" - safe-buffer "^5.1.0" - range-parser@^1.2.1, range-parser@~1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" @@ -8264,13 +8211,20 @@ raw-body@2.5.1: iconv-lite "0.4.24" unpipe "1.0.0" -raw-loader@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/raw-loader/-/raw-loader-4.0.2.tgz#1aac6b7d1ad1501e66efdac1522c73e59a584eb6" - integrity sha512-ZnScIV3ag9A4wPX/ZayxL/jZH+euYb6FcUinPcgiQW0+UBtEv0O6Q3lGd3cqJ+GHH+rksEv3Pj99oxJ3u3VIKA== +rc@1.2.8: + version "1.2.8" + resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" + integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== dependencies: - loader-utils "^2.0.0" - schema-utils "^3.0.0" + deep-extend "^0.6.0" + ini "~1.3.0" + minimist "^1.2.0" + strip-json-comments "~2.0.1" + +react-colorful@^5.1.2: + version "5.6.1" + resolved "https://registry.yarnpkg.com/react-colorful/-/react-colorful-5.6.1.tgz#7dc2aed2d7c72fac89694e834d179e32f3da563b" + integrity sha512-1exovf0uGTGyq5mXQT0zgQ80uvj2PCwvF8zY1RN9/vbJVSjSo3fsB/4L3ObbF7u70NduSiK4xu4Y6q1MHoUGEw== react-docgen-typescript@^2.1.1: version "2.2.2" @@ -8278,9 +8232,9 @@ react-docgen-typescript@^2.1.1: integrity sha512-tvg2ZtOpOi6QDwsb3GZhOjDkkX0h8Z2gipvTg6OVMUyoYoURhEiRNePT8NZItTVCDh39JJHnLdfCOkzoLbFnTg== react-docgen@^5.0.0: - version "5.4.2" - resolved "https://registry.yarnpkg.com/react-docgen/-/react-docgen-5.4.2.tgz#697ec899e8dd493bb7ba0d50ec0aa5e49f41d3fa" - integrity sha512-4Z5XYpHsn2bbUfaflxoS30VhUvQLBe4GCwwM5v1e1FUOeDdaoJi6wUGSmYp6OdXYEISEAOEIaSPBk4iezNCKBw== + version "5.4.3" + resolved "https://registry.yarnpkg.com/react-docgen/-/react-docgen-5.4.3.tgz#7d297f73b977d0c7611402e5fc2a168acf332b26" + integrity sha512-xlLJyOlnfr8lLEEeaDZ+X2J/KJoe6Nr9AzxnkdQWush5hz2ZSu66w6iLMOScMmxoSHWpWMn+k3v5ZiyCfcWsOA== dependencies: "@babel/core" "^7.7.5" "@babel/generator" "^7.12.11" @@ -8301,35 +8255,50 @@ react-dom@^18.1.0: loose-envify "^1.1.0" scheduler "^0.23.0" -react-element-to-jsx-string@^14.3.4: - version "14.3.4" - resolved "https://registry.yarnpkg.com/react-element-to-jsx-string/-/react-element-to-jsx-string-14.3.4.tgz#709125bc72f06800b68f9f4db485f2c7d31218a8" - integrity sha512-t4ZwvV6vwNxzujDQ+37bspnLwA4JlgUPWhLjBJWsNIDceAf6ZKUTCjdm08cN6WeZ5pTMKiCJkmAYnpmR4Bm+dg== +react-element-to-jsx-string@^15.0.0: + version "15.0.0" + resolved "https://registry.yarnpkg.com/react-element-to-jsx-string/-/react-element-to-jsx-string-15.0.0.tgz#1cafd5b6ad41946ffc8755e254da3fc752a01ac6" + integrity sha512-UDg4lXB6BzlobN60P8fHWVPX3Kyw8ORrTeBtClmIlGdkOOE+GYQSFvmEU5iLLpwp/6v42DINwNcwOhOLfQ//FQ== dependencies: "@base2/pretty-print-object" "1.0.1" is-plain-object "5.0.0" - react-is "17.0.2" + react-is "18.1.0" react-fast-compare@^3.0.1: version "3.2.0" resolved "https://registry.yarnpkg.com/react-fast-compare/-/react-fast-compare-3.2.0.tgz#641a9da81b6a6320f270e89724fb45a0b39e43bb" integrity sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA== -react-intersection-observer@^9.1.0: - version "9.3.4" - resolved "https://registry.yarnpkg.com/react-intersection-observer/-/react-intersection-observer-9.3.4.tgz#b38a346887f938a2e44bbf4c82a907fb4add675d" - integrity sha512-8L0NpqldlILWE9qurRvPJDx3fgwj5gPUJbtZq860wDdHyR1IU52DhhAVN6rmo3TqHF0CgCA50mIT4SHtBSbKLw== +react-inspector@^6.0.0: + version "6.0.1" + resolved "https://registry.yarnpkg.com/react-inspector/-/react-inspector-6.0.1.tgz#1a37f0165d9df81ee804d63259eaaeabe841287d" + integrity sha512-cxKSeFTf7jpSSVddm66sKdolG90qURAX3g1roTeaN6x0YEbtWc8JpmFN9+yIqLNH2uEkYerWLtJZIXRIFuBKrg== -react-is@17.0.2, react-is@^17.0.1, react-is@^17.0.2: - version "17.0.2" - resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" - integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== +react-intersection-observer@^9.1.0: + version "9.4.1" + resolved "https://registry.yarnpkg.com/react-intersection-observer/-/react-intersection-observer-9.4.1.tgz#4ccb21e16acd0b9cf5b28d275af7055bef878f6b" + integrity sha512-IXpIsPe6BleFOEHKzKh5UjwRUaz/JYS0lT/HPsupWEQou2hDqjhLMStc5zyE3eQVT4Fk3FufM8Fw33qW1uyeiw== + +react-is@18.1.0: + version "18.1.0" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.1.0.tgz#61aaed3096d30eacf2a2127118b5b41387d32a67" + integrity sha512-Fl7FuabXsJnV5Q1qIOQwx/sagGF18kogb4gpfcG4gjLBWO0WDiiz1ko/ExayuxE7InyQkBLkxRFG5oxY6Uu3Kg== react-is@^16.13.1, react-is@^16.7.0: version "16.13.1" resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== +react-is@^17.0.1, react-is@^17.0.2: + version "17.0.2" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" + integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== + +react-merge-refs@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/react-merge-refs/-/react-merge-refs-1.1.0.tgz#73d88b892c6c68cbb7a66e0800faa374f4c38b06" + integrity sha512-alTKsjEL0dKH/ru1Iyn7vliS2QRcBp9zZPGoWxUOvRGWPUYgjo+V01is7p04It6KhgrzhJGnIj9GgX8W4bZoCQ== + react-popper@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/react-popper/-/react-popper-2.3.0.tgz#17891c620e1320dce318bad9fede46a5f71c70ba" @@ -8348,7 +8317,7 @@ react-refresh@^0.13.0: resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.13.0.tgz#cbd01a4482a177a5da8d44c9755ebb1f26d5a1c1" integrity sha512-XP8A9BT0CpRBD+NYLLeIhld/RqG9+gktUjW1FkE+Vm7OCinbG1SshcK5tb9ls4kzvjZr9mOQc7HYgBngEyPAXg== -react-syntax-highlighter@^15.4.5, react-syntax-highlighter@^15.5.0: +react-syntax-highlighter@^15.5.0: version "15.5.0" resolved "https://registry.yarnpkg.com/react-syntax-highlighter/-/react-syntax-highlighter-15.5.0.tgz#4b3eccc2325fa2ec8eff1e2d6c18fa4a9e07ab20" integrity sha512-+zq2myprEnQmH5yw6Gqc8lD55QHnpKaU8TOcFeC/Lg/MQSs8UknEA0JC4nTZGFAXC2J2Hyj/ijJ7NlabyPi2gg== @@ -8359,6 +8328,14 @@ react-syntax-highlighter@^15.4.5, react-syntax-highlighter@^15.5.0: prismjs "^1.27.0" refractor "^3.6.0" +react-virtuoso@^3.1.4: + version "3.1.4" + resolved "https://registry.yarnpkg.com/react-virtuoso/-/react-virtuoso-3.1.4.tgz#d9dcf218328d22eeb598ce490224dc04bdfc884a" + integrity sha512-oZt22JrSi/yLkp3HWa8teo0wqUg8zOA3i7y4dhHoM12njr5B8qGbVrq2fKGp3sbiZ9xiwX44KH5EEBo2GN2S4Q== + dependencies: + "@virtuoso.dev/react-urx" "^0.2.12" + "@virtuoso.dev/urx" "^0.2.12" + react@^18.1.0: version "18.2.0" resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" @@ -8366,14 +8343,6 @@ react@^18.1.0: dependencies: loose-envify "^1.1.0" -read-pkg-up@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02" - integrity sha512-WD9MTlNtI55IwYUS27iHh9tK3YoIVhxis8yKhLpTqWtml739uXc9NWTpxoHkfZf3+DkCCsXox94/VWZniuZm6A== - dependencies: - find-up "^1.0.0" - read-pkg "^1.0.0" - read-pkg-up@^7.0.1: version "7.0.1" resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-7.0.1.tgz#f3a6135758459733ae2b95638056e1854e7ef507" @@ -8383,15 +8352,6 @@ read-pkg-up@^7.0.1: read-pkg "^5.2.0" type-fest "^0.8.1" -read-pkg@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28" - integrity sha512-7BGwRHqt4s/uVbuyoeejRn4YmFnYZiFl4AuaeXHlgZf3sONF0SOGlxs2Pw8g6hCKupo08RafIO5YXFNOKTfwsQ== - dependencies: - load-json-file "^1.0.0" - normalize-package-data "^2.3.2" - path-type "^1.0.0" - read-pkg@^5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-5.2.0.tgz#7bf295438ca5a33e56cd30e053b34ee7250c93cc" @@ -8402,7 +8362,7 @@ read-pkg@^5.2.0: parse-json "^5.0.0" type-fest "^0.6.0" -"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.3, readable-stream@^2.3.6, readable-stream@~2.3.6: +readable-stream@^2.0.1, readable-stream@^2.2.2: version "2.3.7" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57" integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== @@ -8424,15 +8384,6 @@ readable-stream@^3.0.6, readable-stream@^3.6.0: string_decoder "^1.1.1" util-deprecate "^1.0.1" -readdirp@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.2.1.tgz#0e87622a3325aa33e892285caf8b4e846529a525" - integrity sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ== - dependencies: - graceful-fs "^4.1.11" - micromatch "^3.1.10" - readable-stream "^2.0.2" - readdirp@~3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" @@ -8440,6 +8391,33 @@ readdirp@~3.6.0: dependencies: picomatch "^2.2.1" +recast@^0.19.0: + version "0.19.1" + resolved "https://registry.yarnpkg.com/recast/-/recast-0.19.1.tgz#555f3612a5a10c9f44b9a923875c51ff775de6c8" + integrity sha512-8FCjrBxjeEU2O6I+2hyHyBFH1siJbMBLwIRvVr1T3FD2cL754sOaJDsJ/8h3xYltasbJ8jqWRIhMuDGBSiSbjw== + dependencies: + ast-types "0.13.3" + esprima "~4.0.0" + private "^0.1.8" + source-map "~0.6.1" + +recast@^0.20.4: + version "0.20.5" + resolved "https://registry.yarnpkg.com/recast/-/recast-0.20.5.tgz#8e2c6c96827a1b339c634dd232957d230553ceae" + integrity sha512-E5qICoPoNL4yU0H0NoBDntNB0Q5oMSNh9usFctYniLBluTthi3RsQVBXIJNbApOlvSwW/RGxIuokPcAc59J5fQ== + dependencies: + ast-types "0.14.2" + esprima "~4.0.0" + source-map "~0.6.1" + tslib "^2.0.1" + +rechoir@^0.6.2: + version "0.6.2" + resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384" + integrity sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw== + dependencies: + resolve "^1.1.6" + rechoir@^0.7.0: version "0.7.1" resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.7.1.tgz#9478a96a1ca135b5e88fc027f03ee92d6c645686" @@ -8447,14 +8425,6 @@ rechoir@^0.7.0: dependencies: resolve "^1.9.0" -redent@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/redent/-/redent-1.0.0.tgz#cf916ab1fd5f1f16dfb20822dd6ec7f730c2afde" - integrity sha512-qtW5hKzGQZqKoh6JNSD+4lfitfPKGz42e6QwiRmPM5mmKtR0N41AbJRYu0xJi7nhOJ4WDgRkKvAk6tw4WIwR4g== - dependencies: - indent-string "^2.1.0" - strip-indent "^1.0.1" - refractor@^3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/refractor/-/refractor-3.6.0.tgz#ac318f5a0715ead790fcfb0c71f4dd83d977935a" @@ -8464,10 +8434,10 @@ refractor@^3.6.0: parse-entities "^2.0.0" prismjs "~1.27.0" -regenerate-unicode-properties@^10.0.1: - version "10.0.1" - resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-10.0.1.tgz#7f442732aa7934a3740c779bb9b3340dccc1fb56" - integrity sha512-vn5DU6yg6h8hP/2OkQo3K7uVILvY4iu0oI4t3HFa81UPkhGJwkRwM10JEc3upjdhHjs/k8GJY1sRBhk5sr69Bw== +regenerate-unicode-properties@^10.1.0: + version "10.1.0" + resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.0.tgz#7c3192cab6dd24e21cb4461e5ddd7dd24fa8374c" + integrity sha512-d1VudCLoIGitcU/hEg2QqvyGZQmdC0Lf8BqdOMXGFSvJP4bNV1+XqbPQeHHLD51Jh4QJJ225dlIFvY4Ly6MXmQ== dependencies: regenerate "^1.4.2" @@ -8476,15 +8446,15 @@ regenerate@^1.4.2: resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.2.tgz#b9346d8827e8f5a32f7ba29637d398b69014848a" integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A== -regenerator-runtime@^0.13.4, regenerator-runtime@^0.13.7: - version "0.13.9" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52" - integrity sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA== +regenerator-runtime@^0.13.10, regenerator-runtime@^0.13.2, regenerator-runtime@^0.13.7: + version "0.13.11" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz#f6dca3e7ceec20590d07ada785636a90cdca17f9" + integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg== regenerator-transform@^0.15.0: - version "0.15.0" - resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.15.0.tgz#cbd9ead5d77fae1a48d957cf889ad0586adb6537" - integrity sha512-LsrGtPmbYg19bcPHwdtmXwbW+TqNvtY4riE3P83foeHRroMbH6/2ddFBfab3t7kbzc7v7p4wbkIecHImqt0QNg== + version "0.15.1" + resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.15.1.tgz#f6c4e99fc1b4591f780db2586328e4d9a9d8dc56" + integrity sha512-knzmNAcuyxV+gQCufkYcvOqX/qIIfHLv0u5x79kRxuGojfYVky1f15TzZEu2Avte8QGepvUNTnLskf8E6X6Vyg== dependencies: "@babel/runtime" "^7.8.4" @@ -8496,7 +8466,7 @@ regex-not@^1.0.0, regex-not@^1.0.2: extend-shallow "^3.0.2" safe-regex "^1.1.0" -regexp.prototype.flags@^1.4.1, regexp.prototype.flags@^1.4.3: +regexp.prototype.flags@^1.4.3: version "1.4.3" resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz#87cab30f80f66660181a3bb7bf5981a872b367ac" integrity sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA== @@ -8505,27 +8475,41 @@ regexp.prototype.flags@^1.4.1, regexp.prototype.flags@^1.4.3: define-properties "^1.1.3" functions-have-names "^1.2.2" -regexpu-core@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-5.0.1.tgz#c531122a7840de743dcf9c83e923b5560323ced3" - integrity sha512-CriEZlrKK9VJw/xQGJpQM5rY88BtuL8DM+AEwvcThHilbxiTAy8vq4iJnd2tqq8wLmjbGZzP7ZcKFjbGkmEFrw== +regexpu-core@^5.1.0: + version "5.2.2" + resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-5.2.2.tgz#3e4e5d12103b64748711c3aad69934d7718e75fc" + integrity sha512-T0+1Zp2wjF/juXMrMxHxidqGYn8U4R+zleSJhX9tQ1PUsS8a9UtYfbsF9LdiVgNX3kiX8RNaKM42nfSgvFJjmw== dependencies: regenerate "^1.4.2" - regenerate-unicode-properties "^10.0.1" - regjsgen "^0.6.0" - regjsparser "^0.8.2" + regenerate-unicode-properties "^10.1.0" + regjsgen "^0.7.1" + regjsparser "^0.9.1" unicode-match-property-ecmascript "^2.0.0" - unicode-match-property-value-ecmascript "^2.0.0" + unicode-match-property-value-ecmascript "^2.1.0" -regjsgen@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.6.0.tgz#83414c5354afd7d6627b16af5f10f41c4e71808d" - integrity sha512-ozE883Uigtqj3bx7OhL1KNbCzGyW2NQZPl6Hs09WTvCuZD5sTI4JY58bkbQWa/Y9hxIsvJ3M8Nbf7j54IqeZbA== +registry-auth-token@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-5.0.1.tgz#5e6cd106e6c251135a046650c58476fc03e92833" + integrity sha512-UfxVOj8seK1yaIOiieV4FIP01vfBDLsY0H9sQzi9EbbUdJiuuBjJgLa1DpImXMNPnVkBD4eVxTEXcrZA6kfpJA== + dependencies: + "@pnpm/npm-conf" "^1.0.4" -regjsparser@^0.8.2: - version "0.8.4" - resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.8.4.tgz#8a14285ffcc5de78c5b95d62bbf413b6bc132d5f" - integrity sha512-J3LABycON/VNEu3abOviqGHuB/LOtOQj8SKmfP9anY5GfAVw/SPjwzSjxGjbZXIxbGfqTHtJw58C2Li/WkStmA== +registry-url@^6.0.0: + version "6.0.1" + resolved "https://registry.yarnpkg.com/registry-url/-/registry-url-6.0.1.tgz#056d9343680f2f64400032b1e199faa692286c58" + integrity sha512-+crtS5QjFRqFCoQmvGduwYWEBng99ZvmFvF+cUJkGYF1L1BfU8C6Zp9T7f5vPAwyLkUExpvK+ANVZmGU49qi4Q== + dependencies: + rc "1.2.8" + +regjsgen@^0.7.1: + version "0.7.1" + resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.7.1.tgz#ee5ef30e18d3f09b7c369b76e7c2373ed25546f6" + integrity sha512-RAt+8H2ZEzHeYWxZ3H2z6tF18zyyOnlcdaafLrm21Bguj7uZy6ULibiAFdXEtKQY4Sy7wDTwDiOazasMLc4KPA== + +regjsparser@^0.9.1: + version "0.9.1" + resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.9.1.tgz#272d05aa10c7c1f67095b1ff0addae8442fc5709" + integrity sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ== dependencies: jsesc "~0.5.0" @@ -8534,69 +8518,52 @@ relateurl@^0.2.7: resolved "https://registry.yarnpkg.com/relateurl/-/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9" integrity sha512-G08Dxvm4iDN3MLM0EsP62EDV9IuhXPR6blNz6Utcp7zyV3tr4HVNINt6MpaRWbxoOHT3Q7YN2P+jaHX8vUbgog== -remark-footnotes@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/remark-footnotes/-/remark-footnotes-2.0.0.tgz#9001c4c2ffebba55695d2dd80ffb8b82f7e6303f" - integrity sha512-3Clt8ZMH75Ayjp9q4CorNeyjwIxHFcTkaektplKGl2A1jNGEUey8cKL0ZC5vJwfcD5GFGsNLImLG/NGzWIzoMQ== - -remark-mdx@1.6.22: - version "1.6.22" - resolved "https://registry.yarnpkg.com/remark-mdx/-/remark-mdx-1.6.22.tgz#06a8dab07dcfdd57f3373af7f86bd0e992108bbd" - integrity sha512-phMHBJgeV76uyFkH4rvzCftLfKCr2RZuF+/gmVcaKrpsihyzmhXjA0BEMDaPTXG5y8qZOKPVo83NAOX01LPnOQ== +remark-external-links@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/remark-external-links/-/remark-external-links-8.0.0.tgz#308de69482958b5d1cd3692bc9b725ce0240f345" + integrity sha512-5vPSX0kHoSsqtdftSHhIYofVINC8qmp0nctkeU9YoJwV3YfiBRiI6cbFRJ0oI/1F9xS+bopXG0m2KS8VFscuKA== dependencies: - "@babel/core" "7.12.9" - "@babel/helper-plugin-utils" "7.10.4" - "@babel/plugin-proposal-object-rest-spread" "7.12.1" - "@babel/plugin-syntax-jsx" "7.12.1" - "@mdx-js/util" "1.6.22" - is-alphabetical "1.0.4" - remark-parse "8.0.3" - unified "9.2.0" + extend "^3.0.0" + is-absolute-url "^3.0.0" + mdast-util-definitions "^4.0.0" + space-separated-tokens "^1.0.0" + unist-util-visit "^2.0.0" -remark-parse@8.0.3: - version "8.0.3" - resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-8.0.3.tgz#9c62aa3b35b79a486454c690472906075f40c7e1" - integrity sha512-E1K9+QLGgggHxCQtLt++uXltxEprmWzNfg+MxpfHsZlrddKzZ/hZyWHDbK3/Ap8HJQqYJRXP+jHczdL6q6i85Q== +remark-mdx@^2.0.0: + version "2.1.5" + resolved "https://registry.yarnpkg.com/remark-mdx/-/remark-mdx-2.1.5.tgz#69b19ec42d30a289e0663c3fc7656ebdca0a8d8e" + integrity sha512-A8vw5s+BgOa968Irt8BO7DfWJTE0Fe7Ge3hX8zzDB1DnwMZTNdK6qF2IcFao+/7nzk1vSysKcFp+3ku4vhMpaQ== dependencies: - ccount "^1.0.0" - collapse-white-space "^1.0.2" - is-alphabetical "^1.0.0" - is-decimal "^1.0.0" - is-whitespace-character "^1.0.0" - is-word-character "^1.0.0" - markdown-escapes "^1.0.0" - parse-entities "^2.0.0" - repeat-string "^1.5.4" - state-toggle "^1.0.0" - trim "0.0.1" - trim-trailing-lines "^1.0.0" - unherit "^1.0.4" - unist-util-remove-position "^2.0.0" - vfile-location "^3.0.0" - xtend "^4.0.1" + mdast-util-mdx "^2.0.0" + micromark-extension-mdxjs "^1.0.0" -remark-squeeze-paragraphs@4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/remark-squeeze-paragraphs/-/remark-squeeze-paragraphs-4.0.0.tgz#76eb0e085295131c84748c8e43810159c5653ead" - integrity sha512-8qRqmL9F4nuLPIgl92XUuxI3pFxize+F1H0e/W3llTk0UsjJaj01+RrirkMw7P21RKe4X6goQhYRSvNWX+70Rw== +remark-parse@^10.0.0: + version "10.0.1" + resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-10.0.1.tgz#6f60ae53edbf0cf38ea223fe643db64d112e0775" + integrity sha512-1fUyHr2jLsVOkhbvPRBJ5zTKZZyD6yZzYaWCS6BPBdQ8vEMBCH+9zNCDA6tET/zHCi/jLqjCWtlJZUPk+DbnFw== dependencies: - mdast-squeeze-paragraphs "^4.0.0" + "@types/mdast" "^3.0.0" + mdast-util-from-markdown "^1.0.0" + unified "^10.0.0" -remove-trailing-separator@^1.0.1: - version "1.1.0" - resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" - integrity sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw== - -renderkid@^2.0.4: - version "2.0.7" - resolved "https://registry.yarnpkg.com/renderkid/-/renderkid-2.0.7.tgz#464f276a6bdcee606f4a15993f9b29fc74ca8609" - integrity sha512-oCcFyxaMrKsKcTY59qnCAtmDVSLfPbrv6A3tVbPdFMMrv5jaK10V6m40cKsoPNhAqN6rmHW9sswW4o3ruSrwUQ== +remark-rehype@^10.0.0: + version "10.1.0" + resolved "https://registry.yarnpkg.com/remark-rehype/-/remark-rehype-10.1.0.tgz#32dc99d2034c27ecaf2e0150d22a6dcccd9a6279" + integrity sha512-EFmR5zppdBp0WQeDVZ/b66CWJipB2q2VLNFMabzDSGR66Z2fQii83G5gTBbgGEnEEA0QRussvrFHxk1HWGJskw== dependencies: - css-select "^4.1.3" - dom-converter "^0.2.0" - htmlparser2 "^6.1.0" - lodash "^4.17.21" - strip-ansi "^3.0.1" + "@types/hast" "^2.0.0" + "@types/mdast" "^3.0.0" + mdast-util-to-hast "^12.1.0" + unified "^10.0.0" + +remark-slug@^6.0.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/remark-slug/-/remark-slug-6.1.0.tgz#0503268d5f0c4ecb1f33315c00465ccdd97923ce" + integrity sha512-oGCxDF9deA8phWvxFuyr3oSJsdyUAxMFbA0mZ7Y1Sas+emILtO+e5WutF9564gDsEN4IXaQXm5pFo6MLH+YmwQ== + dependencies: + github-slugger "^1.0.0" + mdast-util-to-string "^1.0.0" + unist-util-visit "^2.0.0" renderkid@^3.0.0: version "3.0.0" @@ -8614,18 +8581,11 @@ repeat-element@^1.1.2: resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.4.tgz#be681520847ab58c7568ac75fbfad28ed42d39e9" integrity sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ== -repeat-string@^1.5.4, repeat-string@^1.6.1: +repeat-string@^1.6.1: version "1.6.1" resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" integrity sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w== -repeating@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/repeating/-/repeating-2.0.1.tgz#5214c53a926d3552707527fbab415dbc08d06dda" - integrity sha512-ZqtSMuVybkISo2OWvqvm7iHSWngvdaW3IpsT9/uP8v4gMi591LY6h35wdOfvQdWCKFWZWm2Y1Opp4kV7vQKT6A== - dependencies: - is-finite "^1.0.0" - require-directory@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" @@ -8641,6 +8601,11 @@ requires-port@^1.0.0: resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" integrity sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ== +resolve-alpn@^1.2.0: + version "1.2.1" + resolved "https://registry.yarnpkg.com/resolve-alpn/-/resolve-alpn-1.2.1.tgz#b7adbdac3546aaaec20b45e7d8265927072726f9" + integrity sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g== + resolve-cwd@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d" @@ -8663,7 +8628,7 @@ resolve-url@^0.2.1: resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" integrity sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg== -resolve@^1.10.0, resolve@^1.12.0, resolve@^1.14.2, resolve@^1.19.0, resolve@^1.3.2, resolve@^1.9.0: +resolve@^1.1.6, resolve@^1.10.0, resolve@^1.14.2, resolve@^1.19.0, resolve@^1.9.0: version "1.22.1" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177" integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== @@ -8672,6 +8637,13 @@ resolve@^1.10.0, resolve@^1.12.0, resolve@^1.14.2, resolve@^1.19.0, resolve@^1.3 path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" +responselike@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/responselike/-/responselike-3.0.0.tgz#20decb6c298aff0dbee1c355ca95461d42823626" + integrity sha512-40yHxbNcl2+rzXvZuVkrYohathsSJlMTXKryG5y8uciHv1+xDLHQpgjG64JUO9nrEq2jGLH6IZ8BcZyw3wrweg== + dependencies: + lowercase-keys "^3.0.0" + ret@~0.1.10: version "0.1.15" resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" @@ -8687,7 +8659,7 @@ reusify@^1.0.4: resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== -rimraf@^2.5.4, rimraf@^2.6.3: +rimraf@^2.6.1, rimraf@^2.6.3: version "2.7.1" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== @@ -8701,13 +8673,12 @@ rimraf@^3.0.2: dependencies: glob "^7.1.3" -ripemd160@^2.0.0, ripemd160@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" - integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== +rimraf@~2.6.2: + version "2.6.3" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab" + integrity sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA== dependencies: - hash-base "^3.0.0" - inherits "^2.0.1" + glob "^7.1.3" run-parallel@^1.1.9: version "1.2.0" @@ -8716,12 +8687,12 @@ run-parallel@^1.1.9: dependencies: queue-microtask "^1.2.2" -run-queue@^1.0.0, run-queue@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/run-queue/-/run-queue-1.0.3.tgz#e848396f057d223f24386924618e25694161ec47" - integrity sha512-ntymy489o0/QQplUDnpYAYUsO50K9SBrIVaKCWDOJzYJts0f9WH9RFJkyagebkw5+y1oi00R7ynNW/d12GBumg== +sade@^1.7.3: + version "1.8.1" + resolved "https://registry.yarnpkg.com/sade/-/sade-1.8.1.tgz#0a78e81d658d394887be57d2a409bf703a3b2701" + integrity sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A== dependencies: - aproba "^1.1.1" + mri "^1.1.0" safe-buffer@5.1.1: version "5.1.1" @@ -8733,7 +8704,7 @@ safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== -safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: +safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@^5.1.0, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== @@ -8745,7 +8716,7 @@ safe-regex@^1.1.0: dependencies: ret "~0.1.10" -"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0", safer-buffer@^2.1.0: +"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0": version "2.1.2" resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== @@ -8764,25 +8735,7 @@ scheduler@^0.23.0: dependencies: loose-envify "^1.1.0" -schema-utils@2.7.0: - version "2.7.0" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-2.7.0.tgz#17151f76d8eae67fbbf77960c33c676ad9f4efc7" - integrity sha512-0ilKFI6QQF5nxDZLFn2dMjvc4hjg/Wkg7rHd3jK6/A4a1Hl9VFdQWvgB1UMGoU94pad1P/8N7fMcEnLnSiju8A== - dependencies: - "@types/json-schema" "^7.0.4" - ajv "^6.12.2" - ajv-keywords "^3.4.1" - -schema-utils@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-1.0.0.tgz#0b79a93204d7b600d4b2850d1f66c2a34951c770" - integrity sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g== - dependencies: - ajv "^6.1.0" - ajv-errors "^1.0.0" - ajv-keywords "^3.1.0" - -schema-utils@^2.6.5, schema-utils@^2.7.0: +schema-utils@^2.6.5: version "2.7.1" resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-2.7.1.tgz#1ca4f32d1b24c590c203b8e7a50bf0ea4cd394d7" integrity sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg== @@ -8815,32 +8768,34 @@ select-hose@^2.0.0: resolved "https://registry.yarnpkg.com/select-hose/-/select-hose-2.0.0.tgz#625d8658f865af43ec962bfc376a37359a4994ca" integrity sha512-mEugaLK+YfkijB4fx0e6kImuJdCIt2LxCRcbEYPqRGCs4F2ogyfZU5IAZRdjCP8JPq2AtdNoC/Dux63d9Kiryg== -selfsigned@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-2.0.1.tgz#8b2df7fa56bf014d19b6007655fff209c0ef0a56" - integrity sha512-LmME957M1zOsUhG+67rAjKfiWFox3SBxE/yymatMZsAx+oMrJ0YQ8AToOnyCm7xbeg2ep37IHLxdu0o2MavQOQ== +selfsigned@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-2.1.1.tgz#18a7613d714c0cd3385c48af0075abf3f266af61" + integrity sha512-GSL3aowiF7wa/WtSFwnUrludWFoNhftq8bUkH9pkzjpN2XSPOAYEgg6e0sS9s0rZwgJzJiQRPU18A6clnoW5wQ== dependencies: node-forge "^1" -"semver@2 || 3 || 4 || 5", semver@^5.4.1, semver@^5.6.0: +semver-diff@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/semver-diff/-/semver-diff-4.0.0.tgz#3afcf5ed6d62259f5c72d0d5d50dffbdc9680df5" + integrity sha512-0Ju4+6A8iOnpL/Thra7dZsSlOHYAHIeMxfhWQRI1/VLcT3WDBZKKtQt/QkBOsiIN9ZpuvHE6cGZ0x4glCMmfiA== + dependencies: + semver "^7.3.5" + +"semver@2 || 3 || 4 || 5", semver@^5.6.0: version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== -semver@7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" - integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== - semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.3.0: version "6.3.0" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== -semver@^7.3.2, semver@^7.3.4, semver@^7.3.5: - version "7.3.7" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f" - integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g== +semver@^7.3.5, semver@^7.3.7, semver@^7.3.8: + version "7.3.8" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" + integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== dependencies: lru-cache "^6.0.0" @@ -8863,20 +8818,6 @@ send@0.18.0: range-parser "~1.2.1" statuses "2.0.1" -serialize-javascript@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-4.0.0.tgz#b525e1238489a5ecfc42afacc3fe99e666f4b1aa" - integrity sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw== - dependencies: - randombytes "^2.1.0" - -serialize-javascript@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-5.0.1.tgz#7886ec848049a462467a97d3d918ebb2aaf934f4" - integrity sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA== - dependencies: - randombytes "^2.1.0" - serialize-javascript@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.0.tgz#efae5d88f45d7924141da8b5c3a7a7e663fefeb8" @@ -8933,11 +8874,6 @@ set-value@^2.0.0, set-value@^2.0.1: is-plain-object "^2.0.3" split-string "^3.0.1" -setimmediate@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" - integrity sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA== - setprototypeof@1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656" @@ -8948,14 +8884,6 @@ setprototypeof@1.2.0: resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw== -sha.js@^2.4.0, sha.js@^2.4.8: - version "2.4.11" - resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" - integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== - dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" - shallow-clone@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/shallow-clone/-/shallow-clone-3.0.1.tgz#8f2981ad92531f55035b01fb230769a40e02efa3" @@ -8975,6 +8903,15 @@ shebang-regex@^3.0.0: resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== +shelljs@^0.8.5: + version "0.8.5" + resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.5.tgz#de055408d8361bed66c669d2f000538ced8ee20c" + integrity sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow== + dependencies: + glob "^7.0.0" + interpret "^1.0.0" + rechoir "^0.6.2" + side-channel@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" @@ -8984,7 +8921,7 @@ side-channel@^1.0.4: get-intrinsic "^1.0.2" object-inspect "^1.9.0" -signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3: +signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7: version "3.0.7" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== @@ -8994,11 +8931,6 @@ sisteransi@^1.0.5: resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg== -slash@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44" - integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A== - slash@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" @@ -9043,25 +8975,11 @@ sockjs@^0.3.24: uuid "^8.3.2" websocket-driver "^0.7.4" -source-list-map@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34" - integrity sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw== - -source-map-js@^1.0.1, source-map-js@^1.0.2: +source-map-js@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c" integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== -source-map-loader@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/source-map-loader/-/source-map-loader-3.0.1.tgz#9ae5edc7c2d42570934be4c95d1ccc6352eba52d" - integrity sha512-Vp1UsfyPvgujKQzi4pyDiTOnE3E4H+yHvkVRN3c/9PJmQS4CQJExvcDvaX/D+RV+xQben9HJ56jMJS3CgUeWyA== - dependencies: - abab "^2.0.5" - iconv-lite "^0.6.3" - source-map-js "^1.0.1" - source-map-resolve@^0.5.0: version "0.5.3" resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.3.tgz#190866bece7553e1f8f267a2ee82c606b5509a1a" @@ -9073,7 +8991,7 @@ source-map-resolve@^0.5.0: source-map-url "^0.4.0" urix "^0.1.0" -source-map-support@^0.5.16, source-map-support@~0.5.12, source-map-support@~0.5.20: +source-map-support@^0.5.16, source-map-support@~0.5.20: version "0.5.21" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== @@ -9086,13 +9004,7 @@ source-map-url@^0.4.0: resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.1.tgz#0af66605a745a5a2f91cf1bbf8a7afbc283dec56" integrity sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw== -source-map@GerHobbelt/source-map#patch-8: - version "0.8.0-beta.0" - resolved "https://codeload.github.com/GerHobbelt/source-map/tar.gz/cb653e459c8a75c91c829c057c833f466b88aabe" - dependencies: - whatwg-url "^7.0.0" - -source-map@^0.5.0, source-map@^0.5.6, source-map@^0.5.7: +source-map@^0.5.6, source-map@^0.5.7: version "0.5.7" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== @@ -9102,7 +9014,7 @@ source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1: resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== -source-map@^0.7.3: +source-map@^0.7.0, source-map@^0.7.3: version "0.7.4" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.4.tgz#a9bbe705c9d8846f4e08ff6765acf0f1b0898656" integrity sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA== @@ -9112,6 +9024,11 @@ space-separated-tokens@^1.0.0: resolved "https://registry.yarnpkg.com/space-separated-tokens/-/space-separated-tokens-1.1.5.tgz#85f32c3d10d9682007e917414ddc5c26d1aa6899" integrity sha512-q/JSVd1Lptzhf5bkYm4ob4iWPjx0KiRe3sRFBNrVqbJkFaBm5vbbowy1mymoPNLRa52+oadOhJ+K49wsSeSjTA== +space-separated-tokens@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz#1ecd9d2350a3844572c3f4a312bceb018348859f" + integrity sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q== + spdx-correct@^3.0.0: version "3.1.1" resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.1.1.tgz#dece81ac9c1e6713e5f7d1b6f17d468fa53d89a9" @@ -9134,9 +9051,9 @@ spdx-expression-parse@^3.0.0: spdx-license-ids "^3.0.0" spdx-license-ids@^3.0.0: - version "3.0.11" - resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.11.tgz#50c0d8c40a14ec1bf449bae69a0ea4685a9d9f95" - integrity sha512-Ctl2BrFiM0X3MANYgj3CkygxhRmr9mi6xhejbdO960nF6EDJApTYpn0BQnDKlnNBULKiCN1n3w9EBkHK8ZWg+g== + version "3.0.12" + resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz#69077835abe2710b65f03969898b6637b505a779" + integrity sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA== spdy-transport@^3.0.0: version "3.0.0" @@ -9168,35 +9085,16 @@ split-string@^3.0.1, split-string@^3.0.2: dependencies: extend-shallow "^3.0.0" -ssri@^6.0.1: - version "6.0.2" - resolved "https://registry.yarnpkg.com/ssri/-/ssri-6.0.2.tgz#157939134f20464e7301ddba3e90ffa8f7728ac5" - integrity sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q== - dependencies: - figgy-pudding "^3.5.1" - -ssri@^8.0.1: - version "8.0.1" - resolved "https://registry.yarnpkg.com/ssri/-/ssri-8.0.1.tgz#638e4e439e2ffbd2cd289776d5ca457c4f51a2af" - integrity sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ== - dependencies: - minipass "^3.1.1" - -stable@^0.1.8: - version "0.1.8" - resolved "https://registry.yarnpkg.com/stable/-/stable-0.1.8.tgz#836eb3c8382fe2936feaf544631017ce7d47a3cf" - integrity sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w== +sprintf-js@~1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" + integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== stackframe@^1.3.4: version "1.3.4" resolved "https://registry.yarnpkg.com/stackframe/-/stackframe-1.3.4.tgz#b881a004c8c149a5e8efef37d51b16e412943310" integrity sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw== -state-toggle@^1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/state-toggle/-/state-toggle-1.0.3.tgz#e123b16a88e143139b09c6852221bc9815917dfe" - integrity sha512-d/5Z4/2iiCnHw6Xzghyhb+GcmF89bxwgXG60wjIiZaxnymbyOmI8Hk4VqHXiVVp6u2ysaskFfXg3ekCj4WNftQ== - static-extend@^0.1.1: version "0.1.2" resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6" @@ -9216,41 +9114,16 @@ statuses@2.0.1: integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA== store2@^2.12.0: - version "2.13.2" - resolved "https://registry.yarnpkg.com/store2/-/store2-2.13.2.tgz#01ad8802ca5b445b9c316b55e72645c13a3cd7e3" - integrity sha512-CMtO2Uneg3SAz/d6fZ/6qbqqQHi2ynq6/KzMD/26gTkiEShCcpqFfTHgOxsE0egAq6SX3FmN4CeSqn8BzXQkJg== + version "2.14.2" + resolved "https://registry.yarnpkg.com/store2/-/store2-2.14.2.tgz#56138d200f9fe5f582ad63bc2704dbc0e4a45068" + integrity sha512-siT1RiqlfQnGqgT/YzXVUNsom9S0H1OX+dpdGN1xkyYATo4I6sep5NmsRD/40s3IIOvlCq6akxkqG82urIZW1w== -stream-browserify@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.2.tgz#87521d38a44aa7ee91ce1cd2a47df0cb49dd660b" - integrity sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg== +storybook@^7.0.0-alpha.48: + version "7.0.0-alpha.50" + resolved "https://registry.yarnpkg.com/storybook/-/storybook-7.0.0-alpha.50.tgz#43e3088ace40c532d6454523d0396116af3a2aea" + integrity sha512-fUE9V9deFS6bnU7xshGMVTC4caNR0wvegRwgFND6zsmf32NbcxV+i0Xs13zCCmxbtoBogls90UyiOE24y1Ogwg== dependencies: - inherits "~2.0.1" - readable-stream "^2.0.2" - -stream-each@^1.1.0: - version "1.2.3" - resolved "https://registry.yarnpkg.com/stream-each/-/stream-each-1.2.3.tgz#ebe27a0c389b04fbcc233642952e10731afa9bae" - integrity sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw== - dependencies: - end-of-stream "^1.1.0" - stream-shift "^1.0.0" - -stream-http@^2.7.2: - version "2.8.3" - resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.8.3.tgz#b2d242469288a5a27ec4fe8933acf623de6514fc" - integrity sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw== - dependencies: - builtin-status-codes "^3.0.0" - inherits "^2.0.1" - readable-stream "^2.3.6" - to-arraybuffer "^1.0.0" - xtend "^4.0.0" - -stream-shift@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.1.tgz#d7088281559ab2778424279b0877da3c392d5a3d" - integrity sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ== + "@storybook/cli" "7.0.0-alpha.50" "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3: version "4.2.3" @@ -9261,57 +9134,16 @@ stream-shift@^1.0.0: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.1" -"string.prototype.matchall@^4.0.0 || ^3.0.1": - version "4.0.7" - resolved "https://registry.yarnpkg.com/string.prototype.matchall/-/string.prototype.matchall-4.0.7.tgz#8e6ecb0d8a1fb1fda470d81acecb2dba057a481d" - integrity sha512-f48okCX7JiwVi1NXCVWcFnZgADDC/n2vePlQ/KUCNqCikLLilQvwjMO8+BHVKvgzH0JB0J9LEPgxOGT02RoETg== +string-width@^5.0.1, string-width@^5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" + integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.1" - get-intrinsic "^1.1.1" - has-symbols "^1.0.3" - internal-slot "^1.0.3" - regexp.prototype.flags "^1.4.1" - side-channel "^1.0.4" + eastasianwidth "^0.2.0" + emoji-regex "^9.2.2" + strip-ansi "^7.0.1" -string.prototype.padend@^3.0.0: - version "3.1.3" - resolved "https://registry.yarnpkg.com/string.prototype.padend/-/string.prototype.padend-3.1.3.tgz#997a6de12c92c7cb34dc8a201a6c53d9bd88a5f1" - integrity sha512-jNIIeokznm8SD/TZISQsZKYu7RJyheFNt84DUPrh482GC8RVp2MKqm2O5oBRdGxbDQoXrhhWtPIWQOiy20svUg== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.1" - -string.prototype.padstart@^3.0.0: - version "3.1.3" - resolved "https://registry.yarnpkg.com/string.prototype.padstart/-/string.prototype.padstart-3.1.3.tgz#4551d0117d9501692ec6000b15056ac3f816cfa5" - integrity sha512-NZydyOMtYxpTjGqp0VN5PYUF/tsU15yDMZnUdj16qRUIUiMJkHHSDElYyQFrMu+/WloTpA7MQSiADhBicDfaoA== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.1" - -string.prototype.trimend@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.5.tgz#914a65baaab25fbdd4ee291ca7dde57e869cb8d0" - integrity sha512-I7RGvmjV4pJ7O3kdf+LXFpVfdNOxtCW/2C8f6jNiW4+PQchwxkCDzlk1/7p+Wl4bqFIZeF47qAHXLuHHWKAxog== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.19.5" - -string.prototype.trimstart@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.5.tgz#5466d93ba58cfa2134839f81d7f42437e8c01fef" - integrity sha512-THx16TJCGlsN0o6dl2o6ncWUsdgnLRSA23rRE5pyGBw/mLr3Ej/R2LaqCtgP8VNMGZsvMWnf9ooZPyY2bHvUFg== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.19.5" - -string_decoder@^1.0.0, string_decoder@^1.1.1: +string_decoder@^1.1.1: version "1.3.0" resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== @@ -9325,12 +9157,13 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -strip-ansi@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" - integrity sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg== +stringify-entities@^4.0.0: + version "4.0.3" + resolved "https://registry.yarnpkg.com/stringify-entities/-/stringify-entities-4.0.3.tgz#cfabd7039d22ad30f3cc435b0ca2c1574fc88ef8" + integrity sha512-BP9nNHMhhfcMbiuQKCqMjhDP5yBCAxsPu4pHFFzJ6Alo9dZgY4VLDPutXqIjpRiMoKdp7Av85Gr73Q5uH9k7+g== dependencies: - ansi-regex "^2.0.0" + character-entities-html4 "^2.0.0" + character-entities-legacy "^3.0.0" strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" @@ -9339,25 +9172,18 @@ strip-ansi@^6.0.0, strip-ansi@^6.0.1: dependencies: ansi-regex "^5.0.1" -strip-bom@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e" - integrity sha512-kwrX1y7czp1E69n2ajbG65mIo9dqvJ+8aBQXOGVxqwvNbsXdFM6Lq37dLAY3mknUwru8CfcCbfOLL/gMo+fi3g== +strip-ansi@^7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.0.1.tgz#61740a08ce36b61e50e65653f07060d000975fb2" + integrity sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw== dependencies: - is-utf8 "^0.2.0" + ansi-regex "^6.0.1" strip-final-newline@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== -strip-indent@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-1.0.1.tgz#0c7962a6adefa7bbd4ac366460a638552ae1a0a2" - integrity sha512-I5iQq6aFMM62fBEAIB/hXzwJD6EEZ0xEGCX2t7oXqaKPIRgt4WruAQ285BISgdkP+HLGWyeGmNJcpIwFeRYRUA== - dependencies: - get-stdin "^4.0.1" - strip-indent@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-3.0.0.tgz#c32e1cee940b6b3432c771bc2c54bcce73cd3001" @@ -9365,23 +9191,22 @@ strip-indent@^3.0.0: dependencies: min-indent "^1.0.0" -style-loader@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-1.3.0.tgz#828b4a3b3b7e7aa5847ce7bae9e874512114249e" - integrity sha512-V7TCORko8rs9rIqkSrlMfkqA63DfoGBBJmK1kKGCcSi+BWb4cqz0SRsnp4l6rU5iwOEd0/2ePv68SV22VXon4Q== - dependencies: - loader-utils "^2.0.0" - schema-utils "^2.7.0" +strip-json-comments@^3.0.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" + integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== -style-loader@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-2.0.0.tgz#9669602fd4690740eaaec137799a03addbbc393c" - integrity sha512-Z0gYUJmzZ6ZdRUqpg1r8GsaFKypE+3xAzuFeMuoHgjc9KZv3wMyCRjQIWEbhoFSq7+7yoHXySDJyyWQaPajeiQ== - dependencies: - loader-utils "^2.0.0" - schema-utils "^3.0.0" +strip-json-comments@~2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" + integrity sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ== -style-to-object@0.3.0, style-to-object@^0.3.0: +style-loader@^3.3.1: + version "3.3.1" + resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-3.3.1.tgz#057dfa6b3d4d7c7064462830f9113ed417d38575" + integrity sha512-GPcQ+LDJbrcxHORTRes6Jy2sfvK2kS6hpSfI/fXhPt+spVzxF6LJ1dHLN9zIGmVaaP044YKaIatFaufENRiDoQ== + +style-to-object@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/style-to-object/-/style-to-object-0.3.0.tgz#b1b790d205991cc783801967214979ee19a76e46" integrity sha512-CzFnRRXhzWIdItT3OmF8SQfWyahHhjq3HwcMNCNLn+N7klOOqPjMeG/4JSu77D7ypZdGvSzvkrbyeTMizz2VrA== @@ -9396,10 +9221,10 @@ style-value-types@5.0.0: hey-listen "^1.0.8" tslib "^2.1.0" -stylis@4.0.13: - version "4.0.13" - resolved "https://registry.yarnpkg.com/stylis/-/stylis-4.0.13.tgz#f5db332e376d13cc84ecfe5dace9a2a51d954c91" - integrity sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag== +stylis@4.1.3: + version "4.1.3" + resolved "https://registry.yarnpkg.com/stylis/-/stylis-4.1.3.tgz#fd2fbe79f5fed17c55269e16ed8da14c84d069f7" + integrity sha512-GP6WDNWf+o403jrEp9c5jibKavrtLW+/qYGhFxFrG8maXhwTBI7gLLhiBb0o7uFccWN+EOS9aMO6cGHWAO07OA== supports-color@^5.3.0: version "5.5.0" @@ -9408,7 +9233,7 @@ supports-color@^5.3.0: dependencies: has-flag "^3.0.0" -supports-color@^7.0.0, supports-color@^7.1.0: +supports-color@^7.1.0: version "7.2.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== @@ -9437,43 +9262,16 @@ symbol-tree@^3.2.4: resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== -symbol.prototype.description@^1.0.0: - version "1.0.5" - resolved "https://registry.yarnpkg.com/symbol.prototype.description/-/symbol.prototype.description-1.0.5.tgz#d30e01263b6020fbbd2d2884a6276ce4d49ab568" - integrity sha512-x738iXRYsrAt9WBhRCVG5BtIC3B7CUkFwbHW2zOvGtwM33s7JjrCDyq8V0zgMYVb5ymsL8+qkzzpANH63CPQaQ== - dependencies: - call-bind "^1.0.2" - get-symbol-description "^1.0.0" - has-symbols "^1.0.2" - object.getownpropertydescriptors "^2.1.2" - synchronous-promise@^2.0.15: - version "2.0.15" - resolved "https://registry.yarnpkg.com/synchronous-promise/-/synchronous-promise-2.0.15.tgz#07ca1822b9de0001f5ff73595f3d08c4f720eb8e" - integrity sha512-k8uzYIkIVwmT+TcglpdN50pS2y1BDcUnBPK9iJeGu0Pl1lOI8pD6wtzgw91Pjpe+RxtTncw32tLxs/R0yNL2Mg== + version "2.0.16" + resolved "https://registry.yarnpkg.com/synchronous-promise/-/synchronous-promise-2.0.16.tgz#669b75e86b4295fdcc1bb0498de9ac1af6fd51a9" + integrity sha512-qImOD23aDfnIDNqlG1NOehdB9IYsn1V9oByPjKY1nakv2MQYCEMyX033/q+aEtYCpmYK1cv2+NTmlH+ra6GA5A== -tapable@^1.0.0, tapable@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2" - integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA== - -tapable@^2.0.0, tapable@^2.1.1, tapable@^2.2.0: +tapable@^2.0.0, tapable@^2.1.1, tapable@^2.2.0, tapable@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0" integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== -tar@^6.0.2: - version "6.1.11" - resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.11.tgz#6760a38f003afa1b2ffd0ffe9e9abbd0eab3d621" - integrity sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA== - dependencies: - chownr "^2.0.0" - fs-minipass "^2.0.0" - minipass "^3.0.0" - minizlib "^2.1.1" - mkdirp "^1.0.3" - yallist "^4.0.0" - telejson@^6.0.8: version "6.0.8" resolved "https://registry.yarnpkg.com/telejson/-/telejson-6.0.8.tgz#1c432db7e7a9212c1fbd941c3e5174ec385148f7" @@ -9488,60 +9286,28 @@ telejson@^6.0.8: lodash "^4.17.21" memoizerific "^1.11.3" -terser-webpack-plugin@^1.4.3: - version "1.4.5" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-1.4.5.tgz#a217aefaea330e734ffacb6120ec1fa312d6040b" - integrity sha512-04Rfe496lN8EYruwi6oPQkG0vo8C+HT49X687FZnpPF0qMAIHONI6HEXYPKDOE8e5HjXTyKfqRd/agHtH0kOtw== +temp@^0.8.4: + version "0.8.4" + resolved "https://registry.yarnpkg.com/temp/-/temp-0.8.4.tgz#8c97a33a4770072e0a05f919396c7665a7dd59f2" + integrity sha512-s0ZZzd0BzYv5tLSptZooSjK8oj6C+c19p7Vqta9+6NPOf7r+fxq0cJe6/oN4LTC79sy5NY8ucOJNgwsKCSbfqg== dependencies: - cacache "^12.0.2" - find-cache-dir "^2.1.0" - is-wsl "^1.1.0" - schema-utils "^1.0.0" - serialize-javascript "^4.0.0" - source-map "^0.6.1" - terser "^4.1.2" - webpack-sources "^1.4.0" - worker-farm "^1.7.0" + rimraf "~2.6.2" -terser-webpack-plugin@^4.2.3: - version "4.2.3" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-4.2.3.tgz#28daef4a83bd17c1db0297070adc07fc8cfc6a9a" - integrity sha512-jTgXh40RnvOrLQNgIkwEKnQ8rmHjHK4u+6UBEi+W+FPmvb+uo+chJXntKe7/3lW5mNysgSWD60KyesnhW8D6MQ== +terser-webpack-plugin@^5.1.3, terser-webpack-plugin@^5.3.1: + version "5.3.6" + resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.6.tgz#5590aec31aa3c6f771ce1b1acca60639eab3195c" + integrity sha512-kfLFk+PoLUQIbLmB1+PZDMRSZS99Mp+/MHqDNmMA6tOItzRt+Npe3E+fsMs5mfcM0wCtrrdU387UnV+vnSffXQ== dependencies: - cacache "^15.0.5" - find-cache-dir "^3.3.1" - jest-worker "^26.5.0" - p-limit "^3.0.2" - schema-utils "^3.0.0" - serialize-javascript "^5.0.1" - source-map "^0.6.1" - terser "^5.3.4" - webpack-sources "^1.4.3" - -terser-webpack-plugin@^5.0.3, terser-webpack-plugin@^5.1.3: - version "5.3.3" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.3.tgz#8033db876dd5875487213e87c627bca323e5ed90" - integrity sha512-Fx60G5HNYknNTNQnzQ1VePRuu89ZVYWfjRAeT5rITuCY/1b08s49e5kSQwHDirKZWuoKOBRFS98EUUoZ9kLEwQ== - dependencies: - "@jridgewell/trace-mapping" "^0.3.7" + "@jridgewell/trace-mapping" "^0.3.14" jest-worker "^27.4.5" schema-utils "^3.1.1" serialize-javascript "^6.0.0" - terser "^5.7.2" + terser "^5.14.1" -terser@^4.1.2, terser@^4.6.3: - version "4.8.0" - resolved "https://registry.yarnpkg.com/terser/-/terser-4.8.0.tgz#63056343d7c70bb29f3af665865a46fe03a0df17" - integrity sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw== - dependencies: - commander "^2.20.0" - source-map "~0.6.1" - source-map-support "~0.5.12" - -terser@^5.10.0, terser@^5.3.4, terser@^5.7.2: - version "5.14.1" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.14.1.tgz#7c95eec36436cb11cf1902cc79ac564741d19eca" - integrity sha512-+ahUAE+iheqBTDxXhTisdA8hgvbEG1hHOQ9xmNjeUJSoi6DU/gMrKNcfZjHkyY6Alnuyc+ikYJaxxfHkT3+WuQ== +terser@^5.10.0, terser@^5.14.1: + version "5.15.1" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.15.1.tgz#8561af6e0fd6d839669c73b92bdd5777d870ed6c" + integrity sha512-K1faMUvpm/FBxjBXud0LWVAGxmvoPbZbfTCYbSgaaYQaIXI3/TdI7a7ZGA73Zrou6Q8Zmz3oeUTsp/dj+ag2Xw== dependencies: "@jridgewell/source-map" "^0.3.2" acorn "^8.5.0" @@ -9557,30 +9323,15 @@ test-exclude@^6.0.0: glob "^7.1.4" minimatch "^3.0.4" -through2@^2.0.0: - version "2.0.5" - resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd" - integrity sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ== - dependencies: - readable-stream "~2.3.6" - xtend "~4.0.1" - thunky@^1.0.2: version "1.1.0" resolved "https://registry.yarnpkg.com/thunky/-/thunky-1.1.0.tgz#5abaf714a9405db0504732bbccd2cedd9ef9537d" integrity sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA== -timers-browserify@^2.0.4: - version "2.0.12" - resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-2.0.12.tgz#44a45c11fbf407f34f97bccd1577c652361b00ee" - integrity sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ== - dependencies: - setimmediate "^1.0.4" - -to-arraybuffer@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43" - integrity sha512-okFlQcoGTi4LQBG/PgSYblw9VOyptsz2KJZqc6qtgGdes8VktzUQkj4BI2blit072iS8VODNcMA+tvnS9dnuMA== +tmpl@1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc" + integrity sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw== to-fast-properties@^2.0.0: version "2.0.0" @@ -9625,20 +9376,14 @@ toidentifier@1.0.1: integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA== tough-cookie@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.0.0.tgz#d822234eeca882f991f0f908824ad2622ddbece4" - integrity sha512-tHdtEpQCMrc1YLrMaqXXcj6AxhYi/xgit6mZu1+EDWUn+qhUf8wMQoFIy9NXuq23zAwtcB0t/MjACGR18pcRbg== + version "4.1.2" + resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.1.2.tgz#e53e84b85f24e0b65dd526f46628db6c85f6b874" + integrity sha512-G9fqXWoYFZgTc2z8Q5zaHy/vJMjm+WV0AkAeHxVCQiEB1b+dGvWzFW6QV07cY5jQ5gRkeid2qIkzkxUnmoQZUQ== dependencies: psl "^1.1.33" punycode "^2.1.1" - universalify "^0.1.2" - -tr46@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/tr46/-/tr46-1.0.1.tgz#a8b13fd6bfd2489519674ccde55ba3693b706d09" - integrity sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA== - dependencies: - punycode "^2.1.0" + universalify "^0.2.0" + url-parse "^1.5.3" tr46@^3.0.0: version "3.0.0" @@ -9652,45 +9397,30 @@ tr46@~0.0.3: resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== -trim-newlines@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613" - integrity sha512-Nm4cF79FhSTzrLKGDMi3I4utBtFv8qKy4sq1enftf2gMdpqI8oVQTAfySkTz5r49giVzDj88SVZXP4CeYQwjaw== +trim-lines@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/trim-lines/-/trim-lines-3.0.1.tgz#d802e332a07df861c48802c04321017b1bd87338" + integrity sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg== -trim-trailing-lines@^1.0.0: - version "1.1.4" - resolved "https://registry.yarnpkg.com/trim-trailing-lines/-/trim-trailing-lines-1.1.4.tgz#bd4abbec7cc880462f10b2c8b5ce1d8d1ec7c2c0" - integrity sha512-rjUWSqnfTNrjbB9NQWfPMH/xRK1deHeGsHoVfpxJ++XeYXE0d6B1En37AHfw3jtfTU7dzMzZL2jjpe8Qb5gLIQ== +trough@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/trough/-/trough-2.1.0.tgz#0f7b511a4fde65a46f18477ab38849b22c554876" + integrity sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g== -trim@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/trim/-/trim-0.0.1.tgz#5858547f6b290757ee95cccc666fb50084c460dd" - integrity sha512-YzQV+TZg4AxpKxaTHK3c3D+kRDCGVEE7LemdlQZoQXn0iennk10RsIoY6ikzAqJTc9Xjl9C1/waHom/J86ziAQ== - -trough@^1.0.0: - version "1.0.5" - resolved "https://registry.yarnpkg.com/trough/-/trough-1.0.5.tgz#b8b639cefad7d0bb2abd37d433ff8293efa5f406" - integrity sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA== - -ts-dedent@^2.0.0: +ts-dedent@^2.0.0, ts-dedent@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/ts-dedent/-/ts-dedent-2.2.0.tgz#39e4bd297cd036292ae2394eb3412be63f563bb5" integrity sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ== -ts-pnp@^1.1.6: - version "1.2.0" - resolved "https://registry.yarnpkg.com/ts-pnp/-/ts-pnp-1.2.0.tgz#a500ad084b0798f1c3071af391e65912c86bca92" - integrity sha512-csd+vJOb/gkzvcCHgTGSChYpy5f1/XKNsmvBGO4JXS+z1v2HobugDz4s1IeFXM3wZB44uczs+eazB5Q/ccdhQw== +tslib@^1.9.3: + version "1.14.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" + integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== -tslib@^2.0.0, tslib@^2.0.1, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" - integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== - -tty-browserify@0.0.0: - version "0.0.0" - resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6" - integrity sha512-JVa5ijo+j/sOoHGjw0sxw734b1LhBkQ3bvUGNdxnVXDCX81Yx7TFgnZygxrIIWn23hbfTaMYLwRmAxFyDuFmIw== +tslib@^2.0.0, tslib@^2.0.1, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.0, tslib@^2.3.1, tslib@^2.4.0: + version "2.4.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.1.tgz#0d0bfbaac2880b91e22df0768e55be9753a5b17e" + integrity sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA== type-check@~0.3.2: version "0.3.2" @@ -9714,6 +9444,16 @@ type-fest@^0.8.1: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== +type-fest@^1.0.1: + version "1.4.0" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-1.4.0.tgz#e9fb813fe3bf1744ec359d55d1affefa76f14be1" + integrity sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA== + +type-fest@^2.13.0, type-fest@^2.19.0: + version "2.19.0" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-2.19.0.tgz#88068015bb33036a598b952e55e9311a60fd3a9b" + integrity sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA== + type-is@~1.6.18: version "1.6.18" resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131" @@ -9722,39 +9462,28 @@ type-is@~1.6.18: media-typer "0.3.0" mime-types "~2.1.24" +typedarray-to-buffer@^3.1.5: + version "3.1.5" + resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080" + integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== + dependencies: + is-typedarray "^1.0.0" + typedarray@^0.0.6: version "0.0.6" resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== uglify-js@^3.1.4: - version "3.16.1" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.16.1.tgz#0e7ec928b3d0b1e1d952bce634c384fd56377317" - integrity sha512-X5BGTIDH8U6IQ1TIRP62YC36k+ULAa1d59BxlWvPUJ1NkW5L3FwcGfEzuVvGmhJFBu0YJ5Ge25tmRISqCmLiRQ== - -unbox-primitive@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz#29032021057d5e6cdbd08c5129c226dff8ed6f9e" - integrity sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw== - dependencies: - call-bind "^1.0.2" - has-bigints "^1.0.2" - has-symbols "^1.0.3" - which-boxed-primitive "^1.0.2" + version "3.17.4" + resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.17.4.tgz#61678cf5fa3f5b7eb789bb345df29afb8257c22c" + integrity sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g== unfetch@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/unfetch/-/unfetch-4.2.0.tgz#7e21b0ef7d363d8d9af0fb929a5555f6ef97a3be" integrity sha512-F9p7yYCn6cIW9El1zi0HI6vqpeIvBsr3dSuRO6Xuppb1u5rXpCPmMvLSyECLhybr9isec8Ohl0hPekMVrEinDA== -unherit@^1.0.4: - version "1.1.3" - resolved "https://registry.yarnpkg.com/unherit/-/unherit-1.1.3.tgz#6c9b503f2b41b262330c80e91c8614abdaa69c22" - integrity sha512-Ft16BJcnapDKp0+J/rqFC3Rrk6Y/Ng4nzsC028k2jdDII/rdZ7Wd3pPT/6+vIIxRagwRc9K0IUX0Ra4fKvw+WQ== - dependencies: - inherits "^2.0.0" - xtend "^4.0.0" - unicode-canonical-property-names-ecmascript@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc" @@ -9768,27 +9497,28 @@ unicode-match-property-ecmascript@^2.0.0: unicode-canonical-property-names-ecmascript "^2.0.0" unicode-property-aliases-ecmascript "^2.0.0" -unicode-match-property-value-ecmascript@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz#1a01aa57247c14c568b89775a54938788189a714" - integrity sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw== +unicode-match-property-value-ecmascript@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.1.0.tgz#cb5fffdcd16a05124f5a4b0bf7c3770208acbbe0" + integrity sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA== unicode-property-aliases-ecmascript@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz#0a36cb9a585c4f6abd51ad1deddb285c165297c8" - integrity sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ== + version "2.1.0" + resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz#43d41e3be698bd493ef911077c9b131f827e8ccd" + integrity sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w== -unified@9.2.0: - version "9.2.0" - resolved "https://registry.yarnpkg.com/unified/-/unified-9.2.0.tgz#67a62c627c40589edebbf60f53edfd4d822027f8" - integrity sha512-vx2Z0vY+a3YoTj8+pttM3tiJHCwY5UFbYdiWrwBEbHmK8pvsPj2rtAX2BFfgXen8T39CJWblWRDT4L5WGXtDdg== +unified@^10.0.0: + version "10.1.2" + resolved "https://registry.yarnpkg.com/unified/-/unified-10.1.2.tgz#b1d64e55dafe1f0b98bb6c719881103ecf6c86df" + integrity sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q== dependencies: - bail "^1.0.0" + "@types/unist" "^2.0.0" + bail "^2.0.0" extend "^3.0.0" is-buffer "^2.0.0" - is-plain-obj "^2.0.0" - trough "^1.0.0" - vfile "^4.0.0" + is-plain-obj "^4.0.0" + trough "^2.0.0" + vfile "^5.0.0" union-value@^1.0.0: version "1.0.1" @@ -9800,60 +9530,63 @@ union-value@^1.0.0: is-extendable "^0.1.1" set-value "^2.0.1" -unique-filename@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-1.1.1.tgz#1d69769369ada0583103a1e6ae87681b56573230" - integrity sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ== +unique-string@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/unique-string/-/unique-string-3.0.0.tgz#84a1c377aff5fd7a8bc6b55d8244b2bd90d75b9a" + integrity sha512-VGXBUVwxKMBUznyffQweQABPRRW1vHZAbadFZud4pLFAqRGvv/96vafgjWFqzourzr8YonlQiPgH0YCJfawoGQ== dependencies: - unique-slug "^2.0.0" + crypto-random-string "^4.0.0" -unique-slug@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-2.0.2.tgz#baabce91083fc64e945b0f3ad613e264f7cd4e6c" - integrity sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w== +unist-builder@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/unist-builder/-/unist-builder-3.0.0.tgz#728baca4767c0e784e1e64bb44b5a5a753021a04" + integrity sha512-GFxmfEAa0vi9i5sd0R2kcrI9ks0r82NasRq5QHh2ysGngrc6GiqD5CDf1FjPenY4vApmFASBIIlk/jj5J5YbmQ== dependencies: - imurmurhash "^0.1.4" + "@types/unist" "^2.0.0" -unist-builder@2.0.3, unist-builder@^2.0.0: - version "2.0.3" - resolved "https://registry.yarnpkg.com/unist-builder/-/unist-builder-2.0.3.tgz#77648711b5d86af0942f334397a33c5e91516436" - integrity sha512-f98yt5pnlMWlzP539tPc4grGMsFaQQlP/vM396b00jngsiINumNmsY8rkXjfoi1c6QaM8nQ3vaGDuoKWbe/1Uw== - -unist-util-generated@^1.0.0: - version "1.1.6" - resolved "https://registry.yarnpkg.com/unist-util-generated/-/unist-util-generated-1.1.6.tgz#5ab51f689e2992a472beb1b35f2ce7ff2f324d4b" - integrity sha512-cln2Mm1/CZzN5ttGK7vkoGw+RZ8VcUH6BtGbq98DDtRGquAAOXig1mrBQYelOwMXYS8rK+vZDyyojSjp7JX+Lg== +unist-util-generated@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/unist-util-generated/-/unist-util-generated-2.0.0.tgz#86fafb77eb6ce9bfa6b663c3f5ad4f8e56a60113" + integrity sha512-TiWE6DVtVe7Ye2QxOVW9kqybs6cZexNwTwSMVgkfjEReqy/xwGpAXb99OxktoWwmL+Z+Epb0Dn8/GNDYP1wnUw== unist-util-is@^4.0.0: version "4.1.0" resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-4.1.0.tgz#976e5f462a7a5de73d94b706bac1b90671b57797" integrity sha512-ZOQSsnce92GrxSqlnEEseX0gi7GH9zTJZ0p9dtu87WRb/37mMPO2Ilx1s/t9vBHrFhbgweUwb+t7cIn5dxPhZg== -unist-util-position@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/unist-util-position/-/unist-util-position-3.1.0.tgz#1c42ee6301f8d52f47d14f62bbdb796571fa2d47" - integrity sha512-w+PkwCbYSFw8vpgWD0v7zRCl1FpY3fjDSQ3/N/wNd9Ffa4gPi8+4keqt99N3XW6F99t/mUzp2xAhNmfKWp95QA== +unist-util-is@^5.0.0: + version "5.1.1" + resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-5.1.1.tgz#e8aece0b102fa9bc097b0fef8f870c496d4a6236" + integrity sha512-F5CZ68eYzuSvJjGhCLPL3cYx45IxkqXSetCcRgUXtbcm50X2L9oOWQlfUfDdAf+6Pd27YDblBfdtmsThXmwpbQ== -unist-util-remove-position@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/unist-util-remove-position/-/unist-util-remove-position-2.0.1.tgz#5d19ca79fdba712301999b2b73553ca8f3b352cc" - integrity sha512-fDZsLYIe2uT+oGFnuZmy73K6ZxOPG/Qcm+w7jbEjaFcJgbQ6cqjs/eSPzXhsmGpAsWPkqZM9pYjww5QTn3LHMA== +unist-util-position-from-estree@^1.0.0, unist-util-position-from-estree@^1.1.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/unist-util-position-from-estree/-/unist-util-position-from-estree-1.1.1.tgz#96f4d543dfb0428edc01ebb928570b602d280c4c" + integrity sha512-xtoY50b5+7IH8tFbkw64gisG9tMSpxDjhX9TmaJJae/XuxQ9R/Kc8Nv1eOsf43Gt4KV/LkriMy9mptDr7XLcaw== dependencies: - unist-util-visit "^2.0.0" + "@types/unist" "^2.0.0" -unist-util-remove@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/unist-util-remove/-/unist-util-remove-2.1.0.tgz#b0b4738aa7ee445c402fda9328d604a02d010588" - integrity sha512-J8NYPyBm4baYLdCbjmf1bhPu45Cr1MWTm77qd9istEkzWpnN6O9tMsEbB2JhNnBCqGENRqEWomQ+He6au0B27Q== +unist-util-position@^4.0.0: + version "4.0.3" + resolved "https://registry.yarnpkg.com/unist-util-position/-/unist-util-position-4.0.3.tgz#5290547b014f6222dff95c48d5c3c13a88fadd07" + integrity sha512-p/5EMGIa1qwbXjA+QgcBXaPWjSnZfQ2Sc3yBEEfgPwsEmJd8Qh+DSk3LGnmOM4S1bY2C0AjmMnB8RuEYxpPwXQ== dependencies: - unist-util-is "^4.0.0" + "@types/unist" "^2.0.0" -unist-util-stringify-position@^2.0.0: - version "2.0.3" - resolved "https://registry.yarnpkg.com/unist-util-stringify-position/-/unist-util-stringify-position-2.0.3.tgz#cce3bfa1cdf85ba7375d1d5b17bdc4cada9bd9da" - integrity sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g== +unist-util-remove-position@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/unist-util-remove-position/-/unist-util-remove-position-4.0.1.tgz#d5b46a7304ac114c8d91990ece085ca7c2c135c8" + integrity sha512-0yDkppiIhDlPrfHELgB+NLQD5mfjup3a8UYclHruTJWmY74je8g+CIFr79x5f6AkmzSwlvKLbs63hC0meOMowQ== dependencies: - "@types/unist" "^2.0.2" + "@types/unist" "^2.0.0" + unist-util-visit "^4.0.0" + +unist-util-stringify-position@^3.0.0: + version "3.0.2" + resolved "https://registry.yarnpkg.com/unist-util-stringify-position/-/unist-util-stringify-position-3.0.2.tgz#5c6aa07c90b1deffd9153be170dce628a869a447" + integrity sha512-7A6eiDCs9UtjcwZOcCpM4aPII3bAAGv13E96IkawkOAW0OhH+yRxtY0lzo8KiHpzEMfH7Q+FizUmwp8Iqy5EWg== + dependencies: + "@types/unist" "^2.0.0" unist-util-visit-parents@^3.0.0: version "3.1.1" @@ -9863,7 +9596,15 @@ unist-util-visit-parents@^3.0.0: "@types/unist" "^2.0.0" unist-util-is "^4.0.0" -unist-util-visit@2.0.3, unist-util-visit@^2.0.0: +unist-util-visit-parents@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-5.1.1.tgz#868f353e6fce6bf8fa875b251b0f4fec3be709bb" + integrity sha512-gks4baapT/kNRaWxuGkl5BIhoanZo7sC/cUT/JToSRNL1dYoXRFl75d++NkjYk4TAu2uv2Px+l8guMajogeuiw== + dependencies: + "@types/unist" "^2.0.0" + unist-util-is "^5.0.0" + +unist-util-visit@^2.0.0: version "2.0.3" resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-2.0.3.tgz#c3703893146df47203bb8a9795af47d7b971208c" integrity sha512-iJ4/RczbJMkD0712mGktuGpm/U4By4FfDonL7N/9tATGIF4imikjOuagyMY53tnZq3NP6BcmlrHhEKAfGWjh7Q== @@ -9872,10 +9613,19 @@ unist-util-visit@2.0.3, unist-util-visit@^2.0.0: unist-util-is "^4.0.0" unist-util-visit-parents "^3.0.0" -universalify@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" - integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== +unist-util-visit@^4.0.0: + version "4.1.1" + resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-4.1.1.tgz#1c4842d70bd3df6cc545276f5164f933390a9aad" + integrity sha512-n9KN3WV9k4h1DxYR1LoajgN93wpEi/7ZplVe02IoB4gH5ctI1AaF2670BLHQYbwj+pY83gFtyeySFiyMHJklrg== + dependencies: + "@types/unist" "^2.0.0" + unist-util-is "^5.0.0" + unist-util-visit-parents "^5.1.1" + +universalify@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.2.0.tgz#6451760566fa857534745ab1dde952d1b1761be0" + integrity sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg== universalify@^2.0.0: version "2.0.0" @@ -9887,6 +9637,16 @@ unpipe@1.0.0, unpipe@~1.0.0: resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ== +unplugin@^0.10.2: + version "0.10.2" + resolved "https://registry.yarnpkg.com/unplugin/-/unplugin-0.10.2.tgz#0f7089c3666f592cc448d746e39e7f41e9afb01a" + integrity sha512-6rk7GUa4ICYjae5PrAllvcDeuT8pA9+j5J5EkxbMFaV+SalHhxZ7X2dohMzu6C3XzsMT+6jwR/+pwPNR3uK9MA== + dependencies: + acorn "^8.8.0" + chokidar "^3.5.3" + webpack-sources "^3.2.3" + webpack-virtual-modules "^0.4.5" + unset-value@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559" @@ -9895,26 +9655,39 @@ unset-value@^1.0.0: has-value "^0.3.1" isobject "^3.0.0" -untildify@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/untildify/-/untildify-2.1.0.tgz#17eb2807987f76952e9c0485fc311d06a826a2e0" - integrity sha512-sJjbDp2GodvkB0FZZcn7k6afVisqX5BZD7Yq3xp4nN2O15BBK0cLm3Vwn2vQaF7UDS0UUsrQMkkplmDI5fskig== - dependencies: - os-homedir "^1.0.0" +untildify@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/untildify/-/untildify-4.0.0.tgz#2bc947b953652487e4600949fb091e3ae8cd919b" + integrity sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw== -upath@^1.1.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/upath/-/upath-1.2.0.tgz#8f66dbcd55a883acdae4408af8b035a5044c1894" - integrity sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg== - -update-browserslist-db@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.4.tgz#dbfc5a789caa26b1db8990796c2c8ebbce304824" - integrity sha512-jnmO2BEGUjsMOe/Fg9u0oczOe/ppIDZPebzccl1yDWGLFP16Pa1/RM5wEoKYPG2zstNcDuAStejyxsOuKINdGA== +update-browserslist-db@^1.0.9: + version "1.0.10" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz#0f54b876545726f17d00cd9a2561e6dade943ff3" + integrity sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ== dependencies: escalade "^3.1.1" picocolors "^1.0.0" +update-notifier@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-6.0.2.tgz#a6990253dfe6d5a02bd04fbb6a61543f55026b60" + integrity sha512-EDxhTEVPZZRLWYcJ4ZXjGFN0oP7qYvbXWzEgRm/Yql4dHX5wDbvh89YHP6PK1lzZJYrMtXUuZZz8XGK+U6U1og== + dependencies: + boxen "^7.0.0" + chalk "^5.0.1" + configstore "^6.0.0" + has-yarn "^3.0.0" + import-lazy "^4.0.0" + is-ci "^3.0.1" + is-installed-globally "^0.4.0" + is-npm "^6.0.0" + is-yarn-global "^0.4.0" + latest-version "^7.0.0" + pupa "^3.1.0" + semver "^7.3.7" + semver-diff "^4.0.0" + xdg-basedir "^5.1.0" + uri-js@^4.2.2: version "4.4.1" resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" @@ -9927,22 +9700,13 @@ urix@^0.1.0: resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" integrity sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg== -url-loader@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/url-loader/-/url-loader-4.1.1.tgz#28505e905cae158cf07c92ca622d7f237e70a4e2" - integrity sha512-3BTV812+AVHHOJQO8O5MkWgZ5aosP7GnROJwvzLS9hWDj00lZ6Z0wNak423Lp9PBZN05N+Jk/N5Si8jRAlGyWA== +url-parse@^1.5.3: + version "1.5.10" + resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.10.tgz#9d3c2f736c1d75dd3bd2be507dcc111f1e2ea9c1" + integrity sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ== dependencies: - loader-utils "^2.0.0" - mime-types "^2.1.27" - schema-utils "^3.0.0" - -url@^0.11.0: - version "0.11.0" - resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" - integrity sha512-kbailJa29QrtXnxgq+DdCEGlbTeYM2eJUxsz6vjZavrCYPMIFHMKQmSKYAIuUK2i7hgPm28a8piX5NTUtM/LKQ== - dependencies: - punycode "1.3.2" - querystring "0.2.0" + querystringify "^2.1.1" + requires-port "^1.0.0" use@^3.1.0: version "3.1.1" @@ -9954,27 +9718,16 @@ util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1: resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== -util.promisify@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/util.promisify/-/util.promisify-1.0.0.tgz#440f7165a459c9a16dc145eb8e72f35687097030" - integrity sha512-i+6qA2MPhvoKLuxnJNpXAGhg7HphQOSUq2LKMZD0m15EiskXUkMvKdF4Uui0WYeCUGea+o2cw/ZuwehtfsrNkA== +util@^0.12.4: + version "0.12.5" + resolved "https://registry.yarnpkg.com/util/-/util-0.12.5.tgz#5f17a6059b73db61a875668781a1c2b136bd6fbc" + integrity sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA== dependencies: - define-properties "^1.1.2" - object.getownpropertydescriptors "^2.0.3" - -util@0.10.3: - version "0.10.3" - resolved "https://registry.yarnpkg.com/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9" - integrity sha512-5KiHfsmkqacuKjkRkdV7SsfDJ2EGiPsK92s2MhNSY0craxjTdKTtqKsJaCWp4LW33ZZ0OPUv1WO/TFvNQRiQxQ== - dependencies: - inherits "2.0.1" - -util@^0.11.0: - version "0.11.1" - resolved "https://registry.yarnpkg.com/util/-/util-0.11.1.tgz#3236733720ec64bb27f6e26f421aaa2e1b588d61" - integrity sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ== - dependencies: - inherits "2.0.3" + inherits "^2.0.3" + is-arguments "^1.0.4" + is-generator-function "^1.0.7" + is-typed-array "^1.1.3" + which-typed-array "^1.1.2" utila@~0.4: version "0.4.0" @@ -9986,16 +9739,26 @@ utils-merge@1.0.1: resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" integrity sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA== -uuid@^3.3.2: - version "3.4.0" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" - integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== +uuid-browser@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/uuid-browser/-/uuid-browser-3.1.0.tgz#0f05a40aef74f9e5951e20efbf44b11871e56410" + integrity sha512-dsNgbLaTrd6l3MMxTtouOCFw4CBFc/3a+GgYA2YyrJvyQ1u6q4pcu3ktLoUZ/VN/Aw9WsauazbgsgdfVWgAKQg== uuid@^8.3.2: version "8.3.2" resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== +uvu@^0.5.0: + version "0.5.6" + resolved "https://registry.yarnpkg.com/uvu/-/uvu-0.5.6.tgz#2754ca20bcb0bb59b64e9985e84d2e81058502df" + integrity sha512-+g8ENReyr8YsOc6fv/NVJs2vFdHBnBNdfE49rshrTzDWOlUx4Gq7KOS2GD8eqhy2j+Ejq29+SbKH8yjkAqXqoA== + dependencies: + dequal "^2.0.0" + diff "^5.0.0" + kleur "^4.0.3" + sade "^1.7.3" + v8-to-istanbul@^9.0.0: version "9.0.1" resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz#b6f994b0b5d4ef255e17a0d17dc444a9f5132fa4" @@ -10018,33 +9781,31 @@ vary@~1.1.2: resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== -vfile-location@^3.0.0, vfile-location@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/vfile-location/-/vfile-location-3.2.0.tgz#d8e41fbcbd406063669ebf6c33d56ae8721d0f3c" - integrity sha512-aLEIZKv/oxuCDZ8lkJGhuhztf/BW4M+iHdCwglA/eWc+vtuRFJj8EtgceYFX4LRjOhCAAiNHsKGssC6onJ+jbA== - -vfile-message@^2.0.0: - version "2.0.4" - resolved "https://registry.yarnpkg.com/vfile-message/-/vfile-message-2.0.4.tgz#5b43b88171d409eae58477d13f23dd41d52c371a" - integrity sha512-DjssxRGkMvifUOJre00juHoP9DPWuzjxKuMDrhNbk2TdaYYBNMStsNhEOt3idrtI12VQYM/1+iM0KOzXi4pxwQ== +vfile-location@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/vfile-location/-/vfile-location-4.0.1.tgz#06f2b9244a3565bef91f099359486a08b10d3a95" + integrity sha512-JDxPlTbZrZCQXogGheBHjbRWjESSPEak770XwWPfw5mTc1v1nWGLB/apzZxsx8a0SJVfF8HK8ql8RD308vXRUw== dependencies: "@types/unist" "^2.0.0" - unist-util-stringify-position "^2.0.0" + vfile "^5.0.0" -vfile@^4.0.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/vfile/-/vfile-4.2.1.tgz#03f1dce28fc625c625bc6514350fbdb00fa9e624" - integrity sha512-O6AE4OskCG5S1emQ/4gl8zK586RqA3srz3nfK/Viy0UPToBc5Trp9BVFb1u0CjsKrAWwnpr4ifM/KBXPWwJbCA== +vfile-message@^3.0.0: + version "3.1.3" + resolved "https://registry.yarnpkg.com/vfile-message/-/vfile-message-3.1.3.tgz#1360c27a99234bebf7bddbbbca67807115e6b0dd" + integrity sha512-0yaU+rj2gKAyEk12ffdSbBfjnnj+b1zqTBv3OQCTn8yEB02bsPizwdBPrLJjHnK+cU9EMMcUnNv938XcZIkmdA== + dependencies: + "@types/unist" "^2.0.0" + unist-util-stringify-position "^3.0.0" + +vfile@^5.0.0: + version "5.3.6" + resolved "https://registry.yarnpkg.com/vfile/-/vfile-5.3.6.tgz#61b2e70690cc835a5d0d0fd135beae74e5a39546" + integrity sha512-ADBsmerdGBs2WYckrLBEmuETSPyTD4TuLxTrw0DvjirxW1ra4ZwkbzG8ndsv3Q57smvHxo677MHaQrY9yxH8cA== dependencies: "@types/unist" "^2.0.0" is-buffer "^2.0.0" - unist-util-stringify-position "^2.0.0" - vfile-message "^2.0.0" - -vm-browserify@^1.0.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0" - integrity sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ== + unist-util-stringify-position "^3.0.0" + vfile-message "^3.0.0" w3c-hr-time@^1.0.2: version "1.0.2" @@ -10060,6 +9821,13 @@ w3c-xmlserializer@^3.0.0: dependencies: xml-name-validator "^4.0.0" +walker@^1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.8.tgz#bd498db477afe573dc04185f011d3ab8a8d7653f" + integrity sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ== + dependencies: + makeerror "1.0.12" + warning@^4.0.2: version "4.0.3" resolved "https://registry.yarnpkg.com/warning/-/warning-4.0.3.tgz#16e9e077eb8a86d6af7d64aa1e05fd85b4678ca3" @@ -10067,25 +9835,7 @@ warning@^4.0.2: dependencies: loose-envify "^1.0.0" -watchpack-chokidar2@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/watchpack-chokidar2/-/watchpack-chokidar2-2.0.1.tgz#38500072ee6ece66f3769936950ea1771be1c957" - integrity sha512-nCFfBIPKr5Sh61s4LPpy1Wtfi0HE8isJ3d2Yb5/Ppw2P2B/3eVSEBjKfN0fmHJSK14+31KwMKmcrzs2GM4P0Ww== - dependencies: - chokidar "^2.1.8" - -watchpack@^1.7.4: - version "1.7.5" - resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.7.5.tgz#1267e6c55e0b9b5be44c2023aed5437a2c26c453" - integrity sha512-9P3MWk6SrKjHsGkLT2KHXdQ/9SNkyoJbabxnKOoJepsvJjJG8uYTR3yTPxPQvNDI3w4Nz1xnE0TLHK4RIVe/MQ== - dependencies: - graceful-fs "^4.1.2" - neo-async "^2.5.0" - optionalDependencies: - chokidar "^3.4.1" - watchpack-chokidar2 "^2.0.1" - -watchpack@^2.2.0, watchpack@^2.3.1: +watchpack@^2.2.0, watchpack@^2.4.0: version "2.4.0" resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.0.tgz#fa33032374962c78113f93c7f2fb4c54c9862a5d" integrity sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg== @@ -10100,21 +9850,11 @@ wbuf@^1.1.0, wbuf@^1.7.3: dependencies: minimalistic-assert "^1.0.0" -web-namespaces@^1.0.0: - version "1.1.4" - resolved "https://registry.yarnpkg.com/web-namespaces/-/web-namespaces-1.1.4.tgz#bc98a3de60dadd7faefc403d1076d529f5e030ec" - integrity sha512-wYxSGajtmoP4WxfejAPIr4l0fVh+jeMXZb08wNc0tMg6xsfZXj3cECqIK0G7ZAqUq0PP8WlMDtaOGVBTAWztNw== - webidl-conversions@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== -webidl-conversions@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" - integrity sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg== - webidl-conversions@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-7.0.0.tgz#256b4e1882be7debbf01d05f0aa2039778ea080a" @@ -10138,29 +9878,6 @@ webpack-cli@^4.9.2: rechoir "^0.7.0" webpack-merge "^5.7.3" -webpack-dev-middleware@^3.7.3: - version "3.7.3" - resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-3.7.3.tgz#0639372b143262e2b84ab95d3b91a7597061c2c5" - integrity sha512-djelc/zGiz9nZj/U7PTBi2ViorGJXEWo/3ltkPbDyxCXhhEXkW0ce99falaok4TPj+AsxLiXJR0EBOb0zh9fKQ== - dependencies: - memory-fs "^0.4.1" - mime "^2.4.4" - mkdirp "^0.5.1" - range-parser "^1.2.1" - webpack-log "^2.0.0" - -webpack-dev-middleware@^4.1.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-4.3.0.tgz#179cc40795882cae510b1aa7f3710cbe93c9333e" - integrity sha512-PjwyVY95/bhBh6VUqt6z4THplYcsvQ8YNNBTBM873xLVmw8FLeALn0qurHbs9EmcfhzQis/eoqypSnZeuUz26w== - dependencies: - colorette "^1.2.2" - mem "^8.1.1" - memfs "^3.2.2" - mime-types "^2.1.30" - range-parser "^1.2.1" - schema-utils "^3.0.0" - webpack-dev-middleware@^5.3.1: version "5.3.3" resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-5.3.3.tgz#efae67c2793908e7311f1d9b06f2a08dcc97e51f" @@ -10173,9 +9890,9 @@ webpack-dev-middleware@^5.3.1: schema-utils "^4.0.0" webpack-dev-server@^4.9.0: - version "4.9.2" - resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-4.9.2.tgz#c188db28c7bff12f87deda2a5595679ebbc3c9bc" - integrity sha512-H95Ns95dP24ZsEzO6G9iT+PNw4Q7ltll1GfJHV4fKphuHWgKFzGHWi4alTlTnpk1SPPk41X+l2RB7rLfIhnB9Q== + version "4.11.1" + resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-4.11.1.tgz#ae07f0d71ca0438cf88446f09029b92ce81380b5" + integrity sha512-lILVz9tAUy1zGFwieuaQtYiadImb5M3d+H+L1zDYalYoDl0cksAB1UNyuE5MMWJrG6zR1tXkCP2fitl7yoUJiw== dependencies: "@types/bonjour" "^3.5.9" "@types/connect-history-api-fallback" "^1.3.5" @@ -10189,7 +9906,7 @@ webpack-dev-server@^4.9.0: chokidar "^3.5.3" colorette "^2.0.10" compression "^1.7.4" - connect-history-api-fallback "^1.6.0" + connect-history-api-fallback "^2.0.0" default-gateway "^6.0.3" express "^4.17.3" graceful-fs "^4.2.6" @@ -10200,36 +9917,22 @@ webpack-dev-server@^4.9.0: p-retry "^4.5.0" rimraf "^3.0.2" schema-utils "^4.0.0" - selfsigned "^2.0.1" + selfsigned "^2.1.1" serve-index "^1.9.1" sockjs "^0.3.24" spdy "^4.0.2" webpack-dev-middleware "^5.3.1" ws "^8.4.2" -webpack-filter-warnings-plugin@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/webpack-filter-warnings-plugin/-/webpack-filter-warnings-plugin-1.2.1.tgz#dc61521cf4f9b4a336fbc89108a75ae1da951cdb" - integrity sha512-Ez6ytc9IseDMLPo0qCuNNYzgtUl8NovOqjIq4uAU8LTD4uoa1w1KpZyyzFtLTEMZpkkOkLfL9eN+KGYdk1Qtwg== - webpack-hot-middleware@^2.25.1: - version "2.25.1" - resolved "https://registry.yarnpkg.com/webpack-hot-middleware/-/webpack-hot-middleware-2.25.1.tgz#581f59edf0781743f4ca4c200fd32c9266c6cf7c" - integrity sha512-Koh0KyU/RPYwel/khxbsDz9ibDivmUbrRuKSSQvW42KSDdO4w23WI3SkHpSUKHE76LrFnnM/L7JCrpBwu8AXYw== + version "2.25.3" + resolved "https://registry.yarnpkg.com/webpack-hot-middleware/-/webpack-hot-middleware-2.25.3.tgz#be343ce2848022cfd854dd82820cd730998c6794" + integrity sha512-IK/0WAHs7MTu1tzLTjio73LjS3Ov+VvBKQmE8WPlJutgG5zT6Urgq/BbAdRrHTRpyzK0dvAvFh1Qg98akxgZpA== dependencies: ansi-html-community "0.0.8" html-entities "^2.1.0" - querystring "^0.2.0" strip-ansi "^6.0.0" -webpack-log@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/webpack-log/-/webpack-log-2.0.0.tgz#5b7928e0637593f119d32f6227c1e0ac31e1b47f" - integrity sha512-cX8G2vR/85UYG59FgkoMamwHUIkSSlV3bBMRsbxVXVUk2j6NleCKjQ/WE9eYg9WY4w25O9w8wKP4rzNZFmUcUg== - dependencies: - ansi-colors "^3.0.0" - uuid "^3.3.2" - webpack-merge@^5.7.3, webpack-merge@^5.8.0: version "5.8.0" resolved "https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-5.8.0.tgz#2b39dbf22af87776ad744c390223731d30a68f61" @@ -10238,75 +9941,31 @@ webpack-merge@^5.7.3, webpack-merge@^5.8.0: clone-deep "^4.0.1" wildcard "^2.0.0" -webpack-sources@^1.4.0, webpack-sources@^1.4.1, webpack-sources@^1.4.3: - version "1.4.3" - resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.4.3.tgz#eedd8ec0b928fbf1cbfe994e22d2d890f330a933" - integrity sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ== - dependencies: - source-list-map "^2.0.0" - source-map "~0.6.1" - webpack-sources@^3.2.3: version "3.2.3" resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.2.3.tgz#2d4daab8451fd4b240cc27055ff6a0c2ccea0cde" integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== -webpack-virtual-modules@^0.2.2: - version "0.2.2" - resolved "https://registry.yarnpkg.com/webpack-virtual-modules/-/webpack-virtual-modules-0.2.2.tgz#20863dc3cb6bb2104729fff951fbe14b18bd0299" - integrity sha512-kDUmfm3BZrei0y+1NTHJInejzxfhtU8eDj2M7OKb2IWrPFAeO1SOH2KuQ68MSZu9IGEHcxbkKKR1v18FrUSOmA== - dependencies: - debug "^3.0.0" +webpack-virtual-modules@^0.4.3, webpack-virtual-modules@^0.4.5: + version "0.4.6" + resolved "https://registry.yarnpkg.com/webpack-virtual-modules/-/webpack-virtual-modules-0.4.6.tgz#3e4008230731f1db078d9cb6f68baf8571182b45" + integrity sha512-5tyDlKLqPfMqjT3Q9TAqf2YqjwmnUleZwzJi1A5qXnlBCdj2AtOJ6wAWdglTIDOPgOiOrXeBeFcsQ8+aGQ6QbA== -webpack-virtual-modules@^0.4.1: - version "0.4.4" - resolved "https://registry.yarnpkg.com/webpack-virtual-modules/-/webpack-virtual-modules-0.4.4.tgz#a19fcf371923c59c4712d63d7d194b1e4d8262cc" - integrity sha512-h9atBP/bsZohWpHnr+2sic8Iecb60GxftXsWNLLLSqewgIsGzByd2gcIID4nXcG+3tNe4GQG3dLcff3kXupdRA== - -webpack@4: - version "4.46.0" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.46.0.tgz#bf9b4404ea20a073605e0a011d188d77cb6ad542" - integrity sha512-6jJuJjg8znb/xRItk7bkT0+Q7AHCYjjFnvKIWQPkNIOyRqoCGvkOs0ipeQzrqz4l5FtN5ZI/ukEHroeX/o1/5Q== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/helper-module-context" "1.9.0" - "@webassemblyjs/wasm-edit" "1.9.0" - "@webassemblyjs/wasm-parser" "1.9.0" - acorn "^6.4.1" - ajv "^6.10.2" - ajv-keywords "^3.4.1" - chrome-trace-event "^1.0.2" - enhanced-resolve "^4.5.0" - eslint-scope "^4.0.3" - json-parse-better-errors "^1.0.2" - loader-runner "^2.4.0" - loader-utils "^1.2.3" - memory-fs "^0.4.1" - micromatch "^3.1.10" - mkdirp "^0.5.3" - neo-async "^2.6.1" - node-libs-browser "^2.2.1" - schema-utils "^1.0.0" - tapable "^1.1.3" - terser-webpack-plugin "^1.4.3" - watchpack "^1.7.4" - webpack-sources "^1.4.1" - -"webpack@>=4.43.0 <6.0.0", webpack@^5.72.1, webpack@^5.9.0: - version "5.73.0" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.73.0.tgz#bbd17738f8a53ee5760ea2f59dce7f3431d35d38" - integrity sha512-svjudQRPPa0YiOYa2lM/Gacw0r6PvxptHj4FuEKQ2kX05ZLkjbVc5MnPs6its5j7IZljnIqSVo/OsY2X0IpHGA== +webpack@5, webpack@^5.72.1: + version "5.75.0" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.75.0.tgz#1e440468647b2505860e94c9ff3e44d5b582c152" + integrity sha512-piaIaoVJlqMsPtX/+3KTTO6jfvrSYgauFVdt8cr9LTHKmcq/AMd4mhzsiP7ZF/PGRNPGA8336jldh9l2Kt2ogQ== dependencies: "@types/eslint-scope" "^3.7.3" "@types/estree" "^0.0.51" "@webassemblyjs/ast" "1.11.1" "@webassemblyjs/wasm-edit" "1.11.1" "@webassemblyjs/wasm-parser" "1.11.1" - acorn "^8.4.1" + acorn "^8.7.1" acorn-import-assertions "^1.7.6" browserslist "^4.14.5" chrome-trace-event "^1.0.2" - enhanced-resolve "^5.9.3" + enhanced-resolve "^5.10.0" es-module-lexer "^0.9.0" eslint-scope "5.1.1" events "^3.2.0" @@ -10319,7 +9978,7 @@ webpack@4: schema-utils "^3.1.0" tapable "^2.1.1" terser-webpack-plugin "^5.1.3" - watchpack "^2.3.1" + watchpack "^2.4.0" webpack-sources "^3.2.3" websocket-driver@>=0.5.1, websocket-driver@^0.7.4: @@ -10372,15 +10031,6 @@ whatwg-url@^5.0.0: tr46 "~0.0.3" webidl-conversions "^3.0.0" -whatwg-url@^7.0.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-7.1.0.tgz#c2c492f1eca612988efd3d2266be1b9fc6170d06" - integrity sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg== - dependencies: - lodash.sortby "^4.7.0" - tr46 "^1.0.1" - webidl-conversions "^4.0.2" - which-boxed-primitive@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz#13757bc89b209b049fe5d86430e21cf40a89a8e6" @@ -10392,6 +10042,28 @@ which-boxed-primitive@^1.0.2: is-string "^1.0.5" is-symbol "^1.0.3" +which-collection@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/which-collection/-/which-collection-1.0.1.tgz#70eab71ebbbd2aefaf32f917082fc62cdcb70906" + integrity sha512-W8xeTUwaln8i3K/cY1nGXzdnVZlidBcagyNFtBdD5kxnb4TvGKR7FfSIS3mYpwWS1QUCutfKz8IY8RjftB0+1A== + dependencies: + is-map "^2.0.1" + is-set "^2.0.1" + is-weakmap "^2.0.1" + is-weakset "^2.0.1" + +which-typed-array@^1.1.2, which-typed-array@^1.1.8: + version "1.1.9" + resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.9.tgz#307cf898025848cf995e795e8423c7f337efbde6" + integrity sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA== + dependencies: + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + for-each "^0.3.3" + gopd "^1.0.1" + has-tostringtag "^1.0.0" + is-typed-array "^1.1.10" + which@^2.0.1: version "2.0.2" resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" @@ -10413,6 +10085,13 @@ widest-line@^3.1.0: dependencies: string-width "^4.0.0" +widest-line@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/widest-line/-/widest-line-4.0.1.tgz#a0fc673aaba1ea6f0a0d35b3c2795c9a9cc2ebf2" + integrity sha512-o0cyEG0e8GPzT4iGHphIOh0cJOV8fivsXxddQasHPHfoZf1ZexrfeA21w2NaEN1RHE+fXlfISmOE8R9N3u3Qig== + dependencies: + string-width "^5.0.1" + wildcard@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/wildcard/-/wildcard-2.0.0.tgz#a77d20e5200c6faaac979e4b3aadc7b3dd7f8fec" @@ -10428,20 +10107,6 @@ wordwrap@^1.0.0: resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q== -worker-farm@^1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/worker-farm/-/worker-farm-1.7.0.tgz#26a94c5391bbca926152002f69b84a4bf772e5a8" - integrity sha512-rvw3QTZc8lAxyVrqcSGVm5yP/IJ2UcB3U0graE3LCFoZ0Yn2x4EoVSqJKdB/T5M+FLcRPjz4TDacRf3OCfNUzw== - dependencies: - errno "~0.1.7" - -worker-rpc@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/worker-rpc/-/worker-rpc-0.1.1.tgz#cb565bd6d7071a8f16660686051e969ad32f54d5" - integrity sha512-P1WjMrUB3qgJNI9jfmpZ/htmBEjFh//6l/5y8SD9hg1Ef5zTTVVoRjTrTEzPrNBQvmhMxkoTsjOXN10GWU7aCg== - dependencies: - microevent.ts "~0.1.1" - wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" @@ -10451,22 +10116,63 @@ wrap-ansi@^7.0.0: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.0.1.tgz#2101e861777fec527d0ea90c57c6b03aac56a5b3" + integrity sha512-QFF+ufAqhoYHvoHdajT/Po7KoXVBPXS2bgjIam5isfWJPfIOnQZ50JtUiVvCv/sjgacf3yRrt2ZKUZ/V4itN4g== + dependencies: + ansi-styles "^6.1.0" + string-width "^5.0.1" + strip-ansi "^7.0.1" + wrappy@1: version "1.0.2" resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== -ws@^8.2.3, ws@^8.4.2: - version "8.8.0" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.8.0.tgz#8e71c75e2f6348dbf8d78005107297056cb77769" - integrity sha512-JDAgSYQ1ksuwqfChJusw1LSJ8BizJ2e/vVu5Lxjq3YvNJNlROv1ui4i+c/kUUrPheBvQl4c5UbERhTwKa6QBJQ== +write-file-atomic@^2.3.0: + version "2.4.3" + resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-2.4.3.tgz#1fd2e9ae1df3e75b8d8c367443c692d4ca81f481" + integrity sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ== + dependencies: + graceful-fs "^4.1.11" + imurmurhash "^0.1.4" + signal-exit "^3.0.2" -x-default-browser@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/x-default-browser/-/x-default-browser-0.4.0.tgz#70cf0da85da7c0ab5cb0f15a897f2322a6bdd481" - integrity sha512-7LKo7RtWfoFN/rHx1UELv/2zHGMx8MkZKDq1xENmOCTkfIqZJ0zZ26NEJX8czhnPXVcqS0ARjjfJB+eJ0/5Cvw== - optionalDependencies: - default-browser-id "^1.0.4" +write-file-atomic@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-3.0.3.tgz#56bd5c5a5c70481cd19c571bd39ab965a5de56e8" + integrity sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q== + dependencies: + imurmurhash "^0.1.4" + is-typedarray "^1.0.0" + signal-exit "^3.0.2" + typedarray-to-buffer "^3.1.5" + +write-file-atomic@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-4.0.2.tgz#a9df01ae5b77858a027fd2e80768ee433555fcfd" + integrity sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg== + dependencies: + imurmurhash "^0.1.4" + signal-exit "^3.0.7" + +ws@^6.1.0: + version "6.2.2" + resolved "https://registry.yarnpkg.com/ws/-/ws-6.2.2.tgz#dd5cdbd57a9979916097652d78f1cc5faea0c32e" + integrity sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw== + dependencies: + async-limiter "~1.0.0" + +ws@^8.2.3, ws@^8.4.2: + version "8.11.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.11.0.tgz#6a0d36b8edfd9f96d8b25683db2f8d7de6e8e143" + integrity sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg== + +xdg-basedir@^5.0.1, xdg-basedir@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-5.1.0.tgz#1efba19425e73be1bc6f2a6ceb52a3d2c884c0c9" + integrity sha512-GCPAHLvrIH13+c0SuacwvRYj2SxJXQ4kaVTT5xgL3kPrz56XxkF21IGhjSE1+W0aw7gpBWRGXLCPnPby6lSpmQ== xml-name-validator@^4.0.0: version "4.0.0" @@ -10478,32 +10184,22 @@ xmlchars@^2.2.0: resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb" integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw== -xtend@^4.0.0, xtend@^4.0.1, xtend@~4.0.1: +xtend@^4.0.0: version "4.0.2" resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== -y18n@^4.0.0: - version "4.0.3" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.3.tgz#b5f259c82cd6e336921efd7bfd8bf560de9eeedf" - integrity sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ== - y18n@^5.0.5: version "5.0.8" resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== -yallist@^3.0.2: - version "3.1.1" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" - integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== - yallist@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== -yaml@^1.10.0, yaml@^1.7.2: +yaml@^1.10.0: version "1.10.2" resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== @@ -10526,12 +10222,20 @@ yargs@^16.2.0: y18n "^5.0.5" yargs-parser "^20.2.2" +yauzl@^2.10.0: + version "2.10.0" + resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.10.0.tgz#c7eb17c93e112cb1086fa6d8e51fb0667b79a5f9" + integrity sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g== + dependencies: + buffer-crc32 "~0.2.3" + fd-slicer "~1.1.0" + yocto-queue@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== -zwitch@^1.0.0: - version "1.0.5" - resolved "https://registry.yarnpkg.com/zwitch/-/zwitch-1.0.5.tgz#d11d7381ffed16b742f6af7b3f223d5cd9fe9920" - integrity sha512-V50KMwwzqJV0NpZIZFwfOD5/lyny3WlSzRiXgA0G7VUnRlqttta1L6UQIHzd6EuBY/cHGfwTIck7w1yH6Q5zUw== +zwitch@^2.0.0: + version "2.0.4" + resolved "https://registry.yarnpkg.com/zwitch/-/zwitch-2.0.4.tgz#c827d4b0acb76fc3e685a4c6ec2902d51070e9d7" + integrity sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==