@kong-ui-public/document-viewer 0.5.17 → 0.5.18
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/document-viewer.es.js +4 -3
- package/dist/document-viewer.umd.js +39 -39
- package/dist/document-viewer.umd.js.map +1 -1
- package/dist/{index-290bf498.js → index-23fd1872.js} +738 -729
- package/dist/index-23fd1872.js.map +1 -0
- package/dist/{prism-core.min-b4e9a0e1.js → prism-core.min-57bbc1fe.js} +2 -2
- package/dist/{prism-core.min-b4e9a0e1.js.map → prism-core.min-57bbc1fe.js.map} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/components/nodes/Strikethrough.vue.d.ts +10 -0
- package/dist/types/components/nodes/Strikethrough.vue.d.ts.map +1 -0
- package/dist/types/components/nodes/TableCell.vue.d.ts +3 -3
- package/dist/types/components/nodes/TableRow.vue.d.ts.map +1 -1
- package/dist/types/components/renderChildren.d.ts.map +1 -1
- package/dist/types/types/index.d.ts +5 -0
- package/dist/types/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/index-290bf498.js.map +0 -1
|
@@ -1,48 +1,51 @@
|
|
|
1
|
-
import { openBlock as H, createElementBlock as
|
|
2
|
-
var
|
|
3
|
-
function
|
|
1
|
+
import { openBlock as H, createElementBlock as x, renderSlot as O, defineComponent as G, ref as Ft, computed as Se, watch as Ot, resolveComponent as Mt, createBlock as ee, unref as K, resolveDynamicComponent as se, withCtx as ae, createElementVNode as Gt, normalizeClass as qt, Fragment as Ut, createTextVNode as $t, toDisplayString as at, createCommentVNode as qe, createVNode as Ue, mergeProps as $e, h as Vt } from "vue";
|
|
2
|
+
var Q = /* @__PURE__ */ ((e) => (e.header = "header", e.body = "body", e.footer = "footer", e))(Q || {}), fe = /* @__PURE__ */ ((e) => (e.left = "left", e.center = "center", e.right = "right", e))(fe || {});
|
|
3
|
+
function zt(e) {
|
|
4
|
+
return (e == null ? void 0 : e.type) === "table_header";
|
|
5
|
+
}
|
|
6
|
+
function Xt(e) {
|
|
4
7
|
return (e == null ? void 0 : e.type) === "text";
|
|
5
8
|
}
|
|
6
|
-
function
|
|
9
|
+
function Kt(e) {
|
|
7
10
|
return (e == null ? void 0 : e.type) === "heading";
|
|
8
11
|
}
|
|
9
|
-
const
|
|
12
|
+
const C = (e, t) => {
|
|
10
13
|
const r = e.__vccOpts || e;
|
|
11
14
|
for (const [n, o] of t)
|
|
12
15
|
r[n] = o;
|
|
13
16
|
return r;
|
|
14
|
-
},
|
|
15
|
-
function
|
|
16
|
-
return H(),
|
|
17
|
+
}, Wt = {};
|
|
18
|
+
function Zt(e, t) {
|
|
19
|
+
return H(), x("blockquote", null, [
|
|
17
20
|
O(e.$slots, "default", {}, void 0, !0)
|
|
18
21
|
]);
|
|
19
22
|
}
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
function
|
|
23
|
-
return H(),
|
|
23
|
+
const Jt = /* @__PURE__ */ C(Wt, [["render", Zt], ["__scopeId", "data-v-0978f9b5"]]);
|
|
24
|
+
const Yt = {};
|
|
25
|
+
function Qt(e, t) {
|
|
26
|
+
return H(), x("code", null, [
|
|
24
27
|
O(e.$slots, "default", {}, void 0, !0)
|
|
25
28
|
]);
|
|
26
29
|
}
|
|
27
|
-
const
|
|
30
|
+
const er = /* @__PURE__ */ C(Yt, [["render", Qt], ["__scopeId", "data-v-3d07f321"]]), tr = (e, t) => {
|
|
28
31
|
const r = e[t];
|
|
29
32
|
return r ? typeof r == "function" ? r() : Promise.resolve(r) : new Promise((n, o) => {
|
|
30
33
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(o.bind(null, new Error("Unknown variable dynamic import: " + t)));
|
|
31
34
|
});
|
|
32
35
|
};
|
|
33
|
-
var Ve = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {},
|
|
36
|
+
var Ve = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, _e = {}, rr = {
|
|
34
37
|
get exports() {
|
|
35
|
-
return
|
|
38
|
+
return _e;
|
|
36
39
|
},
|
|
37
40
|
set exports(e) {
|
|
38
|
-
|
|
41
|
+
_e = e;
|
|
39
42
|
}
|
|
40
43
|
};
|
|
41
44
|
(function(e) {
|
|
42
45
|
var t = { core: { meta: { path: "components/prism-core.js", option: "mandatory" }, core: "Core" }, themes: { meta: { path: "themes/{id}.css", link: "index.html?theme={id}", exclusive: !0 }, prism: { title: "Default", option: "default" }, "prism-dark": "Dark", "prism-funky": "Funky", "prism-okaidia": { title: "Okaidia", owner: "ocodia" }, "prism-twilight": { title: "Twilight", owner: "remybach" }, "prism-coy": { title: "Coy", owner: "tshedor" }, "prism-solarizedlight": { title: "Solarized Light", owner: "hectormatos2011 " }, "prism-tomorrow": { title: "Tomorrow Night", owner: "Rosey" } }, languages: { meta: { path: "components/prism-{id}", noCSS: !0, examplesPath: "examples/prism-{id}", addCheckAll: !0 }, markup: { title: "Markup", alias: ["html", "xml", "svg", "mathml", "ssml", "atom", "rss"], aliasTitles: { html: "HTML", xml: "XML", svg: "SVG", mathml: "MathML", ssml: "SSML", atom: "Atom", rss: "RSS" }, option: "default" }, css: { title: "CSS", option: "default", modify: "markup" }, clike: { title: "C-like", option: "default" }, javascript: { title: "JavaScript", require: "clike", modify: "markup", optional: "regex", alias: "js", option: "default" }, abap: { title: "ABAP", owner: "dellagustin" }, abnf: { title: "ABNF", owner: "RunDevelopment" }, actionscript: { title: "ActionScript", require: "javascript", modify: "markup", owner: "Golmote" }, ada: { title: "Ada", owner: "Lucretia" }, agda: { title: "Agda", owner: "xy-ren" }, al: { title: "AL", owner: "RunDevelopment" }, antlr4: { title: "ANTLR4", alias: "g4", owner: "RunDevelopment" }, apacheconf: { title: "Apache Configuration", owner: "GuiTeK" }, apex: { title: "Apex", require: ["clike", "sql"], owner: "RunDevelopment" }, apl: { title: "APL", owner: "ngn" }, applescript: { title: "AppleScript", owner: "Golmote" }, aql: { title: "AQL", owner: "RunDevelopment" }, arduino: { title: "Arduino", require: "cpp", alias: "ino", owner: "dkern" }, arff: { title: "ARFF", owner: "Golmote" }, armasm: { title: "ARM Assembly", alias: "arm-asm", owner: "RunDevelopment" }, arturo: { title: "Arturo", alias: "art", optional: ["bash", "css", "javascript", "markup", "markdown", "sql"], owner: "drkameleon" }, asciidoc: { alias: "adoc", title: "AsciiDoc", owner: "Golmote" }, aspnet: { title: "ASP.NET (C#)", require: ["markup", "csharp"], owner: "nauzilus" }, asm6502: { title: "6502 Assembly", owner: "kzurawel" }, asmatmel: { title: "Atmel AVR Assembly", owner: "cerkit" }, autohotkey: { title: "AutoHotkey", owner: "aviaryan" }, autoit: { title: "AutoIt", owner: "Golmote" }, avisynth: { title: "AviSynth", alias: "avs", owner: "Zinfidel" }, "avro-idl": { title: "Avro IDL", alias: "avdl", owner: "RunDevelopment" }, awk: { title: "AWK", alias: "gawk", aliasTitles: { gawk: "GAWK" }, owner: "RunDevelopment" }, bash: { title: "Bash", alias: ["sh", "shell"], aliasTitles: { sh: "Shell", shell: "Shell" }, owner: "zeitgeist87" }, basic: { title: "BASIC", owner: "Golmote" }, batch: { title: "Batch", owner: "Golmote" }, bbcode: { title: "BBcode", alias: "shortcode", aliasTitles: { shortcode: "Shortcode" }, owner: "RunDevelopment" }, bbj: { title: "BBj", owner: "hyyan" }, bicep: { title: "Bicep", owner: "johnnyreilly" }, birb: { title: "Birb", require: "clike", owner: "Calamity210" }, bison: { title: "Bison", require: "c", owner: "Golmote" }, bnf: { title: "BNF", alias: "rbnf", aliasTitles: { rbnf: "RBNF" }, owner: "RunDevelopment" }, bqn: { title: "BQN", owner: "yewscion" }, brainfuck: { title: "Brainfuck", owner: "Golmote" }, brightscript: { title: "BrightScript", owner: "RunDevelopment" }, bro: { title: "Bro", owner: "wayward710" }, bsl: { title: "BSL (1C:Enterprise)", alias: "oscript", aliasTitles: { oscript: "OneScript" }, owner: "Diversus23" }, c: { title: "C", require: "clike", owner: "zeitgeist87" }, csharp: { title: "C#", require: "clike", alias: ["cs", "dotnet"], owner: "mvalipour" }, cpp: { title: "C++", require: "c", owner: "zeitgeist87" }, cfscript: { title: "CFScript", require: "clike", alias: "cfc", owner: "mjclemente" }, chaiscript: { title: "ChaiScript", require: ["clike", "cpp"], owner: "RunDevelopment" }, cil: { title: "CIL", owner: "sbrl" }, cilkc: { title: "Cilk/C", require: "c", alias: "cilk-c", owner: "OpenCilk" }, cilkcpp: { title: "Cilk/C++", require: "cpp", alias: ["cilk-cpp", "cilk"], owner: "OpenCilk" }, clojure: { title: "Clojure", owner: "troglotit" }, cmake: { title: "CMake", owner: "mjrogozinski" }, cobol: { title: "COBOL", owner: "RunDevelopment" }, coffeescript: { title: "CoffeeScript", require: "javascript", alias: "coffee", owner: "R-osey" }, concurnas: { title: "Concurnas", alias: "conc", owner: "jasontatton" }, csp: { title: "Content-Security-Policy", owner: "ScottHelme" }, cooklang: { title: "Cooklang", owner: "ahue" }, coq: { title: "Coq", owner: "RunDevelopment" }, crystal: { title: "Crystal", require: "ruby", owner: "MakeNowJust" }, "css-extras": { title: "CSS Extras", require: "css", modify: "css", owner: "milesj" }, csv: { title: "CSV", owner: "RunDevelopment" }, cue: { title: "CUE", owner: "RunDevelopment" }, cypher: { title: "Cypher", owner: "RunDevelopment" }, d: { title: "D", require: "clike", owner: "Golmote" }, dart: { title: "Dart", require: "clike", owner: "Golmote" }, dataweave: { title: "DataWeave", owner: "machaval" }, dax: { title: "DAX", owner: "peterbud" }, dhall: { title: "Dhall", owner: "RunDevelopment" }, diff: { title: "Diff", owner: "uranusjr" }, django: { title: "Django/Jinja2", require: "markup-templating", alias: "jinja2", owner: "romanvm" }, "dns-zone-file": { title: "DNS zone file", owner: "RunDevelopment", alias: "dns-zone" }, docker: { title: "Docker", alias: "dockerfile", owner: "JustinBeckwith" }, dot: { title: "DOT (Graphviz)", alias: "gv", optional: "markup", owner: "RunDevelopment" }, ebnf: { title: "EBNF", owner: "RunDevelopment" }, editorconfig: { title: "EditorConfig", owner: "osipxd" }, eiffel: { title: "Eiffel", owner: "Conaclos" }, ejs: { title: "EJS", require: ["javascript", "markup-templating"], owner: "RunDevelopment", alias: "eta", aliasTitles: { eta: "Eta" } }, elixir: { title: "Elixir", owner: "Golmote" }, elm: { title: "Elm", owner: "zwilias" }, etlua: { title: "Embedded Lua templating", require: ["lua", "markup-templating"], owner: "RunDevelopment" }, erb: { title: "ERB", require: ["ruby", "markup-templating"], owner: "Golmote" }, erlang: { title: "Erlang", owner: "Golmote" }, "excel-formula": { title: "Excel Formula", alias: ["xlsx", "xls"], owner: "RunDevelopment" }, fsharp: { title: "F#", require: "clike", owner: "simonreynolds7" }, factor: { title: "Factor", owner: "catb0t" }, false: { title: "False", owner: "edukisto" }, "firestore-security-rules": { title: "Firestore security rules", require: "clike", owner: "RunDevelopment" }, flow: { title: "Flow", require: "javascript", owner: "Golmote" }, fortran: { title: "Fortran", owner: "Golmote" }, ftl: { title: "FreeMarker Template Language", require: "markup-templating", owner: "RunDevelopment" }, gml: { title: "GameMaker Language", alias: "gamemakerlanguage", require: "clike", owner: "LiarOnce" }, gap: { title: "GAP (CAS)", owner: "RunDevelopment" }, gcode: { title: "G-code", owner: "RunDevelopment" }, gdscript: { title: "GDScript", owner: "RunDevelopment" }, gedcom: { title: "GEDCOM", owner: "Golmote" }, gettext: { title: "gettext", alias: "po", owner: "RunDevelopment" }, gherkin: { title: "Gherkin", owner: "hason" }, git: { title: "Git", owner: "lgiraudel" }, glsl: { title: "GLSL", require: "c", owner: "Golmote" }, gn: { title: "GN", alias: "gni", owner: "RunDevelopment" }, "linker-script": { title: "GNU Linker Script", alias: "ld", owner: "RunDevelopment" }, go: { title: "Go", require: "clike", owner: "arnehormann" }, "go-module": { title: "Go module", alias: "go-mod", owner: "RunDevelopment" }, gradle: { title: "Gradle", require: "clike", owner: "zeabdelkhalek-badido18" }, graphql: { title: "GraphQL", optional: "markdown", owner: "Golmote" }, groovy: { title: "Groovy", require: "clike", owner: "robfletcher" }, haml: { title: "Haml", require: "ruby", optional: ["css", "css-extras", "coffeescript", "erb", "javascript", "less", "markdown", "scss", "textile"], owner: "Golmote" }, handlebars: { title: "Handlebars", require: "markup-templating", alias: ["hbs", "mustache"], aliasTitles: { mustache: "Mustache" }, owner: "Golmote" }, haskell: { title: "Haskell", alias: "hs", owner: "bholst" }, haxe: { title: "Haxe", require: "clike", optional: "regex", owner: "Golmote" }, hcl: { title: "HCL", owner: "outsideris" }, hlsl: { title: "HLSL", require: "c", owner: "RunDevelopment" }, hoon: { title: "Hoon", owner: "matildepark" }, http: { title: "HTTP", optional: ["csp", "css", "hpkp", "hsts", "javascript", "json", "markup", "uri"], owner: "danielgtaylor" }, hpkp: { title: "HTTP Public-Key-Pins", owner: "ScottHelme" }, hsts: { title: "HTTP Strict-Transport-Security", owner: "ScottHelme" }, ichigojam: { title: "IchigoJam", owner: "BlueCocoa" }, icon: { title: "Icon", owner: "Golmote" }, "icu-message-format": { title: "ICU Message Format", owner: "RunDevelopment" }, idris: { title: "Idris", alias: "idr", owner: "KeenS", require: "haskell" }, ignore: { title: ".ignore", owner: "osipxd", alias: ["gitignore", "hgignore", "npmignore"], aliasTitles: { gitignore: ".gitignore", hgignore: ".hgignore", npmignore: ".npmignore" } }, inform7: { title: "Inform 7", owner: "Golmote" }, ini: { title: "Ini", owner: "aviaryan" }, io: { title: "Io", owner: "AlesTsurko" }, j: { title: "J", owner: "Golmote" }, java: { title: "Java", require: "clike", owner: "sherblot" }, javadoc: { title: "JavaDoc", require: ["markup", "java", "javadoclike"], modify: "java", optional: "scala", owner: "RunDevelopment" }, javadoclike: { title: "JavaDoc-like", modify: ["java", "javascript", "php"], owner: "RunDevelopment" }, javastacktrace: { title: "Java stack trace", owner: "RunDevelopment" }, jexl: { title: "Jexl", owner: "czosel" }, jolie: { title: "Jolie", require: "clike", owner: "thesave" }, jq: { title: "JQ", owner: "RunDevelopment" }, jsdoc: { title: "JSDoc", require: ["javascript", "javadoclike", "typescript"], modify: "javascript", optional: ["actionscript", "coffeescript"], owner: "RunDevelopment" }, "js-extras": { title: "JS Extras", require: "javascript", modify: "javascript", optional: ["actionscript", "coffeescript", "flow", "n4js", "typescript"], owner: "RunDevelopment" }, json: { title: "JSON", alias: "webmanifest", aliasTitles: { webmanifest: "Web App Manifest" }, owner: "CupOfTea696" }, json5: { title: "JSON5", require: "json", owner: "RunDevelopment" }, jsonp: { title: "JSONP", require: "json", owner: "RunDevelopment" }, jsstacktrace: { title: "JS stack trace", owner: "sbrl" }, "js-templates": { title: "JS Templates", require: "javascript", modify: "javascript", optional: ["css", "css-extras", "graphql", "markdown", "markup", "sql"], owner: "RunDevelopment" }, julia: { title: "Julia", owner: "cdagnino" }, keepalived: { title: "Keepalived Configure", owner: "dev-itsheng" }, keyman: { title: "Keyman", owner: "mcdurdin" }, kotlin: { title: "Kotlin", alias: ["kt", "kts"], aliasTitles: { kts: "Kotlin Script" }, require: "clike", owner: "Golmote" }, kumir: { title: "KuMir (КуМир)", alias: "kum", owner: "edukisto" }, kusto: { title: "Kusto", owner: "RunDevelopment" }, latex: { title: "LaTeX", alias: ["tex", "context"], aliasTitles: { tex: "TeX", context: "ConTeXt" }, owner: "japborst" }, latte: { title: "Latte", require: ["clike", "markup-templating", "php"], owner: "nette" }, less: { title: "Less", require: "css", optional: "css-extras", owner: "Golmote" }, lilypond: { title: "LilyPond", require: "scheme", alias: "ly", owner: "RunDevelopment" }, liquid: { title: "Liquid", require: "markup-templating", owner: "cinhtau" }, lisp: { title: "Lisp", alias: ["emacs", "elisp", "emacs-lisp"], owner: "JuanCaicedo" }, livescript: { title: "LiveScript", owner: "Golmote" }, llvm: { title: "LLVM IR", owner: "porglezomp" }, log: { title: "Log file", optional: "javastacktrace", owner: "RunDevelopment" }, lolcode: { title: "LOLCODE", owner: "Golmote" }, lua: { title: "Lua", owner: "Golmote" }, magma: { title: "Magma (CAS)", owner: "RunDevelopment" }, makefile: { title: "Makefile", owner: "Golmote" }, markdown: { title: "Markdown", require: "markup", optional: "yaml", alias: "md", owner: "Golmote" }, "markup-templating": { title: "Markup templating", require: "markup", owner: "Golmote" }, mata: { title: "Mata", owner: "RunDevelopment" }, matlab: { title: "MATLAB", owner: "Golmote" }, maxscript: { title: "MAXScript", owner: "RunDevelopment" }, mel: { title: "MEL", owner: "Golmote" }, mermaid: { title: "Mermaid", owner: "RunDevelopment" }, metafont: { title: "METAFONT", owner: "LaeriExNihilo" }, mizar: { title: "Mizar", owner: "Golmote" }, mongodb: { title: "MongoDB", owner: "airs0urce", require: "javascript" }, monkey: { title: "Monkey", owner: "Golmote" }, moonscript: { title: "MoonScript", alias: "moon", owner: "RunDevelopment" }, n1ql: { title: "N1QL", owner: "TMWilds" }, n4js: { title: "N4JS", require: "javascript", optional: "jsdoc", alias: "n4jsd", owner: "bsmith-n4" }, "nand2tetris-hdl": { title: "Nand To Tetris HDL", owner: "stephanmax" }, naniscript: { title: "Naninovel Script", owner: "Elringus", alias: "nani" }, nasm: { title: "NASM", owner: "rbmj" }, neon: { title: "NEON", owner: "nette" }, nevod: { title: "Nevod", owner: "nezaboodka" }, nginx: { title: "nginx", owner: "volado" }, nim: { title: "Nim", owner: "Golmote" }, nix: { title: "Nix", owner: "Golmote" }, nsis: { title: "NSIS", owner: "idleberg" }, objectivec: { title: "Objective-C", require: "c", alias: "objc", owner: "uranusjr" }, ocaml: { title: "OCaml", owner: "Golmote" }, odin: { title: "Odin", owner: "edukisto" }, opencl: { title: "OpenCL", require: "c", modify: ["c", "cpp"], owner: "Milania1" }, openqasm: { title: "OpenQasm", alias: "qasm", owner: "RunDevelopment" }, oz: { title: "Oz", owner: "Golmote" }, parigp: { title: "PARI/GP", owner: "Golmote" }, parser: { title: "Parser", require: "markup", owner: "Golmote" }, pascal: { title: "Pascal", alias: "objectpascal", aliasTitles: { objectpascal: "Object Pascal" }, owner: "Golmote" }, pascaligo: { title: "Pascaligo", owner: "DefinitelyNotAGoat" }, psl: { title: "PATROL Scripting Language", owner: "bertysentry" }, pcaxis: { title: "PC-Axis", alias: "px", owner: "RunDevelopment" }, peoplecode: { title: "PeopleCode", alias: "pcode", owner: "RunDevelopment" }, perl: { title: "Perl", owner: "Golmote" }, php: { title: "PHP", require: "markup-templating", owner: "milesj" }, phpdoc: { title: "PHPDoc", require: ["php", "javadoclike"], modify: "php", owner: "RunDevelopment" }, "php-extras": { title: "PHP Extras", require: "php", modify: "php", owner: "milesj" }, "plant-uml": { title: "PlantUML", alias: "plantuml", owner: "RunDevelopment" }, plsql: { title: "PL/SQL", require: "sql", owner: "Golmote" }, powerquery: { title: "PowerQuery", alias: ["pq", "mscript"], owner: "peterbud" }, powershell: { title: "PowerShell", owner: "nauzilus" }, processing: { title: "Processing", require: "clike", owner: "Golmote" }, prolog: { title: "Prolog", owner: "Golmote" }, promql: { title: "PromQL", owner: "arendjr" }, properties: { title: ".properties", owner: "Golmote" }, protobuf: { title: "Protocol Buffers", require: "clike", owner: "just-boris" }, pug: { title: "Pug", require: ["markup", "javascript"], optional: ["coffeescript", "ejs", "handlebars", "less", "livescript", "markdown", "scss", "stylus", "twig"], owner: "Golmote" }, puppet: { title: "Puppet", owner: "Golmote" }, pure: { title: "Pure", optional: ["c", "cpp", "fortran"], owner: "Golmote" }, purebasic: { title: "PureBasic", require: "clike", alias: "pbfasm", owner: "HeX0R101" }, purescript: { title: "PureScript", require: "haskell", alias: "purs", owner: "sriharshachilakapati" }, python: { title: "Python", alias: "py", owner: "multipetros" }, qsharp: { title: "Q#", require: "clike", alias: "qs", owner: "fedonman" }, q: { title: "Q (kdb+ database)", owner: "Golmote" }, qml: { title: "QML", require: "javascript", owner: "RunDevelopment" }, qore: { title: "Qore", require: "clike", owner: "temnroegg" }, r: { title: "R", owner: "Golmote" }, racket: { title: "Racket", require: "scheme", alias: "rkt", owner: "RunDevelopment" }, cshtml: { title: "Razor C#", alias: "razor", require: ["markup", "csharp"], optional: ["css", "css-extras", "javascript", "js-extras"], owner: "RunDevelopment" }, jsx: { title: "React JSX", require: ["markup", "javascript"], optional: ["jsdoc", "js-extras", "js-templates"], owner: "vkbansal" }, tsx: { title: "React TSX", require: ["jsx", "typescript"] }, reason: { title: "Reason", require: "clike", owner: "Golmote" }, regex: { title: "Regex", owner: "RunDevelopment" }, rego: { title: "Rego", owner: "JordanSh" }, renpy: { title: "Ren'py", alias: "rpy", owner: "HyuchiaDiego" }, rescript: { title: "ReScript", alias: "res", owner: "vmarcosp" }, rest: { title: "reST (reStructuredText)", owner: "Golmote" }, rip: { title: "Rip", owner: "ravinggenius" }, roboconf: { title: "Roboconf", owner: "Golmote" }, robotframework: { title: "Robot Framework", alias: "robot", owner: "RunDevelopment" }, ruby: { title: "Ruby", require: "clike", alias: "rb", owner: "samflores" }, rust: { title: "Rust", owner: "Golmote" }, sas: { title: "SAS", optional: ["groovy", "lua", "sql"], owner: "Golmote" }, sass: { title: "Sass (Sass)", require: "css", optional: "css-extras", owner: "Golmote" }, scss: { title: "Sass (SCSS)", require: "css", optional: "css-extras", owner: "MoOx" }, scala: { title: "Scala", require: "java", owner: "jozic" }, scheme: { title: "Scheme", owner: "bacchus123" }, "shell-session": { title: "Shell session", require: "bash", alias: ["sh-session", "shellsession"], owner: "RunDevelopment" }, smali: { title: "Smali", owner: "RunDevelopment" }, smalltalk: { title: "Smalltalk", owner: "Golmote" }, smarty: { title: "Smarty", require: "markup-templating", optional: "php", owner: "Golmote" }, sml: { title: "SML", alias: "smlnj", aliasTitles: { smlnj: "SML/NJ" }, owner: "RunDevelopment" }, solidity: { title: "Solidity (Ethereum)", alias: "sol", require: "clike", owner: "glachaud" }, "solution-file": { title: "Solution file", alias: "sln", owner: "RunDevelopment" }, soy: { title: "Soy (Closure Template)", require: "markup-templating", owner: "Golmote" }, sparql: { title: "SPARQL", require: "turtle", owner: "Triply-Dev", alias: "rq" }, "splunk-spl": { title: "Splunk SPL", owner: "RunDevelopment" }, sqf: { title: "SQF: Status Quo Function (Arma 3)", require: "clike", owner: "RunDevelopment" }, sql: { title: "SQL", owner: "multipetros" }, squirrel: { title: "Squirrel", require: "clike", owner: "RunDevelopment" }, stan: { title: "Stan", owner: "RunDevelopment" }, stata: { title: "Stata Ado", require: ["mata", "java", "python"], owner: "RunDevelopment" }, iecst: { title: "Structured Text (IEC 61131-3)", owner: "serhioromano" }, stylus: { title: "Stylus", owner: "vkbansal" }, supercollider: { title: "SuperCollider", alias: "sclang", owner: "RunDevelopment" }, swift: { title: "Swift", owner: "chrischares" }, systemd: { title: "Systemd configuration file", owner: "RunDevelopment" }, "t4-templating": { title: "T4 templating", owner: "RunDevelopment" }, "t4-cs": { title: "T4 Text Templates (C#)", require: ["t4-templating", "csharp"], alias: "t4", owner: "RunDevelopment" }, "t4-vb": { title: "T4 Text Templates (VB)", require: ["t4-templating", "vbnet"], owner: "RunDevelopment" }, tap: { title: "TAP", owner: "isaacs", require: "yaml" }, tcl: { title: "Tcl", owner: "PeterChaplin" }, tt2: { title: "Template Toolkit 2", require: ["clike", "markup-templating"], owner: "gflohr" }, textile: { title: "Textile", require: "markup", optional: "css", owner: "Golmote" }, toml: { title: "TOML", owner: "RunDevelopment" }, tremor: { title: "Tremor", alias: ["trickle", "troy"], owner: "darach", aliasTitles: { trickle: "trickle", troy: "troy" } }, turtle: { title: "Turtle", alias: "trig", aliasTitles: { trig: "TriG" }, owner: "jakubklimek" }, twig: { title: "Twig", require: "markup-templating", owner: "brandonkelly" }, typescript: { title: "TypeScript", require: "javascript", optional: "js-templates", alias: "ts", owner: "vkbansal" }, typoscript: { title: "TypoScript", alias: "tsconfig", aliasTitles: { tsconfig: "TSConfig" }, owner: "dkern" }, unrealscript: { title: "UnrealScript", alias: ["uscript", "uc"], owner: "RunDevelopment" }, uorazor: { title: "UO Razor Script", owner: "jaseowns" }, uri: { title: "URI", alias: "url", aliasTitles: { url: "URL" }, owner: "RunDevelopment" }, v: { title: "V", require: "clike", owner: "taggon" }, vala: { title: "Vala", require: "clike", optional: "regex", owner: "TemplarVolk" }, vbnet: { title: "VB.Net", require: "basic", owner: "Bigsby" }, velocity: { title: "Velocity", require: "markup", owner: "Golmote" }, verilog: { title: "Verilog", owner: "a-rey" }, vhdl: { title: "VHDL", owner: "a-rey" }, vim: { title: "vim", owner: "westonganger" }, "visual-basic": { title: "Visual Basic", alias: ["vb", "vba"], aliasTitles: { vba: "VBA" }, owner: "Golmote" }, warpscript: { title: "WarpScript", owner: "RunDevelopment" }, wasm: { title: "WebAssembly", owner: "Golmote" }, "web-idl": { title: "Web IDL", alias: "webidl", owner: "RunDevelopment" }, wgsl: { title: "WGSL", owner: "Dr4gonthree" }, wiki: { title: "Wiki markup", require: "markup", owner: "Golmote" }, wolfram: { title: "Wolfram language", alias: ["mathematica", "nb", "wl"], aliasTitles: { mathematica: "Mathematica", nb: "Mathematica Notebook" }, owner: "msollami" }, wren: { title: "Wren", owner: "clsource" }, xeora: { title: "Xeora", require: "markup", alias: "xeoracube", aliasTitles: { xeoracube: "XeoraCube" }, owner: "freakmaxi" }, "xml-doc": { title: "XML doc (.net)", require: "markup", modify: ["csharp", "fsharp", "vbnet"], owner: "RunDevelopment" }, xojo: { title: "Xojo (REALbasic)", owner: "Golmote" }, xquery: { title: "XQuery", require: "markup", owner: "Golmote" }, yaml: { title: "YAML", alias: "yml", owner: "hason" }, yang: { title: "YANG", owner: "RunDevelopment" }, zig: { title: "Zig", owner: "RunDevelopment" } }, plugins: { meta: { path: "plugins/{id}/prism-{id}", link: "plugins/{id}/" }, "line-highlight": { title: "Line Highlight", description: "Highlights specific lines and/or line ranges." }, "line-numbers": { title: "Line Numbers", description: "Line number at the beginning of code lines.", owner: "kuba-kubula" }, "show-invisibles": { title: "Show Invisibles", description: "Show hidden characters such as tabs and line breaks.", optional: ["autolinker", "data-uri-highlight"] }, autolinker: { title: "Autolinker", description: "Converts URLs and emails in code to clickable links. Parses Markdown links in comments." }, wpd: { title: "WebPlatform Docs", description: 'Makes tokens link to <a href="https://webplatform.github.io/docs/">WebPlatform.org documentation</a>. The links open in a new tab.' }, "custom-class": { title: "Custom Class", description: "This plugin allows you to prefix Prism's default classes (<code>.comment</code> can become <code>.namespace--comment</code>) or replace them with your defined ones (like <code>.editor__comment</code>). You can even add new classes.", owner: "dvkndn", noCSS: !0 }, "file-highlight": { title: "File Highlight", description: "Fetch external files and highlight them with Prism. Used on the Prism website itself.", noCSS: !0 }, "show-language": { title: "Show Language", description: "Display the highlighted language in code blocks (inline code does not show the label).", owner: "nauzilus", noCSS: !0, require: "toolbar" }, "jsonp-highlight": { title: "JSONP Highlight", description: "Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).", noCSS: !0, owner: "nauzilus" }, "highlight-keywords": { title: "Highlight Keywords", description: "Adds special CSS classes for each keyword for fine-grained highlighting.", owner: "vkbansal", noCSS: !0 }, "remove-initial-line-feed": { title: "Remove initial line feed", description: "Removes the initial line feed in code blocks.", owner: "Golmote", noCSS: !0 }, "inline-color": { title: "Inline color", description: "Adds a small inline preview for colors in style sheets.", require: "css-extras", owner: "RunDevelopment" }, previewers: { title: "Previewers", description: "Previewers for angles, colors, gradients, easing and time.", require: "css-extras", owner: "Golmote" }, autoloader: { title: "Autoloader", description: "Automatically loads the needed languages to highlight the code blocks.", owner: "Golmote", noCSS: !0 }, "keep-markup": { title: "Keep Markup", description: "Prevents custom markup from being dropped out during highlighting.", owner: "Golmote", optional: "normalize-whitespace", noCSS: !0 }, "command-line": { title: "Command Line", description: "Display a command line with a prompt and, optionally, the output/response from the commands.", owner: "chriswells0" }, "unescaped-markup": { title: "Unescaped Markup", description: "Write markup without having to escape anything." }, "normalize-whitespace": { title: "Normalize Whitespace", description: "Supports multiple operations to normalize whitespace in code blocks.", owner: "zeitgeist87", optional: "unescaped-markup", noCSS: !0 }, "data-uri-highlight": { title: "Data-URI Highlight", description: "Highlights data-URI contents.", owner: "Golmote", noCSS: !0 }, toolbar: { title: "Toolbar", description: "Attach a toolbar for plugins to easily register buttons on the top of a code block.", owner: "mAAdhaTTah" }, "copy-to-clipboard": { title: "Copy to Clipboard Button", description: "Add a button that copies the code block to the clipboard when clicked.", owner: "mAAdhaTTah", require: "toolbar", noCSS: !0 }, "download-button": { title: "Download Button", description: "A button in the toolbar of a code block adding a convenient way to download a code file.", owner: "Golmote", require: "toolbar", noCSS: !0 }, "match-braces": { title: "Match braces", description: "Highlights matching braces.", owner: "RunDevelopment" }, "diff-highlight": { title: "Diff Highlight", description: "Highlights the code inside diff blocks.", owner: "RunDevelopment", require: "diff" }, "filter-highlight-all": { title: "Filter highlightAll", description: "Filters the elements the <code>highlightAll</code> and <code>highlightAllUnder</code> methods actually highlight.", owner: "RunDevelopment", noCSS: !0 }, treeview: { title: "Treeview", description: "A language with special styles to highlight file system tree structures.", owner: "Golmote" } } };
|
|
43
46
|
e.exports && (e.exports = t);
|
|
44
|
-
})(
|
|
45
|
-
var ke = {},
|
|
47
|
+
})(rr);
|
|
48
|
+
var ke = {}, nr = {
|
|
46
49
|
get exports() {
|
|
47
50
|
return ke;
|
|
48
51
|
},
|
|
@@ -61,7 +64,7 @@ var ke = {}, er = {
|
|
|
61
64
|
* @public
|
|
62
65
|
*/
|
|
63
66
|
var r = function(n) {
|
|
64
|
-
var o = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, i = 0,
|
|
67
|
+
var o = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, i = 0, a = {}, s = {
|
|
65
68
|
/**
|
|
66
69
|
* By default, Prism will attempt to highlight all code elements (by calling {@link Prism.highlightAll}) on the
|
|
67
70
|
* current page after the page finished loading. This might be a problem if e.g. you wanted to asynchronously load
|
|
@@ -116,8 +119,8 @@ var ke = {}, er = {
|
|
|
116
119
|
* @memberof Prism
|
|
117
120
|
*/
|
|
118
121
|
util: {
|
|
119
|
-
encode: function
|
|
120
|
-
return m instanceof
|
|
122
|
+
encode: function u(m) {
|
|
123
|
+
return m instanceof l ? new l(m.type, u(m.content), m.alias) : Array.isArray(m) ? m.map(u) : m.replace(/&/g, "&").replace(/</g, "<").replace(/\u00a0/g, " ");
|
|
121
124
|
},
|
|
122
125
|
/**
|
|
123
126
|
* Returns the name of the type of the given value.
|
|
@@ -135,8 +138,8 @@ var ke = {}, er = {
|
|
|
135
138
|
* type(String) === 'Function'
|
|
136
139
|
* type(/abc+/) === 'RegExp'
|
|
137
140
|
*/
|
|
138
|
-
type: function(
|
|
139
|
-
return Object.prototype.toString.call(
|
|
141
|
+
type: function(u) {
|
|
142
|
+
return Object.prototype.toString.call(u).slice(8, -1);
|
|
140
143
|
},
|
|
141
144
|
/**
|
|
142
145
|
* Returns a unique number for the given object. Later calls will still return the same number.
|
|
@@ -144,8 +147,8 @@ var ke = {}, er = {
|
|
|
144
147
|
* @param {Object} obj
|
|
145
148
|
* @returns {number}
|
|
146
149
|
*/
|
|
147
|
-
objId: function(
|
|
148
|
-
return
|
|
150
|
+
objId: function(u) {
|
|
151
|
+
return u.__id || Object.defineProperty(u, "__id", { value: ++i }), u.__id;
|
|
149
152
|
},
|
|
150
153
|
/**
|
|
151
154
|
* Creates a deep clone of the given object.
|
|
@@ -157,7 +160,7 @@ var ke = {}, er = {
|
|
|
157
160
|
* @returns {T}
|
|
158
161
|
* @template T
|
|
159
162
|
*/
|
|
160
|
-
clone: function
|
|
163
|
+
clone: function u(m, d) {
|
|
161
164
|
d = d || {};
|
|
162
165
|
var h, f;
|
|
163
166
|
switch (s.util.type(m)) {
|
|
@@ -167,7 +170,7 @@ var ke = {}, er = {
|
|
|
167
170
|
h = /** @type {Record<string, any>} */
|
|
168
171
|
{}, d[f] = h;
|
|
169
172
|
for (var j in m)
|
|
170
|
-
m.hasOwnProperty(j) && (h[j] =
|
|
173
|
+
m.hasOwnProperty(j) && (h[j] = u(m[j], d));
|
|
171
174
|
return (
|
|
172
175
|
/** @type {any} */
|
|
173
176
|
h
|
|
@@ -176,7 +179,7 @@ var ke = {}, er = {
|
|
|
176
179
|
return f = s.util.objId(m), d[f] ? d[f] : (h = [], d[f] = h, /** @type {Array} */
|
|
177
180
|
/** @type {any} */
|
|
178
181
|
m.forEach(function(A, b) {
|
|
179
|
-
h[b] =
|
|
182
|
+
h[b] = u(A, d);
|
|
180
183
|
}), /** @type {any} */
|
|
181
184
|
h);
|
|
182
185
|
default:
|
|
@@ -191,12 +194,12 @@ var ke = {}, er = {
|
|
|
191
194
|
* @param {Element} element
|
|
192
195
|
* @returns {string}
|
|
193
196
|
*/
|
|
194
|
-
getLanguage: function(
|
|
195
|
-
for (;
|
|
196
|
-
var m = o.exec(
|
|
197
|
+
getLanguage: function(u) {
|
|
198
|
+
for (; u; ) {
|
|
199
|
+
var m = o.exec(u.className);
|
|
197
200
|
if (m)
|
|
198
201
|
return m[1].toLowerCase();
|
|
199
|
-
|
|
202
|
+
u = u.parentElement;
|
|
200
203
|
}
|
|
201
204
|
return "none";
|
|
202
205
|
},
|
|
@@ -207,8 +210,8 @@ var ke = {}, er = {
|
|
|
207
210
|
* @param {string} language
|
|
208
211
|
* @returns {void}
|
|
209
212
|
*/
|
|
210
|
-
setLanguage: function(
|
|
211
|
-
|
|
213
|
+
setLanguage: function(u, m) {
|
|
214
|
+
u.className = u.className.replace(RegExp(o, "gi"), ""), u.classList.add("language-" + m);
|
|
212
215
|
},
|
|
213
216
|
/**
|
|
214
217
|
* Returns the script element that is currently executing.
|
|
@@ -228,11 +231,11 @@ var ke = {}, er = {
|
|
|
228
231
|
try {
|
|
229
232
|
throw new Error();
|
|
230
233
|
} catch (h) {
|
|
231
|
-
var
|
|
232
|
-
if (
|
|
234
|
+
var u = (/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(h.stack) || [])[1];
|
|
235
|
+
if (u) {
|
|
233
236
|
var m = document.getElementsByTagName("script");
|
|
234
237
|
for (var d in m)
|
|
235
|
-
if (m[d].src ==
|
|
238
|
+
if (m[d].src == u)
|
|
236
239
|
return m[d];
|
|
237
240
|
}
|
|
238
241
|
return null;
|
|
@@ -257,14 +260,14 @@ var ke = {}, er = {
|
|
|
257
260
|
* @param {boolean} [defaultActivation=false]
|
|
258
261
|
* @returns {boolean}
|
|
259
262
|
*/
|
|
260
|
-
isActive: function(
|
|
261
|
-
for (var h = "no-" + m;
|
|
262
|
-
var f =
|
|
263
|
+
isActive: function(u, m, d) {
|
|
264
|
+
for (var h = "no-" + m; u; ) {
|
|
265
|
+
var f = u.classList;
|
|
263
266
|
if (f.contains(m))
|
|
264
267
|
return !0;
|
|
265
268
|
if (f.contains(h))
|
|
266
269
|
return !1;
|
|
267
|
-
|
|
270
|
+
u = u.parentElement;
|
|
268
271
|
}
|
|
269
272
|
return !!d;
|
|
270
273
|
}
|
|
@@ -280,10 +283,10 @@ var ke = {}, er = {
|
|
|
280
283
|
/**
|
|
281
284
|
* The grammar for plain, unformatted text.
|
|
282
285
|
*/
|
|
283
|
-
plain:
|
|
284
|
-
plaintext:
|
|
285
|
-
text:
|
|
286
|
-
txt:
|
|
286
|
+
plain: a,
|
|
287
|
+
plaintext: a,
|
|
288
|
+
text: a,
|
|
289
|
+
txt: a,
|
|
287
290
|
/**
|
|
288
291
|
* Creates a deep copy of the language with the given id and appends the given tokens.
|
|
289
292
|
*
|
|
@@ -312,8 +315,8 @@ var ke = {}, er = {
|
|
|
312
315
|
* 'color': /\b(?:red|green|blue)\b/
|
|
313
316
|
* });
|
|
314
317
|
*/
|
|
315
|
-
extend: function(
|
|
316
|
-
var d = s.util.clone(s.languages[
|
|
318
|
+
extend: function(u, m) {
|
|
319
|
+
var d = s.util.clone(s.languages[u]);
|
|
317
320
|
for (var h in m)
|
|
318
321
|
d[h] = m[h];
|
|
319
322
|
return d;
|
|
@@ -393,10 +396,10 @@ var ke = {}, er = {
|
|
|
393
396
|
* @returns {Grammar} The new grammar object.
|
|
394
397
|
* @public
|
|
395
398
|
*/
|
|
396
|
-
insertBefore: function(
|
|
399
|
+
insertBefore: function(u, m, d, h) {
|
|
397
400
|
h = h || /** @type {any} */
|
|
398
401
|
s.languages;
|
|
399
|
-
var f = h[
|
|
402
|
+
var f = h[u], j = {};
|
|
400
403
|
for (var A in f)
|
|
401
404
|
if (f.hasOwnProperty(A)) {
|
|
402
405
|
if (A == m)
|
|
@@ -404,20 +407,20 @@ var ke = {}, er = {
|
|
|
404
407
|
d.hasOwnProperty(b) && (j[b] = d[b]);
|
|
405
408
|
d.hasOwnProperty(A) || (j[A] = f[A]);
|
|
406
409
|
}
|
|
407
|
-
var B = h[
|
|
408
|
-
return h[
|
|
409
|
-
W === B && P !=
|
|
410
|
+
var B = h[u];
|
|
411
|
+
return h[u] = j, s.languages.DFS(s.languages, function(P, W) {
|
|
412
|
+
W === B && P != u && (this[P] = j);
|
|
410
413
|
}), j;
|
|
411
414
|
},
|
|
412
415
|
// Traverse a language definition with Depth First Search
|
|
413
|
-
DFS: function
|
|
416
|
+
DFS: function u(m, d, h, f) {
|
|
414
417
|
f = f || {};
|
|
415
418
|
var j = s.util.objId;
|
|
416
419
|
for (var A in m)
|
|
417
420
|
if (m.hasOwnProperty(A)) {
|
|
418
421
|
d.call(m, A, m[A], h || A);
|
|
419
422
|
var b = m[A], B = s.util.type(b);
|
|
420
|
-
B === "Object" && !f[j(b)] ? (f[j(b)] = !0,
|
|
423
|
+
B === "Object" && !f[j(b)] ? (f[j(b)] = !0, u(b, d, null, f)) : B === "Array" && !f[j(b)] && (f[j(b)] = !0, u(b, d, A, f));
|
|
421
424
|
}
|
|
422
425
|
}
|
|
423
426
|
},
|
|
@@ -434,8 +437,8 @@ var ke = {}, er = {
|
|
|
434
437
|
* @memberof Prism
|
|
435
438
|
* @public
|
|
436
439
|
*/
|
|
437
|
-
highlightAll: function(
|
|
438
|
-
s.highlightAllUnder(document,
|
|
440
|
+
highlightAll: function(u, m) {
|
|
441
|
+
s.highlightAllUnder(document, u, m);
|
|
439
442
|
},
|
|
440
443
|
/**
|
|
441
444
|
* Fetches all the descendants of `container` that have a `.language-xxxx` class and then calls
|
|
@@ -452,10 +455,10 @@ var ke = {}, er = {
|
|
|
452
455
|
* @memberof Prism
|
|
453
456
|
* @public
|
|
454
457
|
*/
|
|
455
|
-
highlightAllUnder: function(
|
|
458
|
+
highlightAllUnder: function(u, m, d) {
|
|
456
459
|
var h = {
|
|
457
460
|
callback: d,
|
|
458
|
-
container:
|
|
461
|
+
container: u,
|
|
459
462
|
selector: 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'
|
|
460
463
|
};
|
|
461
464
|
s.hooks.run("before-highlightall", h), h.elements = Array.prototype.slice.apply(h.container.querySelectorAll(h.selector)), s.hooks.run("before-all-elements-highlight", h);
|
|
@@ -490,13 +493,13 @@ var ke = {}, er = {
|
|
|
490
493
|
* @memberof Prism
|
|
491
494
|
* @public
|
|
492
495
|
*/
|
|
493
|
-
highlightElement: function(
|
|
494
|
-
var h = s.util.getLanguage(
|
|
495
|
-
s.util.setLanguage(
|
|
496
|
-
var j =
|
|
496
|
+
highlightElement: function(u, m, d) {
|
|
497
|
+
var h = s.util.getLanguage(u), f = s.languages[h];
|
|
498
|
+
s.util.setLanguage(u, h);
|
|
499
|
+
var j = u.parentElement;
|
|
497
500
|
j && j.nodeName.toLowerCase() === "pre" && s.util.setLanguage(j, h);
|
|
498
|
-
var A =
|
|
499
|
-
element:
|
|
501
|
+
var A = u.textContent, b = {
|
|
502
|
+
element: u,
|
|
500
503
|
language: h,
|
|
501
504
|
grammar: f,
|
|
502
505
|
code: A
|
|
@@ -544,15 +547,15 @@ var ke = {}, er = {
|
|
|
544
547
|
* @example
|
|
545
548
|
* Prism.highlight('var foo = true;', Prism.languages.javascript, 'javascript');
|
|
546
549
|
*/
|
|
547
|
-
highlight: function(
|
|
550
|
+
highlight: function(u, m, d) {
|
|
548
551
|
var h = {
|
|
549
|
-
code:
|
|
552
|
+
code: u,
|
|
550
553
|
grammar: m,
|
|
551
554
|
language: d
|
|
552
555
|
};
|
|
553
556
|
if (s.hooks.run("before-tokenize", h), !h.grammar)
|
|
554
557
|
throw new Error('The language "' + h.language + '" has no grammar.');
|
|
555
|
-
return h.tokens = s.tokenize(h.code, h.grammar), s.hooks.run("after-tokenize", h),
|
|
558
|
+
return h.tokens = s.tokenize(h.code, h.grammar), s.hooks.run("after-tokenize", h), l.stringify(s.util.encode(h.tokens), h.language);
|
|
556
559
|
},
|
|
557
560
|
/**
|
|
558
561
|
* This is the heart of Prism, and the most low-level function you can use. It accepts a string of text as input
|
|
@@ -578,7 +581,7 @@ var ke = {}, er = {
|
|
|
578
581
|
* }
|
|
579
582
|
* });
|
|
580
583
|
*/
|
|
581
|
-
tokenize: function(
|
|
584
|
+
tokenize: function(u, m) {
|
|
582
585
|
var d = m.rest;
|
|
583
586
|
if (d) {
|
|
584
587
|
for (var h in d)
|
|
@@ -586,7 +589,7 @@ var ke = {}, er = {
|
|
|
586
589
|
delete m.rest;
|
|
587
590
|
}
|
|
588
591
|
var f = new g();
|
|
589
|
-
return
|
|
592
|
+
return _(f, f.head, u), c(u, f, m, f.head, 0), L(f);
|
|
590
593
|
},
|
|
591
594
|
/**
|
|
592
595
|
* @namespace
|
|
@@ -607,9 +610,9 @@ var ke = {}, er = {
|
|
|
607
610
|
* @param {HookCallback} callback The callback function which is given environment variables.
|
|
608
611
|
* @public
|
|
609
612
|
*/
|
|
610
|
-
add: function(
|
|
613
|
+
add: function(u, m) {
|
|
611
614
|
var d = s.hooks.all;
|
|
612
|
-
d[
|
|
615
|
+
d[u] = d[u] || [], d[u].push(m);
|
|
613
616
|
},
|
|
614
617
|
/**
|
|
615
618
|
* Runs a hook invoking all registered callbacks with the given environment variables.
|
|
@@ -620,31 +623,31 @@ var ke = {}, er = {
|
|
|
620
623
|
* @param {Object<string, any>} env The environment variables of the hook passed to all callbacks registered.
|
|
621
624
|
* @public
|
|
622
625
|
*/
|
|
623
|
-
run: function(
|
|
624
|
-
var d = s.hooks.all[
|
|
626
|
+
run: function(u, m) {
|
|
627
|
+
var d = s.hooks.all[u];
|
|
625
628
|
if (!(!d || !d.length))
|
|
626
629
|
for (var h = 0, f; f = d[h++]; )
|
|
627
630
|
f(m);
|
|
628
631
|
}
|
|
629
632
|
},
|
|
630
|
-
Token:
|
|
633
|
+
Token: l
|
|
631
634
|
};
|
|
632
635
|
n.Prism = s;
|
|
633
|
-
function
|
|
634
|
-
this.type =
|
|
636
|
+
function l(u, m, d, h) {
|
|
637
|
+
this.type = u, this.content = m, this.alias = d, this.length = (h || "").length | 0;
|
|
635
638
|
}
|
|
636
|
-
|
|
639
|
+
l.stringify = function u(m, d) {
|
|
637
640
|
if (typeof m == "string")
|
|
638
641
|
return m;
|
|
639
642
|
if (Array.isArray(m)) {
|
|
640
643
|
var h = "";
|
|
641
644
|
return m.forEach(function(B) {
|
|
642
|
-
h +=
|
|
645
|
+
h += u(B, d);
|
|
643
646
|
}), h;
|
|
644
647
|
}
|
|
645
648
|
var f = {
|
|
646
649
|
type: m.type,
|
|
647
|
-
content:
|
|
650
|
+
content: u(m.content, d),
|
|
648
651
|
tag: "span",
|
|
649
652
|
classes: ["token", m.type],
|
|
650
653
|
attributes: {},
|
|
@@ -656,16 +659,16 @@ var ke = {}, er = {
|
|
|
656
659
|
A += " " + b + '="' + (f.attributes[b] || "").replace(/"/g, """) + '"';
|
|
657
660
|
return "<" + f.tag + ' class="' + f.classes.join(" ") + '"' + A + ">" + f.content + "</" + f.tag + ">";
|
|
658
661
|
};
|
|
659
|
-
function p(
|
|
660
|
-
|
|
661
|
-
var f =
|
|
662
|
+
function p(u, m, d, h) {
|
|
663
|
+
u.lastIndex = m;
|
|
664
|
+
var f = u.exec(d);
|
|
662
665
|
if (f && h && f[1]) {
|
|
663
666
|
var j = f[1].length;
|
|
664
667
|
f.index += j, f[0] = f[0].slice(j);
|
|
665
668
|
}
|
|
666
669
|
return f;
|
|
667
670
|
}
|
|
668
|
-
function u
|
|
671
|
+
function c(u, m, d, h, f, j) {
|
|
669
672
|
for (var A in d)
|
|
670
673
|
if (!(!d.hasOwnProperty(A) || !d[A])) {
|
|
671
674
|
var b = d[A];
|
|
@@ -679,35 +682,35 @@ var ke = {}, er = {
|
|
|
679
682
|
P.pattern = RegExp(P.pattern.source, Ct + "g");
|
|
680
683
|
}
|
|
681
684
|
for (var Me = P.pattern || P, D = h.next, U = f; D !== m.tail && !(j && U >= j.reach); U += D.value.length, D = D.next) {
|
|
682
|
-
var
|
|
683
|
-
if (m.length >
|
|
685
|
+
var re = D.value;
|
|
686
|
+
if (m.length > u.length)
|
|
684
687
|
return;
|
|
685
|
-
if (!(
|
|
688
|
+
if (!(re instanceof l)) {
|
|
686
689
|
var le = 1, M;
|
|
687
690
|
if (Oe) {
|
|
688
|
-
if (M = p(Me, U,
|
|
691
|
+
if (M = p(Me, U, u, Fe), !M || M.index >= u.length)
|
|
689
692
|
break;
|
|
690
693
|
var me = M.index, Nt = M.index + M[0].length, Z = U;
|
|
691
694
|
for (Z += D.value.length; me >= Z; )
|
|
692
695
|
D = D.next, Z += D.value.length;
|
|
693
|
-
if (Z -= D.value.length, U = Z, D.value instanceof
|
|
696
|
+
if (Z -= D.value.length, U = Z, D.value instanceof l)
|
|
694
697
|
continue;
|
|
695
698
|
for (var oe = D; oe !== m.tail && (Z < Nt || typeof oe.value == "string"); oe = oe.next)
|
|
696
699
|
le++, Z += oe.value.length;
|
|
697
|
-
le--,
|
|
698
|
-
} else if (M = p(Me, 0,
|
|
700
|
+
le--, re = u.slice(U, Z), M.index -= U;
|
|
701
|
+
} else if (M = p(Me, 0, re, Fe), !M)
|
|
699
702
|
continue;
|
|
700
|
-
var me = M.index, pe = M[0], je =
|
|
703
|
+
var me = M.index, pe = M[0], je = re.slice(0, me), Ge = re.slice(me + pe.length), be = U + re.length;
|
|
701
704
|
j && be > j.reach && (j.reach = be);
|
|
702
705
|
var ue = D.prev;
|
|
703
|
-
je && (ue =
|
|
704
|
-
var xt = new
|
|
705
|
-
if (D =
|
|
706
|
+
je && (ue = _(m, ue, je), U += je.length), E(m, ue, le);
|
|
707
|
+
var xt = new l(A, W ? s.tokenize(pe, W) : pe, It, pe);
|
|
708
|
+
if (D = _(m, ue, xt), Ge && _(m, D, Ge), le > 1) {
|
|
706
709
|
var ye = {
|
|
707
710
|
cause: A + "," + B,
|
|
708
711
|
reach: be
|
|
709
712
|
};
|
|
710
|
-
u
|
|
713
|
+
c(u, m, d, D.prev, U, ye), j && ye.reach > j.reach && (j.reach = ye.reach);
|
|
711
714
|
}
|
|
712
715
|
}
|
|
713
716
|
}
|
|
@@ -715,26 +718,26 @@ var ke = {}, er = {
|
|
|
715
718
|
}
|
|
716
719
|
}
|
|
717
720
|
function g() {
|
|
718
|
-
var
|
|
719
|
-
|
|
721
|
+
var u = { value: null, prev: null, next: null }, m = { value: null, prev: u, next: null };
|
|
722
|
+
u.next = m, this.head = u, this.tail = m, this.length = 0;
|
|
720
723
|
}
|
|
721
|
-
function
|
|
724
|
+
function _(u, m, d) {
|
|
722
725
|
var h = m.next, f = { value: d, prev: m, next: h };
|
|
723
|
-
return m.next = f, h.prev = f,
|
|
726
|
+
return m.next = f, h.prev = f, u.length++, f;
|
|
724
727
|
}
|
|
725
|
-
function E(
|
|
726
|
-
for (var h = m.next, f = 0; f < d && h !==
|
|
728
|
+
function E(u, m, d) {
|
|
729
|
+
for (var h = m.next, f = 0; f < d && h !== u.tail; f++)
|
|
727
730
|
h = h.next;
|
|
728
|
-
m.next = h, h.prev = m,
|
|
731
|
+
m.next = h, h.prev = m, u.length -= f;
|
|
729
732
|
}
|
|
730
|
-
function L(
|
|
731
|
-
for (var m = [], d =
|
|
733
|
+
function L(u) {
|
|
734
|
+
for (var m = [], d = u.head.next; d !== u.tail; )
|
|
732
735
|
m.push(d.value), d = d.next;
|
|
733
736
|
return m;
|
|
734
737
|
}
|
|
735
738
|
if (!n.document)
|
|
736
|
-
return n.addEventListener && (s.disableWorkerMessageHandler || n.addEventListener("message", function(
|
|
737
|
-
var m = JSON.parse(
|
|
739
|
+
return n.addEventListener && (s.disableWorkerMessageHandler || n.addEventListener("message", function(u) {
|
|
740
|
+
var m = JSON.parse(u.data), d = m.language, h = m.code, f = m.immediateClose;
|
|
738
741
|
n.postMessage(s.highlight(h, s.languages[d], d)), f && n.close();
|
|
739
742
|
}, !1)), s;
|
|
740
743
|
var y = s.util.currentScript();
|
|
@@ -743,8 +746,8 @@ var ke = {}, er = {
|
|
|
743
746
|
s.manual || s.highlightAll();
|
|
744
747
|
}
|
|
745
748
|
if (!s.manual) {
|
|
746
|
-
var
|
|
747
|
-
|
|
749
|
+
var T = document.readyState;
|
|
750
|
+
T === "loading" || T === "interactive" && y && y.defer ? document.addEventListener("DOMContentLoaded", w) : window.requestAnimationFrame ? window.requestAnimationFrame(w) : window.setTimeout(w, 16);
|
|
748
751
|
}
|
|
749
752
|
return s;
|
|
750
753
|
}(t);
|
|
@@ -840,31 +843,31 @@ var ke = {}, er = {
|
|
|
840
843
|
* addInlined('style', 'css');
|
|
841
844
|
*/
|
|
842
845
|
value: function(o, i) {
|
|
843
|
-
var
|
|
844
|
-
|
|
846
|
+
var a = {};
|
|
847
|
+
a["language-" + i] = {
|
|
845
848
|
pattern: /(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,
|
|
846
849
|
lookbehind: !0,
|
|
847
850
|
inside: r.languages[i]
|
|
848
|
-
},
|
|
851
|
+
}, a.cdata = /^<!\[CDATA\[|\]\]>$/i;
|
|
849
852
|
var s = {
|
|
850
853
|
"included-cdata": {
|
|
851
854
|
pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
|
|
852
|
-
inside:
|
|
855
|
+
inside: a
|
|
853
856
|
}
|
|
854
857
|
};
|
|
855
858
|
s["language-" + i] = {
|
|
856
859
|
pattern: /[\s\S]+/,
|
|
857
860
|
inside: r.languages[i]
|
|
858
861
|
};
|
|
859
|
-
var
|
|
860
|
-
|
|
862
|
+
var l = {};
|
|
863
|
+
l[o] = {
|
|
861
864
|
pattern: RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g, function() {
|
|
862
865
|
return o;
|
|
863
866
|
}), "i"),
|
|
864
867
|
lookbehind: !0,
|
|
865
868
|
greedy: !0,
|
|
866
869
|
inside: s
|
|
867
|
-
}, r.languages.insertBefore("markup", "cdata",
|
|
870
|
+
}, r.languages.insertBefore("markup", "cdata", l);
|
|
868
871
|
}
|
|
869
872
|
}), Object.defineProperty(r.languages.markup.tag, "addAttribute", {
|
|
870
873
|
/**
|
|
@@ -1128,7 +1131,7 @@ var ke = {}, er = {
|
|
|
1128
1131
|
Element.prototype.matches || (Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector);
|
|
1129
1132
|
var n = "Loading…", o = function(y, w) {
|
|
1130
1133
|
return "✖ Error " + y + " while fetching file: " + w;
|
|
1131
|
-
}, i = "✖ Error: File does not exist or is empty",
|
|
1134
|
+
}, i = "✖ Error: File does not exist or is empty", a = {
|
|
1132
1135
|
js: "javascript",
|
|
1133
1136
|
py: "python",
|
|
1134
1137
|
rb: "ruby",
|
|
@@ -1138,18 +1141,18 @@ var ke = {}, er = {
|
|
|
1138
1141
|
bat: "batch",
|
|
1139
1142
|
h: "c",
|
|
1140
1143
|
tex: "latex"
|
|
1141
|
-
}, s = "data-src-status",
|
|
1142
|
-
function
|
|
1143
|
-
var
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
},
|
|
1144
|
+
}, s = "data-src-status", l = "loading", p = "loaded", c = "failed", g = "pre[data-src]:not([" + s + '="' + p + '"]):not([' + s + '="' + l + '"])';
|
|
1145
|
+
function _(y, w, T) {
|
|
1146
|
+
var u = new XMLHttpRequest();
|
|
1147
|
+
u.open("GET", y, !0), u.onreadystatechange = function() {
|
|
1148
|
+
u.readyState == 4 && (u.status < 400 && u.responseText ? w(u.responseText) : u.status >= 400 ? T(o(u.status, u.statusText)) : T(i));
|
|
1149
|
+
}, u.send(null);
|
|
1147
1150
|
}
|
|
1148
1151
|
function E(y) {
|
|
1149
1152
|
var w = /^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(y || "");
|
|
1150
1153
|
if (w) {
|
|
1151
|
-
var
|
|
1152
|
-
return
|
|
1154
|
+
var T = Number(w[1]), u = w[2], m = w[3];
|
|
1155
|
+
return u ? m ? [T, Number(m)] : [T, void 0] : [T, T];
|
|
1153
1156
|
}
|
|
1154
1157
|
}
|
|
1155
1158
|
r.hooks.add("before-highlightall", function(y) {
|
|
@@ -1160,18 +1163,18 @@ var ke = {}, er = {
|
|
|
1160
1163
|
y.element
|
|
1161
1164
|
);
|
|
1162
1165
|
if (w.matches(g)) {
|
|
1163
|
-
y.code = "", w.setAttribute(s,
|
|
1164
|
-
var
|
|
1165
|
-
|
|
1166
|
-
var
|
|
1166
|
+
y.code = "", w.setAttribute(s, l);
|
|
1167
|
+
var T = w.appendChild(document.createElement("CODE"));
|
|
1168
|
+
T.textContent = n;
|
|
1169
|
+
var u = w.getAttribute("data-src"), m = y.language;
|
|
1167
1170
|
if (m === "none") {
|
|
1168
|
-
var d = (/\.(\w+)$/.exec(
|
|
1169
|
-
m =
|
|
1171
|
+
var d = (/\.(\w+)$/.exec(u) || [, "none"])[1];
|
|
1172
|
+
m = a[d] || d;
|
|
1170
1173
|
}
|
|
1171
|
-
r.util.setLanguage(
|
|
1174
|
+
r.util.setLanguage(T, m), r.util.setLanguage(w, m);
|
|
1172
1175
|
var h = r.plugins.autoloader;
|
|
1173
|
-
h && h.loadLanguages(m),
|
|
1174
|
-
|
|
1176
|
+
h && h.loadLanguages(m), _(
|
|
1177
|
+
u,
|
|
1175
1178
|
function(f) {
|
|
1176
1179
|
w.setAttribute(s, p);
|
|
1177
1180
|
var j = E(w.getAttribute("data-range"));
|
|
@@ -1180,10 +1183,10 @@ var ke = {}, er = {
|
|
|
1180
1183
|
b < 0 && (b += A.length), b = Math.max(0, Math.min(b - 1, A.length)), B < 0 && (B += A.length), B = Math.max(0, Math.min(B, A.length)), f = A.slice(b, B).join(`
|
|
1181
1184
|
`), w.hasAttribute("data-start") || w.setAttribute("data-start", String(b + 1));
|
|
1182
1185
|
}
|
|
1183
|
-
|
|
1186
|
+
T.textContent = f, r.highlightElement(T);
|
|
1184
1187
|
},
|
|
1185
1188
|
function(f) {
|
|
1186
|
-
w.setAttribute(s,
|
|
1189
|
+
w.setAttribute(s, c), T.textContent = f;
|
|
1187
1190
|
}
|
|
1188
1191
|
);
|
|
1189
1192
|
}
|
|
@@ -1196,7 +1199,7 @@ var ke = {}, er = {
|
|
|
1196
1199
|
* @param {ParentNode} [container=document]
|
|
1197
1200
|
*/
|
|
1198
1201
|
highlight: function(w) {
|
|
1199
|
-
for (var
|
|
1202
|
+
for (var T = (w || document).querySelectorAll(g), u = 0, m; m = T[u++]; )
|
|
1200
1203
|
r.highlightElement(m);
|
|
1201
1204
|
}
|
|
1202
1205
|
};
|
|
@@ -1205,9 +1208,9 @@ var ke = {}, er = {
|
|
|
1205
1208
|
L || (console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."), L = !0), r.plugins.fileHighlight.highlight.apply(this, arguments);
|
|
1206
1209
|
};
|
|
1207
1210
|
}();
|
|
1208
|
-
})(
|
|
1211
|
+
})(nr);
|
|
1209
1212
|
const ce = ke;
|
|
1210
|
-
const
|
|
1213
|
+
const or = /* @__PURE__ */ G({
|
|
1211
1214
|
__name: "CodeBlock",
|
|
1212
1215
|
props: {
|
|
1213
1216
|
codeBlockIndex: {
|
|
@@ -1230,30 +1233,30 @@ const tr = /* @__PURE__ */ G({
|
|
|
1230
1233
|
setup(e) {
|
|
1231
1234
|
const t = e;
|
|
1232
1235
|
ce.manual = !0;
|
|
1233
|
-
const r = Ft(!1), n = Object.keys(
|
|
1234
|
-
const
|
|
1235
|
-
return [...
|
|
1236
|
+
const r = Ft(!1), n = Object.keys(_e.languages).reduce((l, p) => {
|
|
1237
|
+
const c = _e.languages[p].alias || [];
|
|
1238
|
+
return [...l, p, ...Array.isArray(c) ? c : [c]];
|
|
1236
1239
|
}, []).sort();
|
|
1237
|
-
function o(
|
|
1238
|
-
r.value = !0, ce.languages[
|
|
1240
|
+
function o(l) {
|
|
1241
|
+
r.value = !0, ce.languages[l.language] || console.warn(`Prism: the language “${l.language}” isn’t enabled.`), l.preElement.classList.contains(`language-${l.language}`) || l.preElement.classList.add(`language-${l.language}`), l.codeElement.innerHTML = i(l.code), ce.highlightElement(l.codeElement), r.value = !1;
|
|
1239
1242
|
}
|
|
1240
|
-
const i = (
|
|
1241
|
-
const
|
|
1242
|
-
return
|
|
1243
|
-
`) && !t.isSingleLine ?
|
|
1243
|
+
const i = (l) => l.replaceAll("<", "<").replaceAll(">", ">").replaceAll('"', """).replaceAll("'", "'"), a = Se(() => `document-code-block-${t.codeBlockIndex}`), s = Se(() => {
|
|
1244
|
+
const l = t.lines.flatMap((p) => p.text).join("");
|
|
1245
|
+
return l.endsWith(`
|
|
1246
|
+
`) && !t.isSingleLine ? l.slice(0, -1) : l;
|
|
1244
1247
|
});
|
|
1245
|
-
return Ot(() => t.lang, async (
|
|
1246
|
-
if (n.includes(
|
|
1248
|
+
return Ot(() => t.lang, async (l) => {
|
|
1249
|
+
if (n.includes(l))
|
|
1247
1250
|
try {
|
|
1248
|
-
await Yt(/* @__PURE__ */ Object.assign({ "../../../node_modules/prismjs/components/prism-abap.min.js": () => import("./prism-abap.min-5dd8af1f.js"), "../../../node_modules/prismjs/components/prism-abnf.min.js": () => import("./prism-abnf.min-c3c3a9d9.js"), "../../../node_modules/prismjs/components/prism-actionscript.min.js": () => import("./prism-actionscript.min-bd2d6afb.js"), "../../../node_modules/prismjs/components/prism-ada.min.js": () => import("./prism-ada.min-316d6d00.js"), "../../../node_modules/prismjs/components/prism-agda.min.js": () => import("./prism-agda.min-a6b4d217.js"), "../../../node_modules/prismjs/components/prism-al.min.js": () => import("./prism-al.min-f12e9359.js"), "../../../node_modules/prismjs/components/prism-antlr4.min.js": () => import("./prism-antlr4.min-850b07d5.js"), "../../../node_modules/prismjs/components/prism-apacheconf.min.js": () => import("./prism-apacheconf.min-948db440.js"), "../../../node_modules/prismjs/components/prism-apex.min.js": () => import("./prism-apex.min-cb3fec7c.js"), "../../../node_modules/prismjs/components/prism-apl.min.js": () => import("./prism-apl.min-98159dbe.js"), "../../../node_modules/prismjs/components/prism-applescript.min.js": () => import("./prism-applescript.min-feb2957e.js"), "../../../node_modules/prismjs/components/prism-aql.min.js": () => import("./prism-aql.min-d24bd57a.js"), "../../../node_modules/prismjs/components/prism-arduino.min.js": () => import("./prism-arduino.min-497e5615.js"), "../../../node_modules/prismjs/components/prism-arff.min.js": () => import("./prism-arff.min-54f15f52.js"), "../../../node_modules/prismjs/components/prism-armasm.min.js": () => import("./prism-armasm.min-60c6ead7.js"), "../../../node_modules/prismjs/components/prism-arturo.min.js": () => import("./prism-arturo.min-699e210e.js"), "../../../node_modules/prismjs/components/prism-asciidoc.min.js": () => import("./prism-asciidoc.min-f4622897.js"), "../../../node_modules/prismjs/components/prism-asm6502.min.js": () => import("./prism-asm6502.min-d16ec8e7.js"), "../../../node_modules/prismjs/components/prism-asmatmel.min.js": () => import("./prism-asmatmel.min-ebb34761.js"), "../../../node_modules/prismjs/components/prism-aspnet.min.js": () => import("./prism-aspnet.min-02de9064.js"), "../../../node_modules/prismjs/components/prism-autohotkey.min.js": () => import("./prism-autohotkey.min-58278b6c.js"), "../../../node_modules/prismjs/components/prism-autoit.min.js": () => import("./prism-autoit.min-bb495ed7.js"), "../../../node_modules/prismjs/components/prism-avisynth.min.js": () => import("./prism-avisynth.min-21dd4dbf.js"), "../../../node_modules/prismjs/components/prism-avro-idl.min.js": () => import("./prism-avro-idl.min-37aa0190.js"), "../../../node_modules/prismjs/components/prism-awk.min.js": () => import("./prism-awk.min-8362995b.js"), "../../../node_modules/prismjs/components/prism-bash.min.js": () => import("./prism-bash.min-3a888b73.js"), "../../../node_modules/prismjs/components/prism-basic.min.js": () => import("./prism-basic.min-70837013.js"), "../../../node_modules/prismjs/components/prism-batch.min.js": () => import("./prism-batch.min-e22008b6.js"), "../../../node_modules/prismjs/components/prism-bbcode.min.js": () => import("./prism-bbcode.min-1be070b7.js"), "../../../node_modules/prismjs/components/prism-bbj.min.js": () => import("./prism-bbj.min-c8595d55.js"), "../../../node_modules/prismjs/components/prism-bicep.min.js": () => import("./prism-bicep.min-b958c50e.js"), "../../../node_modules/prismjs/components/prism-birb.min.js": () => import("./prism-birb.min-1790d3b7.js"), "../../../node_modules/prismjs/components/prism-bison.min.js": () => import("./prism-bison.min-58efa25c.js"), "../../../node_modules/prismjs/components/prism-bnf.min.js": () => import("./prism-bnf.min-8a47cccc.js"), "../../../node_modules/prismjs/components/prism-bqn.min.js": () => import("./prism-bqn.min-7536e012.js"), "../../../node_modules/prismjs/components/prism-brainfuck.min.js": () => import("./prism-brainfuck.min-c9364b5e.js"), "../../../node_modules/prismjs/components/prism-brightscript.min.js": () => import("./prism-brightscript.min-d8aa03cd.js"), "../../../node_modules/prismjs/components/prism-bro.min.js": () => import("./prism-bro.min-6e2db8a0.js"), "../../../node_modules/prismjs/components/prism-bsl.min.js": () => import("./prism-bsl.min-6da4b323.js"), "../../../node_modules/prismjs/components/prism-c.min.js": () => import("./prism-c.min-b845f634.js"), "../../../node_modules/prismjs/components/prism-cfscript.min.js": () => import("./prism-cfscript.min-e626d6e7.js"), "../../../node_modules/prismjs/components/prism-chaiscript.min.js": () => import("./prism-chaiscript.min-59cf3b38.js"), "../../../node_modules/prismjs/components/prism-cil.min.js": () => import("./prism-cil.min-60db77c1.js"), "../../../node_modules/prismjs/components/prism-cilkc.min.js": () => import("./prism-cilkc.min-4c71300b.js"), "../../../node_modules/prismjs/components/prism-cilkcpp.min.js": () => import("./prism-cilkcpp.min-3963bb02.js"), "../../../node_modules/prismjs/components/prism-clike.min.js": () => import("./prism-clike.min-7115c549.js"), "../../../node_modules/prismjs/components/prism-clojure.min.js": () => import("./prism-clojure.min-8aa86fbd.js"), "../../../node_modules/prismjs/components/prism-cmake.min.js": () => import("./prism-cmake.min-194d339e.js"), "../../../node_modules/prismjs/components/prism-cobol.min.js": () => import("./prism-cobol.min-4f11593e.js"), "../../../node_modules/prismjs/components/prism-coffeescript.min.js": () => import("./prism-coffeescript.min-c3968b8f.js"), "../../../node_modules/prismjs/components/prism-concurnas.min.js": () => import("./prism-concurnas.min-5073257b.js"), "../../../node_modules/prismjs/components/prism-cooklang.min.js": () => import("./prism-cooklang.min-39421cc9.js"), "../../../node_modules/prismjs/components/prism-coq.min.js": () => import("./prism-coq.min-b08d301c.js"), "../../../node_modules/prismjs/components/prism-core.min.js": () => import("./prism-core.min-b4e9a0e1.js").then((p) => p.p), "../../../node_modules/prismjs/components/prism-cpp.min.js": () => import("./prism-cpp.min-ac230d87.js"), "../../../node_modules/prismjs/components/prism-crystal.min.js": () => import("./prism-crystal.min-13116708.js"), "../../../node_modules/prismjs/components/prism-csharp.min.js": () => import("./prism-csharp.min-2a7aa1d7.js"), "../../../node_modules/prismjs/components/prism-cshtml.min.js": () => import("./prism-cshtml.min-e0dea03d.js"), "../../../node_modules/prismjs/components/prism-csp.min.js": () => import("./prism-csp.min-9632aa13.js"), "../../../node_modules/prismjs/components/prism-css-extras.min.js": () => import("./prism-css-extras.min-b8bed0b9.js"), "../../../node_modules/prismjs/components/prism-css.min.js": () => import("./prism-css.min-e38589a9.js"), "../../../node_modules/prismjs/components/prism-csv.min.js": () => import("./prism-csv.min-59c9f7fe.js"), "../../../node_modules/prismjs/components/prism-cue.min.js": () => import("./prism-cue.min-a0471d75.js"), "../../../node_modules/prismjs/components/prism-cypher.min.js": () => import("./prism-cypher.min-c0e5a4ac.js"), "../../../node_modules/prismjs/components/prism-d.min.js": () => import("./prism-d.min-fe73d282.js"), "../../../node_modules/prismjs/components/prism-dart.min.js": () => import("./prism-dart.min-79822d61.js"), "../../../node_modules/prismjs/components/prism-dataweave.min.js": () => import("./prism-dataweave.min-ac7788bb.js"), "../../../node_modules/prismjs/components/prism-dax.min.js": () => import("./prism-dax.min-10526a78.js"), "../../../node_modules/prismjs/components/prism-dhall.min.js": () => import("./prism-dhall.min-1d8f852b.js"), "../../../node_modules/prismjs/components/prism-diff.min.js": () => import("./prism-diff.min-58a65b3c.js"), "../../../node_modules/prismjs/components/prism-django.min.js": () => import("./prism-django.min-966e5f65.js"), "../../../node_modules/prismjs/components/prism-dns-zone-file.min.js": () => import("./prism-dns-zone-file.min-6884205e.js"), "../../../node_modules/prismjs/components/prism-docker.min.js": () => import("./prism-docker.min-2330af65.js"), "../../../node_modules/prismjs/components/prism-dot.min.js": () => import("./prism-dot.min-b7040a53.js"), "../../../node_modules/prismjs/components/prism-ebnf.min.js": () => import("./prism-ebnf.min-72a1d666.js"), "../../../node_modules/prismjs/components/prism-editorconfig.min.js": () => import("./prism-editorconfig.min-f0a114f7.js"), "../../../node_modules/prismjs/components/prism-eiffel.min.js": () => import("./prism-eiffel.min-49594bdc.js"), "../../../node_modules/prismjs/components/prism-ejs.min.js": () => import("./prism-ejs.min-a2f2c9ea.js"), "../../../node_modules/prismjs/components/prism-elixir.min.js": () => import("./prism-elixir.min-ba69265c.js"), "../../../node_modules/prismjs/components/prism-elm.min.js": () => import("./prism-elm.min-3290c07f.js"), "../../../node_modules/prismjs/components/prism-erb.min.js": () => import("./prism-erb.min-51922f18.js"), "../../../node_modules/prismjs/components/prism-erlang.min.js": () => import("./prism-erlang.min-1847c6a7.js"), "../../../node_modules/prismjs/components/prism-etlua.min.js": () => import("./prism-etlua.min-d9358902.js"), "../../../node_modules/prismjs/components/prism-excel-formula.min.js": () => import("./prism-excel-formula.min-0e717178.js"), "../../../node_modules/prismjs/components/prism-factor.min.js": () => import("./prism-factor.min-0ea41495.js"), "../../../node_modules/prismjs/components/prism-false.min.js": () => import("./prism-false.min-d1e3e399.js"), "../../../node_modules/prismjs/components/prism-firestore-security-rules.min.js": () => import("./prism-firestore-security-rules.min-2230fbf2.js"), "../../../node_modules/prismjs/components/prism-flow.min.js": () => import("./prism-flow.min-4379ef1a.js"), "../../../node_modules/prismjs/components/prism-fortran.min.js": () => import("./prism-fortran.min-32dee11f.js"), "../../../node_modules/prismjs/components/prism-fsharp.min.js": () => import("./prism-fsharp.min-e4eccb74.js"), "../../../node_modules/prismjs/components/prism-ftl.min.js": () => import("./prism-ftl.min-cf603b01.js"), "../../../node_modules/prismjs/components/prism-gap.min.js": () => import("./prism-gap.min-3eca85c2.js"), "../../../node_modules/prismjs/components/prism-gcode.min.js": () => import("./prism-gcode.min-7be81032.js"), "../../../node_modules/prismjs/components/prism-gdscript.min.js": () => import("./prism-gdscript.min-a7d78975.js"), "../../../node_modules/prismjs/components/prism-gedcom.min.js": () => import("./prism-gedcom.min-364aaac3.js"), "../../../node_modules/prismjs/components/prism-gettext.min.js": () => import("./prism-gettext.min-d6e41f3f.js"), "../../../node_modules/prismjs/components/prism-gherkin.min.js": () => import("./prism-gherkin.min-b8bce925.js"), "../../../node_modules/prismjs/components/prism-git.min.js": () => import("./prism-git.min-d984e2ae.js"), "../../../node_modules/prismjs/components/prism-glsl.min.js": () => import("./prism-glsl.min-5a4d82d4.js"), "../../../node_modules/prismjs/components/prism-gml.min.js": () => import("./prism-gml.min-b91c603d.js"), "../../../node_modules/prismjs/components/prism-gn.min.js": () => import("./prism-gn.min-b37dd2cf.js"), "../../../node_modules/prismjs/components/prism-go-module.min.js": () => import("./prism-go-module.min-e9a704bf.js"), "../../../node_modules/prismjs/components/prism-go.min.js": () => import("./prism-go.min-c7322c64.js"), "../../../node_modules/prismjs/components/prism-gradle.min.js": () => import("./prism-gradle.min-1a828d06.js"), "../../../node_modules/prismjs/components/prism-graphql.min.js": () => import("./prism-graphql.min-e5fddf96.js"), "../../../node_modules/prismjs/components/prism-groovy.min.js": () => import("./prism-groovy.min-6999a453.js"), "../../../node_modules/prismjs/components/prism-haml.min.js": () => import("./prism-haml.min-06d636e1.js"), "../../../node_modules/prismjs/components/prism-handlebars.min.js": () => import("./prism-handlebars.min-d59c233b.js"), "../../../node_modules/prismjs/components/prism-haskell.min.js": () => import("./prism-haskell.min-2d474195.js"), "../../../node_modules/prismjs/components/prism-haxe.min.js": () => import("./prism-haxe.min-0b47bda7.js"), "../../../node_modules/prismjs/components/prism-hcl.min.js": () => import("./prism-hcl.min-dd93c4fa.js"), "../../../node_modules/prismjs/components/prism-hlsl.min.js": () => import("./prism-hlsl.min-90bc1513.js"), "../../../node_modules/prismjs/components/prism-hoon.min.js": () => import("./prism-hoon.min-5ac6535d.js"), "../../../node_modules/prismjs/components/prism-hpkp.min.js": () => import("./prism-hpkp.min-ccf08017.js"), "../../../node_modules/prismjs/components/prism-hsts.min.js": () => import("./prism-hsts.min-0dd9146f.js"), "../../../node_modules/prismjs/components/prism-http.min.js": () => import("./prism-http.min-10b32777.js"), "../../../node_modules/prismjs/components/prism-ichigojam.min.js": () => import("./prism-ichigojam.min-144f1b4b.js"), "../../../node_modules/prismjs/components/prism-icon.min.js": () => import("./prism-icon.min-22bb1195.js"), "../../../node_modules/prismjs/components/prism-icu-message-format.min.js": () => import("./prism-icu-message-format.min-b2ecdff3.js"), "../../../node_modules/prismjs/components/prism-idris.min.js": () => import("./prism-idris.min-920ad8df.js"), "../../../node_modules/prismjs/components/prism-iecst.min.js": () => import("./prism-iecst.min-d5ab1f6c.js"), "../../../node_modules/prismjs/components/prism-ignore.min.js": () => import("./prism-ignore.min-272b6ccf.js"), "../../../node_modules/prismjs/components/prism-inform7.min.js": () => import("./prism-inform7.min-22b438d7.js"), "../../../node_modules/prismjs/components/prism-ini.min.js": () => import("./prism-ini.min-b9585cc2.js"), "../../../node_modules/prismjs/components/prism-io.min.js": () => import("./prism-io.min-bc03d63b.js"), "../../../node_modules/prismjs/components/prism-j.min.js": () => import("./prism-j.min-2dc34683.js"), "../../../node_modules/prismjs/components/prism-java.min.js": () => import("./prism-java.min-2cfc90de.js"), "../../../node_modules/prismjs/components/prism-javadoc.min.js": () => import("./prism-javadoc.min-12ef12d8.js"), "../../../node_modules/prismjs/components/prism-javadoclike.min.js": () => import("./prism-javadoclike.min-e07933fc.js"), "../../../node_modules/prismjs/components/prism-javascript.min.js": () => import("./prism-javascript.min-03c8bcee.js"), "../../../node_modules/prismjs/components/prism-javastacktrace.min.js": () => import("./prism-javastacktrace.min-d3186b3e.js"), "../../../node_modules/prismjs/components/prism-jexl.min.js": () => import("./prism-jexl.min-084d69d8.js"), "../../../node_modules/prismjs/components/prism-jolie.min.js": () => import("./prism-jolie.min-466d4cf7.js"), "../../../node_modules/prismjs/components/prism-jq.min.js": () => import("./prism-jq.min-3daf478a.js"), "../../../node_modules/prismjs/components/prism-js-extras.min.js": () => import("./prism-js-extras.min-a225cee9.js"), "../../../node_modules/prismjs/components/prism-js-templates.min.js": () => import("./prism-js-templates.min-c950373d.js"), "../../../node_modules/prismjs/components/prism-jsdoc.min.js": () => import("./prism-jsdoc.min-02975619.js"), "../../../node_modules/prismjs/components/prism-json.min.js": () => import("./prism-json.min-fa2dced5.js"), "../../../node_modules/prismjs/components/prism-json5.min.js": () => import("./prism-json5.min-3917dd44.js"), "../../../node_modules/prismjs/components/prism-jsonp.min.js": () => import("./prism-jsonp.min-a0f4106e.js"), "../../../node_modules/prismjs/components/prism-jsstacktrace.min.js": () => import("./prism-jsstacktrace.min-bc3f3759.js"), "../../../node_modules/prismjs/components/prism-jsx.min.js": () => import("./prism-jsx.min-8af1efbf.js"), "../../../node_modules/prismjs/components/prism-julia.min.js": () => import("./prism-julia.min-cc71d15e.js"), "../../../node_modules/prismjs/components/prism-keepalived.min.js": () => import("./prism-keepalived.min-1428eb2f.js"), "../../../node_modules/prismjs/components/prism-keyman.min.js": () => import("./prism-keyman.min-3b419e70.js"), "../../../node_modules/prismjs/components/prism-kotlin.min.js": () => import("./prism-kotlin.min-ecbf8553.js"), "../../../node_modules/prismjs/components/prism-kumir.min.js": () => import("./prism-kumir.min-624860b6.js"), "../../../node_modules/prismjs/components/prism-kusto.min.js": () => import("./prism-kusto.min-67b0f58b.js"), "../../../node_modules/prismjs/components/prism-latex.min.js": () => import("./prism-latex.min-af145af5.js"), "../../../node_modules/prismjs/components/prism-latte.min.js": () => import("./prism-latte.min-b9a60122.js"), "../../../node_modules/prismjs/components/prism-less.min.js": () => import("./prism-less.min-3a3313ed.js"), "../../../node_modules/prismjs/components/prism-lilypond.min.js": () => import("./prism-lilypond.min-b0ed8db8.js"), "../../../node_modules/prismjs/components/prism-linker-script.min.js": () => import("./prism-linker-script.min-dc3fc5ad.js"), "../../../node_modules/prismjs/components/prism-liquid.min.js": () => import("./prism-liquid.min-86fa81e6.js"), "../../../node_modules/prismjs/components/prism-lisp.min.js": () => import("./prism-lisp.min-cae2f73f.js"), "../../../node_modules/prismjs/components/prism-livescript.min.js": () => import("./prism-livescript.min-b5d9d700.js"), "../../../node_modules/prismjs/components/prism-llvm.min.js": () => import("./prism-llvm.min-2b4a3e33.js"), "../../../node_modules/prismjs/components/prism-log.min.js": () => import("./prism-log.min-e9ba9fa2.js"), "../../../node_modules/prismjs/components/prism-lolcode.min.js": () => import("./prism-lolcode.min-1d0782a6.js"), "../../../node_modules/prismjs/components/prism-lua.min.js": () => import("./prism-lua.min-9c7e1242.js"), "../../../node_modules/prismjs/components/prism-magma.min.js": () => import("./prism-magma.min-6b08ba18.js"), "../../../node_modules/prismjs/components/prism-makefile.min.js": () => import("./prism-makefile.min-10c204c7.js"), "../../../node_modules/prismjs/components/prism-markdown.min.js": () => import("./prism-markdown.min-97e74eb9.js"), "../../../node_modules/prismjs/components/prism-markup-templating.min.js": () => import("./prism-markup-templating.min-c55d1b76.js"), "../../../node_modules/prismjs/components/prism-markup.min.js": () => import("./prism-markup.min-849389d5.js"), "../../../node_modules/prismjs/components/prism-mata.min.js": () => import("./prism-mata.min-1bbaed90.js"), "../../../node_modules/prismjs/components/prism-matlab.min.js": () => import("./prism-matlab.min-c787c897.js"), "../../../node_modules/prismjs/components/prism-maxscript.min.js": () => import("./prism-maxscript.min-8ff24836.js"), "../../../node_modules/prismjs/components/prism-mel.min.js": () => import("./prism-mel.min-e8ff632f.js"), "../../../node_modules/prismjs/components/prism-mermaid.min.js": () => import("./prism-mermaid.min-77fee473.js"), "../../../node_modules/prismjs/components/prism-metafont.min.js": () => import("./prism-metafont.min-94223e4b.js"), "../../../node_modules/prismjs/components/prism-mizar.min.js": () => import("./prism-mizar.min-50230be0.js"), "../../../node_modules/prismjs/components/prism-mongodb.min.js": () => import("./prism-mongodb.min-9790bcfd.js"), "../../../node_modules/prismjs/components/prism-monkey.min.js": () => import("./prism-monkey.min-5a1eb1ff.js"), "../../../node_modules/prismjs/components/prism-moonscript.min.js": () => import("./prism-moonscript.min-ed957c18.js"), "../../../node_modules/prismjs/components/prism-n1ql.min.js": () => import("./prism-n1ql.min-f3780067.js"), "../../../node_modules/prismjs/components/prism-n4js.min.js": () => import("./prism-n4js.min-d57fb90f.js"), "../../../node_modules/prismjs/components/prism-nand2tetris-hdl.min.js": () => import("./prism-nand2tetris-hdl.min-8228b246.js"), "../../../node_modules/prismjs/components/prism-naniscript.min.js": () => import("./prism-naniscript.min-a2fa6109.js"), "../../../node_modules/prismjs/components/prism-nasm.min.js": () => import("./prism-nasm.min-09906ffc.js"), "../../../node_modules/prismjs/components/prism-neon.min.js": () => import("./prism-neon.min-83c9b2c5.js"), "../../../node_modules/prismjs/components/prism-nevod.min.js": () => import("./prism-nevod.min-c2d107f2.js"), "../../../node_modules/prismjs/components/prism-nginx.min.js": () => import("./prism-nginx.min-01df8a32.js"), "../../../node_modules/prismjs/components/prism-nim.min.js": () => import("./prism-nim.min-dd447d6c.js"), "../../../node_modules/prismjs/components/prism-nix.min.js": () => import("./prism-nix.min-6430b249.js"), "../../../node_modules/prismjs/components/prism-nsis.min.js": () => import("./prism-nsis.min-dff25bf5.js"), "../../../node_modules/prismjs/components/prism-objectivec.min.js": () => import("./prism-objectivec.min-01ae0d96.js"), "../../../node_modules/prismjs/components/prism-ocaml.min.js": () => import("./prism-ocaml.min-20e838d9.js"), "../../../node_modules/prismjs/components/prism-odin.min.js": () => import("./prism-odin.min-b5d9183b.js"), "../../../node_modules/prismjs/components/prism-opencl.min.js": () => import("./prism-opencl.min-1d85e7cf.js"), "../../../node_modules/prismjs/components/prism-openqasm.min.js": () => import("./prism-openqasm.min-29eb40fe.js"), "../../../node_modules/prismjs/components/prism-oz.min.js": () => import("./prism-oz.min-c1f4ebd4.js"), "../../../node_modules/prismjs/components/prism-parigp.min.js": () => import("./prism-parigp.min-8bff0612.js"), "../../../node_modules/prismjs/components/prism-parser.min.js": () => import("./prism-parser.min-7722395f.js"), "../../../node_modules/prismjs/components/prism-pascal.min.js": () => import("./prism-pascal.min-ccf26fed.js"), "../../../node_modules/prismjs/components/prism-pascaligo.min.js": () => import("./prism-pascaligo.min-3aecb02c.js"), "../../../node_modules/prismjs/components/prism-pcaxis.min.js": () => import("./prism-pcaxis.min-c5e7a871.js"), "../../../node_modules/prismjs/components/prism-peoplecode.min.js": () => import("./prism-peoplecode.min-7c8ed2ef.js"), "../../../node_modules/prismjs/components/prism-perl.min.js": () => import("./prism-perl.min-108f825c.js"), "../../../node_modules/prismjs/components/prism-php-extras.min.js": () => import("./prism-php-extras.min-4b649f6b.js"), "../../../node_modules/prismjs/components/prism-php.min.js": () => import("./prism-php.min-b4bebbdb.js"), "../../../node_modules/prismjs/components/prism-phpdoc.min.js": () => import("./prism-phpdoc.min-71857b79.js"), "../../../node_modules/prismjs/components/prism-plant-uml.min.js": () => import("./prism-plant-uml.min-91d8fdec.js"), "../../../node_modules/prismjs/components/prism-plsql.min.js": () => import("./prism-plsql.min-8b0dd1ce.js"), "../../../node_modules/prismjs/components/prism-powerquery.min.js": () => import("./prism-powerquery.min-de7eda80.js"), "../../../node_modules/prismjs/components/prism-powershell.min.js": () => import("./prism-powershell.min-13582006.js"), "../../../node_modules/prismjs/components/prism-processing.min.js": () => import("./prism-processing.min-ddf61715.js"), "../../../node_modules/prismjs/components/prism-prolog.min.js": () => import("./prism-prolog.min-be61447f.js"), "../../../node_modules/prismjs/components/prism-promql.min.js": () => import("./prism-promql.min-b94dbbcb.js"), "../../../node_modules/prismjs/components/prism-properties.min.js": () => import("./prism-properties.min-4b65aff4.js"), "../../../node_modules/prismjs/components/prism-protobuf.min.js": () => import("./prism-protobuf.min-c7dd99a8.js"), "../../../node_modules/prismjs/components/prism-psl.min.js": () => import("./prism-psl.min-3cb6ca77.js"), "../../../node_modules/prismjs/components/prism-pug.min.js": () => import("./prism-pug.min-84ed48ec.js"), "../../../node_modules/prismjs/components/prism-puppet.min.js": () => import("./prism-puppet.min-c02bdf50.js"), "../../../node_modules/prismjs/components/prism-pure.min.js": () => import("./prism-pure.min-7b5eae7a.js"), "../../../node_modules/prismjs/components/prism-purebasic.min.js": () => import("./prism-purebasic.min-a62b63be.js"), "../../../node_modules/prismjs/components/prism-purescript.min.js": () => import("./prism-purescript.min-d7c49bf2.js"), "../../../node_modules/prismjs/components/prism-python.min.js": () => import("./prism-python.min-89935d5e.js"), "../../../node_modules/prismjs/components/prism-q.min.js": () => import("./prism-q.min-96d8fb1b.js"), "../../../node_modules/prismjs/components/prism-qml.min.js": () => import("./prism-qml.min-eb7c0dfc.js"), "../../../node_modules/prismjs/components/prism-qore.min.js": () => import("./prism-qore.min-ed8ddb5e.js"), "../../../node_modules/prismjs/components/prism-qsharp.min.js": () => import("./prism-qsharp.min-fb960bab.js"), "../../../node_modules/prismjs/components/prism-r.min.js": () => import("./prism-r.min-9fe1f3ed.js"), "../../../node_modules/prismjs/components/prism-racket.min.js": () => import("./prism-racket.min-e90ec309.js"), "../../../node_modules/prismjs/components/prism-reason.min.js": () => import("./prism-reason.min-63d1fa8a.js"), "../../../node_modules/prismjs/components/prism-regex.min.js": () => import("./prism-regex.min-96d0bc4f.js"), "../../../node_modules/prismjs/components/prism-rego.min.js": () => import("./prism-rego.min-281a02c1.js"), "../../../node_modules/prismjs/components/prism-renpy.min.js": () => import("./prism-renpy.min-2bef2655.js"), "../../../node_modules/prismjs/components/prism-rescript.min.js": () => import("./prism-rescript.min-2a3bda12.js"), "../../../node_modules/prismjs/components/prism-rest.min.js": () => import("./prism-rest.min-09260b93.js"), "../../../node_modules/prismjs/components/prism-rip.min.js": () => import("./prism-rip.min-c89fc679.js"), "../../../node_modules/prismjs/components/prism-roboconf.min.js": () => import("./prism-roboconf.min-362299cf.js"), "../../../node_modules/prismjs/components/prism-robotframework.min.js": () => import("./prism-robotframework.min-901bf739.js"), "../../../node_modules/prismjs/components/prism-ruby.min.js": () => import("./prism-ruby.min-6e459016.js"), "../../../node_modules/prismjs/components/prism-rust.min.js": () => import("./prism-rust.min-820420d0.js"), "../../../node_modules/prismjs/components/prism-sas.min.js": () => import("./prism-sas.min-920eaa09.js"), "../../../node_modules/prismjs/components/prism-sass.min.js": () => import("./prism-sass.min-4dc53bc5.js"), "../../../node_modules/prismjs/components/prism-scala.min.js": () => import("./prism-scala.min-83738843.js"), "../../../node_modules/prismjs/components/prism-scheme.min.js": () => import("./prism-scheme.min-1358e051.js"), "../../../node_modules/prismjs/components/prism-scss.min.js": () => import("./prism-scss.min-92aea743.js"), "../../../node_modules/prismjs/components/prism-shell-session.min.js": () => import("./prism-shell-session.min-2977ab53.js"), "../../../node_modules/prismjs/components/prism-smali.min.js": () => import("./prism-smali.min-e768ca38.js"), "../../../node_modules/prismjs/components/prism-smalltalk.min.js": () => import("./prism-smalltalk.min-139c1ee1.js"), "../../../node_modules/prismjs/components/prism-smarty.min.js": () => import("./prism-smarty.min-f8debf97.js"), "../../../node_modules/prismjs/components/prism-sml.min.js": () => import("./prism-sml.min-0c679316.js"), "../../../node_modules/prismjs/components/prism-solidity.min.js": () => import("./prism-solidity.min-83eb4a29.js"), "../../../node_modules/prismjs/components/prism-solution-file.min.js": () => import("./prism-solution-file.min-52546f1c.js"), "../../../node_modules/prismjs/components/prism-soy.min.js": () => import("./prism-soy.min-d2b3294e.js"), "../../../node_modules/prismjs/components/prism-sparql.min.js": () => import("./prism-sparql.min-b55f57a3.js"), "../../../node_modules/prismjs/components/prism-splunk-spl.min.js": () => import("./prism-splunk-spl.min-bd51901e.js"), "../../../node_modules/prismjs/components/prism-sqf.min.js": () => import("./prism-sqf.min-7796abe2.js"), "../../../node_modules/prismjs/components/prism-sql.min.js": () => import("./prism-sql.min-583eab97.js"), "../../../node_modules/prismjs/components/prism-squirrel.min.js": () => import("./prism-squirrel.min-6210cc27.js"), "../../../node_modules/prismjs/components/prism-stan.min.js": () => import("./prism-stan.min-0219161d.js"), "../../../node_modules/prismjs/components/prism-stata.min.js": () => import("./prism-stata.min-e8468e92.js"), "../../../node_modules/prismjs/components/prism-stylus.min.js": () => import("./prism-stylus.min-b4211725.js"), "../../../node_modules/prismjs/components/prism-supercollider.min.js": () => import("./prism-supercollider.min-a1e102ff.js"), "../../../node_modules/prismjs/components/prism-swift.min.js": () => import("./prism-swift.min-962aa7ba.js"), "../../../node_modules/prismjs/components/prism-systemd.min.js": () => import("./prism-systemd.min-6d49f69b.js"), "../../../node_modules/prismjs/components/prism-t4-cs.min.js": () => import("./prism-t4-cs.min-258a46d3.js"), "../../../node_modules/prismjs/components/prism-t4-templating.min.js": () => import("./prism-t4-templating.min-740d429f.js"), "../../../node_modules/prismjs/components/prism-t4-vb.min.js": () => import("./prism-t4-vb.min-c3ca6021.js"), "../../../node_modules/prismjs/components/prism-tap.min.js": () => import("./prism-tap.min-2d582f1c.js"), "../../../node_modules/prismjs/components/prism-tcl.min.js": () => import("./prism-tcl.min-3d421e58.js"), "../../../node_modules/prismjs/components/prism-textile.min.js": () => import("./prism-textile.min-bea9a185.js"), "../../../node_modules/prismjs/components/prism-toml.min.js": () => import("./prism-toml.min-ba409a46.js"), "../../../node_modules/prismjs/components/prism-tremor.min.js": () => import("./prism-tremor.min-cf11bafd.js"), "../../../node_modules/prismjs/components/prism-tsx.min.js": () => import("./prism-tsx.min-90ee8eaa.js"), "../../../node_modules/prismjs/components/prism-tt2.min.js": () => import("./prism-tt2.min-c7317371.js"), "../../../node_modules/prismjs/components/prism-turtle.min.js": () => import("./prism-turtle.min-d3f6c908.js"), "../../../node_modules/prismjs/components/prism-twig.min.js": () => import("./prism-twig.min-06667cf3.js"), "../../../node_modules/prismjs/components/prism-typescript.min.js": () => import("./prism-typescript.min-da950f4e.js"), "../../../node_modules/prismjs/components/prism-typoscript.min.js": () => import("./prism-typoscript.min-92ab2527.js"), "../../../node_modules/prismjs/components/prism-unrealscript.min.js": () => import("./prism-unrealscript.min-524c9821.js"), "../../../node_modules/prismjs/components/prism-uorazor.min.js": () => import("./prism-uorazor.min-8445afde.js"), "../../../node_modules/prismjs/components/prism-uri.min.js": () => import("./prism-uri.min-8d153620.js"), "../../../node_modules/prismjs/components/prism-v.min.js": () => import("./prism-v.min-f5dfa62f.js"), "../../../node_modules/prismjs/components/prism-vala.min.js": () => import("./prism-vala.min-8099e50d.js"), "../../../node_modules/prismjs/components/prism-vbnet.min.js": () => import("./prism-vbnet.min-c684e95c.js"), "../../../node_modules/prismjs/components/prism-velocity.min.js": () => import("./prism-velocity.min-ce8230ae.js"), "../../../node_modules/prismjs/components/prism-verilog.min.js": () => import("./prism-verilog.min-49879cf6.js"), "../../../node_modules/prismjs/components/prism-vhdl.min.js": () => import("./prism-vhdl.min-9c469192.js"), "../../../node_modules/prismjs/components/prism-vim.min.js": () => import("./prism-vim.min-753cf120.js"), "../../../node_modules/prismjs/components/prism-visual-basic.min.js": () => import("./prism-visual-basic.min-03026ad9.js"), "../../../node_modules/prismjs/components/prism-warpscript.min.js": () => import("./prism-warpscript.min-69ba95e0.js"), "../../../node_modules/prismjs/components/prism-wasm.min.js": () => import("./prism-wasm.min-a8aa80a7.js"), "../../../node_modules/prismjs/components/prism-web-idl.min.js": () => import("./prism-web-idl.min-502d10ad.js"), "../../../node_modules/prismjs/components/prism-wgsl.min.js": () => import("./prism-wgsl.min-674a5833.js"), "../../../node_modules/prismjs/components/prism-wiki.min.js": () => import("./prism-wiki.min-6aa23d83.js"), "../../../node_modules/prismjs/components/prism-wolfram.min.js": () => import("./prism-wolfram.min-5edca627.js"), "../../../node_modules/prismjs/components/prism-wren.min.js": () => import("./prism-wren.min-87e34869.js"), "../../../node_modules/prismjs/components/prism-xeora.min.js": () => import("./prism-xeora.min-39184a91.js"), "../../../node_modules/prismjs/components/prism-xml-doc.min.js": () => import("./prism-xml-doc.min-cd59a0d2.js"), "../../../node_modules/prismjs/components/prism-xojo.min.js": () => import("./prism-xojo.min-7d27c927.js"), "../../../node_modules/prismjs/components/prism-xquery.min.js": () => import("./prism-xquery.min-aebd2f79.js"), "../../../node_modules/prismjs/components/prism-yaml.min.js": () => import("./prism-yaml.min-971ccff8.js"), "../../../node_modules/prismjs/components/prism-yang.min.js": () => import("./prism-yang.min-39f14179.js"), "../../../node_modules/prismjs/components/prism-zig.min.js": () => import("./prism-zig.min-e777c275.js") }), `../../../node_modules/prismjs/components/prism-${a}.min.js`);
|
|
1251
|
+
await tr(/* @__PURE__ */ Object.assign({ "../../../node_modules/prismjs/components/prism-abap.min.js": () => import("./prism-abap.min-5dd8af1f.js"), "../../../node_modules/prismjs/components/prism-abnf.min.js": () => import("./prism-abnf.min-c3c3a9d9.js"), "../../../node_modules/prismjs/components/prism-actionscript.min.js": () => import("./prism-actionscript.min-bd2d6afb.js"), "../../../node_modules/prismjs/components/prism-ada.min.js": () => import("./prism-ada.min-316d6d00.js"), "../../../node_modules/prismjs/components/prism-agda.min.js": () => import("./prism-agda.min-a6b4d217.js"), "../../../node_modules/prismjs/components/prism-al.min.js": () => import("./prism-al.min-f12e9359.js"), "../../../node_modules/prismjs/components/prism-antlr4.min.js": () => import("./prism-antlr4.min-850b07d5.js"), "../../../node_modules/prismjs/components/prism-apacheconf.min.js": () => import("./prism-apacheconf.min-948db440.js"), "../../../node_modules/prismjs/components/prism-apex.min.js": () => import("./prism-apex.min-cb3fec7c.js"), "../../../node_modules/prismjs/components/prism-apl.min.js": () => import("./prism-apl.min-98159dbe.js"), "../../../node_modules/prismjs/components/prism-applescript.min.js": () => import("./prism-applescript.min-feb2957e.js"), "../../../node_modules/prismjs/components/prism-aql.min.js": () => import("./prism-aql.min-d24bd57a.js"), "../../../node_modules/prismjs/components/prism-arduino.min.js": () => import("./prism-arduino.min-497e5615.js"), "../../../node_modules/prismjs/components/prism-arff.min.js": () => import("./prism-arff.min-54f15f52.js"), "../../../node_modules/prismjs/components/prism-armasm.min.js": () => import("./prism-armasm.min-60c6ead7.js"), "../../../node_modules/prismjs/components/prism-arturo.min.js": () => import("./prism-arturo.min-699e210e.js"), "../../../node_modules/prismjs/components/prism-asciidoc.min.js": () => import("./prism-asciidoc.min-f4622897.js"), "../../../node_modules/prismjs/components/prism-asm6502.min.js": () => import("./prism-asm6502.min-d16ec8e7.js"), "../../../node_modules/prismjs/components/prism-asmatmel.min.js": () => import("./prism-asmatmel.min-ebb34761.js"), "../../../node_modules/prismjs/components/prism-aspnet.min.js": () => import("./prism-aspnet.min-02de9064.js"), "../../../node_modules/prismjs/components/prism-autohotkey.min.js": () => import("./prism-autohotkey.min-58278b6c.js"), "../../../node_modules/prismjs/components/prism-autoit.min.js": () => import("./prism-autoit.min-bb495ed7.js"), "../../../node_modules/prismjs/components/prism-avisynth.min.js": () => import("./prism-avisynth.min-21dd4dbf.js"), "../../../node_modules/prismjs/components/prism-avro-idl.min.js": () => import("./prism-avro-idl.min-37aa0190.js"), "../../../node_modules/prismjs/components/prism-awk.min.js": () => import("./prism-awk.min-8362995b.js"), "../../../node_modules/prismjs/components/prism-bash.min.js": () => import("./prism-bash.min-3a888b73.js"), "../../../node_modules/prismjs/components/prism-basic.min.js": () => import("./prism-basic.min-70837013.js"), "../../../node_modules/prismjs/components/prism-batch.min.js": () => import("./prism-batch.min-e22008b6.js"), "../../../node_modules/prismjs/components/prism-bbcode.min.js": () => import("./prism-bbcode.min-1be070b7.js"), "../../../node_modules/prismjs/components/prism-bbj.min.js": () => import("./prism-bbj.min-c8595d55.js"), "../../../node_modules/prismjs/components/prism-bicep.min.js": () => import("./prism-bicep.min-b958c50e.js"), "../../../node_modules/prismjs/components/prism-birb.min.js": () => import("./prism-birb.min-1790d3b7.js"), "../../../node_modules/prismjs/components/prism-bison.min.js": () => import("./prism-bison.min-58efa25c.js"), "../../../node_modules/prismjs/components/prism-bnf.min.js": () => import("./prism-bnf.min-8a47cccc.js"), "../../../node_modules/prismjs/components/prism-bqn.min.js": () => import("./prism-bqn.min-7536e012.js"), "../../../node_modules/prismjs/components/prism-brainfuck.min.js": () => import("./prism-brainfuck.min-c9364b5e.js"), "../../../node_modules/prismjs/components/prism-brightscript.min.js": () => import("./prism-brightscript.min-d8aa03cd.js"), "../../../node_modules/prismjs/components/prism-bro.min.js": () => import("./prism-bro.min-6e2db8a0.js"), "../../../node_modules/prismjs/components/prism-bsl.min.js": () => import("./prism-bsl.min-6da4b323.js"), "../../../node_modules/prismjs/components/prism-c.min.js": () => import("./prism-c.min-b845f634.js"), "../../../node_modules/prismjs/components/prism-cfscript.min.js": () => import("./prism-cfscript.min-e626d6e7.js"), "../../../node_modules/prismjs/components/prism-chaiscript.min.js": () => import("./prism-chaiscript.min-59cf3b38.js"), "../../../node_modules/prismjs/components/prism-cil.min.js": () => import("./prism-cil.min-60db77c1.js"), "../../../node_modules/prismjs/components/prism-cilkc.min.js": () => import("./prism-cilkc.min-4c71300b.js"), "../../../node_modules/prismjs/components/prism-cilkcpp.min.js": () => import("./prism-cilkcpp.min-3963bb02.js"), "../../../node_modules/prismjs/components/prism-clike.min.js": () => import("./prism-clike.min-7115c549.js"), "../../../node_modules/prismjs/components/prism-clojure.min.js": () => import("./prism-clojure.min-8aa86fbd.js"), "../../../node_modules/prismjs/components/prism-cmake.min.js": () => import("./prism-cmake.min-194d339e.js"), "../../../node_modules/prismjs/components/prism-cobol.min.js": () => import("./prism-cobol.min-4f11593e.js"), "../../../node_modules/prismjs/components/prism-coffeescript.min.js": () => import("./prism-coffeescript.min-c3968b8f.js"), "../../../node_modules/prismjs/components/prism-concurnas.min.js": () => import("./prism-concurnas.min-5073257b.js"), "../../../node_modules/prismjs/components/prism-cooklang.min.js": () => import("./prism-cooklang.min-39421cc9.js"), "../../../node_modules/prismjs/components/prism-coq.min.js": () => import("./prism-coq.min-b08d301c.js"), "../../../node_modules/prismjs/components/prism-core.min.js": () => import("./prism-core.min-57bbc1fe.js").then((p) => p.p), "../../../node_modules/prismjs/components/prism-cpp.min.js": () => import("./prism-cpp.min-ac230d87.js"), "../../../node_modules/prismjs/components/prism-crystal.min.js": () => import("./prism-crystal.min-13116708.js"), "../../../node_modules/prismjs/components/prism-csharp.min.js": () => import("./prism-csharp.min-2a7aa1d7.js"), "../../../node_modules/prismjs/components/prism-cshtml.min.js": () => import("./prism-cshtml.min-e0dea03d.js"), "../../../node_modules/prismjs/components/prism-csp.min.js": () => import("./prism-csp.min-9632aa13.js"), "../../../node_modules/prismjs/components/prism-css-extras.min.js": () => import("./prism-css-extras.min-b8bed0b9.js"), "../../../node_modules/prismjs/components/prism-css.min.js": () => import("./prism-css.min-e38589a9.js"), "../../../node_modules/prismjs/components/prism-csv.min.js": () => import("./prism-csv.min-59c9f7fe.js"), "../../../node_modules/prismjs/components/prism-cue.min.js": () => import("./prism-cue.min-a0471d75.js"), "../../../node_modules/prismjs/components/prism-cypher.min.js": () => import("./prism-cypher.min-c0e5a4ac.js"), "../../../node_modules/prismjs/components/prism-d.min.js": () => import("./prism-d.min-fe73d282.js"), "../../../node_modules/prismjs/components/prism-dart.min.js": () => import("./prism-dart.min-79822d61.js"), "../../../node_modules/prismjs/components/prism-dataweave.min.js": () => import("./prism-dataweave.min-ac7788bb.js"), "../../../node_modules/prismjs/components/prism-dax.min.js": () => import("./prism-dax.min-10526a78.js"), "../../../node_modules/prismjs/components/prism-dhall.min.js": () => import("./prism-dhall.min-1d8f852b.js"), "../../../node_modules/prismjs/components/prism-diff.min.js": () => import("./prism-diff.min-58a65b3c.js"), "../../../node_modules/prismjs/components/prism-django.min.js": () => import("./prism-django.min-966e5f65.js"), "../../../node_modules/prismjs/components/prism-dns-zone-file.min.js": () => import("./prism-dns-zone-file.min-6884205e.js"), "../../../node_modules/prismjs/components/prism-docker.min.js": () => import("./prism-docker.min-2330af65.js"), "../../../node_modules/prismjs/components/prism-dot.min.js": () => import("./prism-dot.min-b7040a53.js"), "../../../node_modules/prismjs/components/prism-ebnf.min.js": () => import("./prism-ebnf.min-72a1d666.js"), "../../../node_modules/prismjs/components/prism-editorconfig.min.js": () => import("./prism-editorconfig.min-f0a114f7.js"), "../../../node_modules/prismjs/components/prism-eiffel.min.js": () => import("./prism-eiffel.min-49594bdc.js"), "../../../node_modules/prismjs/components/prism-ejs.min.js": () => import("./prism-ejs.min-a2f2c9ea.js"), "../../../node_modules/prismjs/components/prism-elixir.min.js": () => import("./prism-elixir.min-ba69265c.js"), "../../../node_modules/prismjs/components/prism-elm.min.js": () => import("./prism-elm.min-3290c07f.js"), "../../../node_modules/prismjs/components/prism-erb.min.js": () => import("./prism-erb.min-51922f18.js"), "../../../node_modules/prismjs/components/prism-erlang.min.js": () => import("./prism-erlang.min-1847c6a7.js"), "../../../node_modules/prismjs/components/prism-etlua.min.js": () => import("./prism-etlua.min-d9358902.js"), "../../../node_modules/prismjs/components/prism-excel-formula.min.js": () => import("./prism-excel-formula.min-0e717178.js"), "../../../node_modules/prismjs/components/prism-factor.min.js": () => import("./prism-factor.min-0ea41495.js"), "../../../node_modules/prismjs/components/prism-false.min.js": () => import("./prism-false.min-d1e3e399.js"), "../../../node_modules/prismjs/components/prism-firestore-security-rules.min.js": () => import("./prism-firestore-security-rules.min-2230fbf2.js"), "../../../node_modules/prismjs/components/prism-flow.min.js": () => import("./prism-flow.min-4379ef1a.js"), "../../../node_modules/prismjs/components/prism-fortran.min.js": () => import("./prism-fortran.min-32dee11f.js"), "../../../node_modules/prismjs/components/prism-fsharp.min.js": () => import("./prism-fsharp.min-e4eccb74.js"), "../../../node_modules/prismjs/components/prism-ftl.min.js": () => import("./prism-ftl.min-cf603b01.js"), "../../../node_modules/prismjs/components/prism-gap.min.js": () => import("./prism-gap.min-3eca85c2.js"), "../../../node_modules/prismjs/components/prism-gcode.min.js": () => import("./prism-gcode.min-7be81032.js"), "../../../node_modules/prismjs/components/prism-gdscript.min.js": () => import("./prism-gdscript.min-a7d78975.js"), "../../../node_modules/prismjs/components/prism-gedcom.min.js": () => import("./prism-gedcom.min-364aaac3.js"), "../../../node_modules/prismjs/components/prism-gettext.min.js": () => import("./prism-gettext.min-d6e41f3f.js"), "../../../node_modules/prismjs/components/prism-gherkin.min.js": () => import("./prism-gherkin.min-b8bce925.js"), "../../../node_modules/prismjs/components/prism-git.min.js": () => import("./prism-git.min-d984e2ae.js"), "../../../node_modules/prismjs/components/prism-glsl.min.js": () => import("./prism-glsl.min-5a4d82d4.js"), "../../../node_modules/prismjs/components/prism-gml.min.js": () => import("./prism-gml.min-b91c603d.js"), "../../../node_modules/prismjs/components/prism-gn.min.js": () => import("./prism-gn.min-b37dd2cf.js"), "../../../node_modules/prismjs/components/prism-go-module.min.js": () => import("./prism-go-module.min-e9a704bf.js"), "../../../node_modules/prismjs/components/prism-go.min.js": () => import("./prism-go.min-c7322c64.js"), "../../../node_modules/prismjs/components/prism-gradle.min.js": () => import("./prism-gradle.min-1a828d06.js"), "../../../node_modules/prismjs/components/prism-graphql.min.js": () => import("./prism-graphql.min-e5fddf96.js"), "../../../node_modules/prismjs/components/prism-groovy.min.js": () => import("./prism-groovy.min-6999a453.js"), "../../../node_modules/prismjs/components/prism-haml.min.js": () => import("./prism-haml.min-06d636e1.js"), "../../../node_modules/prismjs/components/prism-handlebars.min.js": () => import("./prism-handlebars.min-d59c233b.js"), "../../../node_modules/prismjs/components/prism-haskell.min.js": () => import("./prism-haskell.min-2d474195.js"), "../../../node_modules/prismjs/components/prism-haxe.min.js": () => import("./prism-haxe.min-0b47bda7.js"), "../../../node_modules/prismjs/components/prism-hcl.min.js": () => import("./prism-hcl.min-dd93c4fa.js"), "../../../node_modules/prismjs/components/prism-hlsl.min.js": () => import("./prism-hlsl.min-90bc1513.js"), "../../../node_modules/prismjs/components/prism-hoon.min.js": () => import("./prism-hoon.min-5ac6535d.js"), "../../../node_modules/prismjs/components/prism-hpkp.min.js": () => import("./prism-hpkp.min-ccf08017.js"), "../../../node_modules/prismjs/components/prism-hsts.min.js": () => import("./prism-hsts.min-0dd9146f.js"), "../../../node_modules/prismjs/components/prism-http.min.js": () => import("./prism-http.min-10b32777.js"), "../../../node_modules/prismjs/components/prism-ichigojam.min.js": () => import("./prism-ichigojam.min-144f1b4b.js"), "../../../node_modules/prismjs/components/prism-icon.min.js": () => import("./prism-icon.min-22bb1195.js"), "../../../node_modules/prismjs/components/prism-icu-message-format.min.js": () => import("./prism-icu-message-format.min-b2ecdff3.js"), "../../../node_modules/prismjs/components/prism-idris.min.js": () => import("./prism-idris.min-920ad8df.js"), "../../../node_modules/prismjs/components/prism-iecst.min.js": () => import("./prism-iecst.min-d5ab1f6c.js"), "../../../node_modules/prismjs/components/prism-ignore.min.js": () => import("./prism-ignore.min-272b6ccf.js"), "../../../node_modules/prismjs/components/prism-inform7.min.js": () => import("./prism-inform7.min-22b438d7.js"), "../../../node_modules/prismjs/components/prism-ini.min.js": () => import("./prism-ini.min-b9585cc2.js"), "../../../node_modules/prismjs/components/prism-io.min.js": () => import("./prism-io.min-bc03d63b.js"), "../../../node_modules/prismjs/components/prism-j.min.js": () => import("./prism-j.min-2dc34683.js"), "../../../node_modules/prismjs/components/prism-java.min.js": () => import("./prism-java.min-2cfc90de.js"), "../../../node_modules/prismjs/components/prism-javadoc.min.js": () => import("./prism-javadoc.min-12ef12d8.js"), "../../../node_modules/prismjs/components/prism-javadoclike.min.js": () => import("./prism-javadoclike.min-e07933fc.js"), "../../../node_modules/prismjs/components/prism-javascript.min.js": () => import("./prism-javascript.min-03c8bcee.js"), "../../../node_modules/prismjs/components/prism-javastacktrace.min.js": () => import("./prism-javastacktrace.min-d3186b3e.js"), "../../../node_modules/prismjs/components/prism-jexl.min.js": () => import("./prism-jexl.min-084d69d8.js"), "../../../node_modules/prismjs/components/prism-jolie.min.js": () => import("./prism-jolie.min-466d4cf7.js"), "../../../node_modules/prismjs/components/prism-jq.min.js": () => import("./prism-jq.min-3daf478a.js"), "../../../node_modules/prismjs/components/prism-js-extras.min.js": () => import("./prism-js-extras.min-a225cee9.js"), "../../../node_modules/prismjs/components/prism-js-templates.min.js": () => import("./prism-js-templates.min-c950373d.js"), "../../../node_modules/prismjs/components/prism-jsdoc.min.js": () => import("./prism-jsdoc.min-02975619.js"), "../../../node_modules/prismjs/components/prism-json.min.js": () => import("./prism-json.min-fa2dced5.js"), "../../../node_modules/prismjs/components/prism-json5.min.js": () => import("./prism-json5.min-3917dd44.js"), "../../../node_modules/prismjs/components/prism-jsonp.min.js": () => import("./prism-jsonp.min-a0f4106e.js"), "../../../node_modules/prismjs/components/prism-jsstacktrace.min.js": () => import("./prism-jsstacktrace.min-bc3f3759.js"), "../../../node_modules/prismjs/components/prism-jsx.min.js": () => import("./prism-jsx.min-8af1efbf.js"), "../../../node_modules/prismjs/components/prism-julia.min.js": () => import("./prism-julia.min-cc71d15e.js"), "../../../node_modules/prismjs/components/prism-keepalived.min.js": () => import("./prism-keepalived.min-1428eb2f.js"), "../../../node_modules/prismjs/components/prism-keyman.min.js": () => import("./prism-keyman.min-3b419e70.js"), "../../../node_modules/prismjs/components/prism-kotlin.min.js": () => import("./prism-kotlin.min-ecbf8553.js"), "../../../node_modules/prismjs/components/prism-kumir.min.js": () => import("./prism-kumir.min-624860b6.js"), "../../../node_modules/prismjs/components/prism-kusto.min.js": () => import("./prism-kusto.min-67b0f58b.js"), "../../../node_modules/prismjs/components/prism-latex.min.js": () => import("./prism-latex.min-af145af5.js"), "../../../node_modules/prismjs/components/prism-latte.min.js": () => import("./prism-latte.min-b9a60122.js"), "../../../node_modules/prismjs/components/prism-less.min.js": () => import("./prism-less.min-3a3313ed.js"), "../../../node_modules/prismjs/components/prism-lilypond.min.js": () => import("./prism-lilypond.min-b0ed8db8.js"), "../../../node_modules/prismjs/components/prism-linker-script.min.js": () => import("./prism-linker-script.min-dc3fc5ad.js"), "../../../node_modules/prismjs/components/prism-liquid.min.js": () => import("./prism-liquid.min-86fa81e6.js"), "../../../node_modules/prismjs/components/prism-lisp.min.js": () => import("./prism-lisp.min-cae2f73f.js"), "../../../node_modules/prismjs/components/prism-livescript.min.js": () => import("./prism-livescript.min-b5d9d700.js"), "../../../node_modules/prismjs/components/prism-llvm.min.js": () => import("./prism-llvm.min-2b4a3e33.js"), "../../../node_modules/prismjs/components/prism-log.min.js": () => import("./prism-log.min-e9ba9fa2.js"), "../../../node_modules/prismjs/components/prism-lolcode.min.js": () => import("./prism-lolcode.min-1d0782a6.js"), "../../../node_modules/prismjs/components/prism-lua.min.js": () => import("./prism-lua.min-9c7e1242.js"), "../../../node_modules/prismjs/components/prism-magma.min.js": () => import("./prism-magma.min-6b08ba18.js"), "../../../node_modules/prismjs/components/prism-makefile.min.js": () => import("./prism-makefile.min-10c204c7.js"), "../../../node_modules/prismjs/components/prism-markdown.min.js": () => import("./prism-markdown.min-97e74eb9.js"), "../../../node_modules/prismjs/components/prism-markup-templating.min.js": () => import("./prism-markup-templating.min-c55d1b76.js"), "../../../node_modules/prismjs/components/prism-markup.min.js": () => import("./prism-markup.min-849389d5.js"), "../../../node_modules/prismjs/components/prism-mata.min.js": () => import("./prism-mata.min-1bbaed90.js"), "../../../node_modules/prismjs/components/prism-matlab.min.js": () => import("./prism-matlab.min-c787c897.js"), "../../../node_modules/prismjs/components/prism-maxscript.min.js": () => import("./prism-maxscript.min-8ff24836.js"), "../../../node_modules/prismjs/components/prism-mel.min.js": () => import("./prism-mel.min-e8ff632f.js"), "../../../node_modules/prismjs/components/prism-mermaid.min.js": () => import("./prism-mermaid.min-77fee473.js"), "../../../node_modules/prismjs/components/prism-metafont.min.js": () => import("./prism-metafont.min-94223e4b.js"), "../../../node_modules/prismjs/components/prism-mizar.min.js": () => import("./prism-mizar.min-50230be0.js"), "../../../node_modules/prismjs/components/prism-mongodb.min.js": () => import("./prism-mongodb.min-9790bcfd.js"), "../../../node_modules/prismjs/components/prism-monkey.min.js": () => import("./prism-monkey.min-5a1eb1ff.js"), "../../../node_modules/prismjs/components/prism-moonscript.min.js": () => import("./prism-moonscript.min-ed957c18.js"), "../../../node_modules/prismjs/components/prism-n1ql.min.js": () => import("./prism-n1ql.min-f3780067.js"), "../../../node_modules/prismjs/components/prism-n4js.min.js": () => import("./prism-n4js.min-d57fb90f.js"), "../../../node_modules/prismjs/components/prism-nand2tetris-hdl.min.js": () => import("./prism-nand2tetris-hdl.min-8228b246.js"), "../../../node_modules/prismjs/components/prism-naniscript.min.js": () => import("./prism-naniscript.min-a2fa6109.js"), "../../../node_modules/prismjs/components/prism-nasm.min.js": () => import("./prism-nasm.min-09906ffc.js"), "../../../node_modules/prismjs/components/prism-neon.min.js": () => import("./prism-neon.min-83c9b2c5.js"), "../../../node_modules/prismjs/components/prism-nevod.min.js": () => import("./prism-nevod.min-c2d107f2.js"), "../../../node_modules/prismjs/components/prism-nginx.min.js": () => import("./prism-nginx.min-01df8a32.js"), "../../../node_modules/prismjs/components/prism-nim.min.js": () => import("./prism-nim.min-dd447d6c.js"), "../../../node_modules/prismjs/components/prism-nix.min.js": () => import("./prism-nix.min-6430b249.js"), "../../../node_modules/prismjs/components/prism-nsis.min.js": () => import("./prism-nsis.min-dff25bf5.js"), "../../../node_modules/prismjs/components/prism-objectivec.min.js": () => import("./prism-objectivec.min-01ae0d96.js"), "../../../node_modules/prismjs/components/prism-ocaml.min.js": () => import("./prism-ocaml.min-20e838d9.js"), "../../../node_modules/prismjs/components/prism-odin.min.js": () => import("./prism-odin.min-b5d9183b.js"), "../../../node_modules/prismjs/components/prism-opencl.min.js": () => import("./prism-opencl.min-1d85e7cf.js"), "../../../node_modules/prismjs/components/prism-openqasm.min.js": () => import("./prism-openqasm.min-29eb40fe.js"), "../../../node_modules/prismjs/components/prism-oz.min.js": () => import("./prism-oz.min-c1f4ebd4.js"), "../../../node_modules/prismjs/components/prism-parigp.min.js": () => import("./prism-parigp.min-8bff0612.js"), "../../../node_modules/prismjs/components/prism-parser.min.js": () => import("./prism-parser.min-7722395f.js"), "../../../node_modules/prismjs/components/prism-pascal.min.js": () => import("./prism-pascal.min-ccf26fed.js"), "../../../node_modules/prismjs/components/prism-pascaligo.min.js": () => import("./prism-pascaligo.min-3aecb02c.js"), "../../../node_modules/prismjs/components/prism-pcaxis.min.js": () => import("./prism-pcaxis.min-c5e7a871.js"), "../../../node_modules/prismjs/components/prism-peoplecode.min.js": () => import("./prism-peoplecode.min-7c8ed2ef.js"), "../../../node_modules/prismjs/components/prism-perl.min.js": () => import("./prism-perl.min-108f825c.js"), "../../../node_modules/prismjs/components/prism-php-extras.min.js": () => import("./prism-php-extras.min-4b649f6b.js"), "../../../node_modules/prismjs/components/prism-php.min.js": () => import("./prism-php.min-b4bebbdb.js"), "../../../node_modules/prismjs/components/prism-phpdoc.min.js": () => import("./prism-phpdoc.min-71857b79.js"), "../../../node_modules/prismjs/components/prism-plant-uml.min.js": () => import("./prism-plant-uml.min-91d8fdec.js"), "../../../node_modules/prismjs/components/prism-plsql.min.js": () => import("./prism-plsql.min-8b0dd1ce.js"), "../../../node_modules/prismjs/components/prism-powerquery.min.js": () => import("./prism-powerquery.min-de7eda80.js"), "../../../node_modules/prismjs/components/prism-powershell.min.js": () => import("./prism-powershell.min-13582006.js"), "../../../node_modules/prismjs/components/prism-processing.min.js": () => import("./prism-processing.min-ddf61715.js"), "../../../node_modules/prismjs/components/prism-prolog.min.js": () => import("./prism-prolog.min-be61447f.js"), "../../../node_modules/prismjs/components/prism-promql.min.js": () => import("./prism-promql.min-b94dbbcb.js"), "../../../node_modules/prismjs/components/prism-properties.min.js": () => import("./prism-properties.min-4b65aff4.js"), "../../../node_modules/prismjs/components/prism-protobuf.min.js": () => import("./prism-protobuf.min-c7dd99a8.js"), "../../../node_modules/prismjs/components/prism-psl.min.js": () => import("./prism-psl.min-3cb6ca77.js"), "../../../node_modules/prismjs/components/prism-pug.min.js": () => import("./prism-pug.min-84ed48ec.js"), "../../../node_modules/prismjs/components/prism-puppet.min.js": () => import("./prism-puppet.min-c02bdf50.js"), "../../../node_modules/prismjs/components/prism-pure.min.js": () => import("./prism-pure.min-7b5eae7a.js"), "../../../node_modules/prismjs/components/prism-purebasic.min.js": () => import("./prism-purebasic.min-a62b63be.js"), "../../../node_modules/prismjs/components/prism-purescript.min.js": () => import("./prism-purescript.min-d7c49bf2.js"), "../../../node_modules/prismjs/components/prism-python.min.js": () => import("./prism-python.min-89935d5e.js"), "../../../node_modules/prismjs/components/prism-q.min.js": () => import("./prism-q.min-96d8fb1b.js"), "../../../node_modules/prismjs/components/prism-qml.min.js": () => import("./prism-qml.min-eb7c0dfc.js"), "../../../node_modules/prismjs/components/prism-qore.min.js": () => import("./prism-qore.min-ed8ddb5e.js"), "../../../node_modules/prismjs/components/prism-qsharp.min.js": () => import("./prism-qsharp.min-fb960bab.js"), "../../../node_modules/prismjs/components/prism-r.min.js": () => import("./prism-r.min-9fe1f3ed.js"), "../../../node_modules/prismjs/components/prism-racket.min.js": () => import("./prism-racket.min-e90ec309.js"), "../../../node_modules/prismjs/components/prism-reason.min.js": () => import("./prism-reason.min-63d1fa8a.js"), "../../../node_modules/prismjs/components/prism-regex.min.js": () => import("./prism-regex.min-96d0bc4f.js"), "../../../node_modules/prismjs/components/prism-rego.min.js": () => import("./prism-rego.min-281a02c1.js"), "../../../node_modules/prismjs/components/prism-renpy.min.js": () => import("./prism-renpy.min-2bef2655.js"), "../../../node_modules/prismjs/components/prism-rescript.min.js": () => import("./prism-rescript.min-2a3bda12.js"), "../../../node_modules/prismjs/components/prism-rest.min.js": () => import("./prism-rest.min-09260b93.js"), "../../../node_modules/prismjs/components/prism-rip.min.js": () => import("./prism-rip.min-c89fc679.js"), "../../../node_modules/prismjs/components/prism-roboconf.min.js": () => import("./prism-roboconf.min-362299cf.js"), "../../../node_modules/prismjs/components/prism-robotframework.min.js": () => import("./prism-robotframework.min-901bf739.js"), "../../../node_modules/prismjs/components/prism-ruby.min.js": () => import("./prism-ruby.min-6e459016.js"), "../../../node_modules/prismjs/components/prism-rust.min.js": () => import("./prism-rust.min-820420d0.js"), "../../../node_modules/prismjs/components/prism-sas.min.js": () => import("./prism-sas.min-920eaa09.js"), "../../../node_modules/prismjs/components/prism-sass.min.js": () => import("./prism-sass.min-4dc53bc5.js"), "../../../node_modules/prismjs/components/prism-scala.min.js": () => import("./prism-scala.min-83738843.js"), "../../../node_modules/prismjs/components/prism-scheme.min.js": () => import("./prism-scheme.min-1358e051.js"), "../../../node_modules/prismjs/components/prism-scss.min.js": () => import("./prism-scss.min-92aea743.js"), "../../../node_modules/prismjs/components/prism-shell-session.min.js": () => import("./prism-shell-session.min-2977ab53.js"), "../../../node_modules/prismjs/components/prism-smali.min.js": () => import("./prism-smali.min-e768ca38.js"), "../../../node_modules/prismjs/components/prism-smalltalk.min.js": () => import("./prism-smalltalk.min-139c1ee1.js"), "../../../node_modules/prismjs/components/prism-smarty.min.js": () => import("./prism-smarty.min-f8debf97.js"), "../../../node_modules/prismjs/components/prism-sml.min.js": () => import("./prism-sml.min-0c679316.js"), "../../../node_modules/prismjs/components/prism-solidity.min.js": () => import("./prism-solidity.min-83eb4a29.js"), "../../../node_modules/prismjs/components/prism-solution-file.min.js": () => import("./prism-solution-file.min-52546f1c.js"), "../../../node_modules/prismjs/components/prism-soy.min.js": () => import("./prism-soy.min-d2b3294e.js"), "../../../node_modules/prismjs/components/prism-sparql.min.js": () => import("./prism-sparql.min-b55f57a3.js"), "../../../node_modules/prismjs/components/prism-splunk-spl.min.js": () => import("./prism-splunk-spl.min-bd51901e.js"), "../../../node_modules/prismjs/components/prism-sqf.min.js": () => import("./prism-sqf.min-7796abe2.js"), "../../../node_modules/prismjs/components/prism-sql.min.js": () => import("./prism-sql.min-583eab97.js"), "../../../node_modules/prismjs/components/prism-squirrel.min.js": () => import("./prism-squirrel.min-6210cc27.js"), "../../../node_modules/prismjs/components/prism-stan.min.js": () => import("./prism-stan.min-0219161d.js"), "../../../node_modules/prismjs/components/prism-stata.min.js": () => import("./prism-stata.min-e8468e92.js"), "../../../node_modules/prismjs/components/prism-stylus.min.js": () => import("./prism-stylus.min-b4211725.js"), "../../../node_modules/prismjs/components/prism-supercollider.min.js": () => import("./prism-supercollider.min-a1e102ff.js"), "../../../node_modules/prismjs/components/prism-swift.min.js": () => import("./prism-swift.min-962aa7ba.js"), "../../../node_modules/prismjs/components/prism-systemd.min.js": () => import("./prism-systemd.min-6d49f69b.js"), "../../../node_modules/prismjs/components/prism-t4-cs.min.js": () => import("./prism-t4-cs.min-258a46d3.js"), "../../../node_modules/prismjs/components/prism-t4-templating.min.js": () => import("./prism-t4-templating.min-740d429f.js"), "../../../node_modules/prismjs/components/prism-t4-vb.min.js": () => import("./prism-t4-vb.min-c3ca6021.js"), "../../../node_modules/prismjs/components/prism-tap.min.js": () => import("./prism-tap.min-2d582f1c.js"), "../../../node_modules/prismjs/components/prism-tcl.min.js": () => import("./prism-tcl.min-3d421e58.js"), "../../../node_modules/prismjs/components/prism-textile.min.js": () => import("./prism-textile.min-bea9a185.js"), "../../../node_modules/prismjs/components/prism-toml.min.js": () => import("./prism-toml.min-ba409a46.js"), "../../../node_modules/prismjs/components/prism-tremor.min.js": () => import("./prism-tremor.min-cf11bafd.js"), "../../../node_modules/prismjs/components/prism-tsx.min.js": () => import("./prism-tsx.min-90ee8eaa.js"), "../../../node_modules/prismjs/components/prism-tt2.min.js": () => import("./prism-tt2.min-c7317371.js"), "../../../node_modules/prismjs/components/prism-turtle.min.js": () => import("./prism-turtle.min-d3f6c908.js"), "../../../node_modules/prismjs/components/prism-twig.min.js": () => import("./prism-twig.min-06667cf3.js"), "../../../node_modules/prismjs/components/prism-typescript.min.js": () => import("./prism-typescript.min-da950f4e.js"), "../../../node_modules/prismjs/components/prism-typoscript.min.js": () => import("./prism-typoscript.min-92ab2527.js"), "../../../node_modules/prismjs/components/prism-unrealscript.min.js": () => import("./prism-unrealscript.min-524c9821.js"), "../../../node_modules/prismjs/components/prism-uorazor.min.js": () => import("./prism-uorazor.min-8445afde.js"), "../../../node_modules/prismjs/components/prism-uri.min.js": () => import("./prism-uri.min-8d153620.js"), "../../../node_modules/prismjs/components/prism-v.min.js": () => import("./prism-v.min-f5dfa62f.js"), "../../../node_modules/prismjs/components/prism-vala.min.js": () => import("./prism-vala.min-8099e50d.js"), "../../../node_modules/prismjs/components/prism-vbnet.min.js": () => import("./prism-vbnet.min-c684e95c.js"), "../../../node_modules/prismjs/components/prism-velocity.min.js": () => import("./prism-velocity.min-ce8230ae.js"), "../../../node_modules/prismjs/components/prism-verilog.min.js": () => import("./prism-verilog.min-49879cf6.js"), "../../../node_modules/prismjs/components/prism-vhdl.min.js": () => import("./prism-vhdl.min-9c469192.js"), "../../../node_modules/prismjs/components/prism-vim.min.js": () => import("./prism-vim.min-753cf120.js"), "../../../node_modules/prismjs/components/prism-visual-basic.min.js": () => import("./prism-visual-basic.min-03026ad9.js"), "../../../node_modules/prismjs/components/prism-warpscript.min.js": () => import("./prism-warpscript.min-69ba95e0.js"), "../../../node_modules/prismjs/components/prism-wasm.min.js": () => import("./prism-wasm.min-a8aa80a7.js"), "../../../node_modules/prismjs/components/prism-web-idl.min.js": () => import("./prism-web-idl.min-502d10ad.js"), "../../../node_modules/prismjs/components/prism-wgsl.min.js": () => import("./prism-wgsl.min-674a5833.js"), "../../../node_modules/prismjs/components/prism-wiki.min.js": () => import("./prism-wiki.min-6aa23d83.js"), "../../../node_modules/prismjs/components/prism-wolfram.min.js": () => import("./prism-wolfram.min-5edca627.js"), "../../../node_modules/prismjs/components/prism-wren.min.js": () => import("./prism-wren.min-87e34869.js"), "../../../node_modules/prismjs/components/prism-xeora.min.js": () => import("./prism-xeora.min-39184a91.js"), "../../../node_modules/prismjs/components/prism-xml-doc.min.js": () => import("./prism-xml-doc.min-cd59a0d2.js"), "../../../node_modules/prismjs/components/prism-xojo.min.js": () => import("./prism-xojo.min-7d27c927.js"), "../../../node_modules/prismjs/components/prism-xquery.min.js": () => import("./prism-xquery.min-aebd2f79.js"), "../../../node_modules/prismjs/components/prism-yaml.min.js": () => import("./prism-yaml.min-971ccff8.js"), "../../../node_modules/prismjs/components/prism-yang.min.js": () => import("./prism-yang.min-39f14179.js"), "../../../node_modules/prismjs/components/prism-zig.min.js": () => import("./prism-zig.min-e777c275.js") }), `../../../node_modules/prismjs/components/prism-${l}.min.js`);
|
|
1249
1252
|
} catch {
|
|
1250
|
-
console.warn(`Prism does not have a language file for '${
|
|
1253
|
+
console.warn(`Prism does not have a language file for '${l}'`);
|
|
1251
1254
|
}
|
|
1252
1255
|
ce.highlightAll();
|
|
1253
|
-
}, { immediate: !0 }), (
|
|
1254
|
-
const
|
|
1255
|
-
return H(),
|
|
1256
|
-
id: K(
|
|
1256
|
+
}, { immediate: !0 }), (l, p) => {
|
|
1257
|
+
const c = Mt("KCodeBlock");
|
|
1258
|
+
return H(), ee(c, {
|
|
1259
|
+
id: K(a),
|
|
1257
1260
|
class: "document-code-block",
|
|
1258
1261
|
code: K(s),
|
|
1259
1262
|
"is-processing": r.value,
|
|
@@ -1265,7 +1268,7 @@ const tr = /* @__PURE__ */ G({
|
|
|
1265
1268
|
};
|
|
1266
1269
|
}
|
|
1267
1270
|
});
|
|
1268
|
-
const
|
|
1271
|
+
const ir = /* @__PURE__ */ C(or, [["__scopeId", "data-v-a4f41cdb"]]), sr = /* @__PURE__ */ G({
|
|
1269
1272
|
__name: "Emphasis",
|
|
1270
1273
|
props: {
|
|
1271
1274
|
level: {
|
|
@@ -1281,14 +1284,14 @@ const rr = /* @__PURE__ */ F(tr, [["__scopeId", "data-v-a4f41cdb"]]), nr = /* @_
|
|
|
1281
1284
|
},
|
|
1282
1285
|
setup(e) {
|
|
1283
1286
|
const r = e.level === 1 ? "em" : "strong";
|
|
1284
|
-
return (n, o) => (H(),
|
|
1287
|
+
return (n, o) => (H(), ee(se(K(r)), null, {
|
|
1285
1288
|
default: ae(() => [
|
|
1286
1289
|
O(n.$slots, "default")
|
|
1287
1290
|
]),
|
|
1288
1291
|
_: 3
|
|
1289
1292
|
}));
|
|
1290
1293
|
}
|
|
1291
|
-
}),
|
|
1294
|
+
}), ar = /* @__PURE__ */ G({
|
|
1292
1295
|
__name: "Heading",
|
|
1293
1296
|
props: {
|
|
1294
1297
|
level: {
|
|
@@ -1308,7 +1311,7 @@ const rr = /* @__PURE__ */ F(tr, [["__scopeId", "data-v-a4f41cdb"]]), nr = /* @_
|
|
|
1308
1311
|
},
|
|
1309
1312
|
setup(e) {
|
|
1310
1313
|
const t = e, r = `${t.slug}`, n = `h${t.level}`;
|
|
1311
|
-
return (o, i) => (H(),
|
|
1314
|
+
return (o, i) => (H(), ee(se(n), { id: r }, {
|
|
1312
1315
|
default: ae(() => [
|
|
1313
1316
|
O(o.$slots, "default", {}, void 0, !0)
|
|
1314
1317
|
]),
|
|
@@ -1316,7 +1319,7 @@ const rr = /* @__PURE__ */ F(tr, [["__scopeId", "data-v-a4f41cdb"]]), nr = /* @_
|
|
|
1316
1319
|
}));
|
|
1317
1320
|
}
|
|
1318
1321
|
});
|
|
1319
|
-
const
|
|
1322
|
+
const lr = /* @__PURE__ */ C(ar, [["__scopeId", "data-v-cccf10b1"]]), mr = ["alt", "src", "title"], pr = /* @__PURE__ */ G({
|
|
1320
1323
|
__name: "Image",
|
|
1321
1324
|
props: {
|
|
1322
1325
|
url: {
|
|
@@ -1333,44 +1336,56 @@ const ir = /* @__PURE__ */ F(or, [["__scopeId", "data-v-cccf10b1"]]), sr = ["alt
|
|
|
1333
1336
|
}
|
|
1334
1337
|
},
|
|
1335
1338
|
setup(e) {
|
|
1336
|
-
return (t, r) => (H(),
|
|
1339
|
+
return (t, r) => (H(), x("img", {
|
|
1337
1340
|
alt: e.alt,
|
|
1338
1341
|
src: e.url,
|
|
1339
1342
|
title: e.title
|
|
1340
|
-
}, null, 8,
|
|
1343
|
+
}, null, 8, mr));
|
|
1341
1344
|
}
|
|
1342
|
-
})
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
+
});
|
|
1346
|
+
const ur = /* @__PURE__ */ C(pr, [["__scopeId", "data-v-13314abe"]]);
|
|
1347
|
+
const cr = {};
|
|
1348
|
+
function dr(e, t) {
|
|
1349
|
+
return H(), x("hr");
|
|
1345
1350
|
}
|
|
1346
|
-
const
|
|
1347
|
-
function
|
|
1348
|
-
return H(),
|
|
1351
|
+
const hr = /* @__PURE__ */ C(cr, [["render", dr], ["__scopeId", "data-v-405e9f79"]]), fr = {};
|
|
1352
|
+
function gr(e, t) {
|
|
1353
|
+
return H(), x("s", null, [
|
|
1349
1354
|
O(e.$slots, "default")
|
|
1350
1355
|
]);
|
|
1351
1356
|
}
|
|
1352
|
-
const
|
|
1357
|
+
const _r = /* @__PURE__ */ C(fr, [["render", gr]]);
|
|
1358
|
+
const vr = {};
|
|
1359
|
+
function jr(e, t) {
|
|
1360
|
+
return H(), x("table", null, [
|
|
1361
|
+
O(e.$slots, "default", {}, void 0, !0)
|
|
1362
|
+
]);
|
|
1363
|
+
}
|
|
1364
|
+
const br = /* @__PURE__ */ C(vr, [["render", jr], ["__scopeId", "data-v-8bc62a53"]]), yr = /* @__PURE__ */ G({
|
|
1353
1365
|
__name: "TableRow",
|
|
1354
1366
|
props: {
|
|
1355
1367
|
section: {
|
|
1356
1368
|
type: String,
|
|
1357
|
-
default:
|
|
1369
|
+
default: Q.body
|
|
1358
1370
|
}
|
|
1359
1371
|
},
|
|
1360
1372
|
setup(e) {
|
|
1361
1373
|
const t = e;
|
|
1362
1374
|
let r;
|
|
1363
|
-
return t.section ===
|
|
1375
|
+
return t.section === Q.header ? r = "thead" : t.section === Q.body ? r = "tbody" : t.section === Q.footer && (r = "tfoot"), (n, o) => (H(), ee(se(K(r)), null, {
|
|
1364
1376
|
default: ae(() => [
|
|
1365
|
-
|
|
1377
|
+
Gt("tr", null, [
|
|
1378
|
+
O(n.$slots, "default", {}, void 0, !0)
|
|
1379
|
+
])
|
|
1366
1380
|
]),
|
|
1367
1381
|
_: 3
|
|
1368
1382
|
}));
|
|
1369
1383
|
}
|
|
1370
|
-
})
|
|
1384
|
+
});
|
|
1385
|
+
const ze = /* @__PURE__ */ C(yr, [["__scopeId", "data-v-ce6cbdb9"]]), wr = /* @__PURE__ */ G({
|
|
1371
1386
|
__name: "TableCell",
|
|
1372
1387
|
props: {
|
|
1373
|
-
|
|
1388
|
+
alignment: {
|
|
1374
1389
|
type: String,
|
|
1375
1390
|
default: fe.left
|
|
1376
1391
|
},
|
|
@@ -1381,10 +1396,10 @@ const dr = /* @__PURE__ */ F(ur, [["render", cr]]), hr = /* @__PURE__ */ G({
|
|
|
1381
1396
|
},
|
|
1382
1397
|
setup(e) {
|
|
1383
1398
|
var o;
|
|
1384
|
-
const t = e, r = ((o = t.parent) == null ? void 0 : o.section) ===
|
|
1399
|
+
const t = e, r = ((o = t.parent) == null ? void 0 : o.section) === Q.header ? "th" : "td";
|
|
1385
1400
|
let n;
|
|
1386
|
-
return t.
|
|
1387
|
-
class:
|
|
1401
|
+
return t.alignment === fe.center ? n = "align-center" : t.alignment === fe.right && (n = "align-right"), (i, a) => (H(), ee(se(K(r)), {
|
|
1402
|
+
class: qt(K(n))
|
|
1388
1403
|
}, {
|
|
1389
1404
|
default: ae(() => [
|
|
1390
1405
|
O(i.$slots, "default", {}, void 0, !0)
|
|
@@ -1393,10 +1408,10 @@ const dr = /* @__PURE__ */ F(ur, [["render", cr]]), hr = /* @__PURE__ */ G({
|
|
|
1393
1408
|
}, 8, ["class"]));
|
|
1394
1409
|
}
|
|
1395
1410
|
});
|
|
1396
|
-
const
|
|
1411
|
+
const Er = /* @__PURE__ */ C(wr, [["__scopeId", "data-v-49af7eb9"]]), Tr = { key: 0 }, Sr = { key: 1 }, kr = {
|
|
1397
1412
|
inheritAttrs: !1
|
|
1398
|
-
},
|
|
1399
|
-
...
|
|
1413
|
+
}, Ar = /* @__PURE__ */ G({
|
|
1414
|
+
...kr,
|
|
1400
1415
|
__name: "Text",
|
|
1401
1416
|
props: {
|
|
1402
1417
|
text: {
|
|
@@ -1413,26 +1428,26 @@ const gr = /* @__PURE__ */ F(fr, [["__scopeId", "data-v-6da63f53"]]), vr = { key
|
|
|
1413
1428
|
}
|
|
1414
1429
|
},
|
|
1415
1430
|
setup(e) {
|
|
1416
|
-
return (t, r) => (H(),
|
|
1417
|
-
|
|
1418
|
-
e.appendSpace ? (H(),
|
|
1419
|
-
e.hardBreak ? (H(),
|
|
1431
|
+
return (t, r) => (H(), x(Ut, null, [
|
|
1432
|
+
$t(at(e.text), 1),
|
|
1433
|
+
e.appendSpace ? (H(), x("span", Tr, " ")) : qe("", !0),
|
|
1434
|
+
e.hardBreak ? (H(), x("br", Sr)) : qe("", !0)
|
|
1420
1435
|
], 64));
|
|
1421
1436
|
}
|
|
1422
|
-
}),
|
|
1423
|
-
function
|
|
1424
|
-
return H(),
|
|
1437
|
+
}), Rr = {};
|
|
1438
|
+
function Lr(e, t) {
|
|
1439
|
+
return H(), x("span", null, [
|
|
1425
1440
|
O(e.$slots, "default")
|
|
1426
1441
|
]);
|
|
1427
1442
|
}
|
|
1428
|
-
const
|
|
1429
|
-
const
|
|
1430
|
-
function
|
|
1431
|
-
return H(),
|
|
1443
|
+
const Br = /* @__PURE__ */ C(Rr, [["render", Lr]]);
|
|
1444
|
+
const Hr = {};
|
|
1445
|
+
function Pr(e, t) {
|
|
1446
|
+
return H(), x("p", null, [
|
|
1432
1447
|
O(e.$slots, "default", {}, void 0, !0)
|
|
1433
1448
|
]);
|
|
1434
1449
|
}
|
|
1435
|
-
const
|
|
1450
|
+
const Dr = /* @__PURE__ */ C(Hr, [["render", Pr], ["__scopeId", "data-v-c7681718"]]), Ir = /* @__PURE__ */ G({
|
|
1436
1451
|
__name: "List",
|
|
1437
1452
|
props: {
|
|
1438
1453
|
isOrdered: {
|
|
@@ -1442,7 +1457,7 @@ const kr = /* @__PURE__ */ F(Sr, [["render", Tr], ["__scopeId", "data-v-c7681718
|
|
|
1442
1457
|
},
|
|
1443
1458
|
setup(e) {
|
|
1444
1459
|
const r = e.isOrdered ? "ol" : "ul";
|
|
1445
|
-
return (n, o) => (H(),
|
|
1460
|
+
return (n, o) => (H(), ee(se(K(r)), null, {
|
|
1446
1461
|
default: ae(() => [
|
|
1447
1462
|
O(n.$slots, "default", {}, void 0, !0)
|
|
1448
1463
|
]),
|
|
@@ -1450,14 +1465,14 @@ const kr = /* @__PURE__ */ F(Sr, [["render", Tr], ["__scopeId", "data-v-c7681718
|
|
|
1450
1465
|
}));
|
|
1451
1466
|
}
|
|
1452
1467
|
});
|
|
1453
|
-
const
|
|
1454
|
-
const
|
|
1455
|
-
function
|
|
1456
|
-
return H(),
|
|
1468
|
+
const Cr = /* @__PURE__ */ C(Ir, [["__scopeId", "data-v-f52e8277"]]);
|
|
1469
|
+
const Nr = {};
|
|
1470
|
+
function xr(e, t) {
|
|
1471
|
+
return H(), x("li", null, [
|
|
1457
1472
|
O(e.$slots, "default", {}, void 0, !0)
|
|
1458
1473
|
]);
|
|
1459
1474
|
}
|
|
1460
|
-
const
|
|
1475
|
+
const Fr = /* @__PURE__ */ C(Nr, [["render", xr], ["__scopeId", "data-v-cf965882"]]), Or = ["href", "title"], Mr = /* @__PURE__ */ G({
|
|
1461
1476
|
__name: "Link",
|
|
1462
1477
|
props: {
|
|
1463
1478
|
href: {
|
|
@@ -1470,35 +1485,37 @@ const Hr = /* @__PURE__ */ F(Lr, [["render", Br], ["__scopeId", "data-v-902198b1
|
|
|
1470
1485
|
}
|
|
1471
1486
|
},
|
|
1472
1487
|
setup(e) {
|
|
1473
|
-
return (t, r) => (H(),
|
|
1488
|
+
return (t, r) => (H(), x("a", {
|
|
1474
1489
|
href: e.href,
|
|
1475
1490
|
rel: "noreferrer noopener nofollow",
|
|
1476
1491
|
title: e.title
|
|
1477
1492
|
}, [
|
|
1478
1493
|
O(t.$slots, "default", {}, void 0, !0)
|
|
1479
|
-
], 8,
|
|
1494
|
+
], 8, Or));
|
|
1480
1495
|
}
|
|
1481
1496
|
});
|
|
1482
|
-
const
|
|
1483
|
-
blockquote:
|
|
1484
|
-
code:
|
|
1485
|
-
code_block:
|
|
1486
|
-
emphasis:
|
|
1487
|
-
heading:
|
|
1488
|
-
image:
|
|
1489
|
-
|
|
1490
|
-
link:
|
|
1491
|
-
list:
|
|
1492
|
-
list_item:
|
|
1493
|
-
paragraph:
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1497
|
+
const Gr = /* @__PURE__ */ C(Mr, [["__scopeId", "data-v-9b27e235"]]), qr = {
|
|
1498
|
+
blockquote: Jt,
|
|
1499
|
+
code: er,
|
|
1500
|
+
code_block: ir,
|
|
1501
|
+
emphasis: sr,
|
|
1502
|
+
heading: lr,
|
|
1503
|
+
image: ur,
|
|
1504
|
+
break: hr,
|
|
1505
|
+
link: Gr,
|
|
1506
|
+
list: Cr,
|
|
1507
|
+
list_item: Fr,
|
|
1508
|
+
paragraph: Dr,
|
|
1509
|
+
strikethrough: _r,
|
|
1510
|
+
table: br,
|
|
1511
|
+
table_header: ze,
|
|
1512
|
+
table_row: ze,
|
|
1513
|
+
table_cell: Er,
|
|
1514
|
+
text: Ar,
|
|
1515
|
+
text_block: Br
|
|
1516
|
+
}, Xe = [];
|
|
1517
|
+
function Ur(e) {
|
|
1518
|
+
Xe.indexOf(e) === -1 && (Xe.push(e), console.warn(`[DocumentViewer] Unable to render an unknown node type "${e}"`));
|
|
1502
1519
|
}
|
|
1503
1520
|
function lt(e, t) {
|
|
1504
1521
|
return e.map((r, n) => {
|
|
@@ -1507,26 +1524,17 @@ function lt(e, t) {
|
|
|
1507
1524
|
const {
|
|
1508
1525
|
type: o,
|
|
1509
1526
|
children: i,
|
|
1510
|
-
...
|
|
1511
|
-
} = r, s =
|
|
1512
|
-
|
|
1513
|
-
return Nr(o), null;
|
|
1514
|
-
if ((r == null ? void 0 : r.type) === "paragraph" && (r != null && r.children)) {
|
|
1515
|
-
const a = r.children, p = a.length - 1;
|
|
1516
|
-
a.forEach((u, g) => {
|
|
1517
|
-
var v;
|
|
1518
|
-
at(u) && !((v = u.text) != null && v.endsWith(" ")) && g !== p && (u.appendSpace = !0);
|
|
1519
|
-
});
|
|
1520
|
-
}
|
|
1521
|
-
return (r == null ? void 0 : r.type) === "code_block" ? Ue(s, $e(l, {
|
|
1527
|
+
...a
|
|
1528
|
+
} = r, s = qr[r.type];
|
|
1529
|
+
return s ? (zt(r) && (r.section = Q.header), (r == null ? void 0 : r.type) === "code_block" ? Ue(s, $e(a, {
|
|
1522
1530
|
lines: i,
|
|
1523
1531
|
isSingleLine: (i == null ? void 0 : i.length) && i.length === 1,
|
|
1524
1532
|
codeBlockIndex: n
|
|
1525
|
-
}), null) : Ue(s, $e(
|
|
1533
|
+
}), null) : Ue(s, $e(a, {
|
|
1526
1534
|
parent: t
|
|
1527
1535
|
}), {
|
|
1528
1536
|
default: () => i && lt(i, r)
|
|
1529
|
-
});
|
|
1537
|
+
})) : (Ur(o), null);
|
|
1530
1538
|
});
|
|
1531
1539
|
}
|
|
1532
1540
|
var Ae = function(e, t) {
|
|
@@ -1546,17 +1554,17 @@ function q(e, t) {
|
|
|
1546
1554
|
}
|
|
1547
1555
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1548
1556
|
}
|
|
1549
|
-
var
|
|
1550
|
-
return
|
|
1557
|
+
var v = function() {
|
|
1558
|
+
return v = Object.assign || function(e) {
|
|
1551
1559
|
for (var t, r = 1, n = arguments.length; r < n; r++) {
|
|
1552
1560
|
t = arguments[r];
|
|
1553
1561
|
for (var o in t)
|
|
1554
1562
|
Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]);
|
|
1555
1563
|
}
|
|
1556
1564
|
return e;
|
|
1557
|
-
},
|
|
1565
|
+
}, v.apply(this, arguments);
|
|
1558
1566
|
};
|
|
1559
|
-
function
|
|
1567
|
+
function $r(e, t) {
|
|
1560
1568
|
var r = {};
|
|
1561
1569
|
for (var n in e)
|
|
1562
1570
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1571,10 +1579,10 @@ function X(e, t, r) {
|
|
|
1571
1579
|
(i || !(n in t)) && (i || (i = Array.prototype.slice.call(t, 0, n)), i[n] = t[n]);
|
|
1572
1580
|
return e.concat(i || Array.prototype.slice.call(t));
|
|
1573
1581
|
}
|
|
1574
|
-
var
|
|
1582
|
+
var S;
|
|
1575
1583
|
(function(e) {
|
|
1576
1584
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
1577
|
-
})(
|
|
1585
|
+
})(S || (S = {}));
|
|
1578
1586
|
var R;
|
|
1579
1587
|
(function(e) {
|
|
1580
1588
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
@@ -1583,10 +1591,10 @@ var ne;
|
|
|
1583
1591
|
(function(e) {
|
|
1584
1592
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1585
1593
|
})(ne || (ne = {}));
|
|
1586
|
-
function
|
|
1594
|
+
function Ke(e) {
|
|
1587
1595
|
return e.type === R.literal;
|
|
1588
1596
|
}
|
|
1589
|
-
function
|
|
1597
|
+
function Vr(e) {
|
|
1590
1598
|
return e.type === R.argument;
|
|
1591
1599
|
}
|
|
1592
1600
|
function mt(e) {
|
|
@@ -1604,7 +1612,7 @@ function ct(e) {
|
|
|
1604
1612
|
function dt(e) {
|
|
1605
1613
|
return e.type === R.plural;
|
|
1606
1614
|
}
|
|
1607
|
-
function
|
|
1615
|
+
function zr(e) {
|
|
1608
1616
|
return e.type === R.pound;
|
|
1609
1617
|
}
|
|
1610
1618
|
function ht(e) {
|
|
@@ -1616,10 +1624,10 @@ function ft(e) {
|
|
|
1616
1624
|
function Re(e) {
|
|
1617
1625
|
return !!(e && typeof e == "object" && e.type === ne.dateTime);
|
|
1618
1626
|
}
|
|
1619
|
-
var gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
1620
|
-
function
|
|
1627
|
+
var gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Xr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1628
|
+
function Kr(e) {
|
|
1621
1629
|
var t = {};
|
|
1622
|
-
return e.replace(
|
|
1630
|
+
return e.replace(Xr, function(r) {
|
|
1623
1631
|
var n = r.length;
|
|
1624
1632
|
switch (r[0]) {
|
|
1625
1633
|
case "G":
|
|
@@ -1708,32 +1716,32 @@ function Gr(e) {
|
|
|
1708
1716
|
return "";
|
|
1709
1717
|
}), t;
|
|
1710
1718
|
}
|
|
1711
|
-
var
|
|
1712
|
-
function
|
|
1719
|
+
var Wr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1720
|
+
function Zr(e) {
|
|
1713
1721
|
if (e.length === 0)
|
|
1714
1722
|
throw new Error("Number skeleton cannot be empty");
|
|
1715
|
-
for (var t = e.split(
|
|
1716
|
-
return
|
|
1723
|
+
for (var t = e.split(Wr).filter(function(_) {
|
|
1724
|
+
return _.length > 0;
|
|
1717
1725
|
}), r = [], n = 0, o = t; n < o.length; n++) {
|
|
1718
|
-
var i = o[n],
|
|
1719
|
-
if (
|
|
1726
|
+
var i = o[n], a = i.split("/");
|
|
1727
|
+
if (a.length === 0)
|
|
1720
1728
|
throw new Error("Invalid number skeleton");
|
|
1721
|
-
for (var s =
|
|
1722
|
-
var g =
|
|
1729
|
+
for (var s = a[0], l = a.slice(1), p = 0, c = l; p < c.length; p++) {
|
|
1730
|
+
var g = c[p];
|
|
1723
1731
|
if (g.length === 0)
|
|
1724
1732
|
throw new Error("Invalid number skeleton");
|
|
1725
1733
|
}
|
|
1726
|
-
r.push({ stem: s, options:
|
|
1734
|
+
r.push({ stem: s, options: l });
|
|
1727
1735
|
}
|
|
1728
1736
|
return r;
|
|
1729
1737
|
}
|
|
1730
|
-
function
|
|
1738
|
+
function Jr(e) {
|
|
1731
1739
|
return e.replace(/^(.*?)-/, "");
|
|
1732
1740
|
}
|
|
1733
|
-
var
|
|
1734
|
-
function
|
|
1741
|
+
var We = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, _t = /^(@+)?(\+|#+)?[rs]?$/g, Yr = /(\*)(0+)|(#+)(0+)|(0+)/g, vt = /^(0+)$/;
|
|
1742
|
+
function Ze(e) {
|
|
1735
1743
|
var t = {};
|
|
1736
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1744
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(_t, function(r, n, o) {
|
|
1737
1745
|
return typeof o != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : o === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof o == "string" ? o.length : 0)), "";
|
|
1738
1746
|
}), t;
|
|
1739
1747
|
}
|
|
@@ -1777,7 +1785,7 @@ function jt(e) {
|
|
|
1777
1785
|
};
|
|
1778
1786
|
}
|
|
1779
1787
|
}
|
|
1780
|
-
function
|
|
1788
|
+
function Qr(e) {
|
|
1781
1789
|
var t;
|
|
1782
1790
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1783
1791
|
notation: "engineering"
|
|
@@ -1785,17 +1793,17 @@ function zr(e) {
|
|
|
1785
1793
|
notation: "scientific"
|
|
1786
1794
|
}, e = e.slice(1)), t) {
|
|
1787
1795
|
var r = e.slice(0, 2);
|
|
1788
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1796
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !vt.test(e))
|
|
1789
1797
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1790
1798
|
t.minimumIntegerDigits = e.length;
|
|
1791
1799
|
}
|
|
1792
1800
|
return t;
|
|
1793
1801
|
}
|
|
1794
|
-
function
|
|
1802
|
+
function Je(e) {
|
|
1795
1803
|
var t = {}, r = jt(e);
|
|
1796
1804
|
return r || t;
|
|
1797
1805
|
}
|
|
1798
|
-
function
|
|
1806
|
+
function en(e) {
|
|
1799
1807
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1800
1808
|
var o = n[r];
|
|
1801
1809
|
switch (o.stem) {
|
|
@@ -1819,7 +1827,7 @@ function Xr(e) {
|
|
|
1819
1827
|
continue;
|
|
1820
1828
|
case "measure-unit":
|
|
1821
1829
|
case "unit":
|
|
1822
|
-
t.style = "unit", t.unit =
|
|
1830
|
+
t.style = "unit", t.unit = Jr(o.options[0]);
|
|
1823
1831
|
continue;
|
|
1824
1832
|
case "compact-short":
|
|
1825
1833
|
case "K":
|
|
@@ -1830,13 +1838,13 @@ function Xr(e) {
|
|
|
1830
1838
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1831
1839
|
continue;
|
|
1832
1840
|
case "scientific":
|
|
1833
|
-
t =
|
|
1834
|
-
return
|
|
1841
|
+
t = v(v(v({}, t), { notation: "scientific" }), o.options.reduce(function(l, p) {
|
|
1842
|
+
return v(v({}, l), Je(p));
|
|
1835
1843
|
}, {}));
|
|
1836
1844
|
continue;
|
|
1837
1845
|
case "engineering":
|
|
1838
|
-
t =
|
|
1839
|
-
return
|
|
1846
|
+
t = v(v(v({}, t), { notation: "engineering" }), o.options.reduce(function(l, p) {
|
|
1847
|
+
return v(v({}, l), Je(p));
|
|
1840
1848
|
}, {}));
|
|
1841
1849
|
continue;
|
|
1842
1850
|
case "notation-simple":
|
|
@@ -1860,11 +1868,11 @@ function Xr(e) {
|
|
|
1860
1868
|
case "integer-width":
|
|
1861
1869
|
if (o.options.length > 1)
|
|
1862
1870
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1863
|
-
o.options[0].replace(
|
|
1871
|
+
o.options[0].replace(Yr, function(l, p, c, g, _, E) {
|
|
1864
1872
|
if (p)
|
|
1865
|
-
t.minimumIntegerDigits =
|
|
1873
|
+
t.minimumIntegerDigits = c.length;
|
|
1866
1874
|
else {
|
|
1867
|
-
if (g &&
|
|
1875
|
+
if (g && _)
|
|
1868
1876
|
throw new Error("We currently do not support maximum integer digits");
|
|
1869
1877
|
if (E)
|
|
1870
1878
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1873,28 +1881,28 @@ function Xr(e) {
|
|
|
1873
1881
|
});
|
|
1874
1882
|
continue;
|
|
1875
1883
|
}
|
|
1876
|
-
if (
|
|
1884
|
+
if (vt.test(o.stem)) {
|
|
1877
1885
|
t.minimumIntegerDigits = o.stem.length;
|
|
1878
1886
|
continue;
|
|
1879
1887
|
}
|
|
1880
|
-
if (
|
|
1888
|
+
if (We.test(o.stem)) {
|
|
1881
1889
|
if (o.options.length > 1)
|
|
1882
1890
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1883
|
-
o.stem.replace(
|
|
1884
|
-
return
|
|
1891
|
+
o.stem.replace(We, function(l, p, c, g, _, E) {
|
|
1892
|
+
return c === "*" ? t.minimumFractionDigits = p.length : g && g[0] === "#" ? t.maximumFractionDigits = g.length : _ && E ? (t.minimumFractionDigits = _.length, t.maximumFractionDigits = _.length + E.length) : (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length), "";
|
|
1885
1893
|
});
|
|
1886
1894
|
var i = o.options[0];
|
|
1887
|
-
i === "w" ? t =
|
|
1895
|
+
i === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : i && (t = v(v({}, t), Ze(i)));
|
|
1888
1896
|
continue;
|
|
1889
1897
|
}
|
|
1890
|
-
if (
|
|
1891
|
-
t =
|
|
1898
|
+
if (_t.test(o.stem)) {
|
|
1899
|
+
t = v(v({}, t), Ze(o.stem));
|
|
1892
1900
|
continue;
|
|
1893
1901
|
}
|
|
1894
|
-
var
|
|
1895
|
-
|
|
1896
|
-
var s =
|
|
1897
|
-
s && (t =
|
|
1902
|
+
var a = jt(o.stem);
|
|
1903
|
+
a && (t = v(v({}, t), a));
|
|
1904
|
+
var s = Qr(o.stem);
|
|
1905
|
+
s && (t = v(v({}, t), s));
|
|
1898
1906
|
}
|
|
1899
1907
|
return t;
|
|
1900
1908
|
}
|
|
@@ -3235,23 +3243,23 @@ var de = {
|
|
|
3235
3243
|
"h"
|
|
3236
3244
|
]
|
|
3237
3245
|
};
|
|
3238
|
-
function
|
|
3246
|
+
function tn(e, t) {
|
|
3239
3247
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3240
3248
|
var o = e.charAt(n);
|
|
3241
3249
|
if (o === "j") {
|
|
3242
3250
|
for (var i = 0; n + 1 < e.length && e.charAt(n + 1) === o; )
|
|
3243
3251
|
i++, n++;
|
|
3244
|
-
var
|
|
3252
|
+
var a = 1 + (i & 1), s = i < 2 ? 1 : 3 + (i >> 1), l = "a", p = rn(t);
|
|
3245
3253
|
for ((p == "H" || p == "k") && (s = 0); s-- > 0; )
|
|
3246
|
-
r +=
|
|
3247
|
-
for (;
|
|
3254
|
+
r += l;
|
|
3255
|
+
for (; a-- > 0; )
|
|
3248
3256
|
r = p + r;
|
|
3249
3257
|
} else
|
|
3250
3258
|
o === "J" ? r += "H" : r += o;
|
|
3251
3259
|
}
|
|
3252
3260
|
return r;
|
|
3253
3261
|
}
|
|
3254
|
-
function
|
|
3262
|
+
function rn(e) {
|
|
3255
3263
|
var t = e.hourCycle;
|
|
3256
3264
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3257
3265
|
e.hourCycles && // @ts-ignore
|
|
@@ -3273,20 +3281,20 @@ function Wr(e) {
|
|
|
3273
3281
|
var o = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
|
|
3274
3282
|
return o[0];
|
|
3275
3283
|
}
|
|
3276
|
-
var we,
|
|
3284
|
+
var we, nn = new RegExp("^".concat(gt.source, "*")), on = new RegExp("".concat(gt.source, "*$"));
|
|
3277
3285
|
function k(e, t) {
|
|
3278
3286
|
return { start: e, end: t };
|
|
3279
3287
|
}
|
|
3280
|
-
var
|
|
3288
|
+
var sn = !!String.prototype.startsWith, an = !!String.fromCodePoint, ln = !!Object.fromEntries, mn = !!String.prototype.codePointAt, pn = !!String.prototype.trimStart, un = !!String.prototype.trimEnd, cn = !!Number.isSafeInteger, dn = cn ? Number.isSafeInteger : function(e) {
|
|
3281
3289
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3282
3290
|
}, Le = !0;
|
|
3283
3291
|
try {
|
|
3284
|
-
var
|
|
3285
|
-
Le = ((we =
|
|
3292
|
+
var hn = yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3293
|
+
Le = ((we = hn.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
|
|
3286
3294
|
} catch {
|
|
3287
3295
|
Le = !1;
|
|
3288
3296
|
}
|
|
3289
|
-
var
|
|
3297
|
+
var Ye = sn ? (
|
|
3290
3298
|
// Native
|
|
3291
3299
|
function(e, t, r) {
|
|
3292
3300
|
return e.startsWith(t, r);
|
|
@@ -3296,7 +3304,7 @@ var Je = Yr ? (
|
|
|
3296
3304
|
function(e, t, r) {
|
|
3297
3305
|
return e.slice(r, r + t.length) === t;
|
|
3298
3306
|
}
|
|
3299
|
-
), Be =
|
|
3307
|
+
), Be = an ? String.fromCodePoint : (
|
|
3300
3308
|
// IE11
|
|
3301
3309
|
function() {
|
|
3302
3310
|
for (var e = [], t = 0; t < arguments.length; t++)
|
|
@@ -3308,19 +3316,19 @@ var Je = Yr ? (
|
|
|
3308
3316
|
}
|
|
3309
3317
|
return r;
|
|
3310
3318
|
}
|
|
3311
|
-
),
|
|
3319
|
+
), Qe = (
|
|
3312
3320
|
// native
|
|
3313
|
-
|
|
3321
|
+
ln ? Object.fromEntries : (
|
|
3314
3322
|
// Ponyfill
|
|
3315
3323
|
function(e) {
|
|
3316
3324
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
3317
|
-
var o = n[r], i = o[0],
|
|
3318
|
-
t[i] =
|
|
3325
|
+
var o = n[r], i = o[0], a = o[1];
|
|
3326
|
+
t[i] = a;
|
|
3319
3327
|
}
|
|
3320
3328
|
return t;
|
|
3321
3329
|
}
|
|
3322
3330
|
)
|
|
3323
|
-
), bt =
|
|
3331
|
+
), bt = mn ? (
|
|
3324
3332
|
// Native
|
|
3325
3333
|
function(e, t) {
|
|
3326
3334
|
return e.codePointAt(t);
|
|
@@ -3334,7 +3342,7 @@ var Je = Yr ? (
|
|
|
3334
3342
|
return n < 55296 || n > 56319 || t + 1 === r || (o = e.charCodeAt(t + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
|
|
3335
3343
|
}
|
|
3336
3344
|
}
|
|
3337
|
-
),
|
|
3345
|
+
), fn = pn ? (
|
|
3338
3346
|
// Native
|
|
3339
3347
|
function(e) {
|
|
3340
3348
|
return e.trimStart();
|
|
@@ -3342,9 +3350,9 @@ var Je = Yr ? (
|
|
|
3342
3350
|
) : (
|
|
3343
3351
|
// Ponyfill
|
|
3344
3352
|
function(e) {
|
|
3345
|
-
return e.replace(
|
|
3353
|
+
return e.replace(nn, "");
|
|
3346
3354
|
}
|
|
3347
|
-
),
|
|
3355
|
+
), gn = un ? (
|
|
3348
3356
|
// Native
|
|
3349
3357
|
function(e) {
|
|
3350
3358
|
return e.trimEnd();
|
|
@@ -3352,7 +3360,7 @@ var Je = Yr ? (
|
|
|
3352
3360
|
) : (
|
|
3353
3361
|
// Ponyfill
|
|
3354
3362
|
function(e) {
|
|
3355
|
-
return e.replace(
|
|
3363
|
+
return e.replace(on, "");
|
|
3356
3364
|
}
|
|
3357
3365
|
);
|
|
3358
3366
|
function yt(e, t) {
|
|
@@ -3360,24 +3368,24 @@ function yt(e, t) {
|
|
|
3360
3368
|
}
|
|
3361
3369
|
var He;
|
|
3362
3370
|
if (Le) {
|
|
3363
|
-
var
|
|
3371
|
+
var et = yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3364
3372
|
He = function(e, t) {
|
|
3365
3373
|
var r;
|
|
3366
|
-
|
|
3367
|
-
var n =
|
|
3374
|
+
et.lastIndex = t;
|
|
3375
|
+
var n = et.exec(e);
|
|
3368
3376
|
return (r = n[1]) !== null && r !== void 0 ? r : "";
|
|
3369
3377
|
};
|
|
3370
3378
|
} else
|
|
3371
3379
|
He = function(e, t) {
|
|
3372
3380
|
for (var r = []; ; ) {
|
|
3373
3381
|
var n = bt(e, t);
|
|
3374
|
-
if (n === void 0 || wt(n) ||
|
|
3382
|
+
if (n === void 0 || wt(n) || bn(n))
|
|
3375
3383
|
break;
|
|
3376
3384
|
r.push(n), t += n >= 65536 ? 2 : 1;
|
|
3377
3385
|
}
|
|
3378
3386
|
return Be.apply(void 0, r);
|
|
3379
3387
|
};
|
|
3380
|
-
var
|
|
3388
|
+
var _n = (
|
|
3381
3389
|
/** @class */
|
|
3382
3390
|
function() {
|
|
3383
3391
|
function e(t, r) {
|
|
@@ -3391,10 +3399,10 @@ var pn = (
|
|
|
3391
3399
|
for (var o = []; !this.isEOF(); ) {
|
|
3392
3400
|
var i = this.char();
|
|
3393
3401
|
if (i === 123) {
|
|
3394
|
-
var
|
|
3395
|
-
if (
|
|
3396
|
-
return
|
|
3397
|
-
o.push(
|
|
3402
|
+
var a = this.parseArgument(t, n);
|
|
3403
|
+
if (a.err)
|
|
3404
|
+
return a;
|
|
3405
|
+
o.push(a.val);
|
|
3398
3406
|
} else {
|
|
3399
3407
|
if (i === 125 && t > 0)
|
|
3400
3408
|
break;
|
|
@@ -3407,17 +3415,17 @@ var pn = (
|
|
|
3407
3415
|
} else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3408
3416
|
if (n)
|
|
3409
3417
|
break;
|
|
3410
|
-
return this.error(
|
|
3418
|
+
return this.error(S.UNMATCHED_CLOSING_TAG, k(this.clonePosition(), this.clonePosition()));
|
|
3411
3419
|
} else if (i === 60 && !this.ignoreTag && Pe(this.peek() || 0)) {
|
|
3412
|
-
var
|
|
3413
|
-
if (
|
|
3414
|
-
return
|
|
3415
|
-
o.push(
|
|
3420
|
+
var a = this.parseTag(t, r);
|
|
3421
|
+
if (a.err)
|
|
3422
|
+
return a;
|
|
3423
|
+
o.push(a.val);
|
|
3416
3424
|
} else {
|
|
3417
|
-
var
|
|
3418
|
-
if (
|
|
3419
|
-
return
|
|
3420
|
-
o.push(
|
|
3425
|
+
var a = this.parseLiteral(t, r);
|
|
3426
|
+
if (a.err)
|
|
3427
|
+
return a;
|
|
3428
|
+
o.push(a.val);
|
|
3421
3429
|
}
|
|
3422
3430
|
}
|
|
3423
3431
|
}
|
|
@@ -3439,27 +3447,27 @@ var pn = (
|
|
|
3439
3447
|
var i = this.parseMessage(t + 1, r, !0);
|
|
3440
3448
|
if (i.err)
|
|
3441
3449
|
return i;
|
|
3442
|
-
var
|
|
3450
|
+
var a = i.val, s = this.clonePosition();
|
|
3443
3451
|
if (this.bumpIf("</")) {
|
|
3444
3452
|
if (this.isEOF() || !Pe(this.char()))
|
|
3445
|
-
return this.error(
|
|
3446
|
-
var
|
|
3447
|
-
return o !== p ? this.error(
|
|
3453
|
+
return this.error(S.INVALID_TAG, k(s, this.clonePosition()));
|
|
3454
|
+
var l = this.clonePosition(), p = this.parseTagName();
|
|
3455
|
+
return o !== p ? this.error(S.UNMATCHED_CLOSING_TAG, k(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3448
3456
|
val: {
|
|
3449
3457
|
type: R.tag,
|
|
3450
3458
|
value: o,
|
|
3451
|
-
children:
|
|
3459
|
+
children: a,
|
|
3452
3460
|
location: k(n, this.clonePosition())
|
|
3453
3461
|
},
|
|
3454
3462
|
err: null
|
|
3455
|
-
} : this.error(
|
|
3463
|
+
} : this.error(S.INVALID_TAG, k(s, this.clonePosition())));
|
|
3456
3464
|
} else
|
|
3457
|
-
return this.error(
|
|
3465
|
+
return this.error(S.UNCLOSED_TAG, k(n, this.clonePosition()));
|
|
3458
3466
|
} else
|
|
3459
|
-
return this.error(
|
|
3467
|
+
return this.error(S.INVALID_TAG, k(n, this.clonePosition()));
|
|
3460
3468
|
}, e.prototype.parseTagName = function() {
|
|
3461
3469
|
var t = this.offset();
|
|
3462
|
-
for (this.bump(); !this.isEOF() &&
|
|
3470
|
+
for (this.bump(); !this.isEOF() && jn(this.char()); )
|
|
3463
3471
|
this.bump();
|
|
3464
3472
|
return this.message.slice(t, this.offset());
|
|
3465
3473
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3469,9 +3477,9 @@ var pn = (
|
|
|
3469
3477
|
o += i;
|
|
3470
3478
|
continue;
|
|
3471
3479
|
}
|
|
3472
|
-
var
|
|
3473
|
-
if (
|
|
3474
|
-
o +=
|
|
3480
|
+
var a = this.tryParseUnquoted(t, r);
|
|
3481
|
+
if (a) {
|
|
3482
|
+
o += a;
|
|
3475
3483
|
continue;
|
|
3476
3484
|
}
|
|
3477
3485
|
var s = this.tryParseLeftAngleBracket();
|
|
@@ -3481,14 +3489,14 @@ var pn = (
|
|
|
3481
3489
|
}
|
|
3482
3490
|
break;
|
|
3483
3491
|
}
|
|
3484
|
-
var
|
|
3492
|
+
var l = k(n, this.clonePosition());
|
|
3485
3493
|
return {
|
|
3486
|
-
val: { type: R.literal, value: o, location:
|
|
3494
|
+
val: { type: R.literal, value: o, location: l },
|
|
3487
3495
|
err: null
|
|
3488
3496
|
};
|
|
3489
3497
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3490
3498
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3491
|
-
!
|
|
3499
|
+
!vn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3492
3500
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3493
3501
|
if (this.isEOF() || this.char() !== 39)
|
|
3494
3502
|
return null;
|
|
@@ -3531,14 +3539,14 @@ var pn = (
|
|
|
3531
3539
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3532
3540
|
var n = this.clonePosition();
|
|
3533
3541
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3534
|
-
return this.error(
|
|
3542
|
+
return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, k(n, this.clonePosition()));
|
|
3535
3543
|
if (this.char() === 125)
|
|
3536
|
-
return this.bump(), this.error(
|
|
3544
|
+
return this.bump(), this.error(S.EMPTY_ARGUMENT, k(n, this.clonePosition()));
|
|
3537
3545
|
var o = this.parseIdentifierIfPossible().value;
|
|
3538
3546
|
if (!o)
|
|
3539
|
-
return this.error(
|
|
3547
|
+
return this.error(S.MALFORMED_ARGUMENT, k(n, this.clonePosition()));
|
|
3540
3548
|
if (this.bumpSpace(), this.isEOF())
|
|
3541
|
-
return this.error(
|
|
3549
|
+
return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, k(n, this.clonePosition()));
|
|
3542
3550
|
switch (this.char()) {
|
|
3543
3551
|
case 125:
|
|
3544
3552
|
return this.bump(), {
|
|
@@ -3551,20 +3559,20 @@ var pn = (
|
|
|
3551
3559
|
err: null
|
|
3552
3560
|
};
|
|
3553
3561
|
case 44:
|
|
3554
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3562
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, k(n, this.clonePosition())) : this.parseArgumentOptions(t, r, o, n);
|
|
3555
3563
|
default:
|
|
3556
|
-
return this.error(
|
|
3564
|
+
return this.error(S.MALFORMED_ARGUMENT, k(n, this.clonePosition()));
|
|
3557
3565
|
}
|
|
3558
3566
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3559
3567
|
var t = this.clonePosition(), r = this.offset(), n = He(this.message, r), o = r + n.length;
|
|
3560
3568
|
this.bumpTo(o);
|
|
3561
|
-
var i = this.clonePosition(),
|
|
3562
|
-
return { value: n, location:
|
|
3569
|
+
var i = this.clonePosition(), a = k(t, i);
|
|
3570
|
+
return { value: n, location: a };
|
|
3563
3571
|
}, e.prototype.parseArgumentOptions = function(t, r, n, o) {
|
|
3564
|
-
var i,
|
|
3572
|
+
var i, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3565
3573
|
switch (s) {
|
|
3566
3574
|
case "":
|
|
3567
|
-
return this.error(
|
|
3575
|
+
return this.error(S.EXPECT_ARGUMENT_TYPE, k(a, l));
|
|
3568
3576
|
case "number":
|
|
3569
3577
|
case "date":
|
|
3570
3578
|
case "time": {
|
|
@@ -3572,21 +3580,21 @@ var pn = (
|
|
|
3572
3580
|
var p = null;
|
|
3573
3581
|
if (this.bumpIf(",")) {
|
|
3574
3582
|
this.bumpSpace();
|
|
3575
|
-
var
|
|
3583
|
+
var c = this.clonePosition(), g = this.parseSimpleArgStyleIfPossible();
|
|
3576
3584
|
if (g.err)
|
|
3577
3585
|
return g;
|
|
3578
|
-
var
|
|
3579
|
-
if (
|
|
3580
|
-
return this.error(
|
|
3581
|
-
var E = k(
|
|
3582
|
-
p = { style:
|
|
3586
|
+
var _ = gn(g.val);
|
|
3587
|
+
if (_.length === 0)
|
|
3588
|
+
return this.error(S.EXPECT_ARGUMENT_STYLE, k(this.clonePosition(), this.clonePosition()));
|
|
3589
|
+
var E = k(c, this.clonePosition());
|
|
3590
|
+
p = { style: _, styleLocation: E };
|
|
3583
3591
|
}
|
|
3584
3592
|
var L = this.tryParseArgumentClose(o);
|
|
3585
3593
|
if (L.err)
|
|
3586
3594
|
return L;
|
|
3587
3595
|
var y = k(o, this.clonePosition());
|
|
3588
|
-
if (p &&
|
|
3589
|
-
var w =
|
|
3596
|
+
if (p && Ye(p == null ? void 0 : p.style, "::", 0)) {
|
|
3597
|
+
var w = fn(p.style.slice(2));
|
|
3590
3598
|
if (s === "number") {
|
|
3591
3599
|
var g = this.parseNumberSkeletonFromString(w, p.styleLocation);
|
|
3592
3600
|
return g.err ? g : {
|
|
@@ -3595,17 +3603,17 @@ var pn = (
|
|
|
3595
3603
|
};
|
|
3596
3604
|
} else {
|
|
3597
3605
|
if (w.length === 0)
|
|
3598
|
-
return this.error(
|
|
3599
|
-
var
|
|
3600
|
-
this.locale && (
|
|
3601
|
-
var
|
|
3606
|
+
return this.error(S.EXPECT_DATE_TIME_SKELETON, y);
|
|
3607
|
+
var T = w;
|
|
3608
|
+
this.locale && (T = tn(w, this.locale));
|
|
3609
|
+
var _ = {
|
|
3602
3610
|
type: ne.dateTime,
|
|
3603
|
-
pattern:
|
|
3611
|
+
pattern: T,
|
|
3604
3612
|
location: p.styleLocation,
|
|
3605
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3606
|
-
},
|
|
3613
|
+
parsedOptions: this.shouldParseSkeletons ? Kr(T) : {}
|
|
3614
|
+
}, u = s === "date" ? R.date : R.time;
|
|
3607
3615
|
return {
|
|
3608
|
-
val: { type:
|
|
3616
|
+
val: { type: u, value: n, location: y, style: _ },
|
|
3609
3617
|
err: null
|
|
3610
3618
|
};
|
|
3611
3619
|
}
|
|
@@ -3625,14 +3633,14 @@ var pn = (
|
|
|
3625
3633
|
case "select": {
|
|
3626
3634
|
var m = this.clonePosition();
|
|
3627
3635
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3628
|
-
return this.error(
|
|
3636
|
+
return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, k(m, v({}, m)));
|
|
3629
3637
|
this.bumpSpace();
|
|
3630
3638
|
var d = this.parseIdentifierIfPossible(), h = 0;
|
|
3631
3639
|
if (s !== "select" && d.value === "offset") {
|
|
3632
3640
|
if (!this.bumpIf(":"))
|
|
3633
|
-
return this.error(
|
|
3641
|
+
return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, k(this.clonePosition(), this.clonePosition()));
|
|
3634
3642
|
this.bumpSpace();
|
|
3635
|
-
var g = this.tryParseDecimalInteger(
|
|
3643
|
+
var g = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3636
3644
|
if (g.err)
|
|
3637
3645
|
return g;
|
|
3638
3646
|
this.bumpSpace(), d = this.parseIdentifierIfPossible(), h = g.val;
|
|
@@ -3648,7 +3656,7 @@ var pn = (
|
|
|
3648
3656
|
val: {
|
|
3649
3657
|
type: R.select,
|
|
3650
3658
|
value: n,
|
|
3651
|
-
options:
|
|
3659
|
+
options: Qe(f.val),
|
|
3652
3660
|
location: j
|
|
3653
3661
|
},
|
|
3654
3662
|
err: null
|
|
@@ -3656,7 +3664,7 @@ var pn = (
|
|
|
3656
3664
|
val: {
|
|
3657
3665
|
type: R.plural,
|
|
3658
3666
|
value: n,
|
|
3659
|
-
options:
|
|
3667
|
+
options: Qe(f.val),
|
|
3660
3668
|
offset: h,
|
|
3661
3669
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3662
3670
|
location: j
|
|
@@ -3665,10 +3673,10 @@ var pn = (
|
|
|
3665
3673
|
};
|
|
3666
3674
|
}
|
|
3667
3675
|
default:
|
|
3668
|
-
return this.error(
|
|
3676
|
+
return this.error(S.INVALID_ARGUMENT_TYPE, k(a, l));
|
|
3669
3677
|
}
|
|
3670
3678
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3671
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3679
|
+
return this.isEOF() || this.char() !== 125 ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, k(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3672
3680
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3673
3681
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3674
3682
|
var n = this.char();
|
|
@@ -3677,7 +3685,7 @@ var pn = (
|
|
|
3677
3685
|
this.bump();
|
|
3678
3686
|
var o = this.clonePosition();
|
|
3679
3687
|
if (!this.bumpUntil("'"))
|
|
3680
|
-
return this.error(
|
|
3688
|
+
return this.error(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, k(o, this.clonePosition()));
|
|
3681
3689
|
this.bump();
|
|
3682
3690
|
break;
|
|
3683
3691
|
}
|
|
@@ -3707,37 +3715,37 @@ var pn = (
|
|
|
3707
3715
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3708
3716
|
var n = [];
|
|
3709
3717
|
try {
|
|
3710
|
-
n =
|
|
3718
|
+
n = Zr(t);
|
|
3711
3719
|
} catch {
|
|
3712
|
-
return this.error(
|
|
3720
|
+
return this.error(S.INVALID_NUMBER_SKELETON, r);
|
|
3713
3721
|
}
|
|
3714
3722
|
return {
|
|
3715
3723
|
val: {
|
|
3716
3724
|
type: ne.number,
|
|
3717
3725
|
tokens: n,
|
|
3718
3726
|
location: r,
|
|
3719
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3727
|
+
parsedOptions: this.shouldParseSkeletons ? en(n) : {}
|
|
3720
3728
|
},
|
|
3721
3729
|
err: null
|
|
3722
3730
|
};
|
|
3723
3731
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, o) {
|
|
3724
|
-
for (var i,
|
|
3732
|
+
for (var i, a = !1, s = [], l = /* @__PURE__ */ new Set(), p = o.value, c = o.location; ; ) {
|
|
3725
3733
|
if (p.length === 0) {
|
|
3726
3734
|
var g = this.clonePosition();
|
|
3727
3735
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3728
|
-
var
|
|
3729
|
-
if (
|
|
3730
|
-
return
|
|
3731
|
-
|
|
3736
|
+
var _ = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3737
|
+
if (_.err)
|
|
3738
|
+
return _;
|
|
3739
|
+
c = k(g, this.clonePosition()), p = this.message.slice(g.offset, this.offset());
|
|
3732
3740
|
} else
|
|
3733
3741
|
break;
|
|
3734
3742
|
}
|
|
3735
|
-
if (
|
|
3736
|
-
return this.error(r === "select" ?
|
|
3737
|
-
p === "other" && (
|
|
3743
|
+
if (l.has(p))
|
|
3744
|
+
return this.error(r === "select" ? S.DUPLICATE_SELECT_ARGUMENT_SELECTOR : S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
3745
|
+
p === "other" && (a = !0), this.bumpSpace();
|
|
3738
3746
|
var E = this.clonePosition();
|
|
3739
3747
|
if (!this.bumpIf("{"))
|
|
3740
|
-
return this.error(r === "select" ?
|
|
3748
|
+
return this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, k(this.clonePosition(), this.clonePosition()));
|
|
3741
3749
|
var L = this.parseMessage(t + 1, r, n);
|
|
3742
3750
|
if (L.err)
|
|
3743
3751
|
return L;
|
|
@@ -3750,21 +3758,21 @@ var pn = (
|
|
|
3750
3758
|
value: L.val,
|
|
3751
3759
|
location: k(E, this.clonePosition())
|
|
3752
3760
|
}
|
|
3753
|
-
]),
|
|
3761
|
+
]), l.add(p), this.bumpSpace(), i = this.parseIdentifierIfPossible(), p = i.value, c = i.location;
|
|
3754
3762
|
}
|
|
3755
|
-
return s.length === 0 ? this.error(r === "select" ?
|
|
3763
|
+
return s.length === 0 ? this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR : S.EXPECT_PLURAL_ARGUMENT_SELECTOR, k(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(S.MISSING_OTHER_CLAUSE, k(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3756
3764
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3757
3765
|
var n = 1, o = this.clonePosition();
|
|
3758
3766
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3759
|
-
for (var i = !1,
|
|
3767
|
+
for (var i = !1, a = 0; !this.isEOF(); ) {
|
|
3760
3768
|
var s = this.char();
|
|
3761
3769
|
if (s >= 48 && s <= 57)
|
|
3762
|
-
i = !0,
|
|
3770
|
+
i = !0, a = a * 10 + (s - 48), this.bump();
|
|
3763
3771
|
else
|
|
3764
3772
|
break;
|
|
3765
3773
|
}
|
|
3766
|
-
var
|
|
3767
|
-
return i ? (
|
|
3774
|
+
var l = k(o, this.clonePosition());
|
|
3775
|
+
return i ? (a *= n, dn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3768
3776
|
}, e.prototype.offset = function() {
|
|
3769
3777
|
return this.position.offset;
|
|
3770
3778
|
}, e.prototype.isEOF = function() {
|
|
@@ -3798,7 +3806,7 @@ var pn = (
|
|
|
3798
3806
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3799
3807
|
}
|
|
3800
3808
|
}, e.prototype.bumpIf = function(t) {
|
|
3801
|
-
if (
|
|
3809
|
+
if (Ye(this.message, t, this.offset())) {
|
|
3802
3810
|
for (var r = 0; r < t.length; r++)
|
|
3803
3811
|
this.bump();
|
|
3804
3812
|
return !0;
|
|
@@ -3833,16 +3841,16 @@ var pn = (
|
|
|
3833
3841
|
function Pe(e) {
|
|
3834
3842
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3835
3843
|
}
|
|
3836
|
-
function
|
|
3844
|
+
function vn(e) {
|
|
3837
3845
|
return Pe(e) || e === 47;
|
|
3838
3846
|
}
|
|
3839
|
-
function
|
|
3847
|
+
function jn(e) {
|
|
3840
3848
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3841
3849
|
}
|
|
3842
3850
|
function wt(e) {
|
|
3843
3851
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3844
3852
|
}
|
|
3845
|
-
function
|
|
3853
|
+
function bn(e) {
|
|
3846
3854
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3847
3855
|
}
|
|
3848
3856
|
function De(e) {
|
|
@@ -3854,47 +3862,47 @@ function De(e) {
|
|
|
3854
3862
|
mt(t) && ft(t.style) || (pt(t) || ut(t)) && Re(t.style) ? delete t.style.location : ht(t) && De(t.children);
|
|
3855
3863
|
});
|
|
3856
3864
|
}
|
|
3857
|
-
function
|
|
3858
|
-
t === void 0 && (t = {}), t =
|
|
3859
|
-
var r = new
|
|
3865
|
+
function yn(e, t) {
|
|
3866
|
+
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3867
|
+
var r = new _n(e, t).parse();
|
|
3860
3868
|
if (r.err) {
|
|
3861
|
-
var n = SyntaxError(
|
|
3869
|
+
var n = SyntaxError(S[r.err.kind]);
|
|
3862
3870
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3863
3871
|
}
|
|
3864
3872
|
return t != null && t.captureLocation || De(r.val), r.val;
|
|
3865
3873
|
}
|
|
3866
3874
|
function $(e, t) {
|
|
3867
|
-
var r = t && t.cache ? t.cache :
|
|
3875
|
+
var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : kn, o = t && t.strategy ? t.strategy : En;
|
|
3868
3876
|
return o(e, {
|
|
3869
3877
|
cache: r,
|
|
3870
3878
|
serializer: n
|
|
3871
3879
|
});
|
|
3872
3880
|
}
|
|
3873
|
-
function
|
|
3881
|
+
function wn(e) {
|
|
3874
3882
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
3875
3883
|
}
|
|
3876
3884
|
function Et(e, t, r, n) {
|
|
3877
|
-
var o =
|
|
3885
|
+
var o = wn(n) ? n : r(n), i = t.get(o);
|
|
3878
3886
|
return typeof i > "u" && (i = e.call(this, n), t.set(o, i)), i;
|
|
3879
3887
|
}
|
|
3880
|
-
function
|
|
3888
|
+
function Tt(e, t, r) {
|
|
3881
3889
|
var n = Array.prototype.slice.call(arguments, 3), o = r(n), i = t.get(o);
|
|
3882
3890
|
return typeof i > "u" && (i = e.apply(this, n), t.set(o, i)), i;
|
|
3883
3891
|
}
|
|
3884
3892
|
function Ie(e, t, r, n, o) {
|
|
3885
3893
|
return r.bind(t, e, n, o);
|
|
3886
3894
|
}
|
|
3887
|
-
function
|
|
3888
|
-
var r = e.length === 1 ? Et :
|
|
3895
|
+
function En(e, t) {
|
|
3896
|
+
var r = e.length === 1 ? Et : Tt;
|
|
3889
3897
|
return Ie(e, this, r, t.cache.create(), t.serializer);
|
|
3890
3898
|
}
|
|
3891
|
-
function
|
|
3892
|
-
return Ie(e, this,
|
|
3899
|
+
function Tn(e, t) {
|
|
3900
|
+
return Ie(e, this, Tt, t.cache.create(), t.serializer);
|
|
3893
3901
|
}
|
|
3894
|
-
function
|
|
3902
|
+
function Sn(e, t) {
|
|
3895
3903
|
return Ie(e, this, Et, t.cache.create(), t.serializer);
|
|
3896
3904
|
}
|
|
3897
|
-
var
|
|
3905
|
+
var kn = function() {
|
|
3898
3906
|
return JSON.stringify(arguments);
|
|
3899
3907
|
};
|
|
3900
3908
|
function Ce() {
|
|
@@ -3906,13 +3914,13 @@ Ce.prototype.get = function(e) {
|
|
|
3906
3914
|
Ce.prototype.set = function(e, t) {
|
|
3907
3915
|
this.cache[e] = t;
|
|
3908
3916
|
};
|
|
3909
|
-
var
|
|
3917
|
+
var An = {
|
|
3910
3918
|
create: function() {
|
|
3911
3919
|
return new Ce();
|
|
3912
3920
|
}
|
|
3913
3921
|
}, V = {
|
|
3914
|
-
variadic:
|
|
3915
|
-
monadic:
|
|
3922
|
+
variadic: Tn,
|
|
3923
|
+
monadic: Sn
|
|
3916
3924
|
}, z;
|
|
3917
3925
|
(function(e) {
|
|
3918
3926
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
@@ -3929,7 +3937,7 @@ var J = (
|
|
|
3929
3937
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3930
3938
|
}, t;
|
|
3931
3939
|
}(Error)
|
|
3932
|
-
),
|
|
3940
|
+
), tt = (
|
|
3933
3941
|
/** @class */
|
|
3934
3942
|
function(e) {
|
|
3935
3943
|
q(t, e);
|
|
@@ -3938,7 +3946,7 @@ var J = (
|
|
|
3938
3946
|
}
|
|
3939
3947
|
return t;
|
|
3940
3948
|
}(J)
|
|
3941
|
-
),
|
|
3949
|
+
), Rn = (
|
|
3942
3950
|
/** @class */
|
|
3943
3951
|
function(e) {
|
|
3944
3952
|
q(t, e);
|
|
@@ -3947,7 +3955,7 @@ var J = (
|
|
|
3947
3955
|
}
|
|
3948
3956
|
return t;
|
|
3949
3957
|
}(J)
|
|
3950
|
-
),
|
|
3958
|
+
), Ln = (
|
|
3951
3959
|
/** @class */
|
|
3952
3960
|
function(e) {
|
|
3953
3961
|
q(t, e);
|
|
@@ -3956,126 +3964,126 @@ var J = (
|
|
|
3956
3964
|
}
|
|
3957
3965
|
return t;
|
|
3958
3966
|
}(J)
|
|
3959
|
-
),
|
|
3967
|
+
), N;
|
|
3960
3968
|
(function(e) {
|
|
3961
3969
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3962
|
-
})(
|
|
3963
|
-
function
|
|
3970
|
+
})(N || (N = {}));
|
|
3971
|
+
function Bn(e) {
|
|
3964
3972
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3965
3973
|
var n = t[t.length - 1];
|
|
3966
|
-
return !n || n.type !==
|
|
3974
|
+
return !n || n.type !== N.literal || r.type !== N.literal ? t.push(r) : n.value += r.value, t;
|
|
3967
3975
|
}, []);
|
|
3968
3976
|
}
|
|
3969
|
-
function
|
|
3977
|
+
function Hn(e) {
|
|
3970
3978
|
return typeof e == "function";
|
|
3971
3979
|
}
|
|
3972
|
-
function ge(e, t, r, n, o, i,
|
|
3973
|
-
if (e.length === 1 &&
|
|
3980
|
+
function ge(e, t, r, n, o, i, a) {
|
|
3981
|
+
if (e.length === 1 && Ke(e[0]))
|
|
3974
3982
|
return [
|
|
3975
3983
|
{
|
|
3976
|
-
type:
|
|
3984
|
+
type: N.literal,
|
|
3977
3985
|
value: e[0].value
|
|
3978
3986
|
}
|
|
3979
3987
|
];
|
|
3980
|
-
for (var s = [],
|
|
3981
|
-
var
|
|
3982
|
-
if (
|
|
3988
|
+
for (var s = [], l = 0, p = e; l < p.length; l++) {
|
|
3989
|
+
var c = p[l];
|
|
3990
|
+
if (Ke(c)) {
|
|
3983
3991
|
s.push({
|
|
3984
|
-
type:
|
|
3985
|
-
value:
|
|
3992
|
+
type: N.literal,
|
|
3993
|
+
value: c.value
|
|
3986
3994
|
});
|
|
3987
3995
|
continue;
|
|
3988
3996
|
}
|
|
3989
|
-
if (
|
|
3997
|
+
if (zr(c)) {
|
|
3990
3998
|
typeof i == "number" && s.push({
|
|
3991
|
-
type:
|
|
3999
|
+
type: N.literal,
|
|
3992
4000
|
value: r.getNumberFormat(t).format(i)
|
|
3993
4001
|
});
|
|
3994
4002
|
continue;
|
|
3995
4003
|
}
|
|
3996
|
-
var g =
|
|
4004
|
+
var g = c.value;
|
|
3997
4005
|
if (!(o && g in o))
|
|
3998
|
-
throw new
|
|
3999
|
-
var
|
|
4000
|
-
if (
|
|
4001
|
-
(!
|
|
4002
|
-
type: typeof
|
|
4003
|
-
value:
|
|
4006
|
+
throw new Ln(g, a);
|
|
4007
|
+
var _ = o[g];
|
|
4008
|
+
if (Vr(c)) {
|
|
4009
|
+
(!_ || typeof _ == "string" || typeof _ == "number") && (_ = typeof _ == "string" || typeof _ == "number" ? String(_) : ""), s.push({
|
|
4010
|
+
type: typeof _ == "string" ? N.literal : N.object,
|
|
4011
|
+
value: _
|
|
4004
4012
|
});
|
|
4005
4013
|
continue;
|
|
4006
4014
|
}
|
|
4007
|
-
if (pt(
|
|
4008
|
-
var E = typeof
|
|
4015
|
+
if (pt(c)) {
|
|
4016
|
+
var E = typeof c.style == "string" ? n.date[c.style] : Re(c.style) ? c.style.parsedOptions : void 0;
|
|
4009
4017
|
s.push({
|
|
4010
|
-
type:
|
|
4011
|
-
value: r.getDateTimeFormat(t, E).format(
|
|
4018
|
+
type: N.literal,
|
|
4019
|
+
value: r.getDateTimeFormat(t, E).format(_)
|
|
4012
4020
|
});
|
|
4013
4021
|
continue;
|
|
4014
4022
|
}
|
|
4015
|
-
if (ut(
|
|
4016
|
-
var E = typeof
|
|
4023
|
+
if (ut(c)) {
|
|
4024
|
+
var E = typeof c.style == "string" ? n.time[c.style] : Re(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
4017
4025
|
s.push({
|
|
4018
|
-
type:
|
|
4019
|
-
value: r.getDateTimeFormat(t, E).format(
|
|
4026
|
+
type: N.literal,
|
|
4027
|
+
value: r.getDateTimeFormat(t, E).format(_)
|
|
4020
4028
|
});
|
|
4021
4029
|
continue;
|
|
4022
4030
|
}
|
|
4023
|
-
if (mt(
|
|
4024
|
-
var E = typeof
|
|
4025
|
-
E && E.scale && (
|
|
4026
|
-
type:
|
|
4027
|
-
value: r.getNumberFormat(t, E).format(
|
|
4031
|
+
if (mt(c)) {
|
|
4032
|
+
var E = typeof c.style == "string" ? n.number[c.style] : ft(c.style) ? c.style.parsedOptions : void 0;
|
|
4033
|
+
E && E.scale && (_ = _ * (E.scale || 1)), s.push({
|
|
4034
|
+
type: N.literal,
|
|
4035
|
+
value: r.getNumberFormat(t, E).format(_)
|
|
4028
4036
|
});
|
|
4029
4037
|
continue;
|
|
4030
4038
|
}
|
|
4031
|
-
if (ht(
|
|
4032
|
-
var L =
|
|
4033
|
-
if (!
|
|
4034
|
-
throw new
|
|
4035
|
-
var
|
|
4039
|
+
if (ht(c)) {
|
|
4040
|
+
var L = c.children, y = c.value, w = o[y];
|
|
4041
|
+
if (!Hn(w))
|
|
4042
|
+
throw new Rn(y, "function", a);
|
|
4043
|
+
var T = ge(L, t, r, n, o, i), u = w(T.map(function(h) {
|
|
4036
4044
|
return h.value;
|
|
4037
4045
|
}));
|
|
4038
|
-
Array.isArray(
|
|
4046
|
+
Array.isArray(u) || (u = [u]), s.push.apply(s, u.map(function(h) {
|
|
4039
4047
|
return {
|
|
4040
|
-
type: typeof h == "string" ?
|
|
4048
|
+
type: typeof h == "string" ? N.literal : N.object,
|
|
4041
4049
|
value: h
|
|
4042
4050
|
};
|
|
4043
4051
|
}));
|
|
4044
4052
|
}
|
|
4045
|
-
if (ct(
|
|
4046
|
-
var m =
|
|
4053
|
+
if (ct(c)) {
|
|
4054
|
+
var m = c.options[_] || c.options.other;
|
|
4047
4055
|
if (!m)
|
|
4048
|
-
throw new
|
|
4056
|
+
throw new tt(c.value, _, Object.keys(c.options), a);
|
|
4049
4057
|
s.push.apply(s, ge(m.value, t, r, n, o));
|
|
4050
4058
|
continue;
|
|
4051
4059
|
}
|
|
4052
|
-
if (dt(
|
|
4053
|
-
var m =
|
|
4060
|
+
if (dt(c)) {
|
|
4061
|
+
var m = c.options["=".concat(_)];
|
|
4054
4062
|
if (!m) {
|
|
4055
4063
|
if (!Intl.PluralRules)
|
|
4056
4064
|
throw new J(`Intl.PluralRules is not available in this environment.
|
|
4057
4065
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4058
|
-
`, z.MISSING_INTL_API,
|
|
4059
|
-
var d = r.getPluralRules(t, { type:
|
|
4060
|
-
m =
|
|
4066
|
+
`, z.MISSING_INTL_API, a);
|
|
4067
|
+
var d = r.getPluralRules(t, { type: c.pluralType }).select(_ - (c.offset || 0));
|
|
4068
|
+
m = c.options[d] || c.options.other;
|
|
4061
4069
|
}
|
|
4062
4070
|
if (!m)
|
|
4063
|
-
throw new
|
|
4064
|
-
s.push.apply(s, ge(m.value, t, r, n, o,
|
|
4071
|
+
throw new tt(c.value, _, Object.keys(c.options), a);
|
|
4072
|
+
s.push.apply(s, ge(m.value, t, r, n, o, _ - (c.offset || 0)));
|
|
4065
4073
|
continue;
|
|
4066
4074
|
}
|
|
4067
4075
|
}
|
|
4068
|
-
return
|
|
4076
|
+
return Bn(s);
|
|
4069
4077
|
}
|
|
4070
|
-
function
|
|
4071
|
-
return t ?
|
|
4072
|
-
return r[n] =
|
|
4078
|
+
function Pn(e, t) {
|
|
4079
|
+
return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
4080
|
+
return r[n] = v(v({}, e[n]), t[n] || {}), r;
|
|
4073
4081
|
}, {})) : e;
|
|
4074
4082
|
}
|
|
4075
|
-
function
|
|
4083
|
+
function Dn(e, t) {
|
|
4076
4084
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
4077
|
-
return r[n] =
|
|
4078
|
-
},
|
|
4085
|
+
return r[n] = Pn(e[n], t[n]), r;
|
|
4086
|
+
}, v({}, e)) : e;
|
|
4079
4087
|
}
|
|
4080
4088
|
function Ee(e) {
|
|
4081
4089
|
return {
|
|
@@ -4091,7 +4099,7 @@ function Ee(e) {
|
|
|
4091
4099
|
}
|
|
4092
4100
|
};
|
|
4093
4101
|
}
|
|
4094
|
-
function
|
|
4102
|
+
function In(e) {
|
|
4095
4103
|
return e === void 0 && (e = {
|
|
4096
4104
|
number: {},
|
|
4097
4105
|
dateTime: {},
|
|
@@ -4123,7 +4131,7 @@ function An(e) {
|
|
|
4123
4131
|
})
|
|
4124
4132
|
};
|
|
4125
4133
|
}
|
|
4126
|
-
var
|
|
4134
|
+
var St = (
|
|
4127
4135
|
/** @class */
|
|
4128
4136
|
function() {
|
|
4129
4137
|
function e(t, r, n, o) {
|
|
@@ -4133,35 +4141,35 @@ var Tt = (
|
|
|
4133
4141
|
number: {},
|
|
4134
4142
|
dateTime: {},
|
|
4135
4143
|
pluralRules: {}
|
|
4136
|
-
}, this.format = function(
|
|
4137
|
-
var p = i.formatToParts(
|
|
4144
|
+
}, this.format = function(l) {
|
|
4145
|
+
var p = i.formatToParts(l);
|
|
4138
4146
|
if (p.length === 1)
|
|
4139
4147
|
return p[0].value;
|
|
4140
|
-
var
|
|
4141
|
-
return !g.length ||
|
|
4148
|
+
var c = p.reduce(function(g, _) {
|
|
4149
|
+
return !g.length || _.type !== N.literal || typeof g[g.length - 1] != "string" ? g.push(_.value) : g[g.length - 1] += _.value, g;
|
|
4142
4150
|
}, []);
|
|
4143
|
-
return
|
|
4144
|
-
}, this.formatToParts = function(
|
|
4145
|
-
return ge(i.ast, i.locales, i.formatters, i.formats,
|
|
4151
|
+
return c.length <= 1 ? c[0] || "" : c;
|
|
4152
|
+
}, this.formatToParts = function(l) {
|
|
4153
|
+
return ge(i.ast, i.locales, i.formatters, i.formats, l, void 0, i.message);
|
|
4146
4154
|
}, this.resolvedOptions = function() {
|
|
4147
|
-
var
|
|
4155
|
+
var l;
|
|
4148
4156
|
return {
|
|
4149
|
-
locale: ((
|
|
4157
|
+
locale: ((l = i.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(i.locales)[0]
|
|
4150
4158
|
};
|
|
4151
4159
|
}, this.getAst = function() {
|
|
4152
4160
|
return i.ast;
|
|
4153
4161
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
4154
4162
|
if (this.message = t, !e.__parse)
|
|
4155
4163
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4156
|
-
var
|
|
4157
|
-
|
|
4158
|
-
var s =
|
|
4159
|
-
this.ast = e.__parse(t,
|
|
4164
|
+
var a = o || {};
|
|
4165
|
+
a.formatters;
|
|
4166
|
+
var s = $r(a, ["formatters"]);
|
|
4167
|
+
this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
|
|
4160
4168
|
} else
|
|
4161
4169
|
this.ast = t;
|
|
4162
4170
|
if (!Array.isArray(this.ast))
|
|
4163
4171
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4164
|
-
this.formats =
|
|
4172
|
+
this.formats = Dn(e.formats, n), this.formatters = o && o.formatters || In(this.formatterCache);
|
|
4165
4173
|
}
|
|
4166
4174
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4167
4175
|
get: function() {
|
|
@@ -4174,7 +4182,7 @@ var Tt = (
|
|
|
4174
4182
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4175
4183
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4176
4184
|
}
|
|
4177
|
-
}, e.__parse =
|
|
4185
|
+
}, e.__parse = yn, e.formats = {
|
|
4178
4186
|
number: {
|
|
4179
4187
|
integer: {
|
|
4180
4188
|
maximumFractionDigits: 0
|
|
@@ -4238,20 +4246,20 @@ var Tt = (
|
|
|
4238
4246
|
(function(e) {
|
|
4239
4247
|
e.FORMAT_ERROR = "FORMAT_ERROR", e.UNSUPPORTED_FORMATTER = "UNSUPPORTED_FORMATTER", e.INVALID_CONFIG = "INVALID_CONFIG", e.MISSING_DATA = "MISSING_DATA", e.MISSING_TRANSLATION = "MISSING_TRANSLATION";
|
|
4240
4248
|
})(I || (I = {}));
|
|
4241
|
-
var
|
|
4249
|
+
var F = (
|
|
4242
4250
|
/** @class */
|
|
4243
4251
|
function(e) {
|
|
4244
4252
|
q(t, e);
|
|
4245
4253
|
function t(r, n, o) {
|
|
4246
|
-
var i = this,
|
|
4254
|
+
var i = this, a = o ? o instanceof Error ? o : new Error(String(o)) : void 0;
|
|
4247
4255
|
return i = e.call(this, "[@formatjs/intl Error ".concat(r, "] ").concat(n, `
|
|
4248
|
-
`).concat(
|
|
4249
|
-
`.concat(
|
|
4250
|
-
`).concat(
|
|
4256
|
+
`).concat(a ? `
|
|
4257
|
+
`.concat(a.message, `
|
|
4258
|
+
`).concat(a.stack) : "")) || this, i.code = r, typeof Error.captureStackTrace == "function" && Error.captureStackTrace(i, t), i;
|
|
4251
4259
|
}
|
|
4252
4260
|
return t;
|
|
4253
4261
|
}(Error)
|
|
4254
|
-
),
|
|
4262
|
+
), Cn = (
|
|
4255
4263
|
/** @class */
|
|
4256
4264
|
function(e) {
|
|
4257
4265
|
q(t, e);
|
|
@@ -4259,8 +4267,8 @@ var x = (
|
|
|
4259
4267
|
return e.call(this, I.UNSUPPORTED_FORMATTER, r, n) || this;
|
|
4260
4268
|
}
|
|
4261
4269
|
return t;
|
|
4262
|
-
}(
|
|
4263
|
-
),
|
|
4270
|
+
}(F)
|
|
4271
|
+
), Nn = (
|
|
4264
4272
|
/** @class */
|
|
4265
4273
|
function(e) {
|
|
4266
4274
|
q(t, e);
|
|
@@ -4268,8 +4276,8 @@ var x = (
|
|
|
4268
4276
|
return e.call(this, I.INVALID_CONFIG, r, n) || this;
|
|
4269
4277
|
}
|
|
4270
4278
|
return t;
|
|
4271
|
-
}(
|
|
4272
|
-
),
|
|
4279
|
+
}(F)
|
|
4280
|
+
), rt = (
|
|
4273
4281
|
/** @class */
|
|
4274
4282
|
function(e) {
|
|
4275
4283
|
q(t, e);
|
|
@@ -4277,7 +4285,7 @@ var x = (
|
|
|
4277
4285
|
return e.call(this, I.MISSING_DATA, r, n) || this;
|
|
4278
4286
|
}
|
|
4279
4287
|
return t;
|
|
4280
|
-
}(
|
|
4288
|
+
}(F)
|
|
4281
4289
|
), Ne = (
|
|
4282
4290
|
/** @class */
|
|
4283
4291
|
function(e) {
|
|
@@ -4288,53 +4296,53 @@ Locale: `).concat(n, `
|
|
|
4288
4296
|
`), o) || this;
|
|
4289
4297
|
}
|
|
4290
4298
|
return t;
|
|
4291
|
-
}(
|
|
4292
|
-
),
|
|
4299
|
+
}(F)
|
|
4300
|
+
), Te = (
|
|
4293
4301
|
/** @class */
|
|
4294
4302
|
function(e) {
|
|
4295
4303
|
q(t, e);
|
|
4296
4304
|
function t(r, n, o, i) {
|
|
4297
|
-
var
|
|
4305
|
+
var a = e.call(this, "".concat(r, `
|
|
4298
4306
|
MessageID: `).concat(o == null ? void 0 : o.id, `
|
|
4299
4307
|
Default Message: `).concat(o == null ? void 0 : o.defaultMessage, `
|
|
4300
4308
|
Description: `).concat(o == null ? void 0 : o.description, `
|
|
4301
4309
|
`), n, i) || this;
|
|
4302
|
-
return
|
|
4310
|
+
return a.descriptor = o, a;
|
|
4303
4311
|
}
|
|
4304
4312
|
return t;
|
|
4305
4313
|
}(Ne)
|
|
4306
|
-
),
|
|
4314
|
+
), xn = (
|
|
4307
4315
|
/** @class */
|
|
4308
4316
|
function(e) {
|
|
4309
4317
|
q(t, e);
|
|
4310
4318
|
function t(r, n) {
|
|
4311
4319
|
var o = e.call(this, I.MISSING_TRANSLATION, 'Missing message: "'.concat(r.id, '" for locale "').concat(n, '", using ').concat(r.defaultMessage ? "default message (".concat(typeof r.defaultMessage == "string" ? r.defaultMessage : r.defaultMessage.map(function(i) {
|
|
4312
|
-
var
|
|
4313
|
-
return (
|
|
4320
|
+
var a;
|
|
4321
|
+
return (a = i.value) !== null && a !== void 0 ? a : JSON.stringify(i);
|
|
4314
4322
|
}).join(), ")") : "id", " as fallback.")) || this;
|
|
4315
4323
|
return o.descriptor = r, o;
|
|
4316
4324
|
}
|
|
4317
4325
|
return t;
|
|
4318
|
-
}(
|
|
4326
|
+
}(F)
|
|
4319
4327
|
);
|
|
4320
|
-
function
|
|
4328
|
+
function te(e, t, r) {
|
|
4321
4329
|
return r === void 0 && (r = {}), t.reduce(function(n, o) {
|
|
4322
4330
|
return o in e ? n[o] = e[o] : o in r && (n[o] = r[o]), n;
|
|
4323
4331
|
}, {});
|
|
4324
4332
|
}
|
|
4325
|
-
var
|
|
4333
|
+
var Fn = function(e) {
|
|
4326
4334
|
process.env.NODE_ENV !== "production" && console.error(e);
|
|
4327
|
-
},
|
|
4335
|
+
}, On = function(e) {
|
|
4328
4336
|
process.env.NODE_ENV !== "production" && console.warn(e);
|
|
4329
|
-
},
|
|
4337
|
+
}, Mn = {
|
|
4330
4338
|
formats: {},
|
|
4331
4339
|
messages: {},
|
|
4332
4340
|
timeZone: void 0,
|
|
4333
4341
|
defaultLocale: "en",
|
|
4334
4342
|
defaultFormats: {},
|
|
4335
4343
|
fallbackOnEmptyString: !0,
|
|
4336
|
-
onError:
|
|
4337
|
-
onWarn:
|
|
4344
|
+
onError: Fn,
|
|
4345
|
+
onWarn: On
|
|
4338
4346
|
};
|
|
4339
4347
|
function kt() {
|
|
4340
4348
|
return {
|
|
@@ -4361,26 +4369,26 @@ function Y(e) {
|
|
|
4361
4369
|
}
|
|
4362
4370
|
};
|
|
4363
4371
|
}
|
|
4364
|
-
function
|
|
4372
|
+
function Gn(e) {
|
|
4365
4373
|
e === void 0 && (e = kt());
|
|
4366
4374
|
var t = Intl.RelativeTimeFormat, r = Intl.ListFormat, n = Intl.DisplayNames, o = $(function() {
|
|
4367
|
-
for (var s,
|
|
4368
|
-
|
|
4369
|
-
return new ((s = Intl.DateTimeFormat).bind.apply(s, X([void 0],
|
|
4375
|
+
for (var s, l = [], p = 0; p < arguments.length; p++)
|
|
4376
|
+
l[p] = arguments[p];
|
|
4377
|
+
return new ((s = Intl.DateTimeFormat).bind.apply(s, X([void 0], l, !1)))();
|
|
4370
4378
|
}, {
|
|
4371
4379
|
cache: Y(e.dateTime),
|
|
4372
4380
|
strategy: V.variadic
|
|
4373
4381
|
}), i = $(function() {
|
|
4374
|
-
for (var s,
|
|
4375
|
-
|
|
4376
|
-
return new ((s = Intl.NumberFormat).bind.apply(s, X([void 0],
|
|
4382
|
+
for (var s, l = [], p = 0; p < arguments.length; p++)
|
|
4383
|
+
l[p] = arguments[p];
|
|
4384
|
+
return new ((s = Intl.NumberFormat).bind.apply(s, X([void 0], l, !1)))();
|
|
4377
4385
|
}, {
|
|
4378
4386
|
cache: Y(e.number),
|
|
4379
4387
|
strategy: V.variadic
|
|
4380
|
-
}),
|
|
4381
|
-
for (var s,
|
|
4382
|
-
|
|
4383
|
-
return new ((s = Intl.PluralRules).bind.apply(s, X([void 0],
|
|
4388
|
+
}), a = $(function() {
|
|
4389
|
+
for (var s, l = [], p = 0; p < arguments.length; p++)
|
|
4390
|
+
l[p] = arguments[p];
|
|
4391
|
+
return new ((s = Intl.PluralRules).bind.apply(s, X([void 0], l, !1)))();
|
|
4384
4392
|
}, {
|
|
4385
4393
|
cache: Y(e.pluralRules),
|
|
4386
4394
|
strategy: V.variadic
|
|
@@ -4388,36 +4396,36 @@ function In(e) {
|
|
|
4388
4396
|
return {
|
|
4389
4397
|
getDateTimeFormat: o,
|
|
4390
4398
|
getNumberFormat: i,
|
|
4391
|
-
getMessageFormat: $(function(s,
|
|
4392
|
-
return new
|
|
4399
|
+
getMessageFormat: $(function(s, l, p, c) {
|
|
4400
|
+
return new St(s, l, p, v({ formatters: {
|
|
4393
4401
|
getNumberFormat: i,
|
|
4394
4402
|
getDateTimeFormat: o,
|
|
4395
|
-
getPluralRules:
|
|
4396
|
-
} },
|
|
4403
|
+
getPluralRules: a
|
|
4404
|
+
} }, c || {}));
|
|
4397
4405
|
}, {
|
|
4398
4406
|
cache: Y(e.message),
|
|
4399
4407
|
strategy: V.variadic
|
|
4400
4408
|
}),
|
|
4401
4409
|
getRelativeTimeFormat: $(function() {
|
|
4402
|
-
for (var s = [],
|
|
4403
|
-
s[
|
|
4410
|
+
for (var s = [], l = 0; l < arguments.length; l++)
|
|
4411
|
+
s[l] = arguments[l];
|
|
4404
4412
|
return new (t.bind.apply(t, X([void 0], s, !1)))();
|
|
4405
4413
|
}, {
|
|
4406
4414
|
cache: Y(e.relativeTime),
|
|
4407
4415
|
strategy: V.variadic
|
|
4408
4416
|
}),
|
|
4409
|
-
getPluralRules:
|
|
4417
|
+
getPluralRules: a,
|
|
4410
4418
|
getListFormat: $(function() {
|
|
4411
|
-
for (var s = [],
|
|
4412
|
-
s[
|
|
4419
|
+
for (var s = [], l = 0; l < arguments.length; l++)
|
|
4420
|
+
s[l] = arguments[l];
|
|
4413
4421
|
return new (r.bind.apply(r, X([void 0], s, !1)))();
|
|
4414
4422
|
}, {
|
|
4415
4423
|
cache: Y(e.list),
|
|
4416
4424
|
strategy: V.variadic
|
|
4417
4425
|
}),
|
|
4418
4426
|
getDisplayNames: $(function() {
|
|
4419
|
-
for (var s = [],
|
|
4420
|
-
s[
|
|
4427
|
+
for (var s = [], l = 0; l < arguments.length; l++)
|
|
4428
|
+
s[l] = arguments[l];
|
|
4421
4429
|
return new (n.bind.apply(n, X([void 0], s, !1)))();
|
|
4422
4430
|
}, {
|
|
4423
4431
|
cache: Y(e.displayNames),
|
|
@@ -4429,70 +4437,70 @@ function xe(e, t, r, n) {
|
|
|
4429
4437
|
var o = e && e[t], i;
|
|
4430
4438
|
if (o && (i = o[r]), i)
|
|
4431
4439
|
return i;
|
|
4432
|
-
n(new
|
|
4440
|
+
n(new Cn("No ".concat(t, " format named: ").concat(r)));
|
|
4433
4441
|
}
|
|
4434
|
-
function
|
|
4442
|
+
function qn(e, t, r) {
|
|
4435
4443
|
if (r === void 0 && (r = Error), !e)
|
|
4436
4444
|
throw new r(t);
|
|
4437
4445
|
}
|
|
4438
4446
|
function he(e, t) {
|
|
4439
4447
|
return Object.keys(e).reduce(function(r, n) {
|
|
4440
|
-
return r[n] =
|
|
4448
|
+
return r[n] = v({ timeZone: t }, e[n]), r;
|
|
4441
4449
|
}, {});
|
|
4442
4450
|
}
|
|
4443
|
-
function
|
|
4444
|
-
var r = Object.keys(
|
|
4451
|
+
function nt(e, t) {
|
|
4452
|
+
var r = Object.keys(v(v({}, e), t));
|
|
4445
4453
|
return r.reduce(function(n, o) {
|
|
4446
|
-
return n[o] =
|
|
4454
|
+
return n[o] = v(v({}, e[o] || {}), t[o] || {}), n;
|
|
4447
4455
|
}, {});
|
|
4448
4456
|
}
|
|
4449
|
-
function
|
|
4457
|
+
function ot(e, t) {
|
|
4450
4458
|
if (!t)
|
|
4451
4459
|
return e;
|
|
4452
|
-
var r =
|
|
4453
|
-
return
|
|
4460
|
+
var r = St.formats;
|
|
4461
|
+
return v(v(v({}, r), e), { date: nt(he(r.date, t), he(e.date || {}, t)), time: nt(he(r.time, t), he(e.time || {}, t)) });
|
|
4454
4462
|
}
|
|
4455
|
-
var
|
|
4456
|
-
var i = e.locale,
|
|
4463
|
+
var it = function(e, t, r, n, o) {
|
|
4464
|
+
var i = e.locale, a = e.formats, s = e.messages, l = e.defaultLocale, p = e.defaultFormats, c = e.fallbackOnEmptyString, g = e.onError, _ = e.timeZone, E = e.defaultRichTextElements;
|
|
4457
4465
|
r === void 0 && (r = { id: "" });
|
|
4458
4466
|
var L = r.id, y = r.defaultMessage;
|
|
4459
|
-
|
|
4460
|
-
var w = String(L),
|
|
4467
|
+
qn(!!L, "[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");
|
|
4468
|
+
var w = String(L), T = (
|
|
4461
4469
|
// In case messages is Object.create(null)
|
|
4462
4470
|
// e.g import('foo.json') from webpack)
|
|
4463
4471
|
// See https://github.com/formatjs/formatjs/issues/1914
|
|
4464
4472
|
s && Object.prototype.hasOwnProperty.call(s, w) && s[w]
|
|
4465
4473
|
);
|
|
4466
|
-
if (Array.isArray(
|
|
4467
|
-
return
|
|
4468
|
-
if (!n &&
|
|
4469
|
-
return
|
|
4470
|
-
if (n =
|
|
4471
|
-
if (
|
|
4472
|
-
return
|
|
4473
|
-
if ((!y || i && i.toLowerCase() !==
|
|
4474
|
+
if (Array.isArray(T) && T.length === 1 && T[0].type === R.literal)
|
|
4475
|
+
return T[0].value;
|
|
4476
|
+
if (!n && T && typeof T == "string" && !E)
|
|
4477
|
+
return T.replace(/'\{(.*?)\}'/gi, "{$1}");
|
|
4478
|
+
if (n = v(v({}, E), n || {}), a = ot(a, _), p = ot(p, _), !T) {
|
|
4479
|
+
if (c === !1 && T === "")
|
|
4480
|
+
return T;
|
|
4481
|
+
if ((!y || i && i.toLowerCase() !== l.toLowerCase()) && g(new xn(r, i)), y)
|
|
4474
4482
|
try {
|
|
4475
|
-
var
|
|
4476
|
-
return
|
|
4483
|
+
var u = t.getMessageFormat(y, l, p, o);
|
|
4484
|
+
return u.format(n);
|
|
4477
4485
|
} catch (m) {
|
|
4478
|
-
return g(new
|
|
4486
|
+
return g(new Te('Error formatting default message for: "'.concat(w, '", rendering default message verbatim'), i, r, m)), typeof y == "string" ? y : w;
|
|
4479
4487
|
}
|
|
4480
4488
|
return w;
|
|
4481
4489
|
}
|
|
4482
4490
|
try {
|
|
4483
|
-
var
|
|
4484
|
-
return
|
|
4491
|
+
var u = t.getMessageFormat(T, i, a, v({ formatters: t }, o || {}));
|
|
4492
|
+
return u.format(n);
|
|
4485
4493
|
} catch (m) {
|
|
4486
|
-
g(new
|
|
4494
|
+
g(new Te('Error formatting message: "'.concat(w, '", using ').concat(y ? "default message" : "id", " as fallback."), i, r, m));
|
|
4487
4495
|
}
|
|
4488
4496
|
if (y)
|
|
4489
4497
|
try {
|
|
4490
|
-
var
|
|
4491
|
-
return
|
|
4498
|
+
var u = t.getMessageFormat(y, l, p, o);
|
|
4499
|
+
return u.format(n);
|
|
4492
4500
|
} catch (m) {
|
|
4493
|
-
g(new
|
|
4501
|
+
g(new Te('Error formatting the default message for: "'.concat(w, '", rendering message verbatim'), i, r, m));
|
|
4494
4502
|
}
|
|
4495
|
-
return typeof
|
|
4503
|
+
return typeof T == "string" ? T : typeof y == "string" ? y : w;
|
|
4496
4504
|
}, At = [
|
|
4497
4505
|
"formatMatcher",
|
|
4498
4506
|
"timeZone",
|
|
@@ -4514,96 +4522,96 @@ var ot = function(e, t, r, n, o) {
|
|
|
4514
4522
|
"numberingSystem",
|
|
4515
4523
|
"fractionalSecondDigits"
|
|
4516
4524
|
];
|
|
4517
|
-
function
|
|
4518
|
-
var o = e.locale, i = e.formats,
|
|
4525
|
+
function ve(e, t, r, n) {
|
|
4526
|
+
var o = e.locale, i = e.formats, a = e.onError, s = e.timeZone;
|
|
4519
4527
|
n === void 0 && (n = {});
|
|
4520
|
-
var
|
|
4521
|
-
return t === "time" && !
|
|
4528
|
+
var l = n.format, p = v(v({}, s && { timeZone: s }), l && xe(i, t, l, a)), c = te(n, At, p);
|
|
4529
|
+
return t === "time" && !c.hour && !c.minute && !c.second && !c.timeStyle && !c.dateStyle && (c = v(v({}, c), { hour: "numeric", minute: "numeric" })), r(o, c);
|
|
4522
4530
|
}
|
|
4523
|
-
function
|
|
4531
|
+
function Un(e, t) {
|
|
4524
4532
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
4525
4533
|
r[n - 2] = arguments[n];
|
|
4526
|
-
var o = r[0], i = r[1],
|
|
4534
|
+
var o = r[0], i = r[1], a = i === void 0 ? {} : i, s = typeof o == "string" ? new Date(o || 0) : o;
|
|
4527
4535
|
try {
|
|
4528
|
-
return
|
|
4529
|
-
} catch (
|
|
4530
|
-
e.onError(new
|
|
4536
|
+
return ve(e, "date", t, a).format(s);
|
|
4537
|
+
} catch (l) {
|
|
4538
|
+
e.onError(new F(I.FORMAT_ERROR, "Error formatting date.", l));
|
|
4531
4539
|
}
|
|
4532
4540
|
return String(s);
|
|
4533
4541
|
}
|
|
4534
|
-
function
|
|
4542
|
+
function $n(e, t) {
|
|
4535
4543
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
4536
4544
|
r[n - 2] = arguments[n];
|
|
4537
|
-
var o = r[0], i = r[1],
|
|
4545
|
+
var o = r[0], i = r[1], a = i === void 0 ? {} : i, s = typeof o == "string" ? new Date(o || 0) : o;
|
|
4538
4546
|
try {
|
|
4539
|
-
return
|
|
4540
|
-
} catch (
|
|
4541
|
-
e.onError(new
|
|
4547
|
+
return ve(e, "time", t, a).format(s);
|
|
4548
|
+
} catch (l) {
|
|
4549
|
+
e.onError(new F(I.FORMAT_ERROR, "Error formatting time.", l));
|
|
4542
4550
|
}
|
|
4543
4551
|
return String(s);
|
|
4544
4552
|
}
|
|
4545
|
-
function
|
|
4553
|
+
function Vn(e, t) {
|
|
4546
4554
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
4547
4555
|
r[n - 2] = arguments[n];
|
|
4548
|
-
var o = r[0], i = r[1],
|
|
4556
|
+
var o = r[0], i = r[1], a = r[2], s = a === void 0 ? {} : a, l = e.timeZone, p = e.locale, c = e.onError, g = te(s, At, l ? { timeZone: l } : {});
|
|
4549
4557
|
try {
|
|
4550
4558
|
return t(p, g).formatRange(o, i);
|
|
4551
|
-
} catch (
|
|
4552
|
-
|
|
4559
|
+
} catch (_) {
|
|
4560
|
+
c(new F(I.FORMAT_ERROR, "Error formatting date time range.", _));
|
|
4553
4561
|
}
|
|
4554
4562
|
return String(o);
|
|
4555
4563
|
}
|
|
4556
|
-
function
|
|
4564
|
+
function zn(e, t) {
|
|
4557
4565
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
4558
4566
|
r[n - 2] = arguments[n];
|
|
4559
|
-
var o = r[0], i = r[1],
|
|
4567
|
+
var o = r[0], i = r[1], a = i === void 0 ? {} : i, s = typeof o == "string" ? new Date(o || 0) : o;
|
|
4560
4568
|
try {
|
|
4561
|
-
return
|
|
4562
|
-
} catch (
|
|
4563
|
-
e.onError(new
|
|
4569
|
+
return ve(e, "date", t, a).formatToParts(s);
|
|
4570
|
+
} catch (l) {
|
|
4571
|
+
e.onError(new F(I.FORMAT_ERROR, "Error formatting date.", l));
|
|
4564
4572
|
}
|
|
4565
4573
|
return [];
|
|
4566
4574
|
}
|
|
4567
|
-
function
|
|
4575
|
+
function Xn(e, t) {
|
|
4568
4576
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
4569
4577
|
r[n - 2] = arguments[n];
|
|
4570
|
-
var o = r[0], i = r[1],
|
|
4578
|
+
var o = r[0], i = r[1], a = i === void 0 ? {} : i, s = typeof o == "string" ? new Date(o || 0) : o;
|
|
4571
4579
|
try {
|
|
4572
|
-
return
|
|
4573
|
-
} catch (
|
|
4574
|
-
e.onError(new
|
|
4580
|
+
return ve(e, "time", t, a).formatToParts(s);
|
|
4581
|
+
} catch (l) {
|
|
4582
|
+
e.onError(new F(I.FORMAT_ERROR, "Error formatting time.", l));
|
|
4575
4583
|
}
|
|
4576
4584
|
return [];
|
|
4577
4585
|
}
|
|
4578
|
-
var
|
|
4586
|
+
var Kn = [
|
|
4579
4587
|
"style",
|
|
4580
4588
|
"type",
|
|
4581
4589
|
"fallback",
|
|
4582
4590
|
"languageDisplay"
|
|
4583
4591
|
];
|
|
4584
|
-
function
|
|
4585
|
-
var o = e.locale, i = e.onError,
|
|
4586
|
-
|
|
4592
|
+
function Wn(e, t, r, n) {
|
|
4593
|
+
var o = e.locale, i = e.onError, a = Intl.DisplayNames;
|
|
4594
|
+
a || i(new J(`Intl.DisplayNames is not available in this environment.
|
|
4587
4595
|
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
4588
4596
|
`, z.MISSING_INTL_API));
|
|
4589
|
-
var s =
|
|
4597
|
+
var s = te(n, Kn);
|
|
4590
4598
|
try {
|
|
4591
4599
|
return t(o, s).of(r);
|
|
4592
|
-
} catch (
|
|
4593
|
-
i(new
|
|
4600
|
+
} catch (l) {
|
|
4601
|
+
i(new F(I.FORMAT_ERROR, "Error formatting display name.", l));
|
|
4594
4602
|
}
|
|
4595
4603
|
}
|
|
4596
|
-
var
|
|
4604
|
+
var Zn = [
|
|
4597
4605
|
"type",
|
|
4598
4606
|
"style"
|
|
4599
|
-
],
|
|
4600
|
-
function
|
|
4601
|
-
return "".concat(
|
|
4607
|
+
], st = Date.now();
|
|
4608
|
+
function Jn(e) {
|
|
4609
|
+
return "".concat(st, "_").concat(e, "_").concat(st);
|
|
4602
4610
|
}
|
|
4603
|
-
function
|
|
4611
|
+
function Yn(e, t, r, n) {
|
|
4604
4612
|
n === void 0 && (n = {});
|
|
4605
|
-
var o = Rt(e, t, r, n).reduce(function(i,
|
|
4606
|
-
var s =
|
|
4613
|
+
var o = Rt(e, t, r, n).reduce(function(i, a) {
|
|
4614
|
+
var s = a.value;
|
|
4607
4615
|
return typeof s != "string" ? i.push(s) : typeof i[i.length - 1] == "string" ? i[i.length - 1] += s : i.push(s), i;
|
|
4608
4616
|
}, []);
|
|
4609
4617
|
return o.length === 1 ? o[0] : o.length === 0 ? "" : o;
|
|
@@ -4611,62 +4619,62 @@ function Vn(e, t, r, n) {
|
|
|
4611
4619
|
function Rt(e, t, r, n) {
|
|
4612
4620
|
var o = e.locale, i = e.onError;
|
|
4613
4621
|
n === void 0 && (n = {});
|
|
4614
|
-
var
|
|
4615
|
-
|
|
4622
|
+
var a = Intl.ListFormat;
|
|
4623
|
+
a || i(new J(`Intl.ListFormat is not available in this environment.
|
|
4616
4624
|
Try polyfilling it using "@formatjs/intl-listformat"
|
|
4617
4625
|
`, z.MISSING_INTL_API));
|
|
4618
|
-
var s =
|
|
4626
|
+
var s = te(n, Zn);
|
|
4619
4627
|
try {
|
|
4620
|
-
var
|
|
4621
|
-
if (typeof
|
|
4622
|
-
var
|
|
4623
|
-
return
|
|
4628
|
+
var l = {}, p = r.map(function(c, g) {
|
|
4629
|
+
if (typeof c == "object") {
|
|
4630
|
+
var _ = Jn(g);
|
|
4631
|
+
return l[_] = c, _;
|
|
4624
4632
|
}
|
|
4625
|
-
return String(
|
|
4633
|
+
return String(c);
|
|
4626
4634
|
});
|
|
4627
|
-
return t(o, s).formatToParts(p).map(function(
|
|
4628
|
-
return
|
|
4635
|
+
return t(o, s).formatToParts(p).map(function(c) {
|
|
4636
|
+
return c.type === "literal" ? c : v(v({}, c), { value: l[c.value] || c.value });
|
|
4629
4637
|
});
|
|
4630
|
-
} catch (
|
|
4631
|
-
i(new
|
|
4638
|
+
} catch (c) {
|
|
4639
|
+
i(new F(I.FORMAT_ERROR, "Error formatting list.", c));
|
|
4632
4640
|
}
|
|
4633
4641
|
return r;
|
|
4634
4642
|
}
|
|
4635
|
-
var
|
|
4636
|
-
function
|
|
4643
|
+
var Qn = ["type"];
|
|
4644
|
+
function eo(e, t, r, n) {
|
|
4637
4645
|
var o = e.locale, i = e.onError;
|
|
4638
4646
|
n === void 0 && (n = {}), Intl.PluralRules || i(new J(`Intl.PluralRules is not available in this environment.
|
|
4639
4647
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4640
4648
|
`, z.MISSING_INTL_API));
|
|
4641
|
-
var
|
|
4649
|
+
var a = te(n, Qn);
|
|
4642
4650
|
try {
|
|
4643
|
-
return t(o,
|
|
4651
|
+
return t(o, a).select(r);
|
|
4644
4652
|
} catch (s) {
|
|
4645
4653
|
i(new Ne("Error formatting plural.", o, s));
|
|
4646
4654
|
}
|
|
4647
4655
|
return "other";
|
|
4648
4656
|
}
|
|
4649
|
-
var
|
|
4650
|
-
function
|
|
4657
|
+
var to = ["numeric", "style"];
|
|
4658
|
+
function ro(e, t, r) {
|
|
4651
4659
|
var n = e.locale, o = e.formats, i = e.onError;
|
|
4652
4660
|
r === void 0 && (r = {});
|
|
4653
|
-
var
|
|
4654
|
-
return t(n,
|
|
4661
|
+
var a = r.format, s = !!a && xe(o, "relative", a, i) || {}, l = te(r, to, s);
|
|
4662
|
+
return t(n, l);
|
|
4655
4663
|
}
|
|
4656
|
-
function
|
|
4664
|
+
function no(e, t, r, n, o) {
|
|
4657
4665
|
o === void 0 && (o = {}), n || (n = "second");
|
|
4658
4666
|
var i = Intl.RelativeTimeFormat;
|
|
4659
4667
|
i || e.onError(new J(`Intl.RelativeTimeFormat is not available in this environment.
|
|
4660
4668
|
Try polyfilling it using "@formatjs/intl-relativetimeformat"
|
|
4661
4669
|
`, z.MISSING_INTL_API));
|
|
4662
4670
|
try {
|
|
4663
|
-
return
|
|
4664
|
-
} catch (
|
|
4665
|
-
e.onError(new Ne("Error formatting relative time.", e.locale,
|
|
4671
|
+
return ro(e, t, o).format(r, n);
|
|
4672
|
+
} catch (a) {
|
|
4673
|
+
e.onError(new Ne("Error formatting relative time.", e.locale, a));
|
|
4666
4674
|
}
|
|
4667
4675
|
return String(r);
|
|
4668
4676
|
}
|
|
4669
|
-
var
|
|
4677
|
+
var oo = [
|
|
4670
4678
|
"style",
|
|
4671
4679
|
"currency",
|
|
4672
4680
|
"currencyDisplay",
|
|
@@ -4691,59 +4699,59 @@ var Jn = [
|
|
|
4691
4699
|
function Lt(e, t, r) {
|
|
4692
4700
|
var n = e.locale, o = e.formats, i = e.onError;
|
|
4693
4701
|
r === void 0 && (r = {});
|
|
4694
|
-
var
|
|
4695
|
-
return t(n,
|
|
4702
|
+
var a = r.format, s = a && xe(o, "number", a, i) || {}, l = te(r, oo, s);
|
|
4703
|
+
return t(n, l);
|
|
4696
4704
|
}
|
|
4697
|
-
function
|
|
4705
|
+
function io(e, t, r, n) {
|
|
4698
4706
|
n === void 0 && (n = {});
|
|
4699
4707
|
try {
|
|
4700
4708
|
return Lt(e, t, n).format(r);
|
|
4701
4709
|
} catch (o) {
|
|
4702
|
-
e.onError(new
|
|
4710
|
+
e.onError(new F(I.FORMAT_ERROR, "Error formatting number.", o));
|
|
4703
4711
|
}
|
|
4704
4712
|
return String(r);
|
|
4705
4713
|
}
|
|
4706
|
-
function
|
|
4714
|
+
function so(e, t, r, n) {
|
|
4707
4715
|
n === void 0 && (n = {});
|
|
4708
4716
|
try {
|
|
4709
4717
|
return Lt(e, t, n).formatToParts(r);
|
|
4710
4718
|
} catch (o) {
|
|
4711
|
-
e.onError(new
|
|
4719
|
+
e.onError(new F(I.FORMAT_ERROR, "Error formatting number.", o));
|
|
4712
4720
|
}
|
|
4713
4721
|
return [];
|
|
4714
4722
|
}
|
|
4715
|
-
function
|
|
4723
|
+
function ao(e) {
|
|
4716
4724
|
var t = e ? e[Object.keys(e)[0]] : void 0;
|
|
4717
4725
|
return typeof t == "string";
|
|
4718
4726
|
}
|
|
4719
|
-
function
|
|
4720
|
-
e.onWarn && e.defaultRichTextElements &&
|
|
4727
|
+
function lo(e) {
|
|
4728
|
+
e.onWarn && e.defaultRichTextElements && ao(e.messages || {}) && e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
|
|
4721
4729
|
Please consider using "@formatjs/cli" to pre-compile your messages for performance.
|
|
4722
4730
|
For more details see https://formatjs.io/docs/getting-started/message-distribution`);
|
|
4723
4731
|
}
|
|
4724
|
-
function
|
|
4725
|
-
var r =
|
|
4726
|
-
return o ? !Intl.NumberFormat.supportedLocalesOf(o).length &&
|
|
4732
|
+
function mo(e, t) {
|
|
4733
|
+
var r = Gn(t), n = v(v({}, Mn), e), o = n.locale, i = n.defaultLocale, a = n.onError;
|
|
4734
|
+
return o ? !Intl.NumberFormat.supportedLocalesOf(o).length && a ? a(new rt('Missing locale data for locale: "'.concat(o, '" in Intl.NumberFormat. Using default locale: "').concat(i, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : !Intl.DateTimeFormat.supportedLocalesOf(o).length && a && a(new rt('Missing locale data for locale: "'.concat(o, '" in Intl.DateTimeFormat. Using default locale: "').concat(i, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : (a && a(new Nn('"locale" was not configured, using "'.concat(i, '" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))), n.locale = n.defaultLocale || "en"), lo(n), v(v({}, n), {
|
|
4727
4735
|
formatters: r,
|
|
4728
|
-
formatNumber:
|
|
4729
|
-
formatNumberToParts:
|
|
4730
|
-
formatRelativeTime:
|
|
4731
|
-
formatDate:
|
|
4732
|
-
formatDateToParts:
|
|
4733
|
-
formatTime:
|
|
4734
|
-
formatDateTimeRange:
|
|
4735
|
-
formatTimeToParts:
|
|
4736
|
-
formatPlural:
|
|
4736
|
+
formatNumber: io.bind(null, n, r.getNumberFormat),
|
|
4737
|
+
formatNumberToParts: so.bind(null, n, r.getNumberFormat),
|
|
4738
|
+
formatRelativeTime: no.bind(null, n, r.getRelativeTimeFormat),
|
|
4739
|
+
formatDate: Un.bind(null, n, r.getDateTimeFormat),
|
|
4740
|
+
formatDateToParts: zn.bind(null, n, r.getDateTimeFormat),
|
|
4741
|
+
formatTime: $n.bind(null, n, r.getDateTimeFormat),
|
|
4742
|
+
formatDateTimeRange: Vn.bind(null, n, r.getDateTimeFormat),
|
|
4743
|
+
formatTimeToParts: Xn.bind(null, n, r.getDateTimeFormat),
|
|
4744
|
+
formatPlural: eo.bind(null, n, r.getPluralRules),
|
|
4737
4745
|
// @ts-expect-error TODO: will get to this later
|
|
4738
|
-
formatMessage:
|
|
4746
|
+
formatMessage: it.bind(null, n, r),
|
|
4739
4747
|
// @ts-expect-error TODO: will get to this later
|
|
4740
|
-
$t:
|
|
4741
|
-
formatList:
|
|
4748
|
+
$t: it.bind(null, n, r),
|
|
4749
|
+
formatList: Yn.bind(null, n, r.getListFormat),
|
|
4742
4750
|
formatListToParts: Rt.bind(null, n, r.getListFormat),
|
|
4743
|
-
formatDisplayName:
|
|
4751
|
+
formatDisplayName: Wn.bind(null, n, r.getDisplayNames)
|
|
4744
4752
|
});
|
|
4745
4753
|
}
|
|
4746
|
-
var
|
|
4754
|
+
var po = ie;
|
|
4747
4755
|
ie.flatten = ie;
|
|
4748
4756
|
ie.unflatten = Pt;
|
|
4749
4757
|
function Bt(e) {
|
|
@@ -4755,80 +4763,80 @@ function Ht(e) {
|
|
|
4755
4763
|
function ie(e, t) {
|
|
4756
4764
|
t = t || {};
|
|
4757
4765
|
const r = t.delimiter || ".", n = t.maxDepth, o = t.transformKey || Ht, i = {};
|
|
4758
|
-
function
|
|
4759
|
-
p = p || 1, Object.keys(s).forEach(function(
|
|
4760
|
-
const g = s[
|
|
4761
|
-
if (!
|
|
4762
|
-
return
|
|
4766
|
+
function a(s, l, p) {
|
|
4767
|
+
p = p || 1, Object.keys(s).forEach(function(c) {
|
|
4768
|
+
const g = s[c], _ = t.safe && Array.isArray(g), E = Object.prototype.toString.call(g), L = Bt(g), y = E === "[object Object]" || E === "[object Array]", w = l ? l + r + o(c) : o(c);
|
|
4769
|
+
if (!_ && !L && y && Object.keys(g).length && (!t.maxDepth || p < n))
|
|
4770
|
+
return a(g, w, p + 1);
|
|
4763
4771
|
i[w] = g;
|
|
4764
4772
|
});
|
|
4765
4773
|
}
|
|
4766
|
-
return
|
|
4774
|
+
return a(e), i;
|
|
4767
4775
|
}
|
|
4768
4776
|
function Pt(e, t) {
|
|
4769
4777
|
t = t || {};
|
|
4770
4778
|
const r = t.delimiter || ".", n = t.overwrite || !1, o = t.transformKey || Ht, i = {};
|
|
4771
4779
|
if (Bt(e) || Object.prototype.toString.call(e) !== "[object Object]")
|
|
4772
4780
|
return e;
|
|
4773
|
-
function
|
|
4774
|
-
const
|
|
4775
|
-
return isNaN(
|
|
4781
|
+
function a(p) {
|
|
4782
|
+
const c = Number(p);
|
|
4783
|
+
return isNaN(c) || p.indexOf(".") !== -1 || t.object ? p : c;
|
|
4776
4784
|
}
|
|
4777
|
-
function s(p,
|
|
4778
|
-
return Object.keys(g).reduce(function(
|
|
4779
|
-
return
|
|
4780
|
-
},
|
|
4785
|
+
function s(p, c, g) {
|
|
4786
|
+
return Object.keys(g).reduce(function(_, E) {
|
|
4787
|
+
return _[p + r + E] = g[E], _;
|
|
4788
|
+
}, c);
|
|
4781
4789
|
}
|
|
4782
|
-
function
|
|
4783
|
-
const
|
|
4790
|
+
function l(p) {
|
|
4791
|
+
const c = Object.prototype.toString.call(p), g = c === "[object Array]", _ = c === "[object Object]";
|
|
4784
4792
|
if (p) {
|
|
4785
4793
|
if (g)
|
|
4786
4794
|
return !p.length;
|
|
4787
|
-
if (
|
|
4795
|
+
if (_)
|
|
4788
4796
|
return !Object.keys(p).length;
|
|
4789
4797
|
} else
|
|
4790
4798
|
return !0;
|
|
4791
4799
|
}
|
|
4792
|
-
return e = Object.keys(e).reduce(function(p,
|
|
4793
|
-
const g = Object.prototype.toString.call(e[
|
|
4794
|
-
return !(g === "[object Object]" || g === "[object Array]") ||
|
|
4795
|
-
|
|
4800
|
+
return e = Object.keys(e).reduce(function(p, c) {
|
|
4801
|
+
const g = Object.prototype.toString.call(e[c]);
|
|
4802
|
+
return !(g === "[object Object]" || g === "[object Array]") || l(e[c]) ? (p[c] = e[c], p) : s(
|
|
4803
|
+
c,
|
|
4796
4804
|
p,
|
|
4797
|
-
ie(e[
|
|
4805
|
+
ie(e[c], t)
|
|
4798
4806
|
);
|
|
4799
4807
|
}, {}), Object.keys(e).forEach(function(p) {
|
|
4800
|
-
const
|
|
4801
|
-
let g =
|
|
4802
|
-
for (;
|
|
4808
|
+
const c = p.split(r).map(o);
|
|
4809
|
+
let g = a(c.shift()), _ = a(c[0]), E = i;
|
|
4810
|
+
for (; _ !== void 0; ) {
|
|
4803
4811
|
if (g === "__proto__")
|
|
4804
4812
|
return;
|
|
4805
4813
|
const L = Object.prototype.toString.call(E[g]), y = L === "[object Object]" || L === "[object Array]";
|
|
4806
4814
|
if (!n && !y && typeof E[g] < "u")
|
|
4807
4815
|
return;
|
|
4808
|
-
(n && !y || !n && E[g] == null) && (E[g] = typeof
|
|
4816
|
+
(n && !y || !n && E[g] == null) && (E[g] = typeof _ == "number" && !t.object ? [] : {}), E = E[g], c.length > 0 && (g = a(c.shift()), _ = a(c[0]));
|
|
4809
4817
|
}
|
|
4810
4818
|
E[g] = Pt(e[p], t);
|
|
4811
4819
|
}), i;
|
|
4812
4820
|
}
|
|
4813
|
-
const
|
|
4814
|
-
const n =
|
|
4821
|
+
const uo = kt(), co = (e, t, r = !1) => {
|
|
4822
|
+
const n = mo(
|
|
4815
4823
|
{
|
|
4816
4824
|
locale: e,
|
|
4817
|
-
messages:
|
|
4825
|
+
messages: po.flatten(t, {
|
|
4818
4826
|
safe: !0
|
|
4819
4827
|
// Preserve arrays
|
|
4820
4828
|
})
|
|
4821
4829
|
},
|
|
4822
|
-
|
|
4830
|
+
uo
|
|
4823
4831
|
);
|
|
4824
4832
|
return {
|
|
4825
|
-
t: (i,
|
|
4833
|
+
t: (i, a, s) => n.formatMessage({ id: i }, a, s),
|
|
4826
4834
|
te: (i) => !!n.messages[i],
|
|
4827
4835
|
tm: (i) => n.messages[i] || [],
|
|
4828
4836
|
...n,
|
|
4829
4837
|
source: t
|
|
4830
4838
|
};
|
|
4831
|
-
},
|
|
4839
|
+
}, ho = (e = null) => G({
|
|
4832
4840
|
name: "I18nT",
|
|
4833
4841
|
props: {
|
|
4834
4842
|
i18n: {
|
|
@@ -4853,33 +4861,33 @@ const oo = kt(), io = (e, t, r = !1) => {
|
|
|
4853
4861
|
};
|
|
4854
4862
|
return () => {
|
|
4855
4863
|
const o = Object.keys(r).filter((s) => s !== "_"), i = (e || t.i18n).messages[t.keypath].toString();
|
|
4856
|
-
let
|
|
4857
|
-
return
|
|
4864
|
+
let a = n(i);
|
|
4865
|
+
return a = a.filter((s) => s !== ""), a.forEach((s, l) => {
|
|
4858
4866
|
if (!s.startsWith("{") && !s.endsWith("}"))
|
|
4859
4867
|
return;
|
|
4860
4868
|
const p = s.replace(/[\{\}]/g, "");
|
|
4861
|
-
p === "0" && r.default ? l
|
|
4862
|
-
}),
|
|
4869
|
+
p === "0" && r.default ? a[l] = r.default() : o.includes(p) && r[p] && (a[l] = r[p]());
|
|
4870
|
+
}), Vt(t.tag, t, a);
|
|
4863
4871
|
};
|
|
4864
4872
|
}
|
|
4865
|
-
}),
|
|
4873
|
+
}), fo = {
|
|
4866
4874
|
install(e, t) {
|
|
4867
4875
|
const { i18n: r } = t;
|
|
4868
|
-
e.component("I18nT",
|
|
4876
|
+
e.component("I18nT", ho(r));
|
|
4869
4877
|
}
|
|
4870
|
-
},
|
|
4878
|
+
}, go = {
|
|
4871
4879
|
error: "Error: Markdown content missing"
|
|
4872
|
-
},
|
|
4873
|
-
documentViewer:
|
|
4880
|
+
}, _o = {
|
|
4881
|
+
documentViewer: go
|
|
4874
4882
|
};
|
|
4875
|
-
function
|
|
4883
|
+
function vo() {
|
|
4876
4884
|
return {
|
|
4877
|
-
i18n:
|
|
4878
|
-
i18nT:
|
|
4885
|
+
i18n: co("en-us", _o),
|
|
4886
|
+
i18nT: fo
|
|
4879
4887
|
// Translation component <i18n-t>
|
|
4880
4888
|
};
|
|
4881
4889
|
}
|
|
4882
|
-
function
|
|
4890
|
+
function jo() {
|
|
4883
4891
|
return {
|
|
4884
4892
|
hasRequiredProps: (t, r) => {
|
|
4885
4893
|
let n = !0;
|
|
@@ -4891,36 +4899,36 @@ function uo() {
|
|
|
4891
4899
|
}
|
|
4892
4900
|
};
|
|
4893
4901
|
}
|
|
4894
|
-
const
|
|
4895
|
-
useI18n:
|
|
4896
|
-
useUtilities:
|
|
4902
|
+
const bo = {
|
|
4903
|
+
useI18n: vo,
|
|
4904
|
+
useUtilities: jo
|
|
4897
4905
|
};
|
|
4898
|
-
function
|
|
4906
|
+
function yo(e, t = "") {
|
|
4899
4907
|
return e.toLowerCase().trim().replace(/ /g, "-").replace(/[^\w-]+/g, "") + t;
|
|
4900
4908
|
}
|
|
4901
4909
|
function Dt(e, t = /* @__PURE__ */ new Map()) {
|
|
4902
4910
|
if (!e)
|
|
4903
4911
|
return e;
|
|
4904
4912
|
const r = t || /* @__PURE__ */ new Map();
|
|
4905
|
-
return e.map((n) =>
|
|
4913
|
+
return e.map((n) => Kt(n) ? wo(n, t) : (n.children && (n.children = Dt(n.children, r)), n));
|
|
4906
4914
|
}
|
|
4907
|
-
function
|
|
4915
|
+
function wo(e, t, r = "doc-heading-") {
|
|
4908
4916
|
var p;
|
|
4909
|
-
const n = (p = e.children) == null ? void 0 : p[0], o = `level-${e.level}`, i =
|
|
4910
|
-
t.set(i, (
|
|
4911
|
-
const s =
|
|
4917
|
+
const n = (p = e.children) == null ? void 0 : p[0], o = `level-${e.level}`, i = Xt(n) && n.text || o, a = t.get(i);
|
|
4918
|
+
t.set(i, (a || 0) + 1);
|
|
4919
|
+
const s = a && a > 1 ? `-${a}` : "", l = r + yo(i, s);
|
|
4912
4920
|
return {
|
|
4913
4921
|
...e,
|
|
4914
|
-
slug:
|
|
4922
|
+
slug: l
|
|
4915
4923
|
};
|
|
4916
4924
|
}
|
|
4917
|
-
const
|
|
4925
|
+
const Eo = {
|
|
4918
4926
|
class: "document-viewer",
|
|
4919
4927
|
"data-testid": "document-viewer"
|
|
4920
|
-
},
|
|
4928
|
+
}, To = {
|
|
4921
4929
|
key: 1,
|
|
4922
4930
|
"data-testid": "document-viewer-error"
|
|
4923
|
-
},
|
|
4931
|
+
}, So = /* @__PURE__ */ G({
|
|
4924
4932
|
__name: "DocumentViewer",
|
|
4925
4933
|
props: {
|
|
4926
4934
|
document: {
|
|
@@ -4930,25 +4938,26 @@ const go = {
|
|
|
4930
4938
|
},
|
|
4931
4939
|
setup(e) {
|
|
4932
4940
|
var s;
|
|
4933
|
-
const t = e, { i18n: r } =
|
|
4934
|
-
var
|
|
4935
|
-
return (
|
|
4941
|
+
const t = e, { i18n: r } = bo.useI18n(), n = (l) => !l || Object.keys(l).length === 0 && l.constructor === Object, o = Se(() => !n(t.document)), i = Dt((s = t.document) == null ? void 0 : s.children), a = () => {
|
|
4942
|
+
var l;
|
|
4943
|
+
return (l = t.document) != null && l.children ? lt(i) : null;
|
|
4936
4944
|
};
|
|
4937
|
-
return (
|
|
4938
|
-
K(o) ? (H(),
|
|
4945
|
+
return (l, p) => (H(), x("div", Eo, [
|
|
4946
|
+
K(o) ? (H(), ee(a, { key: 0 })) : (H(), x("div", To, at(K(r).t("docViewer.error")), 1))
|
|
4939
4947
|
]));
|
|
4940
4948
|
}
|
|
4941
4949
|
});
|
|
4942
|
-
const
|
|
4950
|
+
const Ao = /* @__PURE__ */ C(So, [["__scopeId", "data-v-c8c46db9"]]);
|
|
4943
4951
|
export {
|
|
4944
|
-
|
|
4945
|
-
|
|
4952
|
+
Ao as D,
|
|
4953
|
+
Q as T,
|
|
4946
4954
|
fe as a,
|
|
4947
|
-
|
|
4955
|
+
Xt as b,
|
|
4948
4956
|
Ve as c,
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4957
|
+
Kt as d,
|
|
4958
|
+
Dt as e,
|
|
4959
|
+
wo as f,
|
|
4960
|
+
zt as i,
|
|
4961
|
+
yo as t
|
|
4953
4962
|
};
|
|
4954
|
-
//# sourceMappingURL=index-
|
|
4963
|
+
//# sourceMappingURL=index-23fd1872.js.map
|