@camidevv/mid-ai 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,105 +4,105 @@ MID AI is a project created from the need to have a tool that would allow me to
4
4
 
5
5
  Descripción
6
6
  -----------
7
- MID AI es una biblioteca/paquete pensada para ofrecer una API de acceso a modelos de inteligencia artificial de forma rápida y práctica para proyectos académicos, prototipos y proyectos personales de pequeña escala. Su objetivo es minimizar la fricción: sin registros obligatorios, sin necesidad de asociar tarjetas de crédito para empezar a probar (modo básico).
7
+ What MID AI does is basically receive a request with an array of messages, and then iterate over a list of artificial intelligence services (Cerebras, Deepseek, Gemini, Groq, Open Router, etc.) until one of them can answer the user’s question or request.
8
8
 
9
9
  Principales características
10
10
  ---------------------------
11
- - Inicio rápido: puedes usar el paquete con una configuración mínima.
12
- - Modo sin claves API: si solo necesitas hasta 15 peticiones por minuto puedes no proporcionar claves.
13
- - Soporte para múltiples proveedores de modelos (ver lista abajo).
14
- - Configuración por variables de entorno para añadir tus credenciales y aumentar límites.
15
- - Diseño pensado para prototipos y uso académico/personal.
11
+ - Quick Start: you can use the package with minimal configuration.
12
+ - No API keys mode: if you only need up to 15 requests per minute you can not provide keys.
13
+ - Support for multiple model providers (see list below).
14
+ - Configuration by environment variables to add your credentials and increase limits.
15
+ - Design designed for prototypes and academic/personal use.
16
16
 
17
- Instalación
17
+ Installation
18
18
  ----------
19
- Instala desde npm:
19
+ Install from npm:
20
20
 
21
- - Pública:
22
- - `npm install @camidevv/mid-ai`
23
- - Desarrollo/local:
24
- - `npm link` (si estás desarrollando localmente)
21
+ - Public:
22
+ - npm install @camidevv/mid-ai
23
+ - Development/ local:
24
+ - «npm link» (if you are developing locally)
25
25
 
26
- Uso rápido
26
+ Quick use
27
27
  ----------
28
- 1. Importa el cliente desde el paquete (ejemplo genérico):
29
- - `import { MidAI } from '@camidevv/mid-ai'`
28
+ 1. Import client from package (generic example):
29
+ - 'import { MidAI } from '@camidevv/mid-ai'
30
+
31
+ 2. Single call (keyless mode, up to 15 requests/minute):
32
+ - Create the client without credentials and make basic requests to models available in free mode.
30
33
 
31
- 2. Llamada simple (modo sin claves, hasta 15 peticiones/minuto):
32
- - Crea el cliente sin credenciales y haz peticiones básicas a los modelos disponibles en el modo gratuito.
33
34
 
34
- ejemplo:
35
35
  ```javascript
36
36
  import { MidAI } from '@camidevv/mid-ai';
37
37
  const midAI = new MidAI({});
38
38
 
39
39
 
40
40
  (async () => {
41
- const response = await midAI.chat("¿Qué día es hoy?");
41
+ const response = await midAI.chat("What's the date today?");
42
42
  for await (const chunk of response) {
43
43
  console.log(chunk);
44
44
  }
45
45
  })();
46
46
 
47
47
  //[OUTPUT]
48
- // Hoy es 29 de noviembre de 2023. ¿En qué puedo ayudarte?
48
+ // Today is November 29, 2023. How can I help you?
49
49
 
50
50
  ```
51
51
 
52
52
 
53
53
 
54
- Limitaciones y claves API
54
+ Limitations and API keys
55
55
  -------------------------
56
- - Límite por defecto (sin proporcionar claves): 15 peticiones por minuto.
57
- - Si tu caso de uso solo requiere esta tasa, no necesitas configurar ni proporcionar claves API.
58
- - Si necesitas más capacidad y/o acceso a modelos adicionales, debes proporcionar claves API de los proveedores que quieras usar.
59
- - Es altamente recomendable proporcionar tus propias claves/credenciales personales para cada proveedor porque:
60
- - Te permiten acceder a mayores cuotas y a modelos adicionales.
61
- - Evitan la dependencia de tokens compartidos o limitados por el paquete.
62
- - Recomendación concreta: el `token personal de GitHub` (GitHub Personal Access Token) es uno de los que más modelos puede proporcionar al integrarse con ciertos gateways que usan credenciales de GitHub para desbloquear modelos. Si vas a añadir una sola credencial, esta suele ser la más útil.
63
- - Google Gemini suele ofrecer muchas peticiones y modelos si se configura correctamente (consulta la documentación de Google para detalles sobre cuotas y permisos).
64
-
65
- Configuración de proveedores
56
+ - Default limit (no keys provided): 15 requests per minute.
57
+ - If your use case only requires this rate, you do not need to configure or provide API keys.
58
+ - If you need more capacity and/or access to additional models, you must provide API keys from the providers you want to use.
59
+ - It is highly recommended to provide your own personal keys/credentials for each provider because:
60
+ - They allow you to access higher quotas and additional models.
61
+ - Avoid dependency on shared or package-limited tokens.
62
+ - Concrete recommendation: the GitHub personal token (GitHub Personal Access Token) is one of the most models you can provide by integrating with certain gateways that use GitHub credentials to unlock models. If you are adding a single credential, this is usually the most useful one.
63
+ - Google Gemini usually offers many requests and models if configured correctly (see the Google documentation for details on quotas and permissions).
64
+
65
+ Configuration of suppliers
66
66
  ----------------------------
67
- Puedes configurar proveedores mediante variables de entorno. Ejemplos de nombres de variables sugeridos (ajusta a tus necesidades o a la configuración interna del paquete):
67
+ You can configure providers using environment variables. Examples of suggested variable names (adjust to your needs or the internal package configuration):
68
68
 
