@fntio/infra-client
Version:
Self-hosted AWS access portal: credential vending, target-account trust, and grant-driven private networking as CDK stacks and constructs.
2 lines (1 loc) • 19.8 kB
JavaScript
import{a as O}from"./chunk-IKK5DQ3Z.js";import{a as B}from"./chunk-LEEL6MDA.js";import{a as q}from"./chunk-HUXCPIDO.js";import{a as Q}from"./chunk-XPF5YBGU.js";import{a as z}from"./chunk-XUEIITMC.js";import{v as Y}from"./chunk-Z2HQA5DO.js";import{a as J}from"./chunk-2DD7CZB4.js";import{a as j}from"./chunk-J7PZFXOE.js";import{a as X}from"./chunk-SYLZLLGS.js";import{d as S}from"./chunk-2SO4BVIT.js";import{a as V}from"./chunk-2BNLISUN.js";import{a as K,b as W}from"./chunk-KCJ5HNXP.js";import{c as H}from"./chunk-ZRDXKVPG.js";import{C as _,F as v,I as c,Kb as A,R as h,Rb as G,aa as L,g as y,h as F,k as g,m as M,qb as f,s as E}from"./chunk-FYA6QUPZ.js";import{a as p,b as l}from"./chunk-WFIHWVQO.js";var P=class t{http=c(A);listCatalog(){return this.http.get("/api/requests/catalog").pipe(g(e=>e.accounts))}listCatalogPage(e){return this.http.get("/api/requests/catalog",{params:W(e)})}listMine(){return this.http.get("/api/requests").pipe(g(e=>e.requests))}create(e,i,r,s){return this.http.post("/api/requests",{accountNumber:e,roleName:i,reason:r,durationHours:s}).pipe(g(n=>n.request))}listResourceCatalog(){return this.http.get("/api/requests/resource-catalog").pipe(g(e=>e.resources))}createResourceRequest(e,i,r){return this.http.post("/api/requests/resource",{resourceId:e,reason:i,durationHours:r}).pipe(g(s=>s.request))}markSeen(){return this.http.post("/api/requests/seen",{}).pipe(g(e=>e.cleared))}listAll(e,i={}){let r=[...e?[`status=${e}`]:[],...i.usage?["usage=1"]:[]].join("&"),s=r?`/api/admin/requests?${r}`:"/api/admin/requests";return this.http.get(s).pipe(g(n=>n.requests))}approve(e,i,r){return this.http.post(`/api/admin/requests/${encodeURIComponent(e)}/approve`,{note:i,durationHours:r}).pipe(g(s=>s.request))}deny(e,i){return this.http.post(`/api/admin/requests/${encodeURIComponent(e)}/deny`,{note:i}).pipe(g(r=>r.request))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})};var w=class t{http=c(A);revocationFeed(){return this.http.get("/api/notifications/revocations").pipe(g(e=>({notices:(e.notices??[]).map(i=>l(p({},i),{change:i.change??"REVOKED"}))})))}markRevocationsSeen(){return this.http.post("/api/notifications/revocations/seen",{}).pipe(g(e=>e.cleared))}prefs(){return this.http.get("/api/preferences/notifications")}savePrefs(e){return this.http.put("/api/preferences/notifications",e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})};var U={enabled:!0,kinds:{granted:!0,revoked:!0,decided:!0,expiring:!0,session:!0,requests:!0,reviews:!0}};var me=15*6e4,se="/login?reauth=1";function be(t,e){return typeof t=="number"&&e>=t-me&&e<t}var ve=3,k="/accounts?bell=1",$="/admin/requests";function T(t,e,i=Date.now()){let r=[];for(let s of t.changes)s.seen||r.push({kind:s.change==="GRANTED"?"granted":"revoked",notice:s});for(let s of t.myRequests)s.status!=="PENDING"&&!s.seen&&r.push({kind:"decided",request:s});for(let s of t.expiry.expiring)s.seen||r.push({kind:"expiring",target:"role",phase:"expiring",notice:s});for(let s of t.expiry.expired)s.seen||r.push({kind:"expiring",target:"role",phase:"expired",notice:s});for(let s of t.resourceExpiry.expiring)s.seen||r.push({kind:"expiring",target:"resource",phase:"expiring",notice:s});for(let s of t.resourceExpiry.expired)s.seen||r.push({kind:"expiring",target:"resource",phase:"expired",notice:s});for(let s of t.pluginExpiry.expiring)s.seen||r.push({kind:"expiring",target:"plugin",phase:"expiring",notice:s});for(let s of t.pluginExpiry.expired)s.seen||r.push({kind:"expiring",target:"plugin",phase:"expired",notice:s});for(let s of t.tokenExpiry.expiring)s.seen||r.push({kind:"expiring",target:"token",phase:"expiring",notice:s});for(let s of t.tokenExpiry.expired)s.seen||r.push({kind:"expiring",target:"token",phase:"expired",notice:s});if(be(t.sessionEndsAt,i)&&r.push({kind:"session",endsAt:t.sessionEndsAt}),e)for(let s of t.pending)r.push({kind:s.type==="REAPPROVAL"?"reviews":"requests",request:s});return r}function C(t,e){switch(t.kind){case"revoked":{let i=t.notice;return{kind:"revoked",key:`notice:${i.noticeId}`,title:"Access revoked",body:`${te(i,e.label)} \u2014 ${oe(i)}`,route:ie(i),urgent:!0}}case"granted":{let i=t.notice;return{kind:"granted",key:`notice:${i.noticeId}`,title:"Access granted",body:`${te(i,e.label)} \u2014 ${ae(i)}`,route:ie(i),urgent:!1}}case"decided":{let i=t.request,r=i.status==="APPROVED",s=i.type==="REAPPROVAL",n=D(i,e.label),o;if(r){let u=i.grantedDurationHours;o=s?`${n}. Your access continues.`:`${n}${u?` for ${u} h`:""}. Open to use it.`}else o=i.decisionNote?`${n}. "${i.decisionNote}"`:`${n}. You can request it again if you still need it.`;return{kind:"decided",key:`req:${i.requestId}:${i.status}`,title:`${s?"Review":"Request"} ${r?"approved":"denied"}`,body:o,route:Se(i),urgent:!r}}case"expiring":{let i=t.phase==="expired",r=t.notice.expiresAt;if(t.target==="token"){let a=xe(t.notice);return{kind:"expiring",key:`token:${t.notice.tokenId}:${r}:${t.phase}`,title:i?"Access token expired":"Access token expiring",body:i?`${a} expired at ${q(r,{sameDayTimeOnly:!0})}.`:`${a} expires ${S(r,e.now)}.`,route:Re,urgent:i}}let s,n,o,u=!0;switch(t.target){case"role":s=`${t.notice.roleName} in ${e.label(t.notice.accountNumber)}`,n=`role:${t.notice.accountNumber}#${t.notice.roleName}`,o=k;break;case"resource":s=`${t.notice.name} (network resource)`,n=`resource:${t.notice.resourceId}`,o="/resources?bell=1";break;case"plugin":s=Ne(t.notice),n=`plugin:${t.notice.pluginId}#${t.notice.accountNumber}#${t.notice.permission}`,o=Ee(t.notice),u=!1;break}return{kind:"expiring",key:`${n}:${r}:${t.phase}`,title:i?"Access expired":"Access expiring",body:i?`${s} expired at ${q(r,{sameDayTimeOnly:!0})}.${u?" Open to request it again.":""}`:`${s} expires ${S(r,e.now)}.${u?" Open to request more time.":""}`,route:o,urgent:i}}case"session":{let i=new Date(t.endsAt).toISOString();return{kind:"session",key:`session:${t.endsAt}`,title:"Session ending soon",body:`Your sign-in ends at ${q(i,{sameDayTimeOnly:!0})} (${S(i,e.now)}). Sign in again now to keep your credentials and network connection.`,route:se,urgent:!0}}case"requests":{let i=t.request,r=i.requestedDurationHours;return{kind:"requests",key:`pending:${i.requestId}`,title:"New request",body:`${re(i)} asked for ${D(i,e.label)} (${r?`${r} h`:"long-term"})`,route:$,urgent:!1}}case"reviews":{let i=t.request;return{kind:"reviews",key:`review:${i.requestId}`,title:"Review waiting",body:`${re(i)} \xB7 ${D(i,e.label)}`,route:$,urgent:!1}}}}var Re="/tokens";function xe(t){return`Access token \u201C${t.name}\u201D`}function Ne(t){return`${t.pluginName} \xB7 ${t.permission} \xB7 ${t.accountName||t.accountNumber}`}function Ee(t){return`/plugins/${encodeURIComponent(t.pluginId)}/${t.permission}`}var ke=500,ee="notice:";function R(t){if(!t.startsWith(ee))return"";let e=t.slice(ee.length),i=e.indexOf("#");return i<0?e:e.slice(0,i)}var I=class{constructor(e=[],i="",r=ke){this.cap=r;this.keys=new Set(e),this.through=i}cap;keys;through;has(e){if(this.keys.has(e))return!0;let i=R(e);return i!==""&&this.through!==""&&i<=this.through}add(e){this.keys.add(e)}snapshot(){let e=this.keys.size-this.cap;if(e>0){let r=[...this.keys].filter(n=>R(n)!=="").sort((n,o)=>R(n).localeCompare(R(o))).slice(0,e);for(let n of r)this.keys.delete(n);let s=r.at(-1);if(s&&R(s)>this.through&&(this.through=R(s)),e-=r.length,e>0)for(let n of[...this.keys].slice(0,e))this.keys.delete(n)}return{keys:[...this.keys],through:this.through}}};function ne(t,e,i,r){let s=r.now??Date.now(),n=[],o=new Set;for(let a of t){let d=C(a,r);i.has(d.key)||o.has(d.key)||(o.add(d.key),n.push(d))}let u=[];if(e.enabled){let a=new Map;for(let d of n)e.kinds[d.kind]!==!1&&a.set(d.kind,[...a.get(d.kind)??[],d]);for(let[d,b]of a)b.length>ve?u.push(Ae(d,b,s)):u.push(...b)}return{toasts:u,notifiedKeys:n.map(a=>a.key)}}function Ae(t,e,i){let r=e.length,s={granted:["Access granted",`${r} new access grants for you \u2014 see the activity bell.`,k],revoked:["Access revoked",`${r} of your access grants were revoked \u2014 see the activity bell.`,k],decided:["Requests decided",`${r} of your requests were decided \u2014 see the activity bell.`,k],expiring:["Access expiring",`${r} of your grants are expiring or expired \u2014 open the activity bell to request more time.`,k],session:["Session ending soon","Your sign-in is about to end \u2014 sign in again to keep working.",se],requests:["New requests",`${r} requests are waiting.`,$],reviews:["Reviews waiting",`${r} reviews are waiting.`,$]},[n,o,u]=s[t];return{kind:t,key:`${t}:summary:${i}`,title:n,body:o,route:u,urgent:e.some(a=>a.urgent),members:e.map(a=>a.key)}}function x(t){switch(t.kind){case"BUNDLE":return`${t.count??"Several"} access grants`;case"RESOURCE":return t.resourceName??"A network resource";case"SHARE":return t.resourceName??"A dev share";case"PLUGIN":return`${t.pluginName??t.pluginId??"A plugin"} (${t.permission})`;default:return t.roleName??"A role"}}function qe(t,e){switch(t.kind){case"BUNDLE":return t.groupName?`group \xB7 ${t.groupName}`:"several roles and resources";case"RESOURCE":return"network resource";case"SHARE":return"dev share";case"PLUGIN":return`plugin \xB7 ${e(t.accountNumber??"")}`;default:return e(t.accountNumber??"")}}function oe(t){switch(t.via){case"GROUP":return"removed with a group membership change.";case"REAPPROVAL":return"its periodic reapproval was denied or lapsed.";case"OWNER":return"the owner stopped sharing it.";case"CASCADE":return t.kind==="RESOURCE"?"the resource was removed from the catalog.":t.kind==="PLUGIN"?"the plugin or account was removed.":t.kind==="BUNDLE"?"they were removed from the catalog.":"the role was removed from the catalog.";default:return t.kind==="SHARE"?"an admin stopped the share.":"an admin revoked it."}}function ae(t){switch(t.via){case"GROUP":return"added with a group membership.";case"OWNER":return"shared with you.";default:return t.kind==="SHARE"?"shared with you.":t.kind==="PLUGIN"?"plugin permission granted.":"an admin granted it."}}function te(t,e){switch(t.kind){case"BUNDLE":return t.groupName?`${x(t)} via the group ${t.groupName}`:x(t);case"RESOURCE":return`${x(t)} (network resource)`;case"SHARE":return`${x(t)} (dev share)`;default:return`${x(t)} in ${e(t.accountNumber??"")}`}}function ie(t){switch(t.kind){case"RESOURCE":case"SHARE":return"/resources";case"PLUGIN":return pe(t.pluginId,t.permission);default:return"/accounts"}}function ce(t){switch(t.kind){case"ADMIN":return"admin status";case"SERVICE_USER":return"this service user";case"GROUP":{let e=t.group;return e?`the group ${e}`:"this group"}case"RESOURCE":return t.resourceName||"a resource";case"PLUGIN":return`${t.pluginId} (${t.permission})`;default:return t.roleName??""}}function ue(t,e){switch(t.kind){case"ADMIN":case"SERVICE_USER":case"GROUP":return"yearly review";case"RESOURCE":return"network resource";case"PLUGIN":return`plugin \xB7 ${e(t.accountNumber??"")}`;default:return e(t.accountNumber??"")}}function D(t,e){let i=ce(t);switch(t.kind){case"ADMIN":case"SERVICE_USER":case"GROUP":return i;case"RESOURCE":return`${i} (${ue(t,e)})`;default:return`${i} in ${e(t.accountNumber??"")}`}}function Se(t){switch(t.kind){case"RESOURCE":return"/resources";case"PLUGIN":return pe(t.pluginId,t.permission);default:return"/accounts"}}function pe(t,e){return t?`/plugins/${encodeURIComponent(t)}/${e??"user"}`:"/accounts"}function re(t){return t.group||t.serviceUser||t.email||"A user"}var Pe=6e4,we=1440*60*1e3,$e=10080*60*1e3,Ie=2160*60*60*1e3,Oe=365*24*60*60*1e3,Ue=600*1e3,De={expiring:[],expired:[]},Te={expiring:[],expired:[]},de={expiring:[],expired:[]},le={expiring:[],expired:[]},m=t=>t.pipe(E(()=>y(null))),ge="notifications:notified:",he="notifications:notifiedThrough:",fe=class t{api=c(P);accountsApi=c(j);resourcesApi=c(X);pluginsApi=c(z);tokensApi=c(J);config=c(K);notificationsApi=c(w);adminApi=c(V);names=c(Q);bridge=c(H);auth=c(Y);router=c(G);zone=c(L);myRequests=h(null);expiry=h(De);resourceExpiry=h(Te);pluginExpiry=h(de);tokenExpiry=h(le);accessChanges=h([]);pending=h(null);serviceUsers=h([]);serviceUsersFetchedAt=0;loading=h(!1);prefs=h(null);prefsRequested=!1;timer;bridgeWired=!1;unseenDecisions=f(()=>(this.myRequests()??[]).filter(e=>e.status!=="PENDING"&&!e.seen));myPending=f(()=>(this.myRequests()??[]).filter(e=>e.status==="PENDING"));unseenExpiry=f(()=>{let{expiring:e,expired:i}=this.expiry();return[...e,...i].filter(r=>!r.seen)});unseenResourceExpiry=f(()=>{let{expiring:e,expired:i}=this.resourceExpiry();return[...e,...i].filter(r=>!r.seen)});unseenPluginExpiry=f(()=>{let{expiring:e,expired:i}=this.pluginExpiry();return[...e,...i].filter(r=>!r.seen)});unseenTokenExpiry=f(()=>{let{expiring:e,expired:i}=this.tokenExpiry();return[...e,...i].filter(r=>!r.seen)});unseenAccessChanges=f(()=>this.accessChanges().filter(e=>!e.seen));count=f(()=>this.unseenDecisions().length+this.unseenExpiry().length+this.unseenResourceExpiry().length+this.unseenPluginExpiry().length+this.unseenTokenExpiry().length+this.unseenAccessChanges().length+(this.pending()??[]).length);serviceUserNags=f(()=>{let e=Date.now(),i=[];for(let r of this.serviceUsers()){let s=r.secretCreatedAt?e-Date.parse(r.secretCreatedAt):0,n=r.previous?.rotatedAt?Date.parse(r.previous.rotatedAt):0;r.previous&&e-n>we?i.push({su:r,tone:"amber",badge:"rotation unfinished",blurb:`The replaced secret still works \u2014 rotated ${O(r.previous.rotatedAt??r.createdAt)}. Remove it once the automation uses the new one.`,cta:"Finish rotation \u2192"}):!r.lastUsedAt&&e-Date.parse(r.secretCreatedAt??r.createdAt)>$e?i.push({su:r,tone:"gray",badge:"never used",blurb:"Never authenticated \u2014 an unused secret is still a standing admin credential.",cta:"Review \u2192"}):r.lastUsedAt&&e-Date.parse(r.lastUsedAt)>Ie?i.push({su:r,tone:"gray",badge:"idle 90+ days",blurb:`Last used ${O(r.lastUsedAt)} \u2014 if the automation is gone, delete its credential.`,cta:"Review \u2192"}):s>Oe&&i.push({su:r,tone:"amber",badge:"rotation due",blurb:"The secret is over a year old \u2014 rotate it and update the automation.",cta:"Rotate \u2192"})}return i});adminAttention=f(()=>(this.pending()??[]).length+this.serviceUserNags().length);load(){this.loading.set(!0);let e=!this.prefsRequested;this.prefsRequested=!0,M({mine:m(this.api.listMine()),expiry:m(this.accountsApi.expiryFeed()),resourceExpiry:m(this.resourcesApi.expiryFeed()),pluginExpiry:this.pluginsOn()?m(this.pluginsApi.expiryFeed()):y(de),tokenExpiry:B(this.config)?m(this.tokensApi.expiryFeed()):y(le),changes:m(this.notificationsApi.revocationFeed()),pending:this.auth.isAdmin()?m(this.api.listAll("PENDING")):y([]),serviceUsers:this.auth.isAdmin()&&Date.now()-this.serviceUsersFetchedAt>Ue?this.adminApi.listServiceUsers().pipe(E(()=>y(null))):y(null),prefs:e?this.notificationsApi.prefs().pipe(E(()=>y(null))):y(null)}).subscribe(({mine:i,expiry:r,resourceExpiry:s,pluginExpiry:n,tokenExpiry:o,changes:u,pending:a,serviceUsers:d,prefs:b})=>{let ye=[i,r,s,n,o,u,a].some(N=>N===null);i?this.myRequests.set(i):this.myRequests.update(N=>N??[]),r&&this.expiry.set(r),s&&this.resourceExpiry.set(s),n&&this.pluginExpiry.set(n),o&&this.tokenExpiry.set(o),u&&this.accessChanges.set(u.notices),a?this.pending.set(a):this.pending.update(N=>N??[]),d!==null&&(this.serviceUsersFetchedAt=Date.now(),this.serviceUsers.set(d)),b&&this.prefs.set(b),this.loading.set(!1),this.notify(),ye||this.reconcileToasts()})}pluginsOn(){try{return!!this.config.config.plugins?.enabled}catch{return!1}}startPolling(){this.load(),this.timer??=setInterval(()=>this.load(),Pe),this.bridgeWired||(this.bridgeWired=!0,this.bridge.onOpenRoute(e=>{typeof e=="string"&&e.startsWith("/")&&!e.startsWith("//")&&this.zone.run(()=>{this.router.navigateByUrl(e)})}),this.bridge.onWake(()=>{this.auth.refreshIfStale().then(e=>{e&&this.zone.run(()=>this.load())})}))}stopPolling(){clearInterval(this.timer),this.timer=void 0}ensurePrefs(){this.prefs()||this.notificationsApi.prefs().subscribe({next:e=>this.prefs.set(e),error:()=>{}})}savePrefs(e){let i=this.prefs(),r=i??U;return this.prefs.set({enabled:e.enabled??r.enabled,kinds:p(p({},r.kinds),e.kinds??{})}),this.notificationsApi.savePrefs(e).pipe(_(s=>{this.prefs.set(s),this.load()}),E(s=>(this.prefs.set(i),F(()=>s))))}markSeen(){this.unseenDecisions().length>0&&(this.myRequests.update(e=>(e??[]).map(i=>i.status==="PENDING"?i:l(p({},i),{seen:!0}))),this.api.markSeen().subscribe({error:()=>this.load()})),this.unseenExpiry().length>0&&(this.expiry.update(({expiring:e,expired:i})=>({expiring:e.map(r=>l(p({},r),{seen:!0})),expired:i.map(r=>l(p({},r),{seen:!0}))})),this.accountsApi.markExpirySeen().subscribe({error:()=>this.load()})),this.unseenResourceExpiry().length>0&&(this.resourceExpiry.update(({expiring:e,expired:i})=>({expiring:e.map(r=>l(p({},r),{seen:!0})),expired:i.map(r=>l(p({},r),{seen:!0}))})),this.resourcesApi.markExpirySeen().subscribe({error:()=>this.load()})),this.unseenPluginExpiry().length>0&&(this.pluginExpiry.update(({expiring:e,expired:i})=>({expiring:e.map(r=>l(p({},r),{seen:!0})),expired:i.map(r=>l(p({},r),{seen:!0}))})),this.pluginsApi.markExpirySeen().subscribe({error:()=>this.load()})),this.unseenTokenExpiry().length>0&&(this.tokenExpiry.update(({expiring:e,expired:i})=>({expiring:e.map(r=>l(p({},r),{seen:!0})),expired:i.map(r=>l(p({},r),{seen:!0}))})),this.tokensApi.markExpirySeen().subscribe({error:()=>this.load()})),this.unseenAccessChanges().length>0&&(this.accessChanges.update(e=>e.map(i=>l(p({},i),{seen:!0}))),this.notificationsApi.markRevocationsSeen().subscribe({error:()=>this.load()})),this.reconcileToasts()}shown=new Map;notified=null;notifiedSub="";feeds(){return{changes:this.accessChanges(),myRequests:this.myRequests()??[],expiry:this.expiry(),resourceExpiry:this.resourceExpiry(),pluginExpiry:this.pluginExpiry(),tokenExpiry:this.tokenExpiry(),pending:this.pending()??[],sessionEndsAt:this.auth.sessionEndsAt()}}mappingContext(){return{label:e=>this.names.label(e)}}notify(){let e=this.auth.userSub();if(!e)return;let i=this.notifiedFor(e),r=ne(T(this.feeds(),this.auth.isAdmin()),this.prefs()??U,i,this.mappingContext());if(r.notifiedKeys.length){for(let s of r.notifiedKeys)i.add(s);this.persistNotified(e,i)}for(let s of r.toasts)this.deliver(s)}deliver(e){let i=e.members;if(this.bridge.isDesktop){if(!this.bridge.notifySupported)return;this.bridge.notify(e.title,e.body,{route:e.route,key:e.key,silent:!e.urgent}).catch(()=>{}),this.shown.set(e.key,{handle:null,members:i});return}if(!(typeof Notification>"u"||Notification.permission!=="granted"))try{let r=new Notification(e.title,{body:e.body,tag:e.key,silent:!e.urgent});r.onclick=()=>{window.focus(),r.close(),this.zone.run(()=>{this.router.navigateByUrl(e.route)})},this.shown.set(e.key,{handle:r,members:i})}catch{}}reconcileToasts(){if(this.shown.size===0)return;let e=this.mappingContext(),i=new Set(T(this.feeds(),this.auth.isAdmin()).map(r=>C(r,e).key));for(let[r,s]of this.shown)(s.members?s.members.some(o=>i.has(o)):i.has(r))||(this.shown.delete(r),s.handle?s.handle.close():this.bridge.notifyCloseSupported&&this.bridge.notifyClose(r).catch(()=>{}))}notifiedFor(e){if(this.notified&&this.notifiedSub===e)return this.notified;this.notifiedSub=e;let i=[],r="";try{let s=localStorage.getItem(ge+e),n=s?JSON.parse(s):[];Array.isArray(n)&&(i=n.filter(o=>typeof o=="string")),r=localStorage.getItem(he+e)??""}catch{}return this.notified=new I(i,r),this.notified}persistNotified(e,i){let{keys:r,through:s}=i.snapshot();try{localStorage.setItem(ge+e,JSON.stringify(r)),s&&localStorage.setItem(he+e,s)}catch{}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})};export{P as a,U as b,be as c,Re as d,Ee as e,x as f,qe as g,oe as h,ae as i,ce as j,ue as k,fe as l};