From 707f333b86227e24e7b9ad31a1fb80fdd304fa56 Mon Sep 17 00:00:00 2001 From: Wojciech Grzeszczak Date: Mon, 23 Mar 2026 09:26:52 +0100 Subject: [PATCH 1/5] Rebuilt UI --- .../immutable/chunks/{C6Nbyvij.js => CPrwbBC6.js} | 2 +- .../immutable/chunks/{BkTZdoZE.js => CuNuScQb.js} | 2 +- .../entry/{app.D1-MxLu9.js => app.BzZNeeRK.js} | 4 ++-- .../build/_app/immutable/entry/start.B_QIJYhh.js | 1 + .../build/_app/immutable/entry/start.DwFBtt-N.js | 1 - .../immutable/nodes/{0.DRfp18Pm.js => 0.DbwX8pIk.js} | 2 +- .../immutable/nodes/{1.CD3leUXn.js => 1.CkrLJ_1I.js} | 2 +- .../nodes/{11.D0wEx6D6.js => 11.CXULG1X5.js} | 2 +- .../nodes/{14.7fbd7OfH.js => 14.DJNcghcD.js} | 2 +- .../nodes/{17.DGuxwaeC.js => 17.DA_EPtnJ.js} | 2 +- .../nodes/{19.C47gtE90.js => 19.BaFYl6I1.js} | 2 +- .../immutable/nodes/{2.CGFuMAZt.js => 2.CM5gmKVo.js} | 2 +- .../nodes/{21.Dfq71RmU.js => 21.DCLUMyDG.js} | 2 +- .../immutable/nodes/{4.DM9kxUlW.js => 4._K5Xz6p4.js} | 2 +- .../immutable/nodes/{6.Co53nSuQ.js => 6.Re2XD2Uj.js} | 2 +- .../immutable/nodes/{7.CKEMr56f.js => 7.gbunpf_a.js} | 2 +- .../immutable/nodes/{8.C5n3zv3J.js => 8.Dxi-IDsQ.js} | 2 +- gui/next/build/_app/version.json | 2 +- gui/next/build/index.html | 12 ++++++------ 19 files changed, 24 insertions(+), 24 deletions(-) rename gui/next/build/_app/immutable/chunks/{C6Nbyvij.js => CPrwbBC6.js} (71%) rename gui/next/build/_app/immutable/chunks/{BkTZdoZE.js => CuNuScQb.js} (90%) rename gui/next/build/_app/immutable/entry/{app.D1-MxLu9.js => app.BzZNeeRK.js} (87%) create mode 100644 gui/next/build/_app/immutable/entry/start.B_QIJYhh.js delete mode 100644 gui/next/build/_app/immutable/entry/start.DwFBtt-N.js rename gui/next/build/_app/immutable/nodes/{0.DRfp18Pm.js => 0.DbwX8pIk.js} (99%) rename gui/next/build/_app/immutable/nodes/{1.CD3leUXn.js => 1.CkrLJ_1I.js} (92%) rename gui/next/build/_app/immutable/nodes/{11.D0wEx6D6.js => 11.CXULG1X5.js} (99%) rename gui/next/build/_app/immutable/nodes/{14.7fbd7OfH.js => 14.DJNcghcD.js} (99%) rename gui/next/build/_app/immutable/nodes/{17.DGuxwaeC.js => 17.DA_EPtnJ.js} (99%) rename gui/next/build/_app/immutable/nodes/{19.C47gtE90.js => 19.BaFYl6I1.js} (99%) rename gui/next/build/_app/immutable/nodes/{2.CGFuMAZt.js => 2.CM5gmKVo.js} (99%) rename gui/next/build/_app/immutable/nodes/{21.Dfq71RmU.js => 21.DCLUMyDG.js} (99%) rename gui/next/build/_app/immutable/nodes/{4.DM9kxUlW.js => 4._K5Xz6p4.js} (99%) rename gui/next/build/_app/immutable/nodes/{6.Co53nSuQ.js => 6.Re2XD2Uj.js} (98%) rename gui/next/build/_app/immutable/nodes/{7.CKEMr56f.js => 7.gbunpf_a.js} (99%) rename gui/next/build/_app/immutable/nodes/{8.C5n3zv3J.js => 8.Dxi-IDsQ.js} (99%) diff --git a/gui/next/build/_app/immutable/chunks/C6Nbyvij.js b/gui/next/build/_app/immutable/chunks/CPrwbBC6.js similarity index 71% rename from gui/next/build/_app/immutable/chunks/C6Nbyvij.js rename to gui/next/build/_app/immutable/chunks/CPrwbBC6.js index d1bea62b9..e066f0956 100644 --- a/gui/next/build/_app/immutable/chunks/C6Nbyvij.js +++ b/gui/next/build/_app/immutable/chunks/CPrwbBC6.js @@ -1 +1 @@ -import{s as e}from"./BkTZdoZE.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p}; +import{s as e}from"./CuNuScQb.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p}; diff --git a/gui/next/build/_app/immutable/chunks/BkTZdoZE.js b/gui/next/build/_app/immutable/chunks/CuNuScQb.js similarity index 90% rename from gui/next/build/_app/immutable/chunks/BkTZdoZE.js rename to gui/next/build/_app/immutable/chunks/CuNuScQb.js index 63d6259cb..240a7e6f9 100644 --- a/gui/next/build/_app/immutable/chunks/BkTZdoZE.js +++ b/gui/next/build/_app/immutable/chunks/CuNuScQb.js @@ -1 +1 @@ -var mt=Object.defineProperty;var _t=(e,t,n)=>t in e?mt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var E=(e,t,n)=>_t(e,typeof t!="symbol"?t+"":t,n);import{S as wt,a7 as vt,a6 as yt,W as bt,ao as St,aj as kt,ap as Et,af as Rt,a5 as me,ak as xt,P as W}from"./n7YEDvJi.js";import{w as Se}from"./CJfL7PSQ.js";class ze extends wt{constructor(n){if(!n||!n.target&&!n.$$inline)throw new Error("'target' is a required option");super();E(this,"$$prop_def");E(this,"$$events_def");E(this,"$$slot_def")}$destroy(){super.$destroy(),this.$destroy=()=>{console.warn("Component was already destroyed")}}$capture_state(){}$inject_state(){}}class $t extends ze{}const Ut=Object.freeze(Object.defineProperty({__proto__:null,SvelteComponent:ze,SvelteComponentTyped:$t,afterUpdate:vt,beforeUpdate:yt,createEventDispatcher:bt,getAllContexts:St,getContext:kt,hasContext:Et,onDestroy:Rt,onMount:me,setContext:xt,tick:W},Symbol.toStringTag,{value:"Module"}));class ke{constructor(t,n){this.status=t,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class Ee{constructor(t,n){this.status=t,this.location=n}}class Re extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}new URL("sveltekit-internal://");function Lt(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function At(e){return e.split("%25").map(decodeURI).join("%25")}function Tt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function de({href:e}){return e.split("#")[0]}function Ct(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)t=t*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;new TextDecoder;function Ot(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r((e instanceof Request?e.method:(t==null?void 0:t.method)||"GET")!=="GET"&&K.delete(xe(e)),It(e,t));const K=new Map;function Pt(e,t){const n=xe(e,t),r=document.querySelector(n);if(r!=null&&r.textContent){r.remove();let{body:a,...s}=JSON.parse(r.textContent);const o=r.getAttribute("data-ttl");return o&&K.set(n,{body:a,init:s,ttl:1e3*Number(o)}),r.getAttribute("data-b64")!==null&&(a=Ot(a)),Promise.resolve(new Response(a,s))}return window.fetch(e,t)}function jt(e,t,n){if(K.size>0){const r=xe(e,n),a=K.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return t.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const o=r.split(/\[(.+?)\](?!\])/);return"/"+o.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return he(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return he(String.fromCharCode(...c.slice(2).split("-").map(_=>parseInt(_,16))));const d=Nt.exec(c),[,u,v,f,h]=d;return t.push({name:f,matcher:h,optional:!!u,rest:!!v,chained:v?l===1&&o[0]==="":!1}),v?"([^]*?)":u?"([^/]*)?":"([^/]+?)"}return he(c)}).join("")}).join("")}/?$`),params:t}}function qt(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function Vt(e){return e.slice(1).split("/").filter(qt)}function Mt(e,t,n){const r={},a=e.slice(1),s=a.filter(i=>i!==void 0);let o=0;for(let i=0;id).join("/"),o=0),l===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const d=t[i+1],u=a[i+1];d&&!d.rest&&d.optional&&u&&c.chained&&(o=0),!d&&!u&&Object.keys(r).length===s.length&&(o=0);continue}if(c.optional&&c.chained){o++;continue}return}if(!o)return r}function he(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Bt({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([i,[c,l,d]])=>{const{pattern:u,params:v}=Dt(i),f={id:i,exec:h=>{const _=u.exec(h);if(_)return Mt(_,v,r)},errors:[1,...d||[]].map(h=>e[h]),layouts:[0,...l||[]].map(o),leaf:s(c)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function s(i){const c=i<0;return c&&(i=~i),[c,e[i]]}function o(i){return i===void 0?i:[a.has(i),e[i]]}}function He(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function qe(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}var Ge;const U=((Ge=globalThis.__sveltekit_v3dbqu)==null?void 0:Ge.base)??"";var Ye;const Kt=((Ye=globalThis.__sveltekit_v3dbqu)==null?void 0:Ye.assets)??U??"",Wt="1769002270937",Je="sveltekit:snapshot",Xe="sveltekit:scroll",Qe="sveltekit:states",Ft="sveltekit:pageurl",q="sveltekit:history",F="sveltekit:navigation",I={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},ie=location.origin;function $e(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function ce(){return{x:pageXOffset,y:pageYOffset}}function D(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const Ve={...I,"":I.hover};function Ze(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function et(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Ze(e)}}function _e(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const i=location.hash.split("#")[1]||"/";r.hash=`#${i}${r.hash}`}}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,s=!r||!!a||le(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(r==null?void 0:r.origin)===ie&&e.hasAttribute("download");return{url:r,external:s,target:a,download:o}}function Z(e){let t=null,n=null,r=null,a=null,s=null,o=null,i=e;for(;i&&i!==document.documentElement;)r===null&&(r=D(i,"preload-code")),a===null&&(a=D(i,"preload-data")),t===null&&(t=D(i,"keepfocus")),n===null&&(n=D(i,"noscroll")),s===null&&(s=D(i,"reload")),o===null&&(o=D(i,"replacestate")),i=Ze(i);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Ve[r??"off"],preload_data:Ve[a??"off"],keepfocus:c(t),noscroll:c(n),reload:c(s),replace_state:c(o)}}function Me(e){const t=Se(e);let n=!0;function r(){n=!0,t.update(o=>o)}function a(o){n=!1,t.set(o)}function s(o){let i;return t.subscribe(c=>{(i===void 0||n&&c!==i)&&o(i=c)})}return{notify:r,set:a,subscribe:s}}const tt={v:()=>{}};function Gt(){const{set:e,subscribe:t}=Se(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Kt}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const o=(await a.json()).version!==Wt;return o&&(e(!0),tt.v(),clearTimeout(n)),o}catch{return!1}}return{subscribe:t,check:r}}function le(e,t,n){return e.origin!==ie||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function bn(e){}const nt=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...nt];const Yt=new Set([...nt]);[...Yt];function zt(e){return e.filter(t=>t!=null)}function Ue(e){return e instanceof ke||e instanceof Re?e.status:500}function Ht(e){return e instanceof Re?e.text:"Internal Error"}let R,G,pe;const Jt=me.toString().includes("$$")||/function \w+\(\) \{\}/.test(me.toString());Jt?(R={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},G={current:null},pe={current:!1}):(R=new class{constructor(){E(this,"data",$state.raw({}));E(this,"form",$state.raw(null));E(this,"error",$state.raw(null));E(this,"params",$state.raw({}));E(this,"route",$state.raw({id:null}));E(this,"state",$state.raw({}));E(this,"status",$state.raw(-1));E(this,"url",$state.raw(new URL("https://example.com")))}},G=new class{constructor(){E(this,"current",$state.raw(null))}},pe=new class{constructor(){E(this,"current",$state.raw(!1))}},tt.v=()=>pe.current=!0);function Xt(e){Object.assign(R,e)}const{onMount:Qt}=Ut,Zt=new Set(["icon","shortcut icon","apple-touch-icon"]),j=He(Xe)??{},Y=He(Je)??{},O={url:Me({}),page:Me({}),navigating:Se(null),updated:Gt()};function Le(e){j[e]=ce()}function en(e,t){let n=e+1;for(;j[n];)delete j[n],n+=1;for(n=t+1;Y[n];)delete Y[n],n+=1}function z(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(()=>{})}async function at(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(U||"/");e&&await e.update()}}function Be(){}let Ae,we,ee,A,ve,b;const te=[],ne=[];let w=null;function ye(){var e;(e=w==null?void 0:w.fork)==null||e.then(t=>t==null?void 0:t.discard()),w=null}const Q=new Map,Te=new Set,rt=new Set,V=new Set;let m={branch:[],error:null,url:null},ot=!1,ae=!1,Ke=!0,H=!1,B=!1,st=!1,Ce=!1,it,k,$,P;const re=new Set,We=new Map;async function Rn(e,t,n){var s,o,i,c,l;(s=globalThis.__sveltekit_v3dbqu)!=null&&s.data&&globalThis.__sveltekit_v3dbqu.data,document.URL!==location.href&&(location.href=location.href),b=e,await((i=(o=e.hooks).init)==null?void 0:i.call(o)),Ae=Bt(e),A=document.documentElement,ve=t,we=e.nodes[0],ee=e.nodes[1],we(),ee(),k=(c=history.state)==null?void 0:c[q],$=(l=history.state)==null?void 0:l[F],k||(k=$=Date.now(),history.replaceState({...history.state,[q]:k,[F]:$},""));const r=j[k];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await pn(ve,n)):(await M({type:"enter",url:$e(b.hash?_n(new URL(location.href)):location.href),replace_state:!0}),a()),hn()}function tn(){te.length=0,Ce=!1}function ct(e){ne.some(t=>t==null?void 0:t.snapshot)&&(Y[e]=ne.map(t=>{var n;return(n=t==null?void 0:t.snapshot)==null?void 0:n.capture()}))}function lt(e){var t;(t=Y[e])==null||t.forEach((n,r)=>{var a,s;(s=(a=ne[r])==null?void 0:a.snapshot)==null||s.restore(n)})}function Fe(){Le(k),qe(Xe,j),ct($),qe(Je,Y)}async function ft(e,t,n,r){let a;t.invalidateAll&&ye(),await M({type:"goto",url:$e(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{t.invalidateAll&&(Ce=!0,a=[...We.keys()]),t.invalidate&&t.invalidate.forEach(dn)}}),t.invalidateAll&&W().then(W).then(()=>{We.forEach(({resource:s},o)=>{var i;a!=null&&a.includes(o)&&((i=s.refresh)==null||i.call(s))})})}async function nn(e){if(e.id!==(w==null?void 0:w.id)){ye();const t={};re.add(t),w={id:e.id,token:t,promise:dt({...e,preload:t}).then(n=>(re.delete(t),n.type==="loaded"&&n.state.error&&ye(),n)),fork:null}}return w.promise}async function ge(e){var n;const t=(n=await fe(e,!1))==null?void 0:n.route;t&&await Promise.all([...t.layouts,t.leaf].map(r=>r==null?void 0:r[1]()))}async function ut(e,t,n){var a;m=e.state;const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(R,e.props.page),it=new b.root({target:t,props:{...e.props,stores:O,components:ne},hydrate:n,sync:!1}),await Promise.resolve(),lt($),n){const s={from:null,to:{params:m.params,route:{id:((a=m.route)==null?void 0:a.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};V.forEach(o=>o(s))}ae=!0}function oe({url:e,params:t,branch:n,status:r,error:a,route:s,form:o}){let i="never";if(U&&(e.pathname===U||e.pathname===U+"/"))i="always";else for(const f of n)(f==null?void 0:f.slash)!==void 0&&(i=f.slash);e.pathname=Lt(e.pathname,i),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:a,route:s},props:{constructors:zt(n).map(f=>f.node.component),page:De(R)}};o!==void 0&&(c.props.form=o);let l={},d=!R,u=0;for(let f=0;fi(new URL(o))))return!0;return!1}function Ie(e,t){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?t??null:null}function on(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const r of n){const a=e.searchParams.getAll(r),s=t.searchParams.getAll(r);a.every(o=>s.includes(o))&&s.every(o=>a.includes(o))&&n.delete(r)}return n}function sn({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:De(R),constructors:[]}}}async function dt({id:e,invalidating:t,url:n,params:r,route:a,preload:s}){if((w==null?void 0:w.id)===e)return re.delete(w.token),w.promise;const{errors:o,layouts:i,leaf:c}=a,l=[...i,c];o.forEach(g=>g==null?void 0:g().catch(()=>{})),l.forEach(g=>g==null?void 0:g[1]().catch(()=>{}));const d=m.url?e!==se(m.url):!1,u=m.route?a.id!==m.route.id:!1,v=on(m.url,n);let f=!1;const h=l.map(async(g,p)=>{var T;if(!g)return;const S=m.branch[p];return g[1]===(S==null?void 0:S.loader)&&!rn(f,u,d,v,(T=S.universal)==null?void 0:T.uses,r)?S:(f=!0,Oe({loader:g[1],url:n,params:r,route:a,parent:async()=>{var X;const L={};for(let y=0;y{});const _=[];for(let g=0;gPromise.resolve({}),server_data_node:Ie(s)}),i={node:await ee(),loader:ee,universal:null,server:null,data:null};return oe({url:n,params:a,branch:[o,i],status:e,error:t,route:null})}catch(o){if(o instanceof Ee)return ft(new URL(o.location,location.href),{},0);throw o}}async function ln(e){const t=e.href;if(Q.has(t))return Q.get(t);let n;try{const r=(async()=>{let a=await b.hooks.reroute({url:new URL(e),fetch:async(s,o)=>an(s,o,e).promise})??e;if(typeof a=="string"){const s=new URL(e);b.hash?s.hash=a:s.pathname=a,a=s}return a})();Q.set(t,r),n=await r}catch{Q.delete(t);return}return n}async function fe(e,t){if(e&&!le(e,U,b.hash)){const n=await ln(e);if(!n)return;const r=fn(n);for(const a of Ae){const s=a.exec(r);if(s)return{id:se(e),invalidating:t,route:a,params:Tt(s),url:e}}}}function fn(e){return At(b.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(U.length))||"/"}function se(e){return(b.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function ht({url:e,type:t,intent:n,delta:r,event:a}){let s=!1;const o=Ne(m,n,e,t);r!==void 0&&(o.navigation.delta=r),a!==void 0&&(o.navigation.event=a);const i={...o.navigation,cancel:()=>{s=!0,o.reject(new Error("navigation cancelled"))}};return H||Te.forEach(c=>c(i)),s?null:o}async function M({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o={},redirect_count:i=0,nav_token:c={},accept:l=Be,block:d=Be,event:u}){const v=P;P=c;const f=await fe(t,!1),h=e==="enter"?Ne(m,f,t,e):ht({url:t,type:e,delta:n==null?void 0:n.delta,intent:f,event:u});if(!h){d(),P===c&&(P=v);return}const _=k,g=$;l(),H=!0,ae&&h.navigation.type!=="enter"&&O.navigating.set(G.current=h.navigation);let p=f&&await dt(f);if(!p){if(le(t,U,b.hash))return await z(t,s);p=await pt(t,{id:null},await J(new Re(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,s)}if(t=(f==null?void 0:f.url)||t,P!==c)return h.reject(new Error("navigation aborted")),!1;if(p.type==="redirect"){if(i<20){await M({type:e,url:new URL(p.location,t),popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o,redirect_count:i+1,nav_token:c}),h.fulfil(void 0);return}p=await Pe({status:500,error:await J(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}})}else p.props.page.status>=400&&await O.updated.check()&&(await at(),await z(t,s));if(tn(),Le(_),ct(g),p.props.page.url.pathname!==t.pathname&&(t.pathname=p.props.page.url.pathname),o=n?n.state:o,!n){const y=s?0:1,N={[q]:k+=y,[F]:$+=y,[Qe]:o};(s?history.replaceState:history.pushState).call(history,N,"",t),s||en(k,$)}const S=f&&(w==null?void 0:w.id)===f.id?w.fork:null;w=null,p.props.page.state=o;let x;if(ae){const y=(await Promise.all(Array.from(rt,C=>C(h.navigation)))).filter(C=>typeof C=="function");if(y.length>0){let C=function(){y.forEach(ue=>{V.delete(ue)})};y.push(C),y.forEach(ue=>{V.add(ue)})}m=p.state,p.props.page&&(p.props.page.url=t);const N=S&&await S;N?x=N.commit():(it.$set(p.props),Xt(p.props.page),x=void 0),st=!0}else await ut(p,ve,!1);const{activeElement:T}=document;await x,await W(),await W();let L=n?n.scroll:a?ce():null;if(Ke){const y=t.hash&&document.getElementById(gt(t));if(L)scrollTo(L.x,L.y);else if(y){y.scrollIntoView();const{top:N,left:C}=y.getBoundingClientRect();L={x:pageXOffset+C,y:pageYOffset+N}}else scrollTo(0,0)}const X=document.activeElement!==T&&document.activeElement!==document.body;!r&&!X&&mn(t,L),Ke=!0,p.props.page&&Object.assign(R,p.props.page),H=!1,e==="popstate"&<($),h.fulfil(void 0),V.forEach(y=>y(h.navigation)),O.navigating.set(G.current=null)}async function pt(e,t,n,r,a){return e.origin===ie&&e.pathname===location.pathname&&!ot?await Pe({status:r,error:n,url:e,route:t}):await z(e,a)}function un(){let e,t,n;A.addEventListener("mousemove",i=>{const c=i.target;clearTimeout(e),e=setTimeout(()=>{s(c,I.hover)},20)});function r(i){i.defaultPrevented||s(i.composedPath()[0],I.tap)}A.addEventListener("mousedown",r),A.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(i=>{for(const c of i)c.isIntersecting&&(ge(new URL(c.target.href)),a.unobserve(c.target))},{threshold:0});async function s(i,c){const l=et(i,A),d=l===t&&c>=n;if(!l||d)return;const{url:u,external:v,download:f}=_e(l,U,b.hash);if(v||f)return;const h=Z(l),_=u&&se(m.url)===se(u);if(!(h.reload||_))if(c<=h.preload_data){t=l,n=I.tap;const g=await fe(u,!1);if(!g)return;nn(g)}else c<=h.preload_code&&(t=l,n=c,ge(u))}function o(){a.disconnect();for(const i of A.querySelectorAll("a")){const{url:c,external:l,download:d}=_e(i,U,b.hash);if(l||d)continue;const u=Z(i);u.reload||(u.preload_code===I.viewport&&a.observe(i),u.preload_code===I.eager&&ge(c))}}V.add(o),o()}function J(e,t){if(e instanceof ke)return e.body;const n=Ue(e),r=Ht(e);return b.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function je(e,t){Qt(()=>(e.add(t),()=>{e.delete(t)}))}function xn(e){je(V,e)}function $n(e){je(Te,e)}function Un(e){je(rt,e)}function Ln(e,t={}){return e=new URL($e(e)),e.origin!==ie?Promise.reject(new Error("goto: invalid URL")):ft(e,t,0)}function dn(e){if(typeof e=="function")te.push(e);else{const{href:t}=new URL(e,location.href);te.push(n=>n.href===t)}}function hn(){var t;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let r=!1;if(Fe(),!H){const a=Ne(m,void 0,null,"leave"),s={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};Te.forEach(o=>o(s))}r?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Fe()}),(t=navigator.connection)!=null&&t.saveData||un(),A.addEventListener("click",async n=>{if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const r=et(n.composedPath()[0],A);if(!r)return;const{url:a,external:s,target:o,download:i}=_e(r,U,b.hash);if(!a)return;if(o==="_parent"||o==="_top"){if(window.parent!==window)return}else if(o&&o!=="_self")return;const c=Z(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||i)return;const[d,u]=(b.hash?a.hash.replace(/^#/,""):a.href).split("#"),v=d===de(location);if(s||c.reload&&(!v||!u)){ht({url:a,type:"link",event:n})?H=!0:n.preventDefault();return}if(u!==void 0&&v){const[,f]=m.url.href.split("#");if(f===u){if(n.preventDefault(),u===""||u==="top"&&r.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const h=r.ownerDocument.getElementById(decodeURIComponent(u));h&&(h.scrollIntoView(),h.focus())}return}if(B=!0,Le(k),e(a),!c.replace_state)return;B=!1}n.preventDefault(),await new Promise(f=>{requestAnimationFrame(()=>{setTimeout(f,0)}),setTimeout(f,100)}),await M({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href,event:n})}),A.addEventListener("submit",n=>{if(n.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formTarget)||r.target)==="_blank"||((a==null?void 0:a.formMethod)||r.method)!=="get")return;const i=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(le(i,U,!1))return;const c=n.target,l=Z(c);if(l.reload)return;n.preventDefault(),n.stopPropagation();const d=new FormData(c,a);i.search=new URLSearchParams(d).toString(),M({type:"form",url:i,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??i.href===location.href,event:n})}),addEventListener("popstate",async n=>{var r;if(!be){if((r=n.state)!=null&&r[q]){const a=n.state[q];if(P={},a===k)return;const s=j[a],o=n.state[Qe]??{},i=new URL(n.state[Ft]??location.href),c=n.state[F],l=m.url?de(location)===de(m.url):!1;if(c===$&&(st||l)){o!==R.state&&(R.state=o),e(i),j[k]=ce(),s&&scrollTo(s.x,s.y),k=a;return}const u=a-k;await M({type:"popstate",url:i,popped:{state:o,scroll:s,delta:u},accept:()=>{k=a,$=c},block:()=>{history.go(-u)},nav_token:P,event:n})}else if(!B){const a=new URL(location.href);e(a),b.hash&&location.reload()}}}),addEventListener("hashchange",()=>{B&&(B=!1,history.replaceState({...history.state,[q]:++k,[F]:$},"",location.href))});for(const n of document.querySelectorAll("link"))Zt.has(n.rel)&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&O.navigating.set(G.current=null)});function e(n){m.url=R.url=n,O.page.set(De(R)),O.page.notify()}}async function pn(e,{status:t=200,error:n,node_ids:r,params:a,route:s,server_route:o,data:i,form:c}){ot=!0;const l=new URL(location.href);let d;({params:a={},route:s={id:null}}=await fe(l,!1)||{}),d=Ae.find(({id:f})=>f===s.id);let u,v=!0;try{const f=r.map(async(_,g)=>{const p=i[g];return p!=null&&p.uses&&(p.uses=gn(p.uses)),Oe({loader:b.nodes[_],url:l,params:a,route:s,parent:async()=>{const S={};for(let x=0;x{const i=history.state;be=!0,location.replace(`#${r}`),b.hash&&location.replace(e.hash),history.replaceState(i,"",e.hash),scrollTo(s,o),be=!1})}else{const s=document.body,o=s.getAttribute("tabindex");s.tabIndex=-1,s.focus({preventScroll:!0,focusVisible:!1}),o!==null?s.setAttribute("tabindex",o):s.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const s=[];for(let o=0;o{if(a.rangeCount===s.length){for(let o=0;o{a=d,s=u});return o.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:((c=e.route)==null?void 0:c.id)??null},url:e.url},to:n&&{params:(t==null?void 0:t.params)??null,route:{id:((l=t==null?void 0:t.route)==null?void 0:l.id)??null},url:n},willUnload:!t,type:r,complete:o},fulfil:a,reject:s}}function De(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function _n(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function gt(e){let t;if(b.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{xn as a,$n as b,Rn as c,Ln as g,bn as l,Un as o,O as s}; +var mt=Object.defineProperty;var _t=(e,t,n)=>t in e?mt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var E=(e,t,n)=>_t(e,typeof t!="symbol"?t+"":t,n);import{S as wt,a7 as vt,a6 as yt,W as bt,ao as St,aj as kt,ap as Et,af as Rt,a5 as me,ak as xt,P as W}from"./n7YEDvJi.js";import{w as Se}from"./CJfL7PSQ.js";class ze extends wt{constructor(n){if(!n||!n.target&&!n.$$inline)throw new Error("'target' is a required option");super();E(this,"$$prop_def");E(this,"$$events_def");E(this,"$$slot_def")}$destroy(){super.$destroy(),this.$destroy=()=>{console.warn("Component was already destroyed")}}$capture_state(){}$inject_state(){}}class $t extends ze{}const Ut=Object.freeze(Object.defineProperty({__proto__:null,SvelteComponent:ze,SvelteComponentTyped:$t,afterUpdate:vt,beforeUpdate:yt,createEventDispatcher:bt,getAllContexts:St,getContext:kt,hasContext:Et,onDestroy:Rt,onMount:me,setContext:xt,tick:W},Symbol.toStringTag,{value:"Module"}));class ke{constructor(t,n){this.status=t,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class Ee{constructor(t,n){this.status=t,this.location=n}}class Re extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}new URL("sveltekit-internal://");function Lt(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function At(e){return e.split("%25").map(decodeURI).join("%25")}function Tt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function de({href:e}){return e.split("#")[0]}function Ct(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)t=t*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;new TextDecoder;function Ot(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r((e instanceof Request?e.method:(t==null?void 0:t.method)||"GET")!=="GET"&&K.delete(xe(e)),jt(e,t));const K=new Map;function It(e,t){const n=xe(e,t),r=document.querySelector(n);if(r!=null&&r.textContent){r.remove();let{body:a,...s}=JSON.parse(r.textContent);const o=r.getAttribute("data-ttl");return o&&K.set(n,{body:a,init:s,ttl:1e3*Number(o)}),r.getAttribute("data-b64")!==null&&(a=Ot(a)),Promise.resolve(new Response(a,s))}return window.fetch(e,t)}function Pt(e,t,n){if(K.size>0){const r=xe(e,n),a=K.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return t.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const o=r.split(/\[(.+?)\](?!\])/);return"/"+o.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return he(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return he(String.fromCharCode(...c.slice(2).split("-").map(_=>parseInt(_,16))));const d=Nt.exec(c),[,u,v,f,h]=d;return t.push({name:f,matcher:h,optional:!!u,rest:!!v,chained:v?l===1&&o[0]==="":!1}),v?"([^]*?)":u?"([^/]*)?":"([^/]+?)"}return he(c)}).join("")}).join("")}/?$`),params:t}}function qt(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function Vt(e){return e.slice(1).split("/").filter(qt)}function Mt(e,t,n){const r={},a=e.slice(1),s=a.filter(i=>i!==void 0);let o=0;for(let i=0;id).join("/"),o=0),l===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const d=t[i+1],u=a[i+1];d&&!d.rest&&d.optional&&u&&c.chained&&(o=0),!d&&!u&&Object.keys(r).length===s.length&&(o=0);continue}if(c.optional&&c.chained){o++;continue}return}if(!o)return r}function he(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Bt({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([i,[c,l,d]])=>{const{pattern:u,params:v}=Dt(i),f={id:i,exec:h=>{const _=u.exec(h);if(_)return Mt(_,v,r)},errors:[1,...d||[]].map(h=>e[h]),layouts:[0,...l||[]].map(o),leaf:s(c)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function s(i){const c=i<0;return c&&(i=~i),[c,e[i]]}function o(i){return i===void 0?i:[a.has(i),e[i]]}}function He(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function qe(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}var Ge;const U=((Ge=globalThis.__sveltekit_dmn01j)==null?void 0:Ge.base)??"";var Ye;const Kt=((Ye=globalThis.__sveltekit_dmn01j)==null?void 0:Ye.assets)??U??"",Wt="1774254359193",Je="sveltekit:snapshot",Xe="sveltekit:scroll",Qe="sveltekit:states",Ft="sveltekit:pageurl",q="sveltekit:history",F="sveltekit:navigation",j={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},ie=location.origin;function $e(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function ce(){return{x:pageXOffset,y:pageYOffset}}function D(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const Ve={...j,"":j.hover};function Ze(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function et(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Ze(e)}}function _e(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const i=location.hash.split("#")[1]||"/";r.hash=`#${i}${r.hash}`}}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,s=!r||!!a||le(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(r==null?void 0:r.origin)===ie&&e.hasAttribute("download");return{url:r,external:s,target:a,download:o}}function Z(e){let t=null,n=null,r=null,a=null,s=null,o=null,i=e;for(;i&&i!==document.documentElement;)r===null&&(r=D(i,"preload-code")),a===null&&(a=D(i,"preload-data")),t===null&&(t=D(i,"keepfocus")),n===null&&(n=D(i,"noscroll")),s===null&&(s=D(i,"reload")),o===null&&(o=D(i,"replacestate")),i=Ze(i);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Ve[r??"off"],preload_data:Ve[a??"off"],keepfocus:c(t),noscroll:c(n),reload:c(s),replace_state:c(o)}}function Me(e){const t=Se(e);let n=!0;function r(){n=!0,t.update(o=>o)}function a(o){n=!1,t.set(o)}function s(o){let i;return t.subscribe(c=>{(i===void 0||n&&c!==i)&&o(i=c)})}return{notify:r,set:a,subscribe:s}}const tt={v:()=>{}};function Gt(){const{set:e,subscribe:t}=Se(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Kt}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const o=(await a.json()).version!==Wt;return o&&(e(!0),tt.v(),clearTimeout(n)),o}catch{return!1}}return{subscribe:t,check:r}}function le(e,t,n){return e.origin!==ie||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function bn(e){}const nt=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...nt];const Yt=new Set([...nt]);[...Yt];function zt(e){return e.filter(t=>t!=null)}function Ue(e){return e instanceof ke||e instanceof Re?e.status:500}function Ht(e){return e instanceof Re?e.text:"Internal Error"}let R,G,pe;const Jt=me.toString().includes("$$")||/function \w+\(\) \{\}/.test(me.toString());Jt?(R={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},G={current:null},pe={current:!1}):(R=new class{constructor(){E(this,"data",$state.raw({}));E(this,"form",$state.raw(null));E(this,"error",$state.raw(null));E(this,"params",$state.raw({}));E(this,"route",$state.raw({id:null}));E(this,"state",$state.raw({}));E(this,"status",$state.raw(-1));E(this,"url",$state.raw(new URL("https://example.com")))}},G=new class{constructor(){E(this,"current",$state.raw(null))}},pe=new class{constructor(){E(this,"current",$state.raw(!1))}},tt.v=()=>pe.current=!0);function Xt(e){Object.assign(R,e)}const{onMount:Qt}=Ut,Zt=new Set(["icon","shortcut icon","apple-touch-icon"]),P=He(Xe)??{},Y=He(Je)??{},O={url:Me({}),page:Me({}),navigating:Se(null),updated:Gt()};function Le(e){P[e]=ce()}function en(e,t){let n=e+1;for(;P[n];)delete P[n],n+=1;for(n=t+1;Y[n];)delete Y[n],n+=1}function z(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(()=>{})}async function at(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(U||"/");e&&await e.update()}}function Be(){}let Ae,we,ee,A,ve,b;const te=[],ne=[];let w=null;function ye(){var e;(e=w==null?void 0:w.fork)==null||e.then(t=>t==null?void 0:t.discard()),w=null}const Q=new Map,Te=new Set,rt=new Set,V=new Set;let m={branch:[],error:null,url:null},ot=!1,ae=!1,Ke=!0,H=!1,B=!1,st=!1,Ce=!1,it,k,$,I;const re=new Set,We=new Map;async function Rn(e,t,n){var s,o,i,c,l;(s=globalThis.__sveltekit_dmn01j)!=null&&s.data&&globalThis.__sveltekit_dmn01j.data,document.URL!==location.href&&(location.href=location.href),b=e,await((i=(o=e.hooks).init)==null?void 0:i.call(o)),Ae=Bt(e),A=document.documentElement,ve=t,we=e.nodes[0],ee=e.nodes[1],we(),ee(),k=(c=history.state)==null?void 0:c[q],$=(l=history.state)==null?void 0:l[F],k||(k=$=Date.now(),history.replaceState({...history.state,[q]:k,[F]:$},""));const r=P[k];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await pn(ve,n)):(await M({type:"enter",url:$e(b.hash?_n(new URL(location.href)):location.href),replace_state:!0}),a()),hn()}function tn(){te.length=0,Ce=!1}function ct(e){ne.some(t=>t==null?void 0:t.snapshot)&&(Y[e]=ne.map(t=>{var n;return(n=t==null?void 0:t.snapshot)==null?void 0:n.capture()}))}function lt(e){var t;(t=Y[e])==null||t.forEach((n,r)=>{var a,s;(s=(a=ne[r])==null?void 0:a.snapshot)==null||s.restore(n)})}function Fe(){Le(k),qe(Xe,P),ct($),qe(Je,Y)}async function ft(e,t,n,r){let a;t.invalidateAll&&ye(),await M({type:"goto",url:$e(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{t.invalidateAll&&(Ce=!0,a=[...We.keys()]),t.invalidate&&t.invalidate.forEach(dn)}}),t.invalidateAll&&W().then(W).then(()=>{We.forEach(({resource:s},o)=>{var i;a!=null&&a.includes(o)&&((i=s.refresh)==null||i.call(s))})})}async function nn(e){if(e.id!==(w==null?void 0:w.id)){ye();const t={};re.add(t),w={id:e.id,token:t,promise:dt({...e,preload:t}).then(n=>(re.delete(t),n.type==="loaded"&&n.state.error&&ye(),n)),fork:null}}return w.promise}async function ge(e){var n;const t=(n=await fe(e,!1))==null?void 0:n.route;t&&await Promise.all([...t.layouts,t.leaf].map(r=>r==null?void 0:r[1]()))}async function ut(e,t,n){var a;m=e.state;const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(R,e.props.page),it=new b.root({target:t,props:{...e.props,stores:O,components:ne},hydrate:n,sync:!1}),await Promise.resolve(),lt($),n){const s={from:null,to:{params:m.params,route:{id:((a=m.route)==null?void 0:a.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};V.forEach(o=>o(s))}ae=!0}function oe({url:e,params:t,branch:n,status:r,error:a,route:s,form:o}){let i="never";if(U&&(e.pathname===U||e.pathname===U+"/"))i="always";else for(const f of n)(f==null?void 0:f.slash)!==void 0&&(i=f.slash);e.pathname=Lt(e.pathname,i),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:a,route:s},props:{constructors:zt(n).map(f=>f.node.component),page:De(R)}};o!==void 0&&(c.props.form=o);let l={},d=!R,u=0;for(let f=0;fi(new URL(o))))return!0;return!1}function je(e,t){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?t??null:null}function on(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const r of n){const a=e.searchParams.getAll(r),s=t.searchParams.getAll(r);a.every(o=>s.includes(o))&&s.every(o=>a.includes(o))&&n.delete(r)}return n}function sn({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:De(R),constructors:[]}}}async function dt({id:e,invalidating:t,url:n,params:r,route:a,preload:s}){if((w==null?void 0:w.id)===e)return re.delete(w.token),w.promise;const{errors:o,layouts:i,leaf:c}=a,l=[...i,c];o.forEach(g=>g==null?void 0:g().catch(()=>{})),l.forEach(g=>g==null?void 0:g[1]().catch(()=>{}));const d=m.url?e!==se(m.url):!1,u=m.route?a.id!==m.route.id:!1,v=on(m.url,n);let f=!1;const h=l.map(async(g,p)=>{var T;if(!g)return;const S=m.branch[p];return g[1]===(S==null?void 0:S.loader)&&!rn(f,u,d,v,(T=S.universal)==null?void 0:T.uses,r)?S:(f=!0,Oe({loader:g[1],url:n,params:r,route:a,parent:async()=>{var X;const L={};for(let y=0;y{});const _=[];for(let g=0;gPromise.resolve({}),server_data_node:je(s)}),i={node:await ee(),loader:ee,universal:null,server:null,data:null};return oe({url:n,params:a,branch:[o,i],status:e,error:t,route:null})}catch(o){if(o instanceof Ee)return ft(new URL(o.location,location.href),{},0);throw o}}async function ln(e){const t=e.href;if(Q.has(t))return Q.get(t);let n;try{const r=(async()=>{let a=await b.hooks.reroute({url:new URL(e),fetch:async(s,o)=>an(s,o,e).promise})??e;if(typeof a=="string"){const s=new URL(e);b.hash?s.hash=a:s.pathname=a,a=s}return a})();Q.set(t,r),n=await r}catch{Q.delete(t);return}return n}async function fe(e,t){if(e&&!le(e,U,b.hash)){const n=await ln(e);if(!n)return;const r=fn(n);for(const a of Ae){const s=a.exec(r);if(s)return{id:se(e),invalidating:t,route:a,params:Tt(s),url:e}}}}function fn(e){return At(b.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(U.length))||"/"}function se(e){return(b.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function ht({url:e,type:t,intent:n,delta:r,event:a}){let s=!1;const o=Ne(m,n,e,t);r!==void 0&&(o.navigation.delta=r),a!==void 0&&(o.navigation.event=a);const i={...o.navigation,cancel:()=>{s=!0,o.reject(new Error("navigation cancelled"))}};return H||Te.forEach(c=>c(i)),s?null:o}async function M({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o={},redirect_count:i=0,nav_token:c={},accept:l=Be,block:d=Be,event:u}){const v=I;I=c;const f=await fe(t,!1),h=e==="enter"?Ne(m,f,t,e):ht({url:t,type:e,delta:n==null?void 0:n.delta,intent:f,event:u});if(!h){d(),I===c&&(I=v);return}const _=k,g=$;l(),H=!0,ae&&h.navigation.type!=="enter"&&O.navigating.set(G.current=h.navigation);let p=f&&await dt(f);if(!p){if(le(t,U,b.hash))return await z(t,s);p=await pt(t,{id:null},await J(new Re(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,s)}if(t=(f==null?void 0:f.url)||t,I!==c)return h.reject(new Error("navigation aborted")),!1;if(p.type==="redirect"){if(i<20){await M({type:e,url:new URL(p.location,t),popped:n,keepfocus:r,noscroll:a,replace_state:s,state:o,redirect_count:i+1,nav_token:c}),h.fulfil(void 0);return}p=await Ie({status:500,error:await J(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}})}else p.props.page.status>=400&&await O.updated.check()&&(await at(),await z(t,s));if(tn(),Le(_),ct(g),p.props.page.url.pathname!==t.pathname&&(t.pathname=p.props.page.url.pathname),o=n?n.state:o,!n){const y=s?0:1,N={[q]:k+=y,[F]:$+=y,[Qe]:o};(s?history.replaceState:history.pushState).call(history,N,"",t),s||en(k,$)}const S=f&&(w==null?void 0:w.id)===f.id?w.fork:null;w=null,p.props.page.state=o;let x;if(ae){const y=(await Promise.all(Array.from(rt,C=>C(h.navigation)))).filter(C=>typeof C=="function");if(y.length>0){let C=function(){y.forEach(ue=>{V.delete(ue)})};y.push(C),y.forEach(ue=>{V.add(ue)})}m=p.state,p.props.page&&(p.props.page.url=t);const N=S&&await S;N?x=N.commit():(it.$set(p.props),Xt(p.props.page),x=void 0),st=!0}else await ut(p,ve,!1);const{activeElement:T}=document;await x,await W(),await W();let L=n?n.scroll:a?ce():null;if(Ke){const y=t.hash&&document.getElementById(gt(t));if(L)scrollTo(L.x,L.y);else if(y){y.scrollIntoView();const{top:N,left:C}=y.getBoundingClientRect();L={x:pageXOffset+C,y:pageYOffset+N}}else scrollTo(0,0)}const X=document.activeElement!==T&&document.activeElement!==document.body;!r&&!X&&mn(t,L),Ke=!0,p.props.page&&Object.assign(R,p.props.page),H=!1,e==="popstate"&<($),h.fulfil(void 0),V.forEach(y=>y(h.navigation)),O.navigating.set(G.current=null)}async function pt(e,t,n,r,a){return e.origin===ie&&e.pathname===location.pathname&&!ot?await Ie({status:r,error:n,url:e,route:t}):await z(e,a)}function un(){let e,t,n;A.addEventListener("mousemove",i=>{const c=i.target;clearTimeout(e),e=setTimeout(()=>{s(c,j.hover)},20)});function r(i){i.defaultPrevented||s(i.composedPath()[0],j.tap)}A.addEventListener("mousedown",r),A.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(i=>{for(const c of i)c.isIntersecting&&(ge(new URL(c.target.href)),a.unobserve(c.target))},{threshold:0});async function s(i,c){const l=et(i,A),d=l===t&&c>=n;if(!l||d)return;const{url:u,external:v,download:f}=_e(l,U,b.hash);if(v||f)return;const h=Z(l),_=u&&se(m.url)===se(u);if(!(h.reload||_))if(c<=h.preload_data){t=l,n=j.tap;const g=await fe(u,!1);if(!g)return;nn(g)}else c<=h.preload_code&&(t=l,n=c,ge(u))}function o(){a.disconnect();for(const i of A.querySelectorAll("a")){const{url:c,external:l,download:d}=_e(i,U,b.hash);if(l||d)continue;const u=Z(i);u.reload||(u.preload_code===j.viewport&&a.observe(i),u.preload_code===j.eager&&ge(c))}}V.add(o),o()}function J(e,t){if(e instanceof ke)return e.body;const n=Ue(e),r=Ht(e);return b.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function Pe(e,t){Qt(()=>(e.add(t),()=>{e.delete(t)}))}function xn(e){Pe(V,e)}function $n(e){Pe(Te,e)}function Un(e){Pe(rt,e)}function Ln(e,t={}){return e=new URL($e(e)),e.origin!==ie?Promise.reject(new Error("goto: invalid URL")):ft(e,t,0)}function dn(e){if(typeof e=="function")te.push(e);else{const{href:t}=new URL(e,location.href);te.push(n=>n.href===t)}}function hn(){var t;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let r=!1;if(Fe(),!H){const a=Ne(m,void 0,null,"leave"),s={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};Te.forEach(o=>o(s))}r?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Fe()}),(t=navigator.connection)!=null&&t.saveData||un(),A.addEventListener("click",async n=>{if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const r=et(n.composedPath()[0],A);if(!r)return;const{url:a,external:s,target:o,download:i}=_e(r,U,b.hash);if(!a)return;if(o==="_parent"||o==="_top"){if(window.parent!==window)return}else if(o&&o!=="_self")return;const c=Z(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||i)return;const[d,u]=(b.hash?a.hash.replace(/^#/,""):a.href).split("#"),v=d===de(location);if(s||c.reload&&(!v||!u)){ht({url:a,type:"link",event:n})?H=!0:n.preventDefault();return}if(u!==void 0&&v){const[,f]=m.url.href.split("#");if(f===u){if(n.preventDefault(),u===""||u==="top"&&r.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const h=r.ownerDocument.getElementById(decodeURIComponent(u));h&&(h.scrollIntoView(),h.focus())}return}if(B=!0,Le(k),e(a),!c.replace_state)return;B=!1}n.preventDefault(),await new Promise(f=>{requestAnimationFrame(()=>{setTimeout(f,0)}),setTimeout(f,100)}),await M({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href,event:n})}),A.addEventListener("submit",n=>{if(n.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formTarget)||r.target)==="_blank"||((a==null?void 0:a.formMethod)||r.method)!=="get")return;const i=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(le(i,U,!1))return;const c=n.target,l=Z(c);if(l.reload)return;n.preventDefault(),n.stopPropagation();const d=new FormData(c,a);i.search=new URLSearchParams(d).toString(),M({type:"form",url:i,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??i.href===location.href,event:n})}),addEventListener("popstate",async n=>{var r;if(!be){if((r=n.state)!=null&&r[q]){const a=n.state[q];if(I={},a===k)return;const s=P[a],o=n.state[Qe]??{},i=new URL(n.state[Ft]??location.href),c=n.state[F],l=m.url?de(location)===de(m.url):!1;if(c===$&&(st||l)){o!==R.state&&(R.state=o),e(i),P[k]=ce(),s&&scrollTo(s.x,s.y),k=a;return}const u=a-k;await M({type:"popstate",url:i,popped:{state:o,scroll:s,delta:u},accept:()=>{k=a,$=c},block:()=>{history.go(-u)},nav_token:I,event:n})}else if(!B){const a=new URL(location.href);e(a),b.hash&&location.reload()}}}),addEventListener("hashchange",()=>{B&&(B=!1,history.replaceState({...history.state,[q]:++k,[F]:$},"",location.href))});for(const n of document.querySelectorAll("link"))Zt.has(n.rel)&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&O.navigating.set(G.current=null)});function e(n){m.url=R.url=n,O.page.set(De(R)),O.page.notify()}}async function pn(e,{status:t=200,error:n,node_ids:r,params:a,route:s,server_route:o,data:i,form:c}){ot=!0;const l=new URL(location.href);let d;({params:a={},route:s={id:null}}=await fe(l,!1)||{}),d=Ae.find(({id:f})=>f===s.id);let u,v=!0;try{const f=r.map(async(_,g)=>{const p=i[g];return p!=null&&p.uses&&(p.uses=gn(p.uses)),Oe({loader:b.nodes[_],url:l,params:a,route:s,parent:async()=>{const S={};for(let x=0;x{const i=history.state;be=!0,location.replace(`#${r}`),b.hash&&location.replace(e.hash),history.replaceState(i,"",e.hash),scrollTo(s,o),be=!1})}else{const s=document.body,o=s.getAttribute("tabindex");s.tabIndex=-1,s.focus({preventScroll:!0,focusVisible:!1}),o!==null?s.setAttribute("tabindex",o):s.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const s=[];for(let o=0;o{if(a.rangeCount===s.length){for(let o=0;o{a=d,s=u});return o.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:((c=e.route)==null?void 0:c.id)??null},url:e.url},to:n&&{params:(t==null?void 0:t.params)??null,route:{id:((l=t==null?void 0:t.route)==null?void 0:l.id)??null},url:n},willUnload:!t,type:r,complete:o},fulfil:a,reject:s}}function De(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function _n(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function gt(e){let t;if(b.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{xn as a,$n as b,Rn as c,Ln as g,bn as l,Un as o,O as s}; diff --git a/gui/next/build/_app/immutable/entry/app.D1-MxLu9.js b/gui/next/build/_app/immutable/entry/app.BzZNeeRK.js similarity index 87% rename from gui/next/build/_app/immutable/entry/app.D1-MxLu9.js rename to gui/next/build/_app/immutable/entry/app.BzZNeeRK.js index 7e7e6a023..9d4aa021f 100644 --- a/gui/next/build/_app/immutable/entry/app.D1-MxLu9.js +++ b/gui/next/build/_app/immutable/entry/app.BzZNeeRK.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.DRfp18Pm.js","../chunks/n7YEDvJi.js","../chunks/IHki7fMi.js","../chunks/C6Nbyvij.js","../chunks/BkTZdoZE.js","../chunks/CJfL7PSQ.js","../chunks/t7b_BBSP.js","../chunks/BD1m7lx9.js","../chunks/Bp_ajb_u.js","../chunks/DHO4ENnJ.js","../chunks/DMhVG_ro.js","../chunks/BaKpYqK2.js","../assets/0.QmKtTD0U.css","../nodes/1.CD3leUXn.js","../nodes/2.CGFuMAZt.js","../chunks/CIy9Z9Qf.js","../chunks/CYamOUSl.js","../assets/Number.AfD80Zdm.css","../assets/2.Cpa7KQFv.css","../nodes/3.BGS2qweN.js","../nodes/4.DM9kxUlW.js","../assets/4.B9XykGLe.css","../nodes/5.BGS2qweN.js","../nodes/6.Co53nSuQ.js","../chunks/D0QH3NT1.js","../chunks/twsCDidx.js","../assets/6.Dkbf0VAa.css","../nodes/7.CKEMr56f.js","../chunks/hGAcGvnf.js","../chunks/B9_cNKsK.js","../assets/Toggle.o--CU0Za.css","../assets/7.DGvLR7j3.css","../nodes/8.C5n3zv3J.js","../chunks/iVSWiVfi.js","../chunks/CNoDK8-a.js","../chunks/BkeFH9yg.js","../chunks/6Lnq5zID.js","../chunks/x4PJc0Qf.js","../assets/8.CufhmNsu.css","../nodes/9.fY49Dkx3.js","../assets/9.DZfDyU61.css","../nodes/10.7hS_xzU-.js","../nodes/11.D0wEx6D6.js","../chunks/CqRAXfEk.js","../assets/Aside.HqXgbmTR.css","../chunks/CMNnzBs7.js","../assets/JSONTree.Do8jmj2M.css","../assets/11.O9jYhcLF.css","../nodes/12.DAwDUajM.js","../assets/12.PIDpwlWF.css","../nodes/13.BaKdxk9B.js","../nodes/14.7fbd7OfH.js","../assets/14.EFLSpW2v.css","../nodes/15.C4B31mxr.js","../assets/15.DRRvXzxG.css","../nodes/16.7hS_xzU-.js","../nodes/17.DGuxwaeC.js","../assets/17.DZjOGisr.css","../nodes/18.7hS_xzU-.js","../nodes/19.C47gtE90.js","../assets/19.CBlI4doA.css","../nodes/20.DxmxD44t.js","../nodes/21.Dfq71RmU.js","../assets/21.BIXMQND7.css"])))=>i.map(i=>d[i]); -import{S as U,i as J,s as z,d as g,o as p,p as d,R as A,H as I,b as w,h as H,y as h,k as W,a7 as F,a5 as G,P as K,a8 as b,E as v,M as k,I as P,L as V,z as y,T as R,e as Q,f as X,j as Y,C as D,a as Z,g as M,t as x}from"../chunks/n7YEDvJi.js";import"../chunks/IHki7fMi.js";const ee="modulepreload",te=function(a,e){return new URL(a,e).href},S={},u=function(e,n,o){let s=Promise.resolve();if(n&&n.length>0){const t=document.getElementsByTagName("link"),r=document.querySelector("meta[property=csp-nonce]"),i=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));s=Promise.allSettled(n.map(l=>{if(l=te(l,o),l in S)return;S[l]=!0;const _=l.endsWith(".css"),m=_?'[rel="stylesheet"]':"";if(!!o)for(let O=t.length-1;O>=0;O--){const T=t[O];if(T.href===l&&(!_||T.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${m}`))return;const E=document.createElement("link");if(E.rel=_?"stylesheet":ee,_||(E.as="script"),E.crossOrigin="",E.href=l,i&&E.setAttribute("nonce",i),document.head.appendChild(E),_)return new Promise((O,T)=>{E.addEventListener("load",O),E.addEventListener("error",()=>T(new Error(`Unable to preload CSS for ${l}`)))})}))}function c(t){const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=t,window.dispatchEvent(r),!r.defaultPrevented)throw t}return s.then(t=>{for(const r of t||[])r.status==="rejected"&&c(r.reason);return e().catch(c)})},me={};function ne(a){let e,n,o;var s=a[2][0];function c(t,r){return{props:{data:t[4],form:t[3],params:t[1].params}}}return s&&(e=b(s,c(a)),a[15](e)),{c(){e&&k(e.$$.fragment),n=h()},l(t){e&&V(e.$$.fragment,t),n=h()},m(t,r){e&&P(e,t,r),w(t,n,r),o=!0},p(t,r){if(r&4&&s!==(s=t[2][0])){if(e){A();const i=e;p(i.$$.fragment,1,0,()=>{v(i,1)}),I()}s?(e=b(s,c(t)),t[15](e),k(e.$$.fragment),d(e.$$.fragment,1),P(e,n.parentNode,n)):e=null}else if(s){const i={};r&16&&(i.data=t[4]),r&8&&(i.form=t[3]),r&2&&(i.params=t[1].params),e.$set(i)}},i(t){o||(e&&d(e.$$.fragment,t),o=!0)},o(t){e&&p(e.$$.fragment,t),o=!1},d(t){t&&g(n),a[15](null),e&&v(e,t)}}}function re(a){let e,n,o;var s=a[2][0];function c(t,r){return{props:{data:t[4],params:t[1].params,$$slots:{default:[ae]},$$scope:{ctx:t}}}}return s&&(e=b(s,c(a)),a[14](e)),{c(){e&&k(e.$$.fragment),n=h()},l(t){e&&V(e.$$.fragment,t),n=h()},m(t,r){e&&P(e,t,r),w(t,n,r),o=!0},p(t,r){if(r&4&&s!==(s=t[2][0])){if(e){A();const i=e;p(i.$$.fragment,1,0,()=>{v(i,1)}),I()}s?(e=b(s,c(t)),t[14](e),k(e.$$.fragment),d(e.$$.fragment,1),P(e,n.parentNode,n)):e=null}else if(s){const i={};r&16&&(i.data=t[4]),r&2&&(i.params=t[1].params),r&65647&&(i.$$scope={dirty:r,ctx:t}),e.$set(i)}},i(t){o||(e&&d(e.$$.fragment,t),o=!0)},o(t){e&&p(e.$$.fragment,t),o=!1},d(t){t&&g(n),a[14](null),e&&v(e,t)}}}function ie(a){let e,n,o;var s=a[2][1];function c(t,r){return{props:{data:t[5],form:t[3],params:t[1].params}}}return s&&(e=b(s,c(a)),a[13](e)),{c(){e&&k(e.$$.fragment),n=h()},l(t){e&&V(e.$$.fragment,t),n=h()},m(t,r){e&&P(e,t,r),w(t,n,r),o=!0},p(t,r){if(r&4&&s!==(s=t[2][1])){if(e){A();const i=e;p(i.$$.fragment,1,0,()=>{v(i,1)}),I()}s?(e=b(s,c(t)),t[13](e),k(e.$$.fragment),d(e.$$.fragment,1),P(e,n.parentNode,n)):e=null}else if(s){const i={};r&32&&(i.data=t[5]),r&8&&(i.form=t[3]),r&2&&(i.params=t[1].params),e.$set(i)}},i(t){o||(e&&d(e.$$.fragment,t),o=!0)},o(t){e&&p(e.$$.fragment,t),o=!1},d(t){t&&g(n),a[13](null),e&&v(e,t)}}}function se(a){let e,n,o;var s=a[2][1];function c(t,r){return{props:{data:t[5],params:t[1].params,$$slots:{default:[oe]},$$scope:{ctx:t}}}}return s&&(e=b(s,c(a)),a[12](e)),{c(){e&&k(e.$$.fragment),n=h()},l(t){e&&V(e.$$.fragment,t),n=h()},m(t,r){e&&P(e,t,r),w(t,n,r),o=!0},p(t,r){if(r&4&&s!==(s=t[2][1])){if(e){A();const i=e;p(i.$$.fragment,1,0,()=>{v(i,1)}),I()}s?(e=b(s,c(t)),t[12](e),k(e.$$.fragment),d(e.$$.fragment,1),P(e,n.parentNode,n)):e=null}else if(s){const i={};r&32&&(i.data=t[5]),r&2&&(i.params=t[1].params),r&65615&&(i.$$scope={dirty:r,ctx:t}),e.$set(i)}},i(t){o||(e&&d(e.$$.fragment,t),o=!0)},o(t){e&&p(e.$$.fragment,t),o=!1},d(t){t&&g(n),a[12](null),e&&v(e,t)}}}function oe(a){let e,n,o;var s=a[2][2];function c(t,r){return{props:{data:t[6],form:t[3],params:t[1].params}}}return s&&(e=b(s,c(a)),a[11](e)),{c(){e&&k(e.$$.fragment),n=h()},l(t){e&&V(e.$$.fragment,t),n=h()},m(t,r){e&&P(e,t,r),w(t,n,r),o=!0},p(t,r){if(r&4&&s!==(s=t[2][2])){if(e){A();const i=e;p(i.$$.fragment,1,0,()=>{v(i,1)}),I()}s?(e=b(s,c(t)),t[11](e),k(e.$$.fragment),d(e.$$.fragment,1),P(e,n.parentNode,n)):e=null}else if(s){const i={};r&64&&(i.data=t[6]),r&8&&(i.form=t[3]),r&2&&(i.params=t[1].params),e.$set(i)}},i(t){o||(e&&d(e.$$.fragment,t),o=!0)},o(t){e&&p(e.$$.fragment,t),o=!1},d(t){t&&g(n),a[11](null),e&&v(e,t)}}}function ae(a){let e,n,o,s;const c=[se,ie],t=[];function r(i,l){return i[2][2]?0:1}return e=r(a),n=t[e]=c[e](a),{c(){n.c(),o=h()},l(i){n.l(i),o=h()},m(i,l){t[e].m(i,l),w(i,o,l),s=!0},p(i,l){let _=e;e=r(i),e===_?t[e].p(i,l):(A(),p(t[_],1,1,()=>{t[_]=null}),I(),n=t[e],n?n.p(i,l):(n=t[e]=c[e](i),n.c()),d(n,1),n.m(o.parentNode,o))},i(i){s||(d(n),s=!0)},o(i){p(n),s=!1},d(i){i&&g(o),t[e].d(i)}}}function $(a){let e,n=a[8]&&N(a);return{c(){e=Y("div"),n&&n.c(),this.h()},l(o){e=Q(o,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var s=X(e);n&&n.l(s),s.forEach(g),this.h()},h(){y(e,"id","svelte-announcer"),y(e,"aria-live","assertive"),y(e,"aria-atomic","true"),R(e,"position","absolute"),R(e,"left","0"),R(e,"top","0"),R(e,"clip","rect(0 0 0 0)"),R(e,"clip-path","inset(50%)"),R(e,"overflow","hidden"),R(e,"white-space","nowrap"),R(e,"width","1px"),R(e,"height","1px")},m(o,s){w(o,e,s),n&&n.m(e,null)},p(o,s){o[8]?n?n.p(o,s):(n=N(o),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(o){o&&g(e),n&&n.d()}}}function N(a){let e;return{c(){e=x(a[9])},l(n){e=M(n,a[9])},m(n,o){w(n,e,o)},p(n,o){o&512&&Z(e,n[9])},d(n){n&&g(e)}}}function _e(a){let e,n,o,s,c;const t=[re,ne],r=[];function i(_,m){return _[2][1]?0:1}e=i(a),n=r[e]=t[e](a);let l=a[7]&&$(a);return{c(){n.c(),o=W(),l&&l.c(),s=h()},l(_){n.l(_),o=H(_),l&&l.l(_),s=h()},m(_,m){r[e].m(_,m),w(_,o,m),l&&l.m(_,m),w(_,s,m),c=!0},p(_,[m]){let L=e;e=i(_),e===L?r[e].p(_,m):(A(),p(r[L],1,1,()=>{r[L]=null}),I(),n=r[e],n?n.p(_,m):(n=r[e]=t[e](_),n.c()),d(n,1),n.m(o.parentNode,o)),_[7]?l?l.p(_,m):(l=$(_),l.c(),l.m(s.parentNode,s)):l&&(l.d(1),l=null)},i(_){c||(d(n),c=!0)},o(_){p(n),c=!1},d(_){_&&(g(o),g(s)),r[e].d(_),l&&l.d(_)}}}function le(a,e,n){let{stores:o}=e,{page:s}=e,{constructors:c}=e,{components:t=[]}=e,{form:r}=e,{data_0:i=null}=e,{data_1:l=null}=e,{data_2:_=null}=e;F(o.page.notify);let m=!1,L=!1,E=null;G(()=>{const f=o.page.subscribe(()=>{m&&(n(8,L=!0),K().then(()=>{n(9,E=document.title||"untitled page")}))});return n(7,m=!0),f});function O(f){D[f?"unshift":"push"](()=>{t[2]=f,n(0,t)})}function T(f){D[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function C(f){D[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function q(f){D[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}function B(f){D[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}return a.$$set=f=>{"stores"in f&&n(10,o=f.stores),"page"in f&&n(1,s=f.page),"constructors"in f&&n(2,c=f.constructors),"components"in f&&n(0,t=f.components),"form"in f&&n(3,r=f.form),"data_0"in f&&n(4,i=f.data_0),"data_1"in f&&n(5,l=f.data_1),"data_2"in f&&n(6,_=f.data_2)},a.$$.update=()=>{a.$$.dirty&1026&&o.page.set(s)},[t,s,c,r,i,l,_,m,L,E,o,O,T,C,q,B]}class pe extends U{constructor(e){super(),J(this,e,le,_e,z,{stores:10,page:1,constructors:2,components:0,form:3,data_0:4,data_1:5,data_2:6})}}const de=[()=>u(()=>import("../nodes/0.DRfp18Pm.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url),()=>u(()=>import("../nodes/1.CD3leUXn.js"),__vite__mapDeps([13,1,2,3,4,5]),import.meta.url),()=>u(()=>import("../nodes/2.CGFuMAZt.js"),__vite__mapDeps([14,1,10,2,4,5,3,15,7,8,9,16,17,18]),import.meta.url),()=>u(()=>import("../nodes/3.BGS2qweN.js"),__vite__mapDeps([19,1,2]),import.meta.url),()=>u(()=>import("../nodes/4.DM9kxUlW.js"),__vite__mapDeps([20,1,2,10,11,3,4,5,8,6,7,9,21]),import.meta.url),()=>u(()=>import("../nodes/5.BGS2qweN.js"),__vite__mapDeps([22,1,2]),import.meta.url),()=>u(()=>import("../nodes/6.Co53nSuQ.js"),__vite__mapDeps([23,1,24,10,2,4,5,3,25,8,9,16,17,26]),import.meta.url),()=>u(()=>import("../nodes/7.CKEMr56f.js"),__vite__mapDeps([27,1,10,2,4,5,3,28,8,29,11,9,30,24,31]),import.meta.url),()=>u(()=>import("../nodes/8.C5n3zv3J.js"),__vite__mapDeps([32,1,24,10,2,4,5,8,33,3,34,7,35,29,11,9,30,36,37,16,17,38]),import.meta.url),()=>u(()=>import("../nodes/9.fY49Dkx3.js"),__vite__mapDeps([39,1,2,11,8,5,6,7,9,40]),import.meta.url),()=>u(()=>import("../nodes/10.7hS_xzU-.js"),__vite__mapDeps([41,1,2]),import.meta.url),()=>u(()=>import("../nodes/11.D0wEx6D6.js"),__vite__mapDeps([42,1,2,3,4,5,15,7,43,24,33,8,9,44,45,10,46,47]),import.meta.url),()=>u(()=>import("../nodes/12.DAwDUajM.js"),__vite__mapDeps([48,1,10,2,11,7,8,5,9,49]),import.meta.url),()=>u(()=>import("../nodes/13.BaKdxk9B.js"),__vite__mapDeps([50,1,2,8,5]),import.meta.url),()=>u(()=>import("../nodes/14.7fbd7OfH.js"),__vite__mapDeps([51,1,24,2,3,4,5,8,7,35,9,10,36,37,29,11,30,45,46,33,16,17,52]),import.meta.url),()=>u(()=>import("../nodes/15.C4B31mxr.js"),__vite__mapDeps([53,1,24,10,2,11,8,5,37,45,46,9,43,33,44,54]),import.meta.url),()=>u(()=>import("../nodes/16.7hS_xzU-.js"),__vite__mapDeps([55,1,2]),import.meta.url),()=>u(()=>import("../nodes/17.DGuxwaeC.js"),__vite__mapDeps([56,1,2,3,4,5,25,8,37,43,24,33,9,44,45,10,46,57]),import.meta.url),()=>u(()=>import("../nodes/18.7hS_xzU-.js"),__vite__mapDeps([58,1,2]),import.meta.url),()=>u(()=>import("../nodes/19.C47gtE90.js"),__vite__mapDeps([59,1,2,3,4,5,28,8,43,24,33,9,44,60]),import.meta.url),()=>u(()=>import("../nodes/20.DxmxD44t.js"),__vite__mapDeps([61,1,2,8,5]),import.meta.url),()=>u(()=>import("../nodes/21.Dfq71RmU.js"),__vite__mapDeps([62,1,10,2,3,4,5,34,7,35,8,37,43,24,33,9,44,45,46,63]),import.meta.url)],he=[],Ee={"/":[9],"/backgroundJobs":[10,[2]],"/backgroundJobs/[type]/[id]":[11,[2]],"/constants":[12,[3]],"/database":[13,[4]],"/database/table/[id]":[14,[4]],"/logsv2":[16,[6]],"/logsv2/[id]":[17,[6]],"/logs":[15,[5]],"/network":[18,[7]],"/network/[id]":[19,[7]],"/users":[20,[8]],"/users/[id]":[21,[8]]},j={handleError:({error:a})=>{console.error(a)},reroute:()=>{},transport:{}},fe=Object.fromEntries(Object.entries(j.transport).map(([a,e])=>[a,e.decode])),ge=Object.fromEntries(Object.entries(j.transport).map(([a,e])=>[a,e.encode])),we=!1,be=(a,e)=>fe[a](e);export{be as decode,fe as decoders,Ee as dictionary,ge as encoders,we as hash,j as hooks,me as matchers,de as nodes,pe as root,he as server_loads}; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.DbwX8pIk.js","../chunks/n7YEDvJi.js","../chunks/IHki7fMi.js","../chunks/CPrwbBC6.js","../chunks/CuNuScQb.js","../chunks/CJfL7PSQ.js","../chunks/t7b_BBSP.js","../chunks/BD1m7lx9.js","../chunks/Bp_ajb_u.js","../chunks/DHO4ENnJ.js","../chunks/DMhVG_ro.js","../chunks/BaKpYqK2.js","../assets/0.QmKtTD0U.css","../nodes/1.CkrLJ_1I.js","../nodes/2.CM5gmKVo.js","../chunks/CIy9Z9Qf.js","../chunks/CYamOUSl.js","../assets/Number.AfD80Zdm.css","../assets/2.Cpa7KQFv.css","../nodes/3.BGS2qweN.js","../nodes/4._K5Xz6p4.js","../assets/4.B9XykGLe.css","../nodes/5.BGS2qweN.js","../nodes/6.Re2XD2Uj.js","../chunks/D0QH3NT1.js","../chunks/twsCDidx.js","../assets/6.Dkbf0VAa.css","../nodes/7.gbunpf_a.js","../chunks/hGAcGvnf.js","../chunks/B9_cNKsK.js","../assets/Toggle.o--CU0Za.css","../assets/7.DGvLR7j3.css","../nodes/8.Dxi-IDsQ.js","../chunks/iVSWiVfi.js","../chunks/CNoDK8-a.js","../chunks/BkeFH9yg.js","../chunks/6Lnq5zID.js","../chunks/x4PJc0Qf.js","../assets/8.CufhmNsu.css","../nodes/9.fY49Dkx3.js","../assets/9.DZfDyU61.css","../nodes/10.7hS_xzU-.js","../nodes/11.CXULG1X5.js","../chunks/CqRAXfEk.js","../assets/Aside.HqXgbmTR.css","../chunks/CMNnzBs7.js","../assets/JSONTree.Do8jmj2M.css","../assets/11.O9jYhcLF.css","../nodes/12.DAwDUajM.js","../assets/12.PIDpwlWF.css","../nodes/13.BaKdxk9B.js","../nodes/14.DJNcghcD.js","../assets/14.EFLSpW2v.css","../nodes/15.C4B31mxr.js","../assets/15.DRRvXzxG.css","../nodes/16.7hS_xzU-.js","../nodes/17.DA_EPtnJ.js","../assets/17.DZjOGisr.css","../nodes/18.7hS_xzU-.js","../nodes/19.BaFYl6I1.js","../assets/19.CBlI4doA.css","../nodes/20.DxmxD44t.js","../nodes/21.DCLUMyDG.js","../assets/21.BIXMQND7.css"])))=>i.map(i=>d[i]); +import{S as U,i as J,s as z,d as g,o as p,p as d,R as A,H as I,b as w,h as H,y as h,k as W,a7 as F,a5 as G,P as K,a8 as b,E as v,M as k,I as P,L as V,z as y,T as R,e as Q,f as X,j as Y,C as D,a as Z,g as M,t as x}from"../chunks/n7YEDvJi.js";import"../chunks/IHki7fMi.js";const ee="modulepreload",te=function(a,e){return new URL(a,e).href},S={},u=function(e,n,o){let s=Promise.resolve();if(n&&n.length>0){const t=document.getElementsByTagName("link"),r=document.querySelector("meta[property=csp-nonce]"),i=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));s=Promise.allSettled(n.map(l=>{if(l=te(l,o),l in S)return;S[l]=!0;const _=l.endsWith(".css"),m=_?'[rel="stylesheet"]':"";if(!!o)for(let O=t.length-1;O>=0;O--){const T=t[O];if(T.href===l&&(!_||T.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${m}`))return;const E=document.createElement("link");if(E.rel=_?"stylesheet":ee,_||(E.as="script"),E.crossOrigin="",E.href=l,i&&E.setAttribute("nonce",i),document.head.appendChild(E),_)return new Promise((O,T)=>{E.addEventListener("load",O),E.addEventListener("error",()=>T(new Error(`Unable to preload CSS for ${l}`)))})}))}function c(t){const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=t,window.dispatchEvent(r),!r.defaultPrevented)throw t}return s.then(t=>{for(const r of t||[])r.status==="rejected"&&c(r.reason);return e().catch(c)})},me={};function ne(a){let e,n,o;var s=a[2][0];function c(t,r){return{props:{data:t[4],form:t[3],params:t[1].params}}}return s&&(e=b(s,c(a)),a[15](e)),{c(){e&&k(e.$$.fragment),n=h()},l(t){e&&V(e.$$.fragment,t),n=h()},m(t,r){e&&P(e,t,r),w(t,n,r),o=!0},p(t,r){if(r&4&&s!==(s=t[2][0])){if(e){A();const i=e;p(i.$$.fragment,1,0,()=>{v(i,1)}),I()}s?(e=b(s,c(t)),t[15](e),k(e.$$.fragment),d(e.$$.fragment,1),P(e,n.parentNode,n)):e=null}else if(s){const i={};r&16&&(i.data=t[4]),r&8&&(i.form=t[3]),r&2&&(i.params=t[1].params),e.$set(i)}},i(t){o||(e&&d(e.$$.fragment,t),o=!0)},o(t){e&&p(e.$$.fragment,t),o=!1},d(t){t&&g(n),a[15](null),e&&v(e,t)}}}function re(a){let e,n,o;var s=a[2][0];function c(t,r){return{props:{data:t[4],params:t[1].params,$$slots:{default:[ae]},$$scope:{ctx:t}}}}return s&&(e=b(s,c(a)),a[14](e)),{c(){e&&k(e.$$.fragment),n=h()},l(t){e&&V(e.$$.fragment,t),n=h()},m(t,r){e&&P(e,t,r),w(t,n,r),o=!0},p(t,r){if(r&4&&s!==(s=t[2][0])){if(e){A();const i=e;p(i.$$.fragment,1,0,()=>{v(i,1)}),I()}s?(e=b(s,c(t)),t[14](e),k(e.$$.fragment),d(e.$$.fragment,1),P(e,n.parentNode,n)):e=null}else if(s){const i={};r&16&&(i.data=t[4]),r&2&&(i.params=t[1].params),r&65647&&(i.$$scope={dirty:r,ctx:t}),e.$set(i)}},i(t){o||(e&&d(e.$$.fragment,t),o=!0)},o(t){e&&p(e.$$.fragment,t),o=!1},d(t){t&&g(n),a[14](null),e&&v(e,t)}}}function ie(a){let e,n,o;var s=a[2][1];function c(t,r){return{props:{data:t[5],form:t[3],params:t[1].params}}}return s&&(e=b(s,c(a)),a[13](e)),{c(){e&&k(e.$$.fragment),n=h()},l(t){e&&V(e.$$.fragment,t),n=h()},m(t,r){e&&P(e,t,r),w(t,n,r),o=!0},p(t,r){if(r&4&&s!==(s=t[2][1])){if(e){A();const i=e;p(i.$$.fragment,1,0,()=>{v(i,1)}),I()}s?(e=b(s,c(t)),t[13](e),k(e.$$.fragment),d(e.$$.fragment,1),P(e,n.parentNode,n)):e=null}else if(s){const i={};r&32&&(i.data=t[5]),r&8&&(i.form=t[3]),r&2&&(i.params=t[1].params),e.$set(i)}},i(t){o||(e&&d(e.$$.fragment,t),o=!0)},o(t){e&&p(e.$$.fragment,t),o=!1},d(t){t&&g(n),a[13](null),e&&v(e,t)}}}function se(a){let e,n,o;var s=a[2][1];function c(t,r){return{props:{data:t[5],params:t[1].params,$$slots:{default:[oe]},$$scope:{ctx:t}}}}return s&&(e=b(s,c(a)),a[12](e)),{c(){e&&k(e.$$.fragment),n=h()},l(t){e&&V(e.$$.fragment,t),n=h()},m(t,r){e&&P(e,t,r),w(t,n,r),o=!0},p(t,r){if(r&4&&s!==(s=t[2][1])){if(e){A();const i=e;p(i.$$.fragment,1,0,()=>{v(i,1)}),I()}s?(e=b(s,c(t)),t[12](e),k(e.$$.fragment),d(e.$$.fragment,1),P(e,n.parentNode,n)):e=null}else if(s){const i={};r&32&&(i.data=t[5]),r&2&&(i.params=t[1].params),r&65615&&(i.$$scope={dirty:r,ctx:t}),e.$set(i)}},i(t){o||(e&&d(e.$$.fragment,t),o=!0)},o(t){e&&p(e.$$.fragment,t),o=!1},d(t){t&&g(n),a[12](null),e&&v(e,t)}}}function oe(a){let e,n,o;var s=a[2][2];function c(t,r){return{props:{data:t[6],form:t[3],params:t[1].params}}}return s&&(e=b(s,c(a)),a[11](e)),{c(){e&&k(e.$$.fragment),n=h()},l(t){e&&V(e.$$.fragment,t),n=h()},m(t,r){e&&P(e,t,r),w(t,n,r),o=!0},p(t,r){if(r&4&&s!==(s=t[2][2])){if(e){A();const i=e;p(i.$$.fragment,1,0,()=>{v(i,1)}),I()}s?(e=b(s,c(t)),t[11](e),k(e.$$.fragment),d(e.$$.fragment,1),P(e,n.parentNode,n)):e=null}else if(s){const i={};r&64&&(i.data=t[6]),r&8&&(i.form=t[3]),r&2&&(i.params=t[1].params),e.$set(i)}},i(t){o||(e&&d(e.$$.fragment,t),o=!0)},o(t){e&&p(e.$$.fragment,t),o=!1},d(t){t&&g(n),a[11](null),e&&v(e,t)}}}function ae(a){let e,n,o,s;const c=[se,ie],t=[];function r(i,l){return i[2][2]?0:1}return e=r(a),n=t[e]=c[e](a),{c(){n.c(),o=h()},l(i){n.l(i),o=h()},m(i,l){t[e].m(i,l),w(i,o,l),s=!0},p(i,l){let _=e;e=r(i),e===_?t[e].p(i,l):(A(),p(t[_],1,1,()=>{t[_]=null}),I(),n=t[e],n?n.p(i,l):(n=t[e]=c[e](i),n.c()),d(n,1),n.m(o.parentNode,o))},i(i){s||(d(n),s=!0)},o(i){p(n),s=!1},d(i){i&&g(o),t[e].d(i)}}}function $(a){let e,n=a[8]&&N(a);return{c(){e=Y("div"),n&&n.c(),this.h()},l(o){e=Q(o,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var s=X(e);n&&n.l(s),s.forEach(g),this.h()},h(){y(e,"id","svelte-announcer"),y(e,"aria-live","assertive"),y(e,"aria-atomic","true"),R(e,"position","absolute"),R(e,"left","0"),R(e,"top","0"),R(e,"clip","rect(0 0 0 0)"),R(e,"clip-path","inset(50%)"),R(e,"overflow","hidden"),R(e,"white-space","nowrap"),R(e,"width","1px"),R(e,"height","1px")},m(o,s){w(o,e,s),n&&n.m(e,null)},p(o,s){o[8]?n?n.p(o,s):(n=N(o),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(o){o&&g(e),n&&n.d()}}}function N(a){let e;return{c(){e=x(a[9])},l(n){e=M(n,a[9])},m(n,o){w(n,e,o)},p(n,o){o&512&&Z(e,n[9])},d(n){n&&g(e)}}}function _e(a){let e,n,o,s,c;const t=[re,ne],r=[];function i(_,m){return _[2][1]?0:1}e=i(a),n=r[e]=t[e](a);let l=a[7]&&$(a);return{c(){n.c(),o=W(),l&&l.c(),s=h()},l(_){n.l(_),o=H(_),l&&l.l(_),s=h()},m(_,m){r[e].m(_,m),w(_,o,m),l&&l.m(_,m),w(_,s,m),c=!0},p(_,[m]){let L=e;e=i(_),e===L?r[e].p(_,m):(A(),p(r[L],1,1,()=>{r[L]=null}),I(),n=r[e],n?n.p(_,m):(n=r[e]=t[e](_),n.c()),d(n,1),n.m(o.parentNode,o)),_[7]?l?l.p(_,m):(l=$(_),l.c(),l.m(s.parentNode,s)):l&&(l.d(1),l=null)},i(_){c||(d(n),c=!0)},o(_){p(n),c=!1},d(_){_&&(g(o),g(s)),r[e].d(_),l&&l.d(_)}}}function le(a,e,n){let{stores:o}=e,{page:s}=e,{constructors:c}=e,{components:t=[]}=e,{form:r}=e,{data_0:i=null}=e,{data_1:l=null}=e,{data_2:_=null}=e;F(o.page.notify);let m=!1,L=!1,E=null;G(()=>{const f=o.page.subscribe(()=>{m&&(n(8,L=!0),K().then(()=>{n(9,E=document.title||"untitled page")}))});return n(7,m=!0),f});function O(f){D[f?"unshift":"push"](()=>{t[2]=f,n(0,t)})}function T(f){D[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function C(f){D[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function q(f){D[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}function B(f){D[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}return a.$$set=f=>{"stores"in f&&n(10,o=f.stores),"page"in f&&n(1,s=f.page),"constructors"in f&&n(2,c=f.constructors),"components"in f&&n(0,t=f.components),"form"in f&&n(3,r=f.form),"data_0"in f&&n(4,i=f.data_0),"data_1"in f&&n(5,l=f.data_1),"data_2"in f&&n(6,_=f.data_2)},a.$$.update=()=>{a.$$.dirty&1026&&o.page.set(s)},[t,s,c,r,i,l,_,m,L,E,o,O,T,C,q,B]}class pe extends U{constructor(e){super(),J(this,e,le,_e,z,{stores:10,page:1,constructors:2,components:0,form:3,data_0:4,data_1:5,data_2:6})}}const de=[()=>u(()=>import("../nodes/0.DbwX8pIk.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url),()=>u(()=>import("../nodes/1.CkrLJ_1I.js"),__vite__mapDeps([13,1,2,3,4,5]),import.meta.url),()=>u(()=>import("../nodes/2.CM5gmKVo.js"),__vite__mapDeps([14,1,10,2,4,5,3,15,7,8,9,16,17,18]),import.meta.url),()=>u(()=>import("../nodes/3.BGS2qweN.js"),__vite__mapDeps([19,1,2]),import.meta.url),()=>u(()=>import("../nodes/4._K5Xz6p4.js"),__vite__mapDeps([20,1,2,10,11,3,4,5,8,6,7,9,21]),import.meta.url),()=>u(()=>import("../nodes/5.BGS2qweN.js"),__vite__mapDeps([22,1,2]),import.meta.url),()=>u(()=>import("../nodes/6.Re2XD2Uj.js"),__vite__mapDeps([23,1,24,10,2,4,5,3,25,8,9,16,17,26]),import.meta.url),()=>u(()=>import("../nodes/7.gbunpf_a.js"),__vite__mapDeps([27,1,10,2,4,5,3,28,8,29,11,9,30,24,31]),import.meta.url),()=>u(()=>import("../nodes/8.Dxi-IDsQ.js"),__vite__mapDeps([32,1,24,10,2,4,5,8,33,3,34,7,35,29,11,9,30,36,37,16,17,38]),import.meta.url),()=>u(()=>import("../nodes/9.fY49Dkx3.js"),__vite__mapDeps([39,1,2,11,8,5,6,7,9,40]),import.meta.url),()=>u(()=>import("../nodes/10.7hS_xzU-.js"),__vite__mapDeps([41,1,2]),import.meta.url),()=>u(()=>import("../nodes/11.CXULG1X5.js"),__vite__mapDeps([42,1,2,3,4,5,15,7,43,24,33,8,9,44,45,10,46,47]),import.meta.url),()=>u(()=>import("../nodes/12.DAwDUajM.js"),__vite__mapDeps([48,1,10,2,11,7,8,5,9,49]),import.meta.url),()=>u(()=>import("../nodes/13.BaKdxk9B.js"),__vite__mapDeps([50,1,2,8,5]),import.meta.url),()=>u(()=>import("../nodes/14.DJNcghcD.js"),__vite__mapDeps([51,1,24,2,3,4,5,8,7,35,9,10,36,37,29,11,30,45,46,33,16,17,52]),import.meta.url),()=>u(()=>import("../nodes/15.C4B31mxr.js"),__vite__mapDeps([53,1,24,10,2,11,8,5,37,45,46,9,43,33,44,54]),import.meta.url),()=>u(()=>import("../nodes/16.7hS_xzU-.js"),__vite__mapDeps([55,1,2]),import.meta.url),()=>u(()=>import("../nodes/17.DA_EPtnJ.js"),__vite__mapDeps([56,1,2,3,4,5,25,8,37,43,24,33,9,44,45,10,46,57]),import.meta.url),()=>u(()=>import("../nodes/18.7hS_xzU-.js"),__vite__mapDeps([58,1,2]),import.meta.url),()=>u(()=>import("../nodes/19.BaFYl6I1.js"),__vite__mapDeps([59,1,2,3,4,5,28,8,43,24,33,9,44,60]),import.meta.url),()=>u(()=>import("../nodes/20.DxmxD44t.js"),__vite__mapDeps([61,1,2,8,5]),import.meta.url),()=>u(()=>import("../nodes/21.DCLUMyDG.js"),__vite__mapDeps([62,1,10,2,3,4,5,34,7,35,8,37,43,24,33,9,44,45,46,63]),import.meta.url)],he=[],Ee={"/":[9],"/backgroundJobs":[10,[2]],"/backgroundJobs/[type]/[id]":[11,[2]],"/constants":[12,[3]],"/database":[13,[4]],"/database/table/[id]":[14,[4]],"/logsv2":[16,[6]],"/logsv2/[id]":[17,[6]],"/logs":[15,[5]],"/network":[18,[7]],"/network/[id]":[19,[7]],"/users":[20,[8]],"/users/[id]":[21,[8]]},j={handleError:({error:a})=>{console.error(a)},reroute:()=>{},transport:{}},fe=Object.fromEntries(Object.entries(j.transport).map(([a,e])=>[a,e.decode])),ge=Object.fromEntries(Object.entries(j.transport).map(([a,e])=>[a,e.encode])),we=!1,be=(a,e)=>fe[a](e);export{be as decode,fe as decoders,Ee as dictionary,ge as encoders,we as hash,j as hooks,me as matchers,de as nodes,pe as root,he as server_loads}; diff --git a/gui/next/build/_app/immutable/entry/start.B_QIJYhh.js b/gui/next/build/_app/immutable/entry/start.B_QIJYhh.js new file mode 100644 index 000000000..c448a4ec8 --- /dev/null +++ b/gui/next/build/_app/immutable/entry/start.B_QIJYhh.js @@ -0,0 +1 @@ +import{l as o,c as r}from"../chunks/CuNuScQb.js";export{o as load_css,r as start}; diff --git a/gui/next/build/_app/immutable/entry/start.DwFBtt-N.js b/gui/next/build/_app/immutable/entry/start.DwFBtt-N.js deleted file mode 100644 index 2dbb67712..000000000 --- a/gui/next/build/_app/immutable/entry/start.DwFBtt-N.js +++ /dev/null @@ -1 +0,0 @@ -import{l as o,c as r}from"../chunks/BkTZdoZE.js";export{o as load_css,r as start}; diff --git a/gui/next/build/_app/immutable/nodes/0.DRfp18Pm.js b/gui/next/build/_app/immutable/nodes/0.DbwX8pIk.js similarity index 99% rename from gui/next/build/_app/immutable/nodes/0.DRfp18Pm.js rename to gui/next/build/_app/immutable/nodes/0.DbwX8pIk.js index b914e3058..97b37f42a 100644 --- a/gui/next/build/_app/immutable/nodes/0.DRfp18Pm.js +++ b/gui/next/build/_app/immutable/nodes/0.DbwX8pIk.js @@ -1 +1 @@ -import{S as pe,i as de,s as me,d,o as w,p as _,Q as L,R as B,H as j,b as P,c as p,z as u,e as g,f as z,K as O,h as M,j as $,k as C,l as fe,E as W,x as Qe,I as y,J as Ce,L as D,M as J,n as G,N as Ee,g as Ve,t as Ae,a as Ge,y as Ne,a5 as Xe,Y as he,X as Ie,T as Se,ah as Ye,a7 as Ze,Z as et,_ as tt,m as st,u as lt,q as at,r as nt}from"../chunks/n7YEDvJi.js";import"../chunks/IHki7fMi.js";import{p as it}from"../chunks/C6Nbyvij.js";import{t as rt}from"../chunks/t7b_BBSP.js";import{s as Q}from"../chunks/Bp_ajb_u.js";import{I as F}from"../chunks/DHO4ENnJ.js";import{e as Te,u as ot,o as ct}from"../chunks/DMhVG_ro.js";import{f as ue}from"../chunks/BaKpYqK2.js";function Le(o){const t=o.slice(),e=typeof window<"u"&&window.location.port!=="4173"&&window.location.port!=="5173"?`http://localhost:${parseInt(window.location.port)}`:"http://localhost:3333";return t[3]=e,t}function Me(o){const t=o.slice(),e=typeof window<"u"&&window.location.port!=="4173"&&window.location.port!=="5173"?`http://localhost:${parseInt(window.location.port)}`:"http://localhost:3333";return t[3]=e,t}function ft(o){var n;let t,e=((n=o[0].online)==null?void 0:n.MPKIT_URL.replace("https://",""))+"",l,i;return{c(){t=$("a"),l=Ae(e),this.h()},l(c){t=g(c,"A",{href:!0});var a=z(t);l=Ve(a,e),a.forEach(d),this.h()},h(){var c;u(t,"href",i=(c=o[0].online)==null?void 0:c.MPKIT_URL)},m(c,a){P(c,t,a),p(t,l)},p(c,a){var s,r;a&1&&e!==(e=((s=c[0].online)==null?void 0:s.MPKIT_URL.replace("https://",""))+"")&&Ge(l,e),a&1&&i!==(i=(r=c[0].online)==null?void 0:r.MPKIT_URL)&&u(t,"href",i)},d(c){c&&d(t)}}}function ht(o){let t;return{c(){t=Ae("disconnected")},l(e){t=Ve(e,"disconnected")},m(e,l){P(e,t,l)},p:G,d(e){e&&d(t)}}}function ut(o){let t;return{c(){t=Ae("connecting…")},l(e){t=Ve(e,"connecting…")},m(e,l){P(e,t,l)},p:G,d(e){e&&d(t)}}}function Pe(o){let t,e,l,i,n,c="Database",a,s,r;return l=new F({props:{icon:"database"}}),{c(){t=$("li"),e=$("a"),J(l.$$.fragment),i=C(),n=$("span"),n.textContent=c,this.h()},l(f){t=g(f,"LI",{class:!0});var E=z(t);e=g(E,"A",{href:!0,class:!0});var b=z(e);D(l.$$.fragment,b),i=M(b),n=g(b,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-xe6gx4"&&(n.textContent=c),b.forEach(d),E.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/database"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname.startsWith("/database")),u(t,"class","svelte-uthxgc")},m(f,E){P(f,t,E),p(t,e),y(l,e,null),p(e,i),p(e,n),a=!0,s||(r=[Ce(e,"focus",o[2],{once:!0}),Ce(e,"mouseover",o[2],{once:!0})],s=!0)},p(f,E){(!a||E&2)&&L(e,"active",f[1].url.pathname.startsWith("/database"))},i(f){a||(_(l.$$.fragment,f),a=!0)},o(f){w(l.$$.fragment,f),a=!1},d(f){f&&d(t),W(l),s=!1,Qe(r)}}}function Ue(o){let t,e,l,i,n,c="Users",a;return l=new F({props:{icon:"users"}}),{c(){t=$("li"),e=$("a"),J(l.$$.fragment),i=C(),n=$("span"),n.textContent=c,this.h()},l(s){t=g(s,"LI",{class:!0});var r=z(t);e=g(r,"A",{href:!0,class:!0});var f=z(e);D(l.$$.fragment,f),i=M(f),n=g(f,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-o38ms3"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/users"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname.startsWith("/users")),u(t,"class","svelte-uthxgc")},m(s,r){P(s,t,r),p(t,e),y(l,e,null),p(e,i),p(e,n),a=!0},p(s,r){(!a||r&2)&&L(e,"active",s[1].url.pathname.startsWith("/users"))},i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),W(l)}}}function We(o){let t,e,l,i,n,c="Logs",a;return l=new F({props:{icon:"log"}}),{c(){t=$("li"),e=$("a"),J(l.$$.fragment),i=C(),n=$("span"),n.textContent=c,this.h()},l(s){t=g(s,"LI",{class:!0});var r=z(t);e=g(r,"A",{href:!0,class:!0});var f=z(e);D(l.$$.fragment,f),i=M(f),n=g(f,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-17j55om"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/logs"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname==="/logs"),u(t,"class","svelte-uthxgc")},m(s,r){P(s,t,r),p(t,e),y(l,e,null),p(e,i),p(e,n),a=!0},p(s,r){(!a||r&2)&&L(e,"active",s[1].url.pathname==="/logs")},i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),W(l)}}}function ye(o){let t,e,l,i,n,c="Logs v2",a;return l=new F({props:{icon:"logFresh"}}),{c(){t=$("li"),e=$("a"),J(l.$$.fragment),i=C(),n=$("span"),n.textContent=c,this.h()},l(s){t=g(s,"LI",{class:!0});var r=z(t);e=g(r,"A",{href:!0,class:!0});var f=z(e);D(l.$$.fragment,f),i=M(f),n=g(f,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-taaagi"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/logsv2"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname.startsWith("/logsv2")),u(t,"class","svelte-uthxgc")},m(s,r){P(s,t,r),p(t,e),y(l,e,null),p(e,i),p(e,n),a=!0},p(s,r){(!a||r&2)&&L(e,"active",s[1].url.pathname.startsWith("/logsv2"))},i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),W(l)}}}function De(o){let t,e,l,i,n,c="Network Logs",a;return l=new F({props:{icon:"globeMessage"}}),{c(){t=$("li"),e=$("a"),J(l.$$.fragment),i=C(),n=$("span"),n.textContent=c,this.h()},l(s){t=g(s,"LI",{class:!0});var r=z(t);e=g(r,"A",{href:!0,class:!0});var f=z(e);D(l.$$.fragment,f),i=M(f),n=g(f,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-1d3zf0k"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/network"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname.startsWith("/network")),u(t,"class","svelte-uthxgc")},m(s,r){P(s,t,r),p(t,e),y(l,e,null),p(e,i),p(e,n),a=!0},p(s,r){(!a||r&2)&&L(e,"active",s[1].url.pathname.startsWith("/network"))},i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),W(l)}}}function Je(o){let t,e,l,i,n,c="Background Jobs",a;return l=new F({props:{icon:"backgroundJob"}}),{c(){t=$("li"),e=$("a"),J(l.$$.fragment),i=C(),n=$("span"),n.textContent=c,this.h()},l(s){t=g(s,"LI",{class:!0});var r=z(t);e=g(r,"A",{href:!0,class:!0});var f=z(e);D(l.$$.fragment,f),i=M(f),n=g(f,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-fuvc8n"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/backgroundJobs"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname.startsWith("/backgroundJobs")),u(t,"class","svelte-uthxgc")},m(s,r){P(s,t,r),p(t,e),y(l,e,null),p(e,i),p(e,n),a=!0},p(s,r){(!a||r&2)&&L(e,"active",s[1].url.pathname.startsWith("/backgroundJobs"))},i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),W(l)}}}function Oe(o){let t,e,l,i,n,c="Constants",a;return l=new F({props:{icon:"constant"}}),{c(){t=$("li"),e=$("a"),J(l.$$.fragment),i=C(),n=$("span"),n.textContent=c,this.h()},l(s){t=g(s,"LI",{class:!0});var r=z(t);e=g(r,"A",{href:!0,class:!0});var f=z(e);D(l.$$.fragment,f),i=M(f),n=g(f,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-s4kqu"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/constants"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname.startsWith("/constants")),u(t,"class","svelte-uthxgc")},m(s,r){P(s,t,r),p(t,e),y(l,e,null),p(e,i),p(e,n),a=!0},p(s,r){(!a||r&2)&&L(e,"active",s[1].url.pathname.startsWith("/constants"))},i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),W(l)}}}function Re(o){let t,e,l,i,n,c="Liquid Evaluator",a;return l=new F({props:{icon:"liquid"}}),{c(){t=$("li"),e=$("a"),J(l.$$.fragment),i=C(),n=$("span"),n.textContent=c,this.h()},l(s){t=g(s,"LI",{class:!0});var r=z(t);e=g(r,"A",{href:!0,class:!0});var f=z(e);D(l.$$.fragment,f),i=M(f),n=g(f,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-1k272bg"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href",o[3]+"/gui/liquid"),u(e,"class","svelte-uthxgc"),u(t,"class","svelte-uthxgc")},m(s,r){P(s,t,r),p(t,e),y(l,e,null),p(e,i),p(e,n),a=!0},p:G,i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),W(l)}}}function Ke(o){let t,e,l,i,n,c="GraphiQL",a;return l=new F({props:{icon:"graphql"}}),{c(){t=$("li"),e=$("a"),J(l.$$.fragment),i=C(),n=$("span"),n.textContent=c,this.h()},l(s){t=g(s,"LI",{class:!0});var r=z(t);e=g(r,"A",{href:!0,class:!0});var f=z(e);D(l.$$.fragment,f),i=M(f),n=g(f,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-pzl6ct"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href",o[3]+"/gui/graphql"),u(e,"class","svelte-uthxgc"),u(t,"class","svelte-uthxgc")},m(s,r){P(s,t,r),p(t,e),y(l,e,null),p(e,i),p(e,n),a=!0},p:G,i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),W(l)}}}function pt(o){let t,e,l,i,n='',c,a,s,r=' platformOS development tools',f,E,b,m,h,K=o[0].header.includes("database"),Y,ve=o[0].header.includes("users"),Z,_e=o[0].header.includes("logs"),ee,ge=o[0].header.includes("logsv2"),te,$e=o[0].header.includes("network"),se,be=o[0].header.includes("backgroundJobs"),le,ke=o[0].header.includes("constants"),ae,we=o[0].header.includes("liquid"),ne,ze=o[0].header.includes("graphiql"),X;function xe(v,k){return v[0].online===void 0?ut:v[0].online===!1?ht:ft}let ie=xe(o),R=ie(o),I=K&&Pe(o),V=ve&&Ue(o),A=_e&&We(o),x=ge&&ye(o),H=$e&&De(o),q=be&&Je(o),N=ke&&Oe(o),S=we&&Re(Me(o)),T=ze&&Ke(Le(o));return{c(){t=$("header"),e=$("div"),l=$("div"),i=$("a"),i.innerHTML=n,c=C(),a=$("h1"),s=$("a"),s.innerHTML=r,f=C(),E=$("span"),R.c(),b=C(),m=$("nav"),h=$("ul"),I&&I.c(),Y=C(),V&&V.c(),Z=C(),A&&A.c(),ee=C(),x&&x.c(),te=C(),H&&H.c(),se=C(),q&&q.c(),le=C(),N&&N.c(),ae=C(),S&&S.c(),ne=C(),T&&T.c(),this.h()},l(v){t=g(v,"HEADER",{class:!0});var k=z(t);e=g(k,"DIV",{class:!0});var re=z(e);l=g(re,"DIV",{class:!0});var oe=z(l);i=g(oe,"A",{href:!0,"data-svelte-h":!0}),O(i)!=="svelte-1nhlu7c"&&(i.innerHTML=n),c=M(oe),a=g(oe,"H1",{class:!0});var ce=z(a);s=g(ce,"A",{href:!0,class:!0,"data-svelte-h":!0}),O(s)!=="svelte-z2lbz1"&&(s.innerHTML=r),f=M(ce),E=g(ce,"SPAN",{class:!0});var He=z(E);R.l(He),He.forEach(d),ce.forEach(d),oe.forEach(d),b=M(re),m=g(re,"NAV",{class:!0});var qe=z(m);h=g(qe,"UL",{class:!0});var U=z(h);I&&I.l(U),Y=M(U),V&&V.l(U),Z=M(U),A&&A.l(U),ee=M(U),x&&x.l(U),te=M(U),H&&H.l(U),se=M(U),q&&q.l(U),le=M(U),N&&N.l(U),ae=M(U),S&&S.l(U),ne=M(U),T&&T.l(U),U.forEach(d),qe.forEach(d),re.forEach(d),k.forEach(d),this.h()},h(){u(i,"href","/"),u(s,"href","/"),u(s,"class","svelte-uthxgc"),u(E,"class","instance svelte-uthxgc"),L(E,"offline",!o[0].online),u(a,"class","svelte-uthxgc"),u(l,"class","logo svelte-uthxgc"),u(h,"class","svelte-uthxgc"),u(m,"class","svelte-uthxgc"),u(e,"class","wrapper svelte-uthxgc"),u(t,"class","svelte-uthxgc")},m(v,k){P(v,t,k),p(t,e),p(e,l),p(l,i),p(l,c),p(l,a),p(a,s),p(a,f),p(a,E),R.m(E,null),p(e,b),p(e,m),p(m,h),I&&I.m(h,null),p(h,Y),V&&V.m(h,null),p(h,Z),A&&A.m(h,null),p(h,ee),x&&x.m(h,null),p(h,te),H&&H.m(h,null),p(h,se),q&&q.m(h,null),p(h,le),N&&N.m(h,null),p(h,ae),S&&S.m(h,null),p(h,ne),T&&T.m(h,null),X=!0},p(v,[k]){ie===(ie=xe(v))&&R?R.p(v,k):(R.d(1),R=ie(v),R&&(R.c(),R.m(E,null))),(!X||k&1)&&L(E,"offline",!v[0].online),k&1&&(K=v[0].header.includes("database")),K?I?(I.p(v,k),k&1&&_(I,1)):(I=Pe(v),I.c(),_(I,1),I.m(h,Y)):I&&(B(),w(I,1,1,()=>{I=null}),j()),k&1&&(ve=v[0].header.includes("users")),ve?V?(V.p(v,k),k&1&&_(V,1)):(V=Ue(v),V.c(),_(V,1),V.m(h,Z)):V&&(B(),w(V,1,1,()=>{V=null}),j()),k&1&&(_e=v[0].header.includes("logs")),_e?A?(A.p(v,k),k&1&&_(A,1)):(A=We(v),A.c(),_(A,1),A.m(h,ee)):A&&(B(),w(A,1,1,()=>{A=null}),j()),k&1&&(ge=v[0].header.includes("logsv2")),ge?x?(x.p(v,k),k&1&&_(x,1)):(x=ye(v),x.c(),_(x,1),x.m(h,te)):x&&(B(),w(x,1,1,()=>{x=null}),j()),k&1&&($e=v[0].header.includes("network")),$e?H?(H.p(v,k),k&1&&_(H,1)):(H=De(v),H.c(),_(H,1),H.m(h,se)):H&&(B(),w(H,1,1,()=>{H=null}),j()),k&1&&(be=v[0].header.includes("backgroundJobs")),be?q?(q.p(v,k),k&1&&_(q,1)):(q=Je(v),q.c(),_(q,1),q.m(h,le)):q&&(B(),w(q,1,1,()=>{q=null}),j()),k&1&&(ke=v[0].header.includes("constants")),ke?N?(N.p(v,k),k&1&&_(N,1)):(N=Oe(v),N.c(),_(N,1),N.m(h,ae)):N&&(B(),w(N,1,1,()=>{N=null}),j()),k&1&&(we=v[0].header.includes("liquid")),we?S?(S.p(Me(v),k),k&1&&_(S,1)):(S=Re(Me(v)),S.c(),_(S,1),S.m(h,ne)):S&&(B(),w(S,1,1,()=>{S=null}),j()),k&1&&(ze=v[0].header.includes("graphiql")),ze?T?(T.p(Le(v),k),k&1&&_(T,1)):(T=Ke(Le(v)),T.c(),_(T,1),T.m(h,null)):T&&(B(),w(T,1,1,()=>{T=null}),j())},i(v){X||(_(I),_(V),_(A),_(x),_(H),_(q),_(N),_(S),_(T),X=!0)},o(v){w(I),w(V),w(A),w(x),w(H),w(q),w(N),w(S),w(T),X=!1},d(v){v&&d(t),R.d(),I&&I.d(),V&&V.d(),A&&A.d(),x&&x.d(),H&&H.d(),q&&q.d(),N&&N.d(),S&&S.d(),T&&T.d()}}}function dt(o,t,e){let l,i;return fe(o,Q,c=>e(0,l=c)),fe(o,it,c=>e(1,i=c)),[l,i,async()=>{l.tables.length||Ee(Q,l.tables=await rt.get(),l)}]}class mt extends pe{constructor(t){super(),de(this,t,dt,pt,me,{})}}function Be(o){let t,e="Disconnected from the instance";return{c(){t=$("div"),t.textContent=e,this.h()},l(l){t=g(l,"DIV",{class:!0,"data-svelte-h":!0}),O(t)!=="svelte-1k8ucix"&&(t.textContent=e),this.h()},h(){u(t,"class","connectionIndicator svelte-1cyr69k"),L(t,"offline",o[0].online===!1)},m(l,i){P(l,t,i)},p(l,i){i&1&&L(t,"offline",l[0].online===!1)},d(l){l&&d(t)}}}function vt(o){let t,e=o[0].online===!1&&Be(o);return{c(){e&&e.c(),t=Ne()},l(l){e&&e.l(l),t=Ne()},m(l,i){e&&e.m(l,i),P(l,t,i)},p(l,[i]){l[0].online===!1?e?e.p(l,i):(e=Be(l),e.c(),e.m(t.parentNode,t)):e&&(e.d(1),e=null)},i:G,o:G,d(l){l&&d(t),e&&e.d(l)}}}let _t=7e3;function gt(o,t,e){let l;fe(o,Q,c=>e(0,l=c));let i;Xe(async()=>(n(),i=setInterval(n,_t),()=>clearInterval(i)));const n=async()=>{if(document.visibilityState!=="hidden"){const c=typeof window<"u"&&window.location.port!=="4173"&&window.location.port!=="5173"?`http://localhost:${parseInt(window.location.port)}`:"http://localhost:3333";fetch(`${c}/info`).then(a=>a.json()).then(a=>{a&&Ee(Q,l.online=a,l)}).catch(a=>{Ee(Q,l.online=!1,l)})}};return[l]}class $t extends pe{constructor(t){super(),de(this,t,gt,vt,me,{})}}function je(o,t,e){const l=o.slice();return l[4]=t[e],l}function Fe(o,t){let e,l,i=t[4].message+"",n,c,a,s,r,f,E;a=new F({props:{icon:"x",size:"10"}});function b(){return t[2](t[4])}return{key:o,first:null,c(){e=$("div"),l=new tt(!1),n=C(),c=$("button"),J(a.$$.fragment),this.h()},l(m){e=g(m,"DIV",{class:!0});var h=z(e);l=et(h,!1),n=M(h),c=g(h,"BUTTON",{class:!0});var K=z(c);D(a.$$.fragment,K),K.forEach(d),h.forEach(d),this.h()},h(){l.a=n,u(c,"class","svelte-fq192n"),u(e,"class","notification svelte-fq192n"),L(e,"success",t[4].type==="success"),L(e,"error",t[4].type==="error"),L(e,"info",t[4].type==="info"),this.first=e},m(m,h){P(m,e,h),l.m(i,e),p(e,n),p(e,c),y(a,c,null),r=!0,f||(E=Ce(c,"click",b),f=!0)},p(m,h){t=m,(!r||h&2)&&i!==(i=t[4].message+"")&&l.p(i),(!r||h&2)&&L(e,"success",t[4].type==="success"),(!r||h&2)&&L(e,"error",t[4].type==="error"),(!r||h&2)&&L(e,"info",t[4].type==="info")},i(m){r||(_(a.$$.fragment,m),m&&Ie(()=>{r&&(s||(s=he(e,ue,{duration:100},!0)),s.run(1))}),r=!0)},o(m){w(a.$$.fragment,m),m&&(s||(s=he(e,ue,{duration:100},!1)),s.run(0)),r=!1},d(m){m&&d(e),W(a),m&&s&&s.end(),f=!1,E()}}}function bt(o){let t,e=[],l=new Map,i,n,c,a,s,r,f=Te(o[1].notifications);const E=b=>b[4].id;for(let b=0;bo[3].call(t))},m(b,m){P(b,t,m);for(let h=0;h{r&&(a||(a=he(n,ue,{duration:100},!0)),a.run(1))}),r=!0}},o(b){for(let m=0;me(1,l=a));let i=0;Ze(()=>{l.notifications.forEach(a=>{a.timeout||(a.type==="success"||a.type==="info")&&(a.timeout=setTimeout(()=>Q.notification.remove(a.id),7e3))})});const n=a=>Q.notification.remove(a.id);function c(){i=this.clientHeight,e(0,i)}return[i,l,n,c]}class wt extends pe{constructor(t){super(),de(this,t,kt,bt,me,{})}}function zt(o){let t,e,l,i,n;t=new mt({});const c=o[1].default,a=st(c,o,o[0],null);return i=new wt({}),{c(){J(t.$$.fragment),e=C(),a&&a.c(),l=C(),J(i.$$.fragment)},l(s){D(t.$$.fragment,s),e=M(s),a&&a.l(s),l=M(s),D(i.$$.fragment,s)},m(s,r){y(t,s,r),P(s,e,r),a&&a.m(s,r),P(s,l,r),y(i,s,r),n=!0},p(s,[r]){a&&a.p&&(!n||r&1)&<(a,c,s,s[0],n?nt(c,s[0],r,null):at(s[0]),null)},i(s){n||(_(t.$$.fragment,s),_(a,s),_(i.$$.fragment,s),n=!0)},o(s){w(t.$$.fragment,s),w(a,s),w(i.$$.fragment,s),n=!1},d(s){s&&(d(e),d(l)),W(t,s),a&&a.d(s),W(i,s)}}}function Lt(o,t,e){let{$$slots:l={},$$scope:i}=t;return o.$$set=n=>{"$$scope"in n&&e(0,i=n.$$scope)},[i,l]}class qt extends pe{constructor(t){super(),de(this,t,Lt,zt,me,{})}}export{qt as component}; +import{S as pe,i as de,s as me,d,o as w,p as _,Q as L,R as B,H as j,b as P,c as p,z as u,e as g,f as z,K as O,h as M,j as $,k as C,l as fe,E as W,x as Qe,I as y,J as Ce,L as D,M as J,n as G,N as Ee,g as Ve,t as Ae,a as Ge,y as Ne,a5 as Xe,Y as he,X as Ie,T as Se,ah as Ye,a7 as Ze,Z as et,_ as tt,m as st,u as lt,q as at,r as nt}from"../chunks/n7YEDvJi.js";import"../chunks/IHki7fMi.js";import{p as it}from"../chunks/CPrwbBC6.js";import{t as rt}from"../chunks/t7b_BBSP.js";import{s as Q}from"../chunks/Bp_ajb_u.js";import{I as F}from"../chunks/DHO4ENnJ.js";import{e as Te,u as ot,o as ct}from"../chunks/DMhVG_ro.js";import{f as ue}from"../chunks/BaKpYqK2.js";function Le(o){const t=o.slice(),e=typeof window<"u"&&window.location.port!=="4173"&&window.location.port!=="5173"?`http://localhost:${parseInt(window.location.port)}`:"http://localhost:3333";return t[3]=e,t}function Me(o){const t=o.slice(),e=typeof window<"u"&&window.location.port!=="4173"&&window.location.port!=="5173"?`http://localhost:${parseInt(window.location.port)}`:"http://localhost:3333";return t[3]=e,t}function ft(o){var n;let t,e=((n=o[0].online)==null?void 0:n.MPKIT_URL.replace("https://",""))+"",l,i;return{c(){t=$("a"),l=Ae(e),this.h()},l(c){t=g(c,"A",{href:!0});var a=z(t);l=Ve(a,e),a.forEach(d),this.h()},h(){var c;u(t,"href",i=(c=o[0].online)==null?void 0:c.MPKIT_URL)},m(c,a){P(c,t,a),p(t,l)},p(c,a){var s,r;a&1&&e!==(e=((s=c[0].online)==null?void 0:s.MPKIT_URL.replace("https://",""))+"")&&Ge(l,e),a&1&&i!==(i=(r=c[0].online)==null?void 0:r.MPKIT_URL)&&u(t,"href",i)},d(c){c&&d(t)}}}function ht(o){let t;return{c(){t=Ae("disconnected")},l(e){t=Ve(e,"disconnected")},m(e,l){P(e,t,l)},p:G,d(e){e&&d(t)}}}function ut(o){let t;return{c(){t=Ae("connecting…")},l(e){t=Ve(e,"connecting…")},m(e,l){P(e,t,l)},p:G,d(e){e&&d(t)}}}function Pe(o){let t,e,l,i,n,c="Database",a,s,r;return l=new F({props:{icon:"database"}}),{c(){t=$("li"),e=$("a"),J(l.$$.fragment),i=C(),n=$("span"),n.textContent=c,this.h()},l(f){t=g(f,"LI",{class:!0});var E=z(t);e=g(E,"A",{href:!0,class:!0});var b=z(e);D(l.$$.fragment,b),i=M(b),n=g(b,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-xe6gx4"&&(n.textContent=c),b.forEach(d),E.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/database"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname.startsWith("/database")),u(t,"class","svelte-uthxgc")},m(f,E){P(f,t,E),p(t,e),y(l,e,null),p(e,i),p(e,n),a=!0,s||(r=[Ce(e,"focus",o[2],{once:!0}),Ce(e,"mouseover",o[2],{once:!0})],s=!0)},p(f,E){(!a||E&2)&&L(e,"active",f[1].url.pathname.startsWith("/database"))},i(f){a||(_(l.$$.fragment,f),a=!0)},o(f){w(l.$$.fragment,f),a=!1},d(f){f&&d(t),W(l),s=!1,Qe(r)}}}function Ue(o){let t,e,l,i,n,c="Users",a;return l=new F({props:{icon:"users"}}),{c(){t=$("li"),e=$("a"),J(l.$$.fragment),i=C(),n=$("span"),n.textContent=c,this.h()},l(s){t=g(s,"LI",{class:!0});var r=z(t);e=g(r,"A",{href:!0,class:!0});var f=z(e);D(l.$$.fragment,f),i=M(f),n=g(f,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-o38ms3"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/users"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname.startsWith("/users")),u(t,"class","svelte-uthxgc")},m(s,r){P(s,t,r),p(t,e),y(l,e,null),p(e,i),p(e,n),a=!0},p(s,r){(!a||r&2)&&L(e,"active",s[1].url.pathname.startsWith("/users"))},i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),W(l)}}}function We(o){let t,e,l,i,n,c="Logs",a;return l=new F({props:{icon:"log"}}),{c(){t=$("li"),e=$("a"),J(l.$$.fragment),i=C(),n=$("span"),n.textContent=c,this.h()},l(s){t=g(s,"LI",{class:!0});var r=z(t);e=g(r,"A",{href:!0,class:!0});var f=z(e);D(l.$$.fragment,f),i=M(f),n=g(f,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-17j55om"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/logs"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname==="/logs"),u(t,"class","svelte-uthxgc")},m(s,r){P(s,t,r),p(t,e),y(l,e,null),p(e,i),p(e,n),a=!0},p(s,r){(!a||r&2)&&L(e,"active",s[1].url.pathname==="/logs")},i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),W(l)}}}function ye(o){let t,e,l,i,n,c="Logs v2",a;return l=new F({props:{icon:"logFresh"}}),{c(){t=$("li"),e=$("a"),J(l.$$.fragment),i=C(),n=$("span"),n.textContent=c,this.h()},l(s){t=g(s,"LI",{class:!0});var r=z(t);e=g(r,"A",{href:!0,class:!0});var f=z(e);D(l.$$.fragment,f),i=M(f),n=g(f,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-taaagi"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/logsv2"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname.startsWith("/logsv2")),u(t,"class","svelte-uthxgc")},m(s,r){P(s,t,r),p(t,e),y(l,e,null),p(e,i),p(e,n),a=!0},p(s,r){(!a||r&2)&&L(e,"active",s[1].url.pathname.startsWith("/logsv2"))},i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),W(l)}}}function De(o){let t,e,l,i,n,c="Network Logs",a;return l=new F({props:{icon:"globeMessage"}}),{c(){t=$("li"),e=$("a"),J(l.$$.fragment),i=C(),n=$("span"),n.textContent=c,this.h()},l(s){t=g(s,"LI",{class:!0});var r=z(t);e=g(r,"A",{href:!0,class:!0});var f=z(e);D(l.$$.fragment,f),i=M(f),n=g(f,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-1d3zf0k"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/network"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname.startsWith("/network")),u(t,"class","svelte-uthxgc")},m(s,r){P(s,t,r),p(t,e),y(l,e,null),p(e,i),p(e,n),a=!0},p(s,r){(!a||r&2)&&L(e,"active",s[1].url.pathname.startsWith("/network"))},i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),W(l)}}}function Je(o){let t,e,l,i,n,c="Background Jobs",a;return l=new F({props:{icon:"backgroundJob"}}),{c(){t=$("li"),e=$("a"),J(l.$$.fragment),i=C(),n=$("span"),n.textContent=c,this.h()},l(s){t=g(s,"LI",{class:!0});var r=z(t);e=g(r,"A",{href:!0,class:!0});var f=z(e);D(l.$$.fragment,f),i=M(f),n=g(f,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-fuvc8n"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/backgroundJobs"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname.startsWith("/backgroundJobs")),u(t,"class","svelte-uthxgc")},m(s,r){P(s,t,r),p(t,e),y(l,e,null),p(e,i),p(e,n),a=!0},p(s,r){(!a||r&2)&&L(e,"active",s[1].url.pathname.startsWith("/backgroundJobs"))},i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),W(l)}}}function Oe(o){let t,e,l,i,n,c="Constants",a;return l=new F({props:{icon:"constant"}}),{c(){t=$("li"),e=$("a"),J(l.$$.fragment),i=C(),n=$("span"),n.textContent=c,this.h()},l(s){t=g(s,"LI",{class:!0});var r=z(t);e=g(r,"A",{href:!0,class:!0});var f=z(e);D(l.$$.fragment,f),i=M(f),n=g(f,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-s4kqu"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href","/constants"),u(e,"class","svelte-uthxgc"),L(e,"active",o[1].url.pathname.startsWith("/constants")),u(t,"class","svelte-uthxgc")},m(s,r){P(s,t,r),p(t,e),y(l,e,null),p(e,i),p(e,n),a=!0},p(s,r){(!a||r&2)&&L(e,"active",s[1].url.pathname.startsWith("/constants"))},i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),W(l)}}}function Re(o){let t,e,l,i,n,c="Liquid Evaluator",a;return l=new F({props:{icon:"liquid"}}),{c(){t=$("li"),e=$("a"),J(l.$$.fragment),i=C(),n=$("span"),n.textContent=c,this.h()},l(s){t=g(s,"LI",{class:!0});var r=z(t);e=g(r,"A",{href:!0,class:!0});var f=z(e);D(l.$$.fragment,f),i=M(f),n=g(f,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-1k272bg"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href",o[3]+"/gui/liquid"),u(e,"class","svelte-uthxgc"),u(t,"class","svelte-uthxgc")},m(s,r){P(s,t,r),p(t,e),y(l,e,null),p(e,i),p(e,n),a=!0},p:G,i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),W(l)}}}function Ke(o){let t,e,l,i,n,c="GraphiQL",a;return l=new F({props:{icon:"graphql"}}),{c(){t=$("li"),e=$("a"),J(l.$$.fragment),i=C(),n=$("span"),n.textContent=c,this.h()},l(s){t=g(s,"LI",{class:!0});var r=z(t);e=g(r,"A",{href:!0,class:!0});var f=z(e);D(l.$$.fragment,f),i=M(f),n=g(f,"SPAN",{class:!0,"data-svelte-h":!0}),O(n)!=="svelte-pzl6ct"&&(n.textContent=c),f.forEach(d),r.forEach(d),this.h()},h(){u(n,"class","label svelte-uthxgc"),u(e,"href",o[3]+"/gui/graphql"),u(e,"class","svelte-uthxgc"),u(t,"class","svelte-uthxgc")},m(s,r){P(s,t,r),p(t,e),y(l,e,null),p(e,i),p(e,n),a=!0},p:G,i(s){a||(_(l.$$.fragment,s),a=!0)},o(s){w(l.$$.fragment,s),a=!1},d(s){s&&d(t),W(l)}}}function pt(o){let t,e,l,i,n='',c,a,s,r=' platformOS development tools',f,E,b,m,h,K=o[0].header.includes("database"),Y,ve=o[0].header.includes("users"),Z,_e=o[0].header.includes("logs"),ee,ge=o[0].header.includes("logsv2"),te,$e=o[0].header.includes("network"),se,be=o[0].header.includes("backgroundJobs"),le,ke=o[0].header.includes("constants"),ae,we=o[0].header.includes("liquid"),ne,ze=o[0].header.includes("graphiql"),X;function xe(v,k){return v[0].online===void 0?ut:v[0].online===!1?ht:ft}let ie=xe(o),R=ie(o),I=K&&Pe(o),V=ve&&Ue(o),A=_e&&We(o),x=ge&&ye(o),H=$e&&De(o),q=be&&Je(o),N=ke&&Oe(o),S=we&&Re(Me(o)),T=ze&&Ke(Le(o));return{c(){t=$("header"),e=$("div"),l=$("div"),i=$("a"),i.innerHTML=n,c=C(),a=$("h1"),s=$("a"),s.innerHTML=r,f=C(),E=$("span"),R.c(),b=C(),m=$("nav"),h=$("ul"),I&&I.c(),Y=C(),V&&V.c(),Z=C(),A&&A.c(),ee=C(),x&&x.c(),te=C(),H&&H.c(),se=C(),q&&q.c(),le=C(),N&&N.c(),ae=C(),S&&S.c(),ne=C(),T&&T.c(),this.h()},l(v){t=g(v,"HEADER",{class:!0});var k=z(t);e=g(k,"DIV",{class:!0});var re=z(e);l=g(re,"DIV",{class:!0});var oe=z(l);i=g(oe,"A",{href:!0,"data-svelte-h":!0}),O(i)!=="svelte-1nhlu7c"&&(i.innerHTML=n),c=M(oe),a=g(oe,"H1",{class:!0});var ce=z(a);s=g(ce,"A",{href:!0,class:!0,"data-svelte-h":!0}),O(s)!=="svelte-z2lbz1"&&(s.innerHTML=r),f=M(ce),E=g(ce,"SPAN",{class:!0});var He=z(E);R.l(He),He.forEach(d),ce.forEach(d),oe.forEach(d),b=M(re),m=g(re,"NAV",{class:!0});var qe=z(m);h=g(qe,"UL",{class:!0});var U=z(h);I&&I.l(U),Y=M(U),V&&V.l(U),Z=M(U),A&&A.l(U),ee=M(U),x&&x.l(U),te=M(U),H&&H.l(U),se=M(U),q&&q.l(U),le=M(U),N&&N.l(U),ae=M(U),S&&S.l(U),ne=M(U),T&&T.l(U),U.forEach(d),qe.forEach(d),re.forEach(d),k.forEach(d),this.h()},h(){u(i,"href","/"),u(s,"href","/"),u(s,"class","svelte-uthxgc"),u(E,"class","instance svelte-uthxgc"),L(E,"offline",!o[0].online),u(a,"class","svelte-uthxgc"),u(l,"class","logo svelte-uthxgc"),u(h,"class","svelte-uthxgc"),u(m,"class","svelte-uthxgc"),u(e,"class","wrapper svelte-uthxgc"),u(t,"class","svelte-uthxgc")},m(v,k){P(v,t,k),p(t,e),p(e,l),p(l,i),p(l,c),p(l,a),p(a,s),p(a,f),p(a,E),R.m(E,null),p(e,b),p(e,m),p(m,h),I&&I.m(h,null),p(h,Y),V&&V.m(h,null),p(h,Z),A&&A.m(h,null),p(h,ee),x&&x.m(h,null),p(h,te),H&&H.m(h,null),p(h,se),q&&q.m(h,null),p(h,le),N&&N.m(h,null),p(h,ae),S&&S.m(h,null),p(h,ne),T&&T.m(h,null),X=!0},p(v,[k]){ie===(ie=xe(v))&&R?R.p(v,k):(R.d(1),R=ie(v),R&&(R.c(),R.m(E,null))),(!X||k&1)&&L(E,"offline",!v[0].online),k&1&&(K=v[0].header.includes("database")),K?I?(I.p(v,k),k&1&&_(I,1)):(I=Pe(v),I.c(),_(I,1),I.m(h,Y)):I&&(B(),w(I,1,1,()=>{I=null}),j()),k&1&&(ve=v[0].header.includes("users")),ve?V?(V.p(v,k),k&1&&_(V,1)):(V=Ue(v),V.c(),_(V,1),V.m(h,Z)):V&&(B(),w(V,1,1,()=>{V=null}),j()),k&1&&(_e=v[0].header.includes("logs")),_e?A?(A.p(v,k),k&1&&_(A,1)):(A=We(v),A.c(),_(A,1),A.m(h,ee)):A&&(B(),w(A,1,1,()=>{A=null}),j()),k&1&&(ge=v[0].header.includes("logsv2")),ge?x?(x.p(v,k),k&1&&_(x,1)):(x=ye(v),x.c(),_(x,1),x.m(h,te)):x&&(B(),w(x,1,1,()=>{x=null}),j()),k&1&&($e=v[0].header.includes("network")),$e?H?(H.p(v,k),k&1&&_(H,1)):(H=De(v),H.c(),_(H,1),H.m(h,se)):H&&(B(),w(H,1,1,()=>{H=null}),j()),k&1&&(be=v[0].header.includes("backgroundJobs")),be?q?(q.p(v,k),k&1&&_(q,1)):(q=Je(v),q.c(),_(q,1),q.m(h,le)):q&&(B(),w(q,1,1,()=>{q=null}),j()),k&1&&(ke=v[0].header.includes("constants")),ke?N?(N.p(v,k),k&1&&_(N,1)):(N=Oe(v),N.c(),_(N,1),N.m(h,ae)):N&&(B(),w(N,1,1,()=>{N=null}),j()),k&1&&(we=v[0].header.includes("liquid")),we?S?(S.p(Me(v),k),k&1&&_(S,1)):(S=Re(Me(v)),S.c(),_(S,1),S.m(h,ne)):S&&(B(),w(S,1,1,()=>{S=null}),j()),k&1&&(ze=v[0].header.includes("graphiql")),ze?T?(T.p(Le(v),k),k&1&&_(T,1)):(T=Ke(Le(v)),T.c(),_(T,1),T.m(h,null)):T&&(B(),w(T,1,1,()=>{T=null}),j())},i(v){X||(_(I),_(V),_(A),_(x),_(H),_(q),_(N),_(S),_(T),X=!0)},o(v){w(I),w(V),w(A),w(x),w(H),w(q),w(N),w(S),w(T),X=!1},d(v){v&&d(t),R.d(),I&&I.d(),V&&V.d(),A&&A.d(),x&&x.d(),H&&H.d(),q&&q.d(),N&&N.d(),S&&S.d(),T&&T.d()}}}function dt(o,t,e){let l,i;return fe(o,Q,c=>e(0,l=c)),fe(o,it,c=>e(1,i=c)),[l,i,async()=>{l.tables.length||Ee(Q,l.tables=await rt.get(),l)}]}class mt extends pe{constructor(t){super(),de(this,t,dt,pt,me,{})}}function Be(o){let t,e="Disconnected from the instance";return{c(){t=$("div"),t.textContent=e,this.h()},l(l){t=g(l,"DIV",{class:!0,"data-svelte-h":!0}),O(t)!=="svelte-1k8ucix"&&(t.textContent=e),this.h()},h(){u(t,"class","connectionIndicator svelte-1cyr69k"),L(t,"offline",o[0].online===!1)},m(l,i){P(l,t,i)},p(l,i){i&1&&L(t,"offline",l[0].online===!1)},d(l){l&&d(t)}}}function vt(o){let t,e=o[0].online===!1&&Be(o);return{c(){e&&e.c(),t=Ne()},l(l){e&&e.l(l),t=Ne()},m(l,i){e&&e.m(l,i),P(l,t,i)},p(l,[i]){l[0].online===!1?e?e.p(l,i):(e=Be(l),e.c(),e.m(t.parentNode,t)):e&&(e.d(1),e=null)},i:G,o:G,d(l){l&&d(t),e&&e.d(l)}}}let _t=7e3;function gt(o,t,e){let l;fe(o,Q,c=>e(0,l=c));let i;Xe(async()=>(n(),i=setInterval(n,_t),()=>clearInterval(i)));const n=async()=>{if(document.visibilityState!=="hidden"){const c=typeof window<"u"&&window.location.port!=="4173"&&window.location.port!=="5173"?`http://localhost:${parseInt(window.location.port)}`:"http://localhost:3333";fetch(`${c}/info`).then(a=>a.json()).then(a=>{a&&Ee(Q,l.online=a,l)}).catch(a=>{Ee(Q,l.online=!1,l)})}};return[l]}class $t extends pe{constructor(t){super(),de(this,t,gt,vt,me,{})}}function je(o,t,e){const l=o.slice();return l[4]=t[e],l}function Fe(o,t){let e,l,i=t[4].message+"",n,c,a,s,r,f,E;a=new F({props:{icon:"x",size:"10"}});function b(){return t[2](t[4])}return{key:o,first:null,c(){e=$("div"),l=new tt(!1),n=C(),c=$("button"),J(a.$$.fragment),this.h()},l(m){e=g(m,"DIV",{class:!0});var h=z(e);l=et(h,!1),n=M(h),c=g(h,"BUTTON",{class:!0});var K=z(c);D(a.$$.fragment,K),K.forEach(d),h.forEach(d),this.h()},h(){l.a=n,u(c,"class","svelte-fq192n"),u(e,"class","notification svelte-fq192n"),L(e,"success",t[4].type==="success"),L(e,"error",t[4].type==="error"),L(e,"info",t[4].type==="info"),this.first=e},m(m,h){P(m,e,h),l.m(i,e),p(e,n),p(e,c),y(a,c,null),r=!0,f||(E=Ce(c,"click",b),f=!0)},p(m,h){t=m,(!r||h&2)&&i!==(i=t[4].message+"")&&l.p(i),(!r||h&2)&&L(e,"success",t[4].type==="success"),(!r||h&2)&&L(e,"error",t[4].type==="error"),(!r||h&2)&&L(e,"info",t[4].type==="info")},i(m){r||(_(a.$$.fragment,m),m&&Ie(()=>{r&&(s||(s=he(e,ue,{duration:100},!0)),s.run(1))}),r=!0)},o(m){w(a.$$.fragment,m),m&&(s||(s=he(e,ue,{duration:100},!1)),s.run(0)),r=!1},d(m){m&&d(e),W(a),m&&s&&s.end(),f=!1,E()}}}function bt(o){let t,e=[],l=new Map,i,n,c,a,s,r,f=Te(o[1].notifications);const E=b=>b[4].id;for(let b=0;bo[3].call(t))},m(b,m){P(b,t,m);for(let h=0;h{r&&(a||(a=he(n,ue,{duration:100},!0)),a.run(1))}),r=!0}},o(b){for(let m=0;me(1,l=a));let i=0;Ze(()=>{l.notifications.forEach(a=>{a.timeout||(a.type==="success"||a.type==="info")&&(a.timeout=setTimeout(()=>Q.notification.remove(a.id),7e3))})});const n=a=>Q.notification.remove(a.id);function c(){i=this.clientHeight,e(0,i)}return[i,l,n,c]}class wt extends pe{constructor(t){super(),de(this,t,kt,bt,me,{})}}function zt(o){let t,e,l,i,n;t=new mt({});const c=o[1].default,a=st(c,o,o[0],null);return i=new wt({}),{c(){J(t.$$.fragment),e=C(),a&&a.c(),l=C(),J(i.$$.fragment)},l(s){D(t.$$.fragment,s),e=M(s),a&&a.l(s),l=M(s),D(i.$$.fragment,s)},m(s,r){y(t,s,r),P(s,e,r),a&&a.m(s,r),P(s,l,r),y(i,s,r),n=!0},p(s,[r]){a&&a.p&&(!n||r&1)&<(a,c,s,s[0],n?nt(c,s[0],r,null):at(s[0]),null)},i(s){n||(_(t.$$.fragment,s),_(a,s),_(i.$$.fragment,s),n=!0)},o(s){w(t.$$.fragment,s),w(a,s),w(i.$$.fragment,s),n=!1},d(s){s&&(d(e),d(l)),W(t,s),a&&a.d(s),W(i,s)}}}function Lt(o,t,e){let{$$slots:l={},$$scope:i}=t;return o.$$set=n=>{"$$scope"in n&&e(0,i=n.$$scope)},[i,l]}class qt extends pe{constructor(t){super(),de(this,t,Lt,zt,me,{})}}export{qt as component}; diff --git a/gui/next/build/_app/immutable/nodes/1.CD3leUXn.js b/gui/next/build/_app/immutable/nodes/1.CkrLJ_1I.js similarity index 92% rename from gui/next/build/_app/immutable/nodes/1.CD3leUXn.js rename to gui/next/build/_app/immutable/nodes/1.CkrLJ_1I.js index 05b971a3f..8e0b9e4cc 100644 --- a/gui/next/build/_app/immutable/nodes/1.CD3leUXn.js +++ b/gui/next/build/_app/immutable/nodes/1.CkrLJ_1I.js @@ -1 +1 @@ -import{S as x,i as S,s as j,n as u,d as c,a as h,b as _,c as d,e as v,f as g,g as b,h as k,j as E,t as $,k as q,l as y}from"../chunks/n7YEDvJi.js";import"../chunks/IHki7fMi.js";import{p as C}from"../chunks/C6Nbyvij.js";function H(p){var f;let a,s=p[0].status+"",r,n,o,i=((f=p[0].error)==null?void 0:f.message)+"",m;return{c(){a=E("h1"),r=$(s),n=q(),o=E("p"),m=$(i)},l(e){a=v(e,"H1",{});var t=g(a);r=b(t,s),t.forEach(c),n=k(e),o=v(e,"P",{});var l=g(o);m=b(l,i),l.forEach(c)},m(e,t){_(e,a,t),d(a,r),_(e,n,t),_(e,o,t),d(o,m)},p(e,[t]){var l;t&1&&s!==(s=e[0].status+"")&&h(r,s),t&1&&i!==(i=((l=e[0].error)==null?void 0:l.message)+"")&&h(m,i)},i:u,o:u,d(e){e&&(c(a),c(n),c(o))}}}function P(p,a,s){let r;return y(p,C,n=>s(0,r=n)),[r]}class B extends x{constructor(a){super(),S(this,a,P,H,j,{})}}export{B as component}; +import{S as x,i as S,s as j,n as u,d as c,a as h,b as _,c as d,e as v,f as g,g as b,h as k,j as E,t as $,k as q,l as y}from"../chunks/n7YEDvJi.js";import"../chunks/IHki7fMi.js";import{p as C}from"../chunks/CPrwbBC6.js";function H(p){var f;let a,s=p[0].status+"",r,n,o,i=((f=p[0].error)==null?void 0:f.message)+"",m;return{c(){a=E("h1"),r=$(s),n=q(),o=E("p"),m=$(i)},l(e){a=v(e,"H1",{});var t=g(a);r=b(t,s),t.forEach(c),n=k(e),o=v(e,"P",{});var l=g(o);m=b(l,i),l.forEach(c)},m(e,t){_(e,a,t),d(a,r),_(e,n,t),_(e,o,t),d(o,m)},p(e,[t]){var l;t&1&&s!==(s=e[0].status+"")&&h(r,s),t&1&&i!==(i=((l=e[0].error)==null?void 0:l.message)+"")&&h(m,i)},i:u,o:u,d(e){e&&(c(a),c(n),c(o))}}}function P(p,a,s){let r;return y(p,C,n=>s(0,r=n)),[r]}class B extends x{constructor(a){super(),S(this,a,P,H,j,{})}}export{B as component}; diff --git a/gui/next/build/_app/immutable/nodes/11.D0wEx6D6.js b/gui/next/build/_app/immutable/nodes/11.CXULG1X5.js similarity index 99% rename from gui/next/build/_app/immutable/nodes/11.D0wEx6D6.js rename to gui/next/build/_app/immutable/nodes/11.CXULG1X5.js index a9c48a40b..b22430491 100644 --- a/gui/next/build/_app/immutable/nodes/11.D0wEx6D6.js +++ b/gui/next/build/_app/immutable/nodes/11.CXULG1X5.js @@ -1 +1 @@ -import{S as se,i as ae,s as ne,m as ie,d,o as N,p as j,u as re,q as oe,r as ce,z as k,b as m,c as _,e as b,f as L,j as g,a7 as fe,P as ue,C as de,E as z,I as B,ad as _e,v as me,K as P,h as w,L as F,k as D,M as K,l as pe,R as V,H as M,y as I,n as U,g as H,t as y,a as A}from"../chunks/n7YEDvJi.js";import"../chunks/IHki7fMi.js";import{p as he}from"../chunks/C6Nbyvij.js";import{b as ve}from"../chunks/CIy9Z9Qf.js";import{A as be}from"../chunks/CqRAXfEk.js";import{J as ge}from"../chunks/CMNnzBs7.js";function qe(f){let e,a,o,i,r,s;const l=f[3].default,t=ie(l,f,f[2],null);return{c(){e=g("template"),a=g("pre"),o=g("code"),t&&t.c(),this.h()},l(n){e=b(n,"TEMPLATE",{});var c=L(e.content);a=b(c,"PRE",{class:!0});var p=L(a);o=b(p,"CODE",{class:!0});var h=L(o);t&&t.l(h),h.forEach(d),p.forEach(d),c.forEach(d),this.h()},h(){k(o,"class",i="language-"+f[0]),k(a,"class",r="line-numbers language-"+f[0])},m(n,c){m(n,e,c),_(e.content,a),_(a,o),t&&t.m(o,null),f[4](e),s=!0},p(n,[c]){t&&t.p&&(!s||c&4)&&re(t,l,n,n[2],s?ce(l,n[2],c,null):oe(n[2]),null),(!s||c&1&&i!==(i="language-"+n[0]))&&k(o,"class",i),(!s||c&1&&r!==(r="line-numbers language-"+n[0]))&&k(a,"class",r)},i(n){s||(j(t,n),s=!0)},o(n){N(t,n),s=!1},d(n){n&&d(e),t&&t.d(n),f[4](null)}}}function ke(f,e,a){let{$$slots:o={},$$scope:i}=e,{language:r}=e,s;fe(async()=>{var n;await ue(),(n=document.querySelector("#code"))==null||n.remove();const t=s.content.cloneNode(!0);t.firstChild.id="code",s.after(t),Prism.highlightAll()});function l(t){de[t?"unshift":"push"](()=>{s=t,a(1,s)})}return f.$$set=t=>{"language"in t&&a(0,r=t.language),"$$scope"in t&&a(2,i=t.$$scope)},[r,s,i,o,l]}class Ce extends se{constructor(e){super(),ae(this,e,ke,qe,ne,{language:0})}}function $e(f){let e,a,o,i,r,s,l,t,n=f[1].source_name&&W(f),c=f[1].id&&X(f),p=f[1].error_message&&x(f),h=f[1].liquid_body&&ee(f),$=f[1].partial_name&&te(f),q=f[1].arguments&&le(f);return{c(){e=g("dl"),n&&n.c(),a=I(),c&&c.c(),o=D(),p&&p.c(),i=D(),h&&h.c(),r=D(),$&&$.c(),s=D(),q&&q.c(),l=I(),this.h()},l(u){e=b(u,"DL",{class:!0});var v=L(e);n&&n.l(v),a=I(),c&&c.l(v),v.forEach(d),o=w(u),p&&p.l(u),i=w(u),h&&h.l(u),r=w(u),$&&$.l(u),s=w(u),q&&q.l(u),l=I(),this.h()},h(){k(e,"class","info svelte-7qclwq")},m(u,v){m(u,e,v),n&&n.m(e,null),_(e,a),c&&c.m(e,null),m(u,o,v),p&&p.m(u,v),m(u,i,v),h&&h.m(u,v),m(u,r,v),$&&$.m(u,v),m(u,s,v),q&&q.m(u,v),m(u,l,v),t=!0},p(u,v){u[1].source_name?n?n.p(u,v):(n=W(u),n.c(),n.m(e,a)):n&&(n.d(1),n=null),u[1].id?c?c.p(u,v):(c=X(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null),u[1].error_message?p?p.p(u,v):(p=x(u),p.c(),p.m(i.parentNode,i)):p&&(p.d(1),p=null),u[1].liquid_body?h?(h.p(u,v),v&2&&j(h,1)):(h=ee(u),h.c(),j(h,1),h.m(r.parentNode,r)):h&&(V(),N(h,1,1,()=>{h=null}),M()),u[1].partial_name?$?$.p(u,v):($=te(u),$.c(),$.m(s.parentNode,s)):$&&($.d(1),$=null),u[1].arguments?q?(q.p(u,v),v&2&&j(q,1)):(q=le(u),q.c(),j(q,1),q.m(l.parentNode,l)):q&&(V(),N(q,1,1,()=>{q=null}),M())},i(u){t||(j(h),j(q),t=!0)},o(u){N(h),N(q),t=!1},d(u){u&&(d(e),d(o),d(i),d(r),d(s),d(l)),n&&n.d(),c&&c.d(),p&&p.d(u),h&&h.d(u),$&&$.d(u),q&&q.d(u)}}}function we(f){let e;return{c(){e=y("There is no such background job")},l(a){e=H(a,"There is no such background job")},m(a,o){m(a,e,o)},p:U,i:U,o:U,d(a){a&&d(e)}}}function W(f){let e,a,o="ID:",i,r,s=f[1].id+"",l,t;return{c(){e=g("div"),a=g("dt"),a.textContent=o,i=D(),r=g("dd"),l=y(s),t=D(),this.h()},l(n){e=b(n,"DIV",{class:!0});var c=L(e);a=b(c,"DT",{class:!0,"data-svelte-h":!0}),P(a)!=="svelte-179gw2t"&&(a.textContent=o),i=w(c),r=b(c,"DD",{});var p=L(r);l=H(p,s),p.forEach(d),t=w(c),c.forEach(d),this.h()},h(){k(a,"class","svelte-7qclwq"),k(e,"class","svelte-7qclwq")},m(n,c){m(n,e,c),_(e,a),_(e,i),_(e,r),_(r,l),_(e,t)},p(n,c){c&2&&s!==(s=n[1].id+"")&&A(l,s)},d(n){n&&d(e)}}}function X(f){let e,a,o="Created at:",i,r,s=new Date(f[1].created_at).toLocaleString()+"",l,t,n,c,p="Run at:",h,$,q=new Date(f[1].run_at).toLocaleString()+"",u,v,J,O,S=f[1].dead_at&&Y(f),T=f[1].arguments.url&&Z(f);return{c(){e=g("div"),a=g("dt"),a.textContent=o,i=D(),r=g("dd"),l=y(s),t=D(),n=g("div"),c=g("dt"),c.textContent=p,h=D(),$=g("dd"),u=y(q),v=D(),S&&S.c(),J=I(),T&&T.c(),O=I(),this.h()},l(C){e=b(C,"DIV",{class:!0});var E=L(e);a=b(E,"DT",{class:!0,"data-svelte-h":!0}),P(a)!=="svelte-psrdxl"&&(a.textContent=o),i=w(E),r=b(E,"DD",{});var G=L(r);l=H(G,s),G.forEach(d),t=w(E),E.forEach(d),n=b(C,"DIV",{class:!0});var R=L(n);c=b(R,"DT",{class:!0,"data-svelte-h":!0}),P(c)!=="svelte-u0lbhu"&&(c.textContent=p),h=w(R),$=b(R,"DD",{});var Q=L($);u=H(Q,q),Q.forEach(d),v=w(R),R.forEach(d),S&&S.l(C),J=I(),T&&T.l(C),O=I(),this.h()},h(){k(a,"class","svelte-7qclwq"),k(e,"class","svelte-7qclwq"),k(c,"class","svelte-7qclwq"),k(n,"class","svelte-7qclwq")},m(C,E){m(C,e,E),_(e,a),_(e,i),_(e,r),_(r,l),_(e,t),m(C,n,E),_(n,c),_(n,h),_(n,$),_($,u),_(n,v),S&&S.m(C,E),m(C,J,E),T&&T.m(C,E),m(C,O,E)},p(C,E){E&2&&s!==(s=new Date(C[1].created_at).toLocaleString()+"")&&A(l,s),E&2&&q!==(q=new Date(C[1].run_at).toLocaleString()+"")&&A(u,q),C[1].dead_at?S?S.p(C,E):(S=Y(C),S.c(),S.m(J.parentNode,J)):S&&(S.d(1),S=null),C[1].arguments.url?T?T.p(C,E):(T=Z(C),T.c(),T.m(O.parentNode,O)):T&&(T.d(1),T=null)},d(C){C&&(d(e),d(n),d(J),d(O)),S&&S.d(C),T&&T.d(C)}}}function Y(f){let e,a,o="Dead at:",i,r,s=new Date(f[1].dead_at).toLocaleString()+"",l,t;return{c(){e=g("div"),a=g("dt"),a.textContent=o,i=D(),r=g("dd"),l=y(s),t=D(),this.h()},l(n){e=b(n,"DIV",{class:!0});var c=L(e);a=b(c,"DT",{class:!0,"data-svelte-h":!0}),P(a)!=="svelte-1gjx1j5"&&(a.textContent=o),i=w(c),r=b(c,"DD",{class:!0});var p=L(r);l=H(p,s),p.forEach(d),t=w(c),c.forEach(d),this.h()},h(){k(a,"class","svelte-7qclwq"),k(r,"class","error svelte-7qclwq"),k(e,"class","svelte-7qclwq")},m(n,c){m(n,e,c),_(e,a),_(e,i),_(e,r),_(r,l),_(e,t)},p(n,c){c&2&&s!==(s=new Date(n[1].dead_at).toLocaleString()+"")&&A(l,s)},d(n){n&&d(e)}}}function Z(f){let e,a,o="URL:",i,r,s=(f[1].arguments.context.location.href||"/")+"",l;return{c(){e=g("div"),a=g("dt"),a.textContent=o,i=D(),r=g("dd"),l=y(s),this.h()},l(t){e=b(t,"DIV",{class:!0});var n=L(e);a=b(n,"DT",{class:!0,"data-svelte-h":!0}),P(a)!=="svelte-vrqyfv"&&(a.textContent=o),i=w(n),r=b(n,"DD",{});var c=L(r);l=H(c,s),c.forEach(d),n.forEach(d),this.h()},h(){k(a,"class","svelte-7qclwq"),k(e,"class","svelte-7qclwq")},m(t,n){m(t,e,n),_(e,a),_(e,i),_(e,r),_(r,l)},p(t,n){n&2&&s!==(s=(t[1].arguments.context.location.href||"/")+"")&&A(l,s)},d(t){t&&d(e)}}}function x(f){let e,a="Error message",o,i,r=f[1].error_message+"",s;return{c(){e=g("h2"),e.textContent=a,o=D(),i=g("code"),s=y(r),this.h()},l(l){e=b(l,"H2",{class:!0,"data-svelte-h":!0}),P(e)!=="svelte-46lcxd"&&(e.textContent=a),o=w(l),i=b(l,"CODE",{class:!0});var t=L(i);s=H(t,r),t.forEach(d),this.h()},h(){k(e,"class","svelte-7qclwq"),k(i,"class","svelte-7qclwq")},m(l,t){m(l,e,t),m(l,o,t),m(l,i,t),_(i,s)},p(l,t){t&2&&r!==(r=l[1].error_message+"")&&A(s,r)},d(l){l&&(d(e),d(o),d(i))}}}function ee(f){let e,a="Background job code:",o,i,r;return i=new Ce({props:{language:"liquid",$$slots:{default:[De]},$$scope:{ctx:f}}}),{c(){e=g("h2"),e.textContent=a,o=D(),K(i.$$.fragment),this.h()},l(s){e=b(s,"H2",{class:!0,"data-svelte-h":!0}),P(e)!=="svelte-dymu4w"&&(e.textContent=a),o=w(s),F(i.$$.fragment,s),this.h()},h(){k(e,"class","svelte-7qclwq")},m(s,l){m(s,e,l),m(s,o,l),B(i,s,l),r=!0},p(s,l){const t={};l&10&&(t.$$scope={dirty:l,ctx:s}),i.$set(t)},i(s){r||(j(i.$$.fragment,s),r=!0)},o(s){N(i.$$.fragment,s),r=!1},d(s){s&&(d(e),d(o)),z(i,s)}}}function De(f){let e=f[1].liquid_body+"",a;return{c(){a=y(e)},l(o){a=H(o,e)},m(o,i){m(o,a,i)},p(o,i){i&2&&e!==(e=o[1].liquid_body+"")&&A(a,e)},d(o){o&&d(a)}}}function te(f){let e,a="Background function name:",o,i,r=f[1].partial_name+"",s;return{c(){e=g("h2"),e.textContent=a,o=D(),i=g("code"),s=y(r),this.h()},l(l){e=b(l,"H2",{class:!0,"data-svelte-h":!0}),P(e)!=="svelte-1qty0jf"&&(e.textContent=a),o=w(l),i=b(l,"CODE",{class:!0});var t=L(i);s=H(t,r),t.forEach(d),this.h()},h(){k(e,"class","svelte-7qclwq"),k(i,"class","svelte-7qclwq")},m(l,t){m(l,e,t),m(l,o,t),m(l,i,t),_(i,s)},p(l,t){t&2&&r!==(r=l[1].partial_name+"")&&A(s,r)},d(l){l&&(d(e),d(o),d(i))}}}function le(f){let e,a="Arguments",o,i,r,s;return r=new ge({props:{value:f[1].arguments,expandedLines:1,showFullLines:!0}}),{c(){e=g("h2"),e.textContent=a,o=D(),i=g("code"),K(r.$$.fragment),this.h()},l(l){e=b(l,"H2",{class:!0,"data-svelte-h":!0}),P(e)!=="svelte-h49jwy"&&(e.textContent=a),o=w(l),i=b(l,"CODE",{class:!0});var t=L(i);F(r.$$.fragment,t),t.forEach(d),this.h()},h(){k(e,"class","svelte-7qclwq"),k(i,"class","svelte-7qclwq")},m(l,t){m(l,e,t),m(l,o,t),m(l,i,t),B(r,i,null),s=!0},p(l,t){const n={};t&2&&(n.value=l[1].arguments),r.$set(n)},i(l){s||(j(r.$$.fragment,l),s=!0)},o(l){N(r.$$.fragment,l),s=!1},d(l){l&&(d(e),d(o),d(i)),z(r)}}}function Ee(f){let e,a,o,i;const r=[we,$e],s=[];function l(t,n){return t[1]===null?0:1}return e=l(f),a=s[e]=r[e](f),{c(){a.c(),o=I()},l(t){a.l(t),o=I()},m(t,n){s[e].m(t,n),m(t,o,n),i=!0},p(t,n){let c=e;e=l(t),e===c?s[e].p(t,n):(V(),N(s[c],1,1,()=>{s[c]=null}),M(),a=s[e],a?a.p(t,n):(a=s[e]=r[e](t),a.c()),j(a,1),a.m(o.parentNode,o))},i(t){i||(j(a),i=!0)},o(t){N(a),i=!1},d(t){t&&d(o),s[e].d(t)}}}function Le(f){let e,a="",o,i,r,s;return r=new be({props:{title:f[1].source_name||f[1].id||"Loading…",closeUrl:"/backgroundJobs?"+f[0].url.searchParams.toString(),$$slots:{default:[Ee]},$$scope:{ctx:f}}}),{c(){e=g("script"),e.innerHTML=a,i=D(),K(r.$$.fragment),this.h()},l(l){const t=me("svelte-1pgpgj4",document.head);e=b(t,"SCRIPT",{src:!0,"data-manual":!0,"data-svelte-h":!0}),P(e)!=="svelte-6mxszl"&&(e.innerHTML=a),t.forEach(d),i=w(l),F(r.$$.fragment,l),this.h()},h(){_e(e.src,o="/prism.js")||k(e,"src",o),k(e,"data-manual","")},m(l,t){_(document.head,e),m(l,i,t),B(r,l,t),s=!0},p(l,[t]){const n={};t&2&&(n.title=l[1].source_name||l[1].id||"Loading…"),t&1&&(n.closeUrl="/backgroundJobs?"+l[0].url.searchParams.toString()),t&10&&(n.$$scope={dirty:t,ctx:l}),r.$set(n)},i(l){s||(j(r.$$.fragment,l),s=!0)},o(l){N(r.$$.fragment,l),s=!1},d(l){l&&d(i),d(e),z(r,l)}}}function Se(f,e,a){let o;pe(f,he,s=>a(0,o=s));let i={};const r=async()=>{await ve.get({id:o.params.id,type:o.params.type.toUpperCase()}).then(s=>{s.results.length?a(1,i=s.results[0]):a(1,i=null)})};return f.$$.update=()=>{f.$$.dirty&1&&o.params.id&&r(o.params.id)},[o,i]}class ye extends se{constructor(e){super(),ae(this,e,Se,Le,ne,{})}}export{ye as component}; +import{S as se,i as ae,s as ne,m as ie,d,o as N,p as j,u as re,q as oe,r as ce,z as k,b as m,c as _,e as b,f as L,j as g,a7 as fe,P as ue,C as de,E as z,I as B,ad as _e,v as me,K as P,h as w,L as F,k as D,M as K,l as pe,R as V,H as M,y as I,n as U,g as H,t as y,a as A}from"../chunks/n7YEDvJi.js";import"../chunks/IHki7fMi.js";import{p as he}from"../chunks/CPrwbBC6.js";import{b as ve}from"../chunks/CIy9Z9Qf.js";import{A as be}from"../chunks/CqRAXfEk.js";import{J as ge}from"../chunks/CMNnzBs7.js";function qe(f){let e,a,o,i,r,s;const l=f[3].default,t=ie(l,f,f[2],null);return{c(){e=g("template"),a=g("pre"),o=g("code"),t&&t.c(),this.h()},l(n){e=b(n,"TEMPLATE",{});var c=L(e.content);a=b(c,"PRE",{class:!0});var p=L(a);o=b(p,"CODE",{class:!0});var h=L(o);t&&t.l(h),h.forEach(d),p.forEach(d),c.forEach(d),this.h()},h(){k(o,"class",i="language-"+f[0]),k(a,"class",r="line-numbers language-"+f[0])},m(n,c){m(n,e,c),_(e.content,a),_(a,o),t&&t.m(o,null),f[4](e),s=!0},p(n,[c]){t&&t.p&&(!s||c&4)&&re(t,l,n,n[2],s?ce(l,n[2],c,null):oe(n[2]),null),(!s||c&1&&i!==(i="language-"+n[0]))&&k(o,"class",i),(!s||c&1&&r!==(r="line-numbers language-"+n[0]))&&k(a,"class",r)},i(n){s||(j(t,n),s=!0)},o(n){N(t,n),s=!1},d(n){n&&d(e),t&&t.d(n),f[4](null)}}}function ke(f,e,a){let{$$slots:o={},$$scope:i}=e,{language:r}=e,s;fe(async()=>{var n;await ue(),(n=document.querySelector("#code"))==null||n.remove();const t=s.content.cloneNode(!0);t.firstChild.id="code",s.after(t),Prism.highlightAll()});function l(t){de[t?"unshift":"push"](()=>{s=t,a(1,s)})}return f.$$set=t=>{"language"in t&&a(0,r=t.language),"$$scope"in t&&a(2,i=t.$$scope)},[r,s,i,o,l]}class Ce extends se{constructor(e){super(),ae(this,e,ke,qe,ne,{language:0})}}function $e(f){let e,a,o,i,r,s,l,t,n=f[1].source_name&&W(f),c=f[1].id&&X(f),p=f[1].error_message&&x(f),h=f[1].liquid_body&&ee(f),$=f[1].partial_name&&te(f),q=f[1].arguments&&le(f);return{c(){e=g("dl"),n&&n.c(),a=I(),c&&c.c(),o=D(),p&&p.c(),i=D(),h&&h.c(),r=D(),$&&$.c(),s=D(),q&&q.c(),l=I(),this.h()},l(u){e=b(u,"DL",{class:!0});var v=L(e);n&&n.l(v),a=I(),c&&c.l(v),v.forEach(d),o=w(u),p&&p.l(u),i=w(u),h&&h.l(u),r=w(u),$&&$.l(u),s=w(u),q&&q.l(u),l=I(),this.h()},h(){k(e,"class","info svelte-7qclwq")},m(u,v){m(u,e,v),n&&n.m(e,null),_(e,a),c&&c.m(e,null),m(u,o,v),p&&p.m(u,v),m(u,i,v),h&&h.m(u,v),m(u,r,v),$&&$.m(u,v),m(u,s,v),q&&q.m(u,v),m(u,l,v),t=!0},p(u,v){u[1].source_name?n?n.p(u,v):(n=W(u),n.c(),n.m(e,a)):n&&(n.d(1),n=null),u[1].id?c?c.p(u,v):(c=X(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null),u[1].error_message?p?p.p(u,v):(p=x(u),p.c(),p.m(i.parentNode,i)):p&&(p.d(1),p=null),u[1].liquid_body?h?(h.p(u,v),v&2&&j(h,1)):(h=ee(u),h.c(),j(h,1),h.m(r.parentNode,r)):h&&(V(),N(h,1,1,()=>{h=null}),M()),u[1].partial_name?$?$.p(u,v):($=te(u),$.c(),$.m(s.parentNode,s)):$&&($.d(1),$=null),u[1].arguments?q?(q.p(u,v),v&2&&j(q,1)):(q=le(u),q.c(),j(q,1),q.m(l.parentNode,l)):q&&(V(),N(q,1,1,()=>{q=null}),M())},i(u){t||(j(h),j(q),t=!0)},o(u){N(h),N(q),t=!1},d(u){u&&(d(e),d(o),d(i),d(r),d(s),d(l)),n&&n.d(),c&&c.d(),p&&p.d(u),h&&h.d(u),$&&$.d(u),q&&q.d(u)}}}function we(f){let e;return{c(){e=y("There is no such background job")},l(a){e=H(a,"There is no such background job")},m(a,o){m(a,e,o)},p:U,i:U,o:U,d(a){a&&d(e)}}}function W(f){let e,a,o="ID:",i,r,s=f[1].id+"",l,t;return{c(){e=g("div"),a=g("dt"),a.textContent=o,i=D(),r=g("dd"),l=y(s),t=D(),this.h()},l(n){e=b(n,"DIV",{class:!0});var c=L(e);a=b(c,"DT",{class:!0,"data-svelte-h":!0}),P(a)!=="svelte-179gw2t"&&(a.textContent=o),i=w(c),r=b(c,"DD",{});var p=L(r);l=H(p,s),p.forEach(d),t=w(c),c.forEach(d),this.h()},h(){k(a,"class","svelte-7qclwq"),k(e,"class","svelte-7qclwq")},m(n,c){m(n,e,c),_(e,a),_(e,i),_(e,r),_(r,l),_(e,t)},p(n,c){c&2&&s!==(s=n[1].id+"")&&A(l,s)},d(n){n&&d(e)}}}function X(f){let e,a,o="Created at:",i,r,s=new Date(f[1].created_at).toLocaleString()+"",l,t,n,c,p="Run at:",h,$,q=new Date(f[1].run_at).toLocaleString()+"",u,v,J,O,S=f[1].dead_at&&Y(f),T=f[1].arguments.url&&Z(f);return{c(){e=g("div"),a=g("dt"),a.textContent=o,i=D(),r=g("dd"),l=y(s),t=D(),n=g("div"),c=g("dt"),c.textContent=p,h=D(),$=g("dd"),u=y(q),v=D(),S&&S.c(),J=I(),T&&T.c(),O=I(),this.h()},l(C){e=b(C,"DIV",{class:!0});var E=L(e);a=b(E,"DT",{class:!0,"data-svelte-h":!0}),P(a)!=="svelte-psrdxl"&&(a.textContent=o),i=w(E),r=b(E,"DD",{});var G=L(r);l=H(G,s),G.forEach(d),t=w(E),E.forEach(d),n=b(C,"DIV",{class:!0});var R=L(n);c=b(R,"DT",{class:!0,"data-svelte-h":!0}),P(c)!=="svelte-u0lbhu"&&(c.textContent=p),h=w(R),$=b(R,"DD",{});var Q=L($);u=H(Q,q),Q.forEach(d),v=w(R),R.forEach(d),S&&S.l(C),J=I(),T&&T.l(C),O=I(),this.h()},h(){k(a,"class","svelte-7qclwq"),k(e,"class","svelte-7qclwq"),k(c,"class","svelte-7qclwq"),k(n,"class","svelte-7qclwq")},m(C,E){m(C,e,E),_(e,a),_(e,i),_(e,r),_(r,l),_(e,t),m(C,n,E),_(n,c),_(n,h),_(n,$),_($,u),_(n,v),S&&S.m(C,E),m(C,J,E),T&&T.m(C,E),m(C,O,E)},p(C,E){E&2&&s!==(s=new Date(C[1].created_at).toLocaleString()+"")&&A(l,s),E&2&&q!==(q=new Date(C[1].run_at).toLocaleString()+"")&&A(u,q),C[1].dead_at?S?S.p(C,E):(S=Y(C),S.c(),S.m(J.parentNode,J)):S&&(S.d(1),S=null),C[1].arguments.url?T?T.p(C,E):(T=Z(C),T.c(),T.m(O.parentNode,O)):T&&(T.d(1),T=null)},d(C){C&&(d(e),d(n),d(J),d(O)),S&&S.d(C),T&&T.d(C)}}}function Y(f){let e,a,o="Dead at:",i,r,s=new Date(f[1].dead_at).toLocaleString()+"",l,t;return{c(){e=g("div"),a=g("dt"),a.textContent=o,i=D(),r=g("dd"),l=y(s),t=D(),this.h()},l(n){e=b(n,"DIV",{class:!0});var c=L(e);a=b(c,"DT",{class:!0,"data-svelte-h":!0}),P(a)!=="svelte-1gjx1j5"&&(a.textContent=o),i=w(c),r=b(c,"DD",{class:!0});var p=L(r);l=H(p,s),p.forEach(d),t=w(c),c.forEach(d),this.h()},h(){k(a,"class","svelte-7qclwq"),k(r,"class","error svelte-7qclwq"),k(e,"class","svelte-7qclwq")},m(n,c){m(n,e,c),_(e,a),_(e,i),_(e,r),_(r,l),_(e,t)},p(n,c){c&2&&s!==(s=new Date(n[1].dead_at).toLocaleString()+"")&&A(l,s)},d(n){n&&d(e)}}}function Z(f){let e,a,o="URL:",i,r,s=(f[1].arguments.context.location.href||"/")+"",l;return{c(){e=g("div"),a=g("dt"),a.textContent=o,i=D(),r=g("dd"),l=y(s),this.h()},l(t){e=b(t,"DIV",{class:!0});var n=L(e);a=b(n,"DT",{class:!0,"data-svelte-h":!0}),P(a)!=="svelte-vrqyfv"&&(a.textContent=o),i=w(n),r=b(n,"DD",{});var c=L(r);l=H(c,s),c.forEach(d),n.forEach(d),this.h()},h(){k(a,"class","svelte-7qclwq"),k(e,"class","svelte-7qclwq")},m(t,n){m(t,e,n),_(e,a),_(e,i),_(e,r),_(r,l)},p(t,n){n&2&&s!==(s=(t[1].arguments.context.location.href||"/")+"")&&A(l,s)},d(t){t&&d(e)}}}function x(f){let e,a="Error message",o,i,r=f[1].error_message+"",s;return{c(){e=g("h2"),e.textContent=a,o=D(),i=g("code"),s=y(r),this.h()},l(l){e=b(l,"H2",{class:!0,"data-svelte-h":!0}),P(e)!=="svelte-46lcxd"&&(e.textContent=a),o=w(l),i=b(l,"CODE",{class:!0});var t=L(i);s=H(t,r),t.forEach(d),this.h()},h(){k(e,"class","svelte-7qclwq"),k(i,"class","svelte-7qclwq")},m(l,t){m(l,e,t),m(l,o,t),m(l,i,t),_(i,s)},p(l,t){t&2&&r!==(r=l[1].error_message+"")&&A(s,r)},d(l){l&&(d(e),d(o),d(i))}}}function ee(f){let e,a="Background job code:",o,i,r;return i=new Ce({props:{language:"liquid",$$slots:{default:[De]},$$scope:{ctx:f}}}),{c(){e=g("h2"),e.textContent=a,o=D(),K(i.$$.fragment),this.h()},l(s){e=b(s,"H2",{class:!0,"data-svelte-h":!0}),P(e)!=="svelte-dymu4w"&&(e.textContent=a),o=w(s),F(i.$$.fragment,s),this.h()},h(){k(e,"class","svelte-7qclwq")},m(s,l){m(s,e,l),m(s,o,l),B(i,s,l),r=!0},p(s,l){const t={};l&10&&(t.$$scope={dirty:l,ctx:s}),i.$set(t)},i(s){r||(j(i.$$.fragment,s),r=!0)},o(s){N(i.$$.fragment,s),r=!1},d(s){s&&(d(e),d(o)),z(i,s)}}}function De(f){let e=f[1].liquid_body+"",a;return{c(){a=y(e)},l(o){a=H(o,e)},m(o,i){m(o,a,i)},p(o,i){i&2&&e!==(e=o[1].liquid_body+"")&&A(a,e)},d(o){o&&d(a)}}}function te(f){let e,a="Background function name:",o,i,r=f[1].partial_name+"",s;return{c(){e=g("h2"),e.textContent=a,o=D(),i=g("code"),s=y(r),this.h()},l(l){e=b(l,"H2",{class:!0,"data-svelte-h":!0}),P(e)!=="svelte-1qty0jf"&&(e.textContent=a),o=w(l),i=b(l,"CODE",{class:!0});var t=L(i);s=H(t,r),t.forEach(d),this.h()},h(){k(e,"class","svelte-7qclwq"),k(i,"class","svelte-7qclwq")},m(l,t){m(l,e,t),m(l,o,t),m(l,i,t),_(i,s)},p(l,t){t&2&&r!==(r=l[1].partial_name+"")&&A(s,r)},d(l){l&&(d(e),d(o),d(i))}}}function le(f){let e,a="Arguments",o,i,r,s;return r=new ge({props:{value:f[1].arguments,expandedLines:1,showFullLines:!0}}),{c(){e=g("h2"),e.textContent=a,o=D(),i=g("code"),K(r.$$.fragment),this.h()},l(l){e=b(l,"H2",{class:!0,"data-svelte-h":!0}),P(e)!=="svelte-h49jwy"&&(e.textContent=a),o=w(l),i=b(l,"CODE",{class:!0});var t=L(i);F(r.$$.fragment,t),t.forEach(d),this.h()},h(){k(e,"class","svelte-7qclwq"),k(i,"class","svelte-7qclwq")},m(l,t){m(l,e,t),m(l,o,t),m(l,i,t),B(r,i,null),s=!0},p(l,t){const n={};t&2&&(n.value=l[1].arguments),r.$set(n)},i(l){s||(j(r.$$.fragment,l),s=!0)},o(l){N(r.$$.fragment,l),s=!1},d(l){l&&(d(e),d(o),d(i)),z(r)}}}function Ee(f){let e,a,o,i;const r=[we,$e],s=[];function l(t,n){return t[1]===null?0:1}return e=l(f),a=s[e]=r[e](f),{c(){a.c(),o=I()},l(t){a.l(t),o=I()},m(t,n){s[e].m(t,n),m(t,o,n),i=!0},p(t,n){let c=e;e=l(t),e===c?s[e].p(t,n):(V(),N(s[c],1,1,()=>{s[c]=null}),M(),a=s[e],a?a.p(t,n):(a=s[e]=r[e](t),a.c()),j(a,1),a.m(o.parentNode,o))},i(t){i||(j(a),i=!0)},o(t){N(a),i=!1},d(t){t&&d(o),s[e].d(t)}}}function Le(f){let e,a="",o,i,r,s;return r=new be({props:{title:f[1].source_name||f[1].id||"Loading…",closeUrl:"/backgroundJobs?"+f[0].url.searchParams.toString(),$$slots:{default:[Ee]},$$scope:{ctx:f}}}),{c(){e=g("script"),e.innerHTML=a,i=D(),K(r.$$.fragment),this.h()},l(l){const t=me("svelte-1pgpgj4",document.head);e=b(t,"SCRIPT",{src:!0,"data-manual":!0,"data-svelte-h":!0}),P(e)!=="svelte-6mxszl"&&(e.innerHTML=a),t.forEach(d),i=w(l),F(r.$$.fragment,l),this.h()},h(){_e(e.src,o="/prism.js")||k(e,"src",o),k(e,"data-manual","")},m(l,t){_(document.head,e),m(l,i,t),B(r,l,t),s=!0},p(l,[t]){const n={};t&2&&(n.title=l[1].source_name||l[1].id||"Loading…"),t&1&&(n.closeUrl="/backgroundJobs?"+l[0].url.searchParams.toString()),t&10&&(n.$$scope={dirty:t,ctx:l}),r.$set(n)},i(l){s||(j(r.$$.fragment,l),s=!0)},o(l){N(r.$$.fragment,l),s=!1},d(l){l&&d(i),d(e),z(r,l)}}}function Se(f,e,a){let o;pe(f,he,s=>a(0,o=s));let i={};const r=async()=>{await ve.get({id:o.params.id,type:o.params.type.toUpperCase()}).then(s=>{s.results.length?a(1,i=s.results[0]):a(1,i=null)})};return f.$$.update=()=>{f.$$.dirty&1&&o.params.id&&r(o.params.id)},[o,i]}class ye extends se{constructor(e){super(),ae(this,e,Se,Le,ne,{})}}export{ye as component}; diff --git a/gui/next/build/_app/immutable/nodes/14.7fbd7OfH.js b/gui/next/build/_app/immutable/nodes/14.DJNcghcD.js similarity index 99% rename from gui/next/build/_app/immutable/nodes/14.7fbd7OfH.js rename to gui/next/build/_app/immutable/nodes/14.DJNcghcD.js index 405422551..d0ecf40b4 100644 --- a/gui/next/build/_app/immutable/nodes/14.7fbd7OfH.js +++ b/gui/next/build/_app/immutable/nodes/14.DJNcghcD.js @@ -1,4 +1,4 @@ -import{S as Ze,i as Ge,s as Qe,d as h,o as R,p as D,R as ge,H as $e,b as A,J as le,V as _t,e as g,f as I,j as $,l as Pe,O as Ke,y as Ae,N as Fe,ag as gt,C as rt,x as st,ae as Ye,F as re,c,z as _,X as dt,K as ne,h as L,k as F,a as _e,g as W,t as X,E as se,I as ie,L as oe,M as ue,n as Ue,W as Tt,a9 as hl,ai as At,Q as ke,Y as Rt,a5 as bl,P as gl,D as $l,ab as wl,G as yl,v as kl,ac as El}from"../chunks/n7YEDvJi.js";import{g as Tl}from"../chunks/D0QH3NT1.js";import"../chunks/IHki7fMi.js";import{p as wt}from"../chunks/C6Nbyvij.js";import{s as H}from"../chunks/Bp_ajb_u.js";import{g as ut}from"../chunks/BD1m7lx9.js";import{b as Ut,c as Cl}from"../chunks/BkeFH9yg.js";import{I as Se}from"../chunks/DHO4ENnJ.js";import{e as Ee,u as Nl,o as Sl}from"../chunks/DMhVG_ro.js";import{p as ml}from"../chunks/6Lnq5zID.js";import{c as Ol,T as Il}from"../chunks/B9_cNKsK.js";import{J as Dl}from"../chunks/CMNnzBs7.js";import{q as Ll}from"../chunks/iVSWiVfi.js";import{t as Fl}from"../chunks/x4PJc0Qf.js";import{N as Pl}from"../chunks/CYamOUSl.js";const Al=(r=[])=>{let e="",l={},t="";const n={int:["value_int","not_value_int"],float:["not_value_float","value_float"],bool:["exists","not_value_boolean","value_boolean"],range:["range"],array:["value_array","not_value_array","value_in","not_value_in","array_overlaps","not_array_overlaps"]};for(const a of r){if(!a.minFilterValue&&!a.maxFilterValue&&!a.value)break;let s="",o="";n.int.includes(a.operation)?(s="integer",o=parseInt(a.value)):n.float.includes(a.operation)?(s="float",o=parseFloat(a.value)):n.bool.includes(a.operation)?(s="boolean",o=a.value==="true"):n.range.includes(a.operation)?(s="range",o={},o[a.minFilter]=a.minFilterValue,o[a.maxFilter]=a.maxFilterValue):n.array.includes(a.operation)?(s="array",o=JSON.parse(a.value)):(s="string",o=a.value),a.name!=="id"&&(e+=`, $${a.name}: ${Cl[s]||"String"}`,l[a.name]=o,t+=`{ +import{S as Ze,i as Ge,s as Qe,d as h,o as R,p as D,R as ge,H as $e,b as A,J as le,V as _t,e as g,f as I,j as $,l as Pe,O as Ke,y as Ae,N as Fe,ag as gt,C as rt,x as st,ae as Ye,F as re,c,z as _,X as dt,K as ne,h as L,k as F,a as _e,g as W,t as X,E as se,I as ie,L as oe,M as ue,n as Ue,W as Tt,a9 as hl,ai as At,Q as ke,Y as Rt,a5 as bl,P as gl,D as $l,ab as wl,G as yl,v as kl,ac as El}from"../chunks/n7YEDvJi.js";import{g as Tl}from"../chunks/D0QH3NT1.js";import"../chunks/IHki7fMi.js";import{p as wt}from"../chunks/CPrwbBC6.js";import{s as H}from"../chunks/Bp_ajb_u.js";import{g as ut}from"../chunks/BD1m7lx9.js";import{b as Ut,c as Cl}from"../chunks/BkeFH9yg.js";import{I as Se}from"../chunks/DHO4ENnJ.js";import{e as Ee,u as Nl,o as Sl}from"../chunks/DMhVG_ro.js";import{p as ml}from"../chunks/6Lnq5zID.js";import{c as Ol,T as Il}from"../chunks/B9_cNKsK.js";import{J as Dl}from"../chunks/CMNnzBs7.js";import{q as Ll}from"../chunks/iVSWiVfi.js";import{t as Fl}from"../chunks/x4PJc0Qf.js";import{N as Pl}from"../chunks/CYamOUSl.js";const Al=(r=[])=>{let e="",l={},t="";const n={int:["value_int","not_value_int"],float:["not_value_float","value_float"],bool:["exists","not_value_boolean","value_boolean"],range:["range"],array:["value_array","not_value_array","value_in","not_value_in","array_overlaps","not_array_overlaps"]};for(const a of r){if(!a.minFilterValue&&!a.maxFilterValue&&!a.value)break;let s="",o="";n.int.includes(a.operation)?(s="integer",o=parseInt(a.value)):n.float.includes(a.operation)?(s="float",o=parseFloat(a.value)):n.bool.includes(a.operation)?(s="boolean",o=a.value==="true"):n.range.includes(a.operation)?(s="range",o={},o[a.minFilter]=a.minFilterValue,o[a.maxFilter]=a.maxFilterValue):n.array.includes(a.operation)?(s="array",o=JSON.parse(a.value)):(s="string",o=a.value),a.name!=="id"&&(e+=`, $${a.name}: ${Cl[s]||"String"}`,l[a.name]=o,t+=`{ name: "${a.name}", ${a.operation}: $${a.name} }`)}return e.length&&(e=e.slice(2),e=`(${e})`),t=` diff --git a/gui/next/build/_app/immutable/nodes/17.DGuxwaeC.js b/gui/next/build/_app/immutable/nodes/17.DA_EPtnJ.js similarity index 99% rename from gui/next/build/_app/immutable/nodes/17.DGuxwaeC.js rename to gui/next/build/_app/immutable/nodes/17.DA_EPtnJ.js index e78571e40..8173c1f58 100644 --- a/gui/next/build/_app/immutable/nodes/17.DGuxwaeC.js +++ b/gui/next/build/_app/immutable/nodes/17.DA_EPtnJ.js @@ -1 +1 @@ -import{S as ae,i as oe,s as re,d as g,E as P,o as C,p as v,z as h,Q as N,b as T,I as q,c as k,J as ne,e as b,f as D,L as z,h as Q,K as U,j as $,M as A,k as V,ad as ie,v as ce,l as Z,a as H,R as O,H as F,g as B,y as x,t as K,N as ee,n as te}from"../chunks/n7YEDvJi.js";import"../chunks/IHki7fMi.js";import{p as ue}from"../chunks/C6Nbyvij.js";import{l as fe}from"../chunks/twsCDidx.js";import{s as J}from"../chunks/Bp_ajb_u.js";import{t as pe}from"../chunks/x4PJc0Qf.js";import{A as me}from"../chunks/CqRAXfEk.js";import{J as _e}from"../chunks/CMNnzBs7.js";import{I as de}from"../chunks/DHO4ENnJ.js";function ge(r){let e,t,s,l,n="Copy",o,c,a,u;return t=new de({props:{icon:r[0]?"check":r[2]?"x":"copy",size:"16"}}),{c(){e=$("button"),A(t.$$.fragment),s=V(),l=$("span"),l.textContent=n,this.h()},l(i){e=b(i,"BUTTON",{title:!0,class:!0,"aria-disabled":!0});var _=D(e);z(t.$$.fragment,_),s=Q(_),l=b(_,"SPAN",{class:!0,"data-svelte-h":!0}),U(l)!=="svelte-uxc2fm"&&(l.textContent=n),_.forEach(g),this.h()},h(){h(l,"class","label"),h(e,"title","Copy message to clipboard"),h(e,"class","button compact svelte-kur7tm"),h(e,"aria-disabled",o=r[1]||r[0]||r[2]),N(e,"progressing",r[1])},m(i,_){T(i,e,_),q(t,e,null),k(e,s),k(e,l),c=!0,a||(u=ne(e,"click",r[3]),a=!0)},p(i,[_]){const w={};_&5&&(w.icon=i[0]?"check":i[2]?"x":"copy"),t.$set(w),(!c||_&7&&o!==(o=i[1]||i[0]||i[2]))&&h(e,"aria-disabled",o),(!c||_&2)&&N(e,"progressing",i[1])},i(i){c||(v(t.$$.fragment,i),c=!0)},o(i){C(t.$$.fragment,i),c=!1},d(i){i&&g(e),P(t),a=!1,u()}}}function he(r,e,t){let{text:s}=e,l=!1,n=!1,o=!1;const c=()=>{t(1,n=!0),navigator.clipboard.writeText(s.toString()).then(()=>{setTimeout(()=>{t(0,l=!0)},150),setTimeout(()=>{t(1,n=!1)},300),setTimeout(()=>{t(1,n=!0)},2300),setTimeout(()=>{t(0,l=!1)},2450),setTimeout(()=>{t(1,n=!1)},2600)}).catch(a=>{t(1,n=!1),t(2,o=!0),console.error(a)})};return r.$$set=a=>{"text"in a&&t(4,s=a.text)},[l,n,o,c,s]}class ve extends ae{constructor(e){super(),oe(this,e,he,ge,re,{text:4})}}function M(r){const e=r.slice(),t=pe(e[1].logv2.message);return e[3]=t,e}function se(r){let e,t="Message:",s,l,n;return l=new ve({props:{text:r[1].logv2.message}}),{c(){e=$("dt"),e.textContent=t,s=$("dd"),A(l.$$.fragment),this.h()},l(o){e=b(o,"DT",{"data-svelte-h":!0}),U(e)!=="svelte-j9d3r1"&&(e.textContent=t),s=b(o,"DD",{class:!0});var c=D(s);z(l.$$.fragment,c),c.forEach(g),this.h()},h(){h(s,"class","svelte-2gl9bd")},m(o,c){T(o,e,c),T(o,s,c),q(l,s,null),n=!0},p(o,c){const a={};c&2&&(a.text=o[1].logv2.message),l.$set(a)},i(o){n||(v(l.$$.fragment,o),n=!0)},o(o){C(l.$$.fragment,o),n=!1},d(o){o&&(g(e),g(s)),P(l)}}}function le(r){let e,t,s,l;const n=[$e,be],o=[];function c(a,u){return a[3]?0:1}return t=c(r),s=o[t]=n[t](r),{c(){e=$("div"),s.c(),this.h()},l(a){e=b(a,"DIV",{class:!0});var u=D(e);s.l(u),u.forEach(g),this.h()},h(){h(e,"class","code svelte-2gl9bd"),N(e,"json",r[3])},m(a,u){T(a,e,u),o[t].m(e,null),l=!0},p(a,u){let i=t;t=c(a),t===i?o[t].p(a,u):(O(),C(o[i],1,1,()=>{o[i]=null}),F(),s=o[t],s?s.p(a,u):(s=o[t]=n[t](a),s.c()),v(s,1),s.m(e,null)),(!l||u&2)&&N(e,"json",a[3])},i(a){l||(v(s),l=!0)},o(a){C(s),l=!1},d(a){a&&g(e),o[t].d()}}}function be(r){let e=r[1].logv2.message+"",t;return{c(){t=K(e)},l(s){t=B(s,e)},m(s,l){T(s,t,l)},p(s,l){l&2&&e!==(e=s[1].logv2.message+"")&&H(t,e)},i:te,o:te,d(s){s&&g(t)}}}function $e(r){let e,t;return e=new _e({props:{value:r[3],showFullLines:!0}}),{c(){A(e.$$.fragment)},l(s){z(e.$$.fragment,s)},m(s,l){q(e,s,l),t=!0},p(s,l){const n={};l&2&&(n.value=s[3]),e.$set(n)},i(s){t||(v(e.$$.fragment,s),t=!0)},o(s){C(e.$$.fragment,s),t=!1},d(s){P(e,s)}}}function ke(r){var G,W,X;let e,t,s="Time:",l,n=new Date(((G=r[1].logv2)==null?void 0:G.options_at)/1e3).toLocaleString()+"",o,c,a="URL:",u,i,_=new URL("https://"+((W=r[1].logv2)==null?void 0:W.options_data_url)).pathname+new URL("https://"+((X=r[1].logv2)==null?void 0:X.options_data_url)).search+"",w,R,I,S,L,p=r[1].logv2.message&&se(r),m=r[1].logv2.message&&le(M(r));return{c(){e=$("dl"),t=$("dt"),t.textContent=s,l=$("dd"),o=K(n),c=$("dt"),c.textContent=a,u=$("dd"),i=$("a"),w=K(_),p&&p.c(),I=V(),m&&m.c(),S=x(),this.h()},l(f){e=b(f,"DL",{class:!0});var d=D(e);t=b(d,"DT",{"data-svelte-h":!0}),U(t)!=="svelte-toke4h"&&(t.textContent=s),l=b(d,"DD",{class:!0});var y=D(l);o=B(y,n),y.forEach(g),c=b(d,"DT",{"data-svelte-h":!0}),U(c)!=="svelte-vrqyfv"&&(c.textContent=a),u=b(d,"DD",{class:!0});var E=D(u);i=b(E,"A",{href:!0,class:!0});var j=D(i);w=B(j,_),j.forEach(g),E.forEach(g),p&&p.l(d),d.forEach(g),I=Q(f),m&&m.l(f),S=x(),this.h()},h(){var f;h(l,"class","svelte-2gl9bd"),h(i,"href",R="https://"+((f=r[1].logv2)==null?void 0:f.options_data_url)),h(i,"class","svelte-2gl9bd"),h(u,"class","svelte-2gl9bd"),h(e,"class","svelte-2gl9bd")},m(f,d){T(f,e,d),k(e,t),k(e,l),k(l,o),k(e,c),k(e,u),k(u,i),k(i,w),p&&p.m(e,null),T(f,I,d),m&&m.m(f,d),T(f,S,d),L=!0},p(f,d){var y,E,j,Y;(!L||d&2)&&n!==(n=new Date(((y=f[1].logv2)==null?void 0:y.options_at)/1e3).toLocaleString()+"")&&H(o,n),(!L||d&2)&&_!==(_=new URL("https://"+((E=f[1].logv2)==null?void 0:E.options_data_url)).pathname+new URL("https://"+((j=f[1].logv2)==null?void 0:j.options_data_url)).search+"")&&H(w,_),(!L||d&2&&R!==(R="https://"+((Y=f[1].logv2)==null?void 0:Y.options_data_url)))&&h(i,"href",R),f[1].logv2.message?p?(p.p(f,d),d&2&&v(p,1)):(p=se(f),p.c(),v(p,1),p.m(e,null)):p&&(O(),C(p,1,1,()=>{p=null}),F()),f[1].logv2.message?m?(m.p(M(f),d),d&2&&v(m,1)):(m=le(M(f)),m.c(),v(m,1),m.m(S.parentNode,S)):m&&(O(),C(m,1,1,()=>{m=null}),F())},i(f){L||(v(p),v(m),L=!0)},o(f){C(p),C(m),L=!1},d(f){f&&(g(e),g(I),g(S)),p&&p.d(),m&&m.d(f)}}}function Ce(r){var c;let e,t="",s,l,n,o;return n=new me({props:{title:((c=r[1].logv2)==null?void 0:c.type)??"Loading…",closeUrl:"/logsv2?"+r[0].url.searchParams.toString(),$$slots:{default:[ke]},$$scope:{ctx:r}}}),{c(){e=$("script"),e.innerHTML=t,l=V(),A(n.$$.fragment),this.h()},l(a){const u=ce("svelte-1pgpgj4",document.head);e=b(u,"SCRIPT",{src:!0,"data-manual":!0,"data-svelte-h":!0}),U(e)!=="svelte-6mxszl"&&(e.innerHTML=t),u.forEach(g),l=Q(a),z(n.$$.fragment,a),this.h()},h(){ie(e.src,s="/prism.js")||h(e,"src",s),h(e,"data-manual","")},m(a,u){k(document.head,e),T(a,l,u),q(n,a,u),o=!0},p(a,[u]){var _;const i={};u&2&&(i.title=((_=a[1].logv2)==null?void 0:_.type)??"Loading…"),u&1&&(i.closeUrl="/logsv2?"+a[0].url.searchParams.toString()),u&18&&(i.$$scope={dirty:u,ctx:a}),n.$set(i)},i(a){o||(v(n.$$.fragment,a),o=!0)},o(a){C(n.$$.fragment,a),o=!1},d(a){a&&g(l),g(e),P(n,a)}}}function Te(r,e,t){let s,l;Z(r,ue,o=>t(0,s=o)),Z(r,J,o=>t(1,l=o));const n=async()=>{var c;const o=(c=l.logsv2.hits)==null?void 0:c.find(a=>a._timestamp==s.params.id);if(o)ee(J,l.logv2=o,l);else{const a={size:1,sql:`select * from logs where _timestamp = ${s.params.id}`};await fe.get(a).then(u=>{ee(J,l.logv2=u.hits[0],l)})}};return r.$$.update=()=>{r.$$.dirty&1&&s.params.id&&n()},[s,l]}class Ie extends ae{constructor(e){super(),oe(this,e,Te,Ce,re,{})}}export{Ie as component}; +import{S as ae,i as oe,s as re,d as g,E as P,o as C,p as v,z as h,Q as N,b as T,I as q,c as k,J as ne,e as b,f as D,L as z,h as Q,K as U,j as $,M as A,k as V,ad as ie,v as ce,l as Z,a as H,R as O,H as F,g as B,y as x,t as K,N as ee,n as te}from"../chunks/n7YEDvJi.js";import"../chunks/IHki7fMi.js";import{p as ue}from"../chunks/CPrwbBC6.js";import{l as fe}from"../chunks/twsCDidx.js";import{s as J}from"../chunks/Bp_ajb_u.js";import{t as pe}from"../chunks/x4PJc0Qf.js";import{A as me}from"../chunks/CqRAXfEk.js";import{J as _e}from"../chunks/CMNnzBs7.js";import{I as de}from"../chunks/DHO4ENnJ.js";function ge(r){let e,t,s,l,n="Copy",o,c,a,u;return t=new de({props:{icon:r[0]?"check":r[2]?"x":"copy",size:"16"}}),{c(){e=$("button"),A(t.$$.fragment),s=V(),l=$("span"),l.textContent=n,this.h()},l(i){e=b(i,"BUTTON",{title:!0,class:!0,"aria-disabled":!0});var _=D(e);z(t.$$.fragment,_),s=Q(_),l=b(_,"SPAN",{class:!0,"data-svelte-h":!0}),U(l)!=="svelte-uxc2fm"&&(l.textContent=n),_.forEach(g),this.h()},h(){h(l,"class","label"),h(e,"title","Copy message to clipboard"),h(e,"class","button compact svelte-kur7tm"),h(e,"aria-disabled",o=r[1]||r[0]||r[2]),N(e,"progressing",r[1])},m(i,_){T(i,e,_),q(t,e,null),k(e,s),k(e,l),c=!0,a||(u=ne(e,"click",r[3]),a=!0)},p(i,[_]){const w={};_&5&&(w.icon=i[0]?"check":i[2]?"x":"copy"),t.$set(w),(!c||_&7&&o!==(o=i[1]||i[0]||i[2]))&&h(e,"aria-disabled",o),(!c||_&2)&&N(e,"progressing",i[1])},i(i){c||(v(t.$$.fragment,i),c=!0)},o(i){C(t.$$.fragment,i),c=!1},d(i){i&&g(e),P(t),a=!1,u()}}}function he(r,e,t){let{text:s}=e,l=!1,n=!1,o=!1;const c=()=>{t(1,n=!0),navigator.clipboard.writeText(s.toString()).then(()=>{setTimeout(()=>{t(0,l=!0)},150),setTimeout(()=>{t(1,n=!1)},300),setTimeout(()=>{t(1,n=!0)},2300),setTimeout(()=>{t(0,l=!1)},2450),setTimeout(()=>{t(1,n=!1)},2600)}).catch(a=>{t(1,n=!1),t(2,o=!0),console.error(a)})};return r.$$set=a=>{"text"in a&&t(4,s=a.text)},[l,n,o,c,s]}class ve extends ae{constructor(e){super(),oe(this,e,he,ge,re,{text:4})}}function M(r){const e=r.slice(),t=pe(e[1].logv2.message);return e[3]=t,e}function se(r){let e,t="Message:",s,l,n;return l=new ve({props:{text:r[1].logv2.message}}),{c(){e=$("dt"),e.textContent=t,s=$("dd"),A(l.$$.fragment),this.h()},l(o){e=b(o,"DT",{"data-svelte-h":!0}),U(e)!=="svelte-j9d3r1"&&(e.textContent=t),s=b(o,"DD",{class:!0});var c=D(s);z(l.$$.fragment,c),c.forEach(g),this.h()},h(){h(s,"class","svelte-2gl9bd")},m(o,c){T(o,e,c),T(o,s,c),q(l,s,null),n=!0},p(o,c){const a={};c&2&&(a.text=o[1].logv2.message),l.$set(a)},i(o){n||(v(l.$$.fragment,o),n=!0)},o(o){C(l.$$.fragment,o),n=!1},d(o){o&&(g(e),g(s)),P(l)}}}function le(r){let e,t,s,l;const n=[$e,be],o=[];function c(a,u){return a[3]?0:1}return t=c(r),s=o[t]=n[t](r),{c(){e=$("div"),s.c(),this.h()},l(a){e=b(a,"DIV",{class:!0});var u=D(e);s.l(u),u.forEach(g),this.h()},h(){h(e,"class","code svelte-2gl9bd"),N(e,"json",r[3])},m(a,u){T(a,e,u),o[t].m(e,null),l=!0},p(a,u){let i=t;t=c(a),t===i?o[t].p(a,u):(O(),C(o[i],1,1,()=>{o[i]=null}),F(),s=o[t],s?s.p(a,u):(s=o[t]=n[t](a),s.c()),v(s,1),s.m(e,null)),(!l||u&2)&&N(e,"json",a[3])},i(a){l||(v(s),l=!0)},o(a){C(s),l=!1},d(a){a&&g(e),o[t].d()}}}function be(r){let e=r[1].logv2.message+"",t;return{c(){t=K(e)},l(s){t=B(s,e)},m(s,l){T(s,t,l)},p(s,l){l&2&&e!==(e=s[1].logv2.message+"")&&H(t,e)},i:te,o:te,d(s){s&&g(t)}}}function $e(r){let e,t;return e=new _e({props:{value:r[3],showFullLines:!0}}),{c(){A(e.$$.fragment)},l(s){z(e.$$.fragment,s)},m(s,l){q(e,s,l),t=!0},p(s,l){const n={};l&2&&(n.value=s[3]),e.$set(n)},i(s){t||(v(e.$$.fragment,s),t=!0)},o(s){C(e.$$.fragment,s),t=!1},d(s){P(e,s)}}}function ke(r){var G,W,X;let e,t,s="Time:",l,n=new Date(((G=r[1].logv2)==null?void 0:G.options_at)/1e3).toLocaleString()+"",o,c,a="URL:",u,i,_=new URL("https://"+((W=r[1].logv2)==null?void 0:W.options_data_url)).pathname+new URL("https://"+((X=r[1].logv2)==null?void 0:X.options_data_url)).search+"",w,R,I,S,L,p=r[1].logv2.message&&se(r),m=r[1].logv2.message&&le(M(r));return{c(){e=$("dl"),t=$("dt"),t.textContent=s,l=$("dd"),o=K(n),c=$("dt"),c.textContent=a,u=$("dd"),i=$("a"),w=K(_),p&&p.c(),I=V(),m&&m.c(),S=x(),this.h()},l(f){e=b(f,"DL",{class:!0});var d=D(e);t=b(d,"DT",{"data-svelte-h":!0}),U(t)!=="svelte-toke4h"&&(t.textContent=s),l=b(d,"DD",{class:!0});var y=D(l);o=B(y,n),y.forEach(g),c=b(d,"DT",{"data-svelte-h":!0}),U(c)!=="svelte-vrqyfv"&&(c.textContent=a),u=b(d,"DD",{class:!0});var E=D(u);i=b(E,"A",{href:!0,class:!0});var j=D(i);w=B(j,_),j.forEach(g),E.forEach(g),p&&p.l(d),d.forEach(g),I=Q(f),m&&m.l(f),S=x(),this.h()},h(){var f;h(l,"class","svelte-2gl9bd"),h(i,"href",R="https://"+((f=r[1].logv2)==null?void 0:f.options_data_url)),h(i,"class","svelte-2gl9bd"),h(u,"class","svelte-2gl9bd"),h(e,"class","svelte-2gl9bd")},m(f,d){T(f,e,d),k(e,t),k(e,l),k(l,o),k(e,c),k(e,u),k(u,i),k(i,w),p&&p.m(e,null),T(f,I,d),m&&m.m(f,d),T(f,S,d),L=!0},p(f,d){var y,E,j,Y;(!L||d&2)&&n!==(n=new Date(((y=f[1].logv2)==null?void 0:y.options_at)/1e3).toLocaleString()+"")&&H(o,n),(!L||d&2)&&_!==(_=new URL("https://"+((E=f[1].logv2)==null?void 0:E.options_data_url)).pathname+new URL("https://"+((j=f[1].logv2)==null?void 0:j.options_data_url)).search+"")&&H(w,_),(!L||d&2&&R!==(R="https://"+((Y=f[1].logv2)==null?void 0:Y.options_data_url)))&&h(i,"href",R),f[1].logv2.message?p?(p.p(f,d),d&2&&v(p,1)):(p=se(f),p.c(),v(p,1),p.m(e,null)):p&&(O(),C(p,1,1,()=>{p=null}),F()),f[1].logv2.message?m?(m.p(M(f),d),d&2&&v(m,1)):(m=le(M(f)),m.c(),v(m,1),m.m(S.parentNode,S)):m&&(O(),C(m,1,1,()=>{m=null}),F())},i(f){L||(v(p),v(m),L=!0)},o(f){C(p),C(m),L=!1},d(f){f&&(g(e),g(I),g(S)),p&&p.d(),m&&m.d(f)}}}function Ce(r){var c;let e,t="",s,l,n,o;return n=new me({props:{title:((c=r[1].logv2)==null?void 0:c.type)??"Loading…",closeUrl:"/logsv2?"+r[0].url.searchParams.toString(),$$slots:{default:[ke]},$$scope:{ctx:r}}}),{c(){e=$("script"),e.innerHTML=t,l=V(),A(n.$$.fragment),this.h()},l(a){const u=ce("svelte-1pgpgj4",document.head);e=b(u,"SCRIPT",{src:!0,"data-manual":!0,"data-svelte-h":!0}),U(e)!=="svelte-6mxszl"&&(e.innerHTML=t),u.forEach(g),l=Q(a),z(n.$$.fragment,a),this.h()},h(){ie(e.src,s="/prism.js")||h(e,"src",s),h(e,"data-manual","")},m(a,u){k(document.head,e),T(a,l,u),q(n,a,u),o=!0},p(a,[u]){var _;const i={};u&2&&(i.title=((_=a[1].logv2)==null?void 0:_.type)??"Loading…"),u&1&&(i.closeUrl="/logsv2?"+a[0].url.searchParams.toString()),u&18&&(i.$$scope={dirty:u,ctx:a}),n.$set(i)},i(a){o||(v(n.$$.fragment,a),o=!0)},o(a){C(n.$$.fragment,a),o=!1},d(a){a&&g(l),g(e),P(n,a)}}}function Te(r,e,t){let s,l;Z(r,ue,o=>t(0,s=o)),Z(r,J,o=>t(1,l=o));const n=async()=>{var c;const o=(c=l.logsv2.hits)==null?void 0:c.find(a=>a._timestamp==s.params.id);if(o)ee(J,l.logv2=o,l);else{const a={size:1,sql:`select * from logs where _timestamp = ${s.params.id}`};await fe.get(a).then(u=>{ee(J,l.logv2=u.hits[0],l)})}};return r.$$.update=()=>{r.$$.dirty&1&&s.params.id&&n()},[s,l]}class Ie extends ae{constructor(e){super(),oe(this,e,Te,Ce,re,{})}}export{Ie as component}; diff --git a/gui/next/build/_app/immutable/nodes/19.C47gtE90.js b/gui/next/build/_app/immutable/nodes/19.BaFYl6I1.js similarity index 99% rename from gui/next/build/_app/immutable/nodes/19.C47gtE90.js rename to gui/next/build/_app/immutable/nodes/19.BaFYl6I1.js index 49ac56799..4d9d4c5aa 100644 --- a/gui/next/build/_app/immutable/nodes/19.C47gtE90.js +++ b/gui/next/build/_app/immutable/nodes/19.BaFYl6I1.js @@ -1 +1 @@ -import{S as De,i as ye,s as Re,E as Te,o as $e,p as Pe,I as Se,L as Ee,M as Ne,l as ve,d as c,b as qe,y as ke,N as ge,a as k,z as p,Q as x,c as n,e as d,f as w,K as C,g as m,h as Fe,j as i,t as h,k as Le}from"../chunks/n7YEDvJi.js";import"../chunks/IHki7fMi.js";import{p as Ie}from"../chunks/C6Nbyvij.js";import{n as Ae}from"../chunks/hGAcGvnf.js";import{s as ne}from"../chunks/Bp_ajb_u.js";import{A as Ue}from"../chunks/CqRAXfEk.js";const be={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",306:"Switch Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Content",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",510:"Not Extended",511:"Network Authentication Required"};function Ce(a){let e,o,t="Time",r,u=new Date(a[1].network._timestamp/1e3).toLocaleString()+"",f,v,y="Request path",g,b,I=a[1].network.http_request_path+"",B,K,R,re="Request method",T,A=a[1].network.http_request_method+"",O,$,le="Status",_,U=a[1].network.lb_status_code+"",V,ee,M=be[a[1].network.lb_status_code]+"",Q,P,de="Client IP",S,z=a[1].network.client+"",J,E,ie="Client user agent",N,j=a[1].network.user_agent+"",W,F,ue="Processing time",q,G=parseFloat(a[1].network.request_processing_time)+parseFloat(a[1].network.target_processing_time)+"",X,te,L,_e="Response size",D,H=parseInt(a[1].network.sent_bytes)+"",Y,se;return{c(){e=i("dl"),o=i("dt"),o.textContent=t,r=i("dd"),f=h(u),v=i("dt"),v.textContent=y,g=i("dd"),b=i("a"),B=h(I),R=i("dt"),R.textContent=re,T=i("dd"),O=h(A),$=i("dt"),$.textContent=le,_=i("dd"),V=h(U),ee=Le(),Q=h(M),P=i("dt"),P.textContent=de,S=i("dd"),J=h(z),E=i("dt"),E.textContent=ie,N=i("dd"),W=h(j),F=i("dt"),F.textContent=ue,q=i("dd"),X=h(G),te=h("s"),L=i("dt"),L.textContent=_e,D=i("dd"),Y=h(H),se=h(" bytes"),this.h()},l(l){e=d(l,"DL",{class:!0});var s=w(e);o=d(s,"DT",{"data-svelte-h":!0}),C(o)!=="svelte-k4tc9n"&&(o.textContent=t),r=d(s,"DD",{class:!0});var pe=w(r);f=m(pe,u),pe.forEach(c),v=d(s,"DT",{"data-svelte-h":!0}),C(v)!=="svelte-1j5pznm"&&(v.textContent=y),g=d(s,"DD",{class:!0});var ce=w(g);b=d(ce,"A",{href:!0,class:!0});var fe=w(b);B=m(fe,I),fe.forEach(c),ce.forEach(c),R=d(s,"DT",{"data-svelte-h":!0}),C(R)!=="svelte-1wn7isk"&&(R.textContent=re),T=d(s,"DD",{class:!0});var me=w(T);O=m(me,A),me.forEach(c),$=d(s,"DT",{"data-svelte-h":!0}),C($)!=="svelte-1e9eis"&&($.textContent=le),_=d(s,"DD",{class:!0});var Z=w(_);V=m(Z,U),ee=Fe(Z),Q=m(Z,M),Z.forEach(c),P=d(s,"DT",{"data-svelte-h":!0}),C(P)!=="svelte-1rrvc96"&&(P.textContent=de),S=d(s,"DD",{class:!0});var he=w(S);J=m(he,z),he.forEach(c),E=d(s,"DT",{"data-svelte-h":!0}),C(E)!=="svelte-on2p8j"&&(E.textContent=ie),N=d(s,"DD",{class:!0});var we=w(N);W=m(we,j),we.forEach(c),F=d(s,"DT",{"data-svelte-h":!0}),C(F)!=="svelte-1wlbq2"&&(F.textContent=ue),q=d(s,"DD",{class:!0});var oe=w(q);X=m(oe,G),te=m(oe,"s"),oe.forEach(c),L=d(s,"DT",{"data-svelte-h":!0}),C(L)!=="svelte-jqr426"&&(L.textContent=_e),D=d(s,"DD",{class:!0});var ae=w(D);Y=m(ae,H),se=m(ae," bytes"),ae.forEach(c),s.forEach(c),this.h()},h(){p(r,"class","svelte-ebu0yn"),p(b,"href",K=a[1].network.http_request_url),p(b,"class","svelte-ebu0yn"),p(g,"class","svelte-ebu0yn"),p(T,"class","svelte-ebu0yn"),p(_,"class","svelte-ebu0yn"),x(_,"success",a[1].network.lb_status_code>=200&&a[1].network.lb_status_code<300),x(_,"error",a[1].network.http_request_protocol.lb_status_code>=400&&a[1].network.http_request_protocol.lb_status_code<600),p(S,"class","svelte-ebu0yn"),p(N,"class","svelte-ebu0yn"),p(q,"class","svelte-ebu0yn"),p(D,"class","svelte-ebu0yn"),p(e,"class","definitions svelte-ebu0yn")},m(l,s){qe(l,e,s),n(e,o),n(e,r),n(r,f),n(e,v),n(e,g),n(g,b),n(b,B),n(e,R),n(e,T),n(T,O),n(e,$),n(e,_),n(_,V),n(_,ee),n(_,Q),n(e,P),n(e,S),n(S,J),n(e,E),n(e,N),n(N,W),n(e,F),n(e,q),n(q,X),n(q,te),n(e,L),n(e,D),n(D,Y),n(D,se)},p(l,s){s&2&&u!==(u=new Date(l[1].network._timestamp/1e3).toLocaleString()+"")&&k(f,u),s&2&&I!==(I=l[1].network.http_request_path+"")&&k(B,I),s&2&&K!==(K=l[1].network.http_request_url)&&p(b,"href",K),s&2&&A!==(A=l[1].network.http_request_method+"")&&k(O,A),s&2&&U!==(U=l[1].network.lb_status_code+"")&&k(V,U),s&2&&M!==(M=be[l[1].network.lb_status_code]+"")&&k(Q,M),s&2&&x(_,"success",l[1].network.lb_status_code>=200&&l[1].network.lb_status_code<300),s&2&&x(_,"error",l[1].network.http_request_protocol.lb_status_code>=400&&l[1].network.http_request_protocol.lb_status_code<600),s&2&&z!==(z=l[1].network.client+"")&&k(J,z),s&2&&j!==(j=l[1].network.user_agent+"")&&k(W,j),s&2&&G!==(G=parseFloat(l[1].network.request_processing_time)+parseFloat(l[1].network.target_processing_time)+"")&&k(X,G),s&2&&H!==(H=parseInt(l[1].network.sent_bytes)+"")&&k(Y,H)},d(l){l&&c(e)}}}function Me(a){let e,o=a[1].network._timestamp&&Ce(a);return{c(){o&&o.c(),e=ke()},l(t){o&&o.l(t),e=ke()},m(t,r){o&&o.m(t,r),qe(t,e,r)},p(t,r){t[1].network._timestamp?o?o.p(t,r):(o=Ce(t),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null)},d(t){t&&c(e),o&&o.d(t)}}}function ze(a){let e,o;return e=new Ue({props:{title:a[1].network.lb_status_code?`${a[1].network.http_request_method} ${a[1].network.http_request_path}`:"Loading…",closeUrl:"/network?"+a[0].url.searchParams.toString(),$$slots:{default:[Me]},$$scope:{ctx:a}}}),{c(){Ne(e.$$.fragment)},l(t){Ee(e.$$.fragment,t)},m(t,r){Se(e,t,r),o=!0},p(t,[r]){const u={};r&2&&(u.title=t[1].network.lb_status_code?`${t[1].network.http_request_method} ${t[1].network.http_request_path}`:"Loading…"),r&1&&(u.closeUrl="/network?"+t[0].url.searchParams.toString()),r&10&&(u.$$scope={dirty:r,ctx:t}),e.$set(u)},i(t){o||(Pe(e.$$.fragment,t),o=!0)},o(t){$e(e.$$.fragment,t),o=!1},d(t){Te(e,t)}}}function je(a,e,o){let t,r;ve(a,Ie,f=>o(0,t=f)),ve(a,ne,f=>o(1,r=f));const u=async()=>{var v;const f=(v=r.networks.hits)==null?void 0:v.find(y=>y._timestamp==t.params.id);if(f)ge(ne,r.network=f,r);else{const y={size:1,sql:`select * from requests where _timestamp = ${t.params.id}`};await Ae.get(y).then(g=>{ge(ne,r.network=g.hits[0],r)})}};return a.$$.update=()=>{a.$$.dirty&1&&t.params.id&&u()},[t,r]}class Qe extends De{constructor(e){super(),ye(this,e,je,ze,Re,{})}}export{Qe as component}; +import{S as De,i as ye,s as Re,E as Te,o as $e,p as Pe,I as Se,L as Ee,M as Ne,l as ve,d as c,b as qe,y as ke,N as ge,a as k,z as p,Q as x,c as n,e as d,f as w,K as C,g as m,h as Fe,j as i,t as h,k as Le}from"../chunks/n7YEDvJi.js";import"../chunks/IHki7fMi.js";import{p as Ie}from"../chunks/CPrwbBC6.js";import{n as Ae}from"../chunks/hGAcGvnf.js";import{s as ne}from"../chunks/Bp_ajb_u.js";import{A as Ue}from"../chunks/CqRAXfEk.js";const be={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",306:"Switch Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Content",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",510:"Not Extended",511:"Network Authentication Required"};function Ce(a){let e,o,t="Time",r,u=new Date(a[1].network._timestamp/1e3).toLocaleString()+"",f,v,y="Request path",g,b,I=a[1].network.http_request_path+"",B,K,R,re="Request method",T,A=a[1].network.http_request_method+"",O,$,le="Status",_,U=a[1].network.lb_status_code+"",V,ee,M=be[a[1].network.lb_status_code]+"",Q,P,de="Client IP",S,z=a[1].network.client+"",J,E,ie="Client user agent",N,j=a[1].network.user_agent+"",W,F,ue="Processing time",q,G=parseFloat(a[1].network.request_processing_time)+parseFloat(a[1].network.target_processing_time)+"",X,te,L,_e="Response size",D,H=parseInt(a[1].network.sent_bytes)+"",Y,se;return{c(){e=i("dl"),o=i("dt"),o.textContent=t,r=i("dd"),f=h(u),v=i("dt"),v.textContent=y,g=i("dd"),b=i("a"),B=h(I),R=i("dt"),R.textContent=re,T=i("dd"),O=h(A),$=i("dt"),$.textContent=le,_=i("dd"),V=h(U),ee=Le(),Q=h(M),P=i("dt"),P.textContent=de,S=i("dd"),J=h(z),E=i("dt"),E.textContent=ie,N=i("dd"),W=h(j),F=i("dt"),F.textContent=ue,q=i("dd"),X=h(G),te=h("s"),L=i("dt"),L.textContent=_e,D=i("dd"),Y=h(H),se=h(" bytes"),this.h()},l(l){e=d(l,"DL",{class:!0});var s=w(e);o=d(s,"DT",{"data-svelte-h":!0}),C(o)!=="svelte-k4tc9n"&&(o.textContent=t),r=d(s,"DD",{class:!0});var pe=w(r);f=m(pe,u),pe.forEach(c),v=d(s,"DT",{"data-svelte-h":!0}),C(v)!=="svelte-1j5pznm"&&(v.textContent=y),g=d(s,"DD",{class:!0});var ce=w(g);b=d(ce,"A",{href:!0,class:!0});var fe=w(b);B=m(fe,I),fe.forEach(c),ce.forEach(c),R=d(s,"DT",{"data-svelte-h":!0}),C(R)!=="svelte-1wn7isk"&&(R.textContent=re),T=d(s,"DD",{class:!0});var me=w(T);O=m(me,A),me.forEach(c),$=d(s,"DT",{"data-svelte-h":!0}),C($)!=="svelte-1e9eis"&&($.textContent=le),_=d(s,"DD",{class:!0});var Z=w(_);V=m(Z,U),ee=Fe(Z),Q=m(Z,M),Z.forEach(c),P=d(s,"DT",{"data-svelte-h":!0}),C(P)!=="svelte-1rrvc96"&&(P.textContent=de),S=d(s,"DD",{class:!0});var he=w(S);J=m(he,z),he.forEach(c),E=d(s,"DT",{"data-svelte-h":!0}),C(E)!=="svelte-on2p8j"&&(E.textContent=ie),N=d(s,"DD",{class:!0});var we=w(N);W=m(we,j),we.forEach(c),F=d(s,"DT",{"data-svelte-h":!0}),C(F)!=="svelte-1wlbq2"&&(F.textContent=ue),q=d(s,"DD",{class:!0});var oe=w(q);X=m(oe,G),te=m(oe,"s"),oe.forEach(c),L=d(s,"DT",{"data-svelte-h":!0}),C(L)!=="svelte-jqr426"&&(L.textContent=_e),D=d(s,"DD",{class:!0});var ae=w(D);Y=m(ae,H),se=m(ae," bytes"),ae.forEach(c),s.forEach(c),this.h()},h(){p(r,"class","svelte-ebu0yn"),p(b,"href",K=a[1].network.http_request_url),p(b,"class","svelte-ebu0yn"),p(g,"class","svelte-ebu0yn"),p(T,"class","svelte-ebu0yn"),p(_,"class","svelte-ebu0yn"),x(_,"success",a[1].network.lb_status_code>=200&&a[1].network.lb_status_code<300),x(_,"error",a[1].network.http_request_protocol.lb_status_code>=400&&a[1].network.http_request_protocol.lb_status_code<600),p(S,"class","svelte-ebu0yn"),p(N,"class","svelte-ebu0yn"),p(q,"class","svelte-ebu0yn"),p(D,"class","svelte-ebu0yn"),p(e,"class","definitions svelte-ebu0yn")},m(l,s){qe(l,e,s),n(e,o),n(e,r),n(r,f),n(e,v),n(e,g),n(g,b),n(b,B),n(e,R),n(e,T),n(T,O),n(e,$),n(e,_),n(_,V),n(_,ee),n(_,Q),n(e,P),n(e,S),n(S,J),n(e,E),n(e,N),n(N,W),n(e,F),n(e,q),n(q,X),n(q,te),n(e,L),n(e,D),n(D,Y),n(D,se)},p(l,s){s&2&&u!==(u=new Date(l[1].network._timestamp/1e3).toLocaleString()+"")&&k(f,u),s&2&&I!==(I=l[1].network.http_request_path+"")&&k(B,I),s&2&&K!==(K=l[1].network.http_request_url)&&p(b,"href",K),s&2&&A!==(A=l[1].network.http_request_method+"")&&k(O,A),s&2&&U!==(U=l[1].network.lb_status_code+"")&&k(V,U),s&2&&M!==(M=be[l[1].network.lb_status_code]+"")&&k(Q,M),s&2&&x(_,"success",l[1].network.lb_status_code>=200&&l[1].network.lb_status_code<300),s&2&&x(_,"error",l[1].network.http_request_protocol.lb_status_code>=400&&l[1].network.http_request_protocol.lb_status_code<600),s&2&&z!==(z=l[1].network.client+"")&&k(J,z),s&2&&j!==(j=l[1].network.user_agent+"")&&k(W,j),s&2&&G!==(G=parseFloat(l[1].network.request_processing_time)+parseFloat(l[1].network.target_processing_time)+"")&&k(X,G),s&2&&H!==(H=parseInt(l[1].network.sent_bytes)+"")&&k(Y,H)},d(l){l&&c(e)}}}function Me(a){let e,o=a[1].network._timestamp&&Ce(a);return{c(){o&&o.c(),e=ke()},l(t){o&&o.l(t),e=ke()},m(t,r){o&&o.m(t,r),qe(t,e,r)},p(t,r){t[1].network._timestamp?o?o.p(t,r):(o=Ce(t),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null)},d(t){t&&c(e),o&&o.d(t)}}}function ze(a){let e,o;return e=new Ue({props:{title:a[1].network.lb_status_code?`${a[1].network.http_request_method} ${a[1].network.http_request_path}`:"Loading…",closeUrl:"/network?"+a[0].url.searchParams.toString(),$$slots:{default:[Me]},$$scope:{ctx:a}}}),{c(){Ne(e.$$.fragment)},l(t){Ee(e.$$.fragment,t)},m(t,r){Se(e,t,r),o=!0},p(t,[r]){const u={};r&2&&(u.title=t[1].network.lb_status_code?`${t[1].network.http_request_method} ${t[1].network.http_request_path}`:"Loading…"),r&1&&(u.closeUrl="/network?"+t[0].url.searchParams.toString()),r&10&&(u.$$scope={dirty:r,ctx:t}),e.$set(u)},i(t){o||(Pe(e.$$.fragment,t),o=!0)},o(t){$e(e.$$.fragment,t),o=!1},d(t){Te(e,t)}}}function je(a,e,o){let t,r;ve(a,Ie,f=>o(0,t=f)),ve(a,ne,f=>o(1,r=f));const u=async()=>{var v;const f=(v=r.networks.hits)==null?void 0:v.find(y=>y._timestamp==t.params.id);if(f)ge(ne,r.network=f,r);else{const y={size:1,sql:`select * from requests where _timestamp = ${t.params.id}`};await Ae.get(y).then(g=>{ge(ne,r.network=g.hits[0],r)})}};return a.$$.update=()=>{a.$$.dirty&1&&t.params.id&&u()},[t,r]}class Qe extends De{constructor(e){super(),ye(this,e,je,ze,Re,{})}}export{Qe as component}; diff --git a/gui/next/build/_app/immutable/nodes/2.CGFuMAZt.js b/gui/next/build/_app/immutable/nodes/2.CM5gmKVo.js similarity index 99% rename from gui/next/build/_app/immutable/nodes/2.CGFuMAZt.js rename to gui/next/build/_app/immutable/nodes/2.CM5gmKVo.js index c657dba19..d7d4958ad 100644 --- a/gui/next/build/_app/immutable/nodes/2.CGFuMAZt.js +++ b/gui/next/build/_app/immutable/nodes/2.CM5gmKVo.js @@ -1,4 +1,4 @@ -import{S as Ue,i as je,s as Ae,d as u,E as me,o as V,p as B,b as Q,c as l,I as pe,J as he,z as c,e as d,f as y,h as L,L as ge,g as W,j as f,k as N,M as ve,t as X,W as Xe,C as Le,D as at,ac as He,m as nt,O as st,x as Ye,ae as Je,H as Ze,G as lt,a as De,u as rt,q as ot,r as it,F as Pe,X as ut,v as dt,K as ae,l as Ve,af as ft,R as xe,Q as ze,ag as ct}from"../chunks/n7YEDvJi.js";import{e as Ke}from"../chunks/DMhVG_ro.js";import"../chunks/IHki7fMi.js";import"../chunks/BkTZdoZE.js";import{p as _t}from"../chunks/C6Nbyvij.js";import{b as Me}from"../chunks/CIy9Z9Qf.js";import{s as Ce}from"../chunks/Bp_ajb_u.js";import{I as Oe}from"../chunks/DHO4ENnJ.js";import{N as mt}from"../chunks/CYamOUSl.js";const be=e=>{const t=e instanceof Date?e:new Date(e),a=new Intl.RelativeTimeFormat("en"),n={years:3600*24*365,months:3600*24*30,weeks:3600*24*7,days:3600*24,hours:3600,minutes:60,seconds:1},s=(t.getTime()-Date.now())/1e3;for(let i in n)if(n[i]{const t=e instanceof Date?e:new Date(e),a=new Intl.RelativeTimeFormat("en"),n={years:3600*24*365,months:3600*24*30,weeks:3600*24*7,days:3600*24,hours:3600,minutes:60,seconds:1},s=(t.getTime()-Date.now())/1e3;for(let i in n)if(n[i]{o.preventDefault();const p=await Me.retry({properties:new FormData(s)});p.errors?Ce.notification.create("error",`Background job ${p.admin_background_job_retry.id} could not be run again`):(i("itemsChanged"),Ce.notification.create("success",`Background job ${p.admin_background_job_retry.id} planned to run again`))};function v(o){Le[o?"unshift":"push"](()=>{s=o,a(1,s)})}return e.$$set=o=>{"id"in o&&a(0,n=o.id)},[n,s,_,v]}class gt extends Ue{constructor(t){super(),je(this,t,ht,pt,Ae,{id:0})}}function vt(e){let t,a,n,s,i,_,v,o,p,h;return _=new Oe({props:{icon:"x",size:"22"}}),{c(){t=f("form"),a=f("input"),n=N(),s=f("button"),i=f("i"),ve(_.$$.fragment),v=X(` Delete background job`),this.h()},l(r){t=d(r,"FORM",{});var b=y(t);a=d(b,"INPUT",{type:!0,name:!0}),n=L(b),s=d(b,"BUTTON",{class:!0});var P=y(s);i=d(P,"I",{class:!0});var k=y(i);ge(_.$$.fragment,k),k.forEach(u),v=W(P,` diff --git a/gui/next/build/_app/immutable/nodes/21.Dfq71RmU.js b/gui/next/build/_app/immutable/nodes/21.DCLUMyDG.js similarity index 99% rename from gui/next/build/_app/immutable/nodes/21.Dfq71RmU.js rename to gui/next/build/_app/immutable/nodes/21.DCLUMyDG.js index 96cf7d285..4250d58d1 100644 --- a/gui/next/build/_app/immutable/nodes/21.Dfq71RmU.js +++ b/gui/next/build/_app/immutable/nodes/21.DCLUMyDG.js @@ -1 +1 @@ -import{S as Be,i as He,s as We,d as u,E as Ne,o as q,p as N,b as c,I as qe,v as Ge,h as W,L as Ae,k as G,M as Ve,l as Te,a as J,z,R as le,H as ie,c as k,e as h,f as M,g as O,y as K,j as v,t as R,K as A,O as Qe,n as Le}from"../chunks/n7YEDvJi.js";import{e as we}from"../chunks/DMhVG_ro.js";import"../chunks/IHki7fMi.js";import{p as Xe}from"../chunks/C6Nbyvij.js";import{u as Ye}from"../chunks/CNoDK8-a.js";import{s as Ze}from"../chunks/Bp_ajb_u.js";import{t as ye}from"../chunks/x4PJc0Qf.js";import{A as xe}from"../chunks/CqRAXfEk.js";import{J as et}from"../chunks/CMNnzBs7.js";function Ie(o,t,s){const l=o.slice();return l[4]=t[s][0],l[5]=t[s][1],l}function Se(o){var i;let t,s=((i=o[1])==null?void 0:i.id)+"",l;return{c(){t=R("ID: "),l=R(s)},l(f){t=O(f,"ID: "),l=O(f,s)},m(f,a){c(f,t,a),c(f,l,a)},p(f,a){var e;a&2&&s!==(s=((e=f[1])==null?void 0:e.id)+"")&&J(l,s)},d(f){f&&(u(t),u(l))}}}function je(o){var a;let t,s="External ID:",l,i=((a=o[1])==null?void 0:a.external_id)+"",f;return{c(){t=v("dt"),t.textContent=s,l=v("dd"),f=R(i),this.h()},l(e){t=h(e,"DT",{class:!0,"data-svelte-h":!0}),A(t)!=="svelte-1xroeo8"&&(t.textContent=s),l=h(e,"DD",{class:!0});var n=M(l);f=O(n,i),n.forEach(u),this.h()},h(){z(t,"class","svelte-uhfiox"),z(l,"class","svelte-uhfiox")},m(e,n){c(e,t,n),c(e,l,n),k(l,f)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.external_id)+"")&&J(f,i)},d(e){e&&(u(t),u(l))}}}function Pe(o){var a;let t,s="JWT:",l,i=((a=o[1])==null?void 0:a.jwt_token)+"",f;return{c(){t=v("dt"),t.textContent=s,l=v("dd"),f=R(i),this.h()},l(e){t=h(e,"DT",{class:!0,"data-svelte-h":!0}),A(t)!=="svelte-l7ssfz"&&(t.textContent=s),l=h(e,"DD",{class:!0});var n=M(l);f=O(n,i),n.forEach(u),this.h()},h(){z(t,"class","svelte-uhfiox"),z(l,"class","svelte-uhfiox")},m(e,n){c(e,t,n),c(e,l,n),k(l,f)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.jwt_token)+"")&&J(f,i)},d(e){e&&(u(t),u(l))}}}function Ue(o){var a;let t,s="First name:",l,i=((a=o[1])==null?void 0:a.name)+"",f;return{c(){t=v("dt"),t.textContent=s,l=v("dd"),f=R(i)},l(e){t=h(e,"DT",{"data-svelte-h":!0}),A(t)!=="svelte-8iyt8l"&&(t.textContent=s),l=h(e,"DD",{});var n=M(l);f=O(n,i),n.forEach(u)},m(e,n){c(e,t,n),c(e,l,n),k(l,f)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.name)+"")&&J(f,i)},d(e){e&&(u(t),u(l))}}}function Me(o){var a;let t,s="First name:",l,i=((a=o[1])==null?void 0:a.first_name)+"",f;return{c(){t=v("dt"),t.textContent=s,l=v("dd"),f=R(i)},l(e){t=h(e,"DT",{"data-svelte-h":!0}),A(t)!=="svelte-8iyt8l"&&(t.textContent=s),l=h(e,"DD",{});var n=M(l);f=O(n,i),n.forEach(u)},m(e,n){c(e,t,n),c(e,l,n),k(l,f)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.first_name)+"")&&J(f,i)},d(e){e&&(u(t),u(l))}}}function Ke(o){var a;let t,s="Middle name:",l,i=((a=o[1])==null?void 0:a.middle_name)+"",f;return{c(){t=v("dt"),t.textContent=s,l=v("dd"),f=R(i)},l(e){t=h(e,"DT",{"data-svelte-h":!0}),A(t)!=="svelte-1eitmmc"&&(t.textContent=s),l=h(e,"DD",{});var n=M(l);f=O(n,i),n.forEach(u)},m(e,n){c(e,t,n),c(e,l,n),k(l,f)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.middle_name)+"")&&J(f,i)},d(e){e&&(u(t),u(l))}}}function Oe(o){var a;let t,s="Last name:",l,i=((a=o[1])==null?void 0:a.last_name)+"",f;return{c(){t=v("dt"),t.textContent=s,l=v("dd"),f=R(i)},l(e){t=h(e,"DT",{"data-svelte-h":!0}),A(t)!=="svelte-1sn8cp"&&(t.textContent=s),l=h(e,"DD",{});var n=M(l);f=O(n,i),n.forEach(u)},m(e,n){c(e,t,n),c(e,l,n),k(l,f)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.last_name)+"")&&J(f,i)},d(e){e&&(u(t),u(l))}}}function Re(o){var a;let t,s="Slug:",l,i=((a=o[1])==null?void 0:a.slug)+"",f;return{c(){t=v("dt"),t.textContent=s,l=v("dd"),f=R(i)},l(e){t=h(e,"DT",{"data-svelte-h":!0}),A(t)!=="svelte-q9mm1z"&&(t.textContent=s),l=h(e,"DD",{});var n=M(l);f=O(n,i),n.forEach(u)},m(e,n){c(e,t,n),c(e,l,n),k(l,f)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.slug)+"")&&J(f,i)},d(e){e&&(u(t),u(l))}}}function Je(o){var a;let t,s="Language:",l,i=((a=o[1])==null?void 0:a.language)+"",f;return{c(){t=v("dt"),t.textContent=s,l=v("dd"),f=R(i)},l(e){t=h(e,"DT",{"data-svelte-h":!0}),A(t)!=="svelte-14i3pp2"&&(t.textContent=s),l=h(e,"DD",{});var n=M(l);f=O(n,i),n.forEach(u)},m(e,n){c(e,t,n),c(e,l,n),k(l,f)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.language)+"")&&J(f,i)},d(e){e&&(u(t),u(l))}}}function ze(o){let t,s,l=we(Object.entries(o[1].properties)),i=[];for(let a=0;aq(i[a],1,1,()=>{i[a]=null});return{c(){t=v("dl");for(let a=0;a{g[_]=null}),ie(),e=g[a],e?e.p(p,b):(e=g[a]=C[a](p),e.c()),N(e,1),e.m(i,n))},i(p){r||(N(e),r=!0)},o(p){q(e),r=!1},d(p){p&&(u(t),u(i)),g[a].d()}}}function it(o){var ne,ae,se,fe,oe,re,de,ue,_e,ce,me,pe;let t,s,l,i,f=new Date((ne=o[1])==null?void 0:ne.created_at).toLocaleDateString(void 0,{})+"",a,e,n=new Date((ae=o[1])==null?void 0:ae.created_at).toLocaleTimeString(void 0,{})+"",r,C,g,$,p,b,_,Y,Z,y,x,ee,te,Q,V,E=((se=o[1])==null?void 0:se.id)&&Se(o),T=((fe=o[1])==null?void 0:fe.external_id)&&je(o),L=((oe=o[1])==null?void 0:oe.jwt_token)&&Pe(o),w=((re=o[1])==null?void 0:re.name)&&Ue(o),I=((de=o[1])==null?void 0:de.first_name)&&Me(o),S=((ue=o[1])==null?void 0:ue.middle_name)&&Ke(o),j=((_e=o[1])==null?void 0:_e.last_name)&&Oe(o),P=((ce=o[1])==null?void 0:ce.slug)&&Re(o),U=((me=o[1])==null?void 0:me.language)&&Je(o),D=((pe=o[1])==null?void 0:pe.properties)&&ze(o);return{c(){t=v("div"),s=v("div"),E&&E.c(),l=G(),i=v("time"),a=R(f),e=G(),r=R(n),g=G(),$=v("dl"),T&&T.c(),p=K(),L&&L.c(),b=G(),_=v("dl"),w&&w.c(),Y=K(),I&&I.c(),Z=K(),S&&S.c(),y=K(),j&&j.c(),x=K(),P&&P.c(),ee=K(),U&&U.c(),te=G(),D&&D.c(),Q=K(),this.h()},l(d){t=h(d,"DIV",{});var m=M(t);s=h(m,"DIV",{class:!0});var B=M(s);E&&E.l(B),l=W(B),i=h(B,"TIME",{datetime:!0,class:!0});var H=M(i);a=O(H,f),e=W(H),r=O(H,n),H.forEach(u),B.forEach(u),m.forEach(u),g=W(d),$=h(d,"DL",{class:!0});var X=M($);T&&T.l(X),p=K(),L&&L.l(X),X.forEach(u),b=W(d),_=h(d,"DL",{class:!0});var F=M(_);w&&w.l(F),Y=K(),I&&I.l(F),Z=K(),S&&S.l(F),y=K(),j&&j.l(F),x=K(),P&&P.l(F),ee=K(),U&&U.l(F),F.forEach(u),te=W(d),D&&D.l(d),Q=K(),this.h()},h(){var d;z(i,"datetime",C=(d=o[1])==null?void 0:d.created_at),z(i,"class","svelte-uhfiox"),z(s,"class","info svelte-uhfiox"),z($,"class","tech svelte-uhfiox"),z(_,"class","personal definitions svelte-uhfiox")},m(d,m){c(d,t,m),k(t,s),E&&E.m(s,null),k(s,l),k(s,i),k(i,a),k(i,e),k(i,r),c(d,g,m),c(d,$,m),T&&T.m($,null),k($,p),L&&L.m($,null),c(d,b,m),c(d,_,m),w&&w.m(_,null),k(_,Y),I&&I.m(_,null),k(_,Z),S&&S.m(_,null),k(_,y),j&&j.m(_,null),k(_,x),P&&P.m(_,null),k(_,ee),U&&U.m(_,null),c(d,te,m),D&&D.m(d,m),c(d,Q,m),V=!0},p(d,m){var B,H,X,F,he,ve,ke,be,De,ge,Ce,$e,Ee;(B=d[1])!=null&&B.id?E?E.p(d,m):(E=Se(d),E.c(),E.m(s,l)):E&&(E.d(1),E=null),(!V||m&2)&&f!==(f=new Date((H=d[1])==null?void 0:H.created_at).toLocaleDateString(void 0,{})+"")&&J(a,f),(!V||m&2)&&n!==(n=new Date((X=d[1])==null?void 0:X.created_at).toLocaleTimeString(void 0,{})+"")&&J(r,n),(!V||m&2&&C!==(C=(F=d[1])==null?void 0:F.created_at))&&z(i,"datetime",C),(he=d[1])!=null&&he.external_id?T?T.p(d,m):(T=je(d),T.c(),T.m($,p)):T&&(T.d(1),T=null),(ve=d[1])!=null&&ve.jwt_token?L?L.p(d,m):(L=Pe(d),L.c(),L.m($,null)):L&&(L.d(1),L=null),(ke=d[1])!=null&&ke.name?w?w.p(d,m):(w=Ue(d),w.c(),w.m(_,Y)):w&&(w.d(1),w=null),(be=d[1])!=null&&be.first_name?I?I.p(d,m):(I=Me(d),I.c(),I.m(_,Z)):I&&(I.d(1),I=null),(De=d[1])!=null&&De.middle_name?S?S.p(d,m):(S=Ke(d),S.c(),S.m(_,y)):S&&(S.d(1),S=null),(ge=d[1])!=null&&ge.last_name?j?j.p(d,m):(j=Oe(d),j.c(),j.m(_,x)):j&&(j.d(1),j=null),(Ce=d[1])!=null&&Ce.slug?P?P.p(d,m):(P=Re(d),P.c(),P.m(_,ee)):P&&(P.d(1),P=null),($e=d[1])!=null&&$e.language?U?U.p(d,m):(U=Je(d),U.c(),U.m(_,null)):U&&(U.d(1),U=null),(Ee=d[1])!=null&&Ee.properties?D?(D.p(d,m),m&2&&N(D,1)):(D=ze(d),D.c(),N(D,1),D.m(Q.parentNode,Q)):D&&(le(),q(D,1,1,()=>{D=null}),ie())},i(d){V||(N(D),V=!0)},o(d){q(D),V=!1},d(d){d&&(u(t),u(g),u($),u(b),u(_),u(te),u(Q)),E&&E.d(),T&&T.d(),L&&L.d(),w&&w.d(),I&&I.d(),S&&S.d(),j&&j.d(),P&&P.d(),U&&U.d(),D&&D.d(d)}}}function nt(o){var f,a,e,n;let t,s,l,i;return document.title=t=(((f=o[1])==null?void 0:f.email)??"Users")+((a=o[2].online)!=null&&a.MPKIT_URL?": "+o[2].online.MPKIT_URL.replace("https://",""):""),l=new xe({props:{title:((e=o[1])==null?void 0:e.email)??((n=o[1])==null?void 0:n.id)??"Loading…",closeUrl:"/users?"+o[0].url.searchParams.toString(),$$slots:{default:[it]},$$scope:{ctx:o}}}),{c(){s=G(),Ve(l.$$.fragment)},l(r){Ge("svelte-n9gl86",document.head).forEach(u),s=W(r),Ae(l.$$.fragment,r)},m(r,C){c(r,s,C),qe(l,r,C),i=!0},p(r,[C]){var $,p,b,_;(!i||C&6)&&t!==(t=((($=r[1])==null?void 0:$.email)??"Users")+((p=r[2].online)!=null&&p.MPKIT_URL?": "+r[2].online.MPKIT_URL.replace("https://",""):""))&&(document.title=t);const g={};C&2&&(g.title=((b=r[1])==null?void 0:b.email)??((_=r[1])==null?void 0:_.id)??"Loading…"),C&1&&(g.closeUrl="/users?"+r[0].url.searchParams.toString()),C&258&&(g.$$scope={dirty:C,ctx:r}),l.$set(g)},i(r){i||(N(l.$$.fragment,r),i=!0)},o(r){q(l.$$.fragment,r),i=!1},d(r){r&&u(s),Ne(l,r)}}}function at(o,t,s){let l,i;Te(o,Xe,e=>s(0,l=e)),Te(o,Ze,e=>s(2,i=e));let f;const a=async()=>{const e={attribute:"id",value:l.params.id};await Ye.get(e).then(n=>{s(1,f=n.results[0])})};return o.$$.update=()=>{o.$$.dirty&1&&l.params.id&&a()},[l,f,i]}class pt extends Be{constructor(t){super(),He(this,t,at,nt,We,{})}}export{pt as component}; +import{S as Be,i as He,s as We,d as u,E as Ne,o as q,p as N,b as c,I as qe,v as Ge,h as W,L as Ae,k as G,M as Ve,l as Te,a as J,z,R as le,H as ie,c as k,e as h,f as M,g as O,y as K,j as v,t as R,K as A,O as Qe,n as Le}from"../chunks/n7YEDvJi.js";import{e as we}from"../chunks/DMhVG_ro.js";import"../chunks/IHki7fMi.js";import{p as Xe}from"../chunks/CPrwbBC6.js";import{u as Ye}from"../chunks/CNoDK8-a.js";import{s as Ze}from"../chunks/Bp_ajb_u.js";import{t as ye}from"../chunks/x4PJc0Qf.js";import{A as xe}from"../chunks/CqRAXfEk.js";import{J as et}from"../chunks/CMNnzBs7.js";function Ie(o,t,s){const l=o.slice();return l[4]=t[s][0],l[5]=t[s][1],l}function Se(o){var i;let t,s=((i=o[1])==null?void 0:i.id)+"",l;return{c(){t=R("ID: "),l=R(s)},l(f){t=O(f,"ID: "),l=O(f,s)},m(f,a){c(f,t,a),c(f,l,a)},p(f,a){var e;a&2&&s!==(s=((e=f[1])==null?void 0:e.id)+"")&&J(l,s)},d(f){f&&(u(t),u(l))}}}function je(o){var a;let t,s="External ID:",l,i=((a=o[1])==null?void 0:a.external_id)+"",f;return{c(){t=v("dt"),t.textContent=s,l=v("dd"),f=R(i),this.h()},l(e){t=h(e,"DT",{class:!0,"data-svelte-h":!0}),A(t)!=="svelte-1xroeo8"&&(t.textContent=s),l=h(e,"DD",{class:!0});var n=M(l);f=O(n,i),n.forEach(u),this.h()},h(){z(t,"class","svelte-uhfiox"),z(l,"class","svelte-uhfiox")},m(e,n){c(e,t,n),c(e,l,n),k(l,f)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.external_id)+"")&&J(f,i)},d(e){e&&(u(t),u(l))}}}function Pe(o){var a;let t,s="JWT:",l,i=((a=o[1])==null?void 0:a.jwt_token)+"",f;return{c(){t=v("dt"),t.textContent=s,l=v("dd"),f=R(i),this.h()},l(e){t=h(e,"DT",{class:!0,"data-svelte-h":!0}),A(t)!=="svelte-l7ssfz"&&(t.textContent=s),l=h(e,"DD",{class:!0});var n=M(l);f=O(n,i),n.forEach(u),this.h()},h(){z(t,"class","svelte-uhfiox"),z(l,"class","svelte-uhfiox")},m(e,n){c(e,t,n),c(e,l,n),k(l,f)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.jwt_token)+"")&&J(f,i)},d(e){e&&(u(t),u(l))}}}function Ue(o){var a;let t,s="First name:",l,i=((a=o[1])==null?void 0:a.name)+"",f;return{c(){t=v("dt"),t.textContent=s,l=v("dd"),f=R(i)},l(e){t=h(e,"DT",{"data-svelte-h":!0}),A(t)!=="svelte-8iyt8l"&&(t.textContent=s),l=h(e,"DD",{});var n=M(l);f=O(n,i),n.forEach(u)},m(e,n){c(e,t,n),c(e,l,n),k(l,f)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.name)+"")&&J(f,i)},d(e){e&&(u(t),u(l))}}}function Me(o){var a;let t,s="First name:",l,i=((a=o[1])==null?void 0:a.first_name)+"",f;return{c(){t=v("dt"),t.textContent=s,l=v("dd"),f=R(i)},l(e){t=h(e,"DT",{"data-svelte-h":!0}),A(t)!=="svelte-8iyt8l"&&(t.textContent=s),l=h(e,"DD",{});var n=M(l);f=O(n,i),n.forEach(u)},m(e,n){c(e,t,n),c(e,l,n),k(l,f)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.first_name)+"")&&J(f,i)},d(e){e&&(u(t),u(l))}}}function Ke(o){var a;let t,s="Middle name:",l,i=((a=o[1])==null?void 0:a.middle_name)+"",f;return{c(){t=v("dt"),t.textContent=s,l=v("dd"),f=R(i)},l(e){t=h(e,"DT",{"data-svelte-h":!0}),A(t)!=="svelte-1eitmmc"&&(t.textContent=s),l=h(e,"DD",{});var n=M(l);f=O(n,i),n.forEach(u)},m(e,n){c(e,t,n),c(e,l,n),k(l,f)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.middle_name)+"")&&J(f,i)},d(e){e&&(u(t),u(l))}}}function Oe(o){var a;let t,s="Last name:",l,i=((a=o[1])==null?void 0:a.last_name)+"",f;return{c(){t=v("dt"),t.textContent=s,l=v("dd"),f=R(i)},l(e){t=h(e,"DT",{"data-svelte-h":!0}),A(t)!=="svelte-1sn8cp"&&(t.textContent=s),l=h(e,"DD",{});var n=M(l);f=O(n,i),n.forEach(u)},m(e,n){c(e,t,n),c(e,l,n),k(l,f)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.last_name)+"")&&J(f,i)},d(e){e&&(u(t),u(l))}}}function Re(o){var a;let t,s="Slug:",l,i=((a=o[1])==null?void 0:a.slug)+"",f;return{c(){t=v("dt"),t.textContent=s,l=v("dd"),f=R(i)},l(e){t=h(e,"DT",{"data-svelte-h":!0}),A(t)!=="svelte-q9mm1z"&&(t.textContent=s),l=h(e,"DD",{});var n=M(l);f=O(n,i),n.forEach(u)},m(e,n){c(e,t,n),c(e,l,n),k(l,f)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.slug)+"")&&J(f,i)},d(e){e&&(u(t),u(l))}}}function Je(o){var a;let t,s="Language:",l,i=((a=o[1])==null?void 0:a.language)+"",f;return{c(){t=v("dt"),t.textContent=s,l=v("dd"),f=R(i)},l(e){t=h(e,"DT",{"data-svelte-h":!0}),A(t)!=="svelte-14i3pp2"&&(t.textContent=s),l=h(e,"DD",{});var n=M(l);f=O(n,i),n.forEach(u)},m(e,n){c(e,t,n),c(e,l,n),k(l,f)},p(e,n){var r;n&2&&i!==(i=((r=e[1])==null?void 0:r.language)+"")&&J(f,i)},d(e){e&&(u(t),u(l))}}}function ze(o){let t,s,l=we(Object.entries(o[1].properties)),i=[];for(let a=0;aq(i[a],1,1,()=>{i[a]=null});return{c(){t=v("dl");for(let a=0;a{g[_]=null}),ie(),e=g[a],e?e.p(p,b):(e=g[a]=C[a](p),e.c()),N(e,1),e.m(i,n))},i(p){r||(N(e),r=!0)},o(p){q(e),r=!1},d(p){p&&(u(t),u(i)),g[a].d()}}}function it(o){var ne,ae,se,fe,oe,re,de,ue,_e,ce,me,pe;let t,s,l,i,f=new Date((ne=o[1])==null?void 0:ne.created_at).toLocaleDateString(void 0,{})+"",a,e,n=new Date((ae=o[1])==null?void 0:ae.created_at).toLocaleTimeString(void 0,{})+"",r,C,g,$,p,b,_,Y,Z,y,x,ee,te,Q,V,E=((se=o[1])==null?void 0:se.id)&&Se(o),T=((fe=o[1])==null?void 0:fe.external_id)&&je(o),L=((oe=o[1])==null?void 0:oe.jwt_token)&&Pe(o),w=((re=o[1])==null?void 0:re.name)&&Ue(o),I=((de=o[1])==null?void 0:de.first_name)&&Me(o),S=((ue=o[1])==null?void 0:ue.middle_name)&&Ke(o),j=((_e=o[1])==null?void 0:_e.last_name)&&Oe(o),P=((ce=o[1])==null?void 0:ce.slug)&&Re(o),U=((me=o[1])==null?void 0:me.language)&&Je(o),D=((pe=o[1])==null?void 0:pe.properties)&&ze(o);return{c(){t=v("div"),s=v("div"),E&&E.c(),l=G(),i=v("time"),a=R(f),e=G(),r=R(n),g=G(),$=v("dl"),T&&T.c(),p=K(),L&&L.c(),b=G(),_=v("dl"),w&&w.c(),Y=K(),I&&I.c(),Z=K(),S&&S.c(),y=K(),j&&j.c(),x=K(),P&&P.c(),ee=K(),U&&U.c(),te=G(),D&&D.c(),Q=K(),this.h()},l(d){t=h(d,"DIV",{});var m=M(t);s=h(m,"DIV",{class:!0});var B=M(s);E&&E.l(B),l=W(B),i=h(B,"TIME",{datetime:!0,class:!0});var H=M(i);a=O(H,f),e=W(H),r=O(H,n),H.forEach(u),B.forEach(u),m.forEach(u),g=W(d),$=h(d,"DL",{class:!0});var X=M($);T&&T.l(X),p=K(),L&&L.l(X),X.forEach(u),b=W(d),_=h(d,"DL",{class:!0});var F=M(_);w&&w.l(F),Y=K(),I&&I.l(F),Z=K(),S&&S.l(F),y=K(),j&&j.l(F),x=K(),P&&P.l(F),ee=K(),U&&U.l(F),F.forEach(u),te=W(d),D&&D.l(d),Q=K(),this.h()},h(){var d;z(i,"datetime",C=(d=o[1])==null?void 0:d.created_at),z(i,"class","svelte-uhfiox"),z(s,"class","info svelte-uhfiox"),z($,"class","tech svelte-uhfiox"),z(_,"class","personal definitions svelte-uhfiox")},m(d,m){c(d,t,m),k(t,s),E&&E.m(s,null),k(s,l),k(s,i),k(i,a),k(i,e),k(i,r),c(d,g,m),c(d,$,m),T&&T.m($,null),k($,p),L&&L.m($,null),c(d,b,m),c(d,_,m),w&&w.m(_,null),k(_,Y),I&&I.m(_,null),k(_,Z),S&&S.m(_,null),k(_,y),j&&j.m(_,null),k(_,x),P&&P.m(_,null),k(_,ee),U&&U.m(_,null),c(d,te,m),D&&D.m(d,m),c(d,Q,m),V=!0},p(d,m){var B,H,X,F,he,ve,ke,be,De,ge,Ce,$e,Ee;(B=d[1])!=null&&B.id?E?E.p(d,m):(E=Se(d),E.c(),E.m(s,l)):E&&(E.d(1),E=null),(!V||m&2)&&f!==(f=new Date((H=d[1])==null?void 0:H.created_at).toLocaleDateString(void 0,{})+"")&&J(a,f),(!V||m&2)&&n!==(n=new Date((X=d[1])==null?void 0:X.created_at).toLocaleTimeString(void 0,{})+"")&&J(r,n),(!V||m&2&&C!==(C=(F=d[1])==null?void 0:F.created_at))&&z(i,"datetime",C),(he=d[1])!=null&&he.external_id?T?T.p(d,m):(T=je(d),T.c(),T.m($,p)):T&&(T.d(1),T=null),(ve=d[1])!=null&&ve.jwt_token?L?L.p(d,m):(L=Pe(d),L.c(),L.m($,null)):L&&(L.d(1),L=null),(ke=d[1])!=null&&ke.name?w?w.p(d,m):(w=Ue(d),w.c(),w.m(_,Y)):w&&(w.d(1),w=null),(be=d[1])!=null&&be.first_name?I?I.p(d,m):(I=Me(d),I.c(),I.m(_,Z)):I&&(I.d(1),I=null),(De=d[1])!=null&&De.middle_name?S?S.p(d,m):(S=Ke(d),S.c(),S.m(_,y)):S&&(S.d(1),S=null),(ge=d[1])!=null&&ge.last_name?j?j.p(d,m):(j=Oe(d),j.c(),j.m(_,x)):j&&(j.d(1),j=null),(Ce=d[1])!=null&&Ce.slug?P?P.p(d,m):(P=Re(d),P.c(),P.m(_,ee)):P&&(P.d(1),P=null),($e=d[1])!=null&&$e.language?U?U.p(d,m):(U=Je(d),U.c(),U.m(_,null)):U&&(U.d(1),U=null),(Ee=d[1])!=null&&Ee.properties?D?(D.p(d,m),m&2&&N(D,1)):(D=ze(d),D.c(),N(D,1),D.m(Q.parentNode,Q)):D&&(le(),q(D,1,1,()=>{D=null}),ie())},i(d){V||(N(D),V=!0)},o(d){q(D),V=!1},d(d){d&&(u(t),u(g),u($),u(b),u(_),u(te),u(Q)),E&&E.d(),T&&T.d(),L&&L.d(),w&&w.d(),I&&I.d(),S&&S.d(),j&&j.d(),P&&P.d(),U&&U.d(),D&&D.d(d)}}}function nt(o){var f,a,e,n;let t,s,l,i;return document.title=t=(((f=o[1])==null?void 0:f.email)??"Users")+((a=o[2].online)!=null&&a.MPKIT_URL?": "+o[2].online.MPKIT_URL.replace("https://",""):""),l=new xe({props:{title:((e=o[1])==null?void 0:e.email)??((n=o[1])==null?void 0:n.id)??"Loading…",closeUrl:"/users?"+o[0].url.searchParams.toString(),$$slots:{default:[it]},$$scope:{ctx:o}}}),{c(){s=G(),Ve(l.$$.fragment)},l(r){Ge("svelte-n9gl86",document.head).forEach(u),s=W(r),Ae(l.$$.fragment,r)},m(r,C){c(r,s,C),qe(l,r,C),i=!0},p(r,[C]){var $,p,b,_;(!i||C&6)&&t!==(t=((($=r[1])==null?void 0:$.email)??"Users")+((p=r[2].online)!=null&&p.MPKIT_URL?": "+r[2].online.MPKIT_URL.replace("https://",""):""))&&(document.title=t);const g={};C&2&&(g.title=((b=r[1])==null?void 0:b.email)??((_=r[1])==null?void 0:_.id)??"Loading…"),C&1&&(g.closeUrl="/users?"+r[0].url.searchParams.toString()),C&258&&(g.$$scope={dirty:C,ctx:r}),l.$set(g)},i(r){i||(N(l.$$.fragment,r),i=!0)},o(r){q(l.$$.fragment,r),i=!1},d(r){r&&u(s),Ne(l,r)}}}function at(o,t,s){let l,i;Te(o,Xe,e=>s(0,l=e)),Te(o,Ze,e=>s(2,i=e));let f;const a=async()=>{const e={attribute:"id",value:l.params.id};await Ye.get(e).then(n=>{s(1,f=n.results[0])})};return o.$$.update=()=>{o.$$.dirty&1&&l.params.id&&a()},[l,f,i]}class pt extends Be{constructor(t){super(),He(this,t,at,nt,We,{})}}export{pt as component}; diff --git a/gui/next/build/_app/immutable/nodes/4.DM9kxUlW.js b/gui/next/build/_app/immutable/nodes/4._K5Xz6p4.js similarity index 99% rename from gui/next/build/_app/immutable/nodes/4.DM9kxUlW.js rename to gui/next/build/_app/immutable/nodes/4._K5Xz6p4.js index b6cbe3958..1f163138a 100644 --- a/gui/next/build/_app/immutable/nodes/4.DM9kxUlW.js +++ b/gui/next/build/_app/immutable/nodes/4._K5Xz6p4.js @@ -1 +1 @@ -import{S as le,i as ae,s as ne,d as g,O as ie,x as ce,o as L,p as C,R as fe,H as ue,F as G,b as B,c as p,J as z,z as b,e as v,f as I,h as K,K as P,j as k,k as A,l as Y,N as de,W as he,a5 as re,n as R,E as F,I as J,L as Q,M as W,X as _e,a3 as me,a as pe,Q as M,g as be,t as ge,C as Z,m as ve,u as ke,q as Ee,r as ye}from"../chunks/n7YEDvJi.js";import"../chunks/IHki7fMi.js";import{e as x}from"../chunks/DMhVG_ro.js";import{f as Se}from"../chunks/BaKpYqK2.js";import{p as Ie}from"../chunks/C6Nbyvij.js";import{s as ee}from"../chunks/Bp_ajb_u.js";import{t as we}from"../chunks/t7b_BBSP.js";import{I as oe}from"../chunks/DHO4ENnJ.js";function te(i,e,t){const r=i.slice();return r[15]=e[t],r[17]=t,r}function Ce(i){let e,t,r;return t=new oe({props:{icon:"search",size:"18"}}),{c(){e=k("i"),W(t.$$.fragment),this.h()},l(o){e=v(o,"I",{class:!0});var l=I(e);Q(t.$$.fragment,l),l.forEach(g),this.h()},h(){b(e,"class","svelte-117f3bg")},m(o,l){B(o,e,l),J(t,e,null),r=!0},p:R,i(o){r||(C(t.$$.fragment,o),r=!0)},o(o){L(t.$$.fragment,o),r=!1},d(o){o&&g(e),F(t)}}}function De(i){let e,t,r="Reset filter",o,l,d,s,a;return l=new oe({props:{icon:"x",size:"18"}}),{c(){e=k("button"),t=k("span"),t.textContent=r,o=A(),W(l.$$.fragment),this.h()},l(n){e=v(n,"BUTTON",{class:!0});var m=I(e);t=v(m,"SPAN",{class:!0,"data-svelte-h":!0}),P(t)!=="svelte-8g7ehw"&&(t.textContent=r),o=K(m),Q(l.$$.fragment,m),m.forEach(g),this.h()},h(){b(t,"class","label"),b(e,"class","svelte-117f3bg")},m(n,m){B(n,e,m),p(e,t),p(e,o),J(l,e,null),d=!0,s||(a=z(e,"click",i[8]),s=!0)},p:R,i(n){d||(C(l.$$.fragment,n),d=!0)},o(n){L(l.$$.fragment,n),d=!1},d(n){n&&g(e),F(l),s=!1,a()}}}function se(i){let e,t,r=i[15].name+"",o,l,d,s;return{c(){e=k("li"),t=k("a"),o=ge(r),d=A(),this.h()},l(a){e=v(a,"LI",{});var n=I(e);t=v(n,"A",{href:!0,class:!0});var m=I(t);o=be(m,r),m.forEach(g),d=K(n),n.forEach(g),this.h()},h(){b(t,"href",l="/database/table/"+i[15].id),b(t,"class","svelte-117f3bg"),M(t,"active",i[15].id===i[4].params.id)},m(a,n){B(a,e,n),p(e,t),p(t,o),p(e,d)},p(a,n){n&1&&r!==(r=a[15].name+"")&&pe(o,r),n&1&&l!==(l="/database/table/"+a[15].id)&&b(t,"href",l),n&17&&M(t,"active",a[15].id===a[4].params.id)},i(a){a&&(s||_e(()=>{s=me(e,Se,{duration:100,delay:7*i[17]}),s.start()}))},o:R,d(a){a&&g(e)}}}function $e(i){let e,t,r,o,l,d,s,a,n,m="Ctrl",y,j="K",V,D,$,N,H,c;const T=[De,Ce],S=[];function U(f,_){return f[3]?0:1}o=U(i),l=S[o]=T[o](i);let w=x(i[0]),h=[];for(let f=0;f{S[E]=null}),ue(),l=S[o],l?l.p(f,_):(l=S[o]=T[o](f),l.c()),C(l,1),l.m(r,d)),_&8&&s.value!==f[3]&&G(s,f[3]),_&17){w=x(f[0]);let u;for(u=0;ut(4,r=c)),Y(i,ee,c=>t(13,o=c));let l=o.tables,d=l,s,a,n;(async()=>await we.get())().then(c=>{l=c,t(0,d=c),de(ee,o.tables=c,o)});const m=he();re(async()=>{a.focus(),document.addEventListener("keydown",c=>{c.ctrlKey&&c.key==="k"&&(c.preventDefault(),m("sidebarNeeded"),a.focus(),a.select())}),r.data.table&&s.querySelector(`[href$="${r.data.table.id}"]`).scrollIntoView({behavior:"smooth",block:"center"})});const y=()=>{n?t(0,d=l.filter(c=>c.name.includes(n))):t(0,d=l)},j=c=>{c.key==="Escape"&&(t(3,n=""),y()),c.key==="Enter"&&s.querySelector("li:first-child a").click()},V=c=>{var T,S,U,w,h,f,_,E,u,q;c.key==="ArrowDown"&&s.contains(document.activeElement)&&(c.preventDefault(),document.activeElement.matches("input")?(T=s.querySelector("a"))==null||T.focus():(h=(w=(U=(S=document.activeElement)==null?void 0:S.parentElement)==null?void 0:U.nextElementSibling)==null?void 0:w.querySelector("a"))==null||h.focus()),c.key==="ArrowUp"&&s.contains(document.activeElement)&&(c.preventDefault(),(f=document.activeElement)!=null&&f.matches("li:first-child a")?a.focus():(q=(u=(E=(_=document.activeElement)==null?void 0:_.parentElement)==null?void 0:E.previousElementSibling)==null?void 0:u.querySelector("a"))==null||q.focus()),c.key==="Escape"&&s.contains(document.activeElement)&&(a.focus(),t(3,n=""),y())},D=()=>{t(3,n=null),y()};function $(c){Z[c?"unshift":"push"](()=>{a=c,t(2,a)})}function N(){n=this.value,t(3,n)}function H(c){Z[c?"unshift":"push"](()=>{s=c,t(1,s)})}return[d,s,a,n,r,y,j,V,D,$,N,H]}class Ne extends le{constructor(e){super(),ae(this,e,qe,$e,ne,{})}}function Ke(i){let e,t,r,o,l;r=new Ne({}),r.$on("sidebarNeeded",i[3]);const d=i[2].default,s=ve(d,i,i[1],null);return{c(){e=k("div"),t=k("div"),W(r.$$.fragment),o=A(),s&&s.c(),this.h()},l(a){e=v(a,"DIV",{class:!0});var n=I(e);t=v(n,"DIV",{class:!0});var m=I(t);Q(r.$$.fragment,m),m.forEach(g),o=K(n),s&&s.l(n),n.forEach(g),this.h()},h(){b(t,"class","tables-container svelte-s8xmdg"),b(e,"class","container svelte-s8xmdg"),M(e,"tablesHidden",i[0])},m(a,n){B(a,e,n),p(e,t),J(r,t,null),p(e,o),s&&s.m(e,null),l=!0},p(a,[n]){s&&s.p&&(!l||n&2)&&ke(s,d,a,a[1],l?ye(d,a[1],n,null):Ee(a[1]),null),(!l||n&1)&&M(e,"tablesHidden",a[0])},i(a){l||(C(r.$$.fragment,a),C(s,a),l=!0)},o(a){L(r.$$.fragment,a),L(s,a),l=!1},d(a){a&&g(e),F(r),s&&s.d(a)}}}function Ae(i,e,t){let{$$slots:r={},$$scope:o}=e,l=!1;re(()=>{document.addEventListener("keydown",s=>{!s.target.matches("input, textarea")&&s.key==="b"&&(t(0,l=!l),localStorage.tablesHidden=l)})});const d=()=>t(0,l=!1);return i.$$set=s=>{"$$scope"in s&&t(1,o=s.$$scope)},[l,o,r,d]}class Me extends le{constructor(e){super(),ae(this,e,Ae,Ke,ne,{})}}export{Me as component}; +import{S as le,i as ae,s as ne,d as g,O as ie,x as ce,o as L,p as C,R as fe,H as ue,F as G,b as B,c as p,J as z,z as b,e as v,f as I,h as K,K as P,j as k,k as A,l as Y,N as de,W as he,a5 as re,n as R,E as F,I as J,L as Q,M as W,X as _e,a3 as me,a as pe,Q as M,g as be,t as ge,C as Z,m as ve,u as ke,q as Ee,r as ye}from"../chunks/n7YEDvJi.js";import"../chunks/IHki7fMi.js";import{e as x}from"../chunks/DMhVG_ro.js";import{f as Se}from"../chunks/BaKpYqK2.js";import{p as Ie}from"../chunks/CPrwbBC6.js";import{s as ee}from"../chunks/Bp_ajb_u.js";import{t as we}from"../chunks/t7b_BBSP.js";import{I as oe}from"../chunks/DHO4ENnJ.js";function te(i,e,t){const r=i.slice();return r[15]=e[t],r[17]=t,r}function Ce(i){let e,t,r;return t=new oe({props:{icon:"search",size:"18"}}),{c(){e=k("i"),W(t.$$.fragment),this.h()},l(o){e=v(o,"I",{class:!0});var l=I(e);Q(t.$$.fragment,l),l.forEach(g),this.h()},h(){b(e,"class","svelte-117f3bg")},m(o,l){B(o,e,l),J(t,e,null),r=!0},p:R,i(o){r||(C(t.$$.fragment,o),r=!0)},o(o){L(t.$$.fragment,o),r=!1},d(o){o&&g(e),F(t)}}}function De(i){let e,t,r="Reset filter",o,l,d,s,a;return l=new oe({props:{icon:"x",size:"18"}}),{c(){e=k("button"),t=k("span"),t.textContent=r,o=A(),W(l.$$.fragment),this.h()},l(n){e=v(n,"BUTTON",{class:!0});var m=I(e);t=v(m,"SPAN",{class:!0,"data-svelte-h":!0}),P(t)!=="svelte-8g7ehw"&&(t.textContent=r),o=K(m),Q(l.$$.fragment,m),m.forEach(g),this.h()},h(){b(t,"class","label"),b(e,"class","svelte-117f3bg")},m(n,m){B(n,e,m),p(e,t),p(e,o),J(l,e,null),d=!0,s||(a=z(e,"click",i[8]),s=!0)},p:R,i(n){d||(C(l.$$.fragment,n),d=!0)},o(n){L(l.$$.fragment,n),d=!1},d(n){n&&g(e),F(l),s=!1,a()}}}function se(i){let e,t,r=i[15].name+"",o,l,d,s;return{c(){e=k("li"),t=k("a"),o=ge(r),d=A(),this.h()},l(a){e=v(a,"LI",{});var n=I(e);t=v(n,"A",{href:!0,class:!0});var m=I(t);o=be(m,r),m.forEach(g),d=K(n),n.forEach(g),this.h()},h(){b(t,"href",l="/database/table/"+i[15].id),b(t,"class","svelte-117f3bg"),M(t,"active",i[15].id===i[4].params.id)},m(a,n){B(a,e,n),p(e,t),p(t,o),p(e,d)},p(a,n){n&1&&r!==(r=a[15].name+"")&&pe(o,r),n&1&&l!==(l="/database/table/"+a[15].id)&&b(t,"href",l),n&17&&M(t,"active",a[15].id===a[4].params.id)},i(a){a&&(s||_e(()=>{s=me(e,Se,{duration:100,delay:7*i[17]}),s.start()}))},o:R,d(a){a&&g(e)}}}function $e(i){let e,t,r,o,l,d,s,a,n,m="Ctrl",y,j="K",V,D,$,N,H,c;const T=[De,Ce],S=[];function U(f,_){return f[3]?0:1}o=U(i),l=S[o]=T[o](i);let w=x(i[0]),h=[];for(let f=0;f{S[E]=null}),ue(),l=S[o],l?l.p(f,_):(l=S[o]=T[o](f),l.c()),C(l,1),l.m(r,d)),_&8&&s.value!==f[3]&&G(s,f[3]),_&17){w=x(f[0]);let u;for(u=0;ut(4,r=c)),Y(i,ee,c=>t(13,o=c));let l=o.tables,d=l,s,a,n;(async()=>await we.get())().then(c=>{l=c,t(0,d=c),de(ee,o.tables=c,o)});const m=he();re(async()=>{a.focus(),document.addEventListener("keydown",c=>{c.ctrlKey&&c.key==="k"&&(c.preventDefault(),m("sidebarNeeded"),a.focus(),a.select())}),r.data.table&&s.querySelector(`[href$="${r.data.table.id}"]`).scrollIntoView({behavior:"smooth",block:"center"})});const y=()=>{n?t(0,d=l.filter(c=>c.name.includes(n))):t(0,d=l)},j=c=>{c.key==="Escape"&&(t(3,n=""),y()),c.key==="Enter"&&s.querySelector("li:first-child a").click()},V=c=>{var T,S,U,w,h,f,_,E,u,q;c.key==="ArrowDown"&&s.contains(document.activeElement)&&(c.preventDefault(),document.activeElement.matches("input")?(T=s.querySelector("a"))==null||T.focus():(h=(w=(U=(S=document.activeElement)==null?void 0:S.parentElement)==null?void 0:U.nextElementSibling)==null?void 0:w.querySelector("a"))==null||h.focus()),c.key==="ArrowUp"&&s.contains(document.activeElement)&&(c.preventDefault(),(f=document.activeElement)!=null&&f.matches("li:first-child a")?a.focus():(q=(u=(E=(_=document.activeElement)==null?void 0:_.parentElement)==null?void 0:E.previousElementSibling)==null?void 0:u.querySelector("a"))==null||q.focus()),c.key==="Escape"&&s.contains(document.activeElement)&&(a.focus(),t(3,n=""),y())},D=()=>{t(3,n=null),y()};function $(c){Z[c?"unshift":"push"](()=>{a=c,t(2,a)})}function N(){n=this.value,t(3,n)}function H(c){Z[c?"unshift":"push"](()=>{s=c,t(1,s)})}return[d,s,a,n,r,y,j,V,D,$,N,H]}class Ne extends le{constructor(e){super(),ae(this,e,qe,$e,ne,{})}}function Ke(i){let e,t,r,o,l;r=new Ne({}),r.$on("sidebarNeeded",i[3]);const d=i[2].default,s=ve(d,i,i[1],null);return{c(){e=k("div"),t=k("div"),W(r.$$.fragment),o=A(),s&&s.c(),this.h()},l(a){e=v(a,"DIV",{class:!0});var n=I(e);t=v(n,"DIV",{class:!0});var m=I(t);Q(r.$$.fragment,m),m.forEach(g),o=K(n),s&&s.l(n),n.forEach(g),this.h()},h(){b(t,"class","tables-container svelte-s8xmdg"),b(e,"class","container svelte-s8xmdg"),M(e,"tablesHidden",i[0])},m(a,n){B(a,e,n),p(e,t),J(r,t,null),p(e,o),s&&s.m(e,null),l=!0},p(a,[n]){s&&s.p&&(!l||n&2)&&ke(s,d,a,a[1],l?ye(d,a[1],n,null):Ee(a[1]),null),(!l||n&1)&&M(e,"tablesHidden",a[0])},i(a){l||(C(r.$$.fragment,a),C(s,a),l=!0)},o(a){L(r.$$.fragment,a),L(s,a),l=!1},d(a){a&&g(e),F(r),s&&s.d(a)}}}function Ae(i,e,t){let{$$slots:r={},$$scope:o}=e,l=!1;re(()=>{document.addEventListener("keydown",s=>{!s.target.matches("input, textarea")&&s.key==="b"&&(t(0,l=!l),localStorage.tablesHidden=l)})});const d=()=>t(0,l=!1);return i.$$set=s=>{"$$scope"in s&&t(1,o=s.$$scope)},[l,o,r,d]}class Me extends le{constructor(e){super(),ae(this,e,Ae,Ke,ne,{})}}export{Me as component}; diff --git a/gui/next/build/_app/immutable/nodes/6.Co53nSuQ.js b/gui/next/build/_app/immutable/nodes/6.Re2XD2Uj.js similarity index 98% rename from gui/next/build/_app/immutable/nodes/6.Co53nSuQ.js rename to gui/next/build/_app/immutable/nodes/6.Re2XD2Uj.js index 8f3f727e3..463775a34 100644 --- a/gui/next/build/_app/immutable/nodes/6.Co53nSuQ.js +++ b/gui/next/build/_app/immutable/nodes/6.Re2XD2Uj.js @@ -1,3 +1,3 @@ -import{S as ze,i as Ke,s as He,C as Be,D as Ve,d as p,E as de,x as je,o as x,p as j,F as ie,G as Ge,a as fe,z as a,H as Je,b as _e,c as n,I as be,J as me,v as Qe,h as A,e as _,f as E,K as ue,L as Ee,g as se,k as C,j as c,M as Te,t as ae,l as we,N as Ye,O as We,m as Xe,u as Ze,q as xe,r as et,P as tt,Q as Z,R as st}from"../chunks/n7YEDvJi.js";import{g as at}from"../chunks/D0QH3NT1.js";import{e as Me}from"../chunks/DMhVG_ro.js";import"../chunks/IHki7fMi.js";import{g as lt}from"../chunks/BkTZdoZE.js";import{p as rt}from"../chunks/C6Nbyvij.js";import{l as nt}from"../chunks/twsCDidx.js";import{s as ye}from"../chunks/Bp_ajb_u.js";import{I as Ne}from"../chunks/DHO4ENnJ.js";import{N as ot}from"../chunks/CYamOUSl.js";const{document:Le}=at;function Oe(t,l,i){const e=t.slice();return e[16]=l[i],e}function Re(t){let l,i=Me(t[3].logsv2.hits),e=[];for(let s=0;sVe(U,"value",Fe)),U.$on("input",t[14]);let b=t[0].params.id&&qe(t);return{c(){i=C(),e=c("div"),s=c("section"),f=c("nav"),r=c("form"),g=c("label"),g.textContent=w,k=C(),v=c("input"),T=C(),L=c("fieldset"),M=c("label"),Te(S.$$.fragment),D=C(),d=c("input"),N=C(),P=c("button"),m=c("span"),m.textContent=q,h=C(),Te(u.$$.fragment),G=C(),B=c("article"),y=c("table"),O=c("thead"),O.innerHTML=ee,J=C(),I&&I.c(),Q=C(),R=c("nav"),H=c("label"),H.textContent=Se,ce=C(),Te(U.$$.fragment),he=ae(` +import{S as ze,i as Ke,s as He,C as Be,D as Ve,d as p,E as de,x as je,o as x,p as j,F as ie,G as Ge,a as fe,z as a,H as Je,b as _e,c as n,I as be,J as me,v as Qe,h as A,e as _,f as E,K as ue,L as Ee,g as se,k as C,j as c,M as Te,t as ae,l as we,N as Ye,O as We,m as Xe,u as Ze,q as xe,r as et,P as tt,Q as Z,R as st}from"../chunks/n7YEDvJi.js";import{g as at}from"../chunks/D0QH3NT1.js";import{e as Me}from"../chunks/DMhVG_ro.js";import"../chunks/IHki7fMi.js";import{g as lt}from"../chunks/CuNuScQb.js";import{p as rt}from"../chunks/CPrwbBC6.js";import{l as nt}from"../chunks/twsCDidx.js";import{s as ye}from"../chunks/Bp_ajb_u.js";import{I as Ne}from"../chunks/DHO4ENnJ.js";import{N as ot}from"../chunks/CYamOUSl.js";const{document:Le}=at;function Oe(t,l,i){const e=t.slice();return e[16]=l[i],e}function Re(t){let l,i=Me(t[3].logsv2.hits),e=[];for(let s=0;sVe(U,"value",Fe)),U.$on("input",t[14]);let b=t[0].params.id&&qe(t);return{c(){i=C(),e=c("div"),s=c("section"),f=c("nav"),r=c("form"),g=c("label"),g.textContent=w,k=C(),v=c("input"),T=C(),L=c("fieldset"),M=c("label"),Te(S.$$.fragment),D=C(),d=c("input"),N=C(),P=c("button"),m=c("span"),m.textContent=q,h=C(),Te(u.$$.fragment),G=C(),B=c("article"),y=c("table"),O=c("thead"),O.innerHTML=ee,J=C(),I&&I.c(),Q=C(),R=c("nav"),H=c("label"),H.textContent=Se,ce=C(),Te(U.$$.fragment),he=ae(` of `),z=c("span"),le=ae(te),ge=C(),b&&b.c(),this.h()},l(o){Qe("svelte-dfdkqr",Le.head).forEach(p),i=A(o),e=_(o,"DIV",{class:!0});var K=E(e);s=_(K,"SECTION",{class:!0});var F=E(s);f=_(F,"NAV",{class:!0});var De=E(f);r=_(De,"FORM",{action:!0,id:!0,class:!0});var Y=E(r);g=_(Y,"LABEL",{for:!0,class:!0,"data-svelte-h":!0}),ue(g)!=="svelte-125i4ut"&&(g.textContent=w),k=A(Y),v=_(Y,"INPUT",{type:!0,name:!0,id:!0,min:!0,max:!0,class:!0}),T=A(Y),L=_(Y,"FIELDSET",{class:!0});var W=E(L);M=_(W,"LABEL",{for:!0,class:!0});var $e=E(M);Ee(S.$$.fragment,$e),$e.forEach(p),D=A(W),d=_(W,"INPUT",{type:!0,name:!0,id:!0,placeholder:!0,class:!0}),N=A(W),P=_(W,"BUTTON",{type:!0,class:!0});var ne=E(P);m=_(ne,"SPAN",{class:!0,"data-svelte-h":!0}),ue(m)!=="svelte-y4mewk"&&(m.textContent=q),h=A(ne),Ee(u.$$.fragment,ne),ne.forEach(p),W.forEach(p),Y.forEach(p),De.forEach(p),G=A(F),B=_(F,"ARTICLE",{class:!0});var Ae=E(B);y=_(Ae,"TABLE",{class:!0});var oe=E(y);O=_(oe,"THEAD",{class:!0,"data-svelte-h":!0}),ue(O)!=="svelte-uyatsk"&&(O.innerHTML=ee),J=A(oe),I&&I.l(oe),oe.forEach(p),Ae.forEach(p),Q=A(F),R=_(F,"NAV",{class:!0});var X=E(R);H=_(X,"LABEL",{for:!0,"data-svelte-h":!0}),ue(H)!=="svelte-1xadase"&&(H.textContent=Se),ce=A(X),Ee(U.$$.fragment,X),he=se(X,` of `),z=_(X,"SPAN",{class:!0,title:!0});var Ce=E(z);le=se(Ce,te),Ce.forEach(p),X.forEach(p),F.forEach(p),ge=A(K),b&&b.l(K),K.forEach(p),this.h()},h(){a(g,"for","start_time"),a(g,"class","label svelte-1mrr17l"),a(v,"type","date"),a(v,"name","start_time"),a(v,"id","start_time"),a(v,"min",t[5].toISOString().split("T")[0]),a(v,"max",t[4].toISOString().split("T")[0]),a(v,"class","svelte-1mrr17l"),a(M,"for","filter_message"),a(M,"class","svelte-1mrr17l"),a(d,"type","text"),a(d,"name","message"),a(d,"id","filter_message"),a(d,"placeholder","Find logs"),a(d,"class","svelte-1mrr17l"),a(m,"class","label svelte-1mrr17l"),a(P,"type","submit"),a(P,"class","button svelte-1mrr17l"),a(L,"class","search svelte-1mrr17l"),a(r,"action",""),a(r,"id","filters"),a(r,"class","svelte-1mrr17l"),a(f,"class","filters svelte-1mrr17l"),a(O,"class","svelte-1mrr17l"),a(y,"class","svelte-1mrr17l"),a(B,"class","content svelte-1mrr17l"),a(H,"for","page"),a(z,"class","info svelte-1mrr17l"),a(z,"title",re=t[3].logsv2.total+" logs total"),a(R,"class","pagination svelte-1mrr17l"),a(s,"class","container svelte-1mrr17l"),a(e,"class","page svelte-1mrr17l")},m(o,$){_e(o,i,$),_e(o,e,$),n(e,s),n(s,f),n(f,r),n(r,g),n(r,k),n(r,v),ie(v,t[2].start_time),n(r,T),n(r,L),n(L,M),be(S,M,null),n(L,D),n(L,d),ie(d,t[2].message),n(L,N),n(L,P),n(P,m),n(P,h),be(u,P,null),t[11](r),n(s,G),n(s,B),n(B,y),n(y,O),n(y,J),I&&I.m(y,null),n(s,Q),n(s,R),n(R,H),n(R,ce),be(U,R,null),n(R,he),n(R,z),n(z,le),n(e,ge),b&&b.m(e,null),V=!0,ve||(Pe=[me(v,"input",t[8]),me(v,"input",t[9]),me(d,"input",t[10]),me(r,"submit",t[12])],ve=!0)},p(o,[$]){var F;(!V||$&8)&&l!==(l="Logs"+((F=o[3].online)!=null&&F.MPKIT_URL?": "+o[3].online.MPKIT_URL.replace("https://",""):""))&&(Le.title=l),$&4&&ie(v,o[2].start_time),$&4&&d.value!==o[2].message&&ie(d,o[2].message),o[3].logsv2.hits?I?I.p(o,$):(I=Re(o),I.c(),I.m(y,null)):I&&(I.d(1),I=null);const K={};$&8&&(K.max=Math.ceil(o[3].logsv2.total/o[3].logsv2.size)||20),!pe&&$&4&&(pe=!0,K.value=o[2].page,Ge(()=>pe=!1)),U.$set(K),(!V||$&8)&&te!==(te=(Math.ceil(o[3].logsv2.total/o[3].logsv2.size)||1)+"")&&fe(le,te),(!V||$&8&&re!==(re=o[3].logsv2.total+" logs total"))&&a(z,"title",re),o[0].params.id?b?(b.p(o,$),$&1&&j(b,1)):(b=qe(o),b.c(),j(b,1),b.m(e,null)):b&&(st(),x(b,1,1,()=>{b=null}),Je())},i(o){V||(j(S.$$.fragment,o),j(u.$$.fragment,o),j(U.$$.fragment,o),j(b),V=!0)},o(o){x(S.$$.fragment,o),x(u.$$.fragment,o),x(U.$$.fragment,o),x(b),V=!1},d(o){o&&(p(i),p(e)),de(S),de(u),t[11](null),I&&I.d(),de(U),b&&b.d(),ve=!1,je(Pe)}}}function mt(t,l,i){let e,s;we(t,ye,m=>i(3,e=m)),we(t,rt,m=>i(0,s=m));let{$$slots:f={},$$scope:r}=l,g;const w=new Date,k=1e3*60*60*24,v=new Date(w-k*3);let T={page:1,start_time:w.toISOString().split("T")[0],...Object.fromEntries(s.url.searchParams)};function L(){T.start_time=this.value,i(2,T)}const M=()=>g.requestSubmit();function S(){T.message=this.value,i(2,T)}function D(m){Be[m?"unshift":"push"](()=>{g=m,i(1,g)})}const d=async m=>{var q;((q=m.submitter)==null?void 0:q.dataset.action)!=="numberIncrease"&&(m.preventDefault(),i(2,T.page=1,T),await tt(),lt(document.location.pathname+"?"+new URLSearchParams(new FormData(m.target)).toString()))};function N(m){t.$$.not_equal(T.page,m)&&(T.page=m,i(2,T))}const P=m=>{g.requestSubmit(m.detail.submitter)};return t.$$set=m=>{"$$scope"in m&&i(6,r=m.$$scope)},t.$$.update=()=>{t.$$.dirty&1&&nt.get(Object.fromEntries(s.url.searchParams)).then(m=>Ye(ye,e.logsv2=m,e))},[s,g,T,e,w,v,r,f,L,M,S,D,d,N,P]}class Et extends ze{constructor(l){super(),Ke(this,l,mt,it,He,{})}}export{Et as component}; diff --git a/gui/next/build/_app/immutable/nodes/7.CKEMr56f.js b/gui/next/build/_app/immutable/nodes/7.gbunpf_a.js similarity index 99% rename from gui/next/build/_app/immutable/nodes/7.CKEMr56f.js rename to gui/next/build/_app/immutable/nodes/7.gbunpf_a.js index febcb0845..917b876d8 100644 --- a/gui/next/build/_app/immutable/nodes/7.CKEMr56f.js +++ b/gui/next/build/_app/immutable/nodes/7.gbunpf_a.js @@ -1 +1 @@ -import{S as Rl,i as Ul,s as Hl,d as _,E as Ie,O as Qt,x as Wt,o as Z,p as B,R as Nt,H as Ct,b as U,c as n,I as Oe,J as Ee,V as Vl,z as o,e as f,f as g,h as O,K as ie,L as Le,j as h,k as L,M as qe,W as Bl,a as G,g as M,t as y,C as Ce,Q as be,F as oe,a9 as jl,v as Kl,l as kl,a5 as Zl,n as Jl,m as zl,u as Yl,q as Gl,r as Ql,N as wl,P as Tl,aa as Wl,ab as Xl,ac as Nl}from"../chunks/n7YEDvJi.js";import{e as Qe}from"../chunks/DMhVG_ro.js";import"../chunks/IHki7fMi.js";import{o as xl,b as es,a as ts}from"../chunks/BkTZdoZE.js";import{p as ls}from"../chunks/C6Nbyvij.js";import{n as ss}from"../chunks/hGAcGvnf.js";import{s as Gt}from"../chunks/Bp_ajb_u.js";import{T as as,c as rs}from"../chunks/B9_cNKsK.js";import{I as We}from"../chunks/DHO4ENnJ.js";import{g as ns}from"../chunks/D0QH3NT1.js";const{window:os}=ns;function Cl(t,l,s){const e=t.slice();return e[9]=l[s],e[11]=s,e}function Il(t){let l,s,e=t[9].name+"",a,i,r,u,E,P,p,k,c,b,C,T,w=t[9].name+"",d,N,v,m,D,S,j,ue;return m=new We({props:{icon:"x"}}),{c(){l=h("li"),s=h("a"),a=y(e),r=L(),u=h("form"),E=h("input"),P=L(),p=h("input"),c=L(),b=h("button"),C=h("span"),T=y("Delete '"),d=y(w),N=y("' preset"),v=L(),qe(m.$$.fragment),D=L(),this.h()},l(A){l=f(A,"LI",{class:!0});var R=g(l);s=f(R,"A",{href:!0,class:!0});var Q=g(s);a=M(Q,e),Q.forEach(_),r=O(R),u=f(R,"FORM",{class:!0});var x=g(u);E=f(x,"INPUT",{type:!0,name:!0}),P=O(x),p=f(x,"INPUT",{type:!0,name:!0}),c=O(x),b=f(x,"BUTTON",{type:!0,class:!0});var Y=g(b);C=f(Y,"SPAN",{class:!0});var W=g(C);T=M(W,"Delete '"),d=M(W,w),N=M(W,"' preset"),W.forEach(_),v=O(Y),Le(m.$$.fragment,Y),Y.forEach(_),x.forEach(_),D=O(R),R.forEach(_),this.h()},h(){o(s,"href",i="/network?"+t[9].url),o(s,"class","svelte-778p5v"),o(E,"type","hidden"),o(E,"name","id"),E.value=t[11],o(p,"type","hidden"),o(p,"name","name"),p.value=k=t[9].name,o(C,"class","label"),o(b,"type","submit"),o(b,"class","svelte-778p5v"),o(u,"class","svelte-778p5v"),o(l,"class","svelte-778p5v")},m(A,R){U(A,l,R),n(l,s),n(s,a),n(l,r),n(l,u),n(u,E),n(u,P),n(u,p),n(u,c),n(u,b),n(b,C),n(C,T),n(C,d),n(C,N),n(b,v),Oe(m,b,null),n(l,D),S=!0,j||(ue=Ee(u,"submit",Vl(t[5])),j=!0)},p(A,R){(!S||R&4)&&e!==(e=A[9].name+"")&&G(a,e),(!S||R&4&&i!==(i="/network?"+A[9].url))&&o(s,"href",i),(!S||R&4&&k!==(k=A[9].name))&&(p.value=k),(!S||R&4)&&w!==(w=A[9].name+"")&&G(d,w)},i(A){S||(B(m.$$.fragment,A),S=!0)},o(A){Z(m.$$.fragment,A),S=!1},d(A){A&&_(l),Ie(m),j=!1,ue()}}}function Ol(t){let l,s="You can save your current filters selection to get back to them quickly in the future.";return{c(){l=h("div"),l.textContent=s,this.h()},l(e){l=f(e,"DIV",{class:!0,"data-svelte-h":!0}),ie(l)!=="svelte-14bf7on"&&(l.textContent=s),this.h()},h(){o(l,"class","message svelte-778p5v")},m(e,a){U(e,l,a)},d(e){e&&_(l)}}}function is(t){let l,s,e,a,i,r,u="Save currently selected filters as new preset",E,P,p,k,c,b,C,T;P=new We({props:{icon:"plus"}});let w=Qe(t[2]),d=[];for(let m=0;mZ(d[m],1,1,()=>{d[m]=null});let v=!t[2].length&&Ol();return{c(){l=h("div"),s=h("form"),e=h("input"),a=L(),i=h("button"),r=h("span"),r.textContent=u,E=L(),qe(P.$$.fragment),p=L(),k=h("ul");for(let m=0;m{r("close")});function E(c){let b=new URLSearchParams(document.location.search);b.delete("start_time"),s(2,i=[...i,{url:b.toString(),name:a.value}]),localStorage.posNetworkLogsPresets=JSON.stringify(i),s(1,a.value="",a)}function P(c){const b=new FormData(c.target),C=b.get("id"),T=b.get("name");window.confirm(`Are you sure that you want to delete '${T}' preset?`)&&(i.splice(C,1),s(2,i),localStorage.posNetworkLogsPresets=JSON.stringify(i))}function p(c){Ce[c?"unshift":"push"](()=>{a=c,s(1,a)})}function k(c){Ce[c?"unshift":"push"](()=>{e=c,s(0,e)})}return[e,a,i,u,E,P,p,k]}class _s extends Rl{constructor(l){super(),Ul(this,l,us,is,Hl,{})}}function Ll(t,l,s){const e=t.slice();return e[33]=l[s],e}function ql(t,l,s){const e=t.slice();return e[36]=l[s],e}function Dl(t){let l,s;return l=new _s({}),l.$on("close",t[13]),{c(){qe(l.$$.fragment)},l(e){Le(l.$$.fragment,e)},m(e,a){Oe(l,e,a),s=!0},p:Jl,i(e){s||(B(l.$$.fragment,e),s=!0)},o(e){Z(l.$$.fragment,e),s=!1},d(e){Ie(l,e)}}}function cs(t){let l,s;return l=new We({props:{icon:"sortAZ"}}),{c(){qe(l.$$.fragment)},l(e){Le(l.$$.fragment,e)},m(e,a){Oe(l,e,a),s=!0},i(e){s||(B(l.$$.fragment,e),s=!0)},o(e){Z(l.$$.fragment,e),s=!1},d(e){Ie(l,e)}}}function fs(t){let l,s;return l=new We({props:{icon:"sortZA"}}),{c(){qe(l.$$.fragment)},l(e){Le(l.$$.fragment,e)},m(e,a){Oe(l,e,a),s=!0},i(e){s||(B(l.$$.fragment,e),s=!0)},o(e){Z(l.$$.fragment,e),s=!1},d(e){Ie(l,e)}}}function Al(t){let l,s=Qe(t[10].networks.aggs.filters),e=[];for(let a=0;a=200&&t[33].lb_status_code<300),be(u,"info",t[33].lb_status_code>=300&&t[33].lb_status_code<400),be(u,"error",t[33].lb_status_code>=400&&t[33].lb_status_code<600)},m(c,b){U(c,l,b),n(l,s),n(s,a),U(c,r,b),U(c,u,b),n(u,E),n(E,p)},p(c,b){b[0]&1024&&e!==(e=new Date(c[33]._timestamp/1e3).toLocaleString()+"")&&G(a,e),b[0]&1536&&i!==(i="/network/"+c[33]._timestamp+"?"+c[9].url.searchParams.toString())&&o(s,"href",i),b[0]&1024&&P!==(P=c[33].lb_status_code+"")&&G(p,P),b[0]&1536&&k!==(k="/network/"+c[33]._timestamp+"?"+c[9].url.searchParams.toString())&&o(E,"href",k),b[0]&1024&&be(u,"success",c[33].lb_status_code>=200&&c[33].lb_status_code<300),b[0]&1024&&be(u,"info",c[33].lb_status_code>=300&&c[33].lb_status_code<400),b[0]&1024&&be(u,"error",c[33].lb_status_code>=400&&c[33].lb_status_code<600)},d(c){c&&(_(l),_(r),_(u))}}}function gs(t){let l,s,e=t[33].count+"",a;return{c(){l=h("td"),s=h("div"),a=y(e),this.h()},l(i){l=f(i,"TD",{class:!0});var r=g(l);s=f(r,"DIV",{class:!0});var u=g(s);a=M(u,e),u.forEach(_),r.forEach(_),this.h()},h(){o(s,"class","svelte-lmet59"),o(l,"class","count svelte-lmet59")},m(i,r){U(i,l,r),n(l,s),n(s,a)},p(i,r){r[0]&1024&&e!==(e=i[33].count+"")&&G(a,e)},d(i){i&&_(l)}}}function ps(t){let l,s,e=t[33].http_request_method+"",a,i,r=t[33].http_request_path+"",u;return{c(){l=h("div"),s=h("span"),a=y(e),i=L(),u=y(r),this.h()},l(E){l=f(E,"DIV",{class:!0});var P=g(l);s=f(P,"SPAN",{class:!0});var p=g(s);a=M(p,e),p.forEach(_),i=O(P),u=M(P,r),P.forEach(_),this.h()},h(){o(s,"class","method svelte-lmet59"),o(l,"class","svelte-lmet59")},m(E,P){U(E,l,P),n(l,s),n(s,a),n(l,i),n(l,u)},p(E,P){P[0]&1024&&e!==(e=E[33].http_request_method+"")&&G(a,e),P[0]&1024&&r!==(r=E[33].http_request_path+"")&&G(u,r)},d(E){E&&_(l)}}}function vs(t){let l,s,e,a=t[33].http_request_method+"",i,r,u=t[33].http_request_path+"",E,P;return{c(){l=h("a"),s=h("div"),e=h("span"),i=y(a),r=L(),E=y(u),this.h()},l(p){l=f(p,"A",{href:!0,class:!0});var k=g(l);s=f(k,"DIV",{class:!0});var c=g(s);e=f(c,"SPAN",{class:!0});var b=g(e);i=M(b,a),b.forEach(_),r=O(c),E=M(c,u),c.forEach(_),k.forEach(_),this.h()},h(){o(e,"class","method svelte-lmet59"),o(s,"class","svelte-lmet59"),o(l,"href",P="/network/"+t[33]._timestamp+"?"+t[9].url.searchParams.toString()),o(l,"class","svelte-lmet59")},m(p,k){U(p,l,k),n(l,s),n(s,e),n(e,i),n(s,r),n(s,E)},p(p,k){k[0]&1024&&a!==(a=p[33].http_request_method+"")&&G(i,a),k[0]&1024&&u!==(u=p[33].http_request_path+"")&&G(E,u),k[0]&1536&&P!==(P="/network/"+p[33]._timestamp+"?"+p[9].url.searchParams.toString())&&o(l,"href",P)},d(p){p&&_(l)}}}function bs(t){let l,s=Math.round((parseFloat(t[33].median_target_processing_time)+Number.EPSILON)*1e3)/1e3+"",e,a,i;return{c(){l=h("div"),e=y(s),a=y("s"),this.h()},l(r){l=f(r,"DIV",{title:!0,class:!0});var u=g(l);e=M(u,s),a=M(u,"s"),u.forEach(_),this.h()},h(){o(l,"title",i="Median: "+Math.round((parseFloat(t[33].median_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s \rMean: "+Math.round((parseFloat(t[33].avg_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s \rMin: "+Math.round((parseFloat(t[33].min_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s \rMax: "+Math.round((parseFloat(t[33].max_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s"),o(l,"class","svelte-lmet59")},m(r,u){U(r,l,u),n(l,e),n(l,a)},p(r,u){u[0]&1024&&s!==(s=Math.round((parseFloat(r[33].median_target_processing_time)+Number.EPSILON)*1e3)/1e3+"")&&G(e,s),u[0]&1024&&i!==(i="Median: "+Math.round((parseFloat(r[33].median_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s \rMean: "+Math.round((parseFloat(r[33].avg_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s \rMin: "+Math.round((parseFloat(r[33].min_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s \rMax: "+Math.round((parseFloat(r[33].max_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s")&&o(l,"title",i)},d(r){r&&_(l)}}}function Es(t){let l,s=Math.round((parseFloat(t[33].target_processing_time)+Number.EPSILON)*1e3)/1e3+"",e,a,i;return{c(){l=h("a"),e=y(s),a=y("s"),this.h()},l(r){l=f(r,"A",{href:!0,class:!0});var u=g(l);e=M(u,s),a=M(u,"s"),u.forEach(_),this.h()},h(){o(l,"href",i="/network/"+t[33]._timestamp+"?"+t[9].url.searchParams.toString()),o(l,"class","svelte-lmet59")},m(r,u){U(r,l,u),n(l,e),n(l,a)},p(r,u){u[0]&1024&&s!==(s=Math.round((parseFloat(r[33].target_processing_time)+Number.EPSILON)*1e3)/1e3+"")&&G(e,s),u[0]&1536&&i!==(i="/network/"+r[33]._timestamp+"?"+r[9].url.searchParams.toString())&&o(l,"href",i)},d(r){r&&_(l)}}}function $l(t){let l,s,e,a,i,r,u,E,P;function p(v,m){return m[0]&512&&(s=null),s==null&&(s=!!v[9].url.searchParams.get("aggregate")),s?gs:ds}let k=p(t,[-1,-1]),c=k(t);function b(v,m){return m[0]&512&&(i=null),i==null&&(i=!v[9].url.searchParams.get("aggregate")),i?vs:ps}let C=b(t,[-1,-1]),T=C(t);function w(v,m){return m[0]&512&&(E=null),E==null&&(E=!v[9].url.searchParams.get("aggregate")),E?Es:bs}let d=w(t,[-1,-1]),N=d(t);return{c(){l=h("tr"),c.c(),e=L(),a=h("td"),T.c(),r=L(),u=h("td"),N.c(),P=L(),this.h()},l(v){l=f(v,"TR",{class:!0});var m=g(l);c.l(m),e=O(m),a=f(m,"TD",{class:!0});var D=g(a);T.l(D),D.forEach(_),r=O(m),u=f(m,"TD",{class:!0});var S=g(u);N.l(S),S.forEach(_),P=O(m),m.forEach(_),this.h()},h(){o(a,"class","request svelte-lmet59"),o(u,"class","duration svelte-lmet59"),o(l,"class","svelte-lmet59"),be(l,"active",t[33]._timestamp&&t[9].params.id==t[33]._timestamp)},m(v,m){U(v,l,m),c.m(l,null),n(l,e),n(l,a),T.m(a,null),n(l,r),n(l,u),N.m(u,null),n(l,P)},p(v,m){k===(k=p(v,m))&&c?c.p(v,m):(c.d(1),c=k(v),c&&(c.c(),c.m(l,e))),C===(C=b(v,m))&&T?T.p(v,m):(T.d(1),T=C(v),T&&(T.c(),T.m(a,null))),d===(d=w(v,m))&&N?N.p(v,m):(N.d(1),N=d(v),N&&(N.c(),N.m(u,null))),m[0]&1536&&be(l,"active",v[33]._timestamp&&v[9].params.id==v[33]._timestamp)},d(v){v&&_(l),c.d(),T.d(),N.d()}}}function Fl(t){let l;const s=t[15].default,e=zl(s,t,t[14],null);return{c(){e&&e.c()},l(a){e&&e.l(a)},m(a,i){e&&e.m(a,i),l=!0},p(a,i){e&&e.p&&(!l||i[0]&16384)&&Yl(e,s,a,a[14],l?Ql(s,a[14],i,null):Gl(a[14]),null)},i(a){l||(B(e,a),l=!0)},o(a){Z(e,a),l=!1},d(a){e&&e.d(a)}}}function Ps(t){var rl,nl,ol,il,ul;let l,s,e,a,i,r,u="Filters",E,P,p,k,c="Choose filters preset",b,C,T,w,d,N="Reset",v,m,D,S,j,ue,A,R,Q,x,Y,W,lt='',Xe,ee,K,X,Be,I,je,te,It,st,at,le,Ot,rt,nt,se,Lt,ot,it,ae,qt,ut,_t,re,Dt,ct,ft,At,_e,me,Mt,ht,de,yt,mt,$t,we,dt,ce,fe,Ft,De,Ae,Xt='',Rt,ne,gt,Ut,ge,Me,xt="Status Code",Ht,pe,Vt,Bt,Ke,Ze,Pe,Je,he,pt,vt,Te,xe=t[9].url.searchParams.get("aggregate")=="http_request_path"?"Aggregated ":"",bt,jt,et=t[9].url.searchParams.get("aggregate")=="http_request_path"?"s":"",Et,Kt,ye,el="Processing Time",Zt,Jt,$,zt,tl;document.title=l="Logs"+((rl=t[10].online)!=null&&rl.MPKIT_URL?": "+t[10].online.MPKIT_URL.replace("https://",""):""),C=new We({props:{icon:"controlls"}}),m=new We({props:{icon:"disable"}});let H=t[7]&&Dl(t);Q=new as({props:{name:"aggregate",options:[{value:"http_request_path",label:"Aggregate requests"}],checked:t[9].url.searchParams.get("aggregate")}}),Q.$on("change",t[19]);const ll=[fs,cs],$e=[];function sl(F,q){return q[0]&512&&(dt=null),dt==null&&(dt=F[9].url.searchParams.get("order")==="DESC"||!F[9].url.searchParams.get("order")),dt?0:1}ce=sl(t,[-1,-1]),fe=$e[ce]=ll[ce](t);let J=((ol=(nl=t[10].networks)==null?void 0:nl.aggs)==null?void 0:ol.filters)&&Al(t);function al(F,q){return q[0]&512&&(pt=null),pt==null&&(pt=!!F[9].url.searchParams.get("aggregate")),pt?ms:hs}let Pt=al(t,[-1,-1]),Se=Pt(t),z=((ul=(il=t[10].networks)==null?void 0:il.aggs)==null?void 0:ul.results)&&yl(t),V=t[9].params.id&&Fl(t);return{c(){s=L(),e=h("div"),a=h("nav"),i=h("header"),r=h("h2"),r.textContent=u,E=L(),P=h("nav"),p=h("button"),k=h("span"),k.textContent=c,b=L(),qe(C.$$.fragment),T=L(),w=h("a"),d=h("span"),d.textContent=N,v=L(),qe(m.$$.fragment),D=L(),S=h("dialog"),H&&H.c(),ue=L(),A=h("form"),R=h("fieldset"),qe(Q.$$.fragment),x=L(),Y=h("fieldset"),W=h("h3"),W.innerHTML=lt,Xe=L(),ee=h("div"),K=h("select"),X=h("option"),Be=y("Count"),te=h("option"),It=y("Request path"),le=h("option"),Ot=y("Processing time"),se=h("option"),Lt=y("Time"),ae=h("option"),qt=y("Request path"),re=h("option"),Dt=y("Processing Time"),At=L(),_e=h("select"),me=h("option"),Mt=y("DESC [Z→A]"),de=h("option"),yt=y("ASC [A→Z]"),$t=L(),we=h("label"),fe.c(),Ft=L(),De=h("fieldset"),Ae=h("h3"),Ae.innerHTML=Xt,Rt=L(),ne=h("input"),Ut=L(),ge=h("fieldset"),Me=h("h3"),Me.textContent=xt,Ht=L(),pe=h("input"),Vt=L(),J&&J.c(),Bt=L(),Ke=h("section"),Ze=h("article"),Pe=h("table"),Je=h("thead"),he=h("tr"),Se.c(),vt=L(),Te=h("th"),bt=y(xe),jt=y("Request"),Et=y(et),Kt=L(),ye=h("th"),ye.textContent=el,Zt=L(),z&&z.c(),Jt=L(),V&&V.c(),this.h()},l(F){Kl("svelte-dfdkqr",document.head).forEach(_),s=O(F),e=f(F,"DIV",{class:!0});var ke=g(e);a=f(ke,"NAV",{class:!0});var ve=g(a);i=f(ve,"HEADER",{class:!0});var Fe=g(i);r=f(Fe,"H2",{class:!0,"data-svelte-h":!0}),ie(r)!=="svelte-1ydm89n"&&(r.textContent=u),E=O(Fe),P=f(Fe,"NAV",{class:!0});var Re=g(P);p=f(Re,"BUTTON",{type:!0,title:!0,class:!0});var Ue=g(p);k=f(Ue,"SPAN",{class:!0,"data-svelte-h":!0}),ie(k)!=="svelte-p09m9k"&&(k.textContent=c),b=O(Ue),Le(C.$$.fragment,Ue),Ue.forEach(_),T=O(Re),w=f(Re,"A",{href:!0,title:!0,class:!0});var He=g(w);d=f(He,"SPAN",{class:!0,"data-svelte-h":!0}),ie(d)!=="svelte-1c96jh2"&&(d.textContent=N),v=O(He),Le(m.$$.fragment,He),He.forEach(_),Re.forEach(_),Fe.forEach(_),D=O(ve),S=f(ve,"DIALOG",{class:!0});var tt=g(S);H&&H.l(tt),tt.forEach(_),ue=O(ve),A=f(ve,"FORM",{action:!0,id:!0,class:!0});var Ne=g(A);R=f(Ne,"FIELDSET",{class:!0});var _l=g(R);Le(Q.$$.fragment,_l),_l.forEach(_),x=O(Ne),Y=f(Ne,"FIELDSET",{class:!0});var St=g(Y);W=f(St,"H3",{class:!0,"data-svelte-h":!0}),ie(W)!=="svelte-e2rbyt"&&(W.innerHTML=lt),Xe=O(St),ee=f(St,"DIV",{class:!0});var ze=g(ee);K=f(ze,"SELECT",{name:!0,id:!0,class:!0});var Ve=g(K);X=f(Ve,"OPTION",{});var cl=g(X);Be=M(cl,"Count"),cl.forEach(_),te=f(Ve,"OPTION",{});var fl=g(te);It=M(fl,"Request path"),fl.forEach(_),le=f(Ve,"OPTION",{});var hl=g(le);Ot=M(hl,"Processing time"),hl.forEach(_),se=f(Ve,"OPTION",{});var ml=g(se);Lt=M(ml,"Time"),ml.forEach(_),ae=f(Ve,"OPTION",{});var dl=g(ae);qt=M(dl,"Request path"),dl.forEach(_),re=f(Ve,"OPTION",{});var gl=g(re);Dt=M(gl,"Processing Time"),gl.forEach(_),Ve.forEach(_),At=O(ze),_e=f(ze,"SELECT",{name:!0,id:!0,class:!0});var Yt=g(_e);me=f(Yt,"OPTION",{});var pl=g(me);Mt=M(pl,"DESC [Z→A]"),pl.forEach(_),de=f(Yt,"OPTION",{});var vl=g(de);yt=M(vl,"ASC [A→Z]"),vl.forEach(_),Yt.forEach(_),$t=O(ze),we=f(ze,"LABEL",{for:!0,class:!0});var bl=g(we);fe.l(bl),bl.forEach(_),ze.forEach(_),St.forEach(_),Ft=O(Ne),De=f(Ne,"FIELDSET",{});var kt=g(De);Ae=f(kt,"H3",{class:!0,"data-svelte-h":!0}),ie(Ae)!=="svelte-kjwpiv"&&(Ae.innerHTML=Xt),Rt=O(kt),ne=f(kt,"INPUT",{type:!0,name:!0,id:!0,min:!0,max:!0,class:!0}),kt.forEach(_),Ut=O(Ne),ge=f(Ne,"FIELDSET",{});var Ye=g(ge);Me=f(Ye,"H3",{class:!0,"data-svelte-h":!0}),ie(Me)!=="svelte-tzgpg7"&&(Me.textContent=xt),Ht=O(Ye),pe=f(Ye,"INPUT",{type:!0,name:!0,class:!0}),Vt=O(Ye),J&&J.l(Ye),Ye.forEach(_),Ne.forEach(_),ve.forEach(_),Bt=O(ke),Ke=f(ke,"SECTION",{class:!0});var El=g(Ke);Ze=f(El,"ARTICLE",{class:!0});var Pl=g(Ze);Pe=f(Pl,"TABLE",{class:!0});var wt=g(Pe);Je=f(wt,"THEAD",{class:!0});var Sl=g(Je);he=f(Sl,"TR",{class:!0});var Ge=g(he);Se.l(Ge),vt=O(Ge),Te=f(Ge,"TH",{class:!0});var Tt=g(Te);bt=M(Tt,xe),jt=M(Tt,"Request"),Et=M(Tt,et),Tt.forEach(_),Kt=O(Ge),ye=f(Ge,"TH",{class:!0,"data-svelte-h":!0}),ie(ye)!=="svelte-1h8jpo9"&&(ye.textContent=el),Ge.forEach(_),Sl.forEach(_),Zt=O(wt),z&&z.l(wt),wt.forEach(_),Pl.forEach(_),El.forEach(_),Jt=O(ke),V&&V.l(ke),ke.forEach(_),this.h()},h(){o(r,"class","svelte-lmet59"),o(k,"class","label svelte-lmet59"),o(p,"type","button"),o(p,"title","Saved filters presets"),o(p,"class","svelte-lmet59"),be(p,"active",t[7]),o(d,"class","label svelte-lmet59"),o(w,"href","/network"),o(w,"title","Reset filters"),o(w,"class","reset svelte-lmet59"),o(P,"class","svelte-lmet59"),o(i,"class","svelte-lmet59"),o(S,"class","presets content-context svelte-lmet59"),o(R,"class","toggle svelte-lmet59"),o(W,"class","svelte-lmet59"),X.selected=I=t[9].url.searchParams.get("order_by")==="count",X.__value="count",oe(X,X.__value),X.hidden=je=!t[9].url.searchParams.get("aggregate")&&!t[4],te.selected=st=t[9].url.searchParams.get("order_by")==="http_request_path",te.__value="http_request_path",oe(te,te.__value),te.hidden=at=!t[9].url.searchParams.get("aggregate")&&!t[4],le.selected=rt=t[9].url.searchParams.get("order_by")==="median_target_processing_time",le.__value="median_target_processing_time",oe(le,le.__value),le.hidden=nt=!t[9].url.searchParams.get("aggregate")&&!t[4],se.selected=ot=t[9].url.searchParams.get("order_by")==="_timestamp"||!t[9].url.searchParams.get("order_by")&&!t[9].url.searchParams.get("aggregate"),se.__value="_timestamp",oe(se,se.__value),se.hidden=it=t[9].url.searchParams.get("aggregate")||t[4],ae.selected=ut=t[9].url.searchParams.get("order_by")==="http_request_path",ae.__value="http_request_path",oe(ae,ae.__value),ae.hidden=_t=t[9].url.searchParams.get("aggregate")||t[4],re.selected=ct=t[9].url.searchParams.get("order_by")==="target_processing_time",re.__value="target_processing_time",oe(re,re.__value),re.hidden=ft=t[9].url.searchParams.get("aggregate")||t[4],o(K,"name","order_by"),o(K,"id","order_by"),o(K,"class","svelte-lmet59"),me.__value="DESC",oe(me,me.__value),me.selected=ht=t[9].url.searchParams.get("order")==="DESC",de.__value="ASC",oe(de,de.__value),de.selected=mt=t[9].url.searchParams.get("order")==="ASC",o(_e,"name","order"),o(_e,"id","order"),o(_e,"class","svelte-lmet59"),o(we,"for","order"),o(we,"class","button svelte-lmet59"),o(ee,"class","svelte-lmet59"),o(Y,"class","sort svelte-lmet59"),o(Ae,"class","svelte-lmet59"),o(ne,"type","date"),o(ne,"name","start_time"),o(ne,"id","start_time"),o(ne,"min",t[12].toISOString().split("T")[0]),o(ne,"max",t[11].toISOString().split("T")[0]),ne.value=gt=t[9].url.searchParams.get("start_time")||t[11].toISOString().split("T")[0],o(ne,"class","svelte-lmet59"),o(Me,"class","svelte-lmet59"),o(pe,"type","text"),o(pe,"name","lb_status_codes"),o(pe,"class","svelte-lmet59"),o(A,"action",""),o(A,"id","filters"),o(A,"class","svelte-lmet59"),o(a,"class","filters svelte-lmet59"),o(Te,"class","svelte-lmet59"),o(ye,"class","duration svelte-lmet59"),o(he,"class","svelte-lmet59"),o(Je,"class","svelte-lmet59"),o(Pe,"class","svelte-lmet59"),o(Ze,"class","content svelte-lmet59"),o(Ke,"class","container svelte-lmet59"),o(e,"class","page svelte-lmet59")},m(F,q){U(F,s,q),U(F,e,q),n(e,a),n(a,i),n(i,r),n(i,E),n(i,P),n(P,p),n(p,k),n(p,b),Oe(C,p,null),t[16](p),n(P,T),n(P,w),n(w,d),n(w,v),Oe(m,w,null),n(a,D),n(a,S),H&&H.m(S,null),t[18](S),n(a,ue),n(a,A),n(A,R),Oe(Q,R,null),n(A,x),n(A,Y),n(Y,W),n(Y,Xe),n(Y,ee),n(ee,K),n(K,X),n(X,Be),n(K,te),n(te,It),n(K,le),n(le,Ot),n(K,se),n(se,Lt),n(K,ae),n(ae,qt),n(K,re),n(re,Dt),t[20](K),n(ee,At),n(ee,_e),n(_e,me),n(me,Mt),n(_e,de),n(de,yt),t[22](_e),n(ee,$t),n(ee,we),$e[ce].m(we,null),n(A,Ft),n(A,De),n(De,Ae),n(De,Rt),n(De,ne),n(A,Ut),n(A,ge),n(ge,Me),n(ge,Ht),n(ge,pe),oe(pe,t[5]),n(ge,Vt),J&&J.m(ge,null),t[28](A),n(e,Bt),n(e,Ke),n(Ke,Ze),n(Ze,Pe),n(Pe,Je),n(Je,he),Se.m(he,null),n(he,vt),n(he,Te),n(Te,bt),n(Te,jt),n(Te,Et),n(he,Kt),n(he,ye),n(Pe,Zt),z&&z.m(Pe,null),n(e,Jt),V&&V.m(e,null),t[29](e),$=!0,zt||(tl=[Ee(p,"click",t[13]),jl(j=rs.call(null,S,t[17])),Ee(K,"change",t[21]),Ee(_e,"change",t[23]),Ee(ne,"input",function(){Nl(t[1].requestSubmit())&&t[1].requestSubmit().apply(this,arguments)}),Ee(pe,"input",t[24])],zt=!0)},p(F,q){var Fe,Re,Ue,He,tt;t=F,(!$||q[0]&1024)&&l!==(l="Logs"+((Fe=t[10].online)!=null&&Fe.MPKIT_URL?": "+t[10].online.MPKIT_URL.replace("https://",""):""))&&(document.title=l),(!$||q[0]&128)&&be(p,"active",t[7]),t[7]?H?(H.p(t,q),q[0]&128&&B(H,1)):(H=Dl(t),H.c(),B(H,1),H.m(S,null)):H&&(Nt(),Z(H,1,1,()=>{H=null}),Ct()),j&&Nl(j.update)&&q[0]&384&&j.update.call(null,t[17]);const ke={};q[0]&512&&(ke.checked=t[9].url.searchParams.get("aggregate")),Q.$set(ke),(!$||q[0]&512&&I!==(I=t[9].url.searchParams.get("order_by")==="count"))&&(X.selected=I),(!$||q[0]&528&&je!==(je=!t[9].url.searchParams.get("aggregate")&&!t[4]))&&(X.hidden=je),(!$||q[0]&512&&st!==(st=t[9].url.searchParams.get("order_by")==="http_request_path"))&&(te.selected=st),(!$||q[0]&528&&at!==(at=!t[9].url.searchParams.get("aggregate")&&!t[4]))&&(te.hidden=at),(!$||q[0]&512&&rt!==(rt=t[9].url.searchParams.get("order_by")==="median_target_processing_time"))&&(le.selected=rt),(!$||q[0]&528&&nt!==(nt=!t[9].url.searchParams.get("aggregate")&&!t[4]))&&(le.hidden=nt),(!$||q[0]&512&&ot!==(ot=t[9].url.searchParams.get("order_by")==="_timestamp"||!t[9].url.searchParams.get("order_by")&&!t[9].url.searchParams.get("aggregate")))&&(se.selected=ot),(!$||q[0]&528&&it!==(it=t[9].url.searchParams.get("aggregate")||t[4]))&&(se.hidden=it),(!$||q[0]&512&&ut!==(ut=t[9].url.searchParams.get("order_by")==="http_request_path"))&&(ae.selected=ut),(!$||q[0]&528&&_t!==(_t=t[9].url.searchParams.get("aggregate")||t[4]))&&(ae.hidden=_t),(!$||q[0]&512&&ct!==(ct=t[9].url.searchParams.get("order_by")==="target_processing_time"))&&(re.selected=ct),(!$||q[0]&528&&ft!==(ft=t[9].url.searchParams.get("aggregate")||t[4]))&&(re.hidden=ft),(!$||q[0]&512&&ht!==(ht=t[9].url.searchParams.get("order")==="DESC"))&&(me.selected=ht),(!$||q[0]&512&&mt!==(mt=t[9].url.searchParams.get("order")==="ASC"))&&(de.selected=mt);let ve=ce;ce=sl(t,q),ce!==ve&&(Nt(),Z($e[ve],1,1,()=>{$e[ve]=null}),Ct(),fe=$e[ce],fe||(fe=$e[ce]=ll[ce](t),fe.c()),B(fe,1),fe.m(we,null)),(!$||q[0]&512&>!==(gt=t[9].url.searchParams.get("start_time")||t[11].toISOString().split("T")[0]))&&(ne.value=gt),q[0]&32&&pe.value!==t[5]&&oe(pe,t[5]),(Ue=(Re=t[10].networks)==null?void 0:Re.aggs)!=null&&Ue.filters?J?J.p(t,q):(J=Al(t),J.c(),J.m(ge,null)):J&&(J.d(1),J=null),Pt!==(Pt=al(t,q))&&(Se.d(1),Se=Pt(t),Se&&(Se.c(),Se.m(he,vt))),(!$||q[0]&512)&&xe!==(xe=t[9].url.searchParams.get("aggregate")=="http_request_path"?"Aggregated ":"")&&G(bt,xe),(!$||q[0]&512)&&et!==(et=t[9].url.searchParams.get("aggregate")=="http_request_path"?"s":"")&&G(Et,et),(tt=(He=t[10].networks)==null?void 0:He.aggs)!=null&&tt.results?z?z.p(t,q):(z=yl(t),z.c(),z.m(Pe,null)):z&&(z.d(1),z=null),t[9].params.id?V?(V.p(t,q),q[0]&512&&B(V,1)):(V=Fl(t),V.c(),B(V,1),V.m(e,null)):V&&(Nt(),Z(V,1,1,()=>{V=null}),Ct())},i(F){$||(B(C.$$.fragment,F),B(m.$$.fragment,F),B(H),B(Q.$$.fragment,F),B(fe),B(V),$=!0)},o(F){Z(C.$$.fragment,F),Z(m.$$.fragment,F),Z(H),Z(Q.$$.fragment,F),Z(fe),Z(V),$=!1},d(F){F&&(_(s),_(e)),Ie(C),t[16](null),Ie(m),H&&H.d(),t[18](null),Ie(Q),t[20](null),t[22](null),$e[ce].d(),J&&J.d(),t[28](null),Se.d(),z&&z.d(),V&&V.d(),t[29](null),zt=!1,Wt(tl)}}}function Ss(t,l,s){var Be;let e,a;kl(t,ls,I=>s(9,e=I)),kl(t,Gt,I=>s(10,a=I));let{$$slots:i={},$$scope:r}=l,u,E;const P=new Date,p=1e3*60*60*24,k=new Date(P-p*3);let c,b,C=!!e.url.searchParams.get("aggregated"),T=((Be=e.url.searchParams.get("lb_status_codes"))==null?void 0:Be.split(","))||[],w=!1,d=!1,N;function v(I){a.networks.aggs&&wl(Gt,a.networks.aggs.results=[],a),ss.get(I).then(je=>{wl(Gt,a.networks=je,a)})}Zl(()=>{v(Object.fromEntries(e.url.searchParams))});let m=e.url.searchParams.toString();es(()=>{m=e.url.searchParams.toString()}),ts(()=>{var I;m!==e.url.searchParams.toString()&&(v(Object.fromEntries(e.url.searchParams)),m=e.url.searchParams.toString(),s(5,T=((I=e.url.searchParams.get("lb_status_codes"))==null?void 0:I.split(","))||[]))});function D(I){w.open?(w.close(),s(7,d=!1)):(w.show(),s(7,d=!0))}const S=[[]];function j(I){Ce[I?"unshift":"push"](()=>{N=I,s(8,N)})}const ue=I=>d&&I.target!==N&&D();function A(I){Ce[I?"unshift":"push"](()=>{w=I,s(6,w)})}const R=async I=>{s(4,C=!!I.target.checked),await Tl(),s(2,c.value=I.target.checked?"count":"_timestamp",c),console.log(c.value),s(3,b.value="DESC",b),await Tl(),E.requestSubmit()};function Q(I){Ce[I?"unshift":"push"](()=>{c=I,s(2,c)})}const x=()=>E.requestSubmit();function Y(I){Ce[I?"unshift":"push"](()=>{b=I,s(3,b)})}const W=()=>E.requestSubmit();function lt(){T=this.value,s(5,T)}function Xe(){T=Wl(S[0],this.__value,this.checked),s(5,T)}const ee=()=>{E.requestSubmit()};function K(I){Ce[I?"unshift":"push"](()=>{E=I,s(1,E)})}function X(I){Ce[I?"unshift":"push"](()=>{u=I,s(0,u)})}return t.$$set=I=>{"$$scope"in I&&s(14,r=I.$$scope)},[u,E,c,b,C,T,w,d,N,e,a,P,k,D,r,i,j,ue,A,R,Q,x,Y,W,lt,Xe,S,ee,K,X]}class As extends Rl{constructor(l){super(),Ul(this,l,Ss,Ps,Hl,{},null,[-1,-1])}}export{As as component}; +import{S as Rl,i as Ul,s as Hl,d as _,E as Ie,O as Qt,x as Wt,o as Z,p as B,R as Nt,H as Ct,b as U,c as n,I as Oe,J as Ee,V as Vl,z as o,e as f,f as g,h as O,K as ie,L as Le,j as h,k as L,M as qe,W as Bl,a as G,g as M,t as y,C as Ce,Q as be,F as oe,a9 as jl,v as Kl,l as kl,a5 as Zl,n as Jl,m as zl,u as Yl,q as Gl,r as Ql,N as wl,P as Tl,aa as Wl,ab as Xl,ac as Nl}from"../chunks/n7YEDvJi.js";import{e as Qe}from"../chunks/DMhVG_ro.js";import"../chunks/IHki7fMi.js";import{o as xl,b as es,a as ts}from"../chunks/CuNuScQb.js";import{p as ls}from"../chunks/CPrwbBC6.js";import{n as ss}from"../chunks/hGAcGvnf.js";import{s as Gt}from"../chunks/Bp_ajb_u.js";import{T as as,c as rs}from"../chunks/B9_cNKsK.js";import{I as We}from"../chunks/DHO4ENnJ.js";import{g as ns}from"../chunks/D0QH3NT1.js";const{window:os}=ns;function Cl(t,l,s){const e=t.slice();return e[9]=l[s],e[11]=s,e}function Il(t){let l,s,e=t[9].name+"",a,i,r,u,E,P,p,k,c,b,C,T,w=t[9].name+"",d,N,v,m,D,S,j,ue;return m=new We({props:{icon:"x"}}),{c(){l=h("li"),s=h("a"),a=y(e),r=L(),u=h("form"),E=h("input"),P=L(),p=h("input"),c=L(),b=h("button"),C=h("span"),T=y("Delete '"),d=y(w),N=y("' preset"),v=L(),qe(m.$$.fragment),D=L(),this.h()},l(A){l=f(A,"LI",{class:!0});var R=g(l);s=f(R,"A",{href:!0,class:!0});var Q=g(s);a=M(Q,e),Q.forEach(_),r=O(R),u=f(R,"FORM",{class:!0});var x=g(u);E=f(x,"INPUT",{type:!0,name:!0}),P=O(x),p=f(x,"INPUT",{type:!0,name:!0}),c=O(x),b=f(x,"BUTTON",{type:!0,class:!0});var Y=g(b);C=f(Y,"SPAN",{class:!0});var W=g(C);T=M(W,"Delete '"),d=M(W,w),N=M(W,"' preset"),W.forEach(_),v=O(Y),Le(m.$$.fragment,Y),Y.forEach(_),x.forEach(_),D=O(R),R.forEach(_),this.h()},h(){o(s,"href",i="/network?"+t[9].url),o(s,"class","svelte-778p5v"),o(E,"type","hidden"),o(E,"name","id"),E.value=t[11],o(p,"type","hidden"),o(p,"name","name"),p.value=k=t[9].name,o(C,"class","label"),o(b,"type","submit"),o(b,"class","svelte-778p5v"),o(u,"class","svelte-778p5v"),o(l,"class","svelte-778p5v")},m(A,R){U(A,l,R),n(l,s),n(s,a),n(l,r),n(l,u),n(u,E),n(u,P),n(u,p),n(u,c),n(u,b),n(b,C),n(C,T),n(C,d),n(C,N),n(b,v),Oe(m,b,null),n(l,D),S=!0,j||(ue=Ee(u,"submit",Vl(t[5])),j=!0)},p(A,R){(!S||R&4)&&e!==(e=A[9].name+"")&&G(a,e),(!S||R&4&&i!==(i="/network?"+A[9].url))&&o(s,"href",i),(!S||R&4&&k!==(k=A[9].name))&&(p.value=k),(!S||R&4)&&w!==(w=A[9].name+"")&&G(d,w)},i(A){S||(B(m.$$.fragment,A),S=!0)},o(A){Z(m.$$.fragment,A),S=!1},d(A){A&&_(l),Ie(m),j=!1,ue()}}}function Ol(t){let l,s="You can save your current filters selection to get back to them quickly in the future.";return{c(){l=h("div"),l.textContent=s,this.h()},l(e){l=f(e,"DIV",{class:!0,"data-svelte-h":!0}),ie(l)!=="svelte-14bf7on"&&(l.textContent=s),this.h()},h(){o(l,"class","message svelte-778p5v")},m(e,a){U(e,l,a)},d(e){e&&_(l)}}}function is(t){let l,s,e,a,i,r,u="Save currently selected filters as new preset",E,P,p,k,c,b,C,T;P=new We({props:{icon:"plus"}});let w=Qe(t[2]),d=[];for(let m=0;mZ(d[m],1,1,()=>{d[m]=null});let v=!t[2].length&&Ol();return{c(){l=h("div"),s=h("form"),e=h("input"),a=L(),i=h("button"),r=h("span"),r.textContent=u,E=L(),qe(P.$$.fragment),p=L(),k=h("ul");for(let m=0;m{r("close")});function E(c){let b=new URLSearchParams(document.location.search);b.delete("start_time"),s(2,i=[...i,{url:b.toString(),name:a.value}]),localStorage.posNetworkLogsPresets=JSON.stringify(i),s(1,a.value="",a)}function P(c){const b=new FormData(c.target),C=b.get("id"),T=b.get("name");window.confirm(`Are you sure that you want to delete '${T}' preset?`)&&(i.splice(C,1),s(2,i),localStorage.posNetworkLogsPresets=JSON.stringify(i))}function p(c){Ce[c?"unshift":"push"](()=>{a=c,s(1,a)})}function k(c){Ce[c?"unshift":"push"](()=>{e=c,s(0,e)})}return[e,a,i,u,E,P,p,k]}class _s extends Rl{constructor(l){super(),Ul(this,l,us,is,Hl,{})}}function Ll(t,l,s){const e=t.slice();return e[33]=l[s],e}function ql(t,l,s){const e=t.slice();return e[36]=l[s],e}function Dl(t){let l,s;return l=new _s({}),l.$on("close",t[13]),{c(){qe(l.$$.fragment)},l(e){Le(l.$$.fragment,e)},m(e,a){Oe(l,e,a),s=!0},p:Jl,i(e){s||(B(l.$$.fragment,e),s=!0)},o(e){Z(l.$$.fragment,e),s=!1},d(e){Ie(l,e)}}}function cs(t){let l,s;return l=new We({props:{icon:"sortAZ"}}),{c(){qe(l.$$.fragment)},l(e){Le(l.$$.fragment,e)},m(e,a){Oe(l,e,a),s=!0},i(e){s||(B(l.$$.fragment,e),s=!0)},o(e){Z(l.$$.fragment,e),s=!1},d(e){Ie(l,e)}}}function fs(t){let l,s;return l=new We({props:{icon:"sortZA"}}),{c(){qe(l.$$.fragment)},l(e){Le(l.$$.fragment,e)},m(e,a){Oe(l,e,a),s=!0},i(e){s||(B(l.$$.fragment,e),s=!0)},o(e){Z(l.$$.fragment,e),s=!1},d(e){Ie(l,e)}}}function Al(t){let l,s=Qe(t[10].networks.aggs.filters),e=[];for(let a=0;a=200&&t[33].lb_status_code<300),be(u,"info",t[33].lb_status_code>=300&&t[33].lb_status_code<400),be(u,"error",t[33].lb_status_code>=400&&t[33].lb_status_code<600)},m(c,b){U(c,l,b),n(l,s),n(s,a),U(c,r,b),U(c,u,b),n(u,E),n(E,p)},p(c,b){b[0]&1024&&e!==(e=new Date(c[33]._timestamp/1e3).toLocaleString()+"")&&G(a,e),b[0]&1536&&i!==(i="/network/"+c[33]._timestamp+"?"+c[9].url.searchParams.toString())&&o(s,"href",i),b[0]&1024&&P!==(P=c[33].lb_status_code+"")&&G(p,P),b[0]&1536&&k!==(k="/network/"+c[33]._timestamp+"?"+c[9].url.searchParams.toString())&&o(E,"href",k),b[0]&1024&&be(u,"success",c[33].lb_status_code>=200&&c[33].lb_status_code<300),b[0]&1024&&be(u,"info",c[33].lb_status_code>=300&&c[33].lb_status_code<400),b[0]&1024&&be(u,"error",c[33].lb_status_code>=400&&c[33].lb_status_code<600)},d(c){c&&(_(l),_(r),_(u))}}}function gs(t){let l,s,e=t[33].count+"",a;return{c(){l=h("td"),s=h("div"),a=y(e),this.h()},l(i){l=f(i,"TD",{class:!0});var r=g(l);s=f(r,"DIV",{class:!0});var u=g(s);a=M(u,e),u.forEach(_),r.forEach(_),this.h()},h(){o(s,"class","svelte-lmet59"),o(l,"class","count svelte-lmet59")},m(i,r){U(i,l,r),n(l,s),n(s,a)},p(i,r){r[0]&1024&&e!==(e=i[33].count+"")&&G(a,e)},d(i){i&&_(l)}}}function ps(t){let l,s,e=t[33].http_request_method+"",a,i,r=t[33].http_request_path+"",u;return{c(){l=h("div"),s=h("span"),a=y(e),i=L(),u=y(r),this.h()},l(E){l=f(E,"DIV",{class:!0});var P=g(l);s=f(P,"SPAN",{class:!0});var p=g(s);a=M(p,e),p.forEach(_),i=O(P),u=M(P,r),P.forEach(_),this.h()},h(){o(s,"class","method svelte-lmet59"),o(l,"class","svelte-lmet59")},m(E,P){U(E,l,P),n(l,s),n(s,a),n(l,i),n(l,u)},p(E,P){P[0]&1024&&e!==(e=E[33].http_request_method+"")&&G(a,e),P[0]&1024&&r!==(r=E[33].http_request_path+"")&&G(u,r)},d(E){E&&_(l)}}}function vs(t){let l,s,e,a=t[33].http_request_method+"",i,r,u=t[33].http_request_path+"",E,P;return{c(){l=h("a"),s=h("div"),e=h("span"),i=y(a),r=L(),E=y(u),this.h()},l(p){l=f(p,"A",{href:!0,class:!0});var k=g(l);s=f(k,"DIV",{class:!0});var c=g(s);e=f(c,"SPAN",{class:!0});var b=g(e);i=M(b,a),b.forEach(_),r=O(c),E=M(c,u),c.forEach(_),k.forEach(_),this.h()},h(){o(e,"class","method svelte-lmet59"),o(s,"class","svelte-lmet59"),o(l,"href",P="/network/"+t[33]._timestamp+"?"+t[9].url.searchParams.toString()),o(l,"class","svelte-lmet59")},m(p,k){U(p,l,k),n(l,s),n(s,e),n(e,i),n(s,r),n(s,E)},p(p,k){k[0]&1024&&a!==(a=p[33].http_request_method+"")&&G(i,a),k[0]&1024&&u!==(u=p[33].http_request_path+"")&&G(E,u),k[0]&1536&&P!==(P="/network/"+p[33]._timestamp+"?"+p[9].url.searchParams.toString())&&o(l,"href",P)},d(p){p&&_(l)}}}function bs(t){let l,s=Math.round((parseFloat(t[33].median_target_processing_time)+Number.EPSILON)*1e3)/1e3+"",e,a,i;return{c(){l=h("div"),e=y(s),a=y("s"),this.h()},l(r){l=f(r,"DIV",{title:!0,class:!0});var u=g(l);e=M(u,s),a=M(u,"s"),u.forEach(_),this.h()},h(){o(l,"title",i="Median: "+Math.round((parseFloat(t[33].median_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s \rMean: "+Math.round((parseFloat(t[33].avg_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s \rMin: "+Math.round((parseFloat(t[33].min_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s \rMax: "+Math.round((parseFloat(t[33].max_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s"),o(l,"class","svelte-lmet59")},m(r,u){U(r,l,u),n(l,e),n(l,a)},p(r,u){u[0]&1024&&s!==(s=Math.round((parseFloat(r[33].median_target_processing_time)+Number.EPSILON)*1e3)/1e3+"")&&G(e,s),u[0]&1024&&i!==(i="Median: "+Math.round((parseFloat(r[33].median_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s \rMean: "+Math.round((parseFloat(r[33].avg_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s \rMin: "+Math.round((parseFloat(r[33].min_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s \rMax: "+Math.round((parseFloat(r[33].max_target_processing_time)+Number.EPSILON)*1e3)/1e3+"s")&&o(l,"title",i)},d(r){r&&_(l)}}}function Es(t){let l,s=Math.round((parseFloat(t[33].target_processing_time)+Number.EPSILON)*1e3)/1e3+"",e,a,i;return{c(){l=h("a"),e=y(s),a=y("s"),this.h()},l(r){l=f(r,"A",{href:!0,class:!0});var u=g(l);e=M(u,s),a=M(u,"s"),u.forEach(_),this.h()},h(){o(l,"href",i="/network/"+t[33]._timestamp+"?"+t[9].url.searchParams.toString()),o(l,"class","svelte-lmet59")},m(r,u){U(r,l,u),n(l,e),n(l,a)},p(r,u){u[0]&1024&&s!==(s=Math.round((parseFloat(r[33].target_processing_time)+Number.EPSILON)*1e3)/1e3+"")&&G(e,s),u[0]&1536&&i!==(i="/network/"+r[33]._timestamp+"?"+r[9].url.searchParams.toString())&&o(l,"href",i)},d(r){r&&_(l)}}}function $l(t){let l,s,e,a,i,r,u,E,P;function p(v,m){return m[0]&512&&(s=null),s==null&&(s=!!v[9].url.searchParams.get("aggregate")),s?gs:ds}let k=p(t,[-1,-1]),c=k(t);function b(v,m){return m[0]&512&&(i=null),i==null&&(i=!v[9].url.searchParams.get("aggregate")),i?vs:ps}let C=b(t,[-1,-1]),T=C(t);function w(v,m){return m[0]&512&&(E=null),E==null&&(E=!v[9].url.searchParams.get("aggregate")),E?Es:bs}let d=w(t,[-1,-1]),N=d(t);return{c(){l=h("tr"),c.c(),e=L(),a=h("td"),T.c(),r=L(),u=h("td"),N.c(),P=L(),this.h()},l(v){l=f(v,"TR",{class:!0});var m=g(l);c.l(m),e=O(m),a=f(m,"TD",{class:!0});var D=g(a);T.l(D),D.forEach(_),r=O(m),u=f(m,"TD",{class:!0});var S=g(u);N.l(S),S.forEach(_),P=O(m),m.forEach(_),this.h()},h(){o(a,"class","request svelte-lmet59"),o(u,"class","duration svelte-lmet59"),o(l,"class","svelte-lmet59"),be(l,"active",t[33]._timestamp&&t[9].params.id==t[33]._timestamp)},m(v,m){U(v,l,m),c.m(l,null),n(l,e),n(l,a),T.m(a,null),n(l,r),n(l,u),N.m(u,null),n(l,P)},p(v,m){k===(k=p(v,m))&&c?c.p(v,m):(c.d(1),c=k(v),c&&(c.c(),c.m(l,e))),C===(C=b(v,m))&&T?T.p(v,m):(T.d(1),T=C(v),T&&(T.c(),T.m(a,null))),d===(d=w(v,m))&&N?N.p(v,m):(N.d(1),N=d(v),N&&(N.c(),N.m(u,null))),m[0]&1536&&be(l,"active",v[33]._timestamp&&v[9].params.id==v[33]._timestamp)},d(v){v&&_(l),c.d(),T.d(),N.d()}}}function Fl(t){let l;const s=t[15].default,e=zl(s,t,t[14],null);return{c(){e&&e.c()},l(a){e&&e.l(a)},m(a,i){e&&e.m(a,i),l=!0},p(a,i){e&&e.p&&(!l||i[0]&16384)&&Yl(e,s,a,a[14],l?Ql(s,a[14],i,null):Gl(a[14]),null)},i(a){l||(B(e,a),l=!0)},o(a){Z(e,a),l=!1},d(a){e&&e.d(a)}}}function Ps(t){var rl,nl,ol,il,ul;let l,s,e,a,i,r,u="Filters",E,P,p,k,c="Choose filters preset",b,C,T,w,d,N="Reset",v,m,D,S,j,ue,A,R,Q,x,Y,W,lt='',Xe,ee,K,X,Be,I,je,te,It,st,at,le,Ot,rt,nt,se,Lt,ot,it,ae,qt,ut,_t,re,Dt,ct,ft,At,_e,me,Mt,ht,de,yt,mt,$t,we,dt,ce,fe,Ft,De,Ae,Xt='',Rt,ne,gt,Ut,ge,Me,xt="Status Code",Ht,pe,Vt,Bt,Ke,Ze,Pe,Je,he,pt,vt,Te,xe=t[9].url.searchParams.get("aggregate")=="http_request_path"?"Aggregated ":"",bt,jt,et=t[9].url.searchParams.get("aggregate")=="http_request_path"?"s":"",Et,Kt,ye,el="Processing Time",Zt,Jt,$,zt,tl;document.title=l="Logs"+((rl=t[10].online)!=null&&rl.MPKIT_URL?": "+t[10].online.MPKIT_URL.replace("https://",""):""),C=new We({props:{icon:"controlls"}}),m=new We({props:{icon:"disable"}});let H=t[7]&&Dl(t);Q=new as({props:{name:"aggregate",options:[{value:"http_request_path",label:"Aggregate requests"}],checked:t[9].url.searchParams.get("aggregate")}}),Q.$on("change",t[19]);const ll=[fs,cs],$e=[];function sl(F,q){return q[0]&512&&(dt=null),dt==null&&(dt=F[9].url.searchParams.get("order")==="DESC"||!F[9].url.searchParams.get("order")),dt?0:1}ce=sl(t,[-1,-1]),fe=$e[ce]=ll[ce](t);let J=((ol=(nl=t[10].networks)==null?void 0:nl.aggs)==null?void 0:ol.filters)&&Al(t);function al(F,q){return q[0]&512&&(pt=null),pt==null&&(pt=!!F[9].url.searchParams.get("aggregate")),pt?ms:hs}let Pt=al(t,[-1,-1]),Se=Pt(t),z=((ul=(il=t[10].networks)==null?void 0:il.aggs)==null?void 0:ul.results)&&yl(t),V=t[9].params.id&&Fl(t);return{c(){s=L(),e=h("div"),a=h("nav"),i=h("header"),r=h("h2"),r.textContent=u,E=L(),P=h("nav"),p=h("button"),k=h("span"),k.textContent=c,b=L(),qe(C.$$.fragment),T=L(),w=h("a"),d=h("span"),d.textContent=N,v=L(),qe(m.$$.fragment),D=L(),S=h("dialog"),H&&H.c(),ue=L(),A=h("form"),R=h("fieldset"),qe(Q.$$.fragment),x=L(),Y=h("fieldset"),W=h("h3"),W.innerHTML=lt,Xe=L(),ee=h("div"),K=h("select"),X=h("option"),Be=y("Count"),te=h("option"),It=y("Request path"),le=h("option"),Ot=y("Processing time"),se=h("option"),Lt=y("Time"),ae=h("option"),qt=y("Request path"),re=h("option"),Dt=y("Processing Time"),At=L(),_e=h("select"),me=h("option"),Mt=y("DESC [Z→A]"),de=h("option"),yt=y("ASC [A→Z]"),$t=L(),we=h("label"),fe.c(),Ft=L(),De=h("fieldset"),Ae=h("h3"),Ae.innerHTML=Xt,Rt=L(),ne=h("input"),Ut=L(),ge=h("fieldset"),Me=h("h3"),Me.textContent=xt,Ht=L(),pe=h("input"),Vt=L(),J&&J.c(),Bt=L(),Ke=h("section"),Ze=h("article"),Pe=h("table"),Je=h("thead"),he=h("tr"),Se.c(),vt=L(),Te=h("th"),bt=y(xe),jt=y("Request"),Et=y(et),Kt=L(),ye=h("th"),ye.textContent=el,Zt=L(),z&&z.c(),Jt=L(),V&&V.c(),this.h()},l(F){Kl("svelte-dfdkqr",document.head).forEach(_),s=O(F),e=f(F,"DIV",{class:!0});var ke=g(e);a=f(ke,"NAV",{class:!0});var ve=g(a);i=f(ve,"HEADER",{class:!0});var Fe=g(i);r=f(Fe,"H2",{class:!0,"data-svelte-h":!0}),ie(r)!=="svelte-1ydm89n"&&(r.textContent=u),E=O(Fe),P=f(Fe,"NAV",{class:!0});var Re=g(P);p=f(Re,"BUTTON",{type:!0,title:!0,class:!0});var Ue=g(p);k=f(Ue,"SPAN",{class:!0,"data-svelte-h":!0}),ie(k)!=="svelte-p09m9k"&&(k.textContent=c),b=O(Ue),Le(C.$$.fragment,Ue),Ue.forEach(_),T=O(Re),w=f(Re,"A",{href:!0,title:!0,class:!0});var He=g(w);d=f(He,"SPAN",{class:!0,"data-svelte-h":!0}),ie(d)!=="svelte-1c96jh2"&&(d.textContent=N),v=O(He),Le(m.$$.fragment,He),He.forEach(_),Re.forEach(_),Fe.forEach(_),D=O(ve),S=f(ve,"DIALOG",{class:!0});var tt=g(S);H&&H.l(tt),tt.forEach(_),ue=O(ve),A=f(ve,"FORM",{action:!0,id:!0,class:!0});var Ne=g(A);R=f(Ne,"FIELDSET",{class:!0});var _l=g(R);Le(Q.$$.fragment,_l),_l.forEach(_),x=O(Ne),Y=f(Ne,"FIELDSET",{class:!0});var St=g(Y);W=f(St,"H3",{class:!0,"data-svelte-h":!0}),ie(W)!=="svelte-e2rbyt"&&(W.innerHTML=lt),Xe=O(St),ee=f(St,"DIV",{class:!0});var ze=g(ee);K=f(ze,"SELECT",{name:!0,id:!0,class:!0});var Ve=g(K);X=f(Ve,"OPTION",{});var cl=g(X);Be=M(cl,"Count"),cl.forEach(_),te=f(Ve,"OPTION",{});var fl=g(te);It=M(fl,"Request path"),fl.forEach(_),le=f(Ve,"OPTION",{});var hl=g(le);Ot=M(hl,"Processing time"),hl.forEach(_),se=f(Ve,"OPTION",{});var ml=g(se);Lt=M(ml,"Time"),ml.forEach(_),ae=f(Ve,"OPTION",{});var dl=g(ae);qt=M(dl,"Request path"),dl.forEach(_),re=f(Ve,"OPTION",{});var gl=g(re);Dt=M(gl,"Processing Time"),gl.forEach(_),Ve.forEach(_),At=O(ze),_e=f(ze,"SELECT",{name:!0,id:!0,class:!0});var Yt=g(_e);me=f(Yt,"OPTION",{});var pl=g(me);Mt=M(pl,"DESC [Z→A]"),pl.forEach(_),de=f(Yt,"OPTION",{});var vl=g(de);yt=M(vl,"ASC [A→Z]"),vl.forEach(_),Yt.forEach(_),$t=O(ze),we=f(ze,"LABEL",{for:!0,class:!0});var bl=g(we);fe.l(bl),bl.forEach(_),ze.forEach(_),St.forEach(_),Ft=O(Ne),De=f(Ne,"FIELDSET",{});var kt=g(De);Ae=f(kt,"H3",{class:!0,"data-svelte-h":!0}),ie(Ae)!=="svelte-kjwpiv"&&(Ae.innerHTML=Xt),Rt=O(kt),ne=f(kt,"INPUT",{type:!0,name:!0,id:!0,min:!0,max:!0,class:!0}),kt.forEach(_),Ut=O(Ne),ge=f(Ne,"FIELDSET",{});var Ye=g(ge);Me=f(Ye,"H3",{class:!0,"data-svelte-h":!0}),ie(Me)!=="svelte-tzgpg7"&&(Me.textContent=xt),Ht=O(Ye),pe=f(Ye,"INPUT",{type:!0,name:!0,class:!0}),Vt=O(Ye),J&&J.l(Ye),Ye.forEach(_),Ne.forEach(_),ve.forEach(_),Bt=O(ke),Ke=f(ke,"SECTION",{class:!0});var El=g(Ke);Ze=f(El,"ARTICLE",{class:!0});var Pl=g(Ze);Pe=f(Pl,"TABLE",{class:!0});var wt=g(Pe);Je=f(wt,"THEAD",{class:!0});var Sl=g(Je);he=f(Sl,"TR",{class:!0});var Ge=g(he);Se.l(Ge),vt=O(Ge),Te=f(Ge,"TH",{class:!0});var Tt=g(Te);bt=M(Tt,xe),jt=M(Tt,"Request"),Et=M(Tt,et),Tt.forEach(_),Kt=O(Ge),ye=f(Ge,"TH",{class:!0,"data-svelte-h":!0}),ie(ye)!=="svelte-1h8jpo9"&&(ye.textContent=el),Ge.forEach(_),Sl.forEach(_),Zt=O(wt),z&&z.l(wt),wt.forEach(_),Pl.forEach(_),El.forEach(_),Jt=O(ke),V&&V.l(ke),ke.forEach(_),this.h()},h(){o(r,"class","svelte-lmet59"),o(k,"class","label svelte-lmet59"),o(p,"type","button"),o(p,"title","Saved filters presets"),o(p,"class","svelte-lmet59"),be(p,"active",t[7]),o(d,"class","label svelte-lmet59"),o(w,"href","/network"),o(w,"title","Reset filters"),o(w,"class","reset svelte-lmet59"),o(P,"class","svelte-lmet59"),o(i,"class","svelte-lmet59"),o(S,"class","presets content-context svelte-lmet59"),o(R,"class","toggle svelte-lmet59"),o(W,"class","svelte-lmet59"),X.selected=I=t[9].url.searchParams.get("order_by")==="count",X.__value="count",oe(X,X.__value),X.hidden=je=!t[9].url.searchParams.get("aggregate")&&!t[4],te.selected=st=t[9].url.searchParams.get("order_by")==="http_request_path",te.__value="http_request_path",oe(te,te.__value),te.hidden=at=!t[9].url.searchParams.get("aggregate")&&!t[4],le.selected=rt=t[9].url.searchParams.get("order_by")==="median_target_processing_time",le.__value="median_target_processing_time",oe(le,le.__value),le.hidden=nt=!t[9].url.searchParams.get("aggregate")&&!t[4],se.selected=ot=t[9].url.searchParams.get("order_by")==="_timestamp"||!t[9].url.searchParams.get("order_by")&&!t[9].url.searchParams.get("aggregate"),se.__value="_timestamp",oe(se,se.__value),se.hidden=it=t[9].url.searchParams.get("aggregate")||t[4],ae.selected=ut=t[9].url.searchParams.get("order_by")==="http_request_path",ae.__value="http_request_path",oe(ae,ae.__value),ae.hidden=_t=t[9].url.searchParams.get("aggregate")||t[4],re.selected=ct=t[9].url.searchParams.get("order_by")==="target_processing_time",re.__value="target_processing_time",oe(re,re.__value),re.hidden=ft=t[9].url.searchParams.get("aggregate")||t[4],o(K,"name","order_by"),o(K,"id","order_by"),o(K,"class","svelte-lmet59"),me.__value="DESC",oe(me,me.__value),me.selected=ht=t[9].url.searchParams.get("order")==="DESC",de.__value="ASC",oe(de,de.__value),de.selected=mt=t[9].url.searchParams.get("order")==="ASC",o(_e,"name","order"),o(_e,"id","order"),o(_e,"class","svelte-lmet59"),o(we,"for","order"),o(we,"class","button svelte-lmet59"),o(ee,"class","svelte-lmet59"),o(Y,"class","sort svelte-lmet59"),o(Ae,"class","svelte-lmet59"),o(ne,"type","date"),o(ne,"name","start_time"),o(ne,"id","start_time"),o(ne,"min",t[12].toISOString().split("T")[0]),o(ne,"max",t[11].toISOString().split("T")[0]),ne.value=gt=t[9].url.searchParams.get("start_time")||t[11].toISOString().split("T")[0],o(ne,"class","svelte-lmet59"),o(Me,"class","svelte-lmet59"),o(pe,"type","text"),o(pe,"name","lb_status_codes"),o(pe,"class","svelte-lmet59"),o(A,"action",""),o(A,"id","filters"),o(A,"class","svelte-lmet59"),o(a,"class","filters svelte-lmet59"),o(Te,"class","svelte-lmet59"),o(ye,"class","duration svelte-lmet59"),o(he,"class","svelte-lmet59"),o(Je,"class","svelte-lmet59"),o(Pe,"class","svelte-lmet59"),o(Ze,"class","content svelte-lmet59"),o(Ke,"class","container svelte-lmet59"),o(e,"class","page svelte-lmet59")},m(F,q){U(F,s,q),U(F,e,q),n(e,a),n(a,i),n(i,r),n(i,E),n(i,P),n(P,p),n(p,k),n(p,b),Oe(C,p,null),t[16](p),n(P,T),n(P,w),n(w,d),n(w,v),Oe(m,w,null),n(a,D),n(a,S),H&&H.m(S,null),t[18](S),n(a,ue),n(a,A),n(A,R),Oe(Q,R,null),n(A,x),n(A,Y),n(Y,W),n(Y,Xe),n(Y,ee),n(ee,K),n(K,X),n(X,Be),n(K,te),n(te,It),n(K,le),n(le,Ot),n(K,se),n(se,Lt),n(K,ae),n(ae,qt),n(K,re),n(re,Dt),t[20](K),n(ee,At),n(ee,_e),n(_e,me),n(me,Mt),n(_e,de),n(de,yt),t[22](_e),n(ee,$t),n(ee,we),$e[ce].m(we,null),n(A,Ft),n(A,De),n(De,Ae),n(De,Rt),n(De,ne),n(A,Ut),n(A,ge),n(ge,Me),n(ge,Ht),n(ge,pe),oe(pe,t[5]),n(ge,Vt),J&&J.m(ge,null),t[28](A),n(e,Bt),n(e,Ke),n(Ke,Ze),n(Ze,Pe),n(Pe,Je),n(Je,he),Se.m(he,null),n(he,vt),n(he,Te),n(Te,bt),n(Te,jt),n(Te,Et),n(he,Kt),n(he,ye),n(Pe,Zt),z&&z.m(Pe,null),n(e,Jt),V&&V.m(e,null),t[29](e),$=!0,zt||(tl=[Ee(p,"click",t[13]),jl(j=rs.call(null,S,t[17])),Ee(K,"change",t[21]),Ee(_e,"change",t[23]),Ee(ne,"input",function(){Nl(t[1].requestSubmit())&&t[1].requestSubmit().apply(this,arguments)}),Ee(pe,"input",t[24])],zt=!0)},p(F,q){var Fe,Re,Ue,He,tt;t=F,(!$||q[0]&1024)&&l!==(l="Logs"+((Fe=t[10].online)!=null&&Fe.MPKIT_URL?": "+t[10].online.MPKIT_URL.replace("https://",""):""))&&(document.title=l),(!$||q[0]&128)&&be(p,"active",t[7]),t[7]?H?(H.p(t,q),q[0]&128&&B(H,1)):(H=Dl(t),H.c(),B(H,1),H.m(S,null)):H&&(Nt(),Z(H,1,1,()=>{H=null}),Ct()),j&&Nl(j.update)&&q[0]&384&&j.update.call(null,t[17]);const ke={};q[0]&512&&(ke.checked=t[9].url.searchParams.get("aggregate")),Q.$set(ke),(!$||q[0]&512&&I!==(I=t[9].url.searchParams.get("order_by")==="count"))&&(X.selected=I),(!$||q[0]&528&&je!==(je=!t[9].url.searchParams.get("aggregate")&&!t[4]))&&(X.hidden=je),(!$||q[0]&512&&st!==(st=t[9].url.searchParams.get("order_by")==="http_request_path"))&&(te.selected=st),(!$||q[0]&528&&at!==(at=!t[9].url.searchParams.get("aggregate")&&!t[4]))&&(te.hidden=at),(!$||q[0]&512&&rt!==(rt=t[9].url.searchParams.get("order_by")==="median_target_processing_time"))&&(le.selected=rt),(!$||q[0]&528&&nt!==(nt=!t[9].url.searchParams.get("aggregate")&&!t[4]))&&(le.hidden=nt),(!$||q[0]&512&&ot!==(ot=t[9].url.searchParams.get("order_by")==="_timestamp"||!t[9].url.searchParams.get("order_by")&&!t[9].url.searchParams.get("aggregate")))&&(se.selected=ot),(!$||q[0]&528&&it!==(it=t[9].url.searchParams.get("aggregate")||t[4]))&&(se.hidden=it),(!$||q[0]&512&&ut!==(ut=t[9].url.searchParams.get("order_by")==="http_request_path"))&&(ae.selected=ut),(!$||q[0]&528&&_t!==(_t=t[9].url.searchParams.get("aggregate")||t[4]))&&(ae.hidden=_t),(!$||q[0]&512&&ct!==(ct=t[9].url.searchParams.get("order_by")==="target_processing_time"))&&(re.selected=ct),(!$||q[0]&528&&ft!==(ft=t[9].url.searchParams.get("aggregate")||t[4]))&&(re.hidden=ft),(!$||q[0]&512&&ht!==(ht=t[9].url.searchParams.get("order")==="DESC"))&&(me.selected=ht),(!$||q[0]&512&&mt!==(mt=t[9].url.searchParams.get("order")==="ASC"))&&(de.selected=mt);let ve=ce;ce=sl(t,q),ce!==ve&&(Nt(),Z($e[ve],1,1,()=>{$e[ve]=null}),Ct(),fe=$e[ce],fe||(fe=$e[ce]=ll[ce](t),fe.c()),B(fe,1),fe.m(we,null)),(!$||q[0]&512&>!==(gt=t[9].url.searchParams.get("start_time")||t[11].toISOString().split("T")[0]))&&(ne.value=gt),q[0]&32&&pe.value!==t[5]&&oe(pe,t[5]),(Ue=(Re=t[10].networks)==null?void 0:Re.aggs)!=null&&Ue.filters?J?J.p(t,q):(J=Al(t),J.c(),J.m(ge,null)):J&&(J.d(1),J=null),Pt!==(Pt=al(t,q))&&(Se.d(1),Se=Pt(t),Se&&(Se.c(),Se.m(he,vt))),(!$||q[0]&512)&&xe!==(xe=t[9].url.searchParams.get("aggregate")=="http_request_path"?"Aggregated ":"")&&G(bt,xe),(!$||q[0]&512)&&et!==(et=t[9].url.searchParams.get("aggregate")=="http_request_path"?"s":"")&&G(Et,et),(tt=(He=t[10].networks)==null?void 0:He.aggs)!=null&&tt.results?z?z.p(t,q):(z=yl(t),z.c(),z.m(Pe,null)):z&&(z.d(1),z=null),t[9].params.id?V?(V.p(t,q),q[0]&512&&B(V,1)):(V=Fl(t),V.c(),B(V,1),V.m(e,null)):V&&(Nt(),Z(V,1,1,()=>{V=null}),Ct())},i(F){$||(B(C.$$.fragment,F),B(m.$$.fragment,F),B(H),B(Q.$$.fragment,F),B(fe),B(V),$=!0)},o(F){Z(C.$$.fragment,F),Z(m.$$.fragment,F),Z(H),Z(Q.$$.fragment,F),Z(fe),Z(V),$=!1},d(F){F&&(_(s),_(e)),Ie(C),t[16](null),Ie(m),H&&H.d(),t[18](null),Ie(Q),t[20](null),t[22](null),$e[ce].d(),J&&J.d(),t[28](null),Se.d(),z&&z.d(),V&&V.d(),t[29](null),zt=!1,Wt(tl)}}}function Ss(t,l,s){var Be;let e,a;kl(t,ls,I=>s(9,e=I)),kl(t,Gt,I=>s(10,a=I));let{$$slots:i={},$$scope:r}=l,u,E;const P=new Date,p=1e3*60*60*24,k=new Date(P-p*3);let c,b,C=!!e.url.searchParams.get("aggregated"),T=((Be=e.url.searchParams.get("lb_status_codes"))==null?void 0:Be.split(","))||[],w=!1,d=!1,N;function v(I){a.networks.aggs&&wl(Gt,a.networks.aggs.results=[],a),ss.get(I).then(je=>{wl(Gt,a.networks=je,a)})}Zl(()=>{v(Object.fromEntries(e.url.searchParams))});let m=e.url.searchParams.toString();es(()=>{m=e.url.searchParams.toString()}),ts(()=>{var I;m!==e.url.searchParams.toString()&&(v(Object.fromEntries(e.url.searchParams)),m=e.url.searchParams.toString(),s(5,T=((I=e.url.searchParams.get("lb_status_codes"))==null?void 0:I.split(","))||[]))});function D(I){w.open?(w.close(),s(7,d=!1)):(w.show(),s(7,d=!0))}const S=[[]];function j(I){Ce[I?"unshift":"push"](()=>{N=I,s(8,N)})}const ue=I=>d&&I.target!==N&&D();function A(I){Ce[I?"unshift":"push"](()=>{w=I,s(6,w)})}const R=async I=>{s(4,C=!!I.target.checked),await Tl(),s(2,c.value=I.target.checked?"count":"_timestamp",c),console.log(c.value),s(3,b.value="DESC",b),await Tl(),E.requestSubmit()};function Q(I){Ce[I?"unshift":"push"](()=>{c=I,s(2,c)})}const x=()=>E.requestSubmit();function Y(I){Ce[I?"unshift":"push"](()=>{b=I,s(3,b)})}const W=()=>E.requestSubmit();function lt(){T=this.value,s(5,T)}function Xe(){T=Wl(S[0],this.__value,this.checked),s(5,T)}const ee=()=>{E.requestSubmit()};function K(I){Ce[I?"unshift":"push"](()=>{E=I,s(1,E)})}function X(I){Ce[I?"unshift":"push"](()=>{u=I,s(0,u)})}return t.$$set=I=>{"$$scope"in I&&s(14,r=I.$$scope)},[u,E,c,b,C,T,w,d,N,e,a,P,k,D,r,i,j,ue,A,R,Q,x,Y,W,lt,Xe,S,ee,K,X]}class As extends Rl{constructor(l){super(),Ul(this,l,Ss,Ps,Hl,{},null,[-1,-1])}}export{As as component}; diff --git a/gui/next/build/_app/immutable/nodes/8.C5n3zv3J.js b/gui/next/build/_app/immutable/nodes/8.Dxi-IDsQ.js similarity index 99% rename from gui/next/build/_app/immutable/nodes/8.C5n3zv3J.js rename to gui/next/build/_app/immutable/nodes/8.Dxi-IDsQ.js index 023724fd5..84f18d6e9 100644 --- a/gui/next/build/_app/immutable/nodes/8.C5n3zv3J.js +++ b/gui/next/build/_app/immutable/nodes/8.Dxi-IDsQ.js @@ -1,4 +1,4 @@ -import{S as He,i as ze,s as Je,d as _,E as me,o as H,p as O,b as ee,c as o,I as ve,J as _e,z as u,e as v,f as b,h as A,L as pe,g as fe,j as p,k as M,M as he,t as ce,W as xe,C as Ue,x as Ke,a9 as Ct,O as Ye,Y as qe,X as et,R as Ce,H as ye,V as $t,K as ue,l as Qe,a5 as yt,N as we,a as De,n as Ze,F as Ie,D as Pt,ae as rt,G as wt,v as It,m as Dt,u as Nt,q as jt,r as Lt,P as it,ag as Ot,Q as Oe}from"../chunks/n7YEDvJi.js";import{g as St}from"../chunks/D0QH3NT1.js";import{e as Se}from"../chunks/DMhVG_ro.js";import"../chunks/IHki7fMi.js";import{g as Ut}from"../chunks/BkTZdoZE.js";import{s as re}from"../chunks/Bp_ajb_u.js";import{q as kt}from"../chunks/iVSWiVfi.js";import{p as At}from"../chunks/C6Nbyvij.js";import{u as Ae}from"../chunks/CNoDK8-a.js";import{c as Mt,T as Rt}from"../chunks/B9_cNKsK.js";import{I as Ne}from"../chunks/DHO4ENnJ.js";import{p as Vt}from"../chunks/6Lnq5zID.js";import{t as Bt}from"../chunks/x4PJc0Qf.js";import{N as Ft}from"../chunks/CYamOUSl.js";function qt(l){let e,a,t,s,r,n,f,i,h,m;return n=new Ne({props:{icon:"x",size:"22"}}),{c(){e=p("form"),a=p("input"),t=M(),s=p("button"),r=p("i"),he(n.$$.fragment),f=ce(` +import{S as He,i as ze,s as Je,d as _,E as me,o as H,p as O,b as ee,c as o,I as ve,J as _e,z as u,e as v,f as b,h as A,L as pe,g as fe,j as p,k as M,M as he,t as ce,W as xe,C as Ue,x as Ke,a9 as Ct,O as Ye,Y as qe,X as et,R as Ce,H as ye,V as $t,K as ue,l as Qe,a5 as yt,N as we,a as De,n as Ze,F as Ie,D as Pt,ae as rt,G as wt,v as It,m as Dt,u as Nt,q as jt,r as Lt,P as it,ag as Ot,Q as Oe}from"../chunks/n7YEDvJi.js";import{g as St}from"../chunks/D0QH3NT1.js";import{e as Se}from"../chunks/DMhVG_ro.js";import"../chunks/IHki7fMi.js";import{g as Ut}from"../chunks/CuNuScQb.js";import{s as re}from"../chunks/Bp_ajb_u.js";import{q as kt}from"../chunks/iVSWiVfi.js";import{p as At}from"../chunks/CPrwbBC6.js";import{u as Ae}from"../chunks/CNoDK8-a.js";import{c as Mt,T as Rt}from"../chunks/B9_cNKsK.js";import{I as Ne}from"../chunks/DHO4ENnJ.js";import{p as Vt}from"../chunks/6Lnq5zID.js";import{t as Bt}from"../chunks/x4PJc0Qf.js";import{N as Ft}from"../chunks/CYamOUSl.js";function qt(l){let e,a,t,s,r,n,f,i,h,m;return n=new Ne({props:{icon:"x",size:"22"}}),{c(){e=p("form"),a=p("input"),t=M(),s=p("button"),r=p("i"),he(n.$$.fragment),f=ce(` Delete user`),this.h()},l(c){e=v(c,"FORM",{});var E=b(e);a=v(E,"INPUT",{type:!0,name:!0}),t=A(E),s=v(E,"BUTTON",{class:!0});var T=b(s);r=v(T,"I",{class:!0});var C=b(r);pe(n.$$.fragment,C),C.forEach(_),f=fe(T,` Delete user`),T.forEach(_),E.forEach(_),this.h()},h(){u(a,"type","hidden"),u(a,"name","id"),a.value=l[0],u(r,"class","svelte-ooaugn"),u(s,"class","danger")},m(c,E){ee(c,e,E),o(e,a),o(e,t),o(e,s),o(s,r),ve(n,r,null),o(s,f),l[3](e),i=!0,h||(m=_e(e,"submit",l[2]),h=!0)},p(c,[E]){(!i||E&1)&&(a.value=c[0])},i(c){i||(O(n.$$.fragment,c),i=!0)},o(c){H(n.$$.fragment,c),i=!1},d(c){c&&_(e),me(n),l[3](null),h=!1,m()}}}function Ht(l,e,a){let{id:t}=e,s,r=xe();const n=async i=>{if(i.preventDefault(),confirm("Are you sure you want to delete this user?")){r("close");const m=new FormData(s).get("id");(await Ae.delete(m)).errors?re.notification.create("error",`Record ${m} could not be deleted`):(re.notification.create("success",`Record ${m} deleted`),r("success"))}};function f(i){Ue[i?"unshift":"push"](()=>{s=i,a(1,s)})}return l.$$set=i=>{"id"in i&&a(0,t=i.id)},[t,s,n,f]}class zt extends He{constructor(e){super(),ze(this,e,Ht,qt,Je,{id:0})}}function Jt(l){let e,a,t,s,r,n,f;return s=new zt({props:{id:l[0].id}}),s.$on("success",l[3]),s.$on("close",l[4]),{c(){e=p("menu"),a=p("ul"),t=p("li"),he(s.$$.fragment),this.h()},l(i){e=v(i,"MENU",{class:!0});var h=b(e);a=v(h,"UL",{});var m=b(a);t=v(m,"LI",{class:!0});var c=b(t);pe(s.$$.fragment,c),c.forEach(_),m.forEach(_),h.forEach(_),this.h()},h(){u(t,"class","svelte-8i1sxu"),u(e,"class","content-context svelte-8i1sxu")},m(i,h){ee(i,e,h),o(e,a),o(a,t),ve(s,t,null),r=!0,n||(f=[_e(window,"keyup",l[2]),Ct(Mt.call(null,e,l[5]))],n=!0)},p(i,[h]){const m={};h&1&&(m.id=i[0].id),s.$set(m)},i(i){r||(O(s.$$.fragment,i),r=!0)},o(i){H(s.$$.fragment,i),r=!1},d(i){i&&_(e),me(s),n=!1,Ke(f)}}}function Kt(l,e,a){let{record:t}=e;const s=xe(),r=h=>{h.key==="Escape"&&s("close")},n=()=>s("reload"),f=()=>s("close"),i=()=>s("close");return l.$$set=h=>{"record"in h&&a(0,t=h.record)},[t,s,r,n,f,i]}class Gt extends He{constructor(e){super(),ze(this,e,Kt,Jt,Je,{record:0})}}function ot(l,e,a){const t=l.slice();return t[13]=e[a],t}function ut(l,e,a){const t=l.slice();t[16]=e[a];const s=t[1]!==null?Vt(t[1].properties[t[16].name],t[16].attribute_type):{type:t[16].attribute_type,value:""};return t[17]=s,t}function ft(l){let e,a=`
`;return{c(){e=p("fieldset"),e.innerHTML=a,this.h()},l(t){e=v(t,"FIELDSET",{class:!0,"data-svelte-h":!0}),ue(e)!=="svelte-1u8xex3"&&(e.innerHTML=a),this.h()},h(){u(e,"class","svelte-26svji")},m(t,s){ee(t,e,s)},d(t){t&&_(e)}}}function Wt(l){let e=l[16].attribute_type+"",a,t,s,r,n;return{c(){a=ce(e),t=M(),s=p("input"),this.h()},l(f){a=fe(f,e),t=A(f),s=v(f,"INPUT",{type:!0,name:!0,class:!0}),this.h()},h(){u(s,"type","hidden"),u(s,"name",r=l[16].name+"[type]"),s.value=n=l[16].attribute_type,u(s,"class","svelte-26svji")},m(f,i){ee(f,a,i),ee(f,t,i),ee(f,s,i)},p(f,i){i&1&&e!==(e=f[16].attribute_type+"")&&De(a,e),i&1&&r!==(r=f[16].name+"[type]")&&u(s,"name",r),i&1&&n!==(n=f[16].attribute_type)&&(s.value=n)},i:Ze,o:Ze,d(f){f&&(_(a),_(t),_(s))}}}function Xt(l){let e,a;return e=new Rt({props:{name:l[16].name+"[type]",options:[{value:"string",label:"string"},{value:"json",label:"json"}],checked:l[17].type==="json"?"json":"string"}}),{c(){he(e.$$.fragment)},l(t){pe(e.$$.fragment,t)},m(t,s){ve(e,t,s),a=!0},p(t,s){const r={};s&1&&(r.name=t[16].name+"[type]"),s&3&&(r.checked=t[17].type==="json"?"json":"string"),e.$set(r)},i(t){a||(O(e.$$.fragment,t),a=!0)},o(t){H(e.$$.fragment,t),a=!1},d(t){me(e,t)}}}function Yt(l){let e,a,t,s;return{c(){e=p("textarea"),this.h()},l(r){e=v(r,"TEXTAREA",{rows:!0,name:!0,id:!0,class:!0}),b(e).forEach(_),this.h()},h(){u(e,"rows","1"),u(e,"name",a=l[16].name+"[value]"),u(e,"id",t="edit_"+l[16].name),e.value=s=l[17].type==="json"||l[17].type==="jsonEscaped"?JSON.stringify(l[17].value,void 0,2):l[17].value,u(e,"class","svelte-26svji")},m(r,n){ee(r,e,n)},p(r,n){n&1&&a!==(a=r[16].name+"[value]")&&u(e,"name",a),n&1&&t!==(t="edit_"+r[16].name)&&u(e,"id",t),n&3&&s!==(s=r[17].type==="json"||r[17].type==="jsonEscaped"?JSON.stringify(r[17].value,void 0,2):r[17].value)&&(e.value=s)},d(r){r&&_(e)}}}function Qt(l){let e,a,t,s,r,n,f,i,h,m;return{c(){e=p("select"),a=p("option"),t=p("option"),s=ce("true"),n=p("option"),f=ce("false"),this.h()},l(c){e=v(c,"SELECT",{name:!0,id:!0});var E=b(e);a=v(E,"OPTION",{class:!0}),b(a).forEach(_),t=v(E,"OPTION",{});var T=b(t);s=fe(T,"true"),T.forEach(_),n=v(E,"OPTION",{});var C=b(n);f=fe(C,"false"),C.forEach(_),E.forEach(_),this.h()},h(){a.__value="",Ie(a,a.__value),u(a,"class","value-null"),t.__value="true",Ie(t,t.__value),t.selected=r=l[17].value==="true",n.__value="false",Ie(n,n.__value),n.selected=i=l[17].value==="false",u(e,"name",h=l[16].name+"[value]"),u(e,"id",m="edit_"+l[16].name)},m(c,E){ee(c,e,E),o(e,a),o(e,t),o(t,s),o(e,n),o(n,f)},p(c,E){E&3&&r!==(r=c[17].value==="true")&&(t.selected=r),E&3&&i!==(i=c[17].value==="false")&&(n.selected=i),E&1&&h!==(h=c[16].name+"[value]")&&u(e,"name",h),E&1&&m!==(m="edit_"+c[16].name)&&u(e,"id",m)},d(c){c&&_(e)}}}function ct(l){let e=l[5][l[16].name].message+"",a;return{c(){a=ce(e)},l(t){a=fe(t,e)},m(t,s){ee(t,a,s)},p(t,s){s&33&&e!==(e=t[5][t[16].name].message+"")&&De(a,e)},d(t){t&&_(a)}}}function dt(l){let e,a,t,s=l[16].name+"",r,n,f,i,h,m,c,E,T,C,F,P;const k=[Xt,Wt],y=[];function z($,B){return $[16].attribute_type==="string"?0:1}h=z(l),m=y[h]=k[h](l);function S($,B){return $[16].attribute_type==="boolean"?Qt:Yt}let R=S(l),J=R(l),U=l[5][l[16].name]&&ct(l);return{c(){e=p("fieldset"),a=p("dir"),t=p("label"),r=ce(s),n=p("br"),f=M(),i=p("div"),m.c(),E=M(),T=p("div"),J.c(),C=M(),F=p("div"),U&&U.c(),this.h()},l($){e=v($,"FIELDSET",{class:!0});var B=b(e);a=v(B,"DIR",{});var K=b(a);t=v(K,"LABEL",{for:!0,class:!0});var q=b(t);r=fe(q,s),n=v(q,"BR",{}),f=A(q),i=v(q,"DIV",{class:!0});var V=b(i);m.l(V),V.forEach(_),q.forEach(_),K.forEach(_),E=A(B),T=v(B,"DIV",{});var W=b(T);J.l(W),C=A(W),F=v(W,"DIV",{role:!0,class:!0});var I=b(F);U&&U.l(I),I.forEach(_),W.forEach(_),B.forEach(_),this.h()},h(){u(i,"class","type svelte-26svji"),u(t,"for",c="edit_"+l[16].name),u(t,"class","svelte-26svji"),u(F,"role","alert"),u(F,"class","svelte-26svji"),u(e,"class","svelte-26svji")},m($,B){ee($,e,B),o(e,a),o(a,t),o(t,r),o(t,n),o(t,f),o(t,i),y[h].m(i,null),o(e,E),o(e,T),J.m(T,null),o(T,C),o(T,F),U&&U.m(F,null),P=!0},p($,B){(!P||B&1)&&s!==(s=$[16].name+"")&&De(r,s);let K=h;h=z($),h===K?y[h].p($,B):(Ce(),H(y[K],1,1,()=>{y[K]=null}),ye(),m=y[h],m?m.p($,B):(m=y[h]=k[h]($),m.c()),O(m,1),m.m(i,null)),(!P||B&1&&c!==(c="edit_"+$[16].name))&&u(t,"for",c),R===(R=S($))&&J?J.p($,B):(J.d(1),J=R($),J&&(J.c(),J.m(T,C))),$[5][$[16].name]?U?U.p($,B):(U=ct($),U.c(),U.m(F,null)):U&&(U.d(1),U=null)},i($){P||(O(m),P=!0)},o($){H(m),P=!1},d($){$&&_(e),y[h].d(),J.d(),U&&U.d()}}}function _t(l){let e,a=(l[13].message??JSON.stringify(l[13]))+"",t,s;return{c(){e=p("li"),t=ce(a),s=M(),this.h()},l(r){e=v(r,"LI",{class:!0});var n=b(e);t=fe(n,a),s=A(n),n.forEach(_),this.h()},h(){u(e,"class","svelte-26svji")},m(r,n){ee(r,e,n),o(e,t),o(e,s)},p(r,n){n&16&&a!==(a=(r[13].message??JSON.stringify(r[13]))+"")&&De(t,a)},d(r){r&&_(e)}}}function Zt(l){let e;return{c(){e=ce("Edit user")},l(a){e=fe(a,"Edit user")},m(a,t){ee(a,e,t)},d(a){a&&_(e)}}}function xt(l){let e;return{c(){e=ce("Create user")},l(a){e=fe(a,"Create user")},m(a,t){ee(a,e,t)},d(a){a&&_(e)}}}function el(l){let e,a,t,s,r,n=`