UNPKG

markdown-flow-ui

Version:

A React UI library for rendering markdown with interactive flow components, typewriter effects, and plugin support

1 lines 869 B
{"version":3,"file":"chunk-FHKO5MBM-kwlUmBRi.mjs","sources":["../node_modules/mermaid/dist/chunks/mermaid.core/chunk-FHKO5MBM.mjs"],"sourcesContent":["import {\n __name\n} from \"./chunk-VIW5F6AA.mjs\";\n\n// src/utils/imperativeState.ts\nvar ImperativeState = class {\n /**\n * @param init - Function that creates the default state.\n */\n constructor(init) {\n this.init = init;\n this.records = this.init();\n }\n static {\n __name(this, \"ImperativeState\");\n }\n reset() {\n this.records = this.init();\n }\n};\n\nexport {\n ImperativeState\n};\n"],"names":["ImperativeState","_a","init","__name"],"mappings":";OAKIA,KAAkBC,IAAA,MAAM;AAAA;AAAA;AAAA;AAAA,EAI1B,YAAYC,GAAM;AAChB,SAAK,OAAOA,GACZ,KAAK,UAAU,KAAK,KAAI;AAAA,EAC1B;AAAA,EAIA,QAAQ;AACN,SAAK,UAAU,KAAK,KAAI;AAAA,EAC1B;AACF,GALIC,EAAOF,GAAM,iBAAiB,GATZA;","x_google_ignoreList":[0]}