69
- - `MIDAI_GITHUB_TOKEN` Token personal de GitHub (recomendado si quieres muchos modelos).
70
- - `MIDAI_GEMINI_KEY` Credenciales para Google Gemini (si corresponde).
71
- - `CEREBRAS_API_KEY` Credencial para Cerebras.
72
- - `OPENROUTER_API_KEY` Credencial para OpenRouter.
73
- - `AISTUDIO_API_KEY` Credencial para AI Studio (Google).
74
- - `GROQ_API_KEY` Credencial para Groq.
69
+ - «MIDAI_GITHUB_TOKEN` - GitHub personal token (recommended if you want many models).
70
+ - «MIDAI_GEMINI_KEY» - Google Gemini credentials (if applicable).
71
+ - «CEREBRAS_API_KEY» - Credential for Cerebras.
72
+ - OPENROUTER_API_KEY’' - Credential for OpenRouter.
73
+ - «AISTUDIO_API_KEY» - Credential for AI Studio (Google).
74
+ - «GROQ_API_KEY» - Credential for Groq.
75
75
 
76
- Manejar múltiples proveedores
76
+ Manage multiple suppliers
77
77
  -----------------------------
78
- - El paquete intentará seleccionar el mejor proveedor disponible según la configuración y las claves provistas.
79
- - Si no hay claves, se activará el modo limitado (15 rpm).
80
- - Si has proporcionado varias claves, el paquete balanceará/seleccionará según disponibilidad y políticas internas (ver configuración avanzada en la documentación del paquete o en el código fuente).
78
+ - The package will try to select the best available provider based on the configuration and keys provided.
79
+ - If there are no keys, the limited mode (15 rpm) will be activated.
80
+ - If you have provided multiple keys, the package will balance/select according to availability and internal policies (see advanced configuration in the package documentation or source code).
81
81
 
82
- Proveedores y enlaces
82
+ Suppliers and links
83
83
  ---------------------
84
- A continuación algunos de los proveedores mencionados y sus páginas oficiales:
84
+ Here are some of the mentioned suppliers and their official pages:
85
85
 
86
- - Cerebras: https://www.cerebras.ai/
86
+ - Brain: https://www.cerebras.ai/
87
87
  - OpenRouter: https://openrouter.ai/
88
88
  - AI Studio (Google Gemini): https://aistudio.google.com/
89
89
  - Groq: https://groq.com/
90
90
 
91
- Buenas prácticas
91
+ Good practice
92
92
  ----------------
93
- - Para desarrollos locales y pruebas, usa el modo sin claves hasta 15 rpm para evitar exponer credenciales.
94
- - Para integraciones serias y despliegues, añade credenciales personales por proveedor y revisa límites de cuota y facturación de cada servicio.
95
- - Mantén tus tokens en variables de entorno seguras, no los incluyas en el código ni en repositorios públicos.
96
- - Revisa las políticas de uso de cada proveedor (limites, términos y privacidad).
93
+ - For local development and testing, use keyless mode up to 15 rpm to avoid exposing credentials.
94
+ - For serious integrations and deployments, add personal credentials by provider and review fee limits and billing for each service.
95
+ - Keep your tokens in secure environment variables, do not include them in code or public repositories.
96
+ - Review each provider’s usage policies (limits, terms and privacy).
97
97
 
98
- Licencia
98
+ License
99
99
  --------
100
- MIT consulta el archivo `LICENSE` del repositorio para más detalles.
100
+ MIT - refer to the repository’s 'LICENSE' file for details.
101
101
 
102
- Contacto
102
+ Contact
103
103
  --------
104
- Para preguntas o mejoras sobre el paquete, abre un issue en el repositorio o contacta al mantenedor (información de contacto en el repositorio).
104
+ For questions or improvements to the package, open an issue in the repository or contact the maintainer (contact information in the repository).
105
105
 
106
- Notas finales
106
+ Final notes
107
107
  -------------
108
- MID AI está pensado como una herramienta práctica para acelerar el desarrollo de proyectos pequeños/academicos. Si necesitas un uso en producción con alta disponibilidad y límites elevados, configura las claves de los proveedores adecuados y revisa sus condiciones de servicio.
108
+ MID AI is intended as a practical tool to accelerate the development of small/academic projects. If you need production use with high availability and high limits, set up the appropriate vendor keys and review their terms of service.
package/dist/chat.js CHANGED
@@ -1 +1 @@
1
- const a0_0x5947bd=a0_0x2045;(function(_0x14f065,_0x3c8a2b){const _0x4511b0=a0_0x2045,_0x21f6ae=_0x14f065();while(!![]){try{const _0x4b1f10=parseInt(_0x4511b0(0x16b))/0x1+parseInt(_0x4511b0(0x171))/0x2+parseInt(_0x4511b0(0x15f))/0x3*(-parseInt(_0x4511b0(0x16d))/0x4)+parseInt(_0x4511b0(0x168))/0x5*(-parseInt(_0x4511b0(0x178))/0x6)+parseInt(_0x4511b0(0x163))/0x7+parseInt(_0x4511b0(0x16e))/0x8*(-parseInt(_0x4511b0(0x175))/0x9)+-parseInt(_0x4511b0(0x173))/0xa;if(_0x4b1f10===_0x3c8a2b)break;else _0x21f6ae['push'](_0x21f6ae['shift']());}catch(_0x58d7e1){_0x21f6ae['push'](_0x21f6ae['shift']());}}}(a0_0x213d,0x7429e));const a0_0x1104c3=(function(){let _0x10cd6e=!![];return function(_0x13fc46,_0x187c27){const _0x2cd8e9=_0x10cd6e?function(){const _0x574a63=a0_0x2045;if(_0x187c27){const _0x4aed6f=_0x187c27[_0x574a63(0x167)](_0x13fc46,arguments);return _0x187c27=null,_0x4aed6f;}}:function(){};return _0x10cd6e=![],_0x2cd8e9;};}()),a0_0x2295cf=a0_0x1104c3(this,function(){const _0xe073bd=a0_0x2045,_0x4bc72a={'Aczbd':_0xe073bd(0x174)};return a0_0x2295cf['toString']()[_0xe073bd(0x17c)](_0x4bc72a[_0xe073bd(0x17a)])[_0xe073bd(0x179)]()['constructor'](a0_0x2295cf)[_0xe073bd(0x17c)](_0x4bc72a[_0xe073bd(0x17a)]);});a0_0x2295cf();export class MidAI{constructor({groq:_0x4eed23,cerebras:_0x3ae54c,gemini:_0x4da5ac,openrouter:_0x23912b,github:_0x218b65}){const _0x1d9495=a0_0x2045;this[_0x1d9495(0x16f)]=_0x4eed23,this[_0x1d9495(0x162)]=_0x3ae54c,this[_0x1d9495(0x170)]=_0x4da5ac,this[_0x1d9495(0x16a)]=_0x23912b,this[_0x1d9495(0x16c)]=_0x218b65;}async[a0_0x5947bd(0x165)](_0x319ff7){const _0x3ded04=a0_0x5947bd,_0x3864e5={'jahlk':function(_0xb3efc1,_0x2c4e,_0x857f24){return _0xb3efc1(_0x2c4e,_0x857f24);},'znfYx':_0x3ded04(0x177),'Smson':function(_0x4b6b92,_0x280689){return _0x4b6b92 instanceof _0x280689;}};try{const _0x34afbd=await _0x3864e5[_0x3ded04(0x169)](fetch,_0x3864e5[_0x3ded04(0x161)],{'method':_0x3ded04(0x164),'headers':{'Content-Type':_0x3ded04(0x166)},'body':JSON[_0x3ded04(0x176)]({'messages':[{'role':'user','content':_0x319ff7}],'apiKeys':{'cerebras':this[_0x3ded04(0x162)],'groq':this['GROQ_API_KEY'],'gemini':this['GEMINI_API_KEY'],'openrouter':this[_0x3ded04(0x16a)],'github':this[_0x3ded04(0x16c)]}})}),_0x6c0628=_0x34afbd?.['body']?.[_0x3ded04(0x160)](),_0x1cc015=new TextDecoder();return(async function*(){const _0x1fbfa8=_0x3ded04;while(!![]){const {done:_0x13acfc,value:_0x522a52}=await _0x6c0628['read']();if(_0x13acfc)break;yield _0x1cc015[_0x1fbfa8(0x17b)](_0x522a52,{'stream':!![]});}}());}catch(_0x2fc44a){throw new Error('Error\x20in\x20chat\x20method:\x20'+(_0x3864e5[_0x3ded04(0x172)](_0x2fc44a,Error)?_0x2fc44a['message']:String(_0x2fc44a)));}}}function a0_0x2045(_0x6fb39f,_0x8edbf9){_0x6fb39f=_0x6fb39f-0x15f;const _0x5f12f1=a0_0x213d();let _0x2295cf=_0x5f12f1[_0x6fb39f];if(a0_0x2045['qLYccx']===undefined){var _0x1104c3=function(_0x143ac4){const _0x47e3e6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x8c60ed='',_0x14b736='',_0x54b9e2=_0x8c60ed+_0x1104c3;for(let _0x298edb=0x0,_0x31a9a4,_0x26f372,_0x53f7fe=0x0;_0x26f372=_0x143ac4['charAt'](_0x53f7fe++);~_0x26f372&&(_0x31a9a4=_0x298edb%0x4?_0x31a9a4*0x40+_0x26f372:_0x26f372,_0x298edb++%0x4)?_0x8c60ed+=_0x54b9e2['charCodeAt'](_0x53f7fe+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x31a9a4>>(-0x2*_0x298edb&0x6)):_0x298edb:0x0){_0x26f372=_0x47e3e6['indexOf'](_0x26f372);}for(let _0x15eda1=0x0,_0x714252=_0x8c60ed['length'];_0x15eda1<_0x714252;_0x15eda1++){_0x14b736+='%'+('00'+_0x8c60ed['charCodeAt'](_0x15eda1)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x14b736);};a0_0x2045['vfGCSf']=_0x1104c3,a0_0x2045['qkhPuW']={},a0_0x2045['qLYccx']=!![];}const _0x213d09=_0x5f12f1[0x0],_0x2045da=_0x6fb39f+_0x213d09,_0x3921db=a0_0x2045['qkhPuW'][_0x2045da];if(!_0x3921db){const _0x434666=function(_0x58fdca){this['gSGYTZ']=_0x58fdca,this['PpEkPm']=[0x1,0x0,0x0],this['eWmeiZ']=function(){return'newState';},this['TiuuDe']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['iOMLHt']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x434666['prototype']['UmsAbP']=function(){const _0x7b5ea0=new RegExp(this['TiuuDe']+this['iOMLHt']),_0x12c41e=_0x7b5ea0['test'](this['eWmeiZ']['toString']())?--this['PpEkPm'][0x1]:--this['PpEkPm'][0x0];return this['OaAlrC'](_0x12c41e);},_0x434666['prototype']['OaAlrC']=function(_0x7a9e68){if(!Boolean(~_0x7a9e68))return _0x7a9e68;return this['uWNFrU'](this['gSGYTZ']);},_0x434666['prototype']['uWNFrU']=function(_0x49f354){for(let _0x2be6ea=0x0,_0x134f58=this['PpEkPm']['length'];_0x2be6ea<_0x134f58;_0x2be6ea++){this['PpEkPm']['push'](Math['round'](Math['random']())),_0x134f58=this['PpEkPm']['length'];}return _0x49f354(this['PpEkPm'][0x0]);},new _0x434666(a0_0x2045)['UmsAbP'](),_0x2295cf=a0_0x2045['vfGCSf'](_0x2295cf),a0_0x2045['qkhPuW'][_0x2045da]=_0x2295cf;}else _0x2295cf=_0x3921db;return _0x2295cf;}function a0_0x213d(){const _0x3ebeb5=['mtG1mhnMwKvYwa','AMfOBgS','t1bftL9st1vurvjFs0vz','otiYmdy4tMTPAMTX','r0Lusfvcx1rps0vo','mtC5mtjLsenuyxy','oenNzhDvta','r1jpuv9bueLFs0vz','r0vnsu5jx0fqsv9lrvK','ntCXmJm0qKfmvNrd','u21ZB24','otuZodq2meXetwTlrq','kcGOlISPkYKRksSK','mtiWmZaYmwPSAgfJtq','C3rYAw5NAwz5','Ahr0Chm6lY9TAwrHAs1Hz2L3lM9UCMvUzgvYlMnVBs9JAgf0','ode2CNDABgTc','Dg9tDhjPBMC','qwn6yMq','zgvJB2rL','C2vHCMnO','mJmXyvvgsffT','z2v0uMvHzgvY','EM5MwxG','q0vsrujsqvnFqvbjx0Tfwq','nti1ntmZngPwt1fwra','ue9tva','y2HHDa','yxbWBgLJyxrPB24VANnVBG','yxbWBhK'];a0_0x213d=function(){return _0x3ebeb5;};return a0_0x213d();}
1
+ (function(_0x5b56f5,_0x488222){const _0x46df99=a0_0x719d,_0x296ce1=_0x5b56f5();while(!![]){try{const _0x446736=parseInt(_0x46df99(0x18b))/0x1*(parseInt(_0x46df99(0x18f))/0x2)+parseInt(_0x46df99(0x197))/0x3*(parseInt(_0x46df99(0x185))/0x4)+-parseInt(_0x46df99(0x191))/0x5+-parseInt(_0x46df99(0x1a2))/0x6+-parseInt(_0x46df99(0x19e))/0x7+parseInt(_0x46df99(0x1a5))/0x8+-parseInt(_0x46df99(0x184))/0x9;if(_0x446736===_0x488222)break;else _0x296ce1['push'](_0x296ce1['shift']());}catch(_0x3364ef){_0x296ce1['push'](_0x296ce1['shift']());}}}(a0_0x4ef2,0x8c84c));const a0_0x31c520=(function(){let _0x3d28f7=!![];return function(_0x15dd45,_0x1e2f0f){const _0x2b42c0=_0x3d28f7?function(){const _0x2bbebc=a0_0x719d;if(_0x1e2f0f){const _0x2beaa7=_0x1e2f0f[_0x2bbebc(0x193)](_0x15dd45,arguments);return _0x1e2f0f=null,_0x2beaa7;}}:function(){};return _0x3d28f7=![],_0x2b42c0;};}()),a0_0xd9ceca=a0_0x31c520(this,function(){const _0x779b17=a0_0x719d,_0x24e761={'iijjG':_0x779b17(0x189)};return a0_0xd9ceca[_0x779b17(0x192)]()[_0x779b17(0x190)](_0x24e761[_0x779b17(0x18a)])[_0x779b17(0x192)]()[_0x779b17(0x19c)](a0_0xd9ceca)['search'](_0x24e761[_0x779b17(0x18a)]);});function a0_0x719d(_0x1d3941,_0x4c73f3){_0x1d3941=_0x1d3941-0x184;const _0x365404=a0_0x4ef2();let _0xd9ceca=_0x365404[_0x1d3941];if(a0_0x719d['VTgfrR']===undefined){var _0x31c520=function(_0x13134f){const _0x368570='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1a5881='',_0x5422bf='',_0x3b051e=_0x1a5881+_0x31c520;for(let _0x14817e=0x0,_0x4d14b1,_0x1a5dda,_0x338606=0x0;_0x1a5dda=_0x13134f['charAt'](_0x338606++);~_0x1a5dda&&(_0x4d14b1=_0x14817e%0x4?_0x4d14b1*0x40+_0x1a5dda:_0x1a5dda,_0x14817e++%0x4)?_0x1a5881+=_0x3b051e['charCodeAt'](_0x338606+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x4d14b1>>(-0x2*_0x14817e&0x6)):_0x14817e:0x0){_0x1a5dda=_0x368570['indexOf'](_0x1a5dda);}for(let _0x3524a5=0x0,_0x4e7819=_0x1a5881['length'];_0x3524a5<_0x4e7819;_0x3524a5++){_0x5422bf+='%'+('00'+_0x1a5881['charCodeAt'](_0x3524a5)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5422bf);};a0_0x719d['PLukSh']=_0x31c520,a0_0x719d['PNLeRJ']={},a0_0x719d['VTgfrR']=!![];}const _0x4ef2c=_0x365404[0x0],_0x719dd2=_0x1d3941+_0x4ef2c,_0x1bce56=a0_0x719d['PNLeRJ'][_0x719dd2];if(!_0x1bce56){const _0x4fbf7f=function(_0x214dd8){this['qnfZCG']=_0x214dd8,this['dKjiWV']=[0x1,0x0,0x0],this['cIVIMu']=function(){return'newState';},this['YZGGCL']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['wpEIBz']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x4fbf7f['prototype']['abzuke']=function(){const _0x4470d4=new RegExp(this['YZGGCL']+this['wpEIBz']),_0x3240d1=_0x4470d4['test'](this['cIVIMu']['toString']())?--this['dKjiWV'][0x1]:--this['dKjiWV'][0x0];return this['ZFxWcL'](_0x3240d1);},_0x4fbf7f['prototype']['ZFxWcL']=function(_0xcbac2b){if(!Boolean(~_0xcbac2b))return _0xcbac2b;return this['OmpHdi'](this['qnfZCG']);},_0x4fbf7f['prototype']['OmpHdi']=function(_0x57fa99){for(let _0x5249bb=0x0,_0x12c239=this['dKjiWV']['length'];_0x5249bb<_0x12c239;_0x5249bb++){this['dKjiWV']['push'](Math['round'](Math['random']())),_0x12c239=this['dKjiWV']['length'];}return _0x57fa99(this['dKjiWV'][0x0]);},new _0x4fbf7f(a0_0x719d)['abzuke'](),_0xd9ceca=a0_0x719d['PLukSh'](_0xd9ceca),a0_0x719d['PNLeRJ'][_0x719dd2]=_0xd9ceca;}else _0xd9ceca=_0x1bce56;return _0xd9ceca;}a0_0xd9ceca();function a0_0x4ef2(){const _0x55bed0=['mJa2mZu4m0jYtfDSza','nJi4zg1ZC1fh','ywPkrwu','r0vnsu5jx0fqsv9lrvK','C3bSAxq','kcGOlISPkYKRksSK','AwLQAKC','mNPMCLzHCq','zgvJB2rL','yM9KEq','tKziyxe','odeXmJG0vKzLsuvc','C2vHCMnO','mtu2ntaYnuHAt05HBq','Dg9tDhjPBMC','yxbWBhK','q0vsrujsqvnFqvbjx0Tfwq','r0Lusfvcx1rps0vo','v1jdBwS','nZeXouPuB3rMyW','ue9tva','z2v0uMvHzgvY','t1bftL9st1vurvjFs0vz','BwvZC2fNzq','y29UC3rYDwn0B3i','tMTrtNO','mZe3nJG4meHztLbozq','yxbWBgLJyxrPB24VANnVBG','m3W0Fdb8mxWY','r1jpuv9bueLFs0vz','mZa3odG2nhbRCMLbva','C3rYAw5NAwz5','vfvTt2W','nZiWnZK2mgf4y0HmuW','rxjYB3iGAw4Gy2HHDcbTzxrOB2q6ia','Ahr0Chm6lY9TAwrHAs1Hz2L3lM9UCMvUzgvYlMnVBs9JAgf0'];a0_0x4ef2=function(){return _0x55bed0;};return a0_0x4ef2();}export class MidAI{constructor({groq:_0x464c42,cerebras:_0xfbfb3c,gemini:_0x598c78,openrouter:_0x1ad45d,github:_0x4a3652}){const _0x2c689c=a0_0x719d,_0x359eda={'NkQNz':_0x2c689c(0x1a0)},_0x32519a=_0x359eda[_0x2c689c(0x19d)][_0x2c689c(0x188)]('|');let _0x357edd=0x0;while(!![]){switch(_0x32519a[_0x357edd++]){case'0':this[_0x2c689c(0x187)]=_0x598c78;continue;case'1':this[_0x2c689c(0x19a)]=_0x1ad45d;continue;case'2':this['GITHUB_TOKEN']=_0x4a3652;continue;case'3':this[_0x2c689c(0x1a1)]=_0x464c42;continue;case'4':this[_0x2c689c(0x194)]=_0xfbfb3c;continue;}break;}}async['chat'](_0x293928){const _0x49826d=a0_0x719d,_0x19dd40={'NFHaq':function(_0xfdccf5,_0x4a93ab,_0x51b16d){return _0xfdccf5(_0x4a93ab,_0x51b16d);},'LSqCD':_0x49826d(0x1a7),'CFQQE':_0x49826d(0x198),'WRCmk':_0x49826d(0x19f),'ajJEe':function(_0x7dbcd4,_0xcefd39){return _0x7dbcd4 instanceof _0xcefd39;},'TUmOl':function(_0xbe7805,_0x3b7e70){return _0xbe7805(_0x3b7e70);}};try{const _0x1dc8d7=await _0x19dd40[_0x49826d(0x18e)](fetch,_0x19dd40['LSqCD'],{'method':_0x19dd40['CFQQE'],'headers':{'Content-Type':_0x19dd40[_0x49826d(0x196)]},'body':JSON[_0x49826d(0x1a3)]({'messages':[{'role':'user','content':_0x293928}],'apiKeys':{'cerebras':this['CEREBRAS_API_KEY'],'groq':this[_0x49826d(0x1a1)],'gemini':this[_0x49826d(0x187)],'openrouter':this[_0x49826d(0x19a)],'github':this[_0x49826d(0x195)]}})}),_0x5df2e6=_0x1dc8d7?.[_0x49826d(0x18d)]?.[_0x49826d(0x199)](),_0x4f54ca=new TextDecoder();return(async function*(){const _0x4592be=_0x49826d;while(!![]){const {done:_0x1a9b1f,value:_0x5ebf68}=await _0x5df2e6['read']();if(_0x1a9b1f)break;yield _0x4f54ca[_0x4592be(0x18c)](_0x5ebf68,{'stream':!![]});}}());}catch(_0x1d9244){throw new Error(_0x49826d(0x1a6)+(_0x19dd40[_0x49826d(0x186)](_0x1d9244,Error)?_0x1d9244[_0x49826d(0x19b)]:_0x19dd40[_0x49826d(0x1a4)](String,_0x1d9244)));}}}
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- function a1_0x2ec6(){var _0x53a98c=['nZG4mdmYohrWCKfvza','yxbWBhK','mZbgvvHeAM4','AMn6D3O','C2vHCMnO','kcGOlISPkYKRksSK','y29UC3rYDwn0B3i','ndyWodu2sgrsDeDA','nJnnzvzoA0O','ndyYoerjwKHhwa','mZC1odGWEeXutNHN','Dg9tDhjPBMC','nZq5nte4vLLxyLHM','mJyWmJu3oeHTExnMwG','mty1nwr3wxfmtG','oda2nZG0qLjkvhrm'];a1_0x2ec6=function(){return _0x53a98c;};return a1_0x2ec6();}(function(_0x36d152,_0x2ef49c){var _0x1881a2=a1_0x1d3d,_0x207195=_0x36d152();while(!![]){try{var _0x378d0b=-parseInt(_0x1881a2(0x1fb))/0x1+parseInt(_0x1881a2(0x1f9))/0x2+-parseInt(_0x1881a2(0x1ee))/0x3+parseInt(_0x1881a2(0x1f8))/0x4*(-parseInt(_0x1881a2(0x1fd))/0x5)+-parseInt(_0x1881a2(0x1fc))/0x6+-parseInt(_0x1881a2(0x1f7))/0x7*(parseInt(_0x1881a2(0x1f6))/0x8)+-parseInt(_0x1881a2(0x1ef))/0x9*(-parseInt(_0x1881a2(0x1f1))/0xa);if(_0x378d0b===_0x2ef49c)break;else _0x207195['push'](_0x207195['shift']());}catch(_0x5215a8){_0x207195['push'](_0x207195['shift']());}}}(a1_0x2ec6,0x70915));var a1_0x2ede2c=(function(){var _0x3dbcd6=!![];return function(_0x1b9f8b,_0x166137){var _0x1aa469=_0x3dbcd6?function(){var _0x30b8fb=a1_0x1d3d;if(_0x166137){var _0x338b98=_0x166137[_0x30b8fb(0x1f0)](_0x1b9f8b,arguments);return _0x166137=null,_0x338b98;}}:function(){};return _0x3dbcd6=![],_0x1aa469;};}()),a1_0x487762=a1_0x2ede2c(this,function(){var _0x10e52e=a1_0x1d3d,_0x1f160b={'jczwz':_0x10e52e(0x1f4)};return a1_0x487762['toString']()[_0x10e52e(0x1f3)](_0x1f160b[_0x10e52e(0x1f2)])[_0x10e52e(0x1fa)]()[_0x10e52e(0x1f5)](a1_0x487762)[_0x10e52e(0x1f3)](_0x1f160b['jczwz']);});a1_0x487762();function a1_0x1d3d(_0x4d64e9,_0x4c18bb){_0x4d64e9=_0x4d64e9-0x1ee;var _0x3d88f6=a1_0x2ec6();var _0x487762=_0x3d88f6[_0x4d64e9];if(a1_0x1d3d['kIvUoh']===undefined){var _0x2ede2c=function(_0x51a4e0){var _0x38d3ba='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x1de3b4='',_0x2aa45e='',_0x4a24a0=_0x1de3b4+_0x2ede2c;for(var _0x41df19=0x0,_0x51cb49,_0x5bd249,_0x450245=0x0;_0x5bd249=_0x51a4e0['charAt'](_0x450245++);~_0x5bd249&&(_0x51cb49=_0x41df19%0x4?_0x51cb49*0x40+_0x5bd249:_0x5bd249,_0x41df19++%0x4)?_0x1de3b4+=_0x4a24a0['charCodeAt'](_0x450245+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x51cb49>>(-0x2*_0x41df19&0x6)):_0x41df19:0x0){_0x5bd249=_0x38d3ba['indexOf'](_0x5bd249);}for(var _0x596ec6=0x0,_0x49d340=_0x1de3b4['length'];_0x596ec6<_0x49d340;_0x596ec6++){_0x2aa45e+='%'+('00'+_0x1de3b4['charCodeAt'](_0x596ec6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2aa45e);};a1_0x1d3d['RcpUEO']=_0x2ede2c,a1_0x1d3d['skuidK']={},a1_0x1d3d['kIvUoh']=!![];}var _0x2ec69b=_0x3d88f6[0x0],_0x1d3da4=_0x4d64e9+_0x2ec69b,_0x58a288=a1_0x1d3d['skuidK'][_0x1d3da4];if(!_0x58a288){var _0x2a44f1=function(_0x25f68f){this['ZYsWiS']=_0x25f68f,this['aOcwqZ']=[0x1,0x0,0x0],this['ZshEtE']=function(){return'newState';},this['CBxYoq']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['mazfVf']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x2a44f1['prototype']['LxqqQj']=function(){var _0x388fd5=new RegExp(this['CBxYoq']+this['mazfVf']),_0x473469=_0x388fd5['test'](this['ZshEtE']['toString']())?--this['aOcwqZ'][0x1]:--this['aOcwqZ'][0x0];return this['IKPtZD'](_0x473469);},_0x2a44f1['prototype']['IKPtZD']=function(_0x4a1827){if(!Boolean(~_0x4a1827))return _0x4a1827;return this['qQfGkW'](this['ZYsWiS']);},_0x2a44f1['prototype']['qQfGkW']=function(_0x49f66f){for(var _0x321c41=0x0,_0x4a191=this['aOcwqZ']['length'];_0x321c41<_0x4a191;_0x321c41++){this['aOcwqZ']['push'](Math['round'](Math['random']())),_0x4a191=this['aOcwqZ']['length'];}return _0x49f66f(this['aOcwqZ'][0x0]);},new _0x2a44f1(a1_0x1d3d)['LxqqQj'](),_0x487762=a1_0x1d3d['RcpUEO'](_0x487762),a1_0x1d3d['skuidK'][_0x1d3da4]=_0x487762;}else _0x487762=_0x58a288;return _0x487762;}export{MidAI}from'./chat.js';
1
+ function a1_0x5c67(){var _0x516392=['C2vHCMnO','mtm3mZi4mgDKv3jmCa','y29UC3rYDwn0B3i','ndm5ndr3vg9YAuC','BNzwz0q','mtm0nJi1ohPsDen2rq','Dg9tDhjPBMC','mJuXota3nNDWugrYBG','mZy3otyWEunPwwDq','mty0ndGYmgPvvvzXCW','otiXmty4Buf6C09X','mtq3n0P2y2PHuG'];a1_0x5c67=function(){return _0x516392;};return a1_0x5c67();}function a1_0xdf20(_0x4c44aa,_0xfbfa0c){_0x4c44aa=_0x4c44aa-0x14f;var _0x11b301=a1_0x5c67();var _0x5bd593=_0x11b301[_0x4c44aa];if(a1_0xdf20['XDRAXQ']===undefined){var _0x26a083=function(_0x39c10e){var _0xe48727='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x44c507='',_0x4cb973='',_0x487209=_0x44c507+_0x26a083;for(var _0x4e40d2=0x0,_0x1039c2,_0x3aeb8e,_0x2d932b=0x0;_0x3aeb8e=_0x39c10e['charAt'](_0x2d932b++);~_0x3aeb8e&&(_0x1039c2=_0x4e40d2%0x4?_0x1039c2*0x40+_0x3aeb8e:_0x3aeb8e,_0x4e40d2++%0x4)?_0x44c507+=_0x487209['charCodeAt'](_0x2d932b+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x1039c2>>(-0x2*_0x4e40d2&0x6)):_0x4e40d2:0x0){_0x3aeb8e=_0xe48727['indexOf'](_0x3aeb8e);}for(var _0x22b4e8=0x0,_0xd8c33c=_0x44c507['length'];_0x22b4e8<_0xd8c33c;_0x22b4e8++){_0x4cb973+='%'+('00'+_0x44c507['charCodeAt'](_0x22b4e8)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4cb973);};a1_0xdf20['irRxut']=_0x26a083,a1_0xdf20['KWndbc']={},a1_0xdf20['XDRAXQ']=!![];}var _0x5c6740=_0x11b301[0x0],_0xdf2050=_0x4c44aa+_0x5c6740,_0x1b66aa=a1_0xdf20['KWndbc'][_0xdf2050];if(!_0x1b66aa){var _0x471e7b=function(_0x2cee68){this['fBrkCz']=_0x2cee68,this['gMxDvr']=[0x1,0x0,0x0],this['GcBPgN']=function(){return'newState';},this['YkwYer']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['IzpYvq']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x471e7b['prototype']['AntwAr']=function(){var _0x5c5aff=new RegExp(this['YkwYer']+this['IzpYvq']),_0x119f49=_0x5c5aff['test'](this['GcBPgN']['toString']())?--this['gMxDvr'][0x1]:--this['gMxDvr'][0x0];return this['Qmvkzu'](_0x119f49);},_0x471e7b['prototype']['Qmvkzu']=function(_0x229fdf){if(!Boolean(~_0x229fdf))return _0x229fdf;return this['LcDNKP'](this['fBrkCz']);},_0x471e7b['prototype']['LcDNKP']=function(_0x1caf96){for(var _0xb1890b=0x0,_0x2636f2=this['gMxDvr']['length'];_0xb1890b<_0x2636f2;_0xb1890b++){this['gMxDvr']['push'](Math['round'](Math['random']())),_0x2636f2=this['gMxDvr']['length'];}return _0x1caf96(this['gMxDvr'][0x0]);},new _0x471e7b(a1_0xdf20)['AntwAr'](),_0x5bd593=a1_0xdf20['irRxut'](_0x5bd593),a1_0xdf20['KWndbc'][_0xdf2050]=_0x5bd593;}else _0x5bd593=_0x1b66aa;return _0x5bd593;}(function(_0x4b0dc8,_0x5d5d7f){var _0x2ea352=a1_0xdf20,_0x543698=_0x4b0dc8();while(!![]){try{var _0x2b6409=-parseInt(_0x2ea352(0x159))/0x1+-parseInt(_0x2ea352(0x156))/0x2+-parseInt(_0x2ea352(0x14f))/0x3+parseInt(_0x2ea352(0x158))/0x4+-parseInt(_0x2ea352(0x15a))/0x5+parseInt(_0x2ea352(0x152))/0x6+parseInt(_0x2ea352(0x150))/0x7*(parseInt(_0x2ea352(0x154))/0x8);if(_0x2b6409===_0x5d5d7f)break;else _0x543698['push'](_0x543698['shift']());}catch(_0x280bf1){_0x543698['push'](_0x543698['shift']());}}}(a1_0x5c67,0x53253));var a1_0x26a083=(function(){var _0x3294cf=!![];return function(_0x331198,_0x1b5720){var _0x5b29c7=_0x3294cf?function(){if(_0x1b5720){var _0x5e21a9=_0x1b5720['apply'](_0x331198,arguments);return _0x1b5720=null,_0x5e21a9;}}:function(){};return _0x3294cf=![],_0x5b29c7;};}()),a1_0x5bd593=a1_0x26a083(this,function(){var _0x5951aa=a1_0xdf20,_0x2a0260={'nvVgD':'(((.+)+)+)+$'};return a1_0x5bd593['toString']()[_0x5951aa(0x151)](_0x2a0260[_0x5951aa(0x155)])[_0x5951aa(0x157)]()[_0x5951aa(0x153)](a1_0x5bd593)[_0x5951aa(0x151)](_0x2a0260[_0x5951aa(0x155)]);});a1_0x5bd593();export{MidAI}from'./chat.js';
@@ -1 +1 @@
1
- (function(_0x3f75b3,_0x4e087e){var _0x434db9=a2_0x3202,_0x281721=_0x3f75b3();while(!![]){try{var _0x2a9264=parseInt(_0x434db9(0x14c))/0x1*(parseInt(_0x434db9(0x147))/0x2)+-parseInt(_0x434db9(0x149))/0x3*(-parseInt(_0x434db9(0x14d))/0x4)+parseInt(_0x434db9(0x14a))/0x5*(parseInt(_0x434db9(0x13c))/0x6)+-parseInt(_0x434db9(0x141))/0x7+-parseInt(_0x434db9(0x145))/0x8*(-parseInt(_0x434db9(0x142))/0x9)+parseInt(_0x434db9(0x13e))/0xa*(parseInt(_0x434db9(0x144))/0xb)+parseInt(_0x434db9(0x140))/0xc*(-parseInt(_0x434db9(0x13d))/0xd);if(_0x2a9264===_0x4e087e)break;else _0x281721['push'](_0x281721['shift']());}catch(_0x1869d7){_0x281721['push'](_0x281721['shift']());}}}(a2_0x1cb0,0x85a72));var a2_0x3b4e7b=(function(){var _0x108796=!![];return function(_0x336e13,_0x5a0195){var _0x299500=_0x108796?function(){var _0x41b46c=a2_0x3202;if(_0x5a0195){var _0x25bc5a=_0x5a0195[_0x41b46c(0x146)](_0x336e13,arguments);return _0x5a0195=null,_0x25bc5a;}}:function(){};return _0x108796=![],_0x299500;};}()),a2_0x3d2eac=a2_0x3b4e7b(this,function(){var _0x559230=a2_0x3202,_0x4af4c8={'HSrGQ':_0x559230(0x13f)};return a2_0x3d2eac[_0x559230(0x143)]()[_0x559230(0x14b)](_0x4af4c8['HSrGQ'])[_0x559230(0x143)]()['constructor'](a2_0x3d2eac)[_0x559230(0x14b)](_0x4af4c8[_0x559230(0x148)]);});a2_0x3d2eac();function a2_0x1cb0(){var _0x2a9b1c=['mJm2nZq0mffUyMnUBq','C2vHCMnO','mu1LrvDbEa','mtq3odHyDfP0twq','mtjvs3P4rhG','mtK1y2rgCers','nda0odi4mefhExDQva','kcGOlISPkYKRksSK','mtm3nJi2ohbOyNzPBW','ndq1mtm2m01hq0fHDW','ownZBLHgzW','Dg9tDhjPBMC','mJjoB0XXvLu','nti2ntC3nMDfy2Towq','yxbWBhK','odi5nZG0tvvuDgnt','sfnYr1e','nJbRrKLHDgG'];a2_0x1cb0=function(){return _0x2a9b1c;};return a2_0x1cb0();}function a2_0x3202(_0x3ff338,_0x6276a5){_0x3ff338=_0x3ff338-0x13c;var _0x341acf=a2_0x1cb0();var _0x3d2eac=_0x341acf[_0x3ff338];if(a2_0x3202['rdZmrZ']===undefined){var _0x3b4e7b=function(_0x1d8d00){var _0x2fc398='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x4903d6='',_0x124b7d='',_0x4fc56b=_0x4903d6+_0x3b4e7b;for(var _0x2e2a42=0x0,_0x37a9b4,_0x1c825a,_0x3435e4=0x0;_0x1c825a=_0x1d8d00['charAt'](_0x3435e4++);~_0x1c825a&&(_0x37a9b4=_0x2e2a42%0x4?_0x37a9b4*0x40+_0x1c825a:_0x1c825a,_0x2e2a42++%0x4)?_0x4903d6+=_0x4fc56b['charCodeAt'](_0x3435e4+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x37a9b4>>(-0x2*_0x2e2a42&0x6)):_0x2e2a42:0x0){_0x1c825a=_0x2fc398['indexOf'](_0x1c825a);}for(var _0x4197b6=0x0,_0x4cec9d=_0x4903d6['length'];_0x4197b6<_0x4cec9d;_0x4197b6++){_0x124b7d+='%'+('00'+_0x4903d6['charCodeAt'](_0x4197b6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x124b7d);};a2_0x3202['SNCieY']=_0x3b4e7b,a2_0x3202['SKLiez']={},a2_0x3202['rdZmrZ']=!![];}var _0x1cb0b6=_0x341acf[0x0],_0x32020e=_0x3ff338+_0x1cb0b6,_0x1036b3=a2_0x3202['SKLiez'][_0x32020e];if(!_0x1036b3){var _0x26b16b=function(_0x47b621){this['XtIXYv']=_0x47b621,this['KQvuZb']=[0x1,0x0,0x0],this['vUwsiM']=function(){return'newState';},this['AtrzfW']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['DrfblW']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x26b16b['prototype']['fBrNts']=function(){var _0x4d5183=new RegExp(this['AtrzfW']+this['DrfblW']),_0x45bc10=_0x4d5183['test'](this['vUwsiM']['toString']())?--this['KQvuZb'][0x1]:--this['KQvuZb'][0x0];return this['ntglYz'](_0x45bc10);},_0x26b16b['prototype']['ntglYz']=function(_0x3f3837){if(!Boolean(~_0x3f3837))return _0x3f3837;return this['EpuEmR'](this['XtIXYv']);},_0x26b16b['prototype']['EpuEmR']=function(_0xa72eb3){for(var _0x98c415=0x0,_0xdaab95=this['KQvuZb']['length'];_0x98c415<_0xdaab95;_0x98c415++){this['KQvuZb']['push'](Math['round'](Math['random']())),_0xdaab95=this['KQvuZb']['length'];}return _0xa72eb3(this['KQvuZb'][0x0]);},new _0x26b16b(a2_0x3202)['fBrNts'](),_0x3d2eac=a2_0x3202['SNCieY'](_0x3d2eac),a2_0x3202['SKLiez'][_0x32020e]=_0x3d2eac;}else _0x3d2eac=_0x1036b3;return _0x3d2eac;}export{};
1
+ function a2_0x3a0b(_0x1b7591,_0x2b4666){_0x1b7591=_0x1b7591-0x132;var _0x1940d8=a2_0x101d();var _0x82b84f=_0x1940d8[_0x1b7591];if(a2_0x3a0b['ChRodX']===undefined){var _0x2aa15e=function(_0x454d55){var _0x1a183d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x10d1bc='',_0x2facbe='',_0x4b906d=_0x10d1bc+_0x2aa15e;for(var _0x3fde66=0x0,_0x229693,_0x2cc557,_0xf9afb=0x0;_0x2cc557=_0x454d55['charAt'](_0xf9afb++);~_0x2cc557&&(_0x229693=_0x3fde66%0x4?_0x229693*0x40+_0x2cc557:_0x2cc557,_0x3fde66++%0x4)?_0x10d1bc+=_0x4b906d['charCodeAt'](_0xf9afb+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x229693>>(-0x2*_0x3fde66&0x6)):_0x3fde66:0x0){_0x2cc557=_0x1a183d['indexOf'](_0x2cc557);}for(var _0x8941f7=0x0,_0x979c78=_0x10d1bc['length'];_0x8941f7<_0x979c78;_0x8941f7++){_0x2facbe+='%'+('00'+_0x10d1bc['charCodeAt'](_0x8941f7)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2facbe);};a2_0x3a0b['QpagZM']=_0x2aa15e,a2_0x3a0b['frUtBR']={},a2_0x3a0b['ChRodX']=!![];}var _0x101de9=_0x1940d8[0x0],_0x3a0bd7=_0x1b7591+_0x101de9,_0x2df4c2=a2_0x3a0b['frUtBR'][_0x3a0bd7];if(!_0x2df4c2){var _0x3aa1b8=function(_0x1d3849){this['VBNCRs']=_0x1d3849,this['uagfqZ']=[0x1,0x0,0x0],this['CcIOcX']=function(){return'newState';},this['hCOpcy']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['SBHiia']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x3aa1b8['prototype']['YcUCsY']=function(){var _0x314dbb=new RegExp(this['hCOpcy']+this['SBHiia']),_0x345b72=_0x314dbb['test'](this['CcIOcX']['toString']())?--this['uagfqZ'][0x1]:--this['uagfqZ'][0x0];return this['fDTvig'](_0x345b72);},_0x3aa1b8['prototype']['fDTvig']=function(_0x32a6c3){if(!Boolean(~_0x32a6c3))return _0x32a6c3;return this['lqemdY'](this['VBNCRs']);},_0x3aa1b8['prototype']['lqemdY']=function(_0x255c1e){for(var _0x12e517=0x0,_0x4e62fd=this['uagfqZ']['length'];_0x12e517<_0x4e62fd;_0x12e517++){this['uagfqZ']['push'](Math['round'](Math['random']())),_0x4e62fd=this['uagfqZ']['length'];}return _0x255c1e(this['uagfqZ'][0x0]);},new _0x3aa1b8(a2_0x3a0b)['YcUCsY'](),_0x82b84f=a2_0x3a0b['QpagZM'](_0x82b84f),a2_0x3a0b['frUtBR'][_0x3a0bd7]=_0x82b84f;}else _0x82b84f=_0x2df4c2;return _0x82b84f;}(function(_0x5e5166,_0x239d1c){var _0x4fd3e4=a2_0x3a0b,_0x35feba=_0x5e5166();while(!![]){try{var _0x40afdc=-parseInt(_0x4fd3e4(0x136))/0x1*(parseInt(_0x4fd3e4(0x135))/0x2)+-parseInt(_0x4fd3e4(0x13e))/0x3*(-parseInt(_0x4fd3e4(0x140))/0x4)+-parseInt(_0x4fd3e4(0x13c))/0x5*(-parseInt(_0x4fd3e4(0x13d))/0x6)+parseInt(_0x4fd3e4(0x143))/0x7+parseInt(_0x4fd3e4(0x13f))/0x8+parseInt(_0x4fd3e4(0x142))/0x9*(-parseInt(_0x4fd3e4(0x137))/0xa)+parseInt(_0x4fd3e4(0x133))/0xb*(parseInt(_0x4fd3e4(0x139))/0xc);if(_0x40afdc===_0x239d1c)break;else _0x35feba['push'](_0x35feba['shift']());}catch(_0x4ee2ef){_0x35feba['push'](_0x35feba['shift']());}}}(a2_0x101d,0x98686));var a2_0x2aa15e=(function(){var _0x1aac90=!![];return function(_0x247e5c,_0x553333){var _0x3742ae=_0x1aac90?function(){var _0xf88c5c=a2_0x3a0b;if(_0x553333){var _0x435c18=_0x553333[_0xf88c5c(0x13a)](_0x247e5c,arguments);return _0x553333=null,_0x435c18;}}:function(){};return _0x1aac90=![],_0x3742ae;};}()),a2_0x82b84f=a2_0x2aa15e(this,function(){var _0x5260a5=a2_0x3a0b,_0x56b508={'osCcY':_0x5260a5(0x13b)};return a2_0x82b84f['toString']()[_0x5260a5(0x141)](_0x56b508[_0x5260a5(0x132)])[_0x5260a5(0x134)]()[_0x5260a5(0x138)](a2_0x82b84f)[_0x5260a5(0x141)](_0x56b508[_0x5260a5(0x132)]);});a2_0x82b84f();function a2_0x101d(){var _0x479e10=['nu5VufP3qW','mtyYmty5ogrABfbewq','m0LeAhb4Bq','oteYnJqWBwDrA2nj','nde5odi4ofnkq1bKsq','C2vHCMnO','ntu4vKr2u0Po','nZi0odG0m2zNy29PBa','B3ndy1K','nJm4rhHdD2HQ','Dg9tDhjPBMC','mtuYodrIC3PcA1e','mtmZtNjmDKHJ','mtuZmtyWDgnxAKrz','y29UC3rYDwn0B3i','mJq5odrYDfDKA2C','yxbWBhK','kcGOlISPkYKRksSK'];a2_0x101d=function(){return _0x479e10;};return a2_0x101d();}export{};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camidevv/mid-ai",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "types/index.d.ts",