@jvs-milkdown/plugin-automd 1.2.4 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js.map +1 -1
- package/lib/replacer.d.ts.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/src/replacer.ts +5 -1
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../src/__internal__/with-meta.ts","../src/regexp.ts","../src/utils.ts","../src/config.ts","../src/context.ts","../src/replacer.ts","../src/inline-sync-plugin.ts","../src/index.ts"],"sourcesContent":["import type { Meta, MilkdownPlugin } from '@jvs-milkdown/ctx'\n\nexport function withMeta<T extends MilkdownPlugin>(\n plugin: T,\n meta: Partial<Meta> & Pick<Meta, 'displayName'>\n): T {\n Object.assign(plugin, {\n meta: {\n package: '@jvs-milkdown/plugin-automd',\n ...meta,\n },\n })\n\n return plugin\n}\n","export const linkRegexp = /\\[([^\\]]+)]\\([^\\s\\]]+\\)/\n\nexport const emailCandidateRegexp =\n /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z0-9.-]+$/\n\nexport const trailingPunctuationRegexp = /[.,:;!?\\s\\u2042\\u2234\\u2205]+$/\n\nexport const keepLinkRegexp =\n /\\[(?<span>((www|https:\\/\\/|http:\\/\\/)[^\\s\\]]+))]\\((?<url>[^\\s\\]]+)\\)/\n\nexport function punctuationRegexp(holePlaceholder: string) {\n return new RegExp(`\\\\\\\\(?=[^\\\\w\\\\s${holePlaceholder}\\\\\\\\]|_)`, 'g')\n}\n\nconst ZERO_WIDTH_SPACE = '\\u200B'\n\nexport const asterisk = `${ZERO_WIDTH_SPACE}*`\nexport const asteriskHolder = `${ZERO_WIDTH_SPACE}*`\nexport const underline = `${ZERO_WIDTH_SPACE}_`\nexport const underlineHolder = `${ZERO_WIDTH_SPACE}⎽`\n","import type { Node } from '@jvs-milkdown/prose/model'\n\nimport type { SyncNodePlaceholder } from './config'\n\nimport {\n asterisk,\n asteriskHolder,\n keepLinkRegexp,\n punctuationRegexp,\n underline,\n underlineHolder,\n} from './regexp'\n\nexport function keepLink(str: string) {\n let text = str\n let match = text.match(keepLinkRegexp)\n while (match && match.groups) {\n const { span } = match.groups\n text = text.replace(keepLinkRegexp, span as string)\n\n match = text.match(keepLinkRegexp)\n }\n return text\n}\n\nexport function mergeSlash(str: string) {\n return str\n .replaceAll(/\\\\\\\\\\*/g, asterisk)\n .replaceAll(/\\\\\\\\_/g, underline)\n .replaceAll(asterisk, asteriskHolder)\n .replaceAll(underline, underlineHolder)\n}\n\nexport function swap(text: string, first: number, last: number) {\n const arr = text.split('')\n const temp = arr[first]\n if (arr[first] && arr[last]) {\n arr[first] = arr[last] as string\n arr[last] = temp as string\n }\n return arr.join('').toString()\n}\n\nexport function replacePunctuation(holePlaceholder: string) {\n return (text: string) => text.replace(punctuationRegexp(holePlaceholder), '')\n}\n\nexport function calculatePlaceholder(placeholder: SyncNodePlaceholder) {\n return (text: string) => {\n const index = text.indexOf(placeholder.hole)\n const left = text.charAt(index - 1)\n const right = text.charAt(index + 1)\n const notAWord = /[^\\w]|_/\n\n // cursor on the right\n if (!right) return placeholder.punctuation\n\n // cursor on the left\n if (!left) return placeholder.char\n\n if (notAWord.test(left) && notAWord.test(right))\n return placeholder.punctuation\n\n return placeholder.char\n }\n}\n\nexport function calcOffset(node: Node, from: number, placeholder: string) {\n let offset = from\n let find = false\n node.descendants((n) => {\n if (find) return false\n if (!n.textContent.includes(placeholder)) {\n offset += n.nodeSize\n return false\n }\n if (n.isText) {\n const i = n.text?.indexOf(placeholder)\n if (i != null && i >= 0) {\n find = true\n offset += i\n return false\n }\n }\n\n // enter the node\n offset += 1\n return true\n })\n return offset\n}\n","import type { Ctx } from '@jvs-milkdown/ctx'\nimport type { Node, NodeType } from '@jvs-milkdown/prose/model'\nimport type { Transaction } from '@jvs-milkdown/prose/state'\n\nimport { $ctx } from '@jvs-milkdown/utils'\n\nimport { withMeta } from './__internal__'\nimport { swap } from './utils'\n\n/// @internal\nexport type ShouldSyncNode = (context: {\n prevNode: Node\n nextNode: Node\n ctx: Ctx\n tr: Transaction\n text: string\n}) => boolean\n\n/// @internal\nexport interface SyncNodePlaceholder {\n hole: string\n punctuation: string\n char: string\n}\n\n/// @internal\nexport interface InlineSyncConfig {\n placeholderConfig: SyncNodePlaceholder\n shouldSyncNode: ShouldSyncNode\n globalNodes: Array<NodeType | string>\n movePlaceholder: (placeholderToMove: string, text: string) => string\n}\n\n/// @internal\nexport const defaultConfig: InlineSyncConfig = {\n placeholderConfig: {\n hole: '∅',\n punctuation: '⁂',\n char: '∴',\n },\n globalNodes: ['footnote_definition'],\n shouldSyncNode: ({ prevNode, nextNode }) =>\n prevNode.inlineContent &&\n nextNode &&\n // if node type changes, do not sync\n prevNode.type === nextNode.type &&\n // if two node fully equal, we don't modify them\n !prevNode.eq(nextNode),\n movePlaceholder: (placeholderToMove: string, text: string) => {\n const symbolsNeedToMove = ['*', '_']\n\n let index = text.indexOf(placeholderToMove)\n while (\n symbolsNeedToMove.includes(text[index - 1] || '') &&\n symbolsNeedToMove.includes(text[index + 1] || '')\n ) {\n text = swap(text, index, index + 1)\n index = index + 1\n }\n\n return text\n },\n}\n\n/// A slice that contains the inline sync config.\n/// You can set value to this slice to change the config.\n///\n/// ```typescript\n/// ctx.update(inlineSyncConfigCtx, (prevCfg) => ({\n/// ...prevCfg,\n/// // your config\n/// }));\n/// ```\n///\n/// You can find the default config [here](https://github.com/Milkdown/milkdown/blob/main/packages/plugin-automd/src/config.ts).\nexport const inlineSyncConfig = $ctx<InlineSyncConfig, 'inlineSyncConfig'>(\n defaultConfig,\n 'inlineSyncConfig'\n)\n\nwithMeta(inlineSyncConfig, {\n displayName: 'Ctx<inlineSyncConfig>',\n group: 'Prose',\n})\n","import type { Ctx } from '@jvs-milkdown/ctx'\nimport type { Node } from '@jvs-milkdown/prose/model'\nimport type { EditorState } from '@jvs-milkdown/prose/state'\n\nimport { parserCtx, serializerCtx } from '@jvs-milkdown/core'\nimport { Fragment } from '@jvs-milkdown/prose/model'\nimport { pipe } from '@jvs-milkdown/utils'\n\nimport { inlineSyncConfig } from './config'\nimport {\n asterisk,\n asteriskHolder,\n emailCandidateRegexp,\n underline,\n underlineHolder,\n trailingPunctuationRegexp,\n} from './regexp'\nimport {\n calculatePlaceholder,\n keepLink,\n mergeSlash,\n replacePunctuation,\n} from './utils'\n\ninterface InlineSyncContext {\n text: string\n prevNode: Node\n nextNode: Node\n placeholder: string\n}\n\nfunction getNodeFromSelection(state: EditorState) {\n return state.selection.$from.node()\n}\n\nfunction getMarkdown(\n ctx: Ctx,\n state: EditorState,\n node: Node,\n globalNode: Node[]\n) {\n const serializer = ctx.get(serializerCtx)\n const doc = state.schema.topNodeType.create(undefined, [node, ...globalNode])\n\n return serializer(doc)\n}\n\nfunction addPlaceholder(ctx: Ctx, markdown: string) {\n const config = ctx.get(inlineSyncConfig.key)\n const holePlaceholder = config.placeholderConfig.hole\n\n const [firstLine = '', ...rest] = markdown.split('\\n\\n')\n\n const movePlaceholder = (text: string) =>\n config.movePlaceholder(holePlaceholder, text)\n\n const handleText = pipe(\n replacePunctuation(holePlaceholder),\n movePlaceholder,\n keepLink,\n mergeSlash\n )\n\n let text = handleText(firstLine)\n const placeholder = calculatePlaceholder(config.placeholderConfig)(text)\n\n text = text.replace(holePlaceholder, placeholder)\n\n text = [text, ...rest].join('\\n\\n')\n\n return [text, placeholder] as [markdown: string, placeholder: string]\n}\n\nfunction getNewNode(ctx: Ctx, text: string) {\n const parser = ctx.get(parserCtx)\n const parsed = parser(text)\n\n if (!parsed) return null\n\n return parsed.firstChild\n}\n\nfunction collectGlobalNodes(ctx: Ctx, state: EditorState) {\n const { globalNodes } = ctx.get(inlineSyncConfig.key)\n const nodes: Node[] = []\n\n state.doc.descendants((node) => {\n if (\n globalNodes.includes(node.type.name) ||\n globalNodes.includes(node.type)\n ) {\n nodes.push(node)\n return false\n }\n\n return undefined\n })\n\n return nodes\n}\n\nconst removeGlobalFromText = (text: string) => text.split('\\n\\n')[0] || ''\n\nfunction onlyHTML(node: Node) {\n return node.childCount === 1 && node.child(0).type.name === 'html'\n}\n\nexport function getContextByState(\n ctx: Ctx,\n state: EditorState\n): InlineSyncContext | null {\n try {\n const globalNode = collectGlobalNodes(ctx, state)\n const node = getNodeFromSelection(state)\n\n const markdown = getMarkdown(ctx, state, node, globalNode)\n const [text, placeholder] = addPlaceholder(ctx, markdown)\n\n let newNode = getNewNode(ctx, text)\n\n if (!newNode || node.type !== newNode.type || onlyHTML(newNode)) return null\n\n // @ts-expect-error hijack the node attribute\n newNode.attrs = { ...node.attrs }\n\n let modified = false\n const children: Node[] = []\n\n // Pass 1: Merge adjacent Link + Text nodes\n const rawNodes: Node[] = []\n newNode.content.forEach((c) => rawNodes.push(c))\n\n const mergedNodes: Node[] = []\n for (const curr of rawNodes) {\n if (!curr) continue\n\n const prev = mergedNodes[mergedNodes.length - 1]\n\n const prevIsLink = prev && prev.marks.some((m) => m.type.name === 'link')\n const currIsText =\n curr.isText && !curr.marks.some((m) => m.type.name === 'link')\n\n if (prevIsLink && currIsText && prev.text && curr.text) {\n const combined = prev.text + curr.text\n mergedNodes[mergedNodes.length - 1] = state.schema.text(\n combined,\n prev.marks\n )\n } else {\n mergedNodes.push(curr)\n }\n }\n if (mergedNodes.length !== rawNodes.length) {\n modified = true\n }\n mergedNodes.forEach((child) => {\n const linkMark = child.marks.find((m) => m.type.name === 'link')\n if (!linkMark || !child.text) {\n children.push(child)\n return\n }\n\n const text = child.text\n const match = text.match(trailingPunctuationRegexp)\n const suffix = match ? match[0] : ''\n const trimmed = text.slice(0, text.length - suffix.length)\n\n // Strategy 1: Suffix split (existing)\n if (emailCandidateRegexp.test(trimmed)) {\n if (suffix.length > 0) modified = true\n const newMarks = child.marks.map((m) => {\n if (m.type.name === 'link') {\n return m.type.create({ ...m.attrs, href: `mailto:${trimmed}` })\n }\n return m\n })\n\n if (trimmed.length > 0) {\n children.push(state.schema.text(trimmed, newMarks))\n }\n if (suffix.length > 0) {\n children.push(\n state.schema.text(\n suffix,\n child.marks.filter((m) => m.type.name !== 'link')\n )\n )\n }\n return\n }\n\n // Strategy 2: Prefix split (fallback)\n const splitMatch = text.match(/^([a-zA-Z0-9._%+\\-@]+)(.*)$/)\n if (splitMatch) {\n const possibleEmail = splitMatch[1]\n const rest = splitMatch[2]\n\n if (\n possibleEmail &&\n rest &&\n emailCandidateRegexp.test(possibleEmail) &&\n rest.length > 0\n ) {\n modified = true\n const newMarks = child.marks.map((m) => {\n if (m.type.name === 'link') {\n return m.type.create({\n ...m.attrs,\n href: `mailto:${possibleEmail}`,\n })\n }\n return m\n })\n children.push(state.schema.text(possibleEmail, newMarks))\n children.push(\n state.schema.text(\n rest,\n child.marks.filter((m) => m.type.name !== 'link')\n )\n )\n return\n }\n }\n\n // Fallback: If it's a mailto link and looks like an autolink (href contains text),\n const href = linkMark.attrs.href\n if (\n typeof href === 'string' &&\n href.startsWith('mailto:') &&\n href.includes(text)\n ) {\n modified = true\n children.push(\n state.schema.text(\n text,\n child.marks.filter((m) => m.type.name !== 'link')\n )\n )\n return\n }\n\n children.push(child)\n })\n\n if (modified) {\n newNode = newNode.copy(Fragment.from(children))\n }\n\n newNode.descendants((node) => {\n const marks = node.marks\n const link = marks.find((mark) => mark.type.name === 'link')\n if (\n link &&\n node.text?.includes(placeholder) &&\n link.attrs.href.includes(placeholder)\n ) {\n // @ts-expect-error hijack the mark attribute\n link.attrs.href = link.attrs.href.replace(placeholder, '')\n }\n\n const href = link?.attrs.href\n const text = node.text?.replace(placeholder, '') || ''\n if (link && href?.startsWith('mailto:')) {\n const address = href.slice(7)\n const isValidCandidate = emailCandidateRegexp.test(text.trim())\n const isAddressIncomplete = !address.includes('@')\n const isTextSimple = !text.includes(' ') && text.length > 0\n const shouldSync =\n text.startsWith(address) ||\n address.startsWith(text) ||\n (isAddressIncomplete && isTextSimple)\n\n if (isValidCandidate && shouldSync) {\n // @ts-expect-error hijack the mark attribute\n link.attrs.href = `mailto:${text.trim()}`\n } else if (!isValidCandidate) {\n // @ts-expect-error hijack mark\n node.marks = node.marks.filter((mark) => mark.type.name !== 'link')\n }\n }\n if (\n node.text?.includes(asteriskHolder) ||\n node.text?.includes(underlineHolder)\n ) {\n // @ts-expect-error hijack the attribute\n node.text = node.text\n .replaceAll(asteriskHolder, asterisk)\n .replaceAll(underlineHolder, underline)\n }\n })\n\n return {\n text: removeGlobalFromText(text),\n prevNode: node,\n nextNode: newNode,\n placeholder,\n }\n } catch {\n return null\n }\n}\n","import type { Ctx } from '@jvs-milkdown/ctx'\nimport type { Attrs } from '@jvs-milkdown/prose/model'\nimport type { EditorState, PluginKey, Transaction } from '@jvs-milkdown/prose/state'\n\nimport { TextSelection } from '@jvs-milkdown/prose/state'\n\nimport { inlineSyncConfig } from './config'\nimport { getContextByState } from './context'\nimport { linkRegexp } from './regexp'\nimport { calcOffset } from './utils'\n\nexport function runReplacer(\n ctx: Ctx,\n key: PluginKey,\n state: EditorState,\n dispatch: (tr: Transaction) => void,\n attrs: Attrs\n) {\n const { placeholderConfig } = ctx.get(inlineSyncConfig.key)\n const holePlaceholder = placeholderConfig.hole\n // insert a placeholder to restore the selection\n let tr = state.tr\n .setMeta(key, true)\n .insertText(holePlaceholder, state.selection.from)\n\n const nextState = state.apply(tr)\n const context = getContextByState(ctx, nextState)\n\n if (!context) return\n\n const lastUserInput = context.text.slice(\n 0,\n context.text.indexOf(context.placeholder)\n )\n\n const { $from } = nextState.selection\n const from = $from.before()\n const to = $from.after()\n\n const offset = calcOffset(context.nextNode, from, context.placeholder)\n\n tr = tr\n .replaceWith(from, to, context.nextNode)\n .setNodeMarkup(from, undefined, attrs)\n // delete the placeholder\n .delete(offset + 1, offset + 2)\n\n // restore the selection\n tr = tr.setSelection(TextSelection.near(tr.doc.resolve(offset + 1)))\n\n const needsRestoreMark =\n linkRegexp.test(lastUserInput) ||\n ['*', '_', '~'].includes(lastUserInput.at(-1) || '')\n if (needsRestoreMark && tr.selection instanceof TextSelection) {\n const marks = tr.selection.$cursor?.marks() ?? []\n marks.forEach((mark) => {\n tr = tr.removeStoredMark(mark.type)\n })\n }\n\n dispatch(tr)\n}\n","import type { Ctx } from '@jvs-milkdown/ctx'\n\nimport { editorViewCtx } from '@jvs-milkdown/core'\nimport { Plugin, PluginKey } from '@jvs-milkdown/prose/state'\nimport { $prose } from '@jvs-milkdown/utils'\n\nimport { withMeta } from './__internal__'\nimport { inlineSyncConfig } from './config'\nimport { getContextByState } from './context'\nimport { runReplacer } from './replacer'\n\n/// This plugin is used to sync the inline mark.\n/// It will create and remove marks automatically according to the user input.\n///\n/// When users type something, the plugin will transform the line (for better performance) to real markdown AST by serializer\n/// and render the AST to dom by parser, thus the input texts can be displayed correctly.\nexport const inlineSyncPlugin = $prose((ctx: Ctx) => {\n let requestId: number | null = null\n const inlineSyncPluginKey = new PluginKey('MILKDOWN_INLINE_SYNC')\n\n return new Plugin<null>({\n key: inlineSyncPluginKey,\n state: {\n init: () => {\n return null\n },\n apply: (tr, _value, _oldState, newState) => {\n const view = ctx.get(editorViewCtx)\n if (!view.hasFocus?.() || !view.editable) return null\n\n if (!tr.docChanged) return null\n\n const meta = tr.getMeta(inlineSyncPluginKey)\n if (meta) return null\n\n const context = getContextByState(ctx, newState)\n if (!context) return null\n\n if (requestId) {\n cancelAnimationFrame(requestId)\n requestId = null\n }\n\n const { prevNode, nextNode, text } = context\n\n const { shouldSyncNode } = ctx.get(inlineSyncConfig.key)\n\n if (!shouldSyncNode({ prevNode, nextNode, ctx, tr, text })) return null\n\n requestId = requestAnimationFrame(() => {\n requestId = null\n\n const { dispatch, state } = ctx.get(editorViewCtx)\n\n runReplacer(ctx, inlineSyncPluginKey, state, dispatch, prevNode.attrs)\n })\n\n return null\n },\n },\n })\n})\n\nwithMeta(inlineSyncPlugin, {\n displayName: 'Prose<inlineSyncPlugin>',\n group: 'Prose',\n})\n","import type { MilkdownPlugin } from '@jvs-milkdown/ctx'\n\nimport { inlineSyncConfig } from './config'\nimport { inlineSyncPlugin } from './inline-sync-plugin'\n\nexport * from './config'\nexport * from './inline-sync-plugin'\n\nexport const automd: MilkdownPlugin[] = [inlineSyncConfig, inlineSyncPlugin]\n"],"mappings":";;;;;AAEA,SAAgB,SACd,QACA,MACG;AACH,QAAO,OAAO,QAAQ,EACpB,MAAM;EACJ,SAAS;EACT,GAAG;EACJ,EACF,CAAC;AAEF,QAAO;;;;ACbT,IAAa,aAAa;AAE1B,IAAa,uBACX;AAEF,IAAa,4BAA4B;AAEzC,IAAa,iBACX;AAEF,SAAgB,kBAAkB,iBAAyB;AACzD,QAAO,IAAI,OAAO,kBAAkB,gBAAgB,WAAW,IAAI;;AAGrE,IAAM,mBAAmB;AAEzB,IAAa,WAAW,GAAG,iBAAiB;AAC5C,IAAa,iBAAiB,GAAG,iBAAiB;AAClD,IAAa,YAAY,GAAG,iBAAiB;AAC7C,IAAa,kBAAkB,GAAG,iBAAiB;;;ACNnD,SAAgB,SAAS,KAAa;CACpC,IAAI,OAAO;CACX,IAAI,QAAQ,KAAK,MAAM,eAAe;AACtC,QAAO,SAAS,MAAM,QAAQ;EAC5B,MAAM,EAAE,SAAS,MAAM;AACvB,SAAO,KAAK,QAAQ,gBAAgB,KAAe;AAEnD,UAAQ,KAAK,MAAM,eAAe;;AAEpC,QAAO;;AAGT,SAAgB,WAAW,KAAa;AACtC,QAAO,IACJ,WAAW,WAAW,SAAS,CAC/B,WAAW,UAAU,UAAU,CAC/B,WAAW,UAAU,eAAe,CACpC,WAAW,WAAW,gBAAgB;;AAG3C,SAAgB,KAAK,MAAc,OAAe,MAAc;CAC9D,MAAM,MAAM,KAAK,MAAM,GAAG;CAC1B,MAAM,OAAO,IAAI;AACjB,KAAI,IAAI,UAAU,IAAI,OAAO;AAC3B,MAAI,SAAS,IAAI;AACjB,MAAI,QAAQ;;AAEd,QAAO,IAAI,KA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,QAAa;CACnD,IAAI,YAA2B;CAC/B,MAAM,sBAAsB,IAAI,UAAU,uBAAuB;AAEjE,QAAO,IAAI,OAAa;EACtB,KAAK;EACL,OAAO;GACL,YAAY;AACV,WAAO;;GAET,QAAQ,IAAI,QAAQ,WAAW,aAAa;IAC1C,MAAM,OAAO,IAAI,IAAI,cAAc;AACnC,QAAI,CAAC,KAAK,YAAY,IAAI,CAAC,KAAK,SAAU,QAAO;AAEjD,QAAI,CAAC,GAAG,WAAY,QAAO;AAG3B,QADa,GAAG,QAAQ,oBAAoB,CAClC,QAAO;IAEjB,MAAM,UAAU,kBAAkB,KAAK,SAAS;AAChD,QAAI,CAAC,QAAS,QAAO;AAErB,QAAI,WAAW;AACb,0BAAqB,UAAU;AAC/B,iBAAY;;IAGd,MAAM,EAAE,UAAU,UAAU,SAAS;IAErC,MAAM,EAAE,mBAAmB,IAAI,IAAI,iBAAiB,IAAI;AAExD,QAAI,CAAC,eAAe;KAAE;KAAU;KAAU;KAAK;KAAI;KAAM,CAAC,CAAE,QAAO;AAEnE,gBAAY,4BAA4B;AACtC,iBAAY;KAEZ,MAAM,EAAE,UAAU,UAAU,IAAI,IAAI,cAAc;AAElD,iBAAY,KAAK,qBAAqB,OAAO,UAAU,SAAS,MAAM;MACtE;AAEF,WAAO;;GAEV;EACF,CAAC;EACF;AAEF,SAAS,kBAAkB;CACzB,aAAa;CACb,OAAO;CACR,CAAC;;;AC1DF,IAAa,SAA2B,CAAC,kBAAkB,iBAAiB"}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/__internal__/with-meta.ts","../src/regexp.ts","../src/utils.ts","../src/config.ts","../src/context.ts","../src/replacer.ts","../src/inline-sync-plugin.ts","../src/index.ts"],"sourcesContent":["import type { Meta, MilkdownPlugin } from '@jvs-milkdown/ctx'\n\nexport function withMeta<T extends MilkdownPlugin>(\n plugin: T,\n meta: Partial<Meta> & Pick<Meta, 'displayName'>\n): T {\n Object.assign(plugin, {\n meta: {\n package: '@jvs-milkdown/plugin-automd',\n ...meta,\n },\n })\n\n return plugin\n}\n","export const linkRegexp = /\\[([^\\]]+)]\\([^\\s\\]]+\\)/\n\nexport const emailCandidateRegexp =\n /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z0-9.-]+$/\n\nexport const trailingPunctuationRegexp = /[.,:;!?\\s\\u2042\\u2234\\u2205]+$/\n\nexport const keepLinkRegexp =\n /\\[(?<span>((www|https:\\/\\/|http:\\/\\/)[^\\s\\]]+))]\\((?<url>[^\\s\\]]+)\\)/\n\nexport function punctuationRegexp(holePlaceholder: string) {\n return new RegExp(`\\\\\\\\(?=[^\\\\w\\\\s${holePlaceholder}\\\\\\\\]|_)`, 'g')\n}\n\nconst ZERO_WIDTH_SPACE = '\\u200B'\n\nexport const asterisk = `${ZERO_WIDTH_SPACE}*`\nexport const asteriskHolder = `${ZERO_WIDTH_SPACE}*`\nexport const underline = `${ZERO_WIDTH_SPACE}_`\nexport const underlineHolder = `${ZERO_WIDTH_SPACE}⎽`\n","import type { Node } from '@jvs-milkdown/prose/model'\n\nimport type { SyncNodePlaceholder } from './config'\n\nimport {\n asterisk,\n asteriskHolder,\n keepLinkRegexp,\n punctuationRegexp,\n underline,\n underlineHolder,\n} from './regexp'\n\nexport function keepLink(str: string) {\n let text = str\n let match = text.match(keepLinkRegexp)\n while (match && match.groups) {\n const { span } = match.groups\n text = text.replace(keepLinkRegexp, span as string)\n\n match = text.match(keepLinkRegexp)\n }\n return text\n}\n\nexport function mergeSlash(str: string) {\n return str\n .replaceAll(/\\\\\\\\\\*/g, asterisk)\n .replaceAll(/\\\\\\\\_/g, underline)\n .replaceAll(asterisk, asteriskHolder)\n .replaceAll(underline, underlineHolder)\n}\n\nexport function swap(text: string, first: number, last: number) {\n const arr = text.split('')\n const temp = arr[first]\n if (arr[first] && arr[last]) {\n arr[first] = arr[last] as string\n arr[last] = temp as string\n }\n return arr.join('').toString()\n}\n\nexport function replacePunctuation(holePlaceholder: string) {\n return (text: string) => text.replace(punctuationRegexp(holePlaceholder), '')\n}\n\nexport function calculatePlaceholder(placeholder: SyncNodePlaceholder) {\n return (text: string) => {\n const index = text.indexOf(placeholder.hole)\n const left = text.charAt(index - 1)\n const right = text.charAt(index + 1)\n const notAWord = /[^\\w]|_/\n\n // cursor on the right\n if (!right) return placeholder.punctuation\n\n // cursor on the left\n if (!left) return placeholder.char\n\n if (notAWord.test(left) && notAWord.test(right))\n return placeholder.punctuation\n\n return placeholder.char\n }\n}\n\nexport function calcOffset(node: Node, from: number, placeholder: string) {\n let offset = from\n let find = false\n node.descendants((n) => {\n if (find) return false\n if (!n.textContent.includes(placeholder)) {\n offset += n.nodeSize\n return false\n }\n if (n.isText) {\n const i = n.text?.indexOf(placeholder)\n if (i != null && i >= 0) {\n find = true\n offset += i\n return false\n }\n }\n\n // enter the node\n offset += 1\n return true\n })\n return offset\n}\n","import type { Ctx } from '@jvs-milkdown/ctx'\nimport type { Node, NodeType } from '@jvs-milkdown/prose/model'\nimport type { Transaction } from '@jvs-milkdown/prose/state'\n\nimport { $ctx } from '@jvs-milkdown/utils'\n\nimport { withMeta } from './__internal__'\nimport { swap } from './utils'\n\n/// @internal\nexport type ShouldSyncNode = (context: {\n prevNode: Node\n nextNode: Node\n ctx: Ctx\n tr: Transaction\n text: string\n}) => boolean\n\n/// @internal\nexport interface SyncNodePlaceholder {\n hole: string\n punctuation: string\n char: string\n}\n\n/// @internal\nexport interface InlineSyncConfig {\n placeholderConfig: SyncNodePlaceholder\n shouldSyncNode: ShouldSyncNode\n globalNodes: Array<NodeType | string>\n movePlaceholder: (placeholderToMove: string, text: string) => string\n}\n\n/// @internal\nexport const defaultConfig: InlineSyncConfig = {\n placeholderConfig: {\n hole: '∅',\n punctuation: '⁂',\n char: '∴',\n },\n globalNodes: ['footnote_definition'],\n shouldSyncNode: ({ prevNode, nextNode }) =>\n prevNode.inlineContent &&\n nextNode &&\n // if node type changes, do not sync\n prevNode.type === nextNode.type &&\n // if two node fully equal, we don't modify them\n !prevNode.eq(nextNode),\n movePlaceholder: (placeholderToMove: string, text: string) => {\n const symbolsNeedToMove = ['*', '_']\n\n let index = text.indexOf(placeholderToMove)\n while (\n symbolsNeedToMove.includes(text[index - 1] || '') &&\n symbolsNeedToMove.includes(text[index + 1] || '')\n ) {\n text = swap(text, index, index + 1)\n index = index + 1\n }\n\n return text\n },\n}\n\n/// A slice that contains the inline sync config.\n/// You can set value to this slice to change the config.\n///\n/// ```typescript\n/// ctx.update(inlineSyncConfigCtx, (prevCfg) => ({\n/// ...prevCfg,\n/// // your config\n/// }));\n/// ```\n///\n/// You can find the default config [here](https://github.com/Milkdown/milkdown/blob/main/packages/plugin-automd/src/config.ts).\nexport const inlineSyncConfig = $ctx<InlineSyncConfig, 'inlineSyncConfig'>(\n defaultConfig,\n 'inlineSyncConfig'\n)\n\nwithMeta(inlineSyncConfig, {\n displayName: 'Ctx<inlineSyncConfig>',\n group: 'Prose',\n})\n","import type { Ctx } from '@jvs-milkdown/ctx'\nimport type { Node } from '@jvs-milkdown/prose/model'\nimport type { EditorState } from '@jvs-milkdown/prose/state'\n\nimport { parserCtx, serializerCtx } from '@jvs-milkdown/core'\nimport { Fragment } from '@jvs-milkdown/prose/model'\nimport { pipe } from '@jvs-milkdown/utils'\n\nimport { inlineSyncConfig } from './config'\nimport {\n asterisk,\n asteriskHolder,\n emailCandidateRegexp,\n underline,\n underlineHolder,\n trailingPunctuationRegexp,\n} from './regexp'\nimport {\n calculatePlaceholder,\n keepLink,\n mergeSlash,\n replacePunctuation,\n} from './utils'\n\ninterface InlineSyncContext {\n text: string\n prevNode: Node\n nextNode: Node\n placeholder: string\n}\n\nfunction getNodeFromSelection(state: EditorState) {\n return state.selection.$from.node()\n}\n\nfunction getMarkdown(\n ctx: Ctx,\n state: EditorState,\n node: Node,\n globalNode: Node[]\n) {\n const serializer = ctx.get(serializerCtx)\n const doc = state.schema.topNodeType.create(undefined, [node, ...globalNode])\n\n return serializer(doc)\n}\n\nfunction addPlaceholder(ctx: Ctx, markdown: string) {\n const config = ctx.get(inlineSyncConfig.key)\n const holePlaceholder = config.placeholderConfig.hole\n\n const [firstLine = '', ...rest] = markdown.split('\\n\\n')\n\n const movePlaceholder = (text: string) =>\n config.movePlaceholder(holePlaceholder, text)\n\n const handleText = pipe(\n replacePunctuation(holePlaceholder),\n movePlaceholder,\n keepLink,\n mergeSlash\n )\n\n let text = handleText(firstLine)\n const placeholder = calculatePlaceholder(config.placeholderConfig)(text)\n\n text = text.replace(holePlaceholder, placeholder)\n\n text = [text, ...rest].join('\\n\\n')\n\n return [text, placeholder] as [markdown: string, placeholder: string]\n}\n\nfunction getNewNode(ctx: Ctx, text: string) {\n const parser = ctx.get(parserCtx)\n const parsed = parser(text)\n\n if (!parsed) return null\n\n return parsed.firstChild\n}\n\nfunction collectGlobalNodes(ctx: Ctx, state: EditorState) {\n const { globalNodes } = ctx.get(inlineSyncConfig.key)\n const nodes: Node[] = []\n\n state.doc.descendants((node) => {\n if (\n globalNodes.includes(node.type.name) ||\n globalNodes.includes(node.type)\n ) {\n nodes.push(node)\n return false\n }\n\n return undefined\n })\n\n return nodes\n}\n\nconst removeGlobalFromText = (text: string) => text.split('\\n\\n')[0] || ''\n\nfunction onlyHTML(node: Node) {\n return node.childCount === 1 && node.child(0).type.name === 'html'\n}\n\nexport function getContextByState(\n ctx: Ctx,\n state: EditorState\n): InlineSyncContext | null {\n try {\n const globalNode = collectGlobalNodes(ctx, state)\n const node = getNodeFromSelection(state)\n\n const markdown = getMarkdown(ctx, state, node, globalNode)\n const [text, placeholder] = addPlaceholder(ctx, markdown)\n\n let newNode = getNewNode(ctx, text)\n\n if (!newNode || node.type !== newNode.type || onlyHTML(newNode)) return null\n\n // @ts-expect-error hijack the node attribute\n newNode.attrs = { ...node.attrs }\n\n let modified = false\n const children: Node[] = []\n\n // Pass 1: Merge adjacent Link + Text nodes\n const rawNodes: Node[] = []\n newNode.content.forEach((c) => rawNodes.push(c))\n\n const mergedNodes: Node[] = []\n for (const curr of rawNodes) {\n if (!curr) continue\n\n const prev = mergedNodes[mergedNodes.length - 1]\n\n const prevIsLink = prev && prev.marks.some((m) => m.type.name === 'link')\n const currIsText =\n curr.isText && !curr.marks.some((m) => m.type.name === 'link')\n\n if (prevIsLink && currIsText && prev.text && curr.text) {\n const combined = prev.text + curr.text\n mergedNodes[mergedNodes.length - 1] = state.schema.text(\n combined,\n prev.marks\n )\n } else {\n mergedNodes.push(curr)\n }\n }\n if (mergedNodes.length !== rawNodes.length) {\n modified = true\n }\n mergedNodes.forEach((child) => {\n const linkMark = child.marks.find((m) => m.type.name === 'link')\n if (!linkMark || !child.text) {\n children.push(child)\n return\n }\n\n const text = child.text\n const match = text.match(trailingPunctuationRegexp)\n const suffix = match ? match[0] : ''\n const trimmed = text.slice(0, text.length - suffix.length)\n\n // Strategy 1: Suffix split (existing)\n if (emailCandidateRegexp.test(trimmed)) {\n if (suffix.length > 0) modified = true\n const newMarks = child.marks.map((m) => {\n if (m.type.name === 'link') {\n return m.type.create({ ...m.attrs, href: `mailto:${trimmed}` })\n }\n return m\n })\n\n if (trimmed.length > 0) {\n children.push(state.schema.text(trimmed, newMarks))\n }\n if (suffix.length > 0) {\n children.push(\n state.schema.text(\n suffix,\n child.marks.filter((m) => m.type.name !== 'link')\n )\n )\n }\n return\n }\n\n // Strategy 2: Prefix split (fallback)\n const splitMatch = text.match(/^([a-zA-Z0-9._%+\\-@]+)(.*)$/)\n if (splitMatch) {\n const possibleEmail = splitMatch[1]\n const rest = splitMatch[2]\n\n if (\n possibleEmail &&\n rest &&\n emailCandidateRegexp.test(possibleEmail) &&\n rest.length > 0\n ) {\n modified = true\n const newMarks = child.marks.map((m) => {\n if (m.type.name === 'link') {\n return m.type.create({\n ...m.attrs,\n href: `mailto:${possibleEmail}`,\n })\n }\n return m\n })\n children.push(state.schema.text(possibleEmail, newMarks))\n children.push(\n state.schema.text(\n rest,\n child.marks.filter((m) => m.type.name !== 'link')\n )\n )\n return\n }\n }\n\n // Fallback: If it's a mailto link and looks like an autolink (href contains text),\n const href = linkMark.attrs.href\n if (\n typeof href === 'string' &&\n href.startsWith('mailto:') &&\n href.includes(text)\n ) {\n modified = true\n children.push(\n state.schema.text(\n text,\n child.marks.filter((m) => m.type.name !== 'link')\n )\n )\n return\n }\n\n children.push(child)\n })\n\n if (modified) {\n newNode = newNode.copy(Fragment.from(children))\n }\n\n newNode.descendants((node) => {\n const marks = node.marks\n const link = marks.find((mark) => mark.type.name === 'link')\n if (\n link &&\n node.text?.includes(placeholder) &&\n link.attrs.href.includes(placeholder)\n ) {\n // @ts-expect-error hijack the mark attribute\n link.attrs.href = link.attrs.href.replace(placeholder, '')\n }\n\n const href = link?.attrs.href\n const text = node.text?.replace(placeholder, '') || ''\n if (link && href?.startsWith('mailto:')) {\n const address = href.slice(7)\n const isValidCandidate = emailCandidateRegexp.test(text.trim())\n const isAddressIncomplete = !address.includes('@')\n const isTextSimple = !text.includes(' ') && text.length > 0\n const shouldSync =\n text.startsWith(address) ||\n address.startsWith(text) ||\n (isAddressIncomplete && isTextSimple)\n\n if (isValidCandidate && shouldSync) {\n // @ts-expect-error hijack the mark attribute\n link.attrs.href = `mailto:${text.trim()}`\n } else if (!isValidCandidate) {\n // @ts-expect-error hijack mark\n node.marks = node.marks.filter((mark) => mark.type.name !== 'link')\n }\n }\n if (\n node.text?.includes(asteriskHolder) ||\n node.text?.includes(underlineHolder)\n ) {\n // @ts-expect-error hijack the attribute\n node.text = node.text\n .replaceAll(asteriskHolder, asterisk)\n .replaceAll(underlineHolder, underline)\n }\n })\n\n return {\n text: removeGlobalFromText(text),\n prevNode: node,\n nextNode: newNode,\n placeholder,\n }\n } catch {\n return null\n }\n}\n","import type { Ctx } from '@jvs-milkdown/ctx'\nimport type { Attrs } from '@jvs-milkdown/prose/model'\nimport type {\n EditorState,\n PluginKey,\n Transaction,\n} from '@jvs-milkdown/prose/state'\n\nimport { TextSelection } from '@jvs-milkdown/prose/state'\n\nimport { inlineSyncConfig } from './config'\nimport { getContextByState } from './context'\nimport { linkRegexp } from './regexp'\nimport { calcOffset } from './utils'\n\nexport function runReplacer(\n ctx: Ctx,\n key: PluginKey,\n state: EditorState,\n dispatch: (tr: Transaction) => void,\n attrs: Attrs\n) {\n const { placeholderConfig } = ctx.get(inlineSyncConfig.key)\n const holePlaceholder = placeholderConfig.hole\n // insert a placeholder to restore the selection\n let tr = state.tr\n .setMeta(key, true)\n .insertText(holePlaceholder, state.selection.from)\n\n const nextState = state.apply(tr)\n const context = getContextByState(ctx, nextState)\n\n if (!context) return\n\n const lastUserInput = context.text.slice(\n 0,\n context.text.indexOf(context.placeholder)\n )\n\n const { $from } = nextState.selection\n const from = $from.before()\n const to = $from.after()\n\n const offset = calcOffset(context.nextNode, from, context.placeholder)\n\n tr = tr\n .replaceWith(from, to, context.nextNode)\n .setNodeMarkup(from, undefined, attrs)\n // delete the placeholder\n .delete(offset + 1, offset + 2)\n\n // restore the selection\n tr = tr.setSelection(TextSelection.near(tr.doc.resolve(offset + 1)))\n\n const needsRestoreMark =\n linkRegexp.test(lastUserInput) ||\n ['*', '_', '~'].includes(lastUserInput.at(-1) || '')\n if (needsRestoreMark && tr.selection instanceof TextSelection) {\n const marks = tr.selection.$cursor?.marks() ?? []\n marks.forEach((mark) => {\n tr = tr.removeStoredMark(mark.type)\n })\n }\n\n dispatch(tr)\n}\n","import type { Ctx } from '@jvs-milkdown/ctx'\n\nimport { editorViewCtx } from '@jvs-milkdown/core'\nimport { Plugin, PluginKey } from '@jvs-milkdown/prose/state'\nimport { $prose } from '@jvs-milkdown/utils'\n\nimport { withMeta } from './__internal__'\nimport { inlineSyncConfig } from './config'\nimport { getContextByState } from './context'\nimport { runReplacer } from './replacer'\n\n/// This plugin is used to sync the inline mark.\n/// It will create and remove marks automatically according to the user input.\n///\n/// When users type something, the plugin will transform the line (for better performance) to real markdown AST by serializer\n/// and render the AST to dom by parser, thus the input texts can be displayed correctly.\nexport const inlineSyncPlugin = $prose((ctx: Ctx) => {\n let requestId: number | null = null\n const inlineSyncPluginKey = new PluginKey('MILKDOWN_INLINE_SYNC')\n\n return new Plugin<null>({\n key: inlineSyncPluginKey,\n state: {\n init: () => {\n return null\n },\n apply: (tr, _value, _oldState, newState) => {\n const view = ctx.get(editorViewCtx)\n if (!view.hasFocus?.() || !view.editable) return null\n\n if (!tr.docChanged) return null\n\n const meta = tr.getMeta(inlineSyncPluginKey)\n if (meta) return null\n\n const context = getContextByState(ctx, newState)\n if (!context) return null\n\n if (requestId) {\n cancelAnimationFrame(requestId)\n requestId = null\n }\n\n const { prevNode, nextNode, text } = context\n\n const { shouldSyncNode } = ctx.get(inlineSyncConfig.key)\n\n if (!shouldSyncNode({ prevNode, nextNode, ctx, tr, text })) return null\n\n requestId = requestAnimationFrame(() => {\n requestId = null\n\n const { dispatch, state } = ctx.get(editorViewCtx)\n\n runReplacer(ctx, inlineSyncPluginKey, state, dispatch, prevNode.attrs)\n })\n\n return null\n },\n },\n })\n})\n\nwithMeta(inlineSyncPlugin, {\n displayName: 'Prose<inlineSyncPlugin>',\n group: 'Prose',\n})\n","import type { MilkdownPlugin } from '@jvs-milkdown/ctx'\n\nimport { inlineSyncConfig } from './config'\nimport { inlineSyncPlugin } from './inline-sync-plugin'\n\nexport * from './config'\nexport * from './inline-sync-plugin'\n\nexport const automd: MilkdownPlugin[] = [inlineSyncConfig, inlineSyncPlugin]\n"],"mappings":";;;;;AAEA,SAAgB,SACd,QACA,MACG;CACH,OAAO,OAAO,QAAQ,EACpB,MAAM;EACJ,SAAS;EACT,GAAG;EACJ,EACF,CAAC;CAEF,OAAO;;;;ACbT,IAAa,aAAa;AAE1B,IAAa,uBACX;AAEF,IAAa,4BAA4B;AAEzC,IAAa,iBACX;AAEF,SAAgB,kBAAkB,iBAAyB;CACzD,OAAO,IAAI,OAAO,kBAAkB,gBAAgB,WAAW,IAAI;;AAGrE,IAAM,mBAAmB;AAEzB,IAAa,WAAW,GAAG,iBAAiB;AAC5C,IAAa,i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I;IAExD,IAAI,CAAC,eAAe;KAAE;KAAU;KAAU;KAAK;KAAI;KAAM,CAAC,EAAE,OAAO;IAEnE,YAAY,4BAA4B;KACtC,YAAY;KAEZ,MAAM,EAAE,UAAU,UAAU,IAAI,IAAI,cAAc;KAElD,YAAY,KAAK,qBAAqB,OAAO,UAAU,SAAS,MAAM;MACtE;IAEF,OAAO;;GAEV;EACF,CAAC;EACF;AAEF,SAAS,kBAAkB;CACzB,aAAa;CACb,OAAO;CACR,CAAC;;;AC1DF,IAAa,SAA2B,CAAC,kBAAkB,iBAAiB"}
|
package/lib/replacer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replacer.d.ts","sourceRoot":"","sources":["../src/replacer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAA;AAC5C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AACtD,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"replacer.d.ts","sourceRoot":"","sources":["../src/replacer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAA;AAC5C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AACtD,OAAO,KAAK,EACV,WAAW,EACX,SAAS,EACT,WAAW,EACZ,MAAM,2BAA2B,CAAA;AASlC,wBAAgB,WAAW,CACzB,GAAG,EAAE,GAAG,EACR,GAAG,EAAE,SAAS,EACd,KAAK,EAAE,WAAW,EAClB,QAAQ,EAAE,CAAC,EAAE,EAAE,WAAW,KAAK,IAAI,EACnC,KAAK,EAAE,KAAK,QA6Cb"}
|
package/lib/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"fileNames":["../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2021.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2022.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../ctx/lib/context/slice.d.ts","../../../ctx/lib/context/container.d.ts","../../../ctx/lib/context/index.d.ts","../../../ctx/lib/inspector/meta.d.ts","../../../ctx/lib/timer/timer.d.ts","../../../ctx/lib/timer/clock.d.ts","../../../ctx/lib/timer/index.d.ts","../../../ctx/lib/inspector/inspector.d.ts","../../../ctx/lib/inspector/index.d.ts","../../../ctx/lib/plugin/ctx.d.ts","../../../ctx/lib/plugin/types.d.ts","../../../ctx/lib/plugin/index.d.ts","../../../ctx/lib/index.d.ts","../../../../node_modules/.pnpm/orderedmap@2.1.1/node_modules/orderedmap/dist/index.d.ts","../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.d.ts","../../../prose/lib/model.d.ts","../../../../node_modules/.pnpm/prosemirror-transform@1.11.0/node_modules/prosemirror-transform/dist/index.d.ts","../../../../node_modules/.pnpm/prosemirror-view@1.41.7/node_modules/prosemirror-view/dist/index.d.ts","../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.d.ts","../../../prose/lib/state.d.ts","../../../../node_modules/.pnpm/prosemirror-inputrules@1.5.1/node_modules/prosemirror-inputrules/dist/index.d.ts","../../../prose/lib/inputrules.d.ts","../../../prose/lib/view.d.ts","../../../../node_modules/.pnpm/@types+unist@3.0.3/node_modules/@types/unist/index.d.ts","../../../../node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts","../../../../node_modules/.pnpm/micromark-util-types@2.0.2/node_modules/micromark-util-types/index.d.ts","../../../../node_modules/.pnpm/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown/lib/types.d.ts","../../../../node_modules/.pnpm/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown/lib/index.d.ts","../../../../node_modules/.pnpm/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown/index.d.ts","../../../../node_modules/.pnpm/vfile-message@4.0.3/node_modules/vfile-message/lib/index.d.ts","../../../../node_modules/.pnpm/vfile-message@4.0.3/node_modules/vfile-message/index.d.ts","../../../../node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/index.d.ts","../../../../node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/index.d.ts","../../../../node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/callable-instance.d.ts","../../../../node_modules/.pnpm/trough@2.2.0/node_modules/trough/lib/index.d.ts","../../../../node_modules/.pnpm/trough@2.2.0/node_modules/trough/index.d.ts","../../../../node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/index.d.ts","../../../../node_modules/.pnpm/unified@11.0.5/node_modules/unified/index.d.ts","../../../../node_modules/.pnpm/remark-parse@11.0.0/node_modules/remark-parse/lib/index.d.ts","../../../../node_modules/.pnpm/remark-parse@11.0.0/node_modules/remark-parse/index.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/types.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/index.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/blockquote.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/break.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/code.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/definition.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/emphasis.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/heading.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/html.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/image.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/image-reference.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/inline-code.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/link.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/link-reference.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/list.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/list-item.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/paragraph.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/root.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/strong.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/text.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/index.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/index.d.ts","../../../../node_modules/.pnpm/remark-stringify@11.0.0/node_modules/remark-stringify/lib/index.d.ts","../../../../node_modules/.pnpm/remark-stringify@11.0.0/node_modules/remark-stringify/index.d.ts","../../../../node_modules/.pnpm/remark@15.0.1/node_modules/remark/index.d.ts","../../../transformer/lib/utility/stack.d.ts","../../../transformer/lib/utility/index.d.ts","../../../transformer/lib/serializer/stack-element.d.ts","../../../transformer/lib/serializer/state.d.ts","../../../transformer/lib/serializer/types.d.ts","../../../transformer/lib/utility/types.d.ts","../../../transformer/lib/parser/stack-element.d.ts","../../../transformer/lib/parser/state.d.ts","../../../transformer/lib/parser/types.d.ts","../../../transformer/lib/parser/index.d.ts","../../../transformer/lib/serializer/index.d.ts","../../../transformer/lib/index.d.ts","../../../core/lib/internal-plugin/atoms.d.ts","../../../core/lib/internal-plugin/commands.d.ts","../../../core/lib/internal-plugin/config.d.ts","../../../core/lib/internal-plugin/editor-state.d.ts","../../../core/lib/internal-plugin/editor-view.d.ts","../../../core/lib/internal-plugin/init.d.ts","../../../core/lib/internal-plugin/parser.d.ts","../../../core/lib/internal-plugin/schema.d.ts","../../../core/lib/internal-plugin/serializer.d.ts","../../../core/lib/internal-plugin/keymap.d.ts","../../../core/lib/internal-plugin/paste-rule.d.ts","../../../core/lib/internal-plugin/index.d.ts","../../../core/lib/editor/editor.d.ts","../../../core/lib/editor/index.d.ts","../../../core/lib/index.d.ts","../../../utils/lib/composable/utils.d.ts","../../../utils/lib/composable/$command.d.ts","../../../utils/lib/composable/$input-rule.d.ts","../../../utils/lib/composable/$paste-rule.d.ts","../../../utils/lib/composable/$mark.d.ts","../../../utils/lib/composable/$node.d.ts","../../../utils/lib/composable/$prose.d.ts","../../../utils/lib/composable/$shortcut.d.ts","../../../utils/lib/composable/$view.d.ts","../../../utils/lib/composable/$ctx.d.ts","../../../utils/lib/composable/composed/$node-schema.d.ts","../../../utils/lib/composable/composed/$mark-schema.d.ts","../../../utils/lib/composable/composed/$use-keymap.d.ts","../../../utils/lib/composable/composed/$attr.d.ts","../../../utils/lib/composable/composed/$remark.d.ts","../../../utils/lib/composable/composed/index.d.ts","../../../utils/lib/composable/index.d.ts","../../../utils/lib/macro/call-command.d.ts","../../../utils/lib/macro/force-update.d.ts","../../../utils/lib/macro/get-html.d.ts","../../../utils/lib/macro/get-markdown.d.ts","../../../utils/lib/macro/insert.d.ts","../../../utils/lib/macro/outline.d.ts","../../../utils/lib/macro/replace-all.d.ts","../../../utils/lib/macro/set-attr.d.ts","../../../utils/lib/macro/insert-pos.d.ts","../../../utils/lib/macro/replace-range.d.ts","../../../utils/lib/macro/markdown-to-slice.d.ts","../../../utils/lib/macro/index.d.ts","../../../utils/lib/pipe.d.ts","../../../utils/lib/index.d.ts","../src/__internal__/with-meta.ts","../src/__internal__/index.ts","../src/regexp.ts","../src/utils.ts","../src/config.ts","../src/context.ts","../src/replacer.ts","../src/inline-sync-plugin.ts","../src/index.ts"],"fileIdsList":[[82],[84,85,86,87],[83,84,85,87],[83,84,87],[99,100,120],[83,121],[83],[101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119],[82,83],[73,77],[72],[73,75,76],[73],[73,75,77],[83,84,87,96,97,98,123],[83,87,91,96,98,123],[83,96,98,121,122,123],[83,91,96,98,121,123],[83,96,98,123],[93],[91,95],[82,91,92,94,96,98,123],[88],[89,90],[82,89,91],[71,148],[149],[148,150],[71,78,80,81,123,136,150],[71,78],[71],[71,74,78,136],[71,81],[137,138,139,140,141,142,143,144,145,146,147],[71,150],[71,136],[71,74,81],[71,74,136],[59],[59,60],[60],[61,65,67,70],[62,66],[61,62,65],[61,65,67,71],[68,69],[67,68],[63],[63,64],[64],[183],[71,74,78,182,184,186],[71,74,78,151,182,185,186,187],[71,187,190],[71,78,151,182,184,187,188,189],[71,74,78,185,186,187,188],[74,185,187],[79],[77],[76],[126,134,135],[132,133],[74,126],[74,126,131,133],[74,130,132],[128,129],[126,136],[74,126,127,129],[74,128],[125,130],[74,96,98,123,124,129,133],[71,151,152],[71,80,152],[71,74,136,152],[71,78,152],[71,78,151,152],[71,81,152,168],[74,161],[71,136,156,161],[71,136,157,161],[71,136,161],[71,78,159,161],[162,163,164,165,166],[152,153,154,155,156,157,158,159,160,161,167],[168,180,181],[71,151],[169,170,171,172,173,174,175,176,177,178,179],[71,74]],"fileInfos":[{"version":"bcd24271a113971ba9eb71ff8cb01bc6b0f872a85c23fdbe5d93065b375933cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f88bedbeb09c6f5a6645cb24c7c55f1aa22d19ae96c8e6959cbd8b85a707bc6","impliedFormat":1},{"version":"7fe93b39b810eadd916be8db880dd7f0f7012a5cc6ffb62de8f62a2117fa6f1f","impliedFormat":1},{"version":"bb0074cc08b84a2374af33d8bf044b80851ccc9e719a5e202eacf40db2c31600","impliedFormat":1},{"version":"1a7daebe4f45fb03d9ec53d60008fbf9ac45a697fdc89e4ce218bc94b94f94d6","impliedFormat":1},{"version":"f94b133a3cb14a288803be545ac2683e0d0ff6661bcd37e31aaaec54fc382aed","impliedFormat":1},{"version":"f59d0650799f8782fd74cf73c19223730c6d1b9198671b1c5b3a38e1188b5953","impliedFormat":1},{"version":"8a15b4607d9a499e2dbeed9ec0d3c0d7372c850b2d5f1fb259e8f6d41d468a84","impliedFormat":1},{"version":"26e0fe14baee4e127f4365d1ae0b276f400562e45e19e35fd2d4c296684715e6","impliedFormat":1},{"version":"d6b1eba8496bdd0eed6fc8a685768fe01b2da4a0388b5fe7df558290bffcf32f","affectsGlobalScope":true,"impliedFormat":1},{"version":"eadcffda2aa84802c73938e589b9e58248d74c59cb7fcbca6474e3435ac15504","affectsGlobalScope":true,"impliedFormat":1},{"version":"105ba8ff7ba746404fe1a2e189d1d3d2e0eb29a08c18dded791af02f29fb4711","affectsGlobalScope":true,"impliedFormat":1},{"version":"00343ca5b2e3d48fa5df1db6e32ea2a59afab09590274a6cccb1dbae82e60c7c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ebd9f816d4002697cb2864bea1f0b70a103124e18a8cd9645eeccc09bdf80ab4","affectsGlobalScope":true,"impliedFormat":1},{"version":"2c1afac30a01772cd2a9a298a7ce7706b5892e447bb46bdbeef720f7b5da77ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"7b0225f483e4fa685625ebe43dd584bb7973bbd84e66a6ba7bbe175ee1048b4f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c0a4b8ac6ce74679c1da2b3795296f5896e31c38e888469a8e0f99dc3305de60","affectsGlobalScope":true,"impliedFormat":1},{"version":"3084a7b5f569088e0146533a00830e206565de65cae2239509168b11434cd84f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5079c53f0f141a0698faa903e76cb41cd664e3efb01cc17a5c46ec2eb0bef42","affectsGlobalScope":true,"impliedFormat":1},{"version":"32cafbc484dea6b0ab62cf8473182bbcb23020d70845b406f80b7526f38ae862","affectsGlobalScope":true,"impliedFormat":1},{"version":"fca4cdcb6d6c5ef18a869003d02c9f0fd95df8cfaf6eb431cd3376bc034cad36","affectsGlobalScope":true,"impliedFormat":1},{"version":"b93ec88115de9a9dc1b602291b85baf825c85666bf25985cc5f698073892b467","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5c06dcc3fe849fcb297c247865a161f995cc29de7aa823afdd75aaaddc1419b","affectsGlobalScope":true,"impliedFormat":1},{"version":"b77e16112127a4b169ef0b8c3a4d730edf459c5f25fe52d5e436a6919206c4d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"fbffd9337146eff822c7c00acbb78b01ea7ea23987f6c961eba689349e744f8c","affectsGlobalScope":true,"impliedFormat":1},{"version":"a995c0e49b721312f74fdfb89e4ba29bd9824c770bbb4021d74d2bf560e4c6bd","affectsGlobalScope":true,"impliedFormat":1},{"version":"c7b3542146734342e440a84b213384bfa188835537ddbda50d30766f0593aff9","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce6180fa19b1cccd07ee7f7dbb9a367ac19c0ed160573e4686425060b6df7f57","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f02e2476bccb9dbe21280d6090f0df17d2f66b74711489415a8aa4df73c9675","affectsGlobalScope":true,"impliedFormat":1},{"version":"45e3ab34c1c013c8ab2dc1ba4c80c780744b13b5676800ae2e3be27ae862c40c","affectsGlobalScope":true,"impliedFormat":1},{"version":"805c86f6cca8d7702a62a844856dbaa2a3fd2abef0536e65d48732441dde5b5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e42e397f1a5a77994f0185fd1466520691456c772d06bf843e5084ceb879a0ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"f4c2b41f90c95b1c532ecc874bd3c111865793b23aebcc1c3cbbabcd5d76ffb0","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab26191cfad5b66afa11b8bf935ef1cd88fabfcb28d30b2dfa6fad877d050332","affectsGlobalScope":true,"impliedFormat":1},{"version":"2088bc26531e38fb05eedac2951480db5309f6be3fa4a08d2221abb0f5b4200d","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb9d366c425fea79716a8fb3af0d78e6b22ebbab3bd64d25063b42dc9f531c1e","affectsGlobalScope":true,"impliedFormat":1},{"version":"500934a8089c26d57ebdb688fc9757389bb6207a3c8f0674d68efa900d2abb34","affectsGlobalScope":true,"impliedFormat":1},{"version":"689da16f46e647cef0d64b0def88910e818a5877ca5379ede156ca3afb780ac3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc21cc8b6fee4f4c2440d08035b7ea3c06b3511314c8bab6bef7a92de58a2593","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ca53d13d2957003abb47922a71866ba7cb2068f8d154877c596d63c359fed25","affectsGlobalScope":true,"impliedFormat":1},{"version":"54725f8c4df3d900cb4dac84b64689ce29548da0b4e9b7c2de61d41c79293611","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5594bc3076ac29e6c1ebda77939bc4c8833de72f654b6e376862c0473199323","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f3eb332c2d73e729f3364fcc0c2b375e72a121e8157d25a82d67a138c83a95c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f4427f9642ce8d500970e4e69d1397f64072ab73b97e476b4002a646ac743b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"48915f327cd1dea4d7bd358d9dc7732f58f9e1626a29cc0c05c8c692419d9bb7","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7bf9377723203b5a6a4b920164df22d56a43f593269ba6ae1fdc97774b68855","affectsGlobalScope":true,"impliedFormat":1},{"version":"db9709688f82c9e5f65a119c64d835f906efe5f559d08b11642d56eb85b79357","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b25b8c874acd1a4cf8444c3617e037d444d19080ac9f634b405583fd10ce1f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"37be57d7c90cf1f8112ee2636a068d8fd181289f82b744160ec56a7dc158a9f5","affectsGlobalScope":true,"impliedFormat":1},{"version":"a917a49ac94cd26b754ab84e113369a75d1a47a710661d7cd25e961cc797065f","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d3261badeb7843d157ef3e6f5d1427d0eeb0af0cf9df84a62cfd29fd47ac86e","affectsGlobalScope":true,"impliedFormat":1},{"version":"195daca651dde22f2167ac0d0a05e215308119a3100f5e6268e8317d05a92526","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b11e4285cd2bb164a4dc09248bdec69e9842517db4ca47c1ba913011e44ff2f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0508571a52475e245b02bc50fa1394065a0a3d05277fbf5120c3784b85651799","affectsGlobalScope":true,"impliedFormat":1},{"version":"8f9af488f510c3015af3cc8c267a9e9d96c4dd38a1fdff0e11dc5a544711415b","affectsGlobalScope":true,"impliedFormat":1},{"version":"fc611fea8d30ea72c6bbfb599c9b4d393ce22e2f5bfef2172534781e7d138104","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ce14b81c5cc821994aa8ec1d42b220dd41b27fcc06373bce3958af7421b77d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3a048b3e9302ef9a34ef4ebb9aecfb28b66abb3bce577206a79fee559c230da","affectsGlobalScope":true,"impliedFormat":1},"73cc073d7a102374d6b9bcdbde8072f3aa3c8f86767f562086b6a7a7df5f22c0","e66deb230968faf1a8f37ea6f217f319dd0dad7a39ead1bf5d4f54e2eb5ce4bd","13ee17bbdd42459d6450899cea1999aab64c723328e773c0be5e8a13b51b6259","f79062b892847b4e33d0b730bf9dcf66ac24fc3fe9df7bba4d0997c6bdf6cbde","20f3a5481b2c009533e9e6b864cbd4ae3c09ccfca0577918b3587cda295e7071","2797c77cc0da0836a37c8c1fe64942a999c73f811f5481d827ac7d8cb9ddedd3","5a40849c3a5d5a8c2aa754fc964830ea344c94bfeddd4b442bdeae899e2f5339","848836f528d4ac80a5b3212c719225a3ba09406d44fea755cb642299a68d7056","fae981646738728f2b882c14625b99c23c430400a21c081dc6888d9703bd6c68","45c8a077eb724bae4e1fc0d15f76618650e32e55c4582dc1f27153ecdeb66ca6","302c082712d8fe41be387cd34af45b163b5314c04ddeefe53b1cb57fe46d3221","0c1a84d7b974db1961c6e9ab71d5257dfa38d99fb6300f22de55750526c9daef","69bc40bb169ea922cab72dc2142f37e75b44095cf1e79ca1b2809164c284de57",{"version":"264f935450101e4b000eb351cf75c9d799ca20a278b260a9e5770303b5f2b6a3","impliedFormat":99},{"version":"f6f171b23ae6db93454343f1b788960f799c8f37043904874a752c0990c6fca6","impliedFormat":99},"478e59ac0830a0f6360236632d0d589fb0211183aa1ab82292fbca529c0cce35",{"version":"089f9928e7ab1ca2c225e167a80ff1cb5ed0a71c98be7e81f040a51e2cc6bf5e","impliedFormat":99},{"version":"b11acc27c280988d7256bbd8ffe9f1cb5a0e5ed17cddf5335289ee0e81500369","affectsGlobalScope":true,"impliedFormat":99},{"version":"02ab5dbcaa58da1d58c46c7cdfa7f94792c5ccf0fc7c0622ef33755fe415366c","impliedFormat":99},"e689cc8cd8a102d31c9d3a7b0db0028594202093c4aca25982b425e8ae744556",{"version":"2a04530c2579ddcf996e1cf017caaba573e0ebf8a5b9e45d3bc25ba4489fb5a3","impliedFormat":99},"f41d91b2db1112fcc673a6862fe68cadcbdd0a66ed16b47ac74a0a6da8932bb4","1b4ed9deaba72d4bc8495bf46db690dbf91040da0cb2401db10bad162732c0e2",{"version":"89121c1bf2990f5219bfd802a3e7fc557de447c62058d6af68d6b6348d64499a","impliedFormat":1},{"version":"d4a22007b481fe2a2e6bfd3a42c00cd62d41edb36d30fc4697df2692e9891fc8","impliedFormat":1},{"version":"a5dbd4c9941b614526619bad31047ddd5f504ec4cdad88d6117b549faef34dd3","impliedFormat":99},{"version":"d36518bd617ff673c7d9f372706f241932a43f27673187f2a8472e93c40041c6","impliedFormat":99},{"version":"f8eb2909590ec619643841ead2fc4b4b183fbd859848ef051295d35fef9d8469","impliedFormat":99},{"version":"fe784567dd721417e2c4c7c1d7306f4b8611a4f232f5b7ce734382cf34b417d2","impliedFormat":99},{"version":"2b37ba54ec067598bf912d56fcb81f6d8ad86a045c757e79440bdef97b52fe1b","impliedFormat":99},{"version":"1bc9dd465634109668661f998485a32da369755d9f32b5a55ed64a525566c94b","impliedFormat":99},{"version":"5702b3c2f5d248290ed99419d77ca1cc3e6c29db5847172377659c50e6303768","impliedFormat":99},{"version":"9764b2eb5b4fc0b8951468fb3dbd6cd922d7752343ef5fbf1a7cd3dfcd54a75e","impliedFormat":99},{"version":"1fc2d3fe8f31c52c802c4dee6c0157c5a1d1f6be44ece83c49174e316cf931ad","impliedFormat":99},{"version":"dc4aae103a0c812121d9db1f7a5ea98231801ed405bf577d1c9c46a893177e36","impliedFormat":99},{"version":"106d3f40907ba68d2ad8ce143a68358bad476e1cc4a5c710c11c7dbaac878308","impliedFormat":99},{"version":"42ad582d92b058b88570d5be95393cf0a6c09a29ba9aa44609465b41d39d2534","impliedFormat":99},{"version":"36e051a1e0d2f2a808dbb164d846be09b5d98e8b782b37922a3b75f57ee66698","impliedFormat":99},{"version":"4f7e6730a707b0d4971d96de3b562819ce304af770723707a58a578dd55a5e52","impliedFormat":99},{"version":"d1c1213e9176398b4d1d9aa543691181fd5ae23ae5415e80ede41f1ec1ccf72a","impliedFormat":99},{"version":"45d1e8fb4fd3e265b15f5a77866a8e21870eae4c69c473c33289a4b971e93704","impliedFormat":99},{"version":"cd40919f70c875ca07ecc5431cc740e366c008bcbe08ba14b8c78353fb4680df","impliedFormat":99},{"version":"ddfd9196f1f83997873bbe958ce99123f11b062f8309fc09d9c9667b2c284391","impliedFormat":99},{"version":"2999ba314a310f6a333199848166d008d088c6e36d090cbdcc69db67d8ae3154","impliedFormat":99},{"version":"62c1e573cd595d3204dfc02b96eba623020b181d2aa3ce6a33e030bc83bebb41","impliedFormat":99},{"version":"ca1616999d6ded0160fea978088a57df492b6c3f8c457a5879837a7e68d69033","impliedFormat":99},{"version":"835e3d95251bbc48918bb874768c13b8986b87ea60471ad8eceb6e38ddd8845e","impliedFormat":99},{"version":"de54e18f04dbcc892a4b4241b9e4c233cfce9be02ac5f43a631bbc25f479cd84","impliedFormat":99},{"version":"453fb9934e71eb8b52347e581b36c01d7751121a75a5cd1a96e3237e3fd9fc7e","impliedFormat":99},{"version":"bc1a1d0eba489e3eb5c2a4aa8cd986c700692b07a76a60b73a3c31e52c7ef983","impliedFormat":99},{"version":"4098e612efd242b5e203c5c0b9afbf7473209905ab2830598be5c7b3942643d0","impliedFormat":99},{"version":"28410cfb9a798bd7d0327fbf0afd4c4038799b1d6a3f86116dc972e31156b6d2","impliedFormat":99},{"version":"514ae9be6724e2164eb38f2a903ef56cf1d0e6ddb62d0d40f155f32d1317c116","impliedFormat":99},{"version":"970e5e94a9071fd5b5c41e2710c0ef7d73e7f7732911681592669e3f7bd06308","impliedFormat":99},{"version":"491fb8b0e0aef777cec1339cb8f5a1a599ed4973ee22a2f02812dd0f48bd78c1","impliedFormat":99},{"version":"6acf0b3018881977d2cfe4382ac3e3db7e103904c4b634be908f1ade06eb302d","impliedFormat":99},{"version":"2dbb2e03b4b7f6524ad5683e7b5aa2e6aef9c83cab1678afd8467fde6d5a3a92","impliedFormat":99},{"version":"135b12824cd5e495ea0a8f7e29aba52e1adb4581bb1e279fb179304ba60c0a44","impliedFormat":99},{"version":"e4c784392051f4bbb80304d3a909da18c98bc58b093456a09b3e3a1b7b10937f","impliedFormat":99},{"version":"2e87c3480512f057f2e7f44f6498b7e3677196e84e0884618fc9e8b6d6228bed","impliedFormat":99},{"version":"66984309d771b6b085e3369227077da237b40e798570f0a2ddbfea383db39812","impliedFormat":99},{"version":"e41be8943835ad083a4f8a558bd2a89b7fe39619ed99f1880187c75e231d033e","impliedFormat":99},{"version":"260558fff7344e4985cfc78472ae58cbc2487e406d23c1ddaf4d484618ce4cfd","impliedFormat":99},{"version":"e6274d956641c1cbd5a01a221a85a6671fd85104ed6b530f8d34ad3086804133","impliedFormat":99},{"version":"77516308358982bb05209e8c0ed6f321860e03393587d89f61055941e5bbcdd2","impliedFormat":99},{"version":"dc8652855a95ef9b9c12be8d2f5e6fc37b96aa2144f6c6f195cd1d2e07f721ee","impliedFormat":99},"e2cb25ca55e10ba874410188a53331a6b0b2bc13c0ee4d538bde50460a4e1b77","041afde4e1ac27e6fabdc2ca87882a3a766443fcfe1a1cfc3ed78bcc1c25b28a","c2049793874bbeafd60402bab915f3d285f4057e718dfdefe8a54ccc80c991dd","8a2b6f999a708119f4fa55fc58c5803ca9563340d0a54b9fe2a4fa14838f148c","2db5b1bbf946e20cef3c889cb7be46e3da384bdd1b4b53964253d97635718774","79e620484ae1a7011482631159563e4729f7f4d4c316b914125cb95f678ffbb9","6434c2976daf446cfd95935af4e0a0b6b369ce81af183579dab3ac6567dbbfd0","f50c1778b48a9275078ad81abaa5b4cb13a295b3889986f8e72fe61dd9cd8b86","6e935a5aec1b1f86cfa97fb93ec13c8759479712014d7dc4c13f140f7d409357","8cd4c86b90f9a96ba804585a4b6a998f484a860af3dfd12641ecb9eca109274b","8cd4c86b90f9a96ba804585a4b6a998f484a860af3dfd12641ecb9eca109274b","1b92de1f5b74cf4bda283aa7688c80781e9c7273f44a4ef2db084747a94be933","8c24aeb14985e8089f29e1fea075e95a7c8825077277079d5dc4130ceb6339de","ff041f34cc1936cb45f94de1924d396abd69b3d6e0cc887dfaa0b6ec176e27e1","6abd2f68e6651205f5d7763dcf7a5b5e5dc28b6194b097b467913d2cf19c1dd2","c04c352fc277c57e16519814a13e1b84e6c54c461b89ee63c8bff94ddf615555","e406a8398f12e8bb0d7661b9974a9ce78043a916cd2c652f7b82b7889e57f9e8","441c8ea68ff583cefd0f77d2a1699f6328d714ebfb9435ffedad5470392de2e7","cc60d13b9e2058908f082cca058357d2ebd83143b3dc4e3a01731e8a4b7ae2fe","5ca4d7a999b9fa8c7e2ef9746968eaeabb8e69a904cc62a3c18ac23b9664c8a8","bff722032fb479d76cdd167e0aa05e2e3ca9b728cff777e893aa694bad01e3a9","3fc92b50147ec179c1db1355901683a7f48646c6203ae982f2bc31dc8959f4ff","ad43cfeea2ffc4f26107e49ae92bed3fe01b0c2aa3e328e293d7b0dceb01300f","50e52950b1b92455f40c3fba61ee9a43e74bf9bdf6a25e01ad2e3a2226bbb2ec","cd2e2d6ffad8a1de80249fd4aa35f6c6f9160c18f69fbaf6507072eba208abda","3b8dd8f967501f6193f2d31f8a124e05186264f37f1b73d073cf39c6e123fe50","bc699cb86e1528d370a29ae99fe8f89e3a838bb620ad4071a4c9999a390c8361","487ae9dd80a97c7c7fa8cb272b81033c4252b064047f8b10b2d421e3a909dacf","0e0f762a06bd12f01872c86e03fd88a6830c3991ea17734ea2859a43a96b6ac5","88738bfae85b658c5728b5d84e7e9b78788281edc397bc6a75da4d1b554d2041","af1e3e5216a3a605be2384495ea43d50684dc0b674b0fc795cdaaaa51f979db6","d531e9345fbc0cb9e1fa9428752f675b40f2c32c8bda0c1547fc64522e3295d5","33be8125f7170aedbf456f05059014f0fbbfbf4842eb76d3c43a86bb82045df6","2246cd9c0a20fdf3df7fa37ee25c4e8d3989d38eb6274203fb0e9d43020a5cfc","f6d2f543d91edabb84f53c26e611514f0ecec59b72f6e5321145c00c70d0f1e7","6e12e26efaaeb591c891d49658152d874a1fc869c1231176172a4e90a78320c4","8e0872445888b4eac9c8915022cc2b58291db248fc33b0994c7e3296d7af306a","7064efe511093c8ab839f6c8bbe2ffc2911bc299ec8880f2129b541e2e32cc4c","41259a2d0eac0369e1581e08e5aef6ffef48f9ffc3d06d874524c9da6f1e4f29","9722d152fcdb95a635c8132764b7ded085073b4734daf2b19798be965fb10160","db3f677fdf3de11b7a334e5c8e677df05686b3d6e172d46ad3a1674790e5d03c","3a5ebec0a04030822776a5dcc7f9b053a38d79aa4b15e7c4df009ee5ac813dbf","77b54b2bf7d6e4a05b79d286903ad9f71141f91409729c5deb8bfa417d7f0960","573f356148118ea54c7b9a2eff374329022b1e38d5a1070cae53c97d7b0ef355","ef5ae01c8b2b11403554c319af51db9c3dc26051cb077b75c8885b5d02821557","1da18878fb9f757426713faa0c4b289ff717f1bb26bcefc358c2b03aae5f11be","5d7c0080e6e16f13e23ec822364b951a8135242ec61db38d230725c4cc8bba00","9fe63d563259a1a7e32332cd5cc24bccd9f0a34d0d9f2e80df7370d4205e91cb","947c6ccd6a0b2805b4e3479b51112d8affc4b64ecb209ee15a480a10c44a48a1","c4f0b3fb0d90e865c3ab69b9fff9c8eb13ff8fd49bcfce1f10f696bf5db9cdc9","e39e74456caf2be7616c1327e6447e6559e64d5ffb161d43bb44f50b3461ee59","8c3dde564136c2b88384fa63c823c9b4282b5b813ad8287a1c8f3734efb801a0","defdff60f915e05c089175d08b85199747f561dc318ac8dceacc844753060e6d","1a3dbaf2ef5ba30576b22fe1a26c868d9c76646670afb0c90ce7b6e1233211b2","d6faa230dcddc146229e72291ed444476e5c3fcf75b102fb0c78a46510e82424","bfa14541c2b697d5a73041bfa7a318b47db2301e2045856c7ab9db7bb3f4d21b","caee8e88a02710517f1d1849b48fa8793878f4ab0c51cde5c025ba6f21b946df","bbf57449e9341dc4b6f56e7ce74d0edee6cd7c4ca55b52664469de0c7d384445",{"version":"17d00ff271c827949fcc54e41e4806996a8d892c65235b47b1eabf5fbb939808","signature":"6d17ed9b7135b0b3db99ead1c9a36ed2c4891df097fff6c3e2a9ef3df9a5740f"},{"version":"301513b5c98430d02fab46247b7a68ac3d0578fab7a403d9db09f3fa5761a9e3","signature":"69d17fda3a59adc0a1d6a768c2573cae24915c2fc745eb51301681bced4c3f55"},{"version":"661fa3a6acb26e8a54a8f42d7109c66e608428ad15986145cd8c1dc671e6d7fc","signature":"92c340901abaf8badfa56130523aee6c8d4753fea3c87041106d8324396a262f"},{"version":"5539d94a93e07be91e9394f3d69bf53bea58a96bce95d3ff0988ea680d7bc09a","signature":"e0ff6add774524640cbf407cad799562fcf14f9ec54ae9865f132a2d0f35f11d"},{"version":"e11594f57474e204ab36a87741d95794ee336590a9664b9574557e0010891e9d","signature":"2217fc894d4f1a2b8c10232540daf91bb5ac3dafd1abd5a785e5cbfb586be6c3"},{"version":"0b94af34c10cf2b6abbe75317b1bb532c00bde93ad6582bc620c27a91075cff7","signature":"59e12960f1286ffc79903817f59c30790b02546a72eff8b2b6009dba381ecb11"},{"version":"1fe2347c1d72b65bcc169f1acbafabae895afbc03f6bca093faad74e0e86a38c","signature":"011d112d64a716536e2f5786eae729edbe97802903584fa17cf43687d73a0170"},{"version":"ebc2891c6062283fa3bb436044f4855b8eaac5e0de99ad56d9e80ac29a657ca4","signature":"e2724ec8a3310e44794718d3e2334252cf981d5d327468f0b195be035c4192a4"},{"version":"461a34a277b174d2888b729da088c2c0edfd64de170285397a45dd11bb35a139","signature":"05295939b25844d8bfe4ed21a929a68ccf2436fb8da5f84ddcae5c308896b00f"}],"root":[[183,191]],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":99,"noEmitOnError":false,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noImplicitReturns":true,"noPropertyAccessFromIndexSignature":false,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":5,"tsBuildInfoFile":"./tsconfig.tsbuildinfo","useUnknownInCatchVariables":true,"verbatimModuleSyntax":true},"referencedMap":[[83,1],[87,2],[86,3],[85,4],[121,5],[101,6],[102,6],[103,6],[104,6],[105,6],[106,6],[107,7],[109,6],[108,6],[120,8],[110,6],[112,6],[111,6],[114,6],[113,6],[115,6],[116,6],[117,6],[118,6],[119,6],[100,6],[99,9],[79,10],[73,11],[77,12],[75,13],[76,14],[98,15],[97,16],[123,17],[122,18],[124,19],[94,20],[96,21],[95,22],[89,23],[88,1],[91,24],[90,25],[149,26],[150,27],[151,28],[137,29],[138,30],[139,31],[140,32],[141,33],[148,34],[142,35],[146,30],[143,36],[147,37],[144,38],[145,36],[60,39],[61,40],[59,41],[71,42],[67,43],[66,44],[68,45],[70,46],[69,47],[64,48],[65,49],[63,50],[184,51],[183,31],[187,52],[188,53],[191,54],[190,55],[189,56],[186,57],[80,58],[74,13],[78,59],[81,60],[136,61],[134,62],[131,63],[132,64],[133,65],[135,66],[127,67],[128,68],[129,69],[126,70],[130,71],[153,72],[161,31],[154,73],[156,74],[157,74],[155,72],[158,75],[159,76],[160,77],[165,78],[163,79],[162,80],[166,81],[164,82],[167,83],[168,84],[152,31],[182,85],[169,86],[170,31],[171,31],[172,31],[180,87],[177,31],[173,31],[179,31],[174,31],[175,31],[178,31],[176,88]],"latestChangedDtsFile":"./index.d.ts","version":"6.0.2"}
|
|
1
|
+
{"fileNames":["../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../ctx/lib/context/slice.d.ts","../../../ctx/lib/context/container.d.ts","../../../ctx/lib/context/index.d.ts","../../../ctx/lib/inspector/meta.d.ts","../../../ctx/lib/timer/timer.d.ts","../../../ctx/lib/timer/clock.d.ts","../../../ctx/lib/timer/index.d.ts","../../../ctx/lib/inspector/inspector.d.ts","../../../ctx/lib/inspector/index.d.ts","../../../ctx/lib/plugin/ctx.d.ts","../../../ctx/lib/plugin/types.d.ts","../../../ctx/lib/plugin/index.d.ts","../../../ctx/lib/index.d.ts","../../../../node_modules/.pnpm/orderedmap@2.1.1/node_modules/orderedmap/dist/index.d.ts","../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.d.ts","../../../prose/lib/model.d.ts","../../../../node_modules/.pnpm/prosemirror-transform@1.12.0/node_modules/prosemirror-transform/dist/index.d.ts","../../../../node_modules/.pnpm/prosemirror-view@1.41.8/node_modules/prosemirror-view/dist/index.d.ts","../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.d.ts","../../../prose/lib/state.d.ts","../../../../node_modules/.pnpm/prosemirror-inputrules@1.5.1/node_modules/prosemirror-inputrules/dist/index.d.ts","../../../prose/lib/inputrules.d.ts","../../../prose/lib/view.d.ts","../../../../node_modules/.pnpm/@types+unist@3.0.3/node_modules/@types/unist/index.d.ts","../../../../node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts","../../../../node_modules/.pnpm/micromark-util-types@2.0.2/node_modules/micromark-util-types/index.d.ts","../../../../node_modules/.pnpm/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown/lib/types.d.ts","../../../../node_modules/.pnpm/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown/lib/index.d.ts","../../../../node_modules/.pnpm/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown/index.d.ts","../../../../node_modules/.pnpm/vfile-message@4.0.3/node_modules/vfile-message/lib/index.d.ts","../../../../node_modules/.pnpm/vfile-message@4.0.3/node_modules/vfile-message/index.d.ts","../../../../node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/index.d.ts","../../../../node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/index.d.ts","../../../../node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/callable-instance.d.ts","../../../../node_modules/.pnpm/trough@2.2.0/node_modules/trough/lib/index.d.ts","../../../../node_modules/.pnpm/trough@2.2.0/node_modules/trough/index.d.ts","../../../../node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/index.d.ts","../../../../node_modules/.pnpm/unified@11.0.5/node_modules/unified/index.d.ts","../../../../node_modules/.pnpm/remark-parse@11.0.0/node_modules/remark-parse/lib/index.d.ts","../../../../node_modules/.pnpm/remark-parse@11.0.0/node_modules/remark-parse/index.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/types.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/index.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/blockquote.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/break.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/code.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/definition.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/emphasis.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/heading.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/html.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/image.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/image-reference.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/inline-code.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/link.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/link-reference.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/list.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/list-item.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/paragraph.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/root.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/strong.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/text.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/index.d.ts","../../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/index.d.ts","../../../../node_modules/.pnpm/remark-stringify@11.0.0/node_modules/remark-stringify/lib/index.d.ts","../../../../node_modules/.pnpm/remark-stringify@11.0.0/node_modules/remark-stringify/index.d.ts","../../../../node_modules/.pnpm/remark@15.0.1/node_modules/remark/index.d.ts","../../../transformer/lib/utility/stack.d.ts","../../../transformer/lib/utility/index.d.ts","../../../transformer/lib/serializer/stack-element.d.ts","../../../transformer/lib/serializer/state.d.ts","../../../transformer/lib/serializer/types.d.ts","../../../transformer/lib/utility/types.d.ts","../../../transformer/lib/parser/stack-element.d.ts","../../../transformer/lib/parser/state.d.ts","../../../transformer/lib/parser/types.d.ts","../../../transformer/lib/parser/index.d.ts","../../../transformer/lib/serializer/index.d.ts","../../../transformer/lib/index.d.ts","../../../core/lib/internal-plugin/atoms.d.ts","../../../core/lib/internal-plugin/commands.d.ts","../../../core/lib/internal-plugin/config.d.ts","../../../core/lib/internal-plugin/editor-state.d.ts","../../../core/lib/internal-plugin/editor-view.d.ts","../../../core/lib/internal-plugin/init.d.ts","../../../core/lib/internal-plugin/parser.d.ts","../../../core/lib/internal-plugin/schema.d.ts","../../../core/lib/internal-plugin/serializer.d.ts","../../../core/lib/internal-plugin/keymap.d.ts","../../../core/lib/internal-plugin/paste-rule.d.ts","../../../core/lib/internal-plugin/index.d.ts","../../../core/lib/editor/editor.d.ts","../../../core/lib/editor/index.d.ts","../../../core/lib/index.d.ts","../../../utils/lib/composable/utils.d.ts","../../../utils/lib/composable/$command.d.ts","../../../utils/lib/composable/$input-rule.d.ts","../../../utils/lib/composable/$paste-rule.d.ts","../../../utils/lib/composable/$mark.d.ts","../../../utils/lib/composable/$node.d.ts","../../../utils/lib/composable/$prose.d.ts","../../../utils/lib/composable/$shortcut.d.ts","../../../utils/lib/composable/$view.d.ts","../../../utils/lib/composable/$ctx.d.ts","../../../utils/lib/composable/composed/$node-schema.d.ts","../../../utils/lib/composable/composed/$mark-schema.d.ts","../../../utils/lib/composable/composed/$use-keymap.d.ts","../../../utils/lib/composable/composed/$attr.d.ts","../../../utils/lib/composable/composed/$remark.d.ts","../../../utils/lib/composable/composed/index.d.ts","../../../utils/lib/composable/index.d.ts","../../../utils/lib/macro/call-command.d.ts","../../../utils/lib/macro/force-update.d.ts","../../../utils/lib/macro/get-html.d.ts","../../../utils/lib/macro/get-markdown.d.ts","../../../utils/lib/macro/insert.d.ts","../../../utils/lib/macro/outline.d.ts","../../../utils/lib/macro/replace-all.d.ts","../../../utils/lib/macro/set-attr.d.ts","../../../utils/lib/macro/insert-pos.d.ts","../../../utils/lib/macro/replace-range.d.ts","../../../utils/lib/macro/markdown-to-slice.d.ts","../../../utils/lib/macro/index.d.ts","../../../utils/lib/pipe.d.ts","../../../utils/lib/index.d.ts","../src/__internal__/with-meta.ts","../src/__internal__/index.ts","../src/regexp.ts","../src/utils.ts","../src/config.ts","../src/context.ts","../src/replacer.ts","../src/inline-sync-plugin.ts","../src/index.ts"],"fileIdsList":[[82],[84,85,86,87],[83,84,85,87],[83,84,87],[99,100,120],[83,121],[83],[101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119],[82,83],[73,77],[72],[73,75,76],[73],[73,75,77],[83,84,87,96,97,98,123],[83,87,91,96,98,123],[83,96,98,121,122,123],[83,91,96,98,121,123],[83,96,98,123],[93],[91,95],[82,91,92,94,96,98,123],[88],[89,90],[82,89,91],[71,148],[149],[148,150],[71,78,80,81,123,136,150],[71,78],[71],[71,74,78,136],[71,81],[137,138,139,140,141,142,143,144,145,146,147],[71,150],[71,136],[71,74,81],[71,74,136],[59],[59,60],[60],[61,65,67,70],[62,66],[61,62,65],[61,65,67,71],[68,69],[67,68],[63],[63,64],[64],[183],[71,74,78,182,184,186],[71,74,78,151,182,185,186,187],[71,187,190],[71,78,151,182,184,187,188,189],[71,74,78,185,186,187,188],[74,185,187],[79],[77],[76],[126,134,135],[132,133],[74,126],[74,126,131,133],[74,130,132],[128,129],[126,136],[74,126,127,129],[74,128],[125,130],[74,96,98,123,124,129,133],[71,151,152],[71,80,152],[71,74,136,152],[71,78,152],[71,78,151,152],[71,81,152,168],[74,161],[71,136,156,161],[71,136,157,161],[71,136,161],[71,78,159,161],[162,163,164,165,166],[152,153,154,155,156,157,158,159,160,161,167],[168,180,181],[71,151],[169,170,171,172,173,174,175,176,177,178,179],[71,74]],"fileInfos":[{"version":"bcd24271a113971ba9eb71ff8cb01bc6b0f872a85c23fdbe5d93065b375933cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f88bedbeb09c6f5a6645cb24c7c55f1aa22d19ae96c8e6959cbd8b85a707bc6","impliedFormat":1},{"version":"7fe93b39b810eadd916be8db880dd7f0f7012a5cc6ffb62de8f62a2117fa6f1f","impliedFormat":1},{"version":"bb0074cc08b84a2374af33d8bf044b80851ccc9e719a5e202eacf40db2c31600","impliedFormat":1},{"version":"1a7daebe4f45fb03d9ec53d60008fbf9ac45a697fdc89e4ce218bc94b94f94d6","impliedFormat":1},{"version":"f94b133a3cb14a288803be545ac2683e0d0ff6661bcd37e31aaaec54fc382aed","impliedFormat":1},{"version":"f59d0650799f8782fd74cf73c19223730c6d1b9198671b1c5b3a38e1188b5953","impliedFormat":1},{"version":"8a15b4607d9a499e2dbeed9ec0d3c0d7372c850b2d5f1fb259e8f6d41d468a84","impliedFormat":1},{"version":"26e0fe14baee4e127f4365d1ae0b276f400562e45e19e35fd2d4c296684715e6","impliedFormat":1},{"version":"d6b1eba8496bdd0eed6fc8a685768fe01b2da4a0388b5fe7df558290bffcf32f","affectsGlobalScope":true,"impliedFormat":1},{"version":"eadcffda2aa84802c73938e589b9e58248d74c59cb7fcbca6474e3435ac15504","affectsGlobalScope":true,"impliedFormat":1},{"version":"105ba8ff7ba746404fe1a2e189d1d3d2e0eb29a08c18dded791af02f29fb4711","affectsGlobalScope":true,"impliedFormat":1},{"version":"00343ca5b2e3d48fa5df1db6e32ea2a59afab09590274a6cccb1dbae82e60c7c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ebd9f816d4002697cb2864bea1f0b70a103124e18a8cd9645eeccc09bdf80ab4","affectsGlobalScope":true,"impliedFormat":1},{"version":"2c1afac30a01772cd2a9a298a7ce7706b5892e447bb46bdbeef720f7b5da77ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"7b0225f483e4fa685625ebe43dd584bb7973bbd84e66a6ba7bbe175ee1048b4f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c0a4b8ac6ce74679c1da2b3795296f5896e31c38e888469a8e0f99dc3305de60","affectsGlobalScope":true,"impliedFormat":1},{"version":"3084a7b5f569088e0146533a00830e206565de65cae2239509168b11434cd84f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5079c53f0f141a0698faa903e76cb41cd664e3efb01cc17a5c46ec2eb0bef42","affectsGlobalScope":true,"impliedFormat":1},{"version":"32cafbc484dea6b0ab62cf8473182bbcb23020d70845b406f80b7526f38ae862","affectsGlobalScope":true,"impliedFormat":1},{"version":"fca4cdcb6d6c5ef18a869003d02c9f0fd95df8cfaf6eb431cd3376bc034cad36","affectsGlobalScope":true,"impliedFormat":1},{"version":"b93ec88115de9a9dc1b602291b85baf825c85666bf25985cc5f698073892b467","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5c06dcc3fe849fcb297c247865a161f995cc29de7aa823afdd75aaaddc1419b","affectsGlobalScope":true,"impliedFormat":1},{"version":"b77e16112127a4b169ef0b8c3a4d730edf459c5f25fe52d5e436a6919206c4d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"fbffd9337146eff822c7c00acbb78b01ea7ea23987f6c961eba689349e744f8c","affectsGlobalScope":true,"impliedFormat":1},{"version":"a995c0e49b721312f74fdfb89e4ba29bd9824c770bbb4021d74d2bf560e4c6bd","affectsGlobalScope":true,"impliedFormat":1},{"version":"c7b3542146734342e440a84b213384bfa188835537ddbda50d30766f0593aff9","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce6180fa19b1cccd07ee7f7dbb9a367ac19c0ed160573e4686425060b6df7f57","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f02e2476bccb9dbe21280d6090f0df17d2f66b74711489415a8aa4df73c9675","affectsGlobalScope":true,"impliedFormat":1},{"version":"45e3ab34c1c013c8ab2dc1ba4c80c780744b13b5676800ae2e3be27ae862c40c","affectsGlobalScope":true,"impliedFormat":1},{"version":"805c86f6cca8d7702a62a844856dbaa2a3fd2abef0536e65d48732441dde5b5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e42e397f1a5a77994f0185fd1466520691456c772d06bf843e5084ceb879a0ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"f4c2b41f90c95b1c532ecc874bd3c111865793b23aebcc1c3cbbabcd5d76ffb0","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab26191cfad5b66afa11b8bf935ef1cd88fabfcb28d30b2dfa6fad877d050332","affectsGlobalScope":true,"impliedFormat":1},{"version":"2088bc26531e38fb05eedac2951480db5309f6be3fa4a08d2221abb0f5b4200d","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb9d366c425fea79716a8fb3af0d78e6b22ebbab3bd64d25063b42dc9f531c1e","affectsGlobalScope":true,"impliedFormat":1},{"version":"500934a8089c26d57ebdb688fc9757389bb6207a3c8f0674d68efa900d2abb34","affectsGlobalScope":true,"impliedFormat":1},{"version":"689da16f46e647cef0d64b0def88910e818a5877ca5379ede156ca3afb780ac3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc21cc8b6fee4f4c2440d08035b7ea3c06b3511314c8bab6bef7a92de58a2593","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ca53d13d2957003abb47922a71866ba7cb2068f8d154877c596d63c359fed25","affectsGlobalScope":true,"impliedFormat":1},{"version":"54725f8c4df3d900cb4dac84b64689ce29548da0b4e9b7c2de61d41c79293611","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5594bc3076ac29e6c1ebda77939bc4c8833de72f654b6e376862c0473199323","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f3eb332c2d73e729f3364fcc0c2b375e72a121e8157d25a82d67a138c83a95c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f4427f9642ce8d500970e4e69d1397f64072ab73b97e476b4002a646ac743b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"48915f327cd1dea4d7bd358d9dc7732f58f9e1626a29cc0c05c8c692419d9bb7","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7bf9377723203b5a6a4b920164df22d56a43f593269ba6ae1fdc97774b68855","affectsGlobalScope":true,"impliedFormat":1},{"version":"db9709688f82c9e5f65a119c64d835f906efe5f559d08b11642d56eb85b79357","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b25b8c874acd1a4cf8444c3617e037d444d19080ac9f634b405583fd10ce1f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"37be57d7c90cf1f8112ee2636a068d8fd181289f82b744160ec56a7dc158a9f5","affectsGlobalScope":true,"impliedFormat":1},{"version":"a917a49ac94cd26b754ab84e113369a75d1a47a710661d7cd25e961cc797065f","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d3261badeb7843d157ef3e6f5d1427d0eeb0af0cf9df84a62cfd29fd47ac86e","affectsGlobalScope":true,"impliedFormat":1},{"version":"195daca651dde22f2167ac0d0a05e215308119a3100f5e6268e8317d05a92526","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b11e4285cd2bb164a4dc09248bdec69e9842517db4ca47c1ba913011e44ff2f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0508571a52475e245b02bc50fa1394065a0a3d05277fbf5120c3784b85651799","affectsGlobalScope":true,"impliedFormat":1},{"version":"8f9af488f510c3015af3cc8c267a9e9d96c4dd38a1fdff0e11dc5a544711415b","affectsGlobalScope":true,"impliedFormat":1},{"version":"fc611fea8d30ea72c6bbfb599c9b4d393ce22e2f5bfef2172534781e7d138104","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ce14b81c5cc821994aa8ec1d42b220dd41b27fcc06373bce3958af7421b77d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3a048b3e9302ef9a34ef4ebb9aecfb28b66abb3bce577206a79fee559c230da","affectsGlobalScope":true,"impliedFormat":1},"73cc073d7a102374d6b9bcdbde8072f3aa3c8f86767f562086b6a7a7df5f22c0","e66deb230968faf1a8f37ea6f217f319dd0dad7a39ead1bf5d4f54e2eb5ce4bd","13ee17bbdd42459d6450899cea1999aab64c723328e773c0be5e8a13b51b6259","f79062b892847b4e33d0b730bf9dcf66ac24fc3fe9df7bba4d0997c6bdf6cbde","20f3a5481b2c009533e9e6b864cbd4ae3c09ccfca0577918b3587cda295e7071","2797c77cc0da0836a37c8c1fe64942a999c73f811f5481d827ac7d8cb9ddedd3","5a40849c3a5d5a8c2aa754fc964830ea344c94bfeddd4b442bdeae899e2f5339","848836f528d4ac80a5b3212c719225a3ba09406d44fea755cb642299a68d7056","fae981646738728f2b882c14625b99c23c430400a21c081dc6888d9703bd6c68","45c8a077eb724bae4e1fc0d15f76618650e32e55c4582dc1f27153ecdeb66ca6","302c082712d8fe41be387cd34af45b163b5314c04ddeefe53b1cb57fe46d3221","0c1a84d7b974db1961c6e9ab71d5257dfa38d99fb6300f22de55750526c9daef","69bc40bb169ea922cab72dc2142f37e75b44095cf1e79ca1b2809164c284de57",{"version":"264f935450101e4b000eb351cf75c9d799ca20a278b260a9e5770303b5f2b6a3","impliedFormat":99},{"version":"f6f171b23ae6db93454343f1b788960f799c8f37043904874a752c0990c6fca6","impliedFormat":99},"478e59ac0830a0f6360236632d0d589fb0211183aa1ab82292fbca529c0cce35",{"version":"304e41926d3299c9b30bfd418c35fffd2bd9e5ac726d6f758fb4e0f40a738d51","impliedFormat":99},{"version":"7d3b1ddfce35445b76298090a9dcadee8acf20f4c281eb1f2ce14fc7232c9470","affectsGlobalScope":true,"impliedFormat":99},{"version":"02ab5dbcaa58da1d58c46c7cdfa7f94792c5ccf0fc7c0622ef33755fe415366c","impliedFormat":99},"e689cc8cd8a102d31c9d3a7b0db0028594202093c4aca25982b425e8ae744556",{"version":"2a04530c2579ddcf996e1cf017caaba573e0ebf8a5b9e45d3bc25ba4489fb5a3","impliedFormat":99},"f41d91b2db1112fcc673a6862fe68cadcbdd0a66ed16b47ac74a0a6da8932bb4","1b4ed9deaba72d4bc8495bf46db690dbf91040da0cb2401db10bad162732c0e2",{"version":"89121c1bf2990f5219bfd802a3e7fc557de447c62058d6af68d6b6348d64499a","impliedFormat":1},{"version":"d4a22007b481fe2a2e6bfd3a42c00cd62d41edb36d30fc4697df2692e9891fc8","impliedFormat":1},{"version":"a5dbd4c9941b614526619bad31047ddd5f504ec4cdad88d6117b549faef34dd3","impliedFormat":99},{"version":"d36518bd617ff673c7d9f372706f241932a43f27673187f2a8472e93c40041c6","impliedFormat":99},{"version":"f8eb2909590ec619643841ead2fc4b4b183fbd859848ef051295d35fef9d8469","impliedFormat":99},{"version":"fe784567dd721417e2c4c7c1d7306f4b8611a4f232f5b7ce734382cf34b417d2","impliedFormat":99},{"version":"2b37ba54ec067598bf912d56fcb81f6d8ad86a045c757e79440bdef97b52fe1b","impliedFormat":99},{"version":"1bc9dd465634109668661f998485a32da369755d9f32b5a55ed64a525566c94b","impliedFormat":99},{"version":"5702b3c2f5d248290ed99419d77ca1cc3e6c29db5847172377659c50e6303768","impliedFormat":99},{"version":"9764b2eb5b4fc0b8951468fb3dbd6cd922d7752343ef5fbf1a7cd3dfcd54a75e","impliedFormat":99},{"version":"1fc2d3fe8f31c52c802c4dee6c0157c5a1d1f6be44ece83c49174e316cf931ad","impliedFormat":99},{"version":"dc4aae103a0c812121d9db1f7a5ea98231801ed405bf577d1c9c46a893177e36","impliedFormat":99},{"version":"106d3f40907ba68d2ad8ce143a68358bad476e1cc4a5c710c11c7dbaac878308","impliedFormat":99},{"version":"42ad582d92b058b88570d5be95393cf0a6c09a29ba9aa44609465b41d39d2534","impliedFormat":99},{"version":"36e051a1e0d2f2a808dbb164d846be09b5d98e8b782b37922a3b75f57ee66698","impliedFormat":99},{"version":"4f7e6730a707b0d4971d96de3b562819ce304af770723707a58a578dd55a5e52","impliedFormat":99},{"version":"d1c1213e9176398b4d1d9aa543691181fd5ae23ae5415e80ede41f1ec1ccf72a","impliedFormat":99},{"version":"45d1e8fb4fd3e265b15f5a77866a8e21870eae4c69c473c33289a4b971e93704","impliedFormat":99},{"version":"cd40919f70c875ca07ecc5431cc740e366c008bcbe08ba14b8c78353fb4680df","impliedFormat":99},{"version":"ddfd9196f1f83997873bbe958ce99123f11b062f8309fc09d9c9667b2c284391","impliedFormat":99},{"version":"2999ba314a310f6a333199848166d008d088c6e36d090cbdcc69db67d8ae3154","impliedFormat":99},{"version":"62c1e573cd595d3204dfc02b96eba623020b181d2aa3ce6a33e030bc83bebb41","impliedFormat":99},{"version":"ca1616999d6ded0160fea978088a57df492b6c3f8c457a5879837a7e68d69033","impliedFormat":99},{"version":"835e3d95251bbc48918bb874768c13b8986b87ea60471ad8eceb6e38ddd8845e","impliedFormat":99},{"version":"de54e18f04dbcc892a4b4241b9e4c233cfce9be02ac5f43a631bbc25f479cd84","impliedFormat":99},{"version":"453fb9934e71eb8b52347e581b36c01d7751121a75a5cd1a96e3237e3fd9fc7e","impliedFormat":99},{"version":"bc1a1d0eba489e3eb5c2a4aa8cd986c700692b07a76a60b73a3c31e52c7ef983","impliedFormat":99},{"version":"4098e612efd242b5e203c5c0b9afbf7473209905ab2830598be5c7b3942643d0","impliedFormat":99},{"version":"28410cfb9a798bd7d0327fbf0afd4c4038799b1d6a3f86116dc972e31156b6d2","impliedFormat":99},{"version":"514ae9be6724e2164eb38f2a903ef56cf1d0e6ddb62d0d40f155f32d1317c116","impliedFormat":99},{"version":"970e5e94a9071fd5b5c41e2710c0ef7d73e7f7732911681592669e3f7bd06308","impliedFormat":99},{"version":"491fb8b0e0aef777cec1339cb8f5a1a599ed4973ee22a2f02812dd0f48bd78c1","impliedFormat":99},{"version":"6acf0b3018881977d2cfe4382ac3e3db7e103904c4b634be908f1ade06eb302d","impliedFormat":99},{"version":"2dbb2e03b4b7f6524ad5683e7b5aa2e6aef9c83cab1678afd8467fde6d5a3a92","impliedFormat":99},{"version":"135b12824cd5e495ea0a8f7e29aba52e1adb4581bb1e279fb179304ba60c0a44","impliedFormat":99},{"version":"e4c784392051f4bbb80304d3a909da18c98bc58b093456a09b3e3a1b7b10937f","impliedFormat":99},{"version":"2e87c3480512f057f2e7f44f6498b7e3677196e84e0884618fc9e8b6d6228bed","impliedFormat":99},{"version":"66984309d771b6b085e3369227077da237b40e798570f0a2ddbfea383db39812","impliedFormat":99},{"version":"e41be8943835ad083a4f8a558bd2a89b7fe39619ed99f1880187c75e231d033e","impliedFormat":99},{"version":"260558fff7344e4985cfc78472ae58cbc2487e406d23c1ddaf4d484618ce4cfd","impliedFormat":99},{"version":"e6274d956641c1cbd5a01a221a85a6671fd85104ed6b530f8d34ad3086804133","impliedFormat":99},{"version":"77516308358982bb05209e8c0ed6f321860e03393587d89f61055941e5bbcdd2","impliedFormat":99},{"version":"dc8652855a95ef9b9c12be8d2f5e6fc37b96aa2144f6c6f195cd1d2e07f721ee","impliedFormat":99},"e2cb25ca55e10ba874410188a53331a6b0b2bc13c0ee4d538bde50460a4e1b77","041afde4e1ac27e6fabdc2ca87882a3a766443fcfe1a1cfc3ed78bcc1c25b28a","c2049793874bbeafd60402bab915f3d285f4057e718dfdefe8a54ccc80c991dd","8a2b6f999a708119f4fa55fc58c5803ca9563340d0a54b9fe2a4fa14838f148c","2db5b1bbf946e20cef3c889cb7be46e3da384bdd1b4b53964253d97635718774","79e620484ae1a7011482631159563e4729f7f4d4c316b914125cb95f678ffbb9","6434c2976daf446cfd95935af4e0a0b6b369ce81af183579dab3ac6567dbbfd0","f50c1778b48a9275078ad81abaa5b4cb13a295b3889986f8e72fe61dd9cd8b86","6e935a5aec1b1f86cfa97fb93ec13c8759479712014d7dc4c13f140f7d409357","8cd4c86b90f9a96ba804585a4b6a998f484a860af3dfd12641ecb9eca109274b","8cd4c86b90f9a96ba804585a4b6a998f484a860af3dfd12641ecb9eca109274b","1b92de1f5b74cf4bda283aa7688c80781e9c7273f44a4ef2db084747a94be933","8c24aeb14985e8089f29e1fea075e95a7c8825077277079d5dc4130ceb6339de","ff041f34cc1936cb45f94de1924d396abd69b3d6e0cc887dfaa0b6ec176e27e1","6abd2f68e6651205f5d7763dcf7a5b5e5dc28b6194b097b467913d2cf19c1dd2","c04c352fc277c57e16519814a13e1b84e6c54c461b89ee63c8bff94ddf615555","e406a8398f12e8bb0d7661b9974a9ce78043a916cd2c652f7b82b7889e57f9e8","441c8ea68ff583cefd0f77d2a1699f6328d714ebfb9435ffedad5470392de2e7","cc60d13b9e2058908f082cca058357d2ebd83143b3dc4e3a01731e8a4b7ae2fe","5ca4d7a999b9fa8c7e2ef9746968eaeabb8e69a904cc62a3c18ac23b9664c8a8","bff722032fb479d76cdd167e0aa05e2e3ca9b728cff777e893aa694bad01e3a9","3fc92b50147ec179c1db1355901683a7f48646c6203ae982f2bc31dc8959f4ff","ad43cfeea2ffc4f26107e49ae92bed3fe01b0c2aa3e328e293d7b0dceb01300f","50e52950b1b92455f40c3fba61ee9a43e74bf9bdf6a25e01ad2e3a2226bbb2ec","cd2e2d6ffad8a1de80249fd4aa35f6c6f9160c18f69fbaf6507072eba208abda","3b8dd8f967501f6193f2d31f8a124e05186264f37f1b73d073cf39c6e123fe50","bc699cb86e1528d370a29ae99fe8f89e3a838bb620ad4071a4c9999a390c8361","487ae9dd80a97c7c7fa8cb272b81033c4252b064047f8b10b2d421e3a909dacf","0e0f762a06bd12f01872c86e03fd88a6830c3991ea17734ea2859a43a96b6ac5","88738bfae85b658c5728b5d84e7e9b78788281edc397bc6a75da4d1b554d2041","af1e3e5216a3a605be2384495ea43d50684dc0b674b0fc795cdaaaa51f979db6","d531e9345fbc0cb9e1fa9428752f675b40f2c32c8bda0c1547fc64522e3295d5","33be8125f7170aedbf456f05059014f0fbbfbf4842eb76d3c43a86bb82045df6","2246cd9c0a20fdf3df7fa37ee25c4e8d3989d38eb6274203fb0e9d43020a5cfc","f6d2f543d91edabb84f53c26e611514f0ecec59b72f6e5321145c00c70d0f1e7","6e12e26efaaeb591c891d49658152d874a1fc869c1231176172a4e90a78320c4","8e0872445888b4eac9c8915022cc2b58291db248fc33b0994c7e3296d7af306a","7064efe511093c8ab839f6c8bbe2ffc2911bc299ec8880f2129b541e2e32cc4c","41259a2d0eac0369e1581e08e5aef6ffef48f9ffc3d06d874524c9da6f1e4f29","9722d152fcdb95a635c8132764b7ded085073b4734daf2b19798be965fb10160","db3f677fdf3de11b7a334e5c8e677df05686b3d6e172d46ad3a1674790e5d03c","3a5ebec0a04030822776a5dcc7f9b053a38d79aa4b15e7c4df009ee5ac813dbf","77b54b2bf7d6e4a05b79d286903ad9f71141f91409729c5deb8bfa417d7f0960","573f356148118ea54c7b9a2eff374329022b1e38d5a1070cae53c97d7b0ef355","ef5ae01c8b2b11403554c319af51db9c3dc26051cb077b75c8885b5d02821557","1da18878fb9f757426713faa0c4b289ff717f1bb26bcefc358c2b03aae5f11be","5d7c0080e6e16f13e23ec822364b951a8135242ec61db38d230725c4cc8bba00","9fe63d563259a1a7e32332cd5cc24bccd9f0a34d0d9f2e80df7370d4205e91cb","947c6ccd6a0b2805b4e3479b51112d8affc4b64ecb209ee15a480a10c44a48a1","c4f0b3fb0d90e865c3ab69b9fff9c8eb13ff8fd49bcfce1f10f696bf5db9cdc9","e39e74456caf2be7616c1327e6447e6559e64d5ffb161d43bb44f50b3461ee59","8c3dde564136c2b88384fa63c823c9b4282b5b813ad8287a1c8f3734efb801a0","defdff60f915e05c089175d08b85199747f561dc318ac8dceacc844753060e6d","1a3dbaf2ef5ba30576b22fe1a26c868d9c76646670afb0c90ce7b6e1233211b2","d6faa230dcddc146229e72291ed444476e5c3fcf75b102fb0c78a46510e82424","bfa14541c2b697d5a73041bfa7a318b47db2301e2045856c7ab9db7bb3f4d21b","caee8e88a02710517f1d1849b48fa8793878f4ab0c51cde5c025ba6f21b946df","bbf57449e9341dc4b6f56e7ce74d0edee6cd7c4ca55b52664469de0c7d384445",{"version":"17d00ff271c827949fcc54e41e4806996a8d892c65235b47b1eabf5fbb939808","signature":"6d17ed9b7135b0b3db99ead1c9a36ed2c4891df097fff6c3e2a9ef3df9a5740f"},{"version":"301513b5c98430d02fab46247b7a68ac3d0578fab7a403d9db09f3fa5761a9e3","signature":"69d17fda3a59adc0a1d6a768c2573cae24915c2fc745eb51301681bced4c3f55"},{"version":"661fa3a6acb26e8a54a8f42d7109c66e608428ad15986145cd8c1dc671e6d7fc","signature":"92c340901abaf8badfa56130523aee6c8d4753fea3c87041106d8324396a262f"},{"version":"5539d94a93e07be91e9394f3d69bf53bea58a96bce95d3ff0988ea680d7bc09a","signature":"e0ff6add774524640cbf407cad799562fcf14f9ec54ae9865f132a2d0f35f11d"},{"version":"e11594f57474e204ab36a87741d95794ee336590a9664b9574557e0010891e9d","signature":"2217fc894d4f1a2b8c10232540daf91bb5ac3dafd1abd5a785e5cbfb586be6c3"},{"version":"0b94af34c10cf2b6abbe75317b1bb532c00bde93ad6582bc620c27a91075cff7","signature":"59e12960f1286ffc79903817f59c30790b02546a72eff8b2b6009dba381ecb11"},{"version":"a70a671de9a26d0c8298f51d024efa1c80742dd6c3004b2a0482b6e4d6542bda","signature":"011d112d64a716536e2f5786eae729edbe97802903584fa17cf43687d73a0170"},{"version":"ebc2891c6062283fa3bb436044f4855b8eaac5e0de99ad56d9e80ac29a657ca4","signature":"e2724ec8a3310e44794718d3e2334252cf981d5d327468f0b195be035c4192a4"},{"version":"461a34a277b174d2888b729da088c2c0edfd64de170285397a45dd11bb35a139","signature":"05295939b25844d8bfe4ed21a929a68ccf2436fb8da5f84ddcae5c308896b00f"}],"root":[[183,191]],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":99,"noEmitOnError":false,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noImplicitReturns":true,"noPropertyAccessFromIndexSignature":false,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":5,"tsBuildInfoFile":"./tsconfig.tsbuildinfo","useUnknownInCatchVariables":true,"verbatimModuleSyntax":true},"referencedMap":[[83,1],[87,2],[86,3],[85,4],[121,5],[101,6],[102,6],[103,6],[104,6],[105,6],[106,6],[107,7],[109,6],[108,6],[120,8],[110,6],[112,6],[111,6],[114,6],[113,6],[115,6],[116,6],[117,6],[118,6],[119,6],[100,6],[99,9],[79,10],[73,11],[77,12],[75,13],[76,14],[98,15],[97,16],[123,17],[122,18],[124,19],[94,20],[96,21],[95,22],[89,23],[88,1],[91,24],[90,25],[149,26],[150,27],[151,28],[137,29],[138,30],[139,31],[140,32],[141,33],[148,34],[142,35],[146,30],[143,36],[147,37],[144,38],[145,36],[60,39],[61,40],[59,41],[71,42],[67,43],[66,44],[68,45],[70,46],[69,47],[64,48],[65,49],[63,50],[184,51],[183,31],[187,52],[188,53],[191,54],[190,55],[189,56],[186,57],[80,58],[74,13],[78,59],[81,60],[136,61],[134,62],[131,63],[132,64],[133,65],[135,66],[127,67],[128,68],[129,69],[126,70],[130,71],[153,72],[161,31],[154,73],[156,74],[157,74],[155,72],[158,75],[159,76],[160,77],[165,78],[163,79],[162,80],[166,81],[164,82],[167,83],[168,84],[152,31],[182,85],[169,86],[170,31],[171,31],[172,31],[180,87],[177,31],[173,31],[179,31],[174,31],[175,31],[178,31],[176,88]],"latestChangedDtsFile":"./index.d.ts","version":"6.0.3"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jvs-milkdown/plugin-automd",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.7",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"milkdown",
|
|
6
6
|
"milkdown plugin"
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@jvs-milkdown/core": "^1.2.
|
|
29
|
-
"@jvs-milkdown/ctx": "^1.2.
|
|
30
|
-
"@jvs-milkdown/prose": "^1.2.
|
|
31
|
-
"@jvs-milkdown/utils": "^1.2.
|
|
28
|
+
"@jvs-milkdown/core": "^1.2.7",
|
|
29
|
+
"@jvs-milkdown/ctx": "^1.2.7",
|
|
30
|
+
"@jvs-milkdown/prose": "^1.2.7",
|
|
31
|
+
"@jvs-milkdown/utils": "^1.2.7"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "vite build"
|
package/src/replacer.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type { Ctx } from '@jvs-milkdown/ctx'
|
|
2
2
|
import type { Attrs } from '@jvs-milkdown/prose/model'
|
|
3
|
-
import type {
|
|
3
|
+
import type {
|
|
4
|
+
EditorState,
|
|
5
|
+
PluginKey,
|
|
6
|
+
Transaction,
|
|
7
|
+
} from '@jvs-milkdown/prose/state'
|
|
4
8
|
|
|
5
9
|
import { TextSelection } from '@jvs-milkdown/prose/state'
|
|
6
10
|
|