diff --git a/src/app/pages/flame-graph/flame-graph.page.ts b/src/app/pages/flame-graph/flame-graph.page.ts index 143cde9..e3892d7 100644 --- a/src/app/pages/flame-graph/flame-graph.page.ts +++ b/src/app/pages/flame-graph/flame-graph.page.ts @@ -17,29 +17,28 @@ import {User} from "../../interfaces/user"; }) export class FlameGraphPage implements OnInit { - product:Product = {} - date:string = '' + product:Product = {} + date:string = '' - // @ts-ignore - config:FlameGraphConfig = {data} + // @ts-ignore + config:FlameGraphConfig = {data} + constructor( + private flameGraphService: FlameGraphService, + private loadingCtrl: LoadingController, + private router: Router, + private route: ActivatedRoute, + ) { } - constructor( - private flameGraphService: FlameGraphService, - private loadingCtrl: LoadingController, - private router: Router, - private route: ActivatedRoute, - ) { } - - ionViewWillEnter() { - this.getProductAndDateFromParams(); - this.getFlameGraph(); - } + ionViewWillEnter() { + this.getProductAndDateFromParams(); + this.getFlameGraph(); + } @@ -82,16 +81,29 @@ export class FlameGraphPage implements OnInit { //get the keys keys = Object.keys(data_to_transform); - console.log(keys); - - //TODO:Add data to the flame graph - + console.log('keys',keys); + const lenKeys = keys.length; + const valueKeys = 100/lenKeys; + + for (let serv in keys){ + const children:RawData[] = []; + for(let i = 0; i < data_to_transform[keys[serv]].length; i++){ + children[i] = this.transformToRawData(data_to_transform[keys[serv]][i]) + } + console.log('server1',children); + const rawData: RawData = { + label: keys[serv], + value: valueKeys, + children: [ + ...children + ] + }; + allRawData.push(rawData); - for (let serverKey in data_to_transform) { - const rawData = this.transformToRawData(data_to_transform[serverKey][0]); - allRawData.push(rawData); } + console.log('server',allRawData); + } @@ -109,7 +121,7 @@ export class FlameGraphPage implements OnInit { this.config = {data: allRawData}; - console.log(allRawData); + console.log("final object",allRawData); diff --git a/www/1101.6242a052ff804418.js b/www/1101.6242a052ff804418.js new file mode 100644 index 0000000..27c16f0 --- /dev/null +++ b/www/1101.6242a052ff804418.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1101],{1101:(x,G,i)=>{i.r(G),i.d(G,{FlameGraphPageModule:()=>U});var b=i(177),C=i(4341),h=i(7863),p=i(305),f=i(467),a=i(4438),M=i(6560),P=i(7616);let w=(()=>{var t;class c{constructor(e,o,u,n){this.flameGraphService=e,this.loadingCtrl=o,this.router=u,this.route=n,this.product={},this.date="",this.config={data:R}}ionViewWillEnter(){this.getProductAndDateFromParams(),this.getFlameGraph()}getProductAndDateFromParams(){this.route.queryParams.subscribe(e=>{this.product=JSON.parse(e.product),this.date=e.date}),console.log(this.product.productObjective),console.log(this.date)}getFlameGraph(){var e=this;return(0,f.A)(function*(){try{yield e.showLoading();const o=localStorage.getItem("user");if(!o)return;const n=JSON.parse(o).orgName;console.log(n);const r=yield e.flameGraphService.getFlameGraphByDate(n,e.product.productObjective,e.date);console.log(r);let l=[],s=[];for(let v in r){const d=null==r?void 0:r[v];s=Object.keys(d),console.log("keys",s);const j=100/s.length;for(let y in s){const F=[];for(let m=0;mn+r,0)/o.length}transformToRawData(e){const o=e.cpu_usage?this.average(e.cpu_usage):0,u=[];for(const n in e){if("id"===n||"cpu_usage"===n)continue;const r=e[n];if("object"!=typeof r||Array.isArray(r))"object"!=typeof r&&u.push({label:n,value:0,children:[]});else if("sub_services"===n)for(const l in r){const s=r[l],d={label:l,value:s.cpu_usage?this.average(s.cpu_usage):0,children:this.transformToRawData(s).children};u.push(d)}else{const s={label:n,value:r.cpu_usage?this.average(r.cpu_usage):0,children:this.transformToRawData(r).children};u.push(s)}}return{label:e.id,value:o,children:u}}}return(t=c).\u0275fac=function(e){return new(e||t)(a.rXU(M.x),a.rXU(h.Xi),a.rXU(p.Ix),a.rXU(p.nX))},t.\u0275cmp=a.VBU({type:t,selectors:[["app-flame-graph"]],decls:13,vars:3,consts:[[3,"translucent"],[3,"fullscreen"],["collapse","condense"],["size","large"],[1,"wrapper-responsive"],[3,"config"]],template:function(e,o){1&e&&(a.j41(0,"ion-header",0)(1,"ion-toolbar")(2,"ion-title"),a.EFF(3,"flame-graph"),a.k0s()()(),a.j41(4,"ion-content",1)(5,"ion-header",2)(6,"ion-toolbar")(7,"ion-title",3),a.EFF(8,"flame-graph"),a.k0s()()(),a.j41(9,"h3"),a.EFF(10," Responsive "),a.k0s(),a.j41(11,"div",4),a.nrm(12,"ngx-flamegraph",5),a.k0s()()),2&e&&(a.Y8G("translucent",!0),a.R7$(4),a.Y8G("fullscreen",!0),a.R7$(8),a.Y8G("config",o.config))},dependencies:[h.W9,h.eU,h.BC,h.ai,P.E],styles:[".wrapper-fixed-width[_ngcontent-%COMP%]{width:900px;margin:auto}.wrapper-responsive[_ngcontent-%COMP%]{width:100%;margin:auto}h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%]{text-align:center;-webkit-user-select:none;user-select:none}"]}),c})();const R=[{label:"root",value:100,children:[]}],D=[{path:"",component:w}];let O=(()=>{var t;class c{}return(t=c).\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.$C({type:t}),t.\u0275inj=a.G2t({imports:[p.iI.forChild(D),p.iI]}),c})(),U=(()=>{var t;class c{}return(t=c).\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.$C({type:t}),t.\u0275inj=a.G2t({imports:[b.MD,C.YN,h.bv,O,P.n]}),c})()}}]); \ No newline at end of file diff --git a/www/1101.c247be07eafde795.js b/www/1101.c247be07eafde795.js deleted file mode 100644 index fb64d3b..0000000 --- a/www/1101.c247be07eafde795.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1101],{1101:(U,v,s)=>{s.r(v),s.d(v,{FlameGraphPageModule:()=>R});var y=s(177),G=s(4341),h=s(7863),p=s(305),m=s(467),a=s(4438),P=s(6560),F=s(7616);let b=(()=>{var t;class i{constructor(e,o,c,n){this.flameGraphService=e,this.loadingCtrl=o,this.router=c,this.route=n,this.product={},this.date="",this.config={data:C}}ionViewWillEnter(){this.getProductAndDateFromParams(),this.getFlameGraph()}getProductAndDateFromParams(){this.route.queryParams.subscribe(e=>{this.product=JSON.parse(e.product),this.date=e.date}),console.log(this.product.productObjective),console.log(this.date)}getFlameGraph(){var e=this;return(0,m.A)(function*(){try{yield e.showLoading();const o=localStorage.getItem("user");if(!o)return;const n=JSON.parse(o).orgName;console.log(n);const r=yield e.flameGraphService.getFlameGraphByDate(n,e.product.productObjective,e.date);console.log(r);let l=[],u=[];for(let f in r){const d=null==r?void 0:r[f];u=Object.keys(d),console.log(u);for(let D in d){const O=e.transformToRawData(d[D][0]);l.push(O)}}l=[{label:"root",value:100,children:l}],e.config={data:l},console.log(l),yield e.hideLoading()}catch(o){console.log(o)}})()}showLoading(){var e=this;return(0,m.A)(function*(){yield(yield e.loadingCtrl.create({})).present()})()}hideLoading(){var e=this;return(0,m.A)(function*(){yield e.loadingCtrl.dismiss()})()}ngOnInit(){}average(e){const o=e.map(Number);return o.reduce((n,r)=>n+r,0)/o.length}transformToRawData(e){const o=e.cpu_usage?this.average(e.cpu_usage):0,c=[];for(const n in e){if("id"===n||"cpu_usage"===n)continue;const r=e[n];if("object"!=typeof r||Array.isArray(r))"object"!=typeof r&&c.push({label:n,value:0,children:[]});else if("sub_services"===n)for(const l in r){const u=r[l],d={label:l,value:u.cpu_usage?this.average(u.cpu_usage):0,children:this.transformToRawData(u).children};c.push(d)}else{const u={label:n,value:r.cpu_usage?this.average(r.cpu_usage):0,children:this.transformToRawData(r).children};c.push(u)}}return{label:e.id,value:o,children:c}}}return(t=i).\u0275fac=function(e){return new(e||t)(a.rXU(P.x),a.rXU(h.Xi),a.rXU(p.Ix),a.rXU(p.nX))},t.\u0275cmp=a.VBU({type:t,selectors:[["app-flame-graph"]],decls:13,vars:3,consts:[[3,"translucent"],[3,"fullscreen"],["collapse","condense"],["size","large"],[1,"wrapper-responsive"],[3,"config"]],template:function(e,o){1&e&&(a.j41(0,"ion-header",0)(1,"ion-toolbar")(2,"ion-title"),a.EFF(3,"flame-graph"),a.k0s()()(),a.j41(4,"ion-content",1)(5,"ion-header",2)(6,"ion-toolbar")(7,"ion-title",3),a.EFF(8,"flame-graph"),a.k0s()()(),a.j41(9,"h3"),a.EFF(10," Responsive "),a.k0s(),a.j41(11,"div",4),a.nrm(12,"ngx-flamegraph",5),a.k0s()()),2&e&&(a.Y8G("translucent",!0),a.R7$(4),a.Y8G("fullscreen",!0),a.R7$(8),a.Y8G("config",o.config))},dependencies:[h.W9,h.eU,h.BC,h.ai,F.E],styles:[".wrapper-fixed-width[_ngcontent-%COMP%]{width:900px;margin:auto}.wrapper-responsive[_ngcontent-%COMP%]{width:100%;margin:auto}h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%]{text-align:center;-webkit-user-select:none;user-select:none}"]}),i})();const C=[{label:"root",value:100,children:[]}],M=[{path:"",component:b}];let w=(()=>{var t;class i{}return(t=i).\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.$C({type:t}),t.\u0275inj=a.G2t({imports:[p.iI.forChild(M),p.iI]}),i})(),R=(()=>{var t;class i{}return(t=i).\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.$C({type:t}),t.\u0275inj=a.G2t({imports:[y.MD,G.YN,h.bv,w,F.n]}),i})()}}]); \ No newline at end of file diff --git a/www/index.html b/www/index.html index 446721b..05502dd 100644 --- a/www/index.html +++ b/www/index.html @@ -21,6 +21,6 @@ - + diff --git a/www/runtime.66b22c40f3f60e40.js b/www/runtime.973eb39b798a5889.js similarity index 98% rename from www/runtime.66b22c40f3f60e40.js rename to www/runtime.973eb39b798a5889.js index 0517ae4..eb66b6e 100644 --- a/www/runtime.66b22c40f3f60e40.js +++ b/www/runtime.973eb39b798a5889.js @@ -1 +1 @@ -(()=>{"use strict";var e,v={},g={};function f(e){var c=g[e];if(void 0!==c)return c.exports;var a=g[e]={exports:{}};return v[e].call(a.exports,a,a.exports,f),a.exports}f.m=v,e=[],f.O=(c,a,r,b)=>{if(!a){var t=1/0;for(d=0;d=b)&&Object.keys(f.O).every(p=>f.O[p](a[n]))?a.splice(n--,1):(l=!1,b0&&e[d-1][2]>b;d--)e[d]=e[d-1];e[d]=[a,r,b]},f.n=e=>{var c=e&&e.__esModule?()=>e.default:()=>e;return f.d(c,{a:c}),c},(()=>{var c,e=Object.getPrototypeOf?a=>Object.getPrototypeOf(a):a=>a.__proto__;f.t=function(a,r){if(1&r&&(a=this(a)),8&r||"object"==typeof a&&a&&(4&r&&a.__esModule||16&r&&"function"==typeof a.then))return a;var b=Object.create(null);f.r(b);var d={};c=c||[null,e({}),e([]),e(e)];for(var t=2&r&&a;"object"==typeof t&&!~c.indexOf(t);t=e(t))Object.getOwnPropertyNames(t).forEach(l=>d[l]=()=>a[l]);return d.default=()=>a,f.d(b,d),b}})(),f.d=(e,c)=>{for(var a in c)f.o(c,a)&&!f.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:c[a]})},f.f={},f.e=e=>Promise.all(Object.keys(f.f).reduce((c,a)=>(f.f[a](e,c),c),[])),f.u=e=>(({2076:"common",7278:"polyfills-dom",9329:"polyfills-core-js"}[e]||e)+"."+{246:"23bae9658c2419a4",441:"c8d135e5d56e5723",839:"4537c27e051b9484",964:"466b88054b5c618c",1049:"7ef232095c56e4df",1101:"c247be07eafde795",1102:"010dfe13f6ca7e15",1205:"faa9b4a189e3a0f4",1207:"963f6e282d286a1e",1293:"ee80f2d33790618d",1459:"32c41a59c0fd4cf1",1577:"f6f558490ff910b3",1581:"480004663f81650f",2051:"8dc23f3491505a39",2069:"0a86d46b8bc9af99",2075:"1971ba880d06cc30",2076:"732639cc5cfc2fec",2144:"5d46fa3641b801f2",2348:"12b471577685ffbe",2375:"efb0d99d1467ed67",2415:"dddee43f1c9b92e7",2560:"f34ba2c5e85b55c8",2839:"50e300f422f77687",2885:"d64fa10bd441cbc8",3162:"825364e1635b086f",3506:"899dcc5e5d913023",3511:"16739e7034875331",3814:"4f667f072e44b4e7",3825:"24edfec633e52faa",3935:"b51e9f52d3a7c15c",3998:"7d38839bb353ce4f",4171:"f5bc55c1acb0f5c1",4183:"0d54a4cc8cbc3a61",4348:"fd00493c5150e85d",4406:"03b087c2d77cb960",4463:"ce74c63a27a7a872",4591:"7a48c0cf9464e62b",4699:"01733b3942afbe92",4867:"17817bc208c2836c",5100:"659224ed1f94442c",5197:"cfc60de4c5213fec",5222:"9cbea5f62b0fb679",5712:"a9a2db8da6f1a8cd",5722:"33d819aa7598e390",5887:"708ea3877f30ffcd",5949:"2ed93c457aa1e9fb",6024:"3c02ab7fe82fedfe",6433:"26eeba8bb230b119",6521:"3c5b756783b6739a",6656:"78b0bb9a73d9c579",6688:"617c2a0e9b68bddb",6840:"fd32dada9c8ec44e",6927:"4b66cb28ea6f6659",7030:"f2a9bf080bedfc5b",7076:"2b7ea8b1f54f4458",7179:"80391eb100990080",7240:"680a87741a5535b1",7278:"bf542500b6fca113",7356:"911eacb1ce959b5e",7372:"4ea07cfe7eb821be",7428:"cb325b96b92ea4c2",7444:"c7c08b4b5584dff9",7720:"78509b154c08b472",7907:"d337367f4abf1b0a",7923:"e78a08b02767326e",8066:"67e76a5c3f71f306",8193:"476b12959c4b189d",8314:"52348a57ed623e38",8361:"3d466d853997fbb0",8477:"15dacf21c512c8d4",8533:"4067010f335e18c2",8584:"94ca33677cedf961",8805:"7a687270c4acd743",8814:"4175e28b98837400",8970:"402b7daea47854b9",9013:"b8cefd92ba4e66d6",9273:"16673f4c5278d1b8",9329:"c76198334f717402",9344:"2d668603b6130b28",9697:"57e559625e67bb53",9906:"87394c885655492d",9977:"948bf38bed890db4"}[e]+".js"),f.miniCssF=e=>{},f.o=(e,c)=>Object.prototype.hasOwnProperty.call(e,c),(()=>{var e={},c="app:";f.l=(a,r,b,d)=>{if(e[a])e[a].push(r);else{var t,l;if(void 0!==b)for(var n=document.getElementsByTagName("script"),i=0;i{t.onerror=t.onload=null,clearTimeout(u);var y=e[a];if(delete e[a],t.parentNode&&t.parentNode.removeChild(t),y&&y.forEach(_=>_(p)),m)return m(p)},u=setTimeout(s.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=s.bind(null,t.onerror),t.onload=s.bind(null,t.onload),l&&document.head.appendChild(t)}}})(),f.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;f.tt=()=>(void 0===e&&(e={createScriptURL:c=>c},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),f.tu=e=>f.tt().createScriptURL(e),f.p="",(()=>{var e={9121:0};f.f.j=(r,b)=>{var d=f.o(e,r)?e[r]:void 0;if(0!==d)if(d)b.push(d[2]);else if(9121!=r){var t=new Promise((o,s)=>d=e[r]=[o,s]);b.push(d[2]=t);var l=f.p+f.u(r),n=new Error;f.l(l,o=>{if(f.o(e,r)&&(0!==(d=e[r])&&(e[r]=void 0),d)){var s=o&&("load"===o.type?"missing":o.type),u=o&&o.target&&o.target.src;n.message="Loading chunk "+r+" failed.\n("+s+": "+u+")",n.name="ChunkLoadError",n.type=s,n.request=u,d[1](n)}},"chunk-"+r,r)}else e[r]=0},f.O.j=r=>0===e[r];var c=(r,b)=>{var n,i,[d,t,l]=b,o=0;if(d.some(u=>0!==e[u])){for(n in t)f.o(t,n)&&(f.m[n]=t[n]);if(l)var s=l(f)}for(r&&r(b);o{"use strict";var e,v={},g={};function f(e){var c=g[e];if(void 0!==c)return c.exports;var a=g[e]={exports:{}};return v[e].call(a.exports,a,a.exports,f),a.exports}f.m=v,e=[],f.O=(c,a,r,b)=>{if(!a){var t=1/0;for(d=0;d=b)&&Object.keys(f.O).every(p=>f.O[p](a[n]))?a.splice(n--,1):(l=!1,b0&&e[d-1][2]>b;d--)e[d]=e[d-1];e[d]=[a,r,b]},f.n=e=>{var c=e&&e.__esModule?()=>e.default:()=>e;return f.d(c,{a:c}),c},(()=>{var c,e=Object.getPrototypeOf?a=>Object.getPrototypeOf(a):a=>a.__proto__;f.t=function(a,r){if(1&r&&(a=this(a)),8&r||"object"==typeof a&&a&&(4&r&&a.__esModule||16&r&&"function"==typeof a.then))return a;var b=Object.create(null);f.r(b);var d={};c=c||[null,e({}),e([]),e(e)];for(var t=2&r&&a;"object"==typeof t&&!~c.indexOf(t);t=e(t))Object.getOwnPropertyNames(t).forEach(l=>d[l]=()=>a[l]);return d.default=()=>a,f.d(b,d),b}})(),f.d=(e,c)=>{for(var a in c)f.o(c,a)&&!f.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:c[a]})},f.f={},f.e=e=>Promise.all(Object.keys(f.f).reduce((c,a)=>(f.f[a](e,c),c),[])),f.u=e=>(({2076:"common",7278:"polyfills-dom",9329:"polyfills-core-js"}[e]||e)+"."+{246:"23bae9658c2419a4",441:"c8d135e5d56e5723",839:"4537c27e051b9484",964:"466b88054b5c618c",1049:"7ef232095c56e4df",1101:"6242a052ff804418",1102:"010dfe13f6ca7e15",1205:"faa9b4a189e3a0f4",1207:"963f6e282d286a1e",1293:"ee80f2d33790618d",1459:"32c41a59c0fd4cf1",1577:"f6f558490ff910b3",1581:"480004663f81650f",2051:"8dc23f3491505a39",2069:"0a86d46b8bc9af99",2075:"1971ba880d06cc30",2076:"732639cc5cfc2fec",2144:"5d46fa3641b801f2",2348:"12b471577685ffbe",2375:"efb0d99d1467ed67",2415:"dddee43f1c9b92e7",2560:"f34ba2c5e85b55c8",2839:"50e300f422f77687",2885:"d64fa10bd441cbc8",3162:"825364e1635b086f",3506:"899dcc5e5d913023",3511:"16739e7034875331",3814:"4f667f072e44b4e7",3825:"24edfec633e52faa",3935:"b51e9f52d3a7c15c",3998:"7d38839bb353ce4f",4171:"f5bc55c1acb0f5c1",4183:"0d54a4cc8cbc3a61",4348:"fd00493c5150e85d",4406:"03b087c2d77cb960",4463:"ce74c63a27a7a872",4591:"7a48c0cf9464e62b",4699:"01733b3942afbe92",4867:"17817bc208c2836c",5100:"659224ed1f94442c",5197:"cfc60de4c5213fec",5222:"9cbea5f62b0fb679",5712:"a9a2db8da6f1a8cd",5722:"33d819aa7598e390",5887:"708ea3877f30ffcd",5949:"2ed93c457aa1e9fb",6024:"3c02ab7fe82fedfe",6433:"26eeba8bb230b119",6521:"3c5b756783b6739a",6656:"78b0bb9a73d9c579",6688:"617c2a0e9b68bddb",6840:"fd32dada9c8ec44e",6927:"4b66cb28ea6f6659",7030:"f2a9bf080bedfc5b",7076:"2b7ea8b1f54f4458",7179:"80391eb100990080",7240:"680a87741a5535b1",7278:"bf542500b6fca113",7356:"911eacb1ce959b5e",7372:"4ea07cfe7eb821be",7428:"cb325b96b92ea4c2",7444:"c7c08b4b5584dff9",7720:"78509b154c08b472",7907:"d337367f4abf1b0a",7923:"e78a08b02767326e",8066:"67e76a5c3f71f306",8193:"476b12959c4b189d",8314:"52348a57ed623e38",8361:"3d466d853997fbb0",8477:"15dacf21c512c8d4",8533:"4067010f335e18c2",8584:"94ca33677cedf961",8805:"7a687270c4acd743",8814:"4175e28b98837400",8970:"402b7daea47854b9",9013:"b8cefd92ba4e66d6",9273:"16673f4c5278d1b8",9329:"c76198334f717402",9344:"2d668603b6130b28",9697:"57e559625e67bb53",9906:"87394c885655492d",9977:"948bf38bed890db4"}[e]+".js"),f.miniCssF=e=>{},f.o=(e,c)=>Object.prototype.hasOwnProperty.call(e,c),(()=>{var e={},c="app:";f.l=(a,r,b,d)=>{if(e[a])e[a].push(r);else{var t,l;if(void 0!==b)for(var n=document.getElementsByTagName("script"),i=0;i{t.onerror=t.onload=null,clearTimeout(u);var y=e[a];if(delete e[a],t.parentNode&&t.parentNode.removeChild(t),y&&y.forEach(_=>_(p)),m)return m(p)},u=setTimeout(s.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=s.bind(null,t.onerror),t.onload=s.bind(null,t.onload),l&&document.head.appendChild(t)}}})(),f.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;f.tt=()=>(void 0===e&&(e={createScriptURL:c=>c},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),f.tu=e=>f.tt().createScriptURL(e),f.p="",(()=>{var e={9121:0};f.f.j=(r,b)=>{var d=f.o(e,r)?e[r]:void 0;if(0!==d)if(d)b.push(d[2]);else if(9121!=r){var t=new Promise((o,s)=>d=e[r]=[o,s]);b.push(d[2]=t);var l=f.p+f.u(r),n=new Error;f.l(l,o=>{if(f.o(e,r)&&(0!==(d=e[r])&&(e[r]=void 0),d)){var s=o&&("load"===o.type?"missing":o.type),u=o&&o.target&&o.target.src;n.message="Loading chunk "+r+" failed.\n("+s+": "+u+")",n.name="ChunkLoadError",n.type=s,n.request=u,d[1](n)}},"chunk-"+r,r)}else e[r]=0},f.O.j=r=>0===e[r];var c=(r,b)=>{var n,i,[d,t,l]=b,o=0;if(d.some(u=>0!==e[u])){for(n in t)f.o(t,n)&&(f.m[n]=t[n]);if(l)var s=l(f)}for(r&&r(b);o