-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain-SFQJKYL4.js
1 lines (1 loc) · 9.63 KB
/
main-SFQJKYL4.js
1
import{a as X}from"./chunk-4DZAKISB.js";import"./chunk-7GEWEY44.js";import"./chunk-7E4KALHZ.js";import"./chunk-W625KHT5.js";import"./chunk-655SYXLQ.js";import"./chunk-NDAQC43D.js";import"./chunk-NMYJD6OP.js";import"./chunk-B43CU5JX.js";import"./chunk-TQEIIVVC.js";import"./chunk-LF5XB4YN.js";import"./chunk-T4WK6ZIE.js";import"./chunk-F7XBNY6P.js";import"./chunk-VLESUBHY.js";import"./chunk-AJPISUXH.js";import{y as v}from"./chunk-TL3SOKZG.js";import"./chunk-2UOGX6KS.js";import{c as L,d as z,e as G,f as H,g as V,h as q,i as $,k as W}from"./chunk-FB7CDEED.js";import{$a as f,Aa as w,Ba as E,Ca as O,Ea as F,Fa as B,J as S,L as A,Pa as d,R as I,Ra as U,Rb as R,V as h,Xb as D,Y as M,Za as l,_a as c,cc as j,db as m,hc as y,mb as C,na as P,nb as k,ta as T,ya as u,yb as g,za as p}from"./chunk-XIWENJHJ.js";import{i as N}from"./chunk-BL3FZZIZ.js";var Y=[{path:"agentics",loadChildren:()=>import("./chunk-GARC3YUX.js").then(r=>r.agenticsRoutingModule)},{path:"plans",loadChildren:()=>import("./chunk-C7QGVFND.js").then(r=>r.plansRoutingModule)},{path:"projects",loadChildren:()=>import("./chunk-PYQ7R7GE.js").then(r=>r.projectsRoutingModule)},{path:"groups",loadChildren:()=>import("./chunk-RR4LT6HK.js").then(r=>r.groupsRoutingModule)},{path:"account",loadComponent:()=>import("./chunk-3PTYLYLE.js").then(r=>r.AccountPage)},{path:"support",loadComponent:()=>import("./chunk-YC4BH3QV.js").then(r=>r.SupportPage)},{path:"login",loadComponent:()=>import("./chunk-NJ3DADO7.js").then(r=>r.LoginPage)},{path:"signup",loadComponent:()=>import("./chunk-U3BA7ZTQ.js").then(r=>r.SignupPage)},{path:"testfour",loadComponent:()=>import("./chunk-IB43PNHG.js").then(r=>r.TestFourPage)},{path:"mermaid",loadComponent:()=>import("./chunk-K2ZX3IY5.js").then(r=>r.MermaidSample)},{path:"raphael",loadComponent:()=>import("./chunk-3WNVTYEU.js").then(r=>r.HomePaper)},{path:"",redirectTo:"agents",pathMatch:"full"}];var re="@",ne=(()=>{let e=class e{constructor(t,n,i,a,s){this.doc=t,this.delegate=n,this.zone=i,this.animationType=a,this.moduleImpl=s,this._rendererFactoryPromise=null,this.scheduler=I(E,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){return(this.moduleImpl??import("./chunk-YFLQNSPD.js").then(n=>n)).catch(n=>{throw new S(5300,!1)}).then(({\u0275createEngine:n,\u0275AnimationRendererFactory:i})=>{this._engine=n(this.animationType,this.doc);let a=new i(this.delegate,this._engine,this.zone);return this.delegate=a,a})}createRenderer(t,n){let i=this.delegate.createRenderer(t,n);if(i.\u0275type===0)return i;typeof i.throwOnSyntheticProps=="boolean"&&(i.throwOnSyntheticProps=!1);let a=new b(i);return n?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(s=>{let te=s.createRenderer(t,n);a.use(te),this.scheduler?.notify(9)}).catch(s=>{a.use(i)}),a}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}};e.\u0275fac=function(n){w()},e.\u0275prov=A({token:e,factory:e.\u0275fac});let r=e;return r})(),b=class{constructor(e){this.delegate=e,this.replay=[],this.\u0275type=1}use(e){if(this.delegate=e,this.replay!==null){for(let o of this.replay)o(e);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(e,o){return this.delegate.createElement(e,o)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}get destroyNode(){return this.delegate.destroyNode}appendChild(e,o){this.delegate.appendChild(e,o)}insertBefore(e,o,t,n){this.delegate.insertBefore(e,o,t,n)}removeChild(e,o,t){this.delegate.removeChild(e,o,t)}selectRootElement(e,o){return this.delegate.selectRootElement(e,o)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,o,t,n){this.delegate.setAttribute(e,o,t,n)}removeAttribute(e,o,t){this.delegate.removeAttribute(e,o,t)}addClass(e,o){this.delegate.addClass(e,o)}removeClass(e,o){this.delegate.removeClass(e,o)}setStyle(e,o,t,n){this.delegate.setStyle(e,o,t,n)}removeStyle(e,o,t){this.delegate.removeStyle(e,o,t)}setProperty(e,o,t){this.shouldReplay(o)&&this.replay.push(n=>n.setProperty(e,o,t)),this.delegate.setProperty(e,o,t)}setValue(e,o){this.delegate.setValue(e,o)}listen(e,o,t){return this.shouldReplay(o)&&this.replay.push(n=>n.listen(e,o,t)),this.delegate.listen(e,o,t)}shouldReplay(e){return this.replay!==null&&e.startsWith(re)}};function Z(r="animations"){return F("NgAsyncAnimations"),M([{provide:O,useFactory:(e,o,t)=>new ne(e,o,t,r),deps:[D,G,B]},{provide:T,useValue:r==="noop"?"NoopAnimations":"BrowserAnimations"}])}var ie=(r,e)=>{let t=r.clone({url:`https://localhost:55012/${r.url}`});return e(t)},J={providers:[W(Y),X({mode:"md"}),Z(),L(z([ie]))]};var Q=(()=>{let e=class e{get currentRoute(){return this._currentRoute}set currentRoute(t){this._currentRoute=t}constructor(t){this.store=t,this.routeName="",this.icon="",this.title="",this.content="",this._currentRoute="",this.onClicked=new P}ngOnInit(){}onClick(){this.onClicked.emit(this.routeName)}};e.\u0275fac=function(n){return new(n||e)(p(v))},e.\u0275cmp=h({type:e,selectors:[["nav-item"]],inputs:{routeName:"routeName",icon:"icon",title:"title",content:"content",currentRoute:"currentRoute"},outputs:{onClicked:"onClicked"},standalone:!0,features:[g],decls:7,vars:5,consts:[[1,"routerlink",3,"click","title"],[1,"iconarea"],[1,"bigger"],[1,"router-title"],[1,"line"]],template:function(n,i){n&1&&(l(0,"button",0),m("click",function(){return i.onClick()}),l(1,"div",1)(2,"span",2),C(3),c()(),l(4,"div",3),C(5),c(),f(6,"div",4),c()),n&2&&(U("active",i.store.state.screenName===i.routeName),d("title",i.title),u(3),k(i.icon),u(2),k(i.content))}});let r=e;return r})();var x=(()=>{let e=class e{constructor(t,n,i){this.router=t,this.route=n,this.store=i,this.isLoggedIn=!1,this.currentRoute="HOME",R(()=>{}),R(()=>{this.store.state.screenName&&(this.currentRoute=this.store.state.screenName)})}ngOnInit(){if(!this.isLoggedIn)var t=window.location.href,n=new URL(t),i=n.pathname,a=i.split("/")}changeRoute(t){var n=t;switch(this.store.state.screenName=n,this.currentRoute=t,n){case"LOGOUT":this.router.navigateByUrl("/login");break;case"ACCOUNT":this.router.navigateByUrl("/accounts");break;case"HOME":this.router.navigateByUrl("/");break;case"agentics":this.router.navigateByUrl("/agentics");break;case"plans":this.router.navigateByUrl("/plans");break;case"projects":this.router.navigateByUrl("/projects");break;case"SETTINGS":this.router.navigateByUrl("/groups");break;case"MOVIE":this.store.state.isPhoneActive=!this.store.state.isPhoneActive;break;default:break}}cycleThemes(){return N(this,null,function*(){var t="";switch(this.store.currentState().theme){case"dark":t="dark1";break;case"dark1":t="dark2";break;case"dark2":t="light";break;case"light":t="light1";break;case"light1":t="light2";break;case"light2":t="dark";break;default:t="dark";break}this.store.currentState().theme=t,this.store.currentState().isDirty=!0,yield this.store.updateCurrentState()})}togglePhone(t){this.store.state.isPhoneActive=!this.store.state.isPhoneActive}};e.\u0275fac=function(n){return new(n||e)(p($),p(V),p(v))},e.\u0275cmp=h({type:e,selectors:[["nav-bar"]],standalone:!0,features:[g],decls:8,vars:23,consts:[[1,"navbar","glass",3,"dblclick"],[1,"auth"],[3,"onClicked","icon","title","routeName","currentRoute"],[1,"pages"],[3,"onClicked","routeName","icon","content","title","currentRoute"]],template:function(n,i){n&1&&(l(0,"div",0),m("dblclick",function(){return i.cycleThemes()}),l(1,"div",1)(2,"nav-item",2),m("onClicked",function(s){return i.changeRoute(s)}),c(),l(3,"nav-item",2),m("onClicked",function(s){return i.changeRoute(s)}),c()(),l(4,"div",3)(5,"nav-item",4),m("onClicked",function(s){return i.changeRoute(s)}),c(),l(6,"nav-item",4),m("onClicked",function(s){return i.changeRoute(s)}),c(),l(7,"nav-item",4),m("onClicked",function(s){return i.changeRoute(s)}),c()()()),n&2&&(u(2),d("icon","account_circle")("title",i.store.state.userName)("routeName","ACCOUNT")("currentRoute",i.currentRoute),u(),d("icon","logout")("title","Log out")("routeName","LOGOUT")("currentRoute",i.currentRoute),u(2),d("routeName","agentics")("icon","workspaces")("content","AGENTS")("title","Maintain a library of frequently used Statements you want your LLM to perform")("currentRoute",i.currentRoute),u(),d("routeName","plans")("icon","category")("content","PLANS")("title","Maintain a Library of Plans, which represent a structured sequence of actions or steps designed to achieve a specific goal")("currentRoute",i.currentRoute),u(),d("routeName","projects")("icon","app_shortcut")("content","APPS")("title","Apps")("currentRoute",i.currentRoute))},dependencies:[y,Q]});let r=e;return r})();var ee=(()=>{let e=class e{constructor(t){this.store=t}};e.\u0275fac=function(n){return new(n||e)(p(v))},e.\u0275cmp=h({type:e,selectors:[["app-root"]],standalone:!0,features:[g],decls:5,vars:1,consts:[[1,"shell","bg",3,"ngClass"],[1,"leftNav"],[1,"main"]],template:function(n,i){n&1&&(l(0,"div",0)(1,"div",1),f(2,"nav-bar"),c(),l(3,"div",2),f(4,"router-outlet"),c()()),n&2&&d("ngClass",i.store.currentState().theme?i.store.currentState().theme:"dark")},dependencies:[y,j,q,x],styles:[".bg[_ngcontent-%COMP%]{--diamond-size: 6px;--diamond-color1: var(--secondary-color);--diamond-color2: var(--tertiary-color);background-image:linear-gradient(41deg,var(--diamond-color2) 5%,transparent 5%,transparent 5%,var(--diamond-color2) 95%),linear-gradient(137deg,var(--diamond-color2) 25%,transparent 25%,transparent 75%,var(--diamond-color2) 75%);background-size:var(--diamond-size) var(--diamond-size);background-color:var(--primary-color);color:var(--text-color);height:100%;width:100%}"]});let r=e;return r})();H(ee,J).catch(r=>console.error(r));