PageSourceSearch

https://muda.co/rsc/main.js

js muda.co collected 2026-10-02 06:16:05 UTC 21,857 bytes, 3 lines download raw bytes

1(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const g of a.addedNodes)g.tagName==="LINK"&&g.rel==="modulepreload"&&i(g)}).observe(document,{childList:!0,subtree:!0});function n(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function i(o){if(o.ep)return;o.ep=!0;const a=n(o);fetch(o.href,a)}})();const q=Object.fromEntries(new URLSearchParams(window.location.search).entries()),c={languages:[{id:"en",txt:"English"},{id:"it",txt:"Italiano"},{id:"de",txt:"Deutsch"},{id:"fr",txt:"Français"}],topics:[{id:"index",txt:"Index",url:"../index/"},{id:"exhibitions",txt:"<en>Exhibitions</en><de>Austellungen</de><fr>Expositions</fr><it>Mostre</it>",url:"../exhibitions/"},{id:"artists",txt:"<en>Artists</en><de>Künstler</de><fr>Artistes</fr><it>Artisti</it>",url:"../artists/"},{id:"locations",txt:"<en>Locations</en><de>Standorte</de><fr>Emplacements</fr><it>Sedi</it>",url:"../locations/"},{id:"about",txt:"<en>About</en><de>Info</de><fr>Info</fr><it>Info</it>",url:"../about/"}],svg:"http://www.w3.org/2000/svg",rr:Math.PI*2,scale:function(e,t){e.x*=t,e.y*=t},flipX:function(e){const t=e.x;e.x=-e.y,e.y=t},flipY:function(e){const t=e.y;e.y=-e.x,e.x=t},get:{degree:function(e,t){return Math.atan2(t.pos.y-e.pos.y,t.pos.x-e.pos.x)*180/Math.PI},box:function(e){const t={x:1/0,y:1/0,xx:-1/0,yy:-1/0};return e.forEach(n=>{n.pos.x<t.x&&(t.x=n.pos.x),n.pos.y<t.y&&(t.y=n.pos.y),n.pos.x>t.xx&&(t.xx=n.pos.x),n.pos.y>t.yy&&(t.yy=n.pos.y)}),t},box_center:function(e){const t=c.get.box(e);return{frame:t,x:(t.x+t.xx)*.5,y:(t.y+t.yy)*.5}},line_center:function(e,t){return{x:(e.pos.x+t.pos.x)*.5,y:(e.pos.y+t.pos.y)*.5}},v:function(e,t,n){const i=Math.atan2(t.y-e.y,t.x-e.x),a=Math.atan2(n.y-t.y,n.x-t.x)-i+Math.PI;return c.get.rroll(a)},distance:function(e,t){const n=e.x-t.x,i=e.y-t.y;return Math.sqrt(n*n+i*i)},length:function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},surface:function(e){let t=0;for(let n=0;n<e.length;n++){const i=(n+1)%e.length;t+=e[n].pos.x*e[i].pos.y-e[i].pos.x*e[n].pos.y}return Math.abs(t*.5)},roll:function(e,t){return e-Math.floor(e/t)*t},rroll:function(e){return e-Math.floor(e/c.rr)*c.rr},shortestDifference:function(e,t){return(e-t+Math.PI)%c.rr-Math.PI},direction:function(e,t){const n={x:t.x-e.x,y:t.y-e.y},i=c.get.length(n);return{x:n.x/i,y:n.y/i}},perpendicular:function(e,t){const n=c.get.direction(e,t);return c.flipY(n),n}},make:{point:function({x:e=0,y:t=0,drag:n=.7,mass:i=1,verlet:o=!0}){return{pos:{x:e,y:t},dif:{x:0,y:0},dir:{x:0,y:0},drag:n,mass:1/i,verlet:o}},hook:function({x:e=0,y:t=0}){return{pos:{x:e,y:t},dif:{x:0,y:0}}},link:function(e){const t={stiffness:e.stiffness||.1,distance:e.distance||0,inital:null,a:e.a,b:e.b};return t.distance=="auto"&&(t.distance=c.get.distance(t.a.pos,t.b.pos)),t.inital=t.distance,t},joint:function(e){const t={stiffness:e.stiffness||.01,r:e.r||"auto",ab:e.ab||"auto",bc:e.bc||"auto",a:e.a,b:e.b,c:e.c};return t.r=="auto"&&(t.r=c.get.v(e.a.pos,e.b.pos,e.c.pos)),t.ab=="auto"&&(t.ab=c.get.distance(e.a.pos,e.b.pos)),t.bc=="auto"&&(t.bc=c.get.distance(e.b.pos,e.c.pos)),t},shape:function({parent:e,id:t,d:n="",stroke:i,color:o,strokeColor:a=o,cap:g="round",join:s="bevel",rule:d="nonzero",rendering:x="geometricPrecision",opacity:l=1,blend:r="normal",cursor:b="auto",filter:u,pointer:v="auto",down:m,up:y}){const p=document.createElementNS("http://www.w3.org/2000/svg","path");return t&&(p.id=t),o?p.setAttributeNS(null,"fill",o):p.setAttributeNS(null,"fill-opacity",0),p.setAttributeNS(null,"d",n),p.setAttributeNS(null,"clip-rule",d),p.setAttributeNS(null,"shape-rendering",x),i&&p.setAttributeNS(null,"stroke-width",i),i&&p.setAttributeNS(null,"stroke",a),i&&p.setAttributeNS(null,"stroke-linecap",g),p.setAttributeNS(null,"
1stroke-linejoin",s),u&&p.setAttributeNS(null,"filter",u),p.style.opacity=l,p.style.mixBlendMode=r,p.style.cursor=b,p.style.pointerEvents=v,m&&(p.onmousedown=m,p.addEventListener("touchstart",_=>{m()})),y&&(p.onclick=y,p.addEventListener("touchend",_=>{y()})),e.appendChild(p),p},rect:function({parent:e=document.body,id:t,x:n=0,y:i=0,r:o=0,width:a=100,height:g=100,color:s="transparent",opacity:d,borderRadius:x=0,stroke:l=0,strokeColor:r=s,text:b,size:u=10,lineHeight:v=1,lineOffset:m=0,kerning:y=0,fontColor:p="#333333",fontFamily:_="etter-sans",align:E="center",valign:M="center",video:L,loop:I,autoplay:k,image:N,title:C,cursor:T="auto",pointer:j,down:H,up:A,over:B,leave:O,link:P,blur:R,circle:W,noclicky:Y}){const f=document.createElement("rect");if(t&&(f.id=t),f.style.width=a+"px",f.style.height=g+"px",f.style.left=n+"px",f.style.top=i+"px",f.style.transform="rotate("+o+"deg)",f.style.marginLeft=-a/2+"px",f.style.marginTop=(-g+m)/2+"px",f.style.background=s,d!==void 0&&(f.style.opacity=d),f.style.cursor=T,j&&(f.style.pointerEvents=j),f.style.borderRadius=x+"px",f.style.border="solid",f.style.borderWidth=l+"px",f.style.borderColor=r,f.style.display="flex",E=="center"&&(f.style.justifyContent="center"),M=="center"&&(f.style.alignItems="center"),W&&(f.style.borderRadius="50%"),R&&(f.style.filter="blur("+R+"px)"),C&&(f.title=C),b&&(f.style.color=p,f.style.fontSize=u+"px",_&&(f.style.fontFamily=_),f.style.letterSpacing=y+"px",f.style.lineHeight=v,f.innerHTML=b,P&&(f.innerHTML="<a href='"+P+"'>"+b+"</a>")),L){const w=document.createElement("video");w.src=L,I&&w.setAttribute("loop",""),k&&(w.setAttribute("muted",""),w.setAttribute("playsinline",""),w.setAttribute("autoplay","")),w.style.width="100%",w.style.height="100%",w.style.objectFit="cover",f.appendChild(w),f.video=!0}if(N){let w=document.createElement("img");w.src=N,N.includes(".gif")&&(w.style.imageRendering="pixelated"),w.style.width="100%",w.style.height="100%",w.style.objectFit="cover",w.style.opacity=1,f.appendChild(w),f.image=!0}return Y?f.style.pointerEvents="none":(B&&f.addEventListener("mouseover",w=>{B()}),O&&f.addEventListener("mouseleave",w=>{O()}),H&&(f.onmousedown=H,f.addEventListener("touchstart",w=>{H()})),A&&(f.onclick=A,f.addEventListener("touchend",w=>{A()}))),e.appendChild(f),f},circle:function({center:e={x:0,y:0},size:t=10,subdivisions:n=8,rotation:i=0,start:o=0,end:a=Math.PI*2}){function g(x,l,r){return{x:x.x+Math.cos(l)*r,y:x.y+Math.sin(l)*r}}let s=[];const d=Math.PI*2/n;for(let x=0;x<n;x++){const l=d*x+i;l>=o&&l<=a&&s.push(g(e,l,t))}return s},layer:function({parent:e=document.body,id:t,scale:n=1,width:i=window.innerWidth,height:o=window.innerHeight,x:a=0,y:g=0}){const s=document.createElementNS(c.svg,"svg");return t&&(s.id=t),s.style.transform="translateX("+a+"px) translateY("+g+"px)",s.style.width=i+"px",s.style.height=o+"px",s.style.pointerEvents="none",e.appendChild(s),s},blup:function({id:e,position:t={x:Math.random()*200+window.innerWidth*.3,y:Math.random()*200+window.innerHeight*.3},size:n=100,res:i=11,color:o="#f00",height:a=100,width:g=100}){const s={id:e,points:[],joints:[],kreis:[],mitte:[],color:o,height:a,width:g,res:i,dom:c.make.shape({parent:c.make.layer({}),color:"#2a04d1",cursor:"pointer",down:function(){s.click_down()},up:function(){s.click_up()}}),center:c.make.hook(t),bounce:.1,pad:10,spread:window.innerWidth>window.innerHeight?.1:.125,surface_small:null,surface_gross:null,surface_pressure:1e5,surface_aim:0,surface_now:0,surface_amp:25e-6,surface_smoothing:.1,clicked:!1,open:!1,click_down:function(){this.clicked=!0},click_up:function(){this.clicked&&(this.open?this.closing():this.opening()),this.clicked=!1},opening:function(){console.log("opening..."),this.surface_aim=this.surface_gross;for(const d of c.languages)d.dom.classList.remove("fadeOut"),d.dom.classList.add("fadeIn");for(const d of c.topics)d.dom.classList.remove("fadeOut"),d.dom.classList.add("fadeIn");this.open=!0},closing:function(){console.log("closing...");for(const d of c.languages)d.dom.classList.remove("fadeIn"),d.dom.classList.add("fadeOut");for(const d of c.topics)d.dom.classList.remove("fadeIn"),d.dom.classList.add("fadeOut");setTimeout(()=>{this.surface_aim=this.surface_small,this.open=!1},250)},update:function(){c.scrolling();for(let r=0;r<i;r++){const b=s.points[c.get.roll(r-1,i)],u=s.points[c.get.roll(r+0,i)],v=s.points[c.get.roll(r+1,i)],m=c.get.perpendicular(b.pos,v.pos);u.dir.x=m.x,u.dir.y=m.y}const d=c.get.surface(s.points);s.surface_now=s.surface_now-(s.surface_now-s.surface_aim)*s.surface_smoothing;const x=s.surface_now-d+s.surface_pressure;if(c.blup){const r=s.points[0],b=s.points[5],u=c.get.line_center(r,b),m=c.get.distance(r.pos,b.pos)*s.spread,y=c.topics.length*.5*m;for(let p=0;p<c.topics.length;p++)c.topics[p].dom.style.transform="translateX("+u.x+"px) translateY("+(u.y-y+p*m)+"px)";for(let p=0;p<c.languages.length;p++)c.languages[p].dom.style.transform="translateX("+u.x+"px) translateY("+(u.y-y+(c.topics.length+.5)*m)+"px)"}for(const r of s.points)r.dif.x+=r.dir.x*(x*s.surface_amp),r.dif.y+=r.dir.y*(x*s.surface_amp),r.pos.x>window.innerWidth-s.pad&&(r.dif.x-=(r.pos.x-(window.innerWidth-s.pad))*s.bounce),r.pos.x<s.pad&&(r.dif.x-=(r.pos.x-s.pad)*s.bounce),r.pos.y>window.innerHeight-s.pad&&(r.dif.y-=(r.pos.y-(window.innerHeight-s.pad))*s.bounce),r.pos.y<s.pad&&(r.dif.y-=(r.pos.y-s.pad)*s.bounce);c.links([...s.kreis,...s.mitte]),c.joints(s.joints),c.forces(s.points);function l(r){if(r.length==0)return"";let b="M ";for(let u=0;u<r.length+1;u++){const v=r[u%r.length],m=r[(u+1)%r.length];b+=(v.pos.x+m.pos.x)*.5+" "+(v.pos.y+m.pos.y)*.5+" Q ",b+=m.pos.x+" "+m.pos.y+" "}return b+r[0].pos.x+" "+r[0].pos.y+" z "}s.dom.setAttributeNS(null,"d",l(s.points)),requestAnimationFrame(s.update)}};s.shape=c.make.circle({center:t,subdivisions:i,size:n});for(let d=0;d<i;d++)s.points.push(c.make.point({x:s.shape[d].x,y:s.shape[d].y,drag:.96,mass:1}));for(let d=0;d<i;d++)s.kreis.push(c.make.link({a:s.points[d],b:s.points[(d+1)%i],distance:"auto",stiffness:.075}));return s.surface_small=c.get.surface(s.points),s.surface_gross=window.innerHeight*window.innerHeight*2,s.surface_aim=s.surface_small,s.update(),s}},links_calc:function({a:e,b:t,distance:n,stiffness:i}){const o=e.pos.x+e.dif.x,a=e.pos.y+e.dif.y,g=t.pos.x+t.dif.x,s=t.pos.y+t.dif.y,d=o-g,x=a-s,l=
1Math.max(1e-4,c.get.length({x:d,y:x})),r=(n-l)/l*i;if(e.verlet&&t.verlet){const b=r*.5;e.dif.x+=d*b,e.dif.y+=x*b,t.dif.x-=d*b,t.dif.y-=x*b}else e.verlet?(e.dif.x+=d*r,e.dif.y+=x*r):t.verlet&&(t.dif.x-=d*r,t.dif.y-=x*r)},links:function(e,t=4){for(let n=0;n<t;n++)for(const i of e)this.links_calc(i)},joints_calc:function({a:e,b:t,c:n,r:i,ab:o,bc:a,stiffness:g}){if(!e||!t||!n||i==null||o==null||a==null||g==null)return;const s=e.pos.x+e.dif.x,d=e.pos.y+e.dif.y,x=t.pos.x+t.dif.x,l=t.pos.y+t.dif.y,r=n.pos.x+n.dif.x,b=n.pos.y+n.dif.y,u=this.get.v({x:s,y:d},{x,y:l},{x:r,y:b}),v=this.get.shortestDifference(u,i)/2,m=this.get.direction({x,y:l},{x:r,y:b});this.flipX(m),this.scale(m,v*g*a),n.dif.x-=m.x,n.dif.y-=m.y,t.dif.x+=m.x*.5,t.dif.y+=m.y*.5;const y=this.get.direction({x,y:l},{x:s,y:d});this.flipX(y),this.scale(y,v*g*o),e.dif.x+=y.x,e.dif.y+=y.y,t.dif.x-=y.x*.5,t.dif.y-=y.y*.5},joints:function(e,t=4){for(let n=0;n<t;n++)for(const i of e)this.joints_calc(i)},gravity:{x:0,y:0},forces:function(e,t=this.gravity){for(const n of e)n.pos.x+=(n.dif.x+t.x/n.mass)*n.mass,n.pos.y+=(n.dif.y+t.y/n.mass+this.scroll_force)*n.mass,n.dif.x*=n.drag,n.dif.y*=n.drag},scroll:window.scrollY,scroll_force:0,scroll_amp:1,smoothing:.02,scrolling:function(){const e=this.scroll-(this.scroll-window.scrollY)*this.smoothing;this.scroll_force=(this.scroll-e)*this.scroll_amp,this.scroll=e},bottom:!1,footing_on:function(){console.log("BUMBUM"),c.gravity.y=40},footing_off:function(){console.log("RISE"),c.gravity.y=0},blup:null,face:null,init:function(){this.blup=this.make.blup({size:20,res:10});for(let e=0;e<c.topics.length;e++){const t=c.topics[e],n=function(){window.open(t.url,"_self")},i=function(){c.topics[e].dom.style.color="#f00"},o=function(){c.topics[e].dom.style.color="#fff"};t.dom=c.make.rect({x:0,y:0,width:300,height:100,text:t.txt,up:n,over:i,leave:o,size:32,fontColor:"#fff",opacity:0}),t.dom.style.pointerEvents="none",h.language.remove(t.dom)}for(let e=0;e<c.languages.length;e++){const t=c.languages[e],n="<a class='w'>"+t.id.toUpperCase()+"</a>",i=function(){h.language.set(t.id),location.reload()},o=function(){c.languages[e].dom.style.color="#f00"},a=function(){c.languages[e].dom.style.color="#fff"};t.dom=c.make.rect({x:-90+e*60,y:0,width:60,height:60,text:n,title:t.txt,size:15,kerning:2,fontColor:"#fff",opacity:0,up:i,over:o,leave:a}),t.dom.style.pointerEvents="none"}}},D={things:[{name:"TikTok",url:"../tiktok/"},{name:"BlueSky",url:"../bsky/"},{name:"Newsletter",url:"https://sendfox.com/lp/36764o"}],spacing:"-----",repeat:5,string:"",run:function(){if(this.string[0]=="<"){const e=this.string.indexOf(">",1),t=this.string.substring(0,e);this.string=this.string.substring(t.length)+t}else{const e=this.string.substring(0,1);this.string=this.string.substring(e.length)+e}this.dom.innerHTML=this.string,setTimeout(()=>{this.run()},500)},dom:null,init:function(){this.dom=document.createElement("ticker");for(let e=0;e<this.repeat;e++)for(const t of this.things)this.string+="<a href='"+t.url+"'>"+t.name+"</a>"+D.spacing;this.dom.innerHTML=this.string,document.body.appendChild(this.dom),this.run()}},h={set:function(e,t){localStorage.setItem(e,t)},get:function(e){return localStorage.getItem(e)},now:"en",obj:function(e){return e[h.now]?e[h.now]:JSON.stringify(e)},language:{support:["de","fr","en","it"],get:function(){return h.get("language")||(h.language.support.includes(navigator.language)?h.set("language",navigator.language):h.set("language",h.now)),h.now=h.get("language"),h.now},set:function(e){h.set("language",e),location.reload()},unwanted:function(){const e=h.language.get();return h.language.support.filter(t=>t!==e)},update_all:function(){console.log("language: "+h.language.get()),h.language.remove();const e=document.getElementById("language");e&&(e.value=language)},remove:function(e=document){h.language.unwanted().forEach(t=>{const n=e.getElementsByTagName(t);for(;n.length>0;)n[0].parentNode.removeChild(n[0])})}}};function S(e,t=120){const n=e.getBoundingClientRect().top+window.scrollY-t;Math.abs(window.scrollY-n)>10&&window.scrollTo({top:n,behavior:"smooth"})}document.addEventListener("DOMContentLoaded",function(e){const t=window.innerWidth>window.innerHeight?"landscape":"portrait";h.language.update_all();function n(u,v="",m="Hello"){const y="/*.:_012%+=@- []"+m;function p(E,M,L){return E.substr(0,M)+L+E.substr(M+L.length)}function _(){if(v.length<m.length)v+=y[Math.floor(Math.random()*y.length)];else{const E=Math.floor(Math.random()*v.length);
1v[E]!==m[E]&&(v=p(v,E,y[Math.floor(Math.random()*y.length)]))}u.innerHTML=v,v!==m&&setTimeout(_,1)}_()}const i=document.getElementsByClassName("jumble");for(const u of i)n(u,"",u.innerHTML.trim());let o="top";const a=document.getElementsByTagName("tit")[0],g=document.getElementsByTagName("sub")[0],s=document.getElementsByClassName("hero")[0];document.addEventListener("scroll",()=>{o=="top"&&window.scrollY>100&&(s&&(document.body.style.backgroundColor="#fff"),a&&a.classList.add("fadeOut"),g&&g.classList.add("fadeOut"),a&&a.classList.remove("fadeIn"),g&&g.classList.remove("fadeIn"),o="bottom"),o=="bottom"&&window.scrollY<100&&(s&&(document.body.style.backgroundColor="#000"),a&&a.classList.add("fadeIn"),g&&g.classList.add("fadeIn"),a&&a.classList.remove("fadeOut"),g&&g.classList.remove("fadeOut"),o="top")}),document.querySelectorAll("img").forEach(u=>{t==="landscape"&&u.src.endsWith("_mobile.webp")&&(u.src=u.src.replace("_mobile.webp","_desk.webp")),u.addEventListener("load",()=>{u.classList.add("loaded")}),(u.complete||u.readyState===4)&&u.classList.add("loaded")});const x=document.querySelectorAll("video");function l(u){u.forEach(v=>{const m=v.querySelector("source");if(m){let y=m.src;window.innerWidth>window.innerHeight?y=y.replace("_m.mp4","_d.mp4").replace("_m-","_d-"):y=y.replace("_d.mp4","_m.mp4").replace("_d-","_m-"),y!==m.src&&(m.src=y,v.load())}})}l(x),x.forEach(u=>{u.addEventListener("loadedmetadata",()=>{u.classList.add("loaded")})});const r=document.getElementsByClassName("teaser"),b=document.getElementById("cnt");for(const u of r)u.onclick=function(){S(b)};c.init(),D.init()});window.evnt={key:function(){return Date.now()},status:async function({event:e,invite:t="",organisation:n}){try{const i=await fetch("https://bo-t.com/event",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({event:e,invite:t,organisation:n,key:evnt.key()})}),o=await i.json();if(i.ok)return JSON.parse(o.event);console.log(o)}catch(i){console.log(i)}},strip:function(e){if(!e)return"";let t=e.textContent.trim();return t=t.replace(/<div[^>]*>/g,"").replace(/<\/div>/g,`
2`).replace(/<br\s*\/?>/g,`
3`),t},get:async function({event:e,organisation:t,invite:n=q.rsvp}){const i=await evnt.status({event:e,organisation:t,invite:n});if(i)if(evnt.capacity(i),i.registration_required){const o=document.getElementById("inv");o.appendChild(document.createElement("spl")),o.append(h.obj({en:"Name",de:"Name",fr:"Nom",it:"Nome"})),o.appendChild(document.createElement("sps"));const a=document.createElement("edit");a.id="name",a.contentEditable=!0,o.appendChild(a),o.appendChild(document.createElement("spm")),o.append(h.obj({en:"Email",de:"E-Mail",fr:"E-mail",it:"Email"})),o.appendChild(document.createElement("sps"));const g=document.createElement("edit");if(g.id="email",g.contentEditable=!0,o.appendChild(g),o.appendChild(document.createElement("spm")),i.plus1){o.append(h.obj({en:"Name +1",de:"Name Begleitung",fr:"Nom accompagnement",it:"Chi ti accompagna"})),o.appendChild(document.createElement("sps"));const r=document.createElement("edit");r.id="plus",r.contentEditable=!0,o.appendChild(r),o.appendChild(document.createElement("spm"))}o.append(h.obj({en:"Note",de:"Bemerkung",fr:"Note",it:"Nota"})),o.appendChild(document.createElement("sps"));const s=document.createElement("edit");s.id="note",s.contentEditable=!0,o.appendChild(s),o.appendChild(document.createElement("spl"));const d=document.createElement("button");d.classList.add("send"),d.innerHTML=h.obj({en:"Send",de:"Senden",fr:"Envoyer",it:"Invia"}),o.appendChild(d),o.append("  ");const x=document.createElement("button");x.classList.add("cancel"),x.innerHTML=h.obj({en:"Close",de:"Schliessen",fr:"Fermer",it:"Chiudi"}),o.appendChild(x),o.appendChild(document.createElement("spm")),i.child_friendly&&o.append(h.obj({en:"Kids are welcome too.",de:"Kinder sind auch willkommen.",fr:"Les enfants sont également les bienvenus.",it:"Anche i bambini sono i benvenuti."}));const l=document.getElementsByTagName("form")[0];l&&(i.active===!1||i.registration_closed?l.children[0].innerHTML=h.obj({en:"Registration closed",de:"Registrierung geschlossen",fr:"Inscription fermée",it:"Registrazione chiusa"}):i.registered&&i.capacity&&i.registered>=i.capacity?l.children[0].innerHTML=h.obj({en:"Event full",de:"Ausgebucht",fr:"Complet",it:"Completo"}):i.invite_required&&!q.rsvp?l.children[0].innerHTML=h.obj({en:"Invitation required",de
3:"Einladung erforderlich",fr:"Invitation requise",it:"Invito richiesto"}):i.invite_required&&!i.invites?l.children[0].innerHTML=h.obj({en:"Invalid invite",de:"Ungültige Einladung",fr:"Invite incorrecte",it:"Invito errato"}):(l.children[0].innerHTML=h.obj({en:"Register",de:"Anmelden",fr:"S’inscrire",it:"Registrarsi"}),l.onclick=function(r){if(r.preventDefault(),!l.open){let m=function(){l.children[1].classList.remove("hide"),l.children[1].classList.remove("fadeOut"),l.children[1].classList.add("fadeIn")},y=function(){l.children[1].classList.remove("fadeIn"),l.children[1].classList.add("fadeOut"),S(l)},p=function(){l.classList.remove("expand"),l.open=!1};var b=m,u=y,v=p;S(l),setTimeout(m,250),l.classList.add("expand"),l.open=!0;const _=l.querySelector(".send");_&&l.open&&(_.onclick=async function(M){M.preventDefault();const L=document.getElementById("name"),I=document.getElementById("email");L.classList.remove("missing"),L.offsetWidth,I.classList.remove("missing"),I.offsetWidth;const k={name:evnt.strip(L),email:evnt.strip(I),plus:evnt.strip(document.getElementById("plus")),note:evnt.strip(document.getElementById("note"))};if(!k.name)L.classList.add("missing"),S(L);else if(!k.email||k.email&&!k.email.includes("@"))I.classList.add("missing"),S(I);else{const N={event:e,invite:n,organisation:t,name:k.name,email:k.email,plus:k.plus,note:k.note,key:evnt.key()};try{const C=await fetch("https://bo-t.com/rsvp",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(N)}),T=await C.json();if(C.ok?(console.log(T.message||"RSVP successful! Thank you."),l.children[0].innerHTML=h.obj({en:"Registered",de:"Registriert",fr:"Enregistré",it:"Registrato"})+" ✔"):(console.log(T.message||"Failed to RSVP."),l.children[0].innerHTML=h.obj({en:"Sorry, we’re full",de:"Sorry, ausgebucht",fr:"Désolé, complets",it:"Ci dispiace, completo"})),i.capacity){const j=await evnt.status({event:e,organisation:t,invite:n});evnt.capacity(j)}l.onclick=null,y(),setTimeout(p,250)}catch(C){alert("Error submitting RSVP:",C)}}});const E=l.querySelector(".cancel");E&&l.open&&(E.onclick=function(M){M.preventDefault(),console.log("CANCEL"),y(),setTimeout(p,250)})}}))}else document.getElementsByTagName("form")[0].remove()},capacity:async function(e){const t=document.getElementById("inf");if(t)if(e.registered&&e.display_registration_numbers){const n=document.getElementById("inf");n.innerHTML=e.registered,e.capacity&&(n.innerHTML+="/"+e.capacity),n.innerHTML+=" registered"}else t.innerHTML=""}};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.