menuserver/dist/build/bundle.js

2 lines
31 KiB
JavaScript
Raw Normal View History

2020-06-26 11:02:27 +00:00
var app=function(){"use strict";function e(){}const t=e=>e;function n(e){return e()}function o(){return Object.create(null)}function r(e){e.forEach(n)}function a(e){return"function"==typeof e}function i(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}const s="undefined"!=typeof window;let u=s?()=>window.performance.now():()=>Date.now(),c=s?e=>requestAnimationFrame(e):e;const l=new Set;function f(e){l.forEach(t=>{t.c(e)||(l.delete(t),t.f())}),0!==l.size&&c(f)}function d(e,t){e.appendChild(t)}function p(e,t,n){e.insertBefore(t,n||null)}function h(e){e.parentNode.removeChild(e)}function m(e){return document.createElement(e)}function g(e){return document.createTextNode(e)}function v(){return g(" ")}function b(e,t,n,o){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)}function y(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function _(e,t){t=""+t,e.data!==t&&(e.data=t)}function x(e,t){e.value=null==t?"":t}function w(e,t){for(let n=0;n<e.options.length;n+=1){const o=e.options[n];if(o.__value===t)return void(o.selected=!0)}}function $(e){const t=e.querySelector(":checked")||e.options[0];return t&&t.__value}const C=new Set;let E,R=0;function S(e,t,n,o,r,a,i,s=0){const u=16.666/o;let c="{\n";for(let e=0;e<=1;e+=u){const o=t+(n-t)*a(e);c+=100*e+`%{${i(o,1-o)}}\n`}const l=c+`100% {${i(n,1-n)}}\n}`,f=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(l)}_${s}`,d=e.ownerDocument;C.add(d);const p=d.__svelte_stylesheet||(d.__svelte_stylesheet=d.head.appendChild(m("style")).sheet),h=d.__svelte_rules||(d.__svelte_rules={});h[f]||(h[f]=!0,p.insertRule(`@keyframes ${f} ${l}`,p.cssRules.length));const g=e.style.animation||"";return e.style.animation=`${g?g+", ":""}${f} ${o}ms linear ${r}ms 1 both`,R+=1,f}function k(e,t){const n=(e.style.animation||"").split(", "),o=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),r=n.length-o.length;r&&(e.style.animation=o.join(", "),R-=r,R||c(()=>{R||(C.forEach(e=>{const t=e.__svelte_stylesheet;let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.__svelte_rules={}}),C.clear())}))}function A(e){E=e}function N(e){(function(){if(!E)throw new Error("Function called outside component initialization");return E})().$$.on_mount.push(e)}const T=[],j=[],B=[],q=[],O=Promise.resolve();let F=!1;function L(e){B.push(e)}let U=!1;const P=new Set;function M(){if(!U){U=!0;do{for(let e=0;e<T.length;e+=1){const t=T[e];A(t),I(t.$$)}for(T.length=0;j.length;)j.pop()();for(let e=0;e<B.length;e+=1){const t=B[e];P.has(t)||(P.add(t),t())}B.length=0}while(T.length);for(;q.length;)q.pop()();F=!1,U=!1,P.clear()}}function I(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(L)}}let D;function z(e,t,n){e.dispatchEvent(function(e,t){const n=document.createEvent("CustomEvent");return n.initCustomEvent(e,!1,!1,t),n}(`${t?"intro":"outro"}${n}`))}const H=new Set;let V;function X(){V={r:0,c:[],p:V}}function J(){V.r||r(V.c),V=V.p}function K(e,t){e&&e.i&&(H.delete(e),e.i(t))}function W(e,t,n,o){if(e&&e.o){if(H.has(e))return;H.add(e),V.c.push(()=>{H.delete(e),o&&(n&&e.d(1),o())}),e.o(t)}}const G={duration:0};function Q(n,o,i,s){let d=o(n,i),p=s?0:1,h=null,m=null,g=null;function v(){g&&k(n,g)}function b(e,t){const n=e.b-p;return t*=Math.abs(n),{a:p,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function y(o){const{delay:a=0,duration:i=300,easing:s=t,tick:y=e,css:_}=d||G,x={start:u()+a,b:o};o||(x.group=V,V.r+=1),h?m=x:(_&&(v(),g=S(n,p,o,i,a,s,_)),o&&y(0,1),h=b(x,i),L(()=>z(n,o,"start")),function(e){let t;0===l.size&&c(f),new Promise(n=>{l.add(t={c:e,f:n})})}(e=>{if(m&&e>m.start&&(h=b(m,i),m=null,z(n,h.b,"start"),_&&(v(),g=S(n,p,h.b,h.duration,0,s,d.css))),h)if(e>=h.end)y(p=h.b,1-p),z(n,h.b,"end"),m||(h.b?v():--h.group.r||r(h.group.c)),h=null;else if(e>=h.start){const t=e-h.start;p=h.a+h.d*s(t/h.duration),y(p,1-p)}return!(!h&&!m)}))}return{run(e){a(d)?(D||(D=Promise.resolve(),D.then(()=>{D=null})),D).then(()=>{d=d()