Your Name 1912bcd25b
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
chore: sync all remaining local workspace changes
2026-05-08 11:26:57 +08:00

48 lines
2.0 KiB
JavaScript

/*
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
* Module id: 226855
* For reading/searching only; this factory depends on the original Turbopack runtime.
*/
const moduleFactory = (e, t, i) => {
"use strict";
function r(e) {
(e.languages.nix = {
comment: { pattern: /\/\*[\s\S]*?\*\/|#.*/, greedy: !0 },
string: {
pattern:
/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,
greedy: !0,
inside: {
interpolation: {
pattern: /(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,
lookbehind: !0,
inside: null,
},
},
},
url: [
/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,
{
pattern:
/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,
lookbehind: !0,
},
],
antiquotation: { pattern: /\$(?=\{)/, alias: "important" },
number: /\b\d+\b/,
keyword:
/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,
function:
/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,
boolean: /\b(?:false|true)\b/,
operator: /[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,
punctuation: /[{}()[\].,:;]/,
}),
(e.languages.nix.string.inside.interpolation.inside = e.languages.nix);
}
(t.exports = r), (r.displayName = "nix"), (r.aliases = []);
};
export default moduleFactory;