menuserver/dist/build/bundle.js

2 lines
28 KiB
JavaScript
Raw Normal View History

2020-04-08 22:07:26 +00:00
var app=function(){"use strict";function e(){}function t(e){return e()}function n(){return Object.create(null)}function r(e){e.forEach(t)}function o(e){return"function"==typeof e}function a(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function i(e,t){e.appendChild(t)}function s(e,t,n){e.insertBefore(t,n||null)}function u(e){e.parentNode.removeChild(e)}function c(e){return document.createElement(e)}function l(e){return document.createTextNode(e)}function f(){return l(" ")}function p(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function d(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function h(e,t){t=""+t,e.data!==t&&(e.data=t)}function m(e,t){(null!=t||e.value)&&(e.value=t)}function v(e,t){for(let n=0;n<e.options.length;n+=1){const r=e.options[n];if(r.__value===t)return void(r.selected=!0)}}function g(e){const t=e.querySelector(":checked")||e.options[0];return t&&t.__value}let b;function y(e){b=e}function _(e){(function(){if(!b)throw new Error("Function called outside component initialization");return b})().$$.on_mount.push(e)}const x=[],w=[],$=[],C=[],E=Promise.resolve();let R=!1;function S(e){$.push(e)}let k=!1;const A=new Set;function N(){if(!k){k=!0;do{for(let e=0;e<x.length;e+=1){const t=x[e];y(t),j(t.$$)}for(x.length=0;w.length;)w.pop()();for(let e=0;e<$.length;e+=1){const t=$[e];A.has(t)||(A.add(t),t())}$.length=0}while(x.length);for(;C.length;)C.pop()();R=!1,k=!1,A.clear()}}function j(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(S)}}const T=new Set;let q;function B(e,t){e&&e.i&&(T.delete(e),e.i(t))}function O(e,t,n,r){if(e&&e.o){if(T.has(e))return;T.add(e),q.c.push(()=>{T.delete(e),r&&(n&&e.d(1),r())}),e.o(t)}}function I(e){e&&e.c()}function M(e,n,a){const{fragment:i,on_mount:s,on_destroy:u,after_update:c}=e.$$;i&&i.m(n,a),S(()=>{const n=s.map(t).filter(o);u?u.push(...n):r(n),e.$$.on_mount=[]}),c.forEach(S)}function L(e,t){const n=e.$$;null!==n.fragment&&(r(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function U(e,t){-1===e.$$.dirty[0]&&(x.push(e),R||(R=!0,E.then(N)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function P(t,o,a,i,s,c,l=[-1]){const f=b;y(t);const p=o.props||{},d=t.$$={fragment:null,ctx:null,props:c,update:e,not_equal:s,bound:n(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(f?f.$$.context:[]),callbacks:n(),dirty:l};let h=!1;if(d.ctx=a?a(t,p,(e,n,...r)=>{const o=r.length?r[0]:n;return d.ctx&&s(d.ctx[e],d.ctx[e]=o)&&(d.bound[e]&&d.bound[e](o),h&&U(t,e)),n}):[],d.update(),h=!0,r(d.before_update),d.fragment=!!i&&i(d.ctx),o.target){if(o.hydrate){const e=function(e){return Array.from(e.childNodes)}(o.target);d.fragment&&d.fragment.l(e),e.forEach(u)}else d.fragment&&d.fragment.c();o.intro&&B(t.$$.fragment),M(t,o.target,o.anchor),N()}y(f)}class F{$destroy(){L(this,1),this.$destroy=e}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(){}}const D=[];function z(t,n=e){let r;const o=[];function i(e){if(a(t,e)&&(t=e,r)){const e=!D.length;for(let e=0;e<o.length;e+=1){const n=o[e];n[1](),D.push(n,t)}if(e){for(let e=0;e<D.length;e+=2)D[e][0](D[e+1]);D.length=0}}}return{set:i,update:function(e){i(e(t))},subscribe:function(a,s=e){const u=[a,s];return o.push(u),1===o.length&&(r=n(i)||e),a(t),()=>{const e=o.indexOf(u);-1!==e&&o.splice(e,1),0===o.length&&(r(),r=null)}}}}var H=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}},V=Object.prototype.toString;function X(e){return"[object Array]"===V.call(e)}function J(e){return void 0===e}function K(e){return null!==e&&"object"==typeof e}function G(e){return"[object Function]"===V.call(e)}function Q(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),X(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)