UNPKG

@kaifronsdal/transcript-viewer

Version:

A web-based viewer for AI conversation transcripts with rollback support

38 lines (35 loc) 937 B
import '@sveltejs/kit/internal'; import './exports-Cv9LZeD1.js'; import { w as writable } from './index2-uppKP1uk.js'; import { W as noop } from './index-CeukPVPf.js'; const SNAPSHOT_KEY = "sveltekit:snapshot"; const SCROLL_KEY = "sveltekit:scroll"; function create_updated_store() { const { set, subscribe } = writable(false); { return { subscribe, // eslint-disable-next-line @typescript-eslint/require-await check: async () => false }; } } const is_legacy = noop.toString().includes("$$") || /function \w+\(\) \{\}/.test(noop.toString()); if (is_legacy) { ({ url: new URL("https://example.com") }); } function get(key, parse = JSON.parse) { try { return parse(sessionStorage[key]); } catch { } } get(SCROLL_KEY) ?? {}; get(SNAPSHOT_KEY) ?? {}; const stores = { updated: /* @__PURE__ */ create_updated_store() }; export { stores as s }; //# sourceMappingURL=client-DCZcF6HN.js.map