@camidevv/mid-ai 1.0.0 → 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,85 +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 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 'mid-ai'`
28
+ 1. Import client from package (generic example):
29
+ - 'import { MidAI } from '@camidevv/mid-ai'
30
30
 
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.
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.
33
33
 
34
- Limitaciones y claves API
34
+
35
+ ```javascript
36
+ import { MidAI } from '@camidevv/mid-ai';
37
+ const midAI = new MidAI({});
38
+
39
+
40
+ (async () => {
41
+ const response = await midAI.chat("What's the date today?");
42
+ for await (const chunk of response) {
43
+ console.log(chunk);
44
+ }
45
+ })();
46
+
47
+ //[OUTPUT]
48
+ // Today is November 29, 2023. How can I help you?
49
+
50
+ ```
51
+
52
+
53
+
54
+ Limitations and API keys
35
55
  -------------------------
36
- - Límite por defecto (sin proporcionar claves): 15 peticiones por minuto.
37
- - Si tu caso de uso solo requiere esta tasa, no necesitas configurar ni proporcionar claves API.
38
- - Si necesitas más capacidad y/o acceso a modelos adicionales, debes proporcionar claves API de los proveedores que quieras usar.
39
- - Es altamente recomendable proporcionar tus propias claves/credenciales personales para cada proveedor porque:
40
- - Te permiten acceder a mayores cuotas y a modelos adicionales.
41
- - Evitan la dependencia de tokens compartidos o limitados por el paquete.
42
- - 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.
43
- - Google Gemini suele ofrecer muchas peticiones y modelos si se configura correctamente (consulta la documentación de Google para detalles sobre cuotas y permisos).
44
-
45
- 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
46
66
  ----------------------------
47
- 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):
48
68
 
49
- - `MIDAI_GITHUB_TOKEN` Token personal de GitHub (recomendado si quieres muchos modelos).
50
- - `MIDAI_GEMINI_KEY` Credenciales para Google Gemini (si corresponde).
51
- - `CEREBRAS_API_KEY` Credencial para Cerebras.
52
- - `OPENROUTER_API_KEY` Credencial para OpenRouter.
53
- - `AISTUDIO_API_KEY` Credencial para AI Studio (Google).
54
- - `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.
55
75
 
56
- Manejar múltiples proveedores
76
+ Manage multiple suppliers
57
77
  -----------------------------
58
- - El paquete intentará seleccionar el mejor proveedor disponible según la configuración y las claves provistas.
59
- - Si no hay claves, se activará el modo limitado (15 rpm).
60
- - 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).
61
81
 
62
- Proveedores y enlaces
82
+ Suppliers and links
63
83
  ---------------------
64
- 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:
65
85
 
66
- - Cerebras: https://www.cerebras.ai/
86
+ - Brain: https://www.cerebras.ai/
67
87
  - OpenRouter: https://openrouter.ai/
68
88
  - AI Studio (Google Gemini): https://aistudio.google.com/
69
89
  - Groq: https://groq.com/
70
90
 
71
- Buenas prácticas
91
+ Good practice
72
92
  ----------------
73
- - Para desarrollos locales y pruebas, usa el modo sin claves hasta 15 rpm para evitar exponer credenciales.
74
- - Para integraciones serias y despliegues, añade credenciales personales por proveedor y revisa límites de cuota y facturación de cada servicio.
75
- - Mantén tus tokens en variables de entorno seguras, no los incluyas en el código ni en repositorios públicos.
76
- - 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).
77
97
 
78
- Licencia
98
+ License
79
99
  --------
80
- MIT consulta el archivo `LICENSE` del repositorio para más detalles.
100
+ MIT - refer to the repository’s 'LICENSE' file for details.
81
101
 
82
- Contacto
102
+ Contact
83
103
  --------
84
- 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).
85
105
 
86
- Notas finales
106
+ Final notes
87
107
  -------------
