UNPKG

vue-files-preview-inno

Version:

A tool for previewing files such as doc, excel, pdf, image, markdown, txt, audio, and video and so on.

48 lines (47 loc) 1.11 kB
var x; const a = /* @__PURE__ */ new Map([ [0, 65533], // C1 Unicode control character reference replacements [128, 8364], [130, 8218], [131, 402], [132, 8222], [133, 8230], [134, 8224], [135, 8225], [136, 710], [137, 8240], [138, 352], [139, 8249], [140, 338], [142, 381], [145, 8216], [146, 8217], [147, 8220], [148, 8221], [149, 8226], [150, 8211], [151, 8212], [152, 732], [153, 8482], [154, 353], [155, 8250], [156, 339], [158, 382], [159, 376] ]), n = ( // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins (x = String.fromCodePoint) !== null && x !== void 0 ? x : function(f) { let r = ""; return f > 65535 && (f -= 65536, r += String.fromCharCode(f >>> 10 & 1023 | 55296), f = 56320 | f & 1023), r += String.fromCharCode(f), r; } ); function t(f) { var r; return f >= 55296 && f <= 57343 || f > 1114111 ? 65533 : (r = a.get(f)) !== null && r !== void 0 ? r : f; } export { n as fromCodePoint, t as replaceCodePoint }; //# sourceMappingURL=decode_codepoint.mjs.map