Vanha frontend siirretty temp/. Uusi rakenne: - StatusBar.astro, Terminal.astro, Editor.astro, Guide.astro - global.css erillinen - Wasm pääsäikeessä (ei Worker — yksinkertainen, debugattava) - Tab-completion, dropdown, projektikortti, Monaco, GUIDE.md - Ei tokenisointia eikä koodilaboratoriota Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
23 lines
487 B
JavaScript
23 lines
487 B
JavaScript
'use strict';
|
|
|
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
|
const webCrypto = globalThis.crypto;
|
|
const subtle = webCrypto.subtle;
|
|
const randomUUID = () => {
|
|
return webCrypto.randomUUID();
|
|
};
|
|
const getRandomValues = (array) => {
|
|
return webCrypto.getRandomValues(array);
|
|
};
|
|
const _crypto = {
|
|
randomUUID,
|
|
getRandomValues,
|
|
subtle
|
|
};
|
|
|
|
exports.default = _crypto;
|
|
exports.getRandomValues = getRandomValues;
|
|
exports.randomUUID = randomUUID;
|
|
exports.subtle = subtle;
|