@kong-ui-public/document-viewer 0.10.14 → 0.10.15
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.
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
import { openBlock as
|
|
2
|
-
var
|
|
3
|
-
function
|
|
1
|
+
import { openBlock as B, createElementBlock as I, renderSlot as N, defineComponent as F, ref as at, computed as Ae, watch as Mt, resolveComponent as qt, createBlock as Q, resolveDynamicComponent as se, unref as re, withCtx as ae, createElementVNode as Ut, normalizeClass as lt, Fragment as $t, createTextVNode as Vt, toDisplayString as mt, createCommentVNode as Ue, createVNode as we, mergeProps as Ee, h as zt } from "vue";
|
|
2
|
+
var J = /* @__PURE__ */ ((e) => (e.header = "header", e.body = "body", e.footer = "footer", e))(J || {}), ge = /* @__PURE__ */ ((e) => (e.left = "left", e.center = "center", e.right = "right", e))(ge || {});
|
|
3
|
+
function Xt(e) {
|
|
4
4
|
return (e == null ? void 0 : e.type) === "table_header";
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Kt(e) {
|
|
7
7
|
return (e == null ? void 0 : e.type) === "text";
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function Wt(e) {
|
|
10
10
|
return (e == null ? void 0 : e.type) === "heading";
|
|
11
11
|
}
|
|
12
12
|
function Zt(e) {
|
|
13
13
|
return (e == null ? void 0 : e.type) === "list";
|
|
14
14
|
}
|
|
15
|
-
const
|
|
15
|
+
const C = (e, t) => {
|
|
16
16
|
const r = e.__vccOpts || e;
|
|
17
17
|
for (const [n, o] of t)
|
|
18
18
|
r[n] = o;
|
|
19
19
|
return r;
|
|
20
|
-
},
|
|
21
|
-
function
|
|
22
|
-
return
|
|
23
|
-
|
|
20
|
+
}, Jt = {};
|
|
21
|
+
function Yt(e, t) {
|
|
22
|
+
return B(), I("blockquote", null, [
|
|
23
|
+
N(e.$slots, "default", {}, void 0, !0)
|
|
24
24
|
]);
|
|
25
25
|
}
|
|
26
|
-
const
|
|
27
|
-
const
|
|
28
|
-
function
|
|
29
|
-
return
|
|
30
|
-
|
|
26
|
+
const Qt = /* @__PURE__ */ C(Jt, [["render", Yt], ["__scopeId", "data-v-afdbfde6"]]);
|
|
27
|
+
const er = {};
|
|
28
|
+
function tr(e, t) {
|
|
29
|
+
return B(), I("code", null, [
|
|
30
|
+
N(e.$slots, "default", {}, void 0, !0)
|
|
31
31
|
]);
|
|
32
32
|
}
|
|
33
|
-
const
|
|
33
|
+
const rr = /* @__PURE__ */ C(er, [["render", tr], ["__scopeId", "data-v-cbde41ab"]]), nr = (e, t) => {
|
|
34
34
|
const r = e[t];
|
|
35
35
|
return r ? typeof r == "function" ? r() : Promise.resolve(r) : new Promise((n, o) => {
|
|
36
36
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(o.bind(null, new Error("Unknown variable dynamic import: " + t)));
|
|
37
37
|
});
|
|
38
38
|
};
|
|
39
|
-
var
|
|
40
|
-
function
|
|
39
|
+
var $e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
40
|
+
function or(e) {
|
|
41
41
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
42
42
|
}
|
|
43
|
-
var
|
|
43
|
+
var pt = { exports: {} };
|
|
44
44
|
(function(e) {
|
|
45
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" } } };
|
|
46
46
|
e.exports && (e.exports = t);
|
|
47
|
-
})(
|
|
48
|
-
var
|
|
47
|
+
})(pt);
|
|
48
|
+
var Ve = pt.exports, ut = { exports: {} };
|
|
49
49
|
(function(e) {
|
|
50
50
|
var t = typeof window < "u" ? window : typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope ? self : {};
|
|
51
51
|
/**
|
|
@@ -162,8 +162,8 @@ var ze = ut.exports, ct = { exports: {} };
|
|
|
162
162
|
return d[g];
|
|
163
163
|
f = /** @type {Record<string, any>} */
|
|
164
164
|
{}, d[g] = f;
|
|
165
|
-
for (var
|
|
166
|
-
u.hasOwnProperty(
|
|
165
|
+
for (var j in u)
|
|
166
|
+
u.hasOwnProperty(j) && (f[j] = c(u[j], d));
|
|
167
167
|
return (
|
|
168
168
|
/** @type {any} */
|
|
169
169
|
f
|
|
@@ -171,8 +171,8 @@ var ze = ut.exports, ct = { exports: {} };
|
|
|
171
171
|
case "Array":
|
|
172
172
|
return g = s.util.objId(u), d[g] ? d[g] : (f = [], d[g] = f, /** @type {Array} */
|
|
173
173
|
/** @type {any} */
|
|
174
|
-
u.forEach(function(
|
|
175
|
-
f[
|
|
174
|
+
u.forEach(function(A, b) {
|
|
175
|
+
f[b] = c(A, d);
|
|
176
176
|
}), /** @type {any} */
|
|
177
177
|
f);
|
|
178
178
|
default:
|
|
@@ -392,28 +392,28 @@ var ze = ut.exports, ct = { exports: {} };
|
|
|
392
392
|
insertBefore: function(c, u, d, f) {
|
|
393
393
|
f = f || /** @type {any} */
|
|
394
394
|
s.languages;
|
|
395
|
-
var g = f[c],
|
|
396
|
-
for (var
|
|
397
|
-
if (g.hasOwnProperty(
|
|
398
|
-
if (
|
|
399
|
-
for (var
|
|
400
|
-
d.hasOwnProperty(
|
|
401
|
-
d.hasOwnProperty(
|
|
395
|
+
var g = f[c], j = {};
|
|
396
|
+
for (var A in g)
|
|
397
|
+
if (g.hasOwnProperty(A)) {
|
|
398
|
+
if (A == u)
|
|
399
|
+
for (var b in d)
|
|
400
|
+
d.hasOwnProperty(b) && (j[b] = d[b]);
|
|
401
|
+
d.hasOwnProperty(A) || (j[A] = g[A]);
|
|
402
402
|
}
|
|
403
|
-
var
|
|
404
|
-
return f[c] =
|
|
405
|
-
|
|
406
|
-
}),
|
|
403
|
+
var H = f[c];
|
|
404
|
+
return f[c] = j, s.languages.DFS(s.languages, function(P, X) {
|
|
405
|
+
X === H && P != c && (this[P] = j);
|
|
406
|
+
}), j;
|
|
407
407
|
},
|
|
408
408
|
// Traverse a language definition with Depth First Search
|
|
409
409
|
DFS: function c(u, d, f, g) {
|
|
410
410
|
g = g || {};
|
|
411
|
-
var
|
|
412
|
-
for (var
|
|
413
|
-
if (u.hasOwnProperty(
|
|
414
|
-
d.call(u,
|
|
415
|
-
var
|
|
416
|
-
|
|
411
|
+
var j = s.util.objId;
|
|
412
|
+
for (var A in u)
|
|
413
|
+
if (u.hasOwnProperty(A)) {
|
|
414
|
+
d.call(u, A, u[A], f || A);
|
|
415
|
+
var b = u[A], H = s.util.type(b);
|
|
416
|
+
H === "Object" && !g[j(b)] ? (g[j(b)] = !0, c(b, d, null, g)) : H === "Array" && !g[j(b)] && (g[j(b)] = !0, c(b, d, A, g));
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
419
|
},
|
|
@@ -455,8 +455,8 @@ var ze = ut.exports, ct = { exports: {} };
|
|
|
455
455
|
selector: 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'
|
|
456
456
|
};
|
|
457
457
|
s.hooks.run("before-highlightall", f), f.elements = Array.prototype.slice.apply(f.container.querySelectorAll(f.selector)), s.hooks.run("before-all-elements-highlight", f);
|
|
458
|
-
for (var g = 0,
|
|
459
|
-
s.highlightElement(
|
|
458
|
+
for (var g = 0, j; j = f.elements[g++]; )
|
|
459
|
+
s.highlightElement(j, u === !0, f.callback);
|
|
460
460
|
},
|
|
461
461
|
/**
|
|
462
462
|
* Highlights the code inside a single element.
|
|
@@ -489,36 +489,36 @@ var ze = ut.exports, ct = { exports: {} };
|
|
|
489
489
|
highlightElement: function(c, u, d) {
|
|
490
490
|
var f = s.util.getLanguage(c), g = s.languages[f];
|
|
491
491
|
s.util.setLanguage(c, f);
|
|
492
|
-
var
|
|
493
|
-
|
|
494
|
-
var
|
|
492
|
+
var j = c.parentElement;
|
|
493
|
+
j && j.nodeName.toLowerCase() === "pre" && s.util.setLanguage(j, f);
|
|
494
|
+
var A = c.textContent, b = {
|
|
495
495
|
element: c,
|
|
496
496
|
language: f,
|
|
497
497
|
grammar: g,
|
|
498
|
-
code:
|
|
498
|
+
code: A
|
|
499
499
|
};
|
|
500
|
-
function
|
|
501
|
-
|
|
500
|
+
function H(X) {
|
|
501
|
+
b.highlightedCode = X, s.hooks.run("before-insert", b), b.element.innerHTML = b.highlightedCode, s.hooks.run("after-highlight", b), s.hooks.run("complete", b), d && d.call(b.element);
|
|
502
502
|
}
|
|
503
|
-
if (s.hooks.run("before-sanity-check",
|
|
504
|
-
s.hooks.run("complete",
|
|
503
|
+
if (s.hooks.run("before-sanity-check", b), j = b.element.parentElement, j && j.nodeName.toLowerCase() === "pre" && !j.hasAttribute("tabindex") && j.setAttribute("tabindex", "0"), !b.code) {
|
|
504
|
+
s.hooks.run("complete", b), d && d.call(b.element);
|
|
505
505
|
return;
|
|
506
506
|
}
|
|
507
|
-
if (s.hooks.run("before-highlight",
|
|
508
|
-
|
|
507
|
+
if (s.hooks.run("before-highlight", b), !b.grammar) {
|
|
508
|
+
H(s.util.encode(b.code));
|
|
509
509
|
return;
|
|
510
510
|
}
|
|
511
511
|
if (u && n.Worker) {
|
|
512
|
-
var
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
},
|
|
516
|
-
language:
|
|
517
|
-
code:
|
|
512
|
+
var P = new Worker(s.filename);
|
|
513
|
+
P.onmessage = function(X) {
|
|
514
|
+
H(X.data);
|
|
515
|
+
}, P.postMessage(JSON.stringify({
|
|
516
|
+
language: b.language,
|
|
517
|
+
code: b.code,
|
|
518
518
|
immediateClose: !0
|
|
519
519
|
}));
|
|
520
520
|
} else
|
|
521
|
-
|
|
521
|
+
H(s.highlight(b.code, b.grammar, b.language));
|
|
522
522
|
},
|
|
523
523
|
/**
|
|
524
524
|
* Low-level function, only use if you know what you’re doing. It accepts a string of text as input
|
|
@@ -634,8 +634,8 @@ var ze = ut.exports, ct = { exports: {} };
|
|
|
634
634
|
return u;
|
|
635
635
|
if (Array.isArray(u)) {
|
|
636
636
|
var f = "";
|
|
637
|
-
return u.forEach(function(
|
|
638
|
-
f += c(
|
|
637
|
+
return u.forEach(function(H) {
|
|
638
|
+
f += c(H, d);
|
|
639
639
|
}), f;
|
|
640
640
|
}
|
|
641
641
|
var g = {
|
|
@@ -645,65 +645,65 @@ var ze = ut.exports, ct = { exports: {} };
|
|
|
645
645
|
classes: ["token", u.type],
|
|
646
646
|
attributes: {},
|
|
647
647
|
language: d
|
|
648
|
-
},
|
|
649
|
-
|
|
650
|
-
var
|
|
651
|
-
for (var
|
|
652
|
-
|
|
653
|
-
return "<" + g.tag + ' class="' + g.classes.join(" ") + '"' +
|
|
648
|
+
}, j = u.alias;
|
|
649
|
+
j && (Array.isArray(j) ? Array.prototype.push.apply(g.classes, j) : g.classes.push(j)), s.hooks.run("wrap", g);
|
|
650
|
+
var A = "";
|
|
651
|
+
for (var b in g.attributes)
|
|
652
|
+
A += " " + b + '="' + (g.attributes[b] || "").replace(/"/g, """) + '"';
|
|
653
|
+
return "<" + g.tag + ' class="' + g.classes.join(" ") + '"' + A + ">" + g.content + "</" + g.tag + ">";
|
|
654
654
|
};
|
|
655
655
|
function m(c, u, d, f) {
|
|
656
656
|
c.lastIndex = u;
|
|
657
657
|
var g = c.exec(d);
|
|
658
658
|
if (g && f && g[1]) {
|
|
659
|
-
var
|
|
660
|
-
g.index +=
|
|
659
|
+
var j = g[1].length;
|
|
660
|
+
g.index += j, g[0] = g[0].slice(j);
|
|
661
661
|
}
|
|
662
662
|
return g;
|
|
663
663
|
}
|
|
664
|
-
function p(c, u, d, f, g,
|
|
665
|
-
for (var
|
|
666
|
-
if (!(!d.hasOwnProperty(
|
|
667
|
-
var
|
|
668
|
-
|
|
669
|
-
for (var
|
|
670
|
-
if (
|
|
664
|
+
function p(c, u, d, f, g, j) {
|
|
665
|
+
for (var A in d)
|
|
666
|
+
if (!(!d.hasOwnProperty(A) || !d[A])) {
|
|
667
|
+
var b = d[A];
|
|
668
|
+
b = Array.isArray(b) ? b : [b];
|
|
669
|
+
for (var H = 0; H < b.length; ++H) {
|
|
670
|
+
if (j && j.cause == A + "," + H)
|
|
671
671
|
return;
|
|
672
|
-
var
|
|
673
|
-
if (
|
|
674
|
-
var
|
|
675
|
-
|
|
672
|
+
var P = b[H], X = P.inside, Oe = !!P.lookbehind, Ge = !!P.greedy, Nt = P.alias;
|
|
673
|
+
if (Ge && !P.pattern.global) {
|
|
674
|
+
var Ft = P.pattern.toString().match(/[imsuy]*$/)[0];
|
|
675
|
+
P.pattern = RegExp(P.pattern.source, Ft + "g");
|
|
676
676
|
}
|
|
677
|
-
for (var
|
|
678
|
-
var
|
|
677
|
+
for (var Me = P.pattern || P, D = f.next, q = g; D !== u.tail && !(j && q >= j.reach); q += D.value.length, D = D.next) {
|
|
678
|
+
var te = D.value;
|
|
679
679
|
if (u.length > c.length)
|
|
680
680
|
return;
|
|
681
|
-
if (!(
|
|
682
|
-
var
|
|
683
|
-
if (
|
|
684
|
-
if (
|
|
681
|
+
if (!(te instanceof l)) {
|
|
682
|
+
var me = 1, G;
|
|
683
|
+
if (Ge) {
|
|
684
|
+
if (G = m(Me, q, c, Oe), !G || G.index >= c.length)
|
|
685
685
|
break;
|
|
686
|
-
var
|
|
687
|
-
for (
|
|
688
|
-
|
|
689
|
-
if (
|
|
686
|
+
var pe = G.index, Ot = G.index + G[0].length, K = q;
|
|
687
|
+
for (K += D.value.length; pe >= K; )
|
|
688
|
+
D = D.next, K += D.value.length;
|
|
689
|
+
if (K -= D.value.length, q = K, D.value instanceof l)
|
|
690
690
|
continue;
|
|
691
|
-
for (var
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
} else if (
|
|
691
|
+
for (var oe = D; oe !== u.tail && (K < Ot || typeof oe.value == "string"); oe = oe.next)
|
|
692
|
+
me++, K += oe.value.length;
|
|
693
|
+
me--, te = c.slice(q, K), G.index -= q;
|
|
694
|
+
} else if (G = m(Me, 0, te, Oe), !G)
|
|
695
695
|
continue;
|
|
696
|
-
var
|
|
697
|
-
|
|
698
|
-
var
|
|
699
|
-
|
|
700
|
-
var
|
|
701
|
-
if (
|
|
702
|
-
var
|
|
703
|
-
cause:
|
|
704
|
-
reach:
|
|
696
|
+
var pe = G.index, ue = G[0], je = te.slice(0, pe), qe = te.slice(pe + ue.length), be = q + te.length;
|
|
697
|
+
j && be > j.reach && (j.reach = be);
|
|
698
|
+
var ce = D.prev;
|
|
699
|
+
je && (ce = _(u, ce, je), q += je.length), E(u, ce, me);
|
|
700
|
+
var Gt = new l(A, X ? s.tokenize(ue, X) : ue, Nt, ue);
|
|
701
|
+
if (D = _(u, ce, Gt), qe && _(u, D, qe), me > 1) {
|
|
702
|
+
var ye = {
|
|
703
|
+
cause: A + "," + H,
|
|
704
|
+
reach: be
|
|
705
705
|
};
|
|
706
|
-
p(c, u, d,
|
|
706
|
+
p(c, u, d, D.prev, q, ye), j && ye.reach > j.reach && (j.reach = ye.reach);
|
|
707
707
|
}
|
|
708
708
|
}
|
|
709
709
|
}
|
|
@@ -718,7 +718,7 @@ var ze = ut.exports, ct = { exports: {} };
|
|
|
718
718
|
var f = u.next, g = { value: d, prev: u, next: f };
|
|
719
719
|
return u.next = g, f.prev = g, c.length++, g;
|
|
720
720
|
}
|
|
721
|
-
function
|
|
721
|
+
function E(c, u, d) {
|
|
722
722
|
for (var f = u.next, g = 0; g < d && f !== c.tail; g++)
|
|
723
723
|
f = f.next;
|
|
724
724
|
u.next = f, f.prev = u, c.length -= g;
|
|
@@ -733,18 +733,18 @@ var ze = ut.exports, ct = { exports: {} };
|
|
|
733
733
|
var u = JSON.parse(c.data), d = u.language, f = u.code, g = u.immediateClose;
|
|
734
734
|
n.postMessage(s.highlight(f, s.languages[d], d)), g && n.close();
|
|
735
735
|
}, !1)), s;
|
|
736
|
-
var
|
|
737
|
-
|
|
738
|
-
function
|
|
736
|
+
var y = s.util.currentScript();
|
|
737
|
+
y && (s.filename = y.src, y.hasAttribute("data-manual") && (s.manual = !0));
|
|
738
|
+
function w() {
|
|
739
739
|
s.manual || s.highlightAll();
|
|
740
740
|
}
|
|
741
741
|
if (!s.manual) {
|
|
742
|
-
var
|
|
743
|
-
|
|
742
|
+
var k = document.readyState;
|
|
743
|
+
k === "loading" || k === "interactive" && y && y.defer ? document.addEventListener("DOMContentLoaded", w) : window.requestAnimationFrame ? window.requestAnimationFrame(w) : window.setTimeout(w, 16);
|
|
744
744
|
}
|
|
745
745
|
return s;
|
|
746
746
|
}(t);
|
|
747
|
-
e.exports && (e.exports = r), typeof
|
|
747
|
+
e.exports && (e.exports = r), typeof $e < "u" && ($e.Prism = r), r.languages.markup = {
|
|
748
748
|
comment: {
|
|
749
749
|
pattern: /<!--(?:(?!<!--)[\s\S])*?-->/,
|
|
750
750
|
greedy: !0
|
|
@@ -1122,8 +1122,8 @@ var ze = ut.exports, ct = { exports: {} };
|
|
|
1122
1122
|
if (typeof r > "u" || typeof document > "u")
|
|
1123
1123
|
return;
|
|
1124
1124
|
Element.prototype.matches || (Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector);
|
|
1125
|
-
var n = "Loading…", o = function(
|
|
1126
|
-
return "✖ Error " +
|
|
1125
|
+
var n = "Loading…", o = function(y, w) {
|
|
1126
|
+
return "✖ Error " + y + " while fetching file: " + w;
|
|
1127
1127
|
}, i = "✖ Error: File does not exist or is empty", a = {
|
|
1128
1128
|
js: "javascript",
|
|
1129
1129
|
py: "python",
|
|
@@ -1135,51 +1135,51 @@ var ze = ut.exports, ct = { exports: {} };
|
|
|
1135
1135
|
h: "c",
|
|
1136
1136
|
tex: "latex"
|
|
1137
1137
|
}, s = "data-src-status", l = "loading", m = "loaded", p = "failed", h = "pre[data-src]:not([" + s + '="' + m + '"]):not([' + s + '="' + l + '"])';
|
|
1138
|
-
function _(
|
|
1138
|
+
function _(y, w, k) {
|
|
1139
1139
|
var c = new XMLHttpRequest();
|
|
1140
|
-
c.open("GET",
|
|
1141
|
-
c.readyState == 4 && (c.status < 400 && c.responseText ?
|
|
1140
|
+
c.open("GET", y, !0), c.onreadystatechange = function() {
|
|
1141
|
+
c.readyState == 4 && (c.status < 400 && c.responseText ? w(c.responseText) : c.status >= 400 ? k(o(c.status, c.statusText)) : k(i));
|
|
1142
1142
|
}, c.send(null);
|
|
1143
1143
|
}
|
|
1144
|
-
function
|
|
1145
|
-
var
|
|
1146
|
-
if (
|
|
1147
|
-
var
|
|
1148
|
-
return c ? u ? [
|
|
1144
|
+
function E(y) {
|
|
1145
|
+
var w = /^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(y || "");
|
|
1146
|
+
if (w) {
|
|
1147
|
+
var k = Number(w[1]), c = w[2], u = w[3];
|
|
1148
|
+
return c ? u ? [k, Number(u)] : [k, void 0] : [k, k];
|
|
1149
1149
|
}
|
|
1150
1150
|
}
|
|
1151
|
-
r.hooks.add("before-highlightall", function(
|
|
1152
|
-
|
|
1153
|
-
}), r.hooks.add("before-sanity-check", function(
|
|
1154
|
-
var
|
|
1151
|
+
r.hooks.add("before-highlightall", function(y) {
|
|
1152
|
+
y.selector += ", " + h;
|
|
1153
|
+
}), r.hooks.add("before-sanity-check", function(y) {
|
|
1154
|
+
var w = (
|
|
1155
1155
|
/** @type {HTMLPreElement} */
|
|
1156
|
-
|
|
1156
|
+
y.element
|
|
1157
1157
|
);
|
|
1158
|
-
if (
|
|
1159
|
-
|
|
1160
|
-
var
|
|
1161
|
-
|
|
1162
|
-
var c =
|
|
1158
|
+
if (w.matches(h)) {
|
|
1159
|
+
y.code = "", w.setAttribute(s, l);
|
|
1160
|
+
var k = w.appendChild(document.createElement("CODE"));
|
|
1161
|
+
k.textContent = n;
|
|
1162
|
+
var c = w.getAttribute("data-src"), u = y.language;
|
|
1163
1163
|
if (u === "none") {
|
|
1164
1164
|
var d = (/\.(\w+)$/.exec(c) || [, "none"])[1];
|
|
1165
1165
|
u = a[d] || d;
|
|
1166
1166
|
}
|
|
1167
|
-
r.util.setLanguage(
|
|
1167
|
+
r.util.setLanguage(k, u), r.util.setLanguage(w, u);
|
|
1168
1168
|
var f = r.plugins.autoloader;
|
|
1169
1169
|
f && f.loadLanguages(u), _(
|
|
1170
1170
|
c,
|
|
1171
1171
|
function(g) {
|
|
1172
|
-
|
|
1173
|
-
var
|
|
1174
|
-
if (
|
|
1175
|
-
var
|
|
1176
|
-
|
|
1177
|
-
`),
|
|
1172
|
+
w.setAttribute(s, m);
|
|
1173
|
+
var j = E(w.getAttribute("data-range"));
|
|
1174
|
+
if (j) {
|
|
1175
|
+
var A = g.split(/\r\n?|\n/g), b = j[0], H = j[1] == null ? A.length : j[1];
|
|
1176
|
+
b < 0 && (b += A.length), b = Math.max(0, Math.min(b - 1, A.length)), H < 0 && (H += A.length), H = Math.max(0, Math.min(H, A.length)), g = A.slice(b, H).join(`
|
|
1177
|
+
`), w.hasAttribute("data-start") || w.setAttribute("data-start", String(b + 1));
|
|
1178
1178
|
}
|
|
1179
|
-
|
|
1179
|
+
k.textContent = g, r.highlightElement(k);
|
|
1180
1180
|
},
|
|
1181
1181
|
function(g) {
|
|
1182
|
-
|
|
1182
|
+
w.setAttribute(s, p), k.textContent = g;
|
|
1183
1183
|
}
|
|
1184
1184
|
);
|
|
1185
1185
|
}
|
|
@@ -1191,8 +1191,8 @@ var ze = ut.exports, ct = { exports: {} };
|
|
|
1191
1191
|
*
|
|
1192
1192
|
* @param {ParentNode} [container=document]
|
|
1193
1193
|
*/
|
|
1194
|
-
highlight: function(
|
|
1195
|
-
for (var
|
|
1194
|
+
highlight: function(w) {
|
|
1195
|
+
for (var k = (w || document).querySelectorAll(h), c = 0, u; u = k[c++]; )
|
|
1196
1196
|
r.highlightElement(u);
|
|
1197
1197
|
}
|
|
1198
1198
|
};
|
|
@@ -1201,10 +1201,10 @@ var ze = ut.exports, ct = { exports: {} };
|
|
|
1201
1201
|
R || (console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."), R = !0), r.plugins.fileHighlight.highlight.apply(this, arguments);
|
|
1202
1202
|
};
|
|
1203
1203
|
}();
|
|
1204
|
-
})(
|
|
1205
|
-
var
|
|
1206
|
-
const
|
|
1207
|
-
const
|
|
1204
|
+
})(ut);
|
|
1205
|
+
var ir = ut.exports;
|
|
1206
|
+
const de = /* @__PURE__ */ or(ir);
|
|
1207
|
+
const sr = /* @__PURE__ */ F({
|
|
1208
1208
|
__name: "CodeBlock",
|
|
1209
1209
|
props: {
|
|
1210
1210
|
codeBlockIndex: {
|
|
@@ -1226,31 +1226,31 @@ const ar = /* @__PURE__ */ O({
|
|
|
1226
1226
|
},
|
|
1227
1227
|
setup(e) {
|
|
1228
1228
|
const t = e;
|
|
1229
|
-
|
|
1230
|
-
const r =
|
|
1231
|
-
const p =
|
|
1229
|
+
de.manual = !0;
|
|
1230
|
+
const r = at(!1), n = Object.keys(Ve.languages).reduce((l, m) => {
|
|
1231
|
+
const p = Ve.languages[m].alias || [];
|
|
1232
1232
|
return [...l, m, ...Array.isArray(p) ? p : [p]];
|
|
1233
1233
|
}, []).sort();
|
|
1234
1234
|
function o(l) {
|
|
1235
|
-
r.value = !0,
|
|
1235
|
+
r.value = !0, de.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), de.highlightElement(l.codeElement), r.value = !1;
|
|
1236
1236
|
}
|
|
1237
|
-
const i = (l) => l.replaceAll("<", "<").replaceAll(">", ">").replaceAll('"', """).replaceAll("'", "'"), a =
|
|
1237
|
+
const i = (l) => l.replaceAll("<", "<").replaceAll(">", ">").replaceAll('"', """).replaceAll("'", "'"), a = Ae(() => `document-code-block-${t.codeBlockIndex}`), s = Ae(() => {
|
|
1238
1238
|
var m, p;
|
|
1239
1239
|
const l = ((p = (m = t.lines) == null ? void 0 : m.flatMap((h) => h.text)) == null ? void 0 : p.join("")) || "";
|
|
1240
1240
|
return l.endsWith(`
|
|
1241
1241
|
`) && !t.isSingleLine ? l.slice(0, -1) : l;
|
|
1242
1242
|
});
|
|
1243
|
-
return
|
|
1243
|
+
return Mt(() => t.lang, async (l) => {
|
|
1244
1244
|
if (n.includes(l))
|
|
1245
1245
|
try {
|
|
1246
|
-
await or(/* @__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-6f2b4f82.js").then((m) => m.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-2fe85287.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`);
|
|
1246
|
+
await nr(/* @__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-7814ecf1.js").then((m) => m.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-2fe85287.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`);
|
|
1247
1247
|
} catch {
|
|
1248
1248
|
console.warn(`Prism does not have a language file for '${l}'`);
|
|
1249
1249
|
}
|
|
1250
|
-
|
|
1250
|
+
de.highlightAll();
|
|
1251
1251
|
}, { immediate: !0 }), (l, m) => {
|
|
1252
|
-
const p =
|
|
1253
|
-
return
|
|
1252
|
+
const p = qt("KCodeBlock");
|
|
1253
|
+
return B(), Q(p, {
|
|
1254
1254
|
id: a.value,
|
|
1255
1255
|
class: "document-code-block",
|
|
1256
1256
|
code: s.value,
|
|
@@ -1263,7 +1263,7 @@ const ar = /* @__PURE__ */ O({
|
|
|
1263
1263
|
};
|
|
1264
1264
|
}
|
|
1265
1265
|
});
|
|
1266
|
-
const
|
|
1266
|
+
const ar = /* @__PURE__ */ C(sr, [["__scopeId", "data-v-5e3488f0"]]), lr = /* @__PURE__ */ F({
|
|
1267
1267
|
__name: "Emphasis",
|
|
1268
1268
|
props: {
|
|
1269
1269
|
level: {
|
|
@@ -1279,14 +1279,14 @@ const lr = /* @__PURE__ */ x(ar, [["__scopeId", "data-v-5e3488f0"]]), mr = /* @_
|
|
|
1279
1279
|
},
|
|
1280
1280
|
setup(e) {
|
|
1281
1281
|
const r = e.level === 1 ? "em" : "strong";
|
|
1282
|
-
return (n, o) => (
|
|
1283
|
-
default:
|
|
1284
|
-
|
|
1282
|
+
return (n, o) => (B(), Q(se(re(r)), null, {
|
|
1283
|
+
default: ae(() => [
|
|
1284
|
+
N(n.$slots, "default")
|
|
1285
1285
|
]),
|
|
1286
1286
|
_: 3
|
|
1287
1287
|
}));
|
|
1288
1288
|
}
|
|
1289
|
-
}),
|
|
1289
|
+
}), mr = /* @__PURE__ */ F({
|
|
1290
1290
|
__name: "Heading",
|
|
1291
1291
|
props: {
|
|
1292
1292
|
level: {
|
|
@@ -1306,15 +1306,15 @@ const lr = /* @__PURE__ */ x(ar, [["__scopeId", "data-v-5e3488f0"]]), mr = /* @_
|
|
|
1306
1306
|
},
|
|
1307
1307
|
setup(e) {
|
|
1308
1308
|
const t = e, r = `${t.slug}`, n = `h${t.level}`;
|
|
1309
|
-
return (o, i) => (
|
|
1310
|
-
default:
|
|
1311
|
-
|
|
1309
|
+
return (o, i) => (B(), Q(se(n), { id: r }, {
|
|
1310
|
+
default: ae(() => [
|
|
1311
|
+
N(o.$slots, "default", {}, void 0, !0)
|
|
1312
1312
|
]),
|
|
1313
1313
|
_: 3
|
|
1314
1314
|
}));
|
|
1315
1315
|
}
|
|
1316
1316
|
});
|
|
1317
|
-
const
|
|
1317
|
+
const pr = /* @__PURE__ */ C(mr, [["__scopeId", "data-v-9ef4ad64"]]), ur = ["alt", "src", "title"], cr = /* @__PURE__ */ F({
|
|
1318
1318
|
__name: "Image",
|
|
1319
1319
|
props: {
|
|
1320
1320
|
url: {
|
|
@@ -1331,58 +1331,58 @@ const ur = /* @__PURE__ */ x(pr, [["__scopeId", "data-v-9ef4ad64"]]), cr = ["alt
|
|
|
1331
1331
|
}
|
|
1332
1332
|
},
|
|
1333
1333
|
setup(e) {
|
|
1334
|
-
return (t, r) => (
|
|
1334
|
+
return (t, r) => (B(), I("img", {
|
|
1335
1335
|
alt: e.alt,
|
|
1336
1336
|
src: e.url,
|
|
1337
1337
|
title: e.title
|
|
1338
|
-
}, null, 8,
|
|
1338
|
+
}, null, 8, ur));
|
|
1339
1339
|
}
|
|
1340
1340
|
});
|
|
1341
|
-
const
|
|
1342
|
-
const
|
|
1343
|
-
function
|
|
1344
|
-
return
|
|
1341
|
+
const dr = /* @__PURE__ */ C(cr, [["__scopeId", "data-v-13314abe"]]);
|
|
1342
|
+
const hr = {};
|
|
1343
|
+
function fr(e, t) {
|
|
1344
|
+
return B(), I("hr");
|
|
1345
1345
|
}
|
|
1346
|
-
const
|
|
1347
|
-
function
|
|
1348
|
-
return
|
|
1349
|
-
|
|
1346
|
+
const gr = /* @__PURE__ */ C(hr, [["render", fr], ["__scopeId", "data-v-b6e25b56"]]), _r = {};
|
|
1347
|
+
function vr(e, t) {
|
|
1348
|
+
return B(), I("s", null, [
|
|
1349
|
+
N(e.$slots, "default")
|
|
1350
1350
|
]);
|
|
1351
1351
|
}
|
|
1352
|
-
const
|
|
1353
|
-
const
|
|
1354
|
-
function
|
|
1355
|
-
return
|
|
1356
|
-
|
|
1352
|
+
const jr = /* @__PURE__ */ C(_r, [["render", vr]]);
|
|
1353
|
+
const br = {};
|
|
1354
|
+
function yr(e, t) {
|
|
1355
|
+
return B(), I("table", null, [
|
|
1356
|
+
N(e.$slots, "default", {}, void 0, !0)
|
|
1357
1357
|
]);
|
|
1358
1358
|
}
|
|
1359
|
-
const
|
|
1359
|
+
const wr = /* @__PURE__ */ C(br, [["render", yr], ["__scopeId", "data-v-c2502730"]]), Er = /* @__PURE__ */ F({
|
|
1360
1360
|
__name: "TableRow",
|
|
1361
1361
|
props: {
|
|
1362
1362
|
section: {
|
|
1363
1363
|
type: String,
|
|
1364
|
-
default:
|
|
1364
|
+
default: J.body
|
|
1365
1365
|
}
|
|
1366
1366
|
},
|
|
1367
1367
|
setup(e) {
|
|
1368
1368
|
const t = e;
|
|
1369
1369
|
let r;
|
|
1370
|
-
return t.section ===
|
|
1371
|
-
default:
|
|
1372
|
-
|
|
1373
|
-
|
|
1370
|
+
return t.section === J.header ? r = "thead" : t.section === J.body ? r = "tbody" : t.section === J.footer && (r = "tfoot"), (n, o) => (B(), Q(se(re(r)), null, {
|
|
1371
|
+
default: ae(() => [
|
|
1372
|
+
Ut("tr", null, [
|
|
1373
|
+
N(n.$slots, "default", {}, void 0, !0)
|
|
1374
1374
|
])
|
|
1375
1375
|
]),
|
|
1376
1376
|
_: 3
|
|
1377
1377
|
}));
|
|
1378
1378
|
}
|
|
1379
1379
|
});
|
|
1380
|
-
const
|
|
1380
|
+
const ze = /* @__PURE__ */ C(Er, [["__scopeId", "data-v-49d97adb"]]), kr = /* @__PURE__ */ F({
|
|
1381
1381
|
__name: "TableCell",
|
|
1382
1382
|
props: {
|
|
1383
1383
|
alignment: {
|
|
1384
1384
|
type: String,
|
|
1385
|
-
default:
|
|
1385
|
+
default: ge.left
|
|
1386
1386
|
},
|
|
1387
1387
|
parent: {
|
|
1388
1388
|
type: Object,
|
|
@@ -1391,35 +1391,35 @@ const Xe = /* @__PURE__ */ x(kr, [["__scopeId", "data-v-49d97adb"]]), Sr = /* @_
|
|
|
1391
1391
|
},
|
|
1392
1392
|
setup(e) {
|
|
1393
1393
|
var o;
|
|
1394
|
-
const t = e, r = ((o = t.parent) == null ? void 0 : o.section) ===
|
|
1394
|
+
const t = e, r = ((o = t.parent) == null ? void 0 : o.section) === J.header ? "th" : "td";
|
|
1395
1395
|
let n;
|
|
1396
|
-
return t.alignment ===
|
|
1397
|
-
class:
|
|
1396
|
+
return t.alignment === ge.center ? n = "align-center" : t.alignment === ge.right && (n = "align-right"), (i, a) => (B(), Q(se(re(r)), {
|
|
1397
|
+
class: lt(re(n))
|
|
1398
1398
|
}, {
|
|
1399
|
-
default:
|
|
1400
|
-
|
|
1399
|
+
default: ae(() => [
|
|
1400
|
+
N(i.$slots, "default", {}, void 0, !0)
|
|
1401
1401
|
]),
|
|
1402
1402
|
_: 3
|
|
1403
1403
|
}, 8, ["class"]));
|
|
1404
1404
|
}
|
|
1405
1405
|
});
|
|
1406
|
-
const
|
|
1406
|
+
const Sr = /* @__PURE__ */ C(kr, [["__scopeId", "data-v-6c8bb91d"]]), Tr = ["checked"], Ar = /* @__PURE__ */ F({
|
|
1407
1407
|
__name: "TaskCheckbox",
|
|
1408
1408
|
props: {
|
|
1409
1409
|
checked: { type: Boolean }
|
|
1410
1410
|
},
|
|
1411
1411
|
setup(e) {
|
|
1412
|
-
const r =
|
|
1413
|
-
return (n, o) => (
|
|
1412
|
+
const r = at(e.checked);
|
|
1413
|
+
return (n, o) => (B(), I("input", {
|
|
1414
1414
|
"aria-label": "Display-only checkbox for task",
|
|
1415
1415
|
checked: r.value,
|
|
1416
1416
|
type: "checkbox"
|
|
1417
|
-
}, null, 8,
|
|
1417
|
+
}, null, 8, Tr));
|
|
1418
1418
|
}
|
|
1419
|
-
}),
|
|
1419
|
+
}), Rr = { key: 0 }, Lr = { key: 1 }, Br = {
|
|
1420
1420
|
inheritAttrs: !1
|
|
1421
|
-
},
|
|
1422
|
-
...
|
|
1421
|
+
}, Hr = /* @__PURE__ */ F({
|
|
1422
|
+
...Br,
|
|
1423
1423
|
__name: "Text",
|
|
1424
1424
|
props: {
|
|
1425
1425
|
text: {
|
|
@@ -1436,26 +1436,26 @@ const Tr = /* @__PURE__ */ x(Sr, [["__scopeId", "data-v-6c8bb91d"]]), Ar = ["che
|
|
|
1436
1436
|
}
|
|
1437
1437
|
},
|
|
1438
1438
|
setup(e) {
|
|
1439
|
-
return (t, r) => (
|
|
1440
|
-
|
|
1441
|
-
e.appendSpace ? (
|
|
1442
|
-
e.hardBreak ? (
|
|
1439
|
+
return (t, r) => (B(), I($t, null, [
|
|
1440
|
+
Vt(mt(e.text), 1),
|
|
1441
|
+
e.appendSpace ? (B(), I("span", Rr, " ")) : Ue("", !0),
|
|
1442
|
+
e.hardBreak ? (B(), I("br", Lr)) : Ue("", !0)
|
|
1443
1443
|
], 64));
|
|
1444
1444
|
}
|
|
1445
|
-
}),
|
|
1446
|
-
function
|
|
1447
|
-
return
|
|
1448
|
-
|
|
1445
|
+
}), Pr = {};
|
|
1446
|
+
function Dr(e, t) {
|
|
1447
|
+
return B(), I("span", null, [
|
|
1448
|
+
N(e.$slots, "default")
|
|
1449
1449
|
]);
|
|
1450
1450
|
}
|
|
1451
|
-
const
|
|
1452
|
-
const
|
|
1453
|
-
function
|
|
1454
|
-
return
|
|
1455
|
-
|
|
1451
|
+
const Ir = /* @__PURE__ */ C(Pr, [["render", Dr]]);
|
|
1452
|
+
const Cr = {};
|
|
1453
|
+
function xr(e, t) {
|
|
1454
|
+
return B(), I("p", null, [
|
|
1455
|
+
N(e.$slots, "default", {}, void 0, !0)
|
|
1456
1456
|
]);
|
|
1457
1457
|
}
|
|
1458
|
-
const
|
|
1458
|
+
const Nr = /* @__PURE__ */ C(Cr, [["render", xr], ["__scopeId", "data-v-7b54f530"]]), Fr = /* @__PURE__ */ F({
|
|
1459
1459
|
__name: "List",
|
|
1460
1460
|
props: {
|
|
1461
1461
|
isOrdered: {
|
|
@@ -1469,24 +1469,24 @@ const Fr = /* @__PURE__ */ x(xr, [["render", Nr], ["__scopeId", "data-v-7b54f530
|
|
|
1469
1469
|
},
|
|
1470
1470
|
setup(e) {
|
|
1471
1471
|
const r = e.isOrdered ? "ol" : "ul";
|
|
1472
|
-
return (n, o) => (
|
|
1473
|
-
class:
|
|
1472
|
+
return (n, o) => (B(), Q(se(re(r)), {
|
|
1473
|
+
class: lt({ "has-task-items": e.hasTaskItems })
|
|
1474
1474
|
}, {
|
|
1475
|
-
default:
|
|
1476
|
-
|
|
1475
|
+
default: ae(() => [
|
|
1476
|
+
N(n.$slots, "default", {}, void 0, !0)
|
|
1477
1477
|
]),
|
|
1478
1478
|
_: 3
|
|
1479
1479
|
}, 8, ["class"]));
|
|
1480
1480
|
}
|
|
1481
1481
|
});
|
|
1482
|
-
const
|
|
1483
|
-
const
|
|
1484
|
-
function
|
|
1485
|
-
return
|
|
1486
|
-
|
|
1482
|
+
const Or = /* @__PURE__ */ C(Fr, [["__scopeId", "data-v-7555911f"]]);
|
|
1483
|
+
const Gr = {};
|
|
1484
|
+
function Mr(e, t) {
|
|
1485
|
+
return B(), I("li", null, [
|
|
1486
|
+
N(e.$slots, "default", {}, void 0, !0)
|
|
1487
1487
|
]);
|
|
1488
1488
|
}
|
|
1489
|
-
const
|
|
1489
|
+
const qr = /* @__PURE__ */ C(Gr, [["render", Mr], ["__scopeId", "data-v-cf238e78"]]), Ur = ["href", "title"], $r = /* @__PURE__ */ F({
|
|
1490
1490
|
__name: "Link",
|
|
1491
1491
|
props: {
|
|
1492
1492
|
href: {
|
|
@@ -1499,40 +1499,40 @@ const Ur = /* @__PURE__ */ x(Mr, [["render", qr], ["__scopeId", "data-v-cf238e78
|
|
|
1499
1499
|
}
|
|
1500
1500
|
},
|
|
1501
1501
|
setup(e) {
|
|
1502
|
-
return (t, r) => (
|
|
1502
|
+
return (t, r) => (B(), I("a", {
|
|
1503
1503
|
href: e.href,
|
|
1504
1504
|
rel: "noreferrer noopener nofollow",
|
|
1505
1505
|
title: e.title
|
|
1506
1506
|
}, [
|
|
1507
|
-
|
|
1508
|
-
], 8,
|
|
1507
|
+
N(t.$slots, "default", {}, void 0, !0)
|
|
1508
|
+
], 8, Ur));
|
|
1509
1509
|
}
|
|
1510
1510
|
});
|
|
1511
|
-
const
|
|
1512
|
-
blockquote:
|
|
1513
|
-
code:
|
|
1514
|
-
code_block:
|
|
1515
|
-
emphasis:
|
|
1516
|
-
heading:
|
|
1517
|
-
image:
|
|
1518
|
-
break:
|
|
1519
|
-
link:
|
|
1520
|
-
list:
|
|
1521
|
-
list_item:
|
|
1522
|
-
paragraph:
|
|
1523
|
-
strikethrough:
|
|
1524
|
-
table:
|
|
1525
|
-
table_header:
|
|
1526
|
-
table_row:
|
|
1527
|
-
table_cell:
|
|
1528
|
-
task_checkbox:
|
|
1529
|
-
text:
|
|
1530
|
-
text_block:
|
|
1531
|
-
},
|
|
1532
|
-
function
|
|
1533
|
-
|
|
1511
|
+
const Vr = /* @__PURE__ */ C($r, [["__scopeId", "data-v-0f033d16"]]), zr = {
|
|
1512
|
+
blockquote: Qt,
|
|
1513
|
+
code: rr,
|
|
1514
|
+
code_block: ar,
|
|
1515
|
+
emphasis: lr,
|
|
1516
|
+
heading: pr,
|
|
1517
|
+
image: dr,
|
|
1518
|
+
break: gr,
|
|
1519
|
+
link: Vr,
|
|
1520
|
+
list: Or,
|
|
1521
|
+
list_item: qr,
|
|
1522
|
+
paragraph: Nr,
|
|
1523
|
+
strikethrough: jr,
|
|
1524
|
+
table: wr,
|
|
1525
|
+
table_header: ze,
|
|
1526
|
+
table_row: ze,
|
|
1527
|
+
table_cell: Sr,
|
|
1528
|
+
task_checkbox: Ar,
|
|
1529
|
+
text: Hr,
|
|
1530
|
+
text_block: Ir
|
|
1531
|
+
}, Xe = [];
|
|
1532
|
+
function Xr(e) {
|
|
1533
|
+
Xe.indexOf(e) === -1 && (Xe.push(e), console.warn(`[DocumentViewer] Unable to render an unknown node type "${e}"`));
|
|
1534
1534
|
}
|
|
1535
|
-
function
|
|
1535
|
+
function Re(e, t) {
|
|
1536
1536
|
return e.map((r, n) => {
|
|
1537
1537
|
var l;
|
|
1538
1538
|
if (!r)
|
|
@@ -1541,64 +1541,64 @@ function Le(e, t) {
|
|
|
1541
1541
|
type: o,
|
|
1542
1542
|
children: i,
|
|
1543
1543
|
...a
|
|
1544
|
-
} = r, s =
|
|
1544
|
+
} = r, s = zr[r.type];
|
|
1545
1545
|
if (!s)
|
|
1546
|
-
return
|
|
1547
|
-
if (
|
|
1546
|
+
return Xr(o), null;
|
|
1547
|
+
if (Xt(r) && (r.section = J.header), Zt(r)) {
|
|
1548
1548
|
const m = (l = r.children) == null ? void 0 : l.some((p) => {
|
|
1549
1549
|
var h;
|
|
1550
1550
|
return (h = p.children) == null ? void 0 : h.some((_) => {
|
|
1551
|
-
var
|
|
1552
|
-
return (
|
|
1551
|
+
var E;
|
|
1552
|
+
return (E = _.children) == null ? void 0 : E.some((R) => R.type === "task_checkbox");
|
|
1553
1553
|
});
|
|
1554
1554
|
});
|
|
1555
|
-
return
|
|
1555
|
+
return we(s, Ee({
|
|
1556
1556
|
hasTaskItems: m
|
|
1557
1557
|
}, a, {
|
|
1558
1558
|
parent: t
|
|
1559
1559
|
}), {
|
|
1560
|
-
default: () => i &&
|
|
1560
|
+
default: () => i && Re(i, r)
|
|
1561
1561
|
});
|
|
1562
1562
|
}
|
|
1563
|
-
return (r == null ? void 0 : r.type) === "code_block" ?
|
|
1563
|
+
return (r == null ? void 0 : r.type) === "code_block" ? we(s, Ee(a, {
|
|
1564
1564
|
lines: i,
|
|
1565
1565
|
isSingleLine: (i == null ? void 0 : i.length) && i.length === 1,
|
|
1566
1566
|
codeBlockIndex: n
|
|
1567
|
-
}), null) :
|
|
1567
|
+
}), null) : we(s, Ee(a, {
|
|
1568
1568
|
parent: t
|
|
1569
1569
|
}), {
|
|
1570
|
-
default: () => i &&
|
|
1570
|
+
default: () => i && Re(i, r)
|
|
1571
1571
|
});
|
|
1572
1572
|
});
|
|
1573
1573
|
}
|
|
1574
|
-
var
|
|
1575
|
-
return
|
|
1574
|
+
var Le = function(e, t) {
|
|
1575
|
+
return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1576
1576
|
r.__proto__ = n;
|
|
1577
1577
|
} || function(r, n) {
|
|
1578
1578
|
for (var o in n)
|
|
1579
1579
|
Object.prototype.hasOwnProperty.call(n, o) && (r[o] = n[o]);
|
|
1580
|
-
},
|
|
1580
|
+
}, Le(e, t);
|
|
1581
1581
|
};
|
|
1582
|
-
function
|
|
1582
|
+
function M(e, t) {
|
|
1583
1583
|
if (typeof t != "function" && t !== null)
|
|
1584
1584
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1585
|
-
|
|
1585
|
+
Le(e, t);
|
|
1586
1586
|
function r() {
|
|
1587
1587
|
this.constructor = e;
|
|
1588
1588
|
}
|
|
1589
1589
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1590
1590
|
}
|
|
1591
|
-
var
|
|
1592
|
-
return
|
|
1591
|
+
var v = function() {
|
|
1592
|
+
return v = Object.assign || function(e) {
|
|
1593
1593
|
for (var t, r = 1, n = arguments.length; r < n; r++) {
|
|
1594
1594
|
t = arguments[r];
|
|
1595
1595
|
for (var o in t)
|
|
1596
1596
|
Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]);
|
|
1597
1597
|
}
|
|
1598
1598
|
return e;
|
|
1599
|
-
},
|
|
1599
|
+
}, v.apply(this, arguments);
|
|
1600
1600
|
};
|
|
1601
|
-
function
|
|
1601
|
+
function Kr(e, t) {
|
|
1602
1602
|
var r = {};
|
|
1603
1603
|
for (var n in e)
|
|
1604
1604
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1607,70 +1607,61 @@ function Wr(e, t) {
|
|
|
1607
1607
|
t.indexOf(n[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[o]) && (r[n[o]] = e[n[o]]);
|
|
1608
1608
|
return r;
|
|
1609
1609
|
}
|
|
1610
|
-
function
|
|
1610
|
+
function z(e, t, r) {
|
|
1611
1611
|
if (r || arguments.length === 2)
|
|
1612
1612
|
for (var n = 0, o = t.length, i; n < o; n++)
|
|
1613
1613
|
(i || !(n in t)) && (i || (i = Array.prototype.slice.call(t, 0, n)), i[n] = t[n]);
|
|
1614
1614
|
return e.concat(i || Array.prototype.slice.call(t));
|
|
1615
1615
|
}
|
|
1616
|
-
var
|
|
1617
|
-
return B = Object.assign || function(e) {
|
|
1618
|
-
for (var t, r = 1, n = arguments.length; r < n; r++) {
|
|
1619
|
-
t = arguments[r];
|
|
1620
|
-
for (var o in t)
|
|
1621
|
-
Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]);
|
|
1622
|
-
}
|
|
1623
|
-
return e;
|
|
1624
|
-
}, B.apply(this, arguments);
|
|
1625
|
-
}, k;
|
|
1616
|
+
var S;
|
|
1626
1617
|
(function(e) {
|
|
1627
1618
|
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";
|
|
1628
|
-
})(
|
|
1619
|
+
})(S || (S = {}));
|
|
1629
1620
|
var L;
|
|
1630
1621
|
(function(e) {
|
|
1631
1622
|
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";
|
|
1632
1623
|
})(L || (L = {}));
|
|
1633
|
-
var
|
|
1624
|
+
var ne;
|
|
1634
1625
|
(function(e) {
|
|
1635
1626
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1636
|
-
})(
|
|
1637
|
-
function
|
|
1627
|
+
})(ne || (ne = {}));
|
|
1628
|
+
function Ke(e) {
|
|
1638
1629
|
return e.type === L.literal;
|
|
1639
1630
|
}
|
|
1640
|
-
function
|
|
1631
|
+
function Wr(e) {
|
|
1641
1632
|
return e.type === L.argument;
|
|
1642
1633
|
}
|
|
1643
|
-
function
|
|
1634
|
+
function ct(e) {
|
|
1644
1635
|
return e.type === L.number;
|
|
1645
1636
|
}
|
|
1646
|
-
function
|
|
1637
|
+
function dt(e) {
|
|
1647
1638
|
return e.type === L.date;
|
|
1648
1639
|
}
|
|
1649
|
-
function
|
|
1640
|
+
function ht(e) {
|
|
1650
1641
|
return e.type === L.time;
|
|
1651
1642
|
}
|
|
1652
|
-
function
|
|
1643
|
+
function ft(e) {
|
|
1653
1644
|
return e.type === L.select;
|
|
1654
1645
|
}
|
|
1655
|
-
function
|
|
1646
|
+
function gt(e) {
|
|
1656
1647
|
return e.type === L.plural;
|
|
1657
1648
|
}
|
|
1658
1649
|
function Zr(e) {
|
|
1659
1650
|
return e.type === L.pound;
|
|
1660
1651
|
}
|
|
1661
|
-
function
|
|
1652
|
+
function _t(e) {
|
|
1662
1653
|
return e.type === L.tag;
|
|
1663
1654
|
}
|
|
1664
|
-
function
|
|
1665
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1655
|
+
function vt(e) {
|
|
1656
|
+
return !!(e && typeof e == "object" && e.type === ne.number);
|
|
1666
1657
|
}
|
|
1667
|
-
function
|
|
1668
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1658
|
+
function Be(e) {
|
|
1659
|
+
return !!(e && typeof e == "object" && e.type === ne.dateTime);
|
|
1669
1660
|
}
|
|
1670
|
-
var
|
|
1671
|
-
function
|
|
1661
|
+
var jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Jr = /(?:[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;
|
|
1662
|
+
function Yr(e) {
|
|
1672
1663
|
var t = {};
|
|
1673
|
-
return e.replace(
|
|
1664
|
+
return e.replace(Jr, function(r) {
|
|
1674
1665
|
var n = r.length;
|
|
1675
1666
|
switch (r[0]) {
|
|
1676
1667
|
case "G":
|
|
@@ -1759,11 +1750,11 @@ function Qr(e) {
|
|
|
1759
1750
|
return "";
|
|
1760
1751
|
}), t;
|
|
1761
1752
|
}
|
|
1762
|
-
var
|
|
1763
|
-
function
|
|
1753
|
+
var Qr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1754
|
+
function en(e) {
|
|
1764
1755
|
if (e.length === 0)
|
|
1765
1756
|
throw new Error("Number skeleton cannot be empty");
|
|
1766
|
-
for (var t = e.split(
|
|
1757
|
+
for (var t = e.split(Qr).filter(function(_) {
|
|
1767
1758
|
return _.length > 0;
|
|
1768
1759
|
}), r = [], n = 0, o = t; n < o.length; n++) {
|
|
1769
1760
|
var i = o[n], a = i.split("/");
|
|
@@ -1778,17 +1769,17 @@ function tn(e) {
|
|
|
1778
1769
|
}
|
|
1779
1770
|
return r;
|
|
1780
1771
|
}
|
|
1781
|
-
function
|
|
1772
|
+
function tn(e) {
|
|
1782
1773
|
return e.replace(/^(.*?)-/, "");
|
|
1783
1774
|
}
|
|
1784
|
-
var
|
|
1775
|
+
var We = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, bt = /^(@+)?(\+|#+)?[rs]?$/g, rn = /(\*)(0+)|(#+)(0+)|(0+)/g, yt = /^(0+)$/;
|
|
1785
1776
|
function Ze(e) {
|
|
1786
1777
|
var t = {};
|
|
1787
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1778
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(bt, function(r, n, o) {
|
|
1788
1779
|
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)), "";
|
|
1789
1780
|
}), t;
|
|
1790
1781
|
}
|
|
1791
|
-
function
|
|
1782
|
+
function wt(e) {
|
|
1792
1783
|
switch (e) {
|
|
1793
1784
|
case "sign-auto":
|
|
1794
1785
|
return {
|
|
@@ -1828,7 +1819,7 @@ function Et(e) {
|
|
|
1828
1819
|
};
|
|
1829
1820
|
}
|
|
1830
1821
|
}
|
|
1831
|
-
function
|
|
1822
|
+
function nn(e) {
|
|
1832
1823
|
var t;
|
|
1833
1824
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1834
1825
|
notation: "engineering"
|
|
@@ -1836,17 +1827,17 @@ function on(e) {
|
|
|
1836
1827
|
notation: "scientific"
|
|
1837
1828
|
}, e = e.slice(1)), t) {
|
|
1838
1829
|
var r = e.slice(0, 2);
|
|
1839
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1830
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yt.test(e))
|
|
1840
1831
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1841
1832
|
t.minimumIntegerDigits = e.length;
|
|
1842
1833
|
}
|
|
1843
1834
|
return t;
|
|
1844
1835
|
}
|
|
1845
|
-
function
|
|
1846
|
-
var t = {}, r =
|
|
1836
|
+
function Je(e) {
|
|
1837
|
+
var t = {}, r = wt(e);
|
|
1847
1838
|
return r || t;
|
|
1848
1839
|
}
|
|
1849
|
-
function
|
|
1840
|
+
function on(e) {
|
|
1850
1841
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1851
1842
|
var o = n[r];
|
|
1852
1843
|
switch (o.stem) {
|
|
@@ -1870,7 +1861,7 @@ function sn(e) {
|
|
|
1870
1861
|
continue;
|
|
1871
1862
|
case "measure-unit":
|
|
1872
1863
|
case "unit":
|
|
1873
|
-
t.style = "unit", t.unit =
|
|
1864
|
+
t.style = "unit", t.unit = tn(o.options[0]);
|
|
1874
1865
|
continue;
|
|
1875
1866
|
case "compact-short":
|
|
1876
1867
|
case "K":
|
|
@@ -1881,13 +1872,13 @@ function sn(e) {
|
|
|
1881
1872
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1882
1873
|
continue;
|
|
1883
1874
|
case "scientific":
|
|
1884
|
-
t =
|
|
1885
|
-
return
|
|
1875
|
+
t = v(v(v({}, t), { notation: "scientific" }), o.options.reduce(function(l, m) {
|
|
1876
|
+
return v(v({}, l), Je(m));
|
|
1886
1877
|
}, {}));
|
|
1887
1878
|
continue;
|
|
1888
1879
|
case "engineering":
|
|
1889
|
-
t =
|
|
1890
|
-
return
|
|
1880
|
+
t = v(v(v({}, t), { notation: "engineering" }), o.options.reduce(function(l, m) {
|
|
1881
|
+
return v(v({}, l), Je(m));
|
|
1891
1882
|
}, {}));
|
|
1892
1883
|
continue;
|
|
1893
1884
|
case "notation-simple":
|
|
@@ -1911,45 +1902,45 @@ function sn(e) {
|
|
|
1911
1902
|
case "integer-width":
|
|
1912
1903
|
if (o.options.length > 1)
|
|
1913
1904
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1914
|
-
o.options[0].replace(
|
|
1905
|
+
o.options[0].replace(rn, function(l, m, p, h, _, E) {
|
|
1915
1906
|
if (m)
|
|
1916
1907
|
t.minimumIntegerDigits = p.length;
|
|
1917
1908
|
else {
|
|
1918
1909
|
if (h && _)
|
|
1919
1910
|
throw new Error("We currently do not support maximum integer digits");
|
|
1920
|
-
if (
|
|
1911
|
+
if (E)
|
|
1921
1912
|
throw new Error("We currently do not support exact integer digits");
|
|
1922
1913
|
}
|
|
1923
1914
|
return "";
|
|
1924
1915
|
});
|
|
1925
1916
|
continue;
|
|
1926
1917
|
}
|
|
1927
|
-
if (
|
|
1918
|
+
if (yt.test(o.stem)) {
|
|
1928
1919
|
t.minimumIntegerDigits = o.stem.length;
|
|
1929
1920
|
continue;
|
|
1930
1921
|
}
|
|
1931
|
-
if (
|
|
1922
|
+
if (We.test(o.stem)) {
|
|
1932
1923
|
if (o.options.length > 1)
|
|
1933
1924
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1934
|
-
o.stem.replace(
|
|
1935
|
-
return p === "*" ? t.minimumFractionDigits = m.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : _ &&
|
|
1925
|
+
o.stem.replace(We, function(l, m, p, h, _, E) {
|
|
1926
|
+
return p === "*" ? t.minimumFractionDigits = m.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : _ && E ? (t.minimumFractionDigits = _.length, t.maximumFractionDigits = _.length + E.length) : (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length), "";
|
|
1936
1927
|
});
|
|
1937
1928
|
var i = o.options[0];
|
|
1938
|
-
i === "w" ? t =
|
|
1929
|
+
i === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : i && (t = v(v({}, t), Ze(i)));
|
|
1939
1930
|
continue;
|
|
1940
1931
|
}
|
|
1941
|
-
if (
|
|
1942
|
-
t =
|
|
1932
|
+
if (bt.test(o.stem)) {
|
|
1933
|
+
t = v(v({}, t), Ze(o.stem));
|
|
1943
1934
|
continue;
|
|
1944
1935
|
}
|
|
1945
|
-
var a =
|
|
1946
|
-
a && (t =
|
|
1947
|
-
var s =
|
|
1948
|
-
s && (t =
|
|
1936
|
+
var a = wt(o.stem);
|
|
1937
|
+
a && (t = v(v({}, t), a));
|
|
1938
|
+
var s = nn(o.stem);
|
|
1939
|
+
s && (t = v(v({}, t), s));
|
|
1949
1940
|
}
|
|
1950
1941
|
return t;
|
|
1951
1942
|
}
|
|
1952
|
-
var
|
|
1943
|
+
var he = {
|
|
1953
1944
|
"001": [
|
|
1954
1945
|
"H",
|
|
1955
1946
|
"h"
|
|
@@ -3286,13 +3277,13 @@ var fe = {
|
|
|
3286
3277
|
"h"
|
|
3287
3278
|
]
|
|
3288
3279
|
};
|
|
3289
|
-
function
|
|
3280
|
+
function sn(e, t) {
|
|
3290
3281
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3291
3282
|
var o = e.charAt(n);
|
|
3292
3283
|
if (o === "j") {
|
|
3293
3284
|
for (var i = 0; n + 1 < e.length && e.charAt(n + 1) === o; )
|
|
3294
3285
|
i++, n++;
|
|
3295
|
-
var a = 1 + (i & 1), s = i < 2 ? 1 : 3 + (i >> 1), l = "a", m =
|
|
3286
|
+
var a = 1 + (i & 1), s = i < 2 ? 1 : 3 + (i >> 1), l = "a", m = an(t);
|
|
3296
3287
|
for ((m == "H" || m == "k") && (s = 0); s-- > 0; )
|
|
3297
3288
|
r += l;
|
|
3298
3289
|
for (; a-- > 0; )
|
|
@@ -3302,7 +3293,7 @@ function an(e, t) {
|
|
|
3302
3293
|
}
|
|
3303
3294
|
return r;
|
|
3304
3295
|
}
|
|
3305
|
-
function
|
|
3296
|
+
function an(e) {
|
|
3306
3297
|
var t = e.hourCycle;
|
|
3307
3298
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3308
3299
|
e.hourCycles && // @ts-ignore
|
|
@@ -3321,23 +3312,23 @@ function ln(e) {
|
|
|
3321
3312
|
}
|
|
3322
3313
|
var r = e.language, n;
|
|
3323
3314
|
r !== "root" && (n = e.maximize().region);
|
|
3324
|
-
var o =
|
|
3315
|
+
var o = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
|
|
3325
3316
|
return o[0];
|
|
3326
3317
|
}
|
|
3327
|
-
var
|
|
3328
|
-
function
|
|
3318
|
+
var ke, ln = new RegExp("^".concat(jt.source, "*")), mn = new RegExp("".concat(jt.source, "*$"));
|
|
3319
|
+
function T(e, t) {
|
|
3329
3320
|
return { start: e, end: t };
|
|
3330
3321
|
}
|
|
3331
|
-
var
|
|
3322
|
+
var pn = !!String.prototype.startsWith, un = !!String.fromCodePoint, cn = !!Object.fromEntries, dn = !!String.prototype.codePointAt, hn = !!String.prototype.trimStart, fn = !!String.prototype.trimEnd, gn = !!Number.isSafeInteger, _n = gn ? Number.isSafeInteger : function(e) {
|
|
3332
3323
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3333
|
-
},
|
|
3324
|
+
}, He = !0;
|
|
3334
3325
|
try {
|
|
3335
|
-
var
|
|
3336
|
-
|
|
3326
|
+
var vn = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3327
|
+
He = ((ke = vn.exec("a")) === null || ke === void 0 ? void 0 : ke[0]) === "a";
|
|
3337
3328
|
} catch {
|
|
3338
|
-
|
|
3329
|
+
He = !1;
|
|
3339
3330
|
}
|
|
3340
|
-
var
|
|
3331
|
+
var Ye = pn ? (
|
|
3341
3332
|
// Native
|
|
3342
3333
|
function(e, t, r) {
|
|
3343
3334
|
return e.startsWith(t, r);
|
|
@@ -3347,7 +3338,7 @@ var Qe = un ? (
|
|
|
3347
3338
|
function(e, t, r) {
|
|
3348
3339
|
return e.slice(r, r + t.length) === t;
|
|
3349
3340
|
}
|
|
3350
|
-
),
|
|
3341
|
+
), Pe = un ? String.fromCodePoint : (
|
|
3351
3342
|
// IE11
|
|
3352
3343
|
function() {
|
|
3353
3344
|
for (var e = [], t = 0; t < arguments.length; t++)
|
|
@@ -3359,9 +3350,9 @@ var Qe = un ? (
|
|
|
3359
3350
|
}
|
|
3360
3351
|
return r;
|
|
3361
3352
|
}
|
|
3362
|
-
),
|
|
3353
|
+
), Qe = (
|
|
3363
3354
|
// native
|
|
3364
|
-
|
|
3355
|
+
cn ? Object.fromEntries : (
|
|
3365
3356
|
// Ponyfill
|
|
3366
3357
|
function(e) {
|
|
3367
3358
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
@@ -3371,7 +3362,7 @@ var Qe = un ? (
|
|
|
3371
3362
|
return t;
|
|
3372
3363
|
}
|
|
3373
3364
|
)
|
|
3374
|
-
),
|
|
3365
|
+
), Et = dn ? (
|
|
3375
3366
|
// Native
|
|
3376
3367
|
function(e, t) {
|
|
3377
3368
|
return e.codePointAt(t);
|
|
@@ -3385,7 +3376,7 @@ var Qe = un ? (
|
|
|
3385
3376
|
return n < 55296 || n > 56319 || t + 1 === r || (o = e.charCodeAt(t + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
|
|
3386
3377
|
}
|
|
3387
3378
|
}
|
|
3388
|
-
),
|
|
3379
|
+
), jn = hn ? (
|
|
3389
3380
|
// Native
|
|
3390
3381
|
function(e) {
|
|
3391
3382
|
return e.trimStart();
|
|
@@ -3393,9 +3384,9 @@ var Qe = un ? (
|
|
|
3393
3384
|
) : (
|
|
3394
3385
|
// Ponyfill
|
|
3395
3386
|
function(e) {
|
|
3396
|
-
return e.replace(
|
|
3387
|
+
return e.replace(ln, "");
|
|
3397
3388
|
}
|
|
3398
|
-
),
|
|
3389
|
+
), bn = fn ? (
|
|
3399
3390
|
// Native
|
|
3400
3391
|
function(e) {
|
|
3401
3392
|
return e.trimEnd();
|
|
@@ -3403,32 +3394,32 @@ var Qe = un ? (
|
|
|
3403
3394
|
) : (
|
|
3404
3395
|
// Ponyfill
|
|
3405
3396
|
function(e) {
|
|
3406
|
-
return e.replace(
|
|
3397
|
+
return e.replace(mn, "");
|
|
3407
3398
|
}
|
|
3408
3399
|
);
|
|
3409
|
-
function
|
|
3400
|
+
function kt(e, t) {
|
|
3410
3401
|
return new RegExp(e, t);
|
|
3411
3402
|
}
|
|
3412
|
-
var
|
|
3413
|
-
if (
|
|
3414
|
-
var
|
|
3415
|
-
|
|
3403
|
+
var De;
|
|
3404
|
+
if (He) {
|
|
3405
|
+
var et = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3406
|
+
De = function(e, t) {
|
|
3416
3407
|
var r;
|
|
3417
|
-
|
|
3418
|
-
var n =
|
|
3408
|
+
et.lastIndex = t;
|
|
3409
|
+
var n = et.exec(e);
|
|
3419
3410
|
return (r = n[1]) !== null && r !== void 0 ? r : "";
|
|
3420
3411
|
};
|
|
3421
3412
|
} else
|
|
3422
|
-
|
|
3413
|
+
De = function(e, t) {
|
|
3423
3414
|
for (var r = []; ; ) {
|
|
3424
|
-
var n =
|
|
3425
|
-
if (n === void 0 ||
|
|
3415
|
+
var n = Et(e, t);
|
|
3416
|
+
if (n === void 0 || St(n) || kn(n))
|
|
3426
3417
|
break;
|
|
3427
3418
|
r.push(n), t += n >= 65536 ? 2 : 1;
|
|
3428
3419
|
}
|
|
3429
|
-
return
|
|
3420
|
+
return Pe.apply(void 0, r);
|
|
3430
3421
|
};
|
|
3431
|
-
var
|
|
3422
|
+
var yn = (
|
|
3432
3423
|
/** @class */
|
|
3433
3424
|
function() {
|
|
3434
3425
|
function e(t, r) {
|
|
@@ -3453,13 +3444,13 @@ var wn = (
|
|
|
3453
3444
|
var s = this.clonePosition();
|
|
3454
3445
|
this.bump(), o.push({
|
|
3455
3446
|
type: L.pound,
|
|
3456
|
-
location:
|
|
3447
|
+
location: T(s, this.clonePosition())
|
|
3457
3448
|
});
|
|
3458
3449
|
} else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3459
3450
|
if (n)
|
|
3460
3451
|
break;
|
|
3461
|
-
return this.error(
|
|
3462
|
-
} else if (i === 60 && !this.ignoreTag &&
|
|
3452
|
+
return this.error(S.UNMATCHED_CLOSING_TAG, T(this.clonePosition(), this.clonePosition()));
|
|
3453
|
+
} else if (i === 60 && !this.ignoreTag && Ie(this.peek() || 0)) {
|
|
3463
3454
|
var a = this.parseTag(t, r);
|
|
3464
3455
|
if (a.err)
|
|
3465
3456
|
return a;
|
|
@@ -3482,7 +3473,7 @@ var wn = (
|
|
|
3482
3473
|
val: {
|
|
3483
3474
|
type: L.literal,
|
|
3484
3475
|
value: "<".concat(o, "/>"),
|
|
3485
|
-
location:
|
|
3476
|
+
location: T(n, this.clonePosition())
|
|
3486
3477
|
},
|
|
3487
3478
|
err: null
|
|
3488
3479
|
};
|
|
@@ -3492,25 +3483,25 @@ var wn = (
|
|
|
3492
3483
|
return i;
|
|
3493
3484
|
var a = i.val, s = this.clonePosition();
|
|
3494
3485
|
if (this.bumpIf("</")) {
|
|
3495
|
-
if (this.isEOF() || !
|
|
3496
|
-
return this.error(
|
|
3486
|
+
if (this.isEOF() || !Ie(this.char()))
|
|
3487
|
+
return this.error(S.INVALID_TAG, T(s, this.clonePosition()));
|
|
3497
3488
|
var l = this.clonePosition(), m = this.parseTagName();
|
|
3498
|
-
return o !== m ? this.error(
|
|
3489
|
+
return o !== m ? this.error(S.UNMATCHED_CLOSING_TAG, T(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3499
3490
|
val: {
|
|
3500
3491
|
type: L.tag,
|
|
3501
3492
|
value: o,
|
|
3502
3493
|
children: a,
|
|
3503
|
-
location:
|
|
3494
|
+
location: T(n, this.clonePosition())
|
|
3504
3495
|
},
|
|
3505
3496
|
err: null
|
|
3506
|
-
} : this.error(
|
|
3497
|
+
} : this.error(S.INVALID_TAG, T(s, this.clonePosition())));
|
|
3507
3498
|
} else
|
|
3508
|
-
return this.error(
|
|
3499
|
+
return this.error(S.UNCLOSED_TAG, T(n, this.clonePosition()));
|
|
3509
3500
|
} else
|
|
3510
|
-
return this.error(
|
|
3501
|
+
return this.error(S.INVALID_TAG, T(n, this.clonePosition()));
|
|
3511
3502
|
}, e.prototype.parseTagName = function() {
|
|
3512
3503
|
var t = this.offset();
|
|
3513
|
-
for (this.bump(); !this.isEOF() &&
|
|
3504
|
+
for (this.bump(); !this.isEOF() && En(this.char()); )
|
|
3514
3505
|
this.bump();
|
|
3515
3506
|
return this.message.slice(t, this.offset());
|
|
3516
3507
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3532,14 +3523,14 @@ var wn = (
|
|
|
3532
3523
|
}
|
|
3533
3524
|
break;
|
|
3534
3525
|
}
|
|
3535
|
-
var l =
|
|
3526
|
+
var l = T(n, this.clonePosition());
|
|
3536
3527
|
return {
|
|
3537
3528
|
val: { type: L.literal, value: o, location: l },
|
|
3538
3529
|
err: null
|
|
3539
3530
|
};
|
|
3540
3531
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3541
3532
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3542
|
-
!
|
|
3533
|
+
!wn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3543
3534
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3544
3535
|
if (this.isEOF() || this.char() !== 39)
|
|
3545
3536
|
return null;
|
|
@@ -3573,23 +3564,23 @@ var wn = (
|
|
|
3573
3564
|
r.push(n);
|
|
3574
3565
|
this.bump();
|
|
3575
3566
|
}
|
|
3576
|
-
return
|
|
3567
|
+
return Pe.apply(void 0, r);
|
|
3577
3568
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3578
3569
|
if (this.isEOF())
|
|
3579
3570
|
return null;
|
|
3580
3571
|
var n = this.char();
|
|
3581
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3572
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Pe(n));
|
|
3582
3573
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3583
3574
|
var n = this.clonePosition();
|
|
3584
3575
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3585
|
-
return this.error(
|
|
3576
|
+
return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
|
|
3586
3577
|
if (this.char() === 125)
|
|
3587
|
-
return this.bump(), this.error(
|
|
3578
|
+
return this.bump(), this.error(S.EMPTY_ARGUMENT, T(n, this.clonePosition()));
|
|
3588
3579
|
var o = this.parseIdentifierIfPossible().value;
|
|
3589
3580
|
if (!o)
|
|
3590
|
-
return this.error(
|
|
3581
|
+
return this.error(S.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
|
|
3591
3582
|
if (this.bumpSpace(), this.isEOF())
|
|
3592
|
-
return this.error(
|
|
3583
|
+
return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
|
|
3593
3584
|
switch (this.char()) {
|
|
3594
3585
|
case 125:
|
|
3595
3586
|
return this.bump(), {
|
|
@@ -3597,25 +3588,25 @@ var wn = (
|
|
|
3597
3588
|
type: L.argument,
|
|
3598
3589
|
// value does not include the opening and closing braces.
|
|
3599
3590
|
value: o,
|
|
3600
|
-
location:
|
|
3591
|
+
location: T(n, this.clonePosition())
|
|
3601
3592
|
},
|
|
3602
3593
|
err: null
|
|
3603
3594
|
};
|
|
3604
3595
|
case 44:
|
|
3605
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3596
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition())) : this.parseArgumentOptions(t, r, o, n);
|
|
3606
3597
|
default:
|
|
3607
|
-
return this.error(
|
|
3598
|
+
return this.error(S.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
|
|
3608
3599
|
}
|
|
3609
3600
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3610
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3601
|
+
var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), o = r + n.length;
|
|
3611
3602
|
this.bumpTo(o);
|
|
3612
|
-
var i = this.clonePosition(), a =
|
|
3603
|
+
var i = this.clonePosition(), a = T(t, i);
|
|
3613
3604
|
return { value: n, location: a };
|
|
3614
3605
|
}, e.prototype.parseArgumentOptions = function(t, r, n, o) {
|
|
3615
3606
|
var i, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3616
3607
|
switch (s) {
|
|
3617
3608
|
case "":
|
|
3618
|
-
return this.error(
|
|
3609
|
+
return this.error(S.EXPECT_ARGUMENT_TYPE, T(a, l));
|
|
3619
3610
|
case "number":
|
|
3620
3611
|
case "date":
|
|
3621
3612
|
case "time": {
|
|
@@ -3626,37 +3617,37 @@ var wn = (
|
|
|
3626
3617
|
var p = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
|
|
3627
3618
|
if (h.err)
|
|
3628
3619
|
return h;
|
|
3629
|
-
var _ =
|
|
3620
|
+
var _ = bn(h.val);
|
|
3630
3621
|
if (_.length === 0)
|
|
3631
|
-
return this.error(
|
|
3632
|
-
var
|
|
3633
|
-
m = { style: _, styleLocation:
|
|
3622
|
+
return this.error(S.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
|
|
3623
|
+
var E = T(p, this.clonePosition());
|
|
3624
|
+
m = { style: _, styleLocation: E };
|
|
3634
3625
|
}
|
|
3635
3626
|
var R = this.tryParseArgumentClose(o);
|
|
3636
3627
|
if (R.err)
|
|
3637
3628
|
return R;
|
|
3638
|
-
var
|
|
3639
|
-
if (m &&
|
|
3640
|
-
var
|
|
3629
|
+
var y = T(o, this.clonePosition());
|
|
3630
|
+
if (m && Ye(m == null ? void 0 : m.style, "::", 0)) {
|
|
3631
|
+
var w = jn(m.style.slice(2));
|
|
3641
3632
|
if (s === "number") {
|
|
3642
|
-
var h = this.parseNumberSkeletonFromString(
|
|
3633
|
+
var h = this.parseNumberSkeletonFromString(w, m.styleLocation);
|
|
3643
3634
|
return h.err ? h : {
|
|
3644
|
-
val: { type: L.number, value: n, location:
|
|
3635
|
+
val: { type: L.number, value: n, location: y, style: h.val },
|
|
3645
3636
|
err: null
|
|
3646
3637
|
};
|
|
3647
3638
|
} else {
|
|
3648
|
-
if (
|
|
3649
|
-
return this.error(
|
|
3650
|
-
var
|
|
3651
|
-
this.locale && (
|
|
3639
|
+
if (w.length === 0)
|
|
3640
|
+
return this.error(S.EXPECT_DATE_TIME_SKELETON, y);
|
|
3641
|
+
var k = w;
|
|
3642
|
+
this.locale && (k = sn(w, this.locale));
|
|
3652
3643
|
var _ = {
|
|
3653
|
-
type:
|
|
3654
|
-
pattern:
|
|
3644
|
+
type: ne.dateTime,
|
|
3645
|
+
pattern: k,
|
|
3655
3646
|
location: m.styleLocation,
|
|
3656
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3647
|
+
parsedOptions: this.shouldParseSkeletons ? Yr(k) : {}
|
|
3657
3648
|
}, c = s === "date" ? L.date : L.time;
|
|
3658
3649
|
return {
|
|
3659
|
-
val: { type: c, value: n, location:
|
|
3650
|
+
val: { type: c, value: n, location: y, style: _ },
|
|
3660
3651
|
err: null
|
|
3661
3652
|
};
|
|
3662
3653
|
}
|
|
@@ -3665,7 +3656,7 @@ var wn = (
|
|
|
3665
3656
|
val: {
|
|
3666
3657
|
type: s === "number" ? L.number : s === "date" ? L.date : L.time,
|
|
3667
3658
|
value: n,
|
|
3668
|
-
location:
|
|
3659
|
+
location: y,
|
|
3669
3660
|
style: (i = m == null ? void 0 : m.style) !== null && i !== void 0 ? i : null
|
|
3670
3661
|
},
|
|
3671
3662
|
err: null
|
|
@@ -3676,14 +3667,14 @@ var wn = (
|
|
|
3676
3667
|
case "select": {
|
|
3677
3668
|
var u = this.clonePosition();
|
|
3678
3669
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3679
|
-
return this.error(
|
|
3670
|
+
return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, T(u, v({}, u)));
|
|
3680
3671
|
this.bumpSpace();
|
|
3681
3672
|
var d = this.parseIdentifierIfPossible(), f = 0;
|
|
3682
3673
|
if (s !== "select" && d.value === "offset") {
|
|
3683
3674
|
if (!this.bumpIf(":"))
|
|
3684
|
-
return this.error(
|
|
3675
|
+
return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
|
|
3685
3676
|
this.bumpSpace();
|
|
3686
|
-
var h = this.tryParseDecimalInteger(
|
|
3677
|
+
var h = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3687
3678
|
if (h.err)
|
|
3688
3679
|
return h;
|
|
3689
3680
|
this.bumpSpace(), d = this.parseIdentifierIfPossible(), f = h.val;
|
|
@@ -3694,32 +3685,32 @@ var wn = (
|
|
|
3694
3685
|
var R = this.tryParseArgumentClose(o);
|
|
3695
3686
|
if (R.err)
|
|
3696
3687
|
return R;
|
|
3697
|
-
var
|
|
3688
|
+
var j = T(o, this.clonePosition());
|
|
3698
3689
|
return s === "select" ? {
|
|
3699
3690
|
val: {
|
|
3700
3691
|
type: L.select,
|
|
3701
3692
|
value: n,
|
|
3702
|
-
options:
|
|
3703
|
-
location:
|
|
3693
|
+
options: Qe(g.val),
|
|
3694
|
+
location: j
|
|
3704
3695
|
},
|
|
3705
3696
|
err: null
|
|
3706
3697
|
} : {
|
|
3707
3698
|
val: {
|
|
3708
3699
|
type: L.plural,
|
|
3709
3700
|
value: n,
|
|
3710
|
-
options:
|
|
3701
|
+
options: Qe(g.val),
|
|
3711
3702
|
offset: f,
|
|
3712
3703
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3713
|
-
location:
|
|
3704
|
+
location: j
|
|
3714
3705
|
},
|
|
3715
3706
|
err: null
|
|
3716
3707
|
};
|
|
3717
3708
|
}
|
|
3718
3709
|
default:
|
|
3719
|
-
return this.error(
|
|
3710
|
+
return this.error(S.INVALID_ARGUMENT_TYPE, T(a, l));
|
|
3720
3711
|
}
|
|
3721
3712
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3722
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3713
|
+
return this.isEOF() || this.char() !== 125 ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, T(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3723
3714
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3724
3715
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3725
3716
|
var n = this.char();
|
|
@@ -3728,7 +3719,7 @@ var wn = (
|
|
|
3728
3719
|
this.bump();
|
|
3729
3720
|
var o = this.clonePosition();
|
|
3730
3721
|
if (!this.bumpUntil("'"))
|
|
3731
|
-
return this.error(
|
|
3722
|
+
return this.error(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, T(o, this.clonePosition()));
|
|
3732
3723
|
this.bump();
|
|
3733
3724
|
break;
|
|
3734
3725
|
}
|
|
@@ -3758,16 +3749,16 @@ var wn = (
|
|
|
3758
3749
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3759
3750
|
var n = [];
|
|
3760
3751
|
try {
|
|
3761
|
-
n =
|
|
3752
|
+
n = en(t);
|
|
3762
3753
|
} catch {
|
|
3763
|
-
return this.error(
|
|
3754
|
+
return this.error(S.INVALID_NUMBER_SKELETON, r);
|
|
3764
3755
|
}
|
|
3765
3756
|
return {
|
|
3766
3757
|
val: {
|
|
3767
|
-
type:
|
|
3758
|
+
type: ne.number,
|
|
3768
3759
|
tokens: n,
|
|
3769
3760
|
location: r,
|
|
3770
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3761
|
+
parsedOptions: this.shouldParseSkeletons ? on(n) : {}
|
|
3771
3762
|
},
|
|
3772
3763
|
err: null
|
|
3773
3764
|
};
|
|
@@ -3776,34 +3767,34 @@ var wn = (
|
|
|
3776
3767
|
if (m.length === 0) {
|
|
3777
3768
|
var h = this.clonePosition();
|
|
3778
3769
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3779
|
-
var _ = this.tryParseDecimalInteger(
|
|
3770
|
+
var _ = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3780
3771
|
if (_.err)
|
|
3781
3772
|
return _;
|
|
3782
|
-
p =
|
|
3773
|
+
p = T(h, this.clonePosition()), m = this.message.slice(h.offset, this.offset());
|
|
3783
3774
|
} else
|
|
3784
3775
|
break;
|
|
3785
3776
|
}
|
|
3786
3777
|
if (l.has(m))
|
|
3787
|
-
return this.error(r === "select" ?
|
|
3778
|
+
return this.error(r === "select" ? S.DUPLICATE_SELECT_ARGUMENT_SELECTOR : S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, p);
|
|
3788
3779
|
m === "other" && (a = !0), this.bumpSpace();
|
|
3789
|
-
var
|
|
3780
|
+
var E = this.clonePosition();
|
|
3790
3781
|
if (!this.bumpIf("{"))
|
|
3791
|
-
return this.error(r === "select" ?
|
|
3782
|
+
return this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
|
|
3792
3783
|
var R = this.parseMessage(t + 1, r, n);
|
|
3793
3784
|
if (R.err)
|
|
3794
3785
|
return R;
|
|
3795
|
-
var
|
|
3796
|
-
if (
|
|
3797
|
-
return
|
|
3786
|
+
var y = this.tryParseArgumentClose(E);
|
|
3787
|
+
if (y.err)
|
|
3788
|
+
return y;
|
|
3798
3789
|
s.push([
|
|
3799
3790
|
m,
|
|
3800
3791
|
{
|
|
3801
3792
|
value: R.val,
|
|
3802
|
-
location:
|
|
3793
|
+
location: T(E, this.clonePosition())
|
|
3803
3794
|
}
|
|
3804
3795
|
]), l.add(m), this.bumpSpace(), i = this.parseIdentifierIfPossible(), m = i.value, p = i.location;
|
|
3805
3796
|
}
|
|
3806
|
-
return s.length === 0 ? this.error(r === "select" ?
|
|
3797
|
+
return s.length === 0 ? this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR : S.EXPECT_PLURAL_ARGUMENT_SELECTOR, T(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(S.MISSING_OTHER_CLAUSE, T(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3807
3798
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3808
3799
|
var n = 1, o = this.clonePosition();
|
|
3809
3800
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3814,8 +3805,8 @@ var wn = (
|
|
|
3814
3805
|
else
|
|
3815
3806
|
break;
|
|
3816
3807
|
}
|
|
3817
|
-
var l =
|
|
3818
|
-
return i ? (a *= n,
|
|
3808
|
+
var l = T(o, this.clonePosition());
|
|
3809
|
+
return i ? (a *= n, _n(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3819
3810
|
}, e.prototype.offset = function() {
|
|
3820
3811
|
return this.position.offset;
|
|
3821
3812
|
}, e.prototype.isEOF = function() {
|
|
@@ -3830,7 +3821,7 @@ var wn = (
|
|
|
3830
3821
|
var t = this.position.offset;
|
|
3831
3822
|
if (t >= this.message.length)
|
|
3832
3823
|
throw Error("out of bound");
|
|
3833
|
-
var r =
|
|
3824
|
+
var r = Et(this.message, t);
|
|
3834
3825
|
if (r === void 0)
|
|
3835
3826
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3836
3827
|
return r;
|
|
@@ -3849,7 +3840,7 @@ var wn = (
|
|
|
3849
3840
|
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);
|
|
3850
3841
|
}
|
|
3851
3842
|
}, e.prototype.bumpIf = function(t) {
|
|
3852
|
-
if (
|
|
3843
|
+
if (Ye(this.message, t, this.offset())) {
|
|
3853
3844
|
for (var r = 0; r < t.length; r++)
|
|
3854
3845
|
this.bump();
|
|
3855
3846
|
return !0;
|
|
@@ -3871,7 +3862,7 @@ var wn = (
|
|
|
3871
3862
|
break;
|
|
3872
3863
|
}
|
|
3873
3864
|
}, e.prototype.bumpSpace = function() {
|
|
3874
|
-
for (; !this.isEOF() &&
|
|
3865
|
+
for (; !this.isEOF() && St(this.char()); )
|
|
3875
3866
|
this.bump();
|
|
3876
3867
|
}, e.prototype.peek = function() {
|
|
3877
3868
|
if (this.isEOF())
|
|
@@ -3881,97 +3872,97 @@ var wn = (
|
|
|
3881
3872
|
}, e;
|
|
3882
3873
|
}()
|
|
3883
3874
|
);
|
|
3884
|
-
function
|
|
3875
|
+
function Ie(e) {
|
|
3885
3876
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3886
3877
|
}
|
|
3887
|
-
function
|
|
3888
|
-
return
|
|
3878
|
+
function wn(e) {
|
|
3879
|
+
return Ie(e) || e === 47;
|
|
3889
3880
|
}
|
|
3890
|
-
function
|
|
3881
|
+
function En(e) {
|
|
3891
3882
|
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;
|
|
3892
3883
|
}
|
|
3893
|
-
function
|
|
3884
|
+
function St(e) {
|
|
3894
3885
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3895
3886
|
}
|
|
3896
|
-
function
|
|
3887
|
+
function kn(e) {
|
|
3897
3888
|
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;
|
|
3898
3889
|
}
|
|
3899
|
-
function
|
|
3890
|
+
function Ce(e) {
|
|
3900
3891
|
e.forEach(function(t) {
|
|
3901
|
-
if (delete t.location,
|
|
3892
|
+
if (delete t.location, ft(t) || gt(t))
|
|
3902
3893
|
for (var r in t.options)
|
|
3903
|
-
delete t.options[r].location,
|
|
3894
|
+
delete t.options[r].location, Ce(t.options[r].value);
|
|
3904
3895
|
else
|
|
3905
|
-
|
|
3896
|
+
ct(t) && vt(t.style) || (dt(t) || ht(t)) && Be(t.style) ? delete t.style.location : _t(t) && Ce(t.children);
|
|
3906
3897
|
});
|
|
3907
3898
|
}
|
|
3908
|
-
function
|
|
3909
|
-
t === void 0 && (t = {}), t =
|
|
3910
|
-
var r = new
|
|
3899
|
+
function Sn(e, t) {
|
|
3900
|
+
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3901
|
+
var r = new yn(e, t).parse();
|
|
3911
3902
|
if (r.err) {
|
|
3912
|
-
var n = SyntaxError(
|
|
3903
|
+
var n = SyntaxError(S[r.err.kind]);
|
|
3913
3904
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3914
3905
|
}
|
|
3915
|
-
return t != null && t.captureLocation ||
|
|
3906
|
+
return t != null && t.captureLocation || Ce(r.val), r.val;
|
|
3916
3907
|
}
|
|
3917
|
-
function
|
|
3918
|
-
var r = t && t.cache ? t.cache :
|
|
3908
|
+
function U(e, t) {
|
|
3909
|
+
var r = t && t.cache ? t.cache : Hn, n = t && t.serializer ? t.serializer : Bn, o = t && t.strategy ? t.strategy : An;
|
|
3919
3910
|
return o(e, {
|
|
3920
3911
|
cache: r,
|
|
3921
3912
|
serializer: n
|
|
3922
3913
|
});
|
|
3923
3914
|
}
|
|
3924
|
-
function
|
|
3915
|
+
function Tn(e) {
|
|
3925
3916
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
3926
3917
|
}
|
|
3927
|
-
function
|
|
3928
|
-
var o =
|
|
3918
|
+
function Tt(e, t, r, n) {
|
|
3919
|
+
var o = Tn(n) ? n : r(n), i = t.get(o);
|
|
3929
3920
|
return typeof i > "u" && (i = e.call(this, n), t.set(o, i)), i;
|
|
3930
3921
|
}
|
|
3931
|
-
function
|
|
3922
|
+
function At(e, t, r) {
|
|
3932
3923
|
var n = Array.prototype.slice.call(arguments, 3), o = r(n), i = t.get(o);
|
|
3933
3924
|
return typeof i > "u" && (i = e.apply(this, n), t.set(o, i)), i;
|
|
3934
3925
|
}
|
|
3935
|
-
function
|
|
3926
|
+
function xe(e, t, r, n, o) {
|
|
3936
3927
|
return r.bind(t, e, n, o);
|
|
3937
3928
|
}
|
|
3929
|
+
function An(e, t) {
|
|
3930
|
+
var r = e.length === 1 ? Tt : At;
|
|
3931
|
+
return xe(e, this, r, t.cache.create(), t.serializer);
|
|
3932
|
+
}
|
|
3938
3933
|
function Rn(e, t) {
|
|
3939
|
-
|
|
3940
|
-
return Ne(e, this, r, t.cache.create(), t.serializer);
|
|
3934
|
+
return xe(e, this, At, t.cache.create(), t.serializer);
|
|
3941
3935
|
}
|
|
3942
3936
|
function Ln(e, t) {
|
|
3943
|
-
return
|
|
3937
|
+
return xe(e, this, Tt, t.cache.create(), t.serializer);
|
|
3944
3938
|
}
|
|
3945
|
-
|
|
3946
|
-
return Ne(e, this, At, t.cache.create(), t.serializer);
|
|
3947
|
-
}
|
|
3948
|
-
var Hn = function() {
|
|
3939
|
+
var Bn = function() {
|
|
3949
3940
|
return JSON.stringify(arguments);
|
|
3950
3941
|
};
|
|
3951
|
-
function
|
|
3942
|
+
function Ne() {
|
|
3952
3943
|
this.cache = /* @__PURE__ */ Object.create(null);
|
|
3953
3944
|
}
|
|
3954
|
-
|
|
3945
|
+
Ne.prototype.get = function(e) {
|
|
3955
3946
|
return this.cache[e];
|
|
3956
3947
|
};
|
|
3957
|
-
|
|
3948
|
+
Ne.prototype.set = function(e, t) {
|
|
3958
3949
|
this.cache[e] = t;
|
|
3959
3950
|
};
|
|
3960
|
-
var
|
|
3951
|
+
var Hn = {
|
|
3961
3952
|
create: function() {
|
|
3962
|
-
return new
|
|
3953
|
+
return new Ne();
|
|
3963
3954
|
}
|
|
3964
|
-
},
|
|
3965
|
-
variadic:
|
|
3966
|
-
monadic:
|
|
3967
|
-
},
|
|
3955
|
+
}, $ = {
|
|
3956
|
+
variadic: Rn,
|
|
3957
|
+
monadic: Ln
|
|
3958
|
+
}, V;
|
|
3968
3959
|
(function(e) {
|
|
3969
3960
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3970
|
-
})(
|
|
3971
|
-
var
|
|
3961
|
+
})(V || (V = {}));
|
|
3962
|
+
var W = (
|
|
3972
3963
|
/** @class */
|
|
3973
3964
|
function(e) {
|
|
3974
|
-
|
|
3965
|
+
M(t, e);
|
|
3975
3966
|
function t(r, n, o) {
|
|
3976
3967
|
var i = e.call(this, r) || this;
|
|
3977
3968
|
return i.code = n, i.originalMessage = o, i;
|
|
@@ -3980,155 +3971,155 @@ var J = (
|
|
|
3980
3971
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3981
3972
|
}, t;
|
|
3982
3973
|
}(Error)
|
|
3983
|
-
),
|
|
3974
|
+
), tt = (
|
|
3984
3975
|
/** @class */
|
|
3985
3976
|
function(e) {
|
|
3986
|
-
|
|
3977
|
+
M(t, e);
|
|
3987
3978
|
function t(r, n, o, i) {
|
|
3988
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(o).join('", "'), '"'),
|
|
3979
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(o).join('", "'), '"'), V.INVALID_VALUE, i) || this;
|
|
3989
3980
|
}
|
|
3990
3981
|
return t;
|
|
3991
|
-
}(
|
|
3992
|
-
),
|
|
3982
|
+
}(W)
|
|
3983
|
+
), Pn = (
|
|
3993
3984
|
/** @class */
|
|
3994
3985
|
function(e) {
|
|
3995
|
-
|
|
3986
|
+
M(t, e);
|
|
3996
3987
|
function t(r, n, o) {
|
|
3997
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3988
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, o) || this;
|
|
3998
3989
|
}
|
|
3999
3990
|
return t;
|
|
4000
|
-
}(
|
|
4001
|
-
),
|
|
3991
|
+
}(W)
|
|
3992
|
+
), Dn = (
|
|
4002
3993
|
/** @class */
|
|
4003
3994
|
function(e) {
|
|
4004
|
-
|
|
3995
|
+
M(t, e);
|
|
4005
3996
|
function t(r, n) {
|
|
4006
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3997
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
|
|
4007
3998
|
}
|
|
4008
3999
|
return t;
|
|
4009
|
-
}(
|
|
4010
|
-
),
|
|
4000
|
+
}(W)
|
|
4001
|
+
), x;
|
|
4011
4002
|
(function(e) {
|
|
4012
4003
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
4013
|
-
})(
|
|
4014
|
-
function
|
|
4004
|
+
})(x || (x = {}));
|
|
4005
|
+
function In(e) {
|
|
4015
4006
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
4016
4007
|
var n = t[t.length - 1];
|
|
4017
|
-
return !n || n.type !==
|
|
4008
|
+
return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
|
|
4018
4009
|
}, []);
|
|
4019
4010
|
}
|
|
4020
|
-
function
|
|
4011
|
+
function Cn(e) {
|
|
4021
4012
|
return typeof e == "function";
|
|
4022
4013
|
}
|
|
4023
|
-
function
|
|
4024
|
-
if (e.length === 1 &&
|
|
4014
|
+
function _e(e, t, r, n, o, i, a) {
|
|
4015
|
+
if (e.length === 1 && Ke(e[0]))
|
|
4025
4016
|
return [
|
|
4026
4017
|
{
|
|
4027
|
-
type:
|
|
4018
|
+
type: x.literal,
|
|
4028
4019
|
value: e[0].value
|
|
4029
4020
|
}
|
|
4030
4021
|
];
|
|
4031
4022
|
for (var s = [], l = 0, m = e; l < m.length; l++) {
|
|
4032
4023
|
var p = m[l];
|
|
4033
|
-
if (
|
|
4024
|
+
if (Ke(p)) {
|
|
4034
4025
|
s.push({
|
|
4035
|
-
type:
|
|
4026
|
+
type: x.literal,
|
|
4036
4027
|
value: p.value
|
|
4037
4028
|
});
|
|
4038
4029
|
continue;
|
|
4039
4030
|
}
|
|
4040
4031
|
if (Zr(p)) {
|
|
4041
4032
|
typeof i == "number" && s.push({
|
|
4042
|
-
type:
|
|
4033
|
+
type: x.literal,
|
|
4043
4034
|
value: r.getNumberFormat(t).format(i)
|
|
4044
4035
|
});
|
|
4045
4036
|
continue;
|
|
4046
4037
|
}
|
|
4047
4038
|
var h = p.value;
|
|
4048
4039
|
if (!(o && h in o))
|
|
4049
|
-
throw new
|
|
4040
|
+
throw new Dn(h, a);
|
|
4050
4041
|
var _ = o[h];
|
|
4051
|
-
if (
|
|
4042
|
+
if (Wr(p)) {
|
|
4052
4043
|
(!_ || typeof _ == "string" || typeof _ == "number") && (_ = typeof _ == "string" || typeof _ == "number" ? String(_) : ""), s.push({
|
|
4053
|
-
type: typeof _ == "string" ?
|
|
4044
|
+
type: typeof _ == "string" ? x.literal : x.object,
|
|
4054
4045
|
value: _
|
|
4055
4046
|
});
|
|
4056
4047
|
continue;
|
|
4057
4048
|
}
|
|
4058
|
-
if (
|
|
4059
|
-
var
|
|
4049
|
+
if (dt(p)) {
|
|
4050
|
+
var E = typeof p.style == "string" ? n.date[p.style] : Be(p.style) ? p.style.parsedOptions : void 0;
|
|
4060
4051
|
s.push({
|
|
4061
|
-
type:
|
|
4062
|
-
value: r.getDateTimeFormat(t,
|
|
4052
|
+
type: x.literal,
|
|
4053
|
+
value: r.getDateTimeFormat(t, E).format(_)
|
|
4063
4054
|
});
|
|
4064
4055
|
continue;
|
|
4065
4056
|
}
|
|
4066
|
-
if (
|
|
4067
|
-
var
|
|
4057
|
+
if (ht(p)) {
|
|
4058
|
+
var E = typeof p.style == "string" ? n.time[p.style] : Be(p.style) ? p.style.parsedOptions : n.time.medium;
|
|
4068
4059
|
s.push({
|
|
4069
|
-
type:
|
|
4070
|
-
value: r.getDateTimeFormat(t,
|
|
4060
|
+
type: x.literal,
|
|
4061
|
+
value: r.getDateTimeFormat(t, E).format(_)
|
|
4071
4062
|
});
|
|
4072
4063
|
continue;
|
|
4073
4064
|
}
|
|
4074
|
-
if (
|
|
4075
|
-
var
|
|
4076
|
-
|
|
4077
|
-
type:
|
|
4078
|
-
value: r.getNumberFormat(t,
|
|
4065
|
+
if (ct(p)) {
|
|
4066
|
+
var E = typeof p.style == "string" ? n.number[p.style] : vt(p.style) ? p.style.parsedOptions : void 0;
|
|
4067
|
+
E && E.scale && (_ = _ * (E.scale || 1)), s.push({
|
|
4068
|
+
type: x.literal,
|
|
4069
|
+
value: r.getNumberFormat(t, E).format(_)
|
|
4079
4070
|
});
|
|
4080
4071
|
continue;
|
|
4081
4072
|
}
|
|
4082
|
-
if (
|
|
4083
|
-
var R = p.children,
|
|
4084
|
-
if (!
|
|
4085
|
-
throw new
|
|
4086
|
-
var
|
|
4073
|
+
if (_t(p)) {
|
|
4074
|
+
var R = p.children, y = p.value, w = o[y];
|
|
4075
|
+
if (!Cn(w))
|
|
4076
|
+
throw new Pn(y, "function", a);
|
|
4077
|
+
var k = _e(R, t, r, n, o, i), c = w(k.map(function(f) {
|
|
4087
4078
|
return f.value;
|
|
4088
4079
|
}));
|
|
4089
4080
|
Array.isArray(c) || (c = [c]), s.push.apply(s, c.map(function(f) {
|
|
4090
4081
|
return {
|
|
4091
|
-
type: typeof f == "string" ?
|
|
4082
|
+
type: typeof f == "string" ? x.literal : x.object,
|
|
4092
4083
|
value: f
|
|
4093
4084
|
};
|
|
4094
4085
|
}));
|
|
4095
4086
|
}
|
|
4096
|
-
if (
|
|
4087
|
+
if (ft(p)) {
|
|
4097
4088
|
var u = p.options[_] || p.options.other;
|
|
4098
4089
|
if (!u)
|
|
4099
|
-
throw new
|
|
4100
|
-
s.push.apply(s,
|
|
4090
|
+
throw new tt(p.value, _, Object.keys(p.options), a);
|
|
4091
|
+
s.push.apply(s, _e(u.value, t, r, n, o));
|
|
4101
4092
|
continue;
|
|
4102
4093
|
}
|
|
4103
|
-
if (
|
|
4094
|
+
if (gt(p)) {
|
|
4104
4095
|
var u = p.options["=".concat(_)];
|
|
4105
4096
|
if (!u) {
|
|
4106
4097
|
if (!Intl.PluralRules)
|
|
4107
|
-
throw new
|
|
4098
|
+
throw new W(`Intl.PluralRules is not available in this environment.
|
|
4108
4099
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4109
|
-
`,
|
|
4100
|
+
`, V.MISSING_INTL_API, a);
|
|
4110
4101
|
var d = r.getPluralRules(t, { type: p.pluralType }).select(_ - (p.offset || 0));
|
|
4111
4102
|
u = p.options[d] || p.options.other;
|
|
4112
4103
|
}
|
|
4113
4104
|
if (!u)
|
|
4114
|
-
throw new
|
|
4115
|
-
s.push.apply(s,
|
|
4105
|
+
throw new tt(p.value, _, Object.keys(p.options), a);
|
|
4106
|
+
s.push.apply(s, _e(u.value, t, r, n, o, _ - (p.offset || 0)));
|
|
4116
4107
|
continue;
|
|
4117
4108
|
}
|
|
4118
4109
|
}
|
|
4119
|
-
return
|
|
4110
|
+
return In(s);
|
|
4120
4111
|
}
|
|
4121
|
-
function
|
|
4122
|
-
return t ?
|
|
4123
|
-
return r[n] =
|
|
4112
|
+
function xn(e, t) {
|
|
4113
|
+
return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
4114
|
+
return r[n] = v(v({}, e[n]), t[n] || {}), r;
|
|
4124
4115
|
}, {})) : e;
|
|
4125
4116
|
}
|
|
4126
|
-
function
|
|
4117
|
+
function Nn(e, t) {
|
|
4127
4118
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
4128
|
-
return r[n] =
|
|
4129
|
-
},
|
|
4119
|
+
return r[n] = xn(e[n], t[n]), r;
|
|
4120
|
+
}, v({}, e)) : e;
|
|
4130
4121
|
}
|
|
4131
|
-
function
|
|
4122
|
+
function Se(e) {
|
|
4132
4123
|
return {
|
|
4133
4124
|
create: function() {
|
|
4134
4125
|
return {
|
|
@@ -4142,39 +4133,39 @@ function Te(e) {
|
|
|
4142
4133
|
}
|
|
4143
4134
|
};
|
|
4144
4135
|
}
|
|
4145
|
-
function
|
|
4136
|
+
function Fn(e) {
|
|
4146
4137
|
return e === void 0 && (e = {
|
|
4147
4138
|
number: {},
|
|
4148
4139
|
dateTime: {},
|
|
4149
4140
|
pluralRules: {}
|
|
4150
4141
|
}), {
|
|
4151
|
-
getNumberFormat:
|
|
4142
|
+
getNumberFormat: U(function() {
|
|
4152
4143
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4153
4144
|
r[n] = arguments[n];
|
|
4154
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
4145
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, z([void 0], r, !1)))();
|
|
4155
4146
|
}, {
|
|
4156
|
-
cache:
|
|
4157
|
-
strategy:
|
|
4147
|
+
cache: Se(e.number),
|
|
4148
|
+
strategy: $.variadic
|
|
4158
4149
|
}),
|
|
4159
|
-
getDateTimeFormat:
|
|
4150
|
+
getDateTimeFormat: U(function() {
|
|
4160
4151
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4161
4152
|
r[n] = arguments[n];
|
|
4162
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4153
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, z([void 0], r, !1)))();
|
|
4163
4154
|
}, {
|
|
4164
|
-
cache:
|
|
4165
|
-
strategy:
|
|
4155
|
+
cache: Se(e.dateTime),
|
|
4156
|
+
strategy: $.variadic
|
|
4166
4157
|
}),
|
|
4167
|
-
getPluralRules:
|
|
4158
|
+
getPluralRules: U(function() {
|
|
4168
4159
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4169
4160
|
r[n] = arguments[n];
|
|
4170
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4161
|
+
return new ((t = Intl.PluralRules).bind.apply(t, z([void 0], r, !1)))();
|
|
4171
4162
|
}, {
|
|
4172
|
-
cache:
|
|
4173
|
-
strategy:
|
|
4163
|
+
cache: Se(e.pluralRules),
|
|
4164
|
+
strategy: $.variadic
|
|
4174
4165
|
})
|
|
4175
4166
|
};
|
|
4176
4167
|
}
|
|
4177
|
-
var
|
|
4168
|
+
var Rt = (
|
|
4178
4169
|
/** @class */
|
|
4179
4170
|
function() {
|
|
4180
4171
|
function e(t, r, n, o) {
|
|
@@ -4189,11 +4180,11 @@ var Lt = (
|
|
|
4189
4180
|
if (m.length === 1)
|
|
4190
4181
|
return m[0].value;
|
|
4191
4182
|
var p = m.reduce(function(h, _) {
|
|
4192
|
-
return !h.length || _.type !==
|
|
4183
|
+
return !h.length || _.type !== x.literal || typeof h[h.length - 1] != "string" ? h.push(_.value) : h[h.length - 1] += _.value, h;
|
|
4193
4184
|
}, []);
|
|
4194
4185
|
return p.length <= 1 ? p[0] || "" : p;
|
|
4195
4186
|
}, this.formatToParts = function(l) {
|
|
4196
|
-
return
|
|
4187
|
+
return _e(i.ast, i.locales, i.formatters, i.formats, l, void 0, i.message);
|
|
4197
4188
|
}, this.resolvedOptions = function() {
|
|
4198
4189
|
var l;
|
|
4199
4190
|
return {
|
|
@@ -4206,13 +4197,13 @@ var Lt = (
|
|
|
4206
4197
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4207
4198
|
var a = o || {};
|
|
4208
4199
|
a.formatters;
|
|
4209
|
-
var s =
|
|
4210
|
-
this.ast = e.__parse(t,
|
|
4200
|
+
var s = Kr(a, ["formatters"]);
|
|
4201
|
+
this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
|
|
4211
4202
|
} else
|
|
4212
4203
|
this.ast = t;
|
|
4213
4204
|
if (!Array.isArray(this.ast))
|
|
4214
4205
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4215
|
-
this.formats =
|
|
4206
|
+
this.formats = Nn(e.formats, n), this.formatters = o && o.formatters || Fn(this.formatterCache);
|
|
4216
4207
|
}
|
|
4217
4208
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4218
4209
|
get: function() {
|
|
@@ -4225,7 +4216,7 @@ var Lt = (
|
|
|
4225
4216
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4226
4217
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4227
4218
|
}
|
|
4228
|
-
}, e.__parse =
|
|
4219
|
+
}, e.__parse = Sn, e.formats = {
|
|
4229
4220
|
number: {
|
|
4230
4221
|
integer: {
|
|
4231
4222
|
maximumFractionDigits: 0
|
|
@@ -4285,14 +4276,14 @@ var Lt = (
|
|
|
4285
4276
|
}
|
|
4286
4277
|
}, e;
|
|
4287
4278
|
}()
|
|
4288
|
-
),
|
|
4279
|
+
), Y;
|
|
4289
4280
|
(function(e) {
|
|
4290
4281
|
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";
|
|
4291
|
-
})(
|
|
4292
|
-
var
|
|
4282
|
+
})(Y || (Y = {}));
|
|
4283
|
+
var le = (
|
|
4293
4284
|
/** @class */
|
|
4294
4285
|
function(e) {
|
|
4295
|
-
|
|
4286
|
+
M(t, e);
|
|
4296
4287
|
function t(r, n, o) {
|
|
4297
4288
|
var i = this, a = o ? o instanceof Error ? o : new Error(String(o)) : void 0;
|
|
4298
4289
|
return i = e.call(this, "[@formatjs/intl Error ".concat(r, "] ").concat(n, `
|
|
@@ -4302,49 +4293,49 @@ var me = (
|
|
|
4302
4293
|
}
|
|
4303
4294
|
return t;
|
|
4304
4295
|
}(Error)
|
|
4305
|
-
),
|
|
4296
|
+
), On = (
|
|
4306
4297
|
/** @class */
|
|
4307
4298
|
function(e) {
|
|
4308
|
-
|
|
4299
|
+
M(t, e);
|
|
4309
4300
|
function t(r, n) {
|
|
4310
|
-
return e.call(this,
|
|
4301
|
+
return e.call(this, Y.UNSUPPORTED_FORMATTER, r, n) || this;
|
|
4311
4302
|
}
|
|
4312
4303
|
return t;
|
|
4313
|
-
}(
|
|
4314
|
-
),
|
|
4304
|
+
}(le)
|
|
4305
|
+
), Gn = (
|
|
4315
4306
|
/** @class */
|
|
4316
4307
|
function(e) {
|
|
4317
|
-
|
|
4308
|
+
M(t, e);
|
|
4318
4309
|
function t(r, n) {
|
|
4319
|
-
return e.call(this,
|
|
4310
|
+
return e.call(this, Y.INVALID_CONFIG, r, n) || this;
|
|
4320
4311
|
}
|
|
4321
4312
|
return t;
|
|
4322
|
-
}(
|
|
4323
|
-
),
|
|
4313
|
+
}(le)
|
|
4314
|
+
), rt = (
|
|
4324
4315
|
/** @class */
|
|
4325
4316
|
function(e) {
|
|
4326
|
-
|
|
4317
|
+
M(t, e);
|
|
4327
4318
|
function t(r, n) {
|
|
4328
|
-
return e.call(this,
|
|
4319
|
+
return e.call(this, Y.MISSING_DATA, r, n) || this;
|
|
4329
4320
|
}
|
|
4330
4321
|
return t;
|
|
4331
|
-
}(
|
|
4332
|
-
),
|
|
4322
|
+
}(le)
|
|
4323
|
+
), O = (
|
|
4333
4324
|
/** @class */
|
|
4334
4325
|
function(e) {
|
|
4335
|
-
|
|
4326
|
+
M(t, e);
|
|
4336
4327
|
function t(r, n, o) {
|
|
4337
|
-
var i = e.call(this,
|
|
4328
|
+
var i = e.call(this, Y.FORMAT_ERROR, "".concat(r, `
|
|
4338
4329
|
Locale: `).concat(n, `
|
|
4339
4330
|
`), o) || this;
|
|
4340
4331
|
return i.locale = n, i;
|
|
4341
4332
|
}
|
|
4342
4333
|
return t;
|
|
4343
|
-
}(
|
|
4344
|
-
),
|
|
4334
|
+
}(le)
|
|
4335
|
+
), Te = (
|
|
4345
4336
|
/** @class */
|
|
4346
4337
|
function(e) {
|
|
4347
|
-
|
|
4338
|
+
M(t, e);
|
|
4348
4339
|
function t(r, n, o, i) {
|
|
4349
4340
|
var a = e.call(this, "".concat(r, `
|
|
4350
4341
|
MessageID: `).concat(o == null ? void 0 : o.id, `
|
|
@@ -4354,41 +4345,41 @@ Description: `).concat(o == null ? void 0 : o.description, `
|
|
|
4354
4345
|
return a.descriptor = o, a.locale = n, a;
|
|
4355
4346
|
}
|
|
4356
4347
|
return t;
|
|
4357
|
-
}(
|
|
4358
|
-
),
|
|
4348
|
+
}(O)
|
|
4349
|
+
), Mn = (
|
|
4359
4350
|
/** @class */
|
|
4360
4351
|
function(e) {
|
|
4361
|
-
|
|
4352
|
+
M(t, e);
|
|
4362
4353
|
function t(r, n) {
|
|
4363
|
-
var o = e.call(this,
|
|
4354
|
+
var o = e.call(this, Y.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) {
|
|
4364
4355
|
var a;
|
|
4365
4356
|
return (a = i.value) !== null && a !== void 0 ? a : JSON.stringify(i);
|
|
4366
4357
|
}).join(), ")") : "id", " as fallback.")) || this;
|
|
4367
4358
|
return o.descriptor = r, o;
|
|
4368
4359
|
}
|
|
4369
4360
|
return t;
|
|
4370
|
-
}(
|
|
4361
|
+
}(le)
|
|
4371
4362
|
);
|
|
4372
|
-
function
|
|
4363
|
+
function ee(e, t, r) {
|
|
4373
4364
|
return r === void 0 && (r = {}), t.reduce(function(n, o) {
|
|
4374
4365
|
return o in e ? n[o] = e[o] : o in r && (n[o] = r[o]), n;
|
|
4375
4366
|
}, {});
|
|
4376
4367
|
}
|
|
4377
|
-
var
|
|
4368
|
+
var qn = function(e) {
|
|
4378
4369
|
process.env.NODE_ENV !== "production" && console.error(e);
|
|
4379
|
-
},
|
|
4370
|
+
}, Un = function(e) {
|
|
4380
4371
|
process.env.NODE_ENV !== "production" && console.warn(e);
|
|
4381
|
-
},
|
|
4372
|
+
}, $n = {
|
|
4382
4373
|
formats: {},
|
|
4383
4374
|
messages: {},
|
|
4384
4375
|
timeZone: void 0,
|
|
4385
4376
|
defaultLocale: "en",
|
|
4386
4377
|
defaultFormats: {},
|
|
4387
4378
|
fallbackOnEmptyString: !0,
|
|
4388
|
-
onError:
|
|
4389
|
-
onWarn:
|
|
4379
|
+
onError: qn,
|
|
4380
|
+
onWarn: Un
|
|
4390
4381
|
};
|
|
4391
|
-
function
|
|
4382
|
+
function Lt() {
|
|
4392
4383
|
return {
|
|
4393
4384
|
dateTime: {},
|
|
4394
4385
|
number: {},
|
|
@@ -4413,139 +4404,139 @@ function Z(e) {
|
|
|
4413
4404
|
}
|
|
4414
4405
|
};
|
|
4415
4406
|
}
|
|
4416
|
-
function
|
|
4417
|
-
e === void 0 && (e =
|
|
4418
|
-
var t = Intl.RelativeTimeFormat, r = Intl.ListFormat, n = Intl.DisplayNames, o =
|
|
4407
|
+
function Vn(e) {
|
|
4408
|
+
e === void 0 && (e = Lt());
|
|
4409
|
+
var t = Intl.RelativeTimeFormat, r = Intl.ListFormat, n = Intl.DisplayNames, o = U(function() {
|
|
4419
4410
|
for (var s, l = [], m = 0; m < arguments.length; m++)
|
|
4420
4411
|
l[m] = arguments[m];
|
|
4421
|
-
return new ((s = Intl.DateTimeFormat).bind.apply(s,
|
|
4412
|
+
return new ((s = Intl.DateTimeFormat).bind.apply(s, z([void 0], l, !1)))();
|
|
4422
4413
|
}, {
|
|
4423
4414
|
cache: Z(e.dateTime),
|
|
4424
|
-
strategy:
|
|
4425
|
-
}), i =
|
|
4415
|
+
strategy: $.variadic
|
|
4416
|
+
}), i = U(function() {
|
|
4426
4417
|
for (var s, l = [], m = 0; m < arguments.length; m++)
|
|
4427
4418
|
l[m] = arguments[m];
|
|
4428
|
-
return new ((s = Intl.NumberFormat).bind.apply(s,
|
|
4419
|
+
return new ((s = Intl.NumberFormat).bind.apply(s, z([void 0], l, !1)))();
|
|
4429
4420
|
}, {
|
|
4430
4421
|
cache: Z(e.number),
|
|
4431
|
-
strategy:
|
|
4432
|
-
}), a =
|
|
4422
|
+
strategy: $.variadic
|
|
4423
|
+
}), a = U(function() {
|
|
4433
4424
|
for (var s, l = [], m = 0; m < arguments.length; m++)
|
|
4434
4425
|
l[m] = arguments[m];
|
|
4435
|
-
return new ((s = Intl.PluralRules).bind.apply(s,
|
|
4426
|
+
return new ((s = Intl.PluralRules).bind.apply(s, z([void 0], l, !1)))();
|
|
4436
4427
|
}, {
|
|
4437
4428
|
cache: Z(e.pluralRules),
|
|
4438
|
-
strategy:
|
|
4429
|
+
strategy: $.variadic
|
|
4439
4430
|
});
|
|
4440
4431
|
return {
|
|
4441
4432
|
getDateTimeFormat: o,
|
|
4442
4433
|
getNumberFormat: i,
|
|
4443
|
-
getMessageFormat:
|
|
4444
|
-
return new
|
|
4434
|
+
getMessageFormat: U(function(s, l, m, p) {
|
|
4435
|
+
return new Rt(s, l, m, v({ formatters: {
|
|
4445
4436
|
getNumberFormat: i,
|
|
4446
4437
|
getDateTimeFormat: o,
|
|
4447
4438
|
getPluralRules: a
|
|
4448
4439
|
} }, p || {}));
|
|
4449
4440
|
}, {
|
|
4450
4441
|
cache: Z(e.message),
|
|
4451
|
-
strategy:
|
|
4442
|
+
strategy: $.variadic
|
|
4452
4443
|
}),
|
|
4453
|
-
getRelativeTimeFormat:
|
|
4444
|
+
getRelativeTimeFormat: U(function() {
|
|
4454
4445
|
for (var s = [], l = 0; l < arguments.length; l++)
|
|
4455
4446
|
s[l] = arguments[l];
|
|
4456
|
-
return new (t.bind.apply(t,
|
|
4447
|
+
return new (t.bind.apply(t, z([void 0], s, !1)))();
|
|
4457
4448
|
}, {
|
|
4458
4449
|
cache: Z(e.relativeTime),
|
|
4459
|
-
strategy:
|
|
4450
|
+
strategy: $.variadic
|
|
4460
4451
|
}),
|
|
4461
4452
|
getPluralRules: a,
|
|
4462
|
-
getListFormat:
|
|
4453
|
+
getListFormat: U(function() {
|
|
4463
4454
|
for (var s = [], l = 0; l < arguments.length; l++)
|
|
4464
4455
|
s[l] = arguments[l];
|
|
4465
|
-
return new (r.bind.apply(r,
|
|
4456
|
+
return new (r.bind.apply(r, z([void 0], s, !1)))();
|
|
4466
4457
|
}, {
|
|
4467
4458
|
cache: Z(e.list),
|
|
4468
|
-
strategy:
|
|
4459
|
+
strategy: $.variadic
|
|
4469
4460
|
}),
|
|
4470
|
-
getDisplayNames:
|
|
4461
|
+
getDisplayNames: U(function() {
|
|
4471
4462
|
for (var s = [], l = 0; l < arguments.length; l++)
|
|
4472
4463
|
s[l] = arguments[l];
|
|
4473
|
-
return new (n.bind.apply(n,
|
|
4464
|
+
return new (n.bind.apply(n, z([void 0], s, !1)))();
|
|
4474
4465
|
}, {
|
|
4475
4466
|
cache: Z(e.displayNames),
|
|
4476
|
-
strategy:
|
|
4467
|
+
strategy: $.variadic
|
|
4477
4468
|
})
|
|
4478
4469
|
};
|
|
4479
4470
|
}
|
|
4480
|
-
function
|
|
4471
|
+
function Fe(e, t, r, n) {
|
|
4481
4472
|
var o = e && e[t], i;
|
|
4482
4473
|
if (o && (i = o[r]), i)
|
|
4483
4474
|
return i;
|
|
4484
|
-
n(new
|
|
4475
|
+
n(new On("No ".concat(t, " format named: ").concat(r)));
|
|
4485
4476
|
}
|
|
4486
|
-
function
|
|
4477
|
+
function zn(e, t, r) {
|
|
4487
4478
|
if (r === void 0 && (r = Error), !e)
|
|
4488
4479
|
throw new r(t);
|
|
4489
4480
|
}
|
|
4490
|
-
function
|
|
4481
|
+
function fe(e, t) {
|
|
4491
4482
|
return Object.keys(e).reduce(function(r, n) {
|
|
4492
|
-
return r[n] =
|
|
4483
|
+
return r[n] = v({ timeZone: t }, e[n]), r;
|
|
4493
4484
|
}, {});
|
|
4494
4485
|
}
|
|
4495
|
-
function
|
|
4496
|
-
var r = Object.keys(
|
|
4486
|
+
function nt(e, t) {
|
|
4487
|
+
var r = Object.keys(v(v({}, e), t));
|
|
4497
4488
|
return r.reduce(function(n, o) {
|
|
4498
|
-
return n[o] =
|
|
4489
|
+
return n[o] = v(v({}, e[o] || {}), t[o] || {}), n;
|
|
4499
4490
|
}, {});
|
|
4500
4491
|
}
|
|
4501
|
-
function
|
|
4492
|
+
function ot(e, t) {
|
|
4502
4493
|
if (!t)
|
|
4503
4494
|
return e;
|
|
4504
|
-
var r =
|
|
4505
|
-
return
|
|
4495
|
+
var r = Rt.formats;
|
|
4496
|
+
return v(v(v({}, r), e), { date: nt(fe(r.date, t), fe(e.date || {}, t)), time: nt(fe(r.time, t), fe(e.time || {}, t)) });
|
|
4506
4497
|
}
|
|
4507
|
-
var
|
|
4508
|
-
var i = e.locale, a = e.formats, s = e.messages, l = e.defaultLocale, m = e.defaultFormats, p = e.fallbackOnEmptyString, h = e.onError, _ = e.timeZone,
|
|
4498
|
+
var it = function(e, t, r, n, o) {
|
|
4499
|
+
var i = e.locale, a = e.formats, s = e.messages, l = e.defaultLocale, m = e.defaultFormats, p = e.fallbackOnEmptyString, h = e.onError, _ = e.timeZone, E = e.defaultRichTextElements;
|
|
4509
4500
|
r === void 0 && (r = { id: "" });
|
|
4510
|
-
var R = r.id,
|
|
4511
|
-
|
|
4512
|
-
var
|
|
4501
|
+
var R = r.id, y = r.defaultMessage;
|
|
4502
|
+
zn(!!R, "[@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");
|
|
4503
|
+
var w = String(R), k = (
|
|
4513
4504
|
// In case messages is Object.create(null)
|
|
4514
4505
|
// e.g import('foo.json') from webpack)
|
|
4515
4506
|
// See https://github.com/formatjs/formatjs/issues/1914
|
|
4516
|
-
s && Object.prototype.hasOwnProperty.call(s,
|
|
4507
|
+
s && Object.prototype.hasOwnProperty.call(s, w) && s[w]
|
|
4517
4508
|
);
|
|
4518
|
-
if (Array.isArray(
|
|
4519
|
-
return
|
|
4520
|
-
if (!n &&
|
|
4521
|
-
return
|
|
4522
|
-
if (n =
|
|
4523
|
-
if (p === !1 &&
|
|
4524
|
-
return
|
|
4525
|
-
if ((!
|
|
4509
|
+
if (Array.isArray(k) && k.length === 1 && k[0].type === L.literal)
|
|
4510
|
+
return k[0].value;
|
|
4511
|
+
if (!n && k && typeof k == "string" && !E)
|
|
4512
|
+
return k.replace(/'\{(.*?)\}'/gi, "{$1}");
|
|
4513
|
+
if (n = v(v({}, E), n || {}), a = ot(a, _), m = ot(m, _), !k) {
|
|
4514
|
+
if (p === !1 && k === "")
|
|
4515
|
+
return k;
|
|
4516
|
+
if ((!y || i && i.toLowerCase() !== l.toLowerCase()) && h(new Mn(r, i)), y)
|
|
4526
4517
|
try {
|
|
4527
|
-
var c = t.getMessageFormat(
|
|
4518
|
+
var c = t.getMessageFormat(y, l, m, o);
|
|
4528
4519
|
return c.format(n);
|
|
4529
4520
|
} catch (u) {
|
|
4530
|
-
return h(new
|
|
4521
|
+
return h(new Te('Error formatting default message for: "'.concat(w, '", rendering default message verbatim'), i, r, u)), typeof y == "string" ? y : w;
|
|
4531
4522
|
}
|
|
4532
|
-
return
|
|
4523
|
+
return w;
|
|
4533
4524
|
}
|
|
4534
4525
|
try {
|
|
4535
|
-
var c = t.getMessageFormat(
|
|
4526
|
+
var c = t.getMessageFormat(k, i, a, v({ formatters: t }, o || {}));
|
|
4536
4527
|
return c.format(n);
|
|
4537
4528
|
} catch (u) {
|
|
4538
|
-
h(new
|
|
4529
|
+
h(new Te('Error formatting message: "'.concat(w, '", using ').concat(y ? "default message" : "id", " as fallback."), i, r, u));
|
|
4539
4530
|
}
|
|
4540
|
-
if (
|
|
4531
|
+
if (y)
|
|
4541
4532
|
try {
|
|
4542
|
-
var c = t.getMessageFormat(
|
|
4533
|
+
var c = t.getMessageFormat(y, l, m, o);
|
|
4543
4534
|
return c.format(n);
|
|
4544
4535
|
} catch (u) {
|
|
4545
|
-
h(new
|
|
4536
|
+
h(new Te('Error formatting the default message for: "'.concat(w, '", rendering message verbatim'), i, r, u));
|
|
4546
4537
|
}
|
|
4547
|
-
return typeof
|
|
4548
|
-
},
|
|
4538
|
+
return typeof k == "string" ? k : typeof y == "string" ? y : w;
|
|
4539
|
+
}, Bt = [
|
|
4549
4540
|
"formatMatcher",
|
|
4550
4541
|
"timeZone",
|
|
4551
4542
|
"hour12",
|
|
@@ -4566,42 +4557,42 @@ var st = function(e, t, r, n, o) {
|
|
|
4566
4557
|
"numberingSystem",
|
|
4567
4558
|
"fractionalSecondDigits"
|
|
4568
4559
|
];
|
|
4569
|
-
function
|
|
4560
|
+
function ve(e, t, r, n) {
|
|
4570
4561
|
var o = e.locale, i = e.formats, a = e.onError, s = e.timeZone;
|
|
4571
4562
|
n === void 0 && (n = {});
|
|
4572
|
-
var l = n.format, m =
|
|
4573
|
-
return t === "time" && !p.hour && !p.minute && !p.second && !p.timeStyle && !p.dateStyle && (p =
|
|
4563
|
+
var l = n.format, m = v(v({}, s && { timeZone: s }), l && Fe(i, t, l, a)), p = ee(n, Bt, m);
|
|
4564
|
+
return t === "time" && !p.hour && !p.minute && !p.second && !p.timeStyle && !p.dateStyle && (p = v(v({}, p), { hour: "numeric", minute: "numeric" })), r(o, p);
|
|
4574
4565
|
}
|
|
4575
|
-
function
|
|
4566
|
+
function Xn(e, t) {
|
|
4576
4567
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
4577
4568
|
r[n - 2] = arguments[n];
|
|
4578
4569
|
var o = r[0], i = r[1], a = i === void 0 ? {} : i, s = typeof o == "string" ? new Date(o || 0) : o;
|
|
4579
4570
|
try {
|
|
4580
|
-
return
|
|
4571
|
+
return ve(e, "date", t, a).format(s);
|
|
4581
4572
|
} catch (l) {
|
|
4582
|
-
e.onError(new
|
|
4573
|
+
e.onError(new O("Error formatting date.", e.locale, l));
|
|
4583
4574
|
}
|
|
4584
4575
|
return String(s);
|
|
4585
4576
|
}
|
|
4586
|
-
function
|
|
4577
|
+
function Kn(e, t) {
|
|
4587
4578
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
4588
4579
|
r[n - 2] = arguments[n];
|
|
4589
4580
|
var o = r[0], i = r[1], a = i === void 0 ? {} : i, s = typeof o == "string" ? new Date(o || 0) : o;
|
|
4590
4581
|
try {
|
|
4591
|
-
return
|
|
4582
|
+
return ve(e, "time", t, a).format(s);
|
|
4592
4583
|
} catch (l) {
|
|
4593
|
-
e.onError(new
|
|
4584
|
+
e.onError(new O("Error formatting time.", e.locale, l));
|
|
4594
4585
|
}
|
|
4595
4586
|
return String(s);
|
|
4596
4587
|
}
|
|
4597
|
-
function
|
|
4588
|
+
function Wn(e, t) {
|
|
4598
4589
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
4599
4590
|
r[n - 2] = arguments[n];
|
|
4600
|
-
var o = r[0], i = r[1], a = r[2], s = a === void 0 ? {} : a, l = e.timeZone, m = e.locale, p = e.onError, h =
|
|
4591
|
+
var o = r[0], i = r[1], a = r[2], s = a === void 0 ? {} : a, l = e.timeZone, m = e.locale, p = e.onError, h = ee(s, Bt, l ? { timeZone: l } : {});
|
|
4601
4592
|
try {
|
|
4602
4593
|
return t(m, h).formatRange(o, i);
|
|
4603
4594
|
} catch (_) {
|
|
4604
|
-
p(new
|
|
4595
|
+
p(new O("Error formatting date time range.", e.locale, _));
|
|
4605
4596
|
}
|
|
4606
4597
|
return String(o);
|
|
4607
4598
|
}
|
|
@@ -4610,115 +4601,115 @@ function Zn(e, t) {
|
|
|
4610
4601
|
r[n - 2] = arguments[n];
|
|
4611
4602
|
var o = r[0], i = r[1], a = i === void 0 ? {} : i, s = typeof o == "string" ? new Date(o || 0) : o;
|
|
4612
4603
|
try {
|
|
4613
|
-
return
|
|
4604
|
+
return ve(e, "date", t, a).formatToParts(s);
|
|
4614
4605
|
} catch (l) {
|
|
4615
|
-
e.onError(new
|
|
4606
|
+
e.onError(new O("Error formatting date.", e.locale, l));
|
|
4616
4607
|
}
|
|
4617
4608
|
return [];
|
|
4618
4609
|
}
|
|
4619
|
-
function
|
|
4610
|
+
function Jn(e, t) {
|
|
4620
4611
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
4621
4612
|
r[n - 2] = arguments[n];
|
|
4622
4613
|
var o = r[0], i = r[1], a = i === void 0 ? {} : i, s = typeof o == "string" ? new Date(o || 0) : o;
|
|
4623
4614
|
try {
|
|
4624
|
-
return
|
|
4615
|
+
return ve(e, "time", t, a).formatToParts(s);
|
|
4625
4616
|
} catch (l) {
|
|
4626
|
-
e.onError(new
|
|
4617
|
+
e.onError(new O("Error formatting time.", e.locale, l));
|
|
4627
4618
|
}
|
|
4628
4619
|
return [];
|
|
4629
4620
|
}
|
|
4630
|
-
var
|
|
4621
|
+
var Yn = [
|
|
4631
4622
|
"style",
|
|
4632
4623
|
"type",
|
|
4633
4624
|
"fallback",
|
|
4634
4625
|
"languageDisplay"
|
|
4635
4626
|
];
|
|
4636
|
-
function
|
|
4627
|
+
function Qn(e, t, r, n) {
|
|
4637
4628
|
var o = e.locale, i = e.onError, a = Intl.DisplayNames;
|
|
4638
|
-
a || i(new
|
|
4629
|
+
a || i(new W(`Intl.DisplayNames is not available in this environment.
|
|
4639
4630
|
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
4640
|
-
`,
|
|
4641
|
-
var s =
|
|
4631
|
+
`, V.MISSING_INTL_API));
|
|
4632
|
+
var s = ee(n, Yn);
|
|
4642
4633
|
try {
|
|
4643
4634
|
return t(o, s).of(r);
|
|
4644
4635
|
} catch (l) {
|
|
4645
|
-
i(new
|
|
4636
|
+
i(new O("Error formatting display name.", o, l));
|
|
4646
4637
|
}
|
|
4647
4638
|
}
|
|
4648
|
-
var
|
|
4639
|
+
var eo = [
|
|
4649
4640
|
"type",
|
|
4650
4641
|
"style"
|
|
4651
|
-
],
|
|
4652
|
-
function
|
|
4653
|
-
return "".concat(
|
|
4642
|
+
], st = Date.now();
|
|
4643
|
+
function to(e) {
|
|
4644
|
+
return "".concat(st, "_").concat(e, "_").concat(st);
|
|
4654
4645
|
}
|
|
4655
|
-
function
|
|
4646
|
+
function ro(e, t, r, n) {
|
|
4656
4647
|
n === void 0 && (n = {});
|
|
4657
|
-
var o =
|
|
4648
|
+
var o = Ht(e, t, r, n).reduce(function(i, a) {
|
|
4658
4649
|
var s = a.value;
|
|
4659
4650
|
return typeof s != "string" ? i.push(s) : typeof i[i.length - 1] == "string" ? i[i.length - 1] += s : i.push(s), i;
|
|
4660
4651
|
}, []);
|
|
4661
4652
|
return o.length === 1 ? o[0] : o.length === 0 ? "" : o;
|
|
4662
4653
|
}
|
|
4663
|
-
function
|
|
4654
|
+
function Ht(e, t, r, n) {
|
|
4664
4655
|
var o = e.locale, i = e.onError;
|
|
4665
4656
|
n === void 0 && (n = {});
|
|
4666
4657
|
var a = Intl.ListFormat;
|
|
4667
|
-
a || i(new
|
|
4658
|
+
a || i(new W(`Intl.ListFormat is not available in this environment.
|
|
4668
4659
|
Try polyfilling it using "@formatjs/intl-listformat"
|
|
4669
|
-
`,
|
|
4670
|
-
var s =
|
|
4660
|
+
`, V.MISSING_INTL_API));
|
|
4661
|
+
var s = ee(n, eo);
|
|
4671
4662
|
try {
|
|
4672
4663
|
var l = {}, m = r.map(function(p, h) {
|
|
4673
4664
|
if (typeof p == "object") {
|
|
4674
|
-
var _ =
|
|
4665
|
+
var _ = to(h);
|
|
4675
4666
|
return l[_] = p, _;
|
|
4676
4667
|
}
|
|
4677
4668
|
return String(p);
|
|
4678
4669
|
});
|
|
4679
4670
|
return t(o, s).formatToParts(m).map(function(p) {
|
|
4680
|
-
return p.type === "literal" ? p :
|
|
4671
|
+
return p.type === "literal" ? p : v(v({}, p), { value: l[p.value] || p.value });
|
|
4681
4672
|
});
|
|
4682
4673
|
} catch (p) {
|
|
4683
|
-
i(new
|
|
4674
|
+
i(new O("Error formatting list.", o, p));
|
|
4684
4675
|
}
|
|
4685
4676
|
return r;
|
|
4686
4677
|
}
|
|
4687
|
-
var
|
|
4688
|
-
function
|
|
4678
|
+
var no = ["type"];
|
|
4679
|
+
function oo(e, t, r, n) {
|
|
4689
4680
|
var o = e.locale, i = e.onError;
|
|
4690
|
-
n === void 0 && (n = {}), Intl.PluralRules || i(new
|
|
4681
|
+
n === void 0 && (n = {}), Intl.PluralRules || i(new W(`Intl.PluralRules is not available in this environment.
|
|
4691
4682
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4692
|
-
`,
|
|
4693
|
-
var a =
|
|
4683
|
+
`, V.MISSING_INTL_API));
|
|
4684
|
+
var a = ee(n, no);
|
|
4694
4685
|
try {
|
|
4695
4686
|
return t(o, a).select(r);
|
|
4696
4687
|
} catch (s) {
|
|
4697
|
-
i(new
|
|
4688
|
+
i(new O("Error formatting plural.", o, s));
|
|
4698
4689
|
}
|
|
4699
4690
|
return "other";
|
|
4700
4691
|
}
|
|
4701
|
-
var
|
|
4702
|
-
function
|
|
4692
|
+
var io = ["numeric", "style"];
|
|
4693
|
+
function so(e, t, r) {
|
|
4703
4694
|
var n = e.locale, o = e.formats, i = e.onError;
|
|
4704
4695
|
r === void 0 && (r = {});
|
|
4705
|
-
var a = r.format, s = !!a &&
|
|
4696
|
+
var a = r.format, s = !!a && Fe(o, "relative", a, i) || {}, l = ee(r, io, s);
|
|
4706
4697
|
return t(n, l);
|
|
4707
4698
|
}
|
|
4708
|
-
function
|
|
4699
|
+
function ao(e, t, r, n, o) {
|
|
4709
4700
|
o === void 0 && (o = {}), n || (n = "second");
|
|
4710
4701
|
var i = Intl.RelativeTimeFormat;
|
|
4711
|
-
i || e.onError(new
|
|
4702
|
+
i || e.onError(new W(`Intl.RelativeTimeFormat is not available in this environment.
|
|
4712
4703
|
Try polyfilling it using "@formatjs/intl-relativetimeformat"
|
|
4713
|
-
`,
|
|
4704
|
+
`, V.MISSING_INTL_API));
|
|
4714
4705
|
try {
|
|
4715
|
-
return
|
|
4706
|
+
return so(e, t, o).format(r, n);
|
|
4716
4707
|
} catch (a) {
|
|
4717
|
-
e.onError(new
|
|
4708
|
+
e.onError(new O("Error formatting relative time.", e.locale, a));
|
|
4718
4709
|
}
|
|
4719
4710
|
return String(r);
|
|
4720
4711
|
}
|
|
4721
|
-
var
|
|
4712
|
+
var lo = [
|
|
4722
4713
|
"style",
|
|
4723
4714
|
"currency",
|
|
4724
4715
|
"currencyDisplay",
|
|
@@ -4740,95 +4731,95 @@ var mo = [
|
|
|
4740
4731
|
"unitDisplay",
|
|
4741
4732
|
"numberingSystem"
|
|
4742
4733
|
];
|
|
4743
|
-
function
|
|
4734
|
+
function Pt(e, t, r) {
|
|
4744
4735
|
var n = e.locale, o = e.formats, i = e.onError;
|
|
4745
4736
|
r === void 0 && (r = {});
|
|
4746
|
-
var a = r.format, s = a &&
|
|
4737
|
+
var a = r.format, s = a && Fe(o, "number", a, i) || {}, l = ee(r, lo, s);
|
|
4747
4738
|
return t(n, l);
|
|
4748
4739
|
}
|
|
4749
|
-
function
|
|
4740
|
+
function mo(e, t, r, n) {
|
|
4750
4741
|
n === void 0 && (n = {});
|
|
4751
4742
|
try {
|
|
4752
|
-
return
|
|
4743
|
+
return Pt(e, t, n).format(r);
|
|
4753
4744
|
} catch (o) {
|
|
4754
|
-
e.onError(new
|
|
4745
|
+
e.onError(new O("Error formatting number.", e.locale, o));
|
|
4755
4746
|
}
|
|
4756
4747
|
return String(r);
|
|
4757
4748
|
}
|
|
4758
|
-
function
|
|
4749
|
+
function po(e, t, r, n) {
|
|
4759
4750
|
n === void 0 && (n = {});
|
|
4760
4751
|
try {
|
|
4761
|
-
return
|
|
4752
|
+
return Pt(e, t, n).formatToParts(r);
|
|
4762
4753
|
} catch (o) {
|
|
4763
|
-
e.onError(new
|
|
4754
|
+
e.onError(new O("Error formatting number.", e.locale, o));
|
|
4764
4755
|
}
|
|
4765
4756
|
return [];
|
|
4766
4757
|
}
|
|
4767
|
-
function
|
|
4758
|
+
function uo(e) {
|
|
4768
4759
|
var t = e ? e[Object.keys(e)[0]] : void 0;
|
|
4769
4760
|
return typeof t == "string";
|
|
4770
4761
|
}
|
|
4771
|
-
function
|
|
4772
|
-
e.onWarn && e.defaultRichTextElements &&
|
|
4762
|
+
function co(e) {
|
|
4763
|
+
e.onWarn && e.defaultRichTextElements && uo(e.messages || {}) && e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
|
|
4773
4764
|
Please consider using "@formatjs/cli" to pre-compile your messages for performance.
|
|
4774
4765
|
For more details see https://formatjs.io/docs/getting-started/message-distribution`);
|
|
4775
4766
|
}
|
|
4776
|
-
function
|
|
4777
|
-
var r =
|
|
4778
|
-
return o ? !Intl.NumberFormat.supportedLocalesOf(o).length && a ? a(new
|
|
4767
|
+
function ho(e, t) {
|
|
4768
|
+
var r = Vn(t), n = v(v({}, $n), e), o = n.locale, i = n.defaultLocale, a = n.onError;
|
|
4769
|
+
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 Gn('"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"), co(n), v(v({}, n), {
|
|
4779
4770
|
formatters: r,
|
|
4780
|
-
formatNumber:
|
|
4781
|
-
formatNumberToParts:
|
|
4782
|
-
formatRelativeTime:
|
|
4783
|
-
formatDate:
|
|
4771
|
+
formatNumber: mo.bind(null, n, r.getNumberFormat),
|
|
4772
|
+
formatNumberToParts: po.bind(null, n, r.getNumberFormat),
|
|
4773
|
+
formatRelativeTime: ao.bind(null, n, r.getRelativeTimeFormat),
|
|
4774
|
+
formatDate: Xn.bind(null, n, r.getDateTimeFormat),
|
|
4784
4775
|
formatDateToParts: Zn.bind(null, n, r.getDateTimeFormat),
|
|
4785
|
-
formatTime:
|
|
4786
|
-
formatDateTimeRange:
|
|
4787
|
-
formatTimeToParts:
|
|
4788
|
-
formatPlural:
|
|
4776
|
+
formatTime: Kn.bind(null, n, r.getDateTimeFormat),
|
|
4777
|
+
formatDateTimeRange: Wn.bind(null, n, r.getDateTimeFormat),
|
|
4778
|
+
formatTimeToParts: Jn.bind(null, n, r.getDateTimeFormat),
|
|
4779
|
+
formatPlural: oo.bind(null, n, r.getPluralRules),
|
|
4789
4780
|
// @ts-expect-error TODO: will get to this later
|
|
4790
|
-
formatMessage:
|
|
4781
|
+
formatMessage: it.bind(null, n, r),
|
|
4791
4782
|
// @ts-expect-error TODO: will get to this later
|
|
4792
|
-
$t:
|
|
4793
|
-
formatList:
|
|
4794
|
-
formatListToParts:
|
|
4795
|
-
formatDisplayName:
|
|
4783
|
+
$t: it.bind(null, n, r),
|
|
4784
|
+
formatList: ro.bind(null, n, r.getListFormat),
|
|
4785
|
+
formatListToParts: Ht.bind(null, n, r.getListFormat),
|
|
4786
|
+
formatDisplayName: Qn.bind(null, n, r.getDisplayNames)
|
|
4796
4787
|
});
|
|
4797
4788
|
}
|
|
4798
|
-
var
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
function
|
|
4789
|
+
var fo = ie;
|
|
4790
|
+
ie.flatten = ie;
|
|
4791
|
+
ie.unflatten = Ct;
|
|
4792
|
+
function Dt(e) {
|
|
4802
4793
|
return e && e.constructor && typeof e.constructor.isBuffer == "function" && e.constructor.isBuffer(e);
|
|
4803
4794
|
}
|
|
4804
|
-
function
|
|
4795
|
+
function It(e) {
|
|
4805
4796
|
return e;
|
|
4806
4797
|
}
|
|
4807
|
-
function
|
|
4798
|
+
function ie(e, t) {
|
|
4808
4799
|
t = t || {};
|
|
4809
|
-
const r = t.delimiter || ".", n = t.maxDepth, o = t.transformKey ||
|
|
4800
|
+
const r = t.delimiter || ".", n = t.maxDepth, o = t.transformKey || It, i = {};
|
|
4810
4801
|
function a(s, l, m) {
|
|
4811
4802
|
m = m || 1, Object.keys(s).forEach(function(p) {
|
|
4812
|
-
const h = s[p], _ = t.safe && Array.isArray(h),
|
|
4813
|
-
if (!_ && !R &&
|
|
4814
|
-
return a(h,
|
|
4815
|
-
i[
|
|
4803
|
+
const h = s[p], _ = t.safe && Array.isArray(h), E = Object.prototype.toString.call(h), R = Dt(h), y = E === "[object Object]" || E === "[object Array]", w = l ? l + r + o(p) : o(p);
|
|
4804
|
+
if (!_ && !R && y && Object.keys(h).length && (!t.maxDepth || m < n))
|
|
4805
|
+
return a(h, w, m + 1);
|
|
4806
|
+
i[w] = h;
|
|
4816
4807
|
});
|
|
4817
4808
|
}
|
|
4818
4809
|
return a(e), i;
|
|
4819
4810
|
}
|
|
4820
|
-
function
|
|
4811
|
+
function Ct(e, t) {
|
|
4821
4812
|
t = t || {};
|
|
4822
|
-
const r = t.delimiter || ".", n = t.overwrite || !1, o = t.transformKey ||
|
|
4823
|
-
if (
|
|
4813
|
+
const r = t.delimiter || ".", n = t.overwrite || !1, o = t.transformKey || It, i = {};
|
|
4814
|
+
if (Dt(e) || Object.prototype.toString.call(e) !== "[object Object]")
|
|
4824
4815
|
return e;
|
|
4825
4816
|
function a(m) {
|
|
4826
4817
|
const p = Number(m);
|
|
4827
4818
|
return isNaN(p) || m.indexOf(".") !== -1 || t.object ? m : p;
|
|
4828
4819
|
}
|
|
4829
4820
|
function s(m, p, h) {
|
|
4830
|
-
return Object.keys(h).reduce(function(_,
|
|
4831
|
-
return _[m + r +
|
|
4821
|
+
return Object.keys(h).reduce(function(_, E) {
|
|
4822
|
+
return _[m + r + E] = h[E], _;
|
|
4832
4823
|
}, p);
|
|
4833
4824
|
}
|
|
4834
4825
|
function l(m) {
|
|
@@ -4846,33 +4837,33 @@ function xt(e, t) {
|
|
|
4846
4837
|
return !(h === "[object Object]" || h === "[object Array]") || l(e[p]) ? (m[p] = e[p], m) : s(
|
|
4847
4838
|
p,
|
|
4848
4839
|
m,
|
|
4849
|
-
|
|
4840
|
+
ie(e[p], t)
|
|
4850
4841
|
);
|
|
4851
4842
|
}, {}), Object.keys(e).forEach(function(m) {
|
|
4852
4843
|
const p = m.split(r).map(o);
|
|
4853
|
-
let h = a(p.shift()), _ = a(p[0]),
|
|
4844
|
+
let h = a(p.shift()), _ = a(p[0]), E = i;
|
|
4854
4845
|
for (; _ !== void 0; ) {
|
|
4855
4846
|
if (h === "__proto__")
|
|
4856
4847
|
return;
|
|
4857
|
-
const R = Object.prototype.toString.call(
|
|
4858
|
-
if (!n && !
|
|
4848
|
+
const R = Object.prototype.toString.call(E[h]), y = R === "[object Object]" || R === "[object Array]";
|
|
4849
|
+
if (!n && !y && typeof E[h] < "u")
|
|
4859
4850
|
return;
|
|
4860
|
-
(n && !
|
|
4851
|
+
(n && !y || !n && E[h] == null) && (E[h] = typeof _ == "number" && !t.object ? [] : {}), E = E[h], p.length > 0 && (h = a(p.shift()), _ = a(p[0]));
|
|
4861
4852
|
}
|
|
4862
|
-
|
|
4853
|
+
E[h] = Ct(e[m], t);
|
|
4863
4854
|
}), i;
|
|
4864
4855
|
}
|
|
4865
|
-
const
|
|
4866
|
-
const n =
|
|
4856
|
+
const go = Lt(), _o = (e, t, r = !1) => {
|
|
4857
|
+
const n = ho(
|
|
4867
4858
|
{
|
|
4868
4859
|
...typeof r == "boolean" ? null : r,
|
|
4869
4860
|
locale: e,
|
|
4870
|
-
messages:
|
|
4861
|
+
messages: fo.flatten(t, {
|
|
4871
4862
|
safe: !0
|
|
4872
4863
|
// Preserve arrays
|
|
4873
4864
|
})
|
|
4874
4865
|
},
|
|
4875
|
-
|
|
4866
|
+
go
|
|
4876
4867
|
), { $t: o, ...i } = n, a = i, s = (m) => {
|
|
4877
4868
|
const p = "Invalid Date";
|
|
4878
4869
|
if (!m)
|
|
@@ -4902,7 +4893,7 @@ const _o = Bt(), vo = (e, t, r = !1) => {
|
|
|
4902
4893
|
source: t
|
|
4903
4894
|
};
|
|
4904
4895
|
return typeof r == "boolean" && r === !0 || typeof r != "boolean" && r.isGlobal, l;
|
|
4905
|
-
},
|
|
4896
|
+
}, vo = (e = null) => F({
|
|
4906
4897
|
name: "I18nT",
|
|
4907
4898
|
props: {
|
|
4908
4899
|
i18n: {
|
|
@@ -4934,27 +4925,27 @@ const _o = Bt(), vo = (e, t, r = !1) => {
|
|
|
4934
4925
|
return;
|
|
4935
4926
|
const m = s.replace(/[\{\}]/g, "");
|
|
4936
4927
|
m === "0" && r.default ? a[l] = r.default() : o.includes(m) && r[m] && (a[l] = r[m]());
|
|
4937
|
-
}),
|
|
4928
|
+
}), zt(t.tag, t, a);
|
|
4938
4929
|
};
|
|
4939
4930
|
}
|
|
4940
|
-
}),
|
|
4931
|
+
}), jo = {
|
|
4941
4932
|
install(e, t) {
|
|
4942
4933
|
const { i18n: r } = t;
|
|
4943
|
-
e.component("I18nT",
|
|
4934
|
+
e.component("I18nT", vo(r));
|
|
4944
4935
|
}
|
|
4945
|
-
},
|
|
4936
|
+
}, bo = {
|
|
4946
4937
|
error: "Error: Markdown content missing"
|
|
4947
|
-
},
|
|
4948
|
-
documentViewer:
|
|
4938
|
+
}, yo = {
|
|
4939
|
+
documentViewer: bo
|
|
4949
4940
|
};
|
|
4950
|
-
function
|
|
4941
|
+
function wo() {
|
|
4951
4942
|
return {
|
|
4952
|
-
i18n:
|
|
4953
|
-
i18nT:
|
|
4943
|
+
i18n: _o("en-us", yo),
|
|
4944
|
+
i18nT: jo
|
|
4954
4945
|
// Translation component <i18n-t>
|
|
4955
4946
|
};
|
|
4956
4947
|
}
|
|
4957
|
-
function
|
|
4948
|
+
function Eo() {
|
|
4958
4949
|
return {
|
|
4959
4950
|
hasRequiredProps: (t, r) => {
|
|
4960
4951
|
let n = !0;
|
|
@@ -4966,36 +4957,36 @@ function ko() {
|
|
|
4966
4957
|
}
|
|
4967
4958
|
};
|
|
4968
4959
|
}
|
|
4969
|
-
const
|
|
4970
|
-
useI18n:
|
|
4971
|
-
useUtilities:
|
|
4960
|
+
const ko = {
|
|
4961
|
+
useI18n: wo,
|
|
4962
|
+
useUtilities: Eo
|
|
4972
4963
|
};
|
|
4973
|
-
function
|
|
4964
|
+
function So(e, t = "") {
|
|
4974
4965
|
return e.toLowerCase().trim().replace(/ /g, "-").replace(/[^\w-]+/g, "") + t;
|
|
4975
4966
|
}
|
|
4976
|
-
function
|
|
4967
|
+
function xt(e, t = /* @__PURE__ */ new Map()) {
|
|
4977
4968
|
if (!e)
|
|
4978
4969
|
return e;
|
|
4979
4970
|
const r = t || /* @__PURE__ */ new Map();
|
|
4980
|
-
return e.map((n) =>
|
|
4971
|
+
return e.map((n) => Wt(n) ? To(n, t) : (n.children && (n.children = xt(n.children, r)), n));
|
|
4981
4972
|
}
|
|
4982
|
-
function
|
|
4973
|
+
function To(e, t, r = "doc-heading-") {
|
|
4983
4974
|
var m;
|
|
4984
|
-
const n = (m = e.children) == null ? void 0 : m[0], o = `level-${e.level}`, i =
|
|
4975
|
+
const n = (m = e.children) == null ? void 0 : m[0], o = `level-${e.level}`, i = Kt(n) && n.text || o, a = t.get(i);
|
|
4985
4976
|
t.set(i, (a || 0) + 1);
|
|
4986
|
-
const s = a && a > 1 ? `-${a}` : "", l = r +
|
|
4977
|
+
const s = a && a > 1 ? `-${a}` : "", l = r + So(i, s);
|
|
4987
4978
|
return {
|
|
4988
4979
|
...e,
|
|
4989
4980
|
slug: l
|
|
4990
4981
|
};
|
|
4991
4982
|
}
|
|
4992
|
-
const
|
|
4983
|
+
const Ao = {
|
|
4993
4984
|
class: "document-viewer",
|
|
4994
4985
|
"data-testid": "document-viewer"
|
|
4995
|
-
},
|
|
4986
|
+
}, Ro = {
|
|
4996
4987
|
key: 1,
|
|
4997
4988
|
"data-testid": "document-viewer-error"
|
|
4998
|
-
},
|
|
4989
|
+
}, Lo = /* @__PURE__ */ F({
|
|
4999
4990
|
__name: "DocumentViewer",
|
|
5000
4991
|
props: {
|
|
5001
4992
|
document: {
|
|
@@ -5005,27 +4996,27 @@ const Ro = {
|
|
|
5005
4996
|
},
|
|
5006
4997
|
setup(e) {
|
|
5007
4998
|
var s;
|
|
5008
|
-
const t = e, { i18n: r } =
|
|
4999
|
+
const t = e, { i18n: r } = ko.useI18n(), n = (l) => !l || Object.keys(l).length === 0 && l.constructor === Object, o = Ae(() => !n(t.document)), i = xt((s = t.document) == null ? void 0 : s.children), a = () => {
|
|
5009
5000
|
var l;
|
|
5010
|
-
return (l = t.document) != null && l.children ?
|
|
5001
|
+
return (l = t.document) != null && l.children ? Re(i) : null;
|
|
5011
5002
|
};
|
|
5012
|
-
return (l, m) => (
|
|
5013
|
-
o.value ? (
|
|
5003
|
+
return (l, m) => (B(), I("div", Ao, [
|
|
5004
|
+
o.value ? (B(), Q(a, { key: 0 })) : (B(), I("div", Ro, mt(re(r).t("documentViewer.error")), 1))
|
|
5014
5005
|
]));
|
|
5015
5006
|
}
|
|
5016
5007
|
});
|
|
5017
|
-
const
|
|
5008
|
+
const Ho = /* @__PURE__ */ C(Lo, [["__scopeId", "data-v-1ab71c85"]]);
|
|
5018
5009
|
export {
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
|
|
5010
|
+
Ho as D,
|
|
5011
|
+
J as T,
|
|
5012
|
+
ge as a,
|
|
5013
|
+
Kt as b,
|
|
5014
|
+
$e as c,
|
|
5015
|
+
Wt as d,
|
|
5025
5016
|
Zt as e,
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5017
|
+
xt as f,
|
|
5018
|
+
or as g,
|
|
5019
|
+
To as h,
|
|
5020
|
+
Xt as i,
|
|
5021
|
+
So as t
|
|
5031
5022
|
};
|