67 lines
2.1 KiB
JavaScript
67 lines
2.1 KiB
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
|
|
* Module id: 540744
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e, t, i) => {
|
|
"use strict";
|
|
var r = e.r(867861);
|
|
function a(e) {
|
|
var t;
|
|
e.register(r),
|
|
(t = [
|
|
/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,
|
|
/'[^']*'/.source,
|
|
/\$'(?:[^'\\]|\\[\s\S])*'/.source,
|
|
/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source,
|
|
].join("|")),
|
|
(e.languages["shell-session"] = {
|
|
command: {
|
|
pattern: RegExp(
|
|
/^/.source +
|
|
"(?:" +
|
|
/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/
|
|
.source +
|
|
"|" +
|
|
/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source +
|
|
")?" +
|
|
/[$#%](?=\s)/.source +
|
|
/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(
|
|
/<<str>>/g,
|
|
function () {
|
|
return t;
|
|
},
|
|
),
|
|
"m",
|
|
),
|
|
greedy: !0,
|
|
inside: {
|
|
info: {
|
|
pattern: /^[^#$%]+/,
|
|
alias: "punctuation",
|
|
inside: {
|
|
user: /^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,
|
|
punctuation: /:/,
|
|
path: /[\s\S]+/,
|
|
},
|
|
},
|
|
bash: {
|
|
pattern: /(^[$#%]\s*)\S[\s\S]*/,
|
|
lookbehind: !0,
|
|
alias: "language-bash",
|
|
inside: e.languages.bash,
|
|
},
|
|
"shell-symbol": { pattern: /^[$#%]/, alias: "important" },
|
|
},
|
|
},
|
|
output: /.(?:.*(?:[\r\n]|.$))*/,
|
|
}),
|
|
(e.languages["sh-session"] = e.languages.shellsession =
|
|
e.languages["shell-session"]);
|
|
}
|
|
(t.exports = a), (a.displayName = "shellSession"), (a.aliases = []);
|
|
};
|
|
|
|
export default moduleFactory;
|