diff --git a/www/4348.42c6e9d271a54882.js b/www/4348.42c6e9d271a54882.js deleted file mode 100644 index 8c23a28..0000000 --- a/www/4348.42c6e9d271a54882.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4348],{4348:(v,c,t)=>{t.r(c),t.d(c,{AiPageModule:()=>y});var p=t(177),d=t(4341),a=t(7863),g=t(305),h=t(467),e=t(4438),m=t(9032);const A=[{path:"",component:(()=>{var n;class i{constructor(){this.vertexAI=(0,e.WQX)(m.L9),this.model=(0,m.oc)(this.vertexAI,{model:"gemini-1.5-flash"}),this.chat=this.model.startChat({history:[{role:"user",parts:[{text:"Hola, desde ahora en adelante quiero que seas un modelo experto en Software Quality Assurance y analista de datos"}]},{role:"model",parts:[{text:"Soy un modelo experto en Software Quality Assurance, de igual forma tengo un masterado en anla\xedtica de datos \xbfEn qu\xe9 puedo ayudarte?"}]},{role:"user",parts:[{text:"Gracias, te voy a entregar un json con datos en unos minutos, necesito que lo analices y me des un resumen de los datos, este json contiene datos del uso de cpu, imagina que que es un json donde se monitorea al servidor, tu analisis tiene que ser detallado, si encuentras inconsistencias en los datos, por favor mencionalas, en caso de que creas que ocurrio un ataque cibernetico menciona el posible ataque, si crees que hay pocos datos para hacer un verdadero analisis mencionalo "}]},{role:"model",parts:[{text:"Claro, env\xedame el json y yo me encargo de analizarlo, desde ahora me voy a llamar DevProbeAI."}]}]})}ngOnInit(){}askQuestionNow(){var o=this;return(0,h.A)(function*(){const s=o.question,u=yield o.chat.sendMessage(s);o.answer=u.response.text()})()}}return(n=i).\u0275fac=function(o){return new(o||n)},n.\u0275cmp=e.VBU({type:n,selectors:[["app-ai"]],decls:17,vars:4,consts:[[3,"translucent"],[3,"fullscreen"],["collapse","condense"],["size","large"],["size","12","size-md","12","size-lg","12"],["label","Enter a question","placeholder","Enter a question","type","text","labelPlacement","stacked",1,"",3,"ngModelChange","ngModel"],["color","primary",1,"m-4",3,"click"],["label","Answer","placeholder","Answer","labelPlacement","stacked",1,"",3,"ngModelChange","ngModel"]],template:function(o,s){1&o&&(e.j41(0,"ion-header",0)(1,"ion-toolbar")(2,"ion-title"),e.EFF(3,"ai"),e.k0s()()(),e.j41(4,"ion-content",1)(5,"ion-header",2)(6,"ion-toolbar")(7,"ion-title",3),e.EFF(8,"ai"),e.k0s()()(),e.j41(9,"ion-grid")(10,"ion-row")(11,"ion-col",4)(12,"ion-input",5),e.mxI("ngModelChange",function(r){return e.DH7(s.question,r)||(s.question=r),r}),e.k0s(),e.j41(13,"ion-button",6),e.bIt("click",function(){return s.askQuestionNow()}),e.EFF(14,"Ask"),e.k0s()(),e.j41(15,"ion-col",4)(16,"ion-textarea",7),e.mxI("ngModelChange",function(r){return e.DH7(s.answer,r)||(s.answer=r),r}),e.k0s()()()()()),2&o&&(e.Y8G("translucent",!0),e.R7$(4),e.Y8G("fullscreen",!0),e.R7$(8),e.R50("ngModel",s.question),e.R7$(4),e.R50("ngModel",s.answer))},dependencies:[d.BC,d.vS,a.Jm,a.hU,a.W9,a.lO,a.eU,a.$w,a.ln,a.nc,a.BC,a.ai,a.Gw]}),i})()}];let f=(()=>{var n;class i{}return(n=i).\u0275fac=function(o){return new(o||n)},n.\u0275mod=e.$C({type:n}),n.\u0275inj=e.G2t({imports:[g.iI.forChild(A),g.iI]}),i})(),y=(()=>{var n;class i{}return(n=i).\u0275fac=function(o){return new(o||n)},n.\u0275mod=e.$C({type:n}),n.\u0275inj=e.G2t({imports:[p.MD,d.YN,a.bv,f]}),i})()}}]); \ No newline at end of file diff --git a/www/4348.fd00493c5150e85d.js b/www/4348.fd00493c5150e85d.js new file mode 100644 index 0000000..c15d330 --- /dev/null +++ b/www/4348.fd00493c5150e85d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4348],{4348:(M,g,a)=>{a.r(g),a.d(g,{AiPageModule:()=>f});var p=a(177),u=a(4341),o=a(7863),c=a(305),e=a(4438),d=a(9032);const A=[{path:"",component:(()=>{var n;class l{constructor(){this.vertexAI=(0,e.WQX)(d.L9)}ngOnInit(){}askQuestionNow(){(0,d.oc)(this.vertexAI,{model:"gemini-1.5-flash"}).generateContent(this.question).then(t=>{console.log(t.response.text()),this.answer=t.response.text()})}}return(n=l).\u0275fac=function(i){return new(i||n)},n.\u0275cmp=e.VBU({type:n,selectors:[["app-ai"]],decls:17,vars:4,consts:[[3,"translucent"],[3,"fullscreen"],["collapse","condense"],["size","large"],["size","12","size-md","12","size-lg","12"],["label","Enter a question","placeholder","Enter a question","type","text","labelPlacement","stacked",1,"",3,"ngModelChange","ngModel"],["color","primary",1,"m-4",3,"click"],["label","Answer","placeholder","Answer","labelPlacement","stacked",1,"",3,"ngModelChange","ngModel"]],template:function(i,t){1&i&&(e.j41(0,"ion-header",0)(1,"ion-toolbar")(2,"ion-title"),e.EFF(3,"ai"),e.k0s()()(),e.j41(4,"ion-content",1)(5,"ion-header",2)(6,"ion-toolbar")(7,"ion-title",3),e.EFF(8,"ai"),e.k0s()()(),e.j41(9,"ion-grid")(10,"ion-row")(11,"ion-col",4)(12,"ion-input",5),e.mxI("ngModelChange",function(s){return e.DH7(t.question,s)||(t.question=s),s}),e.k0s(),e.j41(13,"ion-button",6),e.bIt("click",function(){return t.askQuestionNow()}),e.EFF(14,"Ask"),e.k0s()(),e.j41(15,"ion-col",4)(16,"ion-textarea",7),e.mxI("ngModelChange",function(s){return e.DH7(t.answer,s)||(t.answer=s),s}),e.k0s()()()()()),2&i&&(e.Y8G("translucent",!0),e.R7$(4),e.Y8G("fullscreen",!0),e.R7$(8),e.R50("ngModel",t.question),e.R7$(4),e.R50("ngModel",t.answer))},dependencies:[u.BC,u.vS,o.Jm,o.hU,o.W9,o.lO,o.eU,o.$w,o.ln,o.nc,o.BC,o.ai,o.Gw]}),l})()}];let h=(()=>{var n;class l{}return(n=l).\u0275fac=function(i){return new(i||n)},n.\u0275mod=e.$C({type:n}),n.\u0275inj=e.G2t({imports:[c.iI.forChild(A),c.iI]}),l})(),f=(()=>{var n;class l{}return(n=l).\u0275fac=function(i){return new(i||n)},n.\u0275mod=e.$C({type:n}),n.\u0275inj=e.G2t({imports:[p.MD,u.YN,o.bv,h]}),l})()}}]); \ No newline at end of file diff --git a/www/index.html b/www/index.html index 2a2abf8..d1302af 100644 --- a/www/index.html +++ b/www/index.html @@ -21,6 +21,6 @@ - + diff --git a/www/runtime.8da776e4b6166cca.js b/www/runtime.26758b3f1970bd71.js similarity index 98% rename from www/runtime.8da776e4b6166cca.js rename to www/runtime.26758b3f1970bd71.js index d2259e0..4e50081 100644 --- a/www/runtime.8da776e4b6166cca.js +++ b/www/runtime.26758b3f1970bd71.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,d,b)=>{if(!a){var t=1/0;for(r=0;r=b)&&Object.keys(f.O).every(p=>f.O[p](a[n]))?a.splice(n--,1):(l=!1,b0&&e[r-1][2]>b;r--)e[r]=e[r-1];e[r]=[a,d,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,d){if(1&d&&(a=this(a)),8&d||"object"==typeof a&&a&&(4&d&&a.__esModule||16&d&&"function"==typeof a.then))return a;var b=Object.create(null);f.r(b);var r={};c=c||[null,e({}),e([]),e(e)];for(var t=2&d&&a;"object"==typeof t&&!~c.indexOf(t);t=e(t))Object.getOwnPropertyNames(t).forEach(l=>r[l]=()=>a[l]);return r.default=()=>a,f.d(b,r),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:"c0ec99911e665f60",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:"42c6e9d271a54882",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:"bba0e680962c40e2",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,d,b,r)=>{if(e[a])e[a].push(d);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=(d,b)=>{var r=f.o(e,d)?e[d]:void 0;if(0!==r)if(r)b.push(r[2]);else if(9121!=d){var t=new Promise((o,s)=>r=e[d]=[o,s]);b.push(r[2]=t);var l=f.p+f.u(d),n=new Error;f.l(l,o=>{if(f.o(e,d)&&(0!==(r=e[d])&&(e[d]=void 0),r)){var s=o&&("load"===o.type?"missing":o.type),u=o&&o.target&&o.target.src;n.message="Loading chunk "+d+" failed.\n("+s+": "+u+")",n.name="ChunkLoadError",n.type=s,n.request=u,r[1](n)}},"chunk-"+d,d)}else e[d]=0},f.O.j=d=>0===e[d];var c=(d,b)=>{var n,i,[r,t,l]=b,o=0;if(r.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(d&&d(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,d,b)=>{if(!a){var t=1/0;for(r=0;r=b)&&Object.keys(f.O).every(p=>f.O[p](a[n]))?a.splice(n--,1):(l=!1,b0&&e[r-1][2]>b;r--)e[r]=e[r-1];e[r]=[a,d,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,d){if(1&d&&(a=this(a)),8&d||"object"==typeof a&&a&&(4&d&&a.__esModule||16&d&&"function"==typeof a.then))return a;var b=Object.create(null);f.r(b);var r={};c=c||[null,e({}),e([]),e(e)];for(var t=2&d&&a;"object"==typeof t&&!~c.indexOf(t);t=e(t))Object.getOwnPropertyNames(t).forEach(l=>r[l]=()=>a[l]);return r.default=()=>a,f.d(b,r),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:"c0ec99911e665f60",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:"bba0e680962c40e2",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,d,b,r)=>{if(e[a])e[a].push(d);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=(d,b)=>{var r=f.o(e,d)?e[d]:void 0;if(0!==r)if(r)b.push(r[2]);else if(9121!=d){var t=new Promise((o,s)=>r=e[d]=[o,s]);b.push(r[2]=t);var l=f.p+f.u(d),n=new Error;f.l(l,o=>{if(f.o(e,d)&&(0!==(r=e[d])&&(e[d]=void 0),r)){var s=o&&("load"===o.type?"missing":o.type),u=o&&o.target&&o.target.src;n.message="Loading chunk "+d+" failed.\n("+s+": "+u+")",n.name="ChunkLoadError",n.type=s,n.request=u,r[1](n)}},"chunk-"+d,d)}else e[d]=0},f.O.j=d=>0===e[d];var c=(d,b)=>{var n,i,[r,t,l]=b,o=0;if(r.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(d&&d(b);o