@ai-ecoverse/slicc-spectrum 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/slicc-ui.js CHANGED
@@ -6012,6 +6012,36 @@ function installFonts(document2, base, codeBase) {
6012
6012
  return style;
6013
6013
  }
6014
6014
 
6015
+ // src/app/grammars.ts
6016
+ var grammarCdn = "https://cdn.jsdelivr.net/npm/@shikijs/";
6017
+ var local = null;
6018
+ function setGrammarBase(base) {
6019
+ local = base;
6020
+ }
6021
+ function grammarBase() {
6022
+ return local;
6023
+ }
6024
+ function grammarUrls(kind, name, version2, remote, base = local, page = globalThis.document?.baseURI ?? "http://localhost/") {
6025
+ const urls = [];
6026
+ if (base) {
6027
+ const folder2 = base.endsWith("/") ? base : `${base}/`;
6028
+ urls.push(new URL(`${kind}/dist/${name}.mjs`, new URL(folder2, page)).href);
6029
+ }
6030
+ urls.push(`${remote}${kind}@${version2}/dist/${name}.mjs`);
6031
+ return urls;
6032
+ }
6033
+ async function grammar(kind, name, version2, remote = grammarCdn, importer = (url) => import(url)) {
6034
+ let failure;
6035
+ for (const url of grammarUrls(kind, name, version2, remote)) {
6036
+ try {
6037
+ return await importer(url);
6038
+ } catch (error) {
6039
+ failure = error;
6040
+ }
6041
+ }
6042
+ throw failure;
6043
+ }
6044
+
6015
6045
  // src/app/files.ts
