diff --git a/server/generated/ui/_app/chunks/error-boundary-ed391cfd.js b/server/generated/ui/_app/chunks/error-boundary-e2df6d7c.js similarity index 99% rename from server/generated/ui/_app/chunks/error-boundary-ed391cfd.js rename to server/generated/ui/_app/chunks/error-boundary-e2df6d7c.js index 040f46bd58..30bfbc25cb 100644 --- a/server/generated/ui/_app/chunks/error-boundary-ed391cfd.js +++ b/server/generated/ui/_app/chunks/error-boundary-e2df6d7c.js @@ -1,3 +1,3 @@ -var te=Object.defineProperty;var L=Object.getOwnPropertySymbols;var oe=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable;var T=(n,e,r)=>e in n?te(n,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[e]=r,I=(n,e)=>{for(var r in e||(e={}))oe.call(e,r)&&T(n,r,e[r]);if(L)for(var r of L(e))se.call(e,r)&&T(n,r,e[r]);return n};import{r as ne,a as le,n as S}from"./route-for-api-3a26c58e.js";import{H as ae,S as A,i as C,s as P,e as v,t as N,k as J,c as E,a as w,h as B,d as b,m as Q,b as q,g as x,M as y,T as ie,j as M,a1 as ce,a2 as ue,a3 as fe,a4 as _e,a5 as de,a6 as pe,n as R,a7 as he,p as V,q as g,o as k,N as W,E as $,a8 as be,l as F,F as O,a9 as j,I as X,J as Y,K as Z,L as ee,w as me,x as ye,y as ge,B as ke}from"./index-604742bf.js";import{n as K}from"./notifications-cfed8e58.js";import{c as ve,a as Ee,q as we}from"./index-69aa65a3.js";import{E as $e}from"./error-a039bd7e.js";import{w as U}from"./index-c9e619a8.js";const Ge=async(n=fetch)=>{const e=await ne(le("user"),{request:n});return{name:e==null?void 0:e.Name,email:e==null?void 0:e.Email,picture:e==null?void 0:e.Picture}};function ze(n,{from:e,to:r},t={}){const s=getComputedStyle(n),i=s.transform==="none"?"":s.transform,[c,a]=s.transformOrigin.split(" ").map(parseFloat),o=e.left+e.width*c/r.width-(r.left+c),l=e.top+e.height*a/r.height-(r.top+a),{delay:_=0,duration:d=h=>Math.sqrt(h)*120,easing:u=ve}=t;return{delay:_,duration:ae(d)?d(Math.sqrt(o*o+l*l)):d,easing:u,css:(h,p)=>{const z=p*o,f=p*l,m=h+p*e.width/r.width,D=h+p*e.height/r.height;return`transform: ${i} translate(${z}px, ${f}px) scale(${m}, ${D});`}}}function G(n,e,r){const t=n.slice();return t[4]=e[r],t}function H(n,e){let r,t,s=e[4].message+"",i,c,a,o,l,_,d=$,u,h,p;function z(){return e[3](e[4])}return{key:n,first:null,c(){r=v("article"),t=v("p"),i=N(s),c=J(),this.h()},l(f){r=E(f,"ARTICLE",{class:!0});var m=w(r);t=E(m,"P",{});var D=w(t);i=B(D,s),D.forEach(b),c=Q(m),m.forEach(b),this.h()},h(){q(r,"class",a="mb-4 px-8 py-6 opacity-90 shadow-lg "+e[4].type+" svelte-2zx94o"),this.first=r},m(f,m){x(f,r,m),y(r,t),y(t,i),y(r,c),u=!0,h||(p=ie(r,"click",z),h=!0)},p(f,m){e=f,(!u||m&1)&&s!==(s=e[4].message+"")&&M(i,s),(!u||m&1&&a!==(a="mb-4 px-8 py-6 opacity-90 shadow-lg "+e[4].type+" svelte-2zx94o"))&&q(r,"class",a)},r(){_=r.getBoundingClientRect()},f(){ce(r),d(),ue(r,_)},a(){d(),d=fe(r,_,ze,{})},i(f){u||(_e(()=>{l&&l.end(1),o=de(r,e[2],{key:e[4].id}),o.start()}),u=!0)},o(f){o&&o.invalidate(),l=pe(r,e[1],{key:e[4].id}),u=!1},d(f){f&&b(r),f&&l&&l.end(),h=!1,p()}}}function Ne(n){let e,r=[],t=new Map,s,i=n[0];const c=a=>a[4].id;for(let a=0;ar(0,t=a));const[s,i]=Ee({duration:a=>Math.sqrt(a*100),fallback(a){const o=getComputedStyle(a),l=o.transform==="none"?"":o.transform;return{duration:600,easing:we,css:_=>`transform: ${l} scale(${_}); opacity: ${_}`}}});return[t,s,i,a=>K.dismiss(a.id)]}class He extends A{constructor(e){super(),C(this,e,Be,Ne,P,{})}}function qe(n){let e;const r=n[8].default,t=X(r,n,n[7],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,i){t&&t.m(s,i),e=!0},p(s,i){t&&t.p&&(!e||i&128)&&Y(t,r,s,s[7],e?ee(r,s[7],i,null):Z(s[7]),null)},i(s){e||(g(t,s),e=!0)},o(s){k(t,s),e=!1},d(s){t&&t.d(s)}}}function xe(n){let e,r;return e=new $e({props:{error:n[2]}}),e.$on("clearError",n[3]),{c(){me(e.$$.fragment)},l(t){ye(e.$$.fragment,t)},m(t,s){ge(e,t,s),r=!0},p(t,s){const i={};s&4&&(i.error=t[2]),e.$set(i)},i(t){r||(g(e.$$.fragment,t),r=!0)},o(t){k(e.$$.fragment,t),r=!1},d(t){ke(e,t)}}}function De(n){let e,r,t,s;const i=[xe,qe],c=[];function a(o,l){return o[1]&&o[2]?0:1}return e=a(n),r=c[e]=i[e](n),{c(){r.c(),t=F()},l(o){r.l(o),t=F()},m(o,l){c[e].m(o,l),x(o,t,l),s=!0},p(o,[l]){let _=e;e=a(o),e===_?c[e].p(o,l):(R(),k(c[_],1,1,()=>{c[_]=null}),V(),r=c[e],r?r.p(o,l):(r=c[e]=i[e](o),r.c()),g(r,1),r.m(t.parentNode,t))},i(o){s||(g(r),s=!0)},o(o){k(r),s=!1},d(o){c[e].d(o),o&&b(t)}}}function Se(n,e,r){let t,s,i=$,c=()=>(i(),i=O(u,f=>r(6,s=f)),u),a,o=$,l=()=>(o(),o=O(p,f=>r(2,a=f)),p);W(n,S,f=>r(5,t=f)),n.$$.on_destroy.push(()=>i()),n.$$.on_destroy.push(()=>o());let{$$slots:_={},$$scope:d}=e,{error:u=null}=e;c();let{onError:h=null}=e,p;function z(){j(u,s=null,s),r(4,h=null),l(r(1,p=null)),j(S,t=null,t)}return n.$$set=f=>{"error"in f&&c(r(0,u=f.error)),"onError"in f&&r(4,h=f.onError),"$$scope"in f&&r(7,d=f.$$scope)},n.$$.update=()=>{n.$$.dirty&115&&(u&&s&&l(r(1,p=u)),S&&t&&l(r(1,p=S)),h&&p&&h(p))},[u,p,a,z,h,t,s,d,_]}class Fe extends A{constructor(e){super(),C(this,e,Se,De,P,{error:0,onError:4})}}function Ie(n){let e;const r=n[5].default,t=X(r,n,n[4],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,i){t&&t.m(s,i),e=!0},p(s,i){t&&t.p&&(!e||i&16)&&Y(t,r,s,s[4],e?ee(r,s[4],i,null):Z(s[4]),null)},i(s){e||(g(t,s),e=!0)},o(s){k(t,s),e=!1},d(s){t&&t.d(s)}}}function Me(n){let e,r,t=n[1].message+"",s,i,c,a,o=(n[2]?n[1].stack:"")+"",l,_;return{c(){e=v("div"),r=v("b"),s=N(t),i=J(),c=v("pre"),a=N(" "),l=N(o),_=N(` +var te=Object.defineProperty;var L=Object.getOwnPropertySymbols;var oe=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable;var T=(n,e,r)=>e in n?te(n,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[e]=r,I=(n,e)=>{for(var r in e||(e={}))oe.call(e,r)&&T(n,r,e[r]);if(L)for(var r of L(e))se.call(e,r)&&T(n,r,e[r]);return n};import{r as ne,a as le,n as S}from"./route-for-api-605baeb9.js";import{H as ae,S as A,i as C,s as P,e as v,t as N,k as J,c as E,a as w,h as B,d as b,m as Q,b as q,g as x,M as y,T as ie,j as M,a1 as ce,a2 as ue,a3 as fe,a4 as _e,a5 as de,a6 as pe,n as R,a7 as he,p as V,q as g,o as k,N as W,E as $,a8 as be,l as F,F as O,a9 as j,I as X,J as Y,K as Z,L as ee,w as me,x as ye,y as ge,B as ke}from"./index-604742bf.js";import{n as K}from"./notifications-cfed8e58.js";import{c as ve,a as Ee,q as we}from"./index-69aa65a3.js";import{E as $e}from"./error-a039bd7e.js";import{w as U}from"./index-c9e619a8.js";const Ge=async(n=fetch)=>{const e=await ne(le("user"),{request:n});return{name:e==null?void 0:e.Name,email:e==null?void 0:e.Email,picture:e==null?void 0:e.Picture}};function ze(n,{from:e,to:r},t={}){const s=getComputedStyle(n),i=s.transform==="none"?"":s.transform,[c,a]=s.transformOrigin.split(" ").map(parseFloat),o=e.left+e.width*c/r.width-(r.left+c),l=e.top+e.height*a/r.height-(r.top+a),{delay:_=0,duration:d=h=>Math.sqrt(h)*120,easing:u=ve}=t;return{delay:_,duration:ae(d)?d(Math.sqrt(o*o+l*l)):d,easing:u,css:(h,p)=>{const z=p*o,f=p*l,m=h+p*e.width/r.width,D=h+p*e.height/r.height;return`transform: ${i} translate(${z}px, ${f}px) scale(${m}, ${D});`}}}function G(n,e,r){const t=n.slice();return t[4]=e[r],t}function H(n,e){let r,t,s=e[4].message+"",i,c,a,o,l,_,d=$,u,h,p;function z(){return e[3](e[4])}return{key:n,first:null,c(){r=v("article"),t=v("p"),i=N(s),c=J(),this.h()},l(f){r=E(f,"ARTICLE",{class:!0});var m=w(r);t=E(m,"P",{});var D=w(t);i=B(D,s),D.forEach(b),c=Q(m),m.forEach(b),this.h()},h(){q(r,"class",a="mb-4 px-8 py-6 opacity-90 shadow-lg "+e[4].type+" svelte-2zx94o"),this.first=r},m(f,m){x(f,r,m),y(r,t),y(t,i),y(r,c),u=!0,h||(p=ie(r,"click",z),h=!0)},p(f,m){e=f,(!u||m&1)&&s!==(s=e[4].message+"")&&M(i,s),(!u||m&1&&a!==(a="mb-4 px-8 py-6 opacity-90 shadow-lg "+e[4].type+" svelte-2zx94o"))&&q(r,"class",a)},r(){_=r.getBoundingClientRect()},f(){ce(r),d(),ue(r,_)},a(){d(),d=fe(r,_,ze,{})},i(f){u||(_e(()=>{l&&l.end(1),o=de(r,e[2],{key:e[4].id}),o.start()}),u=!0)},o(f){o&&o.invalidate(),l=pe(r,e[1],{key:e[4].id}),u=!1},d(f){f&&b(r),f&&l&&l.end(),h=!1,p()}}}function Ne(n){let e,r=[],t=new Map,s,i=n[0];const c=a=>a[4].id;for(let a=0;ar(0,t=a));const[s,i]=Ee({duration:a=>Math.sqrt(a*100),fallback(a){const o=getComputedStyle(a),l=o.transform==="none"?"":o.transform;return{duration:600,easing:we,css:_=>`transform: ${l} scale(${_}); opacity: ${_}`}}});return[t,s,i,a=>K.dismiss(a.id)]}class He extends A{constructor(e){super(),C(this,e,Be,Ne,P,{})}}function qe(n){let e;const r=n[8].default,t=X(r,n,n[7],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,i){t&&t.m(s,i),e=!0},p(s,i){t&&t.p&&(!e||i&128)&&Y(t,r,s,s[7],e?ee(r,s[7],i,null):Z(s[7]),null)},i(s){e||(g(t,s),e=!0)},o(s){k(t,s),e=!1},d(s){t&&t.d(s)}}}function xe(n){let e,r;return e=new $e({props:{error:n[2]}}),e.$on("clearError",n[3]),{c(){me(e.$$.fragment)},l(t){ye(e.$$.fragment,t)},m(t,s){ge(e,t,s),r=!0},p(t,s){const i={};s&4&&(i.error=t[2]),e.$set(i)},i(t){r||(g(e.$$.fragment,t),r=!0)},o(t){k(e.$$.fragment,t),r=!1},d(t){ke(e,t)}}}function De(n){let e,r,t,s;const i=[xe,qe],c=[];function a(o,l){return o[1]&&o[2]?0:1}return e=a(n),r=c[e]=i[e](n),{c(){r.c(),t=F()},l(o){r.l(o),t=F()},m(o,l){c[e].m(o,l),x(o,t,l),s=!0},p(o,[l]){let _=e;e=a(o),e===_?c[e].p(o,l):(R(),k(c[_],1,1,()=>{c[_]=null}),V(),r=c[e],r?r.p(o,l):(r=c[e]=i[e](o),r.c()),g(r,1),r.m(t.parentNode,t))},i(o){s||(g(r),s=!0)},o(o){k(r),s=!1},d(o){c[e].d(o),o&&b(t)}}}function Se(n,e,r){let t,s,i=$,c=()=>(i(),i=O(u,f=>r(6,s=f)),u),a,o=$,l=()=>(o(),o=O(p,f=>r(2,a=f)),p);W(n,S,f=>r(5,t=f)),n.$$.on_destroy.push(()=>i()),n.$$.on_destroy.push(()=>o());let{$$slots:_={},$$scope:d}=e,{error:u=null}=e;c();let{onError:h=null}=e,p;function z(){j(u,s=null,s),r(4,h=null),l(r(1,p=null)),j(S,t=null,t)}return n.$$set=f=>{"error"in f&&c(r(0,u=f.error)),"onError"in f&&r(4,h=f.onError),"$$scope"in f&&r(7,d=f.$$scope)},n.$$.update=()=>{n.$$.dirty&115&&(u&&s&&l(r(1,p=u)),S&&t&&l(r(1,p=S)),h&&p&&h(p))},[u,p,a,z,h,t,s,d,_]}class Fe extends A{constructor(e){super(),C(this,e,Se,De,P,{error:0,onError:4})}}function Ie(n){let e;const r=n[5].default,t=X(r,n,n[4],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,i){t&&t.m(s,i),e=!0},p(s,i){t&&t.p&&(!e||i&16)&&Y(t,r,s,s[4],e?ee(r,s[4],i,null):Z(s[4]),null)},i(s){e||(g(t,s),e=!0)},o(s){k(t,s),e=!1},d(s){t&&t.d(s)}}}function Me(n){let e,r,t=n[1].message+"",s,i,c,a,o=(n[2]?n[1].stack:"")+"",l,_;return{c(){e=v("div"),r=v("b"),s=N(t),i=J(),c=v("pre"),a=N(" "),l=N(o),_=N(` `),this.h()},l(d){e=E(d,"DIV",{class:!0});var u=w(e);r=E(u,"B",{});var h=w(r);s=B(h,t),h.forEach(b),i=Q(u),c=E(u,"PRE",{class:!0});var p=w(c);a=B(p," "),l=B(p,o),_=B(p,` `),p.forEach(b),u.forEach(b),this.h()},h(){q(c,"class","trace svelte-urrl06"),q(e,"class","error svelte-urrl06")},m(d,u){x(d,e,u),y(e,r),y(r,s),y(e,i),y(e,c),y(c,a),y(c,l),y(c,_)},p(d,u){u&2&&t!==(t=d[1].message+"")&&M(s,t),u&2&&o!==(o=(d[2]?d[1].stack:"")+"")&&M(l,o)},i:$,o:$,d(d){d&&b(e)}}}function Oe(n){let e,r,t,s;const i=[Me,Ie],c=[];function a(o,l){return o[1]?0:1}return e=a(n),r=c[e]=i[e](n),{c(){r.c(),t=F()},l(o){r.l(o),t=F()},m(o,l){c[e].m(o,l),x(o,t,l),s=!0},p(o,[l]){let _=e;e=a(o),e===_?c[e].p(o,l):(R(),k(c[_],1,1,()=>{c[_]=null}),V(),r=c[e],r?r.p(o,l):(r=c[e]=i[e](o),r.c()),g(r,1),r.m(t.parentNode,t))},i(o){s||(g(r),s=!0)},o(o){k(r),s=!1},d(o){c[e].d(o),o&&b(t)}}}function Ae(n,e,r){let t,s=$,i=()=>(s(),s=O(o,u=>r(1,t=u)),o);n.$$.on_destroy.push(()=>s());let{$$slots:c={},$$scope:a}=e,{error:o=null}=e;i();let{onError:l=null}=e,d=(typeof process!="undefined"&&process.env&&"production")!=="production";return n.$$set=u=>{"error"in u&&i(r(0,o=u.error)),"onError"in u&&r(3,l=u.onError),"$$scope"in u&&r(4,a=u.$$scope)},n.$$.update=()=>{n.$$.dirty&10&&t&&l&&l(t)},[o,t,d,l,a,c]}class Ce extends A{constructor(e){super(),C(this,e,Ae,Oe,P,{error:0,onError:3})}}const Pe=["c","l","h","m","p","a","i","o","d"];function re(n){if(n.$$render){let r=n.$$render;return n.$$render=(t,s,i,c)=>{const a=U(void 0);try{return r(t,I({error:a},s),i,c)}catch(o){return a.set(o),r(t,I({error:a},s),i,{})}},n}function e(r,t){return function(...i){try{return r(...i)}catch(c){t(c)}}}return class extends n{constructor(t){const s=U(void 0);t.props.$$slots.default=t.props.$$slots.default.map(i=>(...c)=>{let o=e(i,s.set)(...c);if(o)for(let l of Pe)o[l]&&(o[l]=e(o[l],s.set));return o}),super(t),this.$$set({error:s})}}}re(Ce);const Qe=re(Fe);export{Qe as E,He as N,Ge as f}; diff --git a/server/generated/ui/_app/chunks/events-5f708b93.js b/server/generated/ui/_app/chunks/events-6d840455.js similarity index 97% rename from server/generated/ui/_app/chunks/events-5f708b93.js rename to server/generated/ui/_app/chunks/events-6d840455.js index 363db584b1..3807af67cf 100644 --- a/server/generated/ui/_app/chunks/events-5f708b93.js +++ b/server/generated/ui/_app/chunks/events-6d840455.js @@ -1 +1 @@ -var G=Object.defineProperty,P=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var d=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var v=(e,t,r)=>t in e?G(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,g=(e,t)=>{for(var r in t||(t={}))d.call(t,r)&&v(e,r,t[r]);if(i)for(var r of i(t))w.call(t,r)&&v(e,r,t[r]);return e},y=(e,t)=>P(e,h(t));var k=(e,t)=>{var r={};for(var s in e)d.call(e,s)&&t.indexOf(s)<0&&(r[s]=e[s]);if(e!=null&&i)for(var s of i(e))t.indexOf(s)<0&&w.call(e,s)&&(r[s]=e[s]);return r};import{d as o,r as _,w as f}from"./index-c9e619a8.js";import{p as c}from"./stores-810822a9.js";import{a as S}from"./events-service-97238182.js";import{a as I,b as l}from"./event-view-963ec0ce.js";import{k as m}from"./route-for-1f2060cd.js";import{w as q,d as H}from"./with-loading-22689bcc.js";import{g as O}from"./get-event-categorization-8a63628f.js";import{X as R}from"./index-604742bf.js";const j={events:[],eventGroups:[]},x=o([c],([e])=>m(e.params.namespace)),C=o([c],([e])=>e.params.workflow?m(e.params.workflow):""),F=o([c],([e])=>e.params.run?m(e.params.run):""),L=o([c],([e])=>e.stuff.settings),b={namespace:null,workflowId:null,runId:null,rawPayloads:null,sort:null},E=f(b),Z=()=>{E.set(b)},N=(e,t)=>{for(const n of["namespace","workflowId","runId"])if(!e[n])return!1;let r=!0;const s=R(t);for(const n of Object.keys(s))if(s[n]!==e[n]){r=!1;break}return r?!1:(t.set(e),!0)},T=o([x,C,F,I],([e,t,r,s])=>({namespace:e,workflowId:t,runId:r,sort:s})),U=o([T,L],([e,t])=>y(g({},e),{settings:t})),W=e=>U.subscribe(async t=>{const n=t,{settings:r}=n,s=k(n,["settings"]);N(s,E)&&q(z,X,async()=>{var u;const a=await S(t);(u=a==null?void 0:a.events)!=null&&u.length?e(a):setTimeout(()=>{e(a)},H)})}),p=_(j,W),$=o([p,l],([e,t])=>{const{events:r}=e;return t?r.filter(s=>s.category===t):r}),ee=o([p,l],([e,t])=>{const{eventGroups:r}=e;return t?r.filter(s=>s.category===t):r}),te=o([p,I,l],([e,t,r])=>{const{events:s}=e,n=t==="descending"?s.slice().reverse():s,a=O(n);return r?a.filter(u=>u.category===r):a}),X=f(!0),z=f(!0);export{te as a,$ as b,Z as c,ee as d,p as e,X as u}; +var G=Object.defineProperty,P=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var d=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var v=(e,t,r)=>t in e?G(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,g=(e,t)=>{for(var r in t||(t={}))d.call(t,r)&&v(e,r,t[r]);if(i)for(var r of i(t))w.call(t,r)&&v(e,r,t[r]);return e},y=(e,t)=>P(e,h(t));var k=(e,t)=>{var r={};for(var s in e)d.call(e,s)&&t.indexOf(s)<0&&(r[s]=e[s]);if(e!=null&&i)for(var s of i(e))t.indexOf(s)<0&&w.call(e,s)&&(r[s]=e[s]);return r};import{d as o,r as _,w as f}from"./index-c9e619a8.js";import{p as c}from"./stores-810822a9.js";import{a as S}from"./events-service-c14937d5.js";import{a as I,b as l}from"./event-view-963ec0ce.js";import{k as m}from"./route-for-1f2060cd.js";import{w as q,d as H}from"./with-loading-22689bcc.js";import{g as O}from"./get-event-categorization-8a63628f.js";import{X as R}from"./index-604742bf.js";const j={events:[],eventGroups:[]},x=o([c],([e])=>m(e.params.namespace)),C=o([c],([e])=>e.params.workflow?m(e.params.workflow):""),F=o([c],([e])=>e.params.run?m(e.params.run):""),L=o([c],([e])=>e.stuff.settings),b={namespace:null,workflowId:null,runId:null,rawPayloads:null,sort:null},E=f(b),Z=()=>{E.set(b)},N=(e,t)=>{for(const n of["namespace","workflowId","runId"])if(!e[n])return!1;let r=!0;const s=R(t);for(const n of Object.keys(s))if(s[n]!==e[n]){r=!1;break}return r?!1:(t.set(e),!0)},T=o([x,C,F,I],([e,t,r,s])=>({namespace:e,workflowId:t,runId:r,sort:s})),U=o([T,L],([e,t])=>y(g({},e),{settings:t})),W=e=>U.subscribe(async t=>{const n=t,{settings:r}=n,s=k(n,["settings"]);N(s,E)&&q(z,X,async()=>{var u;const a=await S(t);(u=a==null?void 0:a.events)!=null&&u.length?e(a):setTimeout(()=>{e(a)},H)})}),p=_(j,W),$=o([p,l],([e,t])=>{const{events:r}=e;return t?r.filter(s=>s.category===t):r}),ee=o([p,l],([e,t])=>{const{eventGroups:r}=e;return t?r.filter(s=>s.category===t):r}),te=o([p,I,l],([e,t,r])=>{const{events:s}=e,n=t==="descending"?s.slice().reverse():s,a=O(n);return r?a.filter(u=>u.category===r):a}),X=f(!0),z=f(!0);export{te as a,$ as b,Z as c,ee as d,p as e,X as u}; diff --git a/server/generated/ui/_app/chunks/events-service-97238182.js b/server/generated/ui/_app/chunks/events-service-c14937d5.js similarity index 96% rename from server/generated/ui/_app/chunks/events-service-97238182.js rename to server/generated/ui/_app/chunks/events-service-c14937d5.js index 99e7f80ac4..795eef74ad 100644 --- a/server/generated/ui/_app/chunks/events-service-97238182.js +++ b/server/generated/ui/_app/chunks/events-service-c14937d5.js @@ -1 +1 @@ -var l=Object.defineProperty;var u=Object.getOwnPropertySymbols;var v=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var p=(e,s,n)=>s in e?l(e,s,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[s]=n,A=(e,s)=>{for(var n in s||(s={}))v.call(s,n)&&p(e,n,s[n]);if(u)for(var n of u(s))h.call(s,n)&&p(e,n,s[n]);return e};var m=(e,s)=>{var n={};for(var r in e)v.call(e,r)&&s.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&u)for(var r of u(e))s.indexOf(r)<0&&h.call(e,r)&&(n[r]=e[r]);return n};import{i as y,h as F,r as w,a as P}from"./route-for-api-3a26c58e.js";import{t as b}from"./index-e3391e94.js";const E=(e={},s={})=>{const n=A({},e);for(const r of Object.keys(s)){const t=n[r];Array.isArray(t)?n[r]=n[r].concat(s[r]):typeof t=="object"&&!Array.isArray(t)?n[r]=E(n[r],s[r]):n[r]=s[r]}return n},k=async(e,{onStart:s,onUpdate:n,onComplete:r,onError:t=F,token:f,previousProps:i}={})=>{!i&&y(s)&&s();try{const c=await e(f),{nextPageToken:o}=c,d=m(c,["nextPageToken"]),a=E(i,d);return y(n)&&n(a,d),o?k(e,{onStart:s,onUpdate:n,onComplete:r,token:o,previousProps:a}):(y(r)&&r(a),a)}catch(g){t(g)}},j=e=>e==="ascending"||e==="descending",q=e=>!j(e)||e==="descending"?"events.descending":e==="ascending"?"events.ascending":"events.descending",x=async({namespace:e,workflowId:s,runId:n,sort:r,onStart:t,onUpdate:f,onComplete:i})=>{const c=q(r);return(await k(async o=>w(P(c,{namespace:e,workflowId:s,runId:n}),{token:o,request:fetch}),{onStart:t,onUpdate:f,onComplete:i})).history.events},T=async e=>{const{settings:s,namespace:n}=e;return x(e).then(r=>b({response:r,namespace:n,settings:s}))};export{T as a,x as f}; +var l=Object.defineProperty;var u=Object.getOwnPropertySymbols;var v=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var p=(e,s,n)=>s in e?l(e,s,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[s]=n,A=(e,s)=>{for(var n in s||(s={}))v.call(s,n)&&p(e,n,s[n]);if(u)for(var n of u(s))h.call(s,n)&&p(e,n,s[n]);return e};var m=(e,s)=>{var n={};for(var r in e)v.call(e,r)&&s.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&u)for(var r of u(e))s.indexOf(r)<0&&h.call(e,r)&&(n[r]=e[r]);return n};import{i as y,h as F,r as w,a as P}from"./route-for-api-605baeb9.js";import{t as b}from"./index-e3391e94.js";const E=(e={},s={})=>{const n=A({},e);for(const r of Object.keys(s)){const t=n[r];Array.isArray(t)?n[r]=n[r].concat(s[r]):typeof t=="object"&&!Array.isArray(t)?n[r]=E(n[r],s[r]):n[r]=s[r]}return n},k=async(e,{onStart:s,onUpdate:n,onComplete:r,onError:t=F,token:f,previousProps:i}={})=>{!i&&y(s)&&s();try{const c=await e(f),{nextPageToken:o}=c,d=m(c,["nextPageToken"]),a=E(i,d);return y(n)&&n(a,d),o?k(e,{onStart:s,onUpdate:n,onComplete:r,token:o,previousProps:a}):(y(r)&&r(a),a)}catch(g){t(g)}},j=e=>e==="ascending"||e==="descending",q=e=>!j(e)||e==="descending"?"events.descending":e==="ascending"?"events.ascending":"events.descending",x=async({namespace:e,workflowId:s,runId:n,sort:r,onStart:t,onUpdate:f,onComplete:i})=>{const c=q(r);return(await k(async o=>w(P(c,{namespace:e,workflowId:s,runId:n}),{token:o,request:fetch}),{onStart:t,onUpdate:f,onComplete:i})).history.events},T=async e=>{const{settings:s,namespace:n}=e;return x(e).then(r=>b({response:r,namespace:n,settings:s}))};export{T as a,x as f}; diff --git a/server/generated/ui/_app/chunks/query-service-1ec7a5fc.js b/server/generated/ui/_app/chunks/query-service-3f8ed2d0.js similarity index 95% rename from server/generated/ui/_app/chunks/query-service-1ec7a5fc.js rename to server/generated/ui/_app/chunks/query-service-3f8ed2d0.js index 1acd108e9c..b89b03d0d9 100644 --- a/server/generated/ui/_app/chunks/query-service-1ec7a5fc.js +++ b/server/generated/ui/_app/chunks/query-service-3f8ed2d0.js @@ -1 +1 @@ -var d=Object.defineProperty,f=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var p=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;var u=(t,r,e)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,s=(t,r)=>{for(var e in r||(r={}))p.call(r,e)&&u(t,e,r[e]);if(c)for(var e of c(r))m.call(r,e)&&u(t,e,r[e]);return t},i=(t,r)=>f(t,l(r));import{r as g,a as h,c as O}from"./route-for-api-3a26c58e.js";import{a as _}from"./atob-eb4fc9a1.js";const I=t=>{const r=t.indexOf("["),e=t.indexOf("]");return t.slice(r+1,e).split(" ").filter(a=>a!=="__stack_trace").map(a=>a.endsWith(",")?a.slice(0,a.length-1):a)},T=async(t,r)=>(r=await r,{namespace:t,workflowId:r.id,runId:r.runId});async function y({workflow:t,namespace:r,queryType:e},a=fetch,n){t=await t;const o=await T(r,t);return await g(h("query",o),{options:{method:"POST",body:JSON.stringify({execution:{workflowId:t.id,runId:t.runId},query:{queryType:e}})},request:a,onError:n,notifyOnError:!1})}async function Q(t,r=fetch){return new Promise((e,a)=>{y(i(s({},t),{queryType:"@@temporal-internal__list"}),r,n=>{O(n.body)&&n.body.message.includes("@@temporal-internal__list")?e(I(n.body.message)):a(n)})})}async function b(t,r=fetch){return y(t,r).then(e=>{const{queryResult:a}=e!=null?e:{queryResult:{payloads:[]}};let n=a.payloads;try{return n[0]&&(n=_(a.payloads[0].data)),JSON.parse(n)}catch{return typeof n!="string"?JSON.stringify(n):n}})}async function A(t,r=fetch){return b(i(s({},t),{queryType:"__stack_trace"}),r)}export{b as a,A as b,Q as g}; +var d=Object.defineProperty,f=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var p=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;var u=(t,r,e)=>r in t?d(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,s=(t,r)=>{for(var e in r||(r={}))p.call(r,e)&&u(t,e,r[e]);if(c)for(var e of c(r))m.call(r,e)&&u(t,e,r[e]);return t},i=(t,r)=>f(t,l(r));import{r as g,a as h,c as O}from"./route-for-api-605baeb9.js";import{a as _}from"./atob-eb4fc9a1.js";const I=t=>{const r=t.indexOf("["),e=t.indexOf("]");return t.slice(r+1,e).split(" ").filter(a=>a!=="__stack_trace").map(a=>a.endsWith(",")?a.slice(0,a.length-1):a)},T=async(t,r)=>(r=await r,{namespace:t,workflowId:r.id,runId:r.runId});async function y({workflow:t,namespace:r,queryType:e},a=fetch,n){t=await t;const o=await T(r,t);return await g(h("query",o),{options:{method:"POST",body:JSON.stringify({execution:{workflowId:t.id,runId:t.runId},query:{queryType:e}})},request:a,onError:n,notifyOnError:!1})}async function Q(t,r=fetch){return new Promise((e,a)=>{y(i(s({},t),{queryType:"@@temporal-internal__list"}),r,n=>{O(n.body)&&n.body.message.includes("@@temporal-internal__list")?e(I(n.body.message)):a(n)})})}async function b(t,r=fetch){return y(t,r).then(e=>{const{queryResult:a}=e!=null?e:{queryResult:{payloads:[]}};let n=a.payloads;try{return n[0]&&(n=_(a.payloads[0].data)),JSON.parse(n)}catch{return typeof n!="string"?JSON.stringify(n):n}})}async function A(t,r=fetch){return b(i(s({},t),{queryType:"__stack_trace"}),r)}export{b as a,A as b,Q as g}; diff --git a/server/generated/ui/_app/chunks/route-for-api-3a26c58e.js b/server/generated/ui/_app/chunks/route-for-api-605baeb9.js similarity index 100% rename from server/generated/ui/_app/chunks/route-for-api-3a26c58e.js rename to server/generated/ui/_app/chunks/route-for-api-605baeb9.js diff --git a/server/generated/ui/_app/chunks/settings-service-86784aa7.js b/server/generated/ui/_app/chunks/settings-service-8e3e4e7f.js similarity index 94% rename from server/generated/ui/_app/chunks/settings-service-86784aa7.js rename to server/generated/ui/_app/chunks/settings-service-8e3e4e7f.js index f626800cec..e940b0cc57 100644 --- a/server/generated/ui/_app/chunks/settings-service-86784aa7.js +++ b/server/generated/ui/_app/chunks/settings-service-8e3e4e7f.js @@ -1 +1 @@ -import{r as i,a as p,b as f}from"./route-for-api-3a26c58e.js";const a={};function w(){var r;return(r={}.VITE_TEMPORAL_UI_BUILD_TARGET)!=null?r:null}const m=/(tmprl\.cloud|tmprl-test\.cloud)$/,E=async(r=fetch)=>{var n,c,t,l,u,d;const o=await i(p("settings"),{request:r}),e=w();return{auth:{enabled:!!((n=o==null?void 0:o.Auth)!=null&&n.Enabled),options:(c=o==null?void 0:o.Auth)==null?void 0:c.Options},baseUrl:((l=(t=a==null?void 0:a.env)==null?void 0:t.VITE_API)!=null?l:f)?window.location.origin:"",codec:{endpoint:(u=o==null?void 0:o.Codec)==null?void 0:u.Endpoint,accessToken:(d=o==null?void 0:o.Codec)==null?void 0:d.AccessToken},defaultNamespace:(o==null?void 0:o.DefaultNamespace)||"default",showTemporalSystemNamespace:o==null?void 0:o.ShowTemporalSystemNamespace,notifyOnNewVersion:o==null?void 0:o.NotifyOnNewVersion,feedbackURL:o==null?void 0:o.FeedbackURL,runtimeEnvironment:{get isCloud(){return e?e==="cloud":m.test(window.location.hostname)},get isLocal(){return e?e==="local":m.test(window.location.hostname)},envOverride:Boolean(e)},version:o==null?void 0:o.Version}};export{E as f}; +import{r as i,a as p,b as f}from"./route-for-api-605baeb9.js";const a={};function w(){var r;return(r={}.VITE_TEMPORAL_UI_BUILD_TARGET)!=null?r:null}const m=/(tmprl\.cloud|tmprl-test\.cloud)$/,E=async(r=fetch)=>{var n,c,t,l,u,d;const o=await i(p("settings"),{request:r}),e=w();return{auth:{enabled:!!((n=o==null?void 0:o.Auth)!=null&&n.Enabled),options:(c=o==null?void 0:o.Auth)==null?void 0:c.Options},baseUrl:((l=(t=a==null?void 0:a.env)==null?void 0:t.VITE_API)!=null?l:f)?window.location.origin:"",codec:{endpoint:(u=o==null?void 0:o.Codec)==null?void 0:u.Endpoint,accessToken:(d=o==null?void 0:o.Codec)==null?void 0:d.AccessToken},defaultNamespace:(o==null?void 0:o.DefaultNamespace)||"default",showTemporalSystemNamespace:o==null?void 0:o.ShowTemporalSystemNamespace,notifyOnNewVersion:o==null?void 0:o.NotifyOnNewVersion,feedbackURL:o==null?void 0:o.FeedbackURL,runtimeEnvironment:{get isCloud(){return e?e==="cloud":m.test(window.location.hostname)},get isLocal(){return e?e==="local":m.test(window.location.hostname)},envOverride:Boolean(e)},version:o==null?void 0:o.Version}};export{E as f}; diff --git a/server/generated/ui/_app/chunks/workflow-run-60a1c465.js b/server/generated/ui/_app/chunks/workflow-run-4b2466b3.js similarity index 91% rename from server/generated/ui/_app/chunks/workflow-run-60a1c465.js rename to server/generated/ui/_app/chunks/workflow-run-4b2466b3.js index 15be6fdc0b..d09367841c 100644 --- a/server/generated/ui/_app/chunks/workflow-run-60a1c465.js +++ b/server/generated/ui/_app/chunks/workflow-run-4b2466b3.js @@ -1 +1 @@ -import{d as i,r as T,w}from"./index-c9e619a8.js";import{p as l}from"./stores-810822a9.js";import{w as d}from"./with-loading-22689bcc.js";import{f as y}from"./workflow-service-b18a98d3.js";import{r as m,a as p}from"./route-for-api-3a26c58e.js";import{k as Q}from"./route-for-1f2060cd.js";async function A(e,t=fetch){const a=await m(p("task-queue",e),{request:t,params:{taskQueueType:"1"}}),r=await m(p("task-queue",e),{request:t,params:{taskQueueType:"2"}});r.pollers.forEach(s=>{s.taskQueueTypes=["ACTIVITY"]}),a.pollers.forEach(s=>{s.taskQueueTypes=["WORKFLOW"]});const u=s=>(o,c)=>{const n=o[c.identity]||{lastAccessTime:void 0,taskQueueTypes:[]};return o[c.identity]={lastAccessTime:!n.lastAccessTime||n.lastAccessTimea.pollers.some(o=>{if(s.identity===o.identity)return s.taskQueueTypes=[...o.taskQueueTypes,...s.taskQueueTypes],s})),r.pollers.reduce(u("ACTIVITY"),a.pollers.reduce(u("WORKFLOW"),{})),{pollers:r.pollers,taskQueueStatus:r.taskQueueStatus}}const I=i([l],([e])=>e.params.namespace),R=i([l],([e])=>e.params.workflow),W=i([l],([e])=>e.params.run),g=i([I,R,W],([e,t,a])=>({namespace:e,workflowId:Q(t!=null?t:""),runId:a})),h={workflow:null,workers:null},F=e=>g.subscribe(({namespace:t,workflowId:a,runId:r})=>{t&&a&&r?d(f,k,async()=>{const u=await y({namespace:t,workflowId:a,runId:r}),{taskQueue:s}=u,o=await A({queue:s,namespace:t});e({workflow:u,workers:o})}):(f.set(!0),k.set(!1))}),k=w(!0),f=w(!0),S=T(h,F);export{f as l,S as w}; +import{d as i,r as T,w}from"./index-c9e619a8.js";import{p as l}from"./stores-810822a9.js";import{w as d}from"./with-loading-22689bcc.js";import{f as y}from"./workflow-service-250a9fea.js";import{r as m,a as p}from"./route-for-api-605baeb9.js";import{k as Q}from"./route-for-1f2060cd.js";async function A(e,t=fetch){const a=await m(p("task-queue",e),{request:t,params:{taskQueueType:"1"}}),r=await m(p("task-queue",e),{request:t,params:{taskQueueType:"2"}});r.pollers.forEach(s=>{s.taskQueueTypes=["ACTIVITY"]}),a.pollers.forEach(s=>{s.taskQueueTypes=["WORKFLOW"]});const u=s=>(o,c)=>{const n=o[c.identity]||{lastAccessTime:void 0,taskQueueTypes:[]};return o[c.identity]={lastAccessTime:!n.lastAccessTime||n.lastAccessTimea.pollers.some(o=>{if(s.identity===o.identity)return s.taskQueueTypes=[...o.taskQueueTypes,...s.taskQueueTypes],s})),r.pollers.reduce(u("ACTIVITY"),a.pollers.reduce(u("WORKFLOW"),{})),{pollers:r.pollers,taskQueueStatus:r.taskQueueStatus}}const I=i([l],([e])=>e.params.namespace),R=i([l],([e])=>e.params.workflow),W=i([l],([e])=>e.params.run),g=i([I,R,W],([e,t,a])=>({namespace:e,workflowId:Q(t!=null?t:""),runId:a})),h={workflow:null,workers:null},F=e=>g.subscribe(({namespace:t,workflowId:a,runId:r})=>{t&&a&&r?d(f,k,async()=>{const u=await y({namespace:t,workflowId:a,runId:r}),{taskQueue:s}=u,o=await A({queue:s,namespace:t});e({workflow:u,workers:o})}):(f.set(!0),k.set(!1))}),k=w(!0),f=w(!0),S=T(h,F);export{f as l,S as w}; diff --git a/server/generated/ui/_app/chunks/workflow-service-b18a98d3.js b/server/generated/ui/_app/chunks/workflow-service-250a9fea.js similarity index 97% rename from server/generated/ui/_app/chunks/workflow-service-b18a98d3.js rename to server/generated/ui/_app/chunks/workflow-service-250a9fea.js index 54bbef05ff..43855f1ff4 100644 --- a/server/generated/ui/_app/chunks/workflow-service-b18a98d3.js +++ b/server/generated/ui/_app/chunks/workflow-service-250a9fea.js @@ -1 +1 @@ -var q=Object.defineProperty,K=Object.defineProperties;var P=Object.getOwnPropertyDescriptors;var d=Object.getOwnPropertySymbols;var Q=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var y=(t,o,n)=>o in t?q(t,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[o]=n,I=(t,o)=>{for(var n in o||(o={}))Q.call(o,n)&&y(t,n,o[n]);if(d)for(var n of d(o))R.call(o,n)&&y(t,n,o[n]);return t},T=(t,o)=>K(t,P(o));import{s as D}from"./simplify-attributes-64d6cf1a.js";import{r as g,a as h}from"./route-for-api-3a26c58e.js";import{b as N,e as j,h as E,j as F}from"./to-duration-271d3946.js";const B=(t=[])=>t.map(o=>{const n=D(o,!0),e=o.activityId;return T(I({},n),{id:e})}),A=t=>{var w,l,k,m,x;const o=t.workflowExecutionInfo.type.name,n=t.workflowExecutionInfo.execution.workflowId,e=t.workflowExecutionInfo.execution.runId,i=String(t.workflowExecutionInfo.startTime),f=String(t.workflowExecutionInfo.closeTime),c=t.workflowExecutionInfo.status,u=t.workflowExecutionInfo.status==="Running",s=t.workflowExecutionInfo.historyLength,a=`/workflows/${n}/${e}`,r=(l=(w=t==null?void 0:t.executionConfig)==null?void 0:w.taskQueue)==null?void 0:l.name,W=(k=t==null?void 0:t.workflowExecutionInfo)==null?void 0:k.parentNamespaceId,S=(m=t==null?void 0:t.workflowExecutionInfo)==null?void 0:m.parentExecution,$=t.workflowExecutionInfo.stateTransitionCount,C=(x=t.executionConfig)==null?void 0:x.defaultWorkflowTaskTimeout,b=B(t.pendingActivities);return{name:o,id:n,runId:e,startTime:i,endTime:f,status:c,historyEvents:s,url:a,taskQueue:r,pendingActivities:b,parentNamespaceId:W,parent:S,stateTransitionCount:$,isRunning:u,defaultWorkflowTaskTimeout:C}},L=t=>(t.executions||[]).map(o=>A({workflowExecutionInfo:o})),O={workflowId:"WorkflowId",workflowType:"WorkflowType",timeRange:"StartTime",executionStatus:"ExecutionStatus",closeTime:"CloseTime"},U=["workflowId","workflowType","timeRange","executionStatus","closeTime"],V=t=>!(t===null||t===void 0||t===""||typeof t=="string"&&t==="undefined"),p=t=>{if(typeof t!="string")return!1;for(const o of U)if(o===t)return!0;return!1},z=(t,o,n)=>{const e=O[t];return o==="All"?"":N(o)||j(o)?n?`${e} > "${E(o)}"`:`${e} BETWEEN "${E(o)}" AND "${F()}"`:`${e}="${o}"`},G=(t,o)=>Object.entries(t).map(([n,e])=>{if(p(n)&&V(e))return z(n,e,o)}).filter(Boolean),H=(t,o=!1)=>G(t,o).join(" and "),J=async(t,o,n=fetch,e=!1)=>{var r;const i=decodeURIComponent(o.query||H(o,e)),f=e?"workflows.archived":"workflows";let c,u;const{executions:s,nextPageToken:a}=(r=await g(h(f,{namespace:t}),{params:{query:i},onError:c,request:n}))!=null?r:{executions:[],nextPageToken:""};return{workflows:L({executions:s}),nextPageToken:String(a),error:u}},_=async(t,o,n=fetch)=>J(t,o,n,!0);async function v(t,o=fetch){return g(h("workflow",t),{request:o}).then(A)}export{J as a,_ as b,v as f,H as t}; +var q=Object.defineProperty,K=Object.defineProperties;var P=Object.getOwnPropertyDescriptors;var d=Object.getOwnPropertySymbols;var Q=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var y=(t,o,n)=>o in t?q(t,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[o]=n,I=(t,o)=>{for(var n in o||(o={}))Q.call(o,n)&&y(t,n,o[n]);if(d)for(var n of d(o))R.call(o,n)&&y(t,n,o[n]);return t},T=(t,o)=>K(t,P(o));import{s as D}from"./simplify-attributes-64d6cf1a.js";import{r as g,a as h}from"./route-for-api-605baeb9.js";import{b as N,e as j,h as E,j as F}from"./to-duration-271d3946.js";const B=(t=[])=>t.map(o=>{const n=D(o,!0),e=o.activityId;return T(I({},n),{id:e})}),A=t=>{var w,l,k,m,x;const o=t.workflowExecutionInfo.type.name,n=t.workflowExecutionInfo.execution.workflowId,e=t.workflowExecutionInfo.execution.runId,i=String(t.workflowExecutionInfo.startTime),f=String(t.workflowExecutionInfo.closeTime),c=t.workflowExecutionInfo.status,u=t.workflowExecutionInfo.status==="Running",s=t.workflowExecutionInfo.historyLength,a=`/workflows/${n}/${e}`,r=(l=(w=t==null?void 0:t.executionConfig)==null?void 0:w.taskQueue)==null?void 0:l.name,W=(k=t==null?void 0:t.workflowExecutionInfo)==null?void 0:k.parentNamespaceId,S=(m=t==null?void 0:t.workflowExecutionInfo)==null?void 0:m.parentExecution,$=t.workflowExecutionInfo.stateTransitionCount,C=(x=t.executionConfig)==null?void 0:x.defaultWorkflowTaskTimeout,b=B(t.pendingActivities);return{name:o,id:n,runId:e,startTime:i,endTime:f,status:c,historyEvents:s,url:a,taskQueue:r,pendingActivities:b,parentNamespaceId:W,parent:S,stateTransitionCount:$,isRunning:u,defaultWorkflowTaskTimeout:C}},L=t=>(t.executions||[]).map(o=>A({workflowExecutionInfo:o})),O={workflowId:"WorkflowId",workflowType:"WorkflowType",timeRange:"StartTime",executionStatus:"ExecutionStatus",closeTime:"CloseTime"},U=["workflowId","workflowType","timeRange","executionStatus","closeTime"],V=t=>!(t===null||t===void 0||t===""||typeof t=="string"&&t==="undefined"),p=t=>{if(typeof t!="string")return!1;for(const o of U)if(o===t)return!0;return!1},z=(t,o,n)=>{const e=O[t];return o==="All"?"":N(o)||j(o)?n?`${e} > "${E(o)}"`:`${e} BETWEEN "${E(o)}" AND "${F()}"`:`${e}="${o}"`},G=(t,o)=>Object.entries(t).map(([n,e])=>{if(p(n)&&V(e))return z(n,e,o)}).filter(Boolean),H=(t,o=!1)=>G(t,o).join(" and "),J=async(t,o,n=fetch,e=!1)=>{var r;const i=decodeURIComponent(o.query||H(o,e)),f=e?"workflows.archived":"workflows";let c,u;const{executions:s,nextPageToken:a}=(r=await g(h(f,{namespace:t}),{params:{query:i},onError:c,request:n}))!=null?r:{executions:[],nextPageToken:""};return{workflows:L({executions:s}),nextPageToken:String(a),error:u}},_=async(t,o,n=fetch)=>J(t,o,n,!0);async function v(t,o=fetch){return g(h("workflow",t),{request:o}).then(A)}export{J as a,_ as b,v as f,H as t}; diff --git a/server/generated/ui/_app/chunks/workflows-92f8c48f.js b/server/generated/ui/_app/chunks/workflows-1f018cf1.js similarity index 88% rename from server/generated/ui/_app/chunks/workflows-92f8c48f.js rename to server/generated/ui/_app/chunks/workflows-1f018cf1.js index 17df6ac392..26b0e8930a 100644 --- a/server/generated/ui/_app/chunks/workflows-92f8c48f.js +++ b/server/generated/ui/_app/chunks/workflows-1f018cf1.js @@ -1 +1 @@ -import{d as s,r as n,w as e}from"./index-c9e619a8.js";import{p as o}from"./stores-810822a9.js";import{a as p}from"./workflow-service-b18a98d3.js";import{w as m}from"./with-loading-22689bcc.js";const w=s([o],([a])=>a.params.namespace),u=s([o],([a])=>a.url.searchParams.get("query")),i=s([w,u],([a,r])=>({namespace:a,query:r})),l=a=>i.subscribe(({namespace:r,query:t})=>{m(d,f,async()=>{const{workflows:c}=await p(r,{query:t});a(c)})}),h=e({parameters:{},searchType:"basic"}),f=e(!0),d=e(!0),q=n([],l);export{q as a,d as l,f as u,h as w}; +import{d as s,r as n,w as e}from"./index-c9e619a8.js";import{p as o}from"./stores-810822a9.js";import{a as p}from"./workflow-service-250a9fea.js";import{w as m}from"./with-loading-22689bcc.js";const w=s([o],([a])=>a.params.namespace),u=s([o],([a])=>a.url.searchParams.get("query")),i=s([w,u],([a,r])=>({namespace:a,query:r})),l=a=>i.subscribe(({namespace:r,query:t})=>{m(d,f,async()=>{const{workflows:c}=await p(r,{query:t});a(c)})}),h=e({parameters:{},searchType:"basic"}),f=e(!0),d=e(!0),q=n([],l);export{q as a,d as l,f as u,h as w}; diff --git a/server/generated/ui/_app/chunks/workflows-summary-row-2c944249.js b/server/generated/ui/_app/chunks/workflows-summary-row-89774f0c.js similarity index 99% rename from server/generated/ui/_app/chunks/workflows-summary-row-2c944249.js rename to server/generated/ui/_app/chunks/workflows-summary-row-89774f0c.js index 6450f30d37..853d07d752 100644 --- a/server/generated/ui/_app/chunks/workflows-summary-row-2c944249.js +++ b/server/generated/ui/_app/chunks/workflows-summary-row-89774f0c.js @@ -1 +1 @@ -var tt=Object.defineProperty,lt=Object.defineProperties;var rt=Object.getOwnPropertyDescriptors;var Me=Object.getOwnPropertySymbols;var ot=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable;var Qe=(t,e,r)=>e in t?tt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Re=(t,e)=>{for(var r in e||(e={}))ot.call(e,r)&&Qe(t,r,e[r]);if(Me)for(var r of Me(e))st.call(e,r)&&Qe(t,r,e[r]);return t},je=(t,e)=>lt(t,rt(e));import{S as De,i as qe,s as Ee,I as at,e as m,t as N,k as I,c as h,a as v,h as C,d as c,m as S,b,g as ie,M as n,J as nt,K as it,L as ft,q as D,o as A,T as O,U as be,ar as ke,E as Te,H as ct,n as ye,p as ge,w as me,x as he,y as ve,B as pe,l as He,N as $e,j as ne,G as ut}from"./index-604742bf.js";import{p as dt}from"./stores-810822a9.js";import{g as mt}from"./navigation-6709cf39.js";import{c as ht,f as x,d as Ke}from"./format-date-919f4714.js";import{l as vt}from"./route-for-1f2060cd.js";import{u as pt}from"./update-query-parameters-08bf783c.js";import{l as bt,m as kt,n as wt,o as _t,p as yt,q as gt}from"./to-duration-271d3946.js";import{t as Ge}from"./workflow-service-b18a98d3.js";import{W as Et}from"./workflow-status-ca8cb7e9.js";import{I as et}from"./index-0574ae1f.js";import{c as Tt}from"./copy-to-clipboard-8832075c.js";function It(t){let e,r,l,s,f,o,a,i,p,W,g,k,V,j,G,U,w,z,M,_,L,B,q,Q;const F=t[1].default,E=at(F,t,t[0],null);return{c(){e=m("section"),r=m("div"),l=m("div"),s=m("div"),f=N("Status"),o=I(),a=m("div"),i=N("Workflow ID"),p=I(),W=m("div"),g=N("Type"),k=I(),V=m("div"),j=N("Start"),G=I(),U=m("div"),w=N("End"),z=I(),M=m("div"),_=m("div"),L=N("Summary"),B=I(),q=m("div"),E&&E.c(),this.h()},l(y){e=h(y,"SECTION",{class:!0});var T=v(e);r=h(T,"DIV",{class:!0});var $=v(r);l=h($,"DIV",{class:!0});var P=v(l);s=h(P,"DIV",{class:!0});var J=v(s);f=C(J,"Status"),J.forEach(c),o=S(P),a=h(P,"DIV",{class:!0});var Y=v(a);i=C(Y,"Workflow ID"),Y.forEach(c),p=S(P),W=h(P,"DIV",{class:!0});var Z=v(W);g=C(Z,"Type"),Z.forEach(c),k=S(P),V=h(P,"DIV",{class:!0});var ee=v(V);j=C(ee,"Start"),ee.forEach(c),G=S(P),U=h(P,"DIV",{class:!0});var te=v(U);w=C(te,"End"),te.forEach(c),P.forEach(c),$.forEach(c),z=S(T),M=h(T,"DIV",{class:!0});var X=v(M);_=h(X,"DIV",{class:!0});var le=v(_);L=C(le,"Summary"),le.forEach(c),X.forEach(c),B=S(T),q=h(T,"DIV",{class:!0});var re=v(q);E&&E.l(re),re.forEach(c),T.forEach(c),this.h()},h(){b(s,"class","table-header table-cell w-28 rounded-tl-md svelte-qkbvym"),b(a,"class","table-header table-cell md:w-60 xl:w-auto svelte-qkbvym"),b(W,"class","table-header table-cell md:w-60 xl:w-80 svelte-qkbvym"),b(V,"class","table-header hidden text-sm xl:table-cell xl:w-64 xl:text-base svelte-qkbvym"),b(U,"class","table-header hidden rounded-tr-md xl:table-cell xl:w-64 svelte-qkbvym"),b(l,"class","hidden md:table-row"),b(r,"class","table-header-row md:table-header-group svelte-qkbvym"),b(_,"class","rounded-t-md border-b p-2"),b(M,"class","table-header-row md:hidden svelte-qkbvym"),b(q,"class","overflow-y-auto md:table-row-group"),b(e,"class","workflow-table svelte-qkbvym")},m(y,T){ie(y,e,T),n(e,r),n(r,l),n(l,s),n(s,f),n(l,o),n(l,a),n(a,i),n(l,p),n(l,W),n(W,g),n(l,k),n(l,V),n(V,j),n(l,G),n(l,U),n(U,w),n(e,z),n(e,M),n(M,_),n(_,L),n(e,B),n(e,q),E&&E.m(q,null),Q=!0},p(y,[T]){E&&E.p&&(!Q||T&1)&&nt(E,F,y,y[0],Q?ft(F,y[0],T,null):it(y[0]),null)},i(y){Q||(D(E,y),Q=!0)},o(y){A(E,y),Q=!1},d(y){y&&c(e),E&&E.d(y)}}}function St(t,e,r){let{$$slots:l={},$$scope:s}=e;return t.$$set=f=>{"$$scope"in f&&r(0,s=f.$$scope)},[s,l]}class Yt extends De{constructor(e){super(),qe(this,e,St,It,Ee,{})}}const Dt=t=>{const e=[],r=()=>{l&&(e.push(l),l="")};let l="",s=0;for(;se=>e.toLowerCase()===t.toLowerCase(),_e=(t,e)=>t[e+2],qt=t=>{for(const e of gt)if(t[e])return{[e]:t[e]}},Vt=Ie("WorkflowType"),Wt=Ie("WorkflowId"),Ft=Ie("StartTime"),Pt=Ie("ExecutionStatus"),Nt=t=>{const e=Dt(t),r={workflowId:"",workflowType:"",executionStatus:null,timeRange:null};return e.forEach((l,s)=>{if(Wt(l)&&(r.workflowId=_e(e,s)),Vt(l)&&(r.workflowType=_e(e,s)),Pt(l)){const f=_e(e,s);_t(f)&&(r.executionStatus=f)}if(Ft(l)){const f=_e(e,s);try{const o=yt(f),a=qt(o);r.timeRange=ht(a)}catch(o){console.error("Error parsing StartTime from query",o)}}}),r};function Je(t){let e,r,l,s,f,o=t[1]&&Xe(t),a=t[2]&&Ze(t);return{c(){e=m("div"),o&&o.c(),r=I(),a&&a.c(),this.h()},l(i){e=h(i,"DIV",{class:!0});var p=v(e);o&&o.l(p),r=S(p),a&&a.l(p),p.forEach(c),this.h()},h(){b(e,"class","copy-or-filter svelte-1llgntb")},m(i,p){ie(i,e,p),o&&o.m(e,null),n(e,r),a&&a.m(e,null),l=!0,s||(f=O(e,"click",be(ke(Te))),s=!0)},p(i,p){i[1]?o?(o.p(i,p),p&2&&D(o,1)):(o=Xe(i),o.c(),D(o,1),o.m(e,r)):o&&(ye(),A(o,1,1,()=>{o=null}),ge()),i[2]?a?(a.p(i,p),p&4&&D(a,1)):(a=Ze(i),a.c(),D(a,1),a.m(e,null)):a&&(ye(),A(a,1,1,()=>{a=null}),ge())},i(i){l||(D(o),D(a),l=!0)},o(i){A(o),A(a),l=!1},d(i){i&&c(e),o&&o.d(),a&&a.d(),s=!1,f()}}}function Xe(t){let e,r=t[4],l,s,f,o=Ye(t);return{c(){e=m("button"),o.c()},l(a){e=h(a,"BUTTON",{});var i=v(e);o.l(i),i.forEach(c)},m(a,i){ie(a,e,i),o.m(e,null),l=!0,s||(f=O(e,"click",be(ke(function(){ct(t[3])&&t[3].apply(this,arguments)}))),s=!0)},p(a,i){t=a,i&16&&Ee(r,r=t[4])?(ye(),A(o,1,1,Te),ge(),o=Ye(t),o.c(),D(o,1),o.m(e,null)):o.p(t,i)},i(a){l||(D(o),l=!0)},o(a){A(o),l=!1},d(a){a&&c(e),o.d(a),s=!1,f()}}}function Ye(t){let e,r;return e=new et({props:{name:"filter",stroke:"#000",fill:t[4]?"#000":"",class:"h-4 w-4"}}),{c(){me(e.$$.fragment)},l(l){he(e.$$.fragment,l)},m(l,s){ve(e,l,s),r=!0},p(l,s){const f={};s&16&&(f.fill=l[4]?"#000":""),e.$set(f)},i(l){r||(D(e.$$.fragment,l),r=!0)},o(l){A(e.$$.fragment,l),r=!1},d(l){pe(e,l)}}}function Ze(t){let e,r,l,s,f;return r=new et({props:{name:t[5]?"checkMark":"copy",stroke:"#000",class:"h-4 w-4"}}),{c(){e=m("button"),me(r.$$.fragment)},l(o){e=h(o,"BUTTON",{});var a=v(e);he(r.$$.fragment,a),a.forEach(c)},m(o,a){ie(o,e,a),ve(r,e,null),l=!0,s||(f=O(e,"click",be(ke(t[6]))),s=!0)},p(o,a){const i={};a&32&&(i.name=o[5]?"checkMark":"copy"),r.$set(i)},i(o){l||(D(r.$$.fragment,o),l=!0)},o(o){A(r.$$.fragment,o),l=!1},d(o){o&&c(e),pe(r),s=!1,f()}}}function Ct(t){let e,r,l=t[0]&&Je(t);return{c(){l&&l.c(),e=He()},l(s){l&&l.l(s),e=He()},m(s,f){l&&l.m(s,f),ie(s,e,f),r=!0},p(s,[f]){s[0]?l?(l.p(s,f),f&1&&D(l,1)):(l=Je(s),l.c(),D(l,1),l.m(e.parentNode,e)):l&&(ye(),A(l,1,1,()=>{l=null}),ge())},i(s){r||(D(l),r=!0)},o(s){A(l),r=!1},d(s){l&&l.d(s),s&&c(e)}}}function At(t,e,r){let l,{show:s=!1}=e,{filterable:f=!0}=e,{copyable:o=!0}=e,{content:a}=e,{onFilter:i=Te}=e,{filtered:p=!1}=e;const{copy:W,copied:g}=Tt(a,700);return $e(t,g,k=>r(5,l=k)),t.$$set=k=>{"show"in k&&r(0,s=k.show),"filterable"in k&&r(1,f=k.filterable),"copyable"in k&&r(2,o=k.copyable),"content"in k&&r(8,a=k.content),"onFilter"in k&&r(3,i=k.onFilter),"filtered"in k&&r(4,p=k.filtered)},[s,f,o,i,p,l,W,g,a]}class xe extends De{constructor(e){super(),qe(this,e,At,Ct,Ee,{show:0,filterable:1,copyable:2,content:8,onFilter:3,filtered:4})}}function Lt(t){var We,Fe,Pe;let e,r,l,s,f,o,a,i=t[0].id+"",p,W,g,k,V,j=x(t[0].startTime,t[1])+"",G,U,w,z,M,_,L,B=t[0].name+"",q,Q,F,E,y,T=x(t[0].endTime,t[1])+"",$,P,J,Y,Z=x(t[0].startTime,t[1])+"",ee,te,X,le,re,oe,fe,ce=x(t[0].endTime,t[1])+"",we,H,Se,Ve;return s=new Et({props:{status:t[0].status,delay:Ke(t[0].startTime)}}),g=new xe({props:{show:t[2],content:t[0].id,filterable:!1}}),F=new xe({props:{show:t[2],content:t[0].name,onFilter:t[12],filtered:(Pe=(Fe=(We=t[4].url)==null?void 0:We.searchParams)==null?void 0:Fe.get("query"))==null?void 0:Pe.includes(t[0].name)}}),{c(){e=m("a"),r=m("div"),l=m("div"),me(s.$$.fragment),f=I(),o=m("div"),a=m("span"),p=N(i),W=I(),me(g.$$.fragment),k=I(),V=m("p"),G=N(j),U=I(),w=m("div"),z=m("h3"),M=N("Workflow Name:"),_=I(),L=m("span"),q=N(B),Q=I(),me(F.$$.fragment),E=I(),y=m("p"),$=N(T),P=I(),J=m("div"),Y=m("p"),ee=N(Z),te=I(),X=m("span"),le=N("-"),re=I(),oe=m("div"),fe=m("p"),we=N(ce),this.h()},l(u){e=h(u,"A",{href:!0,class:!0});var d=v(e);r=h(d,"DIV",{class:!0});var se=v(r);l=h(se,"DIV",{});var ae=v(l);he(s.$$.fragment,ae),ae.forEach(c),se.forEach(c),f=S(d),o=h(d,"DIV",{class:!0});var R=v(o);a=h(R,"SPAN",{class:!0});var ue=v(a);p=C(ue,i),ue.forEach(c),W=S(R),he(g.$$.fragment,R),k=S(R),V=h(R,"P",{class:!0});var de=v(V);G=C(de,j),de.forEach(c),R.forEach(c),U=S(d),w=h(d,"DIV",{class:!0});var K=v(w);z=h(K,"H3",{class:!0});var Ne=v(z);M=C(Ne,"Workflow Name:"),Ne.forEach(c),_=S(K),L=h(K,"SPAN",{class:!0});var Ce=v(L);q=C(Ce,B),Ce.forEach(c),Q=S(K),he(F.$$.fragment,K),E=S(K),y=h(K,"P",{class:!0});var Ae=v(y);$=C(Ae,T),Ae.forEach(c),K.forEach(c),P=S(d),J=h(d,"DIV",{class:!0});var Le=v(J);Y=h(Le,"P",{});var Be=v(Y);ee=C(Be,Z),Be.forEach(c),Le.forEach(c),te=S(d),X=h(d,"SPAN",{class:!0});var Oe=v(X);le=C(Oe,"-"),Oe.forEach(c),re=S(d),oe=h(d,"DIV",{class:!0});var Ue=v(oe);fe=h(Ue,"P",{});var ze=v(fe);we=C(ze,ce),ze.forEach(c),Ue.forEach(c),d.forEach(c),this.h()},h(){b(r,"class","cell svelte-1lknr5h"),b(a,"class","table-link svelte-1lknr5h"),b(V,"class","time-cell-inline svelte-1lknr5h"),b(o,"class","cell links relative truncate font-medium md:font-normal svelte-1lknr5h"),b(z,"class","md:hidden"),b(L,"class","table-link svelte-1lknr5h"),b(y,"class","time-cell-inline svelte-1lknr5h"),b(w,"class","cell links relative flex items-center justify-between gap-2 truncate font-medium md:font-normal svelte-1lknr5h"),b(J,"class","time-cell font-normal svelte-1lknr5h"),b(X,"class","md:hidden"),b(oe,"class","time-cell font-medium md:font-normal svelte-1lknr5h"),b(e,"href",t[3]),b(e,"class","row group svelte-1lknr5h")},m(u,d){ie(u,e,d),n(e,r),n(r,l),ve(s,l,null),n(e,f),n(e,o),n(o,a),n(a,p),n(o,W),ve(g,o,null),n(o,k),n(o,V),n(V,G),n(e,U),n(e,w),n(w,z),n(z,M),n(w,_),n(w,L),n(L,q),n(w,Q),ve(F,w,null),n(w,E),n(w,y),n(y,$),n(e,P),n(e,J),n(J,Y),n(Y,ee),n(e,te),n(e,X),n(X,le),n(e,re),n(e,oe),n(oe,fe),n(fe,we),H=!0,Se||(Ve=[O(o,"mouseover",t[7]),O(o,"focus",t[8]),O(o,"mouseleave",t[9]),O(o,"blur",t[10]),O(L,"click",be(ke(t[11]))),O(w,"mouseover",t[13]),O(w,"focus",t[14]),O(w,"mouseleave",t[15]),O(w,"blur",t[16]),O(w,"click",be(ke(Te)))],Se=!0)},p(u,[d]){var ue,de,K;const se={};d&1&&(se.status=u[0].status),d&1&&(se.delay=Ke(u[0].startTime)),s.$set(se),(!H||d&1)&&i!==(i=u[0].id+"")&&ne(p,i);const ae={};d&4&&(ae.show=u[2]),d&1&&(ae.content=u[0].id),g.$set(ae),(!H||d&3)&&j!==(j=x(u[0].startTime,u[1])+"")&&ne(G,j),(!H||d&1)&&B!==(B=u[0].name+"")&&ne(q,B);const R={};d&4&&(R.show=u[2]),d&1&&(R.content=u[0].name),d&1&&(R.onFilter=u[12]),d&17&&(R.filtered=(K=(de=(ue=u[4].url)==null?void 0:ue.searchParams)==null?void 0:de.get("query"))==null?void 0:K.includes(u[0].name)),F.$set(R),(!H||d&3)&&T!==(T=x(u[0].endTime,u[1])+"")&&ne($,T),(!H||d&3)&&Z!==(Z=x(u[0].startTime,u[1])+"")&&ne(ee,Z),(!H||d&3)&&ce!==(ce=x(u[0].endTime,u[1])+"")&&ne(we,ce),(!H||d&8)&&b(e,"href",u[3])},i(u){H||(D(s.$$.fragment,u),D(g.$$.fragment,u),D(F.$$.fragment,u),H=!0)},o(u){A(s.$$.fragment,u),A(g.$$.fragment,u),A(F.$$.fragment,u),H=!1},d(u){u&&c(e),pe(s),pe(g),pe(F),Se=!1,ut(Ve)}}}function Bt(t,e,r){let l,s;$e(t,dt,_=>r(4,s=_));let{namespace:f}=e,{workflow:o}=e,{timeFormat:a}=e,i=!1;const p=_=>{const L=Ge({timeRange:"All"}),B=s.url.searchParams.get("query"),q=Nt(B!=null?B:L),Q=(q==null?void 0:q.workflowType)===_?"":_,F=Ge(je(Re({},q),{workflowType:Q}));pt({url:s.url,parameter:"query",value:F,allowEmpty:!0,goto:mt})},W=()=>r(2,i=!0),g=()=>r(2,i=!0),k=()=>r(2,i=!1),V=()=>r(2,i=!1),j=()=>p(o.name),G=()=>p(o.name),U=()=>r(2,i=!0),w=()=>r(2,i=!0),z=()=>r(2,i=!1),M=()=>r(2,i=!1);return t.$$set=_=>{"namespace"in _&&r(6,f=_.namespace),"workflow"in _&&r(0,o=_.workflow),"timeFormat"in _&&r(1,a=_.timeFormat)},t.$$.update=()=>{t.$$.dirty&65&&r(3,l=vt({namespace:f,workflow:o.id,run:o.runId}))},[o,a,i,l,s,p,f,W,g,k,V,j,G,U,w,z,M]}class Zt extends De{constructor(e){super(),qe(this,e,Bt,Lt,Ee,{namespace:6,workflow:0,timeFormat:1})}}export{Yt as W,Zt as a,Nt as t}; +var tt=Object.defineProperty,lt=Object.defineProperties;var rt=Object.getOwnPropertyDescriptors;var Me=Object.getOwnPropertySymbols;var ot=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable;var Qe=(t,e,r)=>e in t?tt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Re=(t,e)=>{for(var r in e||(e={}))ot.call(e,r)&&Qe(t,r,e[r]);if(Me)for(var r of Me(e))st.call(e,r)&&Qe(t,r,e[r]);return t},je=(t,e)=>lt(t,rt(e));import{S as De,i as qe,s as Ee,I as at,e as m,t as N,k as I,c as h,a as v,h as C,d as c,m as S,b,g as ie,M as n,J as nt,K as it,L as ft,q as D,o as A,T as O,U as be,ar as ke,E as Te,H as ct,n as ye,p as ge,w as me,x as he,y as ve,B as pe,l as He,N as $e,j as ne,G as ut}from"./index-604742bf.js";import{p as dt}from"./stores-810822a9.js";import{g as mt}from"./navigation-6709cf39.js";import{c as ht,f as x,d as Ke}from"./format-date-919f4714.js";import{l as vt}from"./route-for-1f2060cd.js";import{u as pt}from"./update-query-parameters-08bf783c.js";import{l as bt,m as kt,n as wt,o as _t,p as yt,q as gt}from"./to-duration-271d3946.js";import{t as Ge}from"./workflow-service-250a9fea.js";import{W as Et}from"./workflow-status-ca8cb7e9.js";import{I as et}from"./index-0574ae1f.js";import{c as Tt}from"./copy-to-clipboard-8832075c.js";function It(t){let e,r,l,s,f,o,a,i,p,W,g,k,V,j,G,U,w,z,M,_,L,B,q,Q;const F=t[1].default,E=at(F,t,t[0],null);return{c(){e=m("section"),r=m("div"),l=m("div"),s=m("div"),f=N("Status"),o=I(),a=m("div"),i=N("Workflow ID"),p=I(),W=m("div"),g=N("Type"),k=I(),V=m("div"),j=N("Start"),G=I(),U=m("div"),w=N("End"),z=I(),M=m("div"),_=m("div"),L=N("Summary"),B=I(),q=m("div"),E&&E.c(),this.h()},l(y){e=h(y,"SECTION",{class:!0});var T=v(e);r=h(T,"DIV",{class:!0});var $=v(r);l=h($,"DIV",{class:!0});var P=v(l);s=h(P,"DIV",{class:!0});var J=v(s);f=C(J,"Status"),J.forEach(c),o=S(P),a=h(P,"DIV",{class:!0});var Y=v(a);i=C(Y,"Workflow ID"),Y.forEach(c),p=S(P),W=h(P,"DIV",{class:!0});var Z=v(W);g=C(Z,"Type"),Z.forEach(c),k=S(P),V=h(P,"DIV",{class:!0});var ee=v(V);j=C(ee,"Start"),ee.forEach(c),G=S(P),U=h(P,"DIV",{class:!0});var te=v(U);w=C(te,"End"),te.forEach(c),P.forEach(c),$.forEach(c),z=S(T),M=h(T,"DIV",{class:!0});var X=v(M);_=h(X,"DIV",{class:!0});var le=v(_);L=C(le,"Summary"),le.forEach(c),X.forEach(c),B=S(T),q=h(T,"DIV",{class:!0});var re=v(q);E&&E.l(re),re.forEach(c),T.forEach(c),this.h()},h(){b(s,"class","table-header table-cell w-28 rounded-tl-md svelte-qkbvym"),b(a,"class","table-header table-cell md:w-60 xl:w-auto svelte-qkbvym"),b(W,"class","table-header table-cell md:w-60 xl:w-80 svelte-qkbvym"),b(V,"class","table-header hidden text-sm xl:table-cell xl:w-64 xl:text-base svelte-qkbvym"),b(U,"class","table-header hidden rounded-tr-md xl:table-cell xl:w-64 svelte-qkbvym"),b(l,"class","hidden md:table-row"),b(r,"class","table-header-row md:table-header-group svelte-qkbvym"),b(_,"class","rounded-t-md border-b p-2"),b(M,"class","table-header-row md:hidden svelte-qkbvym"),b(q,"class","overflow-y-auto md:table-row-group"),b(e,"class","workflow-table svelte-qkbvym")},m(y,T){ie(y,e,T),n(e,r),n(r,l),n(l,s),n(s,f),n(l,o),n(l,a),n(a,i),n(l,p),n(l,W),n(W,g),n(l,k),n(l,V),n(V,j),n(l,G),n(l,U),n(U,w),n(e,z),n(e,M),n(M,_),n(_,L),n(e,B),n(e,q),E&&E.m(q,null),Q=!0},p(y,[T]){E&&E.p&&(!Q||T&1)&&nt(E,F,y,y[0],Q?ft(F,y[0],T,null):it(y[0]),null)},i(y){Q||(D(E,y),Q=!0)},o(y){A(E,y),Q=!1},d(y){y&&c(e),E&&E.d(y)}}}function St(t,e,r){let{$$slots:l={},$$scope:s}=e;return t.$$set=f=>{"$$scope"in f&&r(0,s=f.$$scope)},[s,l]}class Yt extends De{constructor(e){super(),qe(this,e,St,It,Ee,{})}}const Dt=t=>{const e=[],r=()=>{l&&(e.push(l),l="")};let l="",s=0;for(;se=>e.toLowerCase()===t.toLowerCase(),_e=(t,e)=>t[e+2],qt=t=>{for(const e of gt)if(t[e])return{[e]:t[e]}},Vt=Ie("WorkflowType"),Wt=Ie("WorkflowId"),Ft=Ie("StartTime"),Pt=Ie("ExecutionStatus"),Nt=t=>{const e=Dt(t),r={workflowId:"",workflowType:"",executionStatus:null,timeRange:null};return e.forEach((l,s)=>{if(Wt(l)&&(r.workflowId=_e(e,s)),Vt(l)&&(r.workflowType=_e(e,s)),Pt(l)){const f=_e(e,s);_t(f)&&(r.executionStatus=f)}if(Ft(l)){const f=_e(e,s);try{const o=yt(f),a=qt(o);r.timeRange=ht(a)}catch(o){console.error("Error parsing StartTime from query",o)}}}),r};function Je(t){let e,r,l,s,f,o=t[1]&&Xe(t),a=t[2]&&Ze(t);return{c(){e=m("div"),o&&o.c(),r=I(),a&&a.c(),this.h()},l(i){e=h(i,"DIV",{class:!0});var p=v(e);o&&o.l(p),r=S(p),a&&a.l(p),p.forEach(c),this.h()},h(){b(e,"class","copy-or-filter svelte-1llgntb")},m(i,p){ie(i,e,p),o&&o.m(e,null),n(e,r),a&&a.m(e,null),l=!0,s||(f=O(e,"click",be(ke(Te))),s=!0)},p(i,p){i[1]?o?(o.p(i,p),p&2&&D(o,1)):(o=Xe(i),o.c(),D(o,1),o.m(e,r)):o&&(ye(),A(o,1,1,()=>{o=null}),ge()),i[2]?a?(a.p(i,p),p&4&&D(a,1)):(a=Ze(i),a.c(),D(a,1),a.m(e,null)):a&&(ye(),A(a,1,1,()=>{a=null}),ge())},i(i){l||(D(o),D(a),l=!0)},o(i){A(o),A(a),l=!1},d(i){i&&c(e),o&&o.d(),a&&a.d(),s=!1,f()}}}function Xe(t){let e,r=t[4],l,s,f,o=Ye(t);return{c(){e=m("button"),o.c()},l(a){e=h(a,"BUTTON",{});var i=v(e);o.l(i),i.forEach(c)},m(a,i){ie(a,e,i),o.m(e,null),l=!0,s||(f=O(e,"click",be(ke(function(){ct(t[3])&&t[3].apply(this,arguments)}))),s=!0)},p(a,i){t=a,i&16&&Ee(r,r=t[4])?(ye(),A(o,1,1,Te),ge(),o=Ye(t),o.c(),D(o,1),o.m(e,null)):o.p(t,i)},i(a){l||(D(o),l=!0)},o(a){A(o),l=!1},d(a){a&&c(e),o.d(a),s=!1,f()}}}function Ye(t){let e,r;return e=new et({props:{name:"filter",stroke:"#000",fill:t[4]?"#000":"",class:"h-4 w-4"}}),{c(){me(e.$$.fragment)},l(l){he(e.$$.fragment,l)},m(l,s){ve(e,l,s),r=!0},p(l,s){const f={};s&16&&(f.fill=l[4]?"#000":""),e.$set(f)},i(l){r||(D(e.$$.fragment,l),r=!0)},o(l){A(e.$$.fragment,l),r=!1},d(l){pe(e,l)}}}function Ze(t){let e,r,l,s,f;return r=new et({props:{name:t[5]?"checkMark":"copy",stroke:"#000",class:"h-4 w-4"}}),{c(){e=m("button"),me(r.$$.fragment)},l(o){e=h(o,"BUTTON",{});var a=v(e);he(r.$$.fragment,a),a.forEach(c)},m(o,a){ie(o,e,a),ve(r,e,null),l=!0,s||(f=O(e,"click",be(ke(t[6]))),s=!0)},p(o,a){const i={};a&32&&(i.name=o[5]?"checkMark":"copy"),r.$set(i)},i(o){l||(D(r.$$.fragment,o),l=!0)},o(o){A(r.$$.fragment,o),l=!1},d(o){o&&c(e),pe(r),s=!1,f()}}}function Ct(t){let e,r,l=t[0]&&Je(t);return{c(){l&&l.c(),e=He()},l(s){l&&l.l(s),e=He()},m(s,f){l&&l.m(s,f),ie(s,e,f),r=!0},p(s,[f]){s[0]?l?(l.p(s,f),f&1&&D(l,1)):(l=Je(s),l.c(),D(l,1),l.m(e.parentNode,e)):l&&(ye(),A(l,1,1,()=>{l=null}),ge())},i(s){r||(D(l),r=!0)},o(s){A(l),r=!1},d(s){l&&l.d(s),s&&c(e)}}}function At(t,e,r){let l,{show:s=!1}=e,{filterable:f=!0}=e,{copyable:o=!0}=e,{content:a}=e,{onFilter:i=Te}=e,{filtered:p=!1}=e;const{copy:W,copied:g}=Tt(a,700);return $e(t,g,k=>r(5,l=k)),t.$$set=k=>{"show"in k&&r(0,s=k.show),"filterable"in k&&r(1,f=k.filterable),"copyable"in k&&r(2,o=k.copyable),"content"in k&&r(8,a=k.content),"onFilter"in k&&r(3,i=k.onFilter),"filtered"in k&&r(4,p=k.filtered)},[s,f,o,i,p,l,W,g,a]}class xe extends De{constructor(e){super(),qe(this,e,At,Ct,Ee,{show:0,filterable:1,copyable:2,content:8,onFilter:3,filtered:4})}}function Lt(t){var We,Fe,Pe;let e,r,l,s,f,o,a,i=t[0].id+"",p,W,g,k,V,j=x(t[0].startTime,t[1])+"",G,U,w,z,M,_,L,B=t[0].name+"",q,Q,F,E,y,T=x(t[0].endTime,t[1])+"",$,P,J,Y,Z=x(t[0].startTime,t[1])+"",ee,te,X,le,re,oe,fe,ce=x(t[0].endTime,t[1])+"",we,H,Se,Ve;return s=new Et({props:{status:t[0].status,delay:Ke(t[0].startTime)}}),g=new xe({props:{show:t[2],content:t[0].id,filterable:!1}}),F=new xe({props:{show:t[2],content:t[0].name,onFilter:t[12],filtered:(Pe=(Fe=(We=t[4].url)==null?void 0:We.searchParams)==null?void 0:Fe.get("query"))==null?void 0:Pe.includes(t[0].name)}}),{c(){e=m("a"),r=m("div"),l=m("div"),me(s.$$.fragment),f=I(),o=m("div"),a=m("span"),p=N(i),W=I(),me(g.$$.fragment),k=I(),V=m("p"),G=N(j),U=I(),w=m("div"),z=m("h3"),M=N("Workflow Name:"),_=I(),L=m("span"),q=N(B),Q=I(),me(F.$$.fragment),E=I(),y=m("p"),$=N(T),P=I(),J=m("div"),Y=m("p"),ee=N(Z),te=I(),X=m("span"),le=N("-"),re=I(),oe=m("div"),fe=m("p"),we=N(ce),this.h()},l(u){e=h(u,"A",{href:!0,class:!0});var d=v(e);r=h(d,"DIV",{class:!0});var se=v(r);l=h(se,"DIV",{});var ae=v(l);he(s.$$.fragment,ae),ae.forEach(c),se.forEach(c),f=S(d),o=h(d,"DIV",{class:!0});var R=v(o);a=h(R,"SPAN",{class:!0});var ue=v(a);p=C(ue,i),ue.forEach(c),W=S(R),he(g.$$.fragment,R),k=S(R),V=h(R,"P",{class:!0});var de=v(V);G=C(de,j),de.forEach(c),R.forEach(c),U=S(d),w=h(d,"DIV",{class:!0});var K=v(w);z=h(K,"H3",{class:!0});var Ne=v(z);M=C(Ne,"Workflow Name:"),Ne.forEach(c),_=S(K),L=h(K,"SPAN",{class:!0});var Ce=v(L);q=C(Ce,B),Ce.forEach(c),Q=S(K),he(F.$$.fragment,K),E=S(K),y=h(K,"P",{class:!0});var Ae=v(y);$=C(Ae,T),Ae.forEach(c),K.forEach(c),P=S(d),J=h(d,"DIV",{class:!0});var Le=v(J);Y=h(Le,"P",{});var Be=v(Y);ee=C(Be,Z),Be.forEach(c),Le.forEach(c),te=S(d),X=h(d,"SPAN",{class:!0});var Oe=v(X);le=C(Oe,"-"),Oe.forEach(c),re=S(d),oe=h(d,"DIV",{class:!0});var Ue=v(oe);fe=h(Ue,"P",{});var ze=v(fe);we=C(ze,ce),ze.forEach(c),Ue.forEach(c),d.forEach(c),this.h()},h(){b(r,"class","cell svelte-1lknr5h"),b(a,"class","table-link svelte-1lknr5h"),b(V,"class","time-cell-inline svelte-1lknr5h"),b(o,"class","cell links relative truncate font-medium md:font-normal svelte-1lknr5h"),b(z,"class","md:hidden"),b(L,"class","table-link svelte-1lknr5h"),b(y,"class","time-cell-inline svelte-1lknr5h"),b(w,"class","cell links relative flex items-center justify-between gap-2 truncate font-medium md:font-normal svelte-1lknr5h"),b(J,"class","time-cell font-normal svelte-1lknr5h"),b(X,"class","md:hidden"),b(oe,"class","time-cell font-medium md:font-normal svelte-1lknr5h"),b(e,"href",t[3]),b(e,"class","row group svelte-1lknr5h")},m(u,d){ie(u,e,d),n(e,r),n(r,l),ve(s,l,null),n(e,f),n(e,o),n(o,a),n(a,p),n(o,W),ve(g,o,null),n(o,k),n(o,V),n(V,G),n(e,U),n(e,w),n(w,z),n(z,M),n(w,_),n(w,L),n(L,q),n(w,Q),ve(F,w,null),n(w,E),n(w,y),n(y,$),n(e,P),n(e,J),n(J,Y),n(Y,ee),n(e,te),n(e,X),n(X,le),n(e,re),n(e,oe),n(oe,fe),n(fe,we),H=!0,Se||(Ve=[O(o,"mouseover",t[7]),O(o,"focus",t[8]),O(o,"mouseleave",t[9]),O(o,"blur",t[10]),O(L,"click",be(ke(t[11]))),O(w,"mouseover",t[13]),O(w,"focus",t[14]),O(w,"mouseleave",t[15]),O(w,"blur",t[16]),O(w,"click",be(ke(Te)))],Se=!0)},p(u,[d]){var ue,de,K;const se={};d&1&&(se.status=u[0].status),d&1&&(se.delay=Ke(u[0].startTime)),s.$set(se),(!H||d&1)&&i!==(i=u[0].id+"")&&ne(p,i);const ae={};d&4&&(ae.show=u[2]),d&1&&(ae.content=u[0].id),g.$set(ae),(!H||d&3)&&j!==(j=x(u[0].startTime,u[1])+"")&&ne(G,j),(!H||d&1)&&B!==(B=u[0].name+"")&&ne(q,B);const R={};d&4&&(R.show=u[2]),d&1&&(R.content=u[0].name),d&1&&(R.onFilter=u[12]),d&17&&(R.filtered=(K=(de=(ue=u[4].url)==null?void 0:ue.searchParams)==null?void 0:de.get("query"))==null?void 0:K.includes(u[0].name)),F.$set(R),(!H||d&3)&&T!==(T=x(u[0].endTime,u[1])+"")&&ne($,T),(!H||d&3)&&Z!==(Z=x(u[0].startTime,u[1])+"")&&ne(ee,Z),(!H||d&3)&&ce!==(ce=x(u[0].endTime,u[1])+"")&&ne(we,ce),(!H||d&8)&&b(e,"href",u[3])},i(u){H||(D(s.$$.fragment,u),D(g.$$.fragment,u),D(F.$$.fragment,u),H=!0)},o(u){A(s.$$.fragment,u),A(g.$$.fragment,u),A(F.$$.fragment,u),H=!1},d(u){u&&c(e),pe(s),pe(g),pe(F),Se=!1,ut(Ve)}}}function Bt(t,e,r){let l,s;$e(t,dt,_=>r(4,s=_));let{namespace:f}=e,{workflow:o}=e,{timeFormat:a}=e,i=!1;const p=_=>{const L=Ge({timeRange:"All"}),B=s.url.searchParams.get("query"),q=Nt(B!=null?B:L),Q=(q==null?void 0:q.workflowType)===_?"":_,F=Ge(je(Re({},q),{workflowType:Q}));pt({url:s.url,parameter:"query",value:F,allowEmpty:!0,goto:mt})},W=()=>r(2,i=!0),g=()=>r(2,i=!0),k=()=>r(2,i=!1),V=()=>r(2,i=!1),j=()=>p(o.name),G=()=>p(o.name),U=()=>r(2,i=!0),w=()=>r(2,i=!0),z=()=>r(2,i=!1),M=()=>r(2,i=!1);return t.$$set=_=>{"namespace"in _&&r(6,f=_.namespace),"workflow"in _&&r(0,o=_.workflow),"timeFormat"in _&&r(1,a=_.timeFormat)},t.$$.update=()=>{t.$$.dirty&65&&r(3,l=vt({namespace:f,workflow:o.id,run:o.runId}))},[o,a,i,l,s,p,f,W,g,k,V,j,G,U,w,z,M]}class Zt extends De{constructor(e){super(),qe(this,e,Bt,Lt,Ee,{namespace:6,workflow:0,timeFormat:1})}}export{Yt as W,Zt as a,Nt as t}; diff --git a/server/generated/ui/_app/manifest.json b/server/generated/ui/_app/manifest.json index faf97dd612..08fdc46084 100644 --- a/server/generated/ui/_app/manifest.json +++ b/server/generated/ui/_app/manifest.json @@ -1,6 +1,6 @@ { ".svelte-kit/runtime/client/start.js": { - "file": "start-9e628253.js", + "file": "start-62859631.js", "src": ".svelte-kit/runtime/client/start.js", "isEntry": true, "imports": [ @@ -79,7 +79,7 @@ ] }, "src/routes/__layout-root.svelte": { - "file": "pages/__layout-root.svelte-a9d82a48.js", + "file": "pages/__layout-root.svelte-e365cff3.js", "src": "src/routes/__layout-root.svelte", "isEntry": true, "isDynamicEntry": true, @@ -87,9 +87,9 @@ "_index-604742bf.js", "_get-namespace-d07a8a35.js", "_notifications-cfed8e58.js", - "_route-for-api-3a26c58e.js", - "_error-boundary-ed391cfd.js", - "_settings-service-86784aa7.js", + "_route-for-api-605baeb9.js", + "_error-boundary-e2df6d7c.js", + "_settings-service-8e3e4e7f.js", "src/routes/_header.svelte", "_stores-810822a9.js", "_persist-store-26f405dd.js", @@ -162,16 +162,16 @@ ] }, "src/routes/import/__layout-import.svelte": { - "file": "pages/import/__layout-import.svelte-1b04c70f.js", + "file": "pages/import/__layout-import.svelte-d06ad329.js", "src": "src/routes/import/__layout-import.svelte", "isEntry": true, "isDynamicEntry": true, "imports": [ "_index-604742bf.js", - "_error-boundary-ed391cfd.js", - "_settings-service-86784aa7.js", + "_error-boundary-e2df6d7c.js", + "_settings-service-8e3e4e7f.js", "src/routes/import/_import-header.svelte", - "_route-for-api-3a26c58e.js", + "_route-for-api-605baeb9.js", "_index-c9e619a8.js", "_notifications-cfed8e58.js", "_is-network-error-ac7c8caf.js", @@ -282,26 +282,26 @@ ] }, "src/routes/namespaces/[namespace]/workflows/[workflow]/[run]/__layout@root.svelte": { - "file": "pages/namespaces/_namespace_/workflows/_workflow_/_run_/__layout@root.svelte-50ae0207.js", + "file": "pages/namespaces/_namespace_/workflows/_workflow_/_run_/__layout@root.svelte-3fde00c2.js", "src": "src/routes/namespaces/[namespace]/workflows/[workflow]/[run]/__layout@root.svelte", "isEntry": true, "isDynamicEntry": true, "imports": [ "_index-604742bf.js", "_stores-810822a9.js", - "_workflow-run-60a1c465.js", + "_workflow-run-4b2466b3.js", "_index-69aa65a3.js", "_index-0574ae1f.js", "_event-view-963ec0ce.js", - "_workflows-92f8c48f.js", - "_workflow-service-b18a98d3.js", + "_workflows-1f018cf1.js", + "_workflow-service-250a9fea.js", "_route-for-1f2060cd.js", "_workflow-status-ca8cb7e9.js", - "_route-for-api-3a26c58e.js", + "_route-for-api-605baeb9.js", "_notifications-cfed8e58.js", "_button-0ce95595.js", "_modal-0d6320a7.js", - "_events-service-97238182.js", + "_events-service-c14937d5.js", "_index-c9e619a8.js", "_with-loading-22689bcc.js", "_persist-store-26f405dd.js", @@ -320,18 +320,18 @@ ] }, "src/routes/namespaces/[namespace]/workflows/[workflow]/[run]/history/__layout.svelte": { - "file": "pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/__layout.svelte-5e9f544c.js", + "file": "pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/__layout.svelte-0b7327ff.js", "src": "src/routes/namespaces/[namespace]/workflows/[workflow]/[run]/history/__layout.svelte", "isEntry": true, "isDynamicEntry": true, "imports": [ "_index-604742bf.js", "_stores-810822a9.js", - "_workflow-run-60a1c465.js", + "_workflow-run-4b2466b3.js", "_route-for-1f2060cd.js", "_format-date-919f4714.js", "_event-view-963ec0ce.js", - "_events-5f708b93.js", + "_events-6d840455.js", "_toggle-buttons-baa97943.js", "_link-74db22ab.js", "_index-0574ae1f.js", @@ -343,14 +343,14 @@ "_copyable-6f962ac2.js", "_index-c9e619a8.js", "_with-loading-22689bcc.js", - "_workflow-service-b18a98d3.js", + "_workflow-service-250a9fea.js", "_simplify-attributes-64d6cf1a.js", - "_route-for-api-3a26c58e.js", + "_route-for-api-605baeb9.js", "_notifications-cfed8e58.js", "_is-network-error-ac7c8caf.js", "_to-duration-271d3946.js", "_persist-store-26f405dd.js", - "_events-service-97238182.js", + "_events-service-c14937d5.js", "_index-e3391e94.js", "_is-http-24b20bf9.js", "_data-converter-config-6fc5efe1.js", @@ -547,19 +547,19 @@ ] }, "src/routes/login/index@login.svelte": { - "file": "pages/login/index@login.svelte-fbe1d7f9.js", + "file": "pages/login/index@login.svelte-07c9d7ea.js", "src": "src/routes/login/index@login.svelte", "isEntry": true, "isDynamicEntry": true, "imports": [ "_index-604742bf.js", - "_settings-service-86784aa7.js", + "_settings-service-8e3e4e7f.js", "_route-for-1f2060cd.js", "_button-0ce95595.js", "_stores-810822a9.js", "_navigation-6709cf39.js", "_hamburger-header-8beb5c91.js", - "_route-for-api-3a26c58e.js", + "_route-for-api-605baeb9.js", "_index-c9e619a8.js", "_notifications-cfed8e58.js", "_is-network-error-ac7c8caf.js", @@ -619,14 +619,14 @@ ] }, "src/routes/namespaces/[namespace]/archival/index@root.svelte": { - "file": "pages/namespaces/_namespace_/archival/index@root.svelte-4e2b4b59.js", + "file": "pages/namespaces/_namespace_/archival/index@root.svelte-2eb8903d.js", "src": "src/routes/namespaces/[namespace]/archival/index@root.svelte", "isEntry": true, "isDynamicEntry": true, "imports": [ "_index-604742bf.js", - "_workflow-service-b18a98d3.js", - "_workflows-summary-row-2c944249.js", + "_workflow-service-250a9fea.js", + "_workflows-summary-row-89774f0c.js", "src/routes/namespaces/[namespace]/archival/_workflow-filters.svelte", "_pagination-bd44ecb0.js", "_empty-state-c50aaf3c.js", @@ -635,7 +635,7 @@ "_simplify-attributes-64d6cf1a.js", "_format-date-919f4714.js", "_to-duration-271d3946.js", - "_route-for-api-3a26c58e.js", + "_route-for-api-605baeb9.js", "_index-c9e619a8.js", "_notifications-cfed8e58.js", "_is-network-error-ac7c8caf.js", @@ -680,14 +680,14 @@ ] }, "src/routes/namespaces/[namespace]/workflows/[workflow]/[run]/history/compact/index.svelte": { - "file": "pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/compact/index.svelte-7491812b.js", + "file": "pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/compact/index.svelte-94dda6a4.js", "src": "src/routes/namespaces/[namespace]/workflows/[workflow]/[run]/history/compact/index.svelte", "isEntry": true, "isDynamicEntry": true, "imports": [ "_index-604742bf.js", "_event-summary-c6ec8e4f.js", - "_events-5f708b93.js", + "_events-6d840455.js", "_event-view-963ec0ce.js", "_index-c9e619a8.js", "_stores-810822a9.js", @@ -711,8 +711,8 @@ "_link-74db22ab.js", "_copyable-6f962ac2.js", "_empty-state-c50aaf3c.js", - "_events-service-97238182.js", - "_route-for-api-3a26c58e.js", + "_events-service-c14937d5.js", + "_route-for-api-605baeb9.js", "_notifications-cfed8e58.js", "_is-network-error-ac7c8caf.js", "_index-e3391e94.js", @@ -724,14 +724,14 @@ ] }, "src/routes/namespaces/[namespace]/workflows/[workflow]/[run]/history/feed/index.svelte": { - "file": "pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/feed/index.svelte-e1d5022e.js", + "file": "pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/feed/index.svelte-21acb3ad.js", "src": "src/routes/namespaces/[namespace]/workflows/[workflow]/[run]/history/feed/index.svelte", "isEntry": true, "isDynamicEntry": true, "imports": [ "_index-604742bf.js", "_event-summary-c6ec8e4f.js", - "_events-5f708b93.js", + "_events-6d840455.js", "_event-view-963ec0ce.js", "_index-c9e619a8.js", "_stores-810822a9.js", @@ -755,8 +755,8 @@ "_link-74db22ab.js", "_copyable-6f962ac2.js", "_empty-state-c50aaf3c.js", - "_events-service-97238182.js", - "_route-for-api-3a26c58e.js", + "_events-service-c14937d5.js", + "_route-for-api-605baeb9.js", "_notifications-cfed8e58.js", "_is-network-error-ac7c8caf.js", "_index-e3391e94.js", @@ -784,20 +784,20 @@ ] }, "src/routes/namespaces/[namespace]/workflows/[workflow]/[run]/history/json/index.svelte": { - "file": "pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/json/index.svelte-78f2bdc8.js", + "file": "pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/json/index.svelte-b1c5a7ba.js", "src": "src/routes/namespaces/[namespace]/workflows/[workflow]/[run]/history/json/index.svelte", "isEntry": true, "isDynamicEntry": true, "imports": [ "_index-604742bf.js", "_code-block-03609e84.js", - "_events-5f708b93.js", + "_events-6d840455.js", "_index-0574ae1f.js", "_copy-to-clipboard-8832075c.js", "_index-c9e619a8.js", "_stores-810822a9.js", - "_events-service-97238182.js", - "_route-for-api-3a26c58e.js", + "_events-service-c14937d5.js", + "_route-for-api-605baeb9.js", "_notifications-cfed8e58.js", "_is-network-error-ac7c8caf.js", "_route-for-1f2060cd.js", @@ -824,13 +824,13 @@ ] }, "src/routes/namespaces/[namespace]/workflows/[workflow]/[run]/pending-activities.svelte": { - "file": "pages/namespaces/_namespace_/workflows/_workflow_/_run_/pending-activities.svelte-5073cb4a.js", + "file": "pages/namespaces/_namespace_/workflows/_workflow_/_run_/pending-activities.svelte-08d17be9.js", "src": "src/routes/namespaces/[namespace]/workflows/[workflow]/[run]/pending-activities.svelte", "isEntry": true, "isDynamicEntry": true, "imports": [ "_index-604742bf.js", - "_workflow-run-60a1c465.js", + "_workflow-run-4b2466b3.js", "_index-0574ae1f.js", "_badge-d40010b4.js", "_empty-state-c50aaf3c.js", @@ -840,9 +840,9 @@ "_index-c9e619a8.js", "_stores-810822a9.js", "_with-loading-22689bcc.js", - "_workflow-service-b18a98d3.js", + "_workflow-service-250a9fea.js", "_simplify-attributes-64d6cf1a.js", - "_route-for-api-3a26c58e.js", + "_route-for-api-605baeb9.js", "_notifications-cfed8e58.js", "_is-network-error-ac7c8caf.js", "_route-for-1f2060cd.js", @@ -854,27 +854,27 @@ ] }, "src/routes/namespaces/[namespace]/workflows/[workflow]/[run]/query.svelte": { - "file": "pages/namespaces/_namespace_/workflows/_workflow_/_run_/query.svelte-053a2a15.js", + "file": "pages/namespaces/_namespace_/workflows/_workflow_/_run_/query.svelte-b4c87802.js", "src": "src/routes/namespaces/[namespace]/workflows/[workflow]/[run]/query.svelte", "isEntry": true, "isDynamicEntry": true, "imports": [ "_index-604742bf.js", "_stores-810822a9.js", - "_query-service-1ec7a5fc.js", - "_workflow-run-60a1c465.js", + "_query-service-3f8ed2d0.js", + "_workflow-run-4b2466b3.js", "_code-block-03609e84.js", "_select-4556bdf3.js", "_empty-state-c50aaf3c.js", "_button-0ce95595.js", - "_route-for-api-3a26c58e.js", + "_route-for-api-605baeb9.js", "_index-c9e619a8.js", "_notifications-cfed8e58.js", "_is-network-error-ac7c8caf.js", "_route-for-1f2060cd.js", "_atob-eb4fc9a1.js", "_with-loading-22689bcc.js", - "_workflow-service-b18a98d3.js", + "_workflow-service-250a9fea.js", "_simplify-attributes-64d6cf1a.js", "_format-date-919f4714.js", "_to-duration-271d3946.js", @@ -883,25 +883,25 @@ ] }, "src/routes/namespaces/[namespace]/workflows/[workflow]/[run]/stack-trace.svelte": { - "file": "pages/namespaces/_namespace_/workflows/_workflow_/_run_/stack-trace.svelte-26691939.js", + "file": "pages/namespaces/_namespace_/workflows/_workflow_/_run_/stack-trace.svelte-d0243cae.js", "src": "src/routes/namespaces/[namespace]/workflows/[workflow]/[run]/stack-trace.svelte", "isEntry": true, "isDynamicEntry": true, "imports": [ "_index-604742bf.js", "_stores-810822a9.js", - "_workflow-run-60a1c465.js", - "_query-service-1ec7a5fc.js", + "_workflow-run-4b2466b3.js", + "_query-service-3f8ed2d0.js", "_code-block-03609e84.js", "_button-0ce95595.js", "_empty-state-c50aaf3c.js", "_index-c9e619a8.js", "_with-loading-22689bcc.js", - "_workflow-service-b18a98d3.js", + "_workflow-service-250a9fea.js", "_simplify-attributes-64d6cf1a.js", "_format-date-919f4714.js", "_to-duration-271d3946.js", - "_route-for-api-3a26c58e.js", + "_route-for-api-605baeb9.js", "_notifications-cfed8e58.js", "_is-network-error-ac7c8caf.js", "_route-for-1f2060cd.js", @@ -911,23 +911,23 @@ ] }, "src/routes/namespaces/[namespace]/workflows/[workflow]/[run]/workers.svelte": { - "file": "pages/namespaces/_namespace_/workflows/_workflow_/_run_/workers.svelte-67a020df.js", + "file": "pages/namespaces/_namespace_/workflows/_workflow_/_run_/workers.svelte-5f22688c.js", "src": "src/routes/namespaces/[namespace]/workflows/[workflow]/[run]/workers.svelte", "isEntry": true, "isDynamicEntry": true, "imports": [ "_index-604742bf.js", "_index-0574ae1f.js", - "_workflow-run-60a1c465.js", + "_workflow-run-4b2466b3.js", "_time-format-6fa48b0d.js", "_format-date-919f4714.js", "_empty-state-c50aaf3c.js", "_index-c9e619a8.js", "_stores-810822a9.js", "_with-loading-22689bcc.js", - "_workflow-service-b18a98d3.js", + "_workflow-service-250a9fea.js", "_simplify-attributes-64d6cf1a.js", - "_route-for-api-3a26c58e.js", + "_route-for-api-605baeb9.js", "_notifications-cfed8e58.js", "_is-network-error-ac7c8caf.js", "_route-for-1f2060cd.js", @@ -936,7 +936,7 @@ ] }, "src/routes/namespaces/[namespace]/workflows/index@root.svelte": { - "file": "pages/namespaces/_namespace_/workflows/index@root.svelte-4bfa9e3b.js", + "file": "pages/namespaces/_namespace_/workflows/index@root.svelte-9fe5bd57.js", "src": "src/routes/namespaces/[namespace]/workflows/index@root.svelte", "isEntry": true, "isDynamicEntry": true, @@ -944,15 +944,15 @@ "_index-604742bf.js", "_stores-810822a9.js", "_time-format-6fa48b0d.js", - "_workflows-92f8c48f.js", + "_workflows-1f018cf1.js", "_to-duration-271d3946.js", - "_workflows-summary-row-2c944249.js", + "_workflows-summary-row-89774f0c.js", "_empty-state-c50aaf3c.js", "_pagination-bd44ecb0.js", "_index-c0547148.js", "_navigation-6709cf39.js", "_update-query-parameters-08bf783c.js", - "_workflow-service-b18a98d3.js", + "_workflow-service-250a9fea.js", "_select-4556bdf3.js", "_copy-to-clipboard-8832075c.js", "_index-0574ae1f.js", @@ -966,7 +966,7 @@ "_filter-select-ee707cee.js", "_singletons-d1fb5791.js", "_simplify-attributes-64d6cf1a.js", - "_route-for-api-3a26c58e.js", + "_route-for-api-605baeb9.js", "_notifications-cfed8e58.js", "_is-network-error-ac7c8caf.js", "_button-0ce95595.js" @@ -989,19 +989,19 @@ ] }, "src/routes/signin/index@signin.svelte": { - "file": "pages/signin/index@signin.svelte-07122b0f.js", + "file": "pages/signin/index@signin.svelte-ca2b240c.js", "src": "src/routes/signin/index@signin.svelte", "isEntry": true, "isDynamicEntry": true, "imports": [ "_index-604742bf.js", - "_settings-service-86784aa7.js", + "_settings-service-8e3e4e7f.js", "_route-for-1f2060cd.js", "_button-0ce95595.js", "_stores-810822a9.js", "_navigation-6709cf39.js", "_hamburger-header-8beb5c91.js", - "_route-for-api-3a26c58e.js", + "_route-for-api-605baeb9.js", "_index-c9e619a8.js", "_notifications-cfed8e58.js", "_is-network-error-ac7c8caf.js", @@ -1067,10 +1067,10 @@ "_get-namespace-d07a8a35.js": { "file": "chunks/get-namespace-d07a8a35.js" }, - "_error-boundary-ed391cfd.js": { - "file": "chunks/error-boundary-ed391cfd.js", + "_error-boundary-e2df6d7c.js": { + "file": "chunks/error-boundary-e2df6d7c.js", "imports": [ - "_route-for-api-3a26c58e.js", + "_route-for-api-605baeb9.js", "_index-604742bf.js", "_notifications-cfed8e58.js", "_index-69aa65a3.js", @@ -1081,10 +1081,10 @@ "assets/error-boundary-f3cc63ec.css" ] }, - "_settings-service-86784aa7.js": { - "file": "chunks/settings-service-86784aa7.js", + "_settings-service-8e3e4e7f.js": { + "file": "chunks/settings-service-8e3e4e7f.js", "imports": [ - "_route-for-api-3a26c58e.js" + "_route-for-api-605baeb9.js" ] }, "_notifications-cfed8e58.js": { @@ -1093,8 +1093,8 @@ "_index-c9e619a8.js" ] }, - "_route-for-api-3a26c58e.js": { - "file": "chunks/route-for-api-3a26c58e.js", + "_route-for-api-605baeb9.js": { + "file": "chunks/route-for-api-605baeb9.js", "imports": [ "_index-c9e619a8.js", "_notifications-cfed8e58.js", @@ -1266,25 +1266,25 @@ "_to-duration-271d3946.js": { "file": "chunks/to-duration-271d3946.js" }, - "_workflow-run-60a1c465.js": { - "file": "chunks/workflow-run-60a1c465.js", + "_workflow-run-4b2466b3.js": { + "file": "chunks/workflow-run-4b2466b3.js", "imports": [ "_index-c9e619a8.js", "_stores-810822a9.js", "_with-loading-22689bcc.js", - "_workflow-service-b18a98d3.js", - "_route-for-api-3a26c58e.js", + "_workflow-service-250a9fea.js", + "_route-for-api-605baeb9.js", "_route-for-1f2060cd.js" ] }, "_with-loading-22689bcc.js": { "file": "chunks/with-loading-22689bcc.js" }, - "_workflow-service-b18a98d3.js": { - "file": "chunks/workflow-service-b18a98d3.js", + "_workflow-service-250a9fea.js": { + "file": "chunks/workflow-service-250a9fea.js", "imports": [ "_simplify-attributes-64d6cf1a.js", - "_route-for-api-3a26c58e.js", + "_route-for-api-605baeb9.js", "_to-duration-271d3946.js" ] }, @@ -1296,12 +1296,12 @@ "_persist-store-26f405dd.js" ] }, - "_workflows-92f8c48f.js": { - "file": "chunks/workflows-92f8c48f.js", + "_workflows-1f018cf1.js": { + "file": "chunks/workflows-1f018cf1.js", "imports": [ "_index-c9e619a8.js", "_stores-810822a9.js", - "_workflow-service-b18a98d3.js", + "_workflow-service-250a9fea.js", "_with-loading-22689bcc.js" ] }, @@ -1314,19 +1314,19 @@ "assets/workflow-status-2dd7a047.css" ] }, - "_events-service-97238182.js": { - "file": "chunks/events-service-97238182.js", + "_events-service-c14937d5.js": { + "file": "chunks/events-service-c14937d5.js", "imports": [ - "_route-for-api-3a26c58e.js", + "_route-for-api-605baeb9.js", "_index-e3391e94.js" ] }, - "_events-5f708b93.js": { - "file": "chunks/events-5f708b93.js", + "_events-6d840455.js": { + "file": "chunks/events-6d840455.js", "imports": [ "_index-c9e619a8.js", "_stores-810822a9.js", - "_events-service-97238182.js", + "_events-service-c14937d5.js", "_event-view-963ec0ce.js", "_route-for-1f2060cd.js", "_with-loading-22689bcc.js", @@ -1444,8 +1444,8 @@ "_button-0ce95595.js" ] }, - "_workflows-summary-row-2c944249.js": { - "file": "chunks/workflows-summary-row-2c944249.js", + "_workflows-summary-row-89774f0c.js": { + "file": "chunks/workflows-summary-row-89774f0c.js", "imports": [ "_index-604742bf.js", "_stores-810822a9.js", @@ -1454,7 +1454,7 @@ "_route-for-1f2060cd.js", "_update-query-parameters-08bf783c.js", "_to-duration-271d3946.js", - "_workflow-service-b18a98d3.js", + "_workflow-service-250a9fea.js", "_workflow-status-ca8cb7e9.js", "_index-0574ae1f.js", "_copy-to-clipboard-8832075c.js" @@ -1463,10 +1463,10 @@ "assets/workflows-summary-row-4d7d7edb.css" ] }, - "_query-service-1ec7a5fc.js": { - "file": "chunks/query-service-1ec7a5fc.js", + "_query-service-3f8ed2d0.js": { + "file": "chunks/query-service-3f8ed2d0.js", "imports": [ - "_route-for-api-3a26c58e.js", + "_route-for-api-605baeb9.js", "_atob-eb4fc9a1.js" ] } diff --git a/server/generated/ui/_app/pages/__layout-root.svelte-a9d82a48.js b/server/generated/ui/_app/pages/__layout-root.svelte-e365cff3.js similarity index 98% rename from server/generated/ui/_app/pages/__layout-root.svelte-a9d82a48.js rename to server/generated/ui/_app/pages/__layout-root.svelte-e365cff3.js index ea1694ff61..69e5ceb341 100644 --- a/server/generated/ui/_app/pages/__layout-root.svelte-a9d82a48.js +++ b/server/generated/ui/_app/pages/__layout-root.svelte-e365cff3.js @@ -1 +1 @@ -var pe=Object.defineProperty,_e=Object.defineProperties;var he=Object.getOwnPropertyDescriptors;var Q=Object.getOwnPropertySymbols;var ve=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable;var W=(o,e,n)=>e in o?pe(o,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[e]=n,x=(o,e)=>{for(var n in e||(e={}))ve.call(e,n)&&W(o,n,e[n]);if(Q)for(var n of Q(e))ge.call(e,n)&&W(o,n,e[n]);return o},ee=(o,e)=>_e(o,he(e));import{X as be,S,i as F,s as H,e as k,t as ne,k as z,c as B,a as M,h as te,d as h,m as K,b as d,Y as re,g as U,M as g,T as we,j as ye,l as E,E as oe,N as Z,C as se,V as ie,w as $,x as j,y as C,Z as J,q as b,o as w,B as A,_ as P,$ as X,n as ke,p as Be,a0 as Ie,I as Ve,J as Ee,K as Ne,L as Te}from"../chunks/index-604742bf.js";import{g as $e}from"../chunks/get-namespace-d07a8a35.js";import{n as je}from"../chunks/notifications-cfed8e58.js";import{r as ue,a as ce}from"../chunks/route-for-api-3a26c58e.js";import{f as Ce,N as Ae,E as Ue}from"../chunks/error-boundary-ed391cfd.js";import{f as Le}from"../chunks/settings-service-86784aa7.js";/* empty css */import Me from"./_header.svelte-61c8f411.js";import{p as fe}from"../chunks/stores-810822a9.js";import{p as Oe}from"../chunks/persist-store-26f405dd.js";import"../chunks/index-c9e619a8.js";import"../chunks/is-network-error-ac7c8caf.js";import"../chunks/route-for-1f2060cd.js";import"../chunks/index-69aa65a3.js";import"../chunks/error-a039bd7e.js";import"../chunks/navigation-6709cf39.js";import"../chunks/singletons-d1fb5791.js";import"../chunks/link-74db22ab.js";import"../chunks/index-0574ae1f.js";import"../chunks/_nav-row-56ea2046.js";import"../chunks/tooltip-4b9b03e7.js";import"../chunks/copyable-6f962ac2.js";import"../chunks/copy-to-clipboard-8832075c.js";import"../chunks/data-encoder-status-744c8425.js";import"../chunks/data-converter-config-6fc5efe1.js";import"../chunks/is-http-24b20bf9.js";import"../chunks/modal-0d6320a7.js";import"../chunks/button-0ce95595.js";const qe=(o,e)=>!o.auth.enabled||Boolean(e==null?void 0:e.email),De=async(o=fetch)=>{const e=await o("https://api.github.com/repos/temporalio/ui-server/releases"),n=await e.json();if(!e.ok)return;let t;if(n.length>0){const{tag_name:r}=n[0];t=r.replace("v","")}return t},ae={namespaces:[]};async function ze(o,e=fetch){if(o.runtimeEnvironment.isCloud)return ae;const n=await ue(ce("namespaces"),{request:e,onError:()=>je.add("error","Unable to fetch namespaces")});return n!=null?n:ae}const Ke=async(o,e=fetch)=>{if(!o.runtimeEnvironment.isCloud)return await ue(ce("cluster"),{request:e})};var R=(o=>(o[o.TemporalVersion=1]="TemporalVersion",o[o.UIVersion=2]="UIVersion",o))(R||{});const me=(o,e)=>{if(!o||!e)return!1;const[n,t,r]=o.split(".").map(Number),[i,s,l]=e.split(".").map(Number);return n!==i?n>i:t!==s?t>s:r>l},Y=Oe("closedBanners",null),Se=o=>{var n;let e=(n=be(Y))!=null?n:[];e=[...e,o],e=e.slice(e.length-10,e.length),Y.set(e)};function le(o){let e,n,t,r,i,s,l,a,u,f;return{c(){e=k("section"),n=k("a"),t=ne(o[2]),r=z(),i=k("button"),s=ne("\u2715"),this.h()},l(c){e=B(c,"SECTION",{class:!0,"data-cy":!0});var m=M(e);n=B(m,"A",{href:!0,target:!0});var y=M(n);t=te(y,o[2]),y.forEach(h),r=K(m),i=B(m,"BUTTON",{class:!0,"data-cy":!0});var v=M(i);s=te(v,"\u2715"),v.forEach(h),m.forEach(h),this.h()},h(){d(n,"href",o[3]),d(n,"target","_blank"),d(i,"class","text-black-600 absolute top-0 right-0 mr-5"),d(i,"data-cy","close-banner"),d(e,"class",l=re(`relative block text-center leading-10 ${o[1]}`)+" svelte-1xgik0j"),d(e,"data-cy",a=o[5].dataCy)},m(c,m){U(c,e,m),g(e,n),g(n,t),g(e,r),g(e,i),g(i,s),u||(f=we(i,"click",o[8]),u=!0)},p(c,m){m&4&&ye(t,c[2]),m&8&&d(n,"href",c[3]),m&2&&l!==(l=re(`relative block text-center leading-10 ${c[1]}`)+" svelte-1xgik0j")&&d(e,"class",l),m&32&&a!==(a=c[5].dataCy)&&d(e,"data-cy",a)},d(c){c&&h(e),u=!1,f()}}}function Fe(o){let e,n=o[4]&&le(o);return{c(){n&&n.c(),e=E()},l(t){n&&n.l(t),e=E()},m(t,r){n&&n.m(t,r),U(t,e,r)},p(t,[r]){t[4]?n?n.p(t,r):(n=le(t),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},i:oe,o:oe,d(t){n&&n.d(t),t&&h(e)}}}function He(o,e,n){let t,r;Z(o,Y,c=>n(7,r=c));let{key:i}=e,{severity:s}=e,{message:l}=e,{link:a}=e,{shownBanner:u}=e;const f=()=>Se(i);return o.$$set=c=>{n(5,e=se(se({},e),ie(c))),"key"in c&&n(0,i=c.key),"severity"in c&&n(1,s=c.severity),"message"in c&&n(2,l=c.message),"link"in c&&n(3,a=c.link),"shownBanner"in c&&n(6,u=c.shownBanner)},o.$$.update=()=>{o.$$.dirty&129&&n(4,t=!(r!=null?r:[]).includes(i)),o.$$.dirty&80&&(t||n(6,u++,u))},e=ie(e),[i,s,l,a,t,e,u,r,f]}class de extends S{constructor(e){super(),F(this,e,He,Fe,H,{key:0,severity:1,message:2,link:3,shownBanner:6})}}function Re(o){let e,n,t;function r(s){o[6](s)}let i={key:o[2],severity:o[1],message:o[5],link:o[3],dataCy:"temporal-version-banner"};return o[0]!==void 0&&(i.shownBanner=o[0]),e=new de({props:i}),P.push(()=>X(e,"shownBanner",r)),{c(){$(e.$$.fragment)},l(s){j(e.$$.fragment,s)},m(s,l){C(e,s,l),t=!0},p(s,l){const a={};!n&&l&1&&(n=!0,a.shownBanner=s[0],J(()=>n=!1)),e.$set(a)},i(s){t||(b(e.$$.fragment,s),t=!0)},o(s){w(e.$$.fragment,s),t=!1},d(s){A(e,s)}}}function Je(o){let e,n,t=o[4]&&Re(o);return{c(){t&&t.c(),e=E()},l(r){t&&t.l(r),e=E()},m(r,i){t&&t.m(r,i),U(r,e,i),n=!0},p(r,[i]){r[4]&&t.p(r,i)},i(r){n||(b(t),n=!0)},o(r){w(t),n=!1},d(r){t&&t.d(r),r&&h(e)}}}function Pe(o,e,n){let t;Z(o,fe,_=>n(12,t=_));var r,i,s,l,a;let{shownBanner:u}=e;const{cluster:f}=t.stuff,c={High:"high",Medium:"medium",Low:"low"},{recommended:m,current:y}=(r=f==null?void 0:f.versionInfo)!==null&&r!==void 0?r:{},v=(s=(i=f==null?void 0:f.versionInfo)===null||i===void 0?void 0:i.alerts)===null||s===void 0?void 0:s[0],I=v?c[v.severity]:c.Low,q=`server-v${y==null?void 0:y.version}`,T=`https://github.com/temporalio/temporal/releases/tag/v${(a=(l=f==null?void 0:f.versionInfo)===null||l===void 0?void 0:l.recommended)===null||a===void 0?void 0:a.version}`,V=me(m==null?void 0:m.version,y==null?void 0:y.version),O=I===c.Low?`\u{1F4E5} Temporal v${m==null?void 0:m.version} is available`:`\u{1F4E5} ${v==null?void 0:v.message}`;function p(_){u=_,n(0,u)}return o.$$set=_=>{"shownBanner"in _&&n(0,u=_.shownBanner)},[u,I,q,T,V,O,p]}class Xe extends S{constructor(e){super(),F(this,e,Pe,Je,H,{shownBanner:0})}}function Ye(o){let e,n,t;function r(s){o[6](s)}let i={key:o[1],severity:Ge,message:o[2],link:o[4],dataCy:"ui-version-banner"};return o[0]!==void 0&&(i.shownBanner=o[0]),e=new de({props:i}),P.push(()=>X(e,"shownBanner",r)),{c(){$(e.$$.fragment)},l(s){j(e.$$.fragment,s)},m(s,l){C(e,s,l),t=!0},p(s,l){const a={};!n&&l&1&&(n=!0,a.shownBanner=s[0],J(()=>n=!1)),e.$set(a)},i(s){t||(b(e.$$.fragment,s),t=!0)},o(s){w(e.$$.fragment,s),t=!1},d(s){A(e,s)}}}function Ze(o){let e,n,t=o[3]&&Ye(o);return{c(){t&&t.c(),e=E()},l(r){t&&t.l(r),e=E()},m(r,i){t&&t.m(r,i),U(r,e,i),n=!0},p(r,[i]){r[3]&&t.p(r,i)},i(r){n||(b(t),n=!0)},o(r){w(t),n=!1},d(r){t&&t.d(r),r&&h(e)}}}const Ge="low";function Qe(o,e,n){let{shownBanner:t}=e,{uiVersionInfo:r}=e;const i=`ui-v${r==null?void 0:r.current}`,s=`\u{1F4E5} Temporal UI v${r==null?void 0:r.recommended} is available`,l=me(r==null?void 0:r.recommended,r==null?void 0:r.current),a=`https://github.com/temporalio/ui-server/releases/tag/v${r==null?void 0:r.recommended}`;function u(f){t=f,n(0,t)}return o.$$set=f=>{"shownBanner"in f&&n(0,t=f.shownBanner),"uiVersionInfo"in f&&n(5,r=f.uiVersionInfo)},[t,i,s,l,a,r,u]}class We extends S{constructor(e){super(),F(this,e,Qe,Ze,H,{shownBanner:0,uiVersionInfo:5})}}function xe(o){let e,n,t,r;const i=[nn,en],s=[];function l(a,u){return a[1]===R.TemporalVersion?0:a[1]===R.UIVersion?1:-1}return~(e=l(o))&&(n=s[e]=i[e](o)),{c(){n&&n.c(),t=E()},l(a){n&&n.l(a),t=E()},m(a,u){~e&&s[e].m(a,u),U(a,t,u),r=!0},p(a,u){let f=e;e=l(a),e===f?~e&&s[e].p(a,u):(n&&(ke(),w(s[f],1,1,()=>{s[f]=null}),Be()),~e?(n=s[e],n?n.p(a,u):(n=s[e]=i[e](a),n.c()),b(n,1),n.m(t.parentNode,t)):n=null)},i(a){r||(b(n),r=!0)},o(a){w(n),r=!1},d(a){~e&&s[e].d(a),a&&h(t)}}}function en(o){let e,n,t;function r(s){o[4](s)}let i={uiVersionInfo:o[0]};return o[1]!==void 0&&(i.shownBanner=o[1]),e=new We({props:i}),P.push(()=>X(e,"shownBanner",r)),{c(){$(e.$$.fragment)},l(s){j(e.$$.fragment,s)},m(s,l){C(e,s,l),t=!0},p(s,l){const a={};l&1&&(a.uiVersionInfo=s[0]),!n&&l&2&&(n=!0,a.shownBanner=s[1],J(()=>n=!1)),e.$set(a)},i(s){t||(b(e.$$.fragment,s),t=!0)},o(s){w(e.$$.fragment,s),t=!1},d(s){A(e,s)}}}function nn(o){let e,n,t;function r(s){o[3](s)}let i={};return o[1]!==void 0&&(i.shownBanner=o[1]),e=new Xe({props:i}),P.push(()=>X(e,"shownBanner",r)),{c(){$(e.$$.fragment)},l(s){j(e.$$.fragment,s)},m(s,l){C(e,s,l),t=!0},p(s,l){const a={};!n&&l&2&&(n=!0,a.shownBanner=s[1],J(()=>n=!1)),e.$set(a)},i(s){t||(b(e.$$.fragment,s),t=!0)},o(s){w(e.$$.fragment,s),t=!1},d(s){A(e,s)}}}function tn(o){let e,n,t=o[2]&&xe(o);return{c(){t&&t.c(),e=E()},l(r){t&&t.l(r),e=E()},m(r,i){t&&t.m(r,i),U(r,e,i),n=!0},p(r,[i]){r[2]&&t.p(r,i)},i(r){n||(b(t),n=!0)},o(r){w(t),n=!1},d(r){t&&t.d(r),r&&h(e)}}}function rn(o,e,n){let t;Z(o,fe,u=>n(5,t=u));let{uiVersionInfo:r}=e,i=R.TemporalVersion;const s=t.stuff.settings.notifyOnNewVersion;function l(u){i=u,n(1,i)}function a(u){i=u,n(1,i)}return o.$$set=u=>{"uiVersionInfo"in u&&n(0,r=u.uiVersionInfo)},[r,i,s,l,a]}class on extends S{constructor(e){super(),F(this,e,rn,tn,H,{uiVersionInfo:0})}}function sn(o){let e;const n=o[2].default,t=Ve(n,o,o[3],null);return{c(){t&&t.c()},l(r){t&&t.l(r)},m(r,i){t&&t.m(r,i),e=!0},p(r,i){t&&t.p&&(!e||i&8)&&Ee(t,n,r,r[3],e?Te(n,r[3],i,null):Ne(r[3]),null)},i(r){e||(b(t,r),e=!0)},o(r){w(t,r),e=!1},d(r){t&&t.d(r)}}}function an(o){let e,n,t,r,i,s,l,a,u,f,c,m,y,v,I,q,T,V,O;return u=new Ae({}),m=new Me({props:{user:o[0]}}),I=new on({props:{uiVersionInfo:o[1]}}),V=new Ue({props:{onError:ln,$$slots:{default:[sn]},$$scope:{ctx:o}}}),{c(){e=k("link"),n=k("link"),t=k("meta"),r=k("meta"),i=k("meta"),s=k("meta"),l=z(),a=k("div"),$(u.$$.fragment),f=z(),c=k("div"),$(m.$$.fragment),y=z(),v=k("section"),$(I.$$.fragment),q=z(),T=k("div"),$(V.$$.fragment),this.h()},l(p){const _=Ie('[data-svelte="svelte-15ltrtv"]',document.head);e=B(_,"LINK",{rel:!0,href:!0}),n=B(_,"LINK",{rel:!0,href:!0}),t=B(_,"META",{property:!0,content:!0}),r=B(_,"META",{property:!0,content:!0}),i=B(_,"META",{property:!0,content:!0}),s=B(_,"META",{property:!0,content:!0}),_.forEach(h),l=K(p),a=B(p,"DIV",{class:!0});var N=M(a);j(u.$$.fragment,N),f=K(N),c=B(N,"DIV",{class:!0});var D=M(c);j(m.$$.fragment,D),D.forEach(h),y=K(N),v=B(N,"SECTION",{id:!0,class:!0});var L=M(v);j(I.$$.fragment,L),q=K(L),T=B(L,"DIV",{class:!0});var G=M(T);j(V.$$.fragment,G),G.forEach(h),L.forEach(h),N.forEach(h),this.h()},h(){document.title="Temporal",d(e,"rel","manifest"),d(e,"href","/site.webmanifest"),d(n,"rel","apple-touch-icon"),d(n,"href","/apple-touch-icon.png"),d(t,"property","og:title"),d(t,"content","Temporal"),d(r,"property","og:type"),d(r,"content","website"),d(i,"property","og:url"),d(i,"content","https://temporal.io"),d(s,"property","og:image"),d(s,"content","/banner.png"),d(c,"class","sticky top-0 z-20 h-screen w-auto"),d(T,"class","z-10 flex h-full flex-col gap-4 px-10 pb-10 pt-8"),d(v,"id","content"),d(v,"class","h-screen w-max flex-auto overflow-auto"),d(a,"class","flex h-screen w-screen flex-row")},m(p,_){g(document.head,e),g(document.head,n),g(document.head,t),g(document.head,r),g(document.head,i),g(document.head,s),U(p,l,_),U(p,a,_),C(u,a,null),g(a,f),g(a,c),C(m,c,null),g(a,y),g(a,v),C(I,v,null),g(v,q),g(v,T),C(V,T,null),O=!0},p(p,[_]){const N={};_&1&&(N.user=p[0]),m.$set(N);const D={};_&2&&(D.uiVersionInfo=p[1]),I.$set(D);const L={};_&8&&(L.$$scope={dirty:_,ctx:p}),V.$set(L)},i(p){O||(b(u.$$.fragment,p),b(m.$$.fragment,p),b(I.$$.fragment,p),b(V.$$.fragment,p),O=!0)},o(p){w(u.$$.fragment,p),w(m.$$.fragment,p),w(I.$$.fragment,p),w(V.$$.fragment,p),O=!1},d(p){h(e),h(n),h(t),h(r),h(i),h(s),p&&h(l),p&&h(a),A(u),A(m),A(I),A(V)}}}const zn=async function({fetch:o}){const e=await Le(o),n=await Ce(o);if(!qe(e,n))return{status:302,redirect:"/login"};const t=await ze(e,o),r=$e({namespaces:t==null?void 0:t.namespaces,settings:e}),i=await Ke(e,o),s={current:e.version,recommended:e.notifyOnNewVersion?await De(o):void 0};return{props:{user:n,uiVersionInfo:s},stuff:{namespaces:t==null?void 0:t.namespaces,settings:ee(x({},e),{defaultNamespace:r}),cluster:i}}},ln=()=>{};function un(o,e,n){let{$$slots:t={},$$scope:r}=e,{user:i}=e,{uiVersionInfo:s}=e;return o.$$set=l=>{"user"in l&&n(0,i=l.user),"uiVersionInfo"in l&&n(1,s=l.uiVersionInfo),"$$scope"in l&&n(3,r=l.$$scope)},[i,s,t,r]}class Kn extends S{constructor(e){super(),F(this,e,un,an,H,{user:0,uiVersionInfo:1})}}export{Kn as default,zn as load}; +var pe=Object.defineProperty,_e=Object.defineProperties;var he=Object.getOwnPropertyDescriptors;var Q=Object.getOwnPropertySymbols;var ve=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable;var W=(o,e,n)=>e in o?pe(o,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[e]=n,x=(o,e)=>{for(var n in e||(e={}))ve.call(e,n)&&W(o,n,e[n]);if(Q)for(var n of Q(e))ge.call(e,n)&&W(o,n,e[n]);return o},ee=(o,e)=>_e(o,he(e));import{X as be,S,i as F,s as H,e as k,t as ne,k as z,c as B,a as M,h as te,d as h,m as K,b as d,Y as re,g as U,M as g,T as we,j as ye,l as E,E as oe,N as Z,C as se,V as ie,w as $,x as j,y as C,Z as J,q as b,o as w,B as A,_ as P,$ as X,n as ke,p as Be,a0 as Ie,I as Ve,J as Ee,K as Ne,L as Te}from"../chunks/index-604742bf.js";import{g as $e}from"../chunks/get-namespace-d07a8a35.js";import{n as je}from"../chunks/notifications-cfed8e58.js";import{r as ue,a as ce}from"../chunks/route-for-api-605baeb9.js";import{f as Ce,N as Ae,E as Ue}from"../chunks/error-boundary-e2df6d7c.js";import{f as Le}from"../chunks/settings-service-8e3e4e7f.js";/* empty css */import Me from"./_header.svelte-61c8f411.js";import{p as fe}from"../chunks/stores-810822a9.js";import{p as Oe}from"../chunks/persist-store-26f405dd.js";import"../chunks/index-c9e619a8.js";import"../chunks/is-network-error-ac7c8caf.js";import"../chunks/route-for-1f2060cd.js";import"../chunks/index-69aa65a3.js";import"../chunks/error-a039bd7e.js";import"../chunks/navigation-6709cf39.js";import"../chunks/singletons-d1fb5791.js";import"../chunks/link-74db22ab.js";import"../chunks/index-0574ae1f.js";import"../chunks/_nav-row-56ea2046.js";import"../chunks/tooltip-4b9b03e7.js";import"../chunks/copyable-6f962ac2.js";import"../chunks/copy-to-clipboard-8832075c.js";import"../chunks/data-encoder-status-744c8425.js";import"../chunks/data-converter-config-6fc5efe1.js";import"../chunks/is-http-24b20bf9.js";import"../chunks/modal-0d6320a7.js";import"../chunks/button-0ce95595.js";const qe=(o,e)=>!o.auth.enabled||Boolean(e==null?void 0:e.email),De=async(o=fetch)=>{const e=await o("https://api.github.com/repos/temporalio/ui-server/releases"),n=await e.json();if(!e.ok)return;let t;if(n.length>0){const{tag_name:r}=n[0];t=r.replace("v","")}return t},ae={namespaces:[]};async function ze(o,e=fetch){if(o.runtimeEnvironment.isCloud)return ae;const n=await ue(ce("namespaces"),{request:e,onError:()=>je.add("error","Unable to fetch namespaces")});return n!=null?n:ae}const Ke=async(o,e=fetch)=>{if(!o.runtimeEnvironment.isCloud)return await ue(ce("cluster"),{request:e})};var R=(o=>(o[o.TemporalVersion=1]="TemporalVersion",o[o.UIVersion=2]="UIVersion",o))(R||{});const me=(o,e)=>{if(!o||!e)return!1;const[n,t,r]=o.split(".").map(Number),[i,s,l]=e.split(".").map(Number);return n!==i?n>i:t!==s?t>s:r>l},Y=Oe("closedBanners",null),Se=o=>{var n;let e=(n=be(Y))!=null?n:[];e=[...e,o],e=e.slice(e.length-10,e.length),Y.set(e)};function le(o){let e,n,t,r,i,s,l,a,u,f;return{c(){e=k("section"),n=k("a"),t=ne(o[2]),r=z(),i=k("button"),s=ne("\u2715"),this.h()},l(c){e=B(c,"SECTION",{class:!0,"data-cy":!0});var m=M(e);n=B(m,"A",{href:!0,target:!0});var y=M(n);t=te(y,o[2]),y.forEach(h),r=K(m),i=B(m,"BUTTON",{class:!0,"data-cy":!0});var v=M(i);s=te(v,"\u2715"),v.forEach(h),m.forEach(h),this.h()},h(){d(n,"href",o[3]),d(n,"target","_blank"),d(i,"class","text-black-600 absolute top-0 right-0 mr-5"),d(i,"data-cy","close-banner"),d(e,"class",l=re(`relative block text-center leading-10 ${o[1]}`)+" svelte-1xgik0j"),d(e,"data-cy",a=o[5].dataCy)},m(c,m){U(c,e,m),g(e,n),g(n,t),g(e,r),g(e,i),g(i,s),u||(f=we(i,"click",o[8]),u=!0)},p(c,m){m&4&&ye(t,c[2]),m&8&&d(n,"href",c[3]),m&2&&l!==(l=re(`relative block text-center leading-10 ${c[1]}`)+" svelte-1xgik0j")&&d(e,"class",l),m&32&&a!==(a=c[5].dataCy)&&d(e,"data-cy",a)},d(c){c&&h(e),u=!1,f()}}}function Fe(o){let e,n=o[4]&&le(o);return{c(){n&&n.c(),e=E()},l(t){n&&n.l(t),e=E()},m(t,r){n&&n.m(t,r),U(t,e,r)},p(t,[r]){t[4]?n?n.p(t,r):(n=le(t),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},i:oe,o:oe,d(t){n&&n.d(t),t&&h(e)}}}function He(o,e,n){let t,r;Z(o,Y,c=>n(7,r=c));let{key:i}=e,{severity:s}=e,{message:l}=e,{link:a}=e,{shownBanner:u}=e;const f=()=>Se(i);return o.$$set=c=>{n(5,e=se(se({},e),ie(c))),"key"in c&&n(0,i=c.key),"severity"in c&&n(1,s=c.severity),"message"in c&&n(2,l=c.message),"link"in c&&n(3,a=c.link),"shownBanner"in c&&n(6,u=c.shownBanner)},o.$$.update=()=>{o.$$.dirty&129&&n(4,t=!(r!=null?r:[]).includes(i)),o.$$.dirty&80&&(t||n(6,u++,u))},e=ie(e),[i,s,l,a,t,e,u,r,f]}class de extends S{constructor(e){super(),F(this,e,He,Fe,H,{key:0,severity:1,message:2,link:3,shownBanner:6})}}function Re(o){let e,n,t;function r(s){o[6](s)}let i={key:o[2],severity:o[1],message:o[5],link:o[3],dataCy:"temporal-version-banner"};return o[0]!==void 0&&(i.shownBanner=o[0]),e=new de({props:i}),P.push(()=>X(e,"shownBanner",r)),{c(){$(e.$$.fragment)},l(s){j(e.$$.fragment,s)},m(s,l){C(e,s,l),t=!0},p(s,l){const a={};!n&&l&1&&(n=!0,a.shownBanner=s[0],J(()=>n=!1)),e.$set(a)},i(s){t||(b(e.$$.fragment,s),t=!0)},o(s){w(e.$$.fragment,s),t=!1},d(s){A(e,s)}}}function Je(o){let e,n,t=o[4]&&Re(o);return{c(){t&&t.c(),e=E()},l(r){t&&t.l(r),e=E()},m(r,i){t&&t.m(r,i),U(r,e,i),n=!0},p(r,[i]){r[4]&&t.p(r,i)},i(r){n||(b(t),n=!0)},o(r){w(t),n=!1},d(r){t&&t.d(r),r&&h(e)}}}function Pe(o,e,n){let t;Z(o,fe,_=>n(12,t=_));var r,i,s,l,a;let{shownBanner:u}=e;const{cluster:f}=t.stuff,c={High:"high",Medium:"medium",Low:"low"},{recommended:m,current:y}=(r=f==null?void 0:f.versionInfo)!==null&&r!==void 0?r:{},v=(s=(i=f==null?void 0:f.versionInfo)===null||i===void 0?void 0:i.alerts)===null||s===void 0?void 0:s[0],I=v?c[v.severity]:c.Low,q=`server-v${y==null?void 0:y.version}`,T=`https://github.com/temporalio/temporal/releases/tag/v${(a=(l=f==null?void 0:f.versionInfo)===null||l===void 0?void 0:l.recommended)===null||a===void 0?void 0:a.version}`,V=me(m==null?void 0:m.version,y==null?void 0:y.version),O=I===c.Low?`\u{1F4E5} Temporal v${m==null?void 0:m.version} is available`:`\u{1F4E5} ${v==null?void 0:v.message}`;function p(_){u=_,n(0,u)}return o.$$set=_=>{"shownBanner"in _&&n(0,u=_.shownBanner)},[u,I,q,T,V,O,p]}class Xe extends S{constructor(e){super(),F(this,e,Pe,Je,H,{shownBanner:0})}}function Ye(o){let e,n,t;function r(s){o[6](s)}let i={key:o[1],severity:Ge,message:o[2],link:o[4],dataCy:"ui-version-banner"};return o[0]!==void 0&&(i.shownBanner=o[0]),e=new de({props:i}),P.push(()=>X(e,"shownBanner",r)),{c(){$(e.$$.fragment)},l(s){j(e.$$.fragment,s)},m(s,l){C(e,s,l),t=!0},p(s,l){const a={};!n&&l&1&&(n=!0,a.shownBanner=s[0],J(()=>n=!1)),e.$set(a)},i(s){t||(b(e.$$.fragment,s),t=!0)},o(s){w(e.$$.fragment,s),t=!1},d(s){A(e,s)}}}function Ze(o){let e,n,t=o[3]&&Ye(o);return{c(){t&&t.c(),e=E()},l(r){t&&t.l(r),e=E()},m(r,i){t&&t.m(r,i),U(r,e,i),n=!0},p(r,[i]){r[3]&&t.p(r,i)},i(r){n||(b(t),n=!0)},o(r){w(t),n=!1},d(r){t&&t.d(r),r&&h(e)}}}const Ge="low";function Qe(o,e,n){let{shownBanner:t}=e,{uiVersionInfo:r}=e;const i=`ui-v${r==null?void 0:r.current}`,s=`\u{1F4E5} Temporal UI v${r==null?void 0:r.recommended} is available`,l=me(r==null?void 0:r.recommended,r==null?void 0:r.current),a=`https://github.com/temporalio/ui-server/releases/tag/v${r==null?void 0:r.recommended}`;function u(f){t=f,n(0,t)}return o.$$set=f=>{"shownBanner"in f&&n(0,t=f.shownBanner),"uiVersionInfo"in f&&n(5,r=f.uiVersionInfo)},[t,i,s,l,a,r,u]}class We extends S{constructor(e){super(),F(this,e,Qe,Ze,H,{shownBanner:0,uiVersionInfo:5})}}function xe(o){let e,n,t,r;const i=[nn,en],s=[];function l(a,u){return a[1]===R.TemporalVersion?0:a[1]===R.UIVersion?1:-1}return~(e=l(o))&&(n=s[e]=i[e](o)),{c(){n&&n.c(),t=E()},l(a){n&&n.l(a),t=E()},m(a,u){~e&&s[e].m(a,u),U(a,t,u),r=!0},p(a,u){let f=e;e=l(a),e===f?~e&&s[e].p(a,u):(n&&(ke(),w(s[f],1,1,()=>{s[f]=null}),Be()),~e?(n=s[e],n?n.p(a,u):(n=s[e]=i[e](a),n.c()),b(n,1),n.m(t.parentNode,t)):n=null)},i(a){r||(b(n),r=!0)},o(a){w(n),r=!1},d(a){~e&&s[e].d(a),a&&h(t)}}}function en(o){let e,n,t;function r(s){o[4](s)}let i={uiVersionInfo:o[0]};return o[1]!==void 0&&(i.shownBanner=o[1]),e=new We({props:i}),P.push(()=>X(e,"shownBanner",r)),{c(){$(e.$$.fragment)},l(s){j(e.$$.fragment,s)},m(s,l){C(e,s,l),t=!0},p(s,l){const a={};l&1&&(a.uiVersionInfo=s[0]),!n&&l&2&&(n=!0,a.shownBanner=s[1],J(()=>n=!1)),e.$set(a)},i(s){t||(b(e.$$.fragment,s),t=!0)},o(s){w(e.$$.fragment,s),t=!1},d(s){A(e,s)}}}function nn(o){let e,n,t;function r(s){o[3](s)}let i={};return o[1]!==void 0&&(i.shownBanner=o[1]),e=new Xe({props:i}),P.push(()=>X(e,"shownBanner",r)),{c(){$(e.$$.fragment)},l(s){j(e.$$.fragment,s)},m(s,l){C(e,s,l),t=!0},p(s,l){const a={};!n&&l&2&&(n=!0,a.shownBanner=s[1],J(()=>n=!1)),e.$set(a)},i(s){t||(b(e.$$.fragment,s),t=!0)},o(s){w(e.$$.fragment,s),t=!1},d(s){A(e,s)}}}function tn(o){let e,n,t=o[2]&&xe(o);return{c(){t&&t.c(),e=E()},l(r){t&&t.l(r),e=E()},m(r,i){t&&t.m(r,i),U(r,e,i),n=!0},p(r,[i]){r[2]&&t.p(r,i)},i(r){n||(b(t),n=!0)},o(r){w(t),n=!1},d(r){t&&t.d(r),r&&h(e)}}}function rn(o,e,n){let t;Z(o,fe,u=>n(5,t=u));let{uiVersionInfo:r}=e,i=R.TemporalVersion;const s=t.stuff.settings.notifyOnNewVersion;function l(u){i=u,n(1,i)}function a(u){i=u,n(1,i)}return o.$$set=u=>{"uiVersionInfo"in u&&n(0,r=u.uiVersionInfo)},[r,i,s,l,a]}class on extends S{constructor(e){super(),F(this,e,rn,tn,H,{uiVersionInfo:0})}}function sn(o){let e;const n=o[2].default,t=Ve(n,o,o[3],null);return{c(){t&&t.c()},l(r){t&&t.l(r)},m(r,i){t&&t.m(r,i),e=!0},p(r,i){t&&t.p&&(!e||i&8)&&Ee(t,n,r,r[3],e?Te(n,r[3],i,null):Ne(r[3]),null)},i(r){e||(b(t,r),e=!0)},o(r){w(t,r),e=!1},d(r){t&&t.d(r)}}}function an(o){let e,n,t,r,i,s,l,a,u,f,c,m,y,v,I,q,T,V,O;return u=new Ae({}),m=new Me({props:{user:o[0]}}),I=new on({props:{uiVersionInfo:o[1]}}),V=new Ue({props:{onError:ln,$$slots:{default:[sn]},$$scope:{ctx:o}}}),{c(){e=k("link"),n=k("link"),t=k("meta"),r=k("meta"),i=k("meta"),s=k("meta"),l=z(),a=k("div"),$(u.$$.fragment),f=z(),c=k("div"),$(m.$$.fragment),y=z(),v=k("section"),$(I.$$.fragment),q=z(),T=k("div"),$(V.$$.fragment),this.h()},l(p){const _=Ie('[data-svelte="svelte-15ltrtv"]',document.head);e=B(_,"LINK",{rel:!0,href:!0}),n=B(_,"LINK",{rel:!0,href:!0}),t=B(_,"META",{property:!0,content:!0}),r=B(_,"META",{property:!0,content:!0}),i=B(_,"META",{property:!0,content:!0}),s=B(_,"META",{property:!0,content:!0}),_.forEach(h),l=K(p),a=B(p,"DIV",{class:!0});var N=M(a);j(u.$$.fragment,N),f=K(N),c=B(N,"DIV",{class:!0});var D=M(c);j(m.$$.fragment,D),D.forEach(h),y=K(N),v=B(N,"SECTION",{id:!0,class:!0});var L=M(v);j(I.$$.fragment,L),q=K(L),T=B(L,"DIV",{class:!0});var G=M(T);j(V.$$.fragment,G),G.forEach(h),L.forEach(h),N.forEach(h),this.h()},h(){document.title="Temporal",d(e,"rel","manifest"),d(e,"href","/site.webmanifest"),d(n,"rel","apple-touch-icon"),d(n,"href","/apple-touch-icon.png"),d(t,"property","og:title"),d(t,"content","Temporal"),d(r,"property","og:type"),d(r,"content","website"),d(i,"property","og:url"),d(i,"content","https://temporal.io"),d(s,"property","og:image"),d(s,"content","/banner.png"),d(c,"class","sticky top-0 z-20 h-screen w-auto"),d(T,"class","z-10 flex h-full flex-col gap-4 px-10 pb-10 pt-8"),d(v,"id","content"),d(v,"class","h-screen w-max flex-auto overflow-auto"),d(a,"class","flex h-screen w-screen flex-row")},m(p,_){g(document.head,e),g(document.head,n),g(document.head,t),g(document.head,r),g(document.head,i),g(document.head,s),U(p,l,_),U(p,a,_),C(u,a,null),g(a,f),g(a,c),C(m,c,null),g(a,y),g(a,v),C(I,v,null),g(v,q),g(v,T),C(V,T,null),O=!0},p(p,[_]){const N={};_&1&&(N.user=p[0]),m.$set(N);const D={};_&2&&(D.uiVersionInfo=p[1]),I.$set(D);const L={};_&8&&(L.$$scope={dirty:_,ctx:p}),V.$set(L)},i(p){O||(b(u.$$.fragment,p),b(m.$$.fragment,p),b(I.$$.fragment,p),b(V.$$.fragment,p),O=!0)},o(p){w(u.$$.fragment,p),w(m.$$.fragment,p),w(I.$$.fragment,p),w(V.$$.fragment,p),O=!1},d(p){h(e),h(n),h(t),h(r),h(i),h(s),p&&h(l),p&&h(a),A(u),A(m),A(I),A(V)}}}const zn=async function({fetch:o}){const e=await Le(o),n=await Ce(o);if(!qe(e,n))return{status:302,redirect:"/login"};const t=await ze(e,o),r=$e({namespaces:t==null?void 0:t.namespaces,settings:e}),i=await Ke(e,o),s={current:e.version,recommended:e.notifyOnNewVersion?await De(o):void 0};return{props:{user:n,uiVersionInfo:s},stuff:{namespaces:t==null?void 0:t.namespaces,settings:ee(x({},e),{defaultNamespace:r}),cluster:i}}},ln=()=>{};function un(o,e,n){let{$$slots:t={},$$scope:r}=e,{user:i}=e,{uiVersionInfo:s}=e;return o.$$set=l=>{"user"in l&&n(0,i=l.user),"uiVersionInfo"in l&&n(1,s=l.uiVersionInfo),"$$scope"in l&&n(3,r=l.$$scope)},[i,s,t,r]}class Kn extends S{constructor(e){super(),F(this,e,un,an,H,{user:0,uiVersionInfo:1})}}export{Kn as default,zn as load}; diff --git a/server/generated/ui/_app/pages/import/__layout-import.svelte-1b04c70f.js b/server/generated/ui/_app/pages/import/__layout-import.svelte-d06ad329.js similarity index 94% rename from server/generated/ui/_app/pages/import/__layout-import.svelte-1b04c70f.js rename to server/generated/ui/_app/pages/import/__layout-import.svelte-d06ad329.js index e33ab3f68a..79eee9590a 100644 --- a/server/generated/ui/_app/pages/import/__layout-import.svelte-1b04c70f.js +++ b/server/generated/ui/_app/pages/import/__layout-import.svelte-d06ad329.js @@ -1 +1 @@ -import{S as C,i as J,s as O,e as u,k as N,w as A,a0 as U,c as f,d as l,m as S,a as I,x as q,b as n,M as p,g as B,y as D,q as T,o as k,B as K,I as j,J as F,K as G,L as H}from"../../chunks/index-604742bf.js";import{f as P,N as Q,E as R}from"../../chunks/error-boundary-ed391cfd.js";import{f as W}from"../../chunks/settings-service-86784aa7.js";/* empty css */import X from"./_import-header.svelte-eb691789.js";import"../../chunks/route-for-api-3a26c58e.js";import"../../chunks/index-c9e619a8.js";import"../../chunks/notifications-cfed8e58.js";import"../../chunks/is-network-error-ac7c8caf.js";import"../../chunks/route-for-1f2060cd.js";import"../../chunks/index-69aa65a3.js";import"../../chunks/error-a039bd7e.js";import"../../chunks/navigation-6709cf39.js";import"../../chunks/singletons-d1fb5791.js";import"../../chunks/stores-810822a9.js";import"../../chunks/link-74db22ab.js";import"../../chunks/index-0574ae1f.js";import"../../chunks/_nav-row-56ea2046.js";import"../../chunks/persist-store-26f405dd.js";import"../../chunks/tooltip-4b9b03e7.js";import"../../chunks/copyable-6f962ac2.js";import"../../chunks/copy-to-clipboard-8832075c.js";function Y(c){let r;const s=c[0].default,e=j(s,c,c[1],null);return{c(){e&&e.c()},l(t){e&&e.l(t)},m(t,a){e&&e.m(t,a),r=!0},p(t,a){e&&e.p&&(!r||a&2)&&F(e,s,t,t[1],r?H(s,t[1],a,null):G(t[1]),null)},i(t){r||(T(e,t),r=!0)},o(t){k(e,t),r=!1},d(t){e&&e.d(t)}}}function Z(c){let r,s,e,t,a,y,E,m,_,x,v,h,M,g,w,$,b;return _=new Q({}),h=new X({}),$=new R({props:{onError:tt,$$slots:{default:[Y]},$$scope:{ctx:c}}}),{c(){r=u("link"),s=u("link"),e=u("meta"),t=u("meta"),a=u("meta"),y=u("meta"),E=N(),m=u("div"),A(_.$$.fragment),x=N(),v=u("div"),A(h.$$.fragment),M=N(),g=u("section"),w=u("div"),A($.$$.fragment),this.h()},l(o){const i=U('[data-svelte="svelte-15ltrtv"]',document.head);r=f(i,"LINK",{rel:!0,href:!0}),s=f(i,"LINK",{rel:!0,href:!0}),e=f(i,"META",{property:!0,content:!0}),t=f(i,"META",{property:!0,content:!0}),a=f(i,"META",{property:!0,content:!0}),y=f(i,"META",{property:!0,content:!0}),i.forEach(l),E=S(o),m=f(o,"DIV",{class:!0});var d=I(m);q(_.$$.fragment,d),x=S(d),v=f(d,"DIV",{class:!0});var L=I(v);q(h.$$.fragment,L),L.forEach(l),M=S(d),g=f(d,"SECTION",{id:!0,class:!0});var V=I(g);w=f(V,"DIV",{class:!0});var z=I(w);q($.$$.fragment,z),z.forEach(l),V.forEach(l),d.forEach(l),this.h()},h(){document.title="Temporal",n(r,"rel","manifest"),n(r,"href","/site.webmanifest"),n(s,"rel","apple-touch-icon"),n(s,"href","/apple-touch-icon.png"),n(e,"property","og:title"),n(e,"content","Temporal"),n(t,"property","og:type"),n(t,"content","website"),n(a,"property","og:url"),n(a,"content","https://temporal.io"),n(y,"property","og:image"),n(y,"content","/banner.png"),n(v,"class","sticky top-0 z-20 h-screen w-auto"),n(w,"class","z-10 flex h-full flex-col gap-4 px-10 pb-10 pt-8"),n(g,"id","content"),n(g,"class","h-screen w-max flex-auto overflow-auto"),n(m,"class","flex h-screen w-screen flex-row")},m(o,i){p(document.head,r),p(document.head,s),p(document.head,e),p(document.head,t),p(document.head,a),p(document.head,y),B(o,E,i),B(o,m,i),D(_,m,null),p(m,x),p(m,v),D(h,v,null),p(m,M),p(m,g),p(g,w),D($,w,null),b=!0},p(o,[i]){const d={};i&2&&(d.$$scope={dirty:i,ctx:o}),$.$set(d)},i(o){b||(T(_.$$.fragment,o),T(h.$$.fragment,o),T($.$$.fragment,o),b=!0)},o(o){k(_.$$.fragment,o),k(h.$$.fragment,o),k($.$$.fragment,o),b=!1},d(o){l(r),l(s),l(e),l(t),l(a),l(y),o&&l(E),o&&l(m),K(_),K(h),K($)}}}const It=async function({fetch:c}){const r=await W(c);return{props:{user:await P(c)},stuff:{settings:r}}},tt=()=>{};function et(c,r,s){let{$$slots:e={},$$scope:t}=r;return c.$$set=a=>{"$$scope"in a&&s(1,t=a.$$scope)},[e,t]}class Tt extends C{constructor(r){super(),J(this,r,et,Z,O,{})}}export{Tt as default,It as load}; +import{S as C,i as J,s as O,e as u,k as N,w as A,a0 as U,c as f,d as l,m as S,a as I,x as q,b as n,M as p,g as B,y as D,q as T,o as k,B as K,I as j,J as F,K as G,L as H}from"../../chunks/index-604742bf.js";import{f as P,N as Q,E as R}from"../../chunks/error-boundary-e2df6d7c.js";import{f as W}from"../../chunks/settings-service-8e3e4e7f.js";/* empty css */import X from"./_import-header.svelte-eb691789.js";import"../../chunks/route-for-api-605baeb9.js";import"../../chunks/index-c9e619a8.js";import"../../chunks/notifications-cfed8e58.js";import"../../chunks/is-network-error-ac7c8caf.js";import"../../chunks/route-for-1f2060cd.js";import"../../chunks/index-69aa65a3.js";import"../../chunks/error-a039bd7e.js";import"../../chunks/navigation-6709cf39.js";import"../../chunks/singletons-d1fb5791.js";import"../../chunks/stores-810822a9.js";import"../../chunks/link-74db22ab.js";import"../../chunks/index-0574ae1f.js";import"../../chunks/_nav-row-56ea2046.js";import"../../chunks/persist-store-26f405dd.js";import"../../chunks/tooltip-4b9b03e7.js";import"../../chunks/copyable-6f962ac2.js";import"../../chunks/copy-to-clipboard-8832075c.js";function Y(c){let r;const s=c[0].default,e=j(s,c,c[1],null);return{c(){e&&e.c()},l(t){e&&e.l(t)},m(t,a){e&&e.m(t,a),r=!0},p(t,a){e&&e.p&&(!r||a&2)&&F(e,s,t,t[1],r?H(s,t[1],a,null):G(t[1]),null)},i(t){r||(T(e,t),r=!0)},o(t){k(e,t),r=!1},d(t){e&&e.d(t)}}}function Z(c){let r,s,e,t,a,y,E,m,_,x,v,h,M,g,w,$,b;return _=new Q({}),h=new X({}),$=new R({props:{onError:tt,$$slots:{default:[Y]},$$scope:{ctx:c}}}),{c(){r=u("link"),s=u("link"),e=u("meta"),t=u("meta"),a=u("meta"),y=u("meta"),E=N(),m=u("div"),A(_.$$.fragment),x=N(),v=u("div"),A(h.$$.fragment),M=N(),g=u("section"),w=u("div"),A($.$$.fragment),this.h()},l(o){const i=U('[data-svelte="svelte-15ltrtv"]',document.head);r=f(i,"LINK",{rel:!0,href:!0}),s=f(i,"LINK",{rel:!0,href:!0}),e=f(i,"META",{property:!0,content:!0}),t=f(i,"META",{property:!0,content:!0}),a=f(i,"META",{property:!0,content:!0}),y=f(i,"META",{property:!0,content:!0}),i.forEach(l),E=S(o),m=f(o,"DIV",{class:!0});var d=I(m);q(_.$$.fragment,d),x=S(d),v=f(d,"DIV",{class:!0});var L=I(v);q(h.$$.fragment,L),L.forEach(l),M=S(d),g=f(d,"SECTION",{id:!0,class:!0});var V=I(g);w=f(V,"DIV",{class:!0});var z=I(w);q($.$$.fragment,z),z.forEach(l),V.forEach(l),d.forEach(l),this.h()},h(){document.title="Temporal",n(r,"rel","manifest"),n(r,"href","/site.webmanifest"),n(s,"rel","apple-touch-icon"),n(s,"href","/apple-touch-icon.png"),n(e,"property","og:title"),n(e,"content","Temporal"),n(t,"property","og:type"),n(t,"content","website"),n(a,"property","og:url"),n(a,"content","https://temporal.io"),n(y,"property","og:image"),n(y,"content","/banner.png"),n(v,"class","sticky top-0 z-20 h-screen w-auto"),n(w,"class","z-10 flex h-full flex-col gap-4 px-10 pb-10 pt-8"),n(g,"id","content"),n(g,"class","h-screen w-max flex-auto overflow-auto"),n(m,"class","flex h-screen w-screen flex-row")},m(o,i){p(document.head,r),p(document.head,s),p(document.head,e),p(document.head,t),p(document.head,a),p(document.head,y),B(o,E,i),B(o,m,i),D(_,m,null),p(m,x),p(m,v),D(h,v,null),p(m,M),p(m,g),p(g,w),D($,w,null),b=!0},p(o,[i]){const d={};i&2&&(d.$$scope={dirty:i,ctx:o}),$.$set(d)},i(o){b||(T(_.$$.fragment,o),T(h.$$.fragment,o),T($.$$.fragment,o),b=!0)},o(o){k(_.$$.fragment,o),k(h.$$.fragment,o),k($.$$.fragment,o),b=!1},d(o){l(r),l(s),l(e),l(t),l(a),l(y),o&&l(E),o&&l(m),K(_),K(h),K($)}}}const It=async function({fetch:c}){const r=await W(c);return{props:{user:await P(c)},stuff:{settings:r}}},tt=()=>{};function et(c,r,s){let{$$slots:e={},$$scope:t}=r;return c.$$set=a=>{"$$scope"in a&&s(1,t=a.$$scope)},[e,t]}class Tt extends C{constructor(r){super(),J(this,r,et,Z,O,{})}}export{Tt as default,It as load}; diff --git a/server/generated/ui/_app/pages/login/index@login.svelte-fbe1d7f9.js b/server/generated/ui/_app/pages/login/index@login.svelte-07c9d7ea.js similarity index 93% rename from server/generated/ui/_app/pages/login/index@login.svelte-fbe1d7f9.js rename to server/generated/ui/_app/pages/login/index@login.svelte-07c9d7ea.js index a3e9cb81fa..d306ed28da 100644 --- a/server/generated/ui/_app/pages/login/index@login.svelte-fbe1d7f9.js +++ b/server/generated/ui/_app/pages/login/index@login.svelte-07c9d7ea.js @@ -1 +1 @@ -import{S as A,i as D,s as F,w as E,k as _,e as h,t as P,x as N,m as y,c as b,a as v,h as q,d as l,b as g,y as B,g as x,M as f,q as H,o as I,B as O,N as M}from"../../chunks/index-604742bf.js";import{f as T}from"../../chunks/settings-service-86784aa7.js";import{m as U}from"../../chunks/route-for-1f2060cd.js";import{B as V}from"../../chunks/button-0ce95595.js";import{p as j}from"../../chunks/stores-810822a9.js";import{g as z}from"../../chunks/navigation-6709cf39.js";import{N as G,H as J}from"../../chunks/hamburger-header-8beb5c91.js";import"../../chunks/route-for-api-3a26c58e.js";import"../../chunks/index-c9e619a8.js";import"../../chunks/notifications-cfed8e58.js";import"../../chunks/is-network-error-ac7c8caf.js";import"../../chunks/index-0574ae1f.js";import"../../chunks/singletons-d1fb5791.js";import"../../chunks/data-encoder-status-744c8425.js";import"../../chunks/data-converter-config-6fc5efe1.js";import"../../chunks/persist-store-26f405dd.js";import"../../chunks/is-http-24b20bf9.js";import"../../chunks/tooltip-4b9b03e7.js";import"../../chunks/copyable-6f962ac2.js";import"../../chunks/copy-to-clipboard-8832075c.js";import"../../chunks/modal-0d6320a7.js";import"../../chunks/index-69aa65a3.js";function K(i){let e;return{c(){e=P("Continue to SSO")},l(a){e=q(a,"Continue to SSO")},m(a,s){x(a,e,s)},d(a){a&&l(e)}}}function Q(i){let e,a,s,c,n,o,S,k,u,w,C,p,m,$;return e=new G({props:{href:"/",user:void 0}}),s=new J({props:{href:"/",user:void 0}}),m=new V({props:{dataCy:"login-button",login:!0,icon:"lock",$$slots:{default:[K]},$$scope:{ctx:i}}}),m.$on("click",i[2]),{c(){E(e.$$.fragment),a=_(),E(s.$$.fragment),c=_(),n=h("section"),o=h("h1"),S=P("Welcome back."),k=_(),u=h("p"),w=P("Let's get you signed in."),C=_(),p=h("div"),E(m.$$.fragment),this.h()},l(t){N(e.$$.fragment,t),a=y(t),N(s.$$.fragment,t),c=y(t),n=b(t,"SECTION",{class:!0});var r=v(n);o=b(r,"H1",{class:!0,"data-cy":!0});var d=v(o);S=q(d,"Welcome back."),d.forEach(l),k=y(r),u=b(r,"P",{class:!0,"data-cy":!0});var L=v(u);w=q(L,"Let's get you signed in."),L.forEach(l),C=y(r),p=b(r,"DIV",{class:!0});var W=v(p);N(m.$$.fragment,W),W.forEach(l),r.forEach(l),this.h()},h(){g(o,"class","text-8xl font-semibold"),g(o,"data-cy","login-title"),g(u,"class","my-7"),g(u,"data-cy","login-info"),g(p,"class","mx-auto"),g(n,"class","my-[20vh] text-center")},m(t,r){B(e,t,r),x(t,a,r),B(s,t,r),x(t,c,r),x(t,n,r),f(n,o),f(o,S),f(n,k),f(n,u),f(u,w),f(n,C),f(n,p),B(m,p,null),$=!0},p(t,[r]){const d={};r&8&&(d.$$scope={dirty:r,ctx:t}),m.$set(d)},i(t){$||(H(e.$$.fragment,t),H(s.$$.fragment,t),H(m.$$.fragment,t),$=!0)},o(t){I(e.$$.fragment,t),I(s.$$.fragment,t),I(m.$$.fragment,t),$=!1},d(t){O(e,t),t&&l(a),O(s,t),t&&l(c),t&&l(n),O(m)}}}const yt=async function({fetch:i}){const e=await T(i);return e.auth.enabled?{props:{settings:e},stuff:{settings:e}}:{status:404}};function R(i,e,a){let s;M(i,j,o=>a(1,s=o));let{settings:c}=e;const n=()=>{z(U({settings:c,searchParams:s.url.searchParams,originUrl:s.url.origin}))};return i.$$set=o=>{"settings"in o&&a(0,c=o.settings)},[c,s,n]}class bt extends A{constructor(e){super(),D(this,e,R,Q,F,{settings:0})}}export{bt as default,yt as load}; +import{S as A,i as D,s as F,w as E,k as _,e as h,t as P,x as N,m as y,c as b,a as v,h as q,d as l,b as g,y as B,g as x,M as f,q as H,o as I,B as O,N as M}from"../../chunks/index-604742bf.js";import{f as T}from"../../chunks/settings-service-8e3e4e7f.js";import{m as U}from"../../chunks/route-for-1f2060cd.js";import{B as V}from"../../chunks/button-0ce95595.js";import{p as j}from"../../chunks/stores-810822a9.js";import{g as z}from"../../chunks/navigation-6709cf39.js";import{N as G,H as J}from"../../chunks/hamburger-header-8beb5c91.js";import"../../chunks/route-for-api-605baeb9.js";import"../../chunks/index-c9e619a8.js";import"../../chunks/notifications-cfed8e58.js";import"../../chunks/is-network-error-ac7c8caf.js";import"../../chunks/index-0574ae1f.js";import"../../chunks/singletons-d1fb5791.js";import"../../chunks/data-encoder-status-744c8425.js";import"../../chunks/data-converter-config-6fc5efe1.js";import"../../chunks/persist-store-26f405dd.js";import"../../chunks/is-http-24b20bf9.js";import"../../chunks/tooltip-4b9b03e7.js";import"../../chunks/copyable-6f962ac2.js";import"../../chunks/copy-to-clipboard-8832075c.js";import"../../chunks/modal-0d6320a7.js";import"../../chunks/index-69aa65a3.js";function K(i){let e;return{c(){e=P("Continue to SSO")},l(a){e=q(a,"Continue to SSO")},m(a,s){x(a,e,s)},d(a){a&&l(e)}}}function Q(i){let e,a,s,c,n,o,S,k,u,w,C,p,m,$;return e=new G({props:{href:"/",user:void 0}}),s=new J({props:{href:"/",user:void 0}}),m=new V({props:{dataCy:"login-button",login:!0,icon:"lock",$$slots:{default:[K]},$$scope:{ctx:i}}}),m.$on("click",i[2]),{c(){E(e.$$.fragment),a=_(),E(s.$$.fragment),c=_(),n=h("section"),o=h("h1"),S=P("Welcome back."),k=_(),u=h("p"),w=P("Let's get you signed in."),C=_(),p=h("div"),E(m.$$.fragment),this.h()},l(t){N(e.$$.fragment,t),a=y(t),N(s.$$.fragment,t),c=y(t),n=b(t,"SECTION",{class:!0});var r=v(n);o=b(r,"H1",{class:!0,"data-cy":!0});var d=v(o);S=q(d,"Welcome back."),d.forEach(l),k=y(r),u=b(r,"P",{class:!0,"data-cy":!0});var L=v(u);w=q(L,"Let's get you signed in."),L.forEach(l),C=y(r),p=b(r,"DIV",{class:!0});var W=v(p);N(m.$$.fragment,W),W.forEach(l),r.forEach(l),this.h()},h(){g(o,"class","text-8xl font-semibold"),g(o,"data-cy","login-title"),g(u,"class","my-7"),g(u,"data-cy","login-info"),g(p,"class","mx-auto"),g(n,"class","my-[20vh] text-center")},m(t,r){B(e,t,r),x(t,a,r),B(s,t,r),x(t,c,r),x(t,n,r),f(n,o),f(o,S),f(n,k),f(n,u),f(u,w),f(n,C),f(n,p),B(m,p,null),$=!0},p(t,[r]){const d={};r&8&&(d.$$scope={dirty:r,ctx:t}),m.$set(d)},i(t){$||(H(e.$$.fragment,t),H(s.$$.fragment,t),H(m.$$.fragment,t),$=!0)},o(t){I(e.$$.fragment,t),I(s.$$.fragment,t),I(m.$$.fragment,t),$=!1},d(t){O(e,t),t&&l(a),O(s,t),t&&l(c),t&&l(n),O(m)}}}const yt=async function({fetch:i}){const e=await T(i);return e.auth.enabled?{props:{settings:e},stuff:{settings:e}}:{status:404}};function R(i,e,a){let s;M(i,j,o=>a(1,s=o));let{settings:c}=e;const n=()=>{z(U({settings:c,searchParams:s.url.searchParams,originUrl:s.url.origin}))};return i.$$set=o=>{"settings"in o&&a(0,c=o.settings)},[c,s,n]}class bt extends A{constructor(e){super(),D(this,e,R,Q,F,{settings:0})}}export{bt as default,yt as load}; diff --git a/server/generated/ui/_app/pages/namespaces/_namespace_/archival/index@root.svelte-4e2b4b59.js b/server/generated/ui/_app/pages/namespaces/_namespace_/archival/index@root.svelte-2eb8903d.js similarity index 97% rename from server/generated/ui/_app/pages/namespaces/_namespace_/archival/index@root.svelte-4e2b4b59.js rename to server/generated/ui/_app/pages/namespaces/_namespace_/archival/index@root.svelte-2eb8903d.js index 28643287ff..4e0ce12ae8 100644 --- a/server/generated/ui/_app/pages/namespaces/_namespace_/archival/index@root.svelte-4e2b4b59.js +++ b/server/generated/ui/_app/pages/namespaces/_namespace_/archival/index@root.svelte-2eb8903d.js @@ -1,3 +1,3 @@ -import{S as K,i as L,s as O,l as R,g as k,o as y,p as B,q as $,d as _,N as Q,n as j,e as F,t as E,k as P,w as C,c as W,a as N,h as A,m as H,x as I,M as g,y as V,B as x,b as T,E as U,ad as X}from"../../../../chunks/index-604742bf.js";import{b as Y}from"../../../../chunks/workflow-service-b18a98d3.js";import{W as Z,a as ee}from"../../../../chunks/workflows-summary-row-2c944249.js";import te from"./_workflow-filters.svelte-2b33dbfb.js";import{P as le}from"../../../../chunks/pagination-bd44ecb0.js";import{E as ae}from"../../../../chunks/empty-state-c50aaf3c.js";import{C as D}from"../../../../chunks/code-block-03609e84.js";import{t as re}from"../../../../chunks/time-format-6fa48b0d.js";import"../../../../chunks/simplify-attributes-64d6cf1a.js";import"../../../../chunks/format-date-919f4714.js";import"../../../../chunks/to-duration-271d3946.js";import"../../../../chunks/route-for-api-3a26c58e.js";import"../../../../chunks/index-c9e619a8.js";import"../../../../chunks/notifications-cfed8e58.js";import"../../../../chunks/is-network-error-ac7c8caf.js";import"../../../../chunks/route-for-1f2060cd.js";import"../../../../chunks/stores-810822a9.js";import"../../../../chunks/navigation-6709cf39.js";import"../../../../chunks/singletons-d1fb5791.js";import"../../../../chunks/update-query-parameters-08bf783c.js";import"../../../../chunks/workflow-status-ca8cb7e9.js";import"../../../../chunks/index-0574ae1f.js";import"../../../../chunks/copy-to-clipboard-8832075c.js";import"../../../../chunks/select-4556bdf3.js";import"../../../../chunks/filter-select-ee707cee.js";import"./_filter-input.svelte-7981c276.js";import"../../../../chunks/index-c0547148.js";import"../../../../chunks/search-b2185bce.js";import"../../../../chunks/button-0ce95595.js";import"../../../../chunks/persist-store-26f405dd.js";function z(u,e,o){const t=u.slice();return t[6]=e[o],t}function ie(u){let e,o,t,l,c,a,i,r,p,d,h,w,s,b,f;i=new D({props:{content:`tctl --namespace ${u[0]} namespace update --has enabled`,language:"text",inline:!0}});let m=!u[3]&&G(u);return{c(){e=F("h2"),o=E("This namespace is currently not enabled for archival."),t=P(),l=F("p"),c=E("Run this command to enable Archival for Event Histories:"),a=P(),C(i.$$.fragment),r=P(),m&&m.c(),p=P(),d=F("p"),h=E("For more details, please check out "),w=F("a"),s=E("Archival documentation"),b=E("."),this.h()},l(n){e=W(n,"H2",{class:!0,"data-cy":!0});var v=N(e);o=A(v,"This namespace is currently not enabled for archival."),v.forEach(_),t=H(n),l=W(n,"P",{});var S=N(l);c=A(S,"Run this command to enable Archival for Event Histories:"),S.forEach(_),a=H(n),I(i.$$.fragment,n),r=H(n),m&&m.l(n),p=H(n),d=W(n,"P",{});var q=N(d);h=A(q,"For more details, please check out "),w=W(q,"A",{class:!0,href:!0,target:!0});var M=N(w);s=A(M,"Archival documentation"),M.forEach(_),b=A(q,"."),q.forEach(_),this.h()},h(){T(e,"class","text-2xl"),T(e,"data-cy","archived-disabled-title"),T(w,"class","text-blue-700 underline"),T(w,"href","https://docs.temporal.io/server/archive-data/"),T(w,"target","_blank")},m(n,v){k(n,e,v),g(e,o),k(n,t,v),k(n,l,v),g(l,c),k(n,a,v),V(i,n,v),k(n,r,v),m&&m.m(n,v),k(n,p,v),k(n,d,v),g(d,h),g(d,w),g(w,s),g(d,b),f=!0},p(n,v){const S={};v&1&&(S.content=`tctl --namespace ${n[0]} namespace update --has enabled`),i.$set(S),n[3]?m&&(j(),y(m,1,1,()=>{m=null}),B()):m?(m.p(n,v),v&8&&$(m,1)):(m=G(n),m.c(),$(m,1),m.m(p.parentNode,p))},i(n){f||($(i.$$.fragment,n),$(m),f=!0)},o(n){y(i.$$.fragment,n),y(m),f=!1},d(n){n&&_(e),n&&_(t),n&&_(l),n&&_(a),x(i,n),n&&_(r),m&&m.d(n),n&&_(p),n&&_(d)}}}function oe(u){let e,o,t,l,c,a,i,r,p,d,h,w,s,b;return i=new D({props:{content:`tctl --namespace ${u[0]} namespace update -vas enabled`,language:"text",inline:!0}}),{c(){e=F("h2"),o=E(`This namespace is currently enabled for archival but visibility is not +import{S as K,i as L,s as O,l as R,g as k,o as y,p as B,q as $,d as _,N as Q,n as j,e as F,t as E,k as P,w as C,c as W,a as N,h as A,m as H,x as I,M as g,y as V,B as x,b as T,E as U,ad as X}from"../../../../chunks/index-604742bf.js";import{b as Y}from"../../../../chunks/workflow-service-250a9fea.js";import{W as Z,a as ee}from"../../../../chunks/workflows-summary-row-89774f0c.js";import te from"./_workflow-filters.svelte-2b33dbfb.js";import{P as le}from"../../../../chunks/pagination-bd44ecb0.js";import{E as ae}from"../../../../chunks/empty-state-c50aaf3c.js";import{C as D}from"../../../../chunks/code-block-03609e84.js";import{t as re}from"../../../../chunks/time-format-6fa48b0d.js";import"../../../../chunks/simplify-attributes-64d6cf1a.js";import"../../../../chunks/format-date-919f4714.js";import"../../../../chunks/to-duration-271d3946.js";import"../../../../chunks/route-for-api-605baeb9.js";import"../../../../chunks/index-c9e619a8.js";import"../../../../chunks/notifications-cfed8e58.js";import"../../../../chunks/is-network-error-ac7c8caf.js";import"../../../../chunks/route-for-1f2060cd.js";import"../../../../chunks/stores-810822a9.js";import"../../../../chunks/navigation-6709cf39.js";import"../../../../chunks/singletons-d1fb5791.js";import"../../../../chunks/update-query-parameters-08bf783c.js";import"../../../../chunks/workflow-status-ca8cb7e9.js";import"../../../../chunks/index-0574ae1f.js";import"../../../../chunks/copy-to-clipboard-8832075c.js";import"../../../../chunks/select-4556bdf3.js";import"../../../../chunks/filter-select-ee707cee.js";import"./_filter-input.svelte-7981c276.js";import"../../../../chunks/index-c0547148.js";import"../../../../chunks/search-b2185bce.js";import"../../../../chunks/button-0ce95595.js";import"../../../../chunks/persist-store-26f405dd.js";function z(u,e,o){const t=u.slice();return t[6]=e[o],t}function ie(u){let e,o,t,l,c,a,i,r,p,d,h,w,s,b,f;i=new D({props:{content:`tctl --namespace ${u[0]} namespace update --has enabled`,language:"text",inline:!0}});let m=!u[3]&&G(u);return{c(){e=F("h2"),o=E("This namespace is currently not enabled for archival."),t=P(),l=F("p"),c=E("Run this command to enable Archival for Event Histories:"),a=P(),C(i.$$.fragment),r=P(),m&&m.c(),p=P(),d=F("p"),h=E("For more details, please check out "),w=F("a"),s=E("Archival documentation"),b=E("."),this.h()},l(n){e=W(n,"H2",{class:!0,"data-cy":!0});var v=N(e);o=A(v,"This namespace is currently not enabled for archival."),v.forEach(_),t=H(n),l=W(n,"P",{});var S=N(l);c=A(S,"Run this command to enable Archival for Event Histories:"),S.forEach(_),a=H(n),I(i.$$.fragment,n),r=H(n),m&&m.l(n),p=H(n),d=W(n,"P",{});var q=N(d);h=A(q,"For more details, please check out "),w=W(q,"A",{class:!0,href:!0,target:!0});var M=N(w);s=A(M,"Archival documentation"),M.forEach(_),b=A(q,"."),q.forEach(_),this.h()},h(){T(e,"class","text-2xl"),T(e,"data-cy","archived-disabled-title"),T(w,"class","text-blue-700 underline"),T(w,"href","https://docs.temporal.io/server/archive-data/"),T(w,"target","_blank")},m(n,v){k(n,e,v),g(e,o),k(n,t,v),k(n,l,v),g(l,c),k(n,a,v),V(i,n,v),k(n,r,v),m&&m.m(n,v),k(n,p,v),k(n,d,v),g(d,h),g(d,w),g(w,s),g(d,b),f=!0},p(n,v){const S={};v&1&&(S.content=`tctl --namespace ${n[0]} namespace update --has enabled`),i.$set(S),n[3]?m&&(j(),y(m,1,1,()=>{m=null}),B()):m?(m.p(n,v),v&8&&$(m,1)):(m=G(n),m.c(),$(m,1),m.m(p.parentNode,p))},i(n){f||($(i.$$.fragment,n),$(m),f=!0)},o(n){y(i.$$.fragment,n),y(m),f=!1},d(n){n&&_(e),n&&_(t),n&&_(l),n&&_(a),x(i,n),n&&_(r),m&&m.d(n),n&&_(p),n&&_(d)}}}function oe(u){let e,o,t,l,c,a,i,r,p,d,h,w,s,b;return i=new D({props:{content:`tctl --namespace ${u[0]} namespace update -vas enabled`,language:"text",inline:!0}}),{c(){e=F("h2"),o=E(`This namespace is currently enabled for archival but visibility is not enabled.`),t=P(),l=F("p"),c=E("To enable Visibility Archival:"),a=P(),C(i.$$.fragment),r=P(),p=F("p"),d=E("For more details, please check out "),h=F("a"),w=E("Archival documentation"),s=E("."),this.h()},l(f){e=W(f,"H2",{class:!0,"data-cy":!0});var m=N(e);o=A(m,`This namespace is currently enabled for archival but visibility is not enabled.`),m.forEach(_),t=H(f),l=W(f,"P",{});var n=N(l);c=A(n,"To enable Visibility Archival:"),n.forEach(_),a=H(f),I(i.$$.fragment,f),r=H(f),p=W(f,"P",{});var v=N(p);d=A(v,"For more details, please check out "),h=W(v,"A",{class:!0,href:!0,target:!0});var S=N(h);w=A(S,"Archival documentation"),S.forEach(_),s=A(v,"."),v.forEach(_),this.h()},h(){T(e,"class","text-2xl"),T(e,"data-cy","visibility-disabled-title"),T(h,"class","text-blue-700 underline"),T(h,"href","https://docs.temporal.io/server/archive-data/"),T(h,"target","_blank")},m(f,m){k(f,e,m),g(e,o),k(f,t,m),k(f,l,m),g(l,c),k(f,a,m),V(i,f,m),k(f,r,m),k(f,p,m),g(p,d),g(p,h),g(h,w),g(p,s),b=!0},p(f,m){const n={};m&1&&(n.content=`tctl --namespace ${f[0]} namespace update -vas enabled`),i.$set(n)},i(f){b||($(i.$$.fragment,f),b=!0)},o(f){y(i.$$.fragment,f),b=!1},d(f){f&&_(e),f&&_(t),f&&_(l),f&&_(a),x(i,f),f&&_(r),f&&_(p)}}}function ne(u){let e,o,t,l,c,a,i,r,p;l=new te({});const d=[ce,se],h=[];function w(s,b){var f;return(f=s[1])!=null&&f.length?0:1}return a=w(u),i=h[a]=d[a](u),{c(){e=F("h2"),o=E("Archived Workflows"),t=P(),C(l.$$.fragment),c=P(),i.c(),r=R(),this.h()},l(s){e=W(s,"H2",{class:!0,"data-cy":!0});var b=N(e);o=A(b,"Archived Workflows"),b.forEach(_),t=H(s),I(l.$$.fragment,s),c=H(s),i.l(s),r=R(),this.h()},h(){T(e,"class","text-2xl"),T(e,"data-cy","archived-enabled-title")},m(s,b){k(s,e,b),g(e,o),k(s,t,b),V(l,s,b),k(s,c,b),h[a].m(s,b),k(s,r,b),p=!0},p(s,b){let f=a;a=w(s),a===f?h[a].p(s,b):(j(),y(h[f],1,1,()=>{h[f]=null}),B(),i=h[a],i?i.p(s,b):(i=h[a]=d[a](s),i.c()),$(i,1),i.m(r.parentNode,r))},i(s){p||($(l.$$.fragment,s),$(i),p=!0)},o(s){y(l.$$.fragment,s),y(i),p=!1},d(s){s&&_(e),s&&_(t),x(l,s),s&&_(c),h[a].d(s),s&&_(r)}}}function G(u){let e,o,t,l,c;return l=new D({props:{content:`tctl --namespace ${u[0]} namespace update -vas enabled`,language:"text",inline:!0}}),{c(){e=F("p"),o=E("To enable Visibility Archival:"),t=P(),C(l.$$.fragment)},l(a){e=W(a,"P",{});var i=N(e);o=A(i,"To enable Visibility Archival:"),i.forEach(_),t=H(a),I(l.$$.fragment,a)},m(a,i){k(a,e,i),g(e,o),k(a,t,i),V(l,a,i),c=!0},p(a,i){const r={};i&1&&(r.content=`tctl --namespace ${a[0]} namespace update -vas enabled`),l.$set(r)},i(a){c||($(l.$$.fragment,a),c=!0)},o(a){y(l.$$.fragment,a),c=!1},d(a){a&&_(e),a&&_(t),x(l,a)}}}function se(u){let e,o;return e=new ae({props:{title:"No Workflows Found",content:"If you have filters applied, try adjusting them."}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,l){V(e,t,l),o=!0},p:U,i(t){o||($(e.$$.fragment,t),o=!0)},o(t){y(e.$$.fragment,t),o=!1},d(t){x(e,t)}}}function ce(u){let e,o;return e=new le({props:{items:u[1],$$slots:{default:[me,({visibleItems:t})=>({5:t}),({visibleItems:t})=>t?32:0]},$$scope:{ctx:u}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,l){V(e,t,l),o=!0},p(t,l){const c={};l&2&&(c.items=t[1]),l&561&&(c.$$scope={dirty:l,ctx:t}),e.$set(c)},i(t){o||($(e.$$.fragment,t),o=!0)},o(t){y(e.$$.fragment,t),o=!1},d(t){x(e,t)}}}function J(u){let e,o;return e=new ee({props:{workflow:u[6],namespace:u[0],timeFormat:u[4]}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,l){V(e,t,l),o=!0},p(t,l){const c={};l&32&&(c.workflow=t[6]),l&1&&(c.namespace=t[0]),l&16&&(c.timeFormat=t[4]),e.$set(c)},i(t){o||($(e.$$.fragment,t),o=!0)},o(t){y(e.$$.fragment,t),o=!1},d(t){x(e,t)}}}function fe(u){let e,o,t=u[5],l=[];for(let a=0;ay(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a{a[d]=null}),B(),o=a[e],o?o.p(r,p):(o=a[e]=c[e](r),o.c()),$(o,1),o.m(t.parentNode,t))},i(r){l||($(o),l=!0)},o(r){y(o),l=!1},d(r){a[e].d(r),r&&_(t)}}}const Ge=async function({params:u,url:e,stuff:o}){var t,l;const{searchParams:c}=e;c.has("time-range")||c.set("time-range","1 day");const a=u.namespace,i=c.get("workflow-id"),r=c.get("workflow-type"),p=c.get("time-range"),d=c.get("status"),h={workflowId:i,workflowType:r,closeTime:p,executionStatus:d},s=o.namespaces.find(n=>n.namespaceInfo.name===a),b=((t=s==null?void 0:s.config)===null||t===void 0?void 0:t.historyArchivalState)==="Enabled",f=((l=s==null?void 0:s.config)===null||l===void 0?void 0:l.visibilityArchivalState)==="Enabled",m=b&&f?await Y(a,h,fetch):null;return{props:{workflows:m?m.workflows:[],namespace:a,archivalEnabled:b,visibilityArchivalEnabled:f}}};function pe(u,e,o){let t;Q(u,re,r=>o(4,t=r));let{namespace:l}=e,{workflows:c}=e,{archivalEnabled:a=!1}=e,{visibilityArchivalEnabled:i=!1}=e;return u.$$set=r=>{"namespace"in r&&o(0,l=r.namespace),"workflows"in r&&o(1,c=r.workflows),"archivalEnabled"in r&&o(2,a=r.archivalEnabled),"visibilityArchivalEnabled"in r&&o(3,i=r.visibilityArchivalEnabled)},[l,c,a,i,t]}class Je extends K{constructor(e){super(),L(this,e,pe,ue,O,{namespace:0,workflows:1,archivalEnabled:2,visibilityArchivalEnabled:3})}}export{Je as default,Ge as load}; diff --git a/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/__layout@root.svelte-50ae0207.js b/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/__layout@root.svelte-3fde00c2.js similarity index 97% rename from server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/__layout@root.svelte-50ae0207.js rename to server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/__layout@root.svelte-3fde00c2.js index bb7807695c..a95bfd9288 100644 --- a/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/__layout@root.svelte-50ae0207.js +++ b/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/__layout@root.svelte-3fde00c2.js @@ -1,3 +1,3 @@ -var Le=Object.defineProperty;var Te=Object.getOwnPropertySymbols;var Oe=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable;var Ae=(o,e,n)=>e in o?Le(o,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[e]=n,de=(o,e)=>{for(var n in e||(e={}))Oe.call(e,n)&&Ae(o,n,e[n]);if(Te)for(var n of Te(e))Ue.call(e,n)&&Ae(o,n,e[n]);return o};import{S as X,i as Y,s as Z,I as pe,e as _,c as g,a as v,d as c,g as A,J as we,K as he,L as _e,q as p,a4 as Je,a5 as Qe,o as w,a6 as ze,w as y,k as P,x as I,m as j,y as E,B as T,l as Se,n as qe,p as He,t as R,h as F,b as d,M as m,E as ae,ab as We,T as Ke,R as Ne,N as ee,C as Pe,V as je,j as oe}from"../../../../../../chunks/index-604742bf.js";import{p as Me}from"../../../../../../chunks/stores-810822a9.js";import{l as Ge,w as Xe}from"../../../../../../chunks/workflow-run-60a1c465.js";import{f as Ce}from"../../../../../../chunks/index-69aa65a3.js";import{I as Ye}from"../../../../../../chunks/index-0574ae1f.js";import{e as Ze}from"../../../../../../chunks/event-view-963ec0ce.js";import{w as xe}from"../../../../../../chunks/workflows-92f8c48f.js";import{t as et}from"../../../../../../chunks/workflow-service-b18a98d3.js";import{e as Re,f as tt,g as rt,h as nt,i as at,j as Fe}from"../../../../../../chunks/route-for-1f2060cd.js";import{W as ot}from"../../../../../../chunks/workflow-status-ca8cb7e9.js";import{r as st,a as lt,h as ft}from"../../../../../../chunks/route-for-api-3a26c58e.js";import{n as it}from"../../../../../../chunks/notifications-cfed8e58.js";import{B as Be}from"../../../../../../chunks/button-0ce95595.js";import{M as ut}from"../../../../../../chunks/modal-0d6320a7.js";import{f as ct}from"../../../../../../chunks/events-service-97238182.js";import"../../../../../../chunks/index-c9e619a8.js";import"../../../../../../chunks/with-loading-22689bcc.js";import"../../../../../../chunks/persist-store-26f405dd.js";import"../../../../../../chunks/simplify-attributes-64d6cf1a.js";import"../../../../../../chunks/format-date-919f4714.js";import"../../../../../../chunks/to-duration-271d3946.js";import"../../../../../../chunks/is-network-error-ac7c8caf.js";import"../../../../../../chunks/index-e3391e94.js";import"../../../../../../chunks/is-http-24b20bf9.js";import"../../../../../../chunks/data-converter-config-6fc5efe1.js";import"../../../../../../chunks/atob-eb4fc9a1.js";import"../../../../../../chunks/get-event-categorization-8a63628f.js";function mt(o){let e,n,t,a;const r=o[1].default,s=pe(r,o,o[0],null);return{c(){e=_("div"),s&&s.c()},l(l){e=g(l,"DIV",{});var f=v(e);s&&s.l(f),f.forEach(c)},m(l,f){A(l,e,f),s&&s.m(e,null),a=!0},p(l,[f]){s&&s.p&&(!a||f&1)&&we(s,r,l,l[0],a?_e(r,l[0],f,null):he(l[0]),null)},i(l){a||(p(s,l),Je(()=>{t&&t.end(1),n=Qe(e,Ce,{y:-50,duration:250,delay:250}),n.start()}),a=!0)},o(l){w(s,l),n&&n.invalidate(),t=ze(e,Ce,{y:-50,duration:250}),a=!1},d(l){l&&c(e),s&&s.d(l),l&&t&&t.end()}}}function dt(o,e,n){let{$$slots:t={},$$scope:a}=e;return o.$$set=r=>{"$$scope"in r&&n(0,a=r.$$scope)},[a,t]}class pt extends X{constructor(e){super(),Y(this,e,dt,mt,Z,{})}}async function wt({workflow:o,namespace:e,reason:n}){return await st(lt("workflow.terminate",{namespace:e,workflowId:o.id,runId:o.runId}),{options:{method:"POST",body:JSON.stringify({reason:n})},shouldRetry:!1})}function Ve(o){let e,n,t,a;return e=new Be({props:{destroy:!0,$$slots:{default:[ht]},$$scope:{ctx:o}}}),e.$on("click",o[3]),t=new ut({props:{open:o[2],confirmText:"Terminate",$$slots:{content:[gt],title:[_t]},$$scope:{ctx:o}}}),t.$on("cancelModal",o[4]),t.$on("confirmModal",o[6]),{c(){y(e.$$.fragment),n=P(),y(t.$$.fragment)},l(r){I(e.$$.fragment,r),n=j(r),I(t.$$.fragment,r)},m(r,s){E(e,r,s),A(r,n,s),E(t,r,s),a=!0},p(r,s){const l={};s&1024&&(l.$$scope={dirty:s,ctx:r}),e.$set(l);const f={};s&4&&(f.open=r[2]),s&1026&&(f.$$scope={dirty:s,ctx:r}),t.$set(f)},i(r){a||(p(e.$$.fragment,r),p(t.$$.fragment,r),a=!0)},o(r){w(e.$$.fragment,r),w(t.$$.fragment,r),a=!1},d(r){T(e,r),r&&c(n),T(t,r)}}}function ht(o){let e;return{c(){e=R("Terminate")},l(n){e=F(n,"Terminate")},m(n,t){A(n,e,t)},d(n){n&&c(e)}}}function _t(o){let e,n;return{c(){e=_("h3"),n=R("Terminate Workflow"),this.h()},l(t){e=g(t,"H3",{slot:!0});var a=v(e);n=F(a,"Terminate Workflow"),a.forEach(c),this.h()},h(){d(e,"slot","title")},m(t,a){A(t,e,a),m(e,n)},p:ae,d(t){t&&c(e)}}}function gt(o){let e,n,t,a,r,s,l;return{c(){e=_("div"),n=_("p"),t=R(`Are you sure you want to terminate this workflow? This action cannot be +var Le=Object.defineProperty;var Te=Object.getOwnPropertySymbols;var Oe=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable;var Ae=(o,e,n)=>e in o?Le(o,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[e]=n,de=(o,e)=>{for(var n in e||(e={}))Oe.call(e,n)&&Ae(o,n,e[n]);if(Te)for(var n of Te(e))Ue.call(e,n)&&Ae(o,n,e[n]);return o};import{S as X,i as Y,s as Z,I as pe,e as _,c as g,a as v,d as c,g as A,J as we,K as he,L as _e,q as p,a4 as Je,a5 as Qe,o as w,a6 as ze,w as y,k as P,x as I,m as j,y as E,B as T,l as Se,n as qe,p as He,t as R,h as F,b as d,M as m,E as ae,ab as We,T as Ke,R as Ne,N as ee,C as Pe,V as je,j as oe}from"../../../../../../chunks/index-604742bf.js";import{p as Me}from"../../../../../../chunks/stores-810822a9.js";import{l as Ge,w as Xe}from"../../../../../../chunks/workflow-run-4b2466b3.js";import{f as Ce}from"../../../../../../chunks/index-69aa65a3.js";import{I as Ye}from"../../../../../../chunks/index-0574ae1f.js";import{e as Ze}from"../../../../../../chunks/event-view-963ec0ce.js";import{w as xe}from"../../../../../../chunks/workflows-1f018cf1.js";import{t as et}from"../../../../../../chunks/workflow-service-250a9fea.js";import{e as Re,f as tt,g as rt,h as nt,i as at,j as Fe}from"../../../../../../chunks/route-for-1f2060cd.js";import{W as ot}from"../../../../../../chunks/workflow-status-ca8cb7e9.js";import{r as st,a as lt,h as ft}from"../../../../../../chunks/route-for-api-605baeb9.js";import{n as it}from"../../../../../../chunks/notifications-cfed8e58.js";import{B as Be}from"../../../../../../chunks/button-0ce95595.js";import{M as ut}from"../../../../../../chunks/modal-0d6320a7.js";import{f as ct}from"../../../../../../chunks/events-service-c14937d5.js";import"../../../../../../chunks/index-c9e619a8.js";import"../../../../../../chunks/with-loading-22689bcc.js";import"../../../../../../chunks/persist-store-26f405dd.js";import"../../../../../../chunks/simplify-attributes-64d6cf1a.js";import"../../../../../../chunks/format-date-919f4714.js";import"../../../../../../chunks/to-duration-271d3946.js";import"../../../../../../chunks/is-network-error-ac7c8caf.js";import"../../../../../../chunks/index-e3391e94.js";import"../../../../../../chunks/is-http-24b20bf9.js";import"../../../../../../chunks/data-converter-config-6fc5efe1.js";import"../../../../../../chunks/atob-eb4fc9a1.js";import"../../../../../../chunks/get-event-categorization-8a63628f.js";function mt(o){let e,n,t,a;const r=o[1].default,s=pe(r,o,o[0],null);return{c(){e=_("div"),s&&s.c()},l(l){e=g(l,"DIV",{});var f=v(e);s&&s.l(f),f.forEach(c)},m(l,f){A(l,e,f),s&&s.m(e,null),a=!0},p(l,[f]){s&&s.p&&(!a||f&1)&&we(s,r,l,l[0],a?_e(r,l[0],f,null):he(l[0]),null)},i(l){a||(p(s,l),Je(()=>{t&&t.end(1),n=Qe(e,Ce,{y:-50,duration:250,delay:250}),n.start()}),a=!0)},o(l){w(s,l),n&&n.invalidate(),t=ze(e,Ce,{y:-50,duration:250}),a=!1},d(l){l&&c(e),s&&s.d(l),l&&t&&t.end()}}}function dt(o,e,n){let{$$slots:t={},$$scope:a}=e;return o.$$set=r=>{"$$scope"in r&&n(0,a=r.$$scope)},[a,t]}class pt extends X{constructor(e){super(),Y(this,e,dt,mt,Z,{})}}async function wt({workflow:o,namespace:e,reason:n}){return await st(lt("workflow.terminate",{namespace:e,workflowId:o.id,runId:o.runId}),{options:{method:"POST",body:JSON.stringify({reason:n})},shouldRetry:!1})}function Ve(o){let e,n,t,a;return e=new Be({props:{destroy:!0,$$slots:{default:[ht]},$$scope:{ctx:o}}}),e.$on("click",o[3]),t=new ut({props:{open:o[2],confirmText:"Terminate",$$slots:{content:[gt],title:[_t]},$$scope:{ctx:o}}}),t.$on("cancelModal",o[4]),t.$on("confirmModal",o[6]),{c(){y(e.$$.fragment),n=P(),y(t.$$.fragment)},l(r){I(e.$$.fragment,r),n=j(r),I(t.$$.fragment,r)},m(r,s){E(e,r,s),A(r,n,s),E(t,r,s),a=!0},p(r,s){const l={};s&1024&&(l.$$scope={dirty:s,ctx:r}),e.$set(l);const f={};s&4&&(f.open=r[2]),s&1026&&(f.$$scope={dirty:s,ctx:r}),t.$set(f)},i(r){a||(p(e.$$.fragment,r),p(t.$$.fragment,r),a=!0)},o(r){w(e.$$.fragment,r),w(t.$$.fragment,r),a=!1},d(r){T(e,r),r&&c(n),T(t,r)}}}function ht(o){let e;return{c(){e=R("Terminate")},l(n){e=F(n,"Terminate")},m(n,t){A(n,e,t)},d(n){n&&c(e)}}}function _t(o){let e,n;return{c(){e=_("h3"),n=R("Terminate Workflow"),this.h()},l(t){e=g(t,"H3",{slot:!0});var a=v(e);n=F(a,"Terminate Workflow"),a.forEach(c),this.h()},h(){d(e,"slot","title")},m(t,a){A(t,e,a),m(e,n)},p:ae,d(t){t&&c(e)}}}function gt(o){let e,n,t,a,r,s,l;return{c(){e=_("div"),n=_("p"),t=R(`Are you sure you want to terminate this workflow? This action cannot be undone.`),a=P(),r=_("input"),this.h()},l(f){e=g(f,"DIV",{slot:!0});var u=v(e);n=g(u,"P",{});var $=v(n);t=F($,`Are you sure you want to terminate this workflow? This action cannot be undone.`),$.forEach(c),a=j(u),r=g(u,"INPUT",{class:!0,placeholder:!0}),u.forEach(c),this.h()},h(){d(r,"class","mt-4 block w-full rounded-md border border-gray-200 p-2"),d(r,"placeholder","Enter a reason"),d(e,"slot","content")},m(f,u){A(f,e,u),m(e,n),m(n,t),m(e,a),m(e,r),We(r,o[1]),s||(l=Ke(r,"input",o[8]),s=!0)},p(f,u){u&2&&r.value!==f[1]&&We(r,f[1])},d(f){f&&c(e),s=!1,l()}}}function $t(o){let e=o[5](o[0]),n,t,a=e&&Ve(o);return{c(){a&&a.c(),n=Se()},l(r){a&&a.l(r),n=Se()},m(r,s){a&&a.m(r,s),A(r,n,s),t=!0},p(r,[s]){s&1&&(e=r[5](r[0])),e?a?(a.p(r,s),s&1&&p(a,1)):(a=Ve(r),a.c(),p(a,1),a.m(n.parentNode,n)):a&&(qe(),w(a,1,1,()=>{a=null}),He())},i(r){t||(p(a),t=!0)},o(r){w(a),t=!1},d(r){a&&a.d(r),r&&c(n)}}}function kt(o,e,n){let{workflow:t}=e,{namespace:a}=e,r="",s=!1;const l=()=>n(2,s=!0),f=()=>n(2,s=!1),u=k=>String(k.status)==="Running",$=()=>{n(2,s=!1),n(1,r=""),it.add("success","Workflow Terminated"),window.location.reload()},S=()=>{wt({workflow:t,namespace:a,reason:r}).then($).catch(ft)};function h(){r=this.value,n(1,r)}return o.$$set=k=>{"workflow"in k&&n(0,t=k.workflow),"namespace"in k&&n(7,a=k.namespace)},[t,r,s,l,f,u,S,a,h]}class bt extends X{constructor(e){super(),Y(this,e,kt,$t,Z,{workflow:0,namespace:7})}}function vt(o){let e,n;return{c(){e=_("span"),n=R("Download"),this.h()},l(t){e=g(t,"SPAN",{class:!0});var a=v(e);n=F(a,"Download"),a.forEach(c),this.h()},h(){d(e,"class","hidden md:inline")},m(t,a){A(t,e,a),m(e,n)},p:ae,d(t){t&&c(e)}}}function yt(o){let e,n;return e=new Be({props:{secondary:!0,icon:"download",$$slots:{default:[vt]},$$scope:{ctx:o}}}),e.$on("click",o[0]),{c(){y(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,a){E(e,t,a),n=!0},p(t,[a]){const r={};a&16&&(r.$$scope={dirty:a,ctx:t}),e.$set(r)},i(t){n||(p(e.$$.fragment,t),n=!0)},o(t){w(e.$$.fragment,t),n=!1},d(t){T(e,t)}}}function It(o,e,n){let{namespace:t}=e,{workflowId:a}=e,{runId:r}=e;const s=async()=>{const l=await ct({namespace:t,workflowId:a,runId:r}),f=JSON.stringify({events:l},null,2);u(f,`${r}/events.json`,"text/plain");function u($,S,h){const k=document.createElement("a"),O=new Blob([$],{type:h});k.href=URL.createObjectURL(O),k.download=S,k.click()}};return o.$$set=l=>{"namespace"in l&&n(1,t=l.namespace),"workflowId"in l&&n(2,a=l.workflowId),"runId"in l&&n(3,r=l.runId)},[s,t,a,r]}class Et extends X{constructor(e){super(),Y(this,e,It,yt,Z,{namespace:1,workflowId:2,runId:3})}}function Tt(o){let e;return{c(){e=R(o[1])},l(n){e=F(n,o[1])},m(n,t){A(n,e,t)},p(n,t){t&2&&oe(e,n[1])},d(n){n&&c(e)}}}function At(o){let e,n,t,a;return{c(){e=R(o[1]),n=P(),t=_("span"),a=R(o[2]),this.h()},l(r){e=F(r,o[1]),n=j(r),t=g(r,"SPAN",{class:!0});var s=v(t);a=F(s,o[2]),s.forEach(c),this.h()},h(){d(t,"class","rounded-sm bg-blue-100 px-2 text-blue-700")},m(r,s){A(r,e,s),A(r,n,s),A(r,t,s),m(t,a)},p(r,s){s&2&&oe(e,r[1]),s&4&&oe(a,r[2])},d(r){r&&c(e),r&&c(n),r&&c(t)}}}function St(o){let e,n;function t(s,l){return s[2]||s[2]===0?At:Tt}let a=t(o),r=a(o);return{c(){e=_("a"),r.c(),this.h()},l(s){e=g(s,"A",{class:!0,href:!0,"data-cy":!0});var l=v(e);r.l(l),l.forEach(c),this.h()},h(){d(e,"class","block whitespace-nowrap text-sm md:text-base svelte-sf1jtj"),d(e,"href",o[0]),d(e,"data-cy",n=o[4].dataCy),Ne(e,"active",o[3])},m(s,l){A(s,e,l),r.m(e,null)},p(s,[l]){a===(a=t(s))&&r?r.p(s,l):(r.d(1),r=a(s),r&&(r.c(),r.m(e,null))),l&1&&d(e,"href",s[0]),l&16&&n!==(n=s[4].dataCy)&&d(e,"data-cy",n),l&8&&Ne(e,"active",s[3])},i:ae,o:ae,d(s){s&&c(e),r.d()}}}function Wt(o,e,n){let t,a;ee(o,Me,f=>n(5,a=f));let{href:r}=e,{label:s}=e,{amount:l=null}=e;return o.$$set=f=>{n(4,e=Pe(Pe({},e),je(f))),"href"in f&&n(0,r=f.href),"label"in f&&n(1,s=f.label),"amount"in f&&n(2,l=f.amount)},o.$$.update=()=>{o.$$.dirty&33&&n(3,t=a.url.pathname.includes(r))},e=je(e),[r,s,l,t,e,a]}class re extends X{constructor(e){super(),Y(this,e,Wt,St,Z,{href:0,label:1,amount:2})}}function Nt(o){var ge,$e,ke,be,ve;let e,n,t,a,r,s,l,f,u,$,S,h,k,O=o[1].id+"",ne,se,V,D,le,q,fe,W,H,ie,M,ue,B,ce,U,me,J,x;return r=new Ye({props:{scale:.8,name:"caretLeft",class:"inline"}}),S=new ot({props:{status:(ge=o[1])==null?void 0:ge.status}}),D=new Et({props:{namespace:o[0],workflowId:o[1].id,runId:o[1].runId}}),q=new bt({props:{workflow:o[1],namespace:o[0]}}),H=new re({props:{label:"History",href:Re(de({view:o[3]},o[4])),amount:($e=o[1])==null?void 0:$e.historyEvents,dataCy:"history-tab"}}),M=new re({props:{label:"Workers",href:tt(o[4]),amount:(be=(ke=o[2])==null?void 0:ke.pollers)==null?void 0:be.length,dataCy:"workers-tab"}}),B=new re({props:{label:"Pending Activities",href:rt(o[4]),amount:(ve=o[1].pendingActivities)==null?void 0:ve.length,dataCy:"pending-activities-tab"}}),U=new re({props:{label:"Stack Trace",href:nt(o[4]),dataCy:"stack-trace-tab"}}),J=new re({props:{label:"Queries",href:at(o[4]),dataCy:"queries-tab"}}),{c(){e=_("header"),n=_("main"),t=_("div"),a=_("a"),y(r.$$.fragment),s=R("Back to Workflows"),f=P(),u=_("div"),$=_("h1"),y(S.$$.fragment),h=P(),k=_("span"),ne=R(O),se=P(),V=_("div"),y(D.$$.fragment),le=P(),y(q.$$.fragment),fe=P(),W=_("nav"),y(H.$$.fragment),ie=P(),y(M.$$.fragment),ue=P(),y(B.$$.fragment),ce=P(),y(U.$$.fragment),me=P(),y(J.$$.fragment),this.h()},l(i){e=g(i,"HEADER",{class:!0});var b=v(e);n=g(b,"MAIN",{class:!0});var C=v(n);t=g(C,"DIV",{class:!0});var Q=v(t);a=g(Q,"A",{href:!0,"data-cy":!0,class:!0});var z=v(a);I(r.$$.fragment,z),s=F(z,"Back to Workflows"),z.forEach(c),Q.forEach(c),f=j(C),u=g(C,"DIV",{class:!0});var L=v(u);$=g(L,"H1",{class:!0});var K=v($);I(S.$$.fragment,K),h=j(K),k=g(K,"SPAN",{class:!0});var te=v(k);ne=F(te,O),te.forEach(c),K.forEach(c),se=j(L),V=g(L,"DIV",{class:!0});var G=v(V);I(D.$$.fragment,G),le=j(G),I(q.$$.fragment,G),G.forEach(c),L.forEach(c),fe=j(C),W=g(C,"NAV",{class:!0});var N=v(W);I(H.$$.fragment,N),ie=j(N),I(M.$$.fragment,N),ue=j(N),I(B.$$.fragment,N),ce=j(N),I(U.$$.fragment,N),me=j(N),I(J.$$.fragment,N),N.forEach(c),C.forEach(c),b.forEach(c),this.h()},h(){d(a,"href",l=`/namespaces/${o[0]}/workflows?query=${Fe(o[6])}&search=${o[5]}`),d(a,"data-cy","back-to-workflows"),d(a,"class","back-to-workflows svelte-st9g8m"),d(t,"class","-mt-3 -ml-2 block"),d(k,"class","select-all font-medium"),d($,"class","relative flex items-center gap-4 text-2xl"),d(V,"class","ml-8 flex items-center justify-end gap-4"),d(u,"class","mb-8 flex items-center justify-between"),d(W,"class","flex flex-wrap gap-6"),d(n,"class","relative flex flex-col gap-1"),d(e,"class","flex flex-col gap-4")},m(i,b){A(i,e,b),m(e,n),m(n,t),m(t,a),E(r,a,null),m(a,s),m(n,f),m(n,u),m(u,$),E(S,$,null),m($,h),m($,k),m(k,ne),m(u,se),m(u,V),E(D,V,null),m(V,le),E(q,V,null),m(n,fe),m(n,W),E(H,W,null),m(W,ie),E(M,W,null),m(W,ue),E(B,W,null),m(W,ce),E(U,W,null),m(W,me),E(J,W,null),x=!0},p(i,[b]){var G,N,ye,Ie,Ee;(!x||b&1&&l!==(l=`/namespaces/${i[0]}/workflows?query=${Fe(i[6])}&search=${i[5]}`))&&d(a,"href",l);const C={};b&2&&(C.status=(G=i[1])==null?void 0:G.status),S.$set(C),(!x||b&2)&&O!==(O=i[1].id+"")&&oe(ne,O);const Q={};b&1&&(Q.namespace=i[0]),b&2&&(Q.workflowId=i[1].id),b&2&&(Q.runId=i[1].runId),D.$set(Q);const z={};b&2&&(z.workflow=i[1]),b&1&&(z.namespace=i[0]),q.$set(z);const L={};b&8&&(L.href=Re(de({view:i[3]},i[4]))),b&2&&(L.amount=(N=i[1])==null?void 0:N.historyEvents),H.$set(L);const K={};b&4&&(K.amount=(Ie=(ye=i[2])==null?void 0:ye.pollers)==null?void 0:Ie.length),M.$set(K);const te={};b&2&&(te.amount=(Ee=i[1].pendingActivities)==null?void 0:Ee.length),B.$set(te)},i(i){x||(p(r.$$.fragment,i),p(S.$$.fragment,i),p(D.$$.fragment,i),p(q.$$.fragment,i),p(H.$$.fragment,i),p(M.$$.fragment,i),p(B.$$.fragment,i),p(U.$$.fragment,i),p(J.$$.fragment,i),x=!0)},o(i){w(r.$$.fragment,i),w(S.$$.fragment,i),w(D.$$.fragment,i),w(q.$$.fragment,i),w(H.$$.fragment,i),w(M.$$.fragment,i),w(B.$$.fragment,i),w(U.$$.fragment,i),w(J.$$.fragment,i),x=!1},d(i){i&&c(e),T(r),T(S),T(D),T(q),T(H),T(M),T(B),T(U),T(J)}}}function Pt(o,e,n){let t,a;ee(o,xe,h=>n(7,t=h)),ee(o,Ze,h=>n(3,a=h));let{namespace:r}=e,{workflow:s}=e,{workers:l}=e;const f={namespace:r,workflow:s.id,run:s.runId},{parameters:u,searchType:$}=t,S=et(u);return o.$$set=h=>{"namespace"in h&&n(0,r=h.namespace),"workflow"in h&&n(1,s=h.workflow),"workers"in h&&n(2,l=h.workers)},[r,s,l,a,f,$,S]}class jt extends X{constructor(e){super(),Y(this,e,Pt,Nt,Z,{namespace:0,workflow:1,workers:2})}}function De(o){let e,n,t;e=new jt({props:{namespace:o[2],workflow:o[1].workflow,workers:o[1].workers}});const a=o[3].default,r=pe(a,o,o[4],null);return{c(){y(e.$$.fragment),n=P(),r&&r.c()},l(s){I(e.$$.fragment,s),n=j(s),r&&r.l(s)},m(s,l){E(e,s,l),A(s,n,l),r&&r.m(s,l),t=!0},p(s,l){const f={};l&2&&(f.workflow=s[1].workflow),l&2&&(f.workers=s[1].workers),e.$set(f),r&&r.p&&(!t||l&16)&&we(r,a,s,s[4],t?_e(a,s[4],l,null):he(s[4]),null)},i(s){t||(p(e.$$.fragment,s),p(r,s),t=!0)},o(s){w(e.$$.fragment,s),w(r,s),t=!1},d(s){T(e,s),s&&c(n),r&&r.d(s)}}}function Ct(o){let e,n,t=!o[0]&&De(o);return{c(){e=_("main"),t&&t.c(),this.h()},l(a){e=g(a,"MAIN",{class:!0});var r=v(e);t&&t.l(r),r.forEach(c),this.h()},h(){d(e,"class","flex h-full flex-col gap-6")},m(a,r){A(a,e,r),t&&t.m(e,null),n=!0},p(a,r){a[0]?t&&(qe(),w(t,1,1,()=>{t=null}),He()):t?(t.p(a,r),r&1&&p(t,1)):(t=De(a),t.c(),p(t,1),t.m(e,null))},i(a){n||(p(t),n=!0)},o(a){w(t),n=!1},d(a){a&&c(e),t&&t.d()}}}function Rt(o){let e,n;return e=new pt({props:{$$slots:{default:[Ct]},$$scope:{ctx:o}}}),{c(){y(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,a){E(e,t,a),n=!0},p(t,[a]){const r={};a&19&&(r.$$scope={dirty:a,ctx:t}),e.$set(r)},i(t){n||(p(e.$$.fragment,t),n=!0)},o(t){w(e.$$.fragment,t),n=!1},d(t){T(e,t)}}}function Ft(o,e,n){let t,a,r;ee(o,Me,u=>n(5,t=u)),ee(o,Ge,u=>n(0,a=u)),ee(o,Xe,u=>n(1,r=u));let{$$slots:s={},$$scope:l}=e;const{namespace:f}=t.params;return o.$$set=u=>{"$$scope"in u&&n(4,l=u.$$scope)},[a,r,f,s,l]}class Vt extends X{constructor(e){super(),Y(this,e,Ft,Rt,Z,{})}}function Dt(o){let e;const n=o[0].default,t=pe(n,o,o[1],null);return{c(){t&&t.c()},l(a){t&&t.l(a)},m(a,r){t&&t.m(a,r),e=!0},p(a,r){t&&t.p&&(!e||r&2)&&we(t,n,a,a[1],e?_e(n,a[1],r,null):he(a[1]),null)},i(a){e||(p(t,a),e=!0)},o(a){w(t,a),e=!1},d(a){t&&t.d(a)}}}function qt(o){let e,n;return e=new Vt({props:{$$slots:{default:[Dt]},$$scope:{ctx:o}}}),{c(){y(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,a){E(e,t,a),n=!0},p(t,[a]){const r={};a&2&&(r.$$scope={dirty:a,ctx:t}),e.$set(r)},i(t){n||(p(e.$$.fragment,t),n=!0)},o(t){w(e.$$.fragment,t),n=!1},d(t){T(e,t)}}}function Ht(o,e,n){let{$$slots:t={},$$scope:a}=e;return o.$$set=r=>{"$$scope"in r&&n(1,a=r.$$scope)},[t,a]}class pr extends X{constructor(e){super(),Y(this,e,Ht,qt,Z,{})}}export{pr as default}; diff --git a/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/__layout.svelte-5e9f544c.js b/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/__layout.svelte-0b7327ff.js similarity index 98% rename from server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/__layout.svelte-5e9f544c.js rename to server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/__layout.svelte-0b7327ff.js index ae0358445d..efe4d049ee 100644 --- a/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/__layout.svelte-5e9f544c.js +++ b/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/__layout.svelte-0b7327ff.js @@ -1 +1 @@ -import{S as he,i as ve,s as we,e as v,t as N,k as I,w as C,c as w,a as k,h as W,d as u,m as T,x as S,b as y,g as H,M as f,y as V,n as ye,a7 as rt,al as lt,p as Ee,q as _,o as h,B as A,l as ge,N as $e,am as nt,E as ne,j as He,I as Ge,J as Xe,K as Ye,L as Ze,an as at,a9 as je}from"../../../../../../../chunks/index-604742bf.js";import{p as xe}from"../../../../../../../chunks/stores-810822a9.js";import{w as et}from"../../../../../../../chunks/workflow-run-60a1c465.js";import{g as ot,f as st,l as qe,e as Se}from"../../../../../../../chunks/route-for-1f2060cd.js";import{f as Re,a as it,g as ft}from"../../../../../../../chunks/format-date-919f4714.js";import{e as Ve}from"../../../../../../../chunks/event-view-963ec0ce.js";import{e as ct,u as ut,c as mt}from"../../../../../../../chunks/events-5f708b93.js";import{T as pt,a as Oe}from"../../../../../../../chunks/toggle-buttons-baa97943.js";import{L as tt}from"../../../../../../../chunks/link-74db22ab.js";import{I as Le}from"../../../../../../../chunks/index-0574ae1f.js";import{B as Ae}from"../../../../../../../chunks/badge-d40010b4.js";import{C as Fe}from"../../../../../../../chunks/code-block-03609e84.js";import{E as dt}from"../../../../../../../chunks/empty-state-c50aaf3c.js";import{i as $t}from"../../../../../../../chunks/get-event-categorization-8a63628f.js";import{c as _t}from"../../../../../../../chunks/format-camel-case-abb2903d.js";import{C as gt}from"../../../../../../../chunks/copyable-6f962ac2.js";import"../../../../../../../chunks/index-c9e619a8.js";import"../../../../../../../chunks/with-loading-22689bcc.js";import"../../../../../../../chunks/workflow-service-b18a98d3.js";import"../../../../../../../chunks/simplify-attributes-64d6cf1a.js";import"../../../../../../../chunks/route-for-api-3a26c58e.js";import"../../../../../../../chunks/notifications-cfed8e58.js";import"../../../../../../../chunks/is-network-error-ac7c8caf.js";import"../../../../../../../chunks/to-duration-271d3946.js";import"../../../../../../../chunks/persist-store-26f405dd.js";import"../../../../../../../chunks/events-service-97238182.js";import"../../../../../../../chunks/index-e3391e94.js";import"../../../../../../../chunks/is-http-24b20bf9.js";import"../../../../../../../chunks/data-converter-config-6fc5efe1.js";import"../../../../../../../chunks/atob-eb4fc9a1.js";import"../../../../../../../chunks/copy-to-clipboard-8832075c.js";function Me(a,e,r){const t=a.slice();t[3]=e[r].id,t[9]=nt(e[r],["id"]);const l=t[9].attempt>1;return t[10]=l,t}function ht(a){let e,r,t,l,n,o=[],s=new Map,i,c,m,E,d=a[0];const D=p=>p[3];for(let p=0;pr(4,t=d)),$e(a,xe,d=>r(5,l=d));const{namespace:n,run:o}=l.params,{workflow:s}=t,{pendingActivities:i,defaultWorkflowTaskTimeout:c,id:m}=s,E=ot({namespace:n,workflow:m,run:o});return[i,c,E,m]}class Vt extends he{constructor(e){super(),ve(this,e,St,Ct,we,{})}}function Ue(a){let e,r,t;return r=new dt({props:{title:"An Error Occured",content:"Please make sure you have at least one worker running.",class:"my-0"}}),{c(){e=v("section"),C(r.$$.fragment),this.h()},l(l){e=w(l,"SECTION",{class:!0});var n=k(e);S(r.$$.fragment,n),n.forEach(u),this.h()},h(){y(e,"class","stack-trace svelte-wcmxvi")},m(l,n){H(l,e,n),V(r,e,null),t=!0},i(l){t||(_(r.$$.fragment,l),t=!0)},o(l){h(r.$$.fragment,l),t=!1},d(l){l&&u(e),A(r)}}}function At(a){let e,r,t=a[0]&&Ue();return{c(){t&&t.c(),e=ge()},l(l){t&&t.l(l),e=ge()},m(l,n){t&&t.m(l,n),H(l,e,n),r=!0},p(l,[n]){l[0]?t?n&1&&_(t,1):(t=Ue(),t.c(),_(t,1),t.m(e.parentNode,e)):t&&(ye(),h(t,1,1,()=>{t=null}),Ee())},i(l){r||(_(t),r=!0)},o(l){h(t),r=!1},d(l){t&&t.d(l),l&&u(e)}}}function Ht(a,e,r){let t;var l;let{workflow:n}=e,{workers:o}=e;return a.$$set=s=>{"workflow"in s&&r(1,n=s.workflow),"workers"in s&&r(2,o=s.workers)},a.$$.update=()=>{a.$$.dirty&14&&r(0,t=n.isRunning&&!(!(r(3,l=o==null?void 0:o.pollers)===null||l===void 0)&&l.length))},[t,n,o,l]}class Nt extends he{constructor(e){super(),ve(this,e,Ht,At,we,{workflow:1,workers:2})}}const Wt=["WorkflowExecutionFailed","WorkflowExecutionCompleted","WorkflowExecutionContinuedAsNew","WorkflowExecutionTimedOut","WorkflowExecutionCanceled","WorkflowExecutionTerminated"],jt=a=>{for(const e of Wt)if(a.eventType===e)return!0;return!1},Ot=a=>{for(const e of a)if(jt(e))return e},Rt=a=>$t(a)?a.attributes.result===null?null:a.attributes.result.payloads:a.attributes,Lt=a=>{var n,o,s;let e,r;const t=a==null?void 0:a.find(i=>!!i.workflowExecutionStartedEventAttributes),l=Ot(a);return t&&(e=JSON.stringify((s=(o=(n=t==null?void 0:t.workflowExecutionStartedEventAttributes)==null?void 0:n.input)==null?void 0:o.payloads)!=null?s:null)),l&&(r=JSON.stringify(Rt(l))),{input:e,results:r}};function Ft(a){let e,r,t,l,n,o,s;return t=new Le({props:{name:"spinner",scale:.5,class:"block h-full w-full animate-spin"}}),{c(){e=v("div"),r=v("div"),C(t.$$.fragment),l=I(),n=v("h2"),o=N("In progress\u2026"),this.h()},l(i){e=w(i,"DIV",{class:!0});var c=k(e);r=w(c,"DIV",{class:!0});var m=k(r);S(t.$$.fragment,m),m.forEach(u),l=T(c),n=w(c,"H2",{class:!0});var E=k(n);o=W(E,"In progress\u2026"),E.forEach(u),c.forEach(u),this.h()},h(){y(r,"class","flex h-16 w-16 items-center justify-center rounded-full bg-gray-200"),y(n,"class","text-xl font-medium"),y(e,"class","my-12 flex flex-col items-center justify-start gap-2")},m(i,c){H(i,e,c),f(e,r),V(t,r,null),f(e,l),f(e,n),f(n,o),s=!0},p:ne,i(i){s||(_(t.$$.fragment,i),s=!0)},o(i){h(t.$$.fragment,i),s=!1},d(i){i&&u(e),A(t)}}}function Pt(a){let e,r,t,l;const n=[Jt,zt],o=[];function s(i,c){return i[3]?0:1}return e=s(a),r=o[e]=n[e](a),{c(){r.c(),t=ge()},l(i){r.l(i),t=ge()},m(i,c){o[e].m(i,c),H(i,t,c),l=!0},p(i,c){let m=e;e=s(i),e===m?o[e].p(i,c):(ye(),h(o[m],1,1,()=>{o[m]=null}),Ee(),r=o[e],r?r.p(i,c):(r=o[e]=n[e](i),r.c()),_(r,1),r.m(t.parentNode,t))},i(i){l||(_(r),l=!0)},o(i){h(r),l=!1},d(i){o[e].d(i),i&&u(t)}}}function zt(a){let e,r;return e=new Fe({props:{content:a[1],class:"mb-2 max-h-96"}}),{c(){C(e.$$.fragment)},l(t){S(e.$$.fragment,t)},m(t,l){V(e,t,l),r=!0},p(t,l){const n={};l&2&&(n.content=t[1]),e.$set(n)},i(t){r||(_(e.$$.fragment,t),r=!0)},o(t){h(e.$$.fragment,t),r=!1},d(t){A(e,t)}}}function Jt(a){let e,r,t,l;return t=new Le({props:{name:"spinner",scale:.5,class:"block h-full w-full animate-spin"}}),{c(){e=v("div"),r=v("div"),C(t.$$.fragment),this.h()},l(n){e=w(n,"DIV",{class:!0});var o=k(e);r=w(o,"DIV",{class:!0});var s=k(r);S(t.$$.fragment,s),s.forEach(u),o.forEach(u),this.h()},h(){y(r,"class","flex h-16 w-16 items-center justify-center rounded-full bg-gray-200"),y(e,"class","my-12 flex flex-col items-center justify-start gap-2")},m(n,o){H(n,e,o),f(e,r),V(t,r,null),l=!0},p:ne,i(n){l||(_(t.$$.fragment,n),l=!0)},o(n){h(t.$$.fragment,n),l=!1},d(n){n&&u(e),A(t)}}}function Bt(a){let e,r,t,l,n,o,s,i;const c=[Pt,Ft],m=[];function E(d,D){return d[1]?0:1}return n=E(a),o=m[n]=c[n](a),{c(){e=v("article"),r=v("h3"),t=N(a[2]),l=I(),o.c(),this.h()},l(d){e=w(d,"ARTICLE",{class:!0,"data-cy":!0});var D=k(e);r=w(D,"H3",{class:!0});var p=k(r);t=W(p,a[2]),p.forEach(u),l=T(D),o.l(D),D.forEach(u),this.h()},h(){y(r,"class","text-lg"),y(e,"class","flex w-full flex-col rounded-lg border-2 border-gray-300 p-4 lg:w-1/2"),y(e,"data-cy",s="workflow-"+a[0])},m(d,D){H(d,e,D),f(e,r),f(r,t),f(e,l),m[n].m(e,null),i=!0},p(d,[D]){(!i||D&4)&&He(t,d[2]);let p=n;n=E(d),n===p?m[n].p(d,D):(ye(),h(m[p],1,1,()=>{m[p]=null}),Ee(),o=m[n],o?o.p(d,D):(o=m[n]=c[n](d),o.c()),_(o,1),o.m(e,null)),(!i||D&1&&s!==(s="workflow-"+d[0]))&&y(e,"data-cy",s)},i(d){i||(_(o),i=!0)},o(d){h(o),i=!1},d(d){d&&u(e),m[n].d()}}}function qt(a,e,r){let t,l,n,o;$e(a,ct,c=>r(5,n=c)),$e(a,ut,c=>r(3,o=c));var s;let{type:i}=e;return a.$$set=c=>{"type"in c&&r(0,i=c.type)},a.$$.update=()=>{a.$$.dirty&1&&r(2,t=_t(i)),a.$$.dirty&49&&r(1,l=Lt(r(4,s=n==null?void 0:n.events)!==null&&s!==void 0?s:[])[i])},[i,l,t,o,s,n]}class Ke extends he{constructor(e){super(),ve(this,e,qt,Bt,we,{type:0})}}function Mt(a){let e,r;return{c(){e=v("div"),r=N(a[1]),this.h()},l(t){e=w(t,"DIV",{class:!0});var l=k(e);r=W(l,a[1]),l.forEach(u),this.h()},h(){y(e,"class","select-all")},m(t,l){H(t,e,l),f(e,r)},p(t,l){l&2&&He(r,t[1])},i:ne,o:ne,d(t){t&&u(e)}}}function Qt(a){let e,r;return e=new gt({props:{content:a[1],$$slots:{default:[Kt]},$$scope:{ctx:a}}}),{c(){C(e.$$.fragment)},l(t){S(e.$$.fragment,t)},m(t,l){V(e,t,l),r=!0},p(t,l){const n={};l&2&&(n.content=t[1]),l&22&&(n.$$scope={dirty:l,ctx:t}),e.$set(n)},i(t){r||(_(e.$$.fragment,t),r=!0)},o(t){h(e.$$.fragment,t),r=!1},d(t){A(e,t)}}}function Ut(a){let e;return{c(){e=N(a[1])},l(r){e=W(r,a[1])},m(r,t){H(r,e,t)},p(r,t){t&2&&He(e,r[1])},d(r){r&&u(e)}}}function Kt(a){let e,r;return e=new tt({props:{href:a[2],$$slots:{default:[Ut]},$$scope:{ctx:a}}}),{c(){C(e.$$.fragment)},l(t){S(e.$$.fragment,t)},m(t,l){V(e,t,l),r=!0},p(t,l){const n={};l&4&&(n.href=t[2]),l&18&&(n.$$scope={dirty:l,ctx:t}),e.$set(n)},i(t){r||(_(e.$$.fragment,t),r=!0)},o(t){h(e.$$.fragment,t),r=!1},d(t){A(e,t)}}}function Gt(a){let e,r,t,l,n,o,s,i,c,m;const E=[Qt,Mt],d=[];function D(p,$){return p[2]?0:1}return s=D(a),i=d[s]=E[s](a),{c(){e=v("article"),r=v("div"),t=N(a[0]),l=N(":"),n=I(),o=v("div"),i.c(),this.h()},l(p){e=w(p,"ARTICLE",{class:!0});var $=k(e);r=w($,"DIV",{class:!0});var b=k(r);t=W(b,a[0]),l=W(b,":"),b.forEach(u),n=T($),o=w($,"DIV",{});var L=k(o);i.l(L),L.forEach(u),$.forEach(u),this.h()},h(){y(r,"class","font-medium"),y(e,"class",c="flex gap-2 text-"+a[3])},m(p,$){H(p,e,$),f(e,r),f(r,t),f(r,l),f(e,n),f(e,o),d[s].m(o,null),m=!0},p(p,[$]){(!m||$&1)&&He(t,p[0]);let b=s;s=D(p),s===b?d[s].p(p,$):(ye(),h(d[b],1,1,()=>{d[b]=null}),Ee(),i=d[s],i?i.p(p,$):(i=d[s]=E[s](p),i.c()),_(i,1),i.m(o,null)),(!m||$&8&&c!==(c="flex gap-2 text-"+p[3]))&&y(e,"class",c)},i(p){m||(_(i),m=!0)},o(p){h(i),m=!1},d(p){p&&u(e),d[s].d()}}}function Xt(a,e,r){let{title:t}=e,{content:l}=e,{href:n=null}=e,{textSize:o="md"}=e;return a.$$set=s=>{"title"in s&&r(0,t=s.title),"content"in s&&r(1,l=s.content),"href"in s&&r(2,n=s.href),"textSize"in s&&r(3,o=s.textSize)},[t,l,n,o]}class fe extends he{constructor(e){super(),ve(this,e,Xt,Gt,we,{title:0,content:1,href:2,textSize:3})}}function Yt(a){var o,s,i,c,m,E;let e,r,t,l,n;return r=new fe({props:{title:"Parent",content:(o=a[2].parent)==null?void 0:o.workflowId,href:qe({namespace:a[1],workflow:(s=a[2].parent)==null?void 0:s.workflowId,run:(i=a[2].parent)==null?void 0:i.runId})}}),l=new fe({props:{title:"Parent ID",content:(c=a[2].parent)==null?void 0:c.runId,href:qe({namespace:a[1],workflow:(m=a[2].parent)==null?void 0:m.workflowId,run:(E=a[2].parent)==null?void 0:E.runId})}}),{c(){e=v("div"),C(r.$$.fragment),t=I(),C(l.$$.fragment),this.h()},l(d){e=w(d,"DIV",{class:!0});var D=k(e);S(r.$$.fragment,D),t=T(D),S(l.$$.fragment,D),D.forEach(u),this.h()},h(){y(e,"class","gap-2 xl:flex")},m(d,D){H(d,e,D),V(r,e,null),f(e,t),V(l,e,null),n=!0},p:ne,i(d){n||(_(r.$$.fragment,d),_(l.$$.fragment,d),n=!0)},o(d){h(r.$$.fragment,d),h(l.$$.fragment,d),n=!1},d(d){d&&u(e),A(r),A(l)}}}function Zt(a){let e;return{c(){e=N("Timeline")},l(r){e=W(r,"Timeline")},m(r,t){H(r,e,t)},d(r){r&&u(e)}}}function xt(a){let e;return{c(){e=N("Compact")},l(r){e=W(r,"Compact")},m(r,t){H(r,e,t)},d(r){r&&u(e)}}}function er(a){let e;return{c(){e=N("JSON")},l(r){e=W(r,"JSON")},m(r,t){H(r,e,t)},d(r){r&&u(e)}}}function tr(a){let e,r,t,l,n,o;return e=new Oe({props:{icon:"feed",base:Se(a[4]("feed")),href:Se(a[4]("feed")),active:a[0]==="feed","data-cy":"feed",$$slots:{default:[Zt]},$$scope:{ctx:a}}}),e.$on("click",a[7]),t=new Oe({props:{icon:"compact",href:Se(a[4]("compact")),active:a[0]==="compact","data-cy":"compact",$$slots:{default:[xt]},$$scope:{ctx:a}}}),t.$on("click",a[8]),n=new Oe({props:{icon:"json",href:Se(a[4]("json")),active:a[0]==="json","data-cy":"json",$$slots:{default:[er]},$$scope:{ctx:a}}}),n.$on("click",a[9]),{c(){C(e.$$.fragment),r=I(),C(t.$$.fragment),l=I(),C(n.$$.fragment)},l(s){S(e.$$.fragment,s),r=T(s),S(t.$$.fragment,s),l=T(s),S(n.$$.fragment,s)},m(s,i){V(e,s,i),H(s,r,i),V(t,s,i),H(s,l,i),V(n,s,i),o=!0},p(s,i){const c={};i&1&&(c.active=s[0]==="feed"),i&1024&&(c.$$scope={dirty:i,ctx:s}),e.$set(c);const m={};i&1&&(m.active=s[0]==="compact"),i&1024&&(m.$$scope={dirty:i,ctx:s}),t.$set(m);const E={};i&1&&(E.active=s[0]==="json"),i&1024&&(E.$$scope={dirty:i,ctx:s}),n.$set(E)},i(s){o||(_(e.$$.fragment,s),_(t.$$.fragment,s),_(n.$$.fragment,s),o=!0)},o(s){h(e.$$.fragment,s),h(t.$$.fragment,s),h(n.$$.fragment,s),o=!1},d(s){A(e,s),s&&u(r),A(t,s),s&&u(l),A(n,s)}}}function rr(a){var _e;let e,r,t,l,n,o,s,i,c,m,E,d,D,p,$,b,L,ae,J,te,K,U,ce,re,G,X,P,Y,ue,me,B,Z,x,ee;t=new fe({props:{title:"Workflow Type",content:a[2].name}}),n=new fe({props:{title:"Run ID",content:a[2].runId}}),i=new fe({props:{title:"Start Time",content:Re(a[2].startTime,"UTC")}}),m=new fe({props:{title:"Close Time",content:Re(a[2].endTime,"UTC")}}),d=new fe({props:{title:"Task Queue",content:a[2].taskQueue,href:st(a[5])}});let q=((_e=a[2])==null?void 0:_e.parent)&&Yt(a);$=new fe({props:{title:"State Transitions",content:a[2].stateTransitionCount}}),L=new Nt({props:{workflow:a[2],workers:a[3]}}),te=new Ke({props:{type:"input"}}),U=new Ke({props:{type:"results"}}),re=new Vt({}),Z=new pt({props:{$$slots:{default:[tr]},$$scope:{ctx:a}}});const pe=a[6].default,j=Ge(pe,a,a[10],null);return{c(){e=v("section"),r=v("section"),C(t.$$.fragment),l=I(),C(n.$$.fragment),o=I(),s=v("div"),C(i.$$.fragment),c=I(),C(m.$$.fragment),E=I(),C(d.$$.fragment),D=I(),q&&q.c(),p=I(),C($.$$.fragment),b=I(),C(L.$$.fragment),ae=I(),J=v("section"),C(te.$$.fragment),K=I(),C(U.$$.fragment),ce=I(),C(re.$$.fragment),G=I(),X=v("section"),P=v("nav"),Y=v("h3"),ue=N("Recent Events"),me=I(),B=v("div"),C(Z.$$.fragment),x=I(),j&&j.c(),this.h()},l(g){e=w(g,"SECTION",{class:!0});var O=k(e);r=w(O,"SECTION",{class:!0});var F=k(r);S(t.$$.fragment,F),l=T(F),S(n.$$.fragment,F),o=T(F),s=w(F,"DIV",{class:!0});var le=k(s);S(i.$$.fragment,le),c=T(le),S(m.$$.fragment,le),le.forEach(u),E=T(F),S(d.$$.fragment,F),D=T(F),q&&q.l(F),p=T(F),S($.$$.fragment,F),F.forEach(u),b=T(O),S(L.$$.fragment,O),ae=T(O),J=w(O,"SECTION",{class:!0});var se=k(J);S(te.$$.fragment,se),K=T(se),S(U.$$.fragment,se),se.forEach(u),ce=T(O),S(re.$$.fragment,O),G=T(O),X=w(O,"SECTION",{id:!0});var ie=k(X);P=w(ie,"NAV",{class:!0});var oe=k(P);Y=w(oe,"H3",{class:!0});var Q=k(Y);ue=W(Q,"Recent Events"),Q.forEach(u),me=T(oe),B=w(oe,"DIV",{id:!0,class:!0});var R=k(B);S(Z.$$.fragment,R),R.forEach(u),oe.forEach(u),x=T(ie),j&&j.l(ie),ie.forEach(u),O.forEach(u),this.h()},h(){y(s,"class","flex flex-col gap-1 md:flex-row md:gap-6"),y(r,"class","flex flex-col gap-1"),y(J,"class","flex w-full flex-col gap-4 lg:flex-row"),y(Y,"class","text-lg font-medium"),y(B,"id","event-view-toggle"),y(B,"class","flex gap-4"),y(P,"class","flex items-end justify-between gap-4 pb-4"),y(X,"id","event-history"),y(e,"class","flex flex-col gap-4")},m(g,O){H(g,e,O),f(e,r),V(t,r,null),f(r,l),V(n,r,null),f(r,o),f(r,s),V(i,s,null),f(s,c),V(m,s,null),f(r,E),V(d,r,null),f(r,D),q&&q.m(r,null),f(r,p),V($,r,null),f(e,b),V(L,e,null),f(e,ae),f(e,J),V(te,J,null),f(J,K),V(U,J,null),f(e,ce),V(re,e,null),f(e,G),f(e,X),f(X,P),f(P,Y),f(Y,ue),f(P,me),f(P,B),V(Z,B,null),f(X,x),j&&j.m(X,null),ee=!0},p(g,[O]){var le;(le=g[2])!=null&&le.parent&&q.p(g,O);const F={};O&1025&&(F.$$scope={dirty:O,ctx:g}),Z.$set(F),j&&j.p&&(!ee||O&1024)&&Xe(j,pe,g,g[10],ee?Ze(pe,g[10],O,null):Ye(g[10]),null)},i(g){ee||(_(t.$$.fragment,g),_(n.$$.fragment,g),_(i.$$.fragment,g),_(m.$$.fragment,g),_(d.$$.fragment,g),_(q),_($.$$.fragment,g),_(L.$$.fragment,g),_(te.$$.fragment,g),_(U.$$.fragment,g),_(re.$$.fragment,g),_(Z.$$.fragment,g),_(j,g),ee=!0)},o(g){h(t.$$.fragment,g),h(n.$$.fragment,g),h(i.$$.fragment,g),h(m.$$.fragment,g),h(d.$$.fragment,g),h(q),h($.$$.fragment,g),h(L.$$.fragment,g),h(te.$$.fragment,g),h(U.$$.fragment,g),h(re.$$.fragment,g),h(Z.$$.fragment,g),h(j,g),ee=!1},d(g){g&&u(e),A(t),A(n),A(i),A(m),A(d),q&&q.d(),A($),A(L),A(te),A(U),A(re),A(Z),j&&j.d(g)}}}function lr(a,e,r){let t,l,n;$e(a,et,b=>r(11,t=b)),$e(a,xe,b=>r(12,l=b)),$e(a,Ve,b=>r(0,n=b));let{$$slots:o={},$$scope:s}=e;const{namespace:i}=l.params,{workflow:c,workers:m}=t,E=(b,L)=>({namespace:i,workflow:c.id,run:c.runId,view:b,eventId:L}),d={namespace:i,workflow:c.id,run:c.runId};at(()=>{mt()});const D=()=>je(Ve,n="feed",n),p=()=>je(Ve,n="compact",n),$=()=>je(Ve,n="json",n);return a.$$set=b=>{"$$scope"in b&&r(10,s=b.$$scope)},[n,i,c,m,E,d,o,D,p,$,s]}class nr extends he{constructor(e){super(),ve(this,e,lr,rr,we,{})}}function ar(a){let e;const r=a[0].default,t=Ge(r,a,a[1],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,n){t&&t.m(l,n),e=!0},p(l,n){t&&t.p&&(!e||n&2)&&Xe(t,r,l,l[1],e?Ze(r,l[1],n,null):Ye(l[1]),null)},i(l){e||(_(t,l),e=!0)},o(l){h(t,l),e=!1},d(l){t&&t.d(l)}}}function or(a){let e,r;return e=new nr({props:{$$slots:{default:[ar]},$$scope:{ctx:a}}}),{c(){C(e.$$.fragment)},l(t){S(e.$$.fragment,t)},m(t,l){V(e,t,l),r=!0},p(t,[l]){const n={};l&2&&(n.$$scope={dirty:l,ctx:t}),e.$set(n)},i(t){r||(_(e.$$.fragment,t),r=!0)},o(t){h(e.$$.fragment,t),r=!1},d(t){A(e,t)}}}function sr(a,e,r){let{$$slots:t={},$$scope:l}=e;return a.$$set=n=>{"$$scope"in n&&r(1,l=n.$$scope)},[t,l]}class Fr extends he{constructor(e){super(),ve(this,e,sr,or,we,{})}}export{Fr as default}; +import{S as he,i as ve,s as we,e as v,t as N,k as I,w as C,c as w,a as k,h as W,d as u,m as T,x as S,b as y,g as H,M as f,y as V,n as ye,a7 as rt,al as lt,p as Ee,q as _,o as h,B as A,l as ge,N as $e,am as nt,E as ne,j as He,I as Ge,J as Xe,K as Ye,L as Ze,an as at,a9 as je}from"../../../../../../../chunks/index-604742bf.js";import{p as xe}from"../../../../../../../chunks/stores-810822a9.js";import{w as et}from"../../../../../../../chunks/workflow-run-4b2466b3.js";import{g as ot,f as st,l as qe,e as Se}from"../../../../../../../chunks/route-for-1f2060cd.js";import{f as Re,a as it,g as ft}from"../../../../../../../chunks/format-date-919f4714.js";import{e as Ve}from"../../../../../../../chunks/event-view-963ec0ce.js";import{e as ct,u as ut,c as mt}from"../../../../../../../chunks/events-6d840455.js";import{T as pt,a as Oe}from"../../../../../../../chunks/toggle-buttons-baa97943.js";import{L as tt}from"../../../../../../../chunks/link-74db22ab.js";import{I as Le}from"../../../../../../../chunks/index-0574ae1f.js";import{B as Ae}from"../../../../../../../chunks/badge-d40010b4.js";import{C as Fe}from"../../../../../../../chunks/code-block-03609e84.js";import{E as dt}from"../../../../../../../chunks/empty-state-c50aaf3c.js";import{i as $t}from"../../../../../../../chunks/get-event-categorization-8a63628f.js";import{c as _t}from"../../../../../../../chunks/format-camel-case-abb2903d.js";import{C as gt}from"../../../../../../../chunks/copyable-6f962ac2.js";import"../../../../../../../chunks/index-c9e619a8.js";import"../../../../../../../chunks/with-loading-22689bcc.js";import"../../../../../../../chunks/workflow-service-250a9fea.js";import"../../../../../../../chunks/simplify-attributes-64d6cf1a.js";import"../../../../../../../chunks/route-for-api-605baeb9.js";import"../../../../../../../chunks/notifications-cfed8e58.js";import"../../../../../../../chunks/is-network-error-ac7c8caf.js";import"../../../../../../../chunks/to-duration-271d3946.js";import"../../../../../../../chunks/persist-store-26f405dd.js";import"../../../../../../../chunks/events-service-c14937d5.js";import"../../../../../../../chunks/index-e3391e94.js";import"../../../../../../../chunks/is-http-24b20bf9.js";import"../../../../../../../chunks/data-converter-config-6fc5efe1.js";import"../../../../../../../chunks/atob-eb4fc9a1.js";import"../../../../../../../chunks/copy-to-clipboard-8832075c.js";function Me(a,e,r){const t=a.slice();t[3]=e[r].id,t[9]=nt(e[r],["id"]);const l=t[9].attempt>1;return t[10]=l,t}function ht(a){let e,r,t,l,n,o=[],s=new Map,i,c,m,E,d=a[0];const D=p=>p[3];for(let p=0;pr(4,t=d)),$e(a,xe,d=>r(5,l=d));const{namespace:n,run:o}=l.params,{workflow:s}=t,{pendingActivities:i,defaultWorkflowTaskTimeout:c,id:m}=s,E=ot({namespace:n,workflow:m,run:o});return[i,c,E,m]}class Vt extends he{constructor(e){super(),ve(this,e,St,Ct,we,{})}}function Ue(a){let e,r,t;return r=new dt({props:{title:"An Error Occured",content:"Please make sure you have at least one worker running.",class:"my-0"}}),{c(){e=v("section"),C(r.$$.fragment),this.h()},l(l){e=w(l,"SECTION",{class:!0});var n=k(e);S(r.$$.fragment,n),n.forEach(u),this.h()},h(){y(e,"class","stack-trace svelte-wcmxvi")},m(l,n){H(l,e,n),V(r,e,null),t=!0},i(l){t||(_(r.$$.fragment,l),t=!0)},o(l){h(r.$$.fragment,l),t=!1},d(l){l&&u(e),A(r)}}}function At(a){let e,r,t=a[0]&&Ue();return{c(){t&&t.c(),e=ge()},l(l){t&&t.l(l),e=ge()},m(l,n){t&&t.m(l,n),H(l,e,n),r=!0},p(l,[n]){l[0]?t?n&1&&_(t,1):(t=Ue(),t.c(),_(t,1),t.m(e.parentNode,e)):t&&(ye(),h(t,1,1,()=>{t=null}),Ee())},i(l){r||(_(t),r=!0)},o(l){h(t),r=!1},d(l){t&&t.d(l),l&&u(e)}}}function Ht(a,e,r){let t;var l;let{workflow:n}=e,{workers:o}=e;return a.$$set=s=>{"workflow"in s&&r(1,n=s.workflow),"workers"in s&&r(2,o=s.workers)},a.$$.update=()=>{a.$$.dirty&14&&r(0,t=n.isRunning&&!(!(r(3,l=o==null?void 0:o.pollers)===null||l===void 0)&&l.length))},[t,n,o,l]}class Nt extends he{constructor(e){super(),ve(this,e,Ht,At,we,{workflow:1,workers:2})}}const Wt=["WorkflowExecutionFailed","WorkflowExecutionCompleted","WorkflowExecutionContinuedAsNew","WorkflowExecutionTimedOut","WorkflowExecutionCanceled","WorkflowExecutionTerminated"],jt=a=>{for(const e of Wt)if(a.eventType===e)return!0;return!1},Ot=a=>{for(const e of a)if(jt(e))return e},Rt=a=>$t(a)?a.attributes.result===null?null:a.attributes.result.payloads:a.attributes,Lt=a=>{var n,o,s;let e,r;const t=a==null?void 0:a.find(i=>!!i.workflowExecutionStartedEventAttributes),l=Ot(a);return t&&(e=JSON.stringify((s=(o=(n=t==null?void 0:t.workflowExecutionStartedEventAttributes)==null?void 0:n.input)==null?void 0:o.payloads)!=null?s:null)),l&&(r=JSON.stringify(Rt(l))),{input:e,results:r}};function Ft(a){let e,r,t,l,n,o,s;return t=new Le({props:{name:"spinner",scale:.5,class:"block h-full w-full animate-spin"}}),{c(){e=v("div"),r=v("div"),C(t.$$.fragment),l=I(),n=v("h2"),o=N("In progress\u2026"),this.h()},l(i){e=w(i,"DIV",{class:!0});var c=k(e);r=w(c,"DIV",{class:!0});var m=k(r);S(t.$$.fragment,m),m.forEach(u),l=T(c),n=w(c,"H2",{class:!0});var E=k(n);o=W(E,"In progress\u2026"),E.forEach(u),c.forEach(u),this.h()},h(){y(r,"class","flex h-16 w-16 items-center justify-center rounded-full bg-gray-200"),y(n,"class","text-xl font-medium"),y(e,"class","my-12 flex flex-col items-center justify-start gap-2")},m(i,c){H(i,e,c),f(e,r),V(t,r,null),f(e,l),f(e,n),f(n,o),s=!0},p:ne,i(i){s||(_(t.$$.fragment,i),s=!0)},o(i){h(t.$$.fragment,i),s=!1},d(i){i&&u(e),A(t)}}}function Pt(a){let e,r,t,l;const n=[Jt,zt],o=[];function s(i,c){return i[3]?0:1}return e=s(a),r=o[e]=n[e](a),{c(){r.c(),t=ge()},l(i){r.l(i),t=ge()},m(i,c){o[e].m(i,c),H(i,t,c),l=!0},p(i,c){let m=e;e=s(i),e===m?o[e].p(i,c):(ye(),h(o[m],1,1,()=>{o[m]=null}),Ee(),r=o[e],r?r.p(i,c):(r=o[e]=n[e](i),r.c()),_(r,1),r.m(t.parentNode,t))},i(i){l||(_(r),l=!0)},o(i){h(r),l=!1},d(i){o[e].d(i),i&&u(t)}}}function zt(a){let e,r;return e=new Fe({props:{content:a[1],class:"mb-2 max-h-96"}}),{c(){C(e.$$.fragment)},l(t){S(e.$$.fragment,t)},m(t,l){V(e,t,l),r=!0},p(t,l){const n={};l&2&&(n.content=t[1]),e.$set(n)},i(t){r||(_(e.$$.fragment,t),r=!0)},o(t){h(e.$$.fragment,t),r=!1},d(t){A(e,t)}}}function Jt(a){let e,r,t,l;return t=new Le({props:{name:"spinner",scale:.5,class:"block h-full w-full animate-spin"}}),{c(){e=v("div"),r=v("div"),C(t.$$.fragment),this.h()},l(n){e=w(n,"DIV",{class:!0});var o=k(e);r=w(o,"DIV",{class:!0});var s=k(r);S(t.$$.fragment,s),s.forEach(u),o.forEach(u),this.h()},h(){y(r,"class","flex h-16 w-16 items-center justify-center rounded-full bg-gray-200"),y(e,"class","my-12 flex flex-col items-center justify-start gap-2")},m(n,o){H(n,e,o),f(e,r),V(t,r,null),l=!0},p:ne,i(n){l||(_(t.$$.fragment,n),l=!0)},o(n){h(t.$$.fragment,n),l=!1},d(n){n&&u(e),A(t)}}}function Bt(a){let e,r,t,l,n,o,s,i;const c=[Pt,Ft],m=[];function E(d,D){return d[1]?0:1}return n=E(a),o=m[n]=c[n](a),{c(){e=v("article"),r=v("h3"),t=N(a[2]),l=I(),o.c(),this.h()},l(d){e=w(d,"ARTICLE",{class:!0,"data-cy":!0});var D=k(e);r=w(D,"H3",{class:!0});var p=k(r);t=W(p,a[2]),p.forEach(u),l=T(D),o.l(D),D.forEach(u),this.h()},h(){y(r,"class","text-lg"),y(e,"class","flex w-full flex-col rounded-lg border-2 border-gray-300 p-4 lg:w-1/2"),y(e,"data-cy",s="workflow-"+a[0])},m(d,D){H(d,e,D),f(e,r),f(r,t),f(e,l),m[n].m(e,null),i=!0},p(d,[D]){(!i||D&4)&&He(t,d[2]);let p=n;n=E(d),n===p?m[n].p(d,D):(ye(),h(m[p],1,1,()=>{m[p]=null}),Ee(),o=m[n],o?o.p(d,D):(o=m[n]=c[n](d),o.c()),_(o,1),o.m(e,null)),(!i||D&1&&s!==(s="workflow-"+d[0]))&&y(e,"data-cy",s)},i(d){i||(_(o),i=!0)},o(d){h(o),i=!1},d(d){d&&u(e),m[n].d()}}}function qt(a,e,r){let t,l,n,o;$e(a,ct,c=>r(5,n=c)),$e(a,ut,c=>r(3,o=c));var s;let{type:i}=e;return a.$$set=c=>{"type"in c&&r(0,i=c.type)},a.$$.update=()=>{a.$$.dirty&1&&r(2,t=_t(i)),a.$$.dirty&49&&r(1,l=Lt(r(4,s=n==null?void 0:n.events)!==null&&s!==void 0?s:[])[i])},[i,l,t,o,s,n]}class Ke extends he{constructor(e){super(),ve(this,e,qt,Bt,we,{type:0})}}function Mt(a){let e,r;return{c(){e=v("div"),r=N(a[1]),this.h()},l(t){e=w(t,"DIV",{class:!0});var l=k(e);r=W(l,a[1]),l.forEach(u),this.h()},h(){y(e,"class","select-all")},m(t,l){H(t,e,l),f(e,r)},p(t,l){l&2&&He(r,t[1])},i:ne,o:ne,d(t){t&&u(e)}}}function Qt(a){let e,r;return e=new gt({props:{content:a[1],$$slots:{default:[Kt]},$$scope:{ctx:a}}}),{c(){C(e.$$.fragment)},l(t){S(e.$$.fragment,t)},m(t,l){V(e,t,l),r=!0},p(t,l){const n={};l&2&&(n.content=t[1]),l&22&&(n.$$scope={dirty:l,ctx:t}),e.$set(n)},i(t){r||(_(e.$$.fragment,t),r=!0)},o(t){h(e.$$.fragment,t),r=!1},d(t){A(e,t)}}}function Ut(a){let e;return{c(){e=N(a[1])},l(r){e=W(r,a[1])},m(r,t){H(r,e,t)},p(r,t){t&2&&He(e,r[1])},d(r){r&&u(e)}}}function Kt(a){let e,r;return e=new tt({props:{href:a[2],$$slots:{default:[Ut]},$$scope:{ctx:a}}}),{c(){C(e.$$.fragment)},l(t){S(e.$$.fragment,t)},m(t,l){V(e,t,l),r=!0},p(t,l){const n={};l&4&&(n.href=t[2]),l&18&&(n.$$scope={dirty:l,ctx:t}),e.$set(n)},i(t){r||(_(e.$$.fragment,t),r=!0)},o(t){h(e.$$.fragment,t),r=!1},d(t){A(e,t)}}}function Gt(a){let e,r,t,l,n,o,s,i,c,m;const E=[Qt,Mt],d=[];function D(p,$){return p[2]?0:1}return s=D(a),i=d[s]=E[s](a),{c(){e=v("article"),r=v("div"),t=N(a[0]),l=N(":"),n=I(),o=v("div"),i.c(),this.h()},l(p){e=w(p,"ARTICLE",{class:!0});var $=k(e);r=w($,"DIV",{class:!0});var b=k(r);t=W(b,a[0]),l=W(b,":"),b.forEach(u),n=T($),o=w($,"DIV",{});var L=k(o);i.l(L),L.forEach(u),$.forEach(u),this.h()},h(){y(r,"class","font-medium"),y(e,"class",c="flex gap-2 text-"+a[3])},m(p,$){H(p,e,$),f(e,r),f(r,t),f(r,l),f(e,n),f(e,o),d[s].m(o,null),m=!0},p(p,[$]){(!m||$&1)&&He(t,p[0]);let b=s;s=D(p),s===b?d[s].p(p,$):(ye(),h(d[b],1,1,()=>{d[b]=null}),Ee(),i=d[s],i?i.p(p,$):(i=d[s]=E[s](p),i.c()),_(i,1),i.m(o,null)),(!m||$&8&&c!==(c="flex gap-2 text-"+p[3]))&&y(e,"class",c)},i(p){m||(_(i),m=!0)},o(p){h(i),m=!1},d(p){p&&u(e),d[s].d()}}}function Xt(a,e,r){let{title:t}=e,{content:l}=e,{href:n=null}=e,{textSize:o="md"}=e;return a.$$set=s=>{"title"in s&&r(0,t=s.title),"content"in s&&r(1,l=s.content),"href"in s&&r(2,n=s.href),"textSize"in s&&r(3,o=s.textSize)},[t,l,n,o]}class fe extends he{constructor(e){super(),ve(this,e,Xt,Gt,we,{title:0,content:1,href:2,textSize:3})}}function Yt(a){var o,s,i,c,m,E;let e,r,t,l,n;return r=new fe({props:{title:"Parent",content:(o=a[2].parent)==null?void 0:o.workflowId,href:qe({namespace:a[1],workflow:(s=a[2].parent)==null?void 0:s.workflowId,run:(i=a[2].parent)==null?void 0:i.runId})}}),l=new fe({props:{title:"Parent ID",content:(c=a[2].parent)==null?void 0:c.runId,href:qe({namespace:a[1],workflow:(m=a[2].parent)==null?void 0:m.workflowId,run:(E=a[2].parent)==null?void 0:E.runId})}}),{c(){e=v("div"),C(r.$$.fragment),t=I(),C(l.$$.fragment),this.h()},l(d){e=w(d,"DIV",{class:!0});var D=k(e);S(r.$$.fragment,D),t=T(D),S(l.$$.fragment,D),D.forEach(u),this.h()},h(){y(e,"class","gap-2 xl:flex")},m(d,D){H(d,e,D),V(r,e,null),f(e,t),V(l,e,null),n=!0},p:ne,i(d){n||(_(r.$$.fragment,d),_(l.$$.fragment,d),n=!0)},o(d){h(r.$$.fragment,d),h(l.$$.fragment,d),n=!1},d(d){d&&u(e),A(r),A(l)}}}function Zt(a){let e;return{c(){e=N("Timeline")},l(r){e=W(r,"Timeline")},m(r,t){H(r,e,t)},d(r){r&&u(e)}}}function xt(a){let e;return{c(){e=N("Compact")},l(r){e=W(r,"Compact")},m(r,t){H(r,e,t)},d(r){r&&u(e)}}}function er(a){let e;return{c(){e=N("JSON")},l(r){e=W(r,"JSON")},m(r,t){H(r,e,t)},d(r){r&&u(e)}}}function tr(a){let e,r,t,l,n,o;return e=new Oe({props:{icon:"feed",base:Se(a[4]("feed")),href:Se(a[4]("feed")),active:a[0]==="feed","data-cy":"feed",$$slots:{default:[Zt]},$$scope:{ctx:a}}}),e.$on("click",a[7]),t=new Oe({props:{icon:"compact",href:Se(a[4]("compact")),active:a[0]==="compact","data-cy":"compact",$$slots:{default:[xt]},$$scope:{ctx:a}}}),t.$on("click",a[8]),n=new Oe({props:{icon:"json",href:Se(a[4]("json")),active:a[0]==="json","data-cy":"json",$$slots:{default:[er]},$$scope:{ctx:a}}}),n.$on("click",a[9]),{c(){C(e.$$.fragment),r=I(),C(t.$$.fragment),l=I(),C(n.$$.fragment)},l(s){S(e.$$.fragment,s),r=T(s),S(t.$$.fragment,s),l=T(s),S(n.$$.fragment,s)},m(s,i){V(e,s,i),H(s,r,i),V(t,s,i),H(s,l,i),V(n,s,i),o=!0},p(s,i){const c={};i&1&&(c.active=s[0]==="feed"),i&1024&&(c.$$scope={dirty:i,ctx:s}),e.$set(c);const m={};i&1&&(m.active=s[0]==="compact"),i&1024&&(m.$$scope={dirty:i,ctx:s}),t.$set(m);const E={};i&1&&(E.active=s[0]==="json"),i&1024&&(E.$$scope={dirty:i,ctx:s}),n.$set(E)},i(s){o||(_(e.$$.fragment,s),_(t.$$.fragment,s),_(n.$$.fragment,s),o=!0)},o(s){h(e.$$.fragment,s),h(t.$$.fragment,s),h(n.$$.fragment,s),o=!1},d(s){A(e,s),s&&u(r),A(t,s),s&&u(l),A(n,s)}}}function rr(a){var _e;let e,r,t,l,n,o,s,i,c,m,E,d,D,p,$,b,L,ae,J,te,K,U,ce,re,G,X,P,Y,ue,me,B,Z,x,ee;t=new fe({props:{title:"Workflow Type",content:a[2].name}}),n=new fe({props:{title:"Run ID",content:a[2].runId}}),i=new fe({props:{title:"Start Time",content:Re(a[2].startTime,"UTC")}}),m=new fe({props:{title:"Close Time",content:Re(a[2].endTime,"UTC")}}),d=new fe({props:{title:"Task Queue",content:a[2].taskQueue,href:st(a[5])}});let q=((_e=a[2])==null?void 0:_e.parent)&&Yt(a);$=new fe({props:{title:"State Transitions",content:a[2].stateTransitionCount}}),L=new Nt({props:{workflow:a[2],workers:a[3]}}),te=new Ke({props:{type:"input"}}),U=new Ke({props:{type:"results"}}),re=new Vt({}),Z=new pt({props:{$$slots:{default:[tr]},$$scope:{ctx:a}}});const pe=a[6].default,j=Ge(pe,a,a[10],null);return{c(){e=v("section"),r=v("section"),C(t.$$.fragment),l=I(),C(n.$$.fragment),o=I(),s=v("div"),C(i.$$.fragment),c=I(),C(m.$$.fragment),E=I(),C(d.$$.fragment),D=I(),q&&q.c(),p=I(),C($.$$.fragment),b=I(),C(L.$$.fragment),ae=I(),J=v("section"),C(te.$$.fragment),K=I(),C(U.$$.fragment),ce=I(),C(re.$$.fragment),G=I(),X=v("section"),P=v("nav"),Y=v("h3"),ue=N("Recent Events"),me=I(),B=v("div"),C(Z.$$.fragment),x=I(),j&&j.c(),this.h()},l(g){e=w(g,"SECTION",{class:!0});var O=k(e);r=w(O,"SECTION",{class:!0});var F=k(r);S(t.$$.fragment,F),l=T(F),S(n.$$.fragment,F),o=T(F),s=w(F,"DIV",{class:!0});var le=k(s);S(i.$$.fragment,le),c=T(le),S(m.$$.fragment,le),le.forEach(u),E=T(F),S(d.$$.fragment,F),D=T(F),q&&q.l(F),p=T(F),S($.$$.fragment,F),F.forEach(u),b=T(O),S(L.$$.fragment,O),ae=T(O),J=w(O,"SECTION",{class:!0});var se=k(J);S(te.$$.fragment,se),K=T(se),S(U.$$.fragment,se),se.forEach(u),ce=T(O),S(re.$$.fragment,O),G=T(O),X=w(O,"SECTION",{id:!0});var ie=k(X);P=w(ie,"NAV",{class:!0});var oe=k(P);Y=w(oe,"H3",{class:!0});var Q=k(Y);ue=W(Q,"Recent Events"),Q.forEach(u),me=T(oe),B=w(oe,"DIV",{id:!0,class:!0});var R=k(B);S(Z.$$.fragment,R),R.forEach(u),oe.forEach(u),x=T(ie),j&&j.l(ie),ie.forEach(u),O.forEach(u),this.h()},h(){y(s,"class","flex flex-col gap-1 md:flex-row md:gap-6"),y(r,"class","flex flex-col gap-1"),y(J,"class","flex w-full flex-col gap-4 lg:flex-row"),y(Y,"class","text-lg font-medium"),y(B,"id","event-view-toggle"),y(B,"class","flex gap-4"),y(P,"class","flex items-end justify-between gap-4 pb-4"),y(X,"id","event-history"),y(e,"class","flex flex-col gap-4")},m(g,O){H(g,e,O),f(e,r),V(t,r,null),f(r,l),V(n,r,null),f(r,o),f(r,s),V(i,s,null),f(s,c),V(m,s,null),f(r,E),V(d,r,null),f(r,D),q&&q.m(r,null),f(r,p),V($,r,null),f(e,b),V(L,e,null),f(e,ae),f(e,J),V(te,J,null),f(J,K),V(U,J,null),f(e,ce),V(re,e,null),f(e,G),f(e,X),f(X,P),f(P,Y),f(Y,ue),f(P,me),f(P,B),V(Z,B,null),f(X,x),j&&j.m(X,null),ee=!0},p(g,[O]){var le;(le=g[2])!=null&&le.parent&&q.p(g,O);const F={};O&1025&&(F.$$scope={dirty:O,ctx:g}),Z.$set(F),j&&j.p&&(!ee||O&1024)&&Xe(j,pe,g,g[10],ee?Ze(pe,g[10],O,null):Ye(g[10]),null)},i(g){ee||(_(t.$$.fragment,g),_(n.$$.fragment,g),_(i.$$.fragment,g),_(m.$$.fragment,g),_(d.$$.fragment,g),_(q),_($.$$.fragment,g),_(L.$$.fragment,g),_(te.$$.fragment,g),_(U.$$.fragment,g),_(re.$$.fragment,g),_(Z.$$.fragment,g),_(j,g),ee=!0)},o(g){h(t.$$.fragment,g),h(n.$$.fragment,g),h(i.$$.fragment,g),h(m.$$.fragment,g),h(d.$$.fragment,g),h(q),h($.$$.fragment,g),h(L.$$.fragment,g),h(te.$$.fragment,g),h(U.$$.fragment,g),h(re.$$.fragment,g),h(Z.$$.fragment,g),h(j,g),ee=!1},d(g){g&&u(e),A(t),A(n),A(i),A(m),A(d),q&&q.d(),A($),A(L),A(te),A(U),A(re),A(Z),j&&j.d(g)}}}function lr(a,e,r){let t,l,n;$e(a,et,b=>r(11,t=b)),$e(a,xe,b=>r(12,l=b)),$e(a,Ve,b=>r(0,n=b));let{$$slots:o={},$$scope:s}=e;const{namespace:i}=l.params,{workflow:c,workers:m}=t,E=(b,L)=>({namespace:i,workflow:c.id,run:c.runId,view:b,eventId:L}),d={namespace:i,workflow:c.id,run:c.runId};at(()=>{mt()});const D=()=>je(Ve,n="feed",n),p=()=>je(Ve,n="compact",n),$=()=>je(Ve,n="json",n);return a.$$set=b=>{"$$scope"in b&&r(10,s=b.$$scope)},[n,i,c,m,E,d,o,D,p,$,s]}class nr extends he{constructor(e){super(),ve(this,e,lr,rr,we,{})}}function ar(a){let e;const r=a[0].default,t=Ge(r,a,a[1],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,n){t&&t.m(l,n),e=!0},p(l,n){t&&t.p&&(!e||n&2)&&Xe(t,r,l,l[1],e?Ze(r,l[1],n,null):Ye(l[1]),null)},i(l){e||(_(t,l),e=!0)},o(l){h(t,l),e=!1},d(l){t&&t.d(l)}}}function or(a){let e,r;return e=new nr({props:{$$slots:{default:[ar]},$$scope:{ctx:a}}}),{c(){C(e.$$.fragment)},l(t){S(e.$$.fragment,t)},m(t,l){V(e,t,l),r=!0},p(t,[l]){const n={};l&2&&(n.$$scope={dirty:l,ctx:t}),e.$set(n)},i(t){r||(_(e.$$.fragment,t),r=!0)},o(t){h(e.$$.fragment,t),r=!1},d(t){A(e,t)}}}function sr(a,e,r){let{$$slots:t={},$$scope:l}=e;return a.$$set=n=>{"$$scope"in n&&r(1,l=n.$$scope)},[t,l]}class Fr extends he{constructor(e){super(),ve(this,e,sr,or,we,{})}}export{Fr as default}; diff --git a/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/compact/index.svelte-7491812b.js b/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/compact/index.svelte-94dda6a4.js similarity index 93% rename from server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/compact/index.svelte-7491812b.js rename to server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/compact/index.svelte-94dda6a4.js index dbf26ef7a9..0f7955ccb9 100644 --- a/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/compact/index.svelte-7491812b.js +++ b/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/compact/index.svelte-94dda6a4.js @@ -1 +1 @@ -import{S as i,i as p,s,w as a,x as c,y as u,q as f,o as $,B as l,N as g,E as _}from"../../../../../../../../chunks/index-604742bf.js";import{E as d}from"../../../../../../../../chunks/event-summary-c6ec8e4f.js";import{a as v}from"../../../../../../../../chunks/events-5f708b93.js";import"../../../../../../../../chunks/event-view-963ec0ce.js";import"../../../../../../../../chunks/index-c9e619a8.js";import"../../../../../../../../chunks/stores-810822a9.js";import"../../../../../../../../chunks/persist-store-26f405dd.js";import"../../../../../../../../chunks/pagination-bd44ecb0.js";import"../../../../../../../../chunks/index-0574ae1f.js";import"../../../../../../../../chunks/filter-select-ee707cee.js";import"../../../../../../../../chunks/navigation-6709cf39.js";import"../../../../../../../../chunks/singletons-d1fb5791.js";import"../../../../../../../../chunks/update-query-parameters-08bf783c.js";import"../../../../../../../../chunks/select-4556bdf3.js";import"../../../../../../../../chunks/index-69aa65a3.js";import"../../../../../../../../chunks/get-event-categorization-8a63628f.js";import"../../../../../../../../chunks/time-format-6fa48b0d.js";import"../../../../../../../../chunks/format-date-919f4714.js";import"../../../../../../../../chunks/to-duration-271d3946.js";import"../../../../../../../../chunks/format-camel-case-abb2903d.js";import"../../../../../../../../chunks/route-for-1f2060cd.js";import"../../../../../../../../chunks/code-block-03609e84.js";import"../../../../../../../../chunks/copy-to-clipboard-8832075c.js";import"../../../../../../../../chunks/link-74db22ab.js";import"../../../../../../../../chunks/copyable-6f962ac2.js";import"../../../../../../../../chunks/empty-state-c50aaf3c.js";import"../../../../../../../../chunks/events-service-97238182.js";import"../../../../../../../../chunks/route-for-api-3a26c58e.js";import"../../../../../../../../chunks/notifications-cfed8e58.js";import"../../../../../../../../chunks/is-network-error-ac7c8caf.js";import"../../../../../../../../chunks/index-e3391e94.js";import"../../../../../../../../chunks/is-http-24b20bf9.js";import"../../../../../../../../chunks/data-converter-config-6fc5efe1.js";import"../../../../../../../../chunks/atob-eb4fc9a1.js";import"../../../../../../../../chunks/simplify-attributes-64d6cf1a.js";import"../../../../../../../../chunks/with-loading-22689bcc.js";function w(m){let r,o;return r=new d({props:{items:m[0],groups:m[0],compact:!0}}),{c(){a(r.$$.fragment)},l(t){c(r.$$.fragment,t)},m(t,e){u(r,t,e),o=!0},p(t,[e]){const n={};e&1&&(n.items=t[0]),e&1&&(n.groups=t[0]),r.$set(n)},i(t){o||(f(r.$$.fragment,t),o=!0)},o(t){$(r.$$.fragment,t),o=!1},d(t){l(r,t)}}}function y(m,r,o){let t;return g(m,v,e=>o(0,t=e)),[t]}class h extends i{constructor(r){super(),p(this,r,y,w,s,{})}}function E(m){let r,o;return r=new h({}),{c(){a(r.$$.fragment)},l(t){c(r.$$.fragment,t)},m(t,e){u(r,t,e),o=!0},p:_,i(t){o||(f(r.$$.fragment,t),o=!0)},o(t){$(r.$$.fragment,t),o=!1},d(t){l(r,t)}}}class nt extends i{constructor(r){super(),p(this,r,null,E,s,{})}}export{nt as default}; +import{S as i,i as p,s,w as a,x as c,y as u,q as f,o as $,B as l,N as g,E as _}from"../../../../../../../../chunks/index-604742bf.js";import{E as d}from"../../../../../../../../chunks/event-summary-c6ec8e4f.js";import{a as v}from"../../../../../../../../chunks/events-6d840455.js";import"../../../../../../../../chunks/event-view-963ec0ce.js";import"../../../../../../../../chunks/index-c9e619a8.js";import"../../../../../../../../chunks/stores-810822a9.js";import"../../../../../../../../chunks/persist-store-26f405dd.js";import"../../../../../../../../chunks/pagination-bd44ecb0.js";import"../../../../../../../../chunks/index-0574ae1f.js";import"../../../../../../../../chunks/filter-select-ee707cee.js";import"../../../../../../../../chunks/navigation-6709cf39.js";import"../../../../../../../../chunks/singletons-d1fb5791.js";import"../../../../../../../../chunks/update-query-parameters-08bf783c.js";import"../../../../../../../../chunks/select-4556bdf3.js";import"../../../../../../../../chunks/index-69aa65a3.js";import"../../../../../../../../chunks/get-event-categorization-8a63628f.js";import"../../../../../../../../chunks/time-format-6fa48b0d.js";import"../../../../../../../../chunks/format-date-919f4714.js";import"../../../../../../../../chunks/to-duration-271d3946.js";import"../../../../../../../../chunks/format-camel-case-abb2903d.js";import"../../../../../../../../chunks/route-for-1f2060cd.js";import"../../../../../../../../chunks/code-block-03609e84.js";import"../../../../../../../../chunks/copy-to-clipboard-8832075c.js";import"../../../../../../../../chunks/link-74db22ab.js";import"../../../../../../../../chunks/copyable-6f962ac2.js";import"../../../../../../../../chunks/empty-state-c50aaf3c.js";import"../../../../../../../../chunks/events-service-c14937d5.js";import"../../../../../../../../chunks/route-for-api-605baeb9.js";import"../../../../../../../../chunks/notifications-cfed8e58.js";import"../../../../../../../../chunks/is-network-error-ac7c8caf.js";import"../../../../../../../../chunks/index-e3391e94.js";import"../../../../../../../../chunks/is-http-24b20bf9.js";import"../../../../../../../../chunks/data-converter-config-6fc5efe1.js";import"../../../../../../../../chunks/atob-eb4fc9a1.js";import"../../../../../../../../chunks/simplify-attributes-64d6cf1a.js";import"../../../../../../../../chunks/with-loading-22689bcc.js";function w(m){let r,o;return r=new d({props:{items:m[0],groups:m[0],compact:!0}}),{c(){a(r.$$.fragment)},l(t){c(r.$$.fragment,t)},m(t,e){u(r,t,e),o=!0},p(t,[e]){const n={};e&1&&(n.items=t[0]),e&1&&(n.groups=t[0]),r.$set(n)},i(t){o||(f(r.$$.fragment,t),o=!0)},o(t){$(r.$$.fragment,t),o=!1},d(t){l(r,t)}}}function y(m,r,o){let t;return g(m,v,e=>o(0,t=e)),[t]}class h extends i{constructor(r){super(),p(this,r,y,w,s,{})}}function E(m){let r,o;return r=new h({}),{c(){a(r.$$.fragment)},l(t){c(r.$$.fragment,t)},m(t,e){u(r,t,e),o=!0},p:_,i(t){o||(f(r.$$.fragment,t),o=!0)},o(t){$(r.$$.fragment,t),o=!1},d(t){l(r,t)}}}class nt extends i{constructor(r){super(),p(this,r,null,E,s,{})}}export{nt as default}; diff --git a/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/feed/index.svelte-e1d5022e.js b/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/feed/index.svelte-21acb3ad.js similarity index 91% rename from server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/feed/index.svelte-e1d5022e.js rename to server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/feed/index.svelte-21acb3ad.js index 85fa26e390..96de0ddad8 100644 --- a/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/feed/index.svelte-e1d5022e.js +++ b/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/feed/index.svelte-21acb3ad.js @@ -1 +1 @@ -import{S as p,i as s,s as a,w as u,x as f,y as c,q as l,o as $,B as _,N as i,E as g}from"../../../../../../../../chunks/index-604742bf.js";import{E as d}from"../../../../../../../../chunks/event-summary-c6ec8e4f.js";import{b as v,d as w}from"../../../../../../../../chunks/events-5f708b93.js";import"../../../../../../../../chunks/event-view-963ec0ce.js";import"../../../../../../../../chunks/index-c9e619a8.js";import"../../../../../../../../chunks/stores-810822a9.js";import"../../../../../../../../chunks/persist-store-26f405dd.js";import"../../../../../../../../chunks/pagination-bd44ecb0.js";import"../../../../../../../../chunks/index-0574ae1f.js";import"../../../../../../../../chunks/filter-select-ee707cee.js";import"../../../../../../../../chunks/navigation-6709cf39.js";import"../../../../../../../../chunks/singletons-d1fb5791.js";import"../../../../../../../../chunks/update-query-parameters-08bf783c.js";import"../../../../../../../../chunks/select-4556bdf3.js";import"../../../../../../../../chunks/index-69aa65a3.js";import"../../../../../../../../chunks/get-event-categorization-8a63628f.js";import"../../../../../../../../chunks/time-format-6fa48b0d.js";import"../../../../../../../../chunks/format-date-919f4714.js";import"../../../../../../../../chunks/to-duration-271d3946.js";import"../../../../../../../../chunks/format-camel-case-abb2903d.js";import"../../../../../../../../chunks/route-for-1f2060cd.js";import"../../../../../../../../chunks/code-block-03609e84.js";import"../../../../../../../../chunks/copy-to-clipboard-8832075c.js";import"../../../../../../../../chunks/link-74db22ab.js";import"../../../../../../../../chunks/copyable-6f962ac2.js";import"../../../../../../../../chunks/empty-state-c50aaf3c.js";import"../../../../../../../../chunks/events-service-97238182.js";import"../../../../../../../../chunks/route-for-api-3a26c58e.js";import"../../../../../../../../chunks/notifications-cfed8e58.js";import"../../../../../../../../chunks/is-network-error-ac7c8caf.js";import"../../../../../../../../chunks/index-e3391e94.js";import"../../../../../../../../chunks/is-http-24b20bf9.js";import"../../../../../../../../chunks/data-converter-config-6fc5efe1.js";import"../../../../../../../../chunks/atob-eb4fc9a1.js";import"../../../../../../../../chunks/simplify-attributes-64d6cf1a.js";import"../../../../../../../../chunks/with-loading-22689bcc.js";function y(m){let r,o;return r=new d({props:{items:m[0],groups:m[1]}}),{c(){u(r.$$.fragment)},l(t){f(r.$$.fragment,t)},m(t,e){c(r,t,e),o=!0},p(t,[e]){const n={};e&1&&(n.items=t[0]),e&2&&(n.groups=t[1]),r.$set(n)},i(t){o||(l(r.$$.fragment,t),o=!0)},o(t){$(r.$$.fragment,t),o=!1},d(t){_(r,t)}}}function h(m,r,o){let t,e;return i(m,v,n=>o(0,t=n)),i(m,w,n=>o(1,e=n)),[t,e]}class b extends p{constructor(r){super(),s(this,r,h,y,a,{})}}function x(m){let r,o;return r=new b({}),{c(){u(r.$$.fragment)},l(t){f(r.$$.fragment,t)},m(t,e){c(r,t,e),o=!0},p:g,i(t){o||(l(r.$$.fragment,t),o=!0)},o(t){$(r.$$.fragment,t),o=!1},d(t){_(r,t)}}}class it extends p{constructor(r){super(),s(this,r,null,x,a,{})}}export{it as default}; +import{S as p,i as s,s as a,w as u,x as f,y as c,q as l,o as $,B as _,N as i,E as g}from"../../../../../../../../chunks/index-604742bf.js";import{E as d}from"../../../../../../../../chunks/event-summary-c6ec8e4f.js";import{b as v,d as w}from"../../../../../../../../chunks/events-6d840455.js";import"../../../../../../../../chunks/event-view-963ec0ce.js";import"../../../../../../../../chunks/index-c9e619a8.js";import"../../../../../../../../chunks/stores-810822a9.js";import"../../../../../../../../chunks/persist-store-26f405dd.js";import"../../../../../../../../chunks/pagination-bd44ecb0.js";import"../../../../../../../../chunks/index-0574ae1f.js";import"../../../../../../../../chunks/filter-select-ee707cee.js";import"../../../../../../../../chunks/navigation-6709cf39.js";import"../../../../../../../../chunks/singletons-d1fb5791.js";import"../../../../../../../../chunks/update-query-parameters-08bf783c.js";import"../../../../../../../../chunks/select-4556bdf3.js";import"../../../../../../../../chunks/index-69aa65a3.js";import"../../../../../../../../chunks/get-event-categorization-8a63628f.js";import"../../../../../../../../chunks/time-format-6fa48b0d.js";import"../../../../../../../../chunks/format-date-919f4714.js";import"../../../../../../../../chunks/to-duration-271d3946.js";import"../../../../../../../../chunks/format-camel-case-abb2903d.js";import"../../../../../../../../chunks/route-for-1f2060cd.js";import"../../../../../../../../chunks/code-block-03609e84.js";import"../../../../../../../../chunks/copy-to-clipboard-8832075c.js";import"../../../../../../../../chunks/link-74db22ab.js";import"../../../../../../../../chunks/copyable-6f962ac2.js";import"../../../../../../../../chunks/empty-state-c50aaf3c.js";import"../../../../../../../../chunks/events-service-c14937d5.js";import"../../../../../../../../chunks/route-for-api-605baeb9.js";import"../../../../../../../../chunks/notifications-cfed8e58.js";import"../../../../../../../../chunks/is-network-error-ac7c8caf.js";import"../../../../../../../../chunks/index-e3391e94.js";import"../../../../../../../../chunks/is-http-24b20bf9.js";import"../../../../../../../../chunks/data-converter-config-6fc5efe1.js";import"../../../../../../../../chunks/atob-eb4fc9a1.js";import"../../../../../../../../chunks/simplify-attributes-64d6cf1a.js";import"../../../../../../../../chunks/with-loading-22689bcc.js";function y(m){let r,o;return r=new d({props:{items:m[0],groups:m[1]}}),{c(){u(r.$$.fragment)},l(t){f(r.$$.fragment,t)},m(t,e){c(r,t,e),o=!0},p(t,[e]){const n={};e&1&&(n.items=t[0]),e&2&&(n.groups=t[1]),r.$set(n)},i(t){o||(l(r.$$.fragment,t),o=!0)},o(t){$(r.$$.fragment,t),o=!1},d(t){_(r,t)}}}function h(m,r,o){let t,e;return i(m,v,n=>o(0,t=n)),i(m,w,n=>o(1,e=n)),[t,e]}class b extends p{constructor(r){super(),s(this,r,h,y,a,{})}}function x(m){let r,o;return r=new b({}),{c(){u(r.$$.fragment)},l(t){f(r.$$.fragment,t)},m(t,e){c(r,t,e),o=!0},p:g,i(t){o||(l(r.$$.fragment,t),o=!0)},o(t){$(r.$$.fragment,t),o=!1},d(t){_(r,t)}}}class it extends p{constructor(r){super(),s(this,r,null,x,a,{})}}export{it as default}; diff --git a/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/json/index.svelte-78f2bdc8.js b/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/json/index.svelte-b1c5a7ba.js similarity index 88% rename from server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/json/index.svelte-78f2bdc8.js rename to server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/json/index.svelte-b1c5a7ba.js index d5e5a03782..fa1ef5e25e 100644 --- a/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/json/index.svelte-78f2bdc8.js +++ b/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/json/index.svelte-b1c5a7ba.js @@ -1 +1 @@ -import{S as i,i as m,s as a,w as p,x as c,y as f,q as u,o as l,B as $,N as _,E as g}from"../../../../../../../../chunks/index-604742bf.js";import{C as d}from"../../../../../../../../chunks/code-block-03609e84.js";import{b}from"../../../../../../../../chunks/events-5f708b93.js";import"../../../../../../../../chunks/index-0574ae1f.js";import"../../../../../../../../chunks/copy-to-clipboard-8832075c.js";import"../../../../../../../../chunks/index-c9e619a8.js";import"../../../../../../../../chunks/stores-810822a9.js";import"../../../../../../../../chunks/events-service-97238182.js";import"../../../../../../../../chunks/route-for-api-3a26c58e.js";import"../../../../../../../../chunks/notifications-cfed8e58.js";import"../../../../../../../../chunks/is-network-error-ac7c8caf.js";import"../../../../../../../../chunks/route-for-1f2060cd.js";import"../../../../../../../../chunks/index-e3391e94.js";import"../../../../../../../../chunks/is-http-24b20bf9.js";import"../../../../../../../../chunks/persist-store-26f405dd.js";import"../../../../../../../../chunks/data-converter-config-6fc5efe1.js";import"../../../../../../../../chunks/atob-eb4fc9a1.js";import"../../../../../../../../chunks/format-date-919f4714.js";import"../../../../../../../../chunks/to-duration-271d3946.js";import"../../../../../../../../chunks/get-event-categorization-8a63628f.js";import"../../../../../../../../chunks/simplify-attributes-64d6cf1a.js";import"../../../../../../../../chunks/event-view-963ec0ce.js";import"../../../../../../../../chunks/with-loading-22689bcc.js";function h(n){let o,r;return o=new d({props:{content:n[0],"data-cy":"event-history-json"}}),{c(){p(o.$$.fragment)},l(t){c(o.$$.fragment,t)},m(t,e){f(o,t,e),r=!0},p(t,[e]){const s={};e&1&&(s.content=t[0]),o.$set(s)},i(t){r||(u(o.$$.fragment,t),r=!0)},o(t){l(o.$$.fragment,t),r=!1},d(t){$(o,t)}}}function w(n,o,r){let t;return _(n,b,e=>r(0,t=e)),[t]}class y extends i{constructor(o){super(),m(this,o,w,h,a,{})}}function k(n){let o,r;return o=new y({}),{c(){p(o.$$.fragment)},l(t){c(o.$$.fragment,t)},m(t,e){f(o,t,e),r=!0},p:g,i(t){r||(u(o.$$.fragment,t),r=!0)},o(t){l(o.$$.fragment,t),r=!1},d(t){$(o,t)}}}class Q extends i{constructor(o){super(),m(this,o,null,k,a,{})}}export{Q as default}; +import{S as i,i as m,s as a,w as p,x as c,y as f,q as u,o as l,B as $,N as _,E as g}from"../../../../../../../../chunks/index-604742bf.js";import{C as d}from"../../../../../../../../chunks/code-block-03609e84.js";import{b}from"../../../../../../../../chunks/events-6d840455.js";import"../../../../../../../../chunks/index-0574ae1f.js";import"../../../../../../../../chunks/copy-to-clipboard-8832075c.js";import"../../../../../../../../chunks/index-c9e619a8.js";import"../../../../../../../../chunks/stores-810822a9.js";import"../../../../../../../../chunks/events-service-c14937d5.js";import"../../../../../../../../chunks/route-for-api-605baeb9.js";import"../../../../../../../../chunks/notifications-cfed8e58.js";import"../../../../../../../../chunks/is-network-error-ac7c8caf.js";import"../../../../../../../../chunks/route-for-1f2060cd.js";import"../../../../../../../../chunks/index-e3391e94.js";import"../../../../../../../../chunks/is-http-24b20bf9.js";import"../../../../../../../../chunks/persist-store-26f405dd.js";import"../../../../../../../../chunks/data-converter-config-6fc5efe1.js";import"../../../../../../../../chunks/atob-eb4fc9a1.js";import"../../../../../../../../chunks/format-date-919f4714.js";import"../../../../../../../../chunks/to-duration-271d3946.js";import"../../../../../../../../chunks/get-event-categorization-8a63628f.js";import"../../../../../../../../chunks/simplify-attributes-64d6cf1a.js";import"../../../../../../../../chunks/event-view-963ec0ce.js";import"../../../../../../../../chunks/with-loading-22689bcc.js";function h(n){let o,r;return o=new d({props:{content:n[0],"data-cy":"event-history-json"}}),{c(){p(o.$$.fragment)},l(t){c(o.$$.fragment,t)},m(t,e){f(o,t,e),r=!0},p(t,[e]){const s={};e&1&&(s.content=t[0]),o.$set(s)},i(t){r||(u(o.$$.fragment,t),r=!0)},o(t){l(o.$$.fragment,t),r=!1},d(t){$(o,t)}}}function w(n,o,r){let t;return _(n,b,e=>r(0,t=e)),[t]}class y extends i{constructor(o){super(),m(this,o,w,h,a,{})}}function k(n){let o,r;return o=new y({}),{c(){p(o.$$.fragment)},l(t){c(o.$$.fragment,t)},m(t,e){f(o,t,e),r=!0},p:g,i(t){r||(u(o.$$.fragment,t),r=!0)},o(t){l(o.$$.fragment,t),r=!1},d(t){$(o,t)}}}class Q extends i{constructor(o){super(),m(this,o,null,k,a,{})}}export{Q as default}; diff --git a/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/pending-activities.svelte-5073cb4a.js b/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/pending-activities.svelte-08d17be9.js similarity index 96% rename from server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/pending-activities.svelte-5073cb4a.js rename to server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/pending-activities.svelte-08d17be9.js index d77a7ea9b7..b2935279dc 100644 --- a/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/pending-activities.svelte-5073cb4a.js +++ b/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/pending-activities.svelte-08d17be9.js @@ -1 +1 @@ -import{S as Ne,i as Ce,s as Me,l as We,g as T,q as V,o as L,d as f,N as qe,w as N,x as C,y as M,E as W,B,e as p,k as b,t as w,c as v,a as _,m as g,h as k,b as A,M as r,n as je,a7 as Oe,al as ze,p as Ge,am as Je}from"../../../../../../chunks/index-604742bf.js";import{w as Ke}from"../../../../../../chunks/workflow-run-60a1c465.js";import{I as Qe}from"../../../../../../chunks/index-0574ae1f.js";import{B as re}from"../../../../../../chunks/badge-d40010b4.js";import{E as Ue}from"../../../../../../chunks/empty-state-c50aaf3c.js";import{L as Xe}from"../../../../../../chunks/link-74db22ab.js";import{C as Be}from"../../../../../../chunks/code-block-03609e84.js";import{f as De,a as Ye,g as Ze}from"../../../../../../chunks/format-date-919f4714.js";import"../../../../../../chunks/index-c9e619a8.js";import"../../../../../../chunks/stores-810822a9.js";import"../../../../../../chunks/with-loading-22689bcc.js";import"../../../../../../chunks/workflow-service-b18a98d3.js";import"../../../../../../chunks/simplify-attributes-64d6cf1a.js";import"../../../../../../chunks/route-for-api-3a26c58e.js";import"../../../../../../chunks/notifications-cfed8e58.js";import"../../../../../../chunks/is-network-error-ac7c8caf.js";import"../../../../../../chunks/route-for-1f2060cd.js";import"../../../../../../chunks/to-duration-271d3946.js";import"../../../../../../chunks/copy-to-clipboard-8832075c.js";function Re(u,e,l){const t=u.slice();t[3]=e[l].id,t[4]=e[l].activityId,t[5]=Je(e[l],["id","activityId"]);const s=t[5].attempt>1;return t[6]=s,t}function xe(u){let e,l;return e=new Ue({props:{title:"No Pending Activities"}}),{c(){N(e.$$.fragment)},l(t){C(e.$$.fragment,t)},m(t,s){M(e,t,s),l=!0},p:W,i(t){l||(V(e.$$.fragment,t),l=!0)},o(t){L(e.$$.fragment,t),l=!1},d(t){B(e,t)}}}function et(u){let e,l,t,s,i,a,o,n,c=[],D=new Map,h,E=u[0];const d=m=>m[3];for(let m=0;ml(2,t=a));const{pendingActivities:s,defaultWorkflowTaskTimeout:i}=t.workflow;return[s,i]}class _t extends Ne{constructor(e){super(),Ce(this,e,vt,pt,Me,{})}}function $t(u){let e,l;return e=new _t({}),{c(){N(e.$$.fragment)},l(t){C(e.$$.fragment,t)},m(t,s){M(e,t,s),l=!0},p:W,i(t){l||(V(e.$$.fragment,t),l=!0)},o(t){L(e.$$.fragment,t),l=!1},d(t){B(e,t)}}}class Ct extends Ne{constructor(e){super(),Ce(this,e,null,$t,Me,{})}}export{Ct as default}; +import{S as Ne,i as Ce,s as Me,l as We,g as T,q as V,o as L,d as f,N as qe,w as N,x as C,y as M,E as W,B,e as p,k as b,t as w,c as v,a as _,m as g,h as k,b as A,M as r,n as je,a7 as Oe,al as ze,p as Ge,am as Je}from"../../../../../../chunks/index-604742bf.js";import{w as Ke}from"../../../../../../chunks/workflow-run-4b2466b3.js";import{I as Qe}from"../../../../../../chunks/index-0574ae1f.js";import{B as re}from"../../../../../../chunks/badge-d40010b4.js";import{E as Ue}from"../../../../../../chunks/empty-state-c50aaf3c.js";import{L as Xe}from"../../../../../../chunks/link-74db22ab.js";import{C as Be}from"../../../../../../chunks/code-block-03609e84.js";import{f as De,a as Ye,g as Ze}from"../../../../../../chunks/format-date-919f4714.js";import"../../../../../../chunks/index-c9e619a8.js";import"../../../../../../chunks/stores-810822a9.js";import"../../../../../../chunks/with-loading-22689bcc.js";import"../../../../../../chunks/workflow-service-250a9fea.js";import"../../../../../../chunks/simplify-attributes-64d6cf1a.js";import"../../../../../../chunks/route-for-api-605baeb9.js";import"../../../../../../chunks/notifications-cfed8e58.js";import"../../../../../../chunks/is-network-error-ac7c8caf.js";import"../../../../../../chunks/route-for-1f2060cd.js";import"../../../../../../chunks/to-duration-271d3946.js";import"../../../../../../chunks/copy-to-clipboard-8832075c.js";function Re(u,e,l){const t=u.slice();t[3]=e[l].id,t[4]=e[l].activityId,t[5]=Je(e[l],["id","activityId"]);const s=t[5].attempt>1;return t[6]=s,t}function xe(u){let e,l;return e=new Ue({props:{title:"No Pending Activities"}}),{c(){N(e.$$.fragment)},l(t){C(e.$$.fragment,t)},m(t,s){M(e,t,s),l=!0},p:W,i(t){l||(V(e.$$.fragment,t),l=!0)},o(t){L(e.$$.fragment,t),l=!1},d(t){B(e,t)}}}function et(u){let e,l,t,s,i,a,o,n,c=[],D=new Map,h,E=u[0];const d=m=>m[3];for(let m=0;ml(2,t=a));const{pendingActivities:s,defaultWorkflowTaskTimeout:i}=t.workflow;return[s,i]}class _t extends Ne{constructor(e){super(),Ce(this,e,vt,pt,Me,{})}}function $t(u){let e,l;return e=new _t({}),{c(){N(e.$$.fragment)},l(t){C(e.$$.fragment,t)},m(t,s){M(e,t,s),l=!0},p:W,i(t){l||(V(e.$$.fragment,t),l=!0)},o(t){L(e.$$.fragment,t),l=!1},d(t){B(e,t)}}}class Ct extends Ne{constructor(e){super(),Ce(this,e,null,$t,Me,{})}}export{Ct as default}; diff --git a/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/query.svelte-053a2a15.js b/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/query.svelte-b4c87802.js similarity index 96% rename from server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/query.svelte-053a2a15.js rename to server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/query.svelte-b4c87802.js index 4e1ea669f9..2fbac18891 100644 --- a/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/query.svelte-053a2a15.js +++ b/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/query.svelte-b4c87802.js @@ -1 +1 @@ -import{S as A,i as H,s as M,aa as O,e as v,c as y,a as E,d as p,g,ac as W,q as h,o as $,N,w as q,x as C,y as I,E as f,B as S,_ as Z,$ as j,k as Q,m as D,b as T,M as w,Z as z,t as R,h as B,l as P,n as F,p as G,ad as J}from"../../../../../../chunks/index-604742bf.js";import{p as K}from"../../../../../../chunks/stores-810822a9.js";import{g as U,a as X}from"../../../../../../chunks/query-service-1ec7a5fc.js";import{w as Y}from"../../../../../../chunks/workflow-run-60a1c465.js";import{C as ee}from"../../../../../../chunks/code-block-03609e84.js";import{S as te,O as ne}from"../../../../../../chunks/select-4556bdf3.js";import{E as oe}from"../../../../../../chunks/empty-state-c50aaf3c.js";import{B as re}from"../../../../../../chunks/button-0ce95595.js";import"../../../../../../chunks/route-for-api-3a26c58e.js";import"../../../../../../chunks/index-c9e619a8.js";import"../../../../../../chunks/notifications-cfed8e58.js";import"../../../../../../chunks/is-network-error-ac7c8caf.js";import"../../../../../../chunks/route-for-1f2060cd.js";import"../../../../../../chunks/atob-eb4fc9a1.js";import"../../../../../../chunks/with-loading-22689bcc.js";import"../../../../../../chunks/workflow-service-b18a98d3.js";import"../../../../../../chunks/simplify-attributes-64d6cf1a.js";import"../../../../../../chunks/format-date-919f4714.js";import"../../../../../../chunks/to-duration-271d3946.js";import"../../../../../../chunks/index-0574ae1f.js";import"../../../../../../chunks/copy-to-clipboard-8832075c.js";function V(r,t,n){const e=r.slice();return e[13]=t[n],e}function le(r){let t,n;return t=new oe({props:{title:"An Error Occurred",content:"Please make sure you have at least one worker running."}}),{c(){q(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,o){I(t,e,o),n=!0},p:f,i(e){n||(h(t.$$.fragment,e),n=!0)},o(e){$(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function ae(r){let t,n,e,o,c,a,s,l,_;function k(u){r[4](u)}let b={id:"query-select",label:"Query Type",dataCy:"query-select",$$slots:{default:[se]},$$scope:{ctx:r}};r[0]!==void 0&&(b.value=r[0]),n=new te({props:b}),Z.push(()=>j(n,"value",k)),c=new re({props:{icon:"refresh",iconScale:.8,loading:he,$$slots:{default:[ie]},$$scope:{ctx:r}}}),c.$on("click",r[5]);let m={ctx:r,current:null,token:null,hasCatch:!1,pending:me,then:fe,catch:ue,value:12,blocks:[,,,]};return O(l=r[1],m),{c(){t=v("div"),q(n.$$.fragment),o=Q(),q(c.$$.fragment),a=Q(),s=v("div"),m.block.c(),this.h()},l(u){t=y(u,"DIV",{class:!0});var i=E(t);C(n.$$.fragment,i),o=D(i),C(c.$$.fragment,i),i.forEach(p),a=D(u),s=y(u,"DIV",{class:!0});var d=E(s);m.block.l(d),d.forEach(p),this.h()},h(){T(t,"class","flex items-center gap-4"),T(s,"class","flex items-start h-full")},m(u,i){g(u,t,i),I(n,t,null),w(t,o),I(c,t,null),g(u,a,i),g(u,s,i),m.block.m(s,m.anchor=null),m.mount=()=>s,m.anchor=null,_=!0},p(u,i){r=u;const d={};i&65536&&(d.$$scope={dirty:i,ctx:r}),!e&&i&1&&(e=!0,d.value=r[0],z(()=>e=!1)),n.$set(d);const L={};i&65536&&(L.$$scope={dirty:i,ctx:r}),c.$set(L),m.ctx=r,i&2&&l!==(l=r[1])&&O(l,m)||W(m,r,i)},i(u){_||(h(n.$$.fragment,u),h(c.$$.fragment,u),h(m.block),_=!0)},o(u){$(n.$$.fragment,u),$(c.$$.fragment,u);for(let i=0;i<3;i+=1){const d=m.blocks[i];$(d)}_=!1},d(u){u&&p(t),S(n),S(c),u&&p(a),u&&p(s),m.block.d(),m.token=null,m=null}}}function ce(r){let t=r[13]+"",n;return{c(){n=R(t)},l(e){n=B(e,t)},m(e,o){g(e,n,o)},p:f,d(e){e&&p(n)}}}function x(r){let t,n;return t=new ne({props:{value:r[13],$$slots:{default:[ce]},$$scope:{ctx:r}}}),{c(){q(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,o){I(t,e,o),n=!0},p(e,o){const c={};o&65536&&(c.$$scope={dirty:o,ctx:e}),t.$set(c)},i(e){n||(h(t.$$.fragment,e),n=!0)},o(e){$(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function se(r){let t,n,e=r[11],o=[];for(let a=0;a$(o[a],1,1,()=>{o[a]=null});return{c(){for(let a=0;at,e.anchor=null,n=!0},p(o,[c]){r=o,W(e,r,c)},i(o){n||(h(e.block),n=!0)},o(o){for(let c=0;c<3;c+=1){const a=e.blocks[c];$(a)}n=!1},d(o){o&&p(t),e.block.d(),e.token=null,e=null}}}let he=!1;function $e(r,t,n){let e,o;N(r,Y,i=>n(6,e=i)),N(r,K,i=>n(7,o=i));const{namespace:c}=o.params,{workflow:a}=e,s={id:a.id,runId:a.runId};let l,_=U({namespace:c,workflow:s}).then(i=>(n(0,l=l||i[0]),i)),k;const b=i=>{n(1,k=X({namespace:c,workflow:s,queryType:i}))};function m(i){l=i,n(0,l)}const u=()=>b(l);return r.$$.update=()=>{r.$$.dirty&1&&l&&b(l)},[l,k,_,b,m,u]}class de extends A{constructor(t){super(),H(this,t,$e,_e,M,{})}}function ge(r){let t,n;return t=new de({}),{c(){q(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,o){I(t,e,o),n=!0},p:f,i(e){n||(h(t.$$.fragment,e),n=!0)},o(e){$(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}class Ae extends A{constructor(t){super(),H(this,t,null,ge,M,{})}}export{Ae as default}; +import{S as A,i as H,s as M,aa as O,e as v,c as y,a as E,d as p,g,ac as W,q as h,o as $,N,w as q,x as C,y as I,E as f,B as S,_ as Z,$ as j,k as Q,m as D,b as T,M as w,Z as z,t as R,h as B,l as P,n as F,p as G,ad as J}from"../../../../../../chunks/index-604742bf.js";import{p as K}from"../../../../../../chunks/stores-810822a9.js";import{g as U,a as X}from"../../../../../../chunks/query-service-3f8ed2d0.js";import{w as Y}from"../../../../../../chunks/workflow-run-4b2466b3.js";import{C as ee}from"../../../../../../chunks/code-block-03609e84.js";import{S as te,O as ne}from"../../../../../../chunks/select-4556bdf3.js";import{E as oe}from"../../../../../../chunks/empty-state-c50aaf3c.js";import{B as re}from"../../../../../../chunks/button-0ce95595.js";import"../../../../../../chunks/route-for-api-605baeb9.js";import"../../../../../../chunks/index-c9e619a8.js";import"../../../../../../chunks/notifications-cfed8e58.js";import"../../../../../../chunks/is-network-error-ac7c8caf.js";import"../../../../../../chunks/route-for-1f2060cd.js";import"../../../../../../chunks/atob-eb4fc9a1.js";import"../../../../../../chunks/with-loading-22689bcc.js";import"../../../../../../chunks/workflow-service-250a9fea.js";import"../../../../../../chunks/simplify-attributes-64d6cf1a.js";import"../../../../../../chunks/format-date-919f4714.js";import"../../../../../../chunks/to-duration-271d3946.js";import"../../../../../../chunks/index-0574ae1f.js";import"../../../../../../chunks/copy-to-clipboard-8832075c.js";function V(r,t,n){const e=r.slice();return e[13]=t[n],e}function le(r){let t,n;return t=new oe({props:{title:"An Error Occurred",content:"Please make sure you have at least one worker running."}}),{c(){q(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,o){I(t,e,o),n=!0},p:f,i(e){n||(h(t.$$.fragment,e),n=!0)},o(e){$(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function ae(r){let t,n,e,o,c,a,s,l,_;function k(u){r[4](u)}let b={id:"query-select",label:"Query Type",dataCy:"query-select",$$slots:{default:[se]},$$scope:{ctx:r}};r[0]!==void 0&&(b.value=r[0]),n=new te({props:b}),Z.push(()=>j(n,"value",k)),c=new re({props:{icon:"refresh",iconScale:.8,loading:he,$$slots:{default:[ie]},$$scope:{ctx:r}}}),c.$on("click",r[5]);let m={ctx:r,current:null,token:null,hasCatch:!1,pending:me,then:fe,catch:ue,value:12,blocks:[,,,]};return O(l=r[1],m),{c(){t=v("div"),q(n.$$.fragment),o=Q(),q(c.$$.fragment),a=Q(),s=v("div"),m.block.c(),this.h()},l(u){t=y(u,"DIV",{class:!0});var i=E(t);C(n.$$.fragment,i),o=D(i),C(c.$$.fragment,i),i.forEach(p),a=D(u),s=y(u,"DIV",{class:!0});var d=E(s);m.block.l(d),d.forEach(p),this.h()},h(){T(t,"class","flex items-center gap-4"),T(s,"class","flex items-start h-full")},m(u,i){g(u,t,i),I(n,t,null),w(t,o),I(c,t,null),g(u,a,i),g(u,s,i),m.block.m(s,m.anchor=null),m.mount=()=>s,m.anchor=null,_=!0},p(u,i){r=u;const d={};i&65536&&(d.$$scope={dirty:i,ctx:r}),!e&&i&1&&(e=!0,d.value=r[0],z(()=>e=!1)),n.$set(d);const L={};i&65536&&(L.$$scope={dirty:i,ctx:r}),c.$set(L),m.ctx=r,i&2&&l!==(l=r[1])&&O(l,m)||W(m,r,i)},i(u){_||(h(n.$$.fragment,u),h(c.$$.fragment,u),h(m.block),_=!0)},o(u){$(n.$$.fragment,u),$(c.$$.fragment,u);for(let i=0;i<3;i+=1){const d=m.blocks[i];$(d)}_=!1},d(u){u&&p(t),S(n),S(c),u&&p(a),u&&p(s),m.block.d(),m.token=null,m=null}}}function ce(r){let t=r[13]+"",n;return{c(){n=R(t)},l(e){n=B(e,t)},m(e,o){g(e,n,o)},p:f,d(e){e&&p(n)}}}function x(r){let t,n;return t=new ne({props:{value:r[13],$$slots:{default:[ce]},$$scope:{ctx:r}}}),{c(){q(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,o){I(t,e,o),n=!0},p(e,o){const c={};o&65536&&(c.$$scope={dirty:o,ctx:e}),t.$set(c)},i(e){n||(h(t.$$.fragment,e),n=!0)},o(e){$(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function se(r){let t,n,e=r[11],o=[];for(let a=0;a$(o[a],1,1,()=>{o[a]=null});return{c(){for(let a=0;at,e.anchor=null,n=!0},p(o,[c]){r=o,W(e,r,c)},i(o){n||(h(e.block),n=!0)},o(o){for(let c=0;c<3;c+=1){const a=e.blocks[c];$(a)}n=!1},d(o){o&&p(t),e.block.d(),e.token=null,e=null}}}let he=!1;function $e(r,t,n){let e,o;N(r,Y,i=>n(6,e=i)),N(r,K,i=>n(7,o=i));const{namespace:c}=o.params,{workflow:a}=e,s={id:a.id,runId:a.runId};let l,_=U({namespace:c,workflow:s}).then(i=>(n(0,l=l||i[0]),i)),k;const b=i=>{n(1,k=X({namespace:c,workflow:s,queryType:i}))};function m(i){l=i,n(0,l)}const u=()=>b(l);return r.$$.update=()=>{r.$$.dirty&1&&l&&b(l)},[l,k,_,b,m,u]}class de extends A{constructor(t){super(),H(this,t,$e,_e,M,{})}}function ge(r){let t,n;return t=new de({}),{c(){q(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,o){I(t,e,o),n=!0},p:f,i(e){n||(h(t.$$.fragment,e),n=!0)},o(e){$(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}class Ae extends A{constructor(t){super(),H(this,t,null,ge,M,{})}}export{Ae as default}; diff --git a/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/stack-trace.svelte-26691939.js b/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/stack-trace.svelte-d0243cae.js similarity index 95% rename from server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/stack-trace.svelte-26691939.js rename to server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/stack-trace.svelte-d0243cae.js index f2d7ba5537..3696064807 100644 --- a/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/stack-trace.svelte-26691939.js +++ b/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/stack-trace.svelte-d0243cae.js @@ -1 +1 @@ -import{S as O,i as W,s as j,e as d,c as h,a as $,d as u,g,q as b,o as w,N,w as E,x as T,y as x,E as y,B as C,aa as B,l as P,ac as F,k as q,t as R,m as I,h as D,b as L,M as k,j as H}from"../../../../../../chunks/index-604742bf.js";import{p as M}from"../../../../../../chunks/stores-810822a9.js";import{w as z}from"../../../../../../chunks/workflow-run-60a1c465.js";import{b as V}from"../../../../../../chunks/query-service-1ec7a5fc.js";import{C as G}from"../../../../../../chunks/code-block-03609e84.js";import{B as J}from"../../../../../../chunks/button-0ce95595.js";import{E as A}from"../../../../../../chunks/empty-state-c50aaf3c.js";import"../../../../../../chunks/index-c9e619a8.js";import"../../../../../../chunks/with-loading-22689bcc.js";import"../../../../../../chunks/workflow-service-b18a98d3.js";import"../../../../../../chunks/simplify-attributes-64d6cf1a.js";import"../../../../../../chunks/format-date-919f4714.js";import"../../../../../../chunks/to-duration-271d3946.js";import"../../../../../../chunks/route-for-api-3a26c58e.js";import"../../../../../../chunks/notifications-cfed8e58.js";import"../../../../../../chunks/is-network-error-ac7c8caf.js";import"../../../../../../chunks/route-for-1f2060cd.js";import"../../../../../../chunks/atob-eb4fc9a1.js";import"../../../../../../chunks/index-0574ae1f.js";import"../../../../../../chunks/copy-to-clipboard-8832075c.js";function K(l){let t,e;return t=new A({props:{title:"No Stack Traces Found",dataCy:"query-stack-trace-empty"}}),{c(){E(t.$$.fragment)},l(r){T(t.$$.fragment,r)},m(r,n){x(t,r,n),e=!0},p:y,i(r){e||(b(t.$$.fragment,r),e=!0)},o(r){w(t.$$.fragment,r),e=!1},d(r){C(t,r)}}}function Q(l){let t,e,r,n={ctx:l,current:null,token:null,hasCatch:!0,pending:Z,then:X,catch:U,value:8,error:9,blocks:[,,,]};return B(e=l[1],n),{c(){t=P(),n.block.c()},l(o){t=P(),n.block.l(o)},m(o,a){g(o,t,a),n.block.m(o,n.anchor=a),n.mount=()=>t.parentNode,n.anchor=t,r=!0},p(o,a){l=o,n.ctx=l,a&2&&e!==(e=l[1])&&B(e,n)||F(n,l,a)},i(o){r||(b(n.block),r=!0)},o(o){for(let a=0;a<3;a+=1){const f=n.blocks[a];w(f)}r=!1},d(o){o&&u(t),n.block.d(o),n.token=null,n=null}}}function U(l){let t,e;return t=new A({props:{title:"An Error Occured",content:"Please make sure you have at least one worker running."}}),{c(){E(t.$$.fragment)},l(r){T(t.$$.fragment,r)},m(r,n){x(t,r,n),e=!0},p:y,i(r){e||(b(t.$$.fragment,r),e=!0)},o(r){w(t.$$.fragment,r),e=!1},d(r){C(t,r)}}}function X(l){let t,e,r,n,o,a=l[0].toLocaleTimeString()+"",f,c,s,m,_;return e=new J({props:{iconScale:.8,icon:"refresh",loading:et,$$slots:{default:[Y]},$$scope:{ctx:l}}}),e.$on("click",l[3]),m=new G({props:{content:l[8],language:"text",dataCy:"query-stack-trace"}}),{c(){t=d("div"),E(e.$$.fragment),r=q(),n=d("p"),o=R("Stack Trace at "),f=R(a),c=q(),s=d("div"),E(m.$$.fragment),this.h()},l(i){t=h(i,"DIV",{class:!0});var p=$(t);T(e.$$.fragment,p),r=I(p),n=h(p,"P",{});var v=$(n);o=D(v,"Stack Trace at "),f=D(v,a),v.forEach(u),p.forEach(u),c=I(i),s=h(i,"DIV",{class:!0});var S=$(s);T(m.$$.fragment,S),S.forEach(u),this.h()},h(){L(t,"class","flex items-center gap-4"),L(s,"class","flex items-start h-full")},m(i,p){g(i,t,p),x(e,t,null),k(t,r),k(t,n),k(n,o),k(n,f),g(i,c,p),g(i,s,p),x(m,s,null),_=!0},p(i,p){const v={};p&1024&&(v.$$scope={dirty:p,ctx:i}),e.$set(v),(!_||p&1)&&a!==(a=i[0].toLocaleTimeString()+"")&&H(f,a);const S={};p&2&&(S.content=i[8]),m.$set(S)},i(i){_||(b(e.$$.fragment,i),b(m.$$.fragment,i),_=!0)},o(i){w(e.$$.fragment,i),w(m.$$.fragment,i),_=!1},d(i){i&&u(t),C(e),i&&u(c),i&&u(s),C(m)}}}function Y(l){let t;return{c(){t=R("Refresh")},l(e){t=D(e,"Refresh")},m(e,r){g(e,t,r)},d(e){e&&u(t)}}}function Z(l){let t,e,r,n,o,a;return{c(){t=d("div"),e=d("h2"),r=R("Loading\u2026"),n=q(),o=d("p"),a=R("(This will fail if you have no workers running.)"),this.h()},l(f){t=h(f,"DIV",{class:!0});var c=$(t);e=h(c,"H2",{class:!0});var s=$(e);r=D(s,"Loading\u2026"),s.forEach(u),n=I(c),o=h(c,"P",{});var m=$(o);a=D(m,"(This will fail if you have no workers running.)"),m.forEach(u),c.forEach(u),this.h()},h(){L(e,"class","font-bold text-2xl mb-4"),L(t,"class","text-center")},m(f,c){g(f,t,c),k(t,e),k(e,r),k(t,n),k(t,o),k(o,a)},p:y,i:y,o:y,d(f){f&&u(t)}}}function tt(l){let t,e,r,n;const o=[Q,K],a=[];function f(c,s){return c[2].isRunning?0:1}return e=f(l),r=a[e]=o[e](l),{c(){t=d("section"),r.c()},l(c){t=h(c,"SECTION",{});var s=$(t);r.l(s),s.forEach(u)},m(c,s){g(c,t,s),a[e].m(t,null),n=!0},p(c,[s]){r.p(c,s)},i(c){n||(b(r),n=!0)},o(c){w(r),n=!1},d(c){c&&u(t),a[e].d()}}}let et=!1;function rt(l,t,e){let r,n;N(l,z,_=>e(4,r=_)),N(l,M,_=>e(5,n=_));const{namespace:o}=n.params,{workflow:a}=r;let f=new Date;const c=()=>V({workflow:a,namespace:o});let s;const m=()=>{e(1,s=V({workflow:a,namespace:o})),s.then(()=>{e(0,f=new Date)})};return a.isRunning&&e(1,s=c()),[f,s,a,m]}class nt extends O{constructor(t){super(),W(this,t,rt,tt,j,{})}}function at(l){let t,e;return t=new nt({}),{c(){E(t.$$.fragment)},l(r){T(t.$$.fragment,r)},m(r,n){x(t,r,n),e=!0},p:y,i(r){e||(b(t.$$.fragment,r),e=!0)},o(r){w(t.$$.fragment,r),e=!1},d(r){C(t,r)}}}class Et extends O{constructor(t){super(),W(this,t,null,at,j,{})}}export{Et as default}; +import{S as O,i as W,s as j,e as d,c as h,a as $,d as u,g,q as b,o as w,N,w as E,x as T,y as x,E as y,B as C,aa as B,l as P,ac as F,k as q,t as R,m as I,h as D,b as L,M as k,j as H}from"../../../../../../chunks/index-604742bf.js";import{p as M}from"../../../../../../chunks/stores-810822a9.js";import{w as z}from"../../../../../../chunks/workflow-run-4b2466b3.js";import{b as V}from"../../../../../../chunks/query-service-3f8ed2d0.js";import{C as G}from"../../../../../../chunks/code-block-03609e84.js";import{B as J}from"../../../../../../chunks/button-0ce95595.js";import{E as A}from"../../../../../../chunks/empty-state-c50aaf3c.js";import"../../../../../../chunks/index-c9e619a8.js";import"../../../../../../chunks/with-loading-22689bcc.js";import"../../../../../../chunks/workflow-service-250a9fea.js";import"../../../../../../chunks/simplify-attributes-64d6cf1a.js";import"../../../../../../chunks/format-date-919f4714.js";import"../../../../../../chunks/to-duration-271d3946.js";import"../../../../../../chunks/route-for-api-605baeb9.js";import"../../../../../../chunks/notifications-cfed8e58.js";import"../../../../../../chunks/is-network-error-ac7c8caf.js";import"../../../../../../chunks/route-for-1f2060cd.js";import"../../../../../../chunks/atob-eb4fc9a1.js";import"../../../../../../chunks/index-0574ae1f.js";import"../../../../../../chunks/copy-to-clipboard-8832075c.js";function K(l){let t,e;return t=new A({props:{title:"No Stack Traces Found",dataCy:"query-stack-trace-empty"}}),{c(){E(t.$$.fragment)},l(r){T(t.$$.fragment,r)},m(r,n){x(t,r,n),e=!0},p:y,i(r){e||(b(t.$$.fragment,r),e=!0)},o(r){w(t.$$.fragment,r),e=!1},d(r){C(t,r)}}}function Q(l){let t,e,r,n={ctx:l,current:null,token:null,hasCatch:!0,pending:Z,then:X,catch:U,value:8,error:9,blocks:[,,,]};return B(e=l[1],n),{c(){t=P(),n.block.c()},l(o){t=P(),n.block.l(o)},m(o,a){g(o,t,a),n.block.m(o,n.anchor=a),n.mount=()=>t.parentNode,n.anchor=t,r=!0},p(o,a){l=o,n.ctx=l,a&2&&e!==(e=l[1])&&B(e,n)||F(n,l,a)},i(o){r||(b(n.block),r=!0)},o(o){for(let a=0;a<3;a+=1){const f=n.blocks[a];w(f)}r=!1},d(o){o&&u(t),n.block.d(o),n.token=null,n=null}}}function U(l){let t,e;return t=new A({props:{title:"An Error Occured",content:"Please make sure you have at least one worker running."}}),{c(){E(t.$$.fragment)},l(r){T(t.$$.fragment,r)},m(r,n){x(t,r,n),e=!0},p:y,i(r){e||(b(t.$$.fragment,r),e=!0)},o(r){w(t.$$.fragment,r),e=!1},d(r){C(t,r)}}}function X(l){let t,e,r,n,o,a=l[0].toLocaleTimeString()+"",f,c,s,m,_;return e=new J({props:{iconScale:.8,icon:"refresh",loading:et,$$slots:{default:[Y]},$$scope:{ctx:l}}}),e.$on("click",l[3]),m=new G({props:{content:l[8],language:"text",dataCy:"query-stack-trace"}}),{c(){t=d("div"),E(e.$$.fragment),r=q(),n=d("p"),o=R("Stack Trace at "),f=R(a),c=q(),s=d("div"),E(m.$$.fragment),this.h()},l(i){t=h(i,"DIV",{class:!0});var p=$(t);T(e.$$.fragment,p),r=I(p),n=h(p,"P",{});var v=$(n);o=D(v,"Stack Trace at "),f=D(v,a),v.forEach(u),p.forEach(u),c=I(i),s=h(i,"DIV",{class:!0});var S=$(s);T(m.$$.fragment,S),S.forEach(u),this.h()},h(){L(t,"class","flex items-center gap-4"),L(s,"class","flex items-start h-full")},m(i,p){g(i,t,p),x(e,t,null),k(t,r),k(t,n),k(n,o),k(n,f),g(i,c,p),g(i,s,p),x(m,s,null),_=!0},p(i,p){const v={};p&1024&&(v.$$scope={dirty:p,ctx:i}),e.$set(v),(!_||p&1)&&a!==(a=i[0].toLocaleTimeString()+"")&&H(f,a);const S={};p&2&&(S.content=i[8]),m.$set(S)},i(i){_||(b(e.$$.fragment,i),b(m.$$.fragment,i),_=!0)},o(i){w(e.$$.fragment,i),w(m.$$.fragment,i),_=!1},d(i){i&&u(t),C(e),i&&u(c),i&&u(s),C(m)}}}function Y(l){let t;return{c(){t=R("Refresh")},l(e){t=D(e,"Refresh")},m(e,r){g(e,t,r)},d(e){e&&u(t)}}}function Z(l){let t,e,r,n,o,a;return{c(){t=d("div"),e=d("h2"),r=R("Loading\u2026"),n=q(),o=d("p"),a=R("(This will fail if you have no workers running.)"),this.h()},l(f){t=h(f,"DIV",{class:!0});var c=$(t);e=h(c,"H2",{class:!0});var s=$(e);r=D(s,"Loading\u2026"),s.forEach(u),n=I(c),o=h(c,"P",{});var m=$(o);a=D(m,"(This will fail if you have no workers running.)"),m.forEach(u),c.forEach(u),this.h()},h(){L(e,"class","font-bold text-2xl mb-4"),L(t,"class","text-center")},m(f,c){g(f,t,c),k(t,e),k(e,r),k(t,n),k(t,o),k(o,a)},p:y,i:y,o:y,d(f){f&&u(t)}}}function tt(l){let t,e,r,n;const o=[Q,K],a=[];function f(c,s){return c[2].isRunning?0:1}return e=f(l),r=a[e]=o[e](l),{c(){t=d("section"),r.c()},l(c){t=h(c,"SECTION",{});var s=$(t);r.l(s),s.forEach(u)},m(c,s){g(c,t,s),a[e].m(t,null),n=!0},p(c,[s]){r.p(c,s)},i(c){n||(b(r),n=!0)},o(c){w(r),n=!1},d(c){c&&u(t),a[e].d()}}}let et=!1;function rt(l,t,e){let r,n;N(l,z,_=>e(4,r=_)),N(l,M,_=>e(5,n=_));const{namespace:o}=n.params,{workflow:a}=r;let f=new Date;const c=()=>V({workflow:a,namespace:o});let s;const m=()=>{e(1,s=V({workflow:a,namespace:o})),s.then(()=>{e(0,f=new Date)})};return a.isRunning&&e(1,s=c()),[f,s,a,m]}class nt extends O{constructor(t){super(),W(this,t,rt,tt,j,{})}}function at(l){let t,e;return t=new nt({}),{c(){E(t.$$.fragment)},l(r){T(t.$$.fragment,r)},m(r,n){x(t,r,n),e=!0},p:y,i(r){e||(b(t.$$.fragment,r),e=!0)},o(r){w(t.$$.fragment,r),e=!1},d(r){C(t,r)}}}class Et extends O{constructor(t){super(),W(this,t,null,at,j,{})}}export{Et as default}; diff --git a/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/workers.svelte-67a020df.js b/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/workers.svelte-5f22688c.js similarity index 96% rename from server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/workers.svelte-67a020df.js rename to server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/workers.svelte-5f22688c.js index f264bc9b6a..782a68c47f 100644 --- a/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/workers.svelte-67a020df.js +++ b/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/_workflow_/_run_/workers.svelte-5f22688c.js @@ -1 +1 @@ -import{S as ie,i as fe,s as ue,e as p,t as L,k as C,c as h,a as k,h as M,d as u,m as N,b as d,g as de,M as a,j as me,q as T,o as D,w as q,x as j,y as B,E as _e,B as K,n as re,a7 as pe,p as le,N as ae,al as he}from"../../../../../../chunks/index-604742bf.js";import{I as ee}from"../../../../../../chunks/index-0574ae1f.js";import{w as ke}from"../../../../../../chunks/workflow-run-60a1c465.js";import{t as ve}from"../../../../../../chunks/time-format-6fa48b0d.js";import{f as se}from"../../../../../../chunks/format-date-919f4714.js";import{E as $e}from"../../../../../../chunks/empty-state-c50aaf3c.js";import"../../../../../../chunks/index-c9e619a8.js";import"../../../../../../chunks/stores-810822a9.js";import"../../../../../../chunks/with-loading-22689bcc.js";import"../../../../../../chunks/workflow-service-b18a98d3.js";import"../../../../../../chunks/simplify-attributes-64d6cf1a.js";import"../../../../../../chunks/route-for-api-3a26c58e.js";import"../../../../../../chunks/notifications-cfed8e58.js";import"../../../../../../chunks/is-network-error-ac7c8caf.js";import"../../../../../../chunks/route-for-1f2060cd.js";import"../../../../../../chunks/to-duration-271d3946.js";import"../../../../../../chunks/persist-store-26f405dd.js";function oe(_,t,r){const e=_.slice();return e[4]=t[r],e}function ne(_){let t,r;return t=new $e({props:{title:"No Workers Found"}}),{c(){q(t.$$.fragment)},l(e){j(t.$$.fragment,e)},m(e,s){B(t,e,s),r=!0},p:_e,i(e){r||(T(t.$$.fragment,e),r=!0)},o(e){D(t.$$.fragment,e),r=!1},d(e){K(t,e)}}}function ge(_){let t,r;return t=new ee({props:{name:"close",stroke:"black"}}),{c(){q(t.$$.fragment)},l(e){j(t.$$.fragment,e)},m(e,s){B(t,e,s),r=!0},i(e){r||(T(t.$$.fragment,e),r=!0)},o(e){D(t.$$.fragment,e),r=!1},d(e){K(t,e)}}}function we(_){let t,r;return t=new ee({props:{name:"checkMark",stroke:"blue"}}),{c(){q(t.$$.fragment)},l(e){j(t.$$.fragment,e)},m(e,s){B(t,e,s),r=!0},i(e){r||(T(t.$$.fragment,e),r=!0)},o(e){D(t.$$.fragment,e),r=!1},d(e){K(t,e)}}}function be(_){let t,r;return t=new ee({props:{name:"close",stroke:"black"}}),{c(){q(t.$$.fragment)},l(e){j(t.$$.fragment,e)},m(e,s){B(t,e,s),r=!0},i(e){r||(T(t.$$.fragment,e),r=!0)},o(e){D(t.$$.fragment,e),r=!1},d(e){K(t,e)}}}function ye(_){let t,r;return t=new ee({props:{name:"checkMark",stroke:"blue"}}),{c(){q(t.$$.fragment)},l(e){j(t.$$.fragment,e)},m(e,s){B(t,e,s),r=!0},i(e){r||(T(t.$$.fragment,e),r=!0)},o(e){D(t.$$.fragment,e),r=!1},d(e){K(t,e)}}}function ce(_,t){let r,e,s,O=t[4].identity+"",V,w,f,m,v,A=se(t[4].lastAccessTime,t[0])+"",Q,y,E,W,$,R,x,g,H,P,i;const X=[we,ge],S=[];function I(l,o){return l[4].taskQueueTypes.includes("WORKFLOW")?0:1}W=I(t),$=S[W]=X[W](t);const Z=[ye,be],c=[];function n(l,o){return l[4].taskQueueTypes.includes("ACTIVITY")?0:1}return g=n(t),H=c[g]=Z[g](t),{key:_,first:null,c(){r=p("article"),e=p("div"),s=p("p"),V=L(O),w=C(),f=p("div"),m=p("h3"),v=p("p"),Q=L(A),y=C(),E=p("div"),$.c(),R=C(),x=p("div"),H.c(),P=C(),this.h()},l(l){r=h(l,"ARTICLE",{class:!0,"data-cy":!0});var o=k(r);e=h(o,"DIV",{class:!0,"data-cy":!0});var Y=k(e);s=h(Y,"P",{class:!0});var F=k(s);V=M(F,O),F.forEach(u),Y.forEach(u),w=N(o),f=h(o,"DIV",{class:!0,"data-cy":!0});var b=k(f);m=h(b,"H3",{});var z=k(m);v=h(z,"P",{class:!0});var G=k(v);Q=M(G,A),G.forEach(u),z.forEach(u),b.forEach(u),y=N(o),E=h(o,"DIV",{class:!0});var J=k(E);$.l(J),J.forEach(u),R=N(o),x=h(o,"DIV",{class:!0});var U=k(x);H.l(U),U.forEach(u),P=N(o),o.forEach(u),this.h()},h(){d(s,"class","select-all"),d(e,"class","links w-3/12 text-left"),d(e,"data-cy","worker-identity"),d(v,"class","select-all"),d(f,"class","links w-3/12 text-left"),d(f,"data-cy","worker-last-access-time"),d(E,"class","w-3/12 text-left"),d(x,"class","w-3/12 text-left"),d(r,"class","flex h-full w-full flex-row border-b-2 p-2 no-underline last:border-b-0"),d(r,"data-cy","worker-row"),this.first=r},m(l,o){de(l,r,o),a(r,e),a(e,s),a(s,V),a(r,w),a(r,f),a(f,m),a(m,v),a(v,Q),a(r,y),a(r,E),S[W].m(E,null),a(r,R),a(r,x),c[g].m(x,null),a(r,P),i=!0},p(l,o){t=l,(!i||o&1)&&A!==(A=se(t[4].lastAccessTime,t[0])+"")&&me(Q,A)},i(l){i||(T($),T(H),i=!0)},o(l){D($),D(H),i=!1},d(l){l&&u(r),S[W].d(),c[g].d()}}}function Ee(_){let t,r,e,s,O=_[2].taskQueue+"",V,w,f,m,v,A,Q,y,E,W,$,R,x,g,H,P,i=[],X=new Map,S,I=_[1].pollers;const Z=n=>n[4].identity;for(let n=0;n{c=null}),le()):(c=ne(),c.c(),T(c,1),c.m(f,null)))},i(n){if(!S){for(let l=0;lr(3,e=w)),ae(_,ve,w=>r(0,s=w));const{workers:O,workflow:V}=e;return[s,O,V]}class Ie extends ie{constructor(t){super(),fe(this,t,xe,Ee,ue,{})}}function Te(_){let t,r;return t=new Ie({}),{c(){q(t.$$.fragment)},l(e){j(t.$$.fragment,e)},m(e,s){B(t,e,s),r=!0},p:_e,i(e){r||(T(t.$$.fragment,e),r=!0)},o(e){D(t.$$.fragment,e),r=!1},d(e){K(t,e)}}}class Be extends ie{constructor(t){super(),fe(this,t,null,Te,ue,{})}}export{Be as default}; +import{S as ie,i as fe,s as ue,e as p,t as L,k as C,c as h,a as k,h as M,d as u,m as N,b as d,g as de,M as a,j as me,q as T,o as D,w as q,x as j,y as B,E as _e,B as K,n as re,a7 as pe,p as le,N as ae,al as he}from"../../../../../../chunks/index-604742bf.js";import{I as ee}from"../../../../../../chunks/index-0574ae1f.js";import{w as ke}from"../../../../../../chunks/workflow-run-4b2466b3.js";import{t as ve}from"../../../../../../chunks/time-format-6fa48b0d.js";import{f as se}from"../../../../../../chunks/format-date-919f4714.js";import{E as $e}from"../../../../../../chunks/empty-state-c50aaf3c.js";import"../../../../../../chunks/index-c9e619a8.js";import"../../../../../../chunks/stores-810822a9.js";import"../../../../../../chunks/with-loading-22689bcc.js";import"../../../../../../chunks/workflow-service-250a9fea.js";import"../../../../../../chunks/simplify-attributes-64d6cf1a.js";import"../../../../../../chunks/route-for-api-605baeb9.js";import"../../../../../../chunks/notifications-cfed8e58.js";import"../../../../../../chunks/is-network-error-ac7c8caf.js";import"../../../../../../chunks/route-for-1f2060cd.js";import"../../../../../../chunks/to-duration-271d3946.js";import"../../../../../../chunks/persist-store-26f405dd.js";function oe(_,t,r){const e=_.slice();return e[4]=t[r],e}function ne(_){let t,r;return t=new $e({props:{title:"No Workers Found"}}),{c(){q(t.$$.fragment)},l(e){j(t.$$.fragment,e)},m(e,s){B(t,e,s),r=!0},p:_e,i(e){r||(T(t.$$.fragment,e),r=!0)},o(e){D(t.$$.fragment,e),r=!1},d(e){K(t,e)}}}function ge(_){let t,r;return t=new ee({props:{name:"close",stroke:"black"}}),{c(){q(t.$$.fragment)},l(e){j(t.$$.fragment,e)},m(e,s){B(t,e,s),r=!0},i(e){r||(T(t.$$.fragment,e),r=!0)},o(e){D(t.$$.fragment,e),r=!1},d(e){K(t,e)}}}function we(_){let t,r;return t=new ee({props:{name:"checkMark",stroke:"blue"}}),{c(){q(t.$$.fragment)},l(e){j(t.$$.fragment,e)},m(e,s){B(t,e,s),r=!0},i(e){r||(T(t.$$.fragment,e),r=!0)},o(e){D(t.$$.fragment,e),r=!1},d(e){K(t,e)}}}function be(_){let t,r;return t=new ee({props:{name:"close",stroke:"black"}}),{c(){q(t.$$.fragment)},l(e){j(t.$$.fragment,e)},m(e,s){B(t,e,s),r=!0},i(e){r||(T(t.$$.fragment,e),r=!0)},o(e){D(t.$$.fragment,e),r=!1},d(e){K(t,e)}}}function ye(_){let t,r;return t=new ee({props:{name:"checkMark",stroke:"blue"}}),{c(){q(t.$$.fragment)},l(e){j(t.$$.fragment,e)},m(e,s){B(t,e,s),r=!0},i(e){r||(T(t.$$.fragment,e),r=!0)},o(e){D(t.$$.fragment,e),r=!1},d(e){K(t,e)}}}function ce(_,t){let r,e,s,O=t[4].identity+"",V,w,f,m,v,A=se(t[4].lastAccessTime,t[0])+"",Q,y,E,W,$,R,x,g,H,P,i;const X=[we,ge],S=[];function I(l,o){return l[4].taskQueueTypes.includes("WORKFLOW")?0:1}W=I(t),$=S[W]=X[W](t);const Z=[ye,be],c=[];function n(l,o){return l[4].taskQueueTypes.includes("ACTIVITY")?0:1}return g=n(t),H=c[g]=Z[g](t),{key:_,first:null,c(){r=p("article"),e=p("div"),s=p("p"),V=L(O),w=C(),f=p("div"),m=p("h3"),v=p("p"),Q=L(A),y=C(),E=p("div"),$.c(),R=C(),x=p("div"),H.c(),P=C(),this.h()},l(l){r=h(l,"ARTICLE",{class:!0,"data-cy":!0});var o=k(r);e=h(o,"DIV",{class:!0,"data-cy":!0});var Y=k(e);s=h(Y,"P",{class:!0});var F=k(s);V=M(F,O),F.forEach(u),Y.forEach(u),w=N(o),f=h(o,"DIV",{class:!0,"data-cy":!0});var b=k(f);m=h(b,"H3",{});var z=k(m);v=h(z,"P",{class:!0});var G=k(v);Q=M(G,A),G.forEach(u),z.forEach(u),b.forEach(u),y=N(o),E=h(o,"DIV",{class:!0});var J=k(E);$.l(J),J.forEach(u),R=N(o),x=h(o,"DIV",{class:!0});var U=k(x);H.l(U),U.forEach(u),P=N(o),o.forEach(u),this.h()},h(){d(s,"class","select-all"),d(e,"class","links w-3/12 text-left"),d(e,"data-cy","worker-identity"),d(v,"class","select-all"),d(f,"class","links w-3/12 text-left"),d(f,"data-cy","worker-last-access-time"),d(E,"class","w-3/12 text-left"),d(x,"class","w-3/12 text-left"),d(r,"class","flex h-full w-full flex-row border-b-2 p-2 no-underline last:border-b-0"),d(r,"data-cy","worker-row"),this.first=r},m(l,o){de(l,r,o),a(r,e),a(e,s),a(s,V),a(r,w),a(r,f),a(f,m),a(m,v),a(v,Q),a(r,y),a(r,E),S[W].m(E,null),a(r,R),a(r,x),c[g].m(x,null),a(r,P),i=!0},p(l,o){t=l,(!i||o&1)&&A!==(A=se(t[4].lastAccessTime,t[0])+"")&&me(Q,A)},i(l){i||(T($),T(H),i=!0)},o(l){D($),D(H),i=!1},d(l){l&&u(r),S[W].d(),c[g].d()}}}function Ee(_){let t,r,e,s,O=_[2].taskQueue+"",V,w,f,m,v,A,Q,y,E,W,$,R,x,g,H,P,i=[],X=new Map,S,I=_[1].pollers;const Z=n=>n[4].identity;for(let n=0;n{c=null}),le()):(c=ne(),c.c(),T(c,1),c.m(f,null)))},i(n){if(!S){for(let l=0;lr(3,e=w)),ae(_,ve,w=>r(0,s=w));const{workers:O,workflow:V}=e;return[s,O,V]}class Ie extends ie{constructor(t){super(),fe(this,t,xe,Ee,ue,{})}}function Te(_){let t,r;return t=new Ie({}),{c(){q(t.$$.fragment)},l(e){j(t.$$.fragment,e)},m(e,s){B(t,e,s),r=!0},p:_e,i(e){r||(T(t.$$.fragment,e),r=!0)},o(e){D(t.$$.fragment,e),r=!1},d(e){K(t,e)}}}class Be extends ie{constructor(t){super(),fe(this,t,null,Te,ue,{})}}export{Be as default}; diff --git a/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/index@root.svelte-4bfa9e3b.js b/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/index@root.svelte-9fe5bd57.js similarity index 98% rename from server/generated/ui/_app/pages/namespaces/_namespace_/workflows/index@root.svelte-4bfa9e3b.js rename to server/generated/ui/_app/pages/namespaces/_namespace_/workflows/index@root.svelte-9fe5bd57.js index 4e8271059f..af81959858 100644 --- a/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/index@root.svelte-4bfa9e3b.js +++ b/server/generated/ui/_app/pages/namespaces/_namespace_/workflows/index@root.svelte-9fe5bd57.js @@ -1 +1 @@ -import{S as G,i as Z,s as J,e as N,w as S,c as x,a as A,x as R,d,b as y,g as q,y as E,q as h,o as $,B as I,T as H,t as j,k as C,h as D,m as P,R as X,M as W,ab as he,j as ie,n as O,p as B,G as je,N as L,W as ve,ar as We,_ as Q,$ as U,Z as z,l as F,ad as Ce,a7 as De,al as Fe,E as K,an as Le,a9 as Oe}from"../../../../chunks/index-604742bf.js";import{p as Pe}from"../../../../chunks/stores-810822a9.js";import{t as ae}from"../../../../chunks/time-format-6fa48b0d.js";import{w as de,l as Be,a as Ve,u as Me}from"../../../../chunks/workflows-92f8c48f.js";import{s as Qe,k as Y}from"../../../../chunks/to-duration-271d3946.js";import{t as se,W as Ue,a as ze}from"../../../../chunks/workflows-summary-row-2c944249.js";import{E as He}from"../../../../chunks/empty-state-c50aaf3c.js";import{P as Ge}from"../../../../chunks/pagination-bd44ecb0.js";import{j as Ze}from"../../../../chunks/index-c0547148.js";import{g as le}from"../../../../chunks/navigation-6709cf39.js";import{u as ne}from"../../../../chunks/update-query-parameters-08bf783c.js";import{t as $e}from"../../../../chunks/workflow-service-b18a98d3.js";import{S as oe,O as M}from"../../../../chunks/select-4556bdf3.js";import{c as Je}from"../../../../chunks/copy-to-clipboard-8832075c.js";import{I as ue}from"../../../../chunks/index-0574ae1f.js";import{S as Ke}from"../../../../chunks/search-b2185bce.js";import"../../../../chunks/persist-store-26f405dd.js";import"../../../../chunks/index-c9e619a8.js";import"../../../../chunks/with-loading-22689bcc.js";import"../../../../chunks/format-date-919f4714.js";import"../../../../chunks/route-for-1f2060cd.js";import"../../../../chunks/workflow-status-ca8cb7e9.js";import"../../../../chunks/filter-select-ee707cee.js";import"../../../../chunks/singletons-d1fb5791.js";import"../../../../chunks/simplify-attributes-64d6cf1a.js";import"../../../../chunks/route-for-api-3a26c58e.js";import"../../../../chunks/notifications-cfed8e58.js";import"../../../../chunks/is-network-error-ac7c8caf.js";import"../../../../chunks/button-0ce95595.js";const Xe=n=>Qe(n)?n==="basic"||n==="advanced":!1,Ye=n=>{const e=n.searchParams.get("search");return Xe(e)?e:(n.searchParams.set("search","basic"),"basic")};function be(n){let e,r,t;return r=new ue({props:{name:n[3],scale:.9,stroke:"currentcolor"}}),{c(){e=N("span"),S(r.$$.fragment),this.h()},l(l){e=x(l,"SPAN",{class:!0});var a=A(e);R(r.$$.fragment,a),a.forEach(d),this.h()},h(){y(e,"class","icon-container svelte-1q5vx5u")},m(l,a){q(l,e,a),E(r,e,null),t=!0},p(l,a){const s={};a&8&&(s.name=l[3]),r.$set(s)},i(l){t||(h(r.$$.fragment,l),t=!0)},o(l){$(r.$$.fragment,l),t=!1},d(l){l&&d(e),I(r)}}}function we(n){let e,r,t,l,a;return r=new ue({props:{name:n[8]?"checkMark":"copy",stroke:"currentcolor"}}),{c(){e=N("div"),S(r.$$.fragment),this.h()},l(s){e=x(s,"DIV",{class:!0});var o=A(e);R(r.$$.fragment,o),o.forEach(d),this.h()},h(){y(e,"class","copy-icon-container svelte-1q5vx5u")},m(s,o){q(s,e,o),E(r,e,null),t=!0,l||(a=H(e,"click",n[9]),l=!0)},p(s,o){const i={};o&256&&(i.name=s[8]?"checkMark":"copy"),r.$set(i)},i(s){t||(h(r.$$.fragment,s),t=!0)},o(s){$(r.$$.fragment,s),t=!1},d(s){s&&d(e),I(r),l=!1,a()}}}function et(n){let e,r,t,l,a,s,o,i,u,w,c,f=n[3]!==""&&be(n),m=n[6]&&we(n);return{c(){e=N("div"),r=N("label"),t=j(n[2]),l=C(),f&&f.c(),a=C(),s=N("input"),o=C(),m&&m.c(),this.h()},l(p){e=x(p,"DIV",{class:!0});var _=A(e);r=x(_,"LABEL",{for:!0,class:!0});var g=A(r);t=D(g,n[2]),g.forEach(d),l=P(_),f&&f.l(_),a=P(_),s=x(_,"INPUT",{class:!0,placeholder:!0,id:!0,name:!0}),o=P(_),m&&m.l(_),_.forEach(d),this.h()},h(){y(r,"for",n[1]),y(r,"class","hidden"),y(s,"class","m-2 block w-full bg-white focus:outline-none svelte-1q5vx5u"),s.disabled=n[6],y(s,"placeholder",n[4]),y(s,"id",n[1]),y(s,"name",n[5]),X(s,"copyable",n[6]),y(e,"class",i="input-container "+n[7]+" svelte-1q5vx5u"),X(e,"copyable",n[6])},m(p,_){q(p,e,_),W(e,r),W(r,t),W(e,l),f&&f.m(e,null),W(e,a),W(e,s),he(s,n[0]),W(e,o),m&&m.m(e,null),u=!0,w||(c=[H(s,"input",n[13]),H(s,"input",n[11]),H(s,"change",n[12])],w=!0)},p(p,[_]){(!u||_&4)&&ie(t,p[2]),(!u||_&2)&&y(r,"for",p[1]),p[3]!==""?f?(f.p(p,_),_&8&&h(f,1)):(f=be(p),f.c(),h(f,1),f.m(e,a)):f&&(O(),$(f,1,1,()=>{f=null}),B()),(!u||_&64)&&(s.disabled=p[6]),(!u||_&16)&&y(s,"placeholder",p[4]),(!u||_&2)&&y(s,"id",p[1]),(!u||_&32)&&y(s,"name",p[5]),_&1&&s.value!==p[0]&&he(s,p[0]),_&64&&X(s,"copyable",p[6]),p[6]?m?(m.p(p,_),_&64&&h(m,1)):(m=we(p),m.c(),h(m,1),m.m(e,null)):m&&(O(),$(m,1,1,()=>{m=null}),B()),(!u||_&128&&i!==(i="input-container "+p[7]+" svelte-1q5vx5u"))&&y(e,"class",i),_&192&&X(e,"copyable",p[6])},i(p){u||(h(f),h(m),u=!0)},o(p){$(f),$(m),u=!1},d(p){p&&d(e),f&&f.d(),m&&m.d(),w=!1,je(c)}}}function tt(n,e,r){let t,{id:l}=e,{label:a}=e,{value:s}=e,{icon:o=""}=e,{placeholder:i=a}=e,{name:u=l}=e,{copyable:w=!1}=e,{theme:c="light"}=e;const{copy:f,copied:m}=Je(s);L(n,m,v=>r(8,t=v));function p(v){ve.call(this,n,v)}function _(v){ve.call(this,n,v)}function g(){s=this.value,r(0,s)}return n.$$set=v=>{"id"in v&&r(1,l=v.id),"label"in v&&r(2,a=v.label),"value"in v&&r(0,s=v.value),"icon"in v&&r(3,o=v.icon),"placeholder"in v&&r(4,i=v.placeholder),"name"in v&&r(5,u=v.name),"copyable"in v&&r(6,w=v.copyable),"theme"in v&&r(7,c=v.theme)},[s,l,a,o,i,u,w,c,t,f,m,p,_,g]}class ke extends G{constructor(e){super(),Z(this,e,tt,et,J,{id:1,label:2,value:0,icon:3,placeholder:4,name:5,copyable:6,theme:7})}}function ye(n,e,r){const t=n.slice();return t[15]=e[r][0],t[16]=e[r][1],t}function qe(n,e,r){const t=n.slice();return t[16]=e[r],t}function rt(n){let e,r,t,l,a;return{c(){e=N("a"),r=j("Advanced Search"),this.h()},l(s){e=x(s,"A",{href:!0,class:!0});var o=A(e);r=D(o,"Advanced Search"),o.forEach(d),this.h()},h(){y(e,"href",t=n[2].url.pathname+"?searchType=advanced"),y(e,"class","text-blue-700")},m(s,o){q(s,e,o),W(e,r),l||(a=H(e,"click",We(n[6]("advanced"))),l=!0)},p(s,o){o&4&&t!==(t=s[2].url.pathname+"?searchType=advanced")&&y(e,"href",t)},d(s){s&&d(e),l=!1,a()}}}function lt(n){let e,r,t,l,a;return{c(){e=N("a"),r=j("Basic Search"),this.h()},l(s){e=x(s,"A",{href:!0,class:!0});var o=A(e);r=D(o,"Basic Search"),o.forEach(d),this.h()},h(){y(e,"href",t=n[2].url.pathname+"?searchType=basic"),y(e,"class","text-blue-700")},m(s,o){q(s,e,o),W(e,r),l||(a=H(e,"click",We(n[6]("basic"))),l=!0)},p(s,o){o&4&&t!==(t=s[2].url.pathname+"?searchType=basic")&&y(e,"href",t)},d(s){s&&d(e),l=!1,a()}}}function nt(n){let e,r,t,l,a,s,o,i,u,w,c,f,m,p,_,g;function v(b){n[9](b)}let k={icon:"search",id:"workflow-id-filter",label:"Workflow ID"};n[3].workflowId!==void 0&&(k.value=n[3].workflowId),r=new ke({props:k}),Q.push(()=>U(r,"value",v)),r.$on("input",n[8]);function V(b){n[10](b)}let ce={icon:"search",id:"workflow-type-filter",label:"Workflow Type"};n[3].workflowType!==void 0&&(ce.value=n[3].workflowType),a=new ke({props:ce}),Q.push(()=>U(a,"value",V)),a.$on("input",n[8]);function Ne(b){n[11](b)}let fe={id:"time-range-filter",label:"Time Range",$$slots:{default:[ut]},$$scope:{ctx:n}};n[3].timeRange!==void 0&&(fe.value=n[3].timeRange),i=new oe({props:fe}),Q.push(()=>U(i,"value",Ne)),i.$on("change",n[8]);function xe(b){n[12](b)}let pe={id:"execution-status-filter",label:"Workflow Status",$$slots:{default:[ft]},$$scope:{ctx:n}};n[3].executionStatus!==void 0&&(pe.value=n[3].executionStatus),c=new oe({props:pe}),Q.push(()=>U(c,"value",xe)),c.$on("change",n[8]);function Ae(b){n[13](b)}let me={id:"filter-by-relative-time",$$slots:{default:[gt]},$$scope:{ctx:n}};return n[4]!==void 0&&(me.value=n[4]),p=new oe({props:me}),Q.push(()=>U(p,"value",Ae)),{c(){e=N("div"),S(r.$$.fragment),l=C(),S(a.$$.fragment),o=C(),S(i.$$.fragment),w=C(),S(c.$$.fragment),m=C(),S(p.$$.fragment),this.h()},l(b){e=x(b,"DIV",{class:!0});var T=A(e);R(r.$$.fragment,T),l=P(T),R(a.$$.fragment,T),o=P(T),R(i.$$.fragment,T),w=P(T),R(c.$$.fragment,T),m=P(T),R(p.$$.fragment,T),T.forEach(d),this.h()},h(){y(e,"class","grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-5")},m(b,T){q(b,e,T),E(r,e,null),W(e,l),E(a,e,null),W(e,o),E(i,e,null),W(e,w),E(c,e,null),W(e,m),E(p,e,null),g=!0},p(b,T){const _e={};!t&&T&8&&(t=!0,_e.value=b[3].workflowId,z(()=>t=!1)),r.$set(_e);const ge={};!s&&T&8&&(s=!0,ge.value=b[3].workflowType,z(()=>s=!1)),a.$set(ge);const ee={};T&2097160&&(ee.$$scope={dirty:T,ctx:b}),!u&&T&8&&(u=!0,ee.value=b[3].timeRange,z(()=>u=!1)),i.$set(ee);const te={};T&2097152&&(te.$$scope={dirty:T,ctx:b}),!f&&T&8&&(f=!0,te.value=b[3].executionStatus,z(()=>f=!1)),c.$set(te);const re={};T&2097152&&(re.$$scope={dirty:T,ctx:b}),!_&&T&16&&(_=!0,re.value=b[4],z(()=>_=!1)),p.$set(re)},i(b){g||(h(r.$$.fragment,b),h(a.$$.fragment,b),h(i.$$.fragment,b),h(c.$$.fragment,b),h(p.$$.fragment,b),g=!0)},o(b){$(r.$$.fragment,b),$(a.$$.fragment,b),$(i.$$.fragment,b),$(c.$$.fragment,b),$(p.$$.fragment,b),g=!1},d(b){b&&d(e),I(r),I(a),I(i),I(c),I(p)}}}function ot(n){let e,r;return e=new Ke({props:{icon:!0,id:"advanced-search",placeholder:"Query\u2026",value:n[1]}}),e.$on("submit",n[7]),{c(){S(e.$$.fragment)},l(t){R(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p(t,l){const a={};l&2&&(a.value=t[1]),e.$set(a)},i(t){r||(h(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){I(e,t)}}}function at(n){let e;return{c(){e=j("All")},l(r){e=D(r,"All")},m(r,t){q(r,e,t)},d(r){r&&d(e)}}}function Te(n){let e,r;return e=new M({props:{value:n[3].timeRange,$$slots:{default:[st]},$$scope:{ctx:n}}}),{c(){S(e.$$.fragment)},l(t){R(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p(t,l){const a={};l&8&&(a.value=t[3].timeRange),l&2097160&&(a.$$scope={dirty:l,ctx:t}),e.$set(a)},i(t){r||(h(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){I(e,t)}}}function st(n){let e=n[3].timeRange+"",r;return{c(){r=j(e)},l(t){r=D(t,e)},m(t,l){q(t,r,l)},p(t,l){l&8&&e!==(e=t[3].timeRange+"")&&ie(r,e)},d(t){t&&d(r)}}}function it(n){let e=n[16]+"",r;return{c(){r=j(e)},l(t){r=D(t,e)},m(t,l){q(t,r,l)},p:K,d(t){t&&d(r)}}}function Se(n){let e,r;return e=new M({props:{value:n[16],$$slots:{default:[it]},$$scope:{ctx:n}}}),{c(){S(e.$$.fragment)},l(t){R(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p(t,l){const a={};l&2097152&&(a.$$scope={dirty:l,ctx:t}),e.$set(a)},i(t){r||(h(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){I(e,t)}}}function ut(n){let e,r,t=n[3].timeRange&&!Y.includes(n[3].timeRange),l,a,s;e=new M({props:{value:null,$$slots:{default:[at]},$$scope:{ctx:n}}});let o=t&&Te(n),i=Y,u=[];for(let c=0;c$(u[c],1,1,()=>{u[c]=null});return{c(){S(e.$$.fragment),r=C(),o&&o.c(),l=C();for(let c=0;c{o=null}),B()),f&0){i=Y;let p;for(p=0;po[15];for(let o=0;o{c[_]=null}),B(),a=c[l],a?a.p(m,p):(a=c[l]=w[l](m),a.c()),h(a,1),a.m(e,null))},i(m){s||(h(a),s=!0)},o(m){$(a),s=!1},d(m){m&&d(e),u.d(),c[l].d()}}}function vt(n,e,r){let t,l,a,s;L(n,Pe,k=>r(2,a=k)),L(n,ae,k=>r(4,s=k));let{searchType:o}=e;const i=$e({timeRange:"All"}),u={All:null,Running:"Running","Timed Out":"TimedOut",Completed:"Completed",Failed:"Failed","Continued as New":"ContinuedAsNew",Canceled:"Canceled",Terminated:"Terminated"},w=k=>()=>{r(0,o=k),ne({parameter:"search",value:o,url:a.url,goto:le})},c=k=>{const V=new FormData(k.target);r(1,t=String(V.get("query"))),r(3,l=se(t)),ne({url:a.url,parameter:"query",value:t,goto:le})},f=Ze(()=>{r(1,t=$e(l)),ne({url:a.url,parameter:"query",value:t,allowEmpty:!0,goto:le})},300);function m(k){n.$$.not_equal(l.workflowId,k)&&(l.workflowId=k,r(3,l),r(1,t),r(2,a))}function p(k){n.$$.not_equal(l.workflowType,k)&&(l.workflowType=k,r(3,l),r(1,t),r(2,a))}function _(k){n.$$.not_equal(l.timeRange,k)&&(l.timeRange=k,r(3,l),r(1,t),r(2,a))}function g(k){n.$$.not_equal(l.executionStatus,k)&&(l.executionStatus=k,r(3,l),r(1,t),r(2,a))}function v(k){s=k,ae.set(s)}return n.$$set=k=>{"searchType"in k&&r(0,o=k.searchType)},n.$$.update=()=>{n.$$.dirty&4&&r(1,t=a.url.searchParams.get("query")),n.$$.dirty&2&&r(3,l=se(t!=null?t:i))},[o,t,a,l,s,u,w,c,f,m,p,_,g,v]}class dt extends G{constructor(e){super(),Z(this,e,vt,ht,J,{searchType:0})}}function $t(n){let e,r,t,l,a,s,o;return t=new ue({props:{name:"spinner",scale:.5,class:"block h-full w-full animate-spin"}}),{c(){e=N("div"),r=N("div"),S(t.$$.fragment),l=C(),a=N("h2"),s=j(n[0]),this.h()},l(i){e=x(i,"DIV",{class:!0});var u=A(e);r=x(u,"DIV",{class:!0});var w=A(r);R(t.$$.fragment,w),w.forEach(d),l=P(u),a=x(u,"H2",{class:!0});var c=A(a);s=D(c,n[0]),c.forEach(d),u.forEach(d),this.h()},h(){y(r,"class","flex h-16 w-16 items-center justify-center rounded-full bg-gray-200"),y(a,"class","text-xl font-medium"),y(e,"class","my-12 flex flex-col items-center justify-start gap-2")},m(i,u){q(i,e,u),W(e,r),E(t,r,null),W(e,l),W(e,a),W(a,s),o=!0},p(i,[u]){(!o||u&1)&&ie(s,i[0])},i(i){o||(h(t.$$.fragment,i),o=!0)},o(i){$(t.$$.fragment,i),o=!1},d(i){i&&d(e),I(t)}}}function bt(n,e,r){let{title:t="Loading\u2026"}=e;return n.$$set=l=>{"title"in l&&r(0,t=l.title)},[t]}class wt extends G{constructor(e){super(),Z(this,e,bt,$t,J,{title:0})}}function Ee(n,e,r){const t=n.slice();return t[10]=e[r],t}function kt(n){let e,r;return e=new He({props:{title:"No Workflows Found",content:n[6]}}),{c(){S(e.$$.fragment)},l(t){R(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p:K,i(t){r||(h(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){I(e,t)}}}function yt(n){let e,r;return e=new Ge({props:{items:n[3],updating:n[4],$$slots:{default:[St,({visibleItems:t})=>({9:t}),({visibleItems:t})=>t?512:0]},$$scope:{ctx:n}}}),{c(){S(e.$$.fragment)},l(t){R(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p(t,l){const a={};l&8&&(a.items=t[3]),l&16&&(a.updating=t[4]),l&8738&&(a.$$scope={dirty:l,ctx:t}),e.$set(a)},i(t){r||(h(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){I(e,t)}}}function qt(n){let e,r;return e=new wt({}),{c(){S(e.$$.fragment)},l(t){R(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p:K,i(t){r||(h(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){I(e,t)}}}function Ie(n){let e,r;return e=new ze({props:{workflow:n[10],namespace:n[1].params.namespace,timeFormat:n[5]}}),{c(){S(e.$$.fragment)},l(t){R(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p(t,l){const a={};l&512&&(a.workflow=t[10]),l&2&&(a.namespace=t[1].params.namespace),l&32&&(a.timeFormat=t[5]),e.$set(a)},i(t){r||(h(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){I(e,t)}}}function Tt(n){let e,r,t=n[9],l=[];for(let s=0;s$(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;sU(l,"searchType",c));const m=[qt,yt,kt],p=[];function _(g,v){return g[2]?0:g[3].length?1:2}return o=_(n),i=p[o]=m[o](n),{c(){e=N("h2"),r=j("Recent Workflows"),t=C(),S(l.$$.fragment),s=C(),i.c(),u=F(),this.h()},l(g){e=x(g,"H2",{class:!0});var v=A(e);r=D(v,"Recent Workflows"),v.forEach(d),t=P(g),R(l.$$.fragment,g),s=P(g),i.l(g),u=F(),this.h()},h(){y(e,"class","text-2xl")},m(g,v){q(g,e,v),W(e,r),q(g,t,v),E(l,g,v),q(g,s,v),p[o].m(g,v),q(g,u,v),w=!0},p(g,[v]){const k={};!a&&v&1&&(a=!0,k.searchType=g[0],z(()=>a=!1)),l.$set(k);let V=o;o=_(g),o===V?p[o].p(g,v):(O(),$(p[V],1,1,()=>{p[V]=null}),B(),i=p[o],i?i.p(g,v):(i=p[o]=m[o](g),i.c()),h(i,1),i.m(u.parentNode,u))},i(g){w||(h(l.$$.fragment,g),h(i),w=!0)},o(g){$(l.$$.fragment,g),$(i),w=!1},d(g){g&&d(e),g&&d(t),I(l,g),g&&d(s),p[o].d(g),g&&d(u)}}}function Et(n,e,r){let t,l,a,s,o,i;L(n,de,f=>r(8,t=f)),L(n,Pe,f=>r(1,l=f)),L(n,Be,f=>r(2,a=f)),L(n,Ve,f=>r(3,s=f)),L(n,Me,f=>r(4,o=f)),L(n,ae,f=>r(5,i=f));let u=Ye(l.url);const w=u==="advanced"?"Please check your syntax and try again.":"If you have filters applied, try adjusting them.";Le(()=>{const f=l.url.searchParams.get("query"),m=f?se(f):{};Oe(de,t={parameters:m,searchType:u},t)});function c(f){u=f,r(0,u)}return[u,l,a,s,o,i,w,c]}class It extends G{constructor(e){super(),Z(this,e,Et,Rt,J,{})}}function Wt(n){let e,r;return e=new It({}),{c(){S(e.$$.fragment)},l(t){R(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p:K,i(t){r||(h(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){I(e,t)}}}class ar extends G{constructor(e){super(),Z(this,e,null,Wt,J,{})}}export{ar as default}; +import{S as G,i as Z,s as J,e as N,w as S,c as x,a as A,x as R,d,b as y,g as q,y as E,q as h,o as $,B as I,T as H,t as j,k as C,h as D,m as P,R as X,M as W,ab as he,j as ie,n as O,p as B,G as je,N as L,W as ve,ar as We,_ as Q,$ as U,Z as z,l as F,ad as Ce,a7 as De,al as Fe,E as K,an as Le,a9 as Oe}from"../../../../chunks/index-604742bf.js";import{p as Pe}from"../../../../chunks/stores-810822a9.js";import{t as ae}from"../../../../chunks/time-format-6fa48b0d.js";import{w as de,l as Be,a as Ve,u as Me}from"../../../../chunks/workflows-1f018cf1.js";import{s as Qe,k as Y}from"../../../../chunks/to-duration-271d3946.js";import{t as se,W as Ue,a as ze}from"../../../../chunks/workflows-summary-row-89774f0c.js";import{E as He}from"../../../../chunks/empty-state-c50aaf3c.js";import{P as Ge}from"../../../../chunks/pagination-bd44ecb0.js";import{j as Ze}from"../../../../chunks/index-c0547148.js";import{g as le}from"../../../../chunks/navigation-6709cf39.js";import{u as ne}from"../../../../chunks/update-query-parameters-08bf783c.js";import{t as $e}from"../../../../chunks/workflow-service-250a9fea.js";import{S as oe,O as M}from"../../../../chunks/select-4556bdf3.js";import{c as Je}from"../../../../chunks/copy-to-clipboard-8832075c.js";import{I as ue}from"../../../../chunks/index-0574ae1f.js";import{S as Ke}from"../../../../chunks/search-b2185bce.js";import"../../../../chunks/persist-store-26f405dd.js";import"../../../../chunks/index-c9e619a8.js";import"../../../../chunks/with-loading-22689bcc.js";import"../../../../chunks/format-date-919f4714.js";import"../../../../chunks/route-for-1f2060cd.js";import"../../../../chunks/workflow-status-ca8cb7e9.js";import"../../../../chunks/filter-select-ee707cee.js";import"../../../../chunks/singletons-d1fb5791.js";import"../../../../chunks/simplify-attributes-64d6cf1a.js";import"../../../../chunks/route-for-api-605baeb9.js";import"../../../../chunks/notifications-cfed8e58.js";import"../../../../chunks/is-network-error-ac7c8caf.js";import"../../../../chunks/button-0ce95595.js";const Xe=n=>Qe(n)?n==="basic"||n==="advanced":!1,Ye=n=>{const e=n.searchParams.get("search");return Xe(e)?e:(n.searchParams.set("search","basic"),"basic")};function be(n){let e,r,t;return r=new ue({props:{name:n[3],scale:.9,stroke:"currentcolor"}}),{c(){e=N("span"),S(r.$$.fragment),this.h()},l(l){e=x(l,"SPAN",{class:!0});var a=A(e);R(r.$$.fragment,a),a.forEach(d),this.h()},h(){y(e,"class","icon-container svelte-1q5vx5u")},m(l,a){q(l,e,a),E(r,e,null),t=!0},p(l,a){const s={};a&8&&(s.name=l[3]),r.$set(s)},i(l){t||(h(r.$$.fragment,l),t=!0)},o(l){$(r.$$.fragment,l),t=!1},d(l){l&&d(e),I(r)}}}function we(n){let e,r,t,l,a;return r=new ue({props:{name:n[8]?"checkMark":"copy",stroke:"currentcolor"}}),{c(){e=N("div"),S(r.$$.fragment),this.h()},l(s){e=x(s,"DIV",{class:!0});var o=A(e);R(r.$$.fragment,o),o.forEach(d),this.h()},h(){y(e,"class","copy-icon-container svelte-1q5vx5u")},m(s,o){q(s,e,o),E(r,e,null),t=!0,l||(a=H(e,"click",n[9]),l=!0)},p(s,o){const i={};o&256&&(i.name=s[8]?"checkMark":"copy"),r.$set(i)},i(s){t||(h(r.$$.fragment,s),t=!0)},o(s){$(r.$$.fragment,s),t=!1},d(s){s&&d(e),I(r),l=!1,a()}}}function et(n){let e,r,t,l,a,s,o,i,u,w,c,f=n[3]!==""&&be(n),m=n[6]&&we(n);return{c(){e=N("div"),r=N("label"),t=j(n[2]),l=C(),f&&f.c(),a=C(),s=N("input"),o=C(),m&&m.c(),this.h()},l(p){e=x(p,"DIV",{class:!0});var _=A(e);r=x(_,"LABEL",{for:!0,class:!0});var g=A(r);t=D(g,n[2]),g.forEach(d),l=P(_),f&&f.l(_),a=P(_),s=x(_,"INPUT",{class:!0,placeholder:!0,id:!0,name:!0}),o=P(_),m&&m.l(_),_.forEach(d),this.h()},h(){y(r,"for",n[1]),y(r,"class","hidden"),y(s,"class","m-2 block w-full bg-white focus:outline-none svelte-1q5vx5u"),s.disabled=n[6],y(s,"placeholder",n[4]),y(s,"id",n[1]),y(s,"name",n[5]),X(s,"copyable",n[6]),y(e,"class",i="input-container "+n[7]+" svelte-1q5vx5u"),X(e,"copyable",n[6])},m(p,_){q(p,e,_),W(e,r),W(r,t),W(e,l),f&&f.m(e,null),W(e,a),W(e,s),he(s,n[0]),W(e,o),m&&m.m(e,null),u=!0,w||(c=[H(s,"input",n[13]),H(s,"input",n[11]),H(s,"change",n[12])],w=!0)},p(p,[_]){(!u||_&4)&&ie(t,p[2]),(!u||_&2)&&y(r,"for",p[1]),p[3]!==""?f?(f.p(p,_),_&8&&h(f,1)):(f=be(p),f.c(),h(f,1),f.m(e,a)):f&&(O(),$(f,1,1,()=>{f=null}),B()),(!u||_&64)&&(s.disabled=p[6]),(!u||_&16)&&y(s,"placeholder",p[4]),(!u||_&2)&&y(s,"id",p[1]),(!u||_&32)&&y(s,"name",p[5]),_&1&&s.value!==p[0]&&he(s,p[0]),_&64&&X(s,"copyable",p[6]),p[6]?m?(m.p(p,_),_&64&&h(m,1)):(m=we(p),m.c(),h(m,1),m.m(e,null)):m&&(O(),$(m,1,1,()=>{m=null}),B()),(!u||_&128&&i!==(i="input-container "+p[7]+" svelte-1q5vx5u"))&&y(e,"class",i),_&192&&X(e,"copyable",p[6])},i(p){u||(h(f),h(m),u=!0)},o(p){$(f),$(m),u=!1},d(p){p&&d(e),f&&f.d(),m&&m.d(),w=!1,je(c)}}}function tt(n,e,r){let t,{id:l}=e,{label:a}=e,{value:s}=e,{icon:o=""}=e,{placeholder:i=a}=e,{name:u=l}=e,{copyable:w=!1}=e,{theme:c="light"}=e;const{copy:f,copied:m}=Je(s);L(n,m,v=>r(8,t=v));function p(v){ve.call(this,n,v)}function _(v){ve.call(this,n,v)}function g(){s=this.value,r(0,s)}return n.$$set=v=>{"id"in v&&r(1,l=v.id),"label"in v&&r(2,a=v.label),"value"in v&&r(0,s=v.value),"icon"in v&&r(3,o=v.icon),"placeholder"in v&&r(4,i=v.placeholder),"name"in v&&r(5,u=v.name),"copyable"in v&&r(6,w=v.copyable),"theme"in v&&r(7,c=v.theme)},[s,l,a,o,i,u,w,c,t,f,m,p,_,g]}class ke extends G{constructor(e){super(),Z(this,e,tt,et,J,{id:1,label:2,value:0,icon:3,placeholder:4,name:5,copyable:6,theme:7})}}function ye(n,e,r){const t=n.slice();return t[15]=e[r][0],t[16]=e[r][1],t}function qe(n,e,r){const t=n.slice();return t[16]=e[r],t}function rt(n){let e,r,t,l,a;return{c(){e=N("a"),r=j("Advanced Search"),this.h()},l(s){e=x(s,"A",{href:!0,class:!0});var o=A(e);r=D(o,"Advanced Search"),o.forEach(d),this.h()},h(){y(e,"href",t=n[2].url.pathname+"?searchType=advanced"),y(e,"class","text-blue-700")},m(s,o){q(s,e,o),W(e,r),l||(a=H(e,"click",We(n[6]("advanced"))),l=!0)},p(s,o){o&4&&t!==(t=s[2].url.pathname+"?searchType=advanced")&&y(e,"href",t)},d(s){s&&d(e),l=!1,a()}}}function lt(n){let e,r,t,l,a;return{c(){e=N("a"),r=j("Basic Search"),this.h()},l(s){e=x(s,"A",{href:!0,class:!0});var o=A(e);r=D(o,"Basic Search"),o.forEach(d),this.h()},h(){y(e,"href",t=n[2].url.pathname+"?searchType=basic"),y(e,"class","text-blue-700")},m(s,o){q(s,e,o),W(e,r),l||(a=H(e,"click",We(n[6]("basic"))),l=!0)},p(s,o){o&4&&t!==(t=s[2].url.pathname+"?searchType=basic")&&y(e,"href",t)},d(s){s&&d(e),l=!1,a()}}}function nt(n){let e,r,t,l,a,s,o,i,u,w,c,f,m,p,_,g;function v(b){n[9](b)}let k={icon:"search",id:"workflow-id-filter",label:"Workflow ID"};n[3].workflowId!==void 0&&(k.value=n[3].workflowId),r=new ke({props:k}),Q.push(()=>U(r,"value",v)),r.$on("input",n[8]);function V(b){n[10](b)}let ce={icon:"search",id:"workflow-type-filter",label:"Workflow Type"};n[3].workflowType!==void 0&&(ce.value=n[3].workflowType),a=new ke({props:ce}),Q.push(()=>U(a,"value",V)),a.$on("input",n[8]);function Ne(b){n[11](b)}let fe={id:"time-range-filter",label:"Time Range",$$slots:{default:[ut]},$$scope:{ctx:n}};n[3].timeRange!==void 0&&(fe.value=n[3].timeRange),i=new oe({props:fe}),Q.push(()=>U(i,"value",Ne)),i.$on("change",n[8]);function xe(b){n[12](b)}let pe={id:"execution-status-filter",label:"Workflow Status",$$slots:{default:[ft]},$$scope:{ctx:n}};n[3].executionStatus!==void 0&&(pe.value=n[3].executionStatus),c=new oe({props:pe}),Q.push(()=>U(c,"value",xe)),c.$on("change",n[8]);function Ae(b){n[13](b)}let me={id:"filter-by-relative-time",$$slots:{default:[gt]},$$scope:{ctx:n}};return n[4]!==void 0&&(me.value=n[4]),p=new oe({props:me}),Q.push(()=>U(p,"value",Ae)),{c(){e=N("div"),S(r.$$.fragment),l=C(),S(a.$$.fragment),o=C(),S(i.$$.fragment),w=C(),S(c.$$.fragment),m=C(),S(p.$$.fragment),this.h()},l(b){e=x(b,"DIV",{class:!0});var T=A(e);R(r.$$.fragment,T),l=P(T),R(a.$$.fragment,T),o=P(T),R(i.$$.fragment,T),w=P(T),R(c.$$.fragment,T),m=P(T),R(p.$$.fragment,T),T.forEach(d),this.h()},h(){y(e,"class","grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-5")},m(b,T){q(b,e,T),E(r,e,null),W(e,l),E(a,e,null),W(e,o),E(i,e,null),W(e,w),E(c,e,null),W(e,m),E(p,e,null),g=!0},p(b,T){const _e={};!t&&T&8&&(t=!0,_e.value=b[3].workflowId,z(()=>t=!1)),r.$set(_e);const ge={};!s&&T&8&&(s=!0,ge.value=b[3].workflowType,z(()=>s=!1)),a.$set(ge);const ee={};T&2097160&&(ee.$$scope={dirty:T,ctx:b}),!u&&T&8&&(u=!0,ee.value=b[3].timeRange,z(()=>u=!1)),i.$set(ee);const te={};T&2097152&&(te.$$scope={dirty:T,ctx:b}),!f&&T&8&&(f=!0,te.value=b[3].executionStatus,z(()=>f=!1)),c.$set(te);const re={};T&2097152&&(re.$$scope={dirty:T,ctx:b}),!_&&T&16&&(_=!0,re.value=b[4],z(()=>_=!1)),p.$set(re)},i(b){g||(h(r.$$.fragment,b),h(a.$$.fragment,b),h(i.$$.fragment,b),h(c.$$.fragment,b),h(p.$$.fragment,b),g=!0)},o(b){$(r.$$.fragment,b),$(a.$$.fragment,b),$(i.$$.fragment,b),$(c.$$.fragment,b),$(p.$$.fragment,b),g=!1},d(b){b&&d(e),I(r),I(a),I(i),I(c),I(p)}}}function ot(n){let e,r;return e=new Ke({props:{icon:!0,id:"advanced-search",placeholder:"Query\u2026",value:n[1]}}),e.$on("submit",n[7]),{c(){S(e.$$.fragment)},l(t){R(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p(t,l){const a={};l&2&&(a.value=t[1]),e.$set(a)},i(t){r||(h(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){I(e,t)}}}function at(n){let e;return{c(){e=j("All")},l(r){e=D(r,"All")},m(r,t){q(r,e,t)},d(r){r&&d(e)}}}function Te(n){let e,r;return e=new M({props:{value:n[3].timeRange,$$slots:{default:[st]},$$scope:{ctx:n}}}),{c(){S(e.$$.fragment)},l(t){R(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p(t,l){const a={};l&8&&(a.value=t[3].timeRange),l&2097160&&(a.$$scope={dirty:l,ctx:t}),e.$set(a)},i(t){r||(h(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){I(e,t)}}}function st(n){let e=n[3].timeRange+"",r;return{c(){r=j(e)},l(t){r=D(t,e)},m(t,l){q(t,r,l)},p(t,l){l&8&&e!==(e=t[3].timeRange+"")&&ie(r,e)},d(t){t&&d(r)}}}function it(n){let e=n[16]+"",r;return{c(){r=j(e)},l(t){r=D(t,e)},m(t,l){q(t,r,l)},p:K,d(t){t&&d(r)}}}function Se(n){let e,r;return e=new M({props:{value:n[16],$$slots:{default:[it]},$$scope:{ctx:n}}}),{c(){S(e.$$.fragment)},l(t){R(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p(t,l){const a={};l&2097152&&(a.$$scope={dirty:l,ctx:t}),e.$set(a)},i(t){r||(h(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){I(e,t)}}}function ut(n){let e,r,t=n[3].timeRange&&!Y.includes(n[3].timeRange),l,a,s;e=new M({props:{value:null,$$slots:{default:[at]},$$scope:{ctx:n}}});let o=t&&Te(n),i=Y,u=[];for(let c=0;c$(u[c],1,1,()=>{u[c]=null});return{c(){S(e.$$.fragment),r=C(),o&&o.c(),l=C();for(let c=0;c{o=null}),B()),f&0){i=Y;let p;for(p=0;po[15];for(let o=0;o{c[_]=null}),B(),a=c[l],a?a.p(m,p):(a=c[l]=w[l](m),a.c()),h(a,1),a.m(e,null))},i(m){s||(h(a),s=!0)},o(m){$(a),s=!1},d(m){m&&d(e),u.d(),c[l].d()}}}function vt(n,e,r){let t,l,a,s;L(n,Pe,k=>r(2,a=k)),L(n,ae,k=>r(4,s=k));let{searchType:o}=e;const i=$e({timeRange:"All"}),u={All:null,Running:"Running","Timed Out":"TimedOut",Completed:"Completed",Failed:"Failed","Continued as New":"ContinuedAsNew",Canceled:"Canceled",Terminated:"Terminated"},w=k=>()=>{r(0,o=k),ne({parameter:"search",value:o,url:a.url,goto:le})},c=k=>{const V=new FormData(k.target);r(1,t=String(V.get("query"))),r(3,l=se(t)),ne({url:a.url,parameter:"query",value:t,goto:le})},f=Ze(()=>{r(1,t=$e(l)),ne({url:a.url,parameter:"query",value:t,allowEmpty:!0,goto:le})},300);function m(k){n.$$.not_equal(l.workflowId,k)&&(l.workflowId=k,r(3,l),r(1,t),r(2,a))}function p(k){n.$$.not_equal(l.workflowType,k)&&(l.workflowType=k,r(3,l),r(1,t),r(2,a))}function _(k){n.$$.not_equal(l.timeRange,k)&&(l.timeRange=k,r(3,l),r(1,t),r(2,a))}function g(k){n.$$.not_equal(l.executionStatus,k)&&(l.executionStatus=k,r(3,l),r(1,t),r(2,a))}function v(k){s=k,ae.set(s)}return n.$$set=k=>{"searchType"in k&&r(0,o=k.searchType)},n.$$.update=()=>{n.$$.dirty&4&&r(1,t=a.url.searchParams.get("query")),n.$$.dirty&2&&r(3,l=se(t!=null?t:i))},[o,t,a,l,s,u,w,c,f,m,p,_,g,v]}class dt extends G{constructor(e){super(),Z(this,e,vt,ht,J,{searchType:0})}}function $t(n){let e,r,t,l,a,s,o;return t=new ue({props:{name:"spinner",scale:.5,class:"block h-full w-full animate-spin"}}),{c(){e=N("div"),r=N("div"),S(t.$$.fragment),l=C(),a=N("h2"),s=j(n[0]),this.h()},l(i){e=x(i,"DIV",{class:!0});var u=A(e);r=x(u,"DIV",{class:!0});var w=A(r);R(t.$$.fragment,w),w.forEach(d),l=P(u),a=x(u,"H2",{class:!0});var c=A(a);s=D(c,n[0]),c.forEach(d),u.forEach(d),this.h()},h(){y(r,"class","flex h-16 w-16 items-center justify-center rounded-full bg-gray-200"),y(a,"class","text-xl font-medium"),y(e,"class","my-12 flex flex-col items-center justify-start gap-2")},m(i,u){q(i,e,u),W(e,r),E(t,r,null),W(e,l),W(e,a),W(a,s),o=!0},p(i,[u]){(!o||u&1)&&ie(s,i[0])},i(i){o||(h(t.$$.fragment,i),o=!0)},o(i){$(t.$$.fragment,i),o=!1},d(i){i&&d(e),I(t)}}}function bt(n,e,r){let{title:t="Loading\u2026"}=e;return n.$$set=l=>{"title"in l&&r(0,t=l.title)},[t]}class wt extends G{constructor(e){super(),Z(this,e,bt,$t,J,{title:0})}}function Ee(n,e,r){const t=n.slice();return t[10]=e[r],t}function kt(n){let e,r;return e=new He({props:{title:"No Workflows Found",content:n[6]}}),{c(){S(e.$$.fragment)},l(t){R(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p:K,i(t){r||(h(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){I(e,t)}}}function yt(n){let e,r;return e=new Ge({props:{items:n[3],updating:n[4],$$slots:{default:[St,({visibleItems:t})=>({9:t}),({visibleItems:t})=>t?512:0]},$$scope:{ctx:n}}}),{c(){S(e.$$.fragment)},l(t){R(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p(t,l){const a={};l&8&&(a.items=t[3]),l&16&&(a.updating=t[4]),l&8738&&(a.$$scope={dirty:l,ctx:t}),e.$set(a)},i(t){r||(h(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){I(e,t)}}}function qt(n){let e,r;return e=new wt({}),{c(){S(e.$$.fragment)},l(t){R(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p:K,i(t){r||(h(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){I(e,t)}}}function Ie(n){let e,r;return e=new ze({props:{workflow:n[10],namespace:n[1].params.namespace,timeFormat:n[5]}}),{c(){S(e.$$.fragment)},l(t){R(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p(t,l){const a={};l&512&&(a.workflow=t[10]),l&2&&(a.namespace=t[1].params.namespace),l&32&&(a.timeFormat=t[5]),e.$set(a)},i(t){r||(h(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){I(e,t)}}}function Tt(n){let e,r,t=n[9],l=[];for(let s=0;s$(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;sU(l,"searchType",c));const m=[qt,yt,kt],p=[];function _(g,v){return g[2]?0:g[3].length?1:2}return o=_(n),i=p[o]=m[o](n),{c(){e=N("h2"),r=j("Recent Workflows"),t=C(),S(l.$$.fragment),s=C(),i.c(),u=F(),this.h()},l(g){e=x(g,"H2",{class:!0});var v=A(e);r=D(v,"Recent Workflows"),v.forEach(d),t=P(g),R(l.$$.fragment,g),s=P(g),i.l(g),u=F(),this.h()},h(){y(e,"class","text-2xl")},m(g,v){q(g,e,v),W(e,r),q(g,t,v),E(l,g,v),q(g,s,v),p[o].m(g,v),q(g,u,v),w=!0},p(g,[v]){const k={};!a&&v&1&&(a=!0,k.searchType=g[0],z(()=>a=!1)),l.$set(k);let V=o;o=_(g),o===V?p[o].p(g,v):(O(),$(p[V],1,1,()=>{p[V]=null}),B(),i=p[o],i?i.p(g,v):(i=p[o]=m[o](g),i.c()),h(i,1),i.m(u.parentNode,u))},i(g){w||(h(l.$$.fragment,g),h(i),w=!0)},o(g){$(l.$$.fragment,g),$(i),w=!1},d(g){g&&d(e),g&&d(t),I(l,g),g&&d(s),p[o].d(g),g&&d(u)}}}function Et(n,e,r){let t,l,a,s,o,i;L(n,de,f=>r(8,t=f)),L(n,Pe,f=>r(1,l=f)),L(n,Be,f=>r(2,a=f)),L(n,Ve,f=>r(3,s=f)),L(n,Me,f=>r(4,o=f)),L(n,ae,f=>r(5,i=f));let u=Ye(l.url);const w=u==="advanced"?"Please check your syntax and try again.":"If you have filters applied, try adjusting them.";Le(()=>{const f=l.url.searchParams.get("query"),m=f?se(f):{};Oe(de,t={parameters:m,searchType:u},t)});function c(f){u=f,r(0,u)}return[u,l,a,s,o,i,w,c]}class It extends G{constructor(e){super(),Z(this,e,Et,Rt,J,{})}}function Wt(n){let e,r;return e=new It({}),{c(){S(e.$$.fragment)},l(t){R(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p:K,i(t){r||(h(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){I(e,t)}}}class ar extends G{constructor(e){super(),Z(this,e,null,Wt,J,{})}}export{ar as default}; diff --git a/server/generated/ui/_app/pages/signin/index@signin.svelte-07122b0f.js b/server/generated/ui/_app/pages/signin/index@signin.svelte-ca2b240c.js similarity index 93% rename from server/generated/ui/_app/pages/signin/index@signin.svelte-07122b0f.js rename to server/generated/ui/_app/pages/signin/index@signin.svelte-ca2b240c.js index c277a76390..5e4aca4043 100644 --- a/server/generated/ui/_app/pages/signin/index@signin.svelte-07122b0f.js +++ b/server/generated/ui/_app/pages/signin/index@signin.svelte-ca2b240c.js @@ -1 +1 @@ -import{S as A,i as D,s as F,w as C,k as _,e as d,t as P,x as N,m as h,c as b,a as v,h as q,d as l,b as x,y as B,g as y,M as f,q as H,o as I,B as O,N as M}from"../../chunks/index-604742bf.js";import{f as T}from"../../chunks/settings-service-86784aa7.js";import{m as U}from"../../chunks/route-for-1f2060cd.js";import{B as V}from"../../chunks/button-0ce95595.js";import{p as j}from"../../chunks/stores-810822a9.js";import{g as z}from"../../chunks/navigation-6709cf39.js";import{N as G,H as J}from"../../chunks/hamburger-header-8beb5c91.js";import"../../chunks/route-for-api-3a26c58e.js";import"../../chunks/index-c9e619a8.js";import"../../chunks/notifications-cfed8e58.js";import"../../chunks/is-network-error-ac7c8caf.js";import"../../chunks/index-0574ae1f.js";import"../../chunks/singletons-d1fb5791.js";import"../../chunks/data-encoder-status-744c8425.js";import"../../chunks/data-converter-config-6fc5efe1.js";import"../../chunks/persist-store-26f405dd.js";import"../../chunks/is-http-24b20bf9.js";import"../../chunks/tooltip-4b9b03e7.js";import"../../chunks/copyable-6f962ac2.js";import"../../chunks/copy-to-clipboard-8832075c.js";import"../../chunks/modal-0d6320a7.js";import"../../chunks/index-69aa65a3.js";function K(i){let e;return{c(){e=P("Continue to SSO")},l(n){e=q(n,"Continue to SSO")},m(n,r){y(n,e,r)},d(n){n&&l(e)}}}function Q(i){let e,n,r,c,a,o,S,k,p,w,E,u,m,$;return e=new G({props:{href:"/",user:void 0}}),r=new J({props:{href:"/",user:void 0}}),m=new V({props:{classes:"",login:!0,name:"lock",$$slots:{default:[K]},$$scope:{ctx:i}}}),m.$on("click",i[2]),{c(){C(e.$$.fragment),n=_(),C(r.$$.fragment),c=_(),a=d("section"),o=d("h1"),S=P("Welcome back."),k=_(),p=d("p"),w=P("Let's get you signed in."),E=_(),u=d("div"),C(m.$$.fragment),this.h()},l(t){N(e.$$.fragment,t),n=h(t),N(r.$$.fragment,t),c=h(t),a=b(t,"SECTION",{class:!0});var s=v(a);o=b(s,"H1",{class:!0});var g=v(o);S=q(g,"Welcome back."),g.forEach(l),k=h(s),p=b(s,"P",{class:!0});var L=v(p);w=q(L,"Let's get you signed in."),L.forEach(l),E=h(s),u=b(s,"DIV",{class:!0});var W=v(u);N(m.$$.fragment,W),W.forEach(l),s.forEach(l),this.h()},h(){x(o,"class","text-8xl font-semibold"),x(p,"class","my-7"),x(u,"class","mx-auto"),x(a,"class","my-[20vh] text-center")},m(t,s){B(e,t,s),y(t,n,s),B(r,t,s),y(t,c,s),y(t,a,s),f(a,o),f(o,S),f(a,k),f(a,p),f(p,w),f(a,E),f(a,u),B(m,u,null),$=!0},p(t,[s]){const g={};s&8&&(g.$$scope={dirty:s,ctx:t}),m.$set(g)},i(t){$||(H(e.$$.fragment,t),H(r.$$.fragment,t),H(m.$$.fragment,t),$=!0)},o(t){I(e.$$.fragment,t),I(r.$$.fragment,t),I(m.$$.fragment,t),$=!1},d(t){O(e,t),t&&l(n),O(r,t),t&&l(c),t&&l(a),O(m)}}}const bt=async function({fetch:i}){const e=await T(i);return e.auth.enabled?{props:{settings:e},stuff:{settings:e}}:{status:404}};function R(i,e,n){let r;M(i,j,o=>n(1,r=o));let{settings:c}=e;const a=()=>{z(U({settings:c,searchParams:r.url.searchParams,originUrl:r.url.origin}))};return i.$$set=o=>{"settings"in o&&n(0,c=o.settings)},[c,r,a]}class vt extends A{constructor(e){super(),D(this,e,R,Q,F,{settings:0})}}export{vt as default,bt as load}; +import{S as A,i as D,s as F,w as C,k as _,e as d,t as P,x as N,m as h,c as b,a as v,h as q,d as l,b as x,y as B,g as y,M as f,q as H,o as I,B as O,N as M}from"../../chunks/index-604742bf.js";import{f as T}from"../../chunks/settings-service-8e3e4e7f.js";import{m as U}from"../../chunks/route-for-1f2060cd.js";import{B as V}from"../../chunks/button-0ce95595.js";import{p as j}from"../../chunks/stores-810822a9.js";import{g as z}from"../../chunks/navigation-6709cf39.js";import{N as G,H as J}from"../../chunks/hamburger-header-8beb5c91.js";import"../../chunks/route-for-api-605baeb9.js";import"../../chunks/index-c9e619a8.js";import"../../chunks/notifications-cfed8e58.js";import"../../chunks/is-network-error-ac7c8caf.js";import"../../chunks/index-0574ae1f.js";import"../../chunks/singletons-d1fb5791.js";import"../../chunks/data-encoder-status-744c8425.js";import"../../chunks/data-converter-config-6fc5efe1.js";import"../../chunks/persist-store-26f405dd.js";import"../../chunks/is-http-24b20bf9.js";import"../../chunks/tooltip-4b9b03e7.js";import"../../chunks/copyable-6f962ac2.js";import"../../chunks/copy-to-clipboard-8832075c.js";import"../../chunks/modal-0d6320a7.js";import"../../chunks/index-69aa65a3.js";function K(i){let e;return{c(){e=P("Continue to SSO")},l(n){e=q(n,"Continue to SSO")},m(n,r){y(n,e,r)},d(n){n&&l(e)}}}function Q(i){let e,n,r,c,a,o,S,k,p,w,E,u,m,$;return e=new G({props:{href:"/",user:void 0}}),r=new J({props:{href:"/",user:void 0}}),m=new V({props:{classes:"",login:!0,name:"lock",$$slots:{default:[K]},$$scope:{ctx:i}}}),m.$on("click",i[2]),{c(){C(e.$$.fragment),n=_(),C(r.$$.fragment),c=_(),a=d("section"),o=d("h1"),S=P("Welcome back."),k=_(),p=d("p"),w=P("Let's get you signed in."),E=_(),u=d("div"),C(m.$$.fragment),this.h()},l(t){N(e.$$.fragment,t),n=h(t),N(r.$$.fragment,t),c=h(t),a=b(t,"SECTION",{class:!0});var s=v(a);o=b(s,"H1",{class:!0});var g=v(o);S=q(g,"Welcome back."),g.forEach(l),k=h(s),p=b(s,"P",{class:!0});var L=v(p);w=q(L,"Let's get you signed in."),L.forEach(l),E=h(s),u=b(s,"DIV",{class:!0});var W=v(u);N(m.$$.fragment,W),W.forEach(l),s.forEach(l),this.h()},h(){x(o,"class","text-8xl font-semibold"),x(p,"class","my-7"),x(u,"class","mx-auto"),x(a,"class","my-[20vh] text-center")},m(t,s){B(e,t,s),y(t,n,s),B(r,t,s),y(t,c,s),y(t,a,s),f(a,o),f(o,S),f(a,k),f(a,p),f(p,w),f(a,E),f(a,u),B(m,u,null),$=!0},p(t,[s]){const g={};s&8&&(g.$$scope={dirty:s,ctx:t}),m.$set(g)},i(t){$||(H(e.$$.fragment,t),H(r.$$.fragment,t),H(m.$$.fragment,t),$=!0)},o(t){I(e.$$.fragment,t),I(r.$$.fragment,t),I(m.$$.fragment,t),$=!1},d(t){O(e,t),t&&l(n),O(r,t),t&&l(c),t&&l(a),O(m)}}}const bt=async function({fetch:i}){const e=await T(i);return e.auth.enabled?{props:{settings:e},stuff:{settings:e}}:{status:404}};function R(i,e,n){let r;M(i,j,o=>n(1,r=o));let{settings:c}=e;const a=()=>{z(U({settings:c,searchParams:r.url.searchParams,originUrl:r.url.origin}))};return i.$$set=o=>{"settings"in o&&n(0,c=o.settings)},[c,r,a]}class vt extends A{constructor(e){super(),D(this,e,R,Q,F,{settings:0})}}export{vt as default,bt as load}; diff --git a/server/generated/ui/_app/start-9e628253.js b/server/generated/ui/_app/start-62859631.js similarity index 91% rename from server/generated/ui/_app/start-9e628253.js rename to server/generated/ui/_app/start-62859631.js index e4a91243de..f196a1b7d5 100644 --- a/server/generated/ui/_app/start-9e628253.js +++ b/server/generated/ui/_app/start-62859631.js @@ -1 +1 @@ -var et=Object.defineProperty,tt=Object.defineProperties;var nt=Object.getOwnPropertyDescriptors;var ue=Object.getOwnPropertySymbols;var je=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable;var Ne=(s,e,t)=>e in s?et(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,B=(s,e)=>{for(var t in e||(e={}))je.call(e,t)&&Ne(s,t,e[t]);if(ue)for(var t of ue(e))Ce.call(e,t)&&Ne(s,t,e[t]);return s},ae=(s,e)=>tt(s,nt(e));var qe=(s,e)=>{var t={};for(var i in s)je.call(s,i)&&e.indexOf(i)<0&&(t[i]=s[i]);if(s!=null&&ue)for(var i of ue(s))e.indexOf(i)<0&&Ce.call(s,i)&&(t[i]=s[i]);return t};import{S as rt,i as st,s as it,e as ot,c as at,a as ct,d as C,b as ve,f as G,g as J,t as lt,h as ft,j as ut,k as _t,l as R,m as pt,n as W,o as L,p as Y,q as A,r as dt,u as mt,v as $e,w as U,x as X,y as N,z as x,A as Z,B as j,C as H,D as ze}from"./chunks/index-604742bf.js";import{w as _e}from"./chunks/index-c9e619a8.js";import{i as ht}from"./chunks/singletons-d1fb5791.js";let Je="",He="";function wt(s){Je=s.base,He=s.assets||Je}function gt(s){let e,t,i;const l=[s[1]||{}];var a=s[0][0];function c(n){let r={};for(let o=0;o{j(f,1)}),Y()}a?(e=new a(c()),U(e.$$.fragment),A(e.$$.fragment,1),N(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){i||(e&&A(e.$$.fragment,n),i=!0)},o(n){e&&L(e.$$.fragment,n),i=!1},d(n){n&&C(t),e&&j(e,n)}}}function vt(s){let e,t,i;const l=[s[1]||{}];var a=s[0][0];function c(n){let r={$$slots:{default:[Pt]},$$scope:{ctx:n}};for(let o=0;o{j(f,1)}),Y()}a?(e=new a(c(n)),U(e.$$.fragment),A(e.$$.fragment,1),N(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){i||(e&&A(e.$$.fragment,n),i=!0)},o(n){e&&L(e.$$.fragment,n),i=!1},d(n){n&&C(t),e&&j(e,n)}}}function bt(s){let e,t,i;const l=[s[2]||{}];var a=s[0][1];function c(n){let r={};for(let o=0;o{j(f,1)}),Y()}a?(e=new a(c()),U(e.$$.fragment),A(e.$$.fragment,1),N(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){i||(e&&A(e.$$.fragment,n),i=!0)},o(n){e&&L(e.$$.fragment,n),i=!1},d(n){n&&C(t),e&&j(e,n)}}}function Et(s){let e,t,i;const l=[s[2]||{}];var a=s[0][1];function c(n){let r={$$slots:{default:[Ot]},$$scope:{ctx:n}};for(let o=0;o{j(f,1)}),Y()}a?(e=new a(c(n)),U(e.$$.fragment),A(e.$$.fragment,1),N(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){i||(e&&A(e.$$.fragment,n),i=!0)},o(n){e&&L(e.$$.fragment,n),i=!1},d(n){n&&C(t),e&&j(e,n)}}}function $t(s){let e,t,i;const l=[s[3]||{}];var a=s[0][2];function c(n){let r={};for(let o=0;o{j(f,1)}),Y()}a?(e=new a(c()),U(e.$$.fragment),A(e.$$.fragment,1),N(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){i||(e&&A(e.$$.fragment,n),i=!0)},o(n){e&&L(e.$$.fragment,n),i=!1},d(n){n&&C(t),e&&j(e,n)}}}function yt(s){let e,t,i;const l=[s[3]||{}];var a=s[0][2];function c(n){let r={$$slots:{default:[At]},$$scope:{ctx:n}};for(let o=0;o{j(f,1)}),Y()}a?(e=new a(c(n)),U(e.$$.fragment),A(e.$$.fragment,1),N(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){i||(e&&A(e.$$.fragment,n),i=!0)},o(n){e&&L(e.$$.fragment,n),i=!1},d(n){n&&C(t),e&&j(e,n)}}}function kt(s){let e,t,i;const l=[s[4]||{}];var a=s[0][3];function c(n){let r={};for(let o=0;o{j(f,1)}),Y()}a?(e=new a(c()),U(e.$$.fragment),A(e.$$.fragment,1),N(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){i||(e&&A(e.$$.fragment,n),i=!0)},o(n){e&&L(e.$$.fragment,n),i=!1},d(n){n&&C(t),e&&j(e,n)}}}function Rt(s){let e,t,i;const l=[s[4]||{}];var a=s[0][3];function c(n){let r={$$slots:{default:[Lt]},$$scope:{ctx:n}};for(let o=0;o{j(f,1)}),Y()}a?(e=new a(c(n)),U(e.$$.fragment),A(e.$$.fragment,1),N(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){i||(e&&A(e.$$.fragment,n),i=!0)},o(n){e&&L(e.$$.fragment,n),i=!1},d(n){n&&C(t),e&&j(e,n)}}}function Lt(s){let e,t,i;const l=[s[5]||{}];var a=s[0][4];function c(n){let r={};for(let o=0;o{j(f,1)}),Y()}a?(e=new a(c()),U(e.$$.fragment),A(e.$$.fragment,1),N(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){i||(e&&A(e.$$.fragment,n),i=!0)},o(n){e&&L(e.$$.fragment,n),i=!1},d(n){n&&C(t),e&&j(e,n)}}}function At(s){let e,t,i,l;const a=[Rt,kt],c=[];function n(r,o){return r[0][4]?0:1}return e=n(s),t=c[e]=a[e](s),{c(){t.c(),i=R()},l(r){t.l(r),i=R()},m(r,o){c[e].m(r,o),J(r,i,o),l=!0},p(r,o){let f=e;e=n(r),e===f?c[e].p(r,o):(W(),L(c[f],1,1,()=>{c[f]=null}),Y(),t=c[e],t?t.p(r,o):(t=c[e]=a[e](r),t.c()),A(t,1),t.m(i.parentNode,i))},i(r){l||(A(t),l=!0)},o(r){L(t),l=!1},d(r){c[e].d(r),r&&C(i)}}}function Ot(s){let e,t,i,l;const a=[yt,$t],c=[];function n(r,o){return r[0][3]?0:1}return e=n(s),t=c[e]=a[e](s),{c(){t.c(),i=R()},l(r){t.l(r),i=R()},m(r,o){c[e].m(r,o),J(r,i,o),l=!0},p(r,o){let f=e;e=n(r),e===f?c[e].p(r,o):(W(),L(c[f],1,1,()=>{c[f]=null}),Y(),t=c[e],t?t.p(r,o):(t=c[e]=a[e](r),t.c()),A(t,1),t.m(i.parentNode,i))},i(r){l||(A(t),l=!0)},o(r){L(t),l=!1},d(r){c[e].d(r),r&&C(i)}}}function Pt(s){let e,t,i,l;const a=[Et,bt],c=[];function n(r,o){return r[0][2]?0:1}return e=n(s),t=c[e]=a[e](s),{c(){t.c(),i=R()},l(r){t.l(r),i=R()},m(r,o){c[e].m(r,o),J(r,i,o),l=!0},p(r,o){let f=e;e=n(r),e===f?c[e].p(r,o):(W(),L(c[f],1,1,()=>{c[f]=null}),Y(),t=c[e],t?t.p(r,o):(t=c[e]=a[e](r),t.c()),A(t,1),t.m(i.parentNode,i))},i(r){l||(A(t),l=!0)},o(r){L(t),l=!1},d(r){c[e].d(r),r&&C(i)}}}function Ke(s){let e,t=s[7]&&Be(s);return{c(){e=ot("div"),t&&t.c(),this.h()},l(i){e=at(i,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var l=ct(e);t&&t.l(l),l.forEach(C),this.h()},h(){ve(e,"id","svelte-announcer"),ve(e,"aria-live","assertive"),ve(e,"aria-atomic","true"),G(e,"position","absolute"),G(e,"left","0"),G(e,"top","0"),G(e,"clip","rect(0 0 0 0)"),G(e,"clip-path","inset(50%)"),G(e,"overflow","hidden"),G(e,"white-space","nowrap"),G(e,"width","1px"),G(e,"height","1px")},m(i,l){J(i,e,l),t&&t.m(e,null)},p(i,l){i[7]?t?t.p(i,l):(t=Be(i),t.c(),t.m(e,null)):t&&(t.d(1),t=null)},d(i){i&&C(e),t&&t.d()}}}function Be(s){let e;return{c(){e=lt(s[8])},l(t){e=ft(t,s[8])},m(t,i){J(t,e,i)},p(t,i){i&256&&ut(e,t[8])},d(t){t&&C(e)}}}function It(s){let e,t,i,l,a;const c=[vt,gt],n=[];function r(f,O){return f[0][1]?0:1}e=r(s),t=n[e]=c[e](s);let o=s[6]&&Ke(s);return{c(){t.c(),i=_t(),o&&o.c(),l=R()},l(f){t.l(f),i=pt(f),o&&o.l(f),l=R()},m(f,O){n[e].m(f,O),J(f,i,O),o&&o.m(f,O),J(f,l,O),a=!0},p(f,[O]){let K=e;e=r(f),e===K?n[e].p(f,O):(W(),L(n[K],1,1,()=>{n[K]=null}),Y(),t=n[e],t?t.p(f,O):(t=n[e]=c[e](f),t.c()),A(t,1),t.m(i.parentNode,i)),f[6]?o?o.p(f,O):(o=Ke(f),o.c(),o.m(l.parentNode,l)):o&&(o.d(1),o=null)},i(f){a||(A(t),a=!0)},o(f){L(t),a=!1},d(f){n[e].d(f),f&&C(i),o&&o.d(f),f&&C(l)}}}function Tt(s,e,t){let{stores:i}=e,{page:l}=e,{components:a}=e,{props_0:c=null}=e,{props_1:n=null}=e,{props_2:r=null}=e,{props_3:o=null}=e,{props_4:f=null}=e;dt("__svelte__",i),mt(i.page.notify);let O=!1,K=!1,Q=null;return $e(()=>{const P=i.page.subscribe(()=>{O&&(t(7,K=!0),t(8,Q=document.title||"untitled page"))});return t(6,O=!0),P}),s.$$set=P=>{"stores"in P&&t(9,i=P.stores),"page"in P&&t(10,l=P.page),"components"in P&&t(0,a=P.components),"props_0"in P&&t(1,c=P.props_0),"props_1"in P&&t(2,n=P.props_1),"props_2"in P&&t(3,r=P.props_2),"props_3"in P&&t(4,o=P.props_3),"props_4"in P&&t(5,f=P.props_4)},s.$$.update=()=>{s.$$.dirty&1536&&i.page.set(l)},[a,c,n,r,o,f,O,K,Q,i,l]}class Dt extends rt{constructor(e){super(),st(this,e,Tt,It,it,{stores:9,page:10,components:0,props_0:1,props_1:2,props_2:3,props_3:4,props_4:5})}}const Vt="modulepreload",We={},St="/_app/",w=function(e,t){return!t||t.length===0?e():Promise.all(t.map(i=>{if(i=`${St}${i}`,i in We)return;We[i]=!0;const l=i.endsWith(".css"),a=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${i}"]${a}`))return;const c=document.createElement("link");if(c.rel=l?"stylesheet":Vt,l||(c.as="script",c.crossOrigin=""),c.href=i,document.head.appendChild(c),l)return new Promise((n,r)=>{c.addEventListener("load",n),c.addEventListener("error",()=>r(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>e())},Ut={},ke=[()=>w(()=>import("./layout.svelte-452560fe.js"),["layout.svelte-452560fe.js","chunks/index-604742bf.js"]),()=>w(()=>import("./pages/__error.svelte-c49e2486.js"),["pages/__error.svelte-c49e2486.js","assets/app-fde0a0ed.css","chunks/index-604742bf.js","chunks/error-a039bd7e.js","assets/error-c8fecd8f.css","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/stores-810822a9.js","chunks/is-network-error-ac7c8caf.js","chunks/link-74db22ab.js"]),()=>w(()=>import("./pages/__layout-root.svelte-a9d82a48.js"),["pages/__layout-root.svelte-a9d82a48.js","assets/pages/__layout-root.svelte-ebae0a9f.css","assets/app-fde0a0ed.css","chunks/index-604742bf.js","chunks/get-namespace-d07a8a35.js","chunks/notifications-cfed8e58.js","chunks/index-c9e619a8.js","chunks/route-for-api-3a26c58e.js","chunks/is-network-error-ac7c8caf.js","chunks/route-for-1f2060cd.js","chunks/error-boundary-ed391cfd.js","assets/error-boundary-f3cc63ec.css","chunks/index-69aa65a3.js","chunks/error-a039bd7e.js","assets/error-c8fecd8f.css","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/stores-810822a9.js","chunks/link-74db22ab.js","chunks/settings-service-86784aa7.js","pages/_header.svelte-61c8f411.js","assets/pages/_header.svelte-abd51030.css","chunks/index-0574ae1f.js","chunks/persist-store-26f405dd.js","chunks/_nav-row-56ea2046.js","assets/_nav-row-3cbe0b52.css","chunks/tooltip-4b9b03e7.js","assets/tooltip-755a4257.css","chunks/copyable-6f962ac2.js","chunks/copy-to-clipboard-8832075c.js","chunks/data-encoder-status-744c8425.js","chunks/data-converter-config-6fc5efe1.js","chunks/is-http-24b20bf9.js","chunks/modal-0d6320a7.js","assets/modal-64ca3666.css","chunks/button-0ce95595.js","assets/button-828e4159.css"]),()=>w(()=>import("./pages/fiction/__layout.svelte-68a7a757.js"),["pages/fiction/__layout.svelte-68a7a757.js","assets/app-fde0a0ed.css","chunks/index-604742bf.js","chunks/index-c9e619a8.js","chunks/code-block-03609e84.js","chunks/index-0574ae1f.js","chunks/copy-to-clipboard-8832075c.js"]),()=>w(()=>import("./pages/import/__layout-import.svelte-1b04c70f.js"),["pages/import/__layout-import.svelte-1b04c70f.js","assets/app-fde0a0ed.css","chunks/index-604742bf.js","chunks/error-boundary-ed391cfd.js","assets/error-boundary-f3cc63ec.css","chunks/route-for-api-3a26c58e.js","chunks/index-c9e619a8.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/route-for-1f2060cd.js","chunks/index-69aa65a3.js","chunks/error-a039bd7e.js","assets/error-c8fecd8f.css","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/stores-810822a9.js","chunks/link-74db22ab.js","chunks/settings-service-86784aa7.js","pages/import/_import-header.svelte-eb691789.js","assets/pages/import/_import-header.svelte-006091fd.css","chunks/index-0574ae1f.js","chunks/_nav-row-56ea2046.js","assets/_nav-row-3cbe0b52.css","chunks/persist-store-26f405dd.js","chunks/tooltip-4b9b03e7.js","assets/tooltip-755a4257.css","chunks/copyable-6f962ac2.js","chunks/copy-to-clipboard-8832075c.js"]),()=>w(()=>import("./pages/import/events/_namespace_/_workflow_/_run_/history/__layout@import.svelte-e2b8f238.js"),["pages/import/events/_namespace_/_workflow_/_run_/history/__layout@import.svelte-e2b8f238.js","chunks/index-604742bf.js","chunks/route-for-1f2060cd.js","chunks/toggle-buttons-baa97943.js","assets/toggle-buttons-608b3b43.css","chunks/index-0574ae1f.js","chunks/stores-810822a9.js","pages/import/_event-history-import.svelte-214c3605.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/button-0ce95595.js","assets/button-828e4159.css","chunks/index-e3391e94.js","chunks/is-http-24b20bf9.js","chunks/index-c9e619a8.js","chunks/persist-store-26f405dd.js","chunks/data-converter-config-6fc5efe1.js","chunks/atob-eb4fc9a1.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/get-event-categorization-8a63628f.js","chunks/simplify-attributes-64d6cf1a.js","chunks/notifications-cfed8e58.js","chunks/import-events-fe941759.js"]),()=>w(()=>import("./pages/login/__layout-login.svelte-d7ecd6ee.js"),["pages/login/__layout-login.svelte-d7ecd6ee.js","assets/app-fde0a0ed.css","chunks/index-604742bf.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/workflows/_workflow_/_run_/__layout@root.svelte-50ae0207.js"),["pages/namespaces/_namespace_/workflows/_workflow_/_run_/__layout@root.svelte-50ae0207.js","assets/pages/namespaces/_namespace_/workflows/_workflow_/_run_/__layout@root.svelte-ed604b5d.css","chunks/index-604742bf.js","chunks/stores-810822a9.js","chunks/workflow-run-60a1c465.js","chunks/index-c9e619a8.js","chunks/with-loading-22689bcc.js","chunks/workflow-service-b18a98d3.js","chunks/simplify-attributes-64d6cf1a.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/route-for-api-3a26c58e.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/route-for-1f2060cd.js","chunks/index-69aa65a3.js","chunks/index-0574ae1f.js","chunks/event-view-963ec0ce.js","chunks/persist-store-26f405dd.js","chunks/workflows-92f8c48f.js","chunks/workflow-status-ca8cb7e9.js","assets/workflow-status-2dd7a047.css","chunks/button-0ce95595.js","assets/button-828e4159.css","chunks/modal-0d6320a7.js","assets/modal-64ca3666.css","chunks/events-service-97238182.js","chunks/index-e3391e94.js","chunks/is-http-24b20bf9.js","chunks/data-converter-config-6fc5efe1.js","chunks/atob-eb4fc9a1.js","chunks/get-event-categorization-8a63628f.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/__layout.svelte-5e9f544c.js"),["pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/__layout.svelte-5e9f544c.js","assets/pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/__layout.svelte-7e0e61e1.css","chunks/index-604742bf.js","chunks/stores-810822a9.js","chunks/workflow-run-60a1c465.js","chunks/index-c9e619a8.js","chunks/with-loading-22689bcc.js","chunks/workflow-service-b18a98d3.js","chunks/simplify-attributes-64d6cf1a.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/route-for-api-3a26c58e.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/route-for-1f2060cd.js","chunks/event-view-963ec0ce.js","chunks/persist-store-26f405dd.js","chunks/events-5f708b93.js","chunks/events-service-97238182.js","chunks/index-e3391e94.js","chunks/is-http-24b20bf9.js","chunks/data-converter-config-6fc5efe1.js","chunks/atob-eb4fc9a1.js","chunks/get-event-categorization-8a63628f.js","chunks/toggle-buttons-baa97943.js","assets/toggle-buttons-608b3b43.css","chunks/index-0574ae1f.js","chunks/link-74db22ab.js","chunks/badge-d40010b4.js","assets/badge-672f9246.css","chunks/code-block-03609e84.js","chunks/copy-to-clipboard-8832075c.js","chunks/empty-state-c50aaf3c.js","chunks/format-camel-case-abb2903d.js","chunks/copyable-6f962ac2.js"]),()=>w(()=>import("./pages/signin/__layout-signin.svelte-02a8600f.js"),["pages/signin/__layout-signin.svelte-02a8600f.js","assets/app-fde0a0ed.css","chunks/index-604742bf.js"]),()=>w(()=>import("./pages/_header.svelte-61c8f411.js"),["pages/_header.svelte-61c8f411.js","assets/pages/_header.svelte-abd51030.css","chunks/index-604742bf.js","chunks/stores-810822a9.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/route-for-1f2060cd.js","chunks/index-0574ae1f.js","chunks/persist-store-26f405dd.js","chunks/index-c9e619a8.js","chunks/_nav-row-56ea2046.js","assets/_nav-row-3cbe0b52.css","chunks/tooltip-4b9b03e7.js","assets/tooltip-755a4257.css","chunks/copyable-6f962ac2.js","chunks/copy-to-clipboard-8832075c.js","chunks/data-encoder-status-744c8425.js","chunks/data-converter-config-6fc5efe1.js","chunks/is-http-24b20bf9.js","chunks/modal-0d6320a7.js","assets/modal-64ca3666.css","chunks/button-0ce95595.js","assets/button-828e4159.css"]),()=>w(()=>import("./pages/_namespace-select.svelte-069f8cf8.js"),["pages/_namespace-select.svelte-069f8cf8.js","chunks/index-604742bf.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/stores-810822a9.js","chunks/route-for-1f2060cd.js","chunks/select-4556bdf3.js","assets/select-b58c3957.css"]),()=>w(()=>import("./pages/data-converter/_port_.svelte-2160aa99.js"),["pages/data-converter/_port_.svelte-2160aa99.js","chunks/index-604742bf.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/stores-810822a9.js","chunks/notifications-cfed8e58.js","chunks/index-c9e619a8.js","chunks/data-converter-config-6fc5efe1.js","chunks/persist-store-26f405dd.js"]),()=>w(()=>import("./pages/import/_event-history-import.svelte-214c3605.js"),["pages/import/_event-history-import.svelte-214c3605.js","chunks/index-604742bf.js","chunks/route-for-1f2060cd.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/button-0ce95595.js","assets/button-828e4159.css","chunks/index-0574ae1f.js","chunks/index-e3391e94.js","chunks/is-http-24b20bf9.js","chunks/index-c9e619a8.js","chunks/persist-store-26f405dd.js","chunks/data-converter-config-6fc5efe1.js","chunks/atob-eb4fc9a1.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/get-event-categorization-8a63628f.js","chunks/simplify-attributes-64d6cf1a.js","chunks/notifications-cfed8e58.js","chunks/import-events-fe941759.js"]),()=>w(()=>import("./pages/import/_import-header.svelte-eb691789.js"),["pages/import/_import-header.svelte-eb691789.js","assets/pages/import/_import-header.svelte-006091fd.css","chunks/index-604742bf.js","chunks/stores-810822a9.js","chunks/index-0574ae1f.js","chunks/_nav-row-56ea2046.js","assets/_nav-row-3cbe0b52.css","chunks/persist-store-26f405dd.js","chunks/index-c9e619a8.js","chunks/tooltip-4b9b03e7.js","assets/tooltip-755a4257.css","chunks/copyable-6f962ac2.js","chunks/copy-to-clipboard-8832075c.js","chunks/route-for-1f2060cd.js"]),()=>w(()=>import("./pages/import/events/_namespace_/_workflow_/_run_/history/compact/index.svelte-1a4c2a7c.js"),["pages/import/events/_namespace_/_workflow_/_run_/history/compact/index.svelte-1a4c2a7c.js","chunks/index-604742bf.js","chunks/stores-810822a9.js","chunks/import-events-fe941759.js","chunks/index-c9e619a8.js","chunks/event-summary-c6ec8e4f.js","assets/event-summary-e50f57b2.css","chunks/event-view-963ec0ce.js","chunks/persist-store-26f405dd.js","chunks/pagination-bd44ecb0.js","assets/pagination-30a5bfe0.css","chunks/index-0574ae1f.js","chunks/filter-select-ee707cee.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/update-query-parameters-08bf783c.js","chunks/select-4556bdf3.js","assets/select-b58c3957.css","chunks/index-69aa65a3.js","chunks/get-event-categorization-8a63628f.js","chunks/time-format-6fa48b0d.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/format-camel-case-abb2903d.js","chunks/route-for-1f2060cd.js","chunks/code-block-03609e84.js","chunks/copy-to-clipboard-8832075c.js","chunks/link-74db22ab.js","chunks/copyable-6f962ac2.js","chunks/empty-state-c50aaf3c.js"]),()=>w(()=>import("./pages/import/events/_namespace_/_workflow_/_run_/history/feed/index.svelte-4c6e09f3.js"),["pages/import/events/_namespace_/_workflow_/_run_/history/feed/index.svelte-4c6e09f3.js","chunks/index-604742bf.js","chunks/stores-810822a9.js","chunks/import-events-fe941759.js","chunks/index-c9e619a8.js","chunks/event-summary-c6ec8e4f.js","assets/event-summary-e50f57b2.css","chunks/event-view-963ec0ce.js","chunks/persist-store-26f405dd.js","chunks/pagination-bd44ecb0.js","assets/pagination-30a5bfe0.css","chunks/index-0574ae1f.js","chunks/filter-select-ee707cee.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/update-query-parameters-08bf783c.js","chunks/select-4556bdf3.js","assets/select-b58c3957.css","chunks/index-69aa65a3.js","chunks/get-event-categorization-8a63628f.js","chunks/time-format-6fa48b0d.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/format-camel-case-abb2903d.js","chunks/route-for-1f2060cd.js","chunks/code-block-03609e84.js","chunks/copy-to-clipboard-8832075c.js","chunks/link-74db22ab.js","chunks/copyable-6f962ac2.js","chunks/empty-state-c50aaf3c.js"]),()=>w(()=>import("./pages/import/events/_namespace_/_workflow_/_run_/history/index.svelte-cf6e3c62.js"),["pages/import/events/_namespace_/_workflow_/_run_/history/index.svelte-cf6e3c62.js","chunks/index-604742bf.js","chunks/route-for-1f2060cd.js"]),()=>w(()=>import("./pages/import/events/_namespace_/_workflow_/_run_/history/json/index.svelte-d117a55c.js"),["pages/import/events/_namespace_/_workflow_/_run_/history/json/index.svelte-d117a55c.js","chunks/index-604742bf.js","chunks/code-block-03609e84.js","chunks/index-0574ae1f.js","chunks/copy-to-clipboard-8832075c.js","chunks/index-c9e619a8.js","chunks/import-events-fe941759.js"]),()=>w(()=>import("./pages/import/events/index@import.svelte-a5330402.js"),["pages/import/events/index@import.svelte-a5330402.js","chunks/index-604742bf.js","pages/import/_event-history-import.svelte-214c3605.js","chunks/route-for-1f2060cd.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/button-0ce95595.js","assets/button-828e4159.css","chunks/index-0574ae1f.js","chunks/index-e3391e94.js","chunks/is-http-24b20bf9.js","chunks/index-c9e619a8.js","chunks/persist-store-26f405dd.js","chunks/data-converter-config-6fc5efe1.js","chunks/atob-eb4fc9a1.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/get-event-categorization-8a63628f.js","chunks/simplify-attributes-64d6cf1a.js","chunks/notifications-cfed8e58.js","chunks/import-events-fe941759.js","chunks/code-block-03609e84.js","chunks/copy-to-clipboard-8832075c.js","chunks/link-74db22ab.js"]),()=>w(()=>import("./pages/import/index.svelte-2330b66f.js"),["pages/import/index.svelte-2330b66f.js","chunks/index-604742bf.js","chunks/route-for-1f2060cd.js"]),()=>w(()=>import("./pages/index@root.svelte-c3fd93bc.js"),["pages/index@root.svelte-c3fd93bc.js","chunks/index-604742bf.js","chunks/get-namespace-d07a8a35.js","chunks/route-for-1f2060cd.js"]),()=>w(()=>import("./pages/login/index@login.svelte-fbe1d7f9.js"),["pages/login/index@login.svelte-fbe1d7f9.js","chunks/index-604742bf.js","chunks/settings-service-86784aa7.js","chunks/route-for-api-3a26c58e.js","chunks/index-c9e619a8.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/route-for-1f2060cd.js","chunks/button-0ce95595.js","assets/button-828e4159.css","chunks/index-0574ae1f.js","chunks/stores-810822a9.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/hamburger-header-8beb5c91.js","assets/hamburger-header-e605fa6e.css","chunks/data-encoder-status-744c8425.js","chunks/data-converter-config-6fc5efe1.js","chunks/persist-store-26f405dd.js","chunks/is-http-24b20bf9.js","chunks/tooltip-4b9b03e7.js","assets/tooltip-755a4257.css","chunks/copyable-6f962ac2.js","chunks/copy-to-clipboard-8832075c.js","chunks/modal-0d6320a7.js","assets/modal-64ca3666.css","chunks/index-69aa65a3.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/archival/_filter-input.svelte-7981c276.js"),["pages/namespaces/_namespace_/archival/_filter-input.svelte-7981c276.js","assets/pages/namespaces/_namespace_/archival/_filter-input.svelte-38872ba3.css","chunks/index-604742bf.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/stores-810822a9.js","chunks/update-query-parameters-08bf783c.js","chunks/index-c0547148.js","chunks/index-0574ae1f.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/archival/_workflow-filters.svelte-2b33dbfb.js"),["pages/namespaces/_namespace_/archival/_workflow-filters.svelte-2b33dbfb.js","chunks/index-604742bf.js","chunks/stores-810822a9.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/to-duration-271d3946.js","chunks/select-4556bdf3.js","assets/select-b58c3957.css","chunks/filter-select-ee707cee.js","chunks/update-query-parameters-08bf783c.js","pages/namespaces/_namespace_/archival/_filter-input.svelte-7981c276.js","assets/pages/namespaces/_namespace_/archival/_filter-input.svelte-38872ba3.css","chunks/index-c0547148.js","chunks/index-0574ae1f.js","chunks/search-b2185bce.js","chunks/button-0ce95595.js","assets/button-828e4159.css","chunks/time-format-6fa48b0d.js","chunks/persist-store-26f405dd.js","chunks/index-c9e619a8.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/archival/index@root.svelte-4e2b4b59.js"),["pages/namespaces/_namespace_/archival/index@root.svelte-4e2b4b59.js","chunks/index-604742bf.js","chunks/workflow-service-b18a98d3.js","chunks/simplify-attributes-64d6cf1a.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/route-for-api-3a26c58e.js","chunks/index-c9e619a8.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/route-for-1f2060cd.js","chunks/workflows-summary-row-2c944249.js","assets/workflows-summary-row-4d7d7edb.css","chunks/stores-810822a9.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/update-query-parameters-08bf783c.js","chunks/workflow-status-ca8cb7e9.js","assets/workflow-status-2dd7a047.css","chunks/index-0574ae1f.js","chunks/copy-to-clipboard-8832075c.js","pages/namespaces/_namespace_/archival/_workflow-filters.svelte-2b33dbfb.js","chunks/select-4556bdf3.js","assets/select-b58c3957.css","chunks/filter-select-ee707cee.js","pages/namespaces/_namespace_/archival/_filter-input.svelte-7981c276.js","assets/pages/namespaces/_namespace_/archival/_filter-input.svelte-38872ba3.css","chunks/index-c0547148.js","chunks/search-b2185bce.js","chunks/button-0ce95595.js","assets/button-828e4159.css","chunks/time-format-6fa48b0d.js","chunks/persist-store-26f405dd.js","chunks/pagination-bd44ecb0.js","assets/pagination-30a5bfe0.css","chunks/empty-state-c50aaf3c.js","chunks/code-block-03609e84.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/index@root.svelte-293d9b8e.js"),["pages/namespaces/_namespace_/index@root.svelte-293d9b8e.js","chunks/index-604742bf.js","chunks/get-namespace-d07a8a35.js","chunks/route-for-1f2060cd.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/settings/index@root.svelte-29dbe1d7.js"),["pages/namespaces/_namespace_/settings/index@root.svelte-29dbe1d7.js","chunks/index-604742bf.js","chunks/stores-810822a9.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/compact/index.svelte-7491812b.js"),["pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/compact/index.svelte-7491812b.js","chunks/index-604742bf.js","chunks/event-summary-c6ec8e4f.js","assets/event-summary-e50f57b2.css","chunks/event-view-963ec0ce.js","chunks/index-c9e619a8.js","chunks/stores-810822a9.js","chunks/persist-store-26f405dd.js","chunks/pagination-bd44ecb0.js","assets/pagination-30a5bfe0.css","chunks/index-0574ae1f.js","chunks/filter-select-ee707cee.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/update-query-parameters-08bf783c.js","chunks/select-4556bdf3.js","assets/select-b58c3957.css","chunks/index-69aa65a3.js","chunks/get-event-categorization-8a63628f.js","chunks/time-format-6fa48b0d.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/format-camel-case-abb2903d.js","chunks/route-for-1f2060cd.js","chunks/code-block-03609e84.js","chunks/copy-to-clipboard-8832075c.js","chunks/link-74db22ab.js","chunks/copyable-6f962ac2.js","chunks/empty-state-c50aaf3c.js","chunks/events-5f708b93.js","chunks/events-service-97238182.js","chunks/route-for-api-3a26c58e.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/index-e3391e94.js","chunks/is-http-24b20bf9.js","chunks/data-converter-config-6fc5efe1.js","chunks/atob-eb4fc9a1.js","chunks/simplify-attributes-64d6cf1a.js","chunks/with-loading-22689bcc.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/feed/index.svelte-e1d5022e.js"),["pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/feed/index.svelte-e1d5022e.js","chunks/index-604742bf.js","chunks/event-summary-c6ec8e4f.js","assets/event-summary-e50f57b2.css","chunks/event-view-963ec0ce.js","chunks/index-c9e619a8.js","chunks/stores-810822a9.js","chunks/persist-store-26f405dd.js","chunks/pagination-bd44ecb0.js","assets/pagination-30a5bfe0.css","chunks/index-0574ae1f.js","chunks/filter-select-ee707cee.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/update-query-parameters-08bf783c.js","chunks/select-4556bdf3.js","assets/select-b58c3957.css","chunks/index-69aa65a3.js","chunks/get-event-categorization-8a63628f.js","chunks/time-format-6fa48b0d.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/format-camel-case-abb2903d.js","chunks/route-for-1f2060cd.js","chunks/code-block-03609e84.js","chunks/copy-to-clipboard-8832075c.js","chunks/link-74db22ab.js","chunks/copyable-6f962ac2.js","chunks/empty-state-c50aaf3c.js","chunks/events-5f708b93.js","chunks/events-service-97238182.js","chunks/route-for-api-3a26c58e.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/index-e3391e94.js","chunks/is-http-24b20bf9.js","chunks/data-converter-config-6fc5efe1.js","chunks/atob-eb4fc9a1.js","chunks/simplify-attributes-64d6cf1a.js","chunks/with-loading-22689bcc.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/index.svelte-23d5f14e.js"),["pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/index.svelte-23d5f14e.js","chunks/index-604742bf.js","chunks/stores-810822a9.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/event-view-963ec0ce.js","chunks/index-c9e619a8.js","chunks/persist-store-26f405dd.js","chunks/route-for-1f2060cd.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/json/index.svelte-78f2bdc8.js"),["pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/json/index.svelte-78f2bdc8.js","chunks/index-604742bf.js","chunks/code-block-03609e84.js","chunks/index-0574ae1f.js","chunks/copy-to-clipboard-8832075c.js","chunks/index-c9e619a8.js","chunks/events-5f708b93.js","chunks/stores-810822a9.js","chunks/events-service-97238182.js","chunks/route-for-api-3a26c58e.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/route-for-1f2060cd.js","chunks/index-e3391e94.js","chunks/is-http-24b20bf9.js","chunks/persist-store-26f405dd.js","chunks/data-converter-config-6fc5efe1.js","chunks/atob-eb4fc9a1.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/get-event-categorization-8a63628f.js","chunks/simplify-attributes-64d6cf1a.js","chunks/event-view-963ec0ce.js","chunks/with-loading-22689bcc.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/workflows/_workflow_/_run_/index.svelte-3db2c924.js"),["pages/namespaces/_namespace_/workflows/_workflow_/_run_/index.svelte-3db2c924.js","chunks/index-604742bf.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/workflows/_workflow_/_run_/pending-activities.svelte-5073cb4a.js"),["pages/namespaces/_namespace_/workflows/_workflow_/_run_/pending-activities.svelte-5073cb4a.js","assets/pages/namespaces/_namespace_/workflows/_workflow_/_run_/pending-activities.svelte-f0b92bb7.css","chunks/index-604742bf.js","chunks/workflow-run-60a1c465.js","chunks/index-c9e619a8.js","chunks/stores-810822a9.js","chunks/with-loading-22689bcc.js","chunks/workflow-service-b18a98d3.js","chunks/simplify-attributes-64d6cf1a.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/route-for-api-3a26c58e.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/route-for-1f2060cd.js","chunks/index-0574ae1f.js","chunks/badge-d40010b4.js","assets/badge-672f9246.css","chunks/empty-state-c50aaf3c.js","chunks/link-74db22ab.js","chunks/code-block-03609e84.js","chunks/copy-to-clipboard-8832075c.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/workflows/_workflow_/_run_/query.svelte-053a2a15.js"),["pages/namespaces/_namespace_/workflows/_workflow_/_run_/query.svelte-053a2a15.js","chunks/index-604742bf.js","chunks/stores-810822a9.js","chunks/query-service-1ec7a5fc.js","chunks/route-for-api-3a26c58e.js","chunks/index-c9e619a8.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/route-for-1f2060cd.js","chunks/atob-eb4fc9a1.js","chunks/workflow-run-60a1c465.js","chunks/with-loading-22689bcc.js","chunks/workflow-service-b18a98d3.js","chunks/simplify-attributes-64d6cf1a.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/code-block-03609e84.js","chunks/index-0574ae1f.js","chunks/copy-to-clipboard-8832075c.js","chunks/select-4556bdf3.js","assets/select-b58c3957.css","chunks/empty-state-c50aaf3c.js","chunks/button-0ce95595.js","assets/button-828e4159.css"]),()=>w(()=>import("./pages/namespaces/_namespace_/workflows/_workflow_/_run_/stack-trace.svelte-26691939.js"),["pages/namespaces/_namespace_/workflows/_workflow_/_run_/stack-trace.svelte-26691939.js","chunks/index-604742bf.js","chunks/stores-810822a9.js","chunks/workflow-run-60a1c465.js","chunks/index-c9e619a8.js","chunks/with-loading-22689bcc.js","chunks/workflow-service-b18a98d3.js","chunks/simplify-attributes-64d6cf1a.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/route-for-api-3a26c58e.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/route-for-1f2060cd.js","chunks/query-service-1ec7a5fc.js","chunks/atob-eb4fc9a1.js","chunks/code-block-03609e84.js","chunks/index-0574ae1f.js","chunks/copy-to-clipboard-8832075c.js","chunks/button-0ce95595.js","assets/button-828e4159.css","chunks/empty-state-c50aaf3c.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/workflows/_workflow_/_run_/workers.svelte-67a020df.js"),["pages/namespaces/_namespace_/workflows/_workflow_/_run_/workers.svelte-67a020df.js","chunks/index-604742bf.js","chunks/index-0574ae1f.js","chunks/workflow-run-60a1c465.js","chunks/index-c9e619a8.js","chunks/stores-810822a9.js","chunks/with-loading-22689bcc.js","chunks/workflow-service-b18a98d3.js","chunks/simplify-attributes-64d6cf1a.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/route-for-api-3a26c58e.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/route-for-1f2060cd.js","chunks/time-format-6fa48b0d.js","chunks/persist-store-26f405dd.js","chunks/empty-state-c50aaf3c.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/workflows/index@root.svelte-4bfa9e3b.js"),["pages/namespaces/_namespace_/workflows/index@root.svelte-4bfa9e3b.js","assets/pages/namespaces/_namespace_/workflows/index@root.svelte-1bf5c01f.css","chunks/index-604742bf.js","chunks/stores-810822a9.js","chunks/time-format-6fa48b0d.js","chunks/persist-store-26f405dd.js","chunks/index-c9e619a8.js","chunks/workflows-92f8c48f.js","chunks/workflow-service-b18a98d3.js","chunks/simplify-attributes-64d6cf1a.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/route-for-api-3a26c58e.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/route-for-1f2060cd.js","chunks/with-loading-22689bcc.js","chunks/workflows-summary-row-2c944249.js","assets/workflows-summary-row-4d7d7edb.css","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/update-query-parameters-08bf783c.js","chunks/workflow-status-ca8cb7e9.js","assets/workflow-status-2dd7a047.css","chunks/index-0574ae1f.js","chunks/copy-to-clipboard-8832075c.js","chunks/empty-state-c50aaf3c.js","chunks/pagination-bd44ecb0.js","assets/pagination-30a5bfe0.css","chunks/filter-select-ee707cee.js","chunks/select-4556bdf3.js","assets/select-b58c3957.css","chunks/index-c0547148.js","chunks/search-b2185bce.js","chunks/button-0ce95595.js","assets/button-828e4159.css"]),()=>w(()=>import("./pages/namespaces/index@root.svelte-01e7e893.js"),["pages/namespaces/index@root.svelte-01e7e893.js","chunks/index-604742bf.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/stores-810822a9.js","chunks/route-for-1f2060cd.js"]),()=>w(()=>import("./pages/signin/index@signin.svelte-07122b0f.js"),["pages/signin/index@signin.svelte-07122b0f.js","chunks/index-604742bf.js","chunks/settings-service-86784aa7.js","chunks/route-for-api-3a26c58e.js","chunks/index-c9e619a8.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/route-for-1f2060cd.js","chunks/button-0ce95595.js","assets/button-828e4159.css","chunks/index-0574ae1f.js","chunks/stores-810822a9.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/hamburger-header-8beb5c91.js","assets/hamburger-header-e605fa6e.css","chunks/data-encoder-status-744c8425.js","chunks/data-converter-config-6fc5efe1.js","chunks/persist-store-26f405dd.js","chunks/is-http-24b20bf9.js","chunks/tooltip-4b9b03e7.js","assets/tooltip-755a4257.css","chunks/copyable-6f962ac2.js","chunks/copy-to-clipboard-8832075c.js","chunks/modal-0d6320a7.js","assets/modal-64ca3666.css","chunks/index-69aa65a3.js"])],Nt={_header:[[0,10],[1]],"_namespace-select":[[0,11],[1]],import:[[0,20],[1]],"@root":[[2,21],[1]],"login@login":[[0,6,22],[1]],"namespaces@root":[[2,38],[1]],"signin@signin":[[0,9,39],[1]],"import/_event-history-import":[[0,13],[1]],"import/_import-header":[[0,14],[1]],"import/events@import":[[0,4,19],[1]],"import/events/[namespace]/[workflow]/[run]/history":[[0,4,5,17],[1]],"import/events/[namespace]/[workflow]/[run]/history/compact":[[0,4,5,15],[1]],"import/events/[namespace]/[workflow]/[run]/history/feed":[[0,4,5,16],[1]],"import/events/[namespace]/[workflow]/[run]/history/json":[[0,4,5,18],[1]],"namespaces/[namespace]@root":[[2,26],[1]],"data-converter/[port]":[[0,12],[1]],"namespaces/[namespace]/archival@root":[[2,25],[1]],"namespaces/[namespace]/settings@root":[[2,27],[1]],"namespaces/[namespace]/workflows@root":[[2,37],[1]],"namespaces/[namespace]/archival/_filter-input":[[0,23],[1]],"namespaces/[namespace]/archival/_workflow-filters":[[0,24],[1]],"namespaces/[namespace]/workflows/[workflow]/[run]":[[2,7,32],[1]],"namespaces/[namespace]/workflows/[workflow]/[run]/history":[[2,7,8,30],[1]],"namespaces/[namespace]/workflows/[workflow]/[run]/pending-activities":[[2,7,33],[1]],"namespaces/[namespace]/workflows/[workflow]/[run]/query":[[2,7,34],[1]],"namespaces/[namespace]/workflows/[workflow]/[run]/stack-trace":[[2,7,35],[1]],"namespaces/[namespace]/workflows/[workflow]/[run]/workers":[[2,7,36],[1]],"namespaces/[namespace]/workflows/[workflow]/[run]/history/compact":[[2,7,8,28],[1]],"namespaces/[namespace]/workflows/[workflow]/[run]/history/feed":[[2,7,8,29],[1]],"namespaces/[namespace]/workflows/[workflow]/[run]/history/json":[[2,7,8,31],[1]]};function Ye(s){return s instanceof Error||s&&s.name&&s.message?s:new Error(JSON.stringify(s))}function Me(s){if(s.fallthrough)throw new Error("fallthrough is no longer supported. Use matchers instead: https://kit.svelte.dev/docs/routing#advanced-routing-matching");if("maxage"in s)throw new Error("maxage should be replaced with cache: { maxage }");const e=s.status&&s.status>=400&&s.status<=599&&!s.redirect;if(s.error||e){const t=s.status;if(!s.error&&e)return{status:t||500,error:new Error};const i=typeof s.error=="string"?new Error(s.error):s.error;return i instanceof Error?!t||t<400||t>599?(console.warn('"error" returned from load() without a valid status code \u2014 defaulting to 500'),{status:500,error:i}):{status:t,error:i}:{status:500,error:new Error(`"error" property returned from load() must be a string or instance of Error, received type "${typeof i}"`)}}if(s.redirect){if(!s.status||Math.floor(s.status/100)!==3)return{status:500,error:new Error('"redirect" property returned from load() must be accompanied by a 3xx status code')};if(typeof s.redirect!="string")return{status:500,error:new Error('"redirect" property returned from load() must be a string')}}if(s.dependencies&&(!Array.isArray(s.dependencies)||s.dependencies.some(t=>typeof t!="string")))return{status:500,error:new Error('"dependencies" property returned from load() must be of type string[]')};if(s.context)throw new Error('You are returning "context" from a load function. "context" was renamed to "stuff", please adjust your code accordingly.');return s}function jt(s,e){return s==="/"||e==="ignore"?s:e==="never"?s.endsWith("/")?s.slice(0,-1):s:e==="always"&&!s.endsWith("/")?s+"/":s}function Ct(s){let e=5381,t=s.length;if(typeof s=="string")for(;t;)e=e*33^s.charCodeAt(--t);else for(;t;)e=e*33^s[--t];return(e>>>0).toString(36)}function Fe(s){let e=s.baseURI;if(!e){const t=s.getElementsByTagName("base");e=t.length?t[0].href:s.URL}return e}function ye(){return{x:pageXOffset,y:pageYOffset}}function Ge(s){return s.composedPath().find(t=>t instanceof Node&&t.nodeName.toUpperCase()==="A")}function Xe(s){return s instanceof SVGAElement?new URL(s.href.baseVal,document.baseURI):new URL(s.href)}function xe(s){const e=_e(s);let t=!0;function i(){t=!0,e.update(c=>c)}function l(c){t=!1,e.set(c)}function a(c){let n;return e.subscribe(r=>{(n===void 0||t&&r!==n)&&c(n=r)})}return{notify:i,set:l,subscribe:a}}function qt(){const{set:s,subscribe:e}=_e(!1),t="1656359390563";let i;async function l(){clearTimeout(i);const c=await fetch(`${He}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(c.ok){const{version:n}=await c.json(),r=n!==t;return r&&(s(!0),clearTimeout(i)),r}else throw new Error(`Version check failed: ${c.status}`)}return{subscribe:e,check:l}}function zt(s,e){let i=`script[sveltekit\\:data-type="data"][sveltekit\\:data-url=${JSON.stringify(typeof s=="string"?s:s.url)}]`;e&&typeof e.body=="string"&&(i+=`[sveltekit\\:data-body="${Ct(e.body)}"]`);const l=document.querySelector(i);if(l&&l.textContent){const a=JSON.parse(l.textContent),{body:c}=a,n=qe(a,["body"]);return Promise.resolve(new Response(c,n))}return fetch(s,e)}const Jt=/^(\.\.\.)?(\w+)(?:=(\w+))?$/;function Kt(s){const e=[],t=[];let i=!0;return{pattern:s===""?/^\/$/:new RegExp(`^${decodeURIComponent(s).split(/(?:@[a-zA-Z0-9_-]+)?(?:\/|$)/).map((a,c,n)=>{const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(r)return e.push(r[1]),t.push(r[2]),"(?:/(.*))?";const o=c===n.length-1;return a&&"/"+a.split(/\[(.+?)\]/).map((f,O)=>{if(O%2){const[,K,Q,P]=Jt.exec(f);return e.push(Q),t.push(P),K?"(.*?)":"([^/]+?)"}return o&&f.includes(".")&&(i=!1),f.normalize().replace(/%5[Bb]/g,"[").replace(/%5[Dd]/g,"]").replace(/#/g,"%23").replace(/\?/g,"%3F").replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}).join("")}).join("")}${i?"/?":""}$`),names:e,types:t}}function Bt(s,e,t,i){const l={};for(let a=0;a{const{pattern:r,names:o,types:f}=Kt(l);return{id:l,exec:O=>{const K=r.exec(O);if(K)return Bt(K,o,f,t)},a:a.map(O=>s[O]),b:c.map(O=>s[O]),has_shadow:!!n}})}const Qe="sveltekit:scroll",ee="sveltekit:index",be=Wt(ke,Nt,Ut),Yt=ke[0](),Mt=ke[1](),Ze={};let ce={};try{ce=JSON.parse(sessionStorage[Qe])}catch{}function Ee(s){ce[s]=ye()}function Ft({target:s,session:e,base:t,trailing_slash:i}){var Se;const l=new Map,a=[],c={url:xe({}),page:xe({}),navigating:_e(null),session:_e(e),updated:qt()},n={id:null,promise:null},r={before_navigate:[],after_navigate:[]};let o={branch:[],error:null,session_id:0,stuff:Ze,url:null},f=!1,O=!0,K=!1,Q=1,P=null,Re,Le,Ae=!1;c.session.subscribe(async u=>{Le=u,Ae&&(Q+=1,he(new URL(location.href),[],!0))}),Ae=!0;let ne=!0,M=(Se=history.state)==null?void 0:Se[ee];M||(M=Date.now(),history.replaceState(ae(B({},history.state),{[ee]:M}),"",location.href));const pe=ce[M];pe&&(history.scrollRestoration="manual",scrollTo(pe.x,pe.y));let de=!1,me,Oe;async function Pe(u,{noscroll:p=!1,replaceState:v=!1,keepfocus:_=!1,state:d={}},b){const m=new URL(u,Fe(document));if(ne)return ge({url:m,scroll:p?ye():null,keepfocus:_,redirect_chain:b,details:{state:d,replaceState:v},accepted:()=>{},blocked:()=>{}});await ie(m)}async function Ie(u){const p=Ve(u);if(!p)throw new Error("Attempted to prefetch a URL that does not belong to this app");return n.promise=De(p,!1),n.id=p.id,n.promise}async function he(u,p,v,_){var g,$,I;const d=Ve(u),b=Oe={};let m=d&&await De(d,v);if(!m&&u.origin===location.origin&&u.pathname===location.pathname&&(m=await se({status:404,error:new Error(`Not found: ${u.pathname}`),url:u,routeId:null})),!m)return await ie(u),!1;if(Oe!==b)return!1;if(a.length=0,m.redirect)if(p.length>10||p.includes(u.pathname))m=await se({status:500,error:new Error("Redirect loop"),url:u,routeId:null});else return ne?Pe(new URL(m.redirect,u).href,{},[...p,u.pathname]):await ie(new URL(m.redirect,location.href)),!1;else(($=(g=m.props)==null?void 0:g.page)==null?void 0:$.status)>=400&&await c.updated.check()&&await ie(u);if(K=!0,_&&_.details){const{details:y}=_,k=y.replaceState?0:1;y.state[ee]=M+=k,history[y.replaceState?"replaceState":"pushState"](y.state,"",u)}if(f?(o=m.state,Re.$set(m.props)):Te(m),_){const{scroll:y,keepfocus:k}=_;if(!k){const h=document.body,V=h.getAttribute("tabindex");(I=getSelection())==null||I.removeAllRanges(),h.tabIndex=-1,h.focus({preventScroll:!0}),V!==null?h.setAttribute("tabindex",V):h.removeAttribute("tabindex")}if(await ze(),O){const h=u.hash&&document.getElementById(u.hash.slice(1));y?scrollTo(y.x,y.y):h?h.scrollIntoView():scrollTo(0,0)}}else await ze();n.promise=null,n.id=null,O=!0,K=!1,m.props.page&&(me=m.props.page);const E=m.state.branch[m.state.branch.length-1];return ne=(E==null?void 0:E.module.router)!==!1,!0}function Te(u){o=u.state;const p=document.querySelector("style[data-sveltekit]");if(p&&p.remove(),me=u.props.page,Re=new Dt({target:s,props:ae(B({},u.props),{stores:c}),hydrate:!0}),f=!0,ne){const v={from:null,to:new URL(location.href)};r.after_navigate.forEach(_=>_(v))}}async function we({url:u,params:p,stuff:v,branch:_,status:d,error:b,routeId:m}){var h,V;const E=_.filter(Boolean),g=E.find(D=>{var q;return(q=D.loaded)==null?void 0:q.redirect}),$={redirect:(h=g==null?void 0:g.loaded)==null?void 0:h.redirect,state:{url:u,params:p,branch:_,error:b,stuff:v,session_id:Q},props:{components:E.map(D=>D.module.default)}};for(let D=0;D{Object.defineProperty($.props.page,q,{get:()=>{throw new Error(`$page.${q} has been replaced by $page.url.${T}`)}})};D("origin","origin"),D("path","pathname"),D("query","searchParams")}const y=E[E.length-1],k=(V=y==null?void 0:y.loaded)==null?void 0:V.cache;if(k){const D=u.pathname+u.search;let q=!1;const T=()=>{l.get(D)===$&&l.delete(D),z(),clearTimeout(S)},S=setTimeout(T,k.maxage*1e3),z=c.session.subscribe(()=>{q&&T()});q=!0,l.set(D,$)}return $}async function re({status:u,error:p,module:v,url:_,params:d,stuff:b,props:m,routeId:E}){const g={module:v,uses:{params:new Set,url:!1,session:!1,stuff:!1,dependencies:new Set},loaded:null,stuff:b};function $(k){const{href:h}=new URL(k,_);g.uses.dependencies.add(h)}m&&g.uses.dependencies.add(_.href);const I={};for(const k in d)Object.defineProperty(I,k,{get(){return g.uses.params.add(k),d[k]},enumerable:!0});const y=Le;if(v.load){const k={routeId:E,params:I,props:m||{},get url(){return g.uses.url=!0,_},get session(){return g.uses.session=!0,y},get stuff(){return g.uses.stuff=!0,B({},b)},fetch(V,D){const q=typeof V=="string"?V:V.url;return $(q),f?fetch(V,D):zt(V,D)},status:u!=null?u:null,error:p!=null?p:null},h=await v.load.call(null,k);if(!h)throw new Error("load function must return a value");g.loaded=Me(h),g.loaded.stuff&&(g.stuff=g.loaded.stuff),g.loaded.dependencies&&g.loaded.dependencies.forEach($)}else m&&(g.loaded=Me({props:m}));return g}async function De({id:u,url:p,params:v,route:_},d){var V,D,q;if(n.id===u&&n.promise)return n.promise;if(!d){const T=l.get(u);if(T)return T}const{a:b,b:m,has_shadow:E}=_,g=o.url&&{url:u!==o.url.pathname+o.url.search,params:Object.keys(v).filter(T=>o.params[T]!==v[T]),session:Q!==o.session_id};let $=[],I=Ze,y=!1,k=200,h=null;b.forEach(T=>T().catch(()=>{}));e:for(let T=0;TF.uses.params.has(te))||g.session&&F.uses.session||Array.from(F.uses.dependencies).some(te=>a.some(fe=>fe(te)))||y&&F.uses.stuff){let te={};const fe=E&&T===b.length-1;if(fe){const oe=await fetch(`${p.pathname}${p.pathname.endsWith("/")?"":"/"}__data.json${p.search}`,{headers:{"x-sveltekit-load":"true"}});if(oe.ok){const Ue=oe.headers.get("x-sveltekit-location");if(Ue)return{redirect:Ue,props:{},state:o};te=oe.status===204?{}:await oe.json()}else k=oe.status,h=new Error("Failed to load data")}if(h||(S=await re({module:z,url:p,params:v,props:te,stuff:I,routeId:_.id})),S&&(fe&&(S.uses.url=!0),S.loaded)){if(S.loaded.error&&(k=S.loaded.status,h=S.loaded.error),S.loaded.redirect)return{redirect:S.loaded.redirect,props:{},state:o};S.loaded.stuff&&(y=!0)}}else S=F}catch(z){k=500,h=Ye(z)}if(h){for(;T--;)if(m[T]){let z,F,le=T;for(;!(F=$[le]);)le-=1;try{if(z=await re({status:k,error:h,module:await m[T](),url:p,params:v,stuff:F.stuff,routeId:_.id}),(V=z==null?void 0:z.loaded)!=null&&V.error)continue;(D=z==null?void 0:z.loaded)!=null&&D.stuff&&(I=B(B({},I),z.loaded.stuff)),$=$.slice(0,le+1).concat(z);break e}catch{continue}}return await se({status:k,error:h,url:p,routeId:_.id})}else(q=S==null?void 0:S.loaded)!=null&&q.stuff&&(I=B(B({},I),S.loaded.stuff)),$.push(S)}return await we({url:p,params:v,stuff:I,branch:$,status:k,error:h,routeId:_.id})}async function se({status:u,error:p,url:v,routeId:_}){var E,g;const d={},b=await re({module:await Yt,url:v,params:d,stuff:{},routeId:_}),m=await re({status:u,error:p,module:await Mt,url:v,params:d,stuff:b&&b.loaded&&b.loaded.stuff||{},routeId:_});return await we({url:v,params:d,stuff:B(B({},(E=b==null?void 0:b.loaded)==null?void 0:E.stuff),(g=m==null?void 0:m.loaded)==null?void 0:g.stuff),branch:[b,m],status:u,error:p,routeId:_})}function Ve(u){if(u.origin!==location.origin||!u.pathname.startsWith(t))return;const p=decodeURI(u.pathname.slice(t.length)||"/");for(const v of be){const _=v.exec(p);if(_)return{id:u.pathname+u.search,route:v,params:_,url:u}}}async function ge({url:u,scroll:p,keepfocus:v,redirect_chain:_,details:d,accepted:b,blocked:m}){const E=o.url;let g=!1;const $={from:E,to:u,cancel:()=>g=!0};if(r.before_navigate.forEach(h=>h($)),g){m();return}const I=jt(u.pathname,i),y=new URL(u.origin+I+u.search+u.hash);if(Ee(M),b(),f&&c.navigating.set({from:o.url,to:y}),await he(y,_,!1,{scroll:p,keepfocus:v,details:d})){const h={from:E,to:y};r.after_navigate.forEach(V=>V(h)),c.navigating.set(null)}}function ie(u){return location.href=u.href,new Promise(()=>{})}return{after_navigate:u=>{$e(()=>(r.after_navigate.push(u),()=>{const p=r.after_navigate.indexOf(u);r.after_navigate.splice(p,1)}))},before_navigate:u=>{$e(()=>(r.before_navigate.push(u),()=>{const p=r.before_navigate.indexOf(u);r.before_navigate.splice(p,1)}))},disable_scroll_handling:()=>{(K||!f)&&(O=!1)},goto:(u,p={})=>Pe(u,p,[]),invalidate:u=>{if(typeof u=="function")a.push(u);else{const{href:p}=new URL(u,location.href);a.push(v=>v===p)}return P||(P=Promise.resolve().then(async()=>{await he(new URL(location.href),[],!0),P=null})),P},prefetch:async u=>{const p=new URL(u,Fe(document));await Ie(p)},prefetch_routes:async u=>{const v=(u?be.filter(_=>u.some(d=>_.exec(d))):be).map(_=>Promise.all(_.a.map(d=>d())));await Promise.all(v)},_start_router:()=>{history.scrollRestoration="manual",addEventListener("beforeunload",_=>{let d=!1;const b={from:o.url,to:null,cancel:()=>d=!0};r.before_navigate.forEach(m=>m(b)),d?(_.preventDefault(),_.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{if(document.visibilityState==="hidden"){Ee(M);try{sessionStorage[Qe]=JSON.stringify(ce)}catch{}}});const u=_=>{const d=Ge(_);d&&d.href&&d.hasAttribute("sveltekit:prefetch")&&Ie(Xe(d))};let p;const v=_=>{clearTimeout(p),p=setTimeout(()=>{var d;(d=_.target)==null||d.dispatchEvent(new CustomEvent("sveltekit:trigger_prefetch",{bubbles:!0}))},20)};addEventListener("touchstart",u),addEventListener("mousemove",v),addEventListener("sveltekit:trigger_prefetch",u),addEventListener("click",_=>{if(!ne||_.button||_.which!==1||_.metaKey||_.ctrlKey||_.shiftKey||_.altKey||_.defaultPrevented)return;const d=Ge(_);if(!d||!d.href)return;const b=d instanceof SVGAElement,m=Xe(d);if(!b&&m.origin==="null")return;const E=(d.getAttribute("rel")||"").split(/\s+/);if(d.hasAttribute("download")||E.includes("external")||d.hasAttribute("sveltekit:reload")||(b?d.target.baseVal:d.target))return;const[g,$]=m.href.split("#");if($!==void 0&&g===location.href.split("#")[0]){de=!0,Ee(M),c.page.set(ae(B({},me),{url:m})),c.page.notify();return}ge({url:m,scroll:d.hasAttribute("sveltekit:noscroll")?ye():null,keepfocus:!1,redirect_chain:[],details:{state:{},replaceState:m.href===location.href},accepted:()=>_.preventDefault(),blocked:()=>_.preventDefault()})}),addEventListener("popstate",_=>{if(_.state&&ne){if(_.state[ee]===M)return;ge({url:new URL(location.href),scroll:ce[_.state[ee]],keepfocus:!1,redirect_chain:[],details:null,accepted:()=>{M=_.state[ee]},blocked:()=>{const d=M-_.state[ee];history.go(d)}})}}),addEventListener("hashchange",()=>{de&&(de=!1,history.replaceState(ae(B({},history.state),{[ee]:++M}),"",location.href))})},_hydrate:async({status:u,error:p,nodes:v,params:_,routeId:d})=>{const b=new URL(location.href),m=[];let E={},g,$;try{for(let I=0;Ie in s?et(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,B=(s,e)=>{for(var t in e||(e={}))je.call(e,t)&&Ne(s,t,e[t]);if(ue)for(var t of ue(e))Ce.call(e,t)&&Ne(s,t,e[t]);return s},ae=(s,e)=>tt(s,nt(e));var qe=(s,e)=>{var t={};for(var i in s)je.call(s,i)&&e.indexOf(i)<0&&(t[i]=s[i]);if(s!=null&&ue)for(var i of ue(s))e.indexOf(i)<0&&Ce.call(s,i)&&(t[i]=s[i]);return t};import{S as rt,i as st,s as it,e as ot,c as at,a as ct,d as C,b as ve,f as G,g as J,t as lt,h as ft,j as ut,k as _t,l as R,m as pt,n as W,o as L,p as Y,q as A,r as dt,u as mt,v as $e,w as U,x as X,y as N,z as x,A as Z,B as j,C as H,D as ze}from"./chunks/index-604742bf.js";import{w as _e}from"./chunks/index-c9e619a8.js";import{i as ht}from"./chunks/singletons-d1fb5791.js";let Je="",He="";function wt(s){Je=s.base,He=s.assets||Je}function gt(s){let e,t,i;const l=[s[1]||{}];var a=s[0][0];function c(n){let r={};for(let o=0;o{j(f,1)}),Y()}a?(e=new a(c()),U(e.$$.fragment),A(e.$$.fragment,1),N(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){i||(e&&A(e.$$.fragment,n),i=!0)},o(n){e&&L(e.$$.fragment,n),i=!1},d(n){n&&C(t),e&&j(e,n)}}}function vt(s){let e,t,i;const l=[s[1]||{}];var a=s[0][0];function c(n){let r={$$slots:{default:[Pt]},$$scope:{ctx:n}};for(let o=0;o{j(f,1)}),Y()}a?(e=new a(c(n)),U(e.$$.fragment),A(e.$$.fragment,1),N(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){i||(e&&A(e.$$.fragment,n),i=!0)},o(n){e&&L(e.$$.fragment,n),i=!1},d(n){n&&C(t),e&&j(e,n)}}}function bt(s){let e,t,i;const l=[s[2]||{}];var a=s[0][1];function c(n){let r={};for(let o=0;o{j(f,1)}),Y()}a?(e=new a(c()),U(e.$$.fragment),A(e.$$.fragment,1),N(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){i||(e&&A(e.$$.fragment,n),i=!0)},o(n){e&&L(e.$$.fragment,n),i=!1},d(n){n&&C(t),e&&j(e,n)}}}function Et(s){let e,t,i;const l=[s[2]||{}];var a=s[0][1];function c(n){let r={$$slots:{default:[Ot]},$$scope:{ctx:n}};for(let o=0;o{j(f,1)}),Y()}a?(e=new a(c(n)),U(e.$$.fragment),A(e.$$.fragment,1),N(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){i||(e&&A(e.$$.fragment,n),i=!0)},o(n){e&&L(e.$$.fragment,n),i=!1},d(n){n&&C(t),e&&j(e,n)}}}function $t(s){let e,t,i;const l=[s[3]||{}];var a=s[0][2];function c(n){let r={};for(let o=0;o{j(f,1)}),Y()}a?(e=new a(c()),U(e.$$.fragment),A(e.$$.fragment,1),N(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){i||(e&&A(e.$$.fragment,n),i=!0)},o(n){e&&L(e.$$.fragment,n),i=!1},d(n){n&&C(t),e&&j(e,n)}}}function yt(s){let e,t,i;const l=[s[3]||{}];var a=s[0][2];function c(n){let r={$$slots:{default:[At]},$$scope:{ctx:n}};for(let o=0;o{j(f,1)}),Y()}a?(e=new a(c(n)),U(e.$$.fragment),A(e.$$.fragment,1),N(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){i||(e&&A(e.$$.fragment,n),i=!0)},o(n){e&&L(e.$$.fragment,n),i=!1},d(n){n&&C(t),e&&j(e,n)}}}function kt(s){let e,t,i;const l=[s[4]||{}];var a=s[0][3];function c(n){let r={};for(let o=0;o{j(f,1)}),Y()}a?(e=new a(c()),U(e.$$.fragment),A(e.$$.fragment,1),N(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){i||(e&&A(e.$$.fragment,n),i=!0)},o(n){e&&L(e.$$.fragment,n),i=!1},d(n){n&&C(t),e&&j(e,n)}}}function Rt(s){let e,t,i;const l=[s[4]||{}];var a=s[0][3];function c(n){let r={$$slots:{default:[Lt]},$$scope:{ctx:n}};for(let o=0;o{j(f,1)}),Y()}a?(e=new a(c(n)),U(e.$$.fragment),A(e.$$.fragment,1),N(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){i||(e&&A(e.$$.fragment,n),i=!0)},o(n){e&&L(e.$$.fragment,n),i=!1},d(n){n&&C(t),e&&j(e,n)}}}function Lt(s){let e,t,i;const l=[s[5]||{}];var a=s[0][4];function c(n){let r={};for(let o=0;o{j(f,1)}),Y()}a?(e=new a(c()),U(e.$$.fragment),A(e.$$.fragment,1),N(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(n){i||(e&&A(e.$$.fragment,n),i=!0)},o(n){e&&L(e.$$.fragment,n),i=!1},d(n){n&&C(t),e&&j(e,n)}}}function At(s){let e,t,i,l;const a=[Rt,kt],c=[];function n(r,o){return r[0][4]?0:1}return e=n(s),t=c[e]=a[e](s),{c(){t.c(),i=R()},l(r){t.l(r),i=R()},m(r,o){c[e].m(r,o),J(r,i,o),l=!0},p(r,o){let f=e;e=n(r),e===f?c[e].p(r,o):(W(),L(c[f],1,1,()=>{c[f]=null}),Y(),t=c[e],t?t.p(r,o):(t=c[e]=a[e](r),t.c()),A(t,1),t.m(i.parentNode,i))},i(r){l||(A(t),l=!0)},o(r){L(t),l=!1},d(r){c[e].d(r),r&&C(i)}}}function Ot(s){let e,t,i,l;const a=[yt,$t],c=[];function n(r,o){return r[0][3]?0:1}return e=n(s),t=c[e]=a[e](s),{c(){t.c(),i=R()},l(r){t.l(r),i=R()},m(r,o){c[e].m(r,o),J(r,i,o),l=!0},p(r,o){let f=e;e=n(r),e===f?c[e].p(r,o):(W(),L(c[f],1,1,()=>{c[f]=null}),Y(),t=c[e],t?t.p(r,o):(t=c[e]=a[e](r),t.c()),A(t,1),t.m(i.parentNode,i))},i(r){l||(A(t),l=!0)},o(r){L(t),l=!1},d(r){c[e].d(r),r&&C(i)}}}function Pt(s){let e,t,i,l;const a=[Et,bt],c=[];function n(r,o){return r[0][2]?0:1}return e=n(s),t=c[e]=a[e](s),{c(){t.c(),i=R()},l(r){t.l(r),i=R()},m(r,o){c[e].m(r,o),J(r,i,o),l=!0},p(r,o){let f=e;e=n(r),e===f?c[e].p(r,o):(W(),L(c[f],1,1,()=>{c[f]=null}),Y(),t=c[e],t?t.p(r,o):(t=c[e]=a[e](r),t.c()),A(t,1),t.m(i.parentNode,i))},i(r){l||(A(t),l=!0)},o(r){L(t),l=!1},d(r){c[e].d(r),r&&C(i)}}}function Ke(s){let e,t=s[7]&&Be(s);return{c(){e=ot("div"),t&&t.c(),this.h()},l(i){e=at(i,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var l=ct(e);t&&t.l(l),l.forEach(C),this.h()},h(){ve(e,"id","svelte-announcer"),ve(e,"aria-live","assertive"),ve(e,"aria-atomic","true"),G(e,"position","absolute"),G(e,"left","0"),G(e,"top","0"),G(e,"clip","rect(0 0 0 0)"),G(e,"clip-path","inset(50%)"),G(e,"overflow","hidden"),G(e,"white-space","nowrap"),G(e,"width","1px"),G(e,"height","1px")},m(i,l){J(i,e,l),t&&t.m(e,null)},p(i,l){i[7]?t?t.p(i,l):(t=Be(i),t.c(),t.m(e,null)):t&&(t.d(1),t=null)},d(i){i&&C(e),t&&t.d()}}}function Be(s){let e;return{c(){e=lt(s[8])},l(t){e=ft(t,s[8])},m(t,i){J(t,e,i)},p(t,i){i&256&&ut(e,t[8])},d(t){t&&C(e)}}}function It(s){let e,t,i,l,a;const c=[vt,gt],n=[];function r(f,O){return f[0][1]?0:1}e=r(s),t=n[e]=c[e](s);let o=s[6]&&Ke(s);return{c(){t.c(),i=_t(),o&&o.c(),l=R()},l(f){t.l(f),i=pt(f),o&&o.l(f),l=R()},m(f,O){n[e].m(f,O),J(f,i,O),o&&o.m(f,O),J(f,l,O),a=!0},p(f,[O]){let K=e;e=r(f),e===K?n[e].p(f,O):(W(),L(n[K],1,1,()=>{n[K]=null}),Y(),t=n[e],t?t.p(f,O):(t=n[e]=c[e](f),t.c()),A(t,1),t.m(i.parentNode,i)),f[6]?o?o.p(f,O):(o=Ke(f),o.c(),o.m(l.parentNode,l)):o&&(o.d(1),o=null)},i(f){a||(A(t),a=!0)},o(f){L(t),a=!1},d(f){n[e].d(f),f&&C(i),o&&o.d(f),f&&C(l)}}}function Tt(s,e,t){let{stores:i}=e,{page:l}=e,{components:a}=e,{props_0:c=null}=e,{props_1:n=null}=e,{props_2:r=null}=e,{props_3:o=null}=e,{props_4:f=null}=e;dt("__svelte__",i),mt(i.page.notify);let O=!1,K=!1,Q=null;return $e(()=>{const P=i.page.subscribe(()=>{O&&(t(7,K=!0),t(8,Q=document.title||"untitled page"))});return t(6,O=!0),P}),s.$$set=P=>{"stores"in P&&t(9,i=P.stores),"page"in P&&t(10,l=P.page),"components"in P&&t(0,a=P.components),"props_0"in P&&t(1,c=P.props_0),"props_1"in P&&t(2,n=P.props_1),"props_2"in P&&t(3,r=P.props_2),"props_3"in P&&t(4,o=P.props_3),"props_4"in P&&t(5,f=P.props_4)},s.$$.update=()=>{s.$$.dirty&1536&&i.page.set(l)},[a,c,n,r,o,f,O,K,Q,i,l]}class Dt extends rt{constructor(e){super(),st(this,e,Tt,It,it,{stores:9,page:10,components:0,props_0:1,props_1:2,props_2:3,props_3:4,props_4:5})}}const Vt="modulepreload",We={},St="/_app/",w=function(e,t){return!t||t.length===0?e():Promise.all(t.map(i=>{if(i=`${St}${i}`,i in We)return;We[i]=!0;const l=i.endsWith(".css"),a=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${i}"]${a}`))return;const c=document.createElement("link");if(c.rel=l?"stylesheet":Vt,l||(c.as="script",c.crossOrigin=""),c.href=i,document.head.appendChild(c),l)return new Promise((n,r)=>{c.addEventListener("load",n),c.addEventListener("error",()=>r(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>e())},Ut={},ke=[()=>w(()=>import("./layout.svelte-452560fe.js"),["layout.svelte-452560fe.js","chunks/index-604742bf.js"]),()=>w(()=>import("./pages/__error.svelte-c49e2486.js"),["pages/__error.svelte-c49e2486.js","assets/app-fde0a0ed.css","chunks/index-604742bf.js","chunks/error-a039bd7e.js","assets/error-c8fecd8f.css","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/stores-810822a9.js","chunks/is-network-error-ac7c8caf.js","chunks/link-74db22ab.js"]),()=>w(()=>import("./pages/__layout-root.svelte-e365cff3.js"),["pages/__layout-root.svelte-e365cff3.js","assets/pages/__layout-root.svelte-ebae0a9f.css","assets/app-fde0a0ed.css","chunks/index-604742bf.js","chunks/get-namespace-d07a8a35.js","chunks/notifications-cfed8e58.js","chunks/index-c9e619a8.js","chunks/route-for-api-605baeb9.js","chunks/is-network-error-ac7c8caf.js","chunks/route-for-1f2060cd.js","chunks/error-boundary-e2df6d7c.js","assets/error-boundary-f3cc63ec.css","chunks/index-69aa65a3.js","chunks/error-a039bd7e.js","assets/error-c8fecd8f.css","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/stores-810822a9.js","chunks/link-74db22ab.js","chunks/settings-service-8e3e4e7f.js","pages/_header.svelte-61c8f411.js","assets/pages/_header.svelte-abd51030.css","chunks/index-0574ae1f.js","chunks/persist-store-26f405dd.js","chunks/_nav-row-56ea2046.js","assets/_nav-row-3cbe0b52.css","chunks/tooltip-4b9b03e7.js","assets/tooltip-755a4257.css","chunks/copyable-6f962ac2.js","chunks/copy-to-clipboard-8832075c.js","chunks/data-encoder-status-744c8425.js","chunks/data-converter-config-6fc5efe1.js","chunks/is-http-24b20bf9.js","chunks/modal-0d6320a7.js","assets/modal-64ca3666.css","chunks/button-0ce95595.js","assets/button-828e4159.css"]),()=>w(()=>import("./pages/fiction/__layout.svelte-68a7a757.js"),["pages/fiction/__layout.svelte-68a7a757.js","assets/app-fde0a0ed.css","chunks/index-604742bf.js","chunks/index-c9e619a8.js","chunks/code-block-03609e84.js","chunks/index-0574ae1f.js","chunks/copy-to-clipboard-8832075c.js"]),()=>w(()=>import("./pages/import/__layout-import.svelte-d06ad329.js"),["pages/import/__layout-import.svelte-d06ad329.js","assets/app-fde0a0ed.css","chunks/index-604742bf.js","chunks/error-boundary-e2df6d7c.js","assets/error-boundary-f3cc63ec.css","chunks/route-for-api-605baeb9.js","chunks/index-c9e619a8.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/route-for-1f2060cd.js","chunks/index-69aa65a3.js","chunks/error-a039bd7e.js","assets/error-c8fecd8f.css","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/stores-810822a9.js","chunks/link-74db22ab.js","chunks/settings-service-8e3e4e7f.js","pages/import/_import-header.svelte-eb691789.js","assets/pages/import/_import-header.svelte-006091fd.css","chunks/index-0574ae1f.js","chunks/_nav-row-56ea2046.js","assets/_nav-row-3cbe0b52.css","chunks/persist-store-26f405dd.js","chunks/tooltip-4b9b03e7.js","assets/tooltip-755a4257.css","chunks/copyable-6f962ac2.js","chunks/copy-to-clipboard-8832075c.js"]),()=>w(()=>import("./pages/import/events/_namespace_/_workflow_/_run_/history/__layout@import.svelte-e2b8f238.js"),["pages/import/events/_namespace_/_workflow_/_run_/history/__layout@import.svelte-e2b8f238.js","chunks/index-604742bf.js","chunks/route-for-1f2060cd.js","chunks/toggle-buttons-baa97943.js","assets/toggle-buttons-608b3b43.css","chunks/index-0574ae1f.js","chunks/stores-810822a9.js","pages/import/_event-history-import.svelte-214c3605.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/button-0ce95595.js","assets/button-828e4159.css","chunks/index-e3391e94.js","chunks/is-http-24b20bf9.js","chunks/index-c9e619a8.js","chunks/persist-store-26f405dd.js","chunks/data-converter-config-6fc5efe1.js","chunks/atob-eb4fc9a1.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/get-event-categorization-8a63628f.js","chunks/simplify-attributes-64d6cf1a.js","chunks/notifications-cfed8e58.js","chunks/import-events-fe941759.js"]),()=>w(()=>import("./pages/login/__layout-login.svelte-d7ecd6ee.js"),["pages/login/__layout-login.svelte-d7ecd6ee.js","assets/app-fde0a0ed.css","chunks/index-604742bf.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/workflows/_workflow_/_run_/__layout@root.svelte-3fde00c2.js"),["pages/namespaces/_namespace_/workflows/_workflow_/_run_/__layout@root.svelte-3fde00c2.js","assets/pages/namespaces/_namespace_/workflows/_workflow_/_run_/__layout@root.svelte-ed604b5d.css","chunks/index-604742bf.js","chunks/stores-810822a9.js","chunks/workflow-run-4b2466b3.js","chunks/index-c9e619a8.js","chunks/with-loading-22689bcc.js","chunks/workflow-service-250a9fea.js","chunks/simplify-attributes-64d6cf1a.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/route-for-api-605baeb9.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/route-for-1f2060cd.js","chunks/index-69aa65a3.js","chunks/index-0574ae1f.js","chunks/event-view-963ec0ce.js","chunks/persist-store-26f405dd.js","chunks/workflows-1f018cf1.js","chunks/workflow-status-ca8cb7e9.js","assets/workflow-status-2dd7a047.css","chunks/button-0ce95595.js","assets/button-828e4159.css","chunks/modal-0d6320a7.js","assets/modal-64ca3666.css","chunks/events-service-c14937d5.js","chunks/index-e3391e94.js","chunks/is-http-24b20bf9.js","chunks/data-converter-config-6fc5efe1.js","chunks/atob-eb4fc9a1.js","chunks/get-event-categorization-8a63628f.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/__layout.svelte-0b7327ff.js"),["pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/__layout.svelte-0b7327ff.js","assets/pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/__layout.svelte-7e0e61e1.css","chunks/index-604742bf.js","chunks/stores-810822a9.js","chunks/workflow-run-4b2466b3.js","chunks/index-c9e619a8.js","chunks/with-loading-22689bcc.js","chunks/workflow-service-250a9fea.js","chunks/simplify-attributes-64d6cf1a.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/route-for-api-605baeb9.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/route-for-1f2060cd.js","chunks/event-view-963ec0ce.js","chunks/persist-store-26f405dd.js","chunks/events-6d840455.js","chunks/events-service-c14937d5.js","chunks/index-e3391e94.js","chunks/is-http-24b20bf9.js","chunks/data-converter-config-6fc5efe1.js","chunks/atob-eb4fc9a1.js","chunks/get-event-categorization-8a63628f.js","chunks/toggle-buttons-baa97943.js","assets/toggle-buttons-608b3b43.css","chunks/index-0574ae1f.js","chunks/link-74db22ab.js","chunks/badge-d40010b4.js","assets/badge-672f9246.css","chunks/code-block-03609e84.js","chunks/copy-to-clipboard-8832075c.js","chunks/empty-state-c50aaf3c.js","chunks/format-camel-case-abb2903d.js","chunks/copyable-6f962ac2.js"]),()=>w(()=>import("./pages/signin/__layout-signin.svelte-02a8600f.js"),["pages/signin/__layout-signin.svelte-02a8600f.js","assets/app-fde0a0ed.css","chunks/index-604742bf.js"]),()=>w(()=>import("./pages/_header.svelte-61c8f411.js"),["pages/_header.svelte-61c8f411.js","assets/pages/_header.svelte-abd51030.css","chunks/index-604742bf.js","chunks/stores-810822a9.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/route-for-1f2060cd.js","chunks/index-0574ae1f.js","chunks/persist-store-26f405dd.js","chunks/index-c9e619a8.js","chunks/_nav-row-56ea2046.js","assets/_nav-row-3cbe0b52.css","chunks/tooltip-4b9b03e7.js","assets/tooltip-755a4257.css","chunks/copyable-6f962ac2.js","chunks/copy-to-clipboard-8832075c.js","chunks/data-encoder-status-744c8425.js","chunks/data-converter-config-6fc5efe1.js","chunks/is-http-24b20bf9.js","chunks/modal-0d6320a7.js","assets/modal-64ca3666.css","chunks/button-0ce95595.js","assets/button-828e4159.css"]),()=>w(()=>import("./pages/_namespace-select.svelte-069f8cf8.js"),["pages/_namespace-select.svelte-069f8cf8.js","chunks/index-604742bf.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/stores-810822a9.js","chunks/route-for-1f2060cd.js","chunks/select-4556bdf3.js","assets/select-b58c3957.css"]),()=>w(()=>import("./pages/data-converter/_port_.svelte-2160aa99.js"),["pages/data-converter/_port_.svelte-2160aa99.js","chunks/index-604742bf.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/stores-810822a9.js","chunks/notifications-cfed8e58.js","chunks/index-c9e619a8.js","chunks/data-converter-config-6fc5efe1.js","chunks/persist-store-26f405dd.js"]),()=>w(()=>import("./pages/import/_event-history-import.svelte-214c3605.js"),["pages/import/_event-history-import.svelte-214c3605.js","chunks/index-604742bf.js","chunks/route-for-1f2060cd.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/button-0ce95595.js","assets/button-828e4159.css","chunks/index-0574ae1f.js","chunks/index-e3391e94.js","chunks/is-http-24b20bf9.js","chunks/index-c9e619a8.js","chunks/persist-store-26f405dd.js","chunks/data-converter-config-6fc5efe1.js","chunks/atob-eb4fc9a1.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/get-event-categorization-8a63628f.js","chunks/simplify-attributes-64d6cf1a.js","chunks/notifications-cfed8e58.js","chunks/import-events-fe941759.js"]),()=>w(()=>import("./pages/import/_import-header.svelte-eb691789.js"),["pages/import/_import-header.svelte-eb691789.js","assets/pages/import/_import-header.svelte-006091fd.css","chunks/index-604742bf.js","chunks/stores-810822a9.js","chunks/index-0574ae1f.js","chunks/_nav-row-56ea2046.js","assets/_nav-row-3cbe0b52.css","chunks/persist-store-26f405dd.js","chunks/index-c9e619a8.js","chunks/tooltip-4b9b03e7.js","assets/tooltip-755a4257.css","chunks/copyable-6f962ac2.js","chunks/copy-to-clipboard-8832075c.js","chunks/route-for-1f2060cd.js"]),()=>w(()=>import("./pages/import/events/_namespace_/_workflow_/_run_/history/compact/index.svelte-1a4c2a7c.js"),["pages/import/events/_namespace_/_workflow_/_run_/history/compact/index.svelte-1a4c2a7c.js","chunks/index-604742bf.js","chunks/stores-810822a9.js","chunks/import-events-fe941759.js","chunks/index-c9e619a8.js","chunks/event-summary-c6ec8e4f.js","assets/event-summary-e50f57b2.css","chunks/event-view-963ec0ce.js","chunks/persist-store-26f405dd.js","chunks/pagination-bd44ecb0.js","assets/pagination-30a5bfe0.css","chunks/index-0574ae1f.js","chunks/filter-select-ee707cee.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/update-query-parameters-08bf783c.js","chunks/select-4556bdf3.js","assets/select-b58c3957.css","chunks/index-69aa65a3.js","chunks/get-event-categorization-8a63628f.js","chunks/time-format-6fa48b0d.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/format-camel-case-abb2903d.js","chunks/route-for-1f2060cd.js","chunks/code-block-03609e84.js","chunks/copy-to-clipboard-8832075c.js","chunks/link-74db22ab.js","chunks/copyable-6f962ac2.js","chunks/empty-state-c50aaf3c.js"]),()=>w(()=>import("./pages/import/events/_namespace_/_workflow_/_run_/history/feed/index.svelte-4c6e09f3.js"),["pages/import/events/_namespace_/_workflow_/_run_/history/feed/index.svelte-4c6e09f3.js","chunks/index-604742bf.js","chunks/stores-810822a9.js","chunks/import-events-fe941759.js","chunks/index-c9e619a8.js","chunks/event-summary-c6ec8e4f.js","assets/event-summary-e50f57b2.css","chunks/event-view-963ec0ce.js","chunks/persist-store-26f405dd.js","chunks/pagination-bd44ecb0.js","assets/pagination-30a5bfe0.css","chunks/index-0574ae1f.js","chunks/filter-select-ee707cee.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/update-query-parameters-08bf783c.js","chunks/select-4556bdf3.js","assets/select-b58c3957.css","chunks/index-69aa65a3.js","chunks/get-event-categorization-8a63628f.js","chunks/time-format-6fa48b0d.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/format-camel-case-abb2903d.js","chunks/route-for-1f2060cd.js","chunks/code-block-03609e84.js","chunks/copy-to-clipboard-8832075c.js","chunks/link-74db22ab.js","chunks/copyable-6f962ac2.js","chunks/empty-state-c50aaf3c.js"]),()=>w(()=>import("./pages/import/events/_namespace_/_workflow_/_run_/history/index.svelte-cf6e3c62.js"),["pages/import/events/_namespace_/_workflow_/_run_/history/index.svelte-cf6e3c62.js","chunks/index-604742bf.js","chunks/route-for-1f2060cd.js"]),()=>w(()=>import("./pages/import/events/_namespace_/_workflow_/_run_/history/json/index.svelte-d117a55c.js"),["pages/import/events/_namespace_/_workflow_/_run_/history/json/index.svelte-d117a55c.js","chunks/index-604742bf.js","chunks/code-block-03609e84.js","chunks/index-0574ae1f.js","chunks/copy-to-clipboard-8832075c.js","chunks/index-c9e619a8.js","chunks/import-events-fe941759.js"]),()=>w(()=>import("./pages/import/events/index@import.svelte-a5330402.js"),["pages/import/events/index@import.svelte-a5330402.js","chunks/index-604742bf.js","pages/import/_event-history-import.svelte-214c3605.js","chunks/route-for-1f2060cd.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/button-0ce95595.js","assets/button-828e4159.css","chunks/index-0574ae1f.js","chunks/index-e3391e94.js","chunks/is-http-24b20bf9.js","chunks/index-c9e619a8.js","chunks/persist-store-26f405dd.js","chunks/data-converter-config-6fc5efe1.js","chunks/atob-eb4fc9a1.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/get-event-categorization-8a63628f.js","chunks/simplify-attributes-64d6cf1a.js","chunks/notifications-cfed8e58.js","chunks/import-events-fe941759.js","chunks/code-block-03609e84.js","chunks/copy-to-clipboard-8832075c.js","chunks/link-74db22ab.js"]),()=>w(()=>import("./pages/import/index.svelte-2330b66f.js"),["pages/import/index.svelte-2330b66f.js","chunks/index-604742bf.js","chunks/route-for-1f2060cd.js"]),()=>w(()=>import("./pages/index@root.svelte-c3fd93bc.js"),["pages/index@root.svelte-c3fd93bc.js","chunks/index-604742bf.js","chunks/get-namespace-d07a8a35.js","chunks/route-for-1f2060cd.js"]),()=>w(()=>import("./pages/login/index@login.svelte-07c9d7ea.js"),["pages/login/index@login.svelte-07c9d7ea.js","chunks/index-604742bf.js","chunks/settings-service-8e3e4e7f.js","chunks/route-for-api-605baeb9.js","chunks/index-c9e619a8.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/route-for-1f2060cd.js","chunks/button-0ce95595.js","assets/button-828e4159.css","chunks/index-0574ae1f.js","chunks/stores-810822a9.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/hamburger-header-8beb5c91.js","assets/hamburger-header-e605fa6e.css","chunks/data-encoder-status-744c8425.js","chunks/data-converter-config-6fc5efe1.js","chunks/persist-store-26f405dd.js","chunks/is-http-24b20bf9.js","chunks/tooltip-4b9b03e7.js","assets/tooltip-755a4257.css","chunks/copyable-6f962ac2.js","chunks/copy-to-clipboard-8832075c.js","chunks/modal-0d6320a7.js","assets/modal-64ca3666.css","chunks/index-69aa65a3.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/archival/_filter-input.svelte-7981c276.js"),["pages/namespaces/_namespace_/archival/_filter-input.svelte-7981c276.js","assets/pages/namespaces/_namespace_/archival/_filter-input.svelte-38872ba3.css","chunks/index-604742bf.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/stores-810822a9.js","chunks/update-query-parameters-08bf783c.js","chunks/index-c0547148.js","chunks/index-0574ae1f.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/archival/_workflow-filters.svelte-2b33dbfb.js"),["pages/namespaces/_namespace_/archival/_workflow-filters.svelte-2b33dbfb.js","chunks/index-604742bf.js","chunks/stores-810822a9.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/to-duration-271d3946.js","chunks/select-4556bdf3.js","assets/select-b58c3957.css","chunks/filter-select-ee707cee.js","chunks/update-query-parameters-08bf783c.js","pages/namespaces/_namespace_/archival/_filter-input.svelte-7981c276.js","assets/pages/namespaces/_namespace_/archival/_filter-input.svelte-38872ba3.css","chunks/index-c0547148.js","chunks/index-0574ae1f.js","chunks/search-b2185bce.js","chunks/button-0ce95595.js","assets/button-828e4159.css","chunks/time-format-6fa48b0d.js","chunks/persist-store-26f405dd.js","chunks/index-c9e619a8.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/archival/index@root.svelte-2eb8903d.js"),["pages/namespaces/_namespace_/archival/index@root.svelte-2eb8903d.js","chunks/index-604742bf.js","chunks/workflow-service-250a9fea.js","chunks/simplify-attributes-64d6cf1a.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/route-for-api-605baeb9.js","chunks/index-c9e619a8.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/route-for-1f2060cd.js","chunks/workflows-summary-row-89774f0c.js","assets/workflows-summary-row-4d7d7edb.css","chunks/stores-810822a9.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/update-query-parameters-08bf783c.js","chunks/workflow-status-ca8cb7e9.js","assets/workflow-status-2dd7a047.css","chunks/index-0574ae1f.js","chunks/copy-to-clipboard-8832075c.js","pages/namespaces/_namespace_/archival/_workflow-filters.svelte-2b33dbfb.js","chunks/select-4556bdf3.js","assets/select-b58c3957.css","chunks/filter-select-ee707cee.js","pages/namespaces/_namespace_/archival/_filter-input.svelte-7981c276.js","assets/pages/namespaces/_namespace_/archival/_filter-input.svelte-38872ba3.css","chunks/index-c0547148.js","chunks/search-b2185bce.js","chunks/button-0ce95595.js","assets/button-828e4159.css","chunks/time-format-6fa48b0d.js","chunks/persist-store-26f405dd.js","chunks/pagination-bd44ecb0.js","assets/pagination-30a5bfe0.css","chunks/empty-state-c50aaf3c.js","chunks/code-block-03609e84.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/index@root.svelte-293d9b8e.js"),["pages/namespaces/_namespace_/index@root.svelte-293d9b8e.js","chunks/index-604742bf.js","chunks/get-namespace-d07a8a35.js","chunks/route-for-1f2060cd.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/settings/index@root.svelte-29dbe1d7.js"),["pages/namespaces/_namespace_/settings/index@root.svelte-29dbe1d7.js","chunks/index-604742bf.js","chunks/stores-810822a9.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/compact/index.svelte-94dda6a4.js"),["pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/compact/index.svelte-94dda6a4.js","chunks/index-604742bf.js","chunks/event-summary-c6ec8e4f.js","assets/event-summary-e50f57b2.css","chunks/event-view-963ec0ce.js","chunks/index-c9e619a8.js","chunks/stores-810822a9.js","chunks/persist-store-26f405dd.js","chunks/pagination-bd44ecb0.js","assets/pagination-30a5bfe0.css","chunks/index-0574ae1f.js","chunks/filter-select-ee707cee.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/update-query-parameters-08bf783c.js","chunks/select-4556bdf3.js","assets/select-b58c3957.css","chunks/index-69aa65a3.js","chunks/get-event-categorization-8a63628f.js","chunks/time-format-6fa48b0d.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/format-camel-case-abb2903d.js","chunks/route-for-1f2060cd.js","chunks/code-block-03609e84.js","chunks/copy-to-clipboard-8832075c.js","chunks/link-74db22ab.js","chunks/copyable-6f962ac2.js","chunks/empty-state-c50aaf3c.js","chunks/events-6d840455.js","chunks/events-service-c14937d5.js","chunks/route-for-api-605baeb9.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/index-e3391e94.js","chunks/is-http-24b20bf9.js","chunks/data-converter-config-6fc5efe1.js","chunks/atob-eb4fc9a1.js","chunks/simplify-attributes-64d6cf1a.js","chunks/with-loading-22689bcc.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/feed/index.svelte-21acb3ad.js"),["pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/feed/index.svelte-21acb3ad.js","chunks/index-604742bf.js","chunks/event-summary-c6ec8e4f.js","assets/event-summary-e50f57b2.css","chunks/event-view-963ec0ce.js","chunks/index-c9e619a8.js","chunks/stores-810822a9.js","chunks/persist-store-26f405dd.js","chunks/pagination-bd44ecb0.js","assets/pagination-30a5bfe0.css","chunks/index-0574ae1f.js","chunks/filter-select-ee707cee.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/update-query-parameters-08bf783c.js","chunks/select-4556bdf3.js","assets/select-b58c3957.css","chunks/index-69aa65a3.js","chunks/get-event-categorization-8a63628f.js","chunks/time-format-6fa48b0d.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/format-camel-case-abb2903d.js","chunks/route-for-1f2060cd.js","chunks/code-block-03609e84.js","chunks/copy-to-clipboard-8832075c.js","chunks/link-74db22ab.js","chunks/copyable-6f962ac2.js","chunks/empty-state-c50aaf3c.js","chunks/events-6d840455.js","chunks/events-service-c14937d5.js","chunks/route-for-api-605baeb9.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/index-e3391e94.js","chunks/is-http-24b20bf9.js","chunks/data-converter-config-6fc5efe1.js","chunks/atob-eb4fc9a1.js","chunks/simplify-attributes-64d6cf1a.js","chunks/with-loading-22689bcc.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/index.svelte-23d5f14e.js"),["pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/index.svelte-23d5f14e.js","chunks/index-604742bf.js","chunks/stores-810822a9.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/event-view-963ec0ce.js","chunks/index-c9e619a8.js","chunks/persist-store-26f405dd.js","chunks/route-for-1f2060cd.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/json/index.svelte-b1c5a7ba.js"),["pages/namespaces/_namespace_/workflows/_workflow_/_run_/history/json/index.svelte-b1c5a7ba.js","chunks/index-604742bf.js","chunks/code-block-03609e84.js","chunks/index-0574ae1f.js","chunks/copy-to-clipboard-8832075c.js","chunks/index-c9e619a8.js","chunks/events-6d840455.js","chunks/stores-810822a9.js","chunks/events-service-c14937d5.js","chunks/route-for-api-605baeb9.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/route-for-1f2060cd.js","chunks/index-e3391e94.js","chunks/is-http-24b20bf9.js","chunks/persist-store-26f405dd.js","chunks/data-converter-config-6fc5efe1.js","chunks/atob-eb4fc9a1.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/get-event-categorization-8a63628f.js","chunks/simplify-attributes-64d6cf1a.js","chunks/event-view-963ec0ce.js","chunks/with-loading-22689bcc.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/workflows/_workflow_/_run_/index.svelte-3db2c924.js"),["pages/namespaces/_namespace_/workflows/_workflow_/_run_/index.svelte-3db2c924.js","chunks/index-604742bf.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/workflows/_workflow_/_run_/pending-activities.svelte-08d17be9.js"),["pages/namespaces/_namespace_/workflows/_workflow_/_run_/pending-activities.svelte-08d17be9.js","assets/pages/namespaces/_namespace_/workflows/_workflow_/_run_/pending-activities.svelte-f0b92bb7.css","chunks/index-604742bf.js","chunks/workflow-run-4b2466b3.js","chunks/index-c9e619a8.js","chunks/stores-810822a9.js","chunks/with-loading-22689bcc.js","chunks/workflow-service-250a9fea.js","chunks/simplify-attributes-64d6cf1a.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/route-for-api-605baeb9.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/route-for-1f2060cd.js","chunks/index-0574ae1f.js","chunks/badge-d40010b4.js","assets/badge-672f9246.css","chunks/empty-state-c50aaf3c.js","chunks/link-74db22ab.js","chunks/code-block-03609e84.js","chunks/copy-to-clipboard-8832075c.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/workflows/_workflow_/_run_/query.svelte-b4c87802.js"),["pages/namespaces/_namespace_/workflows/_workflow_/_run_/query.svelte-b4c87802.js","chunks/index-604742bf.js","chunks/stores-810822a9.js","chunks/query-service-3f8ed2d0.js","chunks/route-for-api-605baeb9.js","chunks/index-c9e619a8.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/route-for-1f2060cd.js","chunks/atob-eb4fc9a1.js","chunks/workflow-run-4b2466b3.js","chunks/with-loading-22689bcc.js","chunks/workflow-service-250a9fea.js","chunks/simplify-attributes-64d6cf1a.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/code-block-03609e84.js","chunks/index-0574ae1f.js","chunks/copy-to-clipboard-8832075c.js","chunks/select-4556bdf3.js","assets/select-b58c3957.css","chunks/empty-state-c50aaf3c.js","chunks/button-0ce95595.js","assets/button-828e4159.css"]),()=>w(()=>import("./pages/namespaces/_namespace_/workflows/_workflow_/_run_/stack-trace.svelte-d0243cae.js"),["pages/namespaces/_namespace_/workflows/_workflow_/_run_/stack-trace.svelte-d0243cae.js","chunks/index-604742bf.js","chunks/stores-810822a9.js","chunks/workflow-run-4b2466b3.js","chunks/index-c9e619a8.js","chunks/with-loading-22689bcc.js","chunks/workflow-service-250a9fea.js","chunks/simplify-attributes-64d6cf1a.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/route-for-api-605baeb9.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/route-for-1f2060cd.js","chunks/query-service-3f8ed2d0.js","chunks/atob-eb4fc9a1.js","chunks/code-block-03609e84.js","chunks/index-0574ae1f.js","chunks/copy-to-clipboard-8832075c.js","chunks/button-0ce95595.js","assets/button-828e4159.css","chunks/empty-state-c50aaf3c.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/workflows/_workflow_/_run_/workers.svelte-5f22688c.js"),["pages/namespaces/_namespace_/workflows/_workflow_/_run_/workers.svelte-5f22688c.js","chunks/index-604742bf.js","chunks/index-0574ae1f.js","chunks/workflow-run-4b2466b3.js","chunks/index-c9e619a8.js","chunks/stores-810822a9.js","chunks/with-loading-22689bcc.js","chunks/workflow-service-250a9fea.js","chunks/simplify-attributes-64d6cf1a.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/route-for-api-605baeb9.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/route-for-1f2060cd.js","chunks/time-format-6fa48b0d.js","chunks/persist-store-26f405dd.js","chunks/empty-state-c50aaf3c.js"]),()=>w(()=>import("./pages/namespaces/_namespace_/workflows/index@root.svelte-9fe5bd57.js"),["pages/namespaces/_namespace_/workflows/index@root.svelte-9fe5bd57.js","assets/pages/namespaces/_namespace_/workflows/index@root.svelte-1bf5c01f.css","chunks/index-604742bf.js","chunks/stores-810822a9.js","chunks/time-format-6fa48b0d.js","chunks/persist-store-26f405dd.js","chunks/index-c9e619a8.js","chunks/workflows-1f018cf1.js","chunks/workflow-service-250a9fea.js","chunks/simplify-attributes-64d6cf1a.js","chunks/format-date-919f4714.js","chunks/to-duration-271d3946.js","chunks/route-for-api-605baeb9.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/route-for-1f2060cd.js","chunks/with-loading-22689bcc.js","chunks/workflows-summary-row-89774f0c.js","assets/workflows-summary-row-4d7d7edb.css","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/update-query-parameters-08bf783c.js","chunks/workflow-status-ca8cb7e9.js","assets/workflow-status-2dd7a047.css","chunks/index-0574ae1f.js","chunks/copy-to-clipboard-8832075c.js","chunks/empty-state-c50aaf3c.js","chunks/pagination-bd44ecb0.js","assets/pagination-30a5bfe0.css","chunks/filter-select-ee707cee.js","chunks/select-4556bdf3.js","assets/select-b58c3957.css","chunks/index-c0547148.js","chunks/search-b2185bce.js","chunks/button-0ce95595.js","assets/button-828e4159.css"]),()=>w(()=>import("./pages/namespaces/index@root.svelte-01e7e893.js"),["pages/namespaces/index@root.svelte-01e7e893.js","chunks/index-604742bf.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/stores-810822a9.js","chunks/route-for-1f2060cd.js"]),()=>w(()=>import("./pages/signin/index@signin.svelte-ca2b240c.js"),["pages/signin/index@signin.svelte-ca2b240c.js","chunks/index-604742bf.js","chunks/settings-service-8e3e4e7f.js","chunks/route-for-api-605baeb9.js","chunks/index-c9e619a8.js","chunks/notifications-cfed8e58.js","chunks/is-network-error-ac7c8caf.js","chunks/route-for-1f2060cd.js","chunks/button-0ce95595.js","assets/button-828e4159.css","chunks/index-0574ae1f.js","chunks/stores-810822a9.js","chunks/navigation-6709cf39.js","chunks/singletons-d1fb5791.js","chunks/hamburger-header-8beb5c91.js","assets/hamburger-header-e605fa6e.css","chunks/data-encoder-status-744c8425.js","chunks/data-converter-config-6fc5efe1.js","chunks/persist-store-26f405dd.js","chunks/is-http-24b20bf9.js","chunks/tooltip-4b9b03e7.js","assets/tooltip-755a4257.css","chunks/copyable-6f962ac2.js","chunks/copy-to-clipboard-8832075c.js","chunks/modal-0d6320a7.js","assets/modal-64ca3666.css","chunks/index-69aa65a3.js"])],Nt={_header:[[0,10],[1]],"_namespace-select":[[0,11],[1]],import:[[0,20],[1]],"@root":[[2,21],[1]],"login@login":[[0,6,22],[1]],"namespaces@root":[[2,38],[1]],"signin@signin":[[0,9,39],[1]],"import/_event-history-import":[[0,13],[1]],"import/_import-header":[[0,14],[1]],"import/events@import":[[0,4,19],[1]],"import/events/[namespace]/[workflow]/[run]/history":[[0,4,5,17],[1]],"import/events/[namespace]/[workflow]/[run]/history/compact":[[0,4,5,15],[1]],"import/events/[namespace]/[workflow]/[run]/history/feed":[[0,4,5,16],[1]],"import/events/[namespace]/[workflow]/[run]/history/json":[[0,4,5,18],[1]],"namespaces/[namespace]@root":[[2,26],[1]],"data-converter/[port]":[[0,12],[1]],"namespaces/[namespace]/archival@root":[[2,25],[1]],"namespaces/[namespace]/settings@root":[[2,27],[1]],"namespaces/[namespace]/workflows@root":[[2,37],[1]],"namespaces/[namespace]/archival/_filter-input":[[0,23],[1]],"namespaces/[namespace]/archival/_workflow-filters":[[0,24],[1]],"namespaces/[namespace]/workflows/[workflow]/[run]":[[2,7,32],[1]],"namespaces/[namespace]/workflows/[workflow]/[run]/history":[[2,7,8,30],[1]],"namespaces/[namespace]/workflows/[workflow]/[run]/pending-activities":[[2,7,33],[1]],"namespaces/[namespace]/workflows/[workflow]/[run]/query":[[2,7,34],[1]],"namespaces/[namespace]/workflows/[workflow]/[run]/stack-trace":[[2,7,35],[1]],"namespaces/[namespace]/workflows/[workflow]/[run]/workers":[[2,7,36],[1]],"namespaces/[namespace]/workflows/[workflow]/[run]/history/compact":[[2,7,8,28],[1]],"namespaces/[namespace]/workflows/[workflow]/[run]/history/feed":[[2,7,8,29],[1]],"namespaces/[namespace]/workflows/[workflow]/[run]/history/json":[[2,7,8,31],[1]]};function Ye(s){return s instanceof Error||s&&s.name&&s.message?s:new Error(JSON.stringify(s))}function Me(s){if(s.fallthrough)throw new Error("fallthrough is no longer supported. Use matchers instead: https://kit.svelte.dev/docs/routing#advanced-routing-matching");if("maxage"in s)throw new Error("maxage should be replaced with cache: { maxage }");const e=s.status&&s.status>=400&&s.status<=599&&!s.redirect;if(s.error||e){const t=s.status;if(!s.error&&e)return{status:t||500,error:new Error};const i=typeof s.error=="string"?new Error(s.error):s.error;return i instanceof Error?!t||t<400||t>599?(console.warn('"error" returned from load() without a valid status code \u2014 defaulting to 500'),{status:500,error:i}):{status:t,error:i}:{status:500,error:new Error(`"error" property returned from load() must be a string or instance of Error, received type "${typeof i}"`)}}if(s.redirect){if(!s.status||Math.floor(s.status/100)!==3)return{status:500,error:new Error('"redirect" property returned from load() must be accompanied by a 3xx status code')};if(typeof s.redirect!="string")return{status:500,error:new Error('"redirect" property returned from load() must be a string')}}if(s.dependencies&&(!Array.isArray(s.dependencies)||s.dependencies.some(t=>typeof t!="string")))return{status:500,error:new Error('"dependencies" property returned from load() must be of type string[]')};if(s.context)throw new Error('You are returning "context" from a load function. "context" was renamed to "stuff", please adjust your code accordingly.');return s}function jt(s,e){return s==="/"||e==="ignore"?s:e==="never"?s.endsWith("/")?s.slice(0,-1):s:e==="always"&&!s.endsWith("/")?s+"/":s}function Ct(s){let e=5381,t=s.length;if(typeof s=="string")for(;t;)e=e*33^s.charCodeAt(--t);else for(;t;)e=e*33^s[--t];return(e>>>0).toString(36)}function Fe(s){let e=s.baseURI;if(!e){const t=s.getElementsByTagName("base");e=t.length?t[0].href:s.URL}return e}function ye(){return{x:pageXOffset,y:pageYOffset}}function Ge(s){return s.composedPath().find(t=>t instanceof Node&&t.nodeName.toUpperCase()==="A")}function Xe(s){return s instanceof SVGAElement?new URL(s.href.baseVal,document.baseURI):new URL(s.href)}function xe(s){const e=_e(s);let t=!0;function i(){t=!0,e.update(c=>c)}function l(c){t=!1,e.set(c)}function a(c){let n;return e.subscribe(r=>{(n===void 0||t&&r!==n)&&c(n=r)})}return{notify:i,set:l,subscribe:a}}function qt(){const{set:s,subscribe:e}=_e(!1),t="1656428602025";let i;async function l(){clearTimeout(i);const c=await fetch(`${He}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(c.ok){const{version:n}=await c.json(),r=n!==t;return r&&(s(!0),clearTimeout(i)),r}else throw new Error(`Version check failed: ${c.status}`)}return{subscribe:e,check:l}}function zt(s,e){let i=`script[sveltekit\\:data-type="data"][sveltekit\\:data-url=${JSON.stringify(typeof s=="string"?s:s.url)}]`;e&&typeof e.body=="string"&&(i+=`[sveltekit\\:data-body="${Ct(e.body)}"]`);const l=document.querySelector(i);if(l&&l.textContent){const a=JSON.parse(l.textContent),{body:c}=a,n=qe(a,["body"]);return Promise.resolve(new Response(c,n))}return fetch(s,e)}const Jt=/^(\.\.\.)?(\w+)(?:=(\w+))?$/;function Kt(s){const e=[],t=[];let i=!0;return{pattern:s===""?/^\/$/:new RegExp(`^${decodeURIComponent(s).split(/(?:@[a-zA-Z0-9_-]+)?(?:\/|$)/).map((a,c,n)=>{const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(r)return e.push(r[1]),t.push(r[2]),"(?:/(.*))?";const o=c===n.length-1;return a&&"/"+a.split(/\[(.+?)\]/).map((f,O)=>{if(O%2){const[,K,Q,P]=Jt.exec(f);return e.push(Q),t.push(P),K?"(.*?)":"([^/]+?)"}return o&&f.includes(".")&&(i=!1),f.normalize().replace(/%5[Bb]/g,"[").replace(/%5[Dd]/g,"]").replace(/#/g,"%23").replace(/\?/g,"%3F").replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}).join("")}).join("")}${i?"/?":""}$`),names:e,types:t}}function Bt(s,e,t,i){const l={};for(let a=0;a{const{pattern:r,names:o,types:f}=Kt(l);return{id:l,exec:O=>{const K=r.exec(O);if(K)return Bt(K,o,f,t)},a:a.map(O=>s[O]),b:c.map(O=>s[O]),has_shadow:!!n}})}const Qe="sveltekit:scroll",ee="sveltekit:index",be=Wt(ke,Nt,Ut),Yt=ke[0](),Mt=ke[1](),Ze={};let ce={};try{ce=JSON.parse(sessionStorage[Qe])}catch{}function Ee(s){ce[s]=ye()}function Ft({target:s,session:e,base:t,trailing_slash:i}){var Se;const l=new Map,a=[],c={url:xe({}),page:xe({}),navigating:_e(null),session:_e(e),updated:qt()},n={id:null,promise:null},r={before_navigate:[],after_navigate:[]};let o={branch:[],error:null,session_id:0,stuff:Ze,url:null},f=!1,O=!0,K=!1,Q=1,P=null,Re,Le,Ae=!1;c.session.subscribe(async u=>{Le=u,Ae&&(Q+=1,he(new URL(location.href),[],!0))}),Ae=!0;let ne=!0,M=(Se=history.state)==null?void 0:Se[ee];M||(M=Date.now(),history.replaceState(ae(B({},history.state),{[ee]:M}),"",location.href));const pe=ce[M];pe&&(history.scrollRestoration="manual",scrollTo(pe.x,pe.y));let de=!1,me,Oe;async function Pe(u,{noscroll:p=!1,replaceState:v=!1,keepfocus:_=!1,state:d={}},b){const m=new URL(u,Fe(document));if(ne)return ge({url:m,scroll:p?ye():null,keepfocus:_,redirect_chain:b,details:{state:d,replaceState:v},accepted:()=>{},blocked:()=>{}});await ie(m)}async function Ie(u){const p=Ve(u);if(!p)throw new Error("Attempted to prefetch a URL that does not belong to this app");return n.promise=De(p,!1),n.id=p.id,n.promise}async function he(u,p,v,_){var g,$,I;const d=Ve(u),b=Oe={};let m=d&&await De(d,v);if(!m&&u.origin===location.origin&&u.pathname===location.pathname&&(m=await se({status:404,error:new Error(`Not found: ${u.pathname}`),url:u,routeId:null})),!m)return await ie(u),!1;if(Oe!==b)return!1;if(a.length=0,m.redirect)if(p.length>10||p.includes(u.pathname))m=await se({status:500,error:new Error("Redirect loop"),url:u,routeId:null});else return ne?Pe(new URL(m.redirect,u).href,{},[...p,u.pathname]):await ie(new URL(m.redirect,location.href)),!1;else(($=(g=m.props)==null?void 0:g.page)==null?void 0:$.status)>=400&&await c.updated.check()&&await ie(u);if(K=!0,_&&_.details){const{details:y}=_,k=y.replaceState?0:1;y.state[ee]=M+=k,history[y.replaceState?"replaceState":"pushState"](y.state,"",u)}if(f?(o=m.state,Re.$set(m.props)):Te(m),_){const{scroll:y,keepfocus:k}=_;if(!k){const h=document.body,V=h.getAttribute("tabindex");(I=getSelection())==null||I.removeAllRanges(),h.tabIndex=-1,h.focus({preventScroll:!0}),V!==null?h.setAttribute("tabindex",V):h.removeAttribute("tabindex")}if(await ze(),O){const h=u.hash&&document.getElementById(u.hash.slice(1));y?scrollTo(y.x,y.y):h?h.scrollIntoView():scrollTo(0,0)}}else await ze();n.promise=null,n.id=null,O=!0,K=!1,m.props.page&&(me=m.props.page);const E=m.state.branch[m.state.branch.length-1];return ne=(E==null?void 0:E.module.router)!==!1,!0}function Te(u){o=u.state;const p=document.querySelector("style[data-sveltekit]");if(p&&p.remove(),me=u.props.page,Re=new Dt({target:s,props:ae(B({},u.props),{stores:c}),hydrate:!0}),f=!0,ne){const v={from:null,to:new URL(location.href)};r.after_navigate.forEach(_=>_(v))}}async function we({url:u,params:p,stuff:v,branch:_,status:d,error:b,routeId:m}){var h,V;const E=_.filter(Boolean),g=E.find(D=>{var q;return(q=D.loaded)==null?void 0:q.redirect}),$={redirect:(h=g==null?void 0:g.loaded)==null?void 0:h.redirect,state:{url:u,params:p,branch:_,error:b,stuff:v,session_id:Q},props:{components:E.map(D=>D.module.default)}};for(let D=0;D{Object.defineProperty($.props.page,q,{get:()=>{throw new Error(`$page.${q} has been replaced by $page.url.${T}`)}})};D("origin","origin"),D("path","pathname"),D("query","searchParams")}const y=E[E.length-1],k=(V=y==null?void 0:y.loaded)==null?void 0:V.cache;if(k){const D=u.pathname+u.search;let q=!1;const T=()=>{l.get(D)===$&&l.delete(D),z(),clearTimeout(S)},S=setTimeout(T,k.maxage*1e3),z=c.session.subscribe(()=>{q&&T()});q=!0,l.set(D,$)}return $}async function re({status:u,error:p,module:v,url:_,params:d,stuff:b,props:m,routeId:E}){const g={module:v,uses:{params:new Set,url:!1,session:!1,stuff:!1,dependencies:new Set},loaded:null,stuff:b};function $(k){const{href:h}=new URL(k,_);g.uses.dependencies.add(h)}m&&g.uses.dependencies.add(_.href);const I={};for(const k in d)Object.defineProperty(I,k,{get(){return g.uses.params.add(k),d[k]},enumerable:!0});const y=Le;if(v.load){const k={routeId:E,params:I,props:m||{},get url(){return g.uses.url=!0,_},get session(){return g.uses.session=!0,y},get stuff(){return g.uses.stuff=!0,B({},b)},fetch(V,D){const q=typeof V=="string"?V:V.url;return $(q),f?fetch(V,D):zt(V,D)},status:u!=null?u:null,error:p!=null?p:null},h=await v.load.call(null,k);if(!h)throw new Error("load function must return a value");g.loaded=Me(h),g.loaded.stuff&&(g.stuff=g.loaded.stuff),g.loaded.dependencies&&g.loaded.dependencies.forEach($)}else m&&(g.loaded=Me({props:m}));return g}async function De({id:u,url:p,params:v,route:_},d){var V,D,q;if(n.id===u&&n.promise)return n.promise;if(!d){const T=l.get(u);if(T)return T}const{a:b,b:m,has_shadow:E}=_,g=o.url&&{url:u!==o.url.pathname+o.url.search,params:Object.keys(v).filter(T=>o.params[T]!==v[T]),session:Q!==o.session_id};let $=[],I=Ze,y=!1,k=200,h=null;b.forEach(T=>T().catch(()=>{}));e:for(let T=0;TF.uses.params.has(te))||g.session&&F.uses.session||Array.from(F.uses.dependencies).some(te=>a.some(fe=>fe(te)))||y&&F.uses.stuff){let te={};const fe=E&&T===b.length-1;if(fe){const oe=await fetch(`${p.pathname}${p.pathname.endsWith("/")?"":"/"}__data.json${p.search}`,{headers:{"x-sveltekit-load":"true"}});if(oe.ok){const Ue=oe.headers.get("x-sveltekit-location");if(Ue)return{redirect:Ue,props:{},state:o};te=oe.status===204?{}:await oe.json()}else k=oe.status,h=new Error("Failed to load data")}if(h||(S=await re({module:z,url:p,params:v,props:te,stuff:I,routeId:_.id})),S&&(fe&&(S.uses.url=!0),S.loaded)){if(S.loaded.error&&(k=S.loaded.status,h=S.loaded.error),S.loaded.redirect)return{redirect:S.loaded.redirect,props:{},state:o};S.loaded.stuff&&(y=!0)}}else S=F}catch(z){k=500,h=Ye(z)}if(h){for(;T--;)if(m[T]){let z,F,le=T;for(;!(F=$[le]);)le-=1;try{if(z=await re({status:k,error:h,module:await m[T](),url:p,params:v,stuff:F.stuff,routeId:_.id}),(V=z==null?void 0:z.loaded)!=null&&V.error)continue;(D=z==null?void 0:z.loaded)!=null&&D.stuff&&(I=B(B({},I),z.loaded.stuff)),$=$.slice(0,le+1).concat(z);break e}catch{continue}}return await se({status:k,error:h,url:p,routeId:_.id})}else(q=S==null?void 0:S.loaded)!=null&&q.stuff&&(I=B(B({},I),S.loaded.stuff)),$.push(S)}return await we({url:p,params:v,stuff:I,branch:$,status:k,error:h,routeId:_.id})}async function se({status:u,error:p,url:v,routeId:_}){var E,g;const d={},b=await re({module:await Yt,url:v,params:d,stuff:{},routeId:_}),m=await re({status:u,error:p,module:await Mt,url:v,params:d,stuff:b&&b.loaded&&b.loaded.stuff||{},routeId:_});return await we({url:v,params:d,stuff:B(B({},(E=b==null?void 0:b.loaded)==null?void 0:E.stuff),(g=m==null?void 0:m.loaded)==null?void 0:g.stuff),branch:[b,m],status:u,error:p,routeId:_})}function Ve(u){if(u.origin!==location.origin||!u.pathname.startsWith(t))return;const p=decodeURI(u.pathname.slice(t.length)||"/");for(const v of be){const _=v.exec(p);if(_)return{id:u.pathname+u.search,route:v,params:_,url:u}}}async function ge({url:u,scroll:p,keepfocus:v,redirect_chain:_,details:d,accepted:b,blocked:m}){const E=o.url;let g=!1;const $={from:E,to:u,cancel:()=>g=!0};if(r.before_navigate.forEach(h=>h($)),g){m();return}const I=jt(u.pathname,i),y=new URL(u.origin+I+u.search+u.hash);if(Ee(M),b(),f&&c.navigating.set({from:o.url,to:y}),await he(y,_,!1,{scroll:p,keepfocus:v,details:d})){const h={from:E,to:y};r.after_navigate.forEach(V=>V(h)),c.navigating.set(null)}}function ie(u){return location.href=u.href,new Promise(()=>{})}return{after_navigate:u=>{$e(()=>(r.after_navigate.push(u),()=>{const p=r.after_navigate.indexOf(u);r.after_navigate.splice(p,1)}))},before_navigate:u=>{$e(()=>(r.before_navigate.push(u),()=>{const p=r.before_navigate.indexOf(u);r.before_navigate.splice(p,1)}))},disable_scroll_handling:()=>{(K||!f)&&(O=!1)},goto:(u,p={})=>Pe(u,p,[]),invalidate:u=>{if(typeof u=="function")a.push(u);else{const{href:p}=new URL(u,location.href);a.push(v=>v===p)}return P||(P=Promise.resolve().then(async()=>{await he(new URL(location.href),[],!0),P=null})),P},prefetch:async u=>{const p=new URL(u,Fe(document));await Ie(p)},prefetch_routes:async u=>{const v=(u?be.filter(_=>u.some(d=>_.exec(d))):be).map(_=>Promise.all(_.a.map(d=>d())));await Promise.all(v)},_start_router:()=>{history.scrollRestoration="manual",addEventListener("beforeunload",_=>{let d=!1;const b={from:o.url,to:null,cancel:()=>d=!0};r.before_navigate.forEach(m=>m(b)),d?(_.preventDefault(),_.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{if(document.visibilityState==="hidden"){Ee(M);try{sessionStorage[Qe]=JSON.stringify(ce)}catch{}}});const u=_=>{const d=Ge(_);d&&d.href&&d.hasAttribute("sveltekit:prefetch")&&Ie(Xe(d))};let p;const v=_=>{clearTimeout(p),p=setTimeout(()=>{var d;(d=_.target)==null||d.dispatchEvent(new CustomEvent("sveltekit:trigger_prefetch",{bubbles:!0}))},20)};addEventListener("touchstart",u),addEventListener("mousemove",v),addEventListener("sveltekit:trigger_prefetch",u),addEventListener("click",_=>{if(!ne||_.button||_.which!==1||_.metaKey||_.ctrlKey||_.shiftKey||_.altKey||_.defaultPrevented)return;const d=Ge(_);if(!d||!d.href)return;const b=d instanceof SVGAElement,m=Xe(d);if(!b&&m.origin==="null")return;const E=(d.getAttribute("rel")||"").split(/\s+/);if(d.hasAttribute("download")||E.includes("external")||d.hasAttribute("sveltekit:reload")||(b?d.target.baseVal:d.target))return;const[g,$]=m.href.split("#");if($!==void 0&&g===location.href.split("#")[0]){de=!0,Ee(M),c.page.set(ae(B({},me),{url:m})),c.page.notify();return}ge({url:m,scroll:d.hasAttribute("sveltekit:noscroll")?ye():null,keepfocus:!1,redirect_chain:[],details:{state:{},replaceState:m.href===location.href},accepted:()=>_.preventDefault(),blocked:()=>_.preventDefault()})}),addEventListener("popstate",_=>{if(_.state&&ne){if(_.state[ee]===M)return;ge({url:new URL(location.href),scroll:ce[_.state[ee]],keepfocus:!1,redirect_chain:[],details:null,accepted:()=>{M=_.state[ee]},blocked:()=>{const d=M-_.state[ee];history.go(d)}})}}),addEventListener("hashchange",()=>{de&&(de=!1,history.replaceState(ae(B({},history.state),{[ee]:++M}),"",location.href))})},_hydrate:async({status:u,error:p,nodes:v,params:_,routeId:d})=>{const b=new URL(location.href),m=[];let E={},g,$;try{for(let I=0;I - + @@ -17,7 +17,7 @@