88
- 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
- function a0_0x38e5(_0x8206f0,_0x5ca5ce){_0x8206f0=_0x8206f0-0x19c;const _0xcd2535=a0_0x5738();let _0x14f84e=_0xcd2535[_0x8206f0];if(a0_0x38e5['BJBJNH']===undefined){var _0x3dc533=function(_0x1498d5){const _0x4c9aa8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x45e84a='',_0x463ed9='',_0x21428a=_0x45e84a+_0x3dc533;for(let _0x159a42=0x0,_0x5d881a,_0x405c7d,_0x17abf3=0x0;_0x405c7d=_0x1498d5['charAt'](_0x17abf3++);~_0x405c7d&&(_0x5d881a=_0x159a42%0x4?_0x5d881a*0x40+_0x405c7d:_0x405c7d,_0x159a42++%0x4)?_0x45e84a+=_0x21428a['charCodeAt'](_0x17abf3+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x5d881a>>(-0x2*_0x159a42&0x6)):_0x159a42:0x0){_0x405c7d=_0x4c9aa8['indexOf'](_0x405c7d);}for(let _0xc41d58=0x0,_0x37be08=_0x45e84a['length'];_0xc41d58<_0x37be08;_0xc41d58++){_0x463ed9+='%'+('00'+_0x45e84a['charCodeAt'](_0xc41d58)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x463ed9);};a0_0x38e5['RCGOfZ']=_0x3dc533,a0_0x38e5['GFaguK']={},a0_0x38e5['BJBJNH']=!![];}const _0x573891=_0xcd2535[0x0],_0x38e5d3=_0x8206f0+_0x573891,_0x4a0fb8=a0_0x38e5['GFaguK'][_0x38e5d3];if(!_0x4a0fb8){const _0xec4f33=function(_0x4abb8c){this['tuLRWI']=_0x4abb8c,this['RQlUJV']=[0x1,0x0,0x0],this['VwgQnZ']=function(){return'newState';},this['TocaUd']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['QtDlHf']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0xec4f33['prototype']['OUcbUP']=function(){const _0x45e86e=new RegExp(this['TocaUd']+this['QtDlHf']),_0x30c56c=_0x45e86e['test'](this['VwgQnZ']['toString']())?--this['RQlUJV'][0x1]:--this['RQlUJV'][0x0];return this['xhagGE'](_0x30c56c);},_0xec4f33['prototype']['xhagGE']=function(_0x9d94ce){if(!Boolean(~_0x9d94ce))return _0x9d94ce;return this['nKgtnj'](this['tuLRWI']);},_0xec4f33['prototype']['nKgtnj']=function(_0x46281f){for(let _0x1ac6af=0x0,_0x14772b=this['RQlUJV']['length'];_0x1ac6af<_0x14772b;_0x1ac6af++){this['RQlUJV']['push'](Math['round'](Math['random']())),_0x14772b=this['RQlUJV']['length'];}return _0x46281f(this['RQlUJV'][0x0]);},new _0xec4f33(a0_0x38e5)['OUcbUP'](),_0x14f84e=a0_0x38e5['RCGOfZ'](_0x14f84e),a0_0x38e5['GFaguK'][_0x38e5d3]=_0x14f84e;}else _0x14f84e=_0x4a0fb8;return _0x14f84e;}const a0_0x446550=a0_0x38e5;(function(_0x5e25ed,_0x2fc6c6){const _0x8b1d2d=a0_0x38e5,_0x24d3b9=_0x5e25ed();while(!![]){try{const _0x2dbc4d=-parseInt(_0x8b1d2d(0x1a9))/0x1+parseInt(_0x8b1d2d(0x1b9))/0x2*(parseInt(_0x8b1d2d(0x1a0))/0x3)+-parseInt(_0x8b1d2d(0x1ba))/0x4*(-parseInt(_0x8b1d2d(0x1ac))/0x5)+parseInt(_0x8b1d2d(0x1aa))/0x6+parseInt(_0x8b1d2d(0x1a1))/0x7+parseInt(_0x8b1d2d(0x1b7))/0x8+-parseInt(_0x8b1d2d(0x1ab))/0x9;if(_0x2dbc4d===_0x2fc6c6)break;else _0x24d3b9['push'](_0x24d3b9['shift']());}catch(_0x5af2be){_0x24d3b9['push'](_0x24d3b9['shift']());}}}(a0_0x5738,0xb0901));function a0_0x5738(){const _0x162e10=['mJe5nZm5otvguundvgS','nvfPqxH5Ea','yxbWBgLJyxrPB24VANnVBG','CMvHza','z0zlrNa','y2HHDa','BwXjqxK','qvDYwNe','yxbWBhK','ue9tva','Evf3B24','r0vnsu5jx0fqsv9lrvK','oty3ndyZmMjqAhv2zW','r1jpuv9bueLFs0vz','nJeWnJa2zwfOs3bT','mZKWmtKWmgPSyKTICW','C3bSAxq','uvb3weO','z2v0uMvHzgvY','C3rYAw5NAwz5','Ahr0Chm6lY9TAwrHAs1Hz2L3lM9UCMvUzgvYlMnVBs9JAgf0','BwvZC2fNzq','r0Lusfvcx1rps0vo','y29UC3rYDwn0B3i','yM9KEq','nhWWFdn8mxWY','m015rKnfwq','nty2mJGZowXoBMHXEq','C2vHCMnO','rxjYB3iGAw4Gy2HHDcbTzxrOB2q6ia','yNresuy','Dg9tDhjPBMC','q0vsrujsqvnFqvbjx0Tfwq','kcGOlISPkYKRksSK','t1bftL9st1vurvjFs0vz','odi5ndqXq1fJr2Di','nde3mdy3oe92sLnjtq'];a0_0x5738=function(){return _0x162e10;};return a0_0x5738();}const a0_0x3dc533=(function(){let _0x41301a=!![];return function(_0x45fac7,_0x55ee9f){const _0xafe56f=_0x41301a?function(){const _0x5d0ff9=a0_0x38e5;if(_0x55ee9f){const _0x45c71e=_0x55ee9f[_0x5d0ff9(0x1b3)](_0x45fac7,arguments);return _0x55ee9f=null,_0x45c71e;}}:function(){};return _0x41301a=![],_0xafe56f;};}()),a0_0x14f84e=a0_0x3dc533(this,function(){const _0x1db87f=a0_0x38e5,_0x42ccf3={'QPwXJ':_0x1db87f(0x1a7)};return a0_0x14f84e[_0x1db87f(0x1a5)]()['search'](_0x42ccf3[_0x1db87f(0x1bc)])[_0x1db87f(0x1a5)]()[_0x1db87f(0x19d)](a0_0x14f84e)[_0x1db87f(0x1a2)](_0x42ccf3[_0x1db87f(0x1bc)]);});a0_0x14f84e();export class MidAI{constructor({groq:_0xf7853b,cerebras:_0x446314,gemini:_0xa77efc,openrouter:_0x280da9,github:_0x22967e}){const _0x5f1b6c=a0_0x38e5,_0x14f964={'zTmgV':_0x5f1b6c(0x19f)},_0x344da5=_0x14f964['zTmgV'][_0x5f1b6c(0x1bb)]('|');let _0x4055c1=0x0;while(!![]){switch(_0x344da5[_0x4055c1++]){case'0':this[_0x5f1b6c(0x1a6)]=_0x446314;continue;case'1':this[_0x5f1b6c(0x1a8)]=_0x280da9;continue;case'2':this[_0x5f1b6c(0x19c)]=_0x22967e;continue;case'3':this[_0x5f1b6c(0x1b6)]=_0xa77efc;continue;case'4':this[_0x5f1b6c(0x1b8)]=_0xf7853b;continue;}break;}}async[a0_0x446550(0x1b0)](_0xe2bcf6){const _0x1b28f5=a0_0x446550,_0x342fec={'yQwon':function(_0x5c1ee7,_0x16b2a7,_0x2e9284){return _0x5c1ee7(_0x16b2a7,_0x2e9284);},'mlIAy':_0x1b28f5(0x1bf),'HAjCQ':_0x1b28f5(0x1b4),'btDIF':_0x1b28f5(0x1ad),'gFKFp':'user','EPImy':function(_0x982ac3,_0x4b2eb1){return _0x982ac3 instanceof _0x4b2eb1;},'AWrZq':function(_0x37edc4,_0x506fc3){return _0x37edc4(_0x506fc3);}};try{const _0x1cf8b7=await _0x342fec[_0x1b28f5(0x1b5)](fetch,_0x342fec[_0x1b28f5(0x1b1)],{'method':_0x342fec['HAjCQ'],'headers':{'Content-Type':_0x342fec[_0x1b28f5(0x1a4)]},'body':JSON[_0x1b28f5(0x1be)]({'messages':[{'role':_0x342fec[_0x1b28f5(0x1af)],'content':_0xe2bcf6}],'apiKeys':{'cerebras':this[_0x1b28f5(0x1a6)],'groq':this[_0x1b28f5(0x1b8)],'gemini':this[_0x1b28f5(0x1b6)],'openrouter':this[_0x1b28f5(0x1a8)],'github':this[_0x1b28f5(0x19c)]}})}),_0x1ca5e8=_0x1cf8b7?.[_0x1b28f5(0x19e)]?.[_0x1b28f5(0x1bd)](),_0x17ff98=new TextDecoder();return(async function*(){const _0x8d0bcf=_0x1b28f5;while(!![]){const {done:_0x3f4b85,value:_0x381a7c}=await _0x1ca5e8[_0x8d0bcf(0x1ae)]();if(_0x3f4b85)break;yield _0x17ff98['decode'](_0x381a7c,{'stream':!![]});}}());}catch(_0x9732ee){throw new Error(_0x1b28f5(0x1a3)+(_0x342fec['EPImy'](_0x9732ee,Error)?_0x9732ee[_0x1b28f5(0x1c0)]:_0x342fec[_0x1b28f5(0x1b2)](String,_0x9732ee)));}}}
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(_0x2dbf3f,_0x28af51){var _0x1fe887=a1_0x249f,_0x2661b8=_0x2dbf3f();while(!![]){try{var _0x56e69b=parseInt(_0x1fe887(0xe1))/0x1*(-parseInt(_0x1fe887(0xe6))/0x2)+-parseInt(_0x1fe887(0xe9))/0x3*(parseInt(_0x1fe887(0xe0))/0x4)+parseInt(_0x1fe887(0xe8))/0x5+-parseInt(_0x1fe887(0xdf))/0x6*(-parseInt(_0x1fe887(0xdc))/0x7)+parseInt(_0x1fe887(0xe7))/0x8*(-parseInt(_0x1fe887(0xde))/0x9)+-parseInt(_0x1fe887(0xe5))/0xa*(parseInt(_0x1fe887(0xea))/0xb)+-parseInt(_0x1fe887(0xeb))/0xc*(-parseInt(_0x1fe887(0xe2))/0xd);if(_0x56e69b===_0x28af51)break;else _0x2661b8['push'](_0x2661b8['shift']());}catch(_0x23a842){_0x2661b8['push'](_0x2661b8['shift']());}}}(a1_0x1b05,0x1e07f));var a1_0x23a353=(function(){var _0x1e648d=!![];return function(_0x3c8756,_0x339503){var _0x3ec5f0=_0x1e648d?function(){var _0x46784d=a1_0x249f;if(_0x339503){var _0x3b5c50=_0x339503[_0x46784d(0xdb)](_0x3c8756,arguments);return _0x339503=null,_0x3b5c50;}}:function(){};return _0x1e648d=![],_0x3ec5f0;};}()),a1_0x510603=a1_0x23a353(this,function(){var _0x28fd59=a1_0x249f,_0x21ce5e={'yxNep':_0x28fd59(0xe3)};return a1_0x510603[_0x28fd59(0xe4)]()[_0x28fd59(0xdd)](_0x21ce5e['yxNep'])['toString']()['constructor'](a1_0x510603)[_0x28fd59(0xdd)](_0x21ce5e['yxNep']);});function a1_0x1b05(){var _0x13742e=['Dg9tDhjPBMC','mta5ntyXmgXZyMDNwq','mtK5nJeWrhLcBfb3','ntq4mJa4q3nHru5b','mJK3mJa1Cxzdr0T6','mJe5sgnZsvz5','mJjYC0rytfu','mJeWnJm2vgf6ANLy','yxbWBhK','ndq4uKnLqxHP','C2vHCMnO','owTjwhP1vG','mJe4nZzpteDQAg8','mteXntzUCw9SAw4','mvD5q0niza','mZeYzuz1vwD1','kcGOlISPkYKRksSK'];a1_0x1b05=function(){return _0x13742e;};return a1_0x1b05();}a1_0x510603();function a1_0x249f(_0x5c21a3,_0x1fdafb){_0x5c21a3=_0x5c21a3-0xdb;var _0x3434e1=a1_0x1b05();var _0x510603=_0x3434e1[_0x5c21a3];if(a1_0x249f['RrDHHa']===undefined){var _0x23a353=function(_0x59a40f){var _0x174cad='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x1fb39b='',_0x570133='',_0x5bcac3=_0x1fb39b+_0x23a353;for(var _0x4189cb=0x0,_0x582515,_0xeabbde,_0x222cbe=0x0;_0xeabbde=_0x59a40f['charAt'](_0x222cbe++);~_0xeabbde&&(_0x582515=_0x4189cb%0x4?_0x582515*0x40+_0xeabbde:_0xeabbde,_0x4189cb++%0x4)?_0x1fb39b+=_0x5bcac3['charCodeAt'](_0x222cbe+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x582515>>(-0x2*_0x4189cb&0x6)):_0x4189cb:0x0){_0xeabbde=_0x174cad['indexOf'](_0xeabbde);}for(var _0x3aa9e2=0x0,_0x534451=_0x1fb39b['length'];_0x3aa9e2<_0x534451;_0x3aa9e2++){_0x570133+='%'+('00'+_0x1fb39b['charCodeAt'](_0x3aa9e2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x570133);};a1_0x249f['moBmfS']=_0x23a353,a1_0x249f['TBTRAh']={},a1_0x249f['RrDHHa']=!![];}var _0x1b0502=_0x3434e1[0x0],_0x249fb4=_0x5c21a3+_0x1b0502,_0x165405=a1_0x249f['TBTRAh'][_0x249fb4];if(!_0x165405){var _0x56dd8f=function(_0x3b93c6){this['HCBSrg']=_0x3b93c6,this['sQndYn']=[0x1,0x0,0x0],this['sCVoNN']=function(){return'newState';},this['eKWBVN']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['tpWWxO']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x56dd8f['prototype']['RyXYgY']=function(){var _0x67c73a=new RegExp(this['eKWBVN']+this['tpWWxO']),_0x42141c=_0x67c73a['test'](this['sCVoNN']['toString']())?--this['sQndYn'][0x1]:--this['sQndYn'][0x0];return this['oystJD'](_0x42141c);},_0x56dd8f['prototype']['oystJD']=function(_0x43bf02){if(!Boolean(~_0x43bf02))return _0x43bf02;return this['DPXBUs'](this['HCBSrg']);},_0x56dd8f['prototype']['DPXBUs']=function(_0x51cd78){for(var _0x361d3d=0x0,_0x2098ca=this['sQndYn']['length'];_0x361d3d<_0x2098ca;_0x361d3d++){this['sQndYn']['push'](Math['round'](Math['random']())),_0x2098ca=this['sQndYn']['length'];}return _0x51cd78(this['sQndYn'][0x0]);},new _0x56dd8f(a1_0x249f)['RyXYgY'](),_0x510603=a1_0x249f['moBmfS'](_0x510603),a1_0x249f['TBTRAh'][_0x249fb4]=_0x510603;}else _0x510603=_0x165405;return _0x510603;}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 a2_0x6841(_0x57db83,_0x3dacdd){_0x57db83=_0x57db83-0xf7;var _0xf51e3b=a2_0xd3f3();var _0xfc610e=_0xf51e3b[_0x57db83];if(a2_0x6841['gtUoXz']===undefined){var _0x1155f1=function(_0x2253d6){var _0x39847a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x35a0de='',_0x4d40c9='',_0x4b0ad7=_0x35a0de+_0x1155f1;for(var _0x205fa1=0x0,_0x527fc0,_0x302965,_0x321d10=0x0;_0x302965=_0x2253d6['charAt'](_0x321d10++);~_0x302965&&(_0x527fc0=_0x205fa1%0x4?_0x527fc0*0x40+_0x302965:_0x302965,_0x205fa1++%0x4)?_0x35a0de+=_0x4b0ad7['charCodeAt'](_0x321d10+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x527fc0>>(-0x2*_0x205fa1&0x6)):_0x205fa1:0x0){_0x302965=_0x39847a['indexOf'](_0x302965);}for(var _0x520e72=0x0,_0x4bf926=_0x35a0de['length'];_0x520e72<_0x4bf926;_0x520e72++){_0x4d40c9+='%'+('00'+_0x35a0de['charCodeAt'](_0x520e72)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4d40c9);};a2_0x6841['fQIgyF']=_0x1155f1,a2_0x6841['NzqnKH']={},a2_0x6841['gtUoXz']=!![];}var _0xd3f3ba=_0xf51e3b[0x0],_0x6841ec=_0x57db83+_0xd3f3ba,_0xc29b58=a2_0x6841['NzqnKH'][_0x6841ec];if(!_0xc29b58){var _0x30e5b8=function(_0x3f4c28){this['FcOdut']=_0x3f4c28,this['ysVZuF']=[0x1,0x0,0x0],this['njSXZf']=function(){return'newState';},this['QmXhHx']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['zuczml']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x30e5b8['prototype']['uMttFa']=function(){var _0x276357=new RegExp(this['QmXhHx']+this['zuczml']),_0x10bec2=_0x276357['test'](this['njSXZf']['toString']())?--this['ysVZuF'][0x1]:--this['ysVZuF'][0x0];return this['agdhVy'](_0x10bec2);},_0x30e5b8['prototype']['agdhVy']=function(_0x3d1e9f){if(!Boolean(~_0x3d1e9f))return _0x3d1e9f;return this['MDsPCH'](this['FcOdut']);},_0x30e5b8['prototype']['MDsPCH']=function(_0x13b2bc){for(var _0x514a80=0x0,_0x4e540f=this['ysVZuF']['length'];_0x514a80<_0x4e540f;_0x514a80++){this['ysVZuF']['push'](Math['round'](Math['random']())),_0x4e540f=this['ysVZuF']['length'];}return _0x13b2bc(this['ysVZuF'][0x0]);},new _0x30e5b8(a2_0x6841)['uMttFa'](),_0xfc610e=a2_0x6841['fQIgyF'](_0xfc610e),a2_0x6841['NzqnKH'][_0x6841ec]=_0xfc610e;}else _0xfc610e=_0xc29b58;return _0xfc610e;}(function(_0x39e6f0,_0x236968){var _0x85e60a=a2_0x6841,_0x421eb9=_0x39e6f0();while(!![]){try{var _0x24e220=parseInt(_0x85e60a(0xf7))/0x1+-parseInt(_0x85e60a(0xfb))/0x2+-parseInt(_0x85e60a(0xff))/0x3*(parseInt(_0x85e60a(0x102))/0x4)+parseInt(_0x85e60a(0xfe))/0x5+-parseInt(_0x85e60a(0xf9))/0x6+-parseInt(_0x85e60a(0x103))/0x7+-parseInt(_0x85e60a(0xf8))/0x8*(-parseInt(_0x85e60a(0xfa))/0x9);if(_0x24e220===_0x236968)break;else _0x421eb9['push'](_0x421eb9['shift']());}catch(_0x1734ab){_0x421eb9['push'](_0x421eb9['shift']());}}}(a2_0xd3f3,0xbd9e2));var a2_0x1155f1=(function(){var _0x419dcc=!![];return function(_0x4da62,_0xe7b4d4){var _0xf12faf=_0x419dcc?function(){var _0x6e1a68=a2_0x6841;if(_0xe7b4d4){var _0x4ce6b2=_0xe7b4d4[_0x6e1a68(0xfc)](_0x4da62,arguments);return _0xe7b4d4=null,_0x4ce6b2;}}:function(){};return _0x419dcc=![],_0xf12faf;};}()),a2_0xfc610e=a2_0x1155f1(this,function(){var _0x497662=a2_0x6841,_0x23a88b={'HTwDr':_0x497662(0xfd)};return a2_0xfc610e[_0x497662(0x100)]()['search'](_0x23a88b['HTwDr'])[_0x497662(0x100)]()[_0x497662(0x101)](a2_0xfc610e)['search'](_0x23a88b['HTwDr']);});a2_0xfc610e();function a2_0xd3f3(){var _0x306693=['kcGOlISPkYKRksSK','mJuZntGXnu9mCxHrzW','mtj2z2D4yMK','Dg9tDhjPBMC','y29UC3rYDwn0B3i','odqZnZe2sevwvwfw','ntyYmZi0n0XgCxrOtW','mZiZmZC3qw9KCxvV','mtu3ntG4odH1wuzxu2q','oda2ndu0nMftre91rq','mtHsEuHusuG','mJaWndKYmefsyNbOrW','yxbWBhK'];a2_0xd3f3=function(){return _0x306693;};return a2_0xd3f3();}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.0",
3
+ "version": "1.0.2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "types/index.d.ts",