import { SvelteComponent , append , component_subscribe , detach , element , init , insert , noop , safe_not_equal , set_data , text } from "svelte/internal" ; import { writable } from 'svelte/store' ; function create_fragment ( ctx ) { let h1 ; let t ; return { c ( ) { h1 = element ( "h1" ) ; t = text ( ctx [ 0 ] ) ; } , m ( target , anchor ) { insert ( target , h1 , anchor ) ; append ( h1 , t ) ; } , p ( ctx , [ dirty ] ) { if ( dirty & 1 ) set_data ( t , ctx [ 0 ] ) ; } , i : noop , o : noop , d ( detaching ) { if ( detaching ) detach ( h1 ) ; } } ; } function instance ( $$self , $$props , $$invalidate ) { let $foo ; const foo = writable ( 0 ) ; component_subscribe ( $$self , foo , value => $$invalidate ( 0 , $foo = value ) ) ; return [ $foo , foo ] ; } class Component extends SvelteComponent { constructor ( options ) { super ( ) ; init ( this , options , instance , create_fragment , safe_not_equal , { } ) ; } } export default Component ;