6016
6046
  function relative(path) {
6017
6047
  return path.replace(/^\//, "");
@@ -6596,6 +6626,12 @@ var SliccApp = class extends ThemedElement {
6596
6626
  this.#fontBase = value;
6597
6627
  if (this.isConnected) this.#fonts();
6598
6628
  }
6629
+ get grammarBase() {
6630
+ return grammarBase();
6631
+ }
6632
+ set grammarBase(value) {
6633
+ setGrammarBase(value);
6634
+ }
6599
6635
  #fonts() {
6600
6636
  installFonts(this.ownerDocument, this.#fontBase, new URL("./fonts/", import.meta.url).href);
6601
6637
  }
@@ -10231,13 +10267,13 @@ function attachResolvedLanguages(resolvedLanguages, highlighter2) {
10231
10267
  lang = resolvedLang;
10232
10268
  ResolvedLanguages.set(resolvedLang.name, lang);
10233
10269
  }
10234
- const grammar = lang.data.find((grammar2) => grammar2.name === lang.name || grammar2.aliases?.includes(lang.name) === true);
10235
- if (grammar == null) throw new Error(`attachResolvedLanguages: No returned grammar declares "${lang.name}" as its name or an alias.`);
10270
+ const grammar2 = lang.data.find((grammar3) => grammar3.name === lang.name || grammar3.aliases?.includes(lang.name) === true);
10271
+ if (grammar2 == null) throw new Error(`attachResolvedLanguages: No returned grammar declares "${lang.name}" as its name or an alias.`);
10236
10272
  highlighter2.loadLanguageSync(lang.data);
10237
10273
  try {
10238
10274
  highlighter2.getLanguage(lang.name);
10239
10275
  } catch {
10240
- throw new Error(`attachResolvedLanguages: "${grammar.name}" is already loaded without alias "${lang.name}". Load the alias first or give the grammar a unique name.`);
10276
+ throw new Error(`attachResolvedLanguages: "${grammar2.name}" is already loaded without alias "${lang.name}". Load the alias first or give the grammar a unique name.`);
10241
10277
  }
10242
10278
  AttachedLanguages.add(lang.name);
10243
10279
  }
@@ -10275,231 +10311,232 @@ var __copyProps = (to, from, except, desc) => {
10275
10311
  var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
10276
10312
 
10277
10313
  // node_modules/shiki/dist/langs-bundle-full-xQVO1Cek.mjs
10314
+ var __sliccGrammar = (kind, name) => grammar(kind, name, { "langs": "4.5.0", "themes": "4.5.0" }[kind], "https://cdn.jsdelivr.net/npm/@shikijs/");
10278
10315
  var bundledLanguagesInfo = [
10279
10316
  {
10280
10317
  "id": "abap",
10281
10318
  "name": "ABAP",
10282
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/abap.mjs"))
10319
+ "import": (() => __sliccGrammar("langs", "abap"))
10283
10320
  },
10284
10321
  {
10285
10322
  "id": "actionscript-3",
10286
10323
  "name": "ActionScript",
10287
10324
  "aliases": ["actionscript", "as3"],
10288
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/actionscript-3.mjs"))
10325
+ "import": (() => __sliccGrammar("langs", "actionscript-3"))
10289
10326
  },
10290
10327
  {
10291
10328
  "id": "ada",
10292
10329
  "name": "Ada",
10293
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/ada.mjs"))
10330
+ "import": (() => __sliccGrammar("langs", "ada"))
10294
10331
  },
10295
10332
  {
10296
10333
  "id": "ahk",
10297
10334
  "name": "AutoHotkey",
10298
10335
  "aliases": ["ahk1"],
10299
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/ahk.mjs"))
10336
+ "import": (() => __sliccGrammar("langs", "ahk"))
10300
10337
  },
10301
10338
  {
10302
10339
  "id": "ahk2",
10303
10340
  "name": "AutoHotkey2",
10304
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/ahk2.mjs"))
10341
+ "import": (() => __sliccGrammar("langs", "ahk2"))
10305
10342
  },
10306
10343
  {
10307
10344
  "id": "angular-html",
10308
10345
  "name": "Angular HTML",
10309
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/angular-html.mjs"))
10346
+ "import": (() => __sliccGrammar("langs", "angular-html"))
10310
10347
  },
10311
10348
  {
10312
10349
  "id": "angular-ts",
10313
10350
  "name": "Angular TypeScript",
10314
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/angular-ts.mjs"))
10351
+ "import": (() => __sliccGrammar("langs", "angular-ts"))
10315
10352
  },
10316
10353
  {
10317
10354
  "id": "apache",
10318
10355
  "name": "Apache Conf",
10319
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/apache.mjs"))
10356
+ "import": (() => __sliccGrammar("langs", "apache"))
10320
10357
  },
10321
10358
  {
10322
10359
  "id": "apex",
10323
10360
  "name": "Apex",
10324
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/apex.mjs"))
10361
+ "import": (() => __sliccGrammar("langs", "apex"))
10325
10362
  },
10326
10363
  {
10327
10364
  "id": "apl",
10328
10365
  "name": "APL",
10329
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/apl.mjs"))
10366
+ "import": (() => __sliccGrammar("langs", "apl"))
10330
10367
  },
10331
10368
  {
10332
10369
  "id": "applescript",
10333
10370
  "name": "AppleScript",
10334
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/applescript.mjs"))
10371
+ "import": (() => __sliccGrammar("langs", "applescript"))
10335
10372
  },
10336
10373
  {
10337
10374
  "id": "ara",
10338
10375
  "name": "Ara",
10339
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/ara.mjs"))
10376
+ "import": (() => __sliccGrammar("langs", "ara"))
10340
10377
  },
10341
10378
  {
10342
10379
  "id": "asciidoc",
10343
10380
  "name": "AsciiDoc",
10344
10381
  "aliases": ["adoc"],
10345
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/asciidoc.mjs"))
10382
+ "import": (() => __sliccGrammar("langs", "asciidoc"))
10346
10383
  },
10347
10384
  {
10348
10385
  "id": "asm",
10349
10386
  "name": "Assembly",
10350
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/asm.mjs"))
10387
+ "import": (() => __sliccGrammar("langs", "asm"))
10351
10388
  },
10352
10389
  {
10353
10390
  "id": "astro",
10354
10391
  "name": "Astro",
10355
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/astro.mjs"))
10392
+ "import": (() => __sliccGrammar("langs", "astro"))
10356
10393
  },
10357
10394
  {
10358
10395
  "id": "awk",
10359
10396
  "name": "AWK",
10360
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/awk.mjs"))
10397
+ "import": (() => __sliccGrammar("langs", "awk"))
10361
10398
  },
10362
10399
  {
10363
10400
  "id": "ballerina",
10364
10401
  "name": "Ballerina",
10365
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/ballerina.mjs"))
10402
+ "import": (() => __sliccGrammar("langs", "ballerina"))
10366
10403
  },
10367
10404
  {
10368
10405
  "id": "bat",
10369
10406
  "name": "Batch File",
10370
10407
  "aliases": ["batch", "cmd"],
10371
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/bat.mjs"))
10408
+ "import": (() => __sliccGrammar("langs", "bat"))
10372
10409
  },
10373
10410
  {
10374
10411
  "id": "beancount",
10375
10412
  "name": "Beancount",
10376
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/beancount.mjs"))
10413
+ "import": (() => __sliccGrammar("langs", "beancount"))
10377
10414
  },
10378
10415
  {
10379
10416
  "id": "berry",
10380
10417
  "name": "Berry",
10381
10418
  "aliases": ["be"],
10382
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/berry.mjs"))
10419
+ "import": (() => __sliccGrammar("langs", "berry"))
10383
10420
  },
10384
10421
  {
10385
10422
  "id": "bibtex",
10386
10423
  "name": "BibTeX",
10387
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/bibtex.mjs"))
10424
+ "import": (() => __sliccGrammar("langs", "bibtex"))
10388
10425
  },
10389
10426
  {
10390
10427
  "id": "bicep",
10391
10428
  "name": "Bicep",
10392
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/bicep.mjs"))
10429
+ "import": (() => __sliccGrammar("langs", "bicep"))
10393
10430
  },
10394
10431
  {
10395
10432
  "id": "bird2",
10396
10433
  "name": "BIRD2 Configuration",
10397
10434
  "aliases": ["bird"],
10398
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/bird2.mjs"))
10435
+ "import": (() => __sliccGrammar("langs", "bird2"))
10399
10436
  },
10400
10437
  {
10401
10438
  "id": "blade",
10402
10439
  "name": "Blade",
10403
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/blade.mjs"))
10440
+ "import": (() => __sliccGrammar("langs", "blade"))
10404
10441
  },
10405
10442
  {
10406
10443
  "id": "bsl",
10407
10444
  "name": "1C (Enterprise)",
10408
10445
  "aliases": ["1c"],
10409
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/bsl.mjs"))
10446
+ "import": (() => __sliccGrammar("langs", "bsl"))
10410
10447
  },
10411
10448
  {
10412
10449
  "id": "c",
10413
10450
  "name": "C",
10414
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/c.mjs"))
10451
+ "import": (() => __sliccGrammar("langs", "c"))
10415
10452
  },
10416
10453
  {
10417
10454
  "id": "c3",
10418
10455
  "name": "C3",
10419
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/c3.mjs"))
10456
+ "import": (() => __sliccGrammar("langs", "c3"))
10420
10457
  },
10421
10458
  {
10422
10459
  "id": "cadence",
10423
10460
  "name": "Cadence",
10424
10461
  "aliases": ["cdc"],
10425
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/cadence.mjs"))
10462
+ "import": (() => __sliccGrammar("langs", "cadence"))
10426
10463
  },
10427
10464
  {
10428
10465
  "id": "cairo",
10429
10466
  "name": "Cairo",
10430
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/cairo.mjs"))
10467
+ "import": (() => __sliccGrammar("langs", "cairo"))
10431
10468
  },
10432
10469
  {
10433
10470
  "id": "chapel",
10434
10471
  "name": "Chapel",
10435
10472
  "aliases": ["chpl"],
10436
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/chapel.mjs"))
10473
+ "import": (() => __sliccGrammar("langs", "chapel"))
10437
10474
  },
10438
10475
  {
10439
10476
  "id": "clarity",
10440
10477
  "name": "Clarity",
10441
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/clarity.mjs"))
10478
+ "import": (() => __sliccGrammar("langs", "clarity"))
10442
10479
  },
10443
10480
  {
10444
10481
  "id": "clojure",
10445
10482
  "name": "Clojure",
10446
10483
  "aliases": ["clj"],
10447
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/clojure.mjs"))
10484
+ "import": (() => __sliccGrammar("langs", "clojure"))
10448
10485
  },
10449
10486
  {
10450
10487
  "id": "cmake",
10451
10488
  "name": "CMake",
10452
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/cmake.mjs"))
10489
+ "import": (() => __sliccGrammar("langs", "cmake"))
10453
10490
  },
10454
10491
  {
10455
10492
  "id": "cobol",
10456
10493
  "name": "COBOL",
10457
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/cobol.mjs"))
10494
+ "import": (() => __sliccGrammar("langs", "cobol"))
10458
10495
  },
10459
10496
  {
10460
10497
  "id": "codeowners",
10461
10498
  "name": "CODEOWNERS",
10462
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/codeowners.mjs"))
10499
+ "import": (() => __sliccGrammar("langs", "codeowners"))
10463
10500
  },
10464
10501
  {
10465
10502
  "id": "codeql",
10466
10503
  "name": "CodeQL",
10467
10504
  "aliases": ["ql"],
10468
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/codeql.mjs"))
10505
+ "import": (() => __sliccGrammar("langs", "codeql"))
10469
10506
  },
10470
10507
  {
10471
10508
  "id": "coffee",
10472
10509
  "name": "CoffeeScript",
10473
10510
  "aliases": ["coffeescript"],
10474
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/coffee.mjs"))
10511
+ "import": (() => __sliccGrammar("langs", "coffee"))
10475
10512
  },
10476
10513
  {
10477
10514
  "id": "common-lisp",
10478
10515
  "name": "Common Lisp",
10479
10516
  "aliases": ["lisp"],
10480
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/common-lisp.mjs"))
10517
+ "import": (() => __sliccGrammar("langs", "common-lisp"))
10481
10518
  },
10482
10519
  {
10483
10520
  "id": "coq",
10484
10521
  "name": "Rocq",
10485
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/coq.mjs"))
10522
+ "import": (() => __sliccGrammar("langs", "coq"))
10486
10523
  },
10487
10524
  {
10488
10525
  "id": "cpp",
10489
10526
  "name": "C++",
10490
10527
  "aliases": ["c++"],
10491
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/cpp.mjs"))
10528
+ "import": (() => __sliccGrammar("langs", "cpp"))
10492
10529
  },
10493
10530
  {
10494
10531
  "id": "crystal",
10495
10532
  "name": "Crystal",
10496
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/crystal.mjs"))
10533
+ "import": (() => __sliccGrammar("langs", "crystal"))
10497
10534
  },
10498
10535
  {
10499
10536
  "id": "csharp",
10500
10537
  "name": "C#",
10501
10538
  "aliases": ["c#", "cs"],
10502
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/csharp.mjs"))
10539
+ "import": (() => __sliccGrammar("langs", "csharp"))
10503
10540
  },
10504
10541
  {
10505
10542
  "id": "css",
@@ -10509,38 +10546,38 @@ var bundledLanguagesInfo = [
10509
10546
  {
10510
10547
  "id": "csv",
10511
10548
  "name": "CSV",
10512
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/csv.mjs"))
10549
+ "import": (() => __sliccGrammar("langs", "csv"))
10513
10550
  },
10514
10551
  {
10515
10552
  "id": "cue",
10516
10553
  "name": "CUE",
10517
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/cue.mjs"))
10554
+ "import": (() => __sliccGrammar("langs", "cue"))
10518
10555
  },
10519
10556
  {
10520
10557
  "id": "cypher",
10521
10558
  "name": "Cypher",
10522
10559
  "aliases": ["cql"],
10523
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/cypher.mjs"))
10560
+ "import": (() => __sliccGrammar("langs", "cypher"))
10524
10561
  },
10525
10562
  {
10526
10563
  "id": "d",
10527
10564
  "name": "D",
10528
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/d.mjs"))
10565
+ "import": (() => __sliccGrammar("langs", "d"))
10529
10566
  },
10530
10567
  {
10531
10568
  "id": "dart",
10532
10569
  "name": "Dart",
10533
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/dart.mjs"))
10570
+ "import": (() => __sliccGrammar("langs", "dart"))
10534
10571
  },
10535
10572
  {
10536
10573
  "id": "dax",
10537
10574
  "name": "DAX",
10538
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/dax.mjs"))
10575
+ "import": (() => __sliccGrammar("langs", "dax"))
10539
10576
  },
10540
10577
  {
10541
10578
  "id": "desktop",
10542
10579
  "name": "Desktop",
10543
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/desktop.mjs"))
10580
+ "import": (() => __sliccGrammar("langs", "desktop"))
10544
10581
  },
10545
10582
  {
10546
10583
  "id": "diff",
@@ -10551,65 +10588,65 @@ var bundledLanguagesInfo = [
10551
10588
  "id": "docker",
10552
10589
  "name": "Dockerfile",
10553
10590
  "aliases": ["dockerfile"],
10554
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/docker.mjs"))
10591
+ "import": (() => __sliccGrammar("langs", "docker"))
10555
10592
  },
10556
10593
  {
10557
10594
  "id": "dotenv",
10558
10595
  "name": "dotEnv",
10559
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/dotenv.mjs"))
10596
+ "import": (() => __sliccGrammar("langs", "dotenv"))
10560
10597
  },
10561
10598
  {
10562
10599
  "id": "dream-maker",
10563
10600
  "name": "Dream Maker",
10564
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/dream-maker.mjs"))
10601
+ "import": (() => __sliccGrammar("langs", "dream-maker"))
10565
10602
  },
10566
10603
  {
10567
10604
  "id": "edge",
10568
10605
  "name": "Edge",
10569
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/edge.mjs"))
10606
+ "import": (() => __sliccGrammar("langs", "edge"))
10570
10607
  },
10571
10608
  {
10572
10609
  "id": "elixir",
10573
10610
  "name": "Elixir",
10574
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/elixir.mjs"))
10611
+ "import": (() => __sliccGrammar("langs", "elixir"))
10575
10612
  },
10576
10613
  {
10577
10614
  "id": "elm",
10578
10615
  "name": "Elm",
10579
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/elm.mjs"))
10616
+ "import": (() => __sliccGrammar("langs", "elm"))
10580
10617
  },
10581
10618
  {
10582
10619
  "id": "emacs-lisp",
10583
10620
  "name": "Emacs Lisp",
10584
10621
  "aliases": ["elisp"],
10585
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/emacs-lisp.mjs"))
10622
+ "import": (() => __sliccGrammar("langs", "emacs-lisp"))
10586
10623
  },
10587
10624
  {
10588
10625
  "id": "erb",
10589
10626
  "name": "ERB",
10590
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/erb.mjs"))
10627
+ "import": (() => __sliccGrammar("langs", "erb"))
10591
10628
  },
10592
10629
  {
10593
10630
  "id": "erlang",
10594
10631
  "name": "Erlang",
10595
10632
  "aliases": ["erl"],
10596
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/erlang.mjs"))
10633
+ "import": (() => __sliccGrammar("langs", "erlang"))
10597
10634
  },
10598
10635
  {
10599
10636
  "id": "fennel",
10600
10637
  "name": "Fennel",
10601
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/fennel.mjs"))
10638
+ "import": (() => __sliccGrammar("langs", "fennel"))
10602
10639
  },
10603
10640
  {
10604
10641
  "id": "fish",
10605
10642
  "name": "Fish",
10606
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/fish.mjs"))
10643
+ "import": (() => __sliccGrammar("langs", "fish"))
10607
10644
  },
10608
10645
  {
10609
10646
  "id": "fluent",
10610
10647
  "name": "Fluent",
10611
10648
  "aliases": ["ftl"],
10612
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/fluent.mjs"))
10649
+ "import": (() => __sliccGrammar("langs", "fluent"))
10613
10650
  },
10614
10651
  {
10615
10652
  "id": "fortran-fixed-form",
@@ -10619,7 +10656,7 @@ var bundledLanguagesInfo = [
10619
10656
  "for",
10620
10657
  "f77"
10621
10658
  ],
10622
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/fortran-fixed-form.mjs"))
10659
+ "import": (() => __sliccGrammar("langs", "fortran-fixed-form"))
10623
10660
  },
10624
10661
  {
10625
10662
  "id": "fortran-free-form",
@@ -10631,140 +10668,140 @@ var bundledLanguagesInfo = [
10631
10668
  "f08",
10632
10669
  "f18"
10633
10670
  ],
10634
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/fortran-free-form.mjs"))
10671
+ "import": (() => __sliccGrammar("langs", "fortran-free-form"))
10635
10672
  },
10636
10673
  {
10637
10674
  "id": "fsharp",
10638
10675
  "name": "F#",
10639
10676
  "aliases": ["f#", "fs"],
10640
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/fsharp.mjs"))
10677
+ "import": (() => __sliccGrammar("langs", "fsharp"))
10641
10678
  },
10642
10679
  {
10643
10680
  "id": "gdresource",
10644
10681
  "name": "GDResource",
10645
10682
  "aliases": ["tscn", "tres"],
10646
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/gdresource.mjs"))
10683
+ "import": (() => __sliccGrammar("langs", "gdresource"))
10647
10684
  },
10648
10685
  {
10649
10686
  "id": "gdscript",
10650
10687
  "name": "GDScript",
10651
10688
  "aliases": ["gd"],
10652
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/gdscript.mjs"))
10689
+ "import": (() => __sliccGrammar("langs", "gdscript"))
10653
10690
  },
10654
10691
  {
10655
10692
  "id": "gdshader",
10656
10693
  "name": "GDShader",
10657
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/gdshader.mjs"))
10694
+ "import": (() => __sliccGrammar("langs", "gdshader"))
10658
10695
  },
10659
10696
  {
10660
10697
  "id": "genie",
10661
10698
  "name": "Genie",
10662
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/genie.mjs"))
10699
+ "import": (() => __sliccGrammar("langs", "genie"))
10663
10700
  },
10664
10701
  {
10665
10702
  "id": "gherkin",
10666
10703
  "name": "Gherkin",
10667
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/gherkin.mjs"))
10704
+ "import": (() => __sliccGrammar("langs", "gherkin"))
10668
10705
  },
10669
10706
  {
10670
10707
  "id": "git-commit",
10671
10708
  "name": "Git Commit Message",
10672
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/git-commit.mjs"))
10709
+ "import": (() => __sliccGrammar("langs", "git-commit"))
10673
10710
  },
10674
10711
  {
10675
10712
  "id": "git-rebase",
10676
10713
  "name": "Git Rebase Message",
10677
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/git-rebase.mjs"))
10714
+ "import": (() => __sliccGrammar("langs", "git-rebase"))
10678
10715
  },
10679
10716
  {
10680
10717
  "id": "gleam",
10681
10718
  "name": "Gleam",
10682
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/gleam.mjs"))
10719
+ "import": (() => __sliccGrammar("langs", "gleam"))
10683
10720
  },
10684
10721
  {
10685
10722
  "id": "glimmer-js",
10686
10723
  "name": "Glimmer JS",
10687
10724
  "aliases": ["gjs"],
10688
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/glimmer-js.mjs"))
10725
+ "import": (() => __sliccGrammar("langs", "glimmer-js"))
10689
10726
  },
10690
10727
  {
10691
10728
  "id": "glimmer-ts",
10692
10729
  "name": "Glimmer TS",
10693
10730
  "aliases": ["gts"],
10694
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/glimmer-ts.mjs"))
10731
+ "import": (() => __sliccGrammar("langs", "glimmer-ts"))
10695
10732
  },
10696
10733
  {
10697
10734
  "id": "glsl",
10698
10735
  "name": "GLSL",
10699
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/glsl.mjs"))
10736
+ "import": (() => __sliccGrammar("langs", "glsl"))
10700
10737
  },
10701
10738
  {
10702
10739
  "id": "gn",
10703
10740
  "name": "GN",
10704
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/gn.mjs"))
10741
+ "import": (() => __sliccGrammar("langs", "gn"))
10705
10742
  },
10706
10743
  {
10707
10744
  "id": "gnuplot",
10708
10745
  "name": "Gnuplot",
10709
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/gnuplot.mjs"))
10746
+ "import": (() => __sliccGrammar("langs", "gnuplot"))
10710
10747
  },
10711
10748
  {
10712
10749
  "id": "go",
10713
10750
  "name": "Go",
10714
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/go.mjs"))
10751
+ "import": (() => __sliccGrammar("langs", "go"))
10715
10752
  },
10716
10753
  {
10717
10754
  "id": "graphql",
10718
10755
  "name": "GraphQL",
10719
10756
  "aliases": ["gql"],
10720
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/graphql.mjs"))
10757
+ "import": (() => __sliccGrammar("langs", "graphql"))
10721
10758
  },
10722
10759
  {
10723
10760
  "id": "groovy",
10724
10761
  "name": "Groovy",
10725
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/groovy.mjs"))
10762
+ "import": (() => __sliccGrammar("langs", "groovy"))
10726
10763
  },
10727
10764
  {
10728
10765
  "id": "hack",
10729
10766
  "name": "Hack",
10730
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/hack.mjs"))
10767
+ "import": (() => __sliccGrammar("langs", "hack"))
10731
10768
  },
10732
10769
  {
10733
10770
  "id": "haml",
10734
10771
  "name": "Ruby Haml",
10735
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/haml.mjs"))
10772
+ "import": (() => __sliccGrammar("langs", "haml"))
10736
10773
  },
10737
10774
  {
10738
10775
  "id": "handlebars",
10739
10776
  "name": "Handlebars",
10740
10777
  "aliases": ["hbs"],
10741
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/handlebars.mjs"))
10778
+ "import": (() => __sliccGrammar("langs", "handlebars"))
10742
10779
  },
10743
10780
  {
10744
10781
  "id": "haskell",
10745
10782
  "name": "Haskell",
10746
10783
  "aliases": ["hs"],
10747
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/haskell.mjs"))
10784
+ "import": (() => __sliccGrammar("langs", "haskell"))
10748
10785
  },
10749
10786
  {
10750
10787
  "id": "haxe",
10751
10788
  "name": "Haxe",
10752
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/haxe.mjs"))
10789
+ "import": (() => __sliccGrammar("langs", "haxe"))
10753
10790
  },
10754
10791
  {
10755
10792
  "id": "hcl",
10756
10793
  "name": "HashiCorp HCL",
10757
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/hcl.mjs"))
10794
+ "import": (() => __sliccGrammar("langs", "hcl"))
10758
10795
  },
10759
10796
  {
10760
10797
  "id": "hjson",
10761
10798
  "name": "Hjson",
10762
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/hjson.mjs"))
10799
+ "import": (() => __sliccGrammar("langs", "hjson"))
10763
10800
  },
10764
10801
  {
10765
10802
  "id": "hlsl",
10766
10803
  "name": "HLSL",
10767
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/hlsl.mjs"))
10804
+ "import": (() => __sliccGrammar("langs", "hlsl"))
10768
10805
  },
10769
10806
  {
10770
10807
  "id": "html",
@@ -10774,43 +10811,43 @@ var bundledLanguagesInfo = [
10774
10811
  {
10775
10812
  "id": "html-derivative",
10776
10813
  "name": "HTML (Derivative)",
10777
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/html-derivative.mjs"))
10814
+ "import": (() => __sliccGrammar("langs", "html-derivative"))
10778
10815
  },
10779
10816
  {
10780
10817
  "id": "http",
10781
10818
  "name": "HTTP",
10782
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/http.mjs"))
10819
+ "import": (() => __sliccGrammar("langs", "http"))
10783
10820
  },
10784
10821
  {
10785
10822
  "id": "hurl",
10786
10823
  "name": "Hurl",
10787
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/hurl.mjs"))
10824
+ "import": (() => __sliccGrammar("langs", "hurl"))
10788
10825
  },
10789
10826
  {
10790
10827
  "id": "hxml",
10791
10828
  "name": "HXML",
10792
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/hxml.mjs"))
10829
+ "import": (() => __sliccGrammar("langs", "hxml"))
10793
10830
  },
10794
10831
  {
10795
10832
  "id": "hy",
10796
10833
  "name": "Hy",
10797
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/hy.mjs"))
10834
+ "import": (() => __sliccGrammar("langs", "hy"))
10798
10835
  },
10799
10836
  {
10800
10837
  "id": "imba",
10801
10838
  "name": "Imba",
10802
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/imba.mjs"))
10839
+ "import": (() => __sliccGrammar("langs", "imba"))
10803
10840
  },
10804
10841
  {
10805
10842
  "id": "ini",
10806
10843
  "name": "INI",
10807
10844
  "aliases": ["properties"],
10808
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/ini.mjs"))
10845
+ "import": (() => __sliccGrammar("langs", "ini"))
10809
10846
  },
10810
10847
  {
10811
10848
  "id": "java",
10812
10849
  "name": "Java",
10813
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/java.mjs"))
10850
+ "import": (() => __sliccGrammar("langs", "java"))
10814
10851
  },
10815
10852
  {
10816
10853
  "id": "javascript",
@@ -10825,12 +10862,12 @@ var bundledLanguagesInfo = [
10825
10862
  {
10826
10863
  "id": "jinja",
10827
10864
  "name": "Jinja",
10828
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/jinja.mjs"))
10865
+ "import": (() => __sliccGrammar("langs", "jinja"))
10829
10866
  },
10830
10867
  {
10831
10868
  "id": "jison",
10832
10869
  "name": "Jison",
10833
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/jison.mjs"))
10870
+ "import": (() => __sliccGrammar("langs", "jison"))
10834
10871
  },
10835
10872
  {
10836
10873
  "id": "json",
@@ -10840,7 +10877,7 @@ var bundledLanguagesInfo = [
10840
10877
  {
10841
10878
  "id": "json5",
10842
10879
  "name": "JSON5",
10843
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/json5.mjs"))
10880
+ "import": (() => __sliccGrammar("langs", "json5"))
10844
10881
  },
10845
10882
  {
10846
10883
  "id": "jsonc",
@@ -10850,18 +10887,18 @@ var bundledLanguagesInfo = [
10850
10887
  {
10851
10888
  "id": "jsonl",
10852
10889
  "name": "JSON Lines",
10853
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/jsonl.mjs"))
10890
+ "import": (() => __sliccGrammar("langs", "jsonl"))
10854
10891
  },
10855
10892
  {
10856
10893
  "id": "jsonnet",
10857
10894
  "name": "Jsonnet",
10858
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/jsonnet.mjs"))
10895
+ "import": (() => __sliccGrammar("langs", "jsonnet"))
10859
10896
  },
10860
10897
  {
10861
10898
  "id": "jssm",
10862
10899
  "name": "JSSM",
10863
10900
  "aliases": ["fsl"],
10864
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/jssm.mjs"))
10901
+ "import": (() => __sliccGrammar("langs", "jssm"))
10865
10902
  },
10866
10903
  {
10867
10904
  "id": "jsx",
@@ -10872,82 +10909,82 @@ var bundledLanguagesInfo = [
10872
10909
  "id": "julia",
10873
10910
  "name": "Julia",
10874
10911
  "aliases": ["jl"],
10875
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/julia.mjs"))
10912
+ "import": (() => __sliccGrammar("langs", "julia"))
10876
10913
  },
10877
10914
  {
10878
10915
  "id": "just",
10879
10916
  "name": "Just",
10880
10917
  "aliases": ["justfile"],
10881
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/just.mjs"))
10918
+ "import": (() => __sliccGrammar("langs", "just"))
10882
10919
  },
10883
10920
  {
10884
10921
  "id": "kdl",
10885
10922
  "name": "KDL",
10886
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/kdl.mjs"))
10923
+ "import": (() => __sliccGrammar("langs", "kdl"))
10887
10924
  },
10888
10925
  {
10889
10926
  "id": "kotlin",
10890
10927
  "name": "Kotlin",
10891
10928
  "aliases": ["kt", "kts"],
10892
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/kotlin.mjs"))
10929
+ "import": (() => __sliccGrammar("langs", "kotlin"))
10893
10930
  },
10894
10931
  {
10895
10932
  "id": "kusto",
10896
10933
  "name": "Kusto",
10897
10934
  "aliases": ["kql"],
10898
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/kusto.mjs"))
10935
+ "import": (() => __sliccGrammar("langs", "kusto"))
10899
10936
  },
10900
10937
  {
10901
10938
  "id": "latex",
10902
10939
  "name": "LaTeX",
10903
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/latex.mjs"))
10940
+ "import": (() => __sliccGrammar("langs", "latex"))
10904
10941
  },
10905
10942
  {
10906
10943
  "id": "lean",
10907
10944
  "name": "Lean 4",
10908
10945
  "aliases": ["lean4"],
10909
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/lean.mjs"))
10946
+ "import": (() => __sliccGrammar("langs", "lean"))
10910
10947
  },
10911
10948
  {
10912
10949
  "id": "less",
10913
10950
  "name": "Less",
10914
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/less.mjs"))
10951
+ "import": (() => __sliccGrammar("langs", "less"))
10915
10952
  },
10916
10953
  {
10917
10954
  "id": "liquid",
10918
10955
  "name": "Liquid",
10919
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/liquid.mjs"))
10956
+ "import": (() => __sliccGrammar("langs", "liquid"))
10920
10957
  },
10921
10958
  {
10922
10959
  "id": "llvm",
10923
10960
  "name": "LLVM IR",
10924
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/llvm.mjs"))
10961
+ "import": (() => __sliccGrammar("langs", "llvm"))
10925
10962
  },
10926
10963
  {
10927
10964
  "id": "log",
10928
10965
  "name": "Log file",
10929
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/log.mjs"))
10966
+ "import": (() => __sliccGrammar("langs", "log"))
10930
10967
  },
10931
10968
  {
10932
10969
  "id": "logo",
10933
10970
  "name": "Logo",
10934
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/logo.mjs"))
10971
+ "import": (() => __sliccGrammar("langs", "logo"))
10935
10972
  },
10936
10973
  {
10937
10974
  "id": "lua",
10938
10975
  "name": "Lua",
10939
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/lua.mjs"))
10976
+ "import": (() => __sliccGrammar("langs", "lua"))
10940
10977
  },
10941
10978
  {
10942
10979
  "id": "luau",
10943
10980
  "name": "Luau",
10944
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/luau.mjs"))
10981
+ "import": (() => __sliccGrammar("langs", "luau"))
10945
10982
  },
10946
10983
  {
10947
10984
  "id": "make",
10948
10985
  "name": "Makefile",
10949
10986
  "aliases": ["makefile"],
10950
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/make.mjs"))
10987
+ "import": (() => __sliccGrammar("langs", "make"))
10951
10988
  },
10952
10989
  {
10953
10990
  "id": "markdown",
@@ -10958,171 +10995,171 @@ var bundledLanguagesInfo = [
10958
10995
  {
10959
10996
  "id": "marko",
10960
10997
  "name": "Marko",
10961
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/marko.mjs"))
10998
+ "import": (() => __sliccGrammar("langs", "marko"))
10962
10999
  },
10963
11000
  {
10964
11001
  "id": "matlab",
10965
11002
  "name": "MATLAB",
10966
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/matlab.mjs"))
11003
+ "import": (() => __sliccGrammar("langs", "matlab"))
10967
11004
  },
10968
11005
  {
10969
11006
  "id": "mdc",
10970
11007
  "name": "MDC",
10971
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/mdc.mjs"))
11008
+ "import": (() => __sliccGrammar("langs", "mdc"))
10972
11009
  },
10973
11010
  {
10974
11011
  "id": "mdx",
10975
11012
  "name": "MDX",
10976
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/mdx.mjs"))
11013
+ "import": (() => __sliccGrammar("langs", "mdx"))
10977
11014
  },
10978
11015
  {
10979
11016
  "id": "mermaid",
10980
11017
  "name": "Mermaid",
10981
11018
  "aliases": ["mmd"],
10982
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/mermaid.mjs"))
11019
+ "import": (() => __sliccGrammar("langs", "mermaid"))
10983
11020
  },
10984
11021
  {
10985
11022
  "id": "mipsasm",
10986
11023
  "name": "MIPS Assembly",
10987
11024
  "aliases": ["mips"],
10988
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/mipsasm.mjs"))
11025
+ "import": (() => __sliccGrammar("langs", "mipsasm"))
10989
11026
  },
10990
11027
  {
10991
11028
  "id": "mojo",
10992
11029
  "name": "Mojo",
10993
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/mojo.mjs"))
11030
+ "import": (() => __sliccGrammar("langs", "mojo"))
10994
11031
  },
10995
11032
  {
10996
11033
  "id": "moonbit",
10997
11034
  "name": "MoonBit",
10998
11035
  "aliases": ["mbt", "mbti"],
10999
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/moonbit.mjs"))
11036
+ "import": (() => __sliccGrammar("langs", "moonbit"))
11000
11037
  },
11001
11038
  {
11002
11039
  "id": "move",
11003
11040
  "name": "Move",
11004
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/move.mjs"))
11041
+ "import": (() => __sliccGrammar("langs", "move"))
11005
11042
  },
11006
11043
  {
11007
11044
  "id": "narrat",
11008
11045
  "name": "Narrat Language",
11009
11046
  "aliases": ["nar"],
11010
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/narrat.mjs"))
11047
+ "import": (() => __sliccGrammar("langs", "narrat"))
11011
11048
  },
11012
11049
  {
11013
11050
  "id": "nextflow",
11014
11051
  "name": "Nextflow",
11015
11052
  "aliases": ["nf"],
11016
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/nextflow.mjs"))
11053
+ "import": (() => __sliccGrammar("langs", "nextflow"))
11017
11054
  },
11018
11055
  {
11019
11056
  "id": "nextflow-groovy",
11020
11057
  "name": "Nextflow Groovy",
11021
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/nextflow-groovy.mjs"))
11058
+ "import": (() => __sliccGrammar("langs", "nextflow-groovy"))
11022
11059
  },
11023
11060
  {
11024
11061
  "id": "nginx",
11025
11062
  "name": "Nginx",
11026
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/nginx.mjs"))
11063
+ "import": (() => __sliccGrammar("langs", "nginx"))
11027
11064
  },
11028
11065
  {
11029
11066
  "id": "nim",
11030
11067
  "name": "Nim",
11031
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/nim.mjs"))
11068
+ "import": (() => __sliccGrammar("langs", "nim"))
11032
11069
  },
11033
11070
  {
11034
11071
  "id": "nix",
11035
11072
  "name": "Nix",
11036
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/nix.mjs"))
11073
+ "import": (() => __sliccGrammar("langs", "nix"))
11037
11074
  },
11038
11075
  {
11039
11076
  "id": "nsis",
11040
11077
  "name": "NSIS",
11041
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/nsis.mjs"))
11078
+ "import": (() => __sliccGrammar("langs", "nsis"))
11042
11079
  },
11043
11080
  {
11044
11081
  "id": "nushell",
11045
11082
  "name": "nushell",
11046
11083
  "aliases": ["nu"],
11047
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/nushell.mjs"))
11084
+ "import": (() => __sliccGrammar("langs", "nushell"))
11048
11085
  },
11049
11086
  {
11050
11087
  "id": "objective-c",
11051
11088
  "name": "Objective-C",
11052
11089
  "aliases": ["objc"],
11053
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/objective-c.mjs"))
11090
+ "import": (() => __sliccGrammar("langs", "objective-c"))
11054
11091
  },
11055
11092
  {
11056
11093
  "id": "objective-cpp",
11057
11094
  "name": "Objective-C++",
11058
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/objective-cpp.mjs"))
11095
+ "import": (() => __sliccGrammar("langs", "objective-cpp"))
11059
11096
  },
11060
11097
  {
11061
11098
  "id": "ocaml",
11062
11099
  "name": "OCaml",
11063
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/ocaml.mjs"))
11100
+ "import": (() => __sliccGrammar("langs", "ocaml"))
11064
11101
  },
11065
11102
  {
11066
11103
  "id": "odin",
11067
11104
  "name": "Odin",
11068
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/odin.mjs"))
11105
+ "import": (() => __sliccGrammar("langs", "odin"))
11069
11106
  },
11070
11107
  {
11071
11108
  "id": "openscad",
11072
11109
  "name": "OpenSCAD",
11073
11110
  "aliases": ["scad"],
11074
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/openscad.mjs"))
11111
+ "import": (() => __sliccGrammar("langs", "openscad"))
11075
11112
  },
11076
11113
  {
11077
11114
  "id": "org",
11078
11115
  "name": "Org Markup",
11079
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/org.mjs"))
11116
+ "import": (() => __sliccGrammar("langs", "org"))
11080
11117
  },
11081
11118
  {
11082
11119
  "id": "pascal",
11083
11120
  "name": "Pascal",
11084
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/pascal.mjs"))
11121
+ "import": (() => __sliccGrammar("langs", "pascal"))
11085
11122
  },
11086
11123
  {
11087
11124
  "id": "perl",
11088
11125
  "name": "Perl",
11089
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/perl.mjs"))
11126
+ "import": (() => __sliccGrammar("langs", "perl"))
11090
11127
  },
11091
11128
  {
11092
11129
  "id": "php",
11093
11130
  "name": "PHP",
11094
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/php.mjs"))
11131
+ "import": (() => __sliccGrammar("langs", "php"))
11095
11132
  },
11096
11133
  {
11097
11134
  "id": "pkl",
11098
11135
  "name": "Pkl",
11099
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/pkl.mjs"))
11136
+ "import": (() => __sliccGrammar("langs", "pkl"))
11100
11137
  },
11101
11138
  {
11102
11139
  "id": "plsql",
11103
11140
  "name": "PL/SQL",
11104
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/plsql.mjs"))
11141
+ "import": (() => __sliccGrammar("langs", "plsql"))
11105
11142
  },
11106
11143
  {
11107
11144
  "id": "po",
11108
11145
  "name": "Gettext PO",
11109
11146
  "aliases": ["pot", "potx"],
11110
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/po.mjs"))
11147
+ "import": (() => __sliccGrammar("langs", "po"))
11111
11148
  },
11112
11149
  {
11113
11150
  "id": "polar",
11114
11151
  "name": "Polar",
11115
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/polar.mjs"))
11152
+ "import": (() => __sliccGrammar("langs", "polar"))
11116
11153
  },
11117
11154
  {
11118
11155
  "id": "postcss",
11119
11156
  "name": "PostCSS",
11120
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/postcss.mjs"))
11157
+ "import": (() => __sliccGrammar("langs", "postcss"))
11121
11158
  },
11122
11159
  {
11123
11160
  "id": "powerquery",
11124
11161
  "name": "PowerQuery",
11125
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/powerquery.mjs"))
11162
+ "import": (() => __sliccGrammar("langs", "powerquery"))
11126
11163
  },
11127
11164
  {
11128
11165
  "id": "powershell",
@@ -11132,39 +11169,39 @@ var bundledLanguagesInfo = [
11132
11169
  "ps1",
11133
11170
  "pwsh"
11134
11171
  ],
11135
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/powershell.mjs"))
11172
+ "import": (() => __sliccGrammar("langs", "powershell"))
11136
11173
  },
11137
11174
  {
11138
11175
  "id": "prisma",
11139
11176
  "name": "Prisma",
11140
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/prisma.mjs"))
11177
+ "import": (() => __sliccGrammar("langs", "prisma"))
11141
11178
  },
11142
11179
  {
11143
11180
  "id": "prolog",
11144
11181
  "name": "Prolog",
11145
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/prolog.mjs"))
11182
+ "import": (() => __sliccGrammar("langs", "prolog"))
11146
11183
  },
11147
11184
  {
11148
11185
  "id": "proto",
11149
11186
  "name": "Protocol Buffer 3",
11150
11187
  "aliases": ["protobuf"],
11151
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/proto.mjs"))
11188
+ "import": (() => __sliccGrammar("langs", "proto"))
11152
11189
  },
11153
11190
  {
11154
11191
  "id": "pug",
11155
11192
  "name": "Pug",
11156
11193
  "aliases": ["jade"],
11157
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/pug.mjs"))
11194
+ "import": (() => __sliccGrammar("langs", "pug"))
11158
11195
  },
11159
11196
  {
11160
11197
  "id": "puppet",
11161
11198
  "name": "Puppet",
11162
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/puppet.mjs"))
11199
+ "import": (() => __sliccGrammar("langs", "puppet"))
11163
11200
  },
11164
11201
  {
11165
11202
  "id": "purescript",
11166
11203
  "name": "PureScript",
11167
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/purescript.mjs"))
11204
+ "import": (() => __sliccGrammar("langs", "purescript"))
11168
11205
  },
11169
11206
  {
11170
11207
  "id": "python",
@@ -11175,129 +11212,129 @@ var bundledLanguagesInfo = [
11175
11212
  {
11176
11213
  "id": "qml",
11177
11214
  "name": "QML",
11178
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/qml.mjs"))
11215
+ "import": (() => __sliccGrammar("langs", "qml"))
11179
11216
  },
11180
11217
  {
11181
11218
  "id": "qmldir",
11182
11219
  "name": "QML Directory",
11183
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/qmldir.mjs"))
11220
+ "import": (() => __sliccGrammar("langs", "qmldir"))
11184
11221
  },
11185
11222
  {
11186
11223
  "id": "qss",
11187
11224
  "name": "Qt Style Sheets",
11188
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/qss.mjs"))
11225
+ "import": (() => __sliccGrammar("langs", "qss"))
11189
11226
  },
11190
11227
  {
11191
11228
  "id": "r",
11192
11229
  "name": "R",
11193
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/r.mjs"))
11230
+ "import": (() => __sliccGrammar("langs", "r"))
11194
11231
  },
11195
11232
  {
11196
11233
  "id": "racket",
11197
11234
  "name": "Racket",
11198
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/racket.mjs"))
11235
+ "import": (() => __sliccGrammar("langs", "racket"))
11199
11236
  },
11200
11237
  {
11201
11238
  "id": "raku",
11202
11239
  "name": "Raku",
11203
11240
  "aliases": ["perl6"],
11204
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/raku.mjs"))
11241
+ "import": (() => __sliccGrammar("langs", "raku"))
11205
11242
  },
11206
11243
  {
11207
11244
  "id": "razor",
11208
11245
  "name": "ASP.NET Razor",
11209
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/razor.mjs"))
11246
+ "import": (() => __sliccGrammar("langs", "razor"))
11210
11247
  },
11211
11248
  {
11212
11249
  "id": "rbs",
11213
11250
  "name": "RBS",
11214
11251
  "aliases": ["ruby-signature"],
11215
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/rbs.mjs"))
11252
+ "import": (() => __sliccGrammar("langs", "rbs"))
11216
11253
  },
11217
11254
  {
11218
11255
  "id": "reg",
11219
11256
  "name": "Windows Registry Script",
11220
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/reg.mjs"))
11257
+ "import": (() => __sliccGrammar("langs", "reg"))
11221
11258
  },
11222
11259
  {
11223
11260
  "id": "regexp",
11224
11261
  "name": "RegExp",
11225
11262
  "aliases": ["regex"],
11226
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/regexp.mjs"))
11263
+ "import": (() => __sliccGrammar("langs", "regexp"))
11227
11264
  },
11228
11265
  {
11229
11266
  "id": "rel",
11230
11267
  "name": "Rel",
11231
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/rel.mjs"))
11268
+ "import": (() => __sliccGrammar("langs", "rel"))
11232
11269
  },
11233
11270
  {
11234
11271
  "id": "riscv",
11235
11272
  "name": "RISC-V",
11236
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/riscv.mjs"))
11273
+ "import": (() => __sliccGrammar("langs", "riscv"))
11237
11274
  },
11238
11275
  {
11239
11276
  "id": "ron",
11240
11277
  "name": "RON",
11241
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/ron.mjs"))
11278
+ "import": (() => __sliccGrammar("langs", "ron"))
11242
11279
  },
11243
11280
  {
11244
11281
  "id": "rosmsg",
11245
11282
  "name": "ROS Interface",
11246
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/rosmsg.mjs"))
11283
+ "import": (() => __sliccGrammar("langs", "rosmsg"))
11247
11284
  },
11248
11285
  {
11249
11286
  "id": "rst",
11250
11287
  "name": "reStructuredText",
11251
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/rst.mjs"))
11288
+ "import": (() => __sliccGrammar("langs", "rst"))
11252
11289
  },
11253
11290
  {
11254
11291
  "id": "ruby",
11255
11292
  "name": "Ruby",
11256
11293
  "aliases": ["rb"],
11257
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/ruby.mjs"))
11294
+ "import": (() => __sliccGrammar("langs", "ruby"))
11258
11295
  },
11259
11296
  {
11260
11297
  "id": "rust",
11261
11298
  "name": "Rust",
11262
11299
  "aliases": ["rs"],
11263
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/rust.mjs"))
11300
+ "import": (() => __sliccGrammar("langs", "rust"))
11264
11301
  },
11265
11302
  {
11266
11303
  "id": "sas",
11267
11304
  "name": "SAS",
11268
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/sas.mjs"))
11305
+ "import": (() => __sliccGrammar("langs", "sas"))
11269
11306
  },
11270
11307
  {
11271
11308
  "id": "sass",
11272
11309
  "name": "Sass",
11273
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/sass.mjs"))
11310
+ "import": (() => __sliccGrammar("langs", "sass"))
11274
11311
  },
11275
11312
  {
11276
11313
  "id": "scala",
11277
11314
  "name": "Scala",
11278
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/scala.mjs"))
11315
+ "import": (() => __sliccGrammar("langs", "scala"))
11279
11316
  },
11280
11317
  {
11281
11318
  "id": "scheme",
11282
11319
  "name": "Scheme",
11283
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/scheme.mjs"))
11320
+ "import": (() => __sliccGrammar("langs", "scheme"))
11284
11321
  },
11285
11322
  {
11286
11323
  "id": "scss",
11287
11324
  "name": "SCSS",
11288
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/scss.mjs"))
11325
+ "import": (() => __sliccGrammar("langs", "scss"))
11289
11326
  },
11290
11327
  {
11291
11328
  "id": "sdbl",
11292
11329
  "name": "1C (Query)",
11293
11330
  "aliases": ["1c-query"],
11294
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/sdbl.mjs"))
11331
+ "import": (() => __sliccGrammar("langs", "sdbl"))
11295
11332
  },
11296
11333
  {
11297
11334
  "id": "shaderlab",
11298
11335
  "name": "ShaderLab",
11299
11336
  "aliases": ["shader"],
11300
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/shaderlab.mjs"))
11337
+ "import": (() => __sliccGrammar("langs", "shaderlab"))
11301
11338
  },
11302
11339
  {
11303
11340
  "id": "shellscript",
@@ -11314,39 +11351,39 @@ var bundledLanguagesInfo = [
11314
11351
  "id": "shellsession",
11315
11352
  "name": "Shell Session",
11316
11353
  "aliases": ["console"],
11317
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/shellsession.mjs"))
11354
+ "import": (() => __sliccGrammar("langs", "shellsession"))
11318
11355
  },
11319
11356
  {
11320
11357
  "id": "smalltalk",
11321
11358
  "name": "GNU Smalltalk",
11322
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/smalltalk.mjs"))
11359
+ "import": (() => __sliccGrammar("langs", "smalltalk"))
11323
11360
  },
11324
11361
  {
11325
11362
  "id": "smithy",
11326
11363
  "name": "Smithy",
11327
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/smithy.mjs"))
11364
+ "import": (() => __sliccGrammar("langs", "smithy"))
11328
11365
  },
11329
11366
  {
11330
11367
  "id": "solidity",
11331
11368
  "name": "Solidity",
11332
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/solidity.mjs"))
11369
+ "import": (() => __sliccGrammar("langs", "solidity"))
11333
11370
  },
11334
11371
  {
11335
11372
  "id": "soy",
11336
11373
  "name": "Closure Templates",
11337
11374
  "aliases": ["closure-templates"],
11338
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/soy.mjs"))
11375
+ "import": (() => __sliccGrammar("langs", "soy"))
11339
11376
  },
11340
11377
  {
11341
11378
  "id": "sparql",
11342
11379
  "name": "SPARQL",
11343
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/sparql.mjs"))
11380
+ "import": (() => __sliccGrammar("langs", "sparql"))
11344
11381
  },
11345
11382
  {
11346
11383
  "id": "splunk",
11347
11384
  "name": "Splunk Query Language",
11348
11385
  "aliases": ["spl"],
11349
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/splunk.mjs"))
11386
+ "import": (() => __sliccGrammar("langs", "splunk"))
11350
11387
  },
11351
11388
  {
11352
11389
  "id": "sql",
@@ -11356,76 +11393,76 @@ var bundledLanguagesInfo = [
11356
11393
  {
11357
11394
  "id": "ssh-config",
11358
11395
  "name": "SSH Config",
11359
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/ssh-config.mjs"))
11396
+ "import": (() => __sliccGrammar("langs", "ssh-config"))
11360
11397
  },
11361
11398
  {
11362
11399
  "id": "stata",
11363
11400
  "name": "Stata",
11364
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/stata.mjs"))
11401
+ "import": (() => __sliccGrammar("langs", "stata"))
11365
11402
  },
11366
11403
  {
11367
11404
  "id": "stylus",
11368
11405
  "name": "Stylus",
11369
11406
  "aliases": ["styl"],
11370
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/stylus.mjs"))
11407
+ "import": (() => __sliccGrammar("langs", "stylus"))
11371
11408
  },
11372
11409
  {
11373
11410
  "id": "surrealql",
11374
11411
  "name": "SurrealQL",
11375
11412
  "aliases": ["surql"],
11376
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/surrealql.mjs"))
11413
+ "import": (() => __sliccGrammar("langs", "surrealql"))
11377
11414
  },
11378
11415
  {
11379
11416
  "id": "svelte",
11380
11417
  "name": "Svelte",
11381
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/svelte.mjs"))
11418
+ "import": (() => __sliccGrammar("langs", "svelte"))
11382
11419
  },
11383
11420
  {
11384
11421
  "id": "swift",
11385
11422
  "name": "Swift",
11386
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/swift.mjs"))
11423
+ "import": (() => __sliccGrammar("langs", "swift"))
11387
11424
  },
11388
11425
  {
11389
11426
  "id": "system-verilog",
11390
11427
  "name": "SystemVerilog",
11391
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/system-verilog.mjs"))
11428
+ "import": (() => __sliccGrammar("langs", "system-verilog"))
11392
11429
  },
11393
11430
  {
11394
11431
  "id": "systemd",
11395
11432
  "name": "Systemd Units",
11396
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/systemd.mjs"))
11433
+ "import": (() => __sliccGrammar("langs", "systemd"))
11397
11434
  },
11398
11435
  {
11399
11436
  "id": "talonscript",
11400
11437
  "name": "TalonScript",
11401
11438
  "aliases": ["talon"],
11402
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/talonscript.mjs"))
11439
+ "import": (() => __sliccGrammar("langs", "talonscript"))
11403
11440
  },
11404
11441
  {
11405
11442
  "id": "tasl",
11406
11443
  "name": "Tasl",
11407
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/tasl.mjs"))
11444
+ "import": (() => __sliccGrammar("langs", "tasl"))
11408
11445
  },
11409
11446
  {
11410
11447
  "id": "tcl",
11411
11448
  "name": "Tcl",
11412
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/tcl.mjs"))
11449
+ "import": (() => __sliccGrammar("langs", "tcl"))
11413
11450
  },
11414
11451
  {
11415
11452
  "id": "templ",
11416
11453
  "name": "Templ",
11417
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/templ.mjs"))
11454
+ "import": (() => __sliccGrammar("langs", "templ"))
11418
11455
  },
11419
11456
  {
11420
11457
  "id": "terraform",
11421
11458
  "name": "Terraform",
11422
11459
  "aliases": ["tf", "tfvars"],
11423
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/terraform.mjs"))
11460
+ "import": (() => __sliccGrammar("langs", "terraform"))
11424
11461
  },
11425
11462
  {
11426
11463
  "id": "tex",
11427
11464
  "name": "TeX",
11428
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/tex.mjs"))
11465
+ "import": (() => __sliccGrammar("langs", "tex"))
11429
11466
  },
11430
11467
  {
11431
11468
  "id": "toml",
@@ -11436,12 +11473,12 @@ var bundledLanguagesInfo = [
11436
11473
  "id": "ts-tags",
11437
11474
  "name": "TypeScript with Tags",
11438
11475
  "aliases": ["lit"],
11439
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/ts-tags.mjs"))
11476
+ "import": (() => __sliccGrammar("langs", "ts-tags"))
11440
11477
  },
11441
11478
  {
11442
11479
  "id": "tsv",
11443
11480
  "name": "TSV",
11444
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/tsv.mjs"))
11481
+ "import": (() => __sliccGrammar("langs", "tsv"))
11445
11482
  },
11446
11483
  {
11447
11484
  "id": "tsx",
@@ -11451,12 +11488,12 @@ var bundledLanguagesInfo = [
11451
11488
  {
11452
11489
  "id": "turtle",
11453
11490
  "name": "Turtle",
11454
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/turtle.mjs"))
11491
+ "import": (() => __sliccGrammar("langs", "turtle"))
11455
11492
  },
11456
11493
  {
11457
11494
  "id": "twig",
11458
11495
  "name": "Twig",
11459
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/twig.mjs"))
11496
+ "import": (() => __sliccGrammar("langs", "twig"))
11460
11497
  },
11461
11498
  {
11462
11499
  "id": "typescript",
@@ -11472,98 +11509,98 @@ var bundledLanguagesInfo = [
11472
11509
  "id": "typespec",
11473
11510
  "name": "TypeSpec",
11474
11511
  "aliases": ["tsp"],
11475
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/typespec.mjs"))
11512
+ "import": (() => __sliccGrammar("langs", "typespec"))
11476
11513
  },
11477
11514
  {
11478
11515
  "id": "typst",
11479
11516
  "name": "Typst",
11480
11517
  "aliases": ["typ"],
11481
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/typst.mjs"))
11518
+ "import": (() => __sliccGrammar("langs", "typst"))
11482
11519
  },
11483
11520
  {
11484
11521
  "id": "v",
11485
11522
  "name": "V",
11486
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/v.mjs"))
11523
+ "import": (() => __sliccGrammar("langs", "v"))
11487
11524
  },
11488
11525
  {
11489
11526
  "id": "vala",
11490
11527
  "name": "Vala",
11491
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/vala.mjs"))
11528
+ "import": (() => __sliccGrammar("langs", "vala"))
11492
11529
  },
11493
11530
  {
11494
11531
  "id": "vb",
11495
11532
  "name": "Visual Basic",
11496
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/vb.mjs"))
11533
+ "import": (() => __sliccGrammar("langs", "vb"))
11497
11534
  },
11498
11535
  {
11499
11536
  "id": "verilog",
11500
11537
  "name": "Verilog",
11501
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/verilog.mjs"))
11538
+ "import": (() => __sliccGrammar("langs", "verilog"))
11502
11539
  },
11503
11540
  {
11504
11541
  "id": "vhdl",
11505
11542
  "name": "VHDL",
11506
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/vhdl.mjs"))
11543
+ "import": (() => __sliccGrammar("langs", "vhdl"))
11507
11544
  },
11508
11545
  {
11509
11546
  "id": "viml",
11510
11547
  "name": "Vim Script",
11511
11548
  "aliases": ["vim", "vimscript"],
11512
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/viml.mjs"))
11549
+ "import": (() => __sliccGrammar("langs", "viml"))
11513
11550
  },
11514
11551
  {
11515
11552
  "id": "vue",
11516
11553
  "name": "Vue",
11517
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/vue.mjs"))
11554
+ "import": (() => __sliccGrammar("langs", "vue"))
11518
11555
  },
11519
11556
  {
11520
11557
  "id": "vue-html",
11521
11558
  "name": "Vue HTML",
11522
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/vue-html.mjs"))
11559
+ "import": (() => __sliccGrammar("langs", "vue-html"))
11523
11560
  },
11524
11561
  {
11525
11562
  "id": "vue-vine",
11526
11563
  "name": "Vue Vine",
11527
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/vue-vine.mjs"))
11564
+ "import": (() => __sliccGrammar("langs", "vue-vine"))
11528
11565
  },
11529
11566
  {
11530
11567
  "id": "vyper",
11531
11568
  "name": "Vyper",
11532
11569
  "aliases": ["vy"],
11533
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/vyper.mjs"))
11570
+ "import": (() => __sliccGrammar("langs", "vyper"))
11534
11571
  },
11535
11572
  {
11536
11573
  "id": "wasm",
11537
11574
  "name": "WebAssembly",
11538
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/wasm.mjs"))
11575
+ "import": (() => __sliccGrammar("langs", "wasm"))
11539
11576
  },
11540
11577
  {
11541
11578
  "id": "wenyan",
11542
11579
  "name": "Wenyan",
11543
11580
  "aliases": ["\u6587\u8A00"],
11544
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/wenyan.mjs"))
11581
+ "import": (() => __sliccGrammar("langs", "wenyan"))
11545
11582
  },
11546
11583
  {
11547
11584
  "id": "wgsl",
11548
11585
  "name": "WGSL",
11549
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/wgsl.mjs"))
11586
+ "import": (() => __sliccGrammar("langs", "wgsl"))
11550
11587
  },
11551
11588
  {
11552
11589
  "id": "wikitext",
11553
11590
  "name": "Wikitext",
11554
11591
  "aliases": ["mediawiki", "wiki"],
11555
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/wikitext.mjs"))
11592
+ "import": (() => __sliccGrammar("langs", "wikitext"))
11556
11593
  },
11557
11594
  {
11558
11595
  "id": "wit",
11559
11596
  "name": "WebAssembly Interface Types",
11560
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/wit.mjs"))
11597
+ "import": (() => __sliccGrammar("langs", "wit"))
11561
11598
  },
11562
11599
  {
11563
11600
  "id": "wolfram",
11564
11601
  "name": "Wolfram",
11565
11602
  "aliases": ["wl"],
11566
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/wolfram.mjs"))
11603
+ "import": (() => __sliccGrammar("langs", "wolfram"))
11567
11604
  },
11568
11605
  {
11569
11606
  "id": "xml",
@@ -11573,7 +11610,7 @@ var bundledLanguagesInfo = [
11573
11610
  {
11574
11611
  "id": "xsl",
11575
11612
  "name": "XSL",
11576
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/xsl.mjs"))
11613
+ "import": (() => __sliccGrammar("langs", "xsl"))
11577
11614
  },
11578
11615
  {
11579
11616
  "id": "yaml",
@@ -11584,12 +11621,12 @@ var bundledLanguagesInfo = [
11584
11621
  {
11585
11622
  "id": "zenscript",
11586
11623
  "name": "ZenScript",
11587
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/zenscript.mjs"))
11624
+ "import": (() => __sliccGrammar("langs", "zenscript"))
11588
11625
  },
11589
11626
  {
11590
11627
  "id": "zig",
11591
11628
  "name": "Zig",
11592
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/langs@4.5.0/dist/zig.mjs"))
11629
+ "import": (() => __sliccGrammar("langs", "zig"))
11593
11630
  }
11594
11631
  ];
11595
11632
  var bundledLanguagesBase = Object.fromEntries(bundledLanguagesInfo.map((i10) => [i10.id, i10.import]));
@@ -11600,396 +11637,397 @@ var bundledLanguages = {
11600
11637
  };
11601
11638
 
11602
11639
  // node_modules/shiki/dist/themes.mjs
11640
+ var __sliccGrammar2 = (kind, name) => grammar(kind, name, { "langs": "4.5.0", "themes": "4.5.0" }[kind], "https://cdn.jsdelivr.net/npm/@shikijs/");
11603
11641
  var bundledThemesInfo = [
11604
11642
  {
11605
11643
  "id": "andromeeda",
11606
11644
  "displayName": "Andromeeda",
11607
11645
  "type": "dark",
11608
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/andromeeda.mjs"))
11646
+ "import": (() => __sliccGrammar2("themes", "andromeeda"))
11609
11647
  },
11610
11648
  {
11611
11649
  "id": "aurora-x",
11612
11650
  "displayName": "Aurora X",
11613
11651
  "type": "dark",
11614
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/aurora-x.mjs"))
11652
+ "import": (() => __sliccGrammar2("themes", "aurora-x"))
11615
11653
  },
11616
11654
  {
11617
11655
  "id": "ayu-dark",
11618
11656
  "displayName": "Ayu Dark",
11619
11657
  "type": "dark",
11620
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/ayu-dark.mjs"))
11658
+ "import": (() => __sliccGrammar2("themes", "ayu-dark"))
11621
11659
  },
11622
11660
  {
11623
11661
  "id": "ayu-light",
11624
11662
  "displayName": "Ayu Light",
11625
11663
  "type": "light",
11626
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/ayu-light.mjs"))
11664
+ "import": (() => __sliccGrammar2("themes", "ayu-light"))
11627
11665
  },
11628
11666
  {
11629
11667
  "id": "ayu-mirage",
11630
11668
  "displayName": "Ayu Mirage",
11631
11669
  "type": "dark",
11632
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/ayu-mirage.mjs"))
11670
+ "import": (() => __sliccGrammar2("themes", "ayu-mirage"))
11633
11671
  },
11634
11672
  {
11635
11673
  "id": "catppuccin-frappe",
11636
11674
  "displayName": "Catppuccin Frapp\xE9",
11637
11675
  "type": "dark",
11638
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/catppuccin-frappe.mjs"))
11676
+ "import": (() => __sliccGrammar2("themes", "catppuccin-frappe"))
11639
11677
  },
11640
11678
  {
11641
11679
  "id": "catppuccin-latte",
11642
11680
  "displayName": "Catppuccin Latte",
11643
11681
  "type": "light",
11644
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/catppuccin-latte.mjs"))
11682
+ "import": (() => __sliccGrammar2("themes", "catppuccin-latte"))
11645
11683
  },
11646
11684
  {
11647
11685
  "id": "catppuccin-macchiato",
11648
11686
  "displayName": "Catppuccin Macchiato",
11649
11687
  "type": "dark",
11650
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/catppuccin-macchiato.mjs"))
11688
+ "import": (() => __sliccGrammar2("themes", "catppuccin-macchiato"))
11651
11689
  },
11652
11690
  {
11653
11691
  "id": "catppuccin-mocha",
11654
11692
  "displayName": "Catppuccin Mocha",
11655
11693
  "type": "dark",
11656
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/catppuccin-mocha.mjs"))
11694
+ "import": (() => __sliccGrammar2("themes", "catppuccin-mocha"))
11657
11695
  },
11658
11696
  {
11659
11697
  "id": "dark-plus",
11660
11698
  "displayName": "Dark Plus",
11661
11699
  "type": "dark",
11662
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/dark-plus.mjs"))
11700
+ "import": (() => __sliccGrammar2("themes", "dark-plus"))
11663
11701
  },
11664
11702
  {
11665
11703
  "id": "dracula",
11666
11704
  "displayName": "Dracula Theme",
11667
11705
  "type": "dark",
11668
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/dracula.mjs"))
11706
+ "import": (() => __sliccGrammar2("themes", "dracula"))
11669
11707
  },
11670
11708
  {
11671
11709
  "id": "dracula-soft",
11672
11710
  "displayName": "Dracula Theme Soft",
11673
11711
  "type": "dark",
11674
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/dracula-soft.mjs"))
11712
+ "import": (() => __sliccGrammar2("themes", "dracula-soft"))
11675
11713
  },
11676
11714
  {
11677
11715
  "id": "everforest-dark",
11678
11716
  "displayName": "Everforest Dark",
11679
11717
  "type": "dark",
11680
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/everforest-dark.mjs"))
11718
+ "import": (() => __sliccGrammar2("themes", "everforest-dark"))
11681
11719
  },
11682
11720
  {
11683
11721
  "id": "everforest-light",
11684
11722
  "displayName": "Everforest Light",
11685
11723
  "type": "light",
11686
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/everforest-light.mjs"))
11724
+ "import": (() => __sliccGrammar2("themes", "everforest-light"))
11687
11725
  },
11688
11726
  {
11689
11727
  "id": "github-dark",
11690
11728
  "displayName": "GitHub Dark",
11691
11729
  "type": "dark",
11692
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/github-dark.mjs"))
11730
+ "import": (() => __sliccGrammar2("themes", "github-dark"))
11693
11731
  },
11694
11732
  {
11695
11733
  "id": "github-dark-default",
11696
11734
  "displayName": "GitHub Dark Default",
11697
11735
  "type": "dark",
11698
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/github-dark-default.mjs"))
11736
+ "import": (() => __sliccGrammar2("themes", "github-dark-default"))
11699
11737
  },
11700
11738
  {
11701
11739
  "id": "github-dark-dimmed",
11702
11740
  "displayName": "GitHub Dark Dimmed",
11703
11741
  "type": "dark",
11704
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/github-dark-dimmed.mjs"))
11742
+ "import": (() => __sliccGrammar2("themes", "github-dark-dimmed"))
11705
11743
  },
11706
11744
  {
11707
11745
  "id": "github-dark-high-contrast",
11708
11746
  "displayName": "GitHub Dark High Contrast",
11709
11747
  "type": "dark",
11710
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/github-dark-high-contrast.mjs"))
11748
+ "import": (() => __sliccGrammar2("themes", "github-dark-high-contrast"))
11711
11749
  },
11712
11750
  {
11713
11751
  "id": "github-light",
11714
11752
  "displayName": "GitHub Light",
11715
11753
  "type": "light",
11716
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/github-light.mjs"))
11754
+ "import": (() => __sliccGrammar2("themes", "github-light"))
11717
11755
  },
11718
11756
  {
11719
11757
  "id": "github-light-default",
11720
11758
  "displayName": "GitHub Light Default",
11721
11759
  "type": "light",
11722
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/github-light-default.mjs"))
11760
+ "import": (() => __sliccGrammar2("themes", "github-light-default"))
11723
11761
  },
11724
11762
  {
11725
11763
  "id": "github-light-high-contrast",
11726
11764
  "displayName": "GitHub Light High Contrast",
11727
11765
  "type": "light",
11728
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/github-light-high-contrast.mjs"))
11766
+ "import": (() => __sliccGrammar2("themes", "github-light-high-contrast"))
11729
11767
  },
11730
11768
  {
11731
11769
  "id": "gruvbox-dark-hard",
11732
11770
  "displayName": "Gruvbox Dark Hard",
11733
11771
  "type": "dark",
11734
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/gruvbox-dark-hard.mjs"))
11772
+ "import": (() => __sliccGrammar2("themes", "gruvbox-dark-hard"))
11735
11773
  },
11736
11774
  {
11737
11775
  "id": "gruvbox-dark-medium",
11738
11776
  "displayName": "Gruvbox Dark Medium",
11739
11777
  "type": "dark",
11740
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/gruvbox-dark-medium.mjs"))
11778
+ "import": (() => __sliccGrammar2("themes", "gruvbox-dark-medium"))
11741
11779
  },
11742
11780
  {
11743
11781
  "id": "gruvbox-dark-soft",
11744
11782
  "displayName": "Gruvbox Dark Soft",
11745
11783
  "type": "dark",
11746
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/gruvbox-dark-soft.mjs"))
11784
+ "import": (() => __sliccGrammar2("themes", "gruvbox-dark-soft"))
11747
11785
  },
11748
11786
  {
11749
11787
  "id": "gruvbox-light-hard",
11750
11788
  "displayName": "Gruvbox Light Hard",
11751
11789
  "type": "light",
11752
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/gruvbox-light-hard.mjs"))
11790
+ "import": (() => __sliccGrammar2("themes", "gruvbox-light-hard"))
11753
11791
  },
11754
11792
  {
11755
11793
  "id": "gruvbox-light-medium",
11756
11794
  "displayName": "Gruvbox Light Medium",
11757
11795
  "type": "light",
11758
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/gruvbox-light-medium.mjs"))
11796
+ "import": (() => __sliccGrammar2("themes", "gruvbox-light-medium"))
11759
11797
  },
11760
11798
  {
11761
11799
  "id": "gruvbox-light-soft",
11762
11800
  "displayName": "Gruvbox Light Soft",
11763
11801
  "type": "light",
11764
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/gruvbox-light-soft.mjs"))
11802
+ "import": (() => __sliccGrammar2("themes", "gruvbox-light-soft"))
11765
11803
  },
11766
11804
  {
11767
11805
  "id": "horizon",
11768
11806
  "displayName": "Horizon",
11769
11807
  "type": "dark",
11770
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/horizon.mjs"))
11808
+ "import": (() => __sliccGrammar2("themes", "horizon"))
11771
11809
  },
11772
11810
  {
11773
11811
  "id": "horizon-bright",
11774
11812
  "displayName": "Horizon Bright",
11775
11813
  "type": "light",
11776
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/horizon-bright.mjs"))
11814
+ "import": (() => __sliccGrammar2("themes", "horizon-bright"))
11777
11815
  },
11778
11816
  {
11779
11817
  "id": "houston",
11780
11818
  "displayName": "Houston",
11781
11819
  "type": "dark",
11782
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/houston.mjs"))
11820
+ "import": (() => __sliccGrammar2("themes", "houston"))
11783
11821
  },
11784
11822
  {
11785
11823
  "id": "kanagawa-dragon",
11786
11824
  "displayName": "Kanagawa Dragon",
11787
11825
  "type": "dark",
11788
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/kanagawa-dragon.mjs"))
11826
+ "import": (() => __sliccGrammar2("themes", "kanagawa-dragon"))
11789
11827
  },
11790
11828
  {
11791
11829
  "id": "kanagawa-lotus",
11792
11830
  "displayName": "Kanagawa Lotus",
11793
11831
  "type": "light",
11794
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/kanagawa-lotus.mjs"))
11832
+ "import": (() => __sliccGrammar2("themes", "kanagawa-lotus"))
11795
11833
  },
11796
11834
  {
11797
11835
  "id": "kanagawa-wave",
11798
11836
  "displayName": "Kanagawa Wave",
11799
11837
  "type": "dark",
11800
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/kanagawa-wave.mjs"))
11838
+ "import": (() => __sliccGrammar2("themes", "kanagawa-wave"))
11801
11839
  },
11802
11840
  {
11803
11841
  "id": "laserwave",
11804
11842
  "displayName": "LaserWave",
11805
11843
  "type": "dark",
11806
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/laserwave.mjs"))
11844
+ "import": (() => __sliccGrammar2("themes", "laserwave"))
11807
11845
  },
11808
11846
  {
11809
11847
  "id": "light-plus",
11810
11848
  "displayName": "Light Plus",
11811
11849
  "type": "light",
11812
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/light-plus.mjs"))
11850
+ "import": (() => __sliccGrammar2("themes", "light-plus"))
11813
11851
  },
11814
11852
  {
11815
11853
  "id": "material-theme",
11816
11854
  "displayName": "Material Theme",
11817
11855
  "type": "dark",
11818
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/material-theme.mjs"))
11856
+ "import": (() => __sliccGrammar2("themes", "material-theme"))
11819
11857
  },
11820
11858
  {
11821
11859
  "id": "material-theme-darker",
11822
11860
  "displayName": "Material Theme Darker",
11823
11861
  "type": "dark",
11824
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/material-theme-darker.mjs"))
11862
+ "import": (() => __sliccGrammar2("themes", "material-theme-darker"))
11825
11863
  },
11826
11864
  {
11827
11865
  "id": "material-theme-lighter",
11828
11866
  "displayName": "Material Theme Lighter",
11829
11867
  "type": "light",
11830
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/material-theme-lighter.mjs"))
11868
+ "import": (() => __sliccGrammar2("themes", "material-theme-lighter"))
11831
11869
  },
11832
11870
  {
11833
11871
  "id": "material-theme-ocean",
11834
11872
  "displayName": "Material Theme Ocean",
11835
11873
  "type": "dark",
11836
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/material-theme-ocean.mjs"))
11874
+ "import": (() => __sliccGrammar2("themes", "material-theme-ocean"))
11837
11875
  },
11838
11876
  {
11839
11877
  "id": "material-theme-palenight",
11840
11878
  "displayName": "Material Theme Palenight",
11841
11879
  "type": "dark",
11842
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/material-theme-palenight.mjs"))
11880
+ "import": (() => __sliccGrammar2("themes", "material-theme-palenight"))
11843
11881
  },
11844
11882
  {
11845
11883
  "id": "min-dark",
11846
11884
  "displayName": "Min Dark",
11847
11885
  "type": "dark",
11848
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/min-dark.mjs"))
11886
+ "import": (() => __sliccGrammar2("themes", "min-dark"))
11849
11887
  },
11850
11888
  {
11851
11889
  "id": "min-light",
11852
11890
  "displayName": "Min Light",
11853
11891
  "type": "light",
11854
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/min-light.mjs"))
11892
+ "import": (() => __sliccGrammar2("themes", "min-light"))
11855
11893
  },
11856
11894
  {
11857
11895
  "id": "monokai",
11858
11896
  "displayName": "Monokai",
11859
11897
  "type": "dark",
11860
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/monokai.mjs"))
11898
+ "import": (() => __sliccGrammar2("themes", "monokai"))
11861
11899
  },
11862
11900
  {
11863
11901
  "id": "night-owl",
11864
11902
  "displayName": "Night Owl",
11865
11903
  "type": "dark",
11866
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/night-owl.mjs"))
11904
+ "import": (() => __sliccGrammar2("themes", "night-owl"))
11867
11905
  },
11868
11906
  {
11869
11907
  "id": "night-owl-light",
11870
11908
  "displayName": "Night Owl Light",
11871
11909
  "type": "light",
11872
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/night-owl-light.mjs"))
11910
+ "import": (() => __sliccGrammar2("themes", "night-owl-light"))
11873
11911
  },
11874
11912
  {
11875
11913
  "id": "nord",
11876
11914
  "displayName": "Nord",
11877
11915
  "type": "dark",
11878
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/nord.mjs"))
11916
+ "import": (() => __sliccGrammar2("themes", "nord"))
11879
11917
  },
11880
11918
  {
11881
11919
  "id": "one-dark-pro",
11882
11920
  "displayName": "One Dark Pro",
11883
11921
  "type": "dark",
11884
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/one-dark-pro.mjs"))
11922
+ "import": (() => __sliccGrammar2("themes", "one-dark-pro"))
11885
11923
  },
11886
11924
  {
11887
11925
  "id": "one-light",
11888
11926
  "displayName": "One Light",
11889
11927
  "type": "light",
11890
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/one-light.mjs"))
11928
+ "import": (() => __sliccGrammar2("themes", "one-light"))
11891
11929
  },
11892
11930
  {
11893
11931
  "id": "plastic",
11894
11932
  "displayName": "Plastic",
11895
11933
  "type": "dark",
11896
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/plastic.mjs"))
11934
+ "import": (() => __sliccGrammar2("themes", "plastic"))
11897
11935
  },
11898
11936
  {
11899
11937
  "id": "poimandres",
11900
11938
  "displayName": "Poimandres",
11901
11939
  "type": "dark",
11902
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/poimandres.mjs"))
11940
+ "import": (() => __sliccGrammar2("themes", "poimandres"))
11903
11941
  },
11904
11942
  {
11905
11943
  "id": "red",
11906
11944
  "displayName": "Red",
11907
11945
  "type": "dark",
11908
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/red.mjs"))
11946
+ "import": (() => __sliccGrammar2("themes", "red"))
11909
11947
  },
11910
11948
  {
11911
11949
  "id": "rose-pine",
11912
11950
  "displayName": "Ros\xE9 Pine",
11913
11951
  "type": "dark",
11914
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/rose-pine.mjs"))
11952
+ "import": (() => __sliccGrammar2("themes", "rose-pine"))
11915
11953
  },
11916
11954
  {
11917
11955
  "id": "rose-pine-dawn",
11918
11956
  "displayName": "Ros\xE9 Pine Dawn",
11919
11957
  "type": "light",
11920
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/rose-pine-dawn.mjs"))
11958
+ "import": (() => __sliccGrammar2("themes", "rose-pine-dawn"))
11921
11959
  },
11922
11960
  {
11923
11961
  "id": "rose-pine-moon",
11924
11962
  "displayName": "Ros\xE9 Pine Moon",
11925
11963
  "type": "dark",
11926
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/rose-pine-moon.mjs"))
11964
+ "import": (() => __sliccGrammar2("themes", "rose-pine-moon"))
11927
11965
  },
11928
11966
  {
11929
11967
  "id": "slack-dark",
11930
11968
  "displayName": "Slack Dark",
11931
11969
  "type": "dark",
11932
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/slack-dark.mjs"))
11970
+ "import": (() => __sliccGrammar2("themes", "slack-dark"))
11933
11971
  },
11934
11972
  {
11935
11973
  "id": "slack-ochin",
11936
11974
  "displayName": "Slack Ochin",
11937
11975
  "type": "light",
11938
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/slack-ochin.mjs"))
11976
+ "import": (() => __sliccGrammar2("themes", "slack-ochin"))
11939
11977
  },
11940
11978
  {
11941
11979
  "id": "snazzy-light",
11942
11980
  "displayName": "Snazzy Light",
11943
11981
  "type": "light",
11944
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/snazzy-light.mjs"))
11982
+ "import": (() => __sliccGrammar2("themes", "snazzy-light"))
11945
11983
  },
11946
11984
  {
11947
11985
  "id": "solarized-dark",
11948
11986
  "displayName": "Solarized Dark",
11949
11987
  "type": "dark",
11950
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/solarized-dark.mjs"))
11988
+ "import": (() => __sliccGrammar2("themes", "solarized-dark"))
11951
11989
  },
11952
11990
  {
11953
11991
  "id": "solarized-light",
11954
11992
  "displayName": "Solarized Light",
11955
11993
  "type": "light",
11956
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/solarized-light.mjs"))
11994
+ "import": (() => __sliccGrammar2("themes", "solarized-light"))
11957
11995
  },
11958
11996
  {
11959
11997
  "id": "synthwave-84",
11960
11998
  "displayName": "Synthwave '84",
11961
11999
  "type": "dark",
11962
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/synthwave-84.mjs"))
12000
+ "import": (() => __sliccGrammar2("themes", "synthwave-84"))
11963
12001
  },
11964
12002
  {
11965
12003
  "id": "tokyo-night",
11966
12004
  "displayName": "Tokyo Night",
11967
12005
  "type": "dark",
11968
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/tokyo-night.mjs"))
12006
+ "import": (() => __sliccGrammar2("themes", "tokyo-night"))
11969
12007
  },
11970
12008
  {
11971
12009
  "id": "vesper",
11972
12010
  "displayName": "Vesper",
11973
12011
  "type": "dark",
11974
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/vesper.mjs"))
12012
+ "import": (() => __sliccGrammar2("themes", "vesper"))
11975
12013
  },
11976
12014
  {
11977
12015
  "id": "vitesse-black",
11978
12016
  "displayName": "Vitesse Black",
11979
12017
  "type": "dark",
11980
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/vitesse-black.mjs"))
12018
+ "import": (() => __sliccGrammar2("themes", "vitesse-black"))
11981
12019
  },
11982
12020
  {
11983
12021
  "id": "vitesse-dark",
11984
12022
  "displayName": "Vitesse Dark",
11985
12023
  "type": "dark",
11986
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/vitesse-dark.mjs"))
12024
+ "import": (() => __sliccGrammar2("themes", "vitesse-dark"))
11987
12025
  },
11988
12026
  {
11989
12027
  "id": "vitesse-light",
11990
12028
  "displayName": "Vitesse Light",
11991
12029
  "type": "light",
11992
- "import": (() => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/vitesse-light.mjs"))
12030
+ "import": (() => __sliccGrammar2("themes", "vitesse-light"))
11993
12031
  }
11994
12032
  ];
11995
12033
  var bundledThemes = Object.fromEntries(bundledThemesInfo.map((i10) => [i10.id, i10.import]));
@@ -13473,13 +13511,13 @@ var CaptureRule = class extends Rule {
13473
13511
  }
13474
13512
  dispose() {
13475
13513
  }
13476
- collectPatterns(grammar, out) {
13514
+ collectPatterns(grammar2, out) {
13477
13515
  throw new Error("Not supported!");
13478
13516
  }
13479
- compile(grammar, endRegexSource) {
13517
+ compile(grammar2, endRegexSource) {
13480
13518
  throw new Error("Not supported!");
13481
13519
  }
13482
- compileAG(grammar, endRegexSource, allowA, allowG) {
13520
+ compileAG(grammar2, endRegexSource, allowA, allowG) {
13483
13521
  throw new Error("Not supported!");
13484
13522
  }
13485
13523
  };
@@ -13502,19 +13540,19 @@ var MatchRule = class extends Rule {
13502
13540
  get debugMatchRegExp() {
13503
13541
  return `${this._match.source}`;
13504
13542
  }
13505
- collectPatterns(grammar, out) {
13543
+ collectPatterns(grammar2, out) {
13506
13544
  out.push(this._match);
13507
13545
  }
13508
- compile(grammar, endRegexSource) {
13509
- return this._getCachedCompiledPatterns(grammar).compile(grammar);
13546
+ compile(grammar2, endRegexSource) {
13547
+ return this._getCachedCompiledPatterns(grammar2).compile(grammar2);
13510
13548
  }
13511
- compileAG(grammar, endRegexSource, allowA, allowG) {
13512
- return this._getCachedCompiledPatterns(grammar).compileAG(grammar, allowA, allowG);
13549
+ compileAG(grammar2, endRegexSource, allowA, allowG) {
13550
+ return this._getCachedCompiledPatterns(grammar2).compileAG(grammar2, allowA, allowG);
13513
13551
  }
13514
- _getCachedCompiledPatterns(grammar) {
13552
+ _getCachedCompiledPatterns(grammar2) {
13515
13553
  if (!this._cachedCompiledPatterns) {
13516
13554
  this._cachedCompiledPatterns = new RegExpSourceList();
13517
- this.collectPatterns(grammar, this._cachedCompiledPatterns);
13555
+ this.collectPatterns(grammar2, this._cachedCompiledPatterns);
13518
13556
  }
13519
13557
  return this._cachedCompiledPatterns;
13520
13558
  }
@@ -13535,22 +13573,22 @@ var IncludeOnlyRule = class extends Rule {
13535
13573
  this._cachedCompiledPatterns = null;
13536
13574
  }
13537
13575
  }
13538
- collectPatterns(grammar, out) {
13576
+ collectPatterns(grammar2, out) {
13539
13577
  for (const pattern of this.patterns) {
13540
- const rule = grammar.getRule(pattern);
13541
- rule.collectPatterns(grammar, out);
13578
+ const rule = grammar2.getRule(pattern);
13579
+ rule.collectPatterns(grammar2, out);
13542
13580
  }
13543
13581
  }
13544
- compile(grammar, endRegexSource) {
13545
- return this._getCachedCompiledPatterns(grammar).compile(grammar);
13582
+ compile(grammar2, endRegexSource) {
13583
+ return this._getCachedCompiledPatterns(grammar2).compile(grammar2);
13546
13584
  }
13547
- compileAG(grammar, endRegexSource, allowA, allowG) {
13548
- return this._getCachedCompiledPatterns(grammar).compileAG(grammar, allowA, allowG);
13585
+ compileAG(grammar2, endRegexSource, allowA, allowG) {
13586
+ return this._getCachedCompiledPatterns(grammar2).compileAG(grammar2, allowA, allowG);
13549
13587
  }
13550
- _getCachedCompiledPatterns(grammar) {
13588
+ _getCachedCompiledPatterns(grammar2) {
13551
13589
  if (!this._cachedCompiledPatterns) {
13552
13590
  this._cachedCompiledPatterns = new RegExpSourceList();
13553
- this.collectPatterns(grammar, this._cachedCompiledPatterns);
13591
+ this.collectPatterns(grammar2, this._cachedCompiledPatterns);
13554
13592
  }
13555
13593
  return this._cachedCompiledPatterns;
13556
13594
  }
@@ -13592,21 +13630,21 @@ var BeginEndRule = class extends Rule {
13592
13630
  getEndWithResolvedBackReferences(lineText, captureIndices) {
13593
13631
  return this._end.resolveBackReferences(lineText, captureIndices);
13594
13632
  }
13595
- collectPatterns(grammar, out) {
13633
+ collectPatterns(grammar2, out) {
13596
13634
  out.push(this._begin);
13597
13635
  }
13598
- compile(grammar, endRegexSource) {
13599
- return this._getCachedCompiledPatterns(grammar, endRegexSource).compile(grammar);
13636
+ compile(grammar2, endRegexSource) {
13637
+ return this._getCachedCompiledPatterns(grammar2, endRegexSource).compile(grammar2);
13600
13638
  }
13601
- compileAG(grammar, endRegexSource, allowA, allowG) {
13602
- return this._getCachedCompiledPatterns(grammar, endRegexSource).compileAG(grammar, allowA, allowG);
13639
+ compileAG(grammar2, endRegexSource, allowA, allowG) {
13640
+ return this._getCachedCompiledPatterns(grammar2, endRegexSource).compileAG(grammar2, allowA, allowG);
13603
13641
  }
13604
- _getCachedCompiledPatterns(grammar, endRegexSource) {
13642
+ _getCachedCompiledPatterns(grammar2, endRegexSource) {
13605
13643
  if (!this._cachedCompiledPatterns) {
13606
13644
  this._cachedCompiledPatterns = new RegExpSourceList();
13607
13645
  for (const pattern of this.patterns) {
13608
- const rule = grammar.getRule(pattern);
13609
- rule.collectPatterns(grammar, this._cachedCompiledPatterns);
13646
+ const rule = grammar2.getRule(pattern);
13647
+ rule.collectPatterns(grammar2, this._cachedCompiledPatterns);
13610
13648
  }
13611
13649
  if (this.applyEndPatternLast) {
13612
13650
  this._cachedCompiledPatterns.push(this._end.hasBackReferences ? this._end.clone() : this._end);
@@ -13665,32 +13703,32 @@ var BeginWhileRule = class extends Rule {
13665
13703
  getWhileWithResolvedBackReferences(lineText, captureIndices) {
13666
13704
  return this._while.resolveBackReferences(lineText, captureIndices);
13667
13705
  }
13668
- collectPatterns(grammar, out) {
13706
+ collectPatterns(grammar2, out) {
13669
13707
  out.push(this._begin);
13670
13708
  }
13671
- compile(grammar, endRegexSource) {
13672
- return this._getCachedCompiledPatterns(grammar).compile(grammar);
13709
+ compile(grammar2, endRegexSource) {
13710
+ return this._getCachedCompiledPatterns(grammar2).compile(grammar2);
13673
13711
  }
13674
- compileAG(grammar, endRegexSource, allowA, allowG) {
13675
- return this._getCachedCompiledPatterns(grammar).compileAG(grammar, allowA, allowG);
13712
+ compileAG(grammar2, endRegexSource, allowA, allowG) {
13713
+ return this._getCachedCompiledPatterns(grammar2).compileAG(grammar2, allowA, allowG);
13676
13714
  }
13677
- _getCachedCompiledPatterns(grammar) {
13715
+ _getCachedCompiledPatterns(grammar2) {
13678
13716
  if (!this._cachedCompiledPatterns) {
13679
13717
  this._cachedCompiledPatterns = new RegExpSourceList();
13680
13718
  for (const pattern of this.patterns) {
13681
- const rule = grammar.getRule(pattern);
13682
- rule.collectPatterns(grammar, this._cachedCompiledPatterns);
13719
+ const rule = grammar2.getRule(pattern);
13720
+ rule.collectPatterns(grammar2, this._cachedCompiledPatterns);
13683
13721
  }
13684
13722
  }
13685
13723
  return this._cachedCompiledPatterns;
13686
13724
  }
13687
- compileWhile(grammar, endRegexSource) {
13688
- return this._getCachedCompiledWhilePatterns(grammar, endRegexSource).compile(grammar);
13725
+ compileWhile(grammar2, endRegexSource) {
13726
+ return this._getCachedCompiledWhilePatterns(grammar2, endRegexSource).compile(grammar2);
13689
13727
  }
13690
- compileWhileAG(grammar, endRegexSource, allowA, allowG) {
13691
- return this._getCachedCompiledWhilePatterns(grammar, endRegexSource).compileAG(grammar, allowA, allowG);
13728
+ compileWhileAG(grammar2, endRegexSource, allowA, allowG) {
13729
+ return this._getCachedCompiledWhilePatterns(grammar2, endRegexSource).compileAG(grammar2, allowA, allowG);
13692
13730
  }
13693
- _getCachedCompiledWhilePatterns(grammar, endRegexSource) {
13731
+ _getCachedCompiledWhilePatterns(grammar2, endRegexSource) {
13694
13732
  if (!this._cachedCompiledWhilePatterns) {
13695
13733
  this._cachedCompiledWhilePatterns = new RegExpSourceList();
13696
13734
  this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences ? this._while.clone() : this._while);
@@ -14227,13 +14265,13 @@ var TokenizeStringResult = class {
14227
14265
  this.stoppedEarly = stoppedEarly;
14228
14266
  }
14229
14267
  };
14230
- function _tokenizeString(grammar, lineText, isFirstLine, linePos, stack, lineTokens, checkWhileConditions, timeLimit) {
14268
+ function _tokenizeString(grammar2, lineText, isFirstLine, linePos, stack, lineTokens, checkWhileConditions, timeLimit) {
14231
14269
  const lineLength = lineText.content.length;
14232
14270
  let STOP = false;
14233
14271
  let anchorPosition = -1;
14234
14272
  if (checkWhileConditions) {
14235
14273
  const whileCheckResult = _checkWhileConditions(
14236
- grammar,
14274
+ grammar2,
14237
14275
  lineText,
14238
14276
  isFirstLine,
14239
14277
  linePos,
@@ -14264,7 +14302,7 @@ function _tokenizeString(grammar, lineText, isFirstLine, linePos, stack, lineTok
14264
14302
  );
14265
14303
  }
14266
14304
  const r13 = matchRuleOrInjections(
14267
- grammar,
14305
+ grammar2,
14268
14306
  lineText,
14269
14307
  isFirstLine,
14270
14308
  linePos,
@@ -14280,7 +14318,7 @@ function _tokenizeString(grammar, lineText, isFirstLine, linePos, stack, lineTok
14280
14318
  const matchedRuleId = r13.matchedRuleId;
14281
14319
  const hasAdvanced = captureIndices && captureIndices.length > 0 ? captureIndices[0].end > linePos : false;
14282
14320
  if (matchedRuleId === endRuleId) {
14283
- const poppedRule = stack.getRule(grammar);
14321
+ const poppedRule = stack.getRule(grammar2);
14284
14322
  if (false) {
14285
14323
  console.log(
14286
14324
  " popping " + poppedRule.debugName + " - " + poppedRule.debugEndRegExp
@@ -14289,7 +14327,7 @@ function _tokenizeString(grammar, lineText, isFirstLine, linePos, stack, lineTok
14289
14327
  lineTokens.produce(stack, captureIndices[0].start);
14290
14328
  stack = stack.withContentNameScopesList(stack.nameScopesList);
14291
14329
  handleCaptures(
14292
- grammar,
14330
+ grammar2,
14293
14331
  lineText,
14294
14332
  isFirstLine,
14295
14333
  stack,
@@ -14313,13 +14351,13 @@ function _tokenizeString(grammar, lineText, isFirstLine, linePos, stack, lineTok
14313
14351
  return;
14314
14352
  }
14315
14353
  } else {
14316
- const _rule = grammar.getRule(matchedRuleId);
14354
+ const _rule = grammar2.getRule(matchedRuleId);
14317
14355
  lineTokens.produce(stack, captureIndices[0].start);
14318
14356
  const beforePush = stack;
14319
14357
  const scopeName = _rule.getName(lineText.content, captureIndices);
14320
14358
  const nameScopesList = stack.contentNameScopesList.pushAttributed(
14321
14359
  scopeName,
14322
- grammar
14360
+ grammar2
14323
14361
  );
14324
14362
  stack = stack.push(
14325
14363
  matchedRuleId,
@@ -14338,7 +14376,7 @@ function _tokenizeString(grammar, lineText, isFirstLine, linePos, stack, lineTok
14338
14376
  );
14339
14377
  }
14340
14378
  handleCaptures(
14341
- grammar,
14379
+ grammar2,
14342
14380
  lineText,
14343
14381
  isFirstLine,
14344
14382
  stack,
@@ -14354,7 +14392,7 @@ function _tokenizeString(grammar, lineText, isFirstLine, linePos, stack, lineTok
14354
14392
  );
14355
14393
  const contentNameScopesList = nameScopesList.pushAttributed(
14356
14394
  contentName,
14357
- grammar
14395
+ grammar2
14358
14396
  );
14359
14397
  stack = stack.withContentNameScopesList(contentNameScopesList);
14360
14398
  if (pushedRule.endHasBackReferences) {
@@ -14382,7 +14420,7 @@ function _tokenizeString(grammar, lineText, isFirstLine, linePos, stack, lineTok
14382
14420
  console.log(" pushing " + pushedRule.debugName);
14383
14421
  }
14384
14422
  handleCaptures(
14385
- grammar,
14423
+ grammar2,
14386
14424
  lineText,
14387
14425
  isFirstLine,
14388
14426
  stack,
@@ -14398,7 +14436,7 @@ function _tokenizeString(grammar, lineText, isFirstLine, linePos, stack, lineTok
14398
14436
  );
14399
14437
  const contentNameScopesList = nameScopesList.pushAttributed(
14400
14438
  contentName,
14401
- grammar
14439
+ grammar2
14402
14440
  );
14403
14441
  stack = stack.withContentNameScopesList(contentNameScopesList);
14404
14442
  if (pushedRule.whileHasBackReferences) {
@@ -14428,7 +14466,7 @@ function _tokenizeString(grammar, lineText, isFirstLine, linePos, stack, lineTok
14428
14466
  );
14429
14467
  }
14430
14468
  handleCaptures(
14431
- grammar,
14469
+ grammar2,
14432
14470
  lineText,
14433
14471
  isFirstLine,
14434
14472
  stack,
@@ -14457,11 +14495,11 @@ function _tokenizeString(grammar, lineText, isFirstLine, linePos, stack, lineTok
14457
14495
  }
14458
14496
  }
14459
14497
  }
14460
- function _checkWhileConditions(grammar, lineText, isFirstLine, linePos, stack, lineTokens) {
14498
+ function _checkWhileConditions(grammar2, lineText, isFirstLine, linePos, stack, lineTokens) {
14461
14499
  let anchorPosition = stack.beginRuleCapturedEOL ? 0 : -1;
14462
14500
  const whileRules = [];
14463
14501
  for (let node = stack; node; node = node.pop()) {
14464
- const nodeRule = node.getRule(grammar);
14502
+ const nodeRule = node.getRule(grammar2);
14465
14503
  if (nodeRule instanceof BeginWhileRule) {
14466
14504
  whileRules.push({
14467
14505
  rule: nodeRule,
@@ -14470,7 +14508,7 @@ function _checkWhileConditions(grammar, lineText, isFirstLine, linePos, stack, l
14470
14508
  }
14471
14509
  }
14472
14510
  for (let whileRule = whileRules.pop(); whileRule; whileRule = whileRules.pop()) {
14473
- const { ruleScanner, findOptions } = prepareRuleWhileSearch(whileRule.rule, grammar, whileRule.stack.endRule, isFirstLine, linePos === anchorPosition);
14511
+ const { ruleScanner, findOptions } = prepareRuleWhileSearch(whileRule.rule, grammar2, whileRule.stack.endRule, isFirstLine, linePos === anchorPosition);
14474
14512
  const r13 = ruleScanner.findNextMatchSync(lineText, linePos, findOptions);
14475
14513
  if (false) {
14476
14514
  console.log(" scanning for while rule");
@@ -14484,7 +14522,7 @@ function _checkWhileConditions(grammar, lineText, isFirstLine, linePos, stack, l
14484
14522
  }
14485
14523
  if (r13.captureIndices && r13.captureIndices.length) {
14486
14524
  lineTokens.produce(whileRule.stack, r13.captureIndices[0].start);
14487
- handleCaptures(grammar, lineText, isFirstLine, whileRule.stack, lineTokens, whileRule.rule.whileCaptures, r13.captureIndices);
14525
+ handleCaptures(grammar2, lineText, isFirstLine, whileRule.stack, lineTokens, whileRule.rule.whileCaptures, r13.captureIndices);
14488
14526
  lineTokens.produce(whileRule.stack, r13.captureIndices[0].end);
14489
14527
  anchorPosition = r13.captureIndices[0].end;
14490
14528
  if (r13.captureIndices[0].end > linePos) {
@@ -14502,13 +14540,13 @@ function _checkWhileConditions(grammar, lineText, isFirstLine, linePos, stack, l
14502
14540
  }
14503
14541
  return { stack, linePos, anchorPosition, isFirstLine };
14504
14542
  }
14505
- function matchRuleOrInjections(grammar, lineText, isFirstLine, linePos, stack, anchorPosition) {
14506
- const matchResult = matchRule(grammar, lineText, isFirstLine, linePos, stack, anchorPosition);
14507
- const injections = grammar.getInjections();
14543
+ function matchRuleOrInjections(grammar2, lineText, isFirstLine, linePos, stack, anchorPosition) {
14544
+ const matchResult = matchRule(grammar2, lineText, isFirstLine, linePos, stack, anchorPosition);
14545
+ const injections = grammar2.getInjections();
14508
14546
  if (injections.length === 0) {
14509
14547
  return matchResult;
14510
14548
  }
14511
- const injectionResult = matchInjections(injections, grammar, lineText, isFirstLine, linePos, stack, anchorPosition);
14549
+ const injectionResult = matchInjections(injections, grammar2, lineText, isFirstLine, linePos, stack, anchorPosition);
14512
14550
  if (!injectionResult) {
14513
14551
  return matchResult;
14514
14552
  }
@@ -14522,9 +14560,9 @@ function matchRuleOrInjections(grammar, lineText, isFirstLine, linePos, stack, a
14522
14560
  }
14523
14561
  return matchResult;
14524
14562
  }
14525
- function matchRule(grammar, lineText, isFirstLine, linePos, stack, anchorPosition) {
14526
- const rule = stack.getRule(grammar);
14527
- const { ruleScanner, findOptions } = prepareRuleSearch(rule, grammar, stack.endRule, isFirstLine, linePos === anchorPosition);
14563
+ function matchRule(grammar2, lineText, isFirstLine, linePos, stack, anchorPosition) {
14564
+ const rule = stack.getRule(grammar2);
14565
+ const { ruleScanner, findOptions } = prepareRuleSearch(rule, grammar2, stack.endRule, isFirstLine, linePos === anchorPosition);
14528
14566
  const r13 = ruleScanner.findNextMatchSync(lineText, linePos, findOptions);
14529
14567
  if (r13) {
14530
14568
  return {
@@ -14534,7 +14572,7 @@ function matchRule(grammar, lineText, isFirstLine, linePos, stack, anchorPositio
14534
14572
  }
14535
14573
  return null;
14536
14574
  }
14537
- function matchInjections(injections, grammar, lineText, isFirstLine, linePos, stack, anchorPosition) {
14575
+ function matchInjections(injections, grammar2, lineText, isFirstLine, linePos, stack, anchorPosition) {
14538
14576
  let bestMatchRating = Number.MAX_VALUE;
14539
14577
  let bestMatchCaptureIndices = null;
14540
14578
  let bestMatchRuleId;
@@ -14545,8 +14583,8 @@ function matchInjections(injections, grammar, lineText, isFirstLine, linePos, st
14545
14583
  if (!injection.matcher(scopes)) {
14546
14584
  continue;
14547
14585
  }
14548
- const rule = grammar.getRule(injection.ruleId);
14549
- const { ruleScanner, findOptions } = prepareRuleSearch(rule, grammar, null, isFirstLine, linePos === anchorPosition);
14586
+ const rule = grammar2.getRule(injection.ruleId);
14587
+ const { ruleScanner, findOptions } = prepareRuleSearch(rule, grammar2, null, isFirstLine, linePos === anchorPosition);
14550
14588
  const matchResult = ruleScanner.findNextMatchSync(lineText, linePos, findOptions);
14551
14589
  if (!matchResult) {
14552
14590
  continue;
@@ -14576,26 +14614,26 @@ function matchInjections(injections, grammar, lineText, isFirstLine, linePos, st
14576
14614
  }
14577
14615
  return null;
14578
14616
  }
14579
- function prepareRuleSearch(rule, grammar, endRegexSource, allowA, allowG) {
14617
+ function prepareRuleSearch(rule, grammar2, endRegexSource, allowA, allowG) {
14580
14618
  if (UseOnigurumaFindOptions) {
14581
- const ruleScanner2 = rule.compile(grammar, endRegexSource);
14619
+ const ruleScanner2 = rule.compile(grammar2, endRegexSource);
14582
14620
  const findOptions = getFindOptions(allowA, allowG);
14583
14621
  return { ruleScanner: ruleScanner2, findOptions };
14584
14622
  }
14585
- const ruleScanner = rule.compileAG(grammar, endRegexSource, allowA, allowG);
14623
+ const ruleScanner = rule.compileAG(grammar2, endRegexSource, allowA, allowG);
14586
14624
  return {
14587
14625
  ruleScanner,
14588
14626
  findOptions: 0
14589
14627
  /* None */
14590
14628
  };
14591
14629
  }
14592
- function prepareRuleWhileSearch(rule, grammar, endRegexSource, allowA, allowG) {
14630
+ function prepareRuleWhileSearch(rule, grammar2, endRegexSource, allowA, allowG) {
14593
14631
  if (UseOnigurumaFindOptions) {
14594
- const ruleScanner2 = rule.compileWhile(grammar, endRegexSource);
14632
+ const ruleScanner2 = rule.compileWhile(grammar2, endRegexSource);
14595
14633
  const findOptions = getFindOptions(allowA, allowG);
14596
14634
  return { ruleScanner: ruleScanner2, findOptions };
14597
14635
  }
14598
- const ruleScanner = rule.compileWhileAG(grammar, endRegexSource, allowA, allowG);
14636
+ const ruleScanner = rule.compileWhileAG(grammar2, endRegexSource, allowA, allowG);
14599
14637
  return {
14600
14638
  ruleScanner,
14601
14639
  findOptions: 0
@@ -14612,7 +14650,7 @@ function getFindOptions(allowA, allowG) {
14612
14650
  }
14613
14651
  return options;
14614
14652
  }
14615
- function handleCaptures(grammar, lineText, isFirstLine, stack, lineTokens, captures, captureIndices) {
14653
+ function handleCaptures(grammar2, lineText, isFirstLine, stack, lineTokens, captures, captureIndices) {
14616
14654
  if (captures.length === 0) {
14617
14655
  return;
14618
14656
  }
@@ -14643,13 +14681,13 @@ function handleCaptures(grammar, lineText, isFirstLine, stack, lineTokens, captu
14643
14681
  }
14644
14682
  if (captureRule.retokenizeCapturedWithRuleId) {
14645
14683
  const scopeName = captureRule.getName(lineTextContent, captureIndices);
14646
- const nameScopesList = stack.contentNameScopesList.pushAttributed(scopeName, grammar);
14684
+ const nameScopesList = stack.contentNameScopesList.pushAttributed(scopeName, grammar2);
14647
14685
  const contentName = captureRule.getContentName(lineTextContent, captureIndices);
14648
- const contentNameScopesList = nameScopesList.pushAttributed(contentName, grammar);
14686
+ const contentNameScopesList = nameScopesList.pushAttributed(contentName, grammar2);
14649
14687
  const stackClone = stack.push(captureRule.retokenizeCapturedWithRuleId, captureIndex.start, -1, false, null, nameScopesList, contentNameScopesList);
14650
- const onigSubStr = grammar.createOnigString(lineTextContent.substring(0, captureIndex.end));
14688
+ const onigSubStr = grammar2.createOnigString(lineTextContent.substring(0, captureIndex.end));
14651
14689
  _tokenizeString(
14652
- grammar,
14690
+ grammar2,
14653
14691
  onigSubStr,
14654
14692
  isFirstLine && captureIndex.start === 0,
14655
14693
  captureIndex.start,
@@ -14665,7 +14703,7 @@ function handleCaptures(grammar, lineText, isFirstLine, stack, lineTokens, captu
14665
14703
  const captureRuleScopeName = captureRule.getName(lineTextContent, captureIndices);
14666
14704
  if (captureRuleScopeName !== null) {
14667
14705
  const base = localStack.length > 0 ? localStack[localStack.length - 1].scopes : stack.contentNameScopesList;
14668
- const captureRuleScopesList = base.pushAttributed(captureRuleScopeName, grammar);
14706
+ const captureRuleScopesList = base.pushAttributed(captureRuleScopeName, grammar2);
14669
14707
  localStack.push(new LocalStackElement(captureRuleScopesList, captureIndex.end));
14670
14708
  }
14671
14709
  }
@@ -14682,10 +14720,10 @@ var LocalStackElement = class {
14682
14720
  this.endPos = endPos;
14683
14721
  }
14684
14722
  };
14685
- function createGrammar(scopeName, grammar, initialLanguage, embeddedLanguages, tokenTypes, balancedBracketSelectors, grammarRepository, onigLib) {
14723
+ function createGrammar(scopeName, grammar2, initialLanguage, embeddedLanguages, tokenTypes, balancedBracketSelectors, grammarRepository, onigLib) {
14686
14724
  return new Grammar(
14687
14725
  scopeName,
14688
- grammar,
14726
+ grammar2,
14689
14727
  initialLanguage,
14690
14728
  embeddedLanguages,
14691
14729
  tokenTypes,
@@ -14694,15 +14732,15 @@ function createGrammar(scopeName, grammar, initialLanguage, embeddedLanguages, t
14694
14732
  onigLib
14695
14733
  );
14696
14734
  }
14697
- function collectInjections(result, selector, rule, ruleFactoryHelper, grammar) {
14735
+ function collectInjections(result, selector, rule, ruleFactoryHelper, grammar2) {
14698
14736
  const matchers = createMatchers(selector, nameMatcher);
14699
- const ruleId = RuleFactory.getCompiledRuleId(rule, ruleFactoryHelper, grammar.repository);
14737
+ const ruleId = RuleFactory.getCompiledRuleId(rule, ruleFactoryHelper, grammar2.repository);
14700
14738
  for (const matcher of matchers) {
14701
14739
  result.push({
14702
14740
  debugSelector: selector,
14703
14741
  matcher: matcher.matcher,
14704
14742
  ruleId,
14705
- grammar,
14743
+ grammar: grammar2,
14706
14744
  priority: matcher.priority
14707
14745
  });
14708
14746
  }
@@ -14733,7 +14771,7 @@ function scopesAreMatching(thisScopeName, scopeName) {
14733
14771
  return thisScopeName.length > len && thisScopeName.substr(0, len) === scopeName && thisScopeName[len] === ".";
14734
14772
  }
14735
14773
  var Grammar = class {
14736
- constructor(_rootScopeName, grammar, initialLanguage, embeddedLanguages, tokenTypes, balancedBracketSelectors, grammarRepository, _onigLib) {
14774
+ constructor(_rootScopeName, grammar2, initialLanguage, embeddedLanguages, tokenTypes, balancedBracketSelectors, grammarRepository, _onigLib) {
14737
14775
  this._rootScopeName = _rootScopeName;
14738
14776
  this.balancedBracketSelectors = balancedBracketSelectors;
14739
14777
  this._onigLib = _onigLib;
@@ -14746,7 +14784,7 @@ var Grammar = class {
14746
14784
  this._ruleId2desc = [null];
14747
14785
  this._includedGrammars = {};
14748
14786
  this._grammarRepository = grammarRepository;
14749
- this._grammar = initGrammar(grammar, null);
14787
+ this._grammar = initGrammar(grammar2, null);
14750
14788
  this._injections = null;
14751
14789
  this._tokenTypeMatchers = [];
14752
14790
  if (tokenTypes) {
@@ -14803,9 +14841,9 @@ var Grammar = class {
14803
14841
  };
14804
14842
  const result = [];
14805
14843
  const scopeName = this._rootScopeName;
14806
- const grammar = grammarRepository.lookup(scopeName);
14807
- if (grammar) {
14808
- const rawInjections = grammar.injections;
14844
+ const grammar2 = grammarRepository.lookup(scopeName);
14845
+ if (grammar2) {
14846
+ const rawInjections = grammar2.injections;
14809
14847
  if (rawInjections) {
14810
14848
  for (let expression in rawInjections) {
14811
14849
  collectInjections(
@@ -14813,7 +14851,7 @@ var Grammar = class {
14813
14851
  expression,
14814
14852
  rawInjections[expression],
14815
14853
  this,
14816
- grammar
14854
+ grammar2
14817
14855
  );
14818
14856
  }
14819
14857
  }
@@ -14967,16 +15005,16 @@ var Grammar = class {
14967
15005
  };
14968
15006
  }
14969
15007
  };
14970
- function initGrammar(grammar, base) {
14971
- grammar = clone(grammar);
14972
- grammar.repository = grammar.repository || {};
14973
- grammar.repository.$self = {
14974
- $vscodeTextmateLocation: grammar.$vscodeTextmateLocation,
14975
- patterns: grammar.patterns,
14976
- name: grammar.scopeName
15008
+ function initGrammar(grammar2, base) {
15009
+ grammar2 = clone(grammar2);
15010
+ grammar2.repository = grammar2.repository || {};
15011
+ grammar2.repository.$self = {
15012
+ $vscodeTextmateLocation: grammar2.$vscodeTextmateLocation,
15013
+ patterns: grammar2.patterns,
15014
+ name: grammar2.scopeName
14977
15015
  };
14978
- grammar.repository.$base = base || grammar.repository.$self;
14979
- return grammar;
15016
+ grammar2.repository.$base = base || grammar2.repository.$self;
15017
+ return grammar2;
14980
15018
  }
14981
15019
  var AttributedScopeStack = class _AttributedScopeStack {
14982
15020
  /**
@@ -15004,10 +15042,10 @@ var AttributedScopeStack = class _AttributedScopeStack {
15004
15042
  static createRoot(scopeName, tokenAttributes) {
15005
15043
  return new _AttributedScopeStack(null, new ScopeStack(null, scopeName), tokenAttributes);
15006
15044
  }
15007
- static createRootAndLookUpScopeName(scopeName, tokenAttributes, grammar) {
15008
- const rawRootMetadata = grammar.getMetadataForScope(scopeName);
15045
+ static createRootAndLookUpScopeName(scopeName, tokenAttributes, grammar2) {
15046
+ const rawRootMetadata = grammar2.getMetadataForScope(scopeName);
15009
15047
  const scopePath = new ScopeStack(null, scopeName);
15010
- const rootStyle = grammar.themeProvider.themeMatch(scopePath);
15048
+ const rootStyle = grammar2.themeProvider.themeMatch(scopePath);
15011
15049
  const resolvedTokenAttributes = _AttributedScopeStack.mergeAttributes(
15012
15050
  tokenAttributes,
15013
15051
  rawRootMetadata,
@@ -15061,24 +15099,24 @@ var AttributedScopeStack = class _AttributedScopeStack {
15061
15099
  background
15062
15100
  );
15063
15101
  }
15064
- pushAttributed(scopePath, grammar) {
15102
+ pushAttributed(scopePath, grammar2) {
15065
15103
  if (scopePath === null) {
15066
15104
  return this;
15067
15105
  }
15068
15106
  if (scopePath.indexOf(" ") === -1) {
15069
- return _AttributedScopeStack._pushAttributed(this, scopePath, grammar);
15107
+ return _AttributedScopeStack._pushAttributed(this, scopePath, grammar2);
15070
15108
  }
15071
15109
  const scopes = scopePath.split(/ /g);
15072
15110
  let result = this;
15073
15111
  for (const scope of scopes) {
15074
- result = _AttributedScopeStack._pushAttributed(result, scope, grammar);
15112
+ result = _AttributedScopeStack._pushAttributed(result, scope, grammar2);
15075
15113
  }
15076
15114
  return result;
15077
15115
  }
15078
- static _pushAttributed(target, scopeName, grammar) {
15079
- const rawMetadata = grammar.getMetadataForScope(scopeName);
15116
+ static _pushAttributed(target, scopeName, grammar2) {
15117
+ const rawMetadata = grammar2.getMetadataForScope(scopeName);
15080
15118
  const newPath = target.scopePath.push(scopeName);
15081
- const scopeThemeMatchResult = grammar.themeProvider.themeMatch(newPath);
15119
+ const scopeThemeMatchResult = grammar2.themeProvider.themeMatch(newPath);
15082
15120
  const metadata = _AttributedScopeStack.mergeAttributes(
15083
15121
  target.tokenAttributes,
15084
15122
  rawMetadata,
@@ -15229,8 +15267,8 @@ var StateStackImpl = class _StateStackImpl {
15229
15267
  getAnchorPos() {
15230
15268
  return this._anchorPos;
15231
15269
  }
15232
- getRule(grammar) {
15233
- return grammar.getRule(this.ruleId);
15270
+ getRule(grammar2) {
15271
+ return grammar2.getRule(this.ruleId);
15234
15272
  }
15235
15273
  toString() {
15236
15274
  const r13 = [];
@@ -15473,8 +15511,8 @@ var SyncRegistry = class {
15473
15511
  _injectionGrammars = /* @__PURE__ */ new Map();
15474
15512
  _theme;
15475
15513
  dispose() {
15476
- for (const grammar of this._grammars.values()) {
15477
- grammar.dispose();
15514
+ for (const grammar2 of this._grammars.values()) {
15515
+ grammar2.dispose();
15478
15516
  }
15479
15517
  }
15480
15518
  setTheme(theme2) {
@@ -15486,10 +15524,10 @@ var SyncRegistry = class {
15486
15524
  /**
15487
15525
  * Add `grammar` to registry and return a list of referenced scope names
15488
15526
  */
15489
- addGrammar(grammar, injectionScopeNames) {
15490
- this._rawGrammars.set(grammar.scopeName, grammar);
15527
+ addGrammar(grammar2, injectionScopeNames) {
15528
+ this._rawGrammars.set(grammar2.scopeName, grammar2);
15491
15529
  if (injectionScopeNames) {
15492
- this._injectionGrammars.set(grammar.scopeName, injectionScopeNames);
15530
+ this._injectionGrammars.set(grammar2.scopeName, injectionScopeNames);
15493
15531
  }
15494
15532
  }
15495
15533
  /**
@@ -15616,10 +15654,10 @@ var Registry = class {
15616
15654
  }
15617
15655
  }
15618
15656
  _doLoadSingleGrammar(scopeName) {
15619
- const grammar = this._options.loadGrammar(scopeName);
15620
- if (grammar) {
15657
+ const grammar2 = this._options.loadGrammar(scopeName);
15658
+ if (grammar2) {
15621
15659
  const injections = typeof this._options.getInjections === "function" ? this._options.getInjections(scopeName) : void 0;
15622
- this._syncRegistry.addGrammar(grammar, injections);
15660
+ this._syncRegistry.addGrammar(grammar2, injections);
15623
15661
  }
15624
15662
  }
15625
15663
  /**
@@ -16145,17 +16183,17 @@ function getLastGrammarState(...args) {
16145
16183
  const _grammar = primitive.getLanguage(lang);
16146
16184
  return new GrammarState(_tokenizeWithTheme(code2, _grammar, theme2, colorMap, options).stateStack, _grammar.name, theme2.name);
16147
16185
  }
16148
- function tokenizeWithTheme(code2, grammar, theme2, colorMap, options) {
16149
- const result = _tokenizeWithTheme(code2, grammar, theme2, colorMap, options);
16150
- const grammarState = new GrammarState(result.stateStack, grammar.name, theme2.name);
16186
+ function tokenizeWithTheme(code2, grammar2, theme2, colorMap, options) {
16187
+ const result = _tokenizeWithTheme(code2, grammar2, theme2, colorMap, options);
16188
+ const grammarState = new GrammarState(result.stateStack, grammar2.name, theme2.name);
16151
16189
  setLastGrammarStateToMap(result.tokens, grammarState);
16152
16190
  return result.tokens;
16153
16191
  }
16154
- function _tokenizeWithTheme(code2, grammar, theme2, colorMap, options) {
16192
+ function _tokenizeWithTheme(code2, grammar2, theme2, colorMap, options) {
16155
16193
  const colorReplacements = resolveColorReplacements(theme2, options);
16156
16194
  const { tokenizeMaxLineLength = 0, tokenizeTimeLimit = 500, includeExplanation = false } = options;
16157
16195
  const lines = splitLines(code2);
16158
- let stateStack = options.grammarState ? getGrammarStack(options.grammarState, theme2.name) ?? INITIAL : options.grammarContextCode != null ? _tokenizeWithTheme(options.grammarContextCode, grammar, theme2, colorMap, {
16196
+ let stateStack = options.grammarState ? getGrammarStack(options.grammarState, theme2.name) ?? INITIAL : options.grammarContextCode != null ? _tokenizeWithTheme(options.grammarContextCode, grammar2, theme2, colorMap, {
16159
16197
  ...options,
16160
16198
  grammarState: void 0,
16161
16199
  grammarContextCode: void 0
@@ -16183,11 +16221,11 @@ function _tokenizeWithTheme(code2, grammar, theme2, colorMap, options) {
16183
16221
  let tokensWithScopes;
16184
16222
  let tokensWithScopesIndex;
16185
16223
  if (includeExplanation && includeExplanation !== "tokenType") {
16186
- resultWithScopes = grammar.tokenizeLine(line, stateStack, tokenizeTimeLimit);
16224
+ resultWithScopes = grammar2.tokenizeLine(line, stateStack, tokenizeTimeLimit);
16187
16225
  tokensWithScopes = resultWithScopes.tokens;
16188
16226
  tokensWithScopesIndex = 0;
16189
16227
  }
16190
- const result = grammar.tokenizeLine2(line, stateStack, tokenizeTimeLimit);
16228
+ const result = grammar2.tokenizeLine2(line, stateStack, tokenizeTimeLimit);
16191
16229
  const tokensLength = result.tokens.length / 2;
16192
16230
  for (let j3 = 0; j3 < tokensLength; j3++) {
16193
16231
  const startIndex = result.tokens[2 * j3];
@@ -23270,6 +23308,7 @@ function createPierreTheme(name) {
23270
23308
  var pierreThemes = createThemeCollection({ themes: PIERRE_THEMES.map((name) => createPierreTheme(name)) });
23271
23309
 
23272
23310
  // node_modules/@pierre/theming/dist/collections/shiki.js
23311
+ var __sliccGrammar3 = (kind, name) => grammar(kind, name, { "langs": "4.5.0", "themes": "4.5.0" }[kind], "https://cdn.jsdelivr.net/npm/@shikijs/");
23273
23312
  var SHIKI_COLLECTION = "shiki";
23274
23313
  var LIGHT_SHIKI_THEMES = [
23275
23314
  "ayu-light",
@@ -23346,71 +23385,71 @@ function shikiColorScheme(name) {
23346
23385
  return "dark";
23347
23386
  }
23348
23387
  var SHIKI_THEME_IMPORTS = {
23349
- andromeeda: () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/andromeeda.mjs"),
23350
- "aurora-x": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/aurora-x.mjs"),
23351
- "ayu-dark": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/ayu-dark.mjs"),
23352
- "ayu-light": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/ayu-light.mjs"),
23353
- "ayu-mirage": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/ayu-mirage.mjs"),
23354
- "catppuccin-frappe": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/catppuccin-frappe.mjs"),
23355
- "catppuccin-latte": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/catppuccin-latte.mjs"),
23356
- "catppuccin-macchiato": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/catppuccin-macchiato.mjs"),
23357
- "catppuccin-mocha": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/catppuccin-mocha.mjs"),
23358
- "dark-plus": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/dark-plus.mjs"),
23359
- dracula: () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/dracula.mjs"),
23360
- "dracula-soft": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/dracula-soft.mjs"),
23361
- "everforest-dark": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/everforest-dark.mjs"),
23362
- "everforest-light": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/everforest-light.mjs"),
23363
- "github-dark": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/github-dark.mjs"),
23364
- "github-dark-default": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/github-dark-default.mjs"),
23365
- "github-dark-dimmed": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/github-dark-dimmed.mjs"),
23366
- "github-dark-high-contrast": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/github-dark-high-contrast.mjs"),
23367
- "github-light": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/github-light.mjs"),
23368
- "github-light-default": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/github-light-default.mjs"),
23369
- "github-light-high-contrast": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/github-light-high-contrast.mjs"),
23370
- "gruvbox-dark-hard": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/gruvbox-dark-hard.mjs"),
23371
- "gruvbox-dark-medium": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/gruvbox-dark-medium.mjs"),
23372
- "gruvbox-dark-soft": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/gruvbox-dark-soft.mjs"),
23373
- "gruvbox-light-hard": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/gruvbox-light-hard.mjs"),
23374
- "gruvbox-light-medium": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/gruvbox-light-medium.mjs"),
23375
- "gruvbox-light-soft": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/gruvbox-light-soft.mjs"),
23376
- horizon: () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/horizon.mjs"),
23377
- "horizon-bright": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/horizon-bright.mjs"),
23378
- houston: () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/houston.mjs"),
23379
- "kanagawa-dragon": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/kanagawa-dragon.mjs"),
23380
- "kanagawa-lotus": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/kanagawa-lotus.mjs"),
23381
- "kanagawa-wave": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/kanagawa-wave.mjs"),
23382
- laserwave: () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/laserwave.mjs"),
23383
- "light-plus": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/light-plus.mjs"),
23384
- "material-theme": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/material-theme.mjs"),
23385
- "material-theme-darker": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/material-theme-darker.mjs"),
23386
- "material-theme-lighter": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/material-theme-lighter.mjs"),
23387
- "material-theme-ocean": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/material-theme-ocean.mjs"),
23388
- "material-theme-palenight": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/material-theme-palenight.mjs"),
23389
- "min-dark": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/min-dark.mjs"),
23390
- "min-light": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/min-light.mjs"),
23391
- monokai: () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/monokai.mjs"),
23392
- "night-owl": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/night-owl.mjs"),
23393
- "night-owl-light": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/night-owl-light.mjs"),
23394
- nord: () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/nord.mjs"),
23395
- "one-dark-pro": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/one-dark-pro.mjs"),
23396
- "one-light": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/one-light.mjs"),
23397
- plastic: () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/plastic.mjs"),
23398
- poimandres: () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/poimandres.mjs"),
23399
- red: () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/red.mjs"),
23400
- "rose-pine": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/rose-pine.mjs"),
23401
- "rose-pine-dawn": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/rose-pine-dawn.mjs"),
23402
- "rose-pine-moon": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/rose-pine-moon.mjs"),
23403
- "slack-dark": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/slack-dark.mjs"),
23404
- "slack-ochin": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/slack-ochin.mjs"),
23405
- "snazzy-light": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/snazzy-light.mjs"),
23406
- "solarized-dark": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/solarized-dark.mjs"),
23407
- "solarized-light": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/solarized-light.mjs"),
23408
- "synthwave-84": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/synthwave-84.mjs"),
23409
- "tokyo-night": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/tokyo-night.mjs"),
23410
- vesper: () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/vesper.mjs"),
23411
- "vitesse-black": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/vitesse-black.mjs"),
23412
- "vitesse-dark": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/vitesse-dark.mjs"),
23413
- "vitesse-light": () => import("https://cdn.jsdelivr.net/npm/@shikijs/themes@4.5.0/dist/vitesse-light.mjs")
23388
+ andromeeda: () => __sliccGrammar3("themes", "andromeeda"),
23389
+ "aurora-x": () => __sliccGrammar3("themes", "aurora-x"),
23390
+ "ayu-dark": () => __sliccGrammar3("themes", "ayu-dark"),
23391
+ "ayu-light": () => __sliccGrammar3("themes", "ayu-light"),
23392
+ "ayu-mirage": () => __sliccGrammar3("themes", "ayu-mirage"),
23393
+ "catppuccin-frappe": () => __sliccGrammar3("themes", "catppuccin-frappe"),
23394
+ "catppuccin-latte": () => __sliccGrammar3("themes", "catppuccin-latte"),
23395
+ "catppuccin-macchiato": () => __sliccGrammar3("themes", "catppuccin-macchiato"),
23396
+ "catppuccin-mocha": () => __sliccGrammar3("themes", "catppuccin-mocha"),
23397
+ "dark-plus": () => __sliccGrammar3("themes", "dark-plus"),
23398
+ dracula: () => __sliccGrammar3("themes", "dracula"),
23399
+ "dracula-soft": () => __sliccGrammar3("themes", "dracula-soft"),
23400
+ "everforest-dark": () => __sliccGrammar3("themes", "everforest-dark"),
23401
+ "everforest-light": () => __sliccGrammar3("themes", "everforest-light"),
23402
+ "github-dark": () => __sliccGrammar3("themes", "github-dark"),
23403
+ "github-dark-default": () => __sliccGrammar3("themes", "github-dark-default"),
23404
+ "github-dark-dimmed": () => __sliccGrammar3("themes", "github-dark-dimmed"),
23405
+ "github-dark-high-contrast": () => __sliccGrammar3("themes", "github-dark-high-contrast"),
23406
+ "github-light": () => __sliccGrammar3("themes", "github-light"),
23407
+ "github-light-default": () => __sliccGrammar3("themes", "github-light-default"),
23408
+ "github-light-high-contrast": () => __sliccGrammar3("themes", "github-light-high-contrast"),
23409
+ "gruvbox-dark-hard": () => __sliccGrammar3("themes", "gruvbox-dark-hard"),
23410
+ "gruvbox-dark-medium": () => __sliccGrammar3("themes", "gruvbox-dark-medium"),
23411
+ "gruvbox-dark-soft": () => __sliccGrammar3("themes", "gruvbox-dark-soft"),
23412
+ "gruvbox-light-hard": () => __sliccGrammar3("themes", "gruvbox-light-hard"),
23413
+ "gruvbox-light-medium": () => __sliccGrammar3("themes", "gruvbox-light-medium"),
23414
+ "gruvbox-light-soft": () => __sliccGrammar3("themes", "gruvbox-light-soft"),
23415
+ horizon: () => __sliccGrammar3("themes", "horizon"),
23416
+ "horizon-bright": () => __sliccGrammar3("themes", "horizon-bright"),
23417
+ houston: () => __sliccGrammar3("themes", "houston"),
23418
+ "kanagawa-dragon": () => __sliccGrammar3("themes", "kanagawa-dragon"),
23419
+ "kanagawa-lotus": () => __sliccGrammar3("themes", "kanagawa-lotus"),
23420
+ "kanagawa-wave": () => __sliccGrammar3("themes", "kanagawa-wave"),
23421
+ laserwave: () => __sliccGrammar3("themes", "laserwave"),
23422
+ "light-plus": () => __sliccGrammar3("themes", "light-plus"),
23423
+ "material-theme": () => __sliccGrammar3("themes", "material-theme"),
23424
+ "material-theme-darker": () => __sliccGrammar3("themes", "material-theme-darker"),
23425
+ "material-theme-lighter": () => __sliccGrammar3("themes", "material-theme-lighter"),
23426
+ "material-theme-ocean": () => __sliccGrammar3("themes", "material-theme-ocean"),
23427
+ "material-theme-palenight": () => __sliccGrammar3("themes", "material-theme-palenight"),
23428
+ "min-dark": () => __sliccGrammar3("themes", "min-dark"),
23429
+ "min-light": () => __sliccGrammar3("themes", "min-light"),
23430
+ monokai: () => __sliccGrammar3("themes", "monokai"),
23431
+ "night-owl": () => __sliccGrammar3("themes", "night-owl"),
23432
+ "night-owl-light": () => __sliccGrammar3("themes", "night-owl-light"),
23433
+ nord: () => __sliccGrammar3("themes", "nord"),
23434
+ "one-dark-pro": () => __sliccGrammar3("themes", "one-dark-pro"),
23435
+ "one-light": () => __sliccGrammar3("themes", "one-light"),
23436
+ plastic: () => __sliccGrammar3("themes", "plastic"),
23437
+ poimandres: () => __sliccGrammar3("themes", "poimandres"),
23438
+ red: () => __sliccGrammar3("themes", "red"),
23439
+ "rose-pine": () => __sliccGrammar3("themes", "rose-pine"),
23440
+ "rose-pine-dawn": () => __sliccGrammar3("themes", "rose-pine-dawn"),
23441
+ "rose-pine-moon": () => __sliccGrammar3("themes", "rose-pine-moon"),
23442
+ "slack-dark": () => __sliccGrammar3("themes", "slack-dark"),
23443
+ "slack-ochin": () => __sliccGrammar3("themes", "slack-ochin"),
23444
+ "snazzy-light": () => __sliccGrammar3("themes", "snazzy-light"),
23445
+ "solarized-dark": () => __sliccGrammar3("themes", "solarized-dark"),
23446
+ "solarized-light": () => __sliccGrammar3("themes", "solarized-light"),
23447
+ "synthwave-84": () => __sliccGrammar3("themes", "synthwave-84"),
23448
+ "tokyo-night": () => __sliccGrammar3("themes", "tokyo-night"),
23449
+ vesper: () => __sliccGrammar3("themes", "vesper"),
23450
+ "vitesse-black": () => __sliccGrammar3("themes", "vitesse-black"),
23451
+ "vitesse-dark": () => __sliccGrammar3("themes", "vitesse-dark"),
23452
+ "vitesse-light": () => __sliccGrammar3("themes", "vitesse-light")
23414
23453
  };
23415
23454
  function createShikiTheme(name) {
23416
23455
  return createTheme({
@@ -61388,7 +61427,9 @@ export {
61388
61427
  SliccFileView,
61389
61428
  SliccFiles,
61390
61429
  define2 as define,
61430
+ grammarBase,
61391
61431
  resolveColor,
61432
+ setGrammarBase,
61392
61433
  surfaces
61393
61434
  };
61394
61435
  /*! Bundled license information: