import { __exports as constants } from '../../../../../../../_virtual/constants.mjs';

var hasRequiredConstants;

function requireConstants () {
	if (hasRequiredConstants) return constants;
	hasRequiredConstants = 1;
	Object.defineProperty(constants, "__esModule", { value: true });
	constants.BLANK_URL = constants.relativeFirstCharacters = constants.whitespaceEscapeCharsRegex = constants.urlSchemeRegex = constants.ctrlCharactersRegex = constants.htmlCtrlEntityRegex = constants.htmlEntitiesRegex = constants.invalidProtocolRegex = void 0;
	constants.invalidProtocolRegex = /^([^\w]*)(javascript|data|vbscript)/im;
	constants.htmlEntitiesRegex = /&#(\w+)(^\w|;)?/g;
	constants.htmlCtrlEntityRegex = /&(newline|tab);/gi;
	constants.ctrlCharactersRegex = /[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim;
	constants.urlSchemeRegex = /^.+(:|&colon;)/gim;
	constants.whitespaceEscapeCharsRegex = /(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g;
	constants.relativeFirstCharacters = [".", "/"];
	constants.BLANK_URL = "about:blank";
	return constants;
}

export { requireConstants as __require };
