text: 
  (function(l, r) { if (l.getElementById('livereloadscript')) return; r = l.createElement('script'); r.async = 1; r.src = '//' + (window.location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1'; r.id = 'livereloadscript'; l.getElementsByTagName('head')[0].appendChild(r) })(window.document);
  var app = (function () {
      'use strict';
  
      function noop() { }
      function add_location(element, file, line, column, char) {
          element.__svelte_meta = {
              loc: { file, line, column, char }
          };
      }
      function run(fn) {
          return fn();
      }
      function blank_object() {
          return Object.create(null);
      }
      function run_all(fns) {
          fns.forEach(run);
      }
      function is_function(thing) {
          return typeof thing === 'function';
      }
      function safe_not_equal(a, b) {
          return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function');
      }
  
      function append(target, node) {
          target.appendChild(node);
      }
      function insert(target, node, anchor) {
          target.insertBefore(node, anchor || null);
      }
      function detach(node) {
          node.parentNode.removeChild(node);
      }
      function element(name) {
          return document.createElement(name);
      }
      function text(data) {
          return document.createTextNode(data);
      }
      function space() {
          return text(' ');
      }
      function attr(node, attribute, value) {
          if (value == null)
              node.removeAttribute(attribute);
          else if (node.getAttribute(attribute) !== value)
              node.setAttribute(attribute, value);
      }
      function children(element) {
          return Array.from(element.childNodes);
      }
      function set_style(node, key, value, important) {
          node.style.setProperty(key, value, important ? 'important' : '');
      }
      function custom_event(type, detail) {
          const e = document.createEvent('CustomEvent');
          e.initCustomEvent(type, false, false, detail);
          return e;
      }
  
      let current_component;
      function set_current_component(component) {
          current_component = component;
      }
  
      const dirty_components = [];
      const binding_callbacks = [];
      const render_callbacks = [];
      const flush_callbacks = [];
      const resolved_promise = Promise.resolve();
      let update_scheduled = false;
      function schedule_update() {
          if (!update_scheduled) {
              update_scheduled = true;
              resolved_promise.then(flush);
          }
      }
      function add_render_callback(fn) {
          render_callbacks.push(fn);
      }
      let flushing = false;
      const seen_callbacks = new Set();
      function flush() {
          if (flushing)
              return;
          flushing = true;
          do {
              // first, call beforeUpdate functions
              // and update components
              for (let i = 0; i < dirty_components.length; i += 1) {
                  const component = dirty_components[i];
                  set_current_component(component);
                  update(component.$$);
              }
              dirty_components.length = 0;
              while (binding_callbacks.length)
                  binding_callbacks.pop()();
              // then, once components are updated, call
              // afterUpdate functions. This may cause
              // subsequent updates...
              for (let i = 0; i < render_callbacks.length; i += 1) {
                  const callback = render_callbacks[i];
                  if (!seen_callbacks.has(callback)) {
                      // ...so guard against infinite loops
                      seen_callbacks.add(callback);
                      callback();
                  }
              }
              render_callbacks.length = 0;
          } while (dirty_components.length);
          while (flush_callbacks.length) {
              flush_callbacks.pop()();
          }
          update_scheduled = false;
          flushing = false;
          seen_callbacks.clear();
      }
      function update($$) {
          if ($$.fragment !== null) {
              $$.update();
              run_all($$.before_update);
              const dirty = $$.dirty;
              $$.dirty = [-1];
              $$.fragment && $$.fragment.p($$.ctx, dirty);
              $$.after_update.forEach(add_render_callback);
          }
      }
      const outroing = new Set();
      function transition_in(block, local) {
          if (block && block.i) {
              outroing.delete(block);
              block.i(local);
          }
      }
      function mount_component(component, target, anchor) {
          const { fragment, on_mount, on_destroy, after_update } = component.$$;
          fragment && fragment.m(target, anchor);
          // onMount happens before the initial afterUpdate
          add_render_callback(() => {
              const new_on_destroy = on_mount.map(run).filter(is_function);
              if (on_destroy) {
                  on_destroy.push(...new_on_destroy);
              }
              else {
                  // Edge case - component was destroyed immediately,
                  // most likely as a result of a binding initialising
                  run_all(new_on_destroy);
              }
              component.$$.on_mount = [];
          });
          after_update.forEach(add_render_callback);
      }
      function destroy_component(component, detaching) {
          const $$ = component.$$;
          if ($$.fragment !== null) {
              run_all($$.on_destroy);
              $$.fragment && $$.fragment.d(detaching);
              // TODO null out other refs, including component.$$ (but need to
              // preserve final state?)
              $$.on_destroy = $$.fragment = null;
              $$.ctx = [];
          }
      }
      function make_dirty(component, i) {
          if (component.$$.dirty[0] === -1) {
              dirty_components.push(component);
              schedule_update();
              component.$$.dirty.fill(0);
          }
          component.$$.dirty[(i / 31) | 0] |= (1 << (i % 31));
      }
      function init(component, options, instance, create_fragment, not_equal, props, dirty = [-1]) {
          const parent_component = current_component;
          set_current_component(component);
          const prop_values = options.props || {};
          const $$ = component.$$ = {
              fragment: null,
              ctx: null,
              // state
              props,
              update: noop,
              not_equal,
              bound: blank_object(),
              // lifecycle
              on_mount: [],
              on_destroy: [],
              before_update: [],
              after_update: [],
              context: new Map(parent_component ? parent_component.$$.context : []),
              // everything else
              callbacks: blank_object(),
              dirty
          };
          let ready = false;
          $$.ctx = instance
              ? instance(component, prop_values, (i, ret, ...rest) => {
                  const value = rest.length ? rest[0] : ret;
                  if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) {
                      if ($$.bound[i])
                          $$.bound[i](value);
                      if (ready)
                          make_dirty(component, i);
                  }
                  return ret;
              })
              : [];
          $$.update();
          ready = true;
          run_all($$.before_update);
          // `false` as a special case of no DOM component
          $$.fragment = create_fragment ? create_fragment($$.ctx) : false;
          if (options.target) {
              if (options.hydrate) {
                  const nodes = children(options.target);
                  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
                  $$.fragment && $$.fragment.l(nodes);
                  nodes.forEach(detach);
              }
              else {
                  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
                  $$.fragment && $$.fragment.c();
              }
              if (options.intro)
                  transition_in(component.$$.fragment);
              mount_component(component, options.target, options.anchor);
              flush();
          }
          set_current_component(parent_component);
      }
      class SvelteComponent {
          $destroy() {
              destroy_component(this, 1);
              this.$destroy = noop;
          }
          $on(type, callback) {
              const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));
              callbacks.push(callback);
              return () => {
                  const index = callbacks.indexOf(callback);
                  if (index !== -1)
                      callbacks.splice(index, 1);
              };
          }
          $set() {
              // overridden by instance, if it has props
          }
      }
  
      function dispatch_dev(type, detail) {
          document.dispatchEvent(custom_event(type, Object.assign({ version: '3.22.2' }, detail)));
      }
      function append_dev(target, node) {
          dispatch_dev("SvelteDOMInsert", { target, node });
          append(target, node);
      }
      function insert_dev(target, node, anchor) {
          dispatch_dev("SvelteDOMInsert", { target, node, anchor });
          insert(target, node, anchor);
      }
      function detach_dev(node) {
          dispatch_dev("SvelteDOMRemove", { node });
          detach(node);
      }
      function attr_dev(node, attribute, value) {
          attr(node, attribute, value);
          if (value == null)
              dispatch_dev("SvelteDOMRemoveAttribute", { node, attribute });
          else
              dispatch_dev("SvelteDOMSetAttribute", { node, attribute, value });
      }
      function validate_slots(name, slot, keys) {
          for (const slot_key of Object.keys(slot)) {
              if (!~keys.indexOf(slot_key)) {
                  console.warn(`<${name}> received an unexpected slot "${slot_key}".`);
              }
          }
      }
      class SvelteComponentDev extends SvelteComponent {
          constructor(options) {
              if (!options || (!options.target && !options.$$inline)) {
                  throw new Error(`'target' is a required option`);
              }
              super();
          }
          $destroy() {
              super.$destroy();
              this.$destroy = () => {
                  console.warn(`Component was already destroyed`); // eslint-disable-line no-console
              };
          }
          $capture_state() { }
          $inject_state() { }
      }
  
      /* src/App.svelte generated by Svelte v3.22.2 */
  
      const file = "src/App.svelte";
  
      function create_fragment(ctx) {
      	let h1;
      	let t1;
      	let p0;
      	let t2;
      	let a;
      	let t4;
      	let t5;
      	let form;
      	let input0;
      	let t6;
      	let input1;
      	let t7;
      	let p1;
      	let label0;
      	let t8;
      	let input2;
      	let t9;
      	let p2;
      	let label1;
      	let t10;
      	let input3;
      	let t11;
      	let p3;
      	let label2;
      	let t12;
      	let textarea;
      	let t13;
      	let p4;
      	let button;
  
      	const block = {
      		c: function create() {
      			h1 = element("h1");
      			h1.textContent = "PWA/SvelteKit + Netlify Forms demo";
      			t1 = space();
      			p0 = element("p");
      			t2 = text("View ");
      			a = element("a");
      			a.textContent = "https://github.com/sw-yx/sveltekitnetlifyforms";
      			t4 = text(" for source");
      			t5 = space();
      			form = element("form");
      			input0 = element("input");
      			t6 = space();
      			input1 = element("input");
      			t7 = space();
      			p1 = element("p");
      			label0 = element("label");
      			t8 = text("Your Name: ");
      			input2 = element("input");
      			t9 = space();
      			p2 = element("p");
      			label1 = element("label");
      			t10 = text("Your Email: ");
      			input3 = element("input");
      			t11 = space();
      			p3 = element("p");
      			label2 = element("label");
      			t12 = text("Message: ");
      			textarea = element("textarea");
      			t13 = space();
      			p4 = element("p");
      			button = element("button");
      			button.textContent = "Send";
      			add_location(h1, file, 4, 0, 69);
      			attr_dev(a, "href", "https://github.com/sw-yx/sveltekitnetlifyforms");
      			add_location(a, file, 5, 8, 121);
      			add_location(p0, file, 5, 0, 113);
      			attr_dev(input0, "type", "hidden");
      			attr_dev(input0, "name", "form-name");
      			input0.value = "test";
      			add_location(input0, file, 9, 4, 330);
      			attr_dev(input1, "type", "text");
      			attr_dev(input1, "name", "bot-field");
      			set_style(input1, "visibility", "hidden");
      			add_location(input1, file, 10, 4, 388);
      			attr_dev(input2, "type", "text");
      			attr_dev(input2, "name", "name");
      			add_location(input2, file, 12, 26, 487);
      			add_location(label0, file, 12, 8, 469);
      			add_location(p1, file, 11, 4, 457);
      			attr_dev(input3, "type", "email");
      			attr_dev(input3, "name", "email");
      			add_location(input3, file, 15, 27, 573);
      			add_location(label1, file, 15, 8, 554);
      			add_location(p2, file, 14, 4, 542);
      			attr_dev(textarea, "name", "message");
      			add_location(textarea, file, 18, 24, 658);
      			add_location(label2, file, 18, 8, 642);
      			add_location(p3, file, 17, 4, 630);
      			attr_dev(button, "type", "submit");
      			add_location(button, file, 21, 8, 719);
      			add_location(p4, file, 20, 4, 707);
      			attr_dev(form, "name", "test");
      			attr_dev(form, "method", "post");
      			attr_dev(form, "netlify", "");
      			add_location(form, file, 8, 0, 285);
      		},
      		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);
      			insert_dev(target, t1, anchor);
      			insert_dev(target, p0, anchor);
      			append_dev(p0, t2);
      			append_dev(p0, a);
      			append_dev(p0, t4);
      			insert_dev(target, t5, anchor);
      			insert_dev(target, form, anchor);
      			append_dev(form, input0);
      			append_dev(form, t6);
      			append_dev(form, input1);
      			append_dev(form, t7);
      			append_dev(form, p1);
      			append_dev(p1, label0);
      			append_dev(label0, t8);
      			append_dev(label0, input2);
      			append_dev(form, t9);
      			append_dev(form, p2);
      			append_dev(p2, label1);
      			append_dev(label1, t10);
      			append_dev(label1, input3);
      			append_dev(form, t11);
      			append_dev(form, p3);
      			append_dev(p3, label2);
      			append_dev(label2, t12);
      			append_dev(label2, textarea);
      			append_dev(form, t13);
      			append_dev(form, p4);
      			append_dev(p4, button);
      		},
      		p: noop,
      		i: noop,
      		o: noop,
      		d: function destroy(detaching) {
      			if (detaching) detach_dev(h1);
      			if (detaching) detach_dev(t1);
      			if (detaching) detach_dev(p0);
      			if (detaching) detach_dev(t5);
      			if (detaching) detach_dev(form);
      		}
      	};
  
      	dispatch_dev("SvelteRegisterBlock", {
      		block,
      		id: create_fragment.name,
      		type: "component",
      		source: "",
      		ctx
      	});
  
      	return block;
      }
  
      const prerender = true;
  
      function instance($$self, $$props, $$invalidate) {
      	const writable_props = [];
  
      	Object.keys($$props).forEach(key => {
      		if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(`<App> was created with unknown prop '${key}'`);
      	});
  
      	let { $$slots = {}, $$scope } = $$props;
      	validate_slots("App", $$slots, []);
      	$$self.$capture_state = () => ({ prerender });
      	return [];
      }
  
      class App extends SvelteComponentDev {
      	constructor(options) {
      		super(options);
      		init(this, options, instance, create_fragment, safe_not_equal, {});
  
      		dispatch_dev("SvelteRegisterComponent", {
      			component: this,
      			tagName: "App",
      			options,
      			id: create_fragment.name
      		});
      	}
      }
  
      const app = new App({
      	target: document.body,
      	props: {
      		name: 'world'
      	}
      });
  
      return app;
  
  }());
  //# sourceMappingURL=bundle.js.map
  