/* generated by Svelte vX.Y.Z */
import {
	SvelteComponent,
	detach,
	element,
	init,
	insert,
	noop,
	safe_not_equal,
	set_style
} from "svelte/internal";

function create_fragment(ctx) {
	var div;

	return {
		c() {
			div = element("div");
			set_style(div, "background", "url(data:image/png;base64," + ctx.data + ")");
		},

		m(target, anchor) {
			insert(target, div, anchor);
		},

		p(changed, ctx) {
			if (changed.data) {
				set_style(div, "background", "url(data:image/png;base64," + ctx.data + ")");
			}
		},

		i: noop,
		o: noop,

		d(detaching) {
			if (detaching) {
				detach(div);
			}
		}
	};
}

function instance($$self, $$props, $$invalidate) {
	let { data } = $$props;

	$$self.$set = $$props => {
		if ('data' in $$props) $$invalidate('data', data = $$props.data);
	};

	return { data };
}

class Component extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, instance, create_fragment, safe_not_equal, ["data"]);
	}
}

export default Component;