knowledgebase_law/node_modules/.vite/deps/chunk-DCUJM5SD.js

39 lines
1.0 KiB
JavaScript
Raw Normal View History

2025-04-11 23:47:09 +08:00
import {
require_php
} from "./chunk-MOL7FGLB.js";
import {
__commonJS
} from "./chunk-2TUXWMP5.js";
// node_modules/refractor/lang/php-extras.js
var require_php_extras = __commonJS({
"node_modules/refractor/lang/php-extras.js"(exports, module) {
var refractorPhp = require_php();
module.exports = phpExtras;
phpExtras.displayName = "phpExtras";
phpExtras.aliases = [];
function phpExtras(Prism) {
Prism.register(refractorPhp);
Prism.languages.insertBefore("php", "variable", {
this: {
pattern: /\$this\b/,
alias: "keyword"
},
global: /\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,
scope: {
pattern: /\b[\w\\]+::/,
inside: {
keyword: /\b(?:parent|self|static)\b/,
punctuation: /::|\\/
}
}
});
}
}
});
export {
require_php_extras
};
//# sourceMappingURL=chunk-DCUJM5SD.js.map