Files
idn-admin-console/Sveltekit-Build/src/client/_app/immutable/nodes/2.6263d8aa.js
2023-11-17 22:05:45 -06:00

2 lines
24 KiB
JavaScript

import{s as w,K as N,f as V,a as q,g as A,h as B,c as z,d as k,j as _,i as T,A as G,L as y,M as O,N as j,O as ue,x as U,y as Y,r as ie,I as de,u as Q,D as Ke,P as he,Q as oe,E as J,k as _e,l as fe,m as ne,v as Qe,e as Z,R as Je,z as ce,S as We,G as Ue}from"../chunks/scheduler.10bc074a.js";import{S as x,i as $,a as R,g as W,t as D,c as K,b as ee,d as le,m as te,e as ae}from"../chunks/index.7b3d626a.js";import{e as re,u as Xe,o as Ye}from"../chunks/each.ac7da970.js";import{r as Ze}from"../chunks/reports.b2ca66e3.js";import{p as we}from"../chunks/stores.cca8a80c.js";import"../chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js";import{g as xe}from"../chunks/spread.8a54911c.js";import{L as $e}from"../chunks/LightSwitch.9a354e21.js";const el=s=>({}),ge=s=>({}),ll=s=>({}),me=s=>({}),tl=s=>({}),be=s=>({});function ve(s){let e,l,i;const o=s[22].lead,t=N(o,s,s[21],be);return{c(){e=V("div"),t&&t.c(),this.h()},l(a){e=A(a,"DIV",{class:!0});var r=B(e);t&&t.l(r),r.forEach(k),this.h()},h(){_(e,"class",l="app-bar-slot-lead "+s[4])},m(a,r){T(a,e,r),t&&t.m(e,null),i=!0},p(a,r){t&&t.p&&(!i||r&2097152)&&y(t,o,a,a[21],i?j(o,a[21],r,tl):O(a[21]),be),(!i||r&16&&l!==(l="app-bar-slot-lead "+a[4]))&&_(e,"class",l)},i(a){i||(R(t,a),i=!0)},o(a){D(t,a),i=!1},d(a){a&&k(e),t&&t.d(a)}}}function ke(s){let e,l,i;const o=s[22].trail,t=N(o,s,s[21],me);return{c(){e=V("div"),t&&t.c(),this.h()},l(a){e=A(a,"DIV",{class:!0});var r=B(e);t&&t.l(r),r.forEach(k),this.h()},h(){_(e,"class",l="app-bar-slot-trail "+s[2])},m(a,r){T(a,e,r),t&&t.m(e,null),i=!0},p(a,r){t&&t.p&&(!i||r&2097152)&&y(t,o,a,a[21],i?j(o,a[21],r,ll):O(a[21]),me),(!i||r&4&&l!==(l="app-bar-slot-trail "+a[2]))&&_(e,"class",l)},i(a){i||(R(t,a),i=!0)},o(a){D(t,a),i=!1},d(a){a&&k(e),t&&t.d(a)}}}function Re(s){let e,l,i;const o=s[22].headline,t=N(o,s,s[21],ge);return{c(){e=V("div"),t&&t.c(),this.h()},l(a){e=A(a,"DIV",{class:!0});var r=B(e);t&&t.l(r),r.forEach(k),this.h()},h(){_(e,"class",l="app-bar-row-headline "+s[5])},m(a,r){T(a,e,r),t&&t.m(e,null),i=!0},p(a,r){t&&t.p&&(!i||r&2097152)&&y(t,o,a,a[21],i?j(o,a[21],r,el):O(a[21]),ge),(!i||r&32&&l!==(l="app-bar-row-headline "+a[5]))&&_(e,"class",l)},i(a){i||(R(t,a),i=!0)},o(a){D(t,a),i=!1},d(a){a&&k(e),t&&t.d(a)}}}function al(s){let e,l,i,o,t,a,r,d,L,S,v=s[8].lead&&ve(s);const p=s[22].default,c=N(p,s,s[21],null);let u=s[8].trail&&ke(s),g=s[8].headline&&Re(s);return{c(){e=V("div"),l=V("div"),v&&v.c(),i=q(),o=V("div"),c&&c.c(),a=q(),u&&u.c(),d=q(),g&&g.c(),this.h()},l(h){e=A(h,"DIV",{class:!0,"data-testid":!0,role:!0,"aria-label":!0,"aria-labelledby":!0});var f=B(e);l=A(f,"DIV",{class:!0});var n=B(l);v&&v.l(n),i=z(n),o=A(n,"DIV",{class:!0});var E=B(o);c&&c.l(E),E.forEach(k),a=z(n),u&&u.l(n),n.forEach(k),d=z(f),g&&g.l(f),f.forEach(k),this.h()},h(){_(o,"class",t="app-bar-slot-default "+s[3]),_(l,"class",r="app-bar-row-main "+s[6]),_(e,"class",L="app-bar "+s[7]),_(e,"data-testid","app-bar"),_(e,"role","toolbar"),_(e,"aria-label",s[0]),_(e,"aria-labelledby",s[1])},m(h,f){T(h,e,f),G(e,l),v&&v.m(l,null),G(l,i),G(l,o),c&&c.m(o,null),G(l,a),u&&u.m(l,null),G(e,d),g&&g.m(e,null),S=!0},p(h,[f]){h[8].lead?v?(v.p(h,f),f&256&&R(v,1)):(v=ve(h),v.c(),R(v,1),v.m(l,i)):v&&(W(),D(v,1,1,()=>{v=null}),K()),c&&c.p&&(!S||f&2097152)&&y(c,p,h,h[21],S?j(p,h[21],f,null):O(h[21]),null),(!S||f&8&&t!==(t="app-bar-slot-default "+h[3]))&&_(o,"class",t),h[8].trail?u?(u.p(h,f),f&256&&R(u,1)):(u=ke(h),u.c(),R(u,1),u.m(l,null)):u&&(W(),D(u,1,1,()=>{u=null}),K()),(!S||f&64&&r!==(r="app-bar-row-main "+h[6]))&&_(l,"class",r),h[8].headline?g?(g.p(h,f),f&256&&R(g,1)):(g=Re(h),g.c(),R(g,1),g.m(e,null)):g&&(W(),D(g,1,1,()=>{g=null}),K()),(!S||f&128&&L!==(L="app-bar "+h[7]))&&_(e,"class",L),(!S||f&1)&&_(e,"aria-label",h[0]),(!S||f&2)&&_(e,"aria-labelledby",h[1])},i(h){S||(R(v),R(c,h),R(u),R(g),S=!0)},o(h){D(v),D(c,h),D(u),D(g),S=!1},d(h){h&&k(e),v&&v.d(),c&&c.d(h),u&&u.d(),g&&g.d()}}}const sl="flex flex-col",il="grid items-center",ol="",rl="flex-none flex justify-between items-center",fl="flex-auto",nl="flex-none flex items-center space-x-4";function cl(s,e,l){let i,o,t,a,r,d,{$$slots:L={},$$scope:S}=e;const v=ue(L);let{background:p="bg-surface-100-800-token"}=e,{border:c=""}=e,{padding:u="p-4"}=e,{shadow:g=""}=e,{spacing:h="space-y-4"}=e,{gridColumns:f="grid-cols-[auto_1fr_auto]"}=e,{gap:n="gap-4"}=e,{regionRowMain:E=""}=e,{regionRowHeadline:P=""}=e,{slotLead:b=""}=e,{slotDefault:I=""}=e,{slotTrail:M=""}=e,{label:m=""}=e,{labelledby:F=""}=e;return s.$$set=H=>{l(23,e=U(U({},e),Y(H))),"background"in H&&l(9,p=H.background),"border"in H&&l(10,c=H.border),"padding"in H&&l(11,u=H.padding),"shadow"in H&&l(12,g=H.shadow),"spacing"in H&&l(13,h=H.spacing),"gridColumns"in H&&l(14,f=H.gridColumns),"gap"in H&&l(15,n=H.gap),"regionRowMain"in H&&l(16,E=H.regionRowMain),"regionRowHeadline"in H&&l(17,P=H.regionRowHeadline),"slotLead"in H&&l(18,b=H.slotLead),"slotDefault"in H&&l(19,I=H.slotDefault),"slotTrail"in H&&l(20,M=H.slotTrail),"label"in H&&l(0,m=H.label),"labelledby"in H&&l(1,F=H.labelledby),"$$scope"in H&&l(21,S=H.$$scope)},s.$$.update=()=>{l(7,i=`${sl} ${p} ${c} ${h} ${u} ${g} ${e.class??""}`),s.$$.dirty&114688&&l(6,o=`${il} ${f} ${n} ${E}`),s.$$.dirty&131072&&l(5,t=`${ol} ${P}`),s.$$.dirty&262144&&l(4,a=`${rl} ${b}`),s.$$.dirty&524288&&l(3,r=`${fl} ${I}`),s.$$.dirty&1048576&&l(2,d=`${nl} ${M}`)},e=Y(e),[m,F,d,r,a,t,o,i,v,p,c,u,g,h,f,n,E,P,b,I,M,S,L]}class ul extends x{constructor(e){super(),$(this,e,cl,al,w,{background:9,border:10,padding:11,shadow:12,spacing:13,gridColumns:14,gap:15,regionRowMain:16,regionRowHeadline:17,slotLead:18,slotDefault:19,slotTrail:20,label:0,labelledby:1})}}const dl=s=>({}),Le=s=>({}),hl=s=>({}),pe=s=>({});function _l(s){let e,l,i,o,t,a,r,d,L,S,v;const p=s[17].lead,c=N(p,s,s[16],pe),u=s[17].default,g=N(u,s,s[16],null),h=s[17].trail,f=N(h,s,s[16],Le);return{c(){e=V("div"),l=V("div"),c&&c.c(),o=q(),t=V("div"),g&&g.c(),r=q(),d=V("div"),f&&f.c(),this.h()},l(n){e=A(n,"DIV",{class:!0,"data-testid":!0});var E=B(e);l=A(E,"DIV",{class:!0});var P=B(l);c&&c.l(P),P.forEach(k),o=z(E),t=A(E,"DIV",{class:!0});var b=B(t);g&&g.l(b),b.forEach(k),r=z(E),d=A(E,"DIV",{class:!0});var I=B(d);f&&f.l(I),I.forEach(k),E.forEach(k),this.h()},h(){_(l,"class",i="app-bar-lead "+s[2]),_(t,"class",a="app-bar-default "+s[1]),_(d,"class",L="app-bar-trail "+s[0]),_(e,"class",S="app-rail "+s[3]),_(e,"data-testid","app-rail")},m(n,E){T(n,e,E),G(e,l),c&&c.m(l,null),G(e,o),G(e,t),g&&g.m(t,null),G(e,r),G(e,d),f&&f.m(d,null),v=!0},p(n,[E]){c&&c.p&&(!v||E&65536)&&y(c,p,n,n[16],v?j(p,n[16],E,hl):O(n[16]),pe),(!v||E&4&&i!==(i="app-bar-lead "+n[2]))&&_(l,"class",i),g&&g.p&&(!v||E&65536)&&y(g,u,n,n[16],v?j(u,n[16],E,null):O(n[16]),null),(!v||E&2&&a!==(a="app-bar-default "+n[1]))&&_(t,"class",a),f&&f.p&&(!v||E&65536)&&y(f,h,n,n[16],v?j(h,n[16],E,dl):O(n[16]),Le),(!v||E&1&&L!==(L="app-bar-trail "+n[0]))&&_(d,"class",L),(!v||E&8&&S!==(S="app-rail "+n[3]))&&_(e,"class",S)},i(n){v||(R(c,n),R(g,n),R(f,n),v=!0)},o(n){D(c,n),D(g,n),D(f,n),v=!1},d(n){n&&k(e),c&&c.d(n),g&&g.d(n),f&&f.d(n)}}}const gl="grid grid-rows-[auto_1fr_auto] overflow-y-auto",ml="box-border",bl="box-border",vl="box-border";function kl(s,e,l){let i,o,t,a,{$$slots:r={},$$scope:d}=e,{background:L="bg-surface-100-800-token"}=e,{border:S=""}=e,{width:v="w-20"}=e,{height:p="h-full"}=e,{gap:c="gap-0"}=e,{regionLead:u=""}=e,{regionDefault:g=""}=e,{regionTrail:h=""}=e,{hover:f="bg-primary-hover-token"}=e,{active:n="bg-primary-active-token"}=e,{spacing:E="space-y-1"}=e,{aspectRatio:P="aspect-square"}=e;return ie("active",n),ie("hover",f),ie("spacing",E),ie("aspectRatio",P),s.$$set=b=>{l(18,e=U(U({},e),Y(b))),"background"in b&&l(4,L=b.background),"border"in b&&l(5,S=b.border),"width"in b&&l(6,v=b.width),"height"in b&&l(7,p=b.height),"gap"in b&&l(8,c=b.gap),"regionLead"in b&&l(9,u=b.regionLead),"regionDefault"in b&&l(10,g=b.regionDefault),"regionTrail"in b&&l(11,h=b.regionTrail),"hover"in b&&l(12,f=b.hover),"active"in b&&l(13,n=b.active),"spacing"in b&&l(14,E=b.spacing),"aspectRatio"in b&&l(15,P=b.aspectRatio),"$$scope"in b&&l(16,d=b.$$scope)},s.$$.update=()=>{l(3,i=`${gl} ${L} ${S} ${v} ${p} ${c} ${e.class||""}`),s.$$.dirty&512&&l(2,o=`${ml} ${u}`),s.$$.dirty&1024&&l(1,t=`${bl} ${g}`),s.$$.dirty&2048&&l(0,a=`${vl} ${h}`)},e=Y(e),[a,t,o,i,L,S,v,p,c,u,g,h,f,n,E,P,d,r]}class Rl extends x{constructor(e){super(),$(this,e,kl,_l,w,{background:4,border:5,width:6,height:7,gap:8,regionLead:9,regionDefault:10,regionTrail:11,hover:12,active:13,spacing:14,aspectRatio:15})}}const Ll=s=>({}),Ee=s=>({});function De(s){let e,l,i;const o=s[16].lead,t=N(o,s,s[15],Ee);return{c(){e=V("div"),t&&t.c(),this.h()},l(a){e=A(a,"DIV",{class:!0});var r=B(e);t&&t.l(r),r.forEach(k),this.h()},h(){_(e,"class",l="app-rail-lead "+s[1])},m(a,r){T(a,e,r),t&&t.m(e,null),i=!0},p(a,r){t&&t.p&&(!i||r&32768)&&y(t,o,a,a[15],i?j(o,a[15],r,Ll):O(a[15]),Ee),(!i||r&2&&l!==(l="app-rail-lead "+a[1]))&&_(e,"class",l)},i(a){i||(R(t,a),i=!0)},o(a){D(t,a),i=!1},d(a){a&&k(e),t&&t.d(a)}}}function pl(s){let e,l,i,o,t,a,r,d,L,S,v,p=s[6].lead&&De(s);const c=s[16].default,u=N(c,s,s[15],null);let g=[{class:r="app-rail-anchor "+s[3]},{href:d=s[5].href},s[4](),{"data-testid":"app-rail-anchor"}],h={};for(let f=0;f<g.length;f+=1)h=U(h,g[f]);return{c(){e=V("a"),l=V("div"),p&&p.c(),i=q(),o=V("div"),u&&u.c(),this.h()},l(f){e=A(f,"A",{class:!0,href:!0,"data-testid":!0});var n=B(e);l=A(n,"DIV",{class:!0});var E=B(l);p&&p.l(E),i=z(E),o=A(E,"DIV",{class:!0});var P=B(o);u&&u.l(P),P.forEach(k),E.forEach(k),n.forEach(k),this.h()},h(){_(o,"class",t="app-rail-label "+s[0]),_(l,"class",a="app-rail-wrapper "+s[2]),de(e,h)},m(f,n){T(f,e,n),G(e,l),p&&p.m(l,null),G(l,i),G(l,o),u&&u.m(o,null),L=!0,S||(v=[Q(e,"click",s[17]),Q(e,"keydown",s[18]),Q(e,"keyup",s[19]),Q(e,"keypress",s[20]),Q(e,"mouseover",s[21]),Q(e,"mouseleave",s[22]),Q(e,"focus",s[23]),Q(e,"blur",s[24])],S=!0)},p(f,[n]){f[6].lead?p?(p.p(f,n),n&64&&R(p,1)):(p=De(f),p.c(),R(p,1),p.m(l,i)):p&&(W(),D(p,1,1,()=>{p=null}),K()),u&&u.p&&(!L||n&32768)&&y(u,c,f,f[15],L?j(c,f[15],n,null):O(f[15]),null),(!L||n&1&&t!==(t="app-rail-label "+f[0]))&&_(o,"class",t),(!L||n&4&&a!==(a="app-rail-wrapper "+f[2]))&&_(l,"class",a),de(e,h=xe(g,[(!L||n&8&&r!==(r="app-rail-anchor "+f[3]))&&{class:r},(!L||n&32&&d!==(d=f[5].href))&&{href:d},f[4](),{"data-testid":"app-rail-anchor"}]))},i(f){L||(R(p),R(u,f),L=!0)},o(f){D(p),D(u,f),L=!1},d(f){f&&k(e),p&&p.d(),u&&u.d(f),S=!1,Ke(v)}}}const El="unstyled",Dl="w-full flex flex-col justify-center items-stretch text-center space-y-1",Sl="font-bold text-xs";function Hl(s,e,l){let i,o,t,a,r;const d=["selected","regionLead","regionLabel","hover","active","spacing","aspectRatio"];let L=he(e,d),{$$slots:S={},$$scope:v}=e;const p=ue(S);let{selected:c=!1}=e,{regionLead:u="flex justify-center items-center"}=e,{regionLabel:g=""}=e,{hover:h=oe("hover")}=e,{active:f=oe("active")}=e,{spacing:n=oe("spacing")}=e,{aspectRatio:E=oe("aspectRatio")}=e;function P(){return delete L.class,L}function b(C){J.call(this,s,C)}function I(C){J.call(this,s,C)}function M(C){J.call(this,s,C)}function m(C){J.call(this,s,C)}function F(C){J.call(this,s,C)}function H(C){J.call(this,s,C)}function X(C){J.call(this,s,C)}function se(C){J.call(this,s,C)}return s.$$set=C=>{l(5,e=U(U({},e),Y(C))),l(25,L=he(e,d)),"selected"in C&&l(7,c=C.selected),"regionLead"in C&&l(8,u=C.regionLead),"regionLabel"in C&&l(9,g=C.regionLabel),"hover"in C&&l(10,h=C.hover),"active"in C&&l(11,f=C.active),"spacing"in C&&l(12,n=C.spacing),"aspectRatio"in C&&l(13,E=C.aspectRatio),"$$scope"in C&&l(15,v=C.$$scope)},s.$$.update=()=>{s.$$.dirty&2176&&l(14,i=c?f:""),l(3,o=`${El} ${e.class||""}`),s.$$.dirty&29696&&l(2,t=`${Dl} ${E} ${h} ${n} ${i}`),s.$$.dirty&256&&l(1,a=`${u}`),s.$$.dirty&512&&l(0,r=`${Sl} ${g}`)},e=Y(e),[r,a,t,o,P,e,p,c,u,g,h,f,n,E,i,v,S,b,I,M,m,F,H,X,se]}class Pl extends x{constructor(e){super(),$(this,e,Hl,pl,w,{selected:7,regionLead:8,regionLabel:9,hover:10,active:11,spacing:12,aspectRatio:13})}}const Il=s=>({}),Se=s=>({}),Cl=s=>({}),He=s=>({}),Fl=s=>({}),Pe=s=>({}),Vl=s=>({}),Ie=s=>({}),Al=s=>({}),Ce=s=>({}),Tl=s=>({}),Fe=s=>({});function Ve(s){let e,l,i;const o=s[19].header,t=N(o,s,s[18],Fe);return{c(){e=V("header"),t&&t.c(),this.h()},l(a){e=A(a,"HEADER",{id:!0,class:!0});var r=B(e);t&&t.l(r),r.forEach(k),this.h()},h(){_(e,"id","shell-header"),_(e,"class",l="flex-none "+s[8])},m(a,r){T(a,e,r),t&&t.m(e,null),i=!0},p(a,r){t&&t.p&&(!i||r&262144)&&y(t,o,a,a[18],i?j(o,a[18],r,Tl):O(a[18]),Fe),(!i||r&256&&l!==(l="flex-none "+a[8]))&&_(e,"class",l)},i(a){i||(R(t,a),i=!0)},o(a){D(t,a),i=!1},d(a){a&&k(e),t&&t.d(a)}}}function Ae(s){let e,l;const i=s[19].sidebarLeft,o=N(i,s,s[18],Ce);return{c(){e=V("aside"),o&&o.c(),this.h()},l(t){e=A(t,"ASIDE",{id:!0,class:!0});var a=B(e);o&&o.l(a),a.forEach(k),this.h()},h(){_(e,"id","sidebar-left"),_(e,"class",s[7])},m(t,a){T(t,e,a),o&&o.m(e,null),l=!0},p(t,a){o&&o.p&&(!l||a&262144)&&y(o,i,t,t[18],l?j(i,t[18],a,Al):O(t[18]),Ce),(!l||a&128)&&_(e,"class",t[7])},i(t){l||(R(o,t),l=!0)},o(t){D(o,t),l=!1},d(t){t&&k(e),o&&o.d(t)}}}function Te(s){let e,l,i;const o=s[19].pageHeader,t=N(o,s,s[18],Ie),a=t||Ml();return{c(){e=V("header"),a&&a.c(),this.h()},l(r){e=A(r,"HEADER",{id:!0,class:!0});var d=B(e);a&&a.l(d),d.forEach(k),this.h()},h(){_(e,"id","page-header"),_(e,"class",l="flex-none "+s[5])},m(r,d){T(r,e,d),a&&a.m(e,null),i=!0},p(r,d){t&&t.p&&(!i||d&262144)&&y(t,o,r,r[18],i?j(o,r[18],d,Vl):O(r[18]),Ie),(!i||d&32&&l!==(l="flex-none "+r[5]))&&_(e,"class",l)},i(r){i||(R(a,r),i=!0)},o(r){D(a,r),i=!1},d(r){r&&k(e),a&&a.d(r)}}}function Ml(s){let e;return{c(){e=fe("(slot:header)")},l(l){e=ne(l,"(slot:header)")},m(l,i){T(l,e,i)},d(l){l&&k(e)}}}function Me(s){let e,l,i;const o=s[19].pageFooter,t=N(o,s,s[18],Pe),a=t||Bl();return{c(){e=V("footer"),a&&a.c(),this.h()},l(r){e=A(r,"FOOTER",{id:!0,class:!0});var d=B(e);a&&a.l(d),d.forEach(k),this.h()},h(){_(e,"id","page-footer"),_(e,"class",l="flex-none "+s[3])},m(r,d){T(r,e,d),a&&a.m(e,null),i=!0},p(r,d){t&&t.p&&(!i||d&262144)&&y(t,o,r,r[18],i?j(o,r[18],d,Fl):O(r[18]),Pe),(!i||d&8&&l!==(l="flex-none "+r[3]))&&_(e,"class",l)},i(r){i||(R(a,r),i=!0)},o(r){D(a,r),i=!1},d(r){r&&k(e),a&&a.d(r)}}}function Bl(s){let e;return{c(){e=fe("(slot:footer)")},l(l){e=ne(l,"(slot:footer)")},m(l,i){T(l,e,i)},d(l){l&&k(e)}}}function Be(s){let e,l;const i=s[19].sidebarRight,o=N(i,s,s[18],He);return{c(){e=V("aside"),o&&o.c(),this.h()},l(t){e=A(t,"ASIDE",{id:!0,class:!0});var a=B(e);o&&o.l(a),a.forEach(k),this.h()},h(){_(e,"id","sidebar-right"),_(e,"class",s[6])},m(t,a){T(t,e,a),o&&o.m(e,null),l=!0},p(t,a){o&&o.p&&(!l||a&262144)&&y(o,i,t,t[18],l?j(i,t[18],a,Cl):O(t[18]),He),(!l||a&64)&&_(e,"class",t[6])},i(t){l||(R(o,t),l=!0)},o(t){D(o,t),l=!1},d(t){t&&k(e),o&&o.d(t)}}}function Ge(s){let e,l,i;const o=s[19].footer,t=N(o,s,s[18],Se);return{c(){e=V("footer"),t&&t.c(),this.h()},l(a){e=A(a,"FOOTER",{id:!0,class:!0});var r=B(e);t&&t.l(r),r.forEach(k),this.h()},h(){_(e,"id","shell-footer"),_(e,"class",l="flex-none "+s[2])},m(a,r){T(a,e,r),t&&t.m(e,null),i=!0},p(a,r){t&&t.p&&(!i||r&262144)&&y(t,o,a,a[18],i?j(o,a[18],r,Il):O(a[18]),Se),(!i||r&4&&l!==(l="flex-none "+a[2]))&&_(e,"class",l)},i(a){i||(R(t,a),i=!0)},o(a){D(t,a),i=!1},d(a){a&&k(e),t&&t.d(a)}}}function Gl(s){let e,l,i,o,t,a,r,d,L,S,v,p,c,u,g,h=s[10].header&&Ve(s),f=s[10].sidebarLeft&&Ae(s),n=s[10].pageHeader&&Te(s);const E=s[19].default,P=N(E,s,s[18],null);let b=s[10].pageFooter&&Me(s),I=s[10].sidebarRight&&Be(s),M=s[10].footer&&Ge(s);return{c(){e=V("div"),h&&h.c(),l=q(),i=V("div"),f&&f.c(),o=q(),t=V("div"),n&&n.c(),a=q(),r=V("main"),P&&P.c(),L=q(),b&&b.c(),v=q(),I&&I.c(),p=q(),M&&M.c(),this.h()},l(m){e=A(m,"DIV",{id:!0,class:!0,"data-testid":!0});var F=B(e);h&&h.l(F),l=z(F),i=A(F,"DIV",{class:!0});var H=B(i);f&&f.l(H),o=z(H),t=A(H,"DIV",{id:!0,class:!0});var X=B(t);n&&n.l(X),a=z(X),r=A(X,"MAIN",{id:!0,class:!0});var se=B(r);P&&P.l(se),se.forEach(k),L=z(X),b&&b.l(X),X.forEach(k),v=z(H),I&&I.l(H),H.forEach(k),p=z(F),M&&M.l(F),F.forEach(k),this.h()},h(){_(r,"id","page-content"),_(r,"class",d="flex-auto "+s[4]),_(t,"id","page"),_(t,"class",S=s[1]+" "+Ne),_e(t,"scrollbar-gutter",s[0]),_(i,"class","flex-auto "+yl),_(e,"id","appShell"),_(e,"class",s[9]),_(e,"data-testid","app-shell")},m(m,F){T(m,e,F),h&&h.m(e,null),G(e,l),G(e,i),f&&f.m(i,null),G(i,o),G(i,t),n&&n.m(t,null),G(t,a),G(t,r),P&&P.m(r,null),G(t,L),b&&b.m(t,null),G(i,v),I&&I.m(i,null),G(e,p),M&&M.m(e,null),c=!0,u||(g=Q(t,"scroll",s[20]),u=!0)},p(m,[F]){m[10].header?h?(h.p(m,F),F&1024&&R(h,1)):(h=Ve(m),h.c(),R(h,1),h.m(e,l)):h&&(W(),D(h,1,1,()=>{h=null}),K()),m[10].sidebarLeft?f?(f.p(m,F),F&1024&&R(f,1)):(f=Ae(m),f.c(),R(f,1),f.m(i,o)):f&&(W(),D(f,1,1,()=>{f=null}),K()),m[10].pageHeader?n?(n.p(m,F),F&1024&&R(n,1)):(n=Te(m),n.c(),R(n,1),n.m(t,a)):n&&(W(),D(n,1,1,()=>{n=null}),K()),P&&P.p&&(!c||F&262144)&&y(P,E,m,m[18],c?j(E,m[18],F,null):O(m[18]),null),(!c||F&16&&d!==(d="flex-auto "+m[4]))&&_(r,"class",d),m[10].pageFooter?b?(b.p(m,F),F&1024&&R(b,1)):(b=Me(m),b.c(),R(b,1),b.m(t,null)):b&&(W(),D(b,1,1,()=>{b=null}),K()),(!c||F&2&&S!==(S=m[1]+" "+Ne))&&_(t,"class",S),F&1&&_e(t,"scrollbar-gutter",m[0]),m[10].sidebarRight?I?(I.p(m,F),F&1024&&R(I,1)):(I=Be(m),I.c(),R(I,1),I.m(i,null)):I&&(W(),D(I,1,1,()=>{I=null}),K()),m[10].footer?M?(M.p(m,F),F&1024&&R(M,1)):(M=Ge(m),M.c(),R(M,1),M.m(e,null)):M&&(W(),D(M,1,1,()=>{M=null}),K()),(!c||F&512)&&_(e,"class",m[9])},i(m){c||(R(h),R(f),R(n),R(P,m),R(b),R(I),R(M),c=!0)},o(m){D(h),D(f),D(n),D(P,m),D(b),D(I),D(M),c=!1},d(m){m&&k(e),h&&h.d(),f&&f.d(),n&&n.d(),P&&P.d(m),b&&b.d(),I&&I.d(),M&&M.d(),u=!1,g()}}}const Nl="w-full h-full flex flex-col overflow-hidden",yl="w-full h-full flex overflow-hidden",Ne="flex-1 overflow-x-hidden flex flex-col",Ol="flex-none overflow-x-hidden overflow-y-auto",jl="flex-none overflow-x-hidden overflow-y-auto";function ql(s,e,l){let i,o,t,a,r,d,L,S,{$$slots:v={},$$scope:p}=e;const c=ue(v);let{scrollbarGutter:u="auto"}=e,{regionPage:g=""}=e,{slotHeader:h="z-10"}=e,{slotSidebarLeft:f="w-auto"}=e,{slotSidebarRight:n="w-auto"}=e,{slotPageHeader:E=""}=e,{slotPageContent:P=""}=e,{slotPageFooter:b=""}=e,{slotFooter:I=""}=e;function M(m){J.call(this,s,m)}return s.$$set=m=>{l(21,e=U(U({},e),Y(m))),"scrollbarGutter"in m&&l(0,u=m.scrollbarGutter),"regionPage"in m&&l(1,g=m.regionPage),"slotHeader"in m&&l(11,h=m.slotHeader),"slotSidebarLeft"in m&&l(12,f=m.slotSidebarLeft),"slotSidebarRight"in m&&l(13,n=m.slotSidebarRight),"slotPageHeader"in m&&l(14,E=m.slotPageHeader),"slotPageContent"in m&&l(15,P=m.slotPageContent),"slotPageFooter"in m&&l(16,b=m.slotPageFooter),"slotFooter"in m&&l(17,I=m.slotFooter),"$$scope"in m&&l(18,p=m.$$scope)},s.$$.update=()=>{l(9,i=`${Nl} ${e.class??""}`),s.$$.dirty&2048&&l(8,o=`${h}`),s.$$.dirty&4096&&l(7,t=`${Ol} ${f}`),s.$$.dirty&8192&&l(6,a=`${jl} ${n}`),s.$$.dirty&16384&&l(5,r=`${E}`),s.$$.dirty&32768&&l(4,d=`${P}`),s.$$.dirty&65536&&l(3,L=`${b}`),s.$$.dirty&131072&&l(2,S=`${I}`)},e=Y(e),[u,g,S,L,d,r,a,t,o,i,c,h,f,n,E,P,b,I,p,v,M]}class zl extends x{constructor(e){super(),$(this,e,ql,Gl,w,{scrollbarGutter:0,regionPage:1,slotHeader:11,slotSidebarLeft:12,slotSidebarRight:13,slotPageHeader:14,slotPageContent:15,slotPageFooter:16,slotFooter:17})}}const ye=[{name:"Main",content:[{url:"/home",name:"Home",description:"Home page for the application."},{url:"/home/sources",name:"Sources",description:"a list of Sources in IdentityNow."}]},{name:"Reports",content:[...Ze]}];function Oe(s,e,l){const i=s.slice();return i[1]=e[l],i}function je(s,e,l){const i=s.slice();return i[4]=e[l],i}function Wl(s){let e,l=s[4].name+"",i,o;return{c(){e=V("p"),i=fe(l),o=q(),this.h()},l(t){e=A(t,"P",{class:!0});var a=B(e);i=ne(a,l),a.forEach(k),o=z(t),this.h()},h(){_(e,"class","text-center px-4")},m(t,a){T(t,e,a),G(e,i),T(t,o,a)},p:ce,d(t){t&&(k(e),k(o))}}}function qe(s,e){let l,i,o;return i=new Pl({props:{href:e[4].url,"data-sveltekit-preload-data":"hover",selected:e[0].url.pathname===e[4].url,$$slots:{default:[Wl]},$$scope:{ctx:e}}}),{key:s,first:null,c(){l=Z(),ee(i.$$.fragment),this.h()},l(t){l=Z(),le(i.$$.fragment,t),this.h()},h(){this.first=l},m(t,a){T(t,l,a),te(i,t,a),o=!0},p(t,a){e=t;const r={};a&1&&(r.selected=e[0].url.pathname===e[4].url),a&128&&(r.$$scope={dirty:a,ctx:e}),i.$set(r)},i(t){o||(R(i.$$.fragment,t),o=!0)},o(t){D(i.$$.fragment,t),o=!1},d(t){t&&k(l),ae(i,t)}}}function ze(s){let e,l=s[1].name+"",i,o,t,a,r=[],d=new Map,L,S,v=re(s[1].content);const p=c=>c[4].url;for(let c=0;c<v.length;c+=1){let u=je(s,v,c),g=p(u);d.set(g,r[c]=qe(g,u))}return{c(){e=V("p"),i=fe(l),o=q(),t=V("hr"),a=q();for(let c=0;c<r.length;c+=1)r[c].c();L=Z(),this.h()},l(c){e=A(c,"P",{class:!0});var u=B(e);i=ne(u,l),u.forEach(k),o=z(c),t=A(c,"HR",{class:!0}),a=z(c);for(let g=0;g<r.length;g+=1)r[g].l(c);L=Z(),this.h()},h(){_(e,"class","py-2 px-1 text-center bg-primary-100-800-token"),_(t,"class","!border-t-2")},m(c,u){T(c,e,u),G(e,i),T(c,o,u),T(c,t,u),T(c,a,u);for(let g=0;g<r.length;g+=1)r[g]&&r[g].m(c,u);T(c,L,u),S=!0},p(c,u){u&1&&(v=re(c[1].content),W(),r=Xe(r,u,p,1,c,v,d,L.parentNode,Ye,qe,L,je),K())},i(c){if(!S){for(let u=0;u<v.length;u+=1)R(r[u]);S=!0}},o(c){for(let u=0;u<r.length;u+=1)D(r[u]);S=!1},d(c){c&&(k(e),k(o),k(t),k(a),k(L));for(let u=0;u<r.length;u+=1)r[u].d(c)}}}function Kl(s){let e,l,i=re(ye),o=[];for(let a=0;a<i.length;a+=1)o[a]=ze(Oe(s,i,a));const t=a=>D(o[a],1,1,()=>{o[a]=null});return{c(){for(let a=0;a<o.length;a+=1)o[a].c();e=Z()},l(a){for(let r=0;r<o.length;r+=1)o[r].l(a);e=Z()},m(a,r){for(let d=0;d<o.length;d+=1)o[d]&&o[d].m(a,r);T(a,e,r),l=!0},p(a,r){if(r&1){i=re(ye);let d;for(d=0;d<i.length;d+=1){const L=Oe(a,i,d);o[d]?(o[d].p(L,r),R(o[d],1)):(o[d]=ze(L),o[d].c(),R(o[d],1),o[d].m(e.parentNode,e))}for(W(),d=i.length;d<o.length;d+=1)t(d);K()}},i(a){if(!l){for(let r=0;r<i.length;r+=1)R(o[r]);l=!0}},o(a){o=o.filter(Boolean);for(let r=0;r<o.length;r+=1)D(o[r]);l=!1},d(a){a&&k(e),Je(o,a)}}}function Ql(s){let e,l,i;return l=new Rl({props:{width:"w-36",active:"bg-primary-active-token !text-white",aspectRatio:"aspect-video",$$slots:{default:[Kl]},$$scope:{ctx:s}}}),{c(){e=V("div"),ee(l.$$.fragment),this.h()},l(o){e=A(o,"DIV",{class:!0});var t=B(e);le(l.$$.fragment,t),t.forEach(k),this.h()},h(){_(e,"class","bg-surface-50-900-token h-full")},m(o,t){T(o,e,t),te(l,e,null),i=!0},p(o,[t]){const a={};t&129&&(a.$$scope={dirty:t,ctx:o}),l.$set(a)},i(o){i||(R(l.$$.fragment,o),i=!0)},o(o){D(l.$$.fragment,o),i=!1},d(o){o&&k(e),ae(l)}}}function Jl(s,e,l){let i;return Qe(s,we,o=>l(0,i=o)),[i]}class Ul extends x{constructor(e){super(),$(this,e,Jl,Ql,w,{})}}function Xl(s){let e,l;const i=s[0].default,o=N(i,s,s[1],null);return{c(){e=V("div"),o&&o.c(),this.h()},l(t){e=A(t,"DIV",{class:!0});var a=B(e);o&&o.l(a),a.forEach(k),this.h()},h(){_(e,"class","h-full")},m(t,a){T(t,e,a),o&&o.m(e,null),l=!0},p(t,a){o&&o.p&&(!l||a&2)&&y(o,i,t,t[1],l?j(i,t[1],a,null):O(t[1]),null)},i(t){l||(R(o,t),l=!0)},o(t){D(o,t),l=!1},d(t){t&&k(e),o&&o.d(t)}}}function Yl(s){let e,l="IdentityNow Health Check";return{c(){e=V("p"),e.textContent=l,this.h()},l(i){e=A(i,"P",{class:!0,"data-svelte-h":!0}),We(e)!=="svelte-16xy8i3"&&(e.textContent=l),this.h()},h(){_(e,"class","text-xl")},m(i,o){T(i,e,o)},p:ce,d(i){i&&k(e)}}}function Zl(s){let e,l;return{c(){e=V("img"),this.h()},l(i){e=A(i,"IMG",{class:!0,src:!0,alt:!0}),this.h()},h(){_(e,"class","h-8 w-8"),Ue(e.src,l="/logo.ico")||_(e,"src",l),_(e,"alt","SailPoint TetraSail")},m(i,o){T(i,e,o)},p:ce,d(i){i&&k(e)}}}function wl(s){let e,l,i,o="Logout",t;return e=new $e({}),{c(){ee(e.$$.fragment),l=q(),i=V("a"),i.textContent=o,this.h()},l(a){le(e.$$.fragment,a),l=z(a),i=A(a,"A",{href:!0,class:!0,"data-svelte-h":!0}),We(i)!=="svelte-1h5xvl4"&&(i.textContent=o),this.h()},h(){_(i,"href","/"),_(i,"class","btn variant-filled-primary !text-white text-lg")},m(a,r){te(e,a,r),T(a,l,r),T(a,i,r),t=!0},p:ce,i(a){t||(R(e.$$.fragment,a),t=!0)},o(a){D(e.$$.fragment,a),t=!1},d(a){a&&(k(l),k(i)),ae(e,a)}}}function xl(s){let e,l;return e=new ul({props:{$$slots:{trail:[wl],lead:[Zl],default:[Yl]},$$scope:{ctx:s}}}),{c(){ee(e.$$.fragment)},l(i){le(e.$$.fragment,i)},m(i,o){te(e,i,o),l=!0},p(i,o){const t={};o&2&&(t.$$scope={dirty:o,ctx:i}),e.$set(t)},i(i){l||(R(e.$$.fragment,i),l=!0)},o(i){D(e.$$.fragment,i),l=!1},d(i){ae(e,i)}}}function $l(s){let e,l;return e=new Ul({}),{c(){ee(e.$$.fragment)},l(i){le(e.$$.fragment,i)},m(i,o){te(e,i,o),l=!0},i(i){l||(R(e.$$.fragment,i),l=!0)},o(i){D(e.$$.fragment,i),l=!1},d(i){ae(e,i)}}}function et(s){let e,l;return e=new zl({props:{$$slots:{sidebarLeft:[$l],header:[xl],default:[Xl]},$$scope:{ctx:s}}}),{c(){ee(e.$$.fragment)},l(i){le(e.$$.fragment,i)},m(i,o){te(e,i,o),l=!0},p(i,[o]){const t={};o&2&&(t.$$scope={dirty:o,ctx:i}),e.$set(t)},i(i){l||(R(e.$$.fragment,i),l=!0)},o(i){D(e.$$.fragment,i),l=!1},d(i){ae(e,i)}}}function lt(s,e,l){let{$$slots:i={},$$scope:o}=e;return s.$$set=t=>{"$$scope"in t&&l(1,o=t.$$scope)},[i,o]}class ct extends x{constructor(e){super(),$(this,e,lt,et,w,{})}}export{ct as component};