CodeLiturgy.Dashboard/CodeLiturgy.Views/wwwroot/static/envs/envs.js

3 lines
3.6 KiB
JavaScript
Raw Normal View History

2022-11-19 04:44:37 +03:00
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const c of r)if(c.type==="childList")for(const s of c.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&o(s)}).observe(document,{childList:!0,subtree:!0});function n(r){const c={};return r.integrity&&(c.integrity=r.integrity),r.referrerpolicy&&(c.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?c.credentials="include":r.crossorigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function o(r){if(r.ep)return;r.ep=!0;const c=n(r);fetch(r.href,c)}})();function u(){}function L(e){return e()}function w(){return Object.create(null)}function _(e){e.forEach(L)}function N(e){return typeof e=="function"}function M(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function P(e){return Object.keys(e).length===0}function B(e,t,n){e.insertBefore(t,n||null)}function j(e){e.parentNode&&e.parentNode.removeChild(e)}function C(e){return document.createElement(e)}function I(e){return Array.from(e.childNodes)}let $;function a(e){$=e}const f=[],E=[],m=[],O=[],q=Promise.resolve();let p=!1;function F(){p||(p=!0,q.then(S))}function y(e){m.push(e)}const g=new Set;let h=0;function S(){const e=$;do{for(;h<f.length;){const t=f[h];h++,a(t),H(t.$$)}for(a(null),f.length=0,h=0;E.length;)E.pop()();for(let t=0;t<m.length;t+=1){const n=m[t];g.has(n)||(g.add(n),n())}m.length=0}while(f.length);for(;O.length;)O.pop()();p=!1,g.clear(),a(e)}function H(e){if(e.fragment!==null){e.update(),_(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(y)}}const K=new Set;function T(e,t){e&&e.i&&(K.delete(e),e.i(t))}function z(e,t,n,o){const{fragment:r,after_update:c}=e.$$;r&&r.m(t,n),o||y(()=>{const s=e.$$.on_mount.map(L).filter(N);e.$$.on_destroy?e.$$.on_destroy.push(...s):_(s),e.$$.on_mount=[]}),c.forEach(y)}function D(e,t){const n=e.$$;n.fragment!==null&&(_(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function G(e,t){e.$$.dirty[0]===-1&&(f.push(e),F(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function J(e,t,n,o,r,c,s,A=[-1]){const d=$;a(e);const i=e.$$={fragment:null,ctx:[],props:c,update:u,not_equal:r,bound:w(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(d?d.$$.context:[])),callbacks:w(),dirty:A,skip_bound:!1,root:t.target||d.$$.root};s&&s(i.root);let b=!1;if(i.ctx=n?n(e,t.props||{},(l,v,...x)=>{const k=x.length?x[0]:v;return i.ctx&&r(i.ctx[l],i.ctx[l]=k)&&(!i.skip_bound&&i.bound[l]&&i.bound[l](k),b&&G(e,l)),v}):[],i.update(),b=!0,_(i.before_update),i.fragment=o?o(i.ctx):!1,t.target){if(t.hydrate){const l=I(t.target);i.fragment&&i.fragment.l(l),l.forEach(j)}else i.fragment&&i.fragment.c();t.intro&&T(e.$$.fragment),z(e,t.target,t.anchor,t.customElement),S()}a(d)}class Q{$destroy(){D(this,1),this.$destroy=u}$on(t,n){if(!N(n))return u;const o=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return o.push(n),()=>{const r=o.indexOf(n);r!==-1&&o.splice(r,1)}}$set(t){this.$$set&&!P(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}function R(e){let t;return{c(){t=C("main"),t.innerHTML=`<div class="row"><div class="col"></div>
<div class="col"></div></div>`},m(n,o){B(n,t,o)},p:u,i:u,o:u,d(n){n&&j(t)}}}function U(e,t,n){let{environment:o}=t;return e.$$set=r=>{"environment"in r&&n(0,o=r.environment)},[o]}class V extends Q{constructor(t){super(),J(this,t,U,R,M,{environment:0})}}new V({target:document.getElementById("app")});