import 'svelte/internal/disclose-version';
import 'svelte/internal/flags/legacy';
import * as $ from 'svelte/internal/client';
import { count } from './stores.js';
var root = $.template(`<h1> </h1> <button>+</button> <button>-</button> <button>reset</button>`, 1);
export default function App($$anchor, $$props) {
$.push($$props, false);
const [$$stores, $$cleanup] = $.setup_stores();
const $count = () => $.store_get(count, '$count', $$stores);
$.init();
var fragment = root();
var h1 = $.first_child(fragment);
var text = $.child(h1);
$.reset(h1);
var button = $.sibling(h1, 2);
button.__click = function (...$$args) {
count.increment?.apply(this, $$args);
};
var button_1 = $.sibling(button, 2);
button_1.__click = function (...$$args) {
count.decrement?.apply(this, $$args);
};
var button_2 = $.sibling(button_1, 2);
button_2.__click = function (...$$args) {