[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-tanstack-extend-language-support":3,"mdc-nrtw0i-key":30,"related-repo-tanstack-extend-language-support":6104,"related-org-tanstack-extend-language-support":6166},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":19,"repoUrl":20,"updatedAt":21,"license":22,"forks":23,"topics":24,"repo":25,"sourceUrl":28,"mdContent":29},"extend-language-support","extend language support for code highlighting","Extend @tanstack\u002Fhighlight with defineLanguage, LanguageDefinition, TokenRange, HighlightTokenClass, and TokenizerContext. Load when adding a custom or shipped tokenizer, resolving overlapping ranges, delegating embedded code, preserving selective imports, or adding fixture, size, and throughput coverage.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},"tanstack","TanStack","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Ftanstack.png",[12,16],{"name":13,"slug":14,"type":15},"Engineering","engineering","tag",{"name":17,"slug":18,"type":15},"API Development","api-development",2,"https:\u002F\u002Fgithub.com\u002FTanStack\u002Fhighlight","2026-07-30T05:26:38.347016",null,0,[],{"repoUrl":20,"stars":19,"forks":23,"topics":26,"description":27},[],"Tiny, synchronous syntax highlighting for blogs and documentation","https:\u002F\u002Fgithub.com\u002FTanStack\u002Fhighlight\u002Ftree\u002FHEAD\u002Fskills\u002Fextend-language-support","---\nname: 'extend-language-support'\ndescription: >\n  Extend @tanstack\u002Fhighlight with defineLanguage, LanguageDefinition,\n  TokenRange, HighlightTokenClass, and TokenizerContext. Load when adding a\n  custom or shipped tokenizer, resolving overlapping ranges, delegating embedded\n  code, preserving selective imports, or adding fixture, size, and throughput\n  coverage.\nmetadata:\n  type: core\n  library: '@tanstack\u002Fhighlight'\n  library_version: '0.0.9'\nrequires:\n  - 'configure-selective-highlighting'\nsources:\n  - 'TanStack\u002Fhighlight:docs\u002Fguides\u002Fcustom-languages.md'\n  - 'TanStack\u002Fhighlight:docs\u002Fguides\u002Fembedded-languages.md'\n  - 'TanStack\u002Fhighlight:docs\u002Ftest-strategy.md'\n  - 'TanStack\u002Fhighlight:src\u002Fcore.ts'\n  - 'TanStack\u002Fhighlight:src\u002Flanguages'\n---\n\nThis skill builds on `configure-selective-highlighting`. Read it first for explicit registration and optional embedding.\n\n# Extend Language Support\n\n## Setup\n\nDefine an isolated tokenizer that returns semantic source ranges:\n\n```ts\nimport {\n  createHighlighter,\n  defineLanguage,\n  type TokenRange,\n} from '@tanstack\u002Fhighlight\u002Fcore'\n\nconst taskList = defineLanguage({\n  name: 'task-list',\n  aliases: ['tasks'],\n  tokenize(code) {\n    const ranges: Array\u003CTokenRange> = []\n    const pattern = \u002F\\b(?:TODO|DONE|BLOCKED)\\b\u002Fg\n    let match: RegExpExecArray | null\n\n    while ((match = pattern.exec(code))) {\n      ranges.push({\n        start: match.index,\n        end: match.index + match[0].length,\n        className: match[0] === 'DONE' ? 'inserted' : 'keyword',\n      })\n    }\n\n    return ranges\n  },\n})\n\nexport const highlighter = createHighlighter({\n  languages: [taskList],\n})\n```\n\nGaps remain plain text automatically. Ranges must be non-overlapping, zero-based, end-exclusive UTF-16 offsets.\n\n## Core Patterns\n\n### Preserve exact source through tokenization\n\n```ts\nimport { highlighter } from '.\u002Ftask-list-highlighter'\n\nconst code = 'TODO write docs\\nDONE add tests'\nconst result = highlighter.tokenize(code, { lang: 'tasks' })\n\nexport const sourceWasPreserved =\n  result.tokens.map((token) => token.value).join('') === code\n```\n\nSource reconstruction is the primary tokenizer invariant.\n\n### Delegate embedded content through the registry\n\n```ts\nimport {\n  createHighlighter,\n  defineLanguage,\n  type TokenRange,\n} from '@tanstack\u002Fhighlight\u002Fcore'\nimport { js } from '@tanstack\u002Fhighlight\u002Flanguages\u002Fjs'\n\nconst scriptDocument = defineLanguage({\n  name: 'script-document',\n  tokenize(code, context) {\n    const ranges: Array\u003CTokenRange> = []\n    const pattern = \u002F\u003Cscript>([\\s\\S]*?)\u003C\\\u002Fscript>\u002Fg\n    let match: RegExpExecArray | null\n\n    while ((match = pattern.exec(code))) {\n      const openStart = match.index\n      const bodyStart = openStart + '\u003Cscript>'.length\n      const bodyEnd = bodyStart + match[1].length\n      const closeEnd = bodyEnd + '\u003C\u002Fscript>'.length\n\n      ranges.push({ start: openStart, end: bodyStart, className: 'tag' })\n\n      if (context.hasLanguage('js')) {\n        ranges.push(\n          ...context.tokenize(match[1], 'js').map((range) => ({\n            ...range,\n            start: range.start + bodyStart,\n            end: range.end + bodyStart,\n          })),\n        )\n      }\n\n      ranges.push({ start: bodyEnd, end: closeEnd, className: 'tag' })\n    }\n\n    return ranges\n  },\n})\n\nexport const highlighter = createHighlighter({\n  languages: [scriptDocument, js],\n})\n```\n\nThe outer definition remains independent of JavaScript; the application decides whether delegation is available.\n\n### Prefer unclassified text over incorrect classes\n\n```ts\nimport { defineLanguage, type TokenRange } from '@tanstack\u002Fhighlight\u002Fcore'\n\nexport const identifiers = defineLanguage({\n  name: 'identifiers',\n  tokenize(code) {\n    const ranges: Array\u003CTokenRange> = []\n    const pattern = \u002F\\b[A-Z][A-Za-z0-9]*\\b\u002Fg\n    let match: RegExpExecArray | null\n\n    while ((match = pattern.exec(code))) {\n      ranges.push({\n        start: match.index,\n        end: match.index + match[0].length,\n        className: 'type',\n      })\n    }\n\n    return ranges\n  },\n})\n```\n\nDo not classify ambiguous gaps merely to increase token coverage.\n\n## Common Mistakes\n\n### CRITICAL Returning inclusive range ends\n\nWrong:\n\n```ts\nimport type { TokenRange } from '@tanstack\u002Fhighlight\u002Fcore'\n\nexport function keywordRange(start: number, value: string): TokenRange {\n  return {\n    start,\n    end: start + value.length - 1,\n    className: 'keyword',\n  }\n}\n```\n\nCorrect:\n\n```ts\nimport type { TokenRange } from '@tanstack\u002Fhighlight\u002Fcore'\n\nexport function keywordRange(start: number, value: string): TokenRange {\n  return {\n    start,\n    end: start + value.length,\n    className: 'keyword',\n  }\n}\n```\n\nRange ends match `String.prototype.slice()` and exclude the end offset.\n\nSource: `docs\u002Fguides\u002Fcustom-languages.md`\n\n### HIGH Returning overlapping token ranges\n\nWrong:\n\n```ts\nimport type { TokenRange } from '@tanstack\u002Fhighlight\u002Fcore'\n\nexport function tokenize(code: string): Array\u003CTokenRange> {\n  return [\n    { start: 0, end: code.length, className: 'string' },\n    { start: 6, end: 10, className: 'keyword' },\n  ]\n}\n```\n\nCorrect:\n\n```ts\nimport type { TokenRange } from '@tanstack\u002Fhighlight\u002Fcore'\n\nexport function tokenize(code: string): Array\u003CTokenRange> {\n  const keywordStart = code.indexOf('TODO')\n\n  return keywordStart \u003C 0\n    ? []\n    : [\n        {\n          start: keywordStart,\n          end: keywordStart + 'TODO'.length,\n          className: 'keyword',\n        },\n      ]\n}\n```\n\nThe core sorts by source position and drops later overlaps, so an earlier broad range can suppress a specific range.\n\nSource: `src\u002Fcore.ts`\n\n### CRITICAL Importing an embedded definition into a language\n\nWrong:\n\n```ts\nimport { defineLanguage } from '@tanstack\u002Fhighlight\u002Fcore'\nimport { js } from '@tanstack\u002Fhighlight\u002Flanguages\u002Fjs'\n\nexport const scriptDocument = defineLanguage({\n  name: 'script-document',\n  tokenize(code, context) {\n    return js.tokenize(code, context)\n  },\n})\n```\n\nCorrect:\n\n```ts\nimport { defineLanguage } from '@tanstack\u002Fhighlight\u002Fcore'\n\nexport const scriptDocument = defineLanguage({\n  name: 'script-document',\n  tokenize(code, context) {\n    return context.hasLanguage('js') ? context.tokenize(code, 'js') : []\n  },\n})\n```\n\nDirect definition imports make an embedded dependency part of every outer-language bundle.\n\nSource: `docs\u002Fguides\u002Fcustom-languages.md`\n\n### HIGH Inventing language-specific token classes\n\nWrong:\n\n```ts\nimport type { TokenRange } from '@tanstack\u002Fhighlight\u002Fcore'\n\nexport const range = {\n  start: 0,\n  end: 4,\n  className: 'tsx-generic',\n} as unknown as TokenRange\n```\n\nCorrect:\n\n```ts\nimport type { TokenRange } from '@tanstack\u002Fhighlight\u002Fcore'\n\nexport const range = {\n  start: 0,\n  end: 4,\n  className: 'type',\n} satisfies TokenRange\n```\n\nThe fixed semantic union keeps every theme complete and language-independent.\n\nSource: `src\u002Fcore.ts`\n\n### CRITICAL Shipping without tokenizer quality gates\n\nWrong:\n\n```ts\nimport { defineLanguage } from '@tanstack\u002Fhighlight\u002Fcore'\n\nexport const taskList = defineLanguage({\n  name: 'task-list',\n  tokenize() {\n    return []\n  },\n})\n```\n\nCorrect:\n\n```ts\nimport { expect, test } from 'vitest'\nimport { createHighlighter } from '@tanstack\u002Fhighlight\u002Fcore'\nimport { taskList } from '..\u002Fsrc\u002Flanguages\u002Ftask-list'\n\ntest('task-list reconstructs valid source', () => {\n  const highlighter = createHighlighter({ languages: [taskList] })\n  const code = 'TODO write docs'\n  const result = highlighter.tokenize(code, { lang: 'task-list' })\n\n  expect(result.tokens.map((token) => token.value).join('')).toBe(code)\n  expect(result.tokens.some((token) => token.className === 'keyword')).toBe(\n    true,\n  )\n})\n```\n\nShipped languages require valid-code fixtures, source reconstruction, focused regressions, and explicit-import size evaluation.\n\nSource: `docs\u002Fguides\u002Fcustom-languages.md`\n\n### HIGH Omitting embedded tokenizer registration\n\nWrong:\n\n```ts\nimport { createHighlighter } from '@tanstack\u002Fhighlight\u002Fcore'\nimport { scriptDocument } from '.\u002Fscript-document'\n\nexport const highlighter = createHighlighter({\n  languages: [scriptDocument],\n})\n```\n\nCorrect:\n\n```ts\nimport { createHighlighter } from '@tanstack\u002Fhighlight\u002Fcore'\nimport { js } from '@tanstack\u002Fhighlight\u002Flanguages\u002Fjs'\nimport { scriptDocument } from '.\u002Fscript-document'\n\nexport const highlighter = createHighlighter({\n  languages: [scriptDocument, js],\n})\n```\n\nDelegation remains plain when the target definition is absent from the same registry.\n\nSource: `docs\u002Fguides\u002Fembedded-languages.md`\n\n### HIGH Tension: language isolation versus embedding depth\n\nUse `TokenizerContext` for optional delegation and let the application register targets. Importing target definitions inside an outer tokenizer hides bundle cost.\n\nSee also: `configure-selective-highlighting\u002FSKILL.md` - registration controls delegated language availability.\n\n## References\n\n- [Tokenizer contracts and repository implementation patterns](references\u002Ftokenizer-patterns.md)\n\nSee also: `configure-selective-highlighting\u002FSKILL.md` - aliases, fallbacks, and embedded targets resolve through the registry.\n",{"data":31,"body":44},{"name":4,"description":6,"metadata":32,"requires":36,"sources":38},{"type":33,"library":34,"library_version":35},"core","@tanstack\u002Fhighlight","0.0.9",[37],"configure-selective-highlighting",[39,40,41,42,43],"TanStack\u002Fhighlight:docs\u002Fguides\u002Fcustom-languages.md","TanStack\u002Fhighlight:docs\u002Fguides\u002Fembedded-languages.md","TanStack\u002Fhighlight:docs\u002Ftest-strategy.md","TanStack\u002Fhighlight:src\u002Fcore.ts","TanStack\u002Fhighlight:src\u002Flanguages",{"type":45,"children":46},"root",[47,63,69,76,81,898,903,909,916,1202,1207,1213,2393,2398,2404,2915,2920,2926,2932,2937,3169,3174,3384,3397,3408,3414,3418,3695,3699,4032,4037,4047,4053,4057,4287,4291,4539,4544,4553,4559,4563,4736,4740,4897,4902,4911,4917,4921,5073,5077,5655,5660,5669,5675,5679,5827,5831,6019,6024,6034,6040,6053,6066,6072,6087,6098],{"type":48,"tag":49,"props":50,"children":51},"element","p",{},[52,55,61],{"type":53,"value":54},"text","This skill builds on ",{"type":48,"tag":56,"props":57,"children":59},"code",{"className":58},[],[60],{"type":53,"value":37},{"type":53,"value":62},". Read it first for explicit registration and optional embedding.",{"type":48,"tag":64,"props":65,"children":66},"h1",{"id":4},[67],{"type":53,"value":68},"Extend Language Support",{"type":48,"tag":70,"props":71,"children":73},"h2",{"id":72},"setup",[74],{"type":53,"value":75},"Setup",{"type":48,"tag":49,"props":77,"children":78},{},[79],{"type":53,"value":80},"Define an isolated tokenizer that returns semantic source ranges:",{"type":48,"tag":82,"props":83,"children":88},"pre",{"className":84,"code":85,"language":86,"meta":87,"style":87},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import {\n  createHighlighter,\n  defineLanguage,\n  type TokenRange,\n} from '@tanstack\u002Fhighlight\u002Fcore'\n\nconst taskList = defineLanguage({\n  name: 'task-list',\n  aliases: ['tasks'],\n  tokenize(code) {\n    const ranges: Array\u003CTokenRange> = []\n    const pattern = \u002F\\b(?:TODO|DONE|BLOCKED)\\b\u002Fg\n    let match: RegExpExecArray | null\n\n    while ((match = pattern.exec(code))) {\n      ranges.push({\n        start: match.index,\n        end: match.index + match[0].length,\n        className: match[0] === 'DONE' ? 'inserted' : 'keyword',\n      })\n    }\n\n    return ranges\n  },\n})\n\nexport const highlighter = createHighlighter({\n  languages: [taskList],\n})\n","ts","",[89],{"type":48,"tag":56,"props":90,"children":91},{"__ignoreMap":87},[92,110,124,137,155,185,195,231,264,304,331,380,455,488,496,550,576,606,667,754,768,777,785,799,808,820,828,864,886],{"type":48,"tag":93,"props":94,"children":97},"span",{"class":95,"line":96},"line",1,[98,104],{"type":48,"tag":93,"props":99,"children":101},{"style":100},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[102],{"type":53,"value":103},"import",{"type":48,"tag":93,"props":105,"children":107},{"style":106},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[108],{"type":53,"value":109}," {\n",{"type":48,"tag":93,"props":111,"children":112},{"class":95,"line":19},[113,119],{"type":48,"tag":93,"props":114,"children":116},{"style":115},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[117],{"type":53,"value":118},"  createHighlighter",{"type":48,"tag":93,"props":120,"children":121},{"style":106},[122],{"type":53,"value":123},",\n",{"type":48,"tag":93,"props":125,"children":127},{"class":95,"line":126},3,[128,133],{"type":48,"tag":93,"props":129,"children":130},{"style":115},[131],{"type":53,"value":132},"  defineLanguage",{"type":48,"tag":93,"props":134,"children":135},{"style":106},[136],{"type":53,"value":123},{"type":48,"tag":93,"props":138,"children":140},{"class":95,"line":139},4,[141,146,151],{"type":48,"tag":93,"props":142,"children":143},{"style":100},[144],{"type":53,"value":145},"  type",{"type":48,"tag":93,"props":147,"children":148},{"style":115},[149],{"type":53,"value":150}," TokenRange",{"type":48,"tag":93,"props":152,"children":153},{"style":106},[154],{"type":53,"value":123},{"type":48,"tag":93,"props":156,"children":158},{"class":95,"line":157},5,[159,164,169,174,180],{"type":48,"tag":93,"props":160,"children":161},{"style":106},[162],{"type":53,"value":163},"}",{"type":48,"tag":93,"props":165,"children":166},{"style":100},[167],{"type":53,"value":168}," from",{"type":48,"tag":93,"props":170,"children":171},{"style":106},[172],{"type":53,"value":173}," '",{"type":48,"tag":93,"props":175,"children":177},{"style":176},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[178],{"type":53,"value":179},"@tanstack\u002Fhighlight\u002Fcore",{"type":48,"tag":93,"props":181,"children":182},{"style":106},[183],{"type":53,"value":184},"'\n",{"type":48,"tag":93,"props":186,"children":188},{"class":95,"line":187},6,[189],{"type":48,"tag":93,"props":190,"children":192},{"emptyLinePlaceholder":191},true,[193],{"type":53,"value":194},"\n",{"type":48,"tag":93,"props":196,"children":198},{"class":95,"line":197},7,[199,205,210,215,221,226],{"type":48,"tag":93,"props":200,"children":202},{"style":201},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[203],{"type":53,"value":204},"const",{"type":48,"tag":93,"props":206,"children":207},{"style":115},[208],{"type":53,"value":209}," taskList ",{"type":48,"tag":93,"props":211,"children":212},{"style":106},[213],{"type":53,"value":214},"=",{"type":48,"tag":93,"props":216,"children":218},{"style":217},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[219],{"type":53,"value":220}," defineLanguage",{"type":48,"tag":93,"props":222,"children":223},{"style":115},[224],{"type":53,"value":225},"(",{"type":48,"tag":93,"props":227,"children":228},{"style":106},[229],{"type":53,"value":230},"{\n",{"type":48,"tag":93,"props":232,"children":234},{"class":95,"line":233},8,[235,241,246,250,255,260],{"type":48,"tag":93,"props":236,"children":238},{"style":237},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[239],{"type":53,"value":240},"  name",{"type":48,"tag":93,"props":242,"children":243},{"style":106},[244],{"type":53,"value":245},":",{"type":48,"tag":93,"props":247,"children":248},{"style":106},[249],{"type":53,"value":173},{"type":48,"tag":93,"props":251,"children":252},{"style":176},[253],{"type":53,"value":254},"task-list",{"type":48,"tag":93,"props":256,"children":257},{"style":106},[258],{"type":53,"value":259},"'",{"type":48,"tag":93,"props":261,"children":262},{"style":106},[263],{"type":53,"value":123},{"type":48,"tag":93,"props":265,"children":267},{"class":95,"line":266},9,[268,273,277,282,286,291,295,300],{"type":48,"tag":93,"props":269,"children":270},{"style":237},[271],{"type":53,"value":272},"  aliases",{"type":48,"tag":93,"props":274,"children":275},{"style":106},[276],{"type":53,"value":245},{"type":48,"tag":93,"props":278,"children":279},{"style":115},[280],{"type":53,"value":281}," [",{"type":48,"tag":93,"props":283,"children":284},{"style":106},[285],{"type":53,"value":259},{"type":48,"tag":93,"props":287,"children":288},{"style":176},[289],{"type":53,"value":290},"tasks",{"type":48,"tag":93,"props":292,"children":293},{"style":106},[294],{"type":53,"value":259},{"type":48,"tag":93,"props":296,"children":297},{"style":115},[298],{"type":53,"value":299},"]",{"type":48,"tag":93,"props":301,"children":302},{"style":106},[303],{"type":53,"value":123},{"type":48,"tag":93,"props":305,"children":307},{"class":95,"line":306},10,[308,313,317,322,327],{"type":48,"tag":93,"props":309,"children":310},{"style":237},[311],{"type":53,"value":312},"  tokenize",{"type":48,"tag":93,"props":314,"children":315},{"style":106},[316],{"type":53,"value":225},{"type":48,"tag":93,"props":318,"children":320},{"style":319},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[321],{"type":53,"value":56},{"type":48,"tag":93,"props":323,"children":324},{"style":106},[325],{"type":53,"value":326},")",{"type":48,"tag":93,"props":328,"children":329},{"style":106},[330],{"type":53,"value":109},{"type":48,"tag":93,"props":332,"children":334},{"class":95,"line":333},11,[335,340,345,349,355,360,365,370,375],{"type":48,"tag":93,"props":336,"children":337},{"style":201},[338],{"type":53,"value":339},"    const",{"type":48,"tag":93,"props":341,"children":342},{"style":115},[343],{"type":53,"value":344}," ranges",{"type":48,"tag":93,"props":346,"children":347},{"style":106},[348],{"type":53,"value":245},{"type":48,"tag":93,"props":350,"children":352},{"style":351},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[353],{"type":53,"value":354}," Array",{"type":48,"tag":93,"props":356,"children":357},{"style":106},[358],{"type":53,"value":359},"\u003C",{"type":48,"tag":93,"props":361,"children":362},{"style":351},[363],{"type":53,"value":364},"TokenRange",{"type":48,"tag":93,"props":366,"children":367},{"style":106},[368],{"type":53,"value":369},">",{"type":48,"tag":93,"props":371,"children":372},{"style":106},[373],{"type":53,"value":374}," =",{"type":48,"tag":93,"props":376,"children":377},{"style":237},[378],{"type":53,"value":379}," []\n",{"type":48,"tag":93,"props":381,"children":383},{"class":95,"line":382},12,[384,388,393,397,402,407,412,417,422,427,431,436,440,444,449],{"type":48,"tag":93,"props":385,"children":386},{"style":201},[387],{"type":53,"value":339},{"type":48,"tag":93,"props":389,"children":390},{"style":115},[391],{"type":53,"value":392}," pattern",{"type":48,"tag":93,"props":394,"children":395},{"style":106},[396],{"type":53,"value":374},{"type":48,"tag":93,"props":398,"children":399},{"style":106},[400],{"type":53,"value":401}," \u002F",{"type":48,"tag":93,"props":403,"children":404},{"style":100},[405],{"type":53,"value":406},"\\b",{"type":48,"tag":93,"props":408,"children":409},{"style":106},[410],{"type":53,"value":411},"(?:",{"type":48,"tag":93,"props":413,"children":414},{"style":176},[415],{"type":53,"value":416},"TODO",{"type":48,"tag":93,"props":418,"children":419},{"style":106},[420],{"type":53,"value":421},"|",{"type":48,"tag":93,"props":423,"children":424},{"style":176},[425],{"type":53,"value":426},"DONE",{"type":48,"tag":93,"props":428,"children":429},{"style":106},[430],{"type":53,"value":421},{"type":48,"tag":93,"props":432,"children":433},{"style":176},[434],{"type":53,"value":435},"BLOCKED",{"type":48,"tag":93,"props":437,"children":438},{"style":106},[439],{"type":53,"value":326},{"type":48,"tag":93,"props":441,"children":442},{"style":100},[443],{"type":53,"value":406},{"type":48,"tag":93,"props":445,"children":446},{"style":106},[447],{"type":53,"value":448},"\u002F",{"type":48,"tag":93,"props":450,"children":452},{"style":451},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[453],{"type":53,"value":454},"g\n",{"type":48,"tag":93,"props":456,"children":458},{"class":95,"line":457},13,[459,464,469,473,478,483],{"type":48,"tag":93,"props":460,"children":461},{"style":201},[462],{"type":53,"value":463},"    let",{"type":48,"tag":93,"props":465,"children":466},{"style":115},[467],{"type":53,"value":468}," match",{"type":48,"tag":93,"props":470,"children":471},{"style":106},[472],{"type":53,"value":245},{"type":48,"tag":93,"props":474,"children":475},{"style":351},[476],{"type":53,"value":477}," RegExpExecArray",{"type":48,"tag":93,"props":479,"children":480},{"style":106},[481],{"type":53,"value":482}," |",{"type":48,"tag":93,"props":484,"children":485},{"style":351},[486],{"type":53,"value":487}," null\n",{"type":48,"tag":93,"props":489,"children":491},{"class":95,"line":490},14,[492],{"type":48,"tag":93,"props":493,"children":494},{"emptyLinePlaceholder":191},[495],{"type":53,"value":194},{"type":48,"tag":93,"props":497,"children":499},{"class":95,"line":498},15,[500,505,510,515,519,523,528,533,537,541,546],{"type":48,"tag":93,"props":501,"children":502},{"style":100},[503],{"type":53,"value":504},"    while",{"type":48,"tag":93,"props":506,"children":507},{"style":237},[508],{"type":53,"value":509}," ((",{"type":48,"tag":93,"props":511,"children":512},{"style":115},[513],{"type":53,"value":514},"match",{"type":48,"tag":93,"props":516,"children":517},{"style":106},[518],{"type":53,"value":374},{"type":48,"tag":93,"props":520,"children":521},{"style":115},[522],{"type":53,"value":392},{"type":48,"tag":93,"props":524,"children":525},{"style":106},[526],{"type":53,"value":527},".",{"type":48,"tag":93,"props":529,"children":530},{"style":217},[531],{"type":53,"value":532},"exec",{"type":48,"tag":93,"props":534,"children":535},{"style":237},[536],{"type":53,"value":225},{"type":48,"tag":93,"props":538,"children":539},{"style":115},[540],{"type":53,"value":56},{"type":48,"tag":93,"props":542,"children":543},{"style":237},[544],{"type":53,"value":545},"))) ",{"type":48,"tag":93,"props":547,"children":548},{"style":106},[549],{"type":53,"value":230},{"type":48,"tag":93,"props":551,"children":553},{"class":95,"line":552},16,[554,559,563,568,572],{"type":48,"tag":93,"props":555,"children":556},{"style":115},[557],{"type":53,"value":558},"      ranges",{"type":48,"tag":93,"props":560,"children":561},{"style":106},[562],{"type":53,"value":527},{"type":48,"tag":93,"props":564,"children":565},{"style":217},[566],{"type":53,"value":567},"push",{"type":48,"tag":93,"props":569,"children":570},{"style":237},[571],{"type":53,"value":225},{"type":48,"tag":93,"props":573,"children":574},{"style":106},[575],{"type":53,"value":230},{"type":48,"tag":93,"props":577,"children":579},{"class":95,"line":578},17,[580,585,589,593,597,602],{"type":48,"tag":93,"props":581,"children":582},{"style":237},[583],{"type":53,"value":584},"        start",{"type":48,"tag":93,"props":586,"children":587},{"style":106},[588],{"type":53,"value":245},{"type":48,"tag":93,"props":590,"children":591},{"style":115},[592],{"type":53,"value":468},{"type":48,"tag":93,"props":594,"children":595},{"style":106},[596],{"type":53,"value":527},{"type":48,"tag":93,"props":598,"children":599},{"style":115},[600],{"type":53,"value":601},"index",{"type":48,"tag":93,"props":603,"children":604},{"style":106},[605],{"type":53,"value":123},{"type":48,"tag":93,"props":607,"children":609},{"class":95,"line":608},18,[610,615,619,623,627,631,636,640,645,650,654,658,663],{"type":48,"tag":93,"props":611,"children":612},{"style":237},[613],{"type":53,"value":614},"        end",{"type":48,"tag":93,"props":616,"children":617},{"style":106},[618],{"type":53,"value":245},{"type":48,"tag":93,"props":620,"children":621},{"style":115},[622],{"type":53,"value":468},{"type":48,"tag":93,"props":624,"children":625},{"style":106},[626],{"type":53,"value":527},{"type":48,"tag":93,"props":628,"children":629},{"style":115},[630],{"type":53,"value":601},{"type":48,"tag":93,"props":632,"children":633},{"style":106},[634],{"type":53,"value":635}," +",{"type":48,"tag":93,"props":637,"children":638},{"style":115},[639],{"type":53,"value":468},{"type":48,"tag":93,"props":641,"children":642},{"style":237},[643],{"type":53,"value":644},"[",{"type":48,"tag":93,"props":646,"children":647},{"style":451},[648],{"type":53,"value":649},"0",{"type":48,"tag":93,"props":651,"children":652},{"style":237},[653],{"type":53,"value":299},{"type":48,"tag":93,"props":655,"children":656},{"style":106},[657],{"type":53,"value":527},{"type":48,"tag":93,"props":659,"children":660},{"style":115},[661],{"type":53,"value":662},"length",{"type":48,"tag":93,"props":664,"children":665},{"style":106},[666],{"type":53,"value":123},{"type":48,"tag":93,"props":668,"children":670},{"class":95,"line":669},19,[671,676,680,684,688,692,697,702,706,710,714,719,723,728,732,737,741,746,750],{"type":48,"tag":93,"props":672,"children":673},{"style":237},[674],{"type":53,"value":675},"        className",{"type":48,"tag":93,"props":677,"children":678},{"style":106},[679],{"type":53,"value":245},{"type":48,"tag":93,"props":681,"children":682},{"style":115},[683],{"type":53,"value":468},{"type":48,"tag":93,"props":685,"children":686},{"style":237},[687],{"type":53,"value":644},{"type":48,"tag":93,"props":689,"children":690},{"style":451},[691],{"type":53,"value":649},{"type":48,"tag":93,"props":693,"children":694},{"style":237},[695],{"type":53,"value":696},"] ",{"type":48,"tag":93,"props":698,"children":699},{"style":106},[700],{"type":53,"value":701},"===",{"type":48,"tag":93,"props":703,"children":704},{"style":106},[705],{"type":53,"value":173},{"type":48,"tag":93,"props":707,"children":708},{"style":176},[709],{"type":53,"value":426},{"type":48,"tag":93,"props":711,"children":712},{"style":106},[713],{"type":53,"value":259},{"type":48,"tag":93,"props":715,"children":716},{"style":106},[717],{"type":53,"value":718}," ?",{"type":48,"tag":93,"props":720,"children":721},{"style":106},[722],{"type":53,"value":173},{"type":48,"tag":93,"props":724,"children":725},{"style":176},[726],{"type":53,"value":727},"inserted",{"type":48,"tag":93,"props":729,"children":730},{"style":106},[731],{"type":53,"value":259},{"type":48,"tag":93,"props":733,"children":734},{"style":106},[735],{"type":53,"value":736}," :",{"type":48,"tag":93,"props":738,"children":739},{"style":106},[740],{"type":53,"value":173},{"type":48,"tag":93,"props":742,"children":743},{"style":176},[744],{"type":53,"value":745},"keyword",{"type":48,"tag":93,"props":747,"children":748},{"style":106},[749],{"type":53,"value":259},{"type":48,"tag":93,"props":751,"children":752},{"style":106},[753],{"type":53,"value":123},{"type":48,"tag":93,"props":755,"children":757},{"class":95,"line":756},20,[758,763],{"type":48,"tag":93,"props":759,"children":760},{"style":106},[761],{"type":53,"value":762},"      }",{"type":48,"tag":93,"props":764,"children":765},{"style":237},[766],{"type":53,"value":767},")\n",{"type":48,"tag":93,"props":769,"children":771},{"class":95,"line":770},21,[772],{"type":48,"tag":93,"props":773,"children":774},{"style":106},[775],{"type":53,"value":776},"    }\n",{"type":48,"tag":93,"props":778,"children":780},{"class":95,"line":779},22,[781],{"type":48,"tag":93,"props":782,"children":783},{"emptyLinePlaceholder":191},[784],{"type":53,"value":194},{"type":48,"tag":93,"props":786,"children":788},{"class":95,"line":787},23,[789,794],{"type":48,"tag":93,"props":790,"children":791},{"style":100},[792],{"type":53,"value":793},"    return",{"type":48,"tag":93,"props":795,"children":796},{"style":115},[797],{"type":53,"value":798}," ranges\n",{"type":48,"tag":93,"props":800,"children":802},{"class":95,"line":801},24,[803],{"type":48,"tag":93,"props":804,"children":805},{"style":106},[806],{"type":53,"value":807},"  },\n",{"type":48,"tag":93,"props":809,"children":811},{"class":95,"line":810},25,[812,816],{"type":48,"tag":93,"props":813,"children":814},{"style":106},[815],{"type":53,"value":163},{"type":48,"tag":93,"props":817,"children":818},{"style":115},[819],{"type":53,"value":767},{"type":48,"tag":93,"props":821,"children":823},{"class":95,"line":822},26,[824],{"type":48,"tag":93,"props":825,"children":826},{"emptyLinePlaceholder":191},[827],{"type":53,"value":194},{"type":48,"tag":93,"props":829,"children":831},{"class":95,"line":830},27,[832,837,842,847,851,856,860],{"type":48,"tag":93,"props":833,"children":834},{"style":100},[835],{"type":53,"value":836},"export",{"type":48,"tag":93,"props":838,"children":839},{"style":201},[840],{"type":53,"value":841}," const",{"type":48,"tag":93,"props":843,"children":844},{"style":115},[845],{"type":53,"value":846}," highlighter ",{"type":48,"tag":93,"props":848,"children":849},{"style":106},[850],{"type":53,"value":214},{"type":48,"tag":93,"props":852,"children":853},{"style":217},[854],{"type":53,"value":855}," createHighlighter",{"type":48,"tag":93,"props":857,"children":858},{"style":115},[859],{"type":53,"value":225},{"type":48,"tag":93,"props":861,"children":862},{"style":106},[863],{"type":53,"value":230},{"type":48,"tag":93,"props":865,"children":867},{"class":95,"line":866},28,[868,873,877,882],{"type":48,"tag":93,"props":869,"children":870},{"style":237},[871],{"type":53,"value":872},"  languages",{"type":48,"tag":93,"props":874,"children":875},{"style":106},[876],{"type":53,"value":245},{"type":48,"tag":93,"props":878,"children":879},{"style":115},[880],{"type":53,"value":881}," [taskList]",{"type":48,"tag":93,"props":883,"children":884},{"style":106},[885],{"type":53,"value":123},{"type":48,"tag":93,"props":887,"children":889},{"class":95,"line":888},29,[890,894],{"type":48,"tag":93,"props":891,"children":892},{"style":106},[893],{"type":53,"value":163},{"type":48,"tag":93,"props":895,"children":896},{"style":115},[897],{"type":53,"value":767},{"type":48,"tag":49,"props":899,"children":900},{},[901],{"type":53,"value":902},"Gaps remain plain text automatically. Ranges must be non-overlapping, zero-based, end-exclusive UTF-16 offsets.",{"type":48,"tag":70,"props":904,"children":906},{"id":905},"core-patterns",[907],{"type":53,"value":908},"Core Patterns",{"type":48,"tag":910,"props":911,"children":913},"h3",{"id":912},"preserve-exact-source-through-tokenization",[914],{"type":53,"value":915},"Preserve exact source through tokenization",{"type":48,"tag":82,"props":917,"children":919},{"className":84,"code":918,"language":86,"meta":87,"style":87},"import { highlighter } from '.\u002Ftask-list-highlighter'\n\nconst code = 'TODO write docs\\nDONE add tests'\nconst result = highlighter.tokenize(code, { lang: 'tasks' })\n\nexport const sourceWasPreserved =\n  result.tokens.map((token) => token.value).join('') === code\n",[920],{"type":48,"tag":56,"props":921,"children":922},{"__ignoreMap":87},[923,962,969,1008,1080,1087,1108],{"type":48,"tag":93,"props":924,"children":925},{"class":95,"line":96},[926,930,935,940,945,949,953,958],{"type":48,"tag":93,"props":927,"children":928},{"style":100},[929],{"type":53,"value":103},{"type":48,"tag":93,"props":931,"children":932},{"style":106},[933],{"type":53,"value":934}," {",{"type":48,"tag":93,"props":936,"children":937},{"style":115},[938],{"type":53,"value":939}," highlighter",{"type":48,"tag":93,"props":941,"children":942},{"style":106},[943],{"type":53,"value":944}," }",{"type":48,"tag":93,"props":946,"children":947},{"style":100},[948],{"type":53,"value":168},{"type":48,"tag":93,"props":950,"children":951},{"style":106},[952],{"type":53,"value":173},{"type":48,"tag":93,"props":954,"children":955},{"style":176},[956],{"type":53,"value":957},".\u002Ftask-list-highlighter",{"type":48,"tag":93,"props":959,"children":960},{"style":106},[961],{"type":53,"value":184},{"type":48,"tag":93,"props":963,"children":964},{"class":95,"line":19},[965],{"type":48,"tag":93,"props":966,"children":967},{"emptyLinePlaceholder":191},[968],{"type":53,"value":194},{"type":48,"tag":93,"props":970,"children":971},{"class":95,"line":126},[972,976,981,985,989,994,999,1004],{"type":48,"tag":93,"props":973,"children":974},{"style":201},[975],{"type":53,"value":204},{"type":48,"tag":93,"props":977,"children":978},{"style":115},[979],{"type":53,"value":980}," code ",{"type":48,"tag":93,"props":982,"children":983},{"style":106},[984],{"type":53,"value":214},{"type":48,"tag":93,"props":986,"children":987},{"style":106},[988],{"type":53,"value":173},{"type":48,"tag":93,"props":990,"children":991},{"style":176},[992],{"type":53,"value":993},"TODO write docs",{"type":48,"tag":93,"props":995,"children":996},{"style":115},[997],{"type":53,"value":998},"\\n",{"type":48,"tag":93,"props":1000,"children":1001},{"style":176},[1002],{"type":53,"value":1003},"DONE add tests",{"type":48,"tag":93,"props":1005,"children":1006},{"style":106},[1007],{"type":53,"value":184},{"type":48,"tag":93,"props":1009,"children":1010},{"class":95,"line":139},[1011,1015,1020,1024,1028,1032,1037,1042,1047,1051,1056,1060,1064,1068,1072,1076],{"type":48,"tag":93,"props":1012,"children":1013},{"style":201},[1014],{"type":53,"value":204},{"type":48,"tag":93,"props":1016,"children":1017},{"style":115},[1018],{"type":53,"value":1019}," result ",{"type":48,"tag":93,"props":1021,"children":1022},{"style":106},[1023],{"type":53,"value":214},{"type":48,"tag":93,"props":1025,"children":1026},{"style":115},[1027],{"type":53,"value":939},{"type":48,"tag":93,"props":1029,"children":1030},{"style":106},[1031],{"type":53,"value":527},{"type":48,"tag":93,"props":1033,"children":1034},{"style":217},[1035],{"type":53,"value":1036},"tokenize",{"type":48,"tag":93,"props":1038,"children":1039},{"style":115},[1040],{"type":53,"value":1041},"(code",{"type":48,"tag":93,"props":1043,"children":1044},{"style":106},[1045],{"type":53,"value":1046},",",{"type":48,"tag":93,"props":1048,"children":1049},{"style":106},[1050],{"type":53,"value":934},{"type":48,"tag":93,"props":1052,"children":1053},{"style":237},[1054],{"type":53,"value":1055}," lang",{"type":48,"tag":93,"props":1057,"children":1058},{"style":106},[1059],{"type":53,"value":245},{"type":48,"tag":93,"props":1061,"children":1062},{"style":106},[1063],{"type":53,"value":173},{"type":48,"tag":93,"props":1065,"children":1066},{"style":176},[1067],{"type":53,"value":290},{"type":48,"tag":93,"props":1069,"children":1070},{"style":106},[1071],{"type":53,"value":259},{"type":48,"tag":93,"props":1073,"children":1074},{"style":106},[1075],{"type":53,"value":944},{"type":48,"tag":93,"props":1077,"children":1078},{"style":115},[1079],{"type":53,"value":767},{"type":48,"tag":93,"props":1081,"children":1082},{"class":95,"line":157},[1083],{"type":48,"tag":93,"props":1084,"children":1085},{"emptyLinePlaceholder":191},[1086],{"type":53,"value":194},{"type":48,"tag":93,"props":1088,"children":1089},{"class":95,"line":187},[1090,1094,1098,1103],{"type":48,"tag":93,"props":1091,"children":1092},{"style":100},[1093],{"type":53,"value":836},{"type":48,"tag":93,"props":1095,"children":1096},{"style":201},[1097],{"type":53,"value":841},{"type":48,"tag":93,"props":1099,"children":1100},{"style":115},[1101],{"type":53,"value":1102}," sourceWasPreserved ",{"type":48,"tag":93,"props":1104,"children":1105},{"style":106},[1106],{"type":53,"value":1107},"=\n",{"type":48,"tag":93,"props":1109,"children":1110},{"class":95,"line":197},[1111,1116,1120,1125,1129,1134,1138,1142,1147,1151,1156,1161,1165,1170,1174,1179,1183,1188,1193,1197],{"type":48,"tag":93,"props":1112,"children":1113},{"style":115},[1114],{"type":53,"value":1115},"  result",{"type":48,"tag":93,"props":1117,"children":1118},{"style":106},[1119],{"type":53,"value":527},{"type":48,"tag":93,"props":1121,"children":1122},{"style":115},[1123],{"type":53,"value":1124},"tokens",{"type":48,"tag":93,"props":1126,"children":1127},{"style":106},[1128],{"type":53,"value":527},{"type":48,"tag":93,"props":1130,"children":1131},{"style":217},[1132],{"type":53,"value":1133},"map",{"type":48,"tag":93,"props":1135,"children":1136},{"style":115},[1137],{"type":53,"value":225},{"type":48,"tag":93,"props":1139,"children":1140},{"style":106},[1141],{"type":53,"value":225},{"type":48,"tag":93,"props":1143,"children":1144},{"style":319},[1145],{"type":53,"value":1146},"token",{"type":48,"tag":93,"props":1148,"children":1149},{"style":106},[1150],{"type":53,"value":326},{"type":48,"tag":93,"props":1152,"children":1153},{"style":201},[1154],{"type":53,"value":1155}," =>",{"type":48,"tag":93,"props":1157,"children":1158},{"style":115},[1159],{"type":53,"value":1160}," token",{"type":48,"tag":93,"props":1162,"children":1163},{"style":106},[1164],{"type":53,"value":527},{"type":48,"tag":93,"props":1166,"children":1167},{"style":115},[1168],{"type":53,"value":1169},"value)",{"type":48,"tag":93,"props":1171,"children":1172},{"style":106},[1173],{"type":53,"value":527},{"type":48,"tag":93,"props":1175,"children":1176},{"style":217},[1177],{"type":53,"value":1178},"join",{"type":48,"tag":93,"props":1180,"children":1181},{"style":115},[1182],{"type":53,"value":225},{"type":48,"tag":93,"props":1184,"children":1185},{"style":106},[1186],{"type":53,"value":1187},"''",{"type":48,"tag":93,"props":1189,"children":1190},{"style":115},[1191],{"type":53,"value":1192},") ",{"type":48,"tag":93,"props":1194,"children":1195},{"style":106},[1196],{"type":53,"value":701},{"type":48,"tag":93,"props":1198,"children":1199},{"style":115},[1200],{"type":53,"value":1201}," code\n",{"type":48,"tag":49,"props":1203,"children":1204},{},[1205],{"type":53,"value":1206},"Source reconstruction is the primary tokenizer invariant.",{"type":48,"tag":910,"props":1208,"children":1210},{"id":1209},"delegate-embedded-content-through-the-registry",[1211],{"type":53,"value":1212},"Delegate embedded content through the registry",{"type":48,"tag":82,"props":1214,"children":1216},{"className":84,"code":1215,"language":86,"meta":87,"style":87},"import {\n  createHighlighter,\n  defineLanguage,\n  type TokenRange,\n} from '@tanstack\u002Fhighlight\u002Fcore'\nimport { js } from '@tanstack\u002Fhighlight\u002Flanguages\u002Fjs'\n\nconst scriptDocument = defineLanguage({\n  name: 'script-document',\n  tokenize(code, context) {\n    const ranges: Array\u003CTokenRange> = []\n    const pattern = \u002F\u003Cscript>([\\s\\S]*?)\u003C\\\u002Fscript>\u002Fg\n    let match: RegExpExecArray | null\n\n    while ((match = pattern.exec(code))) {\n      const openStart = match.index\n      const bodyStart = openStart + '\u003Cscript>'.length\n      const bodyEnd = bodyStart + match[1].length\n      const closeEnd = bodyEnd + '\u003C\u002Fscript>'.length\n\n      ranges.push({ start: openStart, end: bodyStart, className: 'tag' })\n\n      if (context.hasLanguage('js')) {\n        ranges.push(\n          ...context.tokenize(match[1], 'js').map((range) => ({\n            ...range,\n            start: range.start + bodyStart,\n            end: range.end + bodyStart,\n          })),\n        )\n      }\n\n      ranges.push({ start: bodyEnd, end: closeEnd, className: 'tag' })\n    }\n\n    return ranges\n  },\n})\n\nexport const highlighter = createHighlighter({\n  languages: [scriptDocument, js],\n})\n",[1217],{"type":48,"tag":56,"props":1218,"children":1219},{"__ignoreMap":87},[1220,1231,1242,1253,1268,1291,1328,1335,1363,1391,1423,1462,1523,1550,1557,1604,1634,1679,1728,1773,1780,1867,1874,1927,1948,2045,2061,2099,2136,2153,2162,2171,2179,2263,2271,2279,2291,2299,2311,2319,2351,2381],{"type":48,"tag":93,"props":1221,"children":1222},{"class":95,"line":96},[1223,1227],{"type":48,"tag":93,"props":1224,"children":1225},{"style":100},[1226],{"type":53,"value":103},{"type":48,"tag":93,"props":1228,"children":1229},{"style":106},[1230],{"type":53,"value":109},{"type":48,"tag":93,"props":1232,"children":1233},{"class":95,"line":19},[1234,1238],{"type":48,"tag":93,"props":1235,"children":1236},{"style":115},[1237],{"type":53,"value":118},{"type":48,"tag":93,"props":1239,"children":1240},{"style":106},[1241],{"type":53,"value":123},{"type":48,"tag":93,"props":1243,"children":1244},{"class":95,"line":126},[1245,1249],{"type":48,"tag":93,"props":1246,"children":1247},{"style":115},[1248],{"type":53,"value":132},{"type":48,"tag":93,"props":1250,"children":1251},{"style":106},[1252],{"type":53,"value":123},{"type":48,"tag":93,"props":1254,"children":1255},{"class":95,"line":139},[1256,1260,1264],{"type":48,"tag":93,"props":1257,"children":1258},{"style":100},[1259],{"type":53,"value":145},{"type":48,"tag":93,"props":1261,"children":1262},{"style":115},[1263],{"type":53,"value":150},{"type":48,"tag":93,"props":1265,"children":1266},{"style":106},[1267],{"type":53,"value":123},{"type":48,"tag":93,"props":1269,"children":1270},{"class":95,"line":157},[1271,1275,1279,1283,1287],{"type":48,"tag":93,"props":1272,"children":1273},{"style":106},[1274],{"type":53,"value":163},{"type":48,"tag":93,"props":1276,"children":1277},{"style":100},[1278],{"type":53,"value":168},{"type":48,"tag":93,"props":1280,"children":1281},{"style":106},[1282],{"type":53,"value":173},{"type":48,"tag":93,"props":1284,"children":1285},{"style":176},[1286],{"type":53,"value":179},{"type":48,"tag":93,"props":1288,"children":1289},{"style":106},[1290],{"type":53,"value":184},{"type":48,"tag":93,"props":1292,"children":1293},{"class":95,"line":187},[1294,1298,1302,1307,1311,1315,1319,1324],{"type":48,"tag":93,"props":1295,"children":1296},{"style":100},[1297],{"type":53,"value":103},{"type":48,"tag":93,"props":1299,"children":1300},{"style":106},[1301],{"type":53,"value":934},{"type":48,"tag":93,"props":1303,"children":1304},{"style":115},[1305],{"type":53,"value":1306}," js",{"type":48,"tag":93,"props":1308,"children":1309},{"style":106},[1310],{"type":53,"value":944},{"type":48,"tag":93,"props":1312,"children":1313},{"style":100},[1314],{"type":53,"value":168},{"type":48,"tag":93,"props":1316,"children":1317},{"style":106},[1318],{"type":53,"value":173},{"type":48,"tag":93,"props":1320,"children":1321},{"style":176},[1322],{"type":53,"value":1323},"@tanstack\u002Fhighlight\u002Flanguages\u002Fjs",{"type":48,"tag":93,"props":1325,"children":1326},{"style":106},[1327],{"type":53,"value":184},{"type":48,"tag":93,"props":1329,"children":1330},{"class":95,"line":197},[1331],{"type":48,"tag":93,"props":1332,"children":1333},{"emptyLinePlaceholder":191},[1334],{"type":53,"value":194},{"type":48,"tag":93,"props":1336,"children":1337},{"class":95,"line":233},[1338,1342,1347,1351,1355,1359],{"type":48,"tag":93,"props":1339,"children":1340},{"style":201},[1341],{"type":53,"value":204},{"type":48,"tag":93,"props":1343,"children":1344},{"style":115},[1345],{"type":53,"value":1346}," scriptDocument ",{"type":48,"tag":93,"props":1348,"children":1349},{"style":106},[1350],{"type":53,"value":214},{"type":48,"tag":93,"props":1352,"children":1353},{"style":217},[1354],{"type":53,"value":220},{"type":48,"tag":93,"props":1356,"children":1357},{"style":115},[1358],{"type":53,"value":225},{"type":48,"tag":93,"props":1360,"children":1361},{"style":106},[1362],{"type":53,"value":230},{"type":48,"tag":93,"props":1364,"children":1365},{"class":95,"line":266},[1366,1370,1374,1378,1383,1387],{"type":48,"tag":93,"props":1367,"children":1368},{"style":237},[1369],{"type":53,"value":240},{"type":48,"tag":93,"props":1371,"children":1372},{"style":106},[1373],{"type":53,"value":245},{"type":48,"tag":93,"props":1375,"children":1376},{"style":106},[1377],{"type":53,"value":173},{"type":48,"tag":93,"props":1379,"children":1380},{"style":176},[1381],{"type":53,"value":1382},"script-document",{"type":48,"tag":93,"props":1384,"children":1385},{"style":106},[1386],{"type":53,"value":259},{"type":48,"tag":93,"props":1388,"children":1389},{"style":106},[1390],{"type":53,"value":123},{"type":48,"tag":93,"props":1392,"children":1393},{"class":95,"line":306},[1394,1398,1402,1406,1410,1415,1419],{"type":48,"tag":93,"props":1395,"children":1396},{"style":237},[1397],{"type":53,"value":312},{"type":48,"tag":93,"props":1399,"children":1400},{"style":106},[1401],{"type":53,"value":225},{"type":48,"tag":93,"props":1403,"children":1404},{"style":319},[1405],{"type":53,"value":56},{"type":48,"tag":93,"props":1407,"children":1408},{"style":106},[1409],{"type":53,"value":1046},{"type":48,"tag":93,"props":1411,"children":1412},{"style":319},[1413],{"type":53,"value":1414}," context",{"type":48,"tag":93,"props":1416,"children":1417},{"style":106},[1418],{"type":53,"value":326},{"type":48,"tag":93,"props":1420,"children":1421},{"style":106},[1422],{"type":53,"value":109},{"type":48,"tag":93,"props":1424,"children":1425},{"class":95,"line":333},[1426,1430,1434,1438,1442,1446,1450,1454,1458],{"type":48,"tag":93,"props":1427,"children":1428},{"style":201},[1429],{"type":53,"value":339},{"type":48,"tag":93,"props":1431,"children":1432},{"style":115},[1433],{"type":53,"value":344},{"type":48,"tag":93,"props":1435,"children":1436},{"style":106},[1437],{"type":53,"value":245},{"type":48,"tag":93,"props":1439,"children":1440},{"style":351},[1441],{"type":53,"value":354},{"type":48,"tag":93,"props":1443,"children":1444},{"style":106},[1445],{"type":53,"value":359},{"type":48,"tag":93,"props":1447,"children":1448},{"style":351},[1449],{"type":53,"value":364},{"type":48,"tag":93,"props":1451,"children":1452},{"style":106},[1453],{"type":53,"value":369},{"type":48,"tag":93,"props":1455,"children":1456},{"style":106},[1457],{"type":53,"value":374},{"type":48,"tag":93,"props":1459,"children":1460},{"style":237},[1461],{"type":53,"value":379},{"type":48,"tag":93,"props":1463,"children":1464},{"class":95,"line":382},[1465,1469,1473,1477,1481,1486,1491,1496,1501,1505,1510,1515,1519],{"type":48,"tag":93,"props":1466,"children":1467},{"style":201},[1468],{"type":53,"value":339},{"type":48,"tag":93,"props":1470,"children":1471},{"style":115},[1472],{"type":53,"value":392},{"type":48,"tag":93,"props":1474,"children":1475},{"style":106},[1476],{"type":53,"value":374},{"type":48,"tag":93,"props":1478,"children":1479},{"style":106},[1480],{"type":53,"value":401},{"type":48,"tag":93,"props":1482,"children":1483},{"style":176},[1484],{"type":53,"value":1485},"\u003Cscript>",{"type":48,"tag":93,"props":1487,"children":1488},{"style":106},[1489],{"type":53,"value":1490},"([",{"type":48,"tag":93,"props":1492,"children":1493},{"style":176},[1494],{"type":53,"value":1495},"\\s\\S",{"type":48,"tag":93,"props":1497,"children":1498},{"style":106},[1499],{"type":53,"value":1500},"]*?)",{"type":48,"tag":93,"props":1502,"children":1503},{"style":176},[1504],{"type":53,"value":359},{"type":48,"tag":93,"props":1506,"children":1507},{"style":115},[1508],{"type":53,"value":1509},"\\\u002F",{"type":48,"tag":93,"props":1511,"children":1512},{"style":176},[1513],{"type":53,"value":1514},"script>",{"type":48,"tag":93,"props":1516,"children":1517},{"style":106},[1518],{"type":53,"value":448},{"type":48,"tag":93,"props":1520,"children":1521},{"style":451},[1522],{"type":53,"value":454},{"type":48,"tag":93,"props":1524,"children":1525},{"class":95,"line":457},[1526,1530,1534,1538,1542,1546],{"type":48,"tag":93,"props":1527,"children":1528},{"style":201},[1529],{"type":53,"value":463},{"type":48,"tag":93,"props":1531,"children":1532},{"style":115},[1533],{"type":53,"value":468},{"type":48,"tag":93,"props":1535,"children":1536},{"style":106},[1537],{"type":53,"value":245},{"type":48,"tag":93,"props":1539,"children":1540},{"style":351},[1541],{"type":53,"value":477},{"type":48,"tag":93,"props":1543,"children":1544},{"style":106},[1545],{"type":53,"value":482},{"type":48,"tag":93,"props":1547,"children":1548},{"style":351},[1549],{"type":53,"value":487},{"type":48,"tag":93,"props":1551,"children":1552},{"class":95,"line":490},[1553],{"type":48,"tag":93,"props":1554,"children":1555},{"emptyLinePlaceholder":191},[1556],{"type":53,"value":194},{"type":48,"tag":93,"props":1558,"children":1559},{"class":95,"line":498},[1560,1564,1568,1572,1576,1580,1584,1588,1592,1596,1600],{"type":48,"tag":93,"props":1561,"children":1562},{"style":100},[1563],{"type":53,"value":504},{"type":48,"tag":93,"props":1565,"children":1566},{"style":237},[1567],{"type":53,"value":509},{"type":48,"tag":93,"props":1569,"children":1570},{"style":115},[1571],{"type":53,"value":514},{"type":48,"tag":93,"props":1573,"children":1574},{"style":106},[1575],{"type":53,"value":374},{"type":48,"tag":93,"props":1577,"children":1578},{"style":115},[1579],{"type":53,"value":392},{"type":48,"tag":93,"props":1581,"children":1582},{"style":106},[1583],{"type":53,"value":527},{"type":48,"tag":93,"props":1585,"children":1586},{"style":217},[1587],{"type":53,"value":532},{"type":48,"tag":93,"props":1589,"children":1590},{"style":237},[1591],{"type":53,"value":225},{"type":48,"tag":93,"props":1593,"children":1594},{"style":115},[1595],{"type":53,"value":56},{"type":48,"tag":93,"props":1597,"children":1598},{"style":237},[1599],{"type":53,"value":545},{"type":48,"tag":93,"props":1601,"children":1602},{"style":106},[1603],{"type":53,"value":230},{"type":48,"tag":93,"props":1605,"children":1606},{"class":95,"line":552},[1607,1612,1617,1621,1625,1629],{"type":48,"tag":93,"props":1608,"children":1609},{"style":201},[1610],{"type":53,"value":1611},"      const",{"type":48,"tag":93,"props":1613,"children":1614},{"style":115},[1615],{"type":53,"value":1616}," openStart",{"type":48,"tag":93,"props":1618,"children":1619},{"style":106},[1620],{"type":53,"value":374},{"type":48,"tag":93,"props":1622,"children":1623},{"style":115},[1624],{"type":53,"value":468},{"type":48,"tag":93,"props":1626,"children":1627},{"style":106},[1628],{"type":53,"value":527},{"type":48,"tag":93,"props":1630,"children":1631},{"style":115},[1632],{"type":53,"value":1633},"index\n",{"type":48,"tag":93,"props":1635,"children":1636},{"class":95,"line":578},[1637,1641,1646,1650,1654,1658,1662,1666,1670,1674],{"type":48,"tag":93,"props":1638,"children":1639},{"style":201},[1640],{"type":53,"value":1611},{"type":48,"tag":93,"props":1642,"children":1643},{"style":115},[1644],{"type":53,"value":1645}," bodyStart",{"type":48,"tag":93,"props":1647,"children":1648},{"style":106},[1649],{"type":53,"value":374},{"type":48,"tag":93,"props":1651,"children":1652},{"style":115},[1653],{"type":53,"value":1616},{"type":48,"tag":93,"props":1655,"children":1656},{"style":106},[1657],{"type":53,"value":635},{"type":48,"tag":93,"props":1659,"children":1660},{"style":106},[1661],{"type":53,"value":173},{"type":48,"tag":93,"props":1663,"children":1664},{"style":176},[1665],{"type":53,"value":1485},{"type":48,"tag":93,"props":1667,"children":1668},{"style":106},[1669],{"type":53,"value":259},{"type":48,"tag":93,"props":1671,"children":1672},{"style":106},[1673],{"type":53,"value":527},{"type":48,"tag":93,"props":1675,"children":1676},{"style":115},[1677],{"type":53,"value":1678},"length\n",{"type":48,"tag":93,"props":1680,"children":1681},{"class":95,"line":608},[1682,1686,1691,1695,1699,1703,1707,1711,1716,1720,1724],{"type":48,"tag":93,"props":1683,"children":1684},{"style":201},[1685],{"type":53,"value":1611},{"type":48,"tag":93,"props":1687,"children":1688},{"style":115},[1689],{"type":53,"value":1690}," bodyEnd",{"type":48,"tag":93,"props":1692,"children":1693},{"style":106},[1694],{"type":53,"value":374},{"type":48,"tag":93,"props":1696,"children":1697},{"style":115},[1698],{"type":53,"value":1645},{"type":48,"tag":93,"props":1700,"children":1701},{"style":106},[1702],{"type":53,"value":635},{"type":48,"tag":93,"props":1704,"children":1705},{"style":115},[1706],{"type":53,"value":468},{"type":48,"tag":93,"props":1708,"children":1709},{"style":237},[1710],{"type":53,"value":644},{"type":48,"tag":93,"props":1712,"children":1713},{"style":451},[1714],{"type":53,"value":1715},"1",{"type":48,"tag":93,"props":1717,"children":1718},{"style":237},[1719],{"type":53,"value":299},{"type":48,"tag":93,"props":1721,"children":1722},{"style":106},[1723],{"type":53,"value":527},{"type":48,"tag":93,"props":1725,"children":1726},{"style":115},[1727],{"type":53,"value":1678},{"type":48,"tag":93,"props":1729,"children":1730},{"class":95,"line":669},[1731,1735,1740,1744,1748,1752,1756,1761,1765,1769],{"type":48,"tag":93,"props":1732,"children":1733},{"style":201},[1734],{"type":53,"value":1611},{"type":48,"tag":93,"props":1736,"children":1737},{"style":115},[1738],{"type":53,"value":1739}," closeEnd",{"type":48,"tag":93,"props":1741,"children":1742},{"style":106},[1743],{"type":53,"value":374},{"type":48,"tag":93,"props":1745,"children":1746},{"style":115},[1747],{"type":53,"value":1690},{"type":48,"tag":93,"props":1749,"children":1750},{"style":106},[1751],{"type":53,"value":635},{"type":48,"tag":93,"props":1753,"children":1754},{"style":106},[1755],{"type":53,"value":173},{"type":48,"tag":93,"props":1757,"children":1758},{"style":176},[1759],{"type":53,"value":1760},"\u003C\u002Fscript>",{"type":48,"tag":93,"props":1762,"children":1763},{"style":106},[1764],{"type":53,"value":259},{"type":48,"tag":93,"props":1766,"children":1767},{"style":106},[1768],{"type":53,"value":527},{"type":48,"tag":93,"props":1770,"children":1771},{"style":115},[1772],{"type":53,"value":1678},{"type":48,"tag":93,"props":1774,"children":1775},{"class":95,"line":756},[1776],{"type":48,"tag":93,"props":1777,"children":1778},{"emptyLinePlaceholder":191},[1779],{"type":53,"value":194},{"type":48,"tag":93,"props":1781,"children":1782},{"class":95,"line":770},[1783,1787,1791,1795,1799,1804,1809,1813,1817,1821,1826,1830,1834,1838,1843,1847,1851,1855,1859,1863],{"type":48,"tag":93,"props":1784,"children":1785},{"style":115},[1786],{"type":53,"value":558},{"type":48,"tag":93,"props":1788,"children":1789},{"style":106},[1790],{"type":53,"value":527},{"type":48,"tag":93,"props":1792,"children":1793},{"style":217},[1794],{"type":53,"value":567},{"type":48,"tag":93,"props":1796,"children":1797},{"style":237},[1798],{"type":53,"value":225},{"type":48,"tag":93,"props":1800,"children":1801},{"style":106},[1802],{"type":53,"value":1803},"{",{"type":48,"tag":93,"props":1805,"children":1806},{"style":237},[1807],{"type":53,"value":1808}," start",{"type":48,"tag":93,"props":1810,"children":1811},{"style":106},[1812],{"type":53,"value":245},{"type":48,"tag":93,"props":1814,"children":1815},{"style":115},[1816],{"type":53,"value":1616},{"type":48,"tag":93,"props":1818,"children":1819},{"style":106},[1820],{"type":53,"value":1046},{"type":48,"tag":93,"props":1822,"children":1823},{"style":237},[1824],{"type":53,"value":1825}," end",{"type":48,"tag":93,"props":1827,"children":1828},{"style":106},[1829],{"type":53,"value":245},{"type":48,"tag":93,"props":1831,"children":1832},{"style":115},[1833],{"type":53,"value":1645},{"type":48,"tag":93,"props":1835,"children":1836},{"style":106},[1837],{"type":53,"value":1046},{"type":48,"tag":93,"props":1839,"children":1840},{"style":237},[1841],{"type":53,"value":1842}," className",{"type":48,"tag":93,"props":1844,"children":1845},{"style":106},[1846],{"type":53,"value":245},{"type":48,"tag":93,"props":1848,"children":1849},{"style":106},[1850],{"type":53,"value":173},{"type":48,"tag":93,"props":1852,"children":1853},{"style":176},[1854],{"type":53,"value":15},{"type":48,"tag":93,"props":1856,"children":1857},{"style":106},[1858],{"type":53,"value":259},{"type":48,"tag":93,"props":1860,"children":1861},{"style":106},[1862],{"type":53,"value":944},{"type":48,"tag":93,"props":1864,"children":1865},{"style":237},[1866],{"type":53,"value":767},{"type":48,"tag":93,"props":1868,"children":1869},{"class":95,"line":779},[1870],{"type":48,"tag":93,"props":1871,"children":1872},{"emptyLinePlaceholder":191},[1873],{"type":53,"value":194},{"type":48,"tag":93,"props":1875,"children":1876},{"class":95,"line":787},[1877,1882,1887,1892,1896,1901,1905,1909,1914,1918,1923],{"type":48,"tag":93,"props":1878,"children":1879},{"style":100},[1880],{"type":53,"value":1881},"      if",{"type":48,"tag":93,"props":1883,"children":1884},{"style":237},[1885],{"type":53,"value":1886}," (",{"type":48,"tag":93,"props":1888,"children":1889},{"style":115},[1890],{"type":53,"value":1891},"context",{"type":48,"tag":93,"props":1893,"children":1894},{"style":106},[1895],{"type":53,"value":527},{"type":48,"tag":93,"props":1897,"children":1898},{"style":217},[1899],{"type":53,"value":1900},"hasLanguage",{"type":48,"tag":93,"props":1902,"children":1903},{"style":237},[1904],{"type":53,"value":225},{"type":48,"tag":93,"props":1906,"children":1907},{"style":106},[1908],{"type":53,"value":259},{"type":48,"tag":93,"props":1910,"children":1911},{"style":176},[1912],{"type":53,"value":1913},"js",{"type":48,"tag":93,"props":1915,"children":1916},{"style":106},[1917],{"type":53,"value":259},{"type":48,"tag":93,"props":1919,"children":1920},{"style":237},[1921],{"type":53,"value":1922},")) ",{"type":48,"tag":93,"props":1924,"children":1925},{"style":106},[1926],{"type":53,"value":230},{"type":48,"tag":93,"props":1928,"children":1929},{"class":95,"line":801},[1930,1935,1939,1943],{"type":48,"tag":93,"props":1931,"children":1932},{"style":115},[1933],{"type":53,"value":1934},"        ranges",{"type":48,"tag":93,"props":1936,"children":1937},{"style":106},[1938],{"type":53,"value":527},{"type":48,"tag":93,"props":1940,"children":1941},{"style":217},[1942],{"type":53,"value":567},{"type":48,"tag":93,"props":1944,"children":1945},{"style":237},[1946],{"type":53,"value":1947},"(\n",{"type":48,"tag":93,"props":1949,"children":1950},{"class":95,"line":810},[1951,1956,1960,1964,1968,1972,1976,1980,1984,1988,1992,1996,2000,2004,2008,2012,2016,2020,2024,2029,2033,2037,2041],{"type":48,"tag":93,"props":1952,"children":1953},{"style":106},[1954],{"type":53,"value":1955},"          ...",{"type":48,"tag":93,"props":1957,"children":1958},{"style":115},[1959],{"type":53,"value":1891},{"type":48,"tag":93,"props":1961,"children":1962},{"style":106},[1963],{"type":53,"value":527},{"type":48,"tag":93,"props":1965,"children":1966},{"style":217},[1967],{"type":53,"value":1036},{"type":48,"tag":93,"props":1969,"children":1970},{"style":237},[1971],{"type":53,"value":225},{"type":48,"tag":93,"props":1973,"children":1974},{"style":115},[1975],{"type":53,"value":514},{"type":48,"tag":93,"props":1977,"children":1978},{"style":237},[1979],{"type":53,"value":644},{"type":48,"tag":93,"props":1981,"children":1982},{"style":451},[1983],{"type":53,"value":1715},{"type":48,"tag":93,"props":1985,"children":1986},{"style":237},[1987],{"type":53,"value":299},{"type":48,"tag":93,"props":1989,"children":1990},{"style":106},[1991],{"type":53,"value":1046},{"type":48,"tag":93,"props":1993,"children":1994},{"style":106},[1995],{"type":53,"value":173},{"type":48,"tag":93,"props":1997,"children":1998},{"style":176},[1999],{"type":53,"value":1913},{"type":48,"tag":93,"props":2001,"children":2002},{"style":106},[2003],{"type":53,"value":259},{"type":48,"tag":93,"props":2005,"children":2006},{"style":237},[2007],{"type":53,"value":326},{"type":48,"tag":93,"props":2009,"children":2010},{"style":106},[2011],{"type":53,"value":527},{"type":48,"tag":93,"props":2013,"children":2014},{"style":217},[2015],{"type":53,"value":1133},{"type":48,"tag":93,"props":2017,"children":2018},{"style":237},[2019],{"type":53,"value":225},{"type":48,"tag":93,"props":2021,"children":2022},{"style":106},[2023],{"type":53,"value":225},{"type":48,"tag":93,"props":2025,"children":2026},{"style":319},[2027],{"type":53,"value":2028},"range",{"type":48,"tag":93,"props":2030,"children":2031},{"style":106},[2032],{"type":53,"value":326},{"type":48,"tag":93,"props":2034,"children":2035},{"style":201},[2036],{"type":53,"value":1155},{"type":48,"tag":93,"props":2038,"children":2039},{"style":237},[2040],{"type":53,"value":1886},{"type":48,"tag":93,"props":2042,"children":2043},{"style":106},[2044],{"type":53,"value":230},{"type":48,"tag":93,"props":2046,"children":2047},{"class":95,"line":822},[2048,2053,2057],{"type":48,"tag":93,"props":2049,"children":2050},{"style":106},[2051],{"type":53,"value":2052},"            ...",{"type":48,"tag":93,"props":2054,"children":2055},{"style":115},[2056],{"type":53,"value":2028},{"type":48,"tag":93,"props":2058,"children":2059},{"style":106},[2060],{"type":53,"value":123},{"type":48,"tag":93,"props":2062,"children":2063},{"class":95,"line":830},[2064,2069,2073,2078,2082,2087,2091,2095],{"type":48,"tag":93,"props":2065,"children":2066},{"style":237},[2067],{"type":53,"value":2068},"            start",{"type":48,"tag":93,"props":2070,"children":2071},{"style":106},[2072],{"type":53,"value":245},{"type":48,"tag":93,"props":2074,"children":2075},{"style":115},[2076],{"type":53,"value":2077}," range",{"type":48,"tag":93,"props":2079,"children":2080},{"style":106},[2081],{"type":53,"value":527},{"type":48,"tag":93,"props":2083,"children":2084},{"style":115},[2085],{"type":53,"value":2086},"start",{"type":48,"tag":93,"props":2088,"children":2089},{"style":106},[2090],{"type":53,"value":635},{"type":48,"tag":93,"props":2092,"children":2093},{"style":115},[2094],{"type":53,"value":1645},{"type":48,"tag":93,"props":2096,"children":2097},{"style":106},[2098],{"type":53,"value":123},{"type":48,"tag":93,"props":2100,"children":2101},{"class":95,"line":866},[2102,2107,2111,2115,2119,2124,2128,2132],{"type":48,"tag":93,"props":2103,"children":2104},{"style":237},[2105],{"type":53,"value":2106},"            end",{"type":48,"tag":93,"props":2108,"children":2109},{"style":106},[2110],{"type":53,"value":245},{"type":48,"tag":93,"props":2112,"children":2113},{"style":115},[2114],{"type":53,"value":2077},{"type":48,"tag":93,"props":2116,"children":2117},{"style":106},[2118],{"type":53,"value":527},{"type":48,"tag":93,"props":2120,"children":2121},{"style":115},[2122],{"type":53,"value":2123},"end",{"type":48,"tag":93,"props":2125,"children":2126},{"style":106},[2127],{"type":53,"value":635},{"type":48,"tag":93,"props":2129,"children":2130},{"style":115},[2131],{"type":53,"value":1645},{"type":48,"tag":93,"props":2133,"children":2134},{"style":106},[2135],{"type":53,"value":123},{"type":48,"tag":93,"props":2137,"children":2138},{"class":95,"line":888},[2139,2144,2149],{"type":48,"tag":93,"props":2140,"children":2141},{"style":106},[2142],{"type":53,"value":2143},"          }",{"type":48,"tag":93,"props":2145,"children":2146},{"style":237},[2147],{"type":53,"value":2148},"))",{"type":48,"tag":93,"props":2150,"children":2151},{"style":106},[2152],{"type":53,"value":123},{"type":48,"tag":93,"props":2154,"children":2156},{"class":95,"line":2155},30,[2157],{"type":48,"tag":93,"props":2158,"children":2159},{"style":237},[2160],{"type":53,"value":2161},"        )\n",{"type":48,"tag":93,"props":2163,"children":2165},{"class":95,"line":2164},31,[2166],{"type":48,"tag":93,"props":2167,"children":2168},{"style":106},[2169],{"type":53,"value":2170},"      }\n",{"type":48,"tag":93,"props":2172,"children":2174},{"class":95,"line":2173},32,[2175],{"type":48,"tag":93,"props":2176,"children":2177},{"emptyLinePlaceholder":191},[2178],{"type":53,"value":194},{"type":48,"tag":93,"props":2180,"children":2182},{"class":95,"line":2181},33,[2183,2187,2191,2195,2199,2203,2207,2211,2215,2219,2223,2227,2231,2235,2239,2243,2247,2251,2255,2259],{"type":48,"tag":93,"props":2184,"children":2185},{"style":115},[2186],{"type":53,"value":558},{"type":48,"tag":93,"props":2188,"children":2189},{"style":106},[2190],{"type":53,"value":527},{"type":48,"tag":93,"props":2192,"children":2193},{"style":217},[2194],{"type":53,"value":567},{"type":48,"tag":93,"props":2196,"children":2197},{"style":237},[2198],{"type":53,"value":225},{"type":48,"tag":93,"props":2200,"children":2201},{"style":106},[2202],{"type":53,"value":1803},{"type":48,"tag":93,"props":2204,"children":2205},{"style":237},[2206],{"type":53,"value":1808},{"type":48,"tag":93,"props":2208,"children":2209},{"style":106},[2210],{"type":53,"value":245},{"type":48,"tag":93,"props":2212,"children":2213},{"style":115},[2214],{"type":53,"value":1690},{"type":48,"tag":93,"props":2216,"children":2217},{"style":106},[2218],{"type":53,"value":1046},{"type":48,"tag":93,"props":2220,"children":2221},{"style":237},[2222],{"type":53,"value":1825},{"type":48,"tag":93,"props":2224,"children":2225},{"style":106},[2226],{"type":53,"value":245},{"type":48,"tag":93,"props":2228,"children":2229},{"style":115},[2230],{"type":53,"value":1739},{"type":48,"tag":93,"props":2232,"children":2233},{"style":106},[2234],{"type":53,"value":1046},{"type":48,"tag":93,"props":2236,"children":2237},{"style":237},[2238],{"type":53,"value":1842},{"type":48,"tag":93,"props":2240,"children":2241},{"style":106},[2242],{"type":53,"value":245},{"type":48,"tag":93,"props":2244,"children":2245},{"style":106},[2246],{"type":53,"value":173},{"type":48,"tag":93,"props":2248,"children":2249},{"style":176},[2250],{"type":53,"value":15},{"type":48,"tag":93,"props":2252,"children":2253},{"style":106},[2254],{"type":53,"value":259},{"type":48,"tag":93,"props":2256,"children":2257},{"style":106},[2258],{"type":53,"value":944},{"type":48,"tag":93,"props":2260,"children":2261},{"style":237},[2262],{"type":53,"value":767},{"type":48,"tag":93,"props":2264,"children":2266},{"class":95,"line":2265},34,[2267],{"type":48,"tag":93,"props":2268,"children":2269},{"style":106},[2270],{"type":53,"value":776},{"type":48,"tag":93,"props":2272,"children":2274},{"class":95,"line":2273},35,[2275],{"type":48,"tag":93,"props":2276,"children":2277},{"emptyLinePlaceholder":191},[2278],{"type":53,"value":194},{"type":48,"tag":93,"props":2280,"children":2282},{"class":95,"line":2281},36,[2283,2287],{"type":48,"tag":93,"props":2284,"children":2285},{"style":100},[2286],{"type":53,"value":793},{"type":48,"tag":93,"props":2288,"children":2289},{"style":115},[2290],{"type":53,"value":798},{"type":48,"tag":93,"props":2292,"children":2294},{"class":95,"line":2293},37,[2295],{"type":48,"tag":93,"props":2296,"children":2297},{"style":106},[2298],{"type":53,"value":807},{"type":48,"tag":93,"props":2300,"children":2302},{"class":95,"line":2301},38,[2303,2307],{"type":48,"tag":93,"props":2304,"children":2305},{"style":106},[2306],{"type":53,"value":163},{"type":48,"tag":93,"props":2308,"children":2309},{"style":115},[2310],{"type":53,"value":767},{"type":48,"tag":93,"props":2312,"children":2314},{"class":95,"line":2313},39,[2315],{"type":48,"tag":93,"props":2316,"children":2317},{"emptyLinePlaceholder":191},[2318],{"type":53,"value":194},{"type":48,"tag":93,"props":2320,"children":2322},{"class":95,"line":2321},40,[2323,2327,2331,2335,2339,2343,2347],{"type":48,"tag":93,"props":2324,"children":2325},{"style":100},[2326],{"type":53,"value":836},{"type":48,"tag":93,"props":2328,"children":2329},{"style":201},[2330],{"type":53,"value":841},{"type":48,"tag":93,"props":2332,"children":2333},{"style":115},[2334],{"type":53,"value":846},{"type":48,"tag":93,"props":2336,"children":2337},{"style":106},[2338],{"type":53,"value":214},{"type":48,"tag":93,"props":2340,"children":2341},{"style":217},[2342],{"type":53,"value":855},{"type":48,"tag":93,"props":2344,"children":2345},{"style":115},[2346],{"type":53,"value":225},{"type":48,"tag":93,"props":2348,"children":2349},{"style":106},[2350],{"type":53,"value":230},{"type":48,"tag":93,"props":2352,"children":2354},{"class":95,"line":2353},41,[2355,2359,2363,2368,2372,2377],{"type":48,"tag":93,"props":2356,"children":2357},{"style":237},[2358],{"type":53,"value":872},{"type":48,"tag":93,"props":2360,"children":2361},{"style":106},[2362],{"type":53,"value":245},{"type":48,"tag":93,"props":2364,"children":2365},{"style":115},[2366],{"type":53,"value":2367}," [scriptDocument",{"type":48,"tag":93,"props":2369,"children":2370},{"style":106},[2371],{"type":53,"value":1046},{"type":48,"tag":93,"props":2373,"children":2374},{"style":115},[2375],{"type":53,"value":2376}," js]",{"type":48,"tag":93,"props":2378,"children":2379},{"style":106},[2380],{"type":53,"value":123},{"type":48,"tag":93,"props":2382,"children":2384},{"class":95,"line":2383},42,[2385,2389],{"type":48,"tag":93,"props":2386,"children":2387},{"style":106},[2388],{"type":53,"value":163},{"type":48,"tag":93,"props":2390,"children":2391},{"style":115},[2392],{"type":53,"value":767},{"type":48,"tag":49,"props":2394,"children":2395},{},[2396],{"type":53,"value":2397},"The outer definition remains independent of JavaScript; the application decides whether delegation is available.",{"type":48,"tag":910,"props":2399,"children":2401},{"id":2400},"prefer-unclassified-text-over-incorrect-classes",[2402],{"type":53,"value":2403},"Prefer unclassified text over incorrect classes",{"type":48,"tag":82,"props":2405,"children":2407},{"className":84,"code":2406,"language":86,"meta":87,"style":87},"import { defineLanguage, type TokenRange } from '@tanstack\u002Fhighlight\u002Fcore'\n\nexport const identifiers = defineLanguage({\n  name: 'identifiers',\n  tokenize(code) {\n    const ranges: Array\u003CTokenRange> = []\n    const pattern = \u002F\\b[A-Z][A-Za-z0-9]*\\b\u002Fg\n    let match: RegExpExecArray | null\n\n    while ((match = pattern.exec(code))) {\n      ranges.push({\n        start: match.index,\n        end: match.index + match[0].length,\n        className: 'type',\n      })\n    }\n\n    return ranges\n  },\n})\n",[2408],{"type":48,"tag":56,"props":2409,"children":2410},{"__ignoreMap":87},[2411,2459,2466,2498,2526,2549,2588,2647,2674,2681,2728,2751,2778,2833,2861,2872,2879,2886,2897,2904],{"type":48,"tag":93,"props":2412,"children":2413},{"class":95,"line":96},[2414,2418,2422,2426,2430,2435,2439,2443,2447,2451,2455],{"type":48,"tag":93,"props":2415,"children":2416},{"style":100},[2417],{"type":53,"value":103},{"type":48,"tag":93,"props":2419,"children":2420},{"style":106},[2421],{"type":53,"value":934},{"type":48,"tag":93,"props":2423,"children":2424},{"style":115},[2425],{"type":53,"value":220},{"type":48,"tag":93,"props":2427,"children":2428},{"style":106},[2429],{"type":53,"value":1046},{"type":48,"tag":93,"props":2431,"children":2432},{"style":100},[2433],{"type":53,"value":2434}," type",{"type":48,"tag":93,"props":2436,"children":2437},{"style":115},[2438],{"type":53,"value":150},{"type":48,"tag":93,"props":2440,"children":2441},{"style":106},[2442],{"type":53,"value":944},{"type":48,"tag":93,"props":2444,"children":2445},{"style":100},[2446],{"type":53,"value":168},{"type":48,"tag":93,"props":2448,"children":2449},{"style":106},[2450],{"type":53,"value":173},{"type":48,"tag":93,"props":2452,"children":2453},{"style":176},[2454],{"type":53,"value":179},{"type":48,"tag":93,"props":2456,"children":2457},{"style":106},[2458],{"type":53,"value":184},{"type":48,"tag":93,"props":2460,"children":2461},{"class":95,"line":19},[2462],{"type":48,"tag":93,"props":2463,"children":2464},{"emptyLinePlaceholder":191},[2465],{"type":53,"value":194},{"type":48,"tag":93,"props":2467,"children":2468},{"class":95,"line":126},[2469,2473,2477,2482,2486,2490,2494],{"type":48,"tag":93,"props":2470,"children":2471},{"style":100},[2472],{"type":53,"value":836},{"type":48,"tag":93,"props":2474,"children":2475},{"style":201},[2476],{"type":53,"value":841},{"type":48,"tag":93,"props":2478,"children":2479},{"style":115},[2480],{"type":53,"value":2481}," identifiers ",{"type":48,"tag":93,"props":2483,"children":2484},{"style":106},[2485],{"type":53,"value":214},{"type":48,"tag":93,"props":2487,"children":2488},{"style":217},[2489],{"type":53,"value":220},{"type":48,"tag":93,"props":2491,"children":2492},{"style":115},[2493],{"type":53,"value":225},{"type":48,"tag":93,"props":2495,"children":2496},{"style":106},[2497],{"type":53,"value":230},{"type":48,"tag":93,"props":2499,"children":2500},{"class":95,"line":139},[2501,2505,2509,2513,2518,2522],{"type":48,"tag":93,"props":2502,"children":2503},{"style":237},[2504],{"type":53,"value":240},{"type":48,"tag":93,"props":2506,"children":2507},{"style":106},[2508],{"type":53,"value":245},{"type":48,"tag":93,"props":2510,"children":2511},{"style":106},[2512],{"type":53,"value":173},{"type":48,"tag":93,"props":2514,"children":2515},{"style":176},[2516],{"type":53,"value":2517},"identifiers",{"type":48,"tag":93,"props":2519,"children":2520},{"style":106},[2521],{"type":53,"value":259},{"type":48,"tag":93,"props":2523,"children":2524},{"style":106},[2525],{"type":53,"value":123},{"type":48,"tag":93,"props":2527,"children":2528},{"class":95,"line":157},[2529,2533,2537,2541,2545],{"type":48,"tag":93,"props":2530,"children":2531},{"style":237},[2532],{"type":53,"value":312},{"type":48,"tag":93,"props":2534,"children":2535},{"style":106},[2536],{"type":53,"value":225},{"type":48,"tag":93,"props":2538,"children":2539},{"style":319},[2540],{"type":53,"value":56},{"type":48,"tag":93,"props":2542,"children":2543},{"style":106},[2544],{"type":53,"value":326},{"type":48,"tag":93,"props":2546,"children":2547},{"style":106},[2548],{"type":53,"value":109},{"type":48,"tag":93,"props":2550,"children":2551},{"class":95,"line":187},[2552,2556,2560,2564,2568,2572,2576,2580,2584],{"type":48,"tag":93,"props":2553,"children":2554},{"style":201},[2555],{"type":53,"value":339},{"type":48,"tag":93,"props":2557,"children":2558},{"style":115},[2559],{"type":53,"value":344},{"type":48,"tag":93,"props":2561,"children":2562},{"style":106},[2563],{"type":53,"value":245},{"type":48,"tag":93,"props":2565,"children":2566},{"style":351},[2567],{"type":53,"value":354},{"type":48,"tag":93,"props":2569,"children":2570},{"style":106},[2571],{"type":53,"value":359},{"type":48,"tag":93,"props":2573,"children":2574},{"style":351},[2575],{"type":53,"value":364},{"type":48,"tag":93,"props":2577,"children":2578},{"style":106},[2579],{"type":53,"value":369},{"type":48,"tag":93,"props":2581,"children":2582},{"style":106},[2583],{"type":53,"value":374},{"type":48,"tag":93,"props":2585,"children":2586},{"style":237},[2587],{"type":53,"value":379},{"type":48,"tag":93,"props":2589,"children":2590},{"class":95,"line":197},[2591,2595,2599,2603,2607,2611,2615,2620,2625,2630,2635,2639,2643],{"type":48,"tag":93,"props":2592,"children":2593},{"style":201},[2594],{"type":53,"value":339},{"type":48,"tag":93,"props":2596,"children":2597},{"style":115},[2598],{"type":53,"value":392},{"type":48,"tag":93,"props":2600,"children":2601},{"style":106},[2602],{"type":53,"value":374},{"type":48,"tag":93,"props":2604,"children":2605},{"style":106},[2606],{"type":53,"value":401},{"type":48,"tag":93,"props":2608,"children":2609},{"style":100},[2610],{"type":53,"value":406},{"type":48,"tag":93,"props":2612,"children":2613},{"style":106},[2614],{"type":53,"value":644},{"type":48,"tag":93,"props":2616,"children":2617},{"style":176},[2618],{"type":53,"value":2619},"A-Z",{"type":48,"tag":93,"props":2621,"children":2622},{"style":106},[2623],{"type":53,"value":2624},"][",{"type":48,"tag":93,"props":2626,"children":2627},{"style":176},[2628],{"type":53,"value":2629},"A-Za-z0-9",{"type":48,"tag":93,"props":2631,"children":2632},{"style":106},[2633],{"type":53,"value":2634},"]*",{"type":48,"tag":93,"props":2636,"children":2637},{"style":100},[2638],{"type":53,"value":406},{"type":48,"tag":93,"props":2640,"children":2641},{"style":106},[2642],{"type":53,"value":448},{"type":48,"tag":93,"props":2644,"children":2645},{"style":451},[2646],{"type":53,"value":454},{"type":48,"tag":93,"props":2648,"children":2649},{"class":95,"line":233},[2650,2654,2658,2662,2666,2670],{"type":48,"tag":93,"props":2651,"children":2652},{"style":201},[2653],{"type":53,"value":463},{"type":48,"tag":93,"props":2655,"children":2656},{"style":115},[2657],{"type":53,"value":468},{"type":48,"tag":93,"props":2659,"children":2660},{"style":106},[2661],{"type":53,"value":245},{"type":48,"tag":93,"props":2663,"children":2664},{"style":351},[2665],{"type":53,"value":477},{"type":48,"tag":93,"props":2667,"children":2668},{"style":106},[2669],{"type":53,"value":482},{"type":48,"tag":93,"props":2671,"children":2672},{"style":351},[2673],{"type":53,"value":487},{"type":48,"tag":93,"props":2675,"children":2676},{"class":95,"line":266},[2677],{"type":48,"tag":93,"props":2678,"children":2679},{"emptyLinePlaceholder":191},[2680],{"type":53,"value":194},{"type":48,"tag":93,"props":2682,"children":2683},{"class":95,"line":306},[2684,2688,2692,2696,2700,2704,2708,2712,2716,2720,2724],{"type":48,"tag":93,"props":2685,"children":2686},{"style":100},[2687],{"type":53,"value":504},{"type":48,"tag":93,"props":2689,"children":2690},{"style":237},[2691],{"type":53,"value":509},{"type":48,"tag":93,"props":2693,"children":2694},{"style":115},[2695],{"type":53,"value":514},{"type":48,"tag":93,"props":2697,"children":2698},{"style":106},[2699],{"type":53,"value":374},{"type":48,"tag":93,"props":2701,"children":2702},{"style":115},[2703],{"type":53,"value":392},{"type":48,"tag":93,"props":2705,"children":2706},{"style":106},[2707],{"type":53,"value":527},{"type":48,"tag":93,"props":2709,"children":2710},{"style":217},[2711],{"type":53,"value":532},{"type":48,"tag":93,"props":2713,"children":2714},{"style":237},[2715],{"type":53,"value":225},{"type":48,"tag":93,"props":2717,"children":2718},{"style":115},[2719],{"type":53,"value":56},{"type":48,"tag":93,"props":2721,"children":2722},{"style":237},[2723],{"type":53,"value":545},{"type":48,"tag":93,"props":2725,"children":2726},{"style":106},[2727],{"type":53,"value":230},{"type":48,"tag":93,"props":2729,"children":2730},{"class":95,"line":333},[2731,2735,2739,2743,2747],{"type":48,"tag":93,"props":2732,"children":2733},{"style":115},[2734],{"type":53,"value":558},{"type":48,"tag":93,"props":2736,"children":2737},{"style":106},[2738],{"type":53,"value":527},{"type":48,"tag":93,"props":2740,"children":2741},{"style":217},[2742],{"type":53,"value":567},{"type":48,"tag":93,"props":2744,"children":2745},{"style":237},[2746],{"type":53,"value":225},{"type":48,"tag":93,"props":2748,"children":2749},{"style":106},[2750],{"type":53,"value":230},{"type":48,"tag":93,"props":2752,"children":2753},{"class":95,"line":382},[2754,2758,2762,2766,2770,2774],{"type":48,"tag":93,"props":2755,"children":2756},{"style":237},[2757],{"type":53,"value":584},{"type":48,"tag":93,"props":2759,"children":2760},{"style":106},[2761],{"type":53,"value":245},{"type":48,"tag":93,"props":2763,"children":2764},{"style":115},[2765],{"type":53,"value":468},{"type":48,"tag":93,"props":2767,"children":2768},{"style":106},[2769],{"type":53,"value":527},{"type":48,"tag":93,"props":2771,"children":2772},{"style":115},[2773],{"type":53,"value":601},{"type":48,"tag":93,"props":2775,"children":2776},{"style":106},[2777],{"type":53,"value":123},{"type":48,"tag":93,"props":2779,"children":2780},{"class":95,"line":457},[2781,2785,2789,2793,2797,2801,2805,2809,2813,2817,2821,2825,2829],{"type":48,"tag":93,"props":2782,"children":2783},{"style":237},[2784],{"type":53,"value":614},{"type":48,"tag":93,"props":2786,"children":2787},{"style":106},[2788],{"type":53,"value":245},{"type":48,"tag":93,"props":2790,"children":2791},{"style":115},[2792],{"type":53,"value":468},{"type":48,"tag":93,"props":2794,"children":2795},{"style":106},[2796],{"type":53,"value":527},{"type":48,"tag":93,"props":2798,"children":2799},{"style":115},[2800],{"type":53,"value":601},{"type":48,"tag":93,"props":2802,"children":2803},{"style":106},[2804],{"type":53,"value":635},{"type":48,"tag":93,"props":2806,"children":2807},{"style":115},[2808],{"type":53,"value":468},{"type":48,"tag":93,"props":2810,"children":2811},{"style":237},[2812],{"type":53,"value":644},{"type":48,"tag":93,"props":2814,"children":2815},{"style":451},[2816],{"type":53,"value":649},{"type":48,"tag":93,"props":2818,"children":2819},{"style":237},[2820],{"type":53,"value":299},{"type":48,"tag":93,"props":2822,"children":2823},{"style":106},[2824],{"type":53,"value":527},{"type":48,"tag":93,"props":2826,"children":2827},{"style":115},[2828],{"type":53,"value":662},{"type":48,"tag":93,"props":2830,"children":2831},{"style":106},[2832],{"type":53,"value":123},{"type":48,"tag":93,"props":2834,"children":2835},{"class":95,"line":490},[2836,2840,2844,2848,2853,2857],{"type":48,"tag":93,"props":2837,"children":2838},{"style":237},[2839],{"type":53,"value":675},{"type":48,"tag":93,"props":2841,"children":2842},{"style":106},[2843],{"type":53,"value":245},{"type":48,"tag":93,"props":2845,"children":2846},{"style":106},[2847],{"type":53,"value":173},{"type":48,"tag":93,"props":2849,"children":2850},{"style":176},[2851],{"type":53,"value":2852},"type",{"type":48,"tag":93,"props":2854,"children":2855},{"style":106},[2856],{"type":53,"value":259},{"type":48,"tag":93,"props":2858,"children":2859},{"style":106},[2860],{"type":53,"value":123},{"type":48,"tag":93,"props":2862,"children":2863},{"class":95,"line":498},[2864,2868],{"type":48,"tag":93,"props":2865,"children":2866},{"style":106},[2867],{"type":53,"value":762},{"type":48,"tag":93,"props":2869,"children":2870},{"style":237},[2871],{"type":53,"value":767},{"type":48,"tag":93,"props":2873,"children":2874},{"class":95,"line":552},[2875],{"type":48,"tag":93,"props":2876,"children":2877},{"style":106},[2878],{"type":53,"value":776},{"type":48,"tag":93,"props":2880,"children":2881},{"class":95,"line":578},[2882],{"type":48,"tag":93,"props":2883,"children":2884},{"emptyLinePlaceholder":191},[2885],{"type":53,"value":194},{"type":48,"tag":93,"props":2887,"children":2888},{"class":95,"line":608},[2889,2893],{"type":48,"tag":93,"props":2890,"children":2891},{"style":100},[2892],{"type":53,"value":793},{"type":48,"tag":93,"props":2894,"children":2895},{"style":115},[2896],{"type":53,"value":798},{"type":48,"tag":93,"props":2898,"children":2899},{"class":95,"line":669},[2900],{"type":48,"tag":93,"props":2901,"children":2902},{"style":106},[2903],{"type":53,"value":807},{"type":48,"tag":93,"props":2905,"children":2906},{"class":95,"line":756},[2907,2911],{"type":48,"tag":93,"props":2908,"children":2909},{"style":106},[2910],{"type":53,"value":163},{"type":48,"tag":93,"props":2912,"children":2913},{"style":115},[2914],{"type":53,"value":767},{"type":48,"tag":49,"props":2916,"children":2917},{},[2918],{"type":53,"value":2919},"Do not classify ambiguous gaps merely to increase token coverage.",{"type":48,"tag":70,"props":2921,"children":2923},{"id":2922},"common-mistakes",[2924],{"type":53,"value":2925},"Common Mistakes",{"type":48,"tag":910,"props":2927,"children":2929},{"id":2928},"critical-returning-inclusive-range-ends",[2930],{"type":53,"value":2931},"CRITICAL Returning inclusive range ends",{"type":48,"tag":49,"props":2933,"children":2934},{},[2935],{"type":53,"value":2936},"Wrong:",{"type":48,"tag":82,"props":2938,"children":2940},{"className":84,"code":2939,"language":86,"meta":87,"style":87},"import type { TokenRange } from '@tanstack\u002Fhighlight\u002Fcore'\n\nexport function keywordRange(start: number, value: string): TokenRange {\n  return {\n    start,\n    end: start + value.length - 1,\n    className: 'keyword',\n  }\n}\n",[2941],{"type":48,"tag":56,"props":2942,"children":2943},{"__ignoreMap":87},[2944,2983,2990,3055,3067,3079,3125,3153,3161],{"type":48,"tag":93,"props":2945,"children":2946},{"class":95,"line":96},[2947,2951,2955,2959,2963,2967,2971,2975,2979],{"type":48,"tag":93,"props":2948,"children":2949},{"style":100},[2950],{"type":53,"value":103},{"type":48,"tag":93,"props":2952,"children":2953},{"style":100},[2954],{"type":53,"value":2434},{"type":48,"tag":93,"props":2956,"children":2957},{"style":106},[2958],{"type":53,"value":934},{"type":48,"tag":93,"props":2960,"children":2961},{"style":115},[2962],{"type":53,"value":150},{"type":48,"tag":93,"props":2964,"children":2965},{"style":106},[2966],{"type":53,"value":944},{"type":48,"tag":93,"props":2968,"children":2969},{"style":100},[2970],{"type":53,"value":168},{"type":48,"tag":93,"props":2972,"children":2973},{"style":106},[2974],{"type":53,"value":173},{"type":48,"tag":93,"props":2976,"children":2977},{"style":176},[2978],{"type":53,"value":179},{"type":48,"tag":93,"props":2980,"children":2981},{"style":106},[2982],{"type":53,"value":184},{"type":48,"tag":93,"props":2984,"children":2985},{"class":95,"line":19},[2986],{"type":48,"tag":93,"props":2987,"children":2988},{"emptyLinePlaceholder":191},[2989],{"type":53,"value":194},{"type":48,"tag":93,"props":2991,"children":2992},{"class":95,"line":126},[2993,2997,3002,3007,3011,3015,3019,3024,3028,3033,3037,3042,3047,3051],{"type":48,"tag":93,"props":2994,"children":2995},{"style":100},[2996],{"type":53,"value":836},{"type":48,"tag":93,"props":2998,"children":2999},{"style":201},[3000],{"type":53,"value":3001}," function",{"type":48,"tag":93,"props":3003,"children":3004},{"style":217},[3005],{"type":53,"value":3006}," keywordRange",{"type":48,"tag":93,"props":3008,"children":3009},{"style":106},[3010],{"type":53,"value":225},{"type":48,"tag":93,"props":3012,"children":3013},{"style":319},[3014],{"type":53,"value":2086},{"type":48,"tag":93,"props":3016,"children":3017},{"style":106},[3018],{"type":53,"value":245},{"type":48,"tag":93,"props":3020,"children":3021},{"style":351},[3022],{"type":53,"value":3023}," number",{"type":48,"tag":93,"props":3025,"children":3026},{"style":106},[3027],{"type":53,"value":1046},{"type":48,"tag":93,"props":3029,"children":3030},{"style":319},[3031],{"type":53,"value":3032}," value",{"type":48,"tag":93,"props":3034,"children":3035},{"style":106},[3036],{"type":53,"value":245},{"type":48,"tag":93,"props":3038,"children":3039},{"style":351},[3040],{"type":53,"value":3041}," string",{"type":48,"tag":93,"props":3043,"children":3044},{"style":106},[3045],{"type":53,"value":3046},"):",{"type":48,"tag":93,"props":3048,"children":3049},{"style":351},[3050],{"type":53,"value":150},{"type":48,"tag":93,"props":3052,"children":3053},{"style":106},[3054],{"type":53,"value":109},{"type":48,"tag":93,"props":3056,"children":3057},{"class":95,"line":139},[3058,3063],{"type":48,"tag":93,"props":3059,"children":3060},{"style":100},[3061],{"type":53,"value":3062},"  return",{"type":48,"tag":93,"props":3064,"children":3065},{"style":106},[3066],{"type":53,"value":109},{"type":48,"tag":93,"props":3068,"children":3069},{"class":95,"line":157},[3070,3075],{"type":48,"tag":93,"props":3071,"children":3072},{"style":115},[3073],{"type":53,"value":3074},"    start",{"type":48,"tag":93,"props":3076,"children":3077},{"style":106},[3078],{"type":53,"value":123},{"type":48,"tag":93,"props":3080,"children":3081},{"class":95,"line":187},[3082,3087,3091,3095,3099,3103,3107,3111,3116,3121],{"type":48,"tag":93,"props":3083,"children":3084},{"style":237},[3085],{"type":53,"value":3086},"    end",{"type":48,"tag":93,"props":3088,"children":3089},{"style":106},[3090],{"type":53,"value":245},{"type":48,"tag":93,"props":3092,"children":3093},{"style":115},[3094],{"type":53,"value":1808},{"type":48,"tag":93,"props":3096,"children":3097},{"style":106},[3098],{"type":53,"value":635},{"type":48,"tag":93,"props":3100,"children":3101},{"style":115},[3102],{"type":53,"value":3032},{"type":48,"tag":93,"props":3104,"children":3105},{"style":106},[3106],{"type":53,"value":527},{"type":48,"tag":93,"props":3108,"children":3109},{"style":115},[3110],{"type":53,"value":662},{"type":48,"tag":93,"props":3112,"children":3113},{"style":106},[3114],{"type":53,"value":3115}," -",{"type":48,"tag":93,"props":3117,"children":3118},{"style":451},[3119],{"type":53,"value":3120}," 1",{"type":48,"tag":93,"props":3122,"children":3123},{"style":106},[3124],{"type":53,"value":123},{"type":48,"tag":93,"props":3126,"children":3127},{"class":95,"line":197},[3128,3133,3137,3141,3145,3149],{"type":48,"tag":93,"props":3129,"children":3130},{"style":237},[3131],{"type":53,"value":3132},"    className",{"type":48,"tag":93,"props":3134,"children":3135},{"style":106},[3136],{"type":53,"value":245},{"type":48,"tag":93,"props":3138,"children":3139},{"style":106},[3140],{"type":53,"value":173},{"type":48,"tag":93,"props":3142,"children":3143},{"style":176},[3144],{"type":53,"value":745},{"type":48,"tag":93,"props":3146,"children":3147},{"style":106},[3148],{"type":53,"value":259},{"type":48,"tag":93,"props":3150,"children":3151},{"style":106},[3152],{"type":53,"value":123},{"type":48,"tag":93,"props":3154,"children":3155},{"class":95,"line":233},[3156],{"type":48,"tag":93,"props":3157,"children":3158},{"style":106},[3159],{"type":53,"value":3160},"  }\n",{"type":48,"tag":93,"props":3162,"children":3163},{"class":95,"line":266},[3164],{"type":48,"tag":93,"props":3165,"children":3166},{"style":106},[3167],{"type":53,"value":3168},"}\n",{"type":48,"tag":49,"props":3170,"children":3171},{},[3172],{"type":53,"value":3173},"Correct:",{"type":48,"tag":82,"props":3175,"children":3177},{"className":84,"code":3176,"language":86,"meta":87,"style":87},"import type { TokenRange } from '@tanstack\u002Fhighlight\u002Fcore'\n\nexport function keywordRange(start: number, value: string): TokenRange {\n  return {\n    start,\n    end: start + value.length,\n    className: 'keyword',\n  }\n}\n",[3178],{"type":48,"tag":56,"props":3179,"children":3180},{"__ignoreMap":87},[3181,3220,3227,3286,3297,3308,3343,3370,3377],{"type":48,"tag":93,"props":3182,"children":3183},{"class":95,"line":96},[3184,3188,3192,3196,3200,3204,3208,3212,3216],{"type":48,"tag":93,"props":3185,"children":3186},{"style":100},[3187],{"type":53,"value":103},{"type":48,"tag":93,"props":3189,"children":3190},{"style":100},[3191],{"type":53,"value":2434},{"type":48,"tag":93,"props":3193,"children":3194},{"style":106},[3195],{"type":53,"value":934},{"type":48,"tag":93,"props":3197,"children":3198},{"style":115},[3199],{"type":53,"value":150},{"type":48,"tag":93,"props":3201,"children":3202},{"style":106},[3203],{"type":53,"value":944},{"type":48,"tag":93,"props":3205,"children":3206},{"style":100},[3207],{"type":53,"value":168},{"type":48,"tag":93,"props":3209,"children":3210},{"style":106},[3211],{"type":53,"value":173},{"type":48,"tag":93,"props":3213,"children":3214},{"style":176},[3215],{"type":53,"value":179},{"type":48,"tag":93,"props":3217,"children":3218},{"style":106},[3219],{"type":53,"value":184},{"type":48,"tag":93,"props":3221,"children":3222},{"class":95,"line":19},[3223],{"type":48,"tag":93,"props":3224,"children":3225},{"emptyLinePlaceholder":191},[3226],{"type":53,"value":194},{"type":48,"tag":93,"props":3228,"children":3229},{"class":95,"line":126},[3230,3234,3238,3242,3246,3250,3254,3258,3262,3266,3270,3274,3278,3282],{"type":48,"tag":93,"props":3231,"children":3232},{"style":100},[3233],{"type":53,"value":836},{"type":48,"tag":93,"props":3235,"children":3236},{"style":201},[3237],{"type":53,"value":3001},{"type":48,"tag":93,"props":3239,"children":3240},{"style":217},[3241],{"type":53,"value":3006},{"type":48,"tag":93,"props":3243,"children":3244},{"style":106},[3245],{"type":53,"value":225},{"type":48,"tag":93,"props":3247,"children":3248},{"style":319},[3249],{"type":53,"value":2086},{"type":48,"tag":93,"props":3251,"children":3252},{"style":106},[3253],{"type":53,"value":245},{"type":48,"tag":93,"props":3255,"children":3256},{"style":351},[3257],{"type":53,"value":3023},{"type":48,"tag":93,"props":3259,"children":3260},{"style":106},[3261],{"type":53,"value":1046},{"type":48,"tag":93,"props":3263,"children":3264},{"style":319},[3265],{"type":53,"value":3032},{"type":48,"tag":93,"props":3267,"children":3268},{"style":106},[3269],{"type":53,"value":245},{"type":48,"tag":93,"props":3271,"children":3272},{"style":351},[3273],{"type":53,"value":3041},{"type":48,"tag":93,"props":3275,"children":3276},{"style":106},[3277],{"type":53,"value":3046},{"type":48,"tag":93,"props":3279,"children":3280},{"style":351},[3281],{"type":53,"value":150},{"type":48,"tag":93,"props":3283,"children":3284},{"style":106},[3285],{"type":53,"value":109},{"type":48,"tag":93,"props":3287,"children":3288},{"class":95,"line":139},[3289,3293],{"type":48,"tag":93,"props":3290,"children":3291},{"style":100},[3292],{"type":53,"value":3062},{"type":48,"tag":93,"props":3294,"children":3295},{"style":106},[3296],{"type":53,"value":109},{"type":48,"tag":93,"props":3298,"children":3299},{"class":95,"line":157},[3300,3304],{"type":48,"tag":93,"props":3301,"children":3302},{"style":115},[3303],{"type":53,"value":3074},{"type":48,"tag":93,"props":3305,"children":3306},{"style":106},[3307],{"type":53,"value":123},{"type":48,"tag":93,"props":3309,"children":3310},{"class":95,"line":187},[3311,3315,3319,3323,3327,3331,3335,3339],{"type":48,"tag":93,"props":3312,"children":3313},{"style":237},[3314],{"type":53,"value":3086},{"type":48,"tag":93,"props":3316,"children":3317},{"style":106},[3318],{"type":53,"value":245},{"type":48,"tag":93,"props":3320,"children":3321},{"style":115},[3322],{"type":53,"value":1808},{"type":48,"tag":93,"props":3324,"children":3325},{"style":106},[3326],{"type":53,"value":635},{"type":48,"tag":93,"props":3328,"children":3329},{"style":115},[3330],{"type":53,"value":3032},{"type":48,"tag":93,"props":3332,"children":3333},{"style":106},[3334],{"type":53,"value":527},{"type":48,"tag":93,"props":3336,"children":3337},{"style":115},[3338],{"type":53,"value":662},{"type":48,"tag":93,"props":3340,"children":3341},{"style":106},[3342],{"type":53,"value":123},{"type":48,"tag":93,"props":3344,"children":3345},{"class":95,"line":197},[3346,3350,3354,3358,3362,3366],{"type":48,"tag":93,"props":3347,"children":3348},{"style":237},[3349],{"type":53,"value":3132},{"type":48,"tag":93,"props":3351,"children":3352},{"style":106},[3353],{"type":53,"value":245},{"type":48,"tag":93,"props":3355,"children":3356},{"style":106},[3357],{"type":53,"value":173},{"type":48,"tag":93,"props":3359,"children":3360},{"style":176},[3361],{"type":53,"value":745},{"type":48,"tag":93,"props":3363,"children":3364},{"style":106},[3365],{"type":53,"value":259},{"type":48,"tag":93,"props":3367,"children":3368},{"style":106},[3369],{"type":53,"value":123},{"type":48,"tag":93,"props":3371,"children":3372},{"class":95,"line":233},[3373],{"type":48,"tag":93,"props":3374,"children":3375},{"style":106},[3376],{"type":53,"value":3160},{"type":48,"tag":93,"props":3378,"children":3379},{"class":95,"line":266},[3380],{"type":48,"tag":93,"props":3381,"children":3382},{"style":106},[3383],{"type":53,"value":3168},{"type":48,"tag":49,"props":3385,"children":3386},{},[3387,3389,3395],{"type":53,"value":3388},"Range ends match ",{"type":48,"tag":56,"props":3390,"children":3392},{"className":3391},[],[3393],{"type":53,"value":3394},"String.prototype.slice()",{"type":53,"value":3396}," and exclude the end offset.",{"type":48,"tag":49,"props":3398,"children":3399},{},[3400,3402],{"type":53,"value":3401},"Source: ",{"type":48,"tag":56,"props":3403,"children":3405},{"className":3404},[],[3406],{"type":53,"value":3407},"docs\u002Fguides\u002Fcustom-languages.md",{"type":48,"tag":910,"props":3409,"children":3411},{"id":3410},"high-returning-overlapping-token-ranges",[3412],{"type":53,"value":3413},"HIGH Returning overlapping token ranges",{"type":48,"tag":49,"props":3415,"children":3416},{},[3417],{"type":53,"value":2936},{"type":48,"tag":82,"props":3419,"children":3421},{"className":84,"code":3420,"language":86,"meta":87,"style":87},"import type { TokenRange } from '@tanstack\u002Fhighlight\u002Fcore'\n\nexport function tokenize(code: string): Array\u003CTokenRange> {\n  return [\n    { start: 0, end: code.length, className: 'string' },\n    { start: 6, end: 10, className: 'keyword' },\n  ]\n}\n",[3422],{"type":48,"tag":56,"props":3423,"children":3424},{"__ignoreMap":87},[3425,3464,3471,3527,3539,3615,3680,3688],{"type":48,"tag":93,"props":3426,"children":3427},{"class":95,"line":96},[3428,3432,3436,3440,3444,3448,3452,3456,3460],{"type":48,"tag":93,"props":3429,"children":3430},{"style":100},[3431],{"type":53,"value":103},{"type":48,"tag":93,"props":3433,"children":3434},{"style":100},[3435],{"type":53,"value":2434},{"type":48,"tag":93,"props":3437,"children":3438},{"style":106},[3439],{"type":53,"value":934},{"type":48,"tag":93,"props":3441,"children":3442},{"style":115},[3443],{"type":53,"value":150},{"type":48,"tag":93,"props":3445,"children":3446},{"style":106},[3447],{"type":53,"value":944},{"type":48,"tag":93,"props":3449,"children":3450},{"style":100},[3451],{"type":53,"value":168},{"type":48,"tag":93,"props":3453,"children":3454},{"style":106},[3455],{"type":53,"value":173},{"type":48,"tag":93,"props":3457,"children":3458},{"style":176},[3459],{"type":53,"value":179},{"type":48,"tag":93,"props":3461,"children":3462},{"style":106},[3463],{"type":53,"value":184},{"type":48,"tag":93,"props":3465,"children":3466},{"class":95,"line":19},[3467],{"type":48,"tag":93,"props":3468,"children":3469},{"emptyLinePlaceholder":191},[3470],{"type":53,"value":194},{"type":48,"tag":93,"props":3472,"children":3473},{"class":95,"line":126},[3474,3478,3482,3487,3491,3495,3499,3503,3507,3511,3515,3519,3523],{"type":48,"tag":93,"props":3475,"children":3476},{"style":100},[3477],{"type":53,"value":836},{"type":48,"tag":93,"props":3479,"children":3480},{"style":201},[3481],{"type":53,"value":3001},{"type":48,"tag":93,"props":3483,"children":3484},{"style":217},[3485],{"type":53,"value":3486}," tokenize",{"type":48,"tag":93,"props":3488,"children":3489},{"style":106},[3490],{"type":53,"value":225},{"type":48,"tag":93,"props":3492,"children":3493},{"style":319},[3494],{"type":53,"value":56},{"type":48,"tag":93,"props":3496,"children":3497},{"style":106},[3498],{"type":53,"value":245},{"type":48,"tag":93,"props":3500,"children":3501},{"style":351},[3502],{"type":53,"value":3041},{"type":48,"tag":93,"props":3504,"children":3505},{"style":106},[3506],{"type":53,"value":3046},{"type":48,"tag":93,"props":3508,"children":3509},{"style":351},[3510],{"type":53,"value":354},{"type":48,"tag":93,"props":3512,"children":3513},{"style":106},[3514],{"type":53,"value":359},{"type":48,"tag":93,"props":3516,"children":3517},{"style":351},[3518],{"type":53,"value":364},{"type":48,"tag":93,"props":3520,"children":3521},{"style":106},[3522],{"type":53,"value":369},{"type":48,"tag":93,"props":3524,"children":3525},{"style":106},[3526],{"type":53,"value":109},{"type":48,"tag":93,"props":3528,"children":3529},{"class":95,"line":139},[3530,3534],{"type":48,"tag":93,"props":3531,"children":3532},{"style":100},[3533],{"type":53,"value":3062},{"type":48,"tag":93,"props":3535,"children":3536},{"style":237},[3537],{"type":53,"value":3538}," [\n",{"type":48,"tag":93,"props":3540,"children":3541},{"class":95,"line":157},[3542,3547,3551,3555,3560,3564,3568,3572,3577,3581,3585,3589,3593,3597,3601,3606,3610],{"type":48,"tag":93,"props":3543,"children":3544},{"style":106},[3545],{"type":53,"value":3546},"    {",{"type":48,"tag":93,"props":3548,"children":3549},{"style":237},[3550],{"type":53,"value":1808},{"type":48,"tag":93,"props":3552,"children":3553},{"style":106},[3554],{"type":53,"value":245},{"type":48,"tag":93,"props":3556,"children":3557},{"style":451},[3558],{"type":53,"value":3559}," 0",{"type":48,"tag":93,"props":3561,"children":3562},{"style":106},[3563],{"type":53,"value":1046},{"type":48,"tag":93,"props":3565,"children":3566},{"style":237},[3567],{"type":53,"value":1825},{"type":48,"tag":93,"props":3569,"children":3570},{"style":106},[3571],{"type":53,"value":245},{"type":48,"tag":93,"props":3573,"children":3574},{"style":115},[3575],{"type":53,"value":3576}," code",{"type":48,"tag":93,"props":3578,"children":3579},{"style":106},[3580],{"type":53,"value":527},{"type":48,"tag":93,"props":3582,"children":3583},{"style":115},[3584],{"type":53,"value":662},{"type":48,"tag":93,"props":3586,"children":3587},{"style":106},[3588],{"type":53,"value":1046},{"type":48,"tag":93,"props":3590,"children":3591},{"style":237},[3592],{"type":53,"value":1842},{"type":48,"tag":93,"props":3594,"children":3595},{"style":106},[3596],{"type":53,"value":245},{"type":48,"tag":93,"props":3598,"children":3599},{"style":106},[3600],{"type":53,"value":173},{"type":48,"tag":93,"props":3602,"children":3603},{"style":176},[3604],{"type":53,"value":3605},"string",{"type":48,"tag":93,"props":3607,"children":3608},{"style":106},[3609],{"type":53,"value":259},{"type":48,"tag":93,"props":3611,"children":3612},{"style":106},[3613],{"type":53,"value":3614}," },\n",{"type":48,"tag":93,"props":3616,"children":3617},{"class":95,"line":187},[3618,3622,3626,3630,3635,3639,3643,3647,3652,3656,3660,3664,3668,3672,3676],{"type":48,"tag":93,"props":3619,"children":3620},{"style":106},[3621],{"type":53,"value":3546},{"type":48,"tag":93,"props":3623,"children":3624},{"style":237},[3625],{"type":53,"value":1808},{"type":48,"tag":93,"props":3627,"children":3628},{"style":106},[3629],{"type":53,"value":245},{"type":48,"tag":93,"props":3631,"children":3632},{"style":451},[3633],{"type":53,"value":3634}," 6",{"type":48,"tag":93,"props":3636,"children":3637},{"style":106},[3638],{"type":53,"value":1046},{"type":48,"tag":93,"props":3640,"children":3641},{"style":237},[3642],{"type":53,"value":1825},{"type":48,"tag":93,"props":3644,"children":3645},{"style":106},[3646],{"type":53,"value":245},{"type":48,"tag":93,"props":3648,"children":3649},{"style":451},[3650],{"type":53,"value":3651}," 10",{"type":48,"tag":93,"props":3653,"children":3654},{"style":106},[3655],{"type":53,"value":1046},{"type":48,"tag":93,"props":3657,"children":3658},{"style":237},[3659],{"type":53,"value":1842},{"type":48,"tag":93,"props":3661,"children":3662},{"style":106},[3663],{"type":53,"value":245},{"type":48,"tag":93,"props":3665,"children":3666},{"style":106},[3667],{"type":53,"value":173},{"type":48,"tag":93,"props":3669,"children":3670},{"style":176},[3671],{"type":53,"value":745},{"type":48,"tag":93,"props":3673,"children":3674},{"style":106},[3675],{"type":53,"value":259},{"type":48,"tag":93,"props":3677,"children":3678},{"style":106},[3679],{"type":53,"value":3614},{"type":48,"tag":93,"props":3681,"children":3682},{"class":95,"line":197},[3683],{"type":48,"tag":93,"props":3684,"children":3685},{"style":237},[3686],{"type":53,"value":3687},"  ]\n",{"type":48,"tag":93,"props":3689,"children":3690},{"class":95,"line":233},[3691],{"type":48,"tag":93,"props":3692,"children":3693},{"style":106},[3694],{"type":53,"value":3168},{"type":48,"tag":49,"props":3696,"children":3697},{},[3698],{"type":53,"value":3173},{"type":48,"tag":82,"props":3700,"children":3702},{"className":84,"code":3701,"language":86,"meta":87,"style":87},"import type { TokenRange } from '@tanstack\u002Fhighlight\u002Fcore'\n\nexport function tokenize(code: string): Array\u003CTokenRange> {\n  const keywordStart = code.indexOf('TODO')\n\n  return keywordStart \u003C 0\n    ? []\n    : [\n        {\n          start: keywordStart,\n          end: keywordStart + 'TODO'.length,\n          className: 'keyword',\n        },\n      ]\n}\n",[3703],{"type":48,"tag":56,"props":3704,"children":3705},{"__ignoreMap":87},[3706,3745,3752,3807,3857,3864,3885,3897,3909,3917,3937,3981,4009,4017,4025],{"type":48,"tag":93,"props":3707,"children":3708},{"class":95,"line":96},[3709,3713,3717,3721,3725,3729,3733,3737,3741],{"type":48,"tag":93,"props":3710,"children":3711},{"style":100},[3712],{"type":53,"value":103},{"type":48,"tag":93,"props":3714,"children":3715},{"style":100},[3716],{"type":53,"value":2434},{"type":48,"tag":93,"props":3718,"children":3719},{"style":106},[3720],{"type":53,"value":934},{"type":48,"tag":93,"props":3722,"children":3723},{"style":115},[3724],{"type":53,"value":150},{"type":48,"tag":93,"props":3726,"children":3727},{"style":106},[3728],{"type":53,"value":944},{"type":48,"tag":93,"props":3730,"children":3731},{"style":100},[3732],{"type":53,"value":168},{"type":48,"tag":93,"props":3734,"children":3735},{"style":106},[3736],{"type":53,"value":173},{"type":48,"tag":93,"props":3738,"children":3739},{"style":176},[3740],{"type":53,"value":179},{"type":48,"tag":93,"props":3742,"children":3743},{"style":106},[3744],{"type":53,"value":184},{"type":48,"tag":93,"props":3746,"children":3747},{"class":95,"line":19},[3748],{"type":48,"tag":93,"props":3749,"children":3750},{"emptyLinePlaceholder":191},[3751],{"type":53,"value":194},{"type":48,"tag":93,"props":3753,"children":3754},{"class":95,"line":126},[3755,3759,3763,3767,3771,3775,3779,3783,3787,3791,3795,3799,3803],{"type":48,"tag":93,"props":3756,"children":3757},{"style":100},[3758],{"type":53,"value":836},{"type":48,"tag":93,"props":3760,"children":3761},{"style":201},[3762],{"type":53,"value":3001},{"type":48,"tag":93,"props":3764,"children":3765},{"style":217},[3766],{"type":53,"value":3486},{"type":48,"tag":93,"props":3768,"children":3769},{"style":106},[3770],{"type":53,"value":225},{"type":48,"tag":93,"props":3772,"children":3773},{"style":319},[3774],{"type":53,"value":56},{"type":48,"tag":93,"props":3776,"children":3777},{"style":106},[3778],{"type":53,"value":245},{"type":48,"tag":93,"props":3780,"children":3781},{"style":351},[3782],{"type":53,"value":3041},{"type":48,"tag":93,"props":3784,"children":3785},{"style":106},[3786],{"type":53,"value":3046},{"type":48,"tag":93,"props":3788,"children":3789},{"style":351},[3790],{"type":53,"value":354},{"type":48,"tag":93,"props":3792,"children":3793},{"style":106},[3794],{"type":53,"value":359},{"type":48,"tag":93,"props":3796,"children":3797},{"style":351},[3798],{"type":53,"value":364},{"type":48,"tag":93,"props":3800,"children":3801},{"style":106},[3802],{"type":53,"value":369},{"type":48,"tag":93,"props":3804,"children":3805},{"style":106},[3806],{"type":53,"value":109},{"type":48,"tag":93,"props":3808,"children":3809},{"class":95,"line":139},[3810,3815,3820,3824,3828,3832,3837,3841,3845,3849,3853],{"type":48,"tag":93,"props":3811,"children":3812},{"style":201},[3813],{"type":53,"value":3814},"  const",{"type":48,"tag":93,"props":3816,"children":3817},{"style":115},[3818],{"type":53,"value":3819}," keywordStart",{"type":48,"tag":93,"props":3821,"children":3822},{"style":106},[3823],{"type":53,"value":374},{"type":48,"tag":93,"props":3825,"children":3826},{"style":115},[3827],{"type":53,"value":3576},{"type":48,"tag":93,"props":3829,"children":3830},{"style":106},[3831],{"type":53,"value":527},{"type":48,"tag":93,"props":3833,"children":3834},{"style":217},[3835],{"type":53,"value":3836},"indexOf",{"type":48,"tag":93,"props":3838,"children":3839},{"style":237},[3840],{"type":53,"value":225},{"type":48,"tag":93,"props":3842,"children":3843},{"style":106},[3844],{"type":53,"value":259},{"type":48,"tag":93,"props":3846,"children":3847},{"style":176},[3848],{"type":53,"value":416},{"type":48,"tag":93,"props":3850,"children":3851},{"style":106},[3852],{"type":53,"value":259},{"type":48,"tag":93,"props":3854,"children":3855},{"style":237},[3856],{"type":53,"value":767},{"type":48,"tag":93,"props":3858,"children":3859},{"class":95,"line":157},[3860],{"type":48,"tag":93,"props":3861,"children":3862},{"emptyLinePlaceholder":191},[3863],{"type":53,"value":194},{"type":48,"tag":93,"props":3865,"children":3866},{"class":95,"line":187},[3867,3871,3875,3880],{"type":48,"tag":93,"props":3868,"children":3869},{"style":100},[3870],{"type":53,"value":3062},{"type":48,"tag":93,"props":3872,"children":3873},{"style":115},[3874],{"type":53,"value":3819},{"type":48,"tag":93,"props":3876,"children":3877},{"style":106},[3878],{"type":53,"value":3879}," \u003C",{"type":48,"tag":93,"props":3881,"children":3882},{"style":451},[3883],{"type":53,"value":3884}," 0\n",{"type":48,"tag":93,"props":3886,"children":3887},{"class":95,"line":197},[3888,3893],{"type":48,"tag":93,"props":3889,"children":3890},{"style":106},[3891],{"type":53,"value":3892},"    ?",{"type":48,"tag":93,"props":3894,"children":3895},{"style":237},[3896],{"type":53,"value":379},{"type":48,"tag":93,"props":3898,"children":3899},{"class":95,"line":233},[3900,3905],{"type":48,"tag":93,"props":3901,"children":3902},{"style":106},[3903],{"type":53,"value":3904},"    :",{"type":48,"tag":93,"props":3906,"children":3907},{"style":237},[3908],{"type":53,"value":3538},{"type":48,"tag":93,"props":3910,"children":3911},{"class":95,"line":266},[3912],{"type":48,"tag":93,"props":3913,"children":3914},{"style":106},[3915],{"type":53,"value":3916},"        {\n",{"type":48,"tag":93,"props":3918,"children":3919},{"class":95,"line":306},[3920,3925,3929,3933],{"type":48,"tag":93,"props":3921,"children":3922},{"style":237},[3923],{"type":53,"value":3924},"          start",{"type":48,"tag":93,"props":3926,"children":3927},{"style":106},[3928],{"type":53,"value":245},{"type":48,"tag":93,"props":3930,"children":3931},{"style":115},[3932],{"type":53,"value":3819},{"type":48,"tag":93,"props":3934,"children":3935},{"style":106},[3936],{"type":53,"value":123},{"type":48,"tag":93,"props":3938,"children":3939},{"class":95,"line":333},[3940,3945,3949,3953,3957,3961,3965,3969,3973,3977],{"type":48,"tag":93,"props":3941,"children":3942},{"style":237},[3943],{"type":53,"value":3944},"          end",{"type":48,"tag":93,"props":3946,"children":3947},{"style":106},[3948],{"type":53,"value":245},{"type":48,"tag":93,"props":3950,"children":3951},{"style":115},[3952],{"type":53,"value":3819},{"type":48,"tag":93,"props":3954,"children":3955},{"style":106},[3956],{"type":53,"value":635},{"type":48,"tag":93,"props":3958,"children":3959},{"style":106},[3960],{"type":53,"value":173},{"type":48,"tag":93,"props":3962,"children":3963},{"style":176},[3964],{"type":53,"value":416},{"type":48,"tag":93,"props":3966,"children":3967},{"style":106},[3968],{"type":53,"value":259},{"type":48,"tag":93,"props":3970,"children":3971},{"style":106},[3972],{"type":53,"value":527},{"type":48,"tag":93,"props":3974,"children":3975},{"style":115},[3976],{"type":53,"value":662},{"type":48,"tag":93,"props":3978,"children":3979},{"style":106},[3980],{"type":53,"value":123},{"type":48,"tag":93,"props":3982,"children":3983},{"class":95,"line":382},[3984,3989,3993,3997,4001,4005],{"type":48,"tag":93,"props":3985,"children":3986},{"style":237},[3987],{"type":53,"value":3988},"          className",{"type":48,"tag":93,"props":3990,"children":3991},{"style":106},[3992],{"type":53,"value":245},{"type":48,"tag":93,"props":3994,"children":3995},{"style":106},[3996],{"type":53,"value":173},{"type":48,"tag":93,"props":3998,"children":3999},{"style":176},[4000],{"type":53,"value":745},{"type":48,"tag":93,"props":4002,"children":4003},{"style":106},[4004],{"type":53,"value":259},{"type":48,"tag":93,"props":4006,"children":4007},{"style":106},[4008],{"type":53,"value":123},{"type":48,"tag":93,"props":4010,"children":4011},{"class":95,"line":457},[4012],{"type":48,"tag":93,"props":4013,"children":4014},{"style":106},[4015],{"type":53,"value":4016},"        },\n",{"type":48,"tag":93,"props":4018,"children":4019},{"class":95,"line":490},[4020],{"type":48,"tag":93,"props":4021,"children":4022},{"style":237},[4023],{"type":53,"value":4024},"      ]\n",{"type":48,"tag":93,"props":4026,"children":4027},{"class":95,"line":498},[4028],{"type":48,"tag":93,"props":4029,"children":4030},{"style":106},[4031],{"type":53,"value":3168},{"type":48,"tag":49,"props":4033,"children":4034},{},[4035],{"type":53,"value":4036},"The core sorts by source position and drops later overlaps, so an earlier broad range can suppress a specific range.",{"type":48,"tag":49,"props":4038,"children":4039},{},[4040,4041],{"type":53,"value":3401},{"type":48,"tag":56,"props":4042,"children":4044},{"className":4043},[],[4045],{"type":53,"value":4046},"src\u002Fcore.ts",{"type":48,"tag":910,"props":4048,"children":4050},{"id":4049},"critical-importing-an-embedded-definition-into-a-language",[4051],{"type":53,"value":4052},"CRITICAL Importing an embedded definition into a language",{"type":48,"tag":49,"props":4054,"children":4055},{},[4056],{"type":53,"value":2936},{"type":48,"tag":82,"props":4058,"children":4060},{"className":84,"code":4059,"language":86,"meta":87,"style":87},"import { defineLanguage } from '@tanstack\u002Fhighlight\u002Fcore'\nimport { js } from '@tanstack\u002Fhighlight\u002Flanguages\u002Fjs'\n\nexport const scriptDocument = defineLanguage({\n  name: 'script-document',\n  tokenize(code, context) {\n    return js.tokenize(code, context)\n  },\n})\n",[4061],{"type":48,"tag":56,"props":4062,"children":4063},{"__ignoreMap":87},[4064,4099,4134,4141,4172,4199,4230,4269,4276],{"type":48,"tag":93,"props":4065,"children":4066},{"class":95,"line":96},[4067,4071,4075,4079,4083,4087,4091,4095],{"type":48,"tag":93,"props":4068,"children":4069},{"style":100},[4070],{"type":53,"value":103},{"type":48,"tag":93,"props":4072,"children":4073},{"style":106},[4074],{"type":53,"value":934},{"type":48,"tag":93,"props":4076,"children":4077},{"style":115},[4078],{"type":53,"value":220},{"type":48,"tag":93,"props":4080,"children":4081},{"style":106},[4082],{"type":53,"value":944},{"type":48,"tag":93,"props":4084,"children":4085},{"style":100},[4086],{"type":53,"value":168},{"type":48,"tag":93,"props":4088,"children":4089},{"style":106},[4090],{"type":53,"value":173},{"type":48,"tag":93,"props":4092,"children":4093},{"style":176},[4094],{"type":53,"value":179},{"type":48,"tag":93,"props":4096,"children":4097},{"style":106},[4098],{"type":53,"value":184},{"type":48,"tag":93,"props":4100,"children":4101},{"class":95,"line":19},[4102,4106,4110,4114,4118,4122,4126,4130],{"type":48,"tag":93,"props":4103,"children":4104},{"style":100},[4105],{"type":53,"value":103},{"type":48,"tag":93,"props":4107,"children":4108},{"style":106},[4109],{"type":53,"value":934},{"type":48,"tag":93,"props":4111,"children":4112},{"style":115},[4113],{"type":53,"value":1306},{"type":48,"tag":93,"props":4115,"children":4116},{"style":106},[4117],{"type":53,"value":944},{"type":48,"tag":93,"props":4119,"children":4120},{"style":100},[4121],{"type":53,"value":168},{"type":48,"tag":93,"props":4123,"children":4124},{"style":106},[4125],{"type":53,"value":173},{"type":48,"tag":93,"props":4127,"children":4128},{"style":176},[4129],{"type":53,"value":1323},{"type":48,"tag":93,"props":4131,"children":4132},{"style":106},[4133],{"type":53,"value":184},{"type":48,"tag":93,"props":4135,"children":4136},{"class":95,"line":126},[4137],{"type":48,"tag":93,"props":4138,"children":4139},{"emptyLinePlaceholder":191},[4140],{"type":53,"value":194},{"type":48,"tag":93,"props":4142,"children":4143},{"class":95,"line":139},[4144,4148,4152,4156,4160,4164,4168],{"type":48,"tag":93,"props":4145,"children":4146},{"style":100},[4147],{"type":53,"value":836},{"type":48,"tag":93,"props":4149,"children":4150},{"style":201},[4151],{"type":53,"value":841},{"type":48,"tag":93,"props":4153,"children":4154},{"style":115},[4155],{"type":53,"value":1346},{"type":48,"tag":93,"props":4157,"children":4158},{"style":106},[4159],{"type":53,"value":214},{"type":48,"tag":93,"props":4161,"children":4162},{"style":217},[4163],{"type":53,"value":220},{"type":48,"tag":93,"props":4165,"children":4166},{"style":115},[4167],{"type":53,"value":225},{"type":48,"tag":93,"props":4169,"children":4170},{"style":106},[4171],{"type":53,"value":230},{"type":48,"tag":93,"props":4173,"children":4174},{"class":95,"line":157},[4175,4179,4183,4187,4191,4195],{"type":48,"tag":93,"props":4176,"children":4177},{"style":237},[4178],{"type":53,"value":240},{"type":48,"tag":93,"props":4180,"children":4181},{"style":106},[4182],{"type":53,"value":245},{"type":48,"tag":93,"props":4184,"children":4185},{"style":106},[4186],{"type":53,"value":173},{"type":48,"tag":93,"props":4188,"children":4189},{"style":176},[4190],{"type":53,"value":1382},{"type":48,"tag":93,"props":4192,"children":4193},{"style":106},[4194],{"type":53,"value":259},{"type":48,"tag":93,"props":4196,"children":4197},{"style":106},[4198],{"type":53,"value":123},{"type":48,"tag":93,"props":4200,"children":4201},{"class":95,"line":187},[4202,4206,4210,4214,4218,4222,4226],{"type":48,"tag":93,"props":4203,"children":4204},{"style":237},[4205],{"type":53,"value":312},{"type":48,"tag":93,"props":4207,"children":4208},{"style":106},[4209],{"type":53,"value":225},{"type":48,"tag":93,"props":4211,"children":4212},{"style":319},[4213],{"type":53,"value":56},{"type":48,"tag":93,"props":4215,"children":4216},{"style":106},[4217],{"type":53,"value":1046},{"type":48,"tag":93,"props":4219,"children":4220},{"style":319},[4221],{"type":53,"value":1414},{"type":48,"tag":93,"props":4223,"children":4224},{"style":106},[4225],{"type":53,"value":326},{"type":48,"tag":93,"props":4227,"children":4228},{"style":106},[4229],{"type":53,"value":109},{"type":48,"tag":93,"props":4231,"children":4232},{"class":95,"line":197},[4233,4237,4241,4245,4249,4253,4257,4261,4265],{"type":48,"tag":93,"props":4234,"children":4235},{"style":100},[4236],{"type":53,"value":793},{"type":48,"tag":93,"props":4238,"children":4239},{"style":115},[4240],{"type":53,"value":1306},{"type":48,"tag":93,"props":4242,"children":4243},{"style":106},[4244],{"type":53,"value":527},{"type":48,"tag":93,"props":4246,"children":4247},{"style":217},[4248],{"type":53,"value":1036},{"type":48,"tag":93,"props":4250,"children":4251},{"style":237},[4252],{"type":53,"value":225},{"type":48,"tag":93,"props":4254,"children":4255},{"style":115},[4256],{"type":53,"value":56},{"type":48,"tag":93,"props":4258,"children":4259},{"style":106},[4260],{"type":53,"value":1046},{"type":48,"tag":93,"props":4262,"children":4263},{"style":115},[4264],{"type":53,"value":1414},{"type":48,"tag":93,"props":4266,"children":4267},{"style":237},[4268],{"type":53,"value":767},{"type":48,"tag":93,"props":4270,"children":4271},{"class":95,"line":233},[4272],{"type":48,"tag":93,"props":4273,"children":4274},{"style":106},[4275],{"type":53,"value":807},{"type":48,"tag":93,"props":4277,"children":4278},{"class":95,"line":266},[4279,4283],{"type":48,"tag":93,"props":4280,"children":4281},{"style":106},[4282],{"type":53,"value":163},{"type":48,"tag":93,"props":4284,"children":4285},{"style":115},[4286],{"type":53,"value":767},{"type":48,"tag":49,"props":4288,"children":4289},{},[4290],{"type":53,"value":3173},{"type":48,"tag":82,"props":4292,"children":4294},{"className":84,"code":4293,"language":86,"meta":87,"style":87},"import { defineLanguage } from '@tanstack\u002Fhighlight\u002Fcore'\n\nexport const scriptDocument = defineLanguage({\n  name: 'script-document',\n  tokenize(code, context) {\n    return context.hasLanguage('js') ? context.tokenize(code, 'js') : []\n  },\n})\n",[4295],{"type":48,"tag":56,"props":4296,"children":4297},{"__ignoreMap":87},[4298,4333,4340,4371,4398,4429,4521,4528],{"type":48,"tag":93,"props":4299,"children":4300},{"class":95,"line":96},[4301,4305,4309,4313,4317,4321,4325,4329],{"type":48,"tag":93,"props":4302,"children":4303},{"style":100},[4304],{"type":53,"value":103},{"type":48,"tag":93,"props":4306,"children":4307},{"style":106},[4308],{"type":53,"value":934},{"type":48,"tag":93,"props":4310,"children":4311},{"style":115},[4312],{"type":53,"value":220},{"type":48,"tag":93,"props":4314,"children":4315},{"style":106},[4316],{"type":53,"value":944},{"type":48,"tag":93,"props":4318,"children":4319},{"style":100},[4320],{"type":53,"value":168},{"type":48,"tag":93,"props":4322,"children":4323},{"style":106},[4324],{"type":53,"value":173},{"type":48,"tag":93,"props":4326,"children":4327},{"style":176},[4328],{"type":53,"value":179},{"type":48,"tag":93,"props":4330,"children":4331},{"style":106},[4332],{"type":53,"value":184},{"type":48,"tag":93,"props":4334,"children":4335},{"class":95,"line":19},[4336],{"type":48,"tag":93,"props":4337,"children":4338},{"emptyLinePlaceholder":191},[4339],{"type":53,"value":194},{"type":48,"tag":93,"props":4341,"children":4342},{"class":95,"line":126},[4343,4347,4351,4355,4359,4363,4367],{"type":48,"tag":93,"props":4344,"children":4345},{"style":100},[4346],{"type":53,"value":836},{"type":48,"tag":93,"props":4348,"children":4349},{"style":201},[4350],{"type":53,"value":841},{"type":48,"tag":93,"props":4352,"children":4353},{"style":115},[4354],{"type":53,"value":1346},{"type":48,"tag":93,"props":4356,"children":4357},{"style":106},[4358],{"type":53,"value":214},{"type":48,"tag":93,"props":4360,"children":4361},{"style":217},[4362],{"type":53,"value":220},{"type":48,"tag":93,"props":4364,"children":4365},{"style":115},[4366],{"type":53,"value":225},{"type":48,"tag":93,"props":4368,"children":4369},{"style":106},[4370],{"type":53,"value":230},{"type":48,"tag":93,"props":4372,"children":4373},{"class":95,"line":139},[4374,4378,4382,4386,4390,4394],{"type":48,"tag":93,"props":4375,"children":4376},{"style":237},[4377],{"type":53,"value":240},{"type":48,"tag":93,"props":4379,"children":4380},{"style":106},[4381],{"type":53,"value":245},{"type":48,"tag":93,"props":4383,"children":4384},{"style":106},[4385],{"type":53,"value":173},{"type":48,"tag":93,"props":4387,"children":4388},{"style":176},[4389],{"type":53,"value":1382},{"type":48,"tag":93,"props":4391,"children":4392},{"style":106},[4393],{"type":53,"value":259},{"type":48,"tag":93,"props":4395,"children":4396},{"style":106},[4397],{"type":53,"value":123},{"type":48,"tag":93,"props":4399,"children":4400},{"class":95,"line":157},[4401,4405,4409,4413,4417,4421,4425],{"type":48,"tag":93,"props":4402,"children":4403},{"style":237},[4404],{"type":53,"value":312},{"type":48,"tag":93,"props":4406,"children":4407},{"style":106},[4408],{"type":53,"value":225},{"type":48,"tag":93,"props":4410,"children":4411},{"style":319},[4412],{"type":53,"value":56},{"type":48,"tag":93,"props":4414,"children":4415},{"style":106},[4416],{"type":53,"value":1046},{"type":48,"tag":93,"props":4418,"children":4419},{"style":319},[4420],{"type":53,"value":1414},{"type":48,"tag":93,"props":4422,"children":4423},{"style":106},[4424],{"type":53,"value":326},{"type":48,"tag":93,"props":4426,"children":4427},{"style":106},[4428],{"type":53,"value":109},{"type":48,"tag":93,"props":4430,"children":4431},{"class":95,"line":187},[4432,4436,4440,4444,4448,4452,4456,4460,4464,4468,4473,4477,4481,4485,4489,4493,4497,4501,4505,4509,4513,4517],{"type":48,"tag":93,"props":4433,"children":4434},{"style":100},[4435],{"type":53,"value":793},{"type":48,"tag":93,"props":4437,"children":4438},{"style":115},[4439],{"type":53,"value":1414},{"type":48,"tag":93,"props":4441,"children":4442},{"style":106},[4443],{"type":53,"value":527},{"type":48,"tag":93,"props":4445,"children":4446},{"style":217},[4447],{"type":53,"value":1900},{"type":48,"tag":93,"props":4449,"children":4450},{"style":237},[4451],{"type":53,"value":225},{"type":48,"tag":93,"props":4453,"children":4454},{"style":106},[4455],{"type":53,"value":259},{"type":48,"tag":93,"props":4457,"children":4458},{"style":176},[4459],{"type":53,"value":1913},{"type":48,"tag":93,"props":4461,"children":4462},{"style":106},[4463],{"type":53,"value":259},{"type":48,"tag":93,"props":4465,"children":4466},{"style":237},[4467],{"type":53,"value":1192},{"type":48,"tag":93,"props":4469,"children":4470},{"style":106},[4471],{"type":53,"value":4472},"?",{"type":48,"tag":93,"props":4474,"children":4475},{"style":115},[4476],{"type":53,"value":1414},{"type":48,"tag":93,"props":4478,"children":4479},{"style":106},[4480],{"type":53,"value":527},{"type":48,"tag":93,"props":4482,"children":4483},{"style":217},[4484],{"type":53,"value":1036},{"type":48,"tag":93,"props":4486,"children":4487},{"style":237},[4488],{"type":53,"value":225},{"type":48,"tag":93,"props":4490,"children":4491},{"style":115},[4492],{"type":53,"value":56},{"type":48,"tag":93,"props":4494,"children":4495},{"style":106},[4496],{"type":53,"value":1046},{"type":48,"tag":93,"props":4498,"children":4499},{"style":106},[4500],{"type":53,"value":173},{"type":48,"tag":93,"props":4502,"children":4503},{"style":176},[4504],{"type":53,"value":1913},{"type":48,"tag":93,"props":4506,"children":4507},{"style":106},[4508],{"type":53,"value":259},{"type":48,"tag":93,"props":4510,"children":4511},{"style":237},[4512],{"type":53,"value":1192},{"type":48,"tag":93,"props":4514,"children":4515},{"style":106},[4516],{"type":53,"value":245},{"type":48,"tag":93,"props":4518,"children":4519},{"style":237},[4520],{"type":53,"value":379},{"type":48,"tag":93,"props":4522,"children":4523},{"class":95,"line":197},[4524],{"type":48,"tag":93,"props":4525,"children":4526},{"style":106},[4527],{"type":53,"value":807},{"type":48,"tag":93,"props":4529,"children":4530},{"class":95,"line":233},[4531,4535],{"type":48,"tag":93,"props":4532,"children":4533},{"style":106},[4534],{"type":53,"value":163},{"type":48,"tag":93,"props":4536,"children":4537},{"style":115},[4538],{"type":53,"value":767},{"type":48,"tag":49,"props":4540,"children":4541},{},[4542],{"type":53,"value":4543},"Direct definition imports make an embedded dependency part of every outer-language bundle.",{"type":48,"tag":49,"props":4545,"children":4546},{},[4547,4548],{"type":53,"value":3401},{"type":48,"tag":56,"props":4549,"children":4551},{"className":4550},[],[4552],{"type":53,"value":3407},{"type":48,"tag":910,"props":4554,"children":4556},{"id":4555},"high-inventing-language-specific-token-classes",[4557],{"type":53,"value":4558},"HIGH Inventing language-specific token classes",{"type":48,"tag":49,"props":4560,"children":4561},{},[4562],{"type":53,"value":2936},{"type":48,"tag":82,"props":4564,"children":4566},{"className":84,"code":4565,"language":86,"meta":87,"style":87},"import type { TokenRange } from '@tanstack\u002Fhighlight\u002Fcore'\n\nexport const range = {\n  start: 0,\n  end: 4,\n  className: 'tsx-generic',\n} as unknown as TokenRange\n",[4567],{"type":48,"tag":56,"props":4568,"children":4569},{"__ignoreMap":87},[4570,4609,4616,4640,4660,4681,4710],{"type":48,"tag":93,"props":4571,"children":4572},{"class":95,"line":96},[4573,4577,4581,4585,4589,4593,4597,4601,4605],{"type":48,"tag":93,"props":4574,"children":4575},{"style":100},[4576],{"type":53,"value":103},{"type":48,"tag":93,"props":4578,"children":4579},{"style":100},[4580],{"type":53,"value":2434},{"type":48,"tag":93,"props":4582,"children":4583},{"style":106},[4584],{"type":53,"value":934},{"type":48,"tag":93,"props":4586,"children":4587},{"style":115},[4588],{"type":53,"value":150},{"type":48,"tag":93,"props":4590,"children":4591},{"style":106},[4592],{"type":53,"value":944},{"type":48,"tag":93,"props":4594,"children":4595},{"style":100},[4596],{"type":53,"value":168},{"type":48,"tag":93,"props":4598,"children":4599},{"style":106},[4600],{"type":53,"value":173},{"type":48,"tag":93,"props":4602,"children":4603},{"style":176},[4604],{"type":53,"value":179},{"type":48,"tag":93,"props":4606,"children":4607},{"style":106},[4608],{"type":53,"value":184},{"type":48,"tag":93,"props":4610,"children":4611},{"class":95,"line":19},[4612],{"type":48,"tag":93,"props":4613,"children":4614},{"emptyLinePlaceholder":191},[4615],{"type":53,"value":194},{"type":48,"tag":93,"props":4617,"children":4618},{"class":95,"line":126},[4619,4623,4627,4632,4636],{"type":48,"tag":93,"props":4620,"children":4621},{"style":100},[4622],{"type":53,"value":836},{"type":48,"tag":93,"props":4624,"children":4625},{"style":201},[4626],{"type":53,"value":841},{"type":48,"tag":93,"props":4628,"children":4629},{"style":115},[4630],{"type":53,"value":4631}," range ",{"type":48,"tag":93,"props":4633,"children":4634},{"style":106},[4635],{"type":53,"value":214},{"type":48,"tag":93,"props":4637,"children":4638},{"style":106},[4639],{"type":53,"value":109},{"type":48,"tag":93,"props":4641,"children":4642},{"class":95,"line":139},[4643,4648,4652,4656],{"type":48,"tag":93,"props":4644,"children":4645},{"style":237},[4646],{"type":53,"value":4647},"  start",{"type":48,"tag":93,"props":4649,"children":4650},{"style":106},[4651],{"type":53,"value":245},{"type":48,"tag":93,"props":4653,"children":4654},{"style":451},[4655],{"type":53,"value":3559},{"type":48,"tag":93,"props":4657,"children":4658},{"style":106},[4659],{"type":53,"value":123},{"type":48,"tag":93,"props":4661,"children":4662},{"class":95,"line":157},[4663,4668,4672,4677],{"type":48,"tag":93,"props":4664,"children":4665},{"style":237},[4666],{"type":53,"value":4667},"  end",{"type":48,"tag":93,"props":4669,"children":4670},{"style":106},[4671],{"type":53,"value":245},{"type":48,"tag":93,"props":4673,"children":4674},{"style":451},[4675],{"type":53,"value":4676}," 4",{"type":48,"tag":93,"props":4678,"children":4679},{"style":106},[4680],{"type":53,"value":123},{"type":48,"tag":93,"props":4682,"children":4683},{"class":95,"line":187},[4684,4689,4693,4697,4702,4706],{"type":48,"tag":93,"props":4685,"children":4686},{"style":237},[4687],{"type":53,"value":4688},"  className",{"type":48,"tag":93,"props":4690,"children":4691},{"style":106},[4692],{"type":53,"value":245},{"type":48,"tag":93,"props":4694,"children":4695},{"style":106},[4696],{"type":53,"value":173},{"type":48,"tag":93,"props":4698,"children":4699},{"style":176},[4700],{"type":53,"value":4701},"tsx-generic",{"type":48,"tag":93,"props":4703,"children":4704},{"style":106},[4705],{"type":53,"value":259},{"type":48,"tag":93,"props":4707,"children":4708},{"style":106},[4709],{"type":53,"value":123},{"type":48,"tag":93,"props":4711,"children":4712},{"class":95,"line":197},[4713,4717,4722,4727,4731],{"type":48,"tag":93,"props":4714,"children":4715},{"style":106},[4716],{"type":53,"value":163},{"type":48,"tag":93,"props":4718,"children":4719},{"style":100},[4720],{"type":53,"value":4721}," as",{"type":48,"tag":93,"props":4723,"children":4724},{"style":351},[4725],{"type":53,"value":4726}," unknown",{"type":48,"tag":93,"props":4728,"children":4729},{"style":100},[4730],{"type":53,"value":4721},{"type":48,"tag":93,"props":4732,"children":4733},{"style":351},[4734],{"type":53,"value":4735}," TokenRange\n",{"type":48,"tag":49,"props":4737,"children":4738},{},[4739],{"type":53,"value":3173},{"type":48,"tag":82,"props":4741,"children":4743},{"className":84,"code":4742,"language":86,"meta":87,"style":87},"import type { TokenRange } from '@tanstack\u002Fhighlight\u002Fcore'\n\nexport const range = {\n  start: 0,\n  end: 4,\n  className: 'type',\n} satisfies TokenRange\n",[4744],{"type":48,"tag":56,"props":4745,"children":4746},{"__ignoreMap":87},[4747,4786,4793,4816,4835,4854,4881],{"type":48,"tag":93,"props":4748,"children":4749},{"class":95,"line":96},[4750,4754,4758,4762,4766,4770,4774,4778,4782],{"type":48,"tag":93,"props":4751,"children":4752},{"style":100},[4753],{"type":53,"value":103},{"type":48,"tag":93,"props":4755,"children":4756},{"style":100},[4757],{"type":53,"value":2434},{"type":48,"tag":93,"props":4759,"children":4760},{"style":106},[4761],{"type":53,"value":934},{"type":48,"tag":93,"props":4763,"children":4764},{"style":115},[4765],{"type":53,"value":150},{"type":48,"tag":93,"props":4767,"children":4768},{"style":106},[4769],{"type":53,"value":944},{"type":48,"tag":93,"props":4771,"children":4772},{"style":100},[4773],{"type":53,"value":168},{"type":48,"tag":93,"props":4775,"children":4776},{"style":106},[4777],{"type":53,"value":173},{"type":48,"tag":93,"props":4779,"children":4780},{"style":176},[4781],{"type":53,"value":179},{"type":48,"tag":93,"props":4783,"children":4784},{"style":106},[4785],{"type":53,"value":184},{"type":48,"tag":93,"props":4787,"children":4788},{"class":95,"line":19},[4789],{"type":48,"tag":93,"props":4790,"children":4791},{"emptyLinePlaceholder":191},[4792],{"type":53,"value":194},{"type":48,"tag":93,"props":4794,"children":4795},{"class":95,"line":126},[4796,4800,4804,4808,4812],{"type":48,"tag":93,"props":4797,"children":4798},{"style":100},[4799],{"type":53,"value":836},{"type":48,"tag":93,"props":4801,"children":4802},{"style":201},[4803],{"type":53,"value":841},{"type":48,"tag":93,"props":4805,"children":4806},{"style":115},[4807],{"type":53,"value":4631},{"type":48,"tag":93,"props":4809,"children":4810},{"style":106},[4811],{"type":53,"value":214},{"type":48,"tag":93,"props":4813,"children":4814},{"style":106},[4815],{"type":53,"value":109},{"type":48,"tag":93,"props":4817,"children":4818},{"class":95,"line":139},[4819,4823,4827,4831],{"type":48,"tag":93,"props":4820,"children":4821},{"style":237},[4822],{"type":53,"value":4647},{"type":48,"tag":93,"props":4824,"children":4825},{"style":106},[4826],{"type":53,"value":245},{"type":48,"tag":93,"props":4828,"children":4829},{"style":451},[4830],{"type":53,"value":3559},{"type":48,"tag":93,"props":4832,"children":4833},{"style":106},[4834],{"type":53,"value":123},{"type":48,"tag":93,"props":4836,"children":4837},{"class":95,"line":157},[4838,4842,4846,4850],{"type":48,"tag":93,"props":4839,"children":4840},{"style":237},[4841],{"type":53,"value":4667},{"type":48,"tag":93,"props":4843,"children":4844},{"style":106},[4845],{"type":53,"value":245},{"type":48,"tag":93,"props":4847,"children":4848},{"style":451},[4849],{"type":53,"value":4676},{"type":48,"tag":93,"props":4851,"children":4852},{"style":106},[4853],{"type":53,"value":123},{"type":48,"tag":93,"props":4855,"children":4856},{"class":95,"line":187},[4857,4861,4865,4869,4873,4877],{"type":48,"tag":93,"props":4858,"children":4859},{"style":237},[4860],{"type":53,"value":4688},{"type":48,"tag":93,"props":4862,"children":4863},{"style":106},[4864],{"type":53,"value":245},{"type":48,"tag":93,"props":4866,"children":4867},{"style":106},[4868],{"type":53,"value":173},{"type":48,"tag":93,"props":4870,"children":4871},{"style":176},[4872],{"type":53,"value":2852},{"type":48,"tag":93,"props":4874,"children":4875},{"style":106},[4876],{"type":53,"value":259},{"type":48,"tag":93,"props":4878,"children":4879},{"style":106},[4880],{"type":53,"value":123},{"type":48,"tag":93,"props":4882,"children":4883},{"class":95,"line":197},[4884,4888,4893],{"type":48,"tag":93,"props":4885,"children":4886},{"style":106},[4887],{"type":53,"value":163},{"type":48,"tag":93,"props":4889,"children":4890},{"style":100},[4891],{"type":53,"value":4892}," satisfies",{"type":48,"tag":93,"props":4894,"children":4895},{"style":351},[4896],{"type":53,"value":4735},{"type":48,"tag":49,"props":4898,"children":4899},{},[4900],{"type":53,"value":4901},"The fixed semantic union keeps every theme complete and language-independent.",{"type":48,"tag":49,"props":4903,"children":4904},{},[4905,4906],{"type":53,"value":3401},{"type":48,"tag":56,"props":4907,"children":4909},{"className":4908},[],[4910],{"type":53,"value":4046},{"type":48,"tag":910,"props":4912,"children":4914},{"id":4913},"critical-shipping-without-tokenizer-quality-gates",[4915],{"type":53,"value":4916},"CRITICAL Shipping without tokenizer quality gates",{"type":48,"tag":49,"props":4918,"children":4919},{},[4920],{"type":53,"value":2936},{"type":48,"tag":82,"props":4922,"children":4924},{"className":84,"code":4923,"language":86,"meta":87,"style":87},"import { defineLanguage } from '@tanstack\u002Fhighlight\u002Fcore'\n\nexport const taskList = defineLanguage({\n  name: 'task-list',\n  tokenize() {\n    return []\n  },\n})\n",[4925],{"type":48,"tag":56,"props":4926,"children":4927},{"__ignoreMap":87},[4928,4963,4970,5001,5028,5044,5055,5062],{"type":48,"tag":93,"props":4929,"children":4930},{"class":95,"line":96},[4931,4935,4939,4943,4947,4951,4955,4959],{"type":48,"tag":93,"props":4932,"children":4933},{"style":100},[4934],{"type":53,"value":103},{"type":48,"tag":93,"props":4936,"children":4937},{"style":106},[4938],{"type":53,"value":934},{"type":48,"tag":93,"props":4940,"children":4941},{"style":115},[4942],{"type":53,"value":220},{"type":48,"tag":93,"props":4944,"children":4945},{"style":106},[4946],{"type":53,"value":944},{"type":48,"tag":93,"props":4948,"children":4949},{"style":100},[4950],{"type":53,"value":168},{"type":48,"tag":93,"props":4952,"children":4953},{"style":106},[4954],{"type":53,"value":173},{"type":48,"tag":93,"props":4956,"children":4957},{"style":176},[4958],{"type":53,"value":179},{"type":48,"tag":93,"props":4960,"children":4961},{"style":106},[4962],{"type":53,"value":184},{"type":48,"tag":93,"props":4964,"children":4965},{"class":95,"line":19},[4966],{"type":48,"tag":93,"props":4967,"children":4968},{"emptyLinePlaceholder":191},[4969],{"type":53,"value":194},{"type":48,"tag":93,"props":4971,"children":4972},{"class":95,"line":126},[4973,4977,4981,4985,4989,4993,4997],{"type":48,"tag":93,"props":4974,"children":4975},{"style":100},[4976],{"type":53,"value":836},{"type":48,"tag":93,"props":4978,"children":4979},{"style":201},[4980],{"type":53,"value":841},{"type":48,"tag":93,"props":4982,"children":4983},{"style":115},[4984],{"type":53,"value":209},{"type":48,"tag":93,"props":4986,"children":4987},{"style":106},[4988],{"type":53,"value":214},{"type":48,"tag":93,"props":4990,"children":4991},{"style":217},[4992],{"type":53,"value":220},{"type":48,"tag":93,"props":4994,"children":4995},{"style":115},[4996],{"type":53,"value":225},{"type":48,"tag":93,"props":4998,"children":4999},{"style":106},[5000],{"type":53,"value":230},{"type":48,"tag":93,"props":5002,"children":5003},{"class":95,"line":139},[5004,5008,5012,5016,5020,5024],{"type":48,"tag":93,"props":5005,"children":5006},{"style":237},[5007],{"type":53,"value":240},{"type":48,"tag":93,"props":5009,"children":5010},{"style":106},[5011],{"type":53,"value":245},{"type":48,"tag":93,"props":5013,"children":5014},{"style":106},[5015],{"type":53,"value":173},{"type":48,"tag":93,"props":5017,"children":5018},{"style":176},[5019],{"type":53,"value":254},{"type":48,"tag":93,"props":5021,"children":5022},{"style":106},[5023],{"type":53,"value":259},{"type":48,"tag":93,"props":5025,"children":5026},{"style":106},[5027],{"type":53,"value":123},{"type":48,"tag":93,"props":5029,"children":5030},{"class":95,"line":157},[5031,5035,5040],{"type":48,"tag":93,"props":5032,"children":5033},{"style":237},[5034],{"type":53,"value":312},{"type":48,"tag":93,"props":5036,"children":5037},{"style":106},[5038],{"type":53,"value":5039},"()",{"type":48,"tag":93,"props":5041,"children":5042},{"style":106},[5043],{"type":53,"value":109},{"type":48,"tag":93,"props":5045,"children":5046},{"class":95,"line":187},[5047,5051],{"type":48,"tag":93,"props":5048,"children":5049},{"style":100},[5050],{"type":53,"value":793},{"type":48,"tag":93,"props":5052,"children":5053},{"style":237},[5054],{"type":53,"value":379},{"type":48,"tag":93,"props":5056,"children":5057},{"class":95,"line":197},[5058],{"type":48,"tag":93,"props":5059,"children":5060},{"style":106},[5061],{"type":53,"value":807},{"type":48,"tag":93,"props":5063,"children":5064},{"class":95,"line":233},[5065,5069],{"type":48,"tag":93,"props":5066,"children":5067},{"style":106},[5068],{"type":53,"value":163},{"type":48,"tag":93,"props":5070,"children":5071},{"style":115},[5072],{"type":53,"value":767},{"type":48,"tag":49,"props":5074,"children":5075},{},[5076],{"type":53,"value":3173},{"type":48,"tag":82,"props":5078,"children":5080},{"className":84,"code":5079,"language":86,"meta":87,"style":87},"import { expect, test } from 'vitest'\nimport { createHighlighter } from '@tanstack\u002Fhighlight\u002Fcore'\nimport { taskList } from '..\u002Fsrc\u002Flanguages\u002Ftask-list'\n\ntest('task-list reconstructs valid source', () => {\n  const highlighter = createHighlighter({ languages: [taskList] })\n  const code = 'TODO write docs'\n  const result = highlighter.tokenize(code, { lang: 'task-list' })\n\n  expect(result.tokens.map((token) => token.value).join('')).toBe(code)\n  expect(result.tokens.some((token) => token.className === 'keyword')).toBe(\n    true,\n  )\n})\n",[5081],{"type":48,"tag":56,"props":5082,"children":5083},{"__ignoreMap":87},[5084,5130,5165,5202,5209,5251,5308,5335,5407,5414,5525,5623,5636,5644],{"type":48,"tag":93,"props":5085,"children":5086},{"class":95,"line":96},[5087,5091,5095,5100,5104,5109,5113,5117,5121,5126],{"type":48,"tag":93,"props":5088,"children":5089},{"style":100},[5090],{"type":53,"value":103},{"type":48,"tag":93,"props":5092,"children":5093},{"style":106},[5094],{"type":53,"value":934},{"type":48,"tag":93,"props":5096,"children":5097},{"style":115},[5098],{"type":53,"value":5099}," expect",{"type":48,"tag":93,"props":5101,"children":5102},{"style":106},[5103],{"type":53,"value":1046},{"type":48,"tag":93,"props":5105,"children":5106},{"style":115},[5107],{"type":53,"value":5108}," test",{"type":48,"tag":93,"props":5110,"children":5111},{"style":106},[5112],{"type":53,"value":944},{"type":48,"tag":93,"props":5114,"children":5115},{"style":100},[5116],{"type":53,"value":168},{"type":48,"tag":93,"props":5118,"children":5119},{"style":106},[5120],{"type":53,"value":173},{"type":48,"tag":93,"props":5122,"children":5123},{"style":176},[5124],{"type":53,"value":5125},"vitest",{"type":48,"tag":93,"props":5127,"children":5128},{"style":106},[5129],{"type":53,"value":184},{"type":48,"tag":93,"props":5131,"children":5132},{"class":95,"line":19},[5133,5137,5141,5145,5149,5153,5157,5161],{"type":48,"tag":93,"props":5134,"children":5135},{"style":100},[5136],{"type":53,"value":103},{"type":48,"tag":93,"props":5138,"children":5139},{"style":106},[5140],{"type":53,"value":934},{"type":48,"tag":93,"props":5142,"children":5143},{"style":115},[5144],{"type":53,"value":855},{"type":48,"tag":93,"props":5146,"children":5147},{"style":106},[5148],{"type":53,"value":944},{"type":48,"tag":93,"props":5150,"children":5151},{"style":100},[5152],{"type":53,"value":168},{"type":48,"tag":93,"props":5154,"children":5155},{"style":106},[5156],{"type":53,"value":173},{"type":48,"tag":93,"props":5158,"children":5159},{"style":176},[5160],{"type":53,"value":179},{"type":48,"tag":93,"props":5162,"children":5163},{"style":106},[5164],{"type":53,"value":184},{"type":48,"tag":93,"props":5166,"children":5167},{"class":95,"line":126},[5168,5172,5176,5181,5185,5189,5193,5198],{"type":48,"tag":93,"props":5169,"children":5170},{"style":100},[5171],{"type":53,"value":103},{"type":48,"tag":93,"props":5173,"children":5174},{"style":106},[5175],{"type":53,"value":934},{"type":48,"tag":93,"props":5177,"children":5178},{"style":115},[5179],{"type":53,"value":5180}," taskList",{"type":48,"tag":93,"props":5182,"children":5183},{"style":106},[5184],{"type":53,"value":944},{"type":48,"tag":93,"props":5186,"children":5187},{"style":100},[5188],{"type":53,"value":168},{"type":48,"tag":93,"props":5190,"children":5191},{"style":106},[5192],{"type":53,"value":173},{"type":48,"tag":93,"props":5194,"children":5195},{"style":176},[5196],{"type":53,"value":5197},"..\u002Fsrc\u002Flanguages\u002Ftask-list",{"type":48,"tag":93,"props":5199,"children":5200},{"style":106},[5201],{"type":53,"value":184},{"type":48,"tag":93,"props":5203,"children":5204},{"class":95,"line":139},[5205],{"type":48,"tag":93,"props":5206,"children":5207},{"emptyLinePlaceholder":191},[5208],{"type":53,"value":194},{"type":48,"tag":93,"props":5210,"children":5211},{"class":95,"line":157},[5212,5217,5221,5225,5230,5234,5238,5243,5247],{"type":48,"tag":93,"props":5213,"children":5214},{"style":217},[5215],{"type":53,"value":5216},"test",{"type":48,"tag":93,"props":5218,"children":5219},{"style":115},[5220],{"type":53,"value":225},{"type":48,"tag":93,"props":5222,"children":5223},{"style":106},[5224],{"type":53,"value":259},{"type":48,"tag":93,"props":5226,"children":5227},{"style":176},[5228],{"type":53,"value":5229},"task-list reconstructs valid source",{"type":48,"tag":93,"props":5231,"children":5232},{"style":106},[5233],{"type":53,"value":259},{"type":48,"tag":93,"props":5235,"children":5236},{"style":106},[5237],{"type":53,"value":1046},{"type":48,"tag":93,"props":5239,"children":5240},{"style":106},[5241],{"type":53,"value":5242}," ()",{"type":48,"tag":93,"props":5244,"children":5245},{"style":201},[5246],{"type":53,"value":1155},{"type":48,"tag":93,"props":5248,"children":5249},{"style":106},[5250],{"type":53,"value":109},{"type":48,"tag":93,"props":5252,"children":5253},{"class":95,"line":187},[5254,5258,5262,5266,5270,5274,5278,5283,5287,5291,5296,5300,5304],{"type":48,"tag":93,"props":5255,"children":5256},{"style":201},[5257],{"type":53,"value":3814},{"type":48,"tag":93,"props":5259,"children":5260},{"style":115},[5261],{"type":53,"value":939},{"type":48,"tag":93,"props":5263,"children":5264},{"style":106},[5265],{"type":53,"value":374},{"type":48,"tag":93,"props":5267,"children":5268},{"style":217},[5269],{"type":53,"value":855},{"type":48,"tag":93,"props":5271,"children":5272},{"style":237},[5273],{"type":53,"value":225},{"type":48,"tag":93,"props":5275,"children":5276},{"style":106},[5277],{"type":53,"value":1803},{"type":48,"tag":93,"props":5279,"children":5280},{"style":237},[5281],{"type":53,"value":5282}," languages",{"type":48,"tag":93,"props":5284,"children":5285},{"style":106},[5286],{"type":53,"value":245},{"type":48,"tag":93,"props":5288,"children":5289},{"style":237},[5290],{"type":53,"value":281},{"type":48,"tag":93,"props":5292,"children":5293},{"style":115},[5294],{"type":53,"value":5295},"taskList",{"type":48,"tag":93,"props":5297,"children":5298},{"style":237},[5299],{"type":53,"value":696},{"type":48,"tag":93,"props":5301,"children":5302},{"style":106},[5303],{"type":53,"value":163},{"type":48,"tag":93,"props":5305,"children":5306},{"style":237},[5307],{"type":53,"value":767},{"type":48,"tag":93,"props":5309,"children":5310},{"class":95,"line":197},[5311,5315,5319,5323,5327,5331],{"type":48,"tag":93,"props":5312,"children":5313},{"style":201},[5314],{"type":53,"value":3814},{"type":48,"tag":93,"props":5316,"children":5317},{"style":115},[5318],{"type":53,"value":3576},{"type":48,"tag":93,"props":5320,"children":5321},{"style":106},[5322],{"type":53,"value":374},{"type":48,"tag":93,"props":5324,"children":5325},{"style":106},[5326],{"type":53,"value":173},{"type":48,"tag":93,"props":5328,"children":5329},{"style":176},[5330],{"type":53,"value":993},{"type":48,"tag":93,"props":5332,"children":5333},{"style":106},[5334],{"type":53,"value":184},{"type":48,"tag":93,"props":5336,"children":5337},{"class":95,"line":233},[5338,5342,5347,5351,5355,5359,5363,5367,5371,5375,5379,5383,5387,5391,5395,5399,5403],{"type":48,"tag":93,"props":5339,"children":5340},{"style":201},[5341],{"type":53,"value":3814},{"type":48,"tag":93,"props":5343,"children":5344},{"style":115},[5345],{"type":53,"value":5346}," result",{"type":48,"tag":93,"props":5348,"children":5349},{"style":106},[5350],{"type":53,"value":374},{"type":48,"tag":93,"props":5352,"children":5353},{"style":115},[5354],{"type":53,"value":939},{"type":48,"tag":93,"props":5356,"children":5357},{"style":106},[5358],{"type":53,"value":527},{"type":48,"tag":93,"props":5360,"children":5361},{"style":217},[5362],{"type":53,"value":1036},{"type":48,"tag":93,"props":5364,"children":5365},{"style":237},[5366],{"type":53,"value":225},{"type":48,"tag":93,"props":5368,"children":5369},{"style":115},[5370],{"type":53,"value":56},{"type":48,"tag":93,"props":5372,"children":5373},{"style":106},[5374],{"type":53,"value":1046},{"type":48,"tag":93,"props":5376,"children":5377},{"style":106},[5378],{"type":53,"value":934},{"type":48,"tag":93,"props":5380,"children":5381},{"style":237},[5382],{"type":53,"value":1055},{"type":48,"tag":93,"props":5384,"children":5385},{"style":106},[5386],{"type":53,"value":245},{"type":48,"tag":93,"props":5388,"children":5389},{"style":106},[5390],{"type":53,"value":173},{"type":48,"tag":93,"props":5392,"children":5393},{"style":176},[5394],{"type":53,"value":254},{"type":48,"tag":93,"props":5396,"children":5397},{"style":106},[5398],{"type":53,"value":259},{"type":48,"tag":93,"props":5400,"children":5401},{"style":106},[5402],{"type":53,"value":944},{"type":48,"tag":93,"props":5404,"children":5405},{"style":237},[5406],{"type":53,"value":767},{"type":48,"tag":93,"props":5408,"children":5409},{"class":95,"line":266},[5410],{"type":48,"tag":93,"props":5411,"children":5412},{"emptyLinePlaceholder":191},[5413],{"type":53,"value":194},{"type":48,"tag":93,"props":5415,"children":5416},{"class":95,"line":306},[5417,5422,5426,5431,5435,5439,5443,5447,5451,5455,5459,5463,5467,5471,5475,5480,5484,5488,5492,5496,5500,5504,5508,5513,5517,5521],{"type":48,"tag":93,"props":5418,"children":5419},{"style":217},[5420],{"type":53,"value":5421},"  expect",{"type":48,"tag":93,"props":5423,"children":5424},{"style":237},[5425],{"type":53,"value":225},{"type":48,"tag":93,"props":5427,"children":5428},{"style":115},[5429],{"type":53,"value":5430},"result",{"type":48,"tag":93,"props":5432,"children":5433},{"style":106},[5434],{"type":53,"value":527},{"type":48,"tag":93,"props":5436,"children":5437},{"style":115},[5438],{"type":53,"value":1124},{"type":48,"tag":93,"props":5440,"children":5441},{"style":106},[5442],{"type":53,"value":527},{"type":48,"tag":93,"props":5444,"children":5445},{"style":217},[5446],{"type":53,"value":1133},{"type":48,"tag":93,"props":5448,"children":5449},{"style":237},[5450],{"type":53,"value":225},{"type":48,"tag":93,"props":5452,"children":5453},{"style":106},[5454],{"type":53,"value":225},{"type":48,"tag":93,"props":5456,"children":5457},{"style":319},[5458],{"type":53,"value":1146},{"type":48,"tag":93,"props":5460,"children":5461},{"style":106},[5462],{"type":53,"value":326},{"type":48,"tag":93,"props":5464,"children":5465},{"style":201},[5466],{"type":53,"value":1155},{"type":48,"tag":93,"props":5468,"children":5469},{"style":115},[5470],{"type":53,"value":1160},{"type":48,"tag":93,"props":5472,"children":5473},{"style":106},[5474],{"type":53,"value":527},{"type":48,"tag":93,"props":5476,"children":5477},{"style":115},[5478],{"type":53,"value":5479},"value",{"type":48,"tag":93,"props":5481,"children":5482},{"style":237},[5483],{"type":53,"value":326},{"type":48,"tag":93,"props":5485,"children":5486},{"style":106},[5487],{"type":53,"value":527},{"type":48,"tag":93,"props":5489,"children":5490},{"style":217},[5491],{"type":53,"value":1178},{"type":48,"tag":93,"props":5493,"children":5494},{"style":237},[5495],{"type":53,"value":225},{"type":48,"tag":93,"props":5497,"children":5498},{"style":106},[5499],{"type":53,"value":1187},{"type":48,"tag":93,"props":5501,"children":5502},{"style":237},[5503],{"type":53,"value":2148},{"type":48,"tag":93,"props":5505,"children":5506},{"style":106},[5507],{"type":53,"value":527},{"type":48,"tag":93,"props":5509,"children":5510},{"style":217},[5511],{"type":53,"value":5512},"toBe",{"type":48,"tag":93,"props":5514,"children":5515},{"style":237},[5516],{"type":53,"value":225},{"type":48,"tag":93,"props":5518,"children":5519},{"style":115},[5520],{"type":53,"value":56},{"type":48,"tag":93,"props":5522,"children":5523},{"style":237},[5524],{"type":53,"value":767},{"type":48,"tag":93,"props":5526,"children":5527},{"class":95,"line":333},[5528,5532,5536,5540,5544,5548,5552,5557,5561,5565,5569,5573,5577,5581,5585,5590,5595,5599,5603,5607,5611,5615,5619],{"type":48,"tag":93,"props":5529,"children":5530},{"style":217},[5531],{"type":53,"value":5421},{"type":48,"tag":93,"props":5533,"children":5534},{"style":237},[5535],{"type":53,"value":225},{"type":48,"tag":93,"props":5537,"children":5538},{"style":115},[5539],{"type":53,"value":5430},{"type":48,"tag":93,"props":5541,"children":5542},{"style":106},[5543],{"type":53,"value":527},{"type":48,"tag":93,"props":5545,"children":5546},{"style":115},[5547],{"type":53,"value":1124},{"type":48,"tag":93,"props":5549,"children":5550},{"style":106},[5551],{"type":53,"value":527},{"type":48,"tag":93,"props":5553,"children":5554},{"style":217},[5555],{"type":53,"value":5556},"some",{"type":48,"tag":93,"props":5558,"children":5559},{"style":237},[5560],{"type":53,"value":225},{"type":48,"tag":93,"props":5562,"children":5563},{"style":106},[5564],{"type":53,"value":225},{"type":48,"tag":93,"props":5566,"children":5567},{"style":319},[5568],{"type":53,"value":1146},{"type":48,"tag":93,"props":5570,"children":5571},{"style":106},[5572],{"type":53,"value":326},{"type":48,"tag":93,"props":5574,"children":5575},{"style":201},[5576],{"type":53,"value":1155},{"type":48,"tag":93,"props":5578,"children":5579},{"style":115},[5580],{"type":53,"value":1160},{"type":48,"tag":93,"props":5582,"children":5583},{"style":106},[5584],{"type":53,"value":527},{"type":48,"tag":93,"props":5586,"children":5587},{"style":115},[5588],{"type":53,"value":5589},"className",{"type":48,"tag":93,"props":5591,"children":5592},{"style":106},[5593],{"type":53,"value":5594}," ===",{"type":48,"tag":93,"props":5596,"children":5597},{"style":106},[5598],{"type":53,"value":173},{"type":48,"tag":93,"props":5600,"children":5601},{"style":176},[5602],{"type":53,"value":745},{"type":48,"tag":93,"props":5604,"children":5605},{"style":106},[5606],{"type":53,"value":259},{"type":48,"tag":93,"props":5608,"children":5609},{"style":237},[5610],{"type":53,"value":2148},{"type":48,"tag":93,"props":5612,"children":5613},{"style":106},[5614],{"type":53,"value":527},{"type":48,"tag":93,"props":5616,"children":5617},{"style":217},[5618],{"type":53,"value":5512},{"type":48,"tag":93,"props":5620,"children":5621},{"style":237},[5622],{"type":53,"value":1947},{"type":48,"tag":93,"props":5624,"children":5625},{"class":95,"line":382},[5626,5632],{"type":48,"tag":93,"props":5627,"children":5629},{"style":5628},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[5630],{"type":53,"value":5631},"    true",{"type":48,"tag":93,"props":5633,"children":5634},{"style":106},[5635],{"type":53,"value":123},{"type":48,"tag":93,"props":5637,"children":5638},{"class":95,"line":457},[5639],{"type":48,"tag":93,"props":5640,"children":5641},{"style":237},[5642],{"type":53,"value":5643},"  )\n",{"type":48,"tag":93,"props":5645,"children":5646},{"class":95,"line":490},[5647,5651],{"type":48,"tag":93,"props":5648,"children":5649},{"style":106},[5650],{"type":53,"value":163},{"type":48,"tag":93,"props":5652,"children":5653},{"style":115},[5654],{"type":53,"value":767},{"type":48,"tag":49,"props":5656,"children":5657},{},[5658],{"type":53,"value":5659},"Shipped languages require valid-code fixtures, source reconstruction, focused regressions, and explicit-import size evaluation.",{"type":48,"tag":49,"props":5661,"children":5662},{},[5663,5664],{"type":53,"value":3401},{"type":48,"tag":56,"props":5665,"children":5667},{"className":5666},[],[5668],{"type":53,"value":3407},{"type":48,"tag":910,"props":5670,"children":5672},{"id":5671},"high-omitting-embedded-tokenizer-registration",[5673],{"type":53,"value":5674},"HIGH Omitting embedded tokenizer registration",{"type":48,"tag":49,"props":5676,"children":5677},{},[5678],{"type":53,"value":2936},{"type":48,"tag":82,"props":5680,"children":5682},{"className":84,"code":5681,"language":86,"meta":87,"style":87},"import { createHighlighter } from '@tanstack\u002Fhighlight\u002Fcore'\nimport { scriptDocument } from '.\u002Fscript-document'\n\nexport const highlighter = createHighlighter({\n  languages: [scriptDocument],\n})\n",[5683],{"type":48,"tag":56,"props":5684,"children":5685},{"__ignoreMap":87},[5686,5721,5758,5765,5796,5816],{"type":48,"tag":93,"props":5687,"children":5688},{"class":95,"line":96},[5689,5693,5697,5701,5705,5709,5713,5717],{"type":48,"tag":93,"props":5690,"children":5691},{"style":100},[5692],{"type":53,"value":103},{"type":48,"tag":93,"props":5694,"children":5695},{"style":106},[5696],{"type":53,"value":934},{"type":48,"tag":93,"props":5698,"children":5699},{"style":115},[5700],{"type":53,"value":855},{"type":48,"tag":93,"props":5702,"children":5703},{"style":106},[5704],{"type":53,"value":944},{"type":48,"tag":93,"props":5706,"children":5707},{"style":100},[5708],{"type":53,"value":168},{"type":48,"tag":93,"props":5710,"children":5711},{"style":106},[5712],{"type":53,"value":173},{"type":48,"tag":93,"props":5714,"children":5715},{"style":176},[5716],{"type":53,"value":179},{"type":48,"tag":93,"props":5718,"children":5719},{"style":106},[5720],{"type":53,"value":184},{"type":48,"tag":93,"props":5722,"children":5723},{"class":95,"line":19},[5724,5728,5732,5737,5741,5745,5749,5754],{"type":48,"tag":93,"props":5725,"children":5726},{"style":100},[5727],{"type":53,"value":103},{"type":48,"tag":93,"props":5729,"children":5730},{"style":106},[5731],{"type":53,"value":934},{"type":48,"tag":93,"props":5733,"children":5734},{"style":115},[5735],{"type":53,"value":5736}," scriptDocument",{"type":48,"tag":93,"props":5738,"children":5739},{"style":106},[5740],{"type":53,"value":944},{"type":48,"tag":93,"props":5742,"children":5743},{"style":100},[5744],{"type":53,"value":168},{"type":48,"tag":93,"props":5746,"children":5747},{"style":106},[5748],{"type":53,"value":173},{"type":48,"tag":93,"props":5750,"children":5751},{"style":176},[5752],{"type":53,"value":5753},".\u002Fscript-document",{"type":48,"tag":93,"props":5755,"children":5756},{"style":106},[5757],{"type":53,"value":184},{"type":48,"tag":93,"props":5759,"children":5760},{"class":95,"line":126},[5761],{"type":48,"tag":93,"props":5762,"children":5763},{"emptyLinePlaceholder":191},[5764],{"type":53,"value":194},{"type":48,"tag":93,"props":5766,"children":5767},{"class":95,"line":139},[5768,5772,5776,5780,5784,5788,5792],{"type":48,"tag":93,"props":5769,"children":5770},{"style":100},[5771],{"type":53,"value":836},{"type":48,"tag":93,"props":5773,"children":5774},{"style":201},[5775],{"type":53,"value":841},{"type":48,"tag":93,"props":5777,"children":5778},{"style":115},[5779],{"type":53,"value":846},{"type":48,"tag":93,"props":5781,"children":5782},{"style":106},[5783],{"type":53,"value":214},{"type":48,"tag":93,"props":5785,"children":5786},{"style":217},[5787],{"type":53,"value":855},{"type":48,"tag":93,"props":5789,"children":5790},{"style":115},[5791],{"type":53,"value":225},{"type":48,"tag":93,"props":5793,"children":5794},{"style":106},[5795],{"type":53,"value":230},{"type":48,"tag":93,"props":5797,"children":5798},{"class":95,"line":157},[5799,5803,5807,5812],{"type":48,"tag":93,"props":5800,"children":5801},{"style":237},[5802],{"type":53,"value":872},{"type":48,"tag":93,"props":5804,"children":5805},{"style":106},[5806],{"type":53,"value":245},{"type":48,"tag":93,"props":5808,"children":5809},{"style":115},[5810],{"type":53,"value":5811}," [scriptDocument]",{"type":48,"tag":93,"props":5813,"children":5814},{"style":106},[5815],{"type":53,"value":123},{"type":48,"tag":93,"props":5817,"children":5818},{"class":95,"line":187},[5819,5823],{"type":48,"tag":93,"props":5820,"children":5821},{"style":106},[5822],{"type":53,"value":163},{"type":48,"tag":93,"props":5824,"children":5825},{"style":115},[5826],{"type":53,"value":767},{"type":48,"tag":49,"props":5828,"children":5829},{},[5830],{"type":53,"value":3173},{"type":48,"tag":82,"props":5832,"children":5834},{"className":84,"code":5833,"language":86,"meta":87,"style":87},"import { createHighlighter } from '@tanstack\u002Fhighlight\u002Fcore'\nimport { js } from '@tanstack\u002Fhighlight\u002Flanguages\u002Fjs'\nimport { scriptDocument } from '.\u002Fscript-document'\n\nexport const highlighter = createHighlighter({\n  languages: [scriptDocument, js],\n})\n",[5835],{"type":48,"tag":56,"props":5836,"children":5837},{"__ignoreMap":87},[5838,5873,5908,5943,5950,5981,6008],{"type":48,"tag":93,"props":5839,"children":5840},{"class":95,"line":96},[5841,5845,5849,5853,5857,5861,5865,5869],{"type":48,"tag":93,"props":5842,"children":5843},{"style":100},[5844],{"type":53,"value":103},{"type":48,"tag":93,"props":5846,"children":5847},{"style":106},[5848],{"type":53,"value":934},{"type":48,"tag":93,"props":5850,"children":5851},{"style":115},[5852],{"type":53,"value":855},{"type":48,"tag":93,"props":5854,"children":5855},{"style":106},[5856],{"type":53,"value":944},{"type":48,"tag":93,"props":5858,"children":5859},{"style":100},[5860],{"type":53,"value":168},{"type":48,"tag":93,"props":5862,"children":5863},{"style":106},[5864],{"type":53,"value":173},{"type":48,"tag":93,"props":5866,"children":5867},{"style":176},[5868],{"type":53,"value":179},{"type":48,"tag":93,"props":5870,"children":5871},{"style":106},[5872],{"type":53,"value":184},{"type":48,"tag":93,"props":5874,"children":5875},{"class":95,"line":19},[5876,5880,5884,5888,5892,5896,5900,5904],{"type":48,"tag":93,"props":5877,"children":5878},{"style":100},[5879],{"type":53,"value":103},{"type":48,"tag":93,"props":5881,"children":5882},{"style":106},[5883],{"type":53,"value":934},{"type":48,"tag":93,"props":5885,"children":5886},{"style":115},[5887],{"type":53,"value":1306},{"type":48,"tag":93,"props":5889,"children":5890},{"style":106},[5891],{"type":53,"value":944},{"type":48,"tag":93,"props":5893,"children":5894},{"style":100},[5895],{"type":53,"value":168},{"type":48,"tag":93,"props":5897,"children":5898},{"style":106},[5899],{"type":53,"value":173},{"type":48,"tag":93,"props":5901,"children":5902},{"style":176},[5903],{"type":53,"value":1323},{"type":48,"tag":93,"props":5905,"children":5906},{"style":106},[5907],{"type":53,"value":184},{"type":48,"tag":93,"props":5909,"children":5910},{"class":95,"line":126},[5911,5915,5919,5923,5927,5931,5935,5939],{"type":48,"tag":93,"props":5912,"children":5913},{"style":100},[5914],{"type":53,"value":103},{"type":48,"tag":93,"props":5916,"children":5917},{"style":106},[5918],{"type":53,"value":934},{"type":48,"tag":93,"props":5920,"children":5921},{"style":115},[5922],{"type":53,"value":5736},{"type":48,"tag":93,"props":5924,"children":5925},{"style":106},[5926],{"type":53,"value":944},{"type":48,"tag":93,"props":5928,"children":5929},{"style":100},[5930],{"type":53,"value":168},{"type":48,"tag":93,"props":5932,"children":5933},{"style":106},[5934],{"type":53,"value":173},{"type":48,"tag":93,"props":5936,"children":5937},{"style":176},[5938],{"type":53,"value":5753},{"type":48,"tag":93,"props":5940,"children":5941},{"style":106},[5942],{"type":53,"value":184},{"type":48,"tag":93,"props":5944,"children":5945},{"class":95,"line":139},[5946],{"type":48,"tag":93,"props":5947,"children":5948},{"emptyLinePlaceholder":191},[5949],{"type":53,"value":194},{"type":48,"tag":93,"props":5951,"children":5952},{"class":95,"line":157},[5953,5957,5961,5965,5969,5973,5977],{"type":48,"tag":93,"props":5954,"children":5955},{"style":100},[5956],{"type":53,"value":836},{"type":48,"tag":93,"props":5958,"children":5959},{"style":201},[5960],{"type":53,"value":841},{"type":48,"tag":93,"props":5962,"children":5963},{"style":115},[5964],{"type":53,"value":846},{"type":48,"tag":93,"props":5966,"children":5967},{"style":106},[5968],{"type":53,"value":214},{"type":48,"tag":93,"props":5970,"children":5971},{"style":217},[5972],{"type":53,"value":855},{"type":48,"tag":93,"props":5974,"children":5975},{"style":115},[5976],{"type":53,"value":225},{"type":48,"tag":93,"props":5978,"children":5979},{"style":106},[5980],{"type":53,"value":230},{"type":48,"tag":93,"props":5982,"children":5983},{"class":95,"line":187},[5984,5988,5992,5996,6000,6004],{"type":48,"tag":93,"props":5985,"children":5986},{"style":237},[5987],{"type":53,"value":872},{"type":48,"tag":93,"props":5989,"children":5990},{"style":106},[5991],{"type":53,"value":245},{"type":48,"tag":93,"props":5993,"children":5994},{"style":115},[5995],{"type":53,"value":2367},{"type":48,"tag":93,"props":5997,"children":5998},{"style":106},[5999],{"type":53,"value":1046},{"type":48,"tag":93,"props":6001,"children":6002},{"style":115},[6003],{"type":53,"value":2376},{"type":48,"tag":93,"props":6005,"children":6006},{"style":106},[6007],{"type":53,"value":123},{"type":48,"tag":93,"props":6009,"children":6010},{"class":95,"line":197},[6011,6015],{"type":48,"tag":93,"props":6012,"children":6013},{"style":106},[6014],{"type":53,"value":163},{"type":48,"tag":93,"props":6016,"children":6017},{"style":115},[6018],{"type":53,"value":767},{"type":48,"tag":49,"props":6020,"children":6021},{},[6022],{"type":53,"value":6023},"Delegation remains plain when the target definition is absent from the same registry.",{"type":48,"tag":49,"props":6025,"children":6026},{},[6027,6028],{"type":53,"value":3401},{"type":48,"tag":56,"props":6029,"children":6031},{"className":6030},[],[6032],{"type":53,"value":6033},"docs\u002Fguides\u002Fembedded-languages.md",{"type":48,"tag":910,"props":6035,"children":6037},{"id":6036},"high-tension-language-isolation-versus-embedding-depth",[6038],{"type":53,"value":6039},"HIGH Tension: language isolation versus embedding depth",{"type":48,"tag":49,"props":6041,"children":6042},{},[6043,6045,6051],{"type":53,"value":6044},"Use ",{"type":48,"tag":56,"props":6046,"children":6048},{"className":6047},[],[6049],{"type":53,"value":6050},"TokenizerContext",{"type":53,"value":6052}," for optional delegation and let the application register targets. Importing target definitions inside an outer tokenizer hides bundle cost.",{"type":48,"tag":49,"props":6054,"children":6055},{},[6056,6058,6064],{"type":53,"value":6057},"See also: ",{"type":48,"tag":56,"props":6059,"children":6061},{"className":6060},[],[6062],{"type":53,"value":6063},"configure-selective-highlighting\u002FSKILL.md",{"type":53,"value":6065}," - registration controls delegated language availability.",{"type":48,"tag":70,"props":6067,"children":6069},{"id":6068},"references",[6070],{"type":53,"value":6071},"References",{"type":48,"tag":6073,"props":6074,"children":6075},"ul",{},[6076],{"type":48,"tag":6077,"props":6078,"children":6079},"li",{},[6080],{"type":48,"tag":6081,"props":6082,"children":6084},"a",{"href":6083},"references\u002Ftokenizer-patterns.md",[6085],{"type":53,"value":6086},"Tokenizer contracts and repository implementation patterns",{"type":48,"tag":49,"props":6088,"children":6089},{},[6090,6091,6096],{"type":53,"value":6057},{"type":48,"tag":56,"props":6092,"children":6094},{"className":6093},[],[6095],{"type":53,"value":6063},{"type":53,"value":6097}," - aliases, fallbacks, and embedded targets resolve through the registry.",{"type":48,"tag":6099,"props":6100,"children":6101},"style",{},[6102],{"type":53,"value":6103},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":6105,"total":157},[6106,6121,6126,6140,6152],{"slug":37,"name":37,"fn":6107,"description":6108,"org":6109,"tags":6110,"stars":19,"repoUrl":20,"updatedAt":6120},"configure selective code highlighting registries","Configure minimal @tanstack\u002Fhighlight registries with createHighlighter, direct language subpaths, aliases, fallbackLanguage, and shared SSR\u002Fclient modules. Load for initial setup, browser bundle reduction, language registration, embedded-language dependencies, or hydration consistency.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6111,6114,6117],{"name":6112,"slug":6113,"type":15},"Configuration","configuration",{"name":6115,"slug":6116,"type":15},"Frontend","frontend",{"name":6118,"slug":6119,"type":15},"Performance","performance","2026-07-30T05:26:42.312771",{"slug":4,"name":4,"fn":5,"description":6,"org":6122,"tags":6123,"stars":19,"repoUrl":20,"updatedAt":21},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6124,6125],{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},{"slug":6127,"name":6127,"fn":6128,"description":6129,"org":6130,"tags":6131,"stars":19,"repoUrl":20,"updatedAt":6139},"integrate-framework-code-blocks","integrate code blocks into web frameworks","Integrate @tanstack\u002Fhighlight with React code-block props, Octane dangerouslySetInnerHTML data, createOctaneMdxHighlight, hydrated SSR, and post-navigation client content. Load when implementing application-owned code components or sharing highlighted output across server and client.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6132,6133,6136],{"name":6115,"slug":6116,"type":15},{"name":6134,"slug":6135,"type":15},"React","react",{"name":6137,"slug":6138,"type":15},"SSR","ssr","2026-07-30T05:26:41.401472",{"slug":6141,"name":6141,"fn":6142,"description":6143,"org":6144,"tags":6145,"stars":19,"repoUrl":20,"updatedAt":6151},"integrate-markdown-pipelines","integrate Markdown code highlighting pipelines","Integrate @tanstack\u002Fhighlight with renderCodeFence, codeFenceToHast, remarkHighlightCodeBlocks, rehypeHighlightCodeBlocks, and Markdown fence metadata. Load for unified, Remark, Rehype, MDX, custom HAST traversal, structured output, titles, line numbers, or code annotations.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6146,6147,6148],{"name":17,"slug":18,"type":15},{"name":6115,"slug":6116,"type":15},{"name":6149,"slug":6150,"type":15},"Markdown","markdown","2026-07-30T05:26:40.314595",{"slug":6153,"name":6153,"fn":6154,"description":6155,"org":6156,"tags":6157,"stars":19,"repoUrl":20,"updatedAt":6165},"theme-and-annotate-code","style and annotate code blocks","Style @tanstack\u002Fhighlight with createThemeCss, createThemeRule, createThemeBaseCss, isolated theme imports, lineNumbers, line decorations, UTF-16 range decorations, and fence annotations. Load for light\u002Fdark themes, custom semantic colors, focused lines, diffs, diagnostics, or data hooks.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6158,6161,6162],{"name":6159,"slug":6160,"type":15},"CSS","css",{"name":6115,"slug":6116,"type":15},{"name":6163,"slug":6164,"type":15},"Themes","themes","2026-07-30T05:26:39.329577",{"items":6167,"total":6302},[6168,6182,6194,6206,6219,6231,6241,6251,6262,6272,6283,6293],{"slug":6169,"name":6169,"fn":6170,"description":6171,"org":6172,"tags":6173,"stars":6179,"repoUrl":6180,"updatedAt":6181},"aggregation","perform data aggregation in TanStack Table","Aggregate TanStack Table columns independently of grouping, including grand totals, caller-selected row totals, multiple keyed aggregations, custom context-based definitions, grouped merges, manual values, and worker constraints.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6174,6177,6178],{"name":6175,"slug":6176,"type":15},"Data Analysis","data-analysis",{"name":6115,"slug":6116,"type":15},{"name":9,"slug":8,"type":15},28175,"https:\u002F\u002Fgithub.com\u002FTanStack\u002Ftable","2026-07-30T05:25:59.429787",{"slug":6183,"name":6183,"fn":6184,"description":6185,"org":6186,"tags":6187,"stars":6179,"repoUrl":6180,"updatedAt":6193},"api-not-found","diagnose TanStack Table API errors","Diagnose missing TanStack Table v9 exports, options, state slices, and instance methods. Load before inventing an API when code sees a type error, undefined feature method, absent object key, adapter mismatch, or v8-shaped example.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6188,6191,6192],{"name":6189,"slug":6190,"type":15},"Debugging","debugging",{"name":6115,"slug":6116,"type":15},{"name":9,"slug":8,"type":15},"2026-07-30T05:26:05.418735",{"slug":6195,"name":6195,"fn":6196,"description":6197,"org":6198,"tags":6199,"stars":6179,"repoUrl":6180,"updatedAt":6205},"cell-selection","select rectangular cell ranges in tables","Select rectangular cell ranges with cellSelectionFeature: two-corner range state keyed by row and column id, mousedown\u002Fmouseenter handlers, selection edges, render-order resolution under pinning, and autoResetCellSelection. Load when ranges widen unexpectedly after sorting or column reordering, when a drag re-renders the whole table, or when building copy-to-clipboard from a selection.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6200,6201,6202],{"name":6175,"slug":6176,"type":15},{"name":9,"slug":8,"type":15},{"name":6203,"slug":6204,"type":15},"UI Components","ui-components","2026-07-30T05:25:38.403427",{"slug":6207,"name":6207,"fn":6208,"description":6209,"org":6210,"tags":6211,"stars":6179,"repoUrl":6180,"updatedAt":6218},"client-vs-server","manage TanStack Table data pipelines","Choose client or server ownership for filtering, grouping, sorting, expanding, and pagination in TanStack Table v9. Load for manual* flags, mixed pipelines, server counts, or deciding which dataset each row-model stage receives.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6212,6215,6216,6217],{"name":6213,"slug":6214,"type":15},"Data Pipeline","data-pipeline",{"name":6115,"slug":6116,"type":15},{"name":6118,"slug":6119,"type":15},{"name":9,"slug":8,"type":15},"2026-07-30T05:25:45.400104",{"slug":6220,"name":6220,"fn":6221,"description":6222,"org":6223,"tags":6224,"stars":6179,"repoUrl":6180,"updatedAt":6230},"column-faceting","build faceted filter UIs","Build faceted filter UIs with columnFacetingFeature, facetedRowModel, facetedUniqueValues, and facetedMinMaxValues. Load for facet counts, numeric ranges, own-filter exclusion, or server-page facet completeness.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6225,6228,6229],{"name":6226,"slug":6227,"type":15},"Data Visualization","data-visualization",{"name":6115,"slug":6116,"type":15},{"name":9,"slug":8,"type":15},"2026-07-30T05:25:41.397257",{"slug":6232,"name":6232,"fn":6233,"description":6234,"org":6235,"tags":6236,"stars":6179,"repoUrl":6180,"updatedAt":6240},"column-filtering","implement column filtering in TanStack Table","Filter columns with columnFilteringFeature, filteredRowModel, filterFns, filterMeta, nested-row direction, and manualFiltering. Load for accessor compatibility, controlled filter updaters, fuzzy metadata, or client\u002Fserver ownership.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6237,6238,6239],{"name":6175,"slug":6176,"type":15},{"name":6115,"slug":6116,"type":15},{"name":9,"slug":8,"type":15},"2026-07-30T05:25:53.391632",{"slug":6242,"name":6242,"fn":6243,"description":6244,"org":6245,"tags":6246,"stars":6179,"repoUrl":6180,"updatedAt":6250},"column-ordering","manage TanStack Table column ordering","Control TanStack Table v9 leaf columnOrder with stable IDs while accounting for pinning regions, visibility, and groupedColumnMode precedence. Load for drag-and-drop columns or rendered order that differs from state.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6247,6248,6249],{"name":6115,"slug":6116,"type":15},{"name":9,"slug":8,"type":15},{"name":6203,"slug":6204,"type":15},"2026-07-30T05:26:03.37801",{"slug":6252,"name":6252,"fn":6253,"description":6254,"org":6255,"tags":6256,"stars":6179,"repoUrl":6180,"updatedAt":6261},"column-pinning","configure column pinning in TanStack Table","Pin columns into logical start, center, and end regions with columnPinningFeature and renderer-owned sticky CSS. Load for RTL offsets, z-index, backgrounds, overflow, widths, gaps, or overlaps.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6257,6258,6259,6260],{"name":6159,"slug":6160,"type":15},{"name":6115,"slug":6116,"type":15},{"name":9,"slug":8,"type":15},{"name":6203,"slug":6204,"type":15},"2026-07-30T05:25:55.377366",{"slug":6263,"name":6263,"fn":6264,"description":6265,"org":6266,"tags":6267,"stars":6179,"repoUrl":6180,"updatedAt":6271},"column-resizing","implement column resizing in TanStack Table","Wire columnResizingFeature, header.getResizeHandler, resize mode and direction, pointer or touch events, and performant CSS-variable updates. Load when resize state changes but widths do not, or large tables resize slowly.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6268,6269,6270],{"name":6115,"slug":6116,"type":15},{"name":9,"slug":8,"type":15},{"name":6203,"slug":6204,"type":15},"2026-07-30T05:25:51.400011",{"slug":6273,"name":6273,"fn":6274,"description":6275,"org":6276,"tags":6277,"stars":6179,"repoUrl":6180,"updatedAt":6282},"column-sizing","configure column sizing in TanStack Table","Use columnSizingFeature numeric size, minSize, maxSize, getSize, getStart, getAfter, and total-size APIs in table, grid, or flex CSS. Load for auto or percentage misconceptions and sizing\u002Fpinning layout mismatch.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6278,6279,6280,6281],{"name":6159,"slug":6160,"type":15},{"name":6115,"slug":6116,"type":15},{"name":9,"slug":8,"type":15},{"name":6203,"slug":6204,"type":15},"2026-07-30T05:25:48.703799",{"slug":6284,"name":6284,"fn":6285,"description":6286,"org":6287,"tags":6288,"stars":6179,"repoUrl":6180,"updatedAt":6292},"column-visibility","manage column visibility in TanStack Table","Hide columns with columnVisibilityFeature while rendering visibility-aware header, column, and cell collections. Load when hidden columns remain in the DOM, false-versus-absent state is confused, or enableHiding is misunderstood.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6289,6290,6291],{"name":6115,"slug":6116,"type":15},{"name":9,"slug":8,"type":15},{"name":6203,"slug":6204,"type":15},"2026-07-30T05:25:47.367943",{"slug":33,"name":33,"fn":6294,"description":6295,"org":6296,"tags":6297,"stars":6179,"repoUrl":6180,"updatedAt":6301},"build data grids with TanStack Table","Use TanStack Table v9 as a headless data-grid state and row-processing engine. Load for first-table architecture, stable data and columns, row numbering with getDisplayIndex, semantic rendering, framework adapter choice, or deciding what Table owns versus the renderer.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6298,6299,6300],{"name":6175,"slug":6176,"type":15},{"name":6115,"slug":6116,"type":15},{"name":6203,"slug":6204,"type":15},"2026-07-30T05:25:52.366295",125]