1.14 概念中心模块调整,战略分析模块界面完善

This commit is contained in:
尚政杰
2026-01-14 18:48:02 +08:00
parent 27dc03940b
commit 6ee8ce42ed
888 changed files with 96307 additions and 247 deletions

18
node_modules/@posthog/core/dist/gzip.mjs generated vendored Normal file
View File

@@ -0,0 +1,18 @@
function isGzipSupported() {
return 'CompressionStream' in globalThis;
}
async function gzipCompress(input, isDebug = true) {
try {
const dataStream = new Blob([
input
], {
type: 'text/plain'
}).stream();
const compressedStream = dataStream.pipeThrough(new CompressionStream('gzip'));
return await new Response(compressedStream).blob();
} catch (error) {
if (isDebug) console.error('Failed to gzip compress data', error);
return null;
}
}
export { gzipCompress, isGzipSupported };