import fs from 'fs/promises'; import path from 'path'; const targetDir = 'E:\\Archivos (meanwhile)'; const referencesText = `Ahmad, N., Khan, P., Khan, A., Usman, M., Ali, M., Fazal, H., Durrishahwar, Uddin, M. N., Hano, C., & Abbasi, B. H. (2021). Elicitation of submerged adventitious root cultures of Stevia rebaudiana with Cuscuta reflexa for production of biomass and secondary metabolites. Molecules, 27(1), 14. https://doi.org/10.3390/molecules27010014 Ahmad, N., Rab, A., Ahmad, N., & Fazal, H. (2018). Differential pH-induced biosynthesis of steviol glycosides in submerged root cultures of Stevia rebaudiana. Sugar Tech, 21, 465-472. https://doi.org/10.1007/s12355-018-0589-z Ali, M. B., Hahn, E.-J., & Paek, K.-Y. (2007). Methyl jasmonate and salicylic acid induced oxidative stress and accumulation of phenolics in Panax ginseng bioreactor root suspension cultures. Molecules, 12(3), 607-621. https://doi.org/10.3390/12030607 Ali, S., et al. (2024). Influence of abiotic and biotic elicitors on organogenesis, biomass accumulation, and production of key secondary metabolites in Asteraceae plants. International Journal of Molecular Sciences, 25, 4197. https://doi.org/10.3390/ijms25084197 Álvarez-Robles, M. J., López-Orenes, A., Ferrer, M. A., & Calderón, A. A. (2016). Methanol elicits the accumulation of bioactive steviol glycosides and phenolics in Stevia rebaudiana shoot cultures. Industrial Crops and Products, 87, 273-279. https://doi.org/10.1016/j.indcrop.2016.04.054 Aponte, H., Melendez, Y., & Otiniano, R. (2022). Potencial de la biotecnologia vegetal en la produccion de metabolitos de alto valor en el Peru. Ecologia Aplicada, 21(1), 45-56. https://doi.org/10.21704/rea.v21i1.1845 Aydin, M., et al. (2025). Effect of jasmonic acid on the elicitation of phenolic compounds and naphthodianthrones in extitHypericum perforatum L. Horticulturae, 11, 1210. https://doi.org/10.3390/horticulturae11101210 Bai, X., Lee, H.-S., Han, J.-E., Murthy, H. N., & Park, S.-Y. (2025). Enhancement of phenolic and polyacetylene accumulation in Lobelia chinensis (Chinese lobelia) plantlet cultures through yeast extract and salicylic acid elicitation. Horticulturae, 11(6), 612. https://doi.org/10.3390/horticulturae11060612 Bayraktar, M., Naziri, E., Akgun, I. H., Karabey, F., Ilhan, E., Akyol, B., Bedir, E., & Gurel, A. (2016). Elicitor induced stevioside production, in vitro shoot growth, and biomass 99100 accumulation in micropropagated Stevia rebaudiana. Plant Cell Tissue and Organ Culture, 127, 289-300. https://doi.org/10.1007/s11240-016-1049-7 Bayraktar, M., Naziri, E., Karabey, F., Akgun, I. H., Bedir, E., & Gurel, A. (2018). Enhancement of stevioside production by using biotechnological approach in in vitro culture of Stevia rebaudiana. International Journal of Secondary Metabolite, 5(3), 244-253. https://doi.org/10.21448/ijsm.496724 Bernabé-Antonio, A., Castro-Rubio, C., Rodríguez-Anda, R., Silva-Guzmán, J. A., ManríquezGonzález, R., Hurtado-Díaz, I., Sánchez-Ramos, M., Hinojosa-Ventura, G., & RomeroEstrada, A. (2023). Jasmonic and salicylic acids enhance biomass, total phenolic content, and antioxidant activity of adventitious roots of Acmella radicans (Jacq.) R.K. Jansen cultured in shake flasks. Biomolecules, 13(5), 746. https://doi.org/10.3390/biom13050746 Blinstrubiene, A., Burbulis, N., Juskeviciute, N., Vaitkeviciene, N., & Zukiene, R. (2020). Effect of growth regulators on Stevia rebaudiana Bertoni callus genesis and influence of auxin and proline to steviol glycosides, phenols, flavonoids and antioxidant activity in vitro. Molecules, 25(12), 2759. https://doi.org/10.3390/molecules25122759 Bogado-Villalba, L., Nakayama Nakashima, H. D., Britos, R., Iehisa, J. M., & Flores Giubi, M. E. (2020). Genotypic characterization and steviol glycoside quantification in a population of Stevia rebaudiana Bertoni from Paraguay. Journal of Crop Science and Biotechnology. https://doi.org/10.1007/s12892-020-00066-1 Bovy, A., de Vos, R., Kemper, M., Schijlen, E., Pertejo, M. A., Muir, S. R., Collins, G., Robinson, S., Verhoeyen, M., & Hughes, S. (2002). High flavonol tomatoes resulting from the heterologous expression of the maize transcription factor genes Lc and C1. Plant Cell, 14, 2509-2526. https://doi.org/10.1105/tpc.004218 Boydak, E., & Omay, I. (2024). Plant density effect on agronomic parameters of Stevia rebaudiana. Research Square. https://doi.org/10.21203/rs.3.rs-4835008/v1 Butelli, E., Titta, L., Giorgio, M., Mock, H.-P., Matros, A., Peterek, S., Schijlen, E. G. W. M., Hall, R. D., Bovy, A. G., Luo, J., & Martin, C. (2008). Enrichment of tomato fruit with health-promoting anthocyanins by expression of select transcription factors. Nature Biotechnology, 26, 1301-1308. https://doi.org/10.1038/nbt.1524 Celaya, L. S., Taiariol, D. R., Valle, S., & Kolb Koslobsky, N. (2020). Glicósidos de esteviol y compuestos fenólicos en infusiones de Stevia rebaudiana dependiendo de la variedad. Revista de Ciencia y Tecnología, 33. https://doi.org/10.36995/j.recyt.2020.33.010 Ceunen, S., & Geuns, J. M. C. (2013). Glucose, sucrose, and steviol glycoside accumulation in Stevia rebaudiana grown under different photoperiods. Biologia Plantarum, 57(2), 390-394. https://doi.org/10.1007/s10535-012-0289-6101 Chaplin, M. F. (2012). Adapting the reducing sugars method with dinitrosalicylic acid to microtiter plates and microwave heating. Journal of the Brazilian Chemical Society, 24, 1-6. https://doi.org/10.1590/s0103-50532013005000003 Cohen, J. (1988). Statistical Power Analysis for the Behavioral Sciences (2.a ed.). Lawrence Erlbaum Associates. Everette, J. D., Bryant, Q. M., Green, A. M., Abbey, Y. A., Wangila, G. W., & Walker, R. B. (2010). Thorough study of reactivity of various compound classes toward the FolinCiocalteu reagent. Journal of Agricultural and Food Chemistry, 58(14), 8139-8144. https://doi.org/10.1021/jf1005935 Falcone Ferreyra, M. L., Rius, S. P., & Casati, P. (2012). Flavonoids: biosynthesis, biological functions, and biotechnological applications. Frontiers in Plant Science, 3, 222. https://doi.org/10.3389/fpls.2012.00222 Ferreira, K., de Oliveira, M. T., & Gurgel, E. P. (2024). The potential of plant tissue cultures to improve the steviol glycoside profile of Stevia rebaudiana Bertoni. International Journal of Molecular Sciences, 25(24), 13584. https://doi.org/10.3390/ijms252413584 Gantait, S., Mitra, M., & Mandal, N. (2020). Micropropagation of Stevia rebaudiana plants. Ciencia Rural, 50, e20181029. https://doi.org/10.1590/0103-8478cr20181029 Garcia-Ochoa, F., & Gomez, E. (2025). Integral forms of the Pirt and Luedeking-Piret models: Simple and accurate tools for bioprocess simulation. Authorea Preprints. https://doi.org/10.22541/au.174394998.87153798/v1 Garcia-Perez, P., & Lozano-Milo, E. (2021). Synthesis and production of steviol glycosides: recent research trends and perspectives. Applied Microbiology and Biotechnology, 105, 35-50. https://doi.org/10.1007/s00253-021-11306-x García-Pérez, P., & Lozano-Milo, E. (2021). Synthesis and production of steviol glycosides: recent research trends and perspectives. Applied Microbiology and Biotechnology, 105, 35-50. https://doi.org/10.1007/s00253-021-11306-x García-Pérez, P., Lozano-Milo, E., et al. (2023). Modeling the growth kinetics of cell suspensions of Randia echinocarpa and characterization of their bioactive compounds. Plant Cell, Tissue and Organ Culture, 155, 1-15. https://doi.org/10.1007/s11240-023-02599-z Georgiev, M. I., Weber, J., & MacIuk, A. (2014). Modeling of plant in vitro cultures: Overview and estimation of biotechnological processes. Biotechnology and Bioengineering, 111, 23-32. https://doi.org/10.1002/bit.25346 Ghazal, B., Fareed, A., Ahmad, N., et al. (2024). Elicitors directed in vitro growth and production of stevioside and other secondary metabolites in Stevia rebaudiana. Scientific Reports, 14, 65483. https://doi.org/10.1038/s41598-024-65483-6102 Giménez, B., Sanabria, M. E., & Salas, J. E. (2020). Efecto del cultivo en dos pisos altitudinales sobre la síntesis de metabolitos secundarios en hojas de Stevia rebaudiana Bertoni. Ciencia y Desarrollo, 23(2). https://doi.org/10.21503/cyd.v23i2.2092 Gjureci, B., Todorovska, M., Petreska Stanoeva, J., Tusevski, O., & Gadzovska Simic, S. (2025). Elicitation of Hypericum perforatum L. hairy root cultures with salicylic acid and jasmonic acid enhances the production of phenolic compounds and naphthodianthrones with biological activities. Plant Cell, Tissue and Organ Culture. https://doi.org/10.1007/s11240-025-03005-6 Golkar, P., Moradi, M., & Garousi, G. A. (2018). Elicitation of stevia glycosides using salicylic acid and silver nanoparticles under callus culture. Sugar Tech, 21, 569-577. https://doi.org/10.1007/s12355-018-0655-6 Gómez-Velázquez, H. D. J., Aparicio-Fernández, X., & Reynoso-Camacho, R. (2021). Chia sprouts elicitation with salicylic acid and hydrogen peroxide to improve their phenolic content, antioxidant capacities in vitro and the antioxidant status in obese rats. Plant Foods for Human Nutrition, 76, 350-356. https://doi.org/10.1007/s11130-021-00912-9 Hassan, D., et al. (2025). Effect of biofabricated zinc oxide nanoparticles on callus and in vitro regenerated shoots of extitReseda lutea. Biotechnology. https://doi.org/10.1080/15592324.2025.2558871 Hidalgo, D., et al. (2021). Engineering considerations to produce bioactive compounds from plant cell suspension culture in bioreactors. Plants, 10, 2762. https://doi.org/10.3390/plants10122762 Hussain, A., Qarshi, I. A., Nazir, H., & Ullah, I. (2012). Plant tissue culture: current status and opportunities. IntechOpen. https://doi.org/10.5772/50568 Javed, R., Yucesan, B., Zia, M., & Gurel, E. (2017a). CuO nanoparticles significantly influence in vitro culture of Stevia rebaudiana. Plant Cell Tissue and Organ Culture, 133, 1-8. https://doi.org/10.1007/s11240-017-1312-6 Javed, R., Yucesan, B., Zia, M., & Gurel, E. (2017b). Differential effects of plant growth regulators on physiology and antioxidant capacity in Stevia rebaudiana. Biologia, 72, 1167-1174. https://doi.org/10.1515/biolog-2017-0133 Jiménez Sánchez, K. R., Mercado Luna, A., Feregrino-Pérez, A. A., García Trejo, J. F., Chá- vez Servín, J. L., & Hernández Maldonado, R. (2021). Effect of nutrient solution concentration on phenology, stevioside content, total phenolic compounds and total flavonoids in leaves of Stevia rebaudiana Bertoni. Emirates Journal of Food and Agriculture, 33(3). https://doi.org/10.9755/ejfa.2021.v33.i3.2666 Kang, K., Park, S., Natsagdorj, U., Kim, Y.-S., & Back, K. (2011). Methanol is an endogenous elicitor molecule for the synthesis of tryptophan and tryptophan-derived secon103 dary metabolites upon senescence of detached rice leaves. The Plant Journal, 66(3), 247-257. https://doi.org/10.1111/j.1365-313X.2011.04486.x Karaköse, H., Jaiswal, R., & Kuhnert, N. (2011). Characterization and quantification of hydroxycinnamate derivatives in Stevia rebaudiana leaves by LC-MSn. Journal of Agricultural and Food Chemistry, 59(19), 10143-10150. https://doi.org/10.1021/jf202185m Katsumoto, Y., Fukuchi-Mizutani, M., Fukui, Y., Brugliera, F., Holton, T. A., Karan, M., Nakamura, N., Yonekura-Sakakibara, K., Togami, J., Pigeaire, A., Tao, G.-Q., Nehra, N. S., Lu, C.-Y., Dyson, B. K., Tsuda, S., Ashikari, T., Kusumi, T., Mason, J. G., & Tanaka, Y. (2007). Engineering of the rose flavonoid biosynthetic pathway successfully generated blue-hued flowers accumulating delphinidin. Plant and Cell Physiology, 48, 1589-1600. https://doi.org/10.1093/pcp/pcm131 Kazmi, A., Khan, M., & Mohammad, S. (2019). Elicitation directed growth and production of steviol glycosides in adventitious roots of Stevia rebaudiana. Industrial Crops and Products, 139, 111530. https://doi.org/10.1016/J.INDCROP.2019.111530 Khan, M., Ali, A., & Mohammad, S. (2020). Iron nano modulated growth and biosynthesis of steviol glycosides in Stevia rebaudiana. Plant Cell Tissue and Organ Culture, 144, 1-8. https://doi.org/10.1007/s11240-020-01902-6 Kim, S.-H., et al. (2024). Methyl jasmonate and salicylic acid enhance the total flavonoid, phenolics, and cannabidiol contents of extitCannabis sativa. Plant Cell Tissue and Organ Culture, 158, 1-12. https://doi.org/10.1007/s11240-024-02909-z Kim, Y.-J., et al. (2024). Influence of culture conditions on growth and daidzein and genistein production in hairy root cultures of Pueraria candollei. Horticulturae, 10, 788. https://doi.org/10.3390/horticulturae10080788 Kwon, I.-B., Park, J.-M., & Choi, Y.-C. (1999). Kinetic model of cell growth and secondary metabolite synthesis in plant cell culture of Thalictrum rugosum. Biotechnology and Bioprocess Engineering, 4, 103-108. https://doi.org/10.1007/bf02932383 Liopa-Tsakalidi, A. (2012). Effect of salicylic acid and gibberellic acid pre-soaking on seed germination of stevia under salt stress. Journal of Medicinal Plants Research, 5, 11. https://doi.org/10.5897/jmpr11.1106 Luedeking, R., & Piret, E. L. (1959). A kinetic study of the lactic acid fermentation. Batch process at controlled pH. Journal of Biochemical and Microbiological Technology and Engineering, 1, 393-412. https://doi.org/10.1002/jbm.540010406 Mala, M., Norrizah, J. S., & Azani, S. (2021). In vitro seed germination and elicitation of phenolics and flavonoids in in vitro germinated Trigonella foenum graecum plantlets. Biocatalysis and Agricultural Biotechnology, 35, 101907. https://doi.org/10.1016/j.bcab.2021.101907104 Martínez, M. E., Poirrier, P., Prüfer, D., Schulze Gronover, C., Jorquera, L., Ferrer, P., Díaz, K., & Chamy, R. (2018). Kinetics and modeling of cell growth for potential anthocyanin induction in cultures of Taraxacum officinale G.H. Weber ex Wiggers (Dandelion) in vitro. Electronic Journal of Biotechnology, 36, 15-23. https://doi.org/10.1016/j.ejbt.2018.08.006 Mathur, S., & Shekhawat, G. S. (2012). Establishment and characterization of Stevia rebaudiana cell suspension culture: an in vitro approach for production of stevioside. Acta Physiologiae Plantarum, 35, 1-8. https://doi.org/10.1007/s11738-012-1136-2 Meyer, P., Heidemann, I., Forkmann, G., & Saedler, H. (1987). A new petunia flower colour generated by transformation of a mutant with a maize gene. Nature, 330, 677-678. https://doi.org/10.1038/330677a0 Meza Monteverde, N., & Meza Palomino, E. (2019). Estadística aplicada a la investigación científica. Editorial San Marcos. Mo, Y., Nagel, C., & Taylor, L. P. (1992). Biochemical complementation of chalcone synthase mutants defines a role for flavonols in functional pollen. Proceedings of the National Academy of Sciences, 89, 7213-7217. https://doi.org/10.1073/pnas.89.15.7213 Moharramnejad, S., Taheri Azam, A., Panahandeh, J., Dehghanian, Z., & Ashraf, M. (2019). Effect of methyl jasmonate and salicylic acid on in vitro growth, stevioside production, and oxidative defense system in Stevia rebaudiana. Sugar Tech, 22(4), 614-620. https://doi.org/10.1007/s12355-019-00727-8 Monteiro, W. R., Castro, M. d. M., Mazzoni-Viveiros, S. C., & Mahlberg, P. G. (2001). Development and some histochemical aspects of foliar glandular trichomes of Stevia rebaudiana (Bert.) Bert. Asteraceae. Revista Brasileira de Botânica, 24(3), 323-332. https://doi.org/10.1590/s0100-84042001000300013 Montgomery, D. C. (2017). Design and Analysis of Experiments (9.a ed.). John Wiley & Sons. Murashige, T., & Skoog, F. (1962). A revised medium for rapid growth and bioassays with tobacco tissue cultures. Physiologia Plantarum, 15(3), 473-497. https://doi.org/10.1111/j.1399-3054.1962.tb08052.x Naeem, M., Haider, M. Z., Iftikhar, A., et al. (2022). Root cultures, a boon for the production of valuable compounds: a comparative review. Plants, 11, 439. https://doi.org/10.3390/plants11030439 Nartop, P. (2018). Engineering of Biomass Accumulation and Secondary Metabolite Production in Plant Cell and Tissue Cultures. En Biotechnology in Agriculture and Food Processing. Elsevier. https://doi.org/10.1016/b978-0-12-812689-9.00009-1105 Naz, B., Afzal, A., Ali, H., & Ahmad, N. (2024). Melatonin-induced stress enhanced biomass and secondary metabolites in Stevia rebaudiana. ACS Omega, 9, 1-10. https://doi.org/10.1021/acsomega.3c07404 Ochoa-Villarreal, M., et al. (2025). Comprehensive study of a novel Catharanthus roseus cell line for medicinal alkaloids production. Bioprocess and Biosystems Engineering. https://doi.org/10.1007/s00449-025-03270-x Othman, H. S., & Zainuddin, Z. (2022). Development of Stevia rebaudiana hybrids through Trigona-assisted pollination. Sains Malaysiana, 51(7). https://doi.org/10.17576/jsm-2022-5107-06 Ozturk, M., et al. (2024). In vitro shoot multiplication of extitHaplophyllum virgatum and flavonoid elicitation in proliferated shoots by methyl jasmonate. Plant Cell Tissue and Organ Culture, 156, 1-10. https://doi.org/10.1007/s11240-024-02804-7 Pairazamán-García, J., & Ríos-Caro, T. (2020). In vitro inhibitory effect of Stevia rebaudiana ethanolic extract on the cariogenic virulence factors of Streptococcus mutans ATCC 25175. Agro Industrial Science, 10(1). https://doi.org/10.17268/agroind.sci.2020.01.13 Palazon, J., et al. (2023). The advent of plant cells in bioreactors. Frontiers in Plant Science, 14, 1310405. https://doi.org/10.3389/fpls.2023.1310405 Pan, Y., Xu, D., Xiao, S., & Chen, Z. (2025). Cell growth kinetics and accumulation of secondary metabolite of Bletilla striata using cell suspension culture. Industrial Crops and Products, 225, 120997. https://doi.org/10.1016/j.indcrop.2025.120997 Pande, S., & Khetmalas, M. (2011). Biological effect of gamma irradiations on Stevia rebaudiana. World Wide Journals. https://doi.org/10.15373/2249555x/nov2011/3 Pandey, P., & Srivastava, P. (2023). Bioreactor systems for micropropagation of plants: present scenario and future prospects. Frontiers in Plant Science, 14, 1159588. https://doi.org/10.3389/fpls.2023.1159588 Papaefthimiou, M., Kontou, P. I., Bagos, P. G., & Braliou, G. G. (2024). Integration of Antioxidant Activity Assays Data of Stevia Leaf Extracts: A Systematic Review and Meta-Analysis. Antioxidants, 13(6), 692. https://doi.org/10.3390/antiox13060692 Paucar, K., Tufinio Miranda, K., Ames Canchaya, H., Vergara Sotomayor, A., & Fukusaki Yoshizawa, A. (2021). Determinación de la actividad antioxidante de extractos de hojas de Buddleja inkana, Oreocallis grandiflora y Chuquiraga spinosa. Revista de la Sociedad Química del Perú, 87(2). https://doi.org/10.37761/rsqp.v87i2.343 Perez-Alonso, N., Wilken, D., & Gerber, A. (2021). Temporary immersion system for production of biomass and bioactive compounds from medicinal plants. Agronomy, 11, 2414. https://doi.org/10.3390/agronomy11122414106 Pérez-Alonso, N., Wilken, D., & Gerber, A. (2021). Temporary immersion system for production of biomass and bioactive compounds from medicinal plants. Agronomy, 11, 2414. https://doi.org/10.3390/agronomy11122414 Quispe, J., Castillo, R., & Paredes, D. (2023). Produccion de metabolitos secundarios en cultivos in vitro de plantas medicinales peruanas: revision. Revista Peruana de Biologia, 30(2), e24582. https://doi.org/10.15381/rpb.v30i2.24582 Radi’c, S., Vuj ci’c, V., & Glogo ski, M. (2016). Influence of pH and plant growth regulators on secondary metabolite production of Stevia rebaudiana. Periodicum Biologorum, 118, 345-350. https://doi.org/10.18054/PB.2016.118.1.3420 Rakhmetov, D., et al. (2016). Introduction of Stevia rebaudiana plants in Ukraine. Zenodo. https://doi.org/10.5281/zenodo.2333352 Ramirez-Estrada, K., Vidal-Limon, H., Hidalgo, D., Moyano, E., Golenioski, J., & Palazon, J. (2016). Elicitation, an effective strategy for the biotechnological production of bioactive high-added value compounds in plant cell factories. Molecules, 21, 182. https://doi.org/10.3390/molecules21020182 Rasoli, F., & Gholipoor, M. (2023). Interactive effects of salicylic acid and jasmonic acid on secondary metabolite production in Echinacea purpurea. International Journal of Secondary Metabolite, 10(3). https://doi.org/10.21448/ijsm.1079812 Reis, R. V., Guidolin, A. F., & Rodrigues, M. (2020). Stevia rebaudiana Bertoni, a source of high-potency natural sweetener: biochemical and genetic characterization. Molecules, 25(4), 767. https://doi.org/10.3390/molecules25040767 Rosli, N. A., et al. (2025). Steviol glycoside production and growth in extitStevia rebaudiana shoot culture after methyl jasmonate elicitation. Journal of Science and Mathematics, 54(4). https://doi.org/10.17576/jsm-2025-5404-03 Roy, A., Khan, A., Ahmad, I., Alghamdi, S., Rajab, B. S., Babalghith, A. O., Alshahrani, M. Y., Islam, S., & Islam, M. R. (2022). Flavonoids a bioactive compound from medicinal plants and its therapeutic applications. BioMed Research International, 2022, 5445291. https://doi.org/10.1155/2022/5445291 Roy Chowdhury, M., Mehmet, M., Mukherjee, J., Debnath, A. J., & Raná, K. (2025). Chitosan as an elicitor in plant tissue cultures: methodological challenges. Molecules, 30, 173476. https://doi.org/10.3390/molecules30173476 Schlatmann, J. E., ten Hoopen, H. J. G., & Heijnen, J. J. (2000). Large-Scale Production of Secondary Metabolites by Plant Cell Cultures. En Plant Cell Culture Secondary Metabolites. CRC Press. https://doi.org/10.1201/9780138743208-2 Silva, L. P., et al. (2013). Optimizing a culture medium for biomass and phenolic compounds production using Ganoderma lucidum. Brazilian Journal of Microbiology, 44, 897-903. https://doi.org/10.1590/s1517-83822013005000032107 Simoni, S., Vangelisti, A., Clemente, C., Usai, G., Santin, M., Ventimiglia, M., Mascagni, F., Natali, L., Angelini, L. G., Cavallini, A., Tavarini, S., & Giordani, T. (2024). Transcriptomic analyses reveal insights into the shared regulatory network of phenolic compounds and steviol glycosides in Stevia rebaudiana. International Journal of Molecular Sciences, 25(4), 2136. https://doi.org/10.3390/ijms25042136 Singh, G., et al. (2024). Indirect organogenesis of extitCalendula officinalis L. and comparative phytochemical studies. Agronomy, 14, 1743. https://doi.org/10.3390/agronomy14081743 Sood, H., et al. (2021). Initiation, growth, and development of embryogenic calli of stevia. Biotecnologia Vegetal, 89, 1-8. https://doi.org/10.22302/iribb.jur.mp.v89i2.458 Soto-Vásquez, M. R. (2015). Metabolitos secundarios, cuantificación de fenoles y flavonoides totales de extractos etanólicos de propóleos de tres localidades del Perú. In Crescendo, 6(2). https://doi.org/10.21895/incres.2015.v6n2.03 Stracke, R., Ishihara, H., Huep, G., Barsch, A., Mehrtens, F., Niehaus, K., & Weisshaar, B. (2007). Differential regulation of closely related R2R3-MYB transcription factors controls flavonol accumulation in different parts of the Arabidopsis thaliana seedling. Plant Journal, 50, 660-677. https://doi.org/10.1111/j.1365-313X.2007.03082.x Suárez-Rebaza, L. A., Ganoza-Yupanqui, M. L., Zavala, E., & Alva-Plasencia, P. M. (2019). Phenolic compounds and antioxidant activity of hydroalcoholic and aqueous extracts of Prosopis pallida “algarrobo”. Agro Industrial Science, 9(1). https://doi.org/10.17268/agroind.sci.2019.01.11 Subrahmanyeswari, T., & Gantait, S. (2024). Identification of stevia lines with enhanced steviol glycosides from gamma ray mutagenesis. Plant Cell Tissue and Organ Culture, 156, 1-10. https://doi.org/10.1007/s11240-024-02892-5 Verduzco, A., Groff, C., Kuchen, B., Gil, R., Fernández, C., & Scaglia, G. (2023). Application of the Luedeking and Piret with delay time model in bioproductions with nonzero kinetic parameters. IEEE Latin America Transactions, 21, 1089-1096. https://doi.org/10.1109/tla.2023.10246344 Weathers, P. J., Towler, M. J., & Jijakli, H. (2021). Plant cell culture as a source of bioactive small molecules. Biotechnology Advances. https://doi.org/10.1016/j.biotechadv.2021.107774 Wenda, Y., Wowor, P. M., & Leman, M. A. (2017). Uji daya hambat ekstrak daun stevia (Stevia rebaudiana Bertoni M.) terhadap pertumbuhan Staphylococcus aureus secara in vitro. e-GiGi, 5(1). https://doi.org/10.35790/eg.5.1.2017.15416 Wijayanti, E. T., Kusuma, D. Y., Kristanti, A. N., Wibowo, A. T., Sugiharto, Sugiarso, D., & Manuhara, Y. S. W. (2024). Methyl jasmonate elicitation enhanced biomass, phenolic, and flavonoid production of adventitious root culture of extitGynura procumbens in108 balloon type bubble bioreactor. Majalah Obat Tradisional, 29(2), 162-172. https://doi.org/10.22146/mot.87736 Zhao, J., Davis, L. C., & Verpoorte, R. (2005). Elicitor signal transduction leading to production of plant secondary metabolites. Biotechnology Advances, 23(4), 283-333. https://doi.org/10.1016/j.biotechadv.2005.01.003`; // Extract proper DOIs const doiRegex = /10\.\d{4,9}\/[-._;()/:a-zA-Z0-9]+/g; const doisToFetch = new Set(); let doisMatch; while ((doisMatch = doiRegex.exec(referencesText)) !== null) { let doi = doisMatch[0].replace(/\.$/, ''); doisToFetch.add(doi); } const dois = Array.from(doisToFetch); const downloaded = []; const notDownloaded = []; const mirrors = ['https://sci-hub.st', 'https://sci-hub.ru', 'https://sci-hub.se', 'https://sci-hub.ee']; async function downloadPDF(doi) { for (const mirror of mirrors) { try { const url = `${mirror}/${doi}`; const resHtml = await fetch(url, { headers: { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36' }, signal: AbortSignal.timeout(10000) }).then(r => r.text()); const srcRegex = /]+src=(["'])(.*?)\1|]+src=(["'])(.*?)\3/i; const match = resHtml.match(srcRegex); let pdfUrl = null; if (match) { pdfUrl = match[2] || match[4]; } else { const btnRegex = /onclick="location\.href='(.*?)'"/i; const btnMatch = resHtml.match(btnRegex); if (btnMatch) pdfUrl = btnMatch[1]; } if (!pdfUrl) continue; if (pdfUrl.startsWith('//')) { pdfUrl = 'https:' + pdfUrl; } else if (pdfUrl.startsWith('/')) { pdfUrl = mirror + pdfUrl; } const pdfRes = await fetch(pdfUrl, { headers: { 'User-Agent': 'Mozilla/5.0' }, signal: AbortSignal.timeout(20000) }); if (!pdfRes.ok) continue; const buffer = await pdfRes.arrayBuffer(); if (buffer.byteLength < 5000) continue; const safeFilename = doi.replace(/[^a-z0-9]/gi, '_').substring(0, 100) + '.pdf'; const dest = path.join(targetDir, safeFilename); await fs.writeFile(dest, Buffer.from(buffer)); return true; } catch (err) { console.error(`Mirror ${mirror} failed for DOI ${doi}:`, err.message); } } return false; } async function run() { for (const doi of dois) { process.stdout.write(`Downloading ${doi}... `); const success = await downloadPDF(doi); if (success) { downloaded.push(doi); console.log('OK'); } else { notDownloaded.push(doi); console.log('FAILED'); } // Delay to prevent rate limiting await new Promise(r => setTimeout(r, 1000)); } let report = '# Informe de Descarga de Artículos\n\n'; report += '## DOIs Descargados\n\n'; downloaded.forEach(d => report += `- ${d}\n`); report += '\n## DOIs No Descargados\n\n'; notDownloaded.forEach(d => report += `- ${d}\n`); report += '\n## Referencias (APA 7)\n\n'; report += referencesText.replace(/\n(?!\n)/g, ' \n'); await fs.writeFile(path.join(targetDir, 'informe.md'), report); console.log('Report generated at ' + path.join(targetDir, 'informe.md')); } run();