|
|
@ -1,6 +1,7 @@
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
import { theme } from '@sveltejs/site-kit/stores';
|
|
|
|
import { theme } from '@sveltejs/site-kit/stores';
|
|
|
|
import '@sveltejs/site-kit/styles/index.css';
|
|
|
|
import '@sveltejs/site-kit/styles/index.css';
|
|
|
|
|
|
|
|
import { replaceState } from '$app/navigation';
|
|
|
|
|
|
|
|
|
|
|
|
import Repl from '$lib/Repl.svelte';
|
|
|
|
import Repl from '$lib/Repl.svelte';
|
|
|
|
import { default_files } from './defaults.js';
|
|
|
|
import { default_files } from './defaults.js';
|
|
|
@ -69,10 +70,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
setting_hash = true;
|
|
|
|
setting_hash = true;
|
|
|
|
|
|
|
|
|
|
|
|
history.replaceState(
|
|
|
|
replaceState(
|
|
|
|
history.state,
|
|
|
|
`${location.pathname}${location.search}#${await compress_and_encode_text(json)}`,
|
|
|
|
'',
|
|
|
|
{}
|
|
|
|
`${location.pathname}${location.search}#${await compress_and_encode_text(json)}`
|
|
|
|
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|