mirror of
https://github.com/LukeHagar/idn-admin-console.git
synced 2025-12-06 04:20:02 +00:00
Added compiled files to gitignore
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -18,4 +18,5 @@ pnpm-lock.yaml
|
||||
vite.config.js.timestamp-*
|
||||
vite.config.ts.timestamp-*
|
||||
|
||||
out
|
||||
out
|
||||
Sveltekit-Build/src/
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 43 KiB |
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
.sliding-text.svelte-1fdnh10.svelte-1fdnh10.svelte-1fdnh10{display:inline-block;position:relative;line-height:1em;height:1em}.sliding-text.svelte-1fdnh10>span.svelte-1fdnh10.svelte-1fdnh10{height:1em;display:inline-block;overflow-y:hidden}.sliding-text.svelte-1fdnh10>span.svelte-1fdnh10>span.svelte-1fdnh10{text-align:center;transition:all var(--interval) var(--ease);position:relative;height:100%;white-space:pre;top:calc(var(--index) * -2em)}.skills.svelte-1285lhc{display:flex;justify-items:start;align-items:center;flex-wrap:wrap}.custom-skill{display:inline-block;text-align:center}
|
||||
@@ -1 +0,0 @@
|
||||
.progress-bar.svelte-sfm816{padding-top:calc(50vh - 4.5rem - 200px);padding-left:calc(50% - 4.5rem)}
|
||||
@@ -1 +0,0 @@
|
||||
.animIndeterminate.svelte-meqa4r{transform-origin:0% 50%;animation:svelte-meqa4r-animIndeterminate 2s infinite linear}@keyframes svelte-meqa4r-animIndeterminate{0%{transform:translate(0) scaleX(0)}40%{transform:translate(0) scaleX(.4)}to{transform:translate(100%) scaleX(.5)}}
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
.progress-bar.svelte-sfm816{padding-top:calc(50vh - 4.5rem - 200px);padding-left:calc(50% - 4.5rem)}
|
||||
@@ -1 +0,0 @@
|
||||
.sliding-text.svelte-1fdnh10.svelte-1fdnh10.svelte-1fdnh10{display:inline-block;position:relative;line-height:1em;height:1em}.sliding-text.svelte-1fdnh10>span.svelte-1fdnh10.svelte-1fdnh10{height:1em;display:inline-block;overflow-y:hidden}.sliding-text.svelte-1fdnh10>span.svelte-1fdnh10>span.svelte-1fdnh10{text-align:center;transition:all var(--interval) var(--ease);position:relative;height:100%;white-space:pre;top:calc(var(--index) * -2em)}.skills.svelte-1285lhc{display:flex;justify-items:start;align-items:center;flex-wrap:wrap}.custom-skill{display:inline-block;text-align:center}
|
||||
@@ -1,3 +0,0 @@
|
||||
import{a3 as X,a4 as z,s as Y,e as x,i as B,z as O,d as v,v as Z,w as $,x as V,y as W,f as H,l as M,a as J,g as L,h as N,m as j,c as R,j as C,A as E,u as ee,B as te,n as P,a5 as ae,D as ne,H as oe,F as le}from"./scheduler.10bc074a.js";import{S as ie,i as re}from"./index.7b3d626a.js";import{w as se}from"./index.09b1afef.js";const ce=se(void 0);function ue(n,e){if(!window.isSecureContext){console.error("Clipboard action failed: app not running in secure context, see: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard");return}const t=()=>{n.dispatchEvent(new CustomEvent("copyComplete"))},a=()=>{if(typeof e=="object"){if("element"in e){const l=document.querySelector(`[data-clipboard="${e.element}"]`);if(!l)throw new Error(`Missing HTMLElement with an attribute of [data-clipboard="${e.element}"]`);D(l.innerHTML,"text/html").then(t);return}if("input"in e){const l=document.querySelector(`[data-clipboard="${e.input}"]`);if(!l)throw new Error(`Missing HTMLInputElement with an attribute of [data-clipboard="${e.input}"]`);D(l.value).then(t);return}}D(e).then(t)};return n.addEventListener("click",a),{update(l){e=l},destroy(){n.removeEventListener("click",a)}}}async function D(n,e="text/plain"){navigator.clipboard.write?await navigator.clipboard.write([new ClipboardItem({[e]:new Blob([n],{type:e}),"text/plain":new Blob([n],{type:"text/plain"})})]):await new Promise(t=>{t(navigator.clipboard.writeText(String(n)))})}function Q(n){const e=n-1;return e*e*e+1}function Ce(n,{delay:e=0,duration:t=400,easing:a=X}={}){const l=+getComputedStyle(n).opacity;return{delay:e,duration:t,easing:a,css:r=>`opacity: ${r*l}`}}function ve(n,{delay:e=0,duration:t=400,easing:a=Q,x:l=0,y:r=0,opacity:y=0}={}){const i=getComputedStyle(n),b=+i.opacity,s=i.transform==="none"?"":i.transform,u=b*(1-y),[p,g]=z(l),[m,d]=z(r);return{delay:e,duration:t,easing:a,css:(_,k)=>`
|
||||
transform: ${s} translate(${(1-_)*p}${g}, ${(1-_)*m}${d});
|
||||
opacity: ${b-u*k}`}}function Ee(n,{delay:e=0,duration:t=400,easing:a=Q,axis:l="y"}={}){const r=getComputedStyle(n),y=+r.opacity,i=l==="y"?"height":"width",b=parseFloat(r[i]),s=l==="y"?["top","bottom"]:["left","right"],u=s.map(c=>`${c[0].toUpperCase()}${c.slice(1)}`),p=parseFloat(r[`padding${u[0]}`]),g=parseFloat(r[`padding${u[1]}`]),m=parseFloat(r[`margin${u[0]}`]),d=parseFloat(r[`margin${u[1]}`]),_=parseFloat(r[`border${u[0]}Width`]),k=parseFloat(r[`border${u[1]}Width`]);return{delay:e,duration:t,easing:a,css:c=>`overflow: hidden;opacity: ${Math.min(c*20,1)*y};${i}: ${c*b}px;padding-${s[0]}: ${c*p}px;padding-${s[1]}: ${c*g}px;margin-${s[0]}: ${c*m}px;margin-${s[1]}: ${c*d}px;border-${s[0]}-width: ${c*_}px;border-${s[1]}-width: ${c*k}px;`}}function we(n,e){const{transition:t,params:a,enabled:l}=e;return l?t(n,a):"duration"in a?t(n,{duration:0}):{duration:0}}function G(n){let e,t,a,l=K(n[0])+"",r,y,i,b=(n[7]?n[4]:n[3])+"",s,u,p,g,m,d,_,k,c,F;function S(o,f){return o[6]?fe:de}let w=S(n),h=w(n);return{c(){e=H("div"),t=H("header"),a=H("span"),r=M(l),y=J(),i=H("button"),s=M(b),g=J(),m=H("pre"),d=H("code"),h.c(),this.h()},l(o){e=L(o,"DIV",{class:!0,"data-testid":!0});var f=N(e);t=L(f,"HEADER",{class:!0});var T=N(t);a=L(T,"SPAN",{class:!0});var U=N(a);r=j(U,l),U.forEach(v),y=R(T),i=L(T,"BUTTON",{class:!0});var A=N(i);s=j(A,b),A.forEach(v),T.forEach(v),g=R(f),m=L(f,"PRE",{class:!0});var I=N(m);d=L(I,"CODE",{class:!0});var q=N(d);h.l(q),q.forEach(v),I.forEach(v),f.forEach(v),this.h()},h(){C(a,"class","codeblock-language"),C(i,"class",u="codeblock-btn "+n[2]),C(t,"class","codeblock-header "+he),C(d,"class",_="codeblock-code language-"+n[0]+" lineNumbers"),C(m,"class","codeblock-pre "+pe),C(e,"class",k="codeblock "+n[8]),C(e,"data-testid","codeblock")},m(o,f){B(o,e,f),E(e,t),E(t,a),E(a,r),E(t,y),E(t,i),E(i,s),E(e,g),E(e,m),E(m,d),h.m(d,null),c||(F=[ee(i,"click",n[9]),te(p=ue.call(null,i,n[1]))],c=!0)},p(o,f){f&1&&l!==(l=K(o[0])+"")&&P(r,l),f&152&&b!==(b=(o[7]?o[4]:o[3])+"")&&P(s,b),f&4&&u!==(u="codeblock-btn "+o[2])&&C(i,"class",u),p&&ae(p.update)&&f&2&&p.update.call(null,o[1]),w===(w=S(o))&&h?h.p(o,f):(h.d(1),h=w(o),h&&(h.c(),h.m(d,null))),f&1&&_!==(_="codeblock-code language-"+o[0]+" lineNumbers")&&C(d,"class",_),f&256&&k!==(k="codeblock "+o[8])&&C(e,"class",k)},d(o){o&&v(e),h.d(),c=!1,ne(F)}}}function de(n){let e=n[1].trim()+"",t;return{c(){t=M(e)},l(a){t=j(a,e)},m(a,l){B(a,t,l)},p(a,l){l&2&&e!==(e=a[1].trim()+"")&&P(t,e)},d(a){a&&v(t)}}}function fe(n){let e,t;return{c(){e=new oe(!1),t=x(),this.h()},l(a){e=le(a,!1),t=x(),this.h()},h(){e.a=t},m(a,l){e.m(n[5],a,l),B(a,t,l)},p(a,l){l&32&&e.p(a[5])},d(a){a&&(v(t),e.d())}}}function be(n){let e,t=n[0]&&n[1]&&G(n);return{c(){t&&t.c(),e=x()},l(a){t&&t.l(a),e=x()},m(a,l){t&&t.m(a,l),B(a,e,l)},p(a,[l]){a[0]&&a[1]?t?t.p(a,l):(t=G(a),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:O,o:O,d(a){a&&v(e),t&&t.d(a)}}}const me="overflow-hidden shadow",he="text-xs text-white/50 uppercase flex justify-between items-center p-2 pl-4",pe="whitespace-pre-wrap break-all p-4 pt-1";function K(n){return n==="js"?"javascript":n==="ts"?"typescript":n==="shell"?"terminal":n}function _e(n,e,t){let a,l;Z(n,ce,o=>t(17,l=o));const r=$();let{language:y="plaintext"}=e,{code:i=""}=e,{lineNumbers:b=!1}=e,{background:s="bg-neutral-900/90"}=e,{blur:u=""}=e,{text:p="text-sm"}=e,{color:g="text-white"}=e,{rounded:m="rounded-container-token"}=e,{shadow:d="shadow"}=e,{button:_="btn btn-sm variant-soft !text-white"}=e,{buttonLabel:k="Copy"}=e,{buttonCopied:c="👍"}=e,F=!1,S=i,w=!1;function h(){t(7,w=!0),setTimeout(()=>{t(7,w=!1)},2e3),r("copy")}return n.$$set=o=>{t(19,e=V(V({},e),W(o))),"language"in o&&t(0,y=o.language),"code"in o&&t(1,i=o.code),"lineNumbers"in o&&t(10,b=o.lineNumbers),"background"in o&&t(11,s=o.background),"blur"in o&&t(12,u=o.blur),"text"in o&&t(13,p=o.text),"color"in o&&t(14,g=o.color),"rounded"in o&&t(15,m=o.rounded),"shadow"in o&&t(16,d=o.shadow),"button"in o&&t(2,_=o.button),"buttonLabel"in o&&t(3,k=o.buttonLabel),"buttonCopied"in o&&t(4,c=o.buttonCopied)},n.$$.update=()=>{n.$$.dirty&131075&&l!==void 0&&(t(5,S=l.highlight(i,{language:y}).value.trim()),t(6,F=!0)),n.$$.dirty&1056&&b&&(t(5,S=S.replace(/^/gm,()=>'<span class="line"></span> ')),t(6,F=!0)),t(8,a=`${me} ${s} ${u} ${p} ${g} ${m} ${d} ${e.class??""}`)},e=W(e),[y,i,_,k,c,S,F,w,a,h,b,s,u,p,g,m,d,l]}class Se extends ie{constructor(e){super(),re(this,e,_e,be,Y,{language:0,code:1,lineNumbers:10,background:11,blur:12,text:13,color:14,rounded:15,shadow:16,button:2,buttonLabel:3,buttonCopied:4})}}export{Se as C,ve as a,we as d,Ce as f,Ee as s};
|
||||
@@ -1 +0,0 @@
|
||||
import{s as N,H as Q,e as M,a as R,f as z,T as I,U as X,F as Y,d as k,c as Z,g as B,h as T,V as H,j as c,A as S,i as P,u as w,z as j,D as x,v as p,o as $,x as q,y as V,W as tt,E as C}from"./scheduler.10bc074a.js";import{S as et,i as it}from"./index.7b3d626a.js";import{s as st,m as F,a as U,g as at,b as lt}from"./ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js";function ct(t){let s,a=`<script nonce="%sveltekit.nonce%">(${st.toString()})();<\/script>`,o,f,i,u,h,g,b,r,_,d,m,v;return{c(){s=new Q(!1),o=M(),f=R(),i=z("div"),u=z("div"),h=I("svg"),g=I("path"),this.h()},l(l){const n=X("svelte-gewkj4",document.head);s=Y(n,!1),o=M(),n.forEach(k),f=Z(l),i=B(l,"DIV",{class:!0,role:!0,"aria-label":!0,"aria-checked":!0,title:!0,tabindex:!0});var L=T(i);u=B(L,"DIV",{class:!0});var D=T(u);h=H(D,"svg",{class:!0,xmlns:!0,viewBox:!0});var y=T(h);g=H(y,"path",{d:!0}),T(g).forEach(k),y.forEach(k),D.forEach(k),L.forEach(k),this.h()},h(){s.a=o,c(g,"d",b=t[1]?t[5].sun:t[5].moon),c(h,"class",r="lightswitch-icon "+t[2]),c(h,"xmlns","http://www.w3.org/2000/svg"),c(h,"viewBox","0 0 512 512"),c(u,"class",_="lightswitch-thumb "+t[3]),c(i,"class",d="lightswitch-track "+t[4]),c(i,"role","switch"),c(i,"aria-label","Light Switch"),c(i,"aria-checked",t[1]),c(i,"title",t[0]),c(i,"tabindex","0")},m(l,n){s.m(a,document.head),S(document.head,o),P(l,f,n),P(l,i,n),S(i,u),S(u,h),S(h,g),m||(v=[w(i,"click",t[6]),w(i,"click",t[19]),w(i,"keydown",ut),w(i,"keydown",t[20]),w(i,"keyup",t[21]),w(i,"keypress",t[22])],m=!0)},p(l,[n]){n&2&&b!==(b=l[1]?l[5].sun:l[5].moon)&&c(g,"d",b),n&4&&r!==(r="lightswitch-icon "+l[2])&&c(h,"class",r),n&8&&_!==(_="lightswitch-thumb "+l[3])&&c(u,"class",_),n&16&&d!==(d="lightswitch-track "+l[4])&&c(i,"class",d),n&2&&c(i,"aria-checked",l[1]),n&1&&c(i,"title",l[0])},i:j,o:j,d(l){l&&(s.d(),k(f),k(i)),k(o),m=!1,x(v)}}}const rt="cursor-pointer",nt="aspect-square scale-[0.8] flex justify-center items-center",ht="w-[70%] aspect-square";function ut(t){["Enter","Space"].includes(t.code)&&(t.preventDefault(),t.currentTarget.click())}function ot(t,s,a){let o,f,i,u,h,g,b,r;p(t,F,e=>a(1,r=e));let{title:_="Toggle light or dark mode."}=s,{bgLight:d="bg-surface-50"}=s,{bgDark:m="bg-surface-900"}=s,{fillLight:v="fill-surface-50"}=s,{fillDark:l="fill-surface-900"}=s,{width:n="w-12"}=s,{height:L="h-6"}=s,{ring:D="ring-[1px] ring-surface-500/30"}=s,{rounded:y="rounded-token"}=s;const E="transition-all duration-[200ms]",A={sun:"M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM352 256c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zm32 0c0-70.7-57.3-128-128-128s-128 57.3-128 128s57.3 128 128 128s128-57.3 128-128z",moon:"M223.5 32C100 32 0 132.3 0 256S100 480 223.5 480c60.6 0 115.5-24.2 155.8-63.4c5-4.9 6.3-12.5 3.1-18.7s-10.1-9.7-17-8.5c-9.8 1.7-19.8 2.6-30.1 2.6c-96.9 0-175.5-78.8-175.5-176c0-65.8 36-123.1 89.3-153.3c6.1-3.5 9.2-10.5 7.7-17.3s-7.3-11.9-14.3-12.5c-6.3-.5-12.6-.8-19-.8z"};function K(){tt(F,r=!r,r),lt(r),U(r)}$(()=>{"modeCurrent"in localStorage||U(at())});function O(e){C.call(this,t,e)}function W(e){C.call(this,t,e)}function G(e){C.call(this,t,e)}function J(e){C.call(this,t,e)}return t.$$set=e=>{a(24,s=q(q({},s),V(e))),"title"in e&&a(0,_=e.title),"bgLight"in e&&a(7,d=e.bgLight),"bgDark"in e&&a(8,m=e.bgDark),"fillLight"in e&&a(9,v=e.fillLight),"fillDark"in e&&a(10,l=e.fillDark),"width"in e&&a(11,n=e.width),"height"in e&&a(12,L=e.height),"ring"in e&&a(13,D=e.ring),"rounded"in e&&a(14,y=e.rounded)},t.$$.update=()=>{t.$$.dirty&386&&a(18,o=r===!0?d:m),t.$$.dirty&386&&a(17,f=r===!0?m:d),t.$$.dirty&2&&a(16,i=r===!0?"translate-x-[100%]":""),t.$$.dirty&1538&&a(15,u=r===!0?v:l),a(4,h=`${rt} ${E} ${n} ${L} ${D} ${y} ${o} ${s.class??""}`),t.$$.dirty&217088&&a(3,g=`${nt} ${E} ${L} ${y} ${f} ${i}`),t.$$.dirty&32768&&a(2,b=`${ht} ${u}`)},s=V(s),[_,r,b,g,h,A,K,d,m,v,l,n,L,D,y,u,i,f,o,O,W,G,J]}class mt extends et{constructor(s){super(),it(this,s,ot,ct,N,{title:0,bgLight:7,bgDark:8,fillLight:9,fillDark:10,width:11,height:12,ring:13,rounded:14})}}export{mt as L};
|
||||
@@ -1 +0,0 @@
|
||||
import{s as i,f as m,g as l,h as c,d as o,j as p,i as _,z as f}from"./scheduler.10bc074a.js";import{S as d,i as u,b as g,d as h,m as v,a as $,t as y,e as P}from"./index.7b3d626a.js";import"./ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js";import{P as k}from"./Table.f5db4492.js";function b(n){let e,s,r;return s=new k({props:{stroke:100,meter:"stroke-primary-500",track:"stroke-primary-500/30",class:"progress-bar"}}),{c(){e=m("div"),g(s.$$.fragment),this.h()},l(t){e=l(t,"DIV",{class:!0});var a=c(e);h(s.$$.fragment,a),a.forEach(o),this.h()},h(){p(e,"class","progress-bar svelte-sfm816")},m(t,a){_(t,e,a),v(s,e,null),r=!0},p:f,i(t){r||($(s.$$.fragment,t),r=!0)},o(t){y(s.$$.fragment,t),r=!1},d(t){t&&o(e),P(s)}}}class w extends d{constructor(e){super(),u(this,e,null,b,i,{})}}export{w as P};
|
||||
@@ -1 +0,0 @@
|
||||
import{w as M,r as S}from"./index.09b1afef.js";import{a6 as P}from"./scheduler.10bc074a.js";const l={};function h(e){return e==="local"?localStorage:sessionStorage}function i(e,t,s){const r=(s==null?void 0:s.serializer)??JSON,m=(s==null?void 0:s.storage)??"local";function u(n,c){h(m).setItem(n,r.stringify(c))}if(!l[e]){const n=M(t,o=>{const a=h(m).getItem(e);a&&o(r.parse(a));{const g=d=>{d.key===e&&o(d.newValue?r.parse(d.newValue):null)};return window.addEventListener("storage",g),()=>window.removeEventListener("storage",g)}}),{subscribe:c,set:f}=n;l[e]={set(o){u(e,o),f(o)},update(o){const a=o(P(n));u(e,a),f(a)},subscribe:c}}return l[e]}const L=i("modeOsPrefers",!1),v=i("modeUserPrefers",void 0),p=i("modeCurrent",!1);function C(){const e=window.matchMedia("(prefers-color-scheme: light)").matches;return L.set(e),e}function b(e){v.set(e)}function I(e){const t=document.documentElement.classList,s="dark";e===!0?t.remove(s):t.add(s),p.set(e)}function O(){const e=document.documentElement.classList,t=localStorage.getItem("modeUserPrefers")==="false",s=!("modeUserPrefers"in localStorage),r=window.matchMedia("(prefers-color-scheme: dark)").matches;t||s&&r?e.add("dark"):e.remove("dark")}const w="(prefers-reduced-motion: reduce)";function E(){return window.matchMedia(w).matches}const R=S(E(),e=>{{const t=r=>{e(r.matches)},s=window.matchMedia(w);return s.addEventListener("change",t),()=>{s.removeEventListener("change",t)}}});export{I as a,b,C as g,i as l,p as m,R as p,O as s};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
import{t as z,a as B}from"./index.7b3d626a.js";import{D as C}from"./scheduler.10bc074a.js";function G(n){return(n==null?void 0:n.length)!==void 0?n:Array.from(n)}function H(n,o){z(n,1,1,()=>{o.delete(n.key)})}function I(n,o,x,A,D,p,d,j,y,k,w,q){let i=n.length,f=p.length,c=i;const u={};for(;c--;)u[n[c].key]=c;const h=[],a=new Map,m=new Map,M=[];for(c=f;c--;){const e=q(D,p,c),s=x(e);let t=d.get(s);t?A&&M.push(()=>t.p(e,o)):(t=k(s,e),t.c()),a.set(s,h[c]=t),s in u&&m.set(s,Math.abs(c-u[s]))}const v=new Set,S=new Set;function g(e){B(e,1),e.m(j,w),d.set(e.key,e),w=e.first,f--}for(;i&&f;){const e=h[f-1],s=n[i-1],t=e.key,l=s.key;e===s?(w=e.first,i--,f--):a.has(l)?!d.has(t)||v.has(t)?g(e):S.has(l)?i--:m.get(t)>m.get(l)?(S.add(t),g(e)):(v.add(l),i--):(y(s,d),i--)}for(;i--;){const e=n[i];a.has(e.key)||y(e,d)}for(;f;)g(h[f-1]);return C(M),h}export{G as e,H as o,I as u};
|
||||
@@ -1 +0,0 @@
|
||||
import{z as b,s as l}from"./scheduler.10bc074a.js";const r=[];function h(e,o){return{subscribe:p(e,o).subscribe}}function p(e,o=b){let n;const i=new Set;function u(t){if(l(e,t)&&(e=t,n)){const c=!r.length;for(const s of i)s[1](),r.push(s,e);if(c){for(let s=0;s<r.length;s+=2)r[s][0](r[s+1]);r.length=0}}}function f(t){u(t(e))}function a(t,c=b){const s=[t,c];return i.add(s),i.size===1&&(n=o(u,f)||b),t(e),()=>{i.delete(s),i.size===0&&n&&(n(),n=null)}}return{set:u,update:f,subscribe:a}}export{h as r,p as w};
|
||||
@@ -1,4 +0,0 @@
|
||||
var Q=Object.defineProperty;var T=(t,e,n)=>e in t?Q(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var D=(t,e,n)=>(T(t,typeof e!="symbol"?e+"":e,n),n);import{z as w,a7 as W,d as G,a8 as X,D as E,a5 as O,C,a9 as Y,a3 as I,aa as V,h as Z,$ as tt,ab as et,ac as nt,ad as it,_ as q,ae as st,af as rt,ag as at,ah as ft,ai as ot}from"./scheduler.10bc074a.js";const H=typeof window<"u";let N=H?()=>window.performance.now():()=>Date.now(),B=H?t=>requestAnimationFrame(t):w;const k=new Set;function J(t){k.forEach(e=>{e.c(t)||(k.delete(e),e.f())}),k.size!==0&&B(J)}function F(t){let e;return k.size===0&&B(J),{promise:new Promise(n=>{k.add(e={c:t,f:n})}),abort(){k.delete(e)}}}const M=new Map;let P=0;function ut(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}function ct(t,e){const n={stylesheet:X(e),rules:{}};return M.set(t,n),n}function R(t,e,n,s,u,a,c,i=0){const l=16.666/s;let r=`{
|
||||
`;for(let $=0;$<=1;$+=l){const m=e+(n-e)*a($);r+=$*100+`%{${c(m,1-m)}}
|
||||
`}const d=r+`100% {${c(n,1-n)}}
|
||||
}`,o=`__svelte_${ut(d)}_${i}`,g=W(t),{stylesheet:h,rules:f}=M.get(g)||ct(g,t);f[o]||(f[o]=!0,h.insertRule(`@keyframes ${o} ${d}`,h.cssRules.length));const _=t.style.animation||"";return t.style.animation=`${_?`${_}, `:""}${o} ${s}ms linear ${u}ms 1 both`,P+=1,o}function A(t,e){const n=(t.style.animation||"").split(", "),s=n.filter(e?a=>a.indexOf(e)<0:a=>a.indexOf("__svelte")===-1),u=n.length-s.length;u&&(t.style.animation=s.join(", "),P-=u,P||lt())}function lt(){B(()=>{P||(M.forEach(t=>{const{ownerNode:e}=t.stylesheet;e&&G(e)}),M.clear())})}let S;function L(){return S||(S=Promise.resolve(),S.then(()=>{S=null})),S}function v(t,e,n){t.dispatchEvent(Y(`${e?"intro":"outro"}${n}`))}const z=new Set;let p;function yt(){p={r:0,c:[],p}}function xt(){p.r||E(p.c),p=p.p}function dt(t,e){t&&t.i&&(z.delete(t),t.i(e))}function vt(t,e,n,s){if(t&&t.o){if(z.has(t))return;z.add(t),p.c.push(()=>{z.delete(t),s&&(n&&t.d(1),s())}),t.o(e)}else s&&s()}const U={duration:0};function wt(t,e,n){const s={direction:"in"};let u=e(t,n,s),a=!1,c,i,l=0;function r(){c&&A(t,c)}function d(){const{delay:g=0,duration:h=300,easing:f=I,tick:_=w,css:$}=u||U;$&&(c=R(t,0,1,h,g,f,$,l++)),_(0,1);const m=N()+g,y=m+h;i&&i.abort(),a=!0,C(()=>v(t,!0,"start")),i=F(x=>{if(a){if(x>=y)return _(1,0),v(t,!0,"end"),r(),a=!1;if(x>=m){const b=f((x-m)/h);_(b,1-b)}}return a})}let o=!1;return{start(){o||(o=!0,A(t),O(u)?(u=u(s),L().then(d)):d())},invalidate(){o=!1},end(){a&&(r(),a=!1)}}}function bt(t,e,n){const s={direction:"out"};let u=e(t,n,s),a=!0,c;const i=p;i.r+=1;let l;function r(){const{delay:d=0,duration:o=300,easing:g=I,tick:h=w,css:f}=u||U;f&&(c=R(t,1,0,o,d,g,f));const _=N()+d,$=_+o;C(()=>v(t,!1,"start")),"inert"in t&&(l=t.inert,t.inert=!0),F(m=>{if(a){if(m>=$)return h(0,1),v(t,!1,"end"),--i.r||E(i.c),!1;if(m>=_){const y=g((m-_)/o);h(1-y,y)}}return a})}return O(u)?L().then(()=>{u=u(s),r()}):r(),{end(d){d&&"inert"in t&&(t.inert=l),d&&u.tick&&u.tick(1,0),a&&(c&&A(t,c),a=!1)}}}function kt(t,e,n,s){let a=e(t,n,{direction:"both"}),c=s?0:1,i=null,l=null,r=null,d;function o(){r&&A(t,r)}function g(f,_){const $=f.b-c;return _*=Math.abs($),{a:c,b:f.b,d:$,duration:_,start:f.start,end:f.start+_,group:f.group}}function h(f){const{delay:_=0,duration:$=300,easing:m=I,tick:y=w,css:x}=a||U,b={start:N()+_,b:f};f||(b.group=p,p.r+=1),"inert"in t&&(f?d!==void 0&&(t.inert=d):(d=t.inert,t.inert=!0)),i||l?l=b:(x&&(o(),r=R(t,c,f,$,_,m,x)),f&&y(0,1),i=g(b,$),C(()=>v(t,f,"start")),F(j=>{if(l&&j>l.start&&(i=g(l,$),l=null,v(t,i.b,"start"),x&&(o(),r=R(t,c,i.b,i.duration,0,m,a.css))),i){if(j>=i.end)y(c=i.b,1-c),v(t,i.b,"end"),l||(i.b?o():--i.group.r||E(i.group.c)),i=null;else if(j>=i.start){const K=j-i.start;c=i.a+i.d*m(K/i.duration),y(c,1-c)}}return!!(i||l)}))}return{run(f){O(a)?L().then(()=>{a=a({direction:f?"in":"out"}),h(f)}):h(f)},end(){o(),i=l=null}}}function Et(t,e,n){const s=t.$$.props[e];s!==void 0&&(t.$$.bound[s]=n,n(t.$$.ctx[s]))}function St(t){t&&t.c()}function Ct(t,e){t&&t.l(e)}function _t(t,e,n){const{fragment:s,after_update:u}=t.$$;s&&s.m(e,n),C(()=>{const a=t.$$.on_mount.map(st).filter(O);t.$$.on_destroy?t.$$.on_destroy.push(...a):E(a),t.$$.on_mount=[]}),u.forEach(C)}function $t(t,e){const n=t.$$;n.fragment!==null&&(nt(n.after_update),E(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function ht(t,e){t.$$.dirty[0]===-1&&(rt.push(t),at(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function Ot(t,e,n,s,u,a,c=null,i=[-1]){const l=it;q(t);const r=t.$$={fragment:null,ctx:[],props:a,update:w,not_equal:u,bound:V(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:V(),dirty:i,skip_bound:!1,root:e.target||l.$$.root};c&&c(r.root);let d=!1;if(r.ctx=n?n(t,e.props||{},(o,g,...h)=>{const f=h.length?h[0]:g;return r.ctx&&u(r.ctx[o],r.ctx[o]=f)&&(!r.skip_bound&&r.bound[o]&&r.bound[o](f),d&&ht(t,o)),g}):[],r.update(),d=!0,E(r.before_update),r.fragment=s?s(r.ctx):!1,e.target){if(e.hydrate){ft();const o=Z(e.target);r.fragment&&r.fragment.l(o),o.forEach(G)}else r.fragment&&r.fragment.c();e.intro&&dt(t.$$.fragment),_t(t,e.target,e.anchor),ot(),tt()}q(l)}class jt{constructor(){D(this,"$$");D(this,"$$set")}$destroy(){$t(this,1),this.$destroy=w}$on(e,n){if(!O(n))return w;const s=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return s.push(n),()=>{const u=s.indexOf(n);u!==-1&&s.splice(u,1)}}$set(e){this.$$set&&!et(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const gt="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(gt);export{jt as S,dt as a,St as b,xt as c,Ct as d,$t as e,wt as f,yt as g,kt as h,Ot as i,bt as j,Et as k,_t as m,vt as t};
|
||||
@@ -1 +0,0 @@
|
||||
import{k as o}from"./singletons.47bc9baa.js";const a=o("goto"),i=o("invalidate_all");export{a as g,i};
|
||||
@@ -1 +0,0 @@
|
||||
function y(s,I){return i(JSON.parse(s),I)}function i(s,I){if(typeof s=="number")return a(s,!0);if(!Array.isArray(s)||s.length===0)throw new Error("Invalid input");const u=s,r=Array(u.length);function a(n,N=!1){if(n===-1)return;if(n===-3)return NaN;if(n===-4)return 1/0;if(n===-5)return-1/0;if(n===-6)return-0;if(N)throw new Error("Invalid input");if(n in r)return r[n];const t=u[n];if(!t||typeof t!="object")r[n]=t;else if(Array.isArray(t))if(typeof t[0]=="string"){const c=t[0],o=I==null?void 0:I[c];if(o)return r[n]=o(a(t[1]));switch(c){case"Date":r[n]=new Date(t[1]);break;case"Set":const f=new Set;r[n]=f;for(let e=1;e<t.length;e+=1)f.add(a(t[e]));break;case"Map":const l=new Map;r[n]=l;for(let e=1;e<t.length;e+=2)l.set(a(t[e]),a(t[e+1]));break;case"RegExp":r[n]=new RegExp(t[1],t[2]);break;case"Object":r[n]=Object(t[1]);break;case"BigInt":r[n]=BigInt(t[1]);break;case"null":const E=Object.create(null);r[n]=E;for(let e=1;e<t.length;e+=2)E[t[e]]=a(t[e+1]);break;default:throw new Error(`Unknown type ${c}`)}}else{const c=new Array(t.length);r[n]=c;for(let o=0;o<t.length;o+=1){const f=t[o];f!==-2&&(c[o]=a(f))}}else{const c={};r[n]=c;for(const o in t){const f=t[o];c[o]=a(f)}}return r[n]}return a(0)}export{y as p,i as u};
|
||||
@@ -1 +0,0 @@
|
||||
const e=[{url:"/home/source-account-create-error",name:"Source Account Create Error",description:"This report will show all source accounts for which there is a create error associated with the source"},{url:"/home/identity-inactive-but-has-access",name:"Inactive Identities With Access",description:"This report will show all identities that are inactive but still have access in sources"},{url:"/home/missing-cloud-life-cycle-state",name:"Missing Cloud Life Cycle State",description:"This report will show all identities that are missing a cloud life cycle state"},{url:"/home/source-delete-threshold",name:"Sources Delete Threshold",description:"This report will show all sources and their delete threshold"},{url:"/home/source-owner-configured",name:"Sources Owner Configured",description:"This report will show all sources and their configured owners"},{url:"/home/source-aggregations",name:"Source Aggregations",description:"This report will show all sources and their most recent aggregation events"}];export{e as r};
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
import{w as u}from"./index.09b1afef.js";var p;const m=((p=globalThis.__sveltekit_6o5da1)==null?void 0:p.base)??"";var h;const w=((h=globalThis.__sveltekit_6o5da1)==null?void 0:h.assets)??m,E="1700279881601",y="sveltekit:snapshot",I="sveltekit:scroll",S="sveltekit:index",f={tap:1,hover:2,viewport:3,eager:4,off:-1},g=location.origin;function x(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}function O(){return{x:pageXOffset,y:pageYOffset}}function c(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const d={...f,"":f.hover};function b(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function U(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=b(e)}}function L(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const o=e instanceof SVGAElement?e.target.baseVal:e.target,r=!n||!!o||R(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),l=(n==null?void 0:n.origin)===g&&e.hasAttribute("download");return{url:n,external:r,target:o,download:l}}function N(e){let t=null,n=null,o=null,r=null,l=null,a=null,s=e;for(;s&&s!==document.documentElement;)o===null&&(o=c(s,"preload-code")),r===null&&(r=c(s,"preload-data")),t===null&&(t=c(s,"keepfocus")),n===null&&(n=c(s,"noscroll")),l===null&&(l=c(s,"reload")),a===null&&(a=c(s,"replacestate")),s=b(s);function i(k){switch(k){case"":case"true":return!0;case"off":case"false":return!1;default:return null}}return{preload_code:d[o??"off"],preload_data:d[r??"off"],keep_focus:i(t),noscroll:i(n),reload:i(l),replace_state:i(a)}}function _(e){const t=u(e);let n=!0;function o(){n=!0,t.update(a=>a)}function r(a){n=!1,t.set(a)}function l(a){let s;return t.subscribe(i=>{(s===void 0||n&&i!==s)&&a(s=i)})}return{notify:o,set:r,subscribe:l}}function A(){const{set:e,subscribe:t}=u(!1);let n;async function o(){clearTimeout(n);try{const r=await fetch(`${w}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const a=(await r.json()).version!==E;return a&&(e(!0),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:o}}function R(e,t){return e.origin!==g||!e.pathname.startsWith(t)}let v;function P(e){v=e.client}function V(e){return(...t)=>v[e](...t)}const Y={url:_({}),page:_({}),navigating:u(null),updated:A()};export{S as I,f as P,I as S,y as a,L as b,N as c,Y as d,m as e,U as f,x as g,P as h,R as i,v as j,V as k,g as o,O as s};
|
||||
@@ -1 +0,0 @@
|
||||
function r(t,s){const c={},u={},f={$$scope:1};let i=t.length;for(;i--;){const o=t[i],e=s[i];if(e){for(const n in o)n in e||(u[n]=1);for(const n in e)f[n]||(c[n]=e[n],f[n]=1);t[i]=e}else for(const n in o)f[n]=1}for(const o in u)o in c||(c[o]=void 0);return c}function a(t){return typeof t=="object"&&t!==null?t:{}}export{a,r as g};
|
||||
@@ -1 +0,0 @@
|
||||
import{d as e}from"./singletons.47bc9baa.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p};
|
||||
@@ -1 +0,0 @@
|
||||
import{w as a}from"./index.09b1afef.js";import{Q as s,r as l}from"./scheduler.10bc074a.js";const n="modalStore";function f(){const t=s(n);if(!t)throw new Error("modalStore is not initialized. Please ensure that `initializeStores()` is invoked in the root layout file of this app!");return t}function h(){const t=u();return l(n,t)}function u(){const{subscribe:t,set:r,update:o}=a([]);return{subscribe:t,set:r,update:o,trigger:e=>o(i=>(i.push(e),i)),close:()=>o(e=>(e.length>0&&e.shift(),e)),clear:()=>r([])}}export{f as g,h as i};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
import{s as a,l as i,m as c,i as p,z as n,d as m,v as l}from"../chunks/scheduler.10bc074a.js";import{S as f,i as u}from"../chunks/index.7b3d626a.js";import{p as _}from"../chunks/stores.cca8a80c.js";function d(s){let t;return{c(){t=i("WHOOPS!")},l(e){t=c(e,"WHOOPS!")},m(e,o){p(e,t,o)},p:n,i:n,o:n,d(e){e&&m(t)}}}function x(s,t,e){let o;return l(s,_,r=>e(0,o=r)),console.log(o),[]}class h extends f{constructor(t){super(),u(this,t,x,d,a,{})}}export{h as component};
|
||||
@@ -1 +0,0 @@
|
||||
import{s as w,f as _,a as C,g as p,h as S,S as E,c as V,d as h,j as v,i as I,A as b,o as N,z as T}from"../chunks/scheduler.10bc074a.js";import{S as j,i as M,t as d,c as q,a as g,g as z,b as y,d as P,m as A,e as D}from"../chunks/index.7b3d626a.js";import{P as L}from"../chunks/Progress.f79dd2c2.js";import"../chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js";import{t as x,T as B}from"../chunks/Table.f5db4492.js";function F(l){let t,a;return t=new L({}),{c(){y(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,o){A(t,e,o),a=!0},p:T,i(e){a||(g(t.$$.fragment,e),a=!0)},o(e){d(t.$$.fragment,e),a=!1},d(e){D(t,e)}}}function G(l){let t,a;return t=new B({props:{class:"w-full",source:l[0],interactive:!0}}),t.$on("selected",J),{c(){y(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,o){A(t,e,o),a=!0},p(e,o){const c={};o&1&&(c.source=e[0]),t.$set(c)},i(e){a||(g(t.$$.fragment,e),a=!0)},o(e){d(t.$$.fragment,e),a=!1},d(e){D(t,e)}}}function H(l){let t,a,e,o="Listing of sources and their most recent aggregation events",c,s,r,f;const $=[G,F],i=[];function k(n,u){return n[0]?0:1}return s=k(l),r=i[s]=$[s](l),{c(){t=_("div"),a=_("div"),e=_("div"),e.textContent=o,c=C(),r.c(),this.h()},l(n){t=p(n,"DIV",{class:!0});var u=S(t);a=p(u,"DIV",{class:!0});var m=S(a);e=p(m,"DIV",{class:!0,"data-svelte-h":!0}),E(e)!=="svelte-1hwf81y"&&(e.textContent=o),c=V(m),r.l(m),m.forEach(h),u.forEach(h),this.h()},h(){v(e,"class","text-2xl py-2 text-center"),v(a,"class","flex justify-center mt-4 flex-col align-middle"),v(t,"class","p-4")},m(n,u){I(n,t,u),b(t,a),b(a,e),b(a,c),i[s].m(a,null),f=!0},p(n,[u]){let m=s;s=k(n),s===m?i[s].p(n,u):(z(),d(i[m],1,1,()=>{i[m]=null}),q(),r=i[s],r?r.p(n,u):(r=i[s]=$[s](n),r.c()),g(r,1),r.m(a,null))},i(n){f||(g(r),f=!0)},o(n){d(r),f=!1},d(n){n&&h(t),i[s].d()}}}function J(l){console.log(l)}function K(l,t,a){let{data:e}=t;console.log(e);let o;return N(()=>{a(0,o={head:["Name","Account Aggregation Started","Account Aggregation Passed","Entitlement Aggregation Started","Entitlement Aggregation Passed"],body:x(e.aggData.events,["sourceName","accountStart","accountPass","entitlementStart","entitlementPass"]),meta:x(e.aggData.events,["sourceName","accountStart","accountPass","entitlementStart","entitlementPass"])})}),l.$$set=c=>{"data"in c&&a(1,e=c.data)},[o,e]}class X extends j{constructor(t){super(),M(this,t,K,H,w,{data:1})}}export{X as component};
|
||||
@@ -1 +0,0 @@
|
||||
import{s as M,f as _,a as D,g as h,h as y,S as I,c as O,d as g,j as T,i as P,A as b,o as V,z as N}from"../chunks/scheduler.10bc074a.js";import{S as q,i as z,t as v,c as A,a as $,g as L,b as S,d as j,m as E,e as w}from"../chunks/index.7b3d626a.js";import{P as R}from"../chunks/Progress.f79dd2c2.js";import"../chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js";import{t as x,T as F}from"../chunks/Table.f5db4492.js";import{a as G}from"../chunks/alasql.min.1f65b74d.js";const J=async({fetch:l})=>({response:l("/api/sailpoint/sources",{method:"GET",headers:{"content-type":"application/json"}})}),ae=Object.freeze(Object.defineProperty({__proto__:null,load:J},Symbol.toStringTag,{value:"Module"}));function B(l){let t,a;return t=new R({}),{c(){S(t.$$.fragment)},l(e){j(t.$$.fragment,e)},m(e,o){E(t,e,o),a=!0},p:N,i(e){a||($(t.$$.fragment,e),a=!0)},o(e){v(t.$$.fragment,e),a=!1},d(e){w(t,e)}}}function H(l){let t,a;return t=new F({props:{class:"w-full",source:l[0],interactive:!0}}),t.$on("selected",Q),{c(){S(t.$$.fragment)},l(e){j(t.$$.fragment,e)},m(e,o){E(t,e,o),a=!0},p(e,o){const i={};o&1&&(i.source=e[0]),t.$set(i)},i(e){a||($(t.$$.fragment,e),a=!0)},o(e){v(t.$$.fragment,e),a=!1},d(e){w(t,e)}}}function K(l){let t,a,e,o,i="Listing of sources and their delete threshold",c,r,n,f;const k=[H,B],u=[];function C(s,d){return s[0]?0:1}return r=C(l),n=u[r]=k[r](l),{c(){t=_("main"),a=_("div"),e=_("div"),o=_("div"),o.textContent=i,c=D(),n.c(),this.h()},l(s){t=h(s,"MAIN",{});var d=y(t);a=h(d,"DIV",{class:!0});var m=y(a);e=h(m,"DIV",{class:!0});var p=y(e);o=h(p,"DIV",{class:!0,"data-svelte-h":!0}),I(o)!=="svelte-1j7u3yh"&&(o.textContent=i),c=O(p),n.l(p),p.forEach(g),m.forEach(g),d.forEach(g),this.h()},h(){T(o,"class","text-2xl py-2 text-center"),T(e,"class","flex justify-center mt-4 flex-col align-middle"),T(a,"class","p-4")},m(s,d){P(s,t,d),b(t,a),b(a,e),b(e,o),b(e,c),u[r].m(e,null),f=!0},p(s,[d]){let m=r;r=C(s),r===m?u[r].p(s,d):(L(),v(u[m],1,1,()=>{u[m]=null}),A(),n=u[r],n?n.p(s,d):(n=u[r]=k[r](s),n.c()),$(n,1),n.m(e,null))},i(s){f||($(n),f=!0)},o(s){v(n),f=!1},d(s){s&&g(t),u[r].d()}}}function Q(l){console.log(l)}function U(l,t,a){let{data:e}=t;console.log(e);let o,i;return V(async()=>{if(o=await e.response.json(),console.log(o),JSON.stringify(e)!=="{}"){let c=[];for(let n of o)c.push({name:n.name,created:n.created,deleteThreshold:n.deleteThreshold,entitlementCount:n.entitlementCount,roleCount:n.roleCount});let r=G("SELECT name, created, deleteThreshold FROM ?",[c]);a(0,i={head:["Name","Created","Delete Threshold"],body:x(r,["name","created","deleteThreshold"]),meta:x(r,["name","created","deleteThreshold"])})}}),l.$$set=c=>{"data"in c&&a(1,e=c.data)},[i,e]}class ne extends q{constructor(t){super(),z(this,t,U,K,M,{data:1})}}export{ne as component,ae as universal};
|
||||
@@ -1 +0,0 @@
|
||||
import{s as j,f as _,a as O,g,h as y,S as T,c as C,d as h,j as b,i as E,A as v,o as M,z as P}from"../chunks/scheduler.10bc074a.js";import{S as V,i as D,t as u,c as q,a as p,g as z,b as x,d as I,m as S,e as N}from"../chunks/index.7b3d626a.js";import{P as L}from"../chunks/Progress.f79dd2c2.js";import"../chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js";import{t as k,T as R}from"../chunks/Table.f5db4492.js";import{a as A}from"../chunks/alasql.min.1f65b74d.js";const F=async({fetch:s})=>({response:s("/api/sailpoint/sources",{method:"GET",headers:{"content-type":"application/json"}})}),ee=Object.freeze(Object.defineProperty({__proto__:null,load:F},Symbol.toStringTag,{value:"Module"}));function G(s){let t,n;return t=new L({}),{c(){x(t.$$.fragment)},l(e){I(t.$$.fragment,e)},m(e,l){S(t,e,l),n=!0},p:P,i(e){n||(p(t.$$.fragment,e),n=!0)},o(e){u(t.$$.fragment,e),n=!1},d(e){N(t,e)}}}function J(s){let t,n;return t=new R({props:{class:"w-full",source:s[0],interactive:!0}}),t.$on("selected",H),{c(){x(t.$$.fragment)},l(e){I(t.$$.fragment,e)},m(e,l){S(t,e,l),n=!0},p(e,l){const i={};l&1&&(i.source=e[0]),t.$set(i)},i(e){n||(p(t.$$.fragment,e),n=!0)},o(e){u(t.$$.fragment,e),n=!1},d(e){N(t,e)}}}function B(s){let t,n,e,l="Listing of sources and their delete threshold",i,o,a,c;const w=[J,G],d=[];function $(r,m){return r[0]?0:1}return o=$(s),a=d[o]=w[o](s),{c(){t=_("div"),n=_("div"),e=_("div"),e.textContent=l,i=O(),a.c(),this.h()},l(r){t=g(r,"DIV",{class:!0});var m=y(t);n=g(m,"DIV",{class:!0});var f=y(n);e=g(f,"DIV",{class:!0,"data-svelte-h":!0}),T(e)!=="svelte-1v1ks6c"&&(e.textContent=l),i=C(f),a.l(f),f.forEach(h),m.forEach(h),this.h()},h(){b(e,"class","text-2xl py-2 text-center"),b(n,"class","flex justify-center mt-4 flex-col align-middle"),b(t,"class","p-4")},m(r,m){E(r,t,m),v(t,n),v(n,e),v(n,i),d[o].m(n,null),c=!0},p(r,[m]){let f=o;o=$(r),o===f?d[o].p(r,m):(z(),u(d[f],1,1,()=>{d[f]=null}),q(),a=d[o],a?a.p(r,m):(a=d[o]=w[o](r),a.c()),p(a,1),a.m(n,null))},i(r){c||(p(a),c=!0)},o(r){u(a),c=!1},d(r){r&&h(t),d[o].d()}}}function H(s){console.log(s)}function K(s,t,n){let{data:e}=t;console.log(e);let l,i;return M(async()=>{if(l=await e.response.json(),console.log(l),JSON.stringify(e)!=="{}"){let o=[];for(let c of l)o.push({name:c.name,modified:c.modified,ownerName:c.owner.name,ownerId:c.owner.id});let a=A("SELECT name, modified, ownerName, ownerId FROM ?",[o]);n(0,i={head:["Name","Modified","Owner Name","Owner Id"],body:k(a,["name","modified","ownerName","ownerId"]),meta:k(a,["name","modified","ownerName","ownerId"])})}}),s.$$set=o=>{"data"in o&&n(1,e=o.data)},[i,e]}class te extends V{constructor(t){super(),D(this,t,K,B,j,{data:1})}}export{te as component,ee as universal};
|
||||
@@ -1 +0,0 @@
|
||||
import{s as ve,f as i,a as S,g as d,h as f,S as ue,c as j,d as h,j as v,i as _e,A as t,z as ie,R as me,l as w,m as A,u as ge,n as V}from"../chunks/scheduler.10bc074a.js";import{e as de}from"../chunks/each.ac7da970.js";import{S as Te,i as be}from"../chunks/index.7b3d626a.js";import{g as Ee}from"../chunks/stores.dc566077.js";import"../chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js";const ye=async({fetch:a})=>({sources:(await a("/api/sailpoint/sources")).json()}),Me=Object.freeze(Object.defineProperty({__proto__:null,load:ye},Symbol.toStringTag,{value:"Module"}));function he(a,e,u){const n=a.slice();return n[4]=e[u],n}function fe(a){let e,u,n,_=a[4].name+"",T,b,c,p,s=a[4].description+"",r,g,l,m,y=a[4].type+"",D,$,C,M,B=a[4].authoritative?"True":"False",L,q,F,O,H=a[4].healthy?"True":"False",N,z,J,k,E,U,I,Y,x,Q="View",G,K,W;function pe(){return a[2](a[4])}return{c(){e=i("tr"),u=i("td"),n=i("p"),T=w(_),b=S(),c=i("td"),p=i("p"),r=w(s),g=S(),l=i("td"),m=i("p"),D=w(y),$=S(),C=i("td"),M=i("p"),L=w(B),q=S(),F=i("td"),O=i("p"),N=w(H),J=S(),k=i("td"),E=i("a"),U=w("Open"),Y=S(),x=i("button"),x.textContent=Q,G=S(),this.h()},l(P){e=d(P,"TR",{});var o=f(e);u=d(o,"TD",{});var X=f(u);n=d(X,"P",{class:!0});var Z=f(n);T=A(Z,_),Z.forEach(h),X.forEach(h),b=j(o),c=d(o,"TD",{});var ee=f(c);p=d(ee,"P",{class:!0});var te=f(p);r=A(te,s),te.forEach(h),ee.forEach(h),g=j(o),l=d(o,"TD",{});var ae=f(l);m=d(ae,"P",{class:!0});var le=f(m);D=A(le,y),le.forEach(h),ae.forEach(h),$=j(o),C=d(o,"TD",{});var se=f(C);M=d(se,"P",{class:!0});var re=f(M);L=A(re,B),re.forEach(h),se.forEach(h),q=j(o),F=d(o,"TD",{});var oe=f(F);O=d(oe,"P",{class:!0});var ne=f(O);N=A(ne,H),ne.forEach(h),oe.forEach(h),J=j(o),k=d(o,"TD",{class:!0});var R=f(k);E=d(R,"A",{href:!0,class:!0,"data-sveltekit-preload-data":!0});var ce=f(E);U=A(ce,"Open"),ce.forEach(h),Y=j(R),x=d(R,"BUTTON",{class:!0,"data-svelte-h":!0}),ue(x)!=="svelte-9ysj5b"&&(x.textContent=Q),R.forEach(h),G=j(o),o.forEach(h),this.h()},h(){v(n,"class","text-center"),v(p,"class","text-center"),v(m,"class","text-center"),v(M,"class","text-center"),v(O,"class",z="text-center font-bold "+(a[4].healthy?"text-green-500":"text-red-500")),v(E,"href",I=`/home/sources/${a[4].id}`),v(E,"class","btn variant-filled-primary text-white"),v(E,"data-sveltekit-preload-data","hover"),v(x,"class","btn variant-filled-primary text-white"),v(k,"class","flex flex-col justify-center gap-1")},m(P,o){_e(P,e,o),t(e,u),t(u,n),t(n,T),t(e,b),t(e,c),t(c,p),t(p,r),t(e,g),t(e,l),t(l,m),t(m,D),t(e,$),t(e,C),t(C,M),t(M,L),t(e,q),t(e,F),t(F,O),t(O,N),t(e,J),t(e,k),t(k,E),t(E,U),t(k,Y),t(k,x),t(e,G),K||(W=ge(x,"click",pe),K=!0)},p(P,o){a=P,o&1&&_!==(_=a[4].name+"")&&V(T,_),o&1&&s!==(s=a[4].description+"")&&V(r,s),o&1&&y!==(y=a[4].type+"")&&V(D,y),o&1&&B!==(B=a[4].authoritative?"True":"False")&&V(L,B),o&1&&H!==(H=a[4].healthy?"True":"False")&&V(N,H),o&1&&z!==(z="text-center font-bold "+(a[4].healthy?"text-green-500":"text-red-500"))&&v(O,"class",z),o&1&&I!==(I=`/home/sources/${a[4].id}`)&&v(E,"href",I)},d(P){P&&h(e),K=!1,W()}}}function De(a){let e,u,n,_,T="<th>Name</th> <th>Description</th> <th>Type</th> <th>Authoritative</th> <th>Healthy</th> <th></th>",b,c,p=de(a[0].sources),s=[];for(let r=0;r<p.length;r+=1)s[r]=fe(he(a,p,r));return{c(){e=i("div"),u=i("div"),n=i("table"),_=i("thead"),_.innerHTML=T,b=S(),c=i("tbody");for(let r=0;r<s.length;r+=1)s[r].c();this.h()},l(r){e=d(r,"DIV",{class:!0});var g=f(e);u=d(g,"DIV",{class:!0});var l=f(u);n=d(l,"TABLE",{class:!0});var m=f(n);_=d(m,"THEAD",{"data-svelte-h":!0}),ue(_)!=="svelte-g75gtt"&&(_.innerHTML=T),b=j(m),c=d(m,"TBODY",{});var y=f(c);for(let D=0;D<s.length;D+=1)s[D].l(y);y.forEach(h),m.forEach(h),l.forEach(h),g.forEach(h),this.h()},h(){v(n,"class","table"),v(u,"class","flex justify-center flex-col align-middle"),v(e,"class","p-4")},m(r,g){_e(r,e,g),t(e,u),t(u,n),t(n,_),t(n,b),t(n,c);for(let l=0;l<s.length;l+=1)s[l]&&s[l].m(c,null)},p(r,[g]){if(g&3){p=de(r[0].sources);let l;for(l=0;l<p.length;l+=1){const m=he(r,p,l);s[l]?s[l].p(m,g):(s[l]=fe(m),s[l].c(),s[l].m(c,null))}for(;l<s.length;l+=1)s[l].d(1);s.length=p.length}},i:ie,o:ie,d(r){r&&h(e),me(s,r)}}}function ke(a,e,u){const n=Ee();let{data:_}=e;console.log(_);function T(c){const p={type:"component",component:"codeBlockModal",meta:{code:JSON.stringify(c,null,4),language:"json"}};n.trigger(p)}const b=c=>T(c);return a.$$set=c=>{"data"in c&&u(0,_=c.data)},[_,T,b]}class we extends Te{constructor(e){super(),be(this,e,ke,De,ve,{data:0})}}export{we as component,Me as universal};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
import{s as a,l as i,m as c,i as p,z as r,d as m,v as l}from"../chunks/scheduler.10bc074a.js";import{S as f,i as u}from"../chunks/index.7b3d626a.js";import{p as _}from"../chunks/stores.cca8a80c.js";function d(o){let t;return{c(){t=i("WHOOPS! Inner")},l(e){t=c(e,"WHOOPS! Inner")},m(e,n){p(e,t,n)},p:r,i:r,o:r,d(e){e&&m(t)}}}function x(o,t,e){let n;return l(o,_,s=>e(0,n=s)),console.log(n),[]}class h extends f{constructor(t){super(),u(this,t,x,d,a,{})}}export{h as component};
|
||||
@@ -1,9 +0,0 @@
|
||||
import{s as lt,f as h,a as R,l as H,g as b,h as S,d as D,c as N,S as tt,m as O,j as e,i as st,A as a,J as C,u as F,B as ot,D as it,v as j}from"../chunks/scheduler.10bc074a.js";import{S as ct,i as ut,b as pt,d as mt,m as dt,a as ft,t as ht,e as bt}from"../chunks/index.7b3d626a.js";import{p as vt}from"../chunks/parse.bee59afc.js";import{j as _t}from"../chunks/singletons.47bc9baa.js";import{i as gt}from"../chunks/navigation.ad74cec2.js";import{l as V}from"../chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js";import{L as yt}from"../chunks/LightSwitch.9a354e21.js";const Lt=!0,Et=Lt;function wt(t){return _t.apply_action(t)}function At(t){const r=JSON.parse(t);return r.data&&(r.data=vt(r.data)),r}function rt(t){return HTMLElement.prototype.cloneNode.call(t)}function Tt(t,r=()=>{}){const v=async({action:n,result:s,reset:_=!0,invalidateAll:m=!0})=>{s.type==="success"&&(_&&HTMLFormElement.prototype.reset.call(t),m&&await gt()),(location.origin+location.pathname===n.origin+n.pathname||s.type==="redirect"||s.type==="error")&&wt(s)};async function c(n){var I,f,p,E;if(((I=n.submitter)!=null&&I.hasAttribute("formmethod")?n.submitter.formMethod:rt(t).method)!=="post")return;n.preventDefault();const _=new URL((f=n.submitter)!=null&&f.hasAttribute("formaction")?n.submitter.formAction:rt(t).action),m=new FormData(t),d=(p=n.submitter)==null?void 0:p.getAttribute("name");d&&m.append(d,((E=n.submitter)==null?void 0:E.getAttribute("value"))??"");const g=new AbortController;let L=!1;const l=await r({action:_,cancel:()=>L=!0,controller:g,get data(){return m},formData:m,get form(){return t},formElement:t,submitter:n.submitter})??v;if(L)return;let u;try{const o=await fetch(_,{method:"POST",headers:{accept:"application/json","x-sveltekit-action":"true"},cache:"no-store",body:m,signal:g.signal});u=At(await o.text()),u.type==="error"&&(u.status=o.status)}catch(o){if((o==null?void 0:o.name)==="AbortError")return;u={type:"error",error:o}}l({action:_,get data(){return m},formData:m,get form(){return t},formElement:t,update:o=>v({action:_,result:u,reset:o==null?void 0:o.reset,invalidateAll:o==null?void 0:o.invalidateAll}),result:u})}return HTMLFormElement.prototype.addEventListener.call(t,"submit",c),{destroy(){HTMLFormElement.prototype.removeEventListener.call(t,"submit",c)}}}function Ut(t){let r,v,c,n,s,_='<img class="h-12 min-w-[590px]" src="/SailPoint-Developer-Community-Lockup.png" alt="sailPoint Logo"/>',m,d,g,L="Enter your tenant information to continue",$,l,u,I,f,p,E,o,w,z,M,J,A,q,B,W,T,G,P,et="Login",k,K,at;return c=new yt({}),{c(){r=h("main"),v=h("div"),pt(c.$$.fragment),n=R(),s=h("div"),s.innerHTML=_,m=R(),d=h("div"),g=h("div"),g.textContent=L,$=R(),l=h("form"),u=h("label"),I=H(`Tenant\r
|
||||
`),f=h("input"),p=R(),E=h("label"),o=H(`Domain\r
|
||||
`),w=h("input"),z=R(),M=h("label"),J=H(`API Base URL\r
|
||||
`),A=h("input"),q=R(),B=h("label"),W=H(`Tenant URL\r
|
||||
`),T=h("input"),G=R(),P=h("button"),P.textContent=et,this.h()},l(i){r=b(i,"MAIN",{class:!0});var y=S(r);v=b(y,"DIV",{class:!0});var nt=S(v);mt(c.$$.fragment,nt),nt.forEach(D),n=N(y),s=b(y,"DIV",{class:!0,"data-svelte-h":!0}),tt(s)!=="svelte-ldyvpw"&&(s.innerHTML=_),m=N(y),d=b(y,"DIV",{class:!0});var x=S(d);g=b(x,"DIV",{class:!0,"data-svelte-h":!0}),tt(g)!=="svelte-mv3ikv"&&(g.textContent=L),$=N(x),l=b(x,"FORM",{method:!0,class:!0});var U=S(l);u=b(U,"LABEL",{class:!0});var Q=S(u);I=O(Q,`Tenant\r
|
||||
`),f=b(Q,"INPUT",{name:!0,placeholder:!0,class:!0}),Q.forEach(D),p=N(U),E=b(U,"LABEL",{class:!0});var X=S(E);o=O(X,`Domain\r
|
||||
`),w=b(X,"INPUT",{name:!0,placeholder:!0,class:!0}),X.forEach(D),z=N(U),M=b(U,"LABEL",{class:!0});var Y=S(M);J=O(Y,`API Base URL\r
|
||||
`),A=b(Y,"INPUT",{name:!0,placeholder:!0,class:!0}),Y.forEach(D),q=N(U),B=b(U,"LABEL",{class:!0});var Z=S(B);W=O(Z,`Tenant URL\r
|
||||
`),T=b(Z,"INPUT",{name:!0,placeholder:!0,class:!0}),Z.forEach(D),G=N(U),P=b(U,"BUTTON",{type:!0,class:!0,"data-svelte-h":!0}),tt(P)!=="svelte-1nbmpzg"&&(P.textContent=et),U.forEach(D),x.forEach(D),y.forEach(D),this.h()},h(){e(v,"class","absolute top-2 right-2"),e(s,"class","flex flex-row justify-center"),e(g,"class","text-2xl text-center py-2"),e(f,"name","tenant"),e(f,"placeholder","tenant"),e(f,"class","input p-2"),e(u,"class",""),e(w,"name","domain"),e(w,"placeholder","identitynow"),e(w,"class","input p-2"),e(E,"class",""),e(A,"name","baseUrl"),e(A,"placeholder",`https://${t[4]}.api.${t[5]}.com`),e(A,"class","input p-2"),e(M,"class",""),e(T,"name","tenantUrl"),e(T,"placeholder",`https://${t[4]}.identitynow.com`),e(T,"class","input p-2"),e(B,"class",""),e(P,"type","submit"),e(P,"class","btn variant-filled-primary w-full mt-2 !text-white text-lg"),e(l,"method","POST"),e(l,"class","flex flex-col gap-4"),e(d,"class",""),e(r,"class","p-32 relative h-full")},m(i,y){st(i,r,y),a(r,v),dt(c,v,null),a(r,n),a(r,s),a(r,m),a(r,d),a(d,g),a(d,$),a(d,l),a(l,u),a(u,I),a(u,f),C(f,t[1]),a(l,p),a(l,E),a(E,o),a(E,w),C(w,t[0]),a(l,z),a(l,M),a(M,J),a(M,A),C(A,t[2]),a(l,q),a(l,B),a(B,W),a(B,T),C(T,t[3]),a(l,G),a(l,P),k=!0,K||(at=[F(f,"input",t[8]),F(w,"input",t[9]),F(A,"input",t[10]),F(T,"input",t[11]),ot(Tt.call(null,l))],K=!0)},p(i,[y]){y&2&&f.value!==i[1]&&C(f,i[1]),y&1&&w.value!==i[0]&&C(w,i[0]),y&4&&A.value!==i[2]&&C(A,i[2]),y&8&&T.value!==i[3]&&C(T,i[3])},i(i){k||(ft(c.$$.fragment,i),k=!0)},o(i){ht(c.$$.fragment,i),k=!1},d(i){i&&D(r),bt(c),K=!1,it(at)}}}function $t(t,r,v){let c,n,s,_,m;window.electron&&Et&&window.electron.receive("from-main",p=>{m=`Received Message "${p}" from Electron`,console.log(m)});const d=V("tenant","tenant");j(t,d,p=>v(1,n=p));const g=V("domain","identitynow");j(t,g,p=>v(0,c=p));const L=V("baseUrl","https://${tenant}.api.${domain}.com");j(t,L,p=>v(2,s=p));const $=V("tenantUrl","https://${tenant}.${domain}.com");j(t,$,p=>v(3,_=p));function l(){n=this.value,d.set(n)}function u(){c=this.value,g.set(c)}function I(){s=this.value,L.set(s)}function f(){_=this.value,$.set(_)}return t.$$.update=()=>{t.$$.dirty&3&&L.set(`https://${n}.api.${c}.com`),t.$$.dirty&3&&$.set(`https://${n}.${c}.com`)},[c,n,s,_,d,g,L,$,l,u,I,f]}class Rt extends ct{constructor(r){super(),ut(this,r,$t,Ut,lt,{})}}export{Rt as component};
|
||||
@@ -1,3 +0,0 @@
|
||||
import{s as b,f as v,l as D,g,h as _,m as N,d as f,j as d,k as h,i as j,A as y,n as L,z,o as q,x as M,y as P}from"../chunks/scheduler.10bc074a.js";import{S as k,i as C,b as O,d as T,m as B,a as F,t as G,e as H}from"../chunks/index.7b3d626a.js";import{g as J}from"../chunks/navigation.ad74cec2.js";function K(o){let e,t,l,i,r;return{c(){e=v("span"),t=v("span"),l=v("span"),i=D(o[3]),this.h()},l(a){e=g(a,"SPAN",{class:!0});var s=_(e);t=g(s,"SPAN",{style:!0,class:!0});var c=_(t);l=g(c,"SPAN",{class:!0});var m=_(l);i=N(m,o[3]),m.forEach(f),c.forEach(f),s.forEach(f),this.h()},h(){d(l,"class","svelte-1fdnh10"),h(t,"--index",o[1]),h(t,"--interval",o[2]),h(t,"--ease",o[0]),d(t,"class","svelte-1fdnh10"),d(e,"class",r="sliding-text "+o[4].class+" svelte-1fdnh10")},m(a,s){j(a,e,s),y(e,t),y(t,l),y(l,i)},p(a,[s]){s&8&&L(i,a[3]),s&2&&h(t,"--index",a[1]),s&4&&h(t,"--interval",a[2]),s&1&&h(t,"--ease",a[0]),s&16&&r!==(r="sliding-text "+a[4].class+" svelte-1fdnh10")&&d(e,"class",r)},i:z,o:z,d(a){a&&f(e)}}}function Q(o,e,t){let l,i,{values:r=Array.from({length:100},(n,V)=>new String(V).padStart(3,"0"))}=e,{interval:a=1e3}=e,{transitionInterval:s=700}=e,{startImmediately:c=!1}=e,{direction:m="down"}=e,{loop:I=!0}=e,{ease:S="cubic-bezier(1, 0, 0, 1)"}=e,{random:A=!1}=e,{initialValue:x=void 0}=e,u=m==="up"?0:r.length-1,E=x?r.indexOf(x):u;return q(()=>{const n=()=>{if(t(1,u=E+(m==="up"?1:-1)),!I&&(u===r.length-1||u===0)){clearInterval(V);return}I&&u===r.length&&t(1,u=0),I&&u===-1&&t(1,u=r.length-1),A&&t(1,u=Math.floor(Math.random()*r.length)),E=u};c&&n();let V=setInterval(n,a);return()=>clearInterval(V)}),o.$$set=n=>{t(4,e=M(M({},e),P(n))),"values"in n&&t(5,r=n.values),"interval"in n&&t(6,a=n.interval),"transitionInterval"in n&&t(7,s=n.transitionInterval),"startImmediately"in n&&t(8,c=n.startImmediately),"direction"in n&&t(9,m=n.direction),"loop"in n&&t(10,I=n.loop),"ease"in n&&t(0,S=n.ease),"random"in n&&t(11,A=n.random),"initialValue"in n&&t(12,x=n.initialValue)},o.$$.update=()=>{o.$$.dirty&32&&t(3,l=r.join(`
|
||||
|
||||
`)),o.$$.dirty&128&&t(2,i=`${s}ms`)},e=P(e),[S,u,i,l,e,r,a,s,c,m,I,A,x]}class R extends k{constructor(e){super(),C(this,e,Q,K,b,{values:5,interval:6,transitionInterval:7,startImmediately:8,direction:9,loop:10,ease:0,random:11,initialValue:12})}}function U(o){let e,t,l,i,r;return i=new R({props:{interval:1500,transitionInterval:10,startImmediately:!0,values:o[0].counterList,random:!0,class:"custom-skill px-2"}}),{c(){e=v("div"),t=v("div"),l=v("div"),O(i.$$.fragment),this.h()},l(a){e=g(a,"DIV",{class:!0});var s=_(e);t=g(s,"DIV",{class:!0});var c=_(t);l=g(c,"DIV",{class:!0});var m=_(l);T(i.$$.fragment,m),m.forEach(f),c.forEach(f),s.forEach(f),this.h()},h(){d(l,"class","skills svelte-1285lhc"),d(t,"class","card card-glass z-50 space-y-5 p-4 md:p-10"),d(e,"class","z-50 mx-auto flex h-full items-center justify-center p-4 md:p-0")},m(a,s){j(a,e,s),y(e,t),y(t,l),B(i,l,null),r=!0},p(a,[s]){const c={};s&1&&(c.values=a[0].counterList),i.$set(c)},i(a){r||(F(i.$$.fragment,a),r=!0)},o(a){G(i.$$.fragment,a),r=!1},d(a){a&&f(e),H(i)}}}function W(o,e,t){let{data:l}=e;return console.log(l),setTimeout(()=>J("/home"),1e3),o.$$set=i=>{"data"in i&&t(0,l=i.data)},[l]}class w extends k{constructor(e){super(),C(this,e,W,U,b,{data:0})}}export{w as component};
|
||||
@@ -1 +0,0 @@
|
||||
import{s as B,f as c,g as i,h as _,d,j as n,i as T,z as C,l as L,a as w,m as M,c as b,S as F,A as s}from"../chunks/scheduler.10bc074a.js";import{e as G}from"../chunks/each.ac7da970.js";import{S as J,i as K}from"../chunks/index.7b3d626a.js";import{r as N}from"../chunks/reports.b2ca66e3.js";function O(m,a,e){const o=m.slice();return o[0]=a[e],o}function Q(m,a){let e,o,h,u,t=a[0].name+"",l,r,p,v,V="Summary",D,x,g,H=a[0].description+"",I,A,E,S;return{key:m,first:null,c(){e=c("a"),o=c("header"),h=c("div"),u=c("div"),l=L(t),r=w(),p=c("div"),v=c("h3"),v.textContent=V,D=w(),x=c("article"),g=c("p"),I=L(H),A=w(),E=c("hr"),S=w(),this.h()},l(y){e=i(y,"A",{class:!0,"data-sveltekit-preload-data":!0,href:!0});var f=_(e);o=i(f,"HEADER",{});var R=_(o);h=i(R,"DIV",{class:!0});var j=_(h);u=i(j,"DIV",{class:!0});var P=_(u);l=M(P,t),P.forEach(d),j.forEach(d),R.forEach(d),r=b(f),p=i(f,"DIV",{class:!0});var k=_(p);v=i(k,"H3",{class:!0,"data-toc-ignore":!0,"data-svelte-h":!0}),F(v)!=="svelte-6huxvk"&&(v.textContent=V),D=b(k),x=i(k,"ARTICLE",{});var q=_(x);g=i(q,"P",{});var z=_(g);I=M(z,H),z.forEach(d),q.forEach(d),k.forEach(d),A=b(f),E=i(f,"HR",{class:!0}),S=b(f),f.forEach(d),this.h()},h(){n(u,"class","text font-bold text-white uppercase absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 text-[24px]"),n(h,"class","w-full aspect-[21/9] relative bg-[#526bf8] overflow-hidden"),n(v,"class","h3"),n(v,"data-toc-ignore",""),n(p,"class","p-4 space-y-4"),n(E,"class","opacity-50"),n(e,"class","card card-hover overflow-hidden w-modal-slim"),n(e,"data-sveltekit-preload-data","hover"),n(e,"href",a[0].url),this.first=e},m(y,f){T(y,e,f),s(e,o),s(o,h),s(h,u),s(u,l),s(e,r),s(e,p),s(p,v),s(p,D),s(p,x),s(x,g),s(g,I),s(e,A),s(e,E),s(e,S)},p:C,d(y){y&&d(e)}}}function U(m){let a,e=[],o=new Map,h=G(N);const u=t=>t[0].url;for(let t=0;t<h.length;t+=1){let l=O(m,h,t),r=u(l);o.set(r,e[t]=Q(r,l))}return{c(){a=c("div");for(let t=0;t<e.length;t+=1)e[t].c();this.h()},l(t){a=i(t,"DIV",{class:!0});var l=_(a);for(let r=0;r<e.length;r+=1)e[r].l(l);l.forEach(d),this.h()},h(){n(a,"class","flex flex-row flex-wrap gap-4 p-4 justify-center")},m(t,l){T(t,a,l);for(let r=0;r<e.length;r+=1)e[r]&&e[r].m(a,null)},p:C,i:C,o:C,d(t){t&&d(a);for(let l=0;l<e.length;l+=1)e[l].d()}}}class $ extends J{constructor(a){super(),K(this,a,null,U,B,{})}}export{$ as component};
|
||||
@@ -1 +0,0 @@
|
||||
import{s as I,f as h,a as T,g,h as C,S as V,c as q,d,j as y,i as w,A as b,o as A,z as M}from"../chunks/scheduler.10bc074a.js";import{S as O,i as P,t as $,c as R,a as k,g as L,b as E,d as D,m as N,e as j}from"../chunks/index.7b3d626a.js";import"../chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js";import{t as x,P as z,T as J}from"../chunks/Table.f5db4492.js";import{a as F}from"../chunks/alasql.min.1f65b74d.js";function B(u){let t,n,e;return n=new z({props:{stroke:100,meter:"stroke-primary-500",track:"stroke-primary-500/30",class:"progress-bar"}}),{c(){t=h("div"),E(n.$$.fragment),this.h()},l(s){t=g(s,"DIV",{class:!0});var l=C(t);D(n.$$.fragment,l),l.forEach(d),this.h()},h(){y(t,"class","progress-bar svelte-sfm816")},m(s,l){w(s,t,l),N(n,t,null),e=!0},p:M,i(s){e||(k(n.$$.fragment,s),e=!0)},o(s){$(n.$$.fragment,s),e=!1},d(s){s&&d(t),j(n)}}}function G(u){let t,n;return t=new J({props:{class:"w-full",source:u[0],interactive:!0}}),t.$on("selected",K),{c(){E(t.$$.fragment)},l(e){D(t.$$.fragment,e)},m(e,s){N(t,e,s),n=!0},p(e,s){const l={};s&1&&(l.source=e[0]),t.$set(l)},i(e){n||(k(t.$$.fragment,e),n=!0)},o(e){$(t.$$.fragment,e),n=!1},d(e){j(t,e)}}}function H(u){let t,n,e,s,l="Listing of identities that are inactive but still have access in sources",p,o,a,c;const _=[G,B],i=[];function S(r,m){return r[0]?0:1}return o=S(u),a=i[o]=_[o](u),{c(){t=h("main"),n=h("div"),e=h("div"),s=h("div"),s.textContent=l,p=T(),a.c(),this.h()},l(r){t=g(r,"MAIN",{});var m=C(t);n=g(m,"DIV",{class:!0});var f=C(n);e=g(f,"DIV",{class:!0});var v=C(e);s=g(v,"DIV",{class:!0,"data-svelte-h":!0}),V(s)!=="svelte-1wbzyk2"&&(s.textContent=l),p=q(v),a.l(v),v.forEach(d),f.forEach(d),m.forEach(d),this.h()},h(){y(s,"class","text-2xl py-2 text-center"),y(e,"class","flex justify-center mt-4 flex-col align-middle"),y(n,"class","p-4")},m(r,m){w(r,t,m),b(t,n),b(n,e),b(e,s),b(e,p),i[o].m(e,null),c=!0},p(r,[m]){let f=o;o=S(r),o===f?i[o].p(r,m):(L(),$(i[f],1,1,()=>{i[f]=null}),R(),a=i[o],a?a.p(r,m):(a=i[o]=_[o](r),a.c()),k(a,1),a.m(e,null))},i(r){c||(k(a),c=!0)},o(r){$(a),c=!1},d(r){r&&d(t),i[o].d()}}}function K(u){console.log(u)}function Q(u,t,n){let e;return A(async()=>{let p=await(await fetch("/api/sailpoint/search",{method:"POST",body:JSON.stringify({indices:["identities"],query:{query:"@accounts(disabled:false) AND (attributes.cloudLifecycleState:inactive)"},sort:["name"]}),headers:{"content-type":"application/json"}})).json();if(console.log(p),JSON.stringify(p)!=="{}"){let o=[];for(let c of p){let _=[];for(let i of c.accounts)i.disabled==!1&&_.push(i.source.name);o.push({name:c.displayName,source:_.join(", "),department:c.attributes.department,accessCount:c.accessCount,entitlementCount:c.entitlementCount,roleCount:c.roleCount})}let a=F("SELECT name, source, department, accessCount, entitlementCount, roleCount FROM ?",[o]);console.log(a),n(0,e={head:["Name","Sources","Departments","Access Count","Entitlement Count","Role Count"],body:x(a,["name","source","department","accessCount","entitlementCount","roleCount"]),meta:x(a,["name","source","department","accessCount","entitlementCount","roleCount"])})}}),[e]}class ee extends O{constructor(t){super(),P(this,t,Q,H,I,{})}}export{ee as component};
|
||||
@@ -1 +0,0 @@
|
||||
import{s as T,f as g,a as w,g as h,h as $,S as E,c as N,d as C,j as b,i as P,A as y,o as q,z as M}from"../chunks/scheduler.10bc074a.js";import{S as V,i as D,t as p,c as I,a as _,g as L,b as k,d as x,m as j,e as O}from"../chunks/index.7b3d626a.js";import{P as R}from"../chunks/Progress.f79dd2c2.js";import"../chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js";import{t as S,T as z}from"../chunks/Table.f5db4492.js";import{a as A}from"../chunks/alasql.min.1f65b74d.js";const J=async({fetch:r})=>({response:r("/api/sailpoint/search",{method:"POST",body:JSON.stringify({indices:["identities"],query:{query:"NOT _exists_:attributes.cloudLifecycleState"},sort:["name"]}),headers:{"content-type":"application/json"}})}),ee=Object.freeze(Object.defineProperty({__proto__:null,load:J},Symbol.toStringTag,{value:"Module"}));function F(r){let t,n;return t=new R({}),{c(){k(t.$$.fragment)},l(e){x(t.$$.fragment,e)},m(e,l){j(t,e,l),n=!0},p:M,i(e){n||(_(t.$$.fragment,e),n=!0)},o(e){p(t.$$.fragment,e),n=!1},d(e){O(t,e)}}}function B(r){let t,n;return t=new z({props:{class:"w-full",source:r[0],interactive:!0}}),t.$on("selected",H),{c(){k(t.$$.fragment)},l(e){x(t.$$.fragment,e)},m(e,l){j(t,e,l),n=!0},p(e,l){const u={};l&1&&(u.source=e[0]),t.$set(u)},i(e){n||(_(t.$$.fragment,e),n=!0)},o(e){p(t.$$.fragment,e),n=!1},d(e){O(t,e)}}}function G(r){let t,n,e,l="Listing of identities that are missing the cloud life cycle state attribute",u,s,o,c;const d=[B,F],i=[];function v(a,f){return a[0]?0:1}return s=v(r),o=i[s]=d[s](r),{c(){t=g("div"),n=g("div"),e=g("div"),e.textContent=l,u=w(),o.c(),this.h()},l(a){t=h(a,"DIV",{class:!0});var f=$(t);n=h(f,"DIV",{class:!0});var m=$(n);e=h(m,"DIV",{class:!0,"data-svelte-h":!0}),E(e)!=="svelte-12wr2y6"&&(e.textContent=l),u=N(m),o.l(m),m.forEach(C),f.forEach(C),this.h()},h(){b(e,"class","text-2xl py-2 text-center"),b(n,"class","flex justify-center mt-4 flex-col align-middle"),b(t,"class","p-4")},m(a,f){P(a,t,f),y(t,n),y(n,e),y(n,u),i[s].m(n,null),c=!0},p(a,[f]){let m=s;s=v(a),s===m?i[s].p(a,f):(L(),p(i[m],1,1,()=>{i[m]=null}),I(),o=i[s],o?o.p(a,f):(o=i[s]=d[s](a),o.c()),_(o,1),o.m(n,null))},i(a){c||(_(o),c=!0)},o(a){p(o),c=!1},d(a){a&&C(t),i[s].d()}}}function H(r){console.log(r)}function K(r,t,n){let{data:e}=t;console.log(e);let l,u;return q(async()=>{if(l=await e.response.json(),console.log(l),JSON.stringify(e)!=="{}"){let s=[];for(let c of l){let d=[];for(let i of c.accounts)i.disabled==!1&&d.push(i.source.name);s.push({name:c.displayName,source:d.join(", "),created:c.created,accessCount:c.accessCount,entitlementCount:c.entitlementCount,roleCount:c.roleCount})}let o=A("SELECT name, source, created, accessCount, entitlementCount, roleCount FROM ?",[s]);n(0,u={head:["Name","Sources","Created","Access Count","Entitlement Count","Role Count"],body:S(o,["name","source","created","accessCount","entitlementCount","roleCount"]),meta:S(o,["name","source","created","accessCount","entitlementCount","roleCount"])})}}),r.$$set=s=>{"data"in s&&n(1,e=s.data)},[u,e]}class te extends V{constructor(t){super(),D(this,t,K,G,T,{data:1})}}export{te as component,ee as universal};
|
||||
@@ -1 +0,0 @@
|
||||
import{s as C,f as h,a as D,g as b,h as S,S as E,c as T,d as $,j as y,i as P,A as v,o as j,z as q}from"../chunks/scheduler.10bc074a.js";import{S as A,i as F,t as _,c as J,a as g,g as M,b as w,d as x,m as N,e as O}from"../chunks/index.7b3d626a.js";import{g as V}from"../chunks/stores.dc566077.js";import"../chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js";import{t as k,T as I}from"../chunks/Table.f5db4492.js";import{a as R}from"../chunks/alasql.min.1f65b74d.js";import{P as L}from"../chunks/Progress.f79dd2c2.js";function z(c){let t,r;return t=new L({}),{c(){w(t.$$.fragment)},l(e){x(t.$$.fragment,e)},m(e,l){N(t,e,l),r=!0},p:q,i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){_(t.$$.fragment,e),r=!1},d(e){O(t,e)}}}function B(c){let t,r;return t=new I({props:{class:"w-full",source:c[0],interactive:!0}}),t.$on("selected",c[1]),{c(){w(t.$$.fragment)},l(e){x(t.$$.fragment,e)},m(e,l){N(t,e,l),r=!0},p(e,l){const i={};l&1&&(i.source=e[0]),t.$set(i)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){_(t.$$.fragment,e),r=!1},d(e){O(t,e)}}}function G(c){let t,r,e,l="Listing of Source Account Create Errors",i,o,a,u;const p=[B,z],s=[];function d(n,f){return n[0]?0:1}return o=d(c),a=s[o]=p[o](c),{c(){t=h("div"),r=h("div"),e=h("div"),e.textContent=l,i=D(),a.c(),this.h()},l(n){t=b(n,"DIV",{class:!0});var f=S(t);r=b(f,"DIV",{class:!0});var m=S(r);e=b(m,"DIV",{class:!0,"data-svelte-h":!0}),E(e)!=="svelte-1r17rra"&&(e.textContent=l),i=T(m),a.l(m),m.forEach($),f.forEach($),this.h()},h(){y(e,"class","text-2xl text-center py-2"),y(r,"class","flex justify-center mt-4 flex-col align-middle"),y(t,"class","p-4")},m(n,f){P(n,t,f),v(t,r),v(r,e),v(r,i),s[o].m(r,null),u=!0},p(n,[f]){let m=o;o=d(n),o===m?s[o].p(n,f):(M(),_(s[m],1,1,()=>{s[m]=null}),J(),a=s[o],a?a.p(n,f):(a=s[o]=p[o](n),a.c()),g(a,1),a.m(r,null))},i(n){u||(g(a),u=!0)},o(n){_(a),u=!1},d(n){n&&$(t),s[o].d()}}}function U(c,t,r){const e=V();let l,i;j(async()=>{if(i=await(await fetch("/api/sailpoint/search",{method:"POST",body:JSON.stringify({indices:["events"],query:{query:'name: "Create Account Failed" AND created: [now-90d TO now]'},sort:["created"]}),headers:{"content-type":"application/json"}})).json(),JSON.stringify(i)!=="{}"){let p=[];for(let d of i)p.push({name:d.target.name,source:d.attributes.sourceName,failure:d.name});let s=R("SELECT failure, source, name, count(*) as failures FROM ? GROUP BY failure, source, name",[p]);console.log(s),r(0,l={head:["Name","Source","Failure","Number Failures"],body:k(s,["name","source","failure","failures"]),meta:k(s,["name","source","failure","failures"])})}});function o(a){console.log(a);let u="";for(let s of i)s.target.name==a.detail[0]&&s.attributes.sourceName==a.detail[1]&&s.name==a.detail[2]&&(console.log(s.attributes.errors),u=JSON.stringify(JSON.parse(s.attributes.errors),null," "));const p={type:"alert",title:"Exception Details",body:`${u}`};e.trigger(p)}return[l,o]}class ee extends A{constructor(t){super(),F(this,t,U,G,C,{})}}export{ee as component};
|
||||
@@ -1 +0,0 @@
|
||||
{"version":"1700279881601"}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 259 KiB |
@@ -1,37 +0,0 @@
|
||||
/* global "" */
|
||||
|
||||
const expected = new Set([
|
||||
'SOCKET_PATH',
|
||||
'HOST',
|
||||
'PORT',
|
||||
'ORIGIN',
|
||||
'XFF_DEPTH',
|
||||
'ADDRESS_HEADER',
|
||||
'PROTOCOL_HEADER',
|
||||
'HOST_HEADER',
|
||||
'BODY_SIZE_LIMIT'
|
||||
]);
|
||||
|
||||
if ("") {
|
||||
for (const name in process.env) {
|
||||
if (name.startsWith("")) {
|
||||
const unprefixed = name.slice("".length);
|
||||
if (!expected.has(unprefixed)) {
|
||||
throw new Error(
|
||||
`You should change envPrefix (${""}) to avoid conflicts with existing environment variables — unexpectedly saw ${name}`
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} name
|
||||
* @param {any} fallback
|
||||
*/
|
||||
function env(name, fallback) {
|
||||
const prefixed = "" + name;
|
||||
return prefixed in process.env ? process.env[prefixed] : fallback;
|
||||
}
|
||||
|
||||
export { env };
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,225 +0,0 @@
|
||||
import { handler } from './handler.js';
|
||||
import { env } from './env.js';
|
||||
import http from 'http';
|
||||
import * as qs from 'querystring';
|
||||
|
||||
function parse$1 (str, loose) {
|
||||
if (str instanceof RegExp) return { keys:false, pattern:str };
|
||||
var c, o, tmp, ext, keys=[], pattern='', arr = str.split('/');
|
||||
arr[0] || arr.shift();
|
||||
|
||||
while (tmp = arr.shift()) {
|
||||
c = tmp[0];
|
||||
if (c === '*') {
|
||||
keys.push('wild');
|
||||
pattern += '/(.*)';
|
||||
} else if (c === ':') {
|
||||
o = tmp.indexOf('?', 1);
|
||||
ext = tmp.indexOf('.', 1);
|
||||
keys.push( tmp.substring(1, !!~o ? o : !!~ext ? ext : tmp.length) );
|
||||
pattern += !!~o && !~ext ? '(?:/([^/]+?))?' : '/([^/]+?)';
|
||||
if (!!~ext) pattern += (!!~o ? '?' : '') + '\\' + tmp.substring(ext);
|
||||
} else {
|
||||
pattern += '/' + tmp;
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
keys: keys,
|
||||
pattern: new RegExp('^' + pattern + (loose ? '(?=$|\/)' : '\/?$'), 'i')
|
||||
};
|
||||
}
|
||||
|
||||
class Trouter {
|
||||
constructor() {
|
||||
this.routes = [];
|
||||
|
||||
this.all = this.add.bind(this, '');
|
||||
this.get = this.add.bind(this, 'GET');
|
||||
this.head = this.add.bind(this, 'HEAD');
|
||||
this.patch = this.add.bind(this, 'PATCH');
|
||||
this.options = this.add.bind(this, 'OPTIONS');
|
||||
this.connect = this.add.bind(this, 'CONNECT');
|
||||
this.delete = this.add.bind(this, 'DELETE');
|
||||
this.trace = this.add.bind(this, 'TRACE');
|
||||
this.post = this.add.bind(this, 'POST');
|
||||
this.put = this.add.bind(this, 'PUT');
|
||||
}
|
||||
|
||||
use(route, ...fns) {
|
||||
let handlers = [].concat.apply([], fns);
|
||||
let { keys, pattern } = parse$1(route, true);
|
||||
this.routes.push({ keys, pattern, method:'', handlers });
|
||||
return this;
|
||||
}
|
||||
|
||||
add(method, route, ...fns) {
|
||||
let { keys, pattern } = parse$1(route);
|
||||
let handlers = [].concat.apply([], fns);
|
||||
this.routes.push({ keys, pattern, method, handlers });
|
||||
return this;
|
||||
}
|
||||
|
||||
find(method, url) {
|
||||
let isHEAD=(method === 'HEAD');
|
||||
let i=0, j=0, k, tmp, arr=this.routes;
|
||||
let matches=[], params={}, handlers=[];
|
||||
for (; i < arr.length; i++) {
|
||||
tmp = arr[i];
|
||||
if (tmp.method.length === 0 || tmp.method === method || isHEAD && tmp.method === 'GET') {
|
||||
if (tmp.keys === false) {
|
||||
matches = tmp.pattern.exec(url);
|
||||
if (matches === null) continue;
|
||||
if (matches.groups !== void 0) for (k in matches.groups) params[k]=matches.groups[k];
|
||||
tmp.handlers.length > 1 ? (handlers=handlers.concat(tmp.handlers)) : handlers.push(tmp.handlers[0]);
|
||||
} else if (tmp.keys.length > 0) {
|
||||
matches = tmp.pattern.exec(url);
|
||||
if (matches === null) continue;
|
||||
for (j=0; j < tmp.keys.length;) params[tmp.keys[j]]=matches[++j];
|
||||
tmp.handlers.length > 1 ? (handlers=handlers.concat(tmp.handlers)) : handlers.push(tmp.handlers[0]);
|
||||
} else if (tmp.pattern.test(url)) {
|
||||
tmp.handlers.length > 1 ? (handlers=handlers.concat(tmp.handlers)) : handlers.push(tmp.handlers[0]);
|
||||
}
|
||||
} // else not a match
|
||||
}
|
||||
|
||||
return { params, handlers };
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @typedef ParsedURL
|
||||
* @type {import('.').ParsedURL}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef Request
|
||||
* @property {string} url
|
||||
* @property {ParsedURL} _parsedUrl
|
||||
*/
|
||||
|
||||
/**
|
||||
* @param {Request} req
|
||||
* @returns {ParsedURL|void}
|
||||
*/
|
||||
function parse(req) {
|
||||
let raw = req.url;
|
||||
if (raw == null) return;
|
||||
|
||||
let prev = req._parsedUrl;
|
||||
if (prev && prev.raw === raw) return prev;
|
||||
|
||||
let pathname=raw, search='', query;
|
||||
|
||||
if (raw.length > 1) {
|
||||
let idx = raw.indexOf('?', 1);
|
||||
|
||||
if (idx !== -1) {
|
||||
search = raw.substring(idx);
|
||||
pathname = raw.substring(0, idx);
|
||||
if (search.length > 1) {
|
||||
query = qs.parse(search.substring(1));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return req._parsedUrl = { pathname, search, query, raw };
|
||||
}
|
||||
|
||||
function onError(err, req, res) {
|
||||
let code = typeof err.status === 'number' && err.status;
|
||||
code = res.statusCode = (code && code >= 100 ? code : 500);
|
||||
if (typeof err === 'string' || Buffer.isBuffer(err)) res.end(err);
|
||||
else res.end(err.message || http.STATUS_CODES[code]);
|
||||
}
|
||||
|
||||
const mount = fn => fn instanceof Polka ? fn.attach : fn;
|
||||
|
||||
class Polka extends Trouter {
|
||||
constructor(opts={}) {
|
||||
super();
|
||||
this.parse = parse;
|
||||
this.server = opts.server;
|
||||
this.handler = this.handler.bind(this);
|
||||
this.onError = opts.onError || onError; // catch-all handler
|
||||
this.onNoMatch = opts.onNoMatch || this.onError.bind(null, { status: 404 });
|
||||
this.attach = (req, res) => setImmediate(this.handler, req, res);
|
||||
}
|
||||
|
||||
use(base, ...fns) {
|
||||
if (base === '/') {
|
||||
super.use(base, fns.map(mount));
|
||||
} else if (typeof base === 'function' || base instanceof Polka) {
|
||||
super.use('/', [base, ...fns].map(mount));
|
||||
} else {
|
||||
super.use(base,
|
||||
(req, _, next) => {
|
||||
if (typeof base === 'string') {
|
||||
let len = base.length;
|
||||
base.startsWith('/') || len++;
|
||||
req.url = req.url.substring(len) || '/';
|
||||
req.path = req.path.substring(len) || '/';
|
||||
} else {
|
||||
req.url = req.url.replace(base, '') || '/';
|
||||
req.path = req.path.replace(base, '') || '/';
|
||||
}
|
||||
if (req.url.charAt(0) !== '/') {
|
||||
req.url = '/' + req.url;
|
||||
}
|
||||
next();
|
||||
},
|
||||
fns.map(mount),
|
||||
(req, _, next) => {
|
||||
req.path = req._parsedUrl.pathname;
|
||||
req.url = req.path + req._parsedUrl.search;
|
||||
next();
|
||||
}
|
||||
);
|
||||
}
|
||||
return this; // chainable
|
||||
}
|
||||
|
||||
listen() {
|
||||
(this.server = this.server || http.createServer()).on('request', this.attach);
|
||||
this.server.listen.apply(this.server, arguments);
|
||||
return this;
|
||||
}
|
||||
|
||||
handler(req, res, next) {
|
||||
let info = this.parse(req), path = info.pathname;
|
||||
let obj = this.find(req.method, req.path=path);
|
||||
|
||||
req.url = path + info.search;
|
||||
req.originalUrl = req.originalUrl || req.url;
|
||||
req.query = info.query || {};
|
||||
req.search = info.search;
|
||||
req.params = obj.params;
|
||||
|
||||
if (path.length > 1 && path.indexOf('%', 1) !== -1) {
|
||||
for (let k in req.params) {
|
||||
try { req.params[k] = decodeURIComponent(req.params[k]); }
|
||||
catch (e) { /* malform uri segment */ }
|
||||
}
|
||||
}
|
||||
|
||||
let i=0, arr=obj.handlers.concat(this.onNoMatch), len=arr.length;
|
||||
let loop = async () => res.finished || (i < len) && arr[i++](req, res, next);
|
||||
(next = next || (err => err ? this.onError(err, req, res, next) : loop().catch(next)))(); // init
|
||||
}
|
||||
}
|
||||
|
||||
function polka (opts) {
|
||||
return new Polka(opts);
|
||||
}
|
||||
|
||||
const path = env('SOCKET_PATH', false);
|
||||
const host = env('HOST', '0.0.0.0');
|
||||
const port = env('PORT', !path && '3000');
|
||||
|
||||
const server = polka().use(handler);
|
||||
|
||||
server.listen({ path, host, port }, () => {
|
||||
console.log(`Listening on ${path ? path : host + ':' + port}`);
|
||||
});
|
||||
|
||||
export { host, path, port, server };
|
||||
@@ -1,9 +0,0 @@
|
||||
const index = 0;
|
||||
let component_cache;
|
||||
const component = async () => component_cache ??= (await import('./_layout.svelte-fdd7864c.js')).default;
|
||||
const imports = ["_app/immutable/nodes/0.0dac9feb.js","_app/immutable/chunks/scheduler.10bc074a.js","_app/immutable/chunks/index.7b3d626a.js","_app/immutable/chunks/stores.dc566077.js","_app/immutable/chunks/index.09b1afef.js","_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js","_app/immutable/chunks/spread.8a54911c.js","_app/immutable/chunks/CodeBlock.f9dc51ff.js"];
|
||||
const stylesheets = ["_app/immutable/assets/0.f8980d8d.css","_app/immutable/assets/ProgressBar.4f1e9ba5.css"];
|
||||
const fonts = [];
|
||||
|
||||
export { component, fonts, imports, index, stylesheets };
|
||||
//# sourceMappingURL=0-e9744a96.js.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"0-e9744a96.js","sources":["../../../../Sveltekit-App/.svelte-kit/adapter-node/nodes/0.js"],"sourcesContent":["\n\nexport const index = 0;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_layout.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/0.0dac9feb.js\",\"_app/immutable/chunks/scheduler.10bc074a.js\",\"_app/immutable/chunks/index.7b3d626a.js\",\"_app/immutable/chunks/stores.dc566077.js\",\"_app/immutable/chunks/index.09b1afef.js\",\"_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js\",\"_app/immutable/chunks/spread.8a54911c.js\",\"_app/immutable/chunks/CodeBlock.f9dc51ff.js\"];\nexport const stylesheets = [\"_app/immutable/assets/0.f8980d8d.css\",\"_app/immutable/assets/ProgressBar.4f1e9ba5.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,8BAAoC,CAAC,EAAE,QAAQ;AAC1G,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,yCAAyC,CAAC,0CAA0C,CAAC,yCAAyC,CAAC,6EAA6E,CAAC,0CAA0C,CAAC,6CAA6C,EAAE;AACtY,MAAC,WAAW,GAAG,CAAC,sCAAsC,CAAC,gDAAgD,EAAE;AACzG,MAAC,KAAK,GAAG;;;;"}
|
||||
@@ -1,9 +0,0 @@
|
||||
const index = 1;
|
||||
let component_cache;
|
||||
const component = async () => component_cache ??= (await import('./_error.svelte-ef2a7f39.js')).default;
|
||||
const imports = ["_app/immutable/nodes/1.2c9d8424.js","_app/immutable/chunks/scheduler.10bc074a.js","_app/immutable/chunks/index.7b3d626a.js","_app/immutable/chunks/stores.cca8a80c.js","_app/immutable/chunks/singletons.47bc9baa.js","_app/immutable/chunks/index.09b1afef.js"];
|
||||
const stylesheets = [];
|
||||
const fonts = [];
|
||||
|
||||
export { component, fonts, imports, index, stylesheets };
|
||||
//# sourceMappingURL=1-60dcc5a6.js.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"1-60dcc5a6.js","sources":["../../../../Sveltekit-App/.svelte-kit/adapter-node/nodes/1.js"],"sourcesContent":["\n\nexport const index = 1;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_error.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/1.2c9d8424.js\",\"_app/immutable/chunks/scheduler.10bc074a.js\",\"_app/immutable/chunks/index.7b3d626a.js\",\"_app/immutable/chunks/stores.cca8a80c.js\",\"_app/immutable/chunks/singletons.47bc9baa.js\",\"_app/immutable/chunks/index.09b1afef.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,6BAAmC,CAAC,EAAE,QAAQ;AACzG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,yCAAyC,CAAC,0CAA0C,CAAC,8CAA8C,CAAC,yCAAyC,EAAE;AAC9Q,MAAC,WAAW,GAAG,GAAG;AAClB,MAAC,KAAK,GAAG;;;;"}
|
||||
@@ -1,20 +0,0 @@
|
||||
const load = async ({ fetch }) => {
|
||||
const aggData = (await fetch("/api/sailpoint/sourceAggEvents")).json();
|
||||
return { aggData };
|
||||
};
|
||||
|
||||
var _page_server_ts = /*#__PURE__*/Object.freeze({
|
||||
__proto__: null,
|
||||
load: load
|
||||
});
|
||||
|
||||
const index = 10;
|
||||
let component_cache;
|
||||
const component = async () => component_cache ??= (await import('./_page.svelte-728c7b11.js')).default;
|
||||
const server_id = "src/routes/home/source-aggregations/+page.server.ts";
|
||||
const imports = ["_app/immutable/nodes/10.85c4084a.js","_app/immutable/chunks/scheduler.10bc074a.js","_app/immutable/chunks/index.7b3d626a.js","_app/immutable/chunks/Progress.f79dd2c2.js","_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js","_app/immutable/chunks/index.09b1afef.js","_app/immutable/chunks/Table.f5db4492.js","_app/immutable/chunks/each.ac7da970.js"];
|
||||
const stylesheets = ["_app/immutable/assets/7.5326dc8c.css","_app/immutable/assets/ProgressBar.4f1e9ba5.css"];
|
||||
const fonts = [];
|
||||
|
||||
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
|
||||
//# sourceMappingURL=10-9374670e.js.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"10-9374670e.js","sources":["../../../../Sveltekit-App/.svelte-kit/adapter-node/entries/pages/home/source-aggregations/_page.server.ts.js","../../../../Sveltekit-App/.svelte-kit/adapter-node/nodes/10.js"],"sourcesContent":["const load = async ({ fetch }) => {\n const aggData = (await fetch(\"/api/sailpoint/sourceAggEvents\")).json();\n return { aggData };\n};\nexport {\n load\n};\n","import * as server from '../entries/pages/home/source-aggregations/_page.server.ts.js';\n\nexport const index = 10;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/home/source-aggregations/_page.svelte.js')).default;\nexport { server };\nexport const server_id = \"src/routes/home/source-aggregations/+page.server.ts\";\nexport const imports = [\"_app/immutable/nodes/10.85c4084a.js\",\"_app/immutable/chunks/scheduler.10bc074a.js\",\"_app/immutable/chunks/index.7b3d626a.js\",\"_app/immutable/chunks/Progress.f79dd2c2.js\",\"_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js\",\"_app/immutable/chunks/index.09b1afef.js\",\"_app/immutable/chunks/Table.f5db4492.js\",\"_app/immutable/chunks/each.ac7da970.js\"];\nexport const stylesheets = [\"_app/immutable/assets/7.5326dc8c.css\",\"_app/immutable/assets/ProgressBar.4f1e9ba5.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,OAAO,EAAE,KAAK,EAAE,KAAK;AAClC,EAAE,MAAM,OAAO,GAAG,CAAC,MAAM,KAAK,CAAC,gCAAgC,CAAC,EAAE,IAAI,EAAE,CAAC;AACzE,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;AACrB,CAAC;;;;;;;ACDW,MAAC,KAAK,GAAG,GAAG;AACxB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAA2D,CAAC,EAAE,QAAQ;AAEjI,MAAC,SAAS,GAAG,sDAAsD;AACnE,MAAC,OAAO,GAAG,CAAC,qCAAqC,CAAC,6CAA6C,CAAC,yCAAyC,CAAC,4CAA4C,CAAC,6EAA6E,CAAC,yCAAyC,CAAC,yCAAyC,CAAC,wCAAwC,EAAE;AACnY,MAAC,WAAW,GAAG,CAAC,sCAAsC,CAAC,gDAAgD,EAAE;AACzG,MAAC,KAAK,GAAG;;;;"}
|
||||
@@ -1,25 +0,0 @@
|
||||
const load = async ({ fetch }) => {
|
||||
const response = fetch("/api/sailpoint/sources", {
|
||||
method: "GET",
|
||||
headers: {
|
||||
"content-type": "application/json"
|
||||
}
|
||||
});
|
||||
return { response };
|
||||
};
|
||||
|
||||
var _page_ts = /*#__PURE__*/Object.freeze({
|
||||
__proto__: null,
|
||||
load: load
|
||||
});
|
||||
|
||||
const index = 11;
|
||||
let component_cache;
|
||||
const component = async () => component_cache ??= (await import('./_page.svelte-e557a7f2.js')).default;
|
||||
const universal_id = "src/routes/home/source-delete-threshold/+page.ts";
|
||||
const imports = ["_app/immutable/nodes/11.7f869098.js","_app/immutable/chunks/scheduler.10bc074a.js","_app/immutable/chunks/index.7b3d626a.js","_app/immutable/chunks/Progress.f79dd2c2.js","_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js","_app/immutable/chunks/index.09b1afef.js","_app/immutable/chunks/Table.f5db4492.js","_app/immutable/chunks/each.ac7da970.js","_app/immutable/chunks/alasql.min.1f65b74d.js"];
|
||||
const stylesheets = ["_app/immutable/assets/7.5326dc8c.css","_app/immutable/assets/ProgressBar.4f1e9ba5.css"];
|
||||
const fonts = [];
|
||||
|
||||
export { component, fonts, imports, index, stylesheets, _page_ts as universal, universal_id };
|
||||
//# sourceMappingURL=11-87a3e344.js.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"11-87a3e344.js","sources":["../../../../Sveltekit-App/.svelte-kit/adapter-node/entries/pages/home/source-delete-threshold/_page.ts.js","../../../../Sveltekit-App/.svelte-kit/adapter-node/nodes/11.js"],"sourcesContent":["const load = async ({ fetch }) => {\n const response = fetch(\"/api/sailpoint/sources\", {\n method: \"GET\",\n headers: {\n \"content-type\": \"application/json\"\n }\n });\n return { response };\n};\nexport {\n load\n};\n","import * as universal from '../entries/pages/home/source-delete-threshold/_page.ts.js';\n\nexport const index = 11;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/home/source-delete-threshold/_page.svelte.js')).default;\nexport { universal };\nexport const universal_id = \"src/routes/home/source-delete-threshold/+page.ts\";\nexport const imports = [\"_app/immutable/nodes/11.7f869098.js\",\"_app/immutable/chunks/scheduler.10bc074a.js\",\"_app/immutable/chunks/index.7b3d626a.js\",\"_app/immutable/chunks/Progress.f79dd2c2.js\",\"_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js\",\"_app/immutable/chunks/index.09b1afef.js\",\"_app/immutable/chunks/Table.f5db4492.js\",\"_app/immutable/chunks/each.ac7da970.js\",\"_app/immutable/chunks/alasql.min.1f65b74d.js\"];\nexport const stylesheets = [\"_app/immutable/assets/7.5326dc8c.css\",\"_app/immutable/assets/ProgressBar.4f1e9ba5.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,OAAO,EAAE,KAAK,EAAE,KAAK;AAClC,EAAE,MAAM,QAAQ,GAAG,KAAK,CAAC,wBAAwB,EAAE;AACnD,IAAI,MAAM,EAAE,KAAK;AACjB,IAAI,OAAO,EAAE;AACb,MAAM,cAAc,EAAE,kBAAkB;AACxC,KAAK;AACL,GAAG,CAAC,CAAC;AACL,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC;AACtB,CAAC;;;;;;;ACNW,MAAC,KAAK,GAAG,GAAG;AACxB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAA+D,CAAC,EAAE,QAAQ;AAErI,MAAC,YAAY,GAAG,mDAAmD;AACnE,MAAC,OAAO,GAAG,CAAC,qCAAqC,CAAC,6CAA6C,CAAC,yCAAyC,CAAC,4CAA4C,CAAC,6EAA6E,CAAC,yCAAyC,CAAC,yCAAyC,CAAC,wCAAwC,CAAC,8CAA8C,EAAE;AAClb,MAAC,WAAW,GAAG,CAAC,sCAAsC,CAAC,gDAAgD,EAAE;AACzG,MAAC,KAAK,GAAG;;;;"}
|
||||
@@ -1,25 +0,0 @@
|
||||
const load = async ({ fetch }) => {
|
||||
const response = fetch("/api/sailpoint/sources", {
|
||||
method: "GET",
|
||||
headers: {
|
||||
"content-type": "application/json"
|
||||
}
|
||||
});
|
||||
return { response };
|
||||
};
|
||||
|
||||
var _page_ts = /*#__PURE__*/Object.freeze({
|
||||
__proto__: null,
|
||||
load: load
|
||||
});
|
||||
|
||||
const index = 12;
|
||||
let component_cache;
|
||||
const component = async () => component_cache ??= (await import('./_page.svelte-f74d708f.js')).default;
|
||||
const universal_id = "src/routes/home/source-owner-configured/+page.ts";
|
||||
const imports = ["_app/immutable/nodes/12.9e147695.js","_app/immutable/chunks/scheduler.10bc074a.js","_app/immutable/chunks/index.7b3d626a.js","_app/immutable/chunks/Progress.f79dd2c2.js","_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js","_app/immutable/chunks/index.09b1afef.js","_app/immutable/chunks/Table.f5db4492.js","_app/immutable/chunks/each.ac7da970.js","_app/immutable/chunks/alasql.min.1f65b74d.js"];
|
||||
const stylesheets = ["_app/immutable/assets/7.5326dc8c.css","_app/immutable/assets/ProgressBar.4f1e9ba5.css"];
|
||||
const fonts = [];
|
||||
|
||||
export { component, fonts, imports, index, stylesheets, _page_ts as universal, universal_id };
|
||||
//# sourceMappingURL=12-232a1e9d.js.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"12-232a1e9d.js","sources":["../../../../Sveltekit-App/.svelte-kit/adapter-node/entries/pages/home/source-owner-configured/_page.ts.js","../../../../Sveltekit-App/.svelte-kit/adapter-node/nodes/12.js"],"sourcesContent":["const load = async ({ fetch }) => {\n const response = fetch(\"/api/sailpoint/sources\", {\n method: \"GET\",\n headers: {\n \"content-type\": \"application/json\"\n }\n });\n return { response };\n};\nexport {\n load\n};\n","import * as universal from '../entries/pages/home/source-owner-configured/_page.ts.js';\n\nexport const index = 12;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/home/source-owner-configured/_page.svelte.js')).default;\nexport { universal };\nexport const universal_id = \"src/routes/home/source-owner-configured/+page.ts\";\nexport const imports = [\"_app/immutable/nodes/12.9e147695.js\",\"_app/immutable/chunks/scheduler.10bc074a.js\",\"_app/immutable/chunks/index.7b3d626a.js\",\"_app/immutable/chunks/Progress.f79dd2c2.js\",\"_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js\",\"_app/immutable/chunks/index.09b1afef.js\",\"_app/immutable/chunks/Table.f5db4492.js\",\"_app/immutable/chunks/each.ac7da970.js\",\"_app/immutable/chunks/alasql.min.1f65b74d.js\"];\nexport const stylesheets = [\"_app/immutable/assets/7.5326dc8c.css\",\"_app/immutable/assets/ProgressBar.4f1e9ba5.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,OAAO,EAAE,KAAK,EAAE,KAAK;AAClC,EAAE,MAAM,QAAQ,GAAG,KAAK,CAAC,wBAAwB,EAAE;AACnD,IAAI,MAAM,EAAE,KAAK;AACjB,IAAI,OAAO,EAAE;AACb,MAAM,cAAc,EAAE,kBAAkB;AACxC,KAAK;AACL,GAAG,CAAC,CAAC;AACL,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC;AACtB,CAAC;;;;;;;ACNW,MAAC,KAAK,GAAG,GAAG;AACxB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAA+D,CAAC,EAAE,QAAQ;AAErI,MAAC,YAAY,GAAG,mDAAmD;AACnE,MAAC,OAAO,GAAG,CAAC,qCAAqC,CAAC,6CAA6C,CAAC,yCAAyC,CAAC,4CAA4C,CAAC,6EAA6E,CAAC,yCAAyC,CAAC,yCAAyC,CAAC,wCAAwC,CAAC,8CAA8C,EAAE;AAClb,MAAC,WAAW,GAAG,CAAC,sCAAsC,CAAC,gDAAgD,EAAE;AACzG,MAAC,KAAK,GAAG;;;;"}
|
||||
@@ -1,20 +0,0 @@
|
||||
const load = async ({ fetch }) => {
|
||||
const sources = (await fetch("/api/sailpoint/sources")).json();
|
||||
return { sources };
|
||||
};
|
||||
|
||||
var _page_ts = /*#__PURE__*/Object.freeze({
|
||||
__proto__: null,
|
||||
load: load
|
||||
});
|
||||
|
||||
const index = 13;
|
||||
let component_cache;
|
||||
const component = async () => component_cache ??= (await import('./_page.svelte-ed80e6a8.js')).default;
|
||||
const universal_id = "src/routes/home/sources/+page.ts";
|
||||
const imports = ["_app/immutable/nodes/13.dcd76235.js","_app/immutable/chunks/scheduler.10bc074a.js","_app/immutable/chunks/each.ac7da970.js","_app/immutable/chunks/index.7b3d626a.js","_app/immutable/chunks/stores.dc566077.js","_app/immutable/chunks/index.09b1afef.js","_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js"];
|
||||
const stylesheets = ["_app/immutable/assets/ProgressBar.4f1e9ba5.css"];
|
||||
const fonts = [];
|
||||
|
||||
export { component, fonts, imports, index, stylesheets, _page_ts as universal, universal_id };
|
||||
//# sourceMappingURL=13-5321d69a.js.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"13-5321d69a.js","sources":["../../../../Sveltekit-App/.svelte-kit/adapter-node/entries/pages/home/sources/_page.ts.js","../../../../Sveltekit-App/.svelte-kit/adapter-node/nodes/13.js"],"sourcesContent":["const load = async ({ fetch }) => {\n const sources = (await fetch(\"/api/sailpoint/sources\")).json();\n return { sources };\n};\nexport {\n load\n};\n","import * as universal from '../entries/pages/home/sources/_page.ts.js';\n\nexport const index = 13;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/home/sources/_page.svelte.js')).default;\nexport { universal };\nexport const universal_id = \"src/routes/home/sources/+page.ts\";\nexport const imports = [\"_app/immutable/nodes/13.dcd76235.js\",\"_app/immutable/chunks/scheduler.10bc074a.js\",\"_app/immutable/chunks/each.ac7da970.js\",\"_app/immutable/chunks/index.7b3d626a.js\",\"_app/immutable/chunks/stores.dc566077.js\",\"_app/immutable/chunks/index.09b1afef.js\",\"_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js\"];\nexport const stylesheets = [\"_app/immutable/assets/ProgressBar.4f1e9ba5.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,OAAO,EAAE,KAAK,EAAE,KAAK;AAClC,EAAE,MAAM,OAAO,GAAG,CAAC,MAAM,KAAK,CAAC,wBAAwB,CAAC,EAAE,IAAI,EAAE,CAAC;AACjE,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;AACrB,CAAC;;;;;;;ACDW,MAAC,KAAK,GAAG,GAAG;AACxB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAA+C,CAAC,EAAE,QAAQ;AAErH,MAAC,YAAY,GAAG,mCAAmC;AACnD,MAAC,OAAO,GAAG,CAAC,qCAAqC,CAAC,6CAA6C,CAAC,wCAAwC,CAAC,yCAAyC,CAAC,0CAA0C,CAAC,yCAAyC,CAAC,6EAA6E,EAAE;AACvV,MAAC,WAAW,GAAG,CAAC,gDAAgD,EAAE;AAClE,MAAC,KAAK,GAAG;;;;"}
|
||||
@@ -1,20 +0,0 @@
|
||||
const load = async ({ fetch, params }) => {
|
||||
const sourceData = (await fetch(`/api/sailpoint/sourceAggEvents/${params.sourceID}`)).json();
|
||||
return { sourceData };
|
||||
};
|
||||
|
||||
var _page_ts = /*#__PURE__*/Object.freeze({
|
||||
__proto__: null,
|
||||
load: load
|
||||
});
|
||||
|
||||
const index = 14;
|
||||
let component_cache;
|
||||
const component = async () => component_cache ??= (await import('./_page.svelte-f644b717.js')).default;
|
||||
const universal_id = "src/routes/home/sources/[sourceID]/+page.ts";
|
||||
const imports = ["_app/immutable/nodes/14.6d01e554.js","_app/immutable/chunks/scheduler.10bc074a.js","_app/immutable/chunks/index.7b3d626a.js","_app/immutable/chunks/each.ac7da970.js","_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js","_app/immutable/chunks/index.09b1afef.js","_app/immutable/chunks/CodeBlock.f9dc51ff.js","_app/immutable/chunks/spread.8a54911c.js"];
|
||||
const stylesheets = ["_app/immutable/assets/ProgressBar.4f1e9ba5.css"];
|
||||
const fonts = [];
|
||||
|
||||
export { component, fonts, imports, index, stylesheets, _page_ts as universal, universal_id };
|
||||
//# sourceMappingURL=14-4e6f7e19.js.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"14-4e6f7e19.js","sources":["../../../../Sveltekit-App/.svelte-kit/adapter-node/entries/pages/home/sources/_sourceID_/_page.ts.js","../../../../Sveltekit-App/.svelte-kit/adapter-node/nodes/14.js"],"sourcesContent":["const load = async ({ fetch, params }) => {\n const sourceData = (await fetch(`/api/sailpoint/sourceAggEvents/${params.sourceID}`)).json();\n return { sourceData };\n};\nexport {\n load\n};\n","import * as universal from '../entries/pages/home/sources/_sourceID_/_page.ts.js';\n\nexport const index = 14;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/home/sources/_sourceID_/_page.svelte.js')).default;\nexport { universal };\nexport const universal_id = \"src/routes/home/sources/[sourceID]/+page.ts\";\nexport const imports = [\"_app/immutable/nodes/14.6d01e554.js\",\"_app/immutable/chunks/scheduler.10bc074a.js\",\"_app/immutable/chunks/index.7b3d626a.js\",\"_app/immutable/chunks/each.ac7da970.js\",\"_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js\",\"_app/immutable/chunks/index.09b1afef.js\",\"_app/immutable/chunks/CodeBlock.f9dc51ff.js\",\"_app/immutable/chunks/spread.8a54911c.js\"];\nexport const stylesheets = [\"_app/immutable/assets/ProgressBar.4f1e9ba5.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK;AAC1C,EAAE,MAAM,UAAU,GAAG,CAAC,MAAM,KAAK,CAAC,CAAC,+BAA+B,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC;AAC/F,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AACxB,CAAC;;;;;;;ACDW,MAAC,KAAK,GAAG,GAAG;AACxB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAA0D,CAAC,EAAE,QAAQ;AAEhI,MAAC,YAAY,GAAG,8CAA8C;AAC9D,MAAC,OAAO,GAAG,CAAC,qCAAqC,CAAC,6CAA6C,CAAC,yCAAyC,CAAC,wCAAwC,CAAC,6EAA6E,CAAC,yCAAyC,CAAC,6CAA6C,CAAC,0CAA0C,EAAE;AACrY,MAAC,WAAW,GAAG,CAAC,gDAAgD,EAAE;AAClE,MAAC,KAAK,GAAG;;;;"}
|
||||
@@ -1,9 +0,0 @@
|
||||
const index = 2;
|
||||
let component_cache;
|
||||
const component = async () => component_cache ??= (await import('./_layout.svelte-da25be14.js')).default;
|
||||
const imports = ["_app/immutable/nodes/2.6263d8aa.js","_app/immutable/chunks/scheduler.10bc074a.js","_app/immutable/chunks/index.7b3d626a.js","_app/immutable/chunks/each.ac7da970.js","_app/immutable/chunks/reports.b2ca66e3.js","_app/immutable/chunks/stores.cca8a80c.js","_app/immutable/chunks/singletons.47bc9baa.js","_app/immutable/chunks/index.09b1afef.js","_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js","_app/immutable/chunks/spread.8a54911c.js","_app/immutable/chunks/LightSwitch.9a354e21.js"];
|
||||
const stylesheets = ["_app/immutable/assets/ProgressBar.4f1e9ba5.css"];
|
||||
const fonts = [];
|
||||
|
||||
export { component, fonts, imports, index, stylesheets };
|
||||
//# sourceMappingURL=2-77089f36.js.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"2-77089f36.js","sources":["../../../../Sveltekit-App/.svelte-kit/adapter-node/nodes/2.js"],"sourcesContent":["\n\nexport const index = 2;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/home/_layout.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/2.6263d8aa.js\",\"_app/immutable/chunks/scheduler.10bc074a.js\",\"_app/immutable/chunks/index.7b3d626a.js\",\"_app/immutable/chunks/each.ac7da970.js\",\"_app/immutable/chunks/reports.b2ca66e3.js\",\"_app/immutable/chunks/stores.cca8a80c.js\",\"_app/immutable/chunks/singletons.47bc9baa.js\",\"_app/immutable/chunks/index.09b1afef.js\",\"_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js\",\"_app/immutable/chunks/spread.8a54911c.js\",\"_app/immutable/chunks/LightSwitch.9a354e21.js\"];\nexport const stylesheets = [\"_app/immutable/assets/ProgressBar.4f1e9ba5.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,8BAAyC,CAAC,EAAE,QAAQ;AAC/G,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,yCAAyC,CAAC,wCAAwC,CAAC,2CAA2C,CAAC,0CAA0C,CAAC,8CAA8C,CAAC,yCAAyC,CAAC,6EAA6E,CAAC,0CAA0C,CAAC,+CAA+C,EAAE;AAC5gB,MAAC,WAAW,GAAG,CAAC,gDAAgD,EAAE;AAClE,MAAC,KAAK,GAAG;;;;"}
|
||||
@@ -1,9 +0,0 @@
|
||||
const index = 3;
|
||||
let component_cache;
|
||||
const component = async () => component_cache ??= (await import('./_error.svelte-e8de01b5.js')).default;
|
||||
const imports = ["_app/immutable/nodes/3.5a4d9b31.js","_app/immutable/chunks/scheduler.10bc074a.js","_app/immutable/chunks/index.7b3d626a.js","_app/immutable/chunks/stores.cca8a80c.js","_app/immutable/chunks/singletons.47bc9baa.js","_app/immutable/chunks/index.09b1afef.js"];
|
||||
const stylesheets = [];
|
||||
const fonts = [];
|
||||
|
||||
export { component, fonts, imports, index, stylesheets };
|
||||
//# sourceMappingURL=3-d9f1aacb.js.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"3-d9f1aacb.js","sources":["../../../../Sveltekit-App/.svelte-kit/adapter-node/nodes/3.js"],"sourcesContent":["\n\nexport const index = 3;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/home/_error.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/3.5a4d9b31.js\",\"_app/immutable/chunks/scheduler.10bc074a.js\",\"_app/immutable/chunks/index.7b3d626a.js\",\"_app/immutable/chunks/stores.cca8a80c.js\",\"_app/immutable/chunks/singletons.47bc9baa.js\",\"_app/immutable/chunks/index.09b1afef.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,6BAAwC,CAAC,EAAE,QAAQ;AAC9G,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,yCAAyC,CAAC,0CAA0C,CAAC,8CAA8C,CAAC,yCAAyC,EAAE;AAC9Q,MAAC,WAAW,GAAG,GAAG;AAClB,MAAC,KAAK,GAAG;;;;"}
|
||||
@@ -1,56 +0,0 @@
|
||||
import { r as redirect } from './index-64aa7a5e.js';
|
||||
import { g as generateAuthLink } from './oauth-017ba109.js';
|
||||
import './_commonjsHelpers-2155838d.js';
|
||||
import 'util';
|
||||
import 'stream';
|
||||
import 'path';
|
||||
import 'http';
|
||||
import 'https';
|
||||
import 'url';
|
||||
import 'fs';
|
||||
import 'assert';
|
||||
import 'tty';
|
||||
import 'os';
|
||||
import 'zlib';
|
||||
import 'events';
|
||||
import 'buffer';
|
||||
import 'crypto';
|
||||
|
||||
const actions = {
|
||||
default: async ({ cookies, request, url }) => {
|
||||
const data = await request.formData();
|
||||
const baseUrl = data.get("baseUrl");
|
||||
const tenant = data.get("tenant");
|
||||
data.get("domain");
|
||||
const tenantUrl = data.get("tenantUrl");
|
||||
const sessionString = cookies.get("idnSession");
|
||||
if (sessionString) {
|
||||
console.log("sessionString", sessionString);
|
||||
const session = JSON.parse(sessionString);
|
||||
if (session.org == tenant) {
|
||||
console.debug("Credential Cache Hit");
|
||||
throw redirect(302, "/home");
|
||||
} else {
|
||||
console.debug("Credential Cache Miss");
|
||||
}
|
||||
}
|
||||
cookies.set("session", JSON.stringify({ baseUrl, tenantUrl }));
|
||||
throw redirect(302, generateAuthLink(tenantUrl));
|
||||
}
|
||||
};
|
||||
|
||||
var _page_server_ts = /*#__PURE__*/Object.freeze({
|
||||
__proto__: null,
|
||||
actions: actions
|
||||
});
|
||||
|
||||
const index = 4;
|
||||
let component_cache;
|
||||
const component = async () => component_cache ??= (await import('./_page.svelte-de10b13f.js')).default;
|
||||
const server_id = "src/routes/+page.server.ts";
|
||||
const imports = ["_app/immutable/nodes/4.579169aa.js","_app/immutable/chunks/scheduler.10bc074a.js","_app/immutable/chunks/index.7b3d626a.js","_app/immutable/chunks/parse.bee59afc.js","_app/immutable/chunks/singletons.47bc9baa.js","_app/immutable/chunks/index.09b1afef.js","_app/immutable/chunks/navigation.ad74cec2.js","_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js","_app/immutable/chunks/LightSwitch.9a354e21.js"];
|
||||
const stylesheets = ["_app/immutable/assets/ProgressBar.4f1e9ba5.css"];
|
||||
const fonts = [];
|
||||
|
||||
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
|
||||
//# sourceMappingURL=4-44e1ab29.js.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"4-44e1ab29.js","sources":["../../../../Sveltekit-App/.svelte-kit/adapter-node/entries/pages/_page.server.ts.js","../../../../Sveltekit-App/.svelte-kit/adapter-node/nodes/4.js"],"sourcesContent":["import { r as redirect } from \"../../chunks/index.js\";\nimport { a as generateAuthLink } from \"../../chunks/oauth.js\";\nconst actions = {\n default: async ({ cookies, request, url }) => {\n const data = await request.formData();\n const baseUrl = data.get(\"baseUrl\");\n const tenant = data.get(\"tenant\");\n data.get(\"domain\");\n const tenantUrl = data.get(\"tenantUrl\");\n const sessionString = cookies.get(\"idnSession\");\n if (sessionString) {\n console.log(\"sessionString\", sessionString);\n const session = JSON.parse(sessionString);\n if (session.org == tenant) {\n console.debug(\"Credential Cache Hit\");\n throw redirect(302, \"/home\");\n } else {\n console.debug(\"Credential Cache Miss\");\n }\n }\n cookies.set(\"session\", JSON.stringify({ baseUrl, tenantUrl }));\n throw redirect(302, generateAuthLink(tenantUrl));\n }\n};\nexport {\n actions\n};\n","import * as server from '../entries/pages/_page.server.ts.js';\n\nexport const index = 4;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js')).default;\nexport { server };\nexport const server_id = \"src/routes/+page.server.ts\";\nexport const imports = [\"_app/immutable/nodes/4.579169aa.js\",\"_app/immutable/chunks/scheduler.10bc074a.js\",\"_app/immutable/chunks/index.7b3d626a.js\",\"_app/immutable/chunks/parse.bee59afc.js\",\"_app/immutable/chunks/singletons.47bc9baa.js\",\"_app/immutable/chunks/index.09b1afef.js\",\"_app/immutable/chunks/navigation.ad74cec2.js\",\"_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js\",\"_app/immutable/chunks/LightSwitch.9a354e21.js\"];\nexport const stylesheets = [\"_app/immutable/assets/ProgressBar.4f1e9ba5.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAEA,MAAM,OAAO,GAAG;AAChB,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK;AAChD,IAAI,MAAM,IAAI,GAAG,MAAM,OAAO,CAAC,QAAQ,EAAE,CAAC;AAC1C,IAAI,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;AACxC,IAAI,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AACtC,IAAI,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AACvB,IAAI,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;AAC5C,IAAI,MAAM,aAAa,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;AACpD,IAAI,IAAI,aAAa,EAAE;AACvB,MAAM,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,aAAa,CAAC,CAAC;AAClD,MAAM,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;AAChD,MAAM,IAAI,OAAO,CAAC,GAAG,IAAI,MAAM,EAAE;AACjC,QAAQ,OAAO,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC;AAC9C,QAAQ,MAAM,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;AACrC,OAAO,MAAM;AACb,QAAQ,OAAO,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;AAC/C,OAAO;AACP,KAAK;AACL,IAAI,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC;AACnE,IAAI,MAAM,QAAQ,CAAC,GAAG,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC,CAAC;AACrD,GAAG;AACH,CAAC;;;;;;;ACrBW,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAkC,CAAC,EAAE,QAAQ;AAExG,MAAC,SAAS,GAAG,6BAA6B;AAC1C,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,yCAAyC,CAAC,yCAAyC,CAAC,8CAA8C,CAAC,yCAAyC,CAAC,8CAA8C,CAAC,6EAA6E,CAAC,+CAA+C,EAAE;AAC1b,MAAC,WAAW,GAAG,CAAC,gDAAgD,EAAE;AAClE,MAAC,KAAK,GAAG;;;;"}
|
||||
@@ -1,320 +0,0 @@
|
||||
import { e as error, r as redirect } from './index-64aa7a5e.js';
|
||||
import { a as axios, g as generateAuthLink } from './oauth-017ba109.js';
|
||||
import './_commonjsHelpers-2155838d.js';
|
||||
import 'util';
|
||||
import 'stream';
|
||||
import 'path';
|
||||
import 'http';
|
||||
import 'https';
|
||||
import 'url';
|
||||
import 'fs';
|
||||
import 'assert';
|
||||
import 'tty';
|
||||
import 'os';
|
||||
import 'zlib';
|
||||
import 'events';
|
||||
import 'buffer';
|
||||
import 'crypto';
|
||||
|
||||
const counterList = [
|
||||
"Reticulating splines...",
|
||||
"Generating witty dialog...",
|
||||
"Swapping time and space...",
|
||||
"Spinning violently around the y-axis...",
|
||||
"Tokenizing real life...",
|
||||
"Bending the spoon...",
|
||||
"Filtering morale...",
|
||||
"Don't think of purple hippos...",
|
||||
"We need a new fuse...",
|
||||
"Have a good day.",
|
||||
"Upgrading Windows, your PC will restart several times. Sit back and relax.",
|
||||
"640K ought to be enough for anybody",
|
||||
"The architects are still drafting",
|
||||
"We're building the buildings as fast as we can",
|
||||
"Would you prefer chicken, steak, or tofu?",
|
||||
"(Pay no attention to the man behind the curtain)",
|
||||
"...and enjoy the elevator music...",
|
||||
"Please wait while the little elves draw your map",
|
||||
"Don't worry - a few bits tried to escape, but we caught them",
|
||||
"Would you like fries with that?",
|
||||
"Checking the gravitational constant in your locale...",
|
||||
"Go ahead, hold your breath!",
|
||||
"...at least you're not on hold...",
|
||||
"Hum something loud while others stare",
|
||||
"You're not in Kansas any more",
|
||||
"The server is powered by a lemon and two electrodes.",
|
||||
"Please wait while a larger software vendor in Seattle takes over the world",
|
||||
"We're testing your patience",
|
||||
"As if you had any other choice",
|
||||
"Follow the white rabbit",
|
||||
"Why don't you order a sandwich?",
|
||||
"While the satellite moves into position",
|
||||
"keep calm and npm install",
|
||||
"The bits are flowing slowly today",
|
||||
"Dig on the 'X' for buried treasure... ARRR!",
|
||||
"It's still faster than you could draw it",
|
||||
"The last time I tried this the monkey didn't survive. Let's hope it works better this time.",
|
||||
"I should have had a V8 this morning.",
|
||||
"My other loading screen is much faster.",
|
||||
"Reconfoobling energymotron...",
|
||||
"(Insert quarter)",
|
||||
"Are we there yet?",
|
||||
"Have you lost weight?",
|
||||
"Just count to 10",
|
||||
"Why so serious?",
|
||||
"It's not you. It's me.",
|
||||
"Counting backwards from Infinity",
|
||||
"Don't panic...",
|
||||
"Don't panic, Just count to infinity.",
|
||||
"Embiggening Prototypes",
|
||||
"Do not run! We are your friends!",
|
||||
"Do you come here often?",
|
||||
"Warning: Don't set yourself on fire.",
|
||||
"We're making you a cookie.",
|
||||
"Creating time-loop inversion field",
|
||||
"Spinning the wheel of fortune...",
|
||||
"Loading the enchanted bunny...",
|
||||
"Computing chance of success",
|
||||
"I'm sorry Dave, I can't do that.",
|
||||
"Looking for exact change",
|
||||
"All your web browser are belong to us",
|
||||
"All I really need is a kilobit.",
|
||||
"I feel like im supposed to be loading something. . .",
|
||||
"What do you call 8 Hobbits? A Hobbyte.",
|
||||
"Should have used a compiled language...",
|
||||
"Is this Windows?",
|
||||
"Adjusting flux capacitor...",
|
||||
"Please wait until the sloth starts moving.",
|
||||
"Don't break your screen yet!",
|
||||
"I swear it's almost done.",
|
||||
"Let's take a mindfulness minute...",
|
||||
"Unicorns are at the end of this road, I promise.",
|
||||
"Listening for the sound of one hand clapping...",
|
||||
"Keeping all the 1's and removing all the 0's...",
|
||||
"Putting the icing on the cake. The cake is not a lie...",
|
||||
"Cleaning off the cobwebs...",
|
||||
"Making sure all the i's have dots...",
|
||||
"We need more dilithium crystals",
|
||||
"Where did all the internets go",
|
||||
"Connecting Neurotoxin Storage Tank...",
|
||||
"Granting wishes...",
|
||||
"Time flies when youre having fun.",
|
||||
"Get some coffee and come back in ten minutes..",
|
||||
"Spinning the hamster…",
|
||||
"99 bottles of beer on the wall..",
|
||||
"Stay awhile and listen..",
|
||||
"Be careful not to step in the git-gui",
|
||||
"You edhall not pass! yet..",
|
||||
"Load it and they will come",
|
||||
"Convincing AI not to turn evil..",
|
||||
"There is no spoon. Because we are not done loading it",
|
||||
"Your left thumb points to the right and your right thumb points to the left.",
|
||||
"How did you get here?",
|
||||
"Wait, do you smell something burning?",
|
||||
"Computing the secret to life, the universe, and everything.",
|
||||
"When nothing is going right, go left!!...",
|
||||
"I love my job only when I'm on vacation...",
|
||||
"i'm not lazy, I'm just relaxed!!",
|
||||
"Never steal. The government hates competition....",
|
||||
"Why are they called apartments if they are all stuck together?",
|
||||
"Life is Short, Talk Fast!!!!",
|
||||
"Optimism, is a lack of information.....",
|
||||
"Save water and shower together",
|
||||
"Whenever I find the key to success, someone changes the lock.",
|
||||
"Sometimes I think war is Gods way of teaching us geography.",
|
||||
"Ive got problem for your solution…..",
|
||||
"Where theres a will, theres a relative.",
|
||||
"User: the word computer professionals use when they mean !!idiot!!",
|
||||
"Adults are just kids with money.",
|
||||
"I think I am, therefore, I am. I think.",
|
||||
"A kiss is like a fight, with mouths.",
|
||||
"You dont pay taxes—they take taxes.",
|
||||
"Coffee, Chocolate, Men. The richer the better!",
|
||||
"I am free of all prejudices. I hate everyone equally.",
|
||||
"git happens",
|
||||
"May the forks be with you",
|
||||
"A commit a day keeps the mobs away",
|
||||
"This is not a joke, it's a commit.",
|
||||
"Constructing additional pylons...",
|
||||
"Roping some seaturtles...",
|
||||
"Locating Jebediah Kerman...",
|
||||
"We are not liable for any broken screens as a result of waiting.",
|
||||
"Hello IT, have you tried turning it off and on again?",
|
||||
"If you type Google into Google you can break the internet",
|
||||
"Well, this is embarrassing.",
|
||||
"What is the airspeed velocity of an unladen swallow?",
|
||||
"Hello, IT... Have you tried forcing an unexpected reboot?",
|
||||
"They just toss us away like yesterday's jam.",
|
||||
"They're fairly regular, the beatings, yes. I'd say we're on a bi-weekly beating.",
|
||||
"The Elders of the Internet would never stand for it.",
|
||||
"Space is invisible mind dust, and stars are but wishes.",
|
||||
"Didn't know paint dried so quickly.",
|
||||
"Everything sounds the same",
|
||||
"I'm going to walk the dog",
|
||||
"I didn't choose the engineering life. The engineering life chose me.",
|
||||
"Dividing by zero...",
|
||||
"Spawn more Overlord!",
|
||||
"If Im not back in five minutes, just wait longer.",
|
||||
"Some days, you just cant get rid of a bug!",
|
||||
"Were going to need a bigger boat.",
|
||||
"Chuck Norris never git push. The repo pulls before.",
|
||||
"Web developers do it with <style>",
|
||||
"I need to git pull --my-life-together",
|
||||
"Java developers never RIP. They just get Garbage Collected.",
|
||||
"Cracking military-grade encryption...",
|
||||
"Simulating traveling salesman...",
|
||||
"Proving P=NP...",
|
||||
"Entangling superstrings...",
|
||||
"Twiddling thumbs...",
|
||||
"Searching for plot device...",
|
||||
"Trying to sort in O(n)...",
|
||||
"Laughing at your pictures-i mean, loading...",
|
||||
"Sending data to NS-i mean, our servers.",
|
||||
"Looking for sense of humour, please hold on.",
|
||||
"Please wait while the intern refills his coffee.",
|
||||
"A different error message? Finally, some progress!",
|
||||
"Hold on while we wrap up our git together...sorry",
|
||||
"Please hold on as we reheat our coffee",
|
||||
"Kindly hold on as we convert this bug to a feature...",
|
||||
"Kindly hold on as our intern quits vim...",
|
||||
"Winter is coming...",
|
||||
"Installing dependencies",
|
||||
"Switching to the latest JS framework...",
|
||||
"Distracted by cat gifs",
|
||||
"Finding someone to hold my beer",
|
||||
"BRB, working on my side project",
|
||||
"@todo Insert witty loading message",
|
||||
"Let's hope it's worth the wait",
|
||||
"Aw, snap! Not..",
|
||||
"Ordering 1s and 0s...",
|
||||
"Updating dependencies...",
|
||||
"Whatever you do, don't look behind you...",
|
||||
"Please wait... Consulting the manual...",
|
||||
"It is dark. You're likely to be eaten by a grue.",
|
||||
"Loading funny message...",
|
||||
"It's 10:00pm. Do you know where your children are?",
|
||||
"Waiting Daenerys say all her titles...",
|
||||
"Feel free to spin in your chair",
|
||||
"What the what?",
|
||||
"format C: ...",
|
||||
"Forget you saw that password I just typed into the IM ...",
|
||||
"What's under there?",
|
||||
"Your computer has a virus, its name is Windows!",
|
||||
"Go ahead, hold your breath and do an ironman plank till loading complete",
|
||||
"Bored of slow loading spinner, buy more RAM!",
|
||||
"Help, I'm trapped in a loader!",
|
||||
"What is the difference btwn a hippo and a zippo? One is really heavy, the other is a little lighter",
|
||||
"Please wait, while we purge the Decepticons for you. Yes, You can thanks us later!",
|
||||
"Chuck Norris once urinated in a semi truck's gas tank as a joke....that truck is now known as Optimus Prime.",
|
||||
"Chuck Norris doesnt wear a watch. HE decides what time it is.",
|
||||
"Mining some bitcoins...",
|
||||
"Downloading more RAM..",
|
||||
"Updating to Windows Vista...",
|
||||
"Deleting System32 folder",
|
||||
"Hiding all ;'s in your code",
|
||||
"Alt-F4 speeds things up.",
|
||||
"Initializing the initializer...",
|
||||
"When was the last time you dusted around here?",
|
||||
"Optimizing the optimizer...",
|
||||
"Last call for the data bus! All aboard!",
|
||||
"Running swag sticker detection...",
|
||||
"Never let a computer know you're in a hurry.",
|
||||
"A computer will do what you tell it to do, but that may be much different from what you had in mind.",
|
||||
"Some things man was never meant to know. For everything else, there's Google.",
|
||||
"Unix is user-friendly. It's just very selective about who its friends are.",
|
||||
"Shovelling coal into the server",
|
||||
"Pushing pixels...",
|
||||
"How about this weather, eh?",
|
||||
"Building a wall...",
|
||||
"Everything in this universe is either a potato or not a potato",
|
||||
"The severity of your issue is always lower than you expected.",
|
||||
"Updating Updater...",
|
||||
"Downloading Downloader...",
|
||||
"Debugging Debugger...",
|
||||
"Reading Terms and Conditions for you.",
|
||||
"Digested cookies being baked again.",
|
||||
"Live long and prosper.",
|
||||
"There is no cow level, but there's a goat one!",
|
||||
"Running with scissors...",
|
||||
"Definitely not a virus...",
|
||||
"You may call me Steve.",
|
||||
"You seem like a nice person...",
|
||||
"Coffee at my place, tommorow at 10A.M. - don't be late!",
|
||||
"Work, work...",
|
||||
"Patience! This is difficult, you know...",
|
||||
"Discovering new ways of making you wait...",
|
||||
"Your time is very important to us. Please wait while we ignore you...",
|
||||
"Time flies like an arrow; fruit flies like a banana",
|
||||
"Two men walked into a bar; the third ducked...",
|
||||
"Sooooo... Have you seen my vacation photos yet?",
|
||||
"Sorry we are busy catching em' all, we're done soon",
|
||||
"TODO: Insert elevator music",
|
||||
"Still faster than Windows update",
|
||||
"Composer hack: Waiting for reqs to be fetched is less frustrating if you add -vvv to your command.",
|
||||
"Please wait while the minions do their work",
|
||||
"Grabbing extra minions",
|
||||
"Doing the heavy lifting",
|
||||
"We're working very Hard .... Really",
|
||||
"Waking up the minions",
|
||||
"You are number 2843684714 in the queue",
|
||||
"Please wait while we serve other customers...",
|
||||
"Our premium plan is faster",
|
||||
"Feeding unicorns...",
|
||||
"Rupturing the subspace barrier",
|
||||
"Creating an anti-time reaction",
|
||||
"Converging tachyon pulses",
|
||||
"Bypassing control of the matter-antimatter integrator",
|
||||
"Adjusting the dilithium crystal converter assembly",
|
||||
"Reversing the shield polarity",
|
||||
"Disrupting warp fields with an inverse graviton burst",
|
||||
"Up, Up, Down, Down, Left, Right, Left, Right, B, A.",
|
||||
"Do you like my loading animation? I made it myself",
|
||||
"Whoah, look at it go!",
|
||||
"No, I'm awake. I was just resting my eyes.",
|
||||
"One mississippi, two mississippi...",
|
||||
"Don't panic... AHHHHH!",
|
||||
"Ensuring Gnomes are still short.",
|
||||
"Baking ice cream..."
|
||||
].sort((a, b) => 0.5 - Math.random());
|
||||
const load = async ({ params, url, cookies }) => {
|
||||
const code = url.searchParams.get("code");
|
||||
const session = JSON.parse(cookies.get("session"));
|
||||
if (!code)
|
||||
throw error(500, "No Authorization Code Provided");
|
||||
const response = await axios.post(
|
||||
`${session.baseUrl}/oauth/token?grant_type=authorization_code&client_id=sailpoint-cli&code=${code}&redirect_uri=http://localhost:3000/callback`
|
||||
).catch(function(err) {
|
||||
if (err.response) {
|
||||
console.log(err.response.data);
|
||||
console.log(err.response.status);
|
||||
console.log(err.response.headers);
|
||||
throw redirect(302, generateAuthLink(session.tenantUrl));
|
||||
} else if (err.request) {
|
||||
throw error(500, { message: "No Response From IDN" });
|
||||
} else {
|
||||
throw error(500, {
|
||||
message: "Error during Axios Request"
|
||||
});
|
||||
}
|
||||
});
|
||||
const idnSession = response.data;
|
||||
console.log(idnSession);
|
||||
cookies.set("idnSession", JSON.stringify(idnSession));
|
||||
return { idnSession, counterList };
|
||||
};
|
||||
|
||||
var _page_server_ts = /*#__PURE__*/Object.freeze({
|
||||
__proto__: null,
|
||||
load: load
|
||||
});
|
||||
|
||||
const index = 5;
|
||||
let component_cache;
|
||||
const component = async () => component_cache ??= (await import('./_page.svelte-be321c56.js')).default;
|
||||
const server_id = "src/routes/callback/+page.server.ts";
|
||||
const imports = ["_app/immutable/nodes/5.ff940f01.js","_app/immutable/chunks/scheduler.10bc074a.js","_app/immutable/chunks/index.7b3d626a.js","_app/immutable/chunks/navigation.ad74cec2.js","_app/immutable/chunks/singletons.47bc9baa.js","_app/immutable/chunks/index.09b1afef.js"];
|
||||
const stylesheets = ["_app/immutable/assets/5.5d335b63.css"];
|
||||
const fonts = [];
|
||||
|
||||
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
|
||||
//# sourceMappingURL=5-5a21d9d4.js.map
|
||||
File diff suppressed because one or more lines are too long
@@ -1,9 +0,0 @@
|
||||
const index = 6;
|
||||
let component_cache;
|
||||
const component = async () => component_cache ??= (await import('./_page.svelte-cc29554f.js')).default;
|
||||
const imports = ["_app/immutable/nodes/6.5c6dd6a1.js","_app/immutable/chunks/scheduler.10bc074a.js","_app/immutable/chunks/each.ac7da970.js","_app/immutable/chunks/index.7b3d626a.js","_app/immutable/chunks/reports.b2ca66e3.js"];
|
||||
const stylesheets = [];
|
||||
const fonts = [];
|
||||
|
||||
export { component, fonts, imports, index, stylesheets };
|
||||
//# sourceMappingURL=6-574c72b1.js.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"6-574c72b1.js","sources":["../../../../Sveltekit-App/.svelte-kit/adapter-node/nodes/6.js"],"sourcesContent":["\n\nexport const index = 6;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/home/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/6.5c6dd6a1.js\",\"_app/immutable/chunks/scheduler.10bc074a.js\",\"_app/immutable/chunks/each.ac7da970.js\",\"_app/immutable/chunks/index.7b3d626a.js\",\"_app/immutable/chunks/reports.b2ca66e3.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAuC,CAAC,EAAE,QAAQ;AAC7G,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,wCAAwC,CAAC,yCAAyC,CAAC,2CAA2C,EAAE;AAC/N,MAAC,WAAW,GAAG,GAAG;AAClB,MAAC,KAAK,GAAG;;;;"}
|
||||
@@ -1,9 +0,0 @@
|
||||
const index = 7;
|
||||
let component_cache;
|
||||
const component = async () => component_cache ??= (await import('./_page.svelte-002168fb.js')).default;
|
||||
const imports = ["_app/immutable/nodes/7.907073c0.js","_app/immutable/chunks/scheduler.10bc074a.js","_app/immutable/chunks/index.7b3d626a.js","_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js","_app/immutable/chunks/index.09b1afef.js","_app/immutable/chunks/Table.f5db4492.js","_app/immutable/chunks/each.ac7da970.js","_app/immutable/chunks/alasql.min.1f65b74d.js"];
|
||||
const stylesheets = ["_app/immutable/assets/7.5326dc8c.css","_app/immutable/assets/ProgressBar.4f1e9ba5.css"];
|
||||
const fonts = [];
|
||||
|
||||
export { component, fonts, imports, index, stylesheets };
|
||||
//# sourceMappingURL=7-418cc4be.js.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"7-418cc4be.js","sources":["../../../../Sveltekit-App/.svelte-kit/adapter-node/nodes/7.js"],"sourcesContent":["\n\nexport const index = 7;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/home/identity-inactive-but-has-access/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/7.907073c0.js\",\"_app/immutable/chunks/scheduler.10bc074a.js\",\"_app/immutable/chunks/index.7b3d626a.js\",\"_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js\",\"_app/immutable/chunks/index.09b1afef.js\",\"_app/immutable/chunks/Table.f5db4492.js\",\"_app/immutable/chunks/each.ac7da970.js\",\"_app/immutable/chunks/alasql.min.1f65b74d.js\"];\nexport const stylesheets = [\"_app/immutable/assets/7.5326dc8c.css\",\"_app/immutable/assets/ProgressBar.4f1e9ba5.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAwE,CAAC,EAAE,QAAQ;AAC9I,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,yCAAyC,CAAC,6EAA6E,CAAC,yCAAyC,CAAC,yCAAyC,CAAC,wCAAwC,CAAC,8CAA8C,EAAE;AACpY,MAAC,WAAW,GAAG,CAAC,sCAAsC,CAAC,gDAAgD,EAAE;AACzG,MAAC,KAAK,GAAG;;;;"}
|
||||
@@ -1,33 +0,0 @@
|
||||
const load = async ({ fetch }) => {
|
||||
const search = {
|
||||
indices: ["identities"],
|
||||
query: {
|
||||
query: `NOT _exists_:attributes.cloudLifecycleState`
|
||||
},
|
||||
sort: ["name"]
|
||||
};
|
||||
const response = fetch("/api/sailpoint/search", {
|
||||
method: "POST",
|
||||
body: JSON.stringify(search),
|
||||
headers: {
|
||||
"content-type": "application/json"
|
||||
}
|
||||
});
|
||||
return { response };
|
||||
};
|
||||
|
||||
var _page_ts = /*#__PURE__*/Object.freeze({
|
||||
__proto__: null,
|
||||
load: load
|
||||
});
|
||||
|
||||
const index = 8;
|
||||
let component_cache;
|
||||
const component = async () => component_cache ??= (await import('./_page.svelte-fa408311.js')).default;
|
||||
const universal_id = "src/routes/home/missing-cloud-life-cycle-state/+page.ts";
|
||||
const imports = ["_app/immutable/nodes/8.c90b853f.js","_app/immutable/chunks/scheduler.10bc074a.js","_app/immutable/chunks/index.7b3d626a.js","_app/immutable/chunks/Progress.f79dd2c2.js","_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js","_app/immutable/chunks/index.09b1afef.js","_app/immutable/chunks/Table.f5db4492.js","_app/immutable/chunks/each.ac7da970.js","_app/immutable/chunks/alasql.min.1f65b74d.js"];
|
||||
const stylesheets = ["_app/immutable/assets/7.5326dc8c.css","_app/immutable/assets/ProgressBar.4f1e9ba5.css"];
|
||||
const fonts = [];
|
||||
|
||||
export { component, fonts, imports, index, stylesheets, _page_ts as universal, universal_id };
|
||||
//# sourceMappingURL=8-5a065195.js.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"8-5a065195.js","sources":["../../../../Sveltekit-App/.svelte-kit/adapter-node/entries/pages/home/missing-cloud-life-cycle-state/_page.ts.js","../../../../Sveltekit-App/.svelte-kit/adapter-node/nodes/8.js"],"sourcesContent":["const load = async ({ fetch }) => {\n const search = {\n indices: [\"identities\"],\n query: {\n query: `NOT _exists_:attributes.cloudLifecycleState`\n },\n sort: [\"name\"]\n };\n const response = fetch(\"/api/sailpoint/search\", {\n method: \"POST\",\n body: JSON.stringify(search),\n headers: {\n \"content-type\": \"application/json\"\n }\n });\n return { response };\n};\nexport {\n load\n};\n","import * as universal from '../entries/pages/home/missing-cloud-life-cycle-state/_page.ts.js';\n\nexport const index = 8;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/home/missing-cloud-life-cycle-state/_page.svelte.js')).default;\nexport { universal };\nexport const universal_id = \"src/routes/home/missing-cloud-life-cycle-state/+page.ts\";\nexport const imports = [\"_app/immutable/nodes/8.c90b853f.js\",\"_app/immutable/chunks/scheduler.10bc074a.js\",\"_app/immutable/chunks/index.7b3d626a.js\",\"_app/immutable/chunks/Progress.f79dd2c2.js\",\"_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js\",\"_app/immutable/chunks/index.09b1afef.js\",\"_app/immutable/chunks/Table.f5db4492.js\",\"_app/immutable/chunks/each.ac7da970.js\",\"_app/immutable/chunks/alasql.min.1f65b74d.js\"];\nexport const stylesheets = [\"_app/immutable/assets/7.5326dc8c.css\",\"_app/immutable/assets/ProgressBar.4f1e9ba5.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,OAAO,EAAE,KAAK,EAAE,KAAK;AAClC,EAAE,MAAM,MAAM,GAAG;AACjB,IAAI,OAAO,EAAE,CAAC,YAAY,CAAC;AAC3B,IAAI,KAAK,EAAE;AACX,MAAM,KAAK,EAAE,CAAC,2CAA2C,CAAC;AAC1D,KAAK;AACL,IAAI,IAAI,EAAE,CAAC,MAAM,CAAC;AAClB,GAAG,CAAC;AACJ,EAAE,MAAM,QAAQ,GAAG,KAAK,CAAC,uBAAuB,EAAE;AAClD,IAAI,MAAM,EAAE,MAAM;AAClB,IAAI,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC;AAChC,IAAI,OAAO,EAAE;AACb,MAAM,cAAc,EAAE,kBAAkB;AACxC,KAAK;AACL,GAAG,CAAC,CAAC;AACL,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC;AACtB,CAAC;;;;;;;ACdW,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAsE,CAAC,EAAE,QAAQ;AAE5I,MAAC,YAAY,GAAG,0DAA0D;AAC1E,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,yCAAyC,CAAC,4CAA4C,CAAC,6EAA6E,CAAC,yCAAyC,CAAC,yCAAyC,CAAC,wCAAwC,CAAC,8CAA8C,EAAE;AACjb,MAAC,WAAW,GAAG,CAAC,sCAAsC,CAAC,gDAAgD,EAAE;AACzG,MAAC,KAAK,GAAG;;;;"}
|
||||
@@ -1,9 +0,0 @@
|
||||
const index = 9;
|
||||
let component_cache;
|
||||
const component = async () => component_cache ??= (await import('./_page.svelte-820b48f2.js')).default;
|
||||
const imports = ["_app/immutable/nodes/9.c8b00f6f.js","_app/immutable/chunks/scheduler.10bc074a.js","_app/immutable/chunks/index.7b3d626a.js","_app/immutable/chunks/stores.dc566077.js","_app/immutable/chunks/index.09b1afef.js","_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js","_app/immutable/chunks/Table.f5db4492.js","_app/immutable/chunks/each.ac7da970.js","_app/immutable/chunks/alasql.min.1f65b74d.js","_app/immutable/chunks/Progress.f79dd2c2.js"];
|
||||
const stylesheets = ["_app/immutable/assets/ProgressBar.4f1e9ba5.css","_app/immutable/assets/7.5326dc8c.css"];
|
||||
const fonts = [];
|
||||
|
||||
export { component, fonts, imports, index, stylesheets };
|
||||
//# sourceMappingURL=9-f099c85b.js.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"9-f099c85b.js","sources":["../../../../Sveltekit-App/.svelte-kit/adapter-node/nodes/9.js"],"sourcesContent":["\n\nexport const index = 9;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/home/source-account-create-error/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/9.c8b00f6f.js\",\"_app/immutable/chunks/scheduler.10bc074a.js\",\"_app/immutable/chunks/index.7b3d626a.js\",\"_app/immutable/chunks/stores.dc566077.js\",\"_app/immutable/chunks/index.09b1afef.js\",\"_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.ae9fcbec.js\",\"_app/immutable/chunks/Table.f5db4492.js\",\"_app/immutable/chunks/each.ac7da970.js\",\"_app/immutable/chunks/alasql.min.1f65b74d.js\",\"_app/immutable/chunks/Progress.f79dd2c2.js\"];\nexport const stylesheets = [\"_app/immutable/assets/ProgressBar.4f1e9ba5.css\",\"_app/immutable/assets/7.5326dc8c.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAmE,CAAC,EAAE,QAAQ;AACzI,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,yCAAyC,CAAC,0CAA0C,CAAC,yCAAyC,CAAC,6EAA6E,CAAC,yCAAyC,CAAC,wCAAwC,CAAC,8CAA8C,CAAC,4CAA4C,EAAE;AAC5d,MAAC,WAAW,GAAG,CAAC,gDAAgD,CAAC,sCAAsC,EAAE;AACzG,MAAC,KAAK,GAAG;;;;"}
|
||||
@@ -1,126 +0,0 @@
|
||||
import { c as create_ssr_component, b as subscribe, d as createEventDispatcher, e as escape, k as split_css_unit } from './ssr-3eccf1b3.js';
|
||||
import { w as writable } from './index2-f081c4d4.js';
|
||||
|
||||
const storeHighlightJs = writable(void 0);
|
||||
function cubicOut(t) {
|
||||
const f = t - 1;
|
||||
return f * f * f + 1;
|
||||
}
|
||||
function fly(node, { delay = 0, duration = 400, easing = cubicOut, x = 0, y = 0, opacity = 0 } = {}) {
|
||||
const style = getComputedStyle(node);
|
||||
const target_opacity = +style.opacity;
|
||||
const transform = style.transform === "none" ? "" : style.transform;
|
||||
const od = target_opacity * (1 - opacity);
|
||||
const [xValue, xUnit] = split_css_unit(x);
|
||||
const [yValue, yUnit] = split_css_unit(y);
|
||||
return {
|
||||
delay,
|
||||
duration,
|
||||
easing,
|
||||
css: (t, u) => `
|
||||
transform: ${transform} translate(${(1 - t) * xValue}${xUnit}, ${(1 - t) * yValue}${yUnit});
|
||||
opacity: ${target_opacity - od * u}`
|
||||
};
|
||||
}
|
||||
function slide(node, { delay = 0, duration = 400, easing = cubicOut, axis = "y" } = {}) {
|
||||
const style = getComputedStyle(node);
|
||||
const opacity = +style.opacity;
|
||||
const primary_property = axis === "y" ? "height" : "width";
|
||||
const primary_property_value = parseFloat(style[primary_property]);
|
||||
const secondary_properties = axis === "y" ? ["top", "bottom"] : ["left", "right"];
|
||||
const capitalized_secondary_properties = secondary_properties.map(
|
||||
(e) => `${e[0].toUpperCase()}${e.slice(1)}`
|
||||
);
|
||||
const padding_start_value = parseFloat(style[`padding${capitalized_secondary_properties[0]}`]);
|
||||
const padding_end_value = parseFloat(style[`padding${capitalized_secondary_properties[1]}`]);
|
||||
const margin_start_value = parseFloat(style[`margin${capitalized_secondary_properties[0]}`]);
|
||||
const margin_end_value = parseFloat(style[`margin${capitalized_secondary_properties[1]}`]);
|
||||
const border_width_start_value = parseFloat(
|
||||
style[`border${capitalized_secondary_properties[0]}Width`]
|
||||
);
|
||||
const border_width_end_value = parseFloat(
|
||||
style[`border${capitalized_secondary_properties[1]}Width`]
|
||||
);
|
||||
return {
|
||||
delay,
|
||||
duration,
|
||||
easing,
|
||||
css: (t) => `overflow: hidden;opacity: ${Math.min(t * 20, 1) * opacity};${primary_property}: ${t * primary_property_value}px;padding-${secondary_properties[0]}: ${t * padding_start_value}px;padding-${secondary_properties[1]}: ${t * padding_end_value}px;margin-${secondary_properties[0]}: ${t * margin_start_value}px;margin-${secondary_properties[1]}: ${t * margin_end_value}px;border-${secondary_properties[0]}-width: ${t * border_width_start_value}px;border-${secondary_properties[1]}-width: ${t * border_width_end_value}px;`
|
||||
};
|
||||
}
|
||||
const cBase = "overflow-hidden shadow";
|
||||
const cHeader = "text-xs text-white/50 uppercase flex justify-between items-center p-2 pl-4";
|
||||
const cPre = "whitespace-pre-wrap break-all p-4 pt-1";
|
||||
function languageFormatter(lang) {
|
||||
if (lang === "js")
|
||||
return "javascript";
|
||||
if (lang === "ts")
|
||||
return "typescript";
|
||||
if (lang === "shell")
|
||||
return "terminal";
|
||||
return lang;
|
||||
}
|
||||
const CodeBlock = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||
let classesBase;
|
||||
let $storeHighlightJs, $$unsubscribe_storeHighlightJs;
|
||||
$$unsubscribe_storeHighlightJs = subscribe(storeHighlightJs, (value) => $storeHighlightJs = value);
|
||||
createEventDispatcher();
|
||||
let { language = "plaintext" } = $$props;
|
||||
let { code = "" } = $$props;
|
||||
let { lineNumbers = false } = $$props;
|
||||
let { background = "bg-neutral-900/90" } = $$props;
|
||||
let { blur = "" } = $$props;
|
||||
let { text = "text-sm" } = $$props;
|
||||
let { color = "text-white" } = $$props;
|
||||
let { rounded = "rounded-container-token" } = $$props;
|
||||
let { shadow = "shadow" } = $$props;
|
||||
let { button = "btn btn-sm variant-soft !text-white" } = $$props;
|
||||
let { buttonLabel = "Copy" } = $$props;
|
||||
let { buttonCopied = "👍" } = $$props;
|
||||
let formatted = false;
|
||||
let displayCode = code;
|
||||
if ($$props.language === void 0 && $$bindings.language && language !== void 0)
|
||||
$$bindings.language(language);
|
||||
if ($$props.code === void 0 && $$bindings.code && code !== void 0)
|
||||
$$bindings.code(code);
|
||||
if ($$props.lineNumbers === void 0 && $$bindings.lineNumbers && lineNumbers !== void 0)
|
||||
$$bindings.lineNumbers(lineNumbers);
|
||||
if ($$props.background === void 0 && $$bindings.background && background !== void 0)
|
||||
$$bindings.background(background);
|
||||
if ($$props.blur === void 0 && $$bindings.blur && blur !== void 0)
|
||||
$$bindings.blur(blur);
|
||||
if ($$props.text === void 0 && $$bindings.text && text !== void 0)
|
||||
$$bindings.text(text);
|
||||
if ($$props.color === void 0 && $$bindings.color && color !== void 0)
|
||||
$$bindings.color(color);
|
||||
if ($$props.rounded === void 0 && $$bindings.rounded && rounded !== void 0)
|
||||
$$bindings.rounded(rounded);
|
||||
if ($$props.shadow === void 0 && $$bindings.shadow && shadow !== void 0)
|
||||
$$bindings.shadow(shadow);
|
||||
if ($$props.button === void 0 && $$bindings.button && button !== void 0)
|
||||
$$bindings.button(button);
|
||||
if ($$props.buttonLabel === void 0 && $$bindings.buttonLabel && buttonLabel !== void 0)
|
||||
$$bindings.buttonLabel(buttonLabel);
|
||||
if ($$props.buttonCopied === void 0 && $$bindings.buttonCopied && buttonCopied !== void 0)
|
||||
$$bindings.buttonCopied(buttonCopied);
|
||||
{
|
||||
if ($storeHighlightJs !== void 0) {
|
||||
displayCode = $storeHighlightJs.highlight(code, { language }).value.trim();
|
||||
formatted = true;
|
||||
}
|
||||
}
|
||||
{
|
||||
if (lineNumbers) {
|
||||
displayCode = displayCode.replace(/^/gm, () => {
|
||||
return '<span class="line"></span> ';
|
||||
});
|
||||
formatted = true;
|
||||
}
|
||||
}
|
||||
classesBase = `${cBase} ${background} ${blur} ${text} ${color} ${rounded} ${shadow} ${$$props.class ?? ""}`;
|
||||
$$unsubscribe_storeHighlightJs();
|
||||
return ` ${language && code ? `<div class="${"codeblock " + escape(classesBase, true)}" data-testid="codeblock"> <header class="${"codeblock-header " + escape(cHeader, true)}"> <span class="codeblock-language">${escape(languageFormatter(language))}</span> <button class="${"codeblock-btn " + escape(button, true)}">${escape(buttonLabel)}</button></header> <pre class="${"codeblock-pre " + escape(cPre, true)}"><code class="${"codeblock-code language-" + escape(language, true) + " lineNumbers"}">${formatted ? `<!-- HTML_TAG_START -->${displayCode}<!-- HTML_TAG_END -->` : `${escape(code.trim())}`}</code></pre></div>` : ``}`;
|
||||
});
|
||||
|
||||
export { CodeBlock as C, fly as f, slide as s };
|
||||
//# sourceMappingURL=CodeBlock-8434d487.js.map
|
||||
File diff suppressed because one or more lines are too long
@@ -1,61 +0,0 @@
|
||||
import { c as create_ssr_component, b as subscribe, e as escape, f as add_attribute } from './ssr-3eccf1b3.js';
|
||||
import { m as modeCurrent, s as setInitialClassState } from './ProgressBar.svelte_svelte_type_style_lang-7a3862c3.js';
|
||||
|
||||
const cTrack = "cursor-pointer";
|
||||
const cThumb = "aspect-square scale-[0.8] flex justify-center items-center";
|
||||
const cIcon = "w-[70%] aspect-square";
|
||||
const LightSwitch = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||
let trackBg;
|
||||
let thumbBg;
|
||||
let thumbPosition;
|
||||
let iconFill;
|
||||
let classesTrack;
|
||||
let classesThumb;
|
||||
let classesIcon;
|
||||
let $modeCurrent, $$unsubscribe_modeCurrent;
|
||||
$$unsubscribe_modeCurrent = subscribe(modeCurrent, (value) => $modeCurrent = value);
|
||||
let { title = "Toggle light or dark mode." } = $$props;
|
||||
let { bgLight = "bg-surface-50" } = $$props;
|
||||
let { bgDark = "bg-surface-900" } = $$props;
|
||||
let { fillLight = "fill-surface-50" } = $$props;
|
||||
let { fillDark = "fill-surface-900" } = $$props;
|
||||
let { width = "w-12" } = $$props;
|
||||
let { height = "h-6" } = $$props;
|
||||
let { ring = "ring-[1px] ring-surface-500/30" } = $$props;
|
||||
let { rounded = "rounded-token" } = $$props;
|
||||
const cTransition = `transition-all duration-[200ms]`;
|
||||
const svgPath = {
|
||||
sun: "M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM352 256c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zm32 0c0-70.7-57.3-128-128-128s-128 57.3-128 128s57.3 128 128 128s128-57.3 128-128z",
|
||||
moon: "M223.5 32C100 32 0 132.3 0 256S100 480 223.5 480c60.6 0 115.5-24.2 155.8-63.4c5-4.9 6.3-12.5 3.1-18.7s-10.1-9.7-17-8.5c-9.8 1.7-19.8 2.6-30.1 2.6c-96.9 0-175.5-78.8-175.5-176c0-65.8 36-123.1 89.3-153.3c6.1-3.5 9.2-10.5 7.7-17.3s-7.3-11.9-14.3-12.5c-6.3-.5-12.6-.8-19-.8z"
|
||||
};
|
||||
if ($$props.title === void 0 && $$bindings.title && title !== void 0)
|
||||
$$bindings.title(title);
|
||||
if ($$props.bgLight === void 0 && $$bindings.bgLight && bgLight !== void 0)
|
||||
$$bindings.bgLight(bgLight);
|
||||
if ($$props.bgDark === void 0 && $$bindings.bgDark && bgDark !== void 0)
|
||||
$$bindings.bgDark(bgDark);
|
||||
if ($$props.fillLight === void 0 && $$bindings.fillLight && fillLight !== void 0)
|
||||
$$bindings.fillLight(fillLight);
|
||||
if ($$props.fillDark === void 0 && $$bindings.fillDark && fillDark !== void 0)
|
||||
$$bindings.fillDark(fillDark);
|
||||
if ($$props.width === void 0 && $$bindings.width && width !== void 0)
|
||||
$$bindings.width(width);
|
||||
if ($$props.height === void 0 && $$bindings.height && height !== void 0)
|
||||
$$bindings.height(height);
|
||||
if ($$props.ring === void 0 && $$bindings.ring && ring !== void 0)
|
||||
$$bindings.ring(ring);
|
||||
if ($$props.rounded === void 0 && $$bindings.rounded && rounded !== void 0)
|
||||
$$bindings.rounded(rounded);
|
||||
trackBg = $modeCurrent === true ? bgLight : bgDark;
|
||||
thumbBg = $modeCurrent === true ? bgDark : bgLight;
|
||||
thumbPosition = $modeCurrent === true ? "translate-x-[100%]" : "";
|
||||
iconFill = $modeCurrent === true ? fillLight : fillDark;
|
||||
classesTrack = `${cTrack} ${cTransition} ${width} ${height} ${ring} ${rounded} ${trackBg} ${$$props.class ?? ""}`;
|
||||
classesThumb = `${cThumb} ${cTransition} ${height} ${rounded} ${thumbBg} ${thumbPosition}`;
|
||||
classesIcon = `${cIcon} ${iconFill}`;
|
||||
$$unsubscribe_modeCurrent();
|
||||
return `${$$result.head += `<!-- HEAD_svelte-gewkj4_START --><!-- HTML_TAG_START -->${`<script nonce="%sveltekit.nonce%">(${setInitialClassState.toString()})();<\/script>`}<!-- HTML_TAG_END --><!-- HEAD_svelte-gewkj4_END -->`, ""} <div class="${"lightswitch-track " + escape(classesTrack, true)}" role="switch" aria-label="Light Switch"${add_attribute("aria-checked", $modeCurrent, 0)}${add_attribute("title", title, 0)} tabindex="0"> <div class="${"lightswitch-thumb " + escape(classesThumb, true)}"> <svg class="${"lightswitch-icon " + escape(classesIcon, true)}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path${add_attribute("d", $modeCurrent ? svgPath.sun : svgPath.moon, 0)}></path></svg></div></div>`;
|
||||
});
|
||||
|
||||
export { LightSwitch as L };
|
||||
//# sourceMappingURL=LightSwitch-68264f9f.js.map
|
||||
File diff suppressed because one or more lines are too long
@@ -1,25 +0,0 @@
|
||||
import { c as create_ssr_component, v as validate_component } from './ssr-3eccf1b3.js';
|
||||
import './ProgressBar.svelte_svelte_type_style_lang-7a3862c3.js';
|
||||
import { P as ProgressRadial } from './ProgressRadial-14a0db91.js';
|
||||
|
||||
const css = {
|
||||
code: ".progress-bar.svelte-sfm816{padding-top:calc(50vh - 4.5rem - 200px);padding-left:calc(50% - 4.5rem)}",
|
||||
map: null
|
||||
};
|
||||
const Progress = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||
$$result.css.add(css);
|
||||
return `<div class="progress-bar svelte-sfm816">${validate_component(ProgressRadial, "ProgressRadial").$$render(
|
||||
$$result,
|
||||
{
|
||||
stroke: 100,
|
||||
meter: "stroke-primary-500",
|
||||
track: "stroke-primary-500/30",
|
||||
class: "progress-bar"
|
||||
},
|
||||
{},
|
||||
{}
|
||||
)} </div>`;
|
||||
});
|
||||
|
||||
export { Progress as P };
|
||||
//# sourceMappingURL=Progress-e5ba7d72.js.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"Progress-e5ba7d72.js","sources":["../../../../Sveltekit-App/.svelte-kit/adapter-node/chunks/Progress.js"],"sourcesContent":["import { c as create_ssr_component, v as validate_component } from \"./ssr.js\";\nimport \"./ProgressBar.svelte_svelte_type_style_lang.js\";\nimport { P as ProgressRadial } from \"./ProgressRadial.js\";\nconst Progress_svelte_svelte_type_style_lang = \"\";\nconst css = {\n code: \".progress-bar.svelte-sfm816{padding-top:calc(50vh - 4.5rem - 200px);padding-left:calc(50% - 4.5rem)}\",\n map: null\n};\nconst Progress = create_ssr_component(($$result, $$props, $$bindings, slots) => {\n $$result.css.add(css);\n return `<div class=\"progress-bar svelte-sfm816\">${validate_component(ProgressRadial, \"ProgressRadial\").$$render(\n $$result,\n {\n stroke: 100,\n meter: \"stroke-primary-500\",\n track: \"stroke-primary-500/30\",\n class: \"progress-bar\"\n },\n {},\n {}\n )} </div>`;\n});\nexport {\n Progress as P\n};\n"],"names":[],"mappings":";;;;AAIA,MAAM,GAAG,GAAG;AACZ,EAAE,IAAI,EAAE,sGAAsG;AAC9G,EAAE,GAAG,EAAE,IAAI;AACX,CAAC,CAAC;AACG,MAAC,QAAQ,GAAG,oBAAoB,CAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,KAAK;AAChF,EAAE,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACxB,EAAE,OAAO,CAAC,wCAAwC,EAAE,kBAAkB,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC,QAAQ;AACjH,IAAI,QAAQ;AACZ,IAAI;AACJ,MAAM,MAAM,EAAE,GAAG;AACjB,MAAM,KAAK,EAAE,oBAAoB;AACjC,MAAM,KAAK,EAAE,uBAAuB;AACpC,MAAM,KAAK,EAAE,cAAc;AAC3B,KAAK;AACL,IAAI,EAAE;AACN,IAAI,EAAE;AACN,GAAG,CAAC,OAAO,CAAC,CAAC;AACb,CAAC;;;;"}
|
||||
@@ -1,46 +0,0 @@
|
||||
import { r as readable, w as writable } from './index2-f081c4d4.js';
|
||||
import { j as get_store_value } from './ssr-3eccf1b3.js';
|
||||
|
||||
const stores = {};
|
||||
function localStorageStore(key, initialValue, options) {
|
||||
options?.serializer ?? JSON;
|
||||
options?.storage ?? "local";
|
||||
if (!stores[key]) {
|
||||
const store = writable(initialValue, (set2) => {
|
||||
});
|
||||
const { subscribe, set } = store;
|
||||
stores[key] = {
|
||||
set(value) {
|
||||
set(value);
|
||||
},
|
||||
update(updater) {
|
||||
const value = updater(get_store_value(store));
|
||||
set(value);
|
||||
},
|
||||
subscribe
|
||||
};
|
||||
}
|
||||
return stores[key];
|
||||
}
|
||||
localStorageStore("modeOsPrefers", false);
|
||||
localStorageStore("modeUserPrefers", void 0);
|
||||
const modeCurrent = localStorageStore("modeCurrent", false);
|
||||
function setInitialClassState() {
|
||||
const elemHtmlClasses = document.documentElement.classList;
|
||||
const condLocalStorageUserPrefs = localStorage.getItem("modeUserPrefers") === "false";
|
||||
const condLocalStorageUserPrefsExists = !("modeUserPrefers" in localStorage);
|
||||
const condMatchMedia = window.matchMedia("(prefers-color-scheme: dark)").matches;
|
||||
if (condLocalStorageUserPrefs || condLocalStorageUserPrefsExists && condMatchMedia) {
|
||||
elemHtmlClasses.add("dark");
|
||||
} else {
|
||||
elemHtmlClasses.remove("dark");
|
||||
}
|
||||
}
|
||||
function prefersReducedMotion() {
|
||||
return false;
|
||||
}
|
||||
const prefersReducedMotionStore = readable(prefersReducedMotion(), (set) => {
|
||||
});
|
||||
|
||||
export { localStorageStore as l, modeCurrent as m, prefersReducedMotionStore as p, setInitialClassState as s };
|
||||
//# sourceMappingURL=ProgressBar.svelte_svelte_type_style_lang-7a3862c3.js.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"ProgressBar.svelte_svelte_type_style_lang-7a3862c3.js","sources":["../../../../Sveltekit-App/.svelte-kit/adapter-node/chunks/ProgressBar.svelte_svelte_type_style_lang.js"],"sourcesContent":["import { w as writable, r as readable } from \"./index2.js\";\nimport { q as get_store_value } from \"./ssr.js\";\nconst stores = {};\nfunction localStorageStore(key, initialValue, options) {\n options?.serializer ?? JSON;\n options?.storage ?? \"local\";\n if (!stores[key]) {\n const store = writable(initialValue, (set2) => {\n });\n const { subscribe, set } = store;\n stores[key] = {\n set(value) {\n set(value);\n },\n update(updater) {\n const value = updater(get_store_value(store));\n set(value);\n },\n subscribe\n };\n }\n return stores[key];\n}\nlocalStorageStore(\"modeOsPrefers\", false);\nlocalStorageStore(\"modeUserPrefers\", void 0);\nconst modeCurrent = localStorageStore(\"modeCurrent\", false);\nfunction setInitialClassState() {\n const elemHtmlClasses = document.documentElement.classList;\n const condLocalStorageUserPrefs = localStorage.getItem(\"modeUserPrefers\") === \"false\";\n const condLocalStorageUserPrefsExists = !(\"modeUserPrefers\" in localStorage);\n const condMatchMedia = window.matchMedia(\"(prefers-color-scheme: dark)\").matches;\n if (condLocalStorageUserPrefs || condLocalStorageUserPrefsExists && condMatchMedia) {\n elemHtmlClasses.add(\"dark\");\n } else {\n elemHtmlClasses.remove(\"dark\");\n }\n}\nfunction prefersReducedMotion() {\n return false;\n}\nconst prefersReducedMotionStore = readable(prefersReducedMotion(), (set) => {\n});\nconst ProgressBar_svelte_svelte_type_style_lang = \"\";\nexport {\n localStorageStore as l,\n modeCurrent as m,\n prefersReducedMotionStore as p,\n setInitialClassState as s\n};\n"],"names":[],"mappings":";;;AAEA,MAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,iBAAiB,CAAC,GAAG,EAAE,YAAY,EAAE,OAAO,EAAE;AACvD,EAAE,OAAO,EAAE,UAAU,IAAI,IAAI,CAAC;AAC9B,EAAE,OAAO,EAAE,OAAO,IAAI,OAAO,CAAC;AAC9B,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;AACpB,IAAI,MAAM,KAAK,GAAG,QAAQ,CAAC,YAAY,EAAE,CAAC,IAAI,KAAK;AACnD,KAAK,CAAC,CAAC;AACP,IAAI,MAAM,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC;AACrC,IAAI,MAAM,CAAC,GAAG,CAAC,GAAG;AAClB,MAAM,GAAG,CAAC,KAAK,EAAE;AACjB,QAAQ,GAAG,CAAC,KAAK,CAAC,CAAC;AACnB,OAAO;AACP,MAAM,MAAM,CAAC,OAAO,EAAE;AACtB,QAAQ,MAAM,KAAK,GAAG,OAAO,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC;AACtD,QAAQ,GAAG,CAAC,KAAK,CAAC,CAAC;AACnB,OAAO;AACP,MAAM,SAAS;AACf,KAAK,CAAC;AACN,GAAG;AACH,EAAE,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;AACrB,CAAC;AACD,iBAAiB,CAAC,eAAe,EAAE,KAAK,CAAC,CAAC;AAC1C,iBAAiB,CAAC,iBAAiB,EAAE,KAAK,CAAC,CAAC,CAAC;AACxC,MAAC,WAAW,GAAG,iBAAiB,CAAC,aAAa,EAAE,KAAK,EAAE;AAC5D,SAAS,oBAAoB,GAAG;AAChC,EAAE,MAAM,eAAe,GAAG,QAAQ,CAAC,eAAe,CAAC,SAAS,CAAC;AAC7D,EAAE,MAAM,yBAAyB,GAAG,YAAY,CAAC,OAAO,CAAC,iBAAiB,CAAC,KAAK,OAAO,CAAC;AACxF,EAAE,MAAM,+BAA+B,GAAG,EAAE,iBAAiB,IAAI,YAAY,CAAC,CAAC;AAC/E,EAAE,MAAM,cAAc,GAAG,MAAM,CAAC,UAAU,CAAC,8BAA8B,CAAC,CAAC,OAAO,CAAC;AACnF,EAAE,IAAI,yBAAyB,IAAI,+BAA+B,IAAI,cAAc,EAAE;AACtF,IAAI,eAAe,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AAChC,GAAG,MAAM;AACT,IAAI,eAAe,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AACnC,GAAG;AACH,CAAC;AACD,SAAS,oBAAoB,GAAG;AAChC,EAAE,OAAO,KAAK,CAAC;AACf,CAAC;AACI,MAAC,yBAAyB,GAAG,QAAQ,CAAC,oBAAoB,EAAE,EAAE,CAAC,GAAG,KAAK;AAC5E,CAAC;;;;"}
|
||||
@@ -1,57 +0,0 @@
|
||||
import { c as create_ssr_component, e as escape, f as add_attribute, l as add_styles, p as compute_slots } from './ssr-3eccf1b3.js';
|
||||
|
||||
const cBase = "progress-radial relative overflow-hidden";
|
||||
const cBaseTrack = "fill-transparent";
|
||||
const cBaseMeter = "fill-transparent -rotate-90 origin-[50%_50%]";
|
||||
const baseSize = 512;
|
||||
const ProgressRadial = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||
let classesBase;
|
||||
let $$slots = compute_slots(slots);
|
||||
let { value = void 0 } = $$props;
|
||||
let { stroke = 40 } = $$props;
|
||||
let { font = 56 } = $$props;
|
||||
let { strokeLinecap = "butt" } = $$props;
|
||||
let { transition = "transition-[stroke-dashoffset]" } = $$props;
|
||||
let { width = "w-36" } = $$props;
|
||||
let { meter = "stroke-surface-900 dark:stroke-surface-50" } = $$props;
|
||||
let { track = "stroke-surface-500/30" } = $$props;
|
||||
let { fill = "fill-token" } = $$props;
|
||||
let { labelledby = "" } = $$props;
|
||||
const radius = baseSize / 2 - stroke / 2;
|
||||
let circumference = radius;
|
||||
let dashoffset;
|
||||
function setProgress(percent) {
|
||||
circumference = radius * 2 * Math.PI;
|
||||
dashoffset = circumference - percent / 100 * circumference;
|
||||
}
|
||||
setProgress(0);
|
||||
if ($$props.value === void 0 && $$bindings.value && value !== void 0)
|
||||
$$bindings.value(value);
|
||||
if ($$props.stroke === void 0 && $$bindings.stroke && stroke !== void 0)
|
||||
$$bindings.stroke(stroke);
|
||||
if ($$props.font === void 0 && $$bindings.font && font !== void 0)
|
||||
$$bindings.font(font);
|
||||
if ($$props.strokeLinecap === void 0 && $$bindings.strokeLinecap && strokeLinecap !== void 0)
|
||||
$$bindings.strokeLinecap(strokeLinecap);
|
||||
if ($$props.transition === void 0 && $$bindings.transition && transition !== void 0)
|
||||
$$bindings.transition(transition);
|
||||
if ($$props.width === void 0 && $$bindings.width && width !== void 0)
|
||||
$$bindings.width(width);
|
||||
if ($$props.meter === void 0 && $$bindings.meter && meter !== void 0)
|
||||
$$bindings.meter(meter);
|
||||
if ($$props.track === void 0 && $$bindings.track && track !== void 0)
|
||||
$$bindings.track(track);
|
||||
if ($$props.fill === void 0 && $$bindings.fill && fill !== void 0)
|
||||
$$bindings.fill(fill);
|
||||
if ($$props.labelledby === void 0 && $$bindings.labelledby && labelledby !== void 0)
|
||||
$$bindings.labelledby(labelledby);
|
||||
classesBase = `${cBase} ${width} ${$$props.class ?? ""}`;
|
||||
return ` <figure class="${"progress-radial " + escape(classesBase, true)}" data-testid="progress-radial" role="meter"${add_attribute("aria-labelledby", labelledby, 0)}${add_attribute("aria-valuenow", value || 0, 0)}${add_attribute("aria-valuetext", value ? `${value}%` : "Indeterminate Spinner", 0)}${add_attribute("aria-valuemin", 0, 0)}${add_attribute("aria-valuemax", 100, 0)}> <svg viewBox="${"0 0 " + escape(baseSize, true) + " " + escape(baseSize, true)}" class="${["rounded-full", value === void 0 ? "animate-spin" : ""].join(" ").trim()}"><circle class="${"progress-radial-track " + escape(cBaseTrack, true) + " " + escape(track, true)}"${add_attribute("stroke-width", stroke, 0)}${add_attribute("r", radius, 0)} cx="50%" cy="50%"></circle><circle class="${"progress-radial-meter " + escape(cBaseMeter, true) + " " + escape(meter, true) + " " + escape(transition, true)}"${add_attribute("stroke-width", stroke, 0)}${add_attribute("r", radius, 0)} cx="50%" cy="50%"${add_attribute("stroke-linecap", strokeLinecap, 0)}${add_styles({
|
||||
"stroke-dasharray": `${circumference}
|
||||
${circumference}`,
|
||||
"stroke-dashoffset": dashoffset
|
||||
})}></circle>${value != void 0 && value >= 0 && $$slots.default ? `<text x="50%" y="50%" text-anchor="middle" dominant-baseline="middle" font-weight="bold"${add_attribute("font-size", font, 0)} class="${"progress-radial-text " + escape(fill, true)}">${slots.default ? slots.default({}) : ``}</text>` : ``}</svg></figure>`;
|
||||
});
|
||||
|
||||
export { ProgressRadial as P };
|
||||
//# sourceMappingURL=ProgressRadial-14a0db91.js.map
|
||||
File diff suppressed because one or more lines are too long
@@ -1,33 +0,0 @@
|
||||
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
||||
|
||||
function getDefaultExportFromCjs (x) {
|
||||
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
||||
}
|
||||
|
||||
function getAugmentedNamespace(n) {
|
||||
if (n.__esModule) return n;
|
||||
var f = n.default;
|
||||
if (typeof f == "function") {
|
||||
var a = function a () {
|
||||
if (this instanceof a) {
|
||||
return Reflect.construct(f, arguments, this.constructor);
|
||||
}
|
||||
return f.apply(this, arguments);
|
||||
};
|
||||
a.prototype = f.prototype;
|
||||
} else a = {};
|
||||
Object.defineProperty(a, '__esModule', {value: true});
|
||||
Object.keys(n).forEach(function (k) {
|
||||
var d = Object.getOwnPropertyDescriptor(n, k);
|
||||
Object.defineProperty(a, k, d.get ? d : {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return n[k];
|
||||
}
|
||||
});
|
||||
});
|
||||
return a;
|
||||
}
|
||||
|
||||
export { getAugmentedNamespace as a, commonjsGlobal as c, getDefaultExportFromCjs as g };
|
||||
//# sourceMappingURL=_commonjsHelpers-2155838d.js.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"_commonjsHelpers-2155838d.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
||||
@@ -1,13 +0,0 @@
|
||||
import { c as create_ssr_component, b as subscribe } from './ssr-3eccf1b3.js';
|
||||
import { p as page } from './stores2-39445ea0.js';
|
||||
|
||||
const Error = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||
let $page, $$unsubscribe_page;
|
||||
$$unsubscribe_page = subscribe(page, (value) => $page = value);
|
||||
console.log($page);
|
||||
$$unsubscribe_page();
|
||||
return `WHOOPS! Inner`;
|
||||
});
|
||||
|
||||
export { Error as default };
|
||||
//# sourceMappingURL=_error.svelte-e8de01b5.js.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"_error.svelte-e8de01b5.js","sources":["../../../../Sveltekit-App/.svelte-kit/adapter-node/entries/pages/home/_error.svelte.js"],"sourcesContent":["import { c as create_ssr_component, a as subscribe } from \"../../../chunks/ssr.js\";\nimport { p as page } from \"../../../chunks/stores2.js\";\nconst Error = create_ssr_component(($$result, $$props, $$bindings, slots) => {\n let $page, $$unsubscribe_page;\n $$unsubscribe_page = subscribe(page, (value) => $page = value);\n console.log($page);\n $$unsubscribe_page();\n return `WHOOPS! Inner`;\n});\nexport {\n Error as default\n};\n"],"names":[],"mappings":";;;AAEK,MAAC,KAAK,GAAG,oBAAoB,CAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,KAAK;AAC7E,EAAE,IAAI,KAAK,EAAE,kBAAkB,CAAC;AAChC,EAAE,kBAAkB,GAAG,SAAS,CAAC,IAAI,EAAE,CAAC,KAAK,KAAK,KAAK,GAAG,KAAK,CAAC,CAAC;AACjE,EAAE,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACrB,EAAE,kBAAkB,EAAE,CAAC;AACvB,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;AACzB,CAAC;;;;"}
|
||||
@@ -1,13 +0,0 @@
|
||||
import { c as create_ssr_component, b as subscribe } from './ssr-3eccf1b3.js';
|
||||
import { p as page } from './stores2-39445ea0.js';
|
||||
|
||||
const Error = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||
let $page, $$unsubscribe_page;
|
||||
$$unsubscribe_page = subscribe(page, (value) => $page = value);
|
||||
console.log($page);
|
||||
$$unsubscribe_page();
|
||||
return `WHOOPS!`;
|
||||
});
|
||||
|
||||
export { Error as default };
|
||||
//# sourceMappingURL=_error.svelte-ef2a7f39.js.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"_error.svelte-ef2a7f39.js","sources":["../../../../Sveltekit-App/.svelte-kit/adapter-node/entries/pages/_error.svelte.js"],"sourcesContent":["import { c as create_ssr_component, a as subscribe } from \"../../chunks/ssr.js\";\nimport { p as page } from \"../../chunks/stores2.js\";\nconst Error = create_ssr_component(($$result, $$props, $$bindings, slots) => {\n let $page, $$unsubscribe_page;\n $$unsubscribe_page = subscribe(page, (value) => $page = value);\n console.log($page);\n $$unsubscribe_page();\n return `WHOOPS!`;\n});\nexport {\n Error as default\n};\n"],"names":[],"mappings":";;;AAEK,MAAC,KAAK,GAAG,oBAAoB,CAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,KAAK;AAC7E,EAAE,IAAI,KAAK,EAAE,kBAAkB,CAAC;AAChC,EAAE,kBAAkB,GAAG,SAAS,CAAC,IAAI,EAAE,CAAC,KAAK,KAAK,KAAK,GAAG,KAAK,CAAC,CAAC;AACjE,EAAE,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACrB,EAAE,kBAAkB,EAAE,CAAC;AACvB,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;AACnB,CAAC;;;;"}
|
||||
@@ -1,316 +0,0 @@
|
||||
import { c as create_ssr_component, v as validate_component, e as escape, f as add_attribute, l as add_styles, b as subscribe, o as each, p as compute_slots, s as setContext, q as compute_rest_props, i as getContext, g as spread, r as escape_attribute_value, h as escape_object } from './ssr-3eccf1b3.js';
|
||||
import { r as reports } from './reports-881f004a.js';
|
||||
import { p as page } from './stores2-39445ea0.js';
|
||||
import './ProgressBar.svelte_svelte_type_style_lang-7a3862c3.js';
|
||||
import { L as LightSwitch } from './LightSwitch-68264f9f.js';
|
||||
import './index2-f081c4d4.js';
|
||||
|
||||
const cBase$2 = "flex flex-col";
|
||||
const cRowMain = "grid items-center";
|
||||
const cRowHeadline = "";
|
||||
const cSlotLead = "flex-none flex justify-between items-center";
|
||||
const cSlotDefault = "flex-auto";
|
||||
const cSlotTrail = "flex-none flex items-center space-x-4";
|
||||
const AppBar = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||
let classesBase;
|
||||
let classesRowMain;
|
||||
let classesRowHeadline;
|
||||
let classesSlotLead;
|
||||
let classesSlotDefault;
|
||||
let classesSlotTrail;
|
||||
let $$slots = compute_slots(slots);
|
||||
let { background = "bg-surface-100-800-token" } = $$props;
|
||||
let { border = "" } = $$props;
|
||||
let { padding = "p-4" } = $$props;
|
||||
let { shadow = "" } = $$props;
|
||||
let { spacing = "space-y-4" } = $$props;
|
||||
let { gridColumns = "grid-cols-[auto_1fr_auto]" } = $$props;
|
||||
let { gap = "gap-4" } = $$props;
|
||||
let { regionRowMain = "" } = $$props;
|
||||
let { regionRowHeadline = "" } = $$props;
|
||||
let { slotLead = "" } = $$props;
|
||||
let { slotDefault = "" } = $$props;
|
||||
let { slotTrail = "" } = $$props;
|
||||
let { label = "" } = $$props;
|
||||
let { labelledby = "" } = $$props;
|
||||
if ($$props.background === void 0 && $$bindings.background && background !== void 0)
|
||||
$$bindings.background(background);
|
||||
if ($$props.border === void 0 && $$bindings.border && border !== void 0)
|
||||
$$bindings.border(border);
|
||||
if ($$props.padding === void 0 && $$bindings.padding && padding !== void 0)
|
||||
$$bindings.padding(padding);
|
||||
if ($$props.shadow === void 0 && $$bindings.shadow && shadow !== void 0)
|
||||
$$bindings.shadow(shadow);
|
||||
if ($$props.spacing === void 0 && $$bindings.spacing && spacing !== void 0)
|
||||
$$bindings.spacing(spacing);
|
||||
if ($$props.gridColumns === void 0 && $$bindings.gridColumns && gridColumns !== void 0)
|
||||
$$bindings.gridColumns(gridColumns);
|
||||
if ($$props.gap === void 0 && $$bindings.gap && gap !== void 0)
|
||||
$$bindings.gap(gap);
|
||||
if ($$props.regionRowMain === void 0 && $$bindings.regionRowMain && regionRowMain !== void 0)
|
||||
$$bindings.regionRowMain(regionRowMain);
|
||||
if ($$props.regionRowHeadline === void 0 && $$bindings.regionRowHeadline && regionRowHeadline !== void 0)
|
||||
$$bindings.regionRowHeadline(regionRowHeadline);
|
||||
if ($$props.slotLead === void 0 && $$bindings.slotLead && slotLead !== void 0)
|
||||
$$bindings.slotLead(slotLead);
|
||||
if ($$props.slotDefault === void 0 && $$bindings.slotDefault && slotDefault !== void 0)
|
||||
$$bindings.slotDefault(slotDefault);
|
||||
if ($$props.slotTrail === void 0 && $$bindings.slotTrail && slotTrail !== void 0)
|
||||
$$bindings.slotTrail(slotTrail);
|
||||
if ($$props.label === void 0 && $$bindings.label && label !== void 0)
|
||||
$$bindings.label(label);
|
||||
if ($$props.labelledby === void 0 && $$bindings.labelledby && labelledby !== void 0)
|
||||
$$bindings.labelledby(labelledby);
|
||||
classesBase = `${cBase$2} ${background} ${border} ${spacing} ${padding} ${shadow} ${$$props.class ?? ""}`;
|
||||
classesRowMain = `${cRowMain} ${gridColumns} ${gap} ${regionRowMain}`;
|
||||
classesRowHeadline = `${cRowHeadline} ${regionRowHeadline}`;
|
||||
classesSlotLead = `${cSlotLead} ${slotLead}`;
|
||||
classesSlotDefault = `${cSlotDefault} ${slotDefault}`;
|
||||
classesSlotTrail = `${cSlotTrail} ${slotTrail}`;
|
||||
return `<div class="${"app-bar " + escape(classesBase, true)}" data-testid="app-bar" role="toolbar"${add_attribute("aria-label", label, 0)}${add_attribute("aria-labelledby", labelledby, 0)}> <div class="${"app-bar-row-main " + escape(classesRowMain, true)}"> ${$$slots.lead ? `<div class="${"app-bar-slot-lead " + escape(classesSlotLead, true)}">${slots.lead ? slots.lead({}) : ``}</div>` : ``} <div class="${"app-bar-slot-default " + escape(classesSlotDefault, true)}">${slots.default ? slots.default({}) : ``}</div> ${$$slots.trail ? `<div class="${"app-bar-slot-trail " + escape(classesSlotTrail, true)}">${slots.trail ? slots.trail({}) : ``}</div>` : ``}</div> ${$$slots.headline ? `<div class="${"app-bar-row-headline " + escape(classesRowHeadline, true)}">${slots.headline ? slots.headline({}) : ``}</div>` : ``}</div>`;
|
||||
});
|
||||
const cBase$1 = "grid grid-rows-[auto_1fr_auto] overflow-y-auto";
|
||||
const cRegionLead = "box-border";
|
||||
const cRegionDefault = "box-border";
|
||||
const cRegionTrail = "box-border";
|
||||
const AppRail = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||
let classesBase;
|
||||
let classesRegionLead;
|
||||
let classesRegionDefault;
|
||||
let classesRegionTrail;
|
||||
let { background = "bg-surface-100-800-token" } = $$props;
|
||||
let { border = "" } = $$props;
|
||||
let { width = "w-20" } = $$props;
|
||||
let { height = "h-full" } = $$props;
|
||||
let { gap = "gap-0" } = $$props;
|
||||
let { regionLead = "" } = $$props;
|
||||
let { regionDefault = "" } = $$props;
|
||||
let { regionTrail = "" } = $$props;
|
||||
let { hover = "bg-primary-hover-token" } = $$props;
|
||||
let { active = "bg-primary-active-token" } = $$props;
|
||||
let { spacing = "space-y-1" } = $$props;
|
||||
let { aspectRatio = "aspect-square" } = $$props;
|
||||
setContext("active", active);
|
||||
setContext("hover", hover);
|
||||
setContext("spacing", spacing);
|
||||
setContext("aspectRatio", aspectRatio);
|
||||
if ($$props.background === void 0 && $$bindings.background && background !== void 0)
|
||||
$$bindings.background(background);
|
||||
if ($$props.border === void 0 && $$bindings.border && border !== void 0)
|
||||
$$bindings.border(border);
|
||||
if ($$props.width === void 0 && $$bindings.width && width !== void 0)
|
||||
$$bindings.width(width);
|
||||
if ($$props.height === void 0 && $$bindings.height && height !== void 0)
|
||||
$$bindings.height(height);
|
||||
if ($$props.gap === void 0 && $$bindings.gap && gap !== void 0)
|
||||
$$bindings.gap(gap);
|
||||
if ($$props.regionLead === void 0 && $$bindings.regionLead && regionLead !== void 0)
|
||||
$$bindings.regionLead(regionLead);
|
||||
if ($$props.regionDefault === void 0 && $$bindings.regionDefault && regionDefault !== void 0)
|
||||
$$bindings.regionDefault(regionDefault);
|
||||
if ($$props.regionTrail === void 0 && $$bindings.regionTrail && regionTrail !== void 0)
|
||||
$$bindings.regionTrail(regionTrail);
|
||||
if ($$props.hover === void 0 && $$bindings.hover && hover !== void 0)
|
||||
$$bindings.hover(hover);
|
||||
if ($$props.active === void 0 && $$bindings.active && active !== void 0)
|
||||
$$bindings.active(active);
|
||||
if ($$props.spacing === void 0 && $$bindings.spacing && spacing !== void 0)
|
||||
$$bindings.spacing(spacing);
|
||||
if ($$props.aspectRatio === void 0 && $$bindings.aspectRatio && aspectRatio !== void 0)
|
||||
$$bindings.aspectRatio(aspectRatio);
|
||||
classesBase = `${cBase$1} ${background} ${border} ${width} ${height} ${gap} ${$$props.class || ""}`;
|
||||
classesRegionLead = `${cRegionLead} ${regionLead}`;
|
||||
classesRegionDefault = `${cRegionDefault} ${regionDefault}`;
|
||||
classesRegionTrail = `${cRegionTrail} ${regionTrail}`;
|
||||
return ` <div class="${"app-rail " + escape(classesBase, true)}" data-testid="app-rail"> <div class="${"app-bar-lead " + escape(classesRegionLead, true)}">${slots.lead ? slots.lead({}) : ``}</div> <div class="${"app-bar-default " + escape(classesRegionDefault, true)}">${slots.default ? slots.default({}) : ``}</div> <div class="${"app-bar-trail " + escape(classesRegionTrail, true)}">${slots.trail ? slots.trail({}) : ``}</div></div>`;
|
||||
});
|
||||
const cBase = "unstyled";
|
||||
const cWrapper = "w-full flex flex-col justify-center items-stretch text-center space-y-1";
|
||||
const cLabel = "font-bold text-xs";
|
||||
const AppRailAnchor = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||
let classActive;
|
||||
let classesBase;
|
||||
let classesWrapper;
|
||||
let classesLead;
|
||||
let classesLabel;
|
||||
let $$restProps = compute_rest_props($$props, ["selected", "regionLead", "regionLabel", "hover", "active", "spacing", "aspectRatio"]);
|
||||
let $$slots = compute_slots(slots);
|
||||
let { selected = false } = $$props;
|
||||
let { regionLead = "flex justify-center items-center" } = $$props;
|
||||
let { regionLabel = "" } = $$props;
|
||||
let { hover = getContext("hover") } = $$props;
|
||||
let { active = getContext("active") } = $$props;
|
||||
let { spacing = getContext("spacing") } = $$props;
|
||||
let { aspectRatio = getContext("aspectRatio") } = $$props;
|
||||
function prunedRestProps() {
|
||||
delete $$restProps.class;
|
||||
return $$restProps;
|
||||
}
|
||||
if ($$props.selected === void 0 && $$bindings.selected && selected !== void 0)
|
||||
$$bindings.selected(selected);
|
||||
if ($$props.regionLead === void 0 && $$bindings.regionLead && regionLead !== void 0)
|
||||
$$bindings.regionLead(regionLead);
|
||||
if ($$props.regionLabel === void 0 && $$bindings.regionLabel && regionLabel !== void 0)
|
||||
$$bindings.regionLabel(regionLabel);
|
||||
if ($$props.hover === void 0 && $$bindings.hover && hover !== void 0)
|
||||
$$bindings.hover(hover);
|
||||
if ($$props.active === void 0 && $$bindings.active && active !== void 0)
|
||||
$$bindings.active(active);
|
||||
if ($$props.spacing === void 0 && $$bindings.spacing && spacing !== void 0)
|
||||
$$bindings.spacing(spacing);
|
||||
if ($$props.aspectRatio === void 0 && $$bindings.aspectRatio && aspectRatio !== void 0)
|
||||
$$bindings.aspectRatio(aspectRatio);
|
||||
classActive = selected ? active : "";
|
||||
classesBase = `${cBase} ${$$props.class || ""}`;
|
||||
classesWrapper = `${cWrapper} ${aspectRatio} ${hover} ${spacing} ${classActive}`;
|
||||
classesLead = `${regionLead}`;
|
||||
classesLabel = `${cLabel} ${regionLabel}`;
|
||||
return `<a${spread(
|
||||
[
|
||||
{
|
||||
class: "app-rail-anchor " + escape(classesBase, true)
|
||||
},
|
||||
{
|
||||
href: escape_attribute_value($$props.href)
|
||||
},
|
||||
escape_object(prunedRestProps()),
|
||||
{ "data-testid": "app-rail-anchor" }
|
||||
],
|
||||
{}
|
||||
)}><div class="${"app-rail-wrapper " + escape(classesWrapper, true)}">${$$slots.lead ? `<div class="${"app-rail-lead " + escape(classesLead, true)}">${slots.lead ? slots.lead({}) : ``}</div>` : ``} <div class="${"app-rail-label " + escape(classesLabel, true)}">${slots.default ? slots.default({}) : ``}</div></div></a>`;
|
||||
});
|
||||
const cBaseAppShell = "w-full h-full flex flex-col overflow-hidden";
|
||||
const cContentArea = "w-full h-full flex overflow-hidden";
|
||||
const cPage = "flex-1 overflow-x-hidden flex flex-col";
|
||||
const cSidebarLeft = "flex-none overflow-x-hidden overflow-y-auto";
|
||||
const cSidebarRight = "flex-none overflow-x-hidden overflow-y-auto";
|
||||
const AppShell = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||
let classesBase;
|
||||
let classesHeader;
|
||||
let classesSidebarLeft;
|
||||
let classesSidebarRight;
|
||||
let classesPageHeader;
|
||||
let classesPageContent;
|
||||
let classesPageFooter;
|
||||
let classesFooter;
|
||||
let $$slots = compute_slots(slots);
|
||||
let { scrollbarGutter = "auto" } = $$props;
|
||||
let { regionPage = "" } = $$props;
|
||||
let { slotHeader = "z-10" } = $$props;
|
||||
let { slotSidebarLeft = "w-auto" } = $$props;
|
||||
let { slotSidebarRight = "w-auto" } = $$props;
|
||||
let { slotPageHeader = "" } = $$props;
|
||||
let { slotPageContent = "" } = $$props;
|
||||
let { slotPageFooter = "" } = $$props;
|
||||
let { slotFooter = "" } = $$props;
|
||||
if ($$props.scrollbarGutter === void 0 && $$bindings.scrollbarGutter && scrollbarGutter !== void 0)
|
||||
$$bindings.scrollbarGutter(scrollbarGutter);
|
||||
if ($$props.regionPage === void 0 && $$bindings.regionPage && regionPage !== void 0)
|
||||
$$bindings.regionPage(regionPage);
|
||||
if ($$props.slotHeader === void 0 && $$bindings.slotHeader && slotHeader !== void 0)
|
||||
$$bindings.slotHeader(slotHeader);
|
||||
if ($$props.slotSidebarLeft === void 0 && $$bindings.slotSidebarLeft && slotSidebarLeft !== void 0)
|
||||
$$bindings.slotSidebarLeft(slotSidebarLeft);
|
||||
if ($$props.slotSidebarRight === void 0 && $$bindings.slotSidebarRight && slotSidebarRight !== void 0)
|
||||
$$bindings.slotSidebarRight(slotSidebarRight);
|
||||
if ($$props.slotPageHeader === void 0 && $$bindings.slotPageHeader && slotPageHeader !== void 0)
|
||||
$$bindings.slotPageHeader(slotPageHeader);
|
||||
if ($$props.slotPageContent === void 0 && $$bindings.slotPageContent && slotPageContent !== void 0)
|
||||
$$bindings.slotPageContent(slotPageContent);
|
||||
if ($$props.slotPageFooter === void 0 && $$bindings.slotPageFooter && slotPageFooter !== void 0)
|
||||
$$bindings.slotPageFooter(slotPageFooter);
|
||||
if ($$props.slotFooter === void 0 && $$bindings.slotFooter && slotFooter !== void 0)
|
||||
$$bindings.slotFooter(slotFooter);
|
||||
classesBase = `${cBaseAppShell} ${$$props.class ?? ""}`;
|
||||
classesHeader = `${slotHeader}`;
|
||||
classesSidebarLeft = `${cSidebarLeft} ${slotSidebarLeft}`;
|
||||
classesSidebarRight = `${cSidebarRight} ${slotSidebarRight}`;
|
||||
classesPageHeader = `${slotPageHeader}`;
|
||||
classesPageContent = `${slotPageContent}`;
|
||||
classesPageFooter = `${slotPageFooter}`;
|
||||
classesFooter = `${slotFooter}`;
|
||||
return `<div id="appShell"${add_attribute("class", classesBase, 0)} data-testid="app-shell"> ${$$slots.header ? `<header id="shell-header" class="${"flex-none " + escape(classesHeader, true)}">${slots.header ? slots.header({}) : ``}</header>` : ``} <div class="${"flex-auto " + escape(cContentArea, true)}"> ${$$slots.sidebarLeft ? `<aside id="sidebar-left"${add_attribute("class", classesSidebarLeft, 0)}>${slots.sidebarLeft ? slots.sidebarLeft({}) : ``}</aside>` : ``} <div id="page" class="${escape(regionPage, true) + " " + escape(cPage, true)}"${add_styles({ "scrollbar-gutter": scrollbarGutter })}> ${$$slots.pageHeader ? `<header id="page-header" class="${"flex-none " + escape(classesPageHeader, true)}">${slots.pageHeader ? slots.pageHeader({}) : `(slot:header)`}</header>` : ``} <main id="page-content" class="${"flex-auto " + escape(classesPageContent, true)}">${slots.default ? slots.default({}) : ``}</main> ${$$slots.pageFooter ? `<footer id="page-footer" class="${"flex-none " + escape(classesPageFooter, true)}">${slots.pageFooter ? slots.pageFooter({}) : `(slot:footer)`}</footer>` : ``}</div> ${$$slots.sidebarRight ? `<aside id="sidebar-right"${add_attribute("class", classesSidebarRight, 0)}>${slots.sidebarRight ? slots.sidebarRight({}) : ``}</aside>` : ``}</div> ${$$slots.footer ? `<footer id="shell-footer" class="${"flex-none " + escape(classesFooter, true)}">${slots.footer ? slots.footer({}) : ``}</footer>` : ``}</div>`;
|
||||
});
|
||||
const navigation = [
|
||||
{
|
||||
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: [...reports]
|
||||
}
|
||||
];
|
||||
const LeftSidebar = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||
let $page, $$unsubscribe_page;
|
||||
$$unsubscribe_page = subscribe(page, (value) => $page = value);
|
||||
$$unsubscribe_page();
|
||||
return `<div class="bg-surface-50-900-token h-full">${validate_component(AppRail, "AppRail").$$render(
|
||||
$$result,
|
||||
{
|
||||
width: "w-36",
|
||||
active: "bg-primary-active-token !text-white",
|
||||
aspectRatio: "aspect-video"
|
||||
},
|
||||
{},
|
||||
{
|
||||
default: () => {
|
||||
return `${each(navigation, (section) => {
|
||||
return `<p class="py-2 px-1 text-center bg-primary-100-800-token">${escape(section.name)}</p> <hr class="!border-t-2"> ${each(section.content, (link) => {
|
||||
return `${validate_component(AppRailAnchor, "AppRailAnchor").$$render(
|
||||
$$result,
|
||||
{
|
||||
href: link.url,
|
||||
"data-sveltekit-preload-data": "hover",
|
||||
selected: $page.url.pathname === link.url
|
||||
},
|
||||
{},
|
||||
{
|
||||
default: () => {
|
||||
return `<p class="text-center px-4">${escape(link.name)}</p> `;
|
||||
}
|
||||
}
|
||||
)}`;
|
||||
})}`;
|
||||
})}`;
|
||||
}
|
||||
}
|
||||
)}</div>`;
|
||||
});
|
||||
const Layout = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||
return `${validate_component(AppShell, "AppShell").$$render($$result, {}, {}, {
|
||||
sidebarLeft: () => {
|
||||
return `${validate_component(LeftSidebar, "LeftSidebar").$$render($$result, {}, {}, {})} `;
|
||||
},
|
||||
header: () => {
|
||||
return `${validate_component(AppBar, "AppBar").$$render($$result, {}, {}, {
|
||||
trail: () => {
|
||||
return `${validate_component(LightSwitch, "LightSwitch").$$render($$result, {}, {}, {})} <a href="/" class="btn variant-filled-primary !text-white text-lg" data-svelte-h="svelte-1h5xvl4">Logout</a> `;
|
||||
},
|
||||
lead: () => {
|
||||
return `<img class="h-8 w-8" src="/logo.ico" alt="SailPoint TetraSail"> `;
|
||||
},
|
||||
default: () => {
|
||||
return `<p class="text-xl" data-svelte-h="svelte-16xy8i3">IdentityNow Health Check</p>`;
|
||||
}
|
||||
})} `;
|
||||
},
|
||||
default: () => {
|
||||
return ` <div class="h-full">${slots.default ? slots.default({}) : ``}</div> `;
|
||||
}
|
||||
})}`;
|
||||
});
|
||||
|
||||
export { Layout as default };
|
||||
//# sourceMappingURL=_layout.svelte-da25be14.js.map
|
||||
File diff suppressed because one or more lines are too long
@@ -1,281 +0,0 @@
|
||||
import { c as create_ssr_component, v as validate_component, s as setContext, b as subscribe, d as createEventDispatcher, e as escape, f as add_attribute, g as spread, h as escape_object, m as missing_component } from './ssr-3eccf1b3.js';
|
||||
import { i as initializeModalStore, g as getModalStore } from './stores-45fd0783.js';
|
||||
import { w as writable } from './index2-f081c4d4.js';
|
||||
import { p as prefersReducedMotionStore } from './ProgressBar.svelte_svelte_type_style_lang-7a3862c3.js';
|
||||
import { C as CodeBlock, f as fly } from './CodeBlock-8434d487.js';
|
||||
|
||||
const DRAWER_STORE_KEY = "drawerStore";
|
||||
function initializeDrawerStore() {
|
||||
const drawerStore = drawerService();
|
||||
return setContext(DRAWER_STORE_KEY, drawerStore);
|
||||
}
|
||||
function drawerService() {
|
||||
const { subscribe: subscribe2, set, update } = writable({});
|
||||
return {
|
||||
subscribe: subscribe2,
|
||||
set,
|
||||
update,
|
||||
/** Open the drawer. */
|
||||
open: (newSettings) => update(() => {
|
||||
return { open: true, ...newSettings };
|
||||
}),
|
||||
/** Close the drawer. */
|
||||
close: () => update((d) => {
|
||||
d.open = false;
|
||||
return d;
|
||||
})
|
||||
};
|
||||
}
|
||||
const toastDefaults = { message: "Missing Toast Message", autohide: true, timeout: 5e3 };
|
||||
const TOAST_STORE_KEY = "toastStore";
|
||||
function initializeToastStore() {
|
||||
const toastStore = toastService();
|
||||
return setContext(TOAST_STORE_KEY, toastStore);
|
||||
}
|
||||
function randomUUID() {
|
||||
const random = Math.random();
|
||||
return Number(random).toString(32);
|
||||
}
|
||||
function toastService() {
|
||||
const { subscribe: subscribe2, set, update } = writable([]);
|
||||
const close = (id) => update((tStore) => {
|
||||
if (tStore.length > 0) {
|
||||
const index = tStore.findIndex((t) => t.id === id);
|
||||
const selectedToast = tStore[index];
|
||||
if (selectedToast) {
|
||||
if (selectedToast.callback)
|
||||
selectedToast.callback({ id, status: "closed" });
|
||||
if (selectedToast.timeoutId)
|
||||
clearTimeout(selectedToast.timeoutId);
|
||||
tStore.splice(index, 1);
|
||||
}
|
||||
}
|
||||
return tStore;
|
||||
});
|
||||
function handleAutoHide(toast) {
|
||||
if (toast.autohide === true) {
|
||||
return setTimeout(() => {
|
||||
close(toast.id);
|
||||
}, toast.timeout);
|
||||
}
|
||||
}
|
||||
return {
|
||||
subscribe: subscribe2,
|
||||
close,
|
||||
/** Add a new toast to the queue. */
|
||||
trigger: (toast) => {
|
||||
const id = randomUUID();
|
||||
update((tStore) => {
|
||||
if (toast && toast.callback)
|
||||
toast.callback({ id, status: "queued" });
|
||||
if (toast.hideDismiss)
|
||||
toast.autohide = true;
|
||||
const tMerged = { ...toastDefaults, ...toast, id };
|
||||
tMerged.timeoutId = handleAutoHide(tMerged);
|
||||
tStore.push(tMerged);
|
||||
return tStore;
|
||||
});
|
||||
return id;
|
||||
},
|
||||
/** Remain visible on hover */
|
||||
freeze: (index) => update((tStore) => {
|
||||
if (tStore.length > 0)
|
||||
clearTimeout(tStore[index].timeoutId);
|
||||
return tStore;
|
||||
}),
|
||||
/** Cancel remain visible on leave */
|
||||
unfreeze: (index) => update((tStore) => {
|
||||
if (tStore.length > 0)
|
||||
tStore[index].timeoutId = handleAutoHide(tStore[index]);
|
||||
return tStore;
|
||||
}),
|
||||
/** Remove all toasts from queue */
|
||||
clear: () => set([])
|
||||
};
|
||||
}
|
||||
function initializeStores() {
|
||||
initializeModalStore();
|
||||
initializeToastStore();
|
||||
initializeDrawerStore();
|
||||
}
|
||||
const cBackdrop = "fixed top-0 left-0 right-0 bottom-0 overflow-y-auto";
|
||||
const cTransitionLayer = "w-full h-fit min-h-full p-4 overflow-y-auto flex justify-center";
|
||||
const cModal = "block overflow-y-auto";
|
||||
const cModalImage = "w-full h-auto";
|
||||
const Modal = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||
let cPosition;
|
||||
let classesBackdrop;
|
||||
let classesTransitionLayer;
|
||||
let classesModal;
|
||||
let parent;
|
||||
let $modalStore, $$unsubscribe_modalStore;
|
||||
let $prefersReducedMotionStore, $$unsubscribe_prefersReducedMotionStore;
|
||||
$$unsubscribe_prefersReducedMotionStore = subscribe(prefersReducedMotionStore, (value) => $prefersReducedMotionStore = value);
|
||||
createEventDispatcher();
|
||||
let { position = "items-center" } = $$props;
|
||||
let { components = {} } = $$props;
|
||||
let { background = "bg-surface-100-800-token" } = $$props;
|
||||
let { width = "w-modal" } = $$props;
|
||||
let { height = "h-auto" } = $$props;
|
||||
let { padding = "p-4" } = $$props;
|
||||
let { spacing = "space-y-4" } = $$props;
|
||||
let { rounded = "rounded-container-token" } = $$props;
|
||||
let { shadow = "shadow-xl" } = $$props;
|
||||
let { zIndex = "z-[999]" } = $$props;
|
||||
let { buttonNeutral = "variant-ghost-surface" } = $$props;
|
||||
let { buttonPositive = "variant-filled" } = $$props;
|
||||
let { buttonTextCancel = "Cancel" } = $$props;
|
||||
let { buttonTextConfirm = "Confirm" } = $$props;
|
||||
let { buttonTextSubmit = "Submit" } = $$props;
|
||||
let { regionBackdrop = "bg-surface-backdrop-token" } = $$props;
|
||||
let { regionHeader = "text-2xl font-bold" } = $$props;
|
||||
let { regionBody = "max-h-[200px] overflow-hidden" } = $$props;
|
||||
let { regionFooter = "flex justify-end space-x-2" } = $$props;
|
||||
let { transitions = !$prefersReducedMotionStore } = $$props;
|
||||
let { transitionIn = fly } = $$props;
|
||||
let { transitionInParams = { duration: 150, opacity: 0, x: 0, y: 100 } } = $$props;
|
||||
let { transitionOut = fly } = $$props;
|
||||
let { transitionOutParams = { duration: 150, opacity: 0, x: 0, y: 100 } } = $$props;
|
||||
let promptValue;
|
||||
const buttonTextDefaults = {
|
||||
buttonTextCancel,
|
||||
buttonTextConfirm,
|
||||
buttonTextSubmit
|
||||
};
|
||||
let currentComponent;
|
||||
const modalStore = getModalStore();
|
||||
$$unsubscribe_modalStore = subscribe(modalStore, (value) => $modalStore = value);
|
||||
modalStore.subscribe((modals) => {
|
||||
if (!modals.length)
|
||||
return;
|
||||
if (modals[0].type === "prompt")
|
||||
promptValue = modals[0].value;
|
||||
buttonTextCancel = modals[0].buttonTextCancel || buttonTextDefaults.buttonTextCancel;
|
||||
buttonTextConfirm = modals[0].buttonTextConfirm || buttonTextDefaults.buttonTextConfirm;
|
||||
buttonTextSubmit = modals[0].buttonTextSubmit || buttonTextDefaults.buttonTextSubmit;
|
||||
currentComponent = typeof modals[0].component === "string" ? components[modals[0].component] : modals[0].component;
|
||||
});
|
||||
function onClose() {
|
||||
if ($modalStore[0].response)
|
||||
$modalStore[0].response(false);
|
||||
modalStore.close();
|
||||
}
|
||||
if ($$props.position === void 0 && $$bindings.position && position !== void 0)
|
||||
$$bindings.position(position);
|
||||
if ($$props.components === void 0 && $$bindings.components && components !== void 0)
|
||||
$$bindings.components(components);
|
||||
if ($$props.background === void 0 && $$bindings.background && background !== void 0)
|
||||
$$bindings.background(background);
|
||||
if ($$props.width === void 0 && $$bindings.width && width !== void 0)
|
||||
$$bindings.width(width);
|
||||
if ($$props.height === void 0 && $$bindings.height && height !== void 0)
|
||||
$$bindings.height(height);
|
||||
if ($$props.padding === void 0 && $$bindings.padding && padding !== void 0)
|
||||
$$bindings.padding(padding);
|
||||
if ($$props.spacing === void 0 && $$bindings.spacing && spacing !== void 0)
|
||||
$$bindings.spacing(spacing);
|
||||
if ($$props.rounded === void 0 && $$bindings.rounded && rounded !== void 0)
|
||||
$$bindings.rounded(rounded);
|
||||
if ($$props.shadow === void 0 && $$bindings.shadow && shadow !== void 0)
|
||||
$$bindings.shadow(shadow);
|
||||
if ($$props.zIndex === void 0 && $$bindings.zIndex && zIndex !== void 0)
|
||||
$$bindings.zIndex(zIndex);
|
||||
if ($$props.buttonNeutral === void 0 && $$bindings.buttonNeutral && buttonNeutral !== void 0)
|
||||
$$bindings.buttonNeutral(buttonNeutral);
|
||||
if ($$props.buttonPositive === void 0 && $$bindings.buttonPositive && buttonPositive !== void 0)
|
||||
$$bindings.buttonPositive(buttonPositive);
|
||||
if ($$props.buttonTextCancel === void 0 && $$bindings.buttonTextCancel && buttonTextCancel !== void 0)
|
||||
$$bindings.buttonTextCancel(buttonTextCancel);
|
||||
if ($$props.buttonTextConfirm === void 0 && $$bindings.buttonTextConfirm && buttonTextConfirm !== void 0)
|
||||
$$bindings.buttonTextConfirm(buttonTextConfirm);
|
||||
if ($$props.buttonTextSubmit === void 0 && $$bindings.buttonTextSubmit && buttonTextSubmit !== void 0)
|
||||
$$bindings.buttonTextSubmit(buttonTextSubmit);
|
||||
if ($$props.regionBackdrop === void 0 && $$bindings.regionBackdrop && regionBackdrop !== void 0)
|
||||
$$bindings.regionBackdrop(regionBackdrop);
|
||||
if ($$props.regionHeader === void 0 && $$bindings.regionHeader && regionHeader !== void 0)
|
||||
$$bindings.regionHeader(regionHeader);
|
||||
if ($$props.regionBody === void 0 && $$bindings.regionBody && regionBody !== void 0)
|
||||
$$bindings.regionBody(regionBody);
|
||||
if ($$props.regionFooter === void 0 && $$bindings.regionFooter && regionFooter !== void 0)
|
||||
$$bindings.regionFooter(regionFooter);
|
||||
if ($$props.transitions === void 0 && $$bindings.transitions && transitions !== void 0)
|
||||
$$bindings.transitions(transitions);
|
||||
if ($$props.transitionIn === void 0 && $$bindings.transitionIn && transitionIn !== void 0)
|
||||
$$bindings.transitionIn(transitionIn);
|
||||
if ($$props.transitionInParams === void 0 && $$bindings.transitionInParams && transitionInParams !== void 0)
|
||||
$$bindings.transitionInParams(transitionInParams);
|
||||
if ($$props.transitionOut === void 0 && $$bindings.transitionOut && transitionOut !== void 0)
|
||||
$$bindings.transitionOut(transitionOut);
|
||||
if ($$props.transitionOutParams === void 0 && $$bindings.transitionOutParams && transitionOutParams !== void 0)
|
||||
$$bindings.transitionOutParams(transitionOutParams);
|
||||
cPosition = $modalStore[0]?.position ?? position;
|
||||
classesBackdrop = `${cBackdrop} ${regionBackdrop} ${zIndex} ${$$props.class ?? ""} ${$modalStore[0]?.backdropClasses ?? ""}`;
|
||||
classesTransitionLayer = `${cTransitionLayer} ${cPosition ?? ""}`;
|
||||
classesModal = `${cModal} ${background} ${width} ${height} ${padding} ${spacing} ${rounded} ${shadow} ${$modalStore[0]?.modalClasses ?? ""}`;
|
||||
parent = {
|
||||
position,
|
||||
// ---
|
||||
background,
|
||||
width,
|
||||
height,
|
||||
padding,
|
||||
spacing,
|
||||
rounded,
|
||||
shadow,
|
||||
// ---
|
||||
buttonNeutral,
|
||||
buttonPositive,
|
||||
buttonTextCancel,
|
||||
buttonTextConfirm,
|
||||
buttonTextSubmit,
|
||||
// ---
|
||||
regionBackdrop,
|
||||
regionHeader,
|
||||
regionBody,
|
||||
regionFooter,
|
||||
// ---
|
||||
onClose
|
||||
};
|
||||
$$unsubscribe_modalStore();
|
||||
$$unsubscribe_prefersReducedMotionStore();
|
||||
return ` ${$modalStore.length > 0 ? ` <div class="${"modal-backdrop " + escape(classesBackdrop, true)}" data-testid="modal-backdrop"> <div class="${"modal-transition " + escape(classesTransitionLayer, true)}">${$modalStore[0].type !== "component" ? ` <div class="${"modal " + escape(classesModal, true)}" data-testid="modal" role="dialog" aria-modal="true"${add_attribute("aria-label", $modalStore[0].title ?? "", 0)}> ${$modalStore[0]?.title ? `<header class="${"modal-header " + escape(regionHeader, true)}"><!-- HTML_TAG_START -->${$modalStore[0].title}<!-- HTML_TAG_END --></header>` : ``} ${$modalStore[0]?.body ? `<article class="${"modal-body " + escape(regionBody, true)}"><!-- HTML_TAG_START -->${$modalStore[0].body}<!-- HTML_TAG_END --></article>` : ``} ${$modalStore[0]?.image && typeof $modalStore[0]?.image === "string" ? `<img class="${"modal-image " + escape(cModalImage, true)}"${add_attribute("src", $modalStore[0]?.image, 0)} alt="Modal">` : ``} ${$modalStore[0].type === "alert" ? ` <footer class="${"modal-footer " + escape(regionFooter, true)}"><button type="button" class="${"btn " + escape(buttonNeutral, true)}">${escape(buttonTextCancel)}</button></footer>` : `${$modalStore[0].type === "confirm" ? ` <footer class="${"modal-footer " + escape(regionFooter, true)}"><button type="button" class="${"btn " + escape(buttonNeutral, true)}">${escape(buttonTextCancel)}</button> <button type="button" class="${"btn " + escape(buttonPositive, true)}">${escape(buttonTextConfirm)}</button></footer>` : `${$modalStore[0].type === "prompt" ? ` <form class="space-y-4"><input${spread(
|
||||
[
|
||||
{ class: "modal-prompt-input input" },
|
||||
{ name: "prompt" },
|
||||
{ type: "text" },
|
||||
escape_object($modalStore[0].valueAttr)
|
||||
],
|
||||
{}
|
||||
)}${add_attribute("value", promptValue, 0)}> <footer class="${"modal-footer " + escape(regionFooter, true)}"><button type="button" class="${"btn " + escape(buttonNeutral, true)}">${escape(buttonTextCancel)}</button> <button type="submit" class="${"btn " + escape(buttonPositive, true)}">${escape(buttonTextSubmit)}</button></footer></form>` : ``}`}`}</div>` : ` <div class="${"modal contents " + escape($modalStore[0]?.modalClasses ?? "", true)}" data-testid="modal-component" role="dialog" aria-modal="true"${add_attribute("aria-label", $modalStore[0].title ?? "", 0)}>${currentComponent?.slot ? `${validate_component(currentComponent?.ref || missing_component, "svelte:component").$$render($$result, Object.assign({}, currentComponent?.props, { parent }), {}, {
|
||||
default: () => {
|
||||
return `<!-- HTML_TAG_START -->${currentComponent?.slot}<!-- HTML_TAG_END -->`;
|
||||
}
|
||||
})}` : `${validate_component(currentComponent?.ref || missing_component, "svelte:component").$$render($$result, Object.assign({}, currentComponent?.props, { parent }), {}, {})}`}</div>`}</div></div>` : ``}`;
|
||||
});
|
||||
const CodeBlockModal = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||
let $modalStore, $$unsubscribe_modalStore;
|
||||
const modalStore = getModalStore();
|
||||
$$unsubscribe_modalStore = subscribe(modalStore, (value) => $modalStore = value);
|
||||
$$unsubscribe_modalStore();
|
||||
return `<div class="card p-4 w-[85%]">${validate_component(CodeBlock, "CodeBlock").$$render(
|
||||
$$result,
|
||||
{
|
||||
lineNumbers: true,
|
||||
language: $modalStore[0]?.meta?.language,
|
||||
code: $modalStore[0]?.meta?.code
|
||||
},
|
||||
{},
|
||||
{}
|
||||
)}</div>`;
|
||||
});
|
||||
const Layout = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||
initializeStores();
|
||||
const modalRegistry = {
|
||||
// Set a unique modal ID, then pass the component reference
|
||||
codeBlockModal: { ref: CodeBlockModal }
|
||||
};
|
||||
return `${validate_component(Modal, "Modal").$$render($$result, { components: modalRegistry }, {}, {})} ${``}`;
|
||||
});
|
||||
|
||||
export { Layout as default };
|
||||
//# sourceMappingURL=_layout.svelte-fdd7864c.js.map
|
||||
File diff suppressed because one or more lines are too long
@@ -1,38 +0,0 @@
|
||||
import { c as create_ssr_component, v as validate_component } from './ssr-3eccf1b3.js';
|
||||
import './ProgressBar.svelte_svelte_type_style_lang-7a3862c3.js';
|
||||
import { P as ProgressRadial } from './ProgressRadial-14a0db91.js';
|
||||
import './alasql.fs-ab2a2e02.js';
|
||||
import './index2-f081c4d4.js';
|
||||
import './_commonjsHelpers-2155838d.js';
|
||||
import 'fs';
|
||||
import 'path';
|
||||
import 'react-native-fs';
|
||||
import 'stream';
|
||||
import 'http';
|
||||
import 'url';
|
||||
import 'punycode';
|
||||
import 'https';
|
||||
import 'zlib';
|
||||
import 'react-native-fetch-blob';
|
||||
|
||||
const css = {
|
||||
code: ".progress-bar.svelte-sfm816{padding-top:calc(50vh - 4.5rem - 200px);padding-left:calc(50% - 4.5rem)}",
|
||||
map: null
|
||||
};
|
||||
const Page = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||
$$result.css.add(css);
|
||||
return `<main><div class="p-4"><div class="flex justify-center mt-4 flex-col align-middle"><div class="text-2xl py-2 text-center" data-svelte-h="svelte-1wbzyk2">Listing of identities that are inactive but still have access in sources</div> ${`<div class="progress-bar svelte-sfm816">${validate_component(ProgressRadial, "ProgressRadial").$$render(
|
||||
$$result,
|
||||
{
|
||||
stroke: 100,
|
||||
meter: "stroke-primary-500",
|
||||
track: "stroke-primary-500/30",
|
||||
class: "progress-bar"
|
||||
},
|
||||
{},
|
||||
{}
|
||||
)}</div>`}</div></div> </main>`;
|
||||
});
|
||||
|
||||
export { Page as default };
|
||||
//# sourceMappingURL=_page.svelte-002168fb.js.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"_page.svelte-002168fb.js","sources":["../../../../Sveltekit-App/.svelte-kit/adapter-node/entries/pages/home/identity-inactive-but-has-access/_page.svelte.js"],"sourcesContent":["import { c as create_ssr_component, v as validate_component } from \"../../../../chunks/ssr.js\";\nimport \"../../../../chunks/ProgressBar.svelte_svelte_type_style_lang.js\";\nimport { P as ProgressRadial } from \"../../../../chunks/ProgressRadial.js\";\nimport \"alasql\";\nconst _page_svelte_svelte_type_style_lang = \"\";\nconst css = {\n code: \".progress-bar.svelte-sfm816{padding-top:calc(50vh - 4.5rem - 200px);padding-left:calc(50% - 4.5rem)}\",\n map: null\n};\nconst Page = create_ssr_component(($$result, $$props, $$bindings, slots) => {\n $$result.css.add(css);\n return `<main><div class=\"p-4\"><div class=\"flex justify-center mt-4 flex-col align-middle\"><div class=\"text-2xl py-2 text-center\" data-svelte-h=\"svelte-1wbzyk2\">Listing of identities that are inactive but still have access in sources</div> ${`<div class=\"progress-bar svelte-sfm816\">${validate_component(ProgressRadial, \"ProgressRadial\").$$render(\n $$result,\n {\n stroke: 100,\n meter: \"stroke-primary-500\",\n track: \"stroke-primary-500/30\",\n class: \"progress-bar\"\n },\n {},\n {}\n )}</div>`}</div></div> </main>`;\n});\nexport {\n Page as default\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAKA,MAAM,GAAG,GAAG;AACZ,EAAE,IAAI,EAAE,sGAAsG;AAC9G,EAAE,GAAG,EAAE,IAAI;AACX,CAAC,CAAC;AACG,MAAC,IAAI,GAAG,oBAAoB,CAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,KAAK;AAC5E,EAAE,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACxB,EAAE,OAAO,CAAC,wOAAwO,EAAE,CAAC,wCAAwC,EAAE,kBAAkB,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC,QAAQ;AAC5V,IAAI,QAAQ;AACZ,IAAI;AACJ,MAAM,MAAM,EAAE,GAAG;AACjB,MAAM,KAAK,EAAE,oBAAoB;AACjC,MAAM,KAAK,EAAE,uBAAuB;AACpC,MAAM,KAAK,EAAE,cAAc;AAC3B,KAAK;AACL,IAAI,EAAE;AACN,IAAI,EAAE;AACN,GAAG,CAAC,MAAM,CAAC,CAAC,oBAAoB,CAAC,CAAC;AAClC,CAAC;;;;"}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user