Spaces:
Runtime error
Runtime error
File size: 1,690 Bytes
fe1089d 31b505c fe1089d 31b505c fe1089d 31b505c fe1089d 31b505c fe1089d 31b505c fe1089d 31b505c fe1089d 31b505c fe1089d 31b505c fe1089d 31b505c fe1089d 31b505c fe1089d 31b505c fe1089d 31b505c fe1089d 31b505c fe1089d 31b505c fe1089d 31b505c fe1089d 31b505c fe1089d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
const {
SvelteComponent: r,
append: d,
attr: s,
detach: u,
element: o,
init: g,
insert: m,
noop: _,
safe_not_equal: v,
toggle_class: c
} = window.__gradio__svelte__internal;
function y(n) {
let e, l;
return {
c() {
e = o("div"), l = o("iframe"), s(l, "title", "iframe component"), s(l, "width", "100%"), s(l, "height", "100%"), s(
l,
"srcdoc",
/*value*/
n[0]
), s(l, "allow", ""), s(e, "class", "prose svelte-180qqaf"), c(
e,
"table",
/*type*/
n[1] === "table"
), c(
e,
"gallery",
/*type*/
n[1] === "gallery"
), c(
e,
"selected",
/*selected*/
n[2]
);
},
m(t, a) {
m(t, e, a), d(e, l);
},
p(t, [a]) {
a & /*value*/
1 && s(
l,
"srcdoc",
/*value*/
t[0]
), a & /*type*/
2 && c(
e,
"table",
/*type*/
t[1] === "table"
), a & /*type*/
2 && c(
e,
"gallery",
/*type*/
t[1] === "gallery"
), a & /*selected*/
4 && c(
e,
"selected",
/*selected*/
t[2]
);
},
i: _,
o: _,
d(t) {
t && u(e);
}
};
}
function h(n, e, l) {
let { value: t } = e, { type: a } = e, { selected: f = !1 } = e;
return n.$$set = (i) => {
"value" in i && l(0, t = i.value), "type" in i && l(1, a = i.type), "selected" in i && l(2, f = i.selected);
}, [t, a, f];
}
class b extends r {
constructor(e) {
super(), g(this, e, h, y, v, { value: 0, type: 1, selected: 2 });
}
}
export {
b as default
};
|