import{t as e}from"./chunk-DseTPa7n.js";var t=e((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.sanitizeUrl=void 0;var t=/^([^\w]*)(javascript|data|vbscript)/im,n=/&#(\w+)(^\w|;)?/g,r=/&(newline|tab);/gi,i=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,a=/^.+(:|&colon;)/gim,o=[`.`,`/`];function s(e){return o.indexOf(e[0])>-1}function c(e){return e.replace(n,function(e,t){return String.fromCharCode(t)})}function l(e){var n=c(e||``).replace(r,``).replace(i,``).trim();if(!n)return`about:blank`;if(s(n))return n;var o=n.match(a);if(!o)return n;var l=o[0];return t.test(l)?`about:blank`:n}e.sanitizeUrl=l}));export{t};