site-libsoc/Server/public/js/components/manifesto-component.js

2 lines
9.2 KiB
JavaScript
Raw Normal View History

2023-06-25 23:35:08 +07:00
import{S as t,i as e,a as n,b as l,s as o,e as i,n as r,d as s,h as c,j as a,o as u,t as d,c as f,w as m,f as h,m as p,p as g,k as b,r as w,x as y,H as x}from"./index-01c5cbf1.js";import{getData as v}from"../../../../../../../../../js/libraries/serverTools.js";function k(t,e,n){const l=t.slice();return l[22]=e[n],l[23]=e,l[24]=n,l}function I(t,e,n){const l=t.slice();return l[25]=e[n],l}function L(t,e,n){const l=t.slice();return l[25]=e[n],l}function T(t,e,n){const l=t.slice();return l[30]=e[n],l[31]=e,l[32]=n,l}function j(t,e,n){const l=t.slice();return l[33]=e[n],l[34]=e,l[35]=n,l}function z(t){let e,n,o,r,u,m,h=t[30].name+"",p=t[30];const b=()=>t[15](n,p),w=()=>t[15](null,p);function y(){return t[16](t[30])}return{c(){e=i("div"),n=i("button"),o=d(h),r=f(),s(n,"class","level0 heading-button"),s(e,"class","heading-button-wrapper")},m(t,i){l(t,e,i),c(e,n),c(n,o),b(),c(e,r),u||(m=g(n,"click",y),u=!0)},p(e,n){p!==(t=e)[30]&&(w(),p=t[30],b())},d(t){t&&a(e),w(),u=!1,m()}}}function A(t){let e,n=t[30],o=[];for(let e=0;e<n.length;e+=1)o[e]=H(j(t,n,e));return{c(){for(let t=0;t<o.length;t+=1)o[t].c();e=m()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);l(t,e,n)},p(t,l){if(784&l[0]){let i;for(n=t[30],i=0;i<n.length;i+=1){const r=j(t,n,i);o[i]?o[i].p(r,l):(o[i]=H(r),o[i].c(),o[i].m(e.parentNode,e))}for(;i<o.length;i+=1)o[i].d(1);o.length=n.length}},d(t){b(o,t),t&&a(e)}}}function H(t){let e,n,o,r,u,m,h=t[33].name+"",p=t[33];const b=()=>t[13](n,p),w=()=>t[13](null,p);function y(){return t[14](t[33])}return{c(){e=i("div"),n=i("button"),o=d(h),r=f(),s(n,"class","level1 heading-button"),s(e,"class","heading-button-wrapper")},m(t,i){l(t,e,i),c(e,n),c(n,o),b(),c(e,r),u||(m=g(n,"click",y),u=!0)},p(e,n){p!==(t=e)[33]&&(w(),p=t[33],b())},d(t){t&&a(e),w(),u=!1,m()}}}function M(t){let e;let n=function(t,e){return Array.isArray(t[30])?A:z}(t),o=n(t);return{c(){o.c(),e=m()},m(t,n){o.m(t,n),l(t,e,n)},p(t,e){o.p(t,e)},d(t){o.d(t),t&&a(e)}}}function S(t){let e,n,o,u=t[22]+"";return{c(){e=i("p"),n=new x(!1),o=f(),n.a=o,s(e,"class","margin-end")},m(t,i){l(t,e,i),n.m(u,e),c(e,o)},p:r,d(t){t&&a(e)}}}function V(t){let e,n=t[22].slice(2,t[22].length)+"";return{c(){e=i("h1")},m(t,o){l(t,e,o),e.innerHTML=n},p:r,d(t){t&&a(e)}}}function C(t){let e,n,o,r,u,d=t[22].line+"",m=t[22];const h=()=>t[20](n,m),b=()=>t[20](null,m);return{c(){e=i("button"),n=i("h2"),o=f(),s(n,"id",t[22].id),p(e,"display","block"),p(e,"width","100%")},m(i,s){l(i,e,s),c(e,n),n.innerHTML=d,h(),c(e,o),r||(u=g(e,"click",(function(){y(t[6].scrollIntoView({block:"start"},!0))&&t[6].scrollIntoView({block:"start"},!0).apply(this,arguments)})),r=!0)},p(e,n){m!==(t=e)[22]&&(b(),m=t[22],h())},d(t){t&&a(e),b(),r=!1,u()}}}function E(t){let e,n,o,r,u,d=t[22].line+"",m=t[22];const h=()=>t[19](n,m),b=()=>t[19](null,m);return{c(){e=i("button"),n=i("h3"),o=f(),s(n,"id",t[22].id),p(e,"display","block")},m(i,s){l(i,e,s),c(e,n),n.innerHTML=d,h(),c(e,o),r||(u=g(e,"click",(function(){y(t[6].scrollIntoView({block:"start"},!0))&&t[6].scrollIntoView({block:"start"},!0).apply(this,arguments)})),r=!0)},p(e,n){m!==(t=e)[22]&&(b(),m=t[22],h())},d(t){t&&a(e),b(),r=!1,u()}}}function N(t){let e,n,o=t[22].ol,r=[];for(let e=0;e<o.length;e+=1)r[e]=R(I(t,o,e));return{c(){e=i("ol");for(let t=0;t<r.length;t+=1)r[t].c();n=f()},m(t,o){l(t,e,o);for(let t=0;t<r.length;t+=1)r[t].m(e,null);c(e,n)},p(t,l){if(128&l[0]){let i;for(o=t[22].ol,i=0;i<o.length;i+=1){const s=I(t,o,i);r[i]?r[i].p(s,l):(r[i]=R(s),r[i].c(),r[i].m(e,n))}for(;i<r.length;i+=1)r[i].d(1);r.length=o.length}},d(t){t&&a(e),b(r,t)}}}function O(t){let e,n,o=t[22].ul,r=[];for(let e=0;e<o.length;e+=1)r[e]=Y(L(t,o,e));return{c(){e=i("ul");for(let t=0;t<r.length;t+=1)r[t].c();n=f()},m(t,o){l(t,e,o);for(let t=0;t<r.length;t+=1)r[t].m(e,null);c(e,n)},p(t,l){if(128&l[0]){let i;for(o=t[22].ul,i=0;i<o.length;i+=1){const s=L(t,o,i);r[i]?r[i].p(s,l):(r[i]=Y(s),r[i].c(),r[i].m(e,n))}for(;i<r.length;i+=1)r[i].d(1);r.length=o.length}},d(t){t&&a(e),b(r,t)}}}function R(t){let e,n=t[25]+"";return{c(){e=i("li")},m(t,o){l(t,e,o),e.innerHTML=n},p:r,d(t){t&&a(e)}}}function Y(t){let e,n,o=