@kong-ui-public/document-viewer 2.6.5 → 2.6.7-pr.4063.bf809a10e.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/document-viewer.es.js +1064 -12
  2. package/dist/document-viewer.umd.js +16 -16
  3. package/dist/prism-bash.min-BSY2OtLX.js +174 -0
  4. package/dist/prism-css.min-Dvuxzq5c.js +54 -0
  5. package/dist/prism-docker.min-Ch3_J8xI.js +74 -0
  6. package/dist/prism-go.min-DpuveEXM.js +20 -0
  7. package/dist/prism-http.min-BDgs53mG.js +107 -0
  8. package/dist/prism-javascript.min-TTu9gTO1.js +101 -0
  9. package/dist/prism-jq.min-wjT5eiX4.js +57 -0
  10. package/dist/prism-json.min-BRMWDas8.js +25 -0
  11. package/dist/prism-log.min-CcmZYCOq.js +97 -0
  12. package/dist/prism-lua.min-CL-6tP_v.js +16 -0
  13. package/dist/prism-makefile.min-CfFQPrwo.js +28 -0
  14. package/dist/prism-markdown.min-CHFT4_Ei.js +240 -0
  15. package/dist/prism-python.min-BMa8XQns.js +59 -0
  16. package/dist/prism-regex.min-KRUvJnhz.js +78 -0
  17. package/dist/prism-rest.min-C38D2pbN.js +151 -0
  18. package/dist/prism-rust.min-D7QzzLfK.js +91 -0
  19. package/dist/prism-scss.min-Bg9jNB2R.js +52 -0
  20. package/dist/prism-sql.min-BufanzXb.js +28 -0
  21. package/dist/prism-typescript.min-Ck6Xh8q0.js +37 -0
  22. package/dist/prism-xml-doc.min-CcH35smE.js +18 -0
  23. package/dist/prism-yaml.min-CkLxSivi.js +67 -0
  24. package/dist/style.css +2 -1
  25. package/package.json +3 -3
  26. package/dist/index-Dm0akurK.js +0 -1632
  27. package/dist/prism-bash.min-HHIMdNJ_.js +0 -6
  28. package/dist/prism-css.min-BgYu_Rzi.js +0 -7
  29. package/dist/prism-docker.min-Cc3clOcH.js +0 -22
  30. package/dist/prism-go.min-C7UmK6TW.js +0 -1
  31. package/dist/prism-http.min-CP9t4YhN.js +0 -22
  32. package/dist/prism-javascript.min-CEqHqgbm.js +0 -8
  33. package/dist/prism-jq.min-DSs6jyUo.js +0 -36
  34. package/dist/prism-json.min-B1GJqK1k.js +0 -1
  35. package/dist/prism-log.min-SDopTpKN.js +0 -1
  36. package/dist/prism-lua.min-DwRnUVfS.js +0 -1
  37. package/dist/prism-makefile.min-DyutknhE.js +0 -1
  38. package/dist/prism-markdown.min-D9nktPdA.js +0 -60
  39. package/dist/prism-python.min-CwGdPpz_.js +0 -29
  40. package/dist/prism-regex.min-BqTi0NTp.js +0 -4
  41. package/dist/prism-rest.min-B6veHRJF.js +0 -1
  42. package/dist/prism-rust.min-Ccuw6kc-.js +0 -36
  43. package/dist/prism-scss.min-DsoMAB2f.js +0 -29
  44. package/dist/prism-sql.min-BHXzX-c_.js +0 -1
  45. package/dist/prism-typescript.min-fwm2QbJz.js +0 -33
  46. package/dist/prism-xml-doc.min-BGai1RKL.js +0 -7
  47. package/dist/prism-yaml.min-C3Yo-ypE.js +0 -28
@@ -0,0 +1,174 @@
1
+ // ../../../node_modules/.pnpm/prismjs@1.30.0/node_modules/prismjs/components/prism-bash.min.js
2
+ (function(e) {
3
+ var t = "\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b", n = {
4
+ pattern: /(^(["']?)\w+\2)[ \t]+\S.*/,
5
+ lookbehind: !0,
6
+ alias: "punctuation",
7
+ inside: null
8
+ }, r = {
9
+ bash: n,
10
+ environment: {
11
+ pattern: RegExp("\\$" + t),
12
+ alias: "constant"
13
+ },
14
+ variable: [
15
+ {
16
+ pattern: /\$?\(\([\s\S]+?\)\)/,
17
+ greedy: !0,
18
+ inside: {
19
+ variable: [{
20
+ pattern: /(^\$\(\([\s\S]+)\)\)/,
21
+ lookbehind: !0
22
+ }, /^\$\(\(/],
23
+ number: /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,
24
+ operator: /--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,
25
+ punctuation: /\(\(?|\)\)?|,|;/
26
+ }
27
+ },
28
+ {
29
+ pattern: /\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,
30
+ greedy: !0,
31
+ inside: { variable: /^\$\(|^`|\)$|`$/ }
32
+ },
33
+ {
34
+ pattern: /\$\{[^}]+\}/,
35
+ greedy: !0,
36
+ inside: {
37
+ operator: /:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,
38
+ punctuation: /[\[\]]/,
39
+ environment: {
40
+ pattern: RegExp("(\\{)" + t),
41
+ lookbehind: !0,
42
+ alias: "constant"
43
+ }
44
+ }
45
+ },
46
+ /\$(?:\w+|[#?*!@$])/
47
+ ],
48
+ entity: /\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/
49
+ };
50
+ e.languages.bash = {
51
+ shebang: {
52
+ pattern: /^#!\s*\/.*/,
53
+ alias: "important"
54
+ },
55
+ comment: {
56
+ pattern: /(^|[^"{\\$])#.*/,
57
+ lookbehind: !0
58
+ },
59
+ "function-name": [{
60
+ pattern: /(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,
61
+ lookbehind: !0,
62
+ alias: "function"
63
+ }, {
64
+ pattern: /\b[\w-]+(?=\s*\(\s*\)\s*\{)/,
65
+ alias: "function"
66
+ }],
67
+ "for-or-select": {
68
+ pattern: /(\b(?:for|select)\s+)\w+(?=\s+in\s)/,
69
+ alias: "variable",
70
+ lookbehind: !0
71
+ },
72
+ "assign-left": {
73
+ pattern: /(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,
74
+ inside: { environment: {
75
+ pattern: RegExp("(^|[\\s;|&]|[<>]\\()" + t),
76
+ lookbehind: !0,
77
+ alias: "constant"
78
+ } },
79
+ alias: "variable",
80
+ lookbehind: !0
81
+ },
82
+ parameter: {
83
+ pattern: /(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,
84
+ alias: "variable",
85
+ lookbehind: !0
86
+ },
87
+ string: [
88
+ {
89
+ pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,
90
+ lookbehind: !0,
91
+ greedy: !0,
92
+ inside: r
93
+ },
94
+ {
95
+ pattern: /((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,
96
+ lookbehind: !0,
97
+ greedy: !0,
98
+ inside: { bash: n }
99
+ },
100
+ {
101
+ pattern: /(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,
102
+ lookbehind: !0,
103
+ greedy: !0,
104
+ inside: r
105
+ },
106
+ {
107
+ pattern: /(^|[^$\\])'[^']*'/,
108
+ lookbehind: !0,
109
+ greedy: !0
110
+ },
111
+ {
112
+ pattern: /\$'(?:[^'\\]|\\[\s\S])*'/,
113
+ greedy: !0,
114
+ inside: { entity: r.entity }
115
+ }
116
+ ],
117
+ environment: {
118
+ pattern: RegExp("\\$?" + t),
119
+ alias: "constant"
120
+ },
121
+ variable: r.variable,
122
+ function: {
123
+ pattern: /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,
124
+ lookbehind: !0
125
+ },
126
+ keyword: {
127
+ pattern: /(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,
128
+ lookbehind: !0
129
+ },
130
+ builtin: {
131
+ pattern: /(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,
132
+ lookbehind: !0,
133
+ alias: "class-name"
134
+ },
135
+ boolean: {
136
+ pattern: /(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,
137
+ lookbehind: !0
138
+ },
139
+ "file-descriptor": {
140
+ pattern: /\B&\d\b/,
141
+ alias: "important"
142
+ },
143
+ operator: {
144
+ pattern: /\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,
145
+ inside: { "file-descriptor": {
146
+ pattern: /^\d/,
147
+ alias: "important"
148
+ } }
149
+ },
150
+ punctuation: /\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,
151
+ number: {
152
+ pattern: /(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,
153
+ lookbehind: !0
154
+ }
155
+ }, n.inside = e.languages.bash;
156
+ for (var i = [
157
+ "comment",
158
+ "function-name",
159
+ "for-or-select",
160
+ "assign-left",
161
+ "parameter",
162
+ "string",
163
+ "environment",
164
+ "function",
165
+ "keyword",
166
+ "builtin",
167
+ "boolean",
168
+ "file-descriptor",
169
+ "operator",
170
+ "punctuation",
171
+ "number"
172
+ ], a = r.variable[1].inside, o = 0; o < i.length; o++) a[i[o]] = e.languages.bash[i[o]];
173
+ e.languages.sh = e.languages.bash, e.languages.shell = e.languages.bash;
174
+ })(Prism);
@@ -0,0 +1,54 @@
1
+ // ../../../node_modules/.pnpm/prismjs@1.30.0/node_modules/prismjs/components/prism-css.min.js
2
+ (function(e) {
3
+ var t = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
4
+ e.languages.css = {
5
+ comment: /\/\*[\s\S]*?\*\//,
6
+ atrule: {
7
+ pattern: RegExp("@[\\w-](?:[^;{\\s\"']|\\s+(?!\\s)|" + t.source + ")*?(?:;|(?=\\s*\\{))"),
8
+ inside: {
9
+ rule: /^@[\w-]+/,
10
+ "selector-function-argument": {
11
+ pattern: /(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,
12
+ lookbehind: !0,
13
+ alias: "selector"
14
+ },
15
+ keyword: {
16
+ pattern: /(^|[^\w-])(?:and|not|only|or)(?![\w-])/,
17
+ lookbehind: !0
18
+ }
19
+ }
20
+ },
21
+ url: {
22
+ pattern: RegExp("\\burl\\((?:" + t.source + "|(?:[^\\\\\r\n()\"']|\\\\[^])*)\\)", "i"),
23
+ greedy: !0,
24
+ inside: {
25
+ function: /^url/i,
26
+ punctuation: /^\(|\)$/,
27
+ string: {
28
+ pattern: RegExp("^" + t.source + "$"),
29
+ alias: "url"
30
+ }
31
+ }
32
+ },
33
+ selector: {
34
+ pattern: RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|" + t.source + ")*(?=\\s*\\{)"),
35
+ lookbehind: !0
36
+ },
37
+ string: {
38
+ pattern: t,
39
+ greedy: !0
40
+ },
41
+ property: {
42
+ pattern: /(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,
43
+ lookbehind: !0
44
+ },
45
+ important: /!important\b/i,
46
+ function: {
47
+ pattern: /(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,
48
+ lookbehind: !0
49
+ },
50
+ punctuation: /[(){};:,]/
51
+ }, e.languages.css.atrule.inside.rest = e.languages.css;
52
+ var n = e.languages.markup;
53
+ n && (n.tag.addInlined("style", "css"), n.tag.addAttribute("style", "css"));
54
+ })(Prism);
@@ -0,0 +1,74 @@
1
+ // ../../../node_modules/.pnpm/prismjs@1.30.0/node_modules/prismjs/components/prism-docker.min.js
2
+ (function(e) {
3
+ var t = "(?:[ ]+(?![ ])(?:<SP_BS>)?|<SP_BS>)".replace(/<SP_BS>/g, (function() {
4
+ return "\\\\[\r\n](?:\\s|\\\\[\r\n]|#.*(?!.))*(?![\\s#]|\\\\[\r\n])";
5
+ })), n = "\"(?:[^\"\\\\\r\n]|\\\\(?:\r\n|[^]))*\"|'(?:[^'\\\\\r\n]|\\\\(?:\r\n|[^]))*'", r = "--[\\w-]+=(?:<STR>|(?![\"'])(?:[^\\s\\\\]|\\\\.)+)".replace(/<STR>/g, (function() {
6
+ return n;
7
+ })), i = {
8
+ pattern: RegExp(n),
9
+ greedy: !0
10
+ }, a = {
11
+ pattern: /(^[ \t]*)#.*/m,
12
+ lookbehind: !0,
13
+ greedy: !0
14
+ };
15
+ function o(e, n) {
16
+ return e = e.replace(/<OPT>/g, (function() {
17
+ return r;
18
+ })).replace(/<SP>/g, (function() {
19
+ return t;
20
+ })), RegExp(e, n);
21
+ }
22
+ e.languages.docker = {
23
+ instruction: {
24
+ pattern: /(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,
25
+ lookbehind: !0,
26
+ greedy: !0,
27
+ inside: {
28
+ options: {
29
+ pattern: o("(^(?:ONBUILD<SP>)?\\w+<SP>)<OPT>(?:<SP><OPT>)*", "i"),
30
+ lookbehind: !0,
31
+ greedy: !0,
32
+ inside: {
33
+ property: {
34
+ pattern: /(^|\s)--[\w-]+/,
35
+ lookbehind: !0
36
+ },
37
+ string: [i, {
38
+ pattern: /(=)(?!["'])(?:[^\s\\]|\\.)+/,
39
+ lookbehind: !0
40
+ }],
41
+ operator: /\\$/m,
42
+ punctuation: /=/
43
+ }
44
+ },
45
+ keyword: [
46
+ {
47
+ pattern: o("(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\\b", "i"),
48
+ lookbehind: !0,
49
+ greedy: !0
50
+ },
51
+ {
52
+ pattern: o("(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \\\\]+<SP>)AS", "i"),
53
+ lookbehind: !0,
54
+ greedy: !0
55
+ },
56
+ {
57
+ pattern: o("(^ONBUILD<SP>)\\w+", "i"),
58
+ lookbehind: !0,
59
+ greedy: !0
60
+ },
61
+ {
62
+ pattern: /^\w+/,
63
+ greedy: !0
64
+ }
65
+ ],
66
+ comment: a,
67
+ string: i,
68
+ variable: /\$(?:\w+|\{[^{}"'\\]*\})/,
69
+ operator: /\\$/m
70
+ }
71
+ },
72
+ comment: a
73
+ }, e.languages.dockerfile = e.languages.docker;
74
+ })(Prism);
@@ -0,0 +1,20 @@
1
+ // ../../../node_modules/.pnpm/prismjs@1.30.0/node_modules/prismjs/components/prism-go.min.js
2
+ Prism.languages.go = Prism.languages.extend("clike", {
3
+ string: {
4
+ pattern: /(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,
5
+ lookbehind: !0,
6
+ greedy: !0
7
+ },
8
+ keyword: /\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,
9
+ boolean: /\b(?:_|false|iota|nil|true)\b/,
10
+ number: [
11
+ /\b0(?:b[01_]+|o[0-7_]+)i?\b/i,
12
+ /\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,
13
+ /(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i
14
+ ],
15
+ operator: /[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,
16
+ builtin: /\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/
17
+ }), Prism.languages.insertBefore("go", "string", { char: {
18
+ pattern: /'(?:\\.|[^'\\\r\n]){0,10}'/,
19
+ greedy: !0
20
+ } }), delete Prism.languages.go["class-name"];
@@ -0,0 +1,107 @@
1
+ // ../../../node_modules/.pnpm/prismjs@1.30.0/node_modules/prismjs/components/prism-http.min.js
2
+ (function(e) {
3
+ function t(e) {
4
+ return RegExp("(^(?:" + e + "):[ ]*(?![ ]))[^]+", "i");
5
+ }
6
+ e.languages.http = {
7
+ "request-line": {
8
+ pattern: /^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,
9
+ inside: {
10
+ method: {
11
+ pattern: /^[A-Z]+\b/,
12
+ alias: "property"
13
+ },
14
+ "request-target": {
15
+ pattern: /^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,
16
+ lookbehind: !0,
17
+ alias: "url",
18
+ inside: e.languages.uri
19
+ },
20
+ "http-version": {
21
+ pattern: /^(\s)HTTP\/[\d.]+/,
22
+ lookbehind: !0,
23
+ alias: "property"
24
+ }
25
+ }
26
+ },
27
+ "response-status": {
28
+ pattern: /^HTTP\/[\d.]+ \d+ .+/m,
29
+ inside: {
30
+ "http-version": {
31
+ pattern: /^HTTP\/[\d.]+/,
32
+ alias: "property"
33
+ },
34
+ "status-code": {
35
+ pattern: /^(\s)\d+(?=\s)/,
36
+ lookbehind: !0,
37
+ alias: "number"
38
+ },
39
+ "reason-phrase": {
40
+ pattern: /^(\s).+/,
41
+ lookbehind: !0,
42
+ alias: "string"
43
+ }
44
+ }
45
+ },
46
+ header: {
47
+ pattern: /^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,
48
+ inside: {
49
+ "header-value": [
50
+ {
51
+ pattern: t("Content-Security-Policy"),
52
+ lookbehind: !0,
53
+ alias: ["csp", "languages-csp"],
54
+ inside: e.languages.csp
55
+ },
56
+ {
57
+ pattern: t("Public-Key-Pins(?:-Report-Only)?"),
58
+ lookbehind: !0,
59
+ alias: ["hpkp", "languages-hpkp"],
60
+ inside: e.languages.hpkp
61
+ },
62
+ {
63
+ pattern: t("Strict-Transport-Security"),
64
+ lookbehind: !0,
65
+ alias: ["hsts", "languages-hsts"],
66
+ inside: e.languages.hsts
67
+ },
68
+ {
69
+ pattern: t("[^:]+"),
70
+ lookbehind: !0
71
+ }
72
+ ],
73
+ "header-name": {
74
+ pattern: /^[^:]+/,
75
+ alias: "keyword"
76
+ },
77
+ punctuation: /^:/
78
+ }
79
+ }
80
+ };
81
+ var n, r = e.languages, i = {
82
+ "application/javascript": r.javascript,
83
+ "application/json": r.json || r.javascript,
84
+ "application/xml": r.xml,
85
+ "text/xml": r.xml,
86
+ "text/html": r.html,
87
+ "text/css": r.css,
88
+ "text/plain": r.plain
89
+ }, a = {
90
+ "application/json": !0,
91
+ "application/xml": !0
92
+ };
93
+ function o(e) {
94
+ var t = e.replace(/^[a-z]+\//, "");
95
+ return "(?:" + e + "|\\w+/(?:[\\w.-]+\\+)+" + t + "(?![+\\w.-]))";
96
+ }
97
+ for (var s in i) if (i[s]) {
98
+ n ||= {};
99
+ var c = a[s] ? o(s) : s;
100
+ n[s.replace(/\//g, "-")] = {
101
+ pattern: RegExp("(content-type:\\s*" + c + "(?:(?:\r\n?|\n)[\\w-].*)*(?:\r(?:\n|(?!\n))|\n))[^ \\w-][^]*", "i"),
102
+ lookbehind: !0,
103
+ inside: i[s]
104
+ };
105
+ }
106
+ n && e.languages.insertBefore("http", "header", n);
107
+ })(Prism);
@@ -0,0 +1,101 @@
1
+ // ../../../node_modules/.pnpm/prismjs@1.30.0/node_modules/prismjs/components/prism-javascript.min.js
2
+ Prism.languages.javascript = Prism.languages.extend("clike", {
3
+ "class-name": [Prism.languages.clike["class-name"], {
4
+ pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,
5
+ lookbehind: !0
6
+ }],
7
+ keyword: [{
8
+ pattern: /((?:^|\})\s*)catch\b/,
9
+ lookbehind: !0
10
+ }, {
11
+ pattern: /(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,
12
+ lookbehind: !0
13
+ }],
14
+ function: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,
15
+ number: {
16
+ pattern: RegExp("(^|[^\\w$])(?:NaN|Infinity|0[bB][01]+(?:_[01]+)*n?|0[oO][0-7]+(?:_[0-7]+)*n?|0[xX][\\dA-Fa-f]+(?:_[\\dA-Fa-f]+)*n?|\\d+(?:_\\d+)*n|(?:\\d+(?:_\\d+)*(?:\\.(?:\\d+(?:_\\d+)*)?)?|\\.\\d+(?:_\\d+)*)(?:[Ee][+-]?\\d+(?:_\\d+)*)?)(?![\\w$])"),
17
+ lookbehind: !0
18
+ },
19
+ operator: /--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/
20
+ }), Prism.languages.javascript["class-name"][0].pattern = /(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/, Prism.languages.insertBefore("javascript", "keyword", {
21
+ regex: {
22
+ pattern: RegExp("((?:^|[^$\\w\\xA0-\\uFFFF.\"'\\])\\s]|\\b(?:return|yield))\\s*)/(?:(?:\\[(?:[^\\]\\\\\r\n]|\\\\.)*\\]|\\\\.|[^/\\\\\\[\r\n])+/[dgimyus]{0,7}|(?:\\[(?:[^[\\]\\\\\r\n]|\\\\.|\\[(?:[^[\\]\\\\\r\n]|\\\\.|\\[(?:[^[\\]\\\\\r\n]|\\\\.)*\\])*\\])*\\]|\\\\.|[^/\\\\\\[\r\n])+/[dgimyus]{0,7}v[dgimyus]{0,7})(?=(?:\\s|/\\*(?:[^*]|\\*(?!/))*\\*/)*(?:$|[\r\n,.;:})\\]]|//))"),
23
+ lookbehind: !0,
24
+ greedy: !0,
25
+ inside: {
26
+ "regex-source": {
27
+ pattern: /^(\/)[\s\S]+(?=\/[a-z]*$)/,
28
+ lookbehind: !0,
29
+ alias: "language-regex",
30
+ inside: Prism.languages.regex
31
+ },
32
+ "regex-delimiter": /^\/|\/$/,
33
+ "regex-flags": /^[a-z]+$/
34
+ }
35
+ },
36
+ "function-variable": {
37
+ pattern: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,
38
+ alias: "function"
39
+ },
40
+ parameter: [
41
+ {
42
+ pattern: /(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,
43
+ lookbehind: !0,
44
+ inside: Prism.languages.javascript
45
+ },
46
+ {
47
+ pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,
48
+ lookbehind: !0,
49
+ inside: Prism.languages.javascript
50
+ },
51
+ {
52
+ pattern: /(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,
53
+ lookbehind: !0,
54
+ inside: Prism.languages.javascript
55
+ },
56
+ {
57
+ pattern: /((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,
58
+ lookbehind: !0,
59
+ inside: Prism.languages.javascript
60
+ }
61
+ ],
62
+ constant: /\b[A-Z](?:[A-Z_]|\dx?)*\b/
63
+ }), Prism.languages.insertBefore("javascript", "string", {
64
+ hashbang: {
65
+ pattern: /^#!.*/,
66
+ greedy: !0,
67
+ alias: "comment"
68
+ },
69
+ "template-string": {
70
+ pattern: /`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,
71
+ greedy: !0,
72
+ inside: {
73
+ "template-punctuation": {
74
+ pattern: /^`|`$/,
75
+ alias: "string"
76
+ },
77
+ interpolation: {
78
+ pattern: /((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,
79
+ lookbehind: !0,
80
+ inside: {
81
+ "interpolation-punctuation": {
82
+ pattern: /^\$\{|\}$/,
83
+ alias: "punctuation"
84
+ },
85
+ rest: Prism.languages.javascript
86
+ }
87
+ },
88
+ string: /[\s\S]+/
89
+ }
90
+ },
91
+ "string-property": {
92
+ pattern: /((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,
93
+ lookbehind: !0,
94
+ greedy: !0,
95
+ alias: "property"
96
+ }
97
+ }), Prism.languages.insertBefore("javascript", "operator", { "literal-property": {
98
+ pattern: /((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,
99
+ lookbehind: !0,
100
+ alias: "property"
101
+ } }), Prism.languages.markup && (Prism.languages.markup.tag.addInlined("script", "javascript"), Prism.languages.markup.tag.addAttribute("on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)", "javascript")), Prism.languages.js = Prism.languages.javascript;
@@ -0,0 +1,57 @@
1
+ // ../../../node_modules/.pnpm/prismjs@1.30.0/node_modules/prismjs/components/prism-jq.min.js
2
+ (function(e) {
3
+ var t = "\\\\\\((?:[^()]|\\([^()]*\\))*\\)", n = RegExp("(^|[^\\\\])\"(?:[^\"\r\n\\\\]|\\\\[^\r\n(]|__)*\"".replace(/__/g, (function() {
4
+ return t;
5
+ }))), r = { interpolation: {
6
+ pattern: RegExp("((?:^|[^\\\\])(?:\\\\{2})*)" + t),
7
+ lookbehind: !0,
8
+ inside: {
9
+ content: {
10
+ pattern: /^(\\\()[\s\S]+(?=\)$)/,
11
+ lookbehind: !0,
12
+ inside: null
13
+ },
14
+ punctuation: /^\\\(|\)$/
15
+ }
16
+ } }, i = e.languages.jq = {
17
+ comment: /#.*/,
18
+ property: {
19
+ pattern: RegExp(n.source + "(?=\\s*:(?!:))"),
20
+ lookbehind: !0,
21
+ greedy: !0,
22
+ inside: r
23
+ },
24
+ string: {
25
+ pattern: n,
26
+ lookbehind: !0,
27
+ greedy: !0,
28
+ inside: r
29
+ },
30
+ function: {
31
+ pattern: /(\bdef\s+)[a-z_]\w+/i,
32
+ lookbehind: !0
33
+ },
34
+ variable: /\B\$\w+/,
35
+ "property-literal": {
36
+ pattern: /\b[a-z_]\w*(?=\s*:(?!:))/i,
37
+ alias: "property"
38
+ },
39
+ keyword: /\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,
40
+ boolean: /\b(?:false|true)\b/,
41
+ number: /(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,
42
+ operator: [{
43
+ pattern: /\|=?/,
44
+ alias: "pipe"
45
+ }, /\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],
46
+ "c-style-function": {
47
+ pattern: /\b[a-z_]\w*(?=\s*\()/i,
48
+ alias: "function"
49
+ },
50
+ punctuation: /::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,
51
+ dot: {
52
+ pattern: /\./,
53
+ alias: "important"
54
+ }
55
+ };
56
+ r.interpolation.inside.content.inside = i;
57
+ })(Prism);
@@ -0,0 +1,25 @@
1
+ // ../../../node_modules/.pnpm/prismjs@1.30.0/node_modules/prismjs/components/prism-json.min.js
2
+ Prism.languages.json = {
3
+ property: {
4
+ pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,
5
+ lookbehind: !0,
6
+ greedy: !0
7
+ },
8
+ string: {
9
+ pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,
10
+ lookbehind: !0,
11
+ greedy: !0
12
+ },
13
+ comment: {
14
+ pattern: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,
15
+ greedy: !0
16
+ },
17
+ number: /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,
18
+ punctuation: /[{}[\],]/,
19
+ operator: /:/,
20
+ boolean: /\b(?:false|true)\b/,
21
+ null: {
22
+ pattern: /\bnull\b/,
23
+ alias: "keyword"
24
+ }
25
+ }, Prism.languages.webmanifest = Prism.languages.json;