diff --git a/Server/app/svelte/src/manifesto-component.svelte b/Server/app/svelte/src/manifesto-component.svelte index e747477..d2fd6a5 100644 --- a/Server/app/svelte/src/manifesto-component.svelte +++ b/Server/app/svelte/src/manifesto-component.svelte @@ -326,7 +326,7 @@ text-align: justify; } - @media only screen and (max-width: 1220px) { + @media only screen and (max-width: 1080px) { #text-container { position: relative; diff --git a/Server/public/js/components/manifesto-component.js b/Server/public/js/components/manifesto-component.js index e3ed40f..6642b07 100644 --- a/Server/public/js/components/manifesto-component.js +++ b/Server/public/js/components/manifesto-component.js @@ -1 +1 @@ -import{S as t,i as e,a as n,b as i,s as l,e as o,n as r,d as s,g as a,h as c,o as d,t as m,c as u,f,m as h,p as g,j as p,r as b,w,x,H as y}from"./index-95aedb1a.js";import{getData as v}from"../../../../../../../../../js/libraries/serverTools.js";import{px2rem as k}from"../../../../../../../../../js/libraries/miscTools.js";function T(t,e,n){const i=t.slice();return i[24]=e[n],i[25]=e,i[26]=n,i}function H(t,e,n){const i=t.slice();return i[27]=e[n],i}function L(t,e,n){const i=t.slice();return i[27]=e[n],i}function j(t,e,n){const i=t.slice();return i[32]=e[n],i[33]=e,i[34]=n,i}function I(t,e,n){const i=t.slice();return i[35]=e[n],i[36]=e,i[37]=n,i}function M(t){let e,n,l,r,d,f,h=t[32].name+"",p=t[32];const b=()=>t[15](n,p),w=()=>t[15](null,p);function x(){return t[16](t[32])}return{c(){e=o("div"),n=o("button"),l=m(h),r=u(),s(n,"class","level0 heading-button"),s(e,"class","heading-button-wrapper")},m(t,o){i(t,e,o),a(e,n),a(n,l),b(),a(e,r),d||(f=g(n,"click",x),d=!0)},p(e,n){p!==(t=e)[32]&&(w(),p=t[32],b())},d(t){t&&c(e),w(),d=!1,f()}}}function z(t){let e,n=t[32],l=[];for(let e=0;et[13](n,p),w=()=>t[13](null,p);function x(){return t[14](t[35])}return{c(){e=o("div"),n=o("button"),l=m(h),r=u(),s(n,"class","level1 heading-button"),s(e,"class","heading-button-wrapper")},m(t,o){i(t,e,o),a(e,n),a(n,l),b(),a(e,r),d||(f=g(n,"click",x),d=!0)},p(e,n){p!==(t=e)[35]&&(w(),p=t[35],b())},d(t){t&&c(e),w(),d=!1,f()}}}function Y(t){let e;let n=function(t,e){return Array.isArray(t[32])?z:M}(t),l=n(t);return{c(){l.c(),e=w()},m(t,n){l.m(t,n),i(t,e,n)},p(t,e){l.p(t,e)},d(t){l.d(t),t&&c(e)}}}function E(t){let e,n,l,d=t[24]+"";return{c(){e=o("p"),n=new y(!1),l=u(),n.a=l,s(e,"class","margin-end")},m(t,o){i(t,e,o),n.m(d,e),a(e,l)},p:r,d(t){t&&c(e)}}}function S(t){let e,n=t[24].slice(2,t[24].length)+"";return{c(){e=o("h1")},m(t,l){i(t,e,l),e.innerHTML=n},p:r,d(t){t&&c(e)}}}function V(t){let e,n,l,r,d,m=t[24].line+"",f=t[24];const p=()=>t[20](n,f),b=()=>t[20](null,f);return{c(){e=o("button"),n=o("h2"),l=u(),s(n,"id",t[24].id),h(e,"display","block"),h(e,"width","100%")},m(o,s){i(o,e,s),a(e,n),n.innerHTML=m,p(),a(e,l),r||(d=g(e,"click",(function(){x(t[6].scrollIntoView({block:"start"},!0))&&t[6].scrollIntoView({block:"start"},!0).apply(this,arguments)})),r=!0)},p(e,n){f!==(t=e)[24]&&(b(),f=t[24],p())},d(t){t&&c(e),b(),r=!1,d()}}}function C(t){let e,n,l,r,d,m=t[24].line+"",f=t[24];const p=()=>t[19](n,f),b=()=>t[19](null,f);return{c(){e=o("button"),n=o("h3"),l=u(),s(n,"id",t[24].id),h(e,"display","block"),h(e,"width","100%")},m(o,s){i(o,e,s),a(e,n),n.innerHTML=m,p(),a(e,l),r||(d=g(e,"click",(function(){x(t[6].scrollIntoView({block:"start"},!0))&&t[6].scrollIntoView({block:"start"},!0).apply(this,arguments)})),r=!0)},p(e,n){f!==(t=e)[24]&&(b(),f=t[24],p())},d(t){t&&c(e),b(),r=!1,d()}}}function O(t){let e,n,l=t[24].ol,r=[];for(let e=0;en.includes("<"+t+">"))).findIndex((t=>t));if(-1!=i){let e=g[i],o={};o[e]=[];let r="";for(;;){if(t+=1,n=l[t],n.includes(r)){a.push(o);break}o[e].push(n)}}else if("###"==n.slice(0,3)){let t=n.slice(4,n.length),i=t.toLowerCase().trim().replaceAll(" ","-");e.push({id:i,name:t,index:o}),o+=1,a.push({type:"h3",id:i,line:t,index:o})}else if("##"==n.slice(0,2)){let t=n.slice(3,n.length),i=t.toLowerCase().trim().replaceAll(" ","-");u.push({id:t.toLowerCase().trim().replaceAll(" ","-"),name:t,index:o}),o+=1,e=[],u.push(e),a.push({type:"h2",id:i,line:t,index:o})}else a.push(n)}n(0,i+=1)})),addEventListener("scroll",(t=>{let e=k(window.scrollY);if(e>f||e<5){if(s.offsetHeightwindow.innerHeight&&(h<-5?(h+=f-e,n(6,s.style.marginTop=h+"rem",s)):n(6,s.style.marginTop="-5rem",s));f=k(window.scrollY)})),d((()=>{let t=localStorage.getItem("manifesto-hide-content");null!=t&&null!=t&&"true"==t&&D(o,r)}));return[i,l,o,r,c,m,s,a,u,p,function(t){b[t?"unshift":"push"]((()=>{o=t,n(2,o)}))},function(t){b[t?"unshift":"push"]((()=>{l=t,n(1,l)}))},()=>D(o,r),function(t,e){b[t?"unshift":"push"]((()=>{c[e.index]=t,n(4,c)}))},t=>p(t.id),function(t,e){b[t?"unshift":"push"]((()=>{c[e.index]=t,n(4,c)}))},t=>p(t.id),function(t){b[t?"unshift":"push"]((()=>{r=t,n(3,r)}))},function(t){b[t?"unshift":"push"]((()=>{s=t,n(6,s)}))},function(t,e){b[t?"unshift":"push"]((()=>{m[e.id]=t,n(5,m)}))},function(t,e){b[t?"unshift":"push"]((()=>{m[e.id]=t,n(5,m)}))}]}class J extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},G,q,l,{},null,[-1,-1]),t&&t.target&&i(t.target,this,t.anchor)}}customElements.define("manifesto-component",J);export{J as default}; +import{S as t,i as e,a as n,b as i,s as l,e as o,n as r,d as s,g as a,h as c,o as d,t as m,c as u,f,m as h,p as g,j as p,r as b,w,x,H as y}from"./index-95aedb1a.js";import{getData as v}from"../../../../../../../../../js/libraries/serverTools.js";import{px2rem as k}from"../../../../../../../../../js/libraries/miscTools.js";function T(t,e,n){const i=t.slice();return i[24]=e[n],i[25]=e,i[26]=n,i}function H(t,e,n){const i=t.slice();return i[27]=e[n],i}function L(t,e,n){const i=t.slice();return i[27]=e[n],i}function j(t,e,n){const i=t.slice();return i[32]=e[n],i[33]=e,i[34]=n,i}function I(t,e,n){const i=t.slice();return i[35]=e[n],i[36]=e,i[37]=n,i}function M(t){let e,n,l,r,d,f,h=t[32].name+"",p=t[32];const b=()=>t[15](n,p),w=()=>t[15](null,p);function x(){return t[16](t[32])}return{c(){e=o("div"),n=o("button"),l=m(h),r=u(),s(n,"class","level0 heading-button"),s(e,"class","heading-button-wrapper")},m(t,o){i(t,e,o),a(e,n),a(n,l),b(),a(e,r),d||(f=g(n,"click",x),d=!0)},p(e,n){p!==(t=e)[32]&&(w(),p=t[32],b())},d(t){t&&c(e),w(),d=!1,f()}}}function z(t){let e,n=t[32],l=[];for(let e=0;et[13](n,p),w=()=>t[13](null,p);function x(){return t[14](t[35])}return{c(){e=o("div"),n=o("button"),l=m(h),r=u(),s(n,"class","level1 heading-button"),s(e,"class","heading-button-wrapper")},m(t,o){i(t,e,o),a(e,n),a(n,l),b(),a(e,r),d||(f=g(n,"click",x),d=!0)},p(e,n){p!==(t=e)[35]&&(w(),p=t[35],b())},d(t){t&&c(e),w(),d=!1,f()}}}function Y(t){let e;let n=function(t,e){return Array.isArray(t[32])?z:M}(t),l=n(t);return{c(){l.c(),e=w()},m(t,n){l.m(t,n),i(t,e,n)},p(t,e){l.p(t,e)},d(t){l.d(t),t&&c(e)}}}function E(t){let e,n,l,d=t[24]+"";return{c(){e=o("p"),n=new y(!1),l=u(),n.a=l,s(e,"class","margin-end")},m(t,o){i(t,e,o),n.m(d,e),a(e,l)},p:r,d(t){t&&c(e)}}}function S(t){let e,n=t[24].slice(2,t[24].length)+"";return{c(){e=o("h1")},m(t,l){i(t,e,l),e.innerHTML=n},p:r,d(t){t&&c(e)}}}function V(t){let e,n,l,r,d,m=t[24].line+"",f=t[24];const p=()=>t[20](n,f),b=()=>t[20](null,f);return{c(){e=o("button"),n=o("h2"),l=u(),s(n,"id",t[24].id),h(e,"display","block"),h(e,"width","100%")},m(o,s){i(o,e,s),a(e,n),n.innerHTML=m,p(),a(e,l),r||(d=g(e,"click",(function(){x(t[6].scrollIntoView({block:"start"},!0))&&t[6].scrollIntoView({block:"start"},!0).apply(this,arguments)})),r=!0)},p(e,n){f!==(t=e)[24]&&(b(),f=t[24],p())},d(t){t&&c(e),b(),r=!1,d()}}}function C(t){let e,n,l,r,d,m=t[24].line+"",f=t[24];const p=()=>t[19](n,f),b=()=>t[19](null,f);return{c(){e=o("button"),n=o("h3"),l=u(),s(n,"id",t[24].id),h(e,"display","block"),h(e,"width","100%")},m(o,s){i(o,e,s),a(e,n),n.innerHTML=m,p(),a(e,l),r||(d=g(e,"click",(function(){x(t[6].scrollIntoView({block:"start"},!0))&&t[6].scrollIntoView({block:"start"},!0).apply(this,arguments)})),r=!0)},p(e,n){f!==(t=e)[24]&&(b(),f=t[24],p())},d(t){t&&c(e),b(),r=!1,d()}}}function O(t){let e,n,l=t[24].ol,r=[];for(let e=0;en.includes("<"+t+">"))).findIndex((t=>t));if(-1!=i){let e=g[i],o={};o[e]=[];let r="";for(;;){if(t+=1,n=l[t],n.includes(r)){a.push(o);break}o[e].push(n)}}else if("###"==n.slice(0,3)){let t=n.slice(4,n.length),i=t.toLowerCase().trim().replaceAll(" ","-");e.push({id:i,name:t,index:o}),o+=1,a.push({type:"h3",id:i,line:t,index:o})}else if("##"==n.slice(0,2)){let t=n.slice(3,n.length),i=t.toLowerCase().trim().replaceAll(" ","-");u.push({id:t.toLowerCase().trim().replaceAll(" ","-"),name:t,index:o}),o+=1,e=[],u.push(e),a.push({type:"h2",id:i,line:t,index:o})}else a.push(n)}n(0,i+=1)})),addEventListener("scroll",(t=>{let e=k(window.scrollY);if(e>f||e<5){if(s.offsetHeightwindow.innerHeight&&(h<-5?(h+=f-e,n(6,s.style.marginTop=h+"rem",s)):n(6,s.style.marginTop="-5rem",s));f=k(window.scrollY)})),d((()=>{let t=localStorage.getItem("manifesto-hide-content");null!=t&&null!=t&&"true"==t&&D(o,r)}));return[i,l,o,r,c,m,s,a,u,p,function(t){b[t?"unshift":"push"]((()=>{o=t,n(2,o)}))},function(t){b[t?"unshift":"push"]((()=>{l=t,n(1,l)}))},()=>D(o,r),function(t,e){b[t?"unshift":"push"]((()=>{c[e.index]=t,n(4,c)}))},t=>p(t.id),function(t,e){b[t?"unshift":"push"]((()=>{c[e.index]=t,n(4,c)}))},t=>p(t.id),function(t){b[t?"unshift":"push"]((()=>{r=t,n(3,r)}))},function(t){b[t?"unshift":"push"]((()=>{s=t,n(6,s)}))},function(t,e){b[t?"unshift":"push"]((()=>{m[e.id]=t,n(5,m)}))},function(t,e){b[t?"unshift":"push"]((()=>{m[e.id]=t,n(5,m)}))}]}class J extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},G,q,l,{},null,[-1,-1]),t&&t.target&&i(t.target,this,t.anchor)}}customElements.define("manifesto-component",J);export{J as default};