2023-04-28 14:29:35 +02:00
|
|
|
import { S as SvelteComponent, i as init, s as safe_not_equal, D as create_slot, k as element, a as space, q as text, l as claim_element, m as children, h as detach, c as claim_space, r as claim_text, E as src_url_equal, n as attr, b as insert_hydration, F as append_hydration, G as listen, u as set_data, H as update_slot_base, I as get_all_dirty_from_scope, J as get_slot_changes, f as transition_in, t as transition_out, d as check_outros, K as destroy_each, L as run_all, o as onMount, C as noop, x as create_component, y as claim_component, z as mount_component, A as destroy_component, g as group_outros } from "../../chunks/index-2a025a89.js";
|
|
|
|
import { a as animateText, h as handleAnchorClick, S as SvelteMarkdown, b as animateSection } from "../../chunks/helpers-88229792.js";
|
2023-02-11 21:55:49 +01:00
|
|
|
const app = "";
|
|
|
|
function get_each_context(ctx, list, i) {
|
|
|
|
const child_ctx = ctx.slice();
|
2023-02-21 12:52:19 +01:00
|
|
|
child_ctx[11] = list[i];
|
2023-02-11 21:55:49 +01:00
|
|
|
return child_ctx;
|
|
|
|
}
|
2023-02-12 18:42:42 +01:00
|
|
|
function get_each_context_1(ctx, list, i) {
|
|
|
|
const child_ctx = ctx.slice();
|
2023-02-21 12:52:19 +01:00
|
|
|
child_ctx[11] = list[i];
|
2023-02-12 18:42:42 +01:00
|
|
|
return child_ctx;
|
|
|
|
}
|
2023-04-28 14:09:39 +02:00
|
|
|
function create_else_block(ctx) {
|
2023-02-21 12:52:19 +01:00
|
|
|
var _a;
|
2023-04-28 14:09:39 +02:00
|
|
|
let t_value = (
|
2023-02-11 21:55:49 +01:00
|
|
|
/*mi*/
|
2023-02-21 12:52:19 +01:00
|
|
|
(((_a = ctx[11].name) == null ? void 0 : _a.toUpperCase()) || /*mi*/
|
|
|
|
ctx[11].title.toUpperCase()) + ""
|
2023-02-11 21:55:49 +01:00
|
|
|
);
|
2023-04-28 14:09:39 +02:00
|
|
|
let t;
|
|
|
|
return {
|
|
|
|
c() {
|
|
|
|
t = text(t_value);
|
|
|
|
},
|
|
|
|
l(nodes) {
|
|
|
|
t = claim_text(nodes, t_value);
|
|
|
|
},
|
|
|
|
m(target, anchor) {
|
|
|
|
insert_hydration(target, t, anchor);
|
|
|
|
},
|
|
|
|
p: noop,
|
|
|
|
d(detaching) {
|
|
|
|
if (detaching)
|
|
|
|
detach(t);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
function create_if_block_2(ctx) {
|
|
|
|
let div1;
|
|
|
|
let div0;
|
|
|
|
return {
|
|
|
|
c() {
|
|
|
|
div1 = element("div");
|
|
|
|
div0 = element("div");
|
|
|
|
this.h();
|
|
|
|
},
|
|
|
|
l(nodes) {
|
|
|
|
div1 = claim_element(nodes, "DIV", { class: true });
|
|
|
|
var div1_nodes = children(div1);
|
|
|
|
div0 = claim_element(div1_nodes, "DIV", { class: true });
|
|
|
|
children(div0).forEach(detach);
|
|
|
|
div1_nodes.forEach(detach);
|
|
|
|
this.h();
|
|
|
|
},
|
|
|
|
h() {
|
|
|
|
attr(div0, "class", "ico-children");
|
|
|
|
attr(div1, "class", "ico-" + /*mi*/
|
|
|
|
ctx[11].ico);
|
|
|
|
},
|
|
|
|
m(target, anchor) {
|
|
|
|
insert_hydration(target, div1, anchor);
|
|
|
|
append_hydration(div1, div0);
|
|
|
|
},
|
|
|
|
p: noop,
|
|
|
|
d(detaching) {
|
|
|
|
if (detaching)
|
|
|
|
detach(div1);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
function create_each_block_1(ctx) {
|
|
|
|
let div;
|
|
|
|
let a;
|
2023-02-21 12:52:19 +01:00
|
|
|
let a_class_value;
|
2023-04-28 14:09:39 +02:00
|
|
|
let t;
|
2023-02-16 12:29:50 +01:00
|
|
|
let mounted;
|
|
|
|
let dispose;
|
2023-04-28 14:09:39 +02:00
|
|
|
function select_block_type(ctx2, dirty) {
|
|
|
|
if (
|
|
|
|
/*mi*/
|
|
|
|
ctx2[11].ico
|
|
|
|
)
|
|
|
|
return create_if_block_2;
|
|
|
|
return create_else_block;
|
|
|
|
}
|
|
|
|
let current_block_type = select_block_type(ctx);
|
|
|
|
let if_block = current_block_type(ctx);
|
2023-02-11 21:55:49 +01:00
|
|
|
return {
|
|
|
|
c() {
|
|
|
|
div = element("div");
|
|
|
|
a = element("a");
|
2023-04-28 14:09:39 +02:00
|
|
|
if_block.c();
|
|
|
|
t = space();
|
2023-02-11 21:55:49 +01:00
|
|
|
this.h();
|
|
|
|
},
|
|
|
|
l(nodes) {
|
|
|
|
div = claim_element(nodes, "DIV", { class: true });
|
|
|
|
var div_nodes = children(div);
|
2023-02-21 17:36:59 +01:00
|
|
|
a = claim_element(div_nodes, "A", { class: true, href: true, target: true });
|
2023-02-11 21:55:49 +01:00
|
|
|
var a_nodes = children(a);
|
2023-04-28 14:09:39 +02:00
|
|
|
if_block.l(a_nodes);
|
2023-02-11 21:55:49 +01:00
|
|
|
a_nodes.forEach(detach);
|
2023-04-28 14:09:39 +02:00
|
|
|
t = claim_space(div_nodes);
|
2023-02-11 21:55:49 +01:00
|
|
|
div_nodes.forEach(detach);
|
|
|
|
this.h();
|
|
|
|
},
|
|
|
|
h() {
|
2023-02-21 12:52:19 +01:00
|
|
|
attr(a, "class", a_class_value = /*mi*/
|
|
|
|
(ctx[11].class ? (
|
2023-02-11 21:55:49 +01:00
|
|
|
/*mi*/
|
2023-02-21 12:52:19 +01:00
|
|
|
ctx[11].class
|
|
|
|
) : "hover:underline") + " " + /*choosed*/
|
|
|
|
(ctx[2] && /*mi*/
|
|
|
|
ctx[11].url === /*choosed*/
|
2023-04-25 07:46:32 +02:00
|
|
|
ctx[2][0].url ? "underline font-bold" : null) + " " + /*mi*/
|
2023-04-28 14:09:39 +02:00
|
|
|
(ctx[11].external ? "external" : "") + " " + /*mi*/
|
|
|
|
(ctx[11].ico ? "mi-img" : ""));
|
2023-02-11 21:55:49 +01:00
|
|
|
attr(
|
2023-02-12 19:07:28 +01:00
|
|
|
a,
|
|
|
|
"href",
|
2023-02-11 21:55:49 +01:00
|
|
|
/*mi*/
|
2023-02-21 12:52:19 +01:00
|
|
|
ctx[11].url
|
2023-02-11 21:55:49 +01:00
|
|
|
);
|
2023-02-21 17:36:59 +01:00
|
|
|
attr(
|
|
|
|
a,
|
|
|
|
"target",
|
|
|
|
/*mi*/
|
|
|
|
ctx[11].external ? "_blank" : ""
|
|
|
|
);
|
2023-04-25 07:46:32 +02:00
|
|
|
attr(div, "class", "hidden lg:block");
|
2023-02-11 21:55:49 +01:00
|
|
|
},
|
|
|
|
m(target, anchor) {
|
|
|
|
insert_hydration(target, div, anchor);
|
|
|
|
append_hydration(div, a);
|
2023-04-28 14:09:39 +02:00
|
|
|
if_block.m(a, null);
|
|
|
|
append_hydration(div, t);
|
2023-02-16 12:29:50 +01:00
|
|
|
if (!mounted) {
|
2023-02-21 12:52:19 +01:00
|
|
|
dispose = [
|
2023-04-28 14:09:39 +02:00
|
|
|
listen(
|
|
|
|
a,
|
|
|
|
"mouseenter",
|
|
|
|
/*mi*/
|
|
|
|
ctx[11].ico ? null : animateText
|
|
|
|
),
|
2023-02-21 17:36:59 +01:00
|
|
|
listen(a, "click", !/*mi*/
|
|
|
|
ctx[11].external ? handleAnchorClick : null)
|
2023-02-21 12:52:19 +01:00
|
|
|
];
|
2023-02-16 12:29:50 +01:00
|
|
|
mounted = true;
|
|
|
|
}
|
2023-02-11 21:55:49 +01:00
|
|
|
},
|
2023-02-21 17:36:59 +01:00
|
|
|
p(new_ctx, dirty) {
|
|
|
|
ctx = new_ctx;
|
2023-04-28 14:09:39 +02:00
|
|
|
if_block.p(ctx, dirty);
|
2023-02-21 12:52:19 +01:00
|
|
|
if (dirty & /*choosed*/
|
|
|
|
4 && a_class_value !== (a_class_value = /*mi*/
|
2023-02-21 17:36:59 +01:00
|
|
|
(ctx[11].class ? (
|
2023-02-21 12:52:19 +01:00
|
|
|
/*mi*/
|
2023-02-21 17:36:59 +01:00
|
|
|
ctx[11].class
|
2023-02-21 12:52:19 +01:00
|
|
|
) : "hover:underline") + " " + /*choosed*/
|
2023-02-21 17:36:59 +01:00
|
|
|
(ctx[2] && /*mi*/
|
|
|
|
ctx[11].url === /*choosed*/
|
2023-04-25 07:46:32 +02:00
|
|
|
ctx[2][0].url ? "underline font-bold" : null) + " " + /*mi*/
|
2023-04-28 14:09:39 +02:00
|
|
|
(ctx[11].external ? "external" : "") + " " + /*mi*/
|
|
|
|
(ctx[11].ico ? "mi-img" : ""))) {
|
2023-02-21 12:52:19 +01:00
|
|
|
attr(a, "class", a_class_value);
|
|
|
|
}
|
|
|
|
},
|
2023-02-11 21:55:49 +01:00
|
|
|
d(detaching) {
|
|
|
|
if (detaching)
|
|
|
|
detach(div);
|
2023-04-28 14:09:39 +02:00
|
|
|
if_block.d();
|
2023-02-16 12:29:50 +01:00
|
|
|
mounted = false;
|
2023-02-21 12:52:19 +01:00
|
|
|
run_all(dispose);
|
2023-02-11 21:55:49 +01:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
2023-02-13 19:15:24 +01:00
|
|
|
function create_if_block_1(ctx) {
|
2023-02-12 18:42:42 +01:00
|
|
|
let div;
|
|
|
|
let each_value = (
|
|
|
|
/*menu*/
|
2023-02-21 12:52:19 +01:00
|
|
|
ctx[3].filter(func_1)
|
2023-02-12 18:42:42 +01:00
|
|
|
);
|
|
|
|
let each_blocks = [];
|
|
|
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
|
|
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
|
|
|
|
}
|
|
|
|
return {
|
|
|
|
c() {
|
|
|
|
div = element("div");
|
|
|
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
|
|
each_blocks[i].c();
|
|
|
|
}
|
|
|
|
this.h();
|
|
|
|
},
|
|
|
|
l(nodes) {
|
|
|
|
div = claim_element(nodes, "DIV", { class: true });
|
|
|
|
var div_nodes = children(div);
|
|
|
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
|
|
each_blocks[i].l(div_nodes);
|
|
|
|
}
|
|
|
|
div_nodes.forEach(detach);
|
|
|
|
this.h();
|
|
|
|
},
|
|
|
|
h() {
|
2023-04-25 07:46:32 +02:00
|
|
|
attr(div, "class", "w-full lg:hidden p-4");
|
2023-02-12 18:42:42 +01:00
|
|
|
},
|
|
|
|
m(target, anchor) {
|
|
|
|
insert_hydration(target, div, anchor);
|
|
|
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
|
|
each_blocks[i].m(div, null);
|
|
|
|
}
|
|
|
|
},
|
|
|
|
p(ctx2, dirty) {
|
|
|
|
if (dirty & /*menu, navbar*/
|
2023-02-21 12:52:19 +01:00
|
|
|
10) {
|
2023-02-12 18:42:42 +01:00
|
|
|
each_value = /*menu*/
|
2023-02-21 12:52:19 +01:00
|
|
|
ctx2[3].filter(func_1);
|
2023-02-12 18:42:42 +01:00
|
|
|
let i;
|
|
|
|
for (i = 0; i < each_value.length; i += 1) {
|
|
|
|
const child_ctx = get_each_context(ctx2, each_value, i);
|
|
|
|
if (each_blocks[i]) {
|
|
|
|
each_blocks[i].p(child_ctx, dirty);
|
|
|
|
} else {
|
|
|
|
each_blocks[i] = create_each_block(child_ctx);
|
|
|
|
each_blocks[i].c();
|
|
|
|
each_blocks[i].m(div, null);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
for (; i < each_blocks.length; i += 1) {
|
|
|
|
each_blocks[i].d(1);
|
|
|
|
}
|
|
|
|
each_blocks.length = each_value.length;
|
|
|
|
}
|
|
|
|
},
|
|
|
|
d(detaching) {
|
|
|
|
if (detaching)
|
|
|
|
detach(div);
|
|
|
|
destroy_each(each_blocks, detaching);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
function create_each_block(ctx) {
|
|
|
|
let div;
|
|
|
|
let a;
|
|
|
|
let button;
|
|
|
|
let t0_value = (
|
|
|
|
/*mi*/
|
2023-02-21 12:52:19 +01:00
|
|
|
ctx[11].title + ""
|
2023-02-12 18:42:42 +01:00
|
|
|
);
|
|
|
|
let t0;
|
|
|
|
let t1;
|
|
|
|
let mounted;
|
|
|
|
let dispose;
|
|
|
|
return {
|
|
|
|
c() {
|
|
|
|
div = element("div");
|
|
|
|
a = element("a");
|
|
|
|
button = element("button");
|
|
|
|
t0 = text(t0_value);
|
|
|
|
t1 = space();
|
|
|
|
this.h();
|
|
|
|
},
|
|
|
|
l(nodes) {
|
|
|
|
div = claim_element(nodes, "DIV", { class: true });
|
|
|
|
var div_nodes = children(div);
|
|
|
|
a = claim_element(div_nodes, "A", { href: true });
|
|
|
|
var a_nodes = children(a);
|
|
|
|
button = claim_element(a_nodes, "BUTTON", { class: true });
|
|
|
|
var button_nodes = children(button);
|
|
|
|
t0 = claim_text(button_nodes, t0_value);
|
|
|
|
button_nodes.forEach(detach);
|
|
|
|
a_nodes.forEach(detach);
|
|
|
|
t1 = claim_space(div_nodes);
|
|
|
|
div_nodes.forEach(detach);
|
|
|
|
this.h();
|
|
|
|
},
|
|
|
|
h() {
|
|
|
|
attr(
|
|
|
|
button,
|
|
|
|
"class",
|
|
|
|
/*mi*/
|
2023-02-21 19:25:01 +01:00
|
|
|
ctx[11].class + " uppercase text-xl " + /*mi*/
|
|
|
|
(ctx[11].external ? "external" : "")
|
2023-02-12 18:42:42 +01:00
|
|
|
);
|
|
|
|
attr(
|
|
|
|
a,
|
|
|
|
"href",
|
|
|
|
/*mi*/
|
2023-02-21 12:52:19 +01:00
|
|
|
ctx[11].url
|
2023-02-12 18:42:42 +01:00
|
|
|
);
|
|
|
|
attr(div, "class", "my-3 mx-4");
|
|
|
|
},
|
|
|
|
m(target, anchor) {
|
|
|
|
insert_hydration(target, div, anchor);
|
|
|
|
append_hydration(div, a);
|
|
|
|
append_hydration(a, button);
|
|
|
|
append_hydration(button, t0);
|
|
|
|
append_hydration(div, t1);
|
|
|
|
if (!mounted) {
|
|
|
|
dispose = listen(
|
|
|
|
a,
|
|
|
|
"click",
|
|
|
|
/*click_handler_1*/
|
2023-02-21 12:52:19 +01:00
|
|
|
ctx[7]
|
2023-02-12 18:42:42 +01:00
|
|
|
);
|
|
|
|
mounted = true;
|
|
|
|
}
|
|
|
|
},
|
|
|
|
p: noop,
|
|
|
|
d(detaching) {
|
|
|
|
if (detaching)
|
|
|
|
detach(div);
|
|
|
|
mounted = false;
|
|
|
|
dispose();
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
2023-02-13 19:15:24 +01:00
|
|
|
function create_if_block(ctx) {
|
|
|
|
let div;
|
|
|
|
let sveltemarkdown;
|
|
|
|
let current;
|
|
|
|
sveltemarkdown = new SvelteMarkdown({
|
|
|
|
props: { source: (
|
|
|
|
/*data*/
|
|
|
|
ctx[0].config.license
|
|
|
|
) }
|
|
|
|
});
|
|
|
|
return {
|
|
|
|
c() {
|
|
|
|
div = element("div");
|
|
|
|
create_component(sveltemarkdown.$$.fragment);
|
|
|
|
this.h();
|
|
|
|
},
|
|
|
|
l(nodes) {
|
|
|
|
div = claim_element(nodes, "DIV", { class: true });
|
|
|
|
var div_nodes = children(div);
|
|
|
|
claim_component(sveltemarkdown.$$.fragment, div_nodes);
|
|
|
|
div_nodes.forEach(detach);
|
|
|
|
this.h();
|
|
|
|
},
|
|
|
|
h() {
|
2023-04-28 14:29:35 +02:00
|
|
|
attr(div, "class", "mt-4 text-sm text-supermild text-right");
|
2023-02-13 19:15:24 +01:00
|
|
|
},
|
|
|
|
m(target, anchor) {
|
|
|
|
insert_hydration(target, div, anchor);
|
|
|
|
mount_component(sveltemarkdown, div, null);
|
|
|
|
current = true;
|
|
|
|
},
|
|
|
|
p(ctx2, dirty) {
|
|
|
|
const sveltemarkdown_changes = {};
|
|
|
|
if (dirty & /*data*/
|
|
|
|
1)
|
|
|
|
sveltemarkdown_changes.source = /*data*/
|
|
|
|
ctx2[0].config.license;
|
|
|
|
sveltemarkdown.$set(sveltemarkdown_changes);
|
|
|
|
},
|
|
|
|
i(local) {
|
|
|
|
if (current)
|
|
|
|
return;
|
|
|
|
transition_in(sveltemarkdown.$$.fragment, local);
|
|
|
|
current = true;
|
|
|
|
},
|
|
|
|
o(local) {
|
|
|
|
transition_out(sveltemarkdown.$$.fragment, local);
|
|
|
|
current = false;
|
|
|
|
},
|
|
|
|
d(detaching) {
|
|
|
|
if (detaching)
|
|
|
|
detach(div);
|
|
|
|
destroy_component(sveltemarkdown);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
2023-02-11 21:55:49 +01:00
|
|
|
function create_fragment(ctx) {
|
2023-04-28 14:29:35 +02:00
|
|
|
let div27;
|
2023-04-25 07:46:32 +02:00
|
|
|
let div7;
|
2023-02-11 21:55:49 +01:00
|
|
|
let div5;
|
|
|
|
let div4;
|
|
|
|
let div3;
|
|
|
|
let div1;
|
|
|
|
let div0;
|
|
|
|
let a0;
|
|
|
|
let img0;
|
|
|
|
let img0_src_value;
|
2023-02-13 18:56:37 +01:00
|
|
|
let img0_alt_value;
|
2023-02-11 21:55:49 +01:00
|
|
|
let t0;
|
|
|
|
let div2;
|
2023-04-25 07:46:32 +02:00
|
|
|
let button0;
|
2023-02-11 21:55:49 +01:00
|
|
|
let t1;
|
2023-02-12 18:42:42 +01:00
|
|
|
let t2;
|
|
|
|
let t3;
|
|
|
|
let t4;
|
2023-02-11 21:55:49 +01:00
|
|
|
let div6;
|
2023-02-12 18:42:42 +01:00
|
|
|
let t5;
|
2023-04-25 07:46:32 +02:00
|
|
|
let div17;
|
|
|
|
let div16;
|
|
|
|
let div15;
|
|
|
|
let div8;
|
|
|
|
let t6_value = (
|
2023-02-11 21:55:49 +01:00
|
|
|
/*data*/
|
2023-04-25 07:46:32 +02:00
|
|
|
ctx[0].config.shortname.toLowerCase() + ""
|
2023-02-11 21:55:49 +01:00
|
|
|
);
|
2023-04-25 07:46:32 +02:00
|
|
|
let t6;
|
2023-02-12 18:42:42 +01:00
|
|
|
let t7;
|
2023-04-25 07:46:32 +02:00
|
|
|
let div9;
|
|
|
|
let p0;
|
|
|
|
let t8_value = (
|
2023-02-11 21:55:49 +01:00
|
|
|
/*data*/
|
2023-04-25 07:46:32 +02:00
|
|
|
ctx[0].config.slogan + ""
|
2023-02-11 21:55:49 +01:00
|
|
|
);
|
2023-04-25 07:46:32 +02:00
|
|
|
let t8;
|
2023-02-11 22:35:42 +01:00
|
|
|
let t9;
|
2023-04-25 07:46:32 +02:00
|
|
|
let p1;
|
2023-02-11 22:35:42 +01:00
|
|
|
let t10;
|
2023-04-25 07:46:32 +02:00
|
|
|
let div14;
|
|
|
|
let div13;
|
|
|
|
let div10;
|
2023-04-28 14:29:35 +02:00
|
|
|
let span0;
|
2023-02-13 18:56:37 +01:00
|
|
|
let t11_value = (
|
|
|
|
/*data*/
|
2023-04-25 07:46:32 +02:00
|
|
|
ctx[0].config.date + ""
|
2023-02-13 18:56:37 +01:00
|
|
|
);
|
2023-02-11 22:35:42 +01:00
|
|
|
let t11;
|
|
|
|
let t12;
|
2023-04-25 07:46:32 +02:00
|
|
|
let a1;
|
2023-02-13 18:56:37 +01:00
|
|
|
let t13_value = (
|
|
|
|
/*data*/
|
2023-04-25 07:46:32 +02:00
|
|
|
ctx[0].config.venue + ""
|
2023-02-13 18:56:37 +01:00
|
|
|
);
|
2023-02-12 18:42:42 +01:00
|
|
|
let t13;
|
2023-04-25 07:46:32 +02:00
|
|
|
let a1_href_value;
|
2023-02-12 18:42:42 +01:00
|
|
|
let t14;
|
2023-04-25 07:46:32 +02:00
|
|
|
let div12;
|
|
|
|
let a2;
|
|
|
|
let button1;
|
|
|
|
let div11;
|
2023-02-12 18:42:42 +01:00
|
|
|
let t15;
|
2023-04-25 07:46:32 +02:00
|
|
|
let t16;
|
|
|
|
let t17;
|
2023-02-11 22:35:42 +01:00
|
|
|
let footer;
|
2023-04-28 14:29:35 +02:00
|
|
|
let div26;
|
|
|
|
let div25;
|
2023-04-25 07:46:32 +02:00
|
|
|
let div19;
|
2023-02-11 21:55:49 +01:00
|
|
|
let div18;
|
2023-02-14 17:18:47 +01:00
|
|
|
let a3;
|
2023-02-11 21:55:49 +01:00
|
|
|
let img1;
|
|
|
|
let img1_src_value;
|
2023-02-13 18:56:37 +01:00
|
|
|
let img1_alt_value;
|
2023-02-14 17:18:47 +01:00
|
|
|
let a3_href_value;
|
2023-04-25 07:46:32 +02:00
|
|
|
let t18;
|
2023-04-28 14:29:35 +02:00
|
|
|
let div24;
|
|
|
|
let div23;
|
2023-04-25 07:46:32 +02:00
|
|
|
let div20;
|
2023-04-28 14:29:35 +02:00
|
|
|
let span1;
|
2023-04-25 07:46:32 +02:00
|
|
|
let t19;
|
|
|
|
let t20;
|
2023-04-28 14:29:35 +02:00
|
|
|
let a4;
|
|
|
|
let t21;
|
|
|
|
let t22_value = (
|
2023-02-13 18:56:37 +01:00
|
|
|
/*data*/
|
|
|
|
ctx[0].config.twitter + ""
|
|
|
|
);
|
2023-04-25 07:46:32 +02:00
|
|
|
let t22;
|
2023-04-28 14:29:35 +02:00
|
|
|
let a4_href_value;
|
2023-04-25 07:46:32 +02:00
|
|
|
let t23;
|
2023-04-28 14:29:35 +02:00
|
|
|
let div21;
|
|
|
|
let span2;
|
|
|
|
let t24;
|
|
|
|
let t25;
|
|
|
|
let a5;
|
|
|
|
let t26;
|
|
|
|
let t27_value = (
|
|
|
|
/*data*/
|
|
|
|
ctx[0].config.bluesky + ""
|
|
|
|
);
|
|
|
|
let t27;
|
|
|
|
let a5_href_value;
|
|
|
|
let t28;
|
|
|
|
let div22;
|
|
|
|
let span3;
|
|
|
|
let t29;
|
|
|
|
let t30;
|
|
|
|
let a6;
|
|
|
|
let t31_value = (
|
|
|
|
/*data*/
|
|
|
|
ctx[0].config.matrix + ""
|
|
|
|
);
|
|
|
|
let t31;
|
|
|
|
let a6_href_value;
|
|
|
|
let t32;
|
2023-02-11 21:55:49 +01:00
|
|
|
let current;
|
2023-02-12 18:42:42 +01:00
|
|
|
let mounted;
|
|
|
|
let dispose;
|
|
|
|
let each_value_1 = (
|
2023-02-11 21:55:49 +01:00
|
|
|
/*menu*/
|
2023-02-21 12:52:19 +01:00
|
|
|
ctx[3].filter(func)
|
2023-02-11 21:55:49 +01:00
|
|
|
);
|
|
|
|
let each_blocks = [];
|
2023-02-12 18:42:42 +01:00
|
|
|
for (let i = 0; i < each_value_1.length; i += 1) {
|
|
|
|
each_blocks[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i));
|
2023-02-11 21:55:49 +01:00
|
|
|
}
|
2023-02-13 19:15:24 +01:00
|
|
|
let if_block0 = (
|
2023-02-12 18:42:42 +01:00
|
|
|
/*navbar*/
|
2023-02-13 19:15:24 +01:00
|
|
|
ctx[1] && create_if_block_1(ctx)
|
2023-02-12 18:42:42 +01:00
|
|
|
);
|
2023-02-11 21:55:49 +01:00
|
|
|
const default_slot_template = (
|
|
|
|
/*#slots*/
|
2023-02-21 12:52:19 +01:00
|
|
|
ctx[5].default
|
2023-02-11 21:55:49 +01:00
|
|
|
);
|
|
|
|
const default_slot = create_slot(
|
|
|
|
default_slot_template,
|
|
|
|
ctx,
|
|
|
|
/*$$scope*/
|
2023-02-21 12:52:19 +01:00
|
|
|
ctx[4],
|
2023-02-11 21:55:49 +01:00
|
|
|
null
|
|
|
|
);
|
2023-02-13 19:15:24 +01:00
|
|
|
let if_block1 = (
|
|
|
|
/*data*/
|
|
|
|
ctx[0].config.license && create_if_block(ctx)
|
|
|
|
);
|
2023-02-11 21:55:49 +01:00
|
|
|
return {
|
|
|
|
c() {
|
2023-04-28 14:29:35 +02:00
|
|
|
div27 = element("div");
|
2023-04-25 07:46:32 +02:00
|
|
|
div7 = element("div");
|
2023-02-11 21:55:49 +01:00
|
|
|
div5 = element("div");
|
|
|
|
div4 = element("div");
|
|
|
|
div3 = element("div");
|
|
|
|
div1 = element("div");
|
|
|
|
div0 = element("div");
|
|
|
|
a0 = element("a");
|
|
|
|
img0 = element("img");
|
|
|
|
t0 = space();
|
|
|
|
div2 = element("div");
|
2023-04-25 07:46:32 +02:00
|
|
|
button0 = element("button");
|
2023-02-12 18:42:42 +01:00
|
|
|
t1 = text("☰");
|
|
|
|
t2 = space();
|
2023-02-11 21:55:49 +01:00
|
|
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
|
|
each_blocks[i].c();
|
|
|
|
}
|
2023-02-12 18:42:42 +01:00
|
|
|
t3 = space();
|
2023-02-13 19:15:24 +01:00
|
|
|
if (if_block0)
|
|
|
|
if_block0.c();
|
2023-02-12 18:42:42 +01:00
|
|
|
t4 = space();
|
2023-02-11 21:55:49 +01:00
|
|
|
div6 = element("div");
|
2023-04-25 07:46:32 +02:00
|
|
|
t5 = space();
|
|
|
|
div17 = element("div");
|
|
|
|
div16 = element("div");
|
|
|
|
div15 = element("div");
|
2023-02-14 17:18:47 +01:00
|
|
|
div8 = element("div");
|
2023-04-25 07:46:32 +02:00
|
|
|
t6 = text(t6_value);
|
|
|
|
t7 = space();
|
|
|
|
div9 = element("div");
|
2023-02-11 22:35:42 +01:00
|
|
|
p0 = element("p");
|
2023-04-25 07:46:32 +02:00
|
|
|
t8 = text(t8_value);
|
|
|
|
t9 = space();
|
2023-02-11 22:35:42 +01:00
|
|
|
p1 = element("p");
|
2023-04-25 07:46:32 +02:00
|
|
|
t10 = space();
|
|
|
|
div14 = element("div");
|
|
|
|
div13 = element("div");
|
|
|
|
div10 = element("div");
|
2023-04-28 14:29:35 +02:00
|
|
|
span0 = element("span");
|
2023-04-25 07:46:32 +02:00
|
|
|
t11 = text(t11_value);
|
|
|
|
t12 = text(" AT\n ");
|
|
|
|
a1 = element("a");
|
2023-02-13 18:56:37 +01:00
|
|
|
t13 = text(t13_value);
|
2023-02-12 18:42:42 +01:00
|
|
|
t14 = space();
|
2023-04-25 07:46:32 +02:00
|
|
|
div12 = element("div");
|
|
|
|
a2 = element("a");
|
|
|
|
button1 = element("button");
|
|
|
|
div11 = element("div");
|
2023-09-29 11:54:06 +02:00
|
|
|
t15 = text("Watch recorded talks");
|
2023-04-25 07:46:32 +02:00
|
|
|
t16 = space();
|
2023-02-11 21:55:49 +01:00
|
|
|
if (default_slot)
|
|
|
|
default_slot.c();
|
2023-04-25 07:46:32 +02:00
|
|
|
t17 = space();
|
2023-02-11 22:35:42 +01:00
|
|
|
footer = element("footer");
|
2023-04-28 14:29:35 +02:00
|
|
|
div26 = element("div");
|
|
|
|
div25 = element("div");
|
2023-04-25 07:46:32 +02:00
|
|
|
div19 = element("div");
|
2023-02-11 21:55:49 +01:00
|
|
|
div18 = element("div");
|
2023-02-14 17:18:47 +01:00
|
|
|
a3 = element("a");
|
2023-02-11 22:35:42 +01:00
|
|
|
img1 = element("img");
|
2023-04-25 07:46:32 +02:00
|
|
|
t18 = space();
|
2023-04-28 14:29:35 +02:00
|
|
|
div24 = element("div");
|
|
|
|
div23 = element("div");
|
2023-04-25 07:46:32 +02:00
|
|
|
div20 = element("div");
|
2023-04-28 14:29:35 +02:00
|
|
|
span1 = element("span");
|
|
|
|
t19 = text("Twitter");
|
|
|
|
t20 = space();
|
2023-02-14 17:18:47 +01:00
|
|
|
a4 = element("a");
|
2023-04-28 14:29:35 +02:00
|
|
|
t21 = text("@");
|
|
|
|
t22 = text(t22_value);
|
2023-04-25 07:46:32 +02:00
|
|
|
t23 = space();
|
2023-04-28 14:29:35 +02:00
|
|
|
div21 = element("div");
|
|
|
|
span2 = element("span");
|
|
|
|
t24 = text("Bluesky");
|
|
|
|
t25 = space();
|
|
|
|
a5 = element("a");
|
|
|
|
t26 = text("@");
|
|
|
|
t27 = text(t27_value);
|
|
|
|
t28 = space();
|
|
|
|
div22 = element("div");
|
|
|
|
span3 = element("span");
|
|
|
|
t29 = text("Matrix");
|
|
|
|
t30 = space();
|
|
|
|
a6 = element("a");
|
|
|
|
t31 = text(t31_value);
|
|
|
|
t32 = space();
|
2023-02-13 19:15:24 +01:00
|
|
|
if (if_block1)
|
|
|
|
if_block1.c();
|
2023-02-11 21:55:49 +01:00
|
|
|
this.h();
|
|
|
|
},
|
|
|
|
l(nodes) {
|
2023-04-28 14:29:35 +02:00
|
|
|
div27 = claim_element(nodes, "DIV", { class: true });
|
|
|
|
var div27_nodes = children(div27);
|
|
|
|
div7 = claim_element(div27_nodes, "DIV", { class: true, id: true });
|
2023-04-25 07:46:32 +02:00
|
|
|
var div7_nodes = children(div7);
|
|
|
|
div5 = claim_element(div7_nodes, "DIV", { class: true });
|
2023-02-11 21:55:49 +01:00
|
|
|
var div5_nodes = children(div5);
|
|
|
|
div4 = claim_element(div5_nodes, "DIV", { class: true });
|
|
|
|
var div4_nodes = children(div4);
|
|
|
|
div3 = claim_element(div4_nodes, "DIV", { class: true });
|
|
|
|
var div3_nodes = children(div3);
|
|
|
|
div1 = claim_element(div3_nodes, "DIV", { class: true });
|
|
|
|
var div1_nodes = children(div1);
|
|
|
|
div0 = claim_element(div1_nodes, "DIV", { class: true });
|
|
|
|
var div0_nodes = children(div0);
|
2023-04-25 07:46:32 +02:00
|
|
|
a0 = claim_element(div0_nodes, "A", { href: true });
|
2023-02-11 21:55:49 +01:00
|
|
|
var a0_nodes = children(a0);
|
2023-02-13 18:56:37 +01:00
|
|
|
img0 = claim_element(a0_nodes, "IMG", { src: true, alt: true });
|
2023-02-11 21:55:49 +01:00
|
|
|
a0_nodes.forEach(detach);
|
|
|
|
div0_nodes.forEach(detach);
|
|
|
|
div1_nodes.forEach(detach);
|
|
|
|
t0 = claim_space(div3_nodes);
|
|
|
|
div2 = claim_element(div3_nodes, "DIV", { class: true });
|
|
|
|
var div2_nodes = children(div2);
|
2023-04-25 07:46:32 +02:00
|
|
|
button0 = claim_element(div2_nodes, "BUTTON", { class: true });
|
|
|
|
var button0_nodes = children(button0);
|
|
|
|
t1 = claim_text(button0_nodes, "☰");
|
|
|
|
button0_nodes.forEach(detach);
|
2023-02-12 18:42:42 +01:00
|
|
|
t2 = claim_space(div2_nodes);
|
2023-02-11 21:55:49 +01:00
|
|
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
|
|
each_blocks[i].l(div2_nodes);
|
|
|
|
}
|
|
|
|
div2_nodes.forEach(detach);
|
|
|
|
div3_nodes.forEach(detach);
|
|
|
|
div4_nodes.forEach(detach);
|
2023-02-12 18:42:42 +01:00
|
|
|
t3 = claim_space(div5_nodes);
|
2023-02-13 19:15:24 +01:00
|
|
|
if (if_block0)
|
|
|
|
if_block0.l(div5_nodes);
|
2023-02-11 21:55:49 +01:00
|
|
|
div5_nodes.forEach(detach);
|
2023-04-25 07:46:32 +02:00
|
|
|
t4 = claim_space(div7_nodes);
|
|
|
|
div6 = claim_element(div7_nodes, "DIV", { id: true });
|
|
|
|
children(div6).forEach(detach);
|
2023-02-11 21:55:49 +01:00
|
|
|
div7_nodes.forEach(detach);
|
2023-04-28 14:29:35 +02:00
|
|
|
t5 = claim_space(div27_nodes);
|
|
|
|
div17 = claim_element(div27_nodes, "DIV", { class: true, id: true });
|
2023-04-25 07:46:32 +02:00
|
|
|
var div17_nodes = children(div17);
|
|
|
|
div16 = claim_element(div17_nodes, "DIV", { class: true });
|
|
|
|
var div16_nodes = children(div16);
|
|
|
|
div15 = claim_element(div16_nodes, "DIV", { class: true });
|
|
|
|
var div15_nodes = children(div15);
|
|
|
|
div8 = claim_element(div15_nodes, "DIV", { class: true });
|
2023-02-11 21:55:49 +01:00
|
|
|
var div8_nodes = children(div8);
|
2023-04-25 07:46:32 +02:00
|
|
|
t6 = claim_text(div8_nodes, t6_value);
|
|
|
|
div8_nodes.forEach(detach);
|
|
|
|
t7 = claim_space(div15_nodes);
|
|
|
|
div9 = claim_element(div15_nodes, "DIV", { class: true });
|
|
|
|
var div9_nodes = children(div9);
|
|
|
|
p0 = claim_element(div9_nodes, "P", { class: true });
|
2023-02-11 22:35:42 +01:00
|
|
|
var p0_nodes = children(p0);
|
2023-04-25 07:46:32 +02:00
|
|
|
t8 = claim_text(p0_nodes, t8_value);
|
2023-02-11 22:35:42 +01:00
|
|
|
p0_nodes.forEach(detach);
|
2023-04-25 07:46:32 +02:00
|
|
|
t9 = claim_space(div9_nodes);
|
|
|
|
p1 = claim_element(div9_nodes, "P", {});
|
|
|
|
children(p1).forEach(detach);
|
2023-02-11 21:55:49 +01:00
|
|
|
div9_nodes.forEach(detach);
|
2023-04-25 07:46:32 +02:00
|
|
|
t10 = claim_space(div15_nodes);
|
|
|
|
div14 = claim_element(div15_nodes, "DIV", { class: true });
|
|
|
|
var div14_nodes = children(div14);
|
|
|
|
div13 = claim_element(div14_nodes, "DIV", { class: true });
|
|
|
|
var div13_nodes = children(div13);
|
|
|
|
div10 = claim_element(div13_nodes, "DIV", { class: true });
|
|
|
|
var div10_nodes = children(div10);
|
2023-04-28 14:29:35 +02:00
|
|
|
span0 = claim_element(div10_nodes, "SPAN", { class: true });
|
|
|
|
var span0_nodes = children(span0);
|
|
|
|
t11 = claim_text(span0_nodes, t11_value);
|
|
|
|
span0_nodes.forEach(detach);
|
2023-04-25 07:46:32 +02:00
|
|
|
t12 = claim_text(div10_nodes, " AT\n ");
|
|
|
|
a1 = claim_element(div10_nodes, "A", { href: true, target: true, class: true });
|
|
|
|
var a1_nodes = children(a1);
|
|
|
|
t13 = claim_text(a1_nodes, t13_value);
|
|
|
|
a1_nodes.forEach(detach);
|
2023-02-11 21:55:49 +01:00
|
|
|
div10_nodes.forEach(detach);
|
2023-04-25 07:46:32 +02:00
|
|
|
t14 = claim_space(div13_nodes);
|
|
|
|
div12 = claim_element(div13_nodes, "DIV", { class: true });
|
|
|
|
var div12_nodes = children(div12);
|
|
|
|
a2 = claim_element(div12_nodes, "A", { href: true });
|
|
|
|
var a2_nodes = children(a2);
|
|
|
|
button1 = claim_element(a2_nodes, "BUTTON", { class: true });
|
|
|
|
var button1_nodes = children(button1);
|
|
|
|
div11 = claim_element(button1_nodes, "DIV", { class: true });
|
|
|
|
var div11_nodes = children(div11);
|
2023-09-29 11:54:06 +02:00
|
|
|
t15 = claim_text(div11_nodes, "Watch recorded talks");
|
2023-02-11 21:55:49 +01:00
|
|
|
div11_nodes.forEach(detach);
|
2023-04-25 07:46:32 +02:00
|
|
|
button1_nodes.forEach(detach);
|
|
|
|
a2_nodes.forEach(detach);
|
|
|
|
div12_nodes.forEach(detach);
|
|
|
|
div13_nodes.forEach(detach);
|
|
|
|
div14_nodes.forEach(detach);
|
|
|
|
div15_nodes.forEach(detach);
|
|
|
|
div16_nodes.forEach(detach);
|
|
|
|
div17_nodes.forEach(detach);
|
2023-04-28 14:29:35 +02:00
|
|
|
t16 = claim_space(div27_nodes);
|
2023-02-11 21:55:49 +01:00
|
|
|
if (default_slot)
|
2023-04-28 14:29:35 +02:00
|
|
|
default_slot.l(div27_nodes);
|
|
|
|
t17 = claim_space(div27_nodes);
|
|
|
|
footer = claim_element(div27_nodes, "FOOTER", { class: true });
|
2023-02-11 22:35:42 +01:00
|
|
|
var footer_nodes = children(footer);
|
2023-04-28 14:29:35 +02:00
|
|
|
div26 = claim_element(footer_nodes, "DIV", { class: true });
|
|
|
|
var div26_nodes = children(div26);
|
|
|
|
div25 = claim_element(div26_nodes, "DIV", { class: true });
|
|
|
|
var div25_nodes = children(div25);
|
|
|
|
div19 = claim_element(div25_nodes, "DIV", { class: true });
|
2023-04-25 07:46:32 +02:00
|
|
|
var div19_nodes = children(div19);
|
|
|
|
div18 = claim_element(div19_nodes, "DIV", { class: true });
|
2023-02-11 21:55:49 +01:00
|
|
|
var div18_nodes = children(div18);
|
2023-04-25 07:46:32 +02:00
|
|
|
a3 = claim_element(div18_nodes, "A", { href: true });
|
2023-02-11 22:35:42 +01:00
|
|
|
var a3_nodes = children(a3);
|
2023-02-14 17:18:47 +01:00
|
|
|
img1 = claim_element(a3_nodes, "IMG", { src: true, alt: true });
|
|
|
|
a3_nodes.forEach(detach);
|
2023-04-25 07:46:32 +02:00
|
|
|
div18_nodes.forEach(detach);
|
|
|
|
div19_nodes.forEach(detach);
|
2023-04-28 14:29:35 +02:00
|
|
|
t18 = claim_space(div25_nodes);
|
|
|
|
div24 = claim_element(div25_nodes, "DIV", { class: true });
|
|
|
|
var div24_nodes = children(div24);
|
|
|
|
div23 = claim_element(div24_nodes, "DIV", { class: true });
|
|
|
|
var div23_nodes = children(div23);
|
|
|
|
div20 = claim_element(div23_nodes, "DIV", {});
|
2023-04-25 07:46:32 +02:00
|
|
|
var div20_nodes = children(div20);
|
2023-04-28 14:29:35 +02:00
|
|
|
span1 = claim_element(div20_nodes, "SPAN", { class: true });
|
|
|
|
var span1_nodes = children(span1);
|
|
|
|
t19 = claim_text(span1_nodes, "Twitter");
|
|
|
|
span1_nodes.forEach(detach);
|
|
|
|
t20 = claim_space(div20_nodes);
|
|
|
|
a4 = claim_element(div20_nodes, "A", { href: true, class: true, target: true });
|
2023-02-14 17:18:47 +01:00
|
|
|
var a4_nodes = children(a4);
|
2023-04-28 14:29:35 +02:00
|
|
|
t21 = claim_text(a4_nodes, "@");
|
|
|
|
t22 = claim_text(a4_nodes, t22_value);
|
2023-02-12 01:08:18 +01:00
|
|
|
a4_nodes.forEach(detach);
|
2023-04-25 07:46:32 +02:00
|
|
|
div20_nodes.forEach(detach);
|
2023-04-28 14:29:35 +02:00
|
|
|
t23 = claim_space(div23_nodes);
|
|
|
|
div21 = claim_element(div23_nodes, "DIV", {});
|
2023-04-25 07:46:32 +02:00
|
|
|
var div21_nodes = children(div21);
|
2023-04-28 14:29:35 +02:00
|
|
|
span2 = claim_element(div21_nodes, "SPAN", { class: true });
|
|
|
|
var span2_nodes = children(span2);
|
|
|
|
t24 = claim_text(span2_nodes, "Bluesky");
|
|
|
|
span2_nodes.forEach(detach);
|
|
|
|
t25 = claim_space(div21_nodes);
|
|
|
|
a5 = claim_element(div21_nodes, "A", { href: true, class: true, target: true });
|
|
|
|
var a5_nodes = children(a5);
|
|
|
|
t26 = claim_text(a5_nodes, "@");
|
|
|
|
t27 = claim_text(a5_nodes, t27_value);
|
|
|
|
a5_nodes.forEach(detach);
|
2023-04-25 07:46:32 +02:00
|
|
|
div21_nodes.forEach(detach);
|
2023-04-28 14:29:35 +02:00
|
|
|
t28 = claim_space(div23_nodes);
|
|
|
|
div22 = claim_element(div23_nodes, "DIV", {});
|
|
|
|
var div22_nodes = children(div22);
|
|
|
|
span3 = claim_element(div22_nodes, "SPAN", { class: true });
|
|
|
|
var span3_nodes = children(span3);
|
|
|
|
t29 = claim_text(span3_nodes, "Matrix");
|
|
|
|
span3_nodes.forEach(detach);
|
|
|
|
t30 = claim_space(div22_nodes);
|
|
|
|
a6 = claim_element(div22_nodes, "A", { href: true, class: true, target: true });
|
|
|
|
var a6_nodes = children(a6);
|
|
|
|
t31 = claim_text(a6_nodes, t31_value);
|
|
|
|
a6_nodes.forEach(detach);
|
2023-04-25 07:46:32 +02:00
|
|
|
div22_nodes.forEach(detach);
|
|
|
|
div23_nodes.forEach(detach);
|
|
|
|
div24_nodes.forEach(detach);
|
|
|
|
div25_nodes.forEach(detach);
|
2023-04-28 14:29:35 +02:00
|
|
|
t32 = claim_space(div26_nodes);
|
|
|
|
if (if_block1)
|
|
|
|
if_block1.l(div26_nodes);
|
|
|
|
div26_nodes.forEach(detach);
|
|
|
|
footer_nodes.forEach(detach);
|
|
|
|
div27_nodes.forEach(detach);
|
2023-02-11 21:55:49 +01:00
|
|
|
this.h();
|
|
|
|
},
|
|
|
|
h() {
|
2023-02-13 18:56:37 +01:00
|
|
|
if (!src_url_equal(img0.src, img0_src_value = /*data*/
|
|
|
|
ctx[0].config.logo))
|
2023-02-11 21:55:49 +01:00
|
|
|
attr(img0, "src", img0_src_value);
|
2023-02-13 18:56:37 +01:00
|
|
|
attr(img0, "alt", img0_alt_value = /*data*/
|
2023-04-25 07:46:32 +02:00
|
|
|
ctx[0].config.title);
|
|
|
|
attr(a0, "href", "/");
|
|
|
|
attr(div0, "class", "w-36 py-2");
|
2023-02-11 21:55:49 +01:00
|
|
|
attr(div1, "class", "flex items-center gap-4 grow");
|
2023-04-25 07:46:32 +02:00
|
|
|
attr(button0, "class", "lg:hidden text-3xl");
|
|
|
|
attr(div2, "class", "flex items-center lg:gap-8 xl:gap-14 text-base darker");
|
|
|
|
attr(div3, "class", "flex my-1");
|
|
|
|
attr(div4, "class", "middle-pane-big");
|
2023-04-25 08:03:03 +02:00
|
|
|
attr(div5, "class", "bg-black pb-0.5 pt-2");
|
2023-04-25 07:46:32 +02:00
|
|
|
attr(div6, "id", "header-shade");
|
|
|
|
attr(div7, "class", "fixed w-full h-18 z-40 ");
|
|
|
|
attr(div7, "id", "header");
|
|
|
|
attr(div8, "class", "text-4xl md:text-6xl font-bold mb-4 md:mb-8 animation-crypt font-mono2 font-thin lowercase");
|
|
|
|
attr(p0, "class", "italic");
|
|
|
|
attr(div9, "class", "mt-12 text-xl mx-4");
|
2023-04-28 14:29:35 +02:00
|
|
|
attr(span0, "class", "font-medium block sm:inline-block");
|
2023-02-13 18:56:37 +01:00
|
|
|
attr(a1, "href", a1_href_value = /*data*/
|
2023-02-14 17:18:47 +01:00
|
|
|
ctx[0].config.venueMapUrl);
|
2023-02-12 17:12:29 +01:00
|
|
|
attr(a1, "target", "_blank");
|
2023-04-25 08:11:42 +02:00
|
|
|
attr(a1, "class", "underline hover:no-underline font-medium");
|
2023-04-25 07:46:32 +02:00
|
|
|
attr(div10, "class", "px-6 py-2.5 inline-block font-medium");
|
|
|
|
attr(div11, "class", "m-1 button-inverse");
|
|
|
|
attr(button1, "class", "uppercase text-lg w-full");
|
2023-09-29 11:54:06 +02:00
|
|
|
attr(a2, "href", "https://watch.web3privacy.info/");
|
2023-04-25 07:46:32 +02:00
|
|
|
attr(div12, "class", "inline-block w-full md:w-auto");
|
|
|
|
attr(div13, "class", "inline-block bg-white text-black font-medium md:w-auto w-3/4");
|
|
|
|
attr(div14, "class", "mt-14 text-lg md:text-xl uppercase");
|
|
|
|
attr(div15, "class", "mx-auto px-4");
|
|
|
|
attr(div16, "class", "w-full h-full flex items-center text-center");
|
|
|
|
attr(div17, "class", "w-full h-screen");
|
|
|
|
attr(div17, "id", "intro");
|
2023-02-13 18:56:37 +01:00
|
|
|
if (!src_url_equal(img1.src, img1_src_value = /*data*/
|
|
|
|
ctx[0].config.logo))
|
2023-02-11 21:55:49 +01:00
|
|
|
attr(img1, "src", img1_src_value);
|
2023-02-13 18:56:37 +01:00
|
|
|
attr(img1, "alt", img1_alt_value = /*data*/
|
|
|
|
ctx[0].config.parent);
|
2023-02-14 17:18:47 +01:00
|
|
|
attr(a3, "href", a3_href_value = /*data*/
|
2023-02-13 18:56:37 +01:00
|
|
|
ctx[0].config.parentUrl);
|
2023-04-28 14:29:35 +02:00
|
|
|
attr(div18, "class", "w-28 sm:w-32 lg:w-48");
|
2023-04-25 07:46:32 +02:00
|
|
|
attr(div19, "class", "grow");
|
2023-04-28 14:29:35 +02:00
|
|
|
attr(span1, "class", "font-mono2 lowercase");
|
2023-02-13 18:56:37 +01:00
|
|
|
attr(a4, "href", a4_href_value = "https://twitter.com/" + /*data*/
|
|
|
|
ctx[0].config.twitter);
|
2023-04-28 14:29:35 +02:00
|
|
|
attr(a4, "class", "text-md no-underline hover:underline external animate-section");
|
|
|
|
attr(a4, "target", "_blank");
|
|
|
|
attr(span2, "class", "font-mono2 lowercase");
|
|
|
|
attr(a5, "href", a5_href_value = /*data*/
|
|
|
|
ctx[0].config.blueskyUrl);
|
|
|
|
attr(a5, "class", "external animate-section text-md no-underline hover:underline");
|
2023-02-21 17:36:59 +01:00
|
|
|
attr(a5, "target", "_blank");
|
2023-04-28 14:29:35 +02:00
|
|
|
attr(span3, "class", "font-mono2 lowercase");
|
|
|
|
attr(a6, "href", a6_href_value = /*data*/
|
|
|
|
ctx[0].config.matrixUrl);
|
|
|
|
attr(a6, "class", "external animate-section text-md no-underline hover:underline");
|
|
|
|
attr(a6, "target", "_blank");
|
|
|
|
attr(div23, "class", "text-sm flex flex-wrap gap-2 sm:gap-4 ml-8 mb-8 text-mild");
|
|
|
|
attr(div24, "class", "text-right");
|
|
|
|
attr(div25, "class", "flex gap-4");
|
|
|
|
attr(div26, "class", "middle-pane-big pt-10 mx-auto");
|
2023-02-11 22:35:42 +01:00
|
|
|
attr(footer, "class", "pb-16 bg-black");
|
2023-04-28 14:29:35 +02:00
|
|
|
attr(div27, "class", "relative w-full min-h-screen text-white");
|
2023-02-11 21:55:49 +01:00
|
|
|
},
|
|
|
|
m(target, anchor) {
|
2023-04-28 14:29:35 +02:00
|
|
|
insert_hydration(target, div27, anchor);
|
|
|
|
append_hydration(div27, div7);
|
2023-04-25 07:46:32 +02:00
|
|
|
append_hydration(div7, div5);
|
2023-02-11 21:55:49 +01:00
|
|
|
append_hydration(div5, div4);
|
|
|
|
append_hydration(div4, div3);
|
|
|
|
append_hydration(div3, div1);
|
|
|
|
append_hydration(div1, div0);
|
|
|
|
append_hydration(div0, a0);
|
|
|
|
append_hydration(a0, img0);
|
|
|
|
append_hydration(div3, t0);
|
|
|
|
append_hydration(div3, div2);
|
2023-04-25 07:46:32 +02:00
|
|
|
append_hydration(div2, button0);
|
|
|
|
append_hydration(button0, t1);
|
2023-02-12 18:42:42 +01:00
|
|
|
append_hydration(div2, t2);
|
2023-02-11 21:55:49 +01:00
|
|
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
|
|
each_blocks[i].m(div2, null);
|
|
|
|
}
|
2023-02-12 18:42:42 +01:00
|
|
|
append_hydration(div5, t3);
|
2023-02-13 19:15:24 +01:00
|
|
|
if (if_block0)
|
|
|
|
if_block0.m(div5, null);
|
2023-04-25 07:46:32 +02:00
|
|
|
append_hydration(div7, t4);
|
|
|
|
append_hydration(div7, div6);
|
2023-04-28 14:29:35 +02:00
|
|
|
append_hydration(div27, t5);
|
|
|
|
append_hydration(div27, div17);
|
2023-04-25 07:46:32 +02:00
|
|
|
append_hydration(div17, div16);
|
|
|
|
append_hydration(div16, div15);
|
|
|
|
append_hydration(div15, div8);
|
|
|
|
append_hydration(div8, t6);
|
|
|
|
append_hydration(div15, t7);
|
|
|
|
append_hydration(div15, div9);
|
|
|
|
append_hydration(div9, p0);
|
|
|
|
append_hydration(p0, t8);
|
|
|
|
append_hydration(div9, t9);
|
|
|
|
append_hydration(div9, p1);
|
|
|
|
append_hydration(div15, t10);
|
|
|
|
append_hydration(div15, div14);
|
|
|
|
append_hydration(div14, div13);
|
|
|
|
append_hydration(div13, div10);
|
2023-04-28 14:29:35 +02:00
|
|
|
append_hydration(div10, span0);
|
|
|
|
append_hydration(span0, t11);
|
2023-04-25 07:46:32 +02:00
|
|
|
append_hydration(div10, t12);
|
|
|
|
append_hydration(div10, a1);
|
|
|
|
append_hydration(a1, t13);
|
|
|
|
append_hydration(div13, t14);
|
|
|
|
append_hydration(div13, div12);
|
|
|
|
append_hydration(div12, a2);
|
|
|
|
append_hydration(a2, button1);
|
|
|
|
append_hydration(button1, div11);
|
|
|
|
append_hydration(div11, t15);
|
2023-04-28 14:29:35 +02:00
|
|
|
append_hydration(div27, t16);
|
2023-02-11 21:55:49 +01:00
|
|
|
if (default_slot) {
|
2023-04-28 14:29:35 +02:00
|
|
|
default_slot.m(div27, null);
|
2023-02-11 21:55:49 +01:00
|
|
|
}
|
2023-04-28 14:29:35 +02:00
|
|
|
append_hydration(div27, t17);
|
|
|
|
append_hydration(div27, footer);
|
|
|
|
append_hydration(footer, div26);
|
|
|
|
append_hydration(div26, div25);
|
|
|
|
append_hydration(div25, div19);
|
2023-04-25 07:46:32 +02:00
|
|
|
append_hydration(div19, div18);
|
|
|
|
append_hydration(div18, a3);
|
2023-02-14 17:18:47 +01:00
|
|
|
append_hydration(a3, img1);
|
2023-04-28 14:29:35 +02:00
|
|
|
append_hydration(div25, t18);
|
|
|
|
append_hydration(div25, div24);
|
|
|
|
append_hydration(div24, div23);
|
|
|
|
append_hydration(div23, div20);
|
|
|
|
append_hydration(div20, span1);
|
|
|
|
append_hydration(span1, t19);
|
|
|
|
append_hydration(div20, t20);
|
2023-04-25 07:46:32 +02:00
|
|
|
append_hydration(div20, a4);
|
2023-04-28 14:29:35 +02:00
|
|
|
append_hydration(a4, t21);
|
|
|
|
append_hydration(a4, t22);
|
|
|
|
append_hydration(div23, t23);
|
|
|
|
append_hydration(div23, div21);
|
|
|
|
append_hydration(div21, span2);
|
|
|
|
append_hydration(span2, t24);
|
|
|
|
append_hydration(div21, t25);
|
|
|
|
append_hydration(div21, a5);
|
|
|
|
append_hydration(a5, t26);
|
|
|
|
append_hydration(a5, t27);
|
|
|
|
append_hydration(div23, t28);
|
|
|
|
append_hydration(div23, div22);
|
|
|
|
append_hydration(div22, span3);
|
|
|
|
append_hydration(span3, t29);
|
|
|
|
append_hydration(div22, t30);
|
|
|
|
append_hydration(div22, a6);
|
|
|
|
append_hydration(a6, t31);
|
|
|
|
append_hydration(div26, t32);
|
2023-02-13 19:15:24 +01:00
|
|
|
if (if_block1)
|
2023-04-28 14:29:35 +02:00
|
|
|
if_block1.m(div26, null);
|
2023-02-11 21:55:49 +01:00
|
|
|
current = true;
|
2023-02-12 18:42:42 +01:00
|
|
|
if (!mounted) {
|
2023-02-16 22:36:31 +01:00
|
|
|
dispose = [
|
|
|
|
listen(
|
2023-04-25 07:46:32 +02:00
|
|
|
button0,
|
2023-02-16 22:36:31 +01:00
|
|
|
"click",
|
|
|
|
/*click_handler*/
|
2023-02-21 12:52:19 +01:00
|
|
|
ctx[6]
|
2023-02-16 22:36:31 +01:00
|
|
|
),
|
2023-04-25 07:46:32 +02:00
|
|
|
listen(div8, "mouseenter", animateText),
|
|
|
|
listen(div11, "mouseenter", animateText),
|
2023-04-28 14:29:35 +02:00
|
|
|
listen(div23, "mouseenter", animateSection())
|
2023-02-16 22:36:31 +01:00
|
|
|
];
|
2023-02-12 18:42:42 +01:00
|
|
|
mounted = true;
|
|
|
|
}
|
2023-02-11 21:55:49 +01:00
|
|
|
},
|
|
|
|
p(ctx2, [dirty]) {
|
2023-02-13 18:56:37 +01:00
|
|
|
if (!current || dirty & /*data*/
|
|
|
|
1 && !src_url_equal(img0.src, img0_src_value = /*data*/
|
|
|
|
ctx2[0].config.logo)) {
|
|
|
|
attr(img0, "src", img0_src_value);
|
|
|
|
}
|
|
|
|
if (!current || dirty & /*data*/
|
|
|
|
1 && img0_alt_value !== (img0_alt_value = /*data*/
|
2023-04-25 07:46:32 +02:00
|
|
|
ctx2[0].config.title)) {
|
2023-02-13 18:56:37 +01:00
|
|
|
attr(img0, "alt", img0_alt_value);
|
|
|
|
}
|
2023-02-21 12:52:19 +01:00
|
|
|
if (dirty & /*menu, choosed, animateText, handleAnchorClick*/
|
|
|
|
12) {
|
2023-02-12 18:42:42 +01:00
|
|
|
each_value_1 = /*menu*/
|
2023-02-21 12:52:19 +01:00
|
|
|
ctx2[3].filter(func);
|
2023-02-11 21:55:49 +01:00
|
|
|
let i;
|
2023-02-12 18:42:42 +01:00
|
|
|
for (i = 0; i < each_value_1.length; i += 1) {
|
|
|
|
const child_ctx = get_each_context_1(ctx2, each_value_1, i);
|
2023-02-11 21:55:49 +01:00
|
|
|
if (each_blocks[i]) {
|
|
|
|
each_blocks[i].p(child_ctx, dirty);
|
|
|
|
} else {
|
2023-02-12 18:42:42 +01:00
|
|
|
each_blocks[i] = create_each_block_1(child_ctx);
|
2023-02-11 21:55:49 +01:00
|
|
|
each_blocks[i].c();
|
|
|
|
each_blocks[i].m(div2, null);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
for (; i < each_blocks.length; i += 1) {
|
|
|
|
each_blocks[i].d(1);
|
|
|
|
}
|
2023-02-12 18:42:42 +01:00
|
|
|
each_blocks.length = each_value_1.length;
|
|
|
|
}
|
|
|
|
if (
|
|
|
|
/*navbar*/
|
|
|
|
ctx2[1]
|
|
|
|
) {
|
2023-02-13 19:15:24 +01:00
|
|
|
if (if_block0) {
|
|
|
|
if_block0.p(ctx2, dirty);
|
2023-02-12 18:42:42 +01:00
|
|
|
} else {
|
2023-02-13 19:15:24 +01:00
|
|
|
if_block0 = create_if_block_1(ctx2);
|
|
|
|
if_block0.c();
|
|
|
|
if_block0.m(div5, null);
|
2023-02-12 18:42:42 +01:00
|
|
|
}
|
2023-02-13 19:15:24 +01:00
|
|
|
} else if (if_block0) {
|
|
|
|
if_block0.d(1);
|
|
|
|
if_block0 = null;
|
2023-02-11 21:55:49 +01:00
|
|
|
}
|
|
|
|
if ((!current || dirty & /*data*/
|
2023-04-25 07:46:32 +02:00
|
|
|
1) && t6_value !== (t6_value = /*data*/
|
|
|
|
ctx2[0].config.shortname.toLowerCase() + ""))
|
|
|
|
set_data(t6, t6_value);
|
2023-02-11 21:55:49 +01:00
|
|
|
if ((!current || dirty & /*data*/
|
2023-04-25 07:46:32 +02:00
|
|
|
1) && t8_value !== (t8_value = /*data*/
|
|
|
|
ctx2[0].config.slogan + ""))
|
|
|
|
set_data(t8, t8_value);
|
2023-02-13 18:56:37 +01:00
|
|
|
if ((!current || dirty & /*data*/
|
|
|
|
1) && t11_value !== (t11_value = /*data*/
|
2023-04-25 07:46:32 +02:00
|
|
|
ctx2[0].config.date + ""))
|
2023-02-13 18:56:37 +01:00
|
|
|
set_data(t11, t11_value);
|
|
|
|
if ((!current || dirty & /*data*/
|
|
|
|
1) && t13_value !== (t13_value = /*data*/
|
2023-04-25 07:46:32 +02:00
|
|
|
ctx2[0].config.venue + ""))
|
2023-02-13 18:56:37 +01:00
|
|
|
set_data(t13, t13_value);
|
|
|
|
if (!current || dirty & /*data*/
|
2023-04-25 07:46:32 +02:00
|
|
|
1 && a1_href_value !== (a1_href_value = /*data*/
|
|
|
|
ctx2[0].config.venueMapUrl)) {
|
|
|
|
attr(a1, "href", a1_href_value);
|
2023-02-13 18:56:37 +01:00
|
|
|
}
|
2023-02-11 21:55:49 +01:00
|
|
|
if (default_slot) {
|
|
|
|
if (default_slot.p && (!current || dirty & /*$$scope*/
|
2023-02-21 12:52:19 +01:00
|
|
|
16)) {
|
2023-02-11 21:55:49 +01:00
|
|
|
update_slot_base(
|
|
|
|
default_slot,
|
|
|
|
default_slot_template,
|
|
|
|
ctx2,
|
|
|
|
/*$$scope*/
|
2023-02-21 12:52:19 +01:00
|
|
|
ctx2[4],
|
2023-02-11 21:55:49 +01:00
|
|
|
!current ? get_all_dirty_from_scope(
|
|
|
|
/*$$scope*/
|
2023-02-21 12:52:19 +01:00
|
|
|
ctx2[4]
|
2023-02-11 21:55:49 +01:00
|
|
|
) : get_slot_changes(
|
|
|
|
default_slot_template,
|
|
|
|
/*$$scope*/
|
2023-02-21 12:52:19 +01:00
|
|
|
ctx2[4],
|
2023-02-11 21:55:49 +01:00
|
|
|
dirty,
|
|
|
|
null
|
|
|
|
),
|
|
|
|
null
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
2023-02-13 18:56:37 +01:00
|
|
|
if (!current || dirty & /*data*/
|
|
|
|
1 && !src_url_equal(img1.src, img1_src_value = /*data*/
|
|
|
|
ctx2[0].config.logo)) {
|
|
|
|
attr(img1, "src", img1_src_value);
|
|
|
|
}
|
|
|
|
if (!current || dirty & /*data*/
|
|
|
|
1 && img1_alt_value !== (img1_alt_value = /*data*/
|
|
|
|
ctx2[0].config.parent)) {
|
|
|
|
attr(img1, "alt", img1_alt_value);
|
|
|
|
}
|
|
|
|
if (!current || dirty & /*data*/
|
2023-02-14 17:18:47 +01:00
|
|
|
1 && a3_href_value !== (a3_href_value = /*data*/
|
2023-02-13 18:56:37 +01:00
|
|
|
ctx2[0].config.parentUrl)) {
|
2023-02-14 17:18:47 +01:00
|
|
|
attr(a3, "href", a3_href_value);
|
2023-02-13 18:56:37 +01:00
|
|
|
}
|
2023-04-28 14:29:35 +02:00
|
|
|
if ((!current || dirty & /*data*/
|
|
|
|
1) && t22_value !== (t22_value = /*data*/
|
|
|
|
ctx2[0].config.twitter + ""))
|
|
|
|
set_data(t22, t22_value);
|
2023-02-13 18:56:37 +01:00
|
|
|
if (!current || dirty & /*data*/
|
2023-02-14 17:18:47 +01:00
|
|
|
1 && a4_href_value !== (a4_href_value = "https://twitter.com/" + /*data*/
|
2023-02-13 18:56:37 +01:00
|
|
|
ctx2[0].config.twitter)) {
|
2023-02-14 17:18:47 +01:00
|
|
|
attr(a4, "href", a4_href_value);
|
2023-02-13 18:56:37 +01:00
|
|
|
}
|
|
|
|
if ((!current || dirty & /*data*/
|
2023-04-28 14:29:35 +02:00
|
|
|
1) && t27_value !== (t27_value = /*data*/
|
|
|
|
ctx2[0].config.bluesky + ""))
|
|
|
|
set_data(t27, t27_value);
|
2023-02-13 18:56:37 +01:00
|
|
|
if (!current || dirty & /*data*/
|
2023-04-28 14:29:35 +02:00
|
|
|
1 && a5_href_value !== (a5_href_value = /*data*/
|
|
|
|
ctx2[0].config.blueskyUrl)) {
|
2023-02-14 17:18:47 +01:00
|
|
|
attr(a5, "href", a5_href_value);
|
2023-02-13 18:56:37 +01:00
|
|
|
}
|
2023-04-28 14:29:35 +02:00
|
|
|
if ((!current || dirty & /*data*/
|
|
|
|
1) && t31_value !== (t31_value = /*data*/
|
|
|
|
ctx2[0].config.matrix + ""))
|
|
|
|
set_data(t31, t31_value);
|
|
|
|
if (!current || dirty & /*data*/
|
|
|
|
1 && a6_href_value !== (a6_href_value = /*data*/
|
|
|
|
ctx2[0].config.matrixUrl)) {
|
|
|
|
attr(a6, "href", a6_href_value);
|
|
|
|
}
|
2023-02-13 19:15:24 +01:00
|
|
|
if (
|
|
|
|
/*data*/
|
|
|
|
ctx2[0].config.license
|
|
|
|
) {
|
|
|
|
if (if_block1) {
|
|
|
|
if_block1.p(ctx2, dirty);
|
|
|
|
if (dirty & /*data*/
|
|
|
|
1) {
|
|
|
|
transition_in(if_block1, 1);
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
if_block1 = create_if_block(ctx2);
|
|
|
|
if_block1.c();
|
|
|
|
transition_in(if_block1, 1);
|
2023-04-28 14:29:35 +02:00
|
|
|
if_block1.m(div26, null);
|
2023-02-13 19:15:24 +01:00
|
|
|
}
|
|
|
|
} else if (if_block1) {
|
|
|
|
group_outros();
|
|
|
|
transition_out(if_block1, 1, 1, () => {
|
|
|
|
if_block1 = null;
|
|
|
|
});
|
|
|
|
check_outros();
|
|
|
|
}
|
2023-02-11 21:55:49 +01:00
|
|
|
},
|
|
|
|
i(local) {
|
|
|
|
if (current)
|
|
|
|
return;
|
|
|
|
transition_in(default_slot, local);
|
2023-02-13 19:15:24 +01:00
|
|
|
transition_in(if_block1);
|
2023-02-11 21:55:49 +01:00
|
|
|
current = true;
|
|
|
|
},
|
|
|
|
o(local) {
|
|
|
|
transition_out(default_slot, local);
|
2023-02-13 19:15:24 +01:00
|
|
|
transition_out(if_block1);
|
2023-02-11 21:55:49 +01:00
|
|
|
current = false;
|
|
|
|
},
|
|
|
|
d(detaching) {
|
|
|
|
if (detaching)
|
2023-04-28 14:29:35 +02:00
|
|
|
detach(div27);
|
2023-02-11 21:55:49 +01:00
|
|
|
destroy_each(each_blocks, detaching);
|
2023-02-13 19:15:24 +01:00
|
|
|
if (if_block0)
|
|
|
|
if_block0.d();
|
2023-02-11 21:55:49 +01:00
|
|
|
if (default_slot)
|
|
|
|
default_slot.d(detaching);
|
2023-02-13 19:15:24 +01:00
|
|
|
if (if_block1)
|
|
|
|
if_block1.d();
|
2023-02-12 18:42:42 +01:00
|
|
|
mounted = false;
|
2023-02-16 22:36:31 +01:00
|
|
|
run_all(dispose);
|
2023-02-11 21:55:49 +01:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
2023-02-16 21:21:27 +01:00
|
|
|
const func = (i) => !i.hidden;
|
2023-02-16 22:36:31 +01:00
|
|
|
const func_1 = (i) => !i.hidden;
|
2023-02-11 21:55:49 +01:00
|
|
|
function instance($$self, $$props, $$invalidate) {
|
|
|
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
|
|
let { data } = $$props;
|
2023-02-12 18:42:42 +01:00
|
|
|
let navbar = false;
|
2023-02-21 12:52:19 +01:00
|
|
|
let choosed = null;
|
|
|
|
let lastScrollTop = null;
|
2023-02-11 21:55:49 +01:00
|
|
|
const menu = [
|
2023-02-21 12:52:19 +01:00
|
|
|
{ title: "intro", name: "#", url: "" },
|
2023-02-11 21:55:49 +01:00
|
|
|
{ title: "About", url: "#about" },
|
|
|
|
{ title: "Speakers", url: "#speakers" },
|
2023-06-04 09:10:08 +02:00
|
|
|
{ title: "Program", url: "#program" },
|
|
|
|
{ title: "Sponsors", url: "#sponsors" },
|
2023-02-21 17:36:59 +01:00
|
|
|
{ title: "FAQ", url: "#faq" },
|
|
|
|
{
|
|
|
|
title: "Chat",
|
2023-04-28 14:09:39 +02:00
|
|
|
url: "https://matrix.to/#/#web3privacy:gwei.cz",
|
|
|
|
ico: "matrix",
|
2023-02-21 17:36:59 +01:00
|
|
|
external: true
|
2023-02-21 19:25:01 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
title: "Twitter",
|
|
|
|
url: "https://twitter.com/web3privacy",
|
2023-04-28 14:09:39 +02:00
|
|
|
ico: "twitter",
|
2023-02-21 19:25:01 +01:00
|
|
|
external: true
|
2023-04-25 07:46:32 +02:00
|
|
|
},
|
|
|
|
{
|
2023-09-29 11:54:06 +02:00
|
|
|
title: "Watch Talks",
|
|
|
|
url: "https://watch.web3privacy.info/",
|
|
|
|
class: "button",
|
|
|
|
external: true
|
2023-02-21 12:52:19 +01:00
|
|
|
}
|
2023-02-11 21:55:49 +01:00
|
|
|
];
|
2023-02-16 22:36:31 +01:00
|
|
|
const homepageAnimation = () => {
|
|
|
|
const collection = document.getElementsByClassName("animation-crypt");
|
|
|
|
for (const el of collection) {
|
|
|
|
animateText({ target: el });
|
|
|
|
}
|
|
|
|
};
|
2023-02-21 12:52:19 +01:00
|
|
|
function locationHashUpdateTick() {
|
|
|
|
const scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
|
|
|
|
if (lastScrollTop === scrollTop) {
|
|
|
|
return null;
|
|
|
|
} else {
|
|
|
|
lastScrollTop = scrollTop;
|
|
|
|
}
|
|
|
|
const arr = [];
|
|
|
|
for (const mi of menu) {
|
2023-02-21 17:36:59 +01:00
|
|
|
if (mi.external)
|
|
|
|
continue;
|
2023-02-21 12:52:19 +01:00
|
|
|
const el = document.getElementById(mi.title.toLowerCase());
|
|
|
|
const pos = el.getBoundingClientRect();
|
|
|
|
if (pos.top <= 100 && pos.bottom > 100) {
|
|
|
|
arr.push([mi, pos.top, pos.bottom]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$$invalidate(2, choosed = arr[arr.length - 1]);
|
|
|
|
if (choosed) {
|
|
|
|
const currentHash = window.location.hash;
|
|
|
|
const hash = choosed[0].url;
|
|
|
|
if (hash !== currentHash) {
|
|
|
|
if (hash === "") {
|
|
|
|
history.replaceState(null, null, " ");
|
|
|
|
} else {
|
|
|
|
history.replaceState(null, null, hash);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-02-16 12:29:50 +01:00
|
|
|
onMount(async () => {
|
2023-02-16 22:36:31 +01:00
|
|
|
setTimeout(homepageAnimation, 0);
|
2023-02-21 12:10:29 +01:00
|
|
|
setInterval(homepageAnimation, 1e4);
|
2023-02-21 12:52:19 +01:00
|
|
|
setInterval(locationHashUpdateTick, 1e3);
|
2023-02-16 12:29:50 +01:00
|
|
|
});
|
2023-02-21 12:52:19 +01:00
|
|
|
const click_handler = (ev) => $$invalidate(1, navbar = !navbar);
|
2023-02-12 18:42:42 +01:00
|
|
|
const click_handler_1 = () => $$invalidate(1, navbar = false);
|
2023-02-11 21:55:49 +01:00
|
|
|
$$self.$$set = ($$props2) => {
|
|
|
|
if ("data" in $$props2)
|
|
|
|
$$invalidate(0, data = $$props2.data);
|
|
|
|
if ("$$scope" in $$props2)
|
2023-02-21 12:52:19 +01:00
|
|
|
$$invalidate(4, $$scope = $$props2.$$scope);
|
2023-02-11 21:55:49 +01:00
|
|
|
};
|
2023-02-21 12:52:19 +01:00
|
|
|
return [data, navbar, choosed, menu, $$scope, slots, click_handler, click_handler_1];
|
2023-02-11 21:55:49 +01:00
|
|
|
}
|
|
|
|
class Layout extends SvelteComponent {
|
|
|
|
constructor(options) {
|
|
|
|
super();
|
|
|
|
init(this, options, instance, create_fragment, safe_not_equal, { data: 0 });
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export {
|
|
|
|
Layout as default
|
|
|
|
};
|