menuserver/dist/build/bundle.js

3 lines
33 KiB
JavaScript
Raw Permalink Normal View History

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){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function h(e){const t=v("style");return function(e,t){d(e.head||e,t)}(p(e),t),t}function m(e,t,n){e.insertBefore(t,n||null)}function g(e){e.parentNode.removeChild(e)}function v(e){return document.createElement(e)}function b(e){return document.createTextNode(e)}function y(){return b(" ")}function _(e,t,n,o){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)}function $(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function x(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function w(e,t){e.value=null==t?"":t}function C(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)}e.selectedIndex=-1}function E(e){const t=e.querySelector(":checked")||e.options[0];return t&&t.__value}const R=new Set;let S,k=0;function A(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=p(e);R.add(d);const m=d.__svelte_stylesheet||(d.__svelte_stylesheet=h(e).sheet),g=d.__svelte_rules||(d.__svelte_rules={});g[f]||(g[f]=!0,m.insertRule(`@keyframes ${f} ${l}`,m.cssRules.length));const v=e.style.animation||"";return e.style.animation=`${v?`${v}, `:""}${f} ${o}ms linear ${r}ms 1 both`,k+=1,f}function N(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(", "),k-=r,k||c((()=>{k||(R.forEach((e=>{const t=e.__svelte_stylesheet;let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.__svelte_rules={}})),R.clear())})))}function O(e){S=e}function T(e){(function(){if(!S)throw new Error("Function called outside component initialization");return S})().$$.on_mount.push(e)}const j=[],B=[],q=[],F=[],U=Promise.resolve();let P=!1;function I(e){q.push(e)}let L=!1;const M=new Set;function D(){if(!L){L=!0;do{for(let e=0;e<j.length;e+=1){const t=j[e];O(t),z(t.$$)}for(O(null),j.length=0;B.length;)B.pop()();for(let e=0;e<q.length;e+=1){const t=q[e];M.has(t)||(M.add(t),t())}q.length=0}while(j.length);for(;F.length;)F.pop()();P=!1,L=!1,M.clear()}}function z(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(I)}}let V;function H(e,t,n){e.dispatchEvent(function(e,t,n=!1){const o=document.createEvent("CustomEvent");return o.initCustomEvent(e,n,!1,t),o}(`${t?"intro":"outro"}${n}`))}const X=new Set;let J;function K(){J={r:0,c:[],p:J}}function W(){J.r||r(J.c),J=J.p}function G(e,t){e&&e.i&&(X.delete(e),e.i(t))}function Q(e,t,n,o){if(e&&e.o){if(X.has(e))return;X.add(e),J.c.push((()=>{X.delete(e),o&&(n&&e.d(1),o())})),e.o(t)}}const Y={duration:0};function Z(n,o,i,s){let d=o(n,i),p=s?0:1,h=null,m=null,g=null;function v(){g&&N(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||Y,$={start:u()+a,b:o};o||($.group=J,J.r+=1),h||m?m=$:(_&&(v(),g=A(n,p,o,i,a,s,_)),o&&y(0,1),h=b($,i),I((()=>H(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,H(n,h.b,"start"),_&&(v(),g=A(n,p,h.b,h.duration,0,s,d.css))),h)if(e>=h.end)y(p=h.b,1-p),H(n,h.b,"end"),m
//# sourceMappingURL=bundle.js.map