import { SvelteComponentDev, add_location, append_dev, detach_dev, dispatch_dev, element, init, insert_dev, noop, safe_not_equal, set_data_dev, space, text } from "svelte/internal"; const file = undefined; function create_fragment(ctx) { let h1; let t0; let t1; let t2; let t3; const block = { c: function create() { h1 = element("h1"); t0 = text("Hello "); t1 = text(ctx.name); t2 = text("!"); t3 = space(); debugger; add_location(h1, file, 4, 0, 38); }, l: function claim(nodes) { throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); }, m: function mount(target, anchor) { insert_dev(target, h1, anchor); append_dev(h1, t0); append_dev(h1, t1); append_dev(h1, t2); insert_dev(target, t3, anchor); }, p: function update(changed, ctx) { if (changed.name) set_data_dev(t1, ctx.name); debugger; }, i: noop, o: noop, d: function destroy(detaching) { if (detaching) detach_dev(h1); if (detaching) detach_dev(t3); } }; dispatch_dev("SvelteRegisterBlock", { block, id: create_fragment.name, type: "component", source: "", ctx }); return block; } function instance($$self, $$props, $$invalidate) { let { name } = $$props; const writable_props = ["name"]; Object.keys($$props).forEach(key => { if (!writable_props.includes(key) && !key.startsWith("$$")) console.warn(` was created with unknown prop '${key}'`); }); $$self.$set = $$props => { if ("name" in $$props) $$invalidate("name", name = $$props.name); }; $$self.$capture_state = () => { return { name }; }; $$self.$inject_state = $$props => { if ("name" in $$props) $$invalidate("name", name = $$props.name); }; return { name }; } class Component extends SvelteComponentDev { constructor(options) { super(options); init(this, options, instance, create_fragment, safe_not_equal, ["name"]); dispatch_dev("SvelteRegisterComponent", { component: this, tagName: "Component", options, id: create_fragment.name }); const { ctx } = this.$$; const props = options.props || ({}); if (ctx.name === undefined && !("name" in props)) { console.warn(" was created without expected prop 'name'"); } } get name() { throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); } set name(value) { throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); } } export default Component;