{"id":16470,"date":"2026-10-28T17:04:59","date_gmt":"2026-10-28T16:04:59","guid":{"rendered":"https:\/\/iridia.cat\/mesiridia\/"},"modified":"2026-11-25T17:54:58","modified_gmt":"2026-11-25T16:54:58","slug":"mesiridia","status":"publish","type":"page","link":"https:\/\/iridia.cat\/es\/mesiridia\/","title":{"rendered":"M\u00e1s represi\u00f3n,\nm\u00e1s Ir\u00eddia"},"content":{"rendered":"\n<div style=\"height:64px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:35%\">\n<h2 class=\"wp-block-heading has-text-align-left pt-2 text-3xl pb-4 has-x-large-font-size\"><strong>Que nadie se quede solo ante la violencia policial<\/strong><\/h2>\n\n\n<h1 class=\"border-t-2 pt-2 border-secondary text-3xl wp-block-post-title has-x-large-font-size\">M\u00e1s represi\u00f3n,\nm\u00e1s Ir\u00eddia<\/h1><\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:65%\">\n<p class=\"wp-block-paragraph\">Este 2026, las personas que se han dirigido a nuestro <strong>Servicio de Atenci\u00f3n y Denuncia ante situaciones de Violencia Institucional (<a href=\"https:\/\/iridia.cat\/es\/saidavi\/\">SAIDAVI<\/a>)<\/strong> han aumentado m\u00e1s de un 50 % respecto al a\u00f1o pasadode 266 a 410. De ellas, alrededor de un centenar han sufrido malos tratos o agresiones por parte de cuerpos policiales, seguridad privada o funcionariado de prisiones. Catorce de ellas en un solo d\u00eda: <strong>la huelga general del 11N<\/strong>, una jornada marcada por agentes de paisano encapuchados y polic\u00edas sin identificar, con m\u00e1s de 50 personas detenidas y tres en prisi\u00f3n provisional.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">El Servicio atiende gratuitamente a las personas que han sufrido violencia policial, ofreciendo asesoramiento legal y acompa\u00f1amiento psicosocial para denunciar los malos tratos y la tortura, tanto ante los tribunales como p\u00fablicamente. Para seguir atendiendo a las personas afectadas y denunciando las vulneraciones de derechos, <strong>necesitamos tu apoyo<\/strong>.<\/p>\n<\/div>\n<\/div>\n\n\n\n<div style=\"height:80px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><style>\n            @keyframes jamgoProgressGrow {\n                from { width: 0; }\n                to { width: var(--target-width); }\n            }\n            .jamgo-progress-bar {\n                width: 0;\n                transition: width 1.2s ease-out;\n            }\n            .jamgo-progress-bar.active {\n                animation: jamgoProgressGrow 1.2s ease-out forwards;\n            }\n        <\/style><div class=\"w-full max-w-xl mx-auto mb-3\"><div class=\"relative w-full bg-gray-200 h-10 rounded-md overflow-hidden\"><div class=\"h-10 rounded-md jamgo-progress-bar active\" data-progress=\"0\" style=\"--target-width: 0%; background-image: repeating-linear-gradient(45deg, #20c589, #20c589 10px, rgba(32,197,137,0.75) 10px, rgba(32,197,137,0.75) 20px);\"><\/div><div class=\"absolute inset-0 flex items-center pl-4 text-sm font-medium text-black z-10\">0 \u20ac conseguidos<\/div><\/div><\/div>\n\n\n\n<div style=\"height:42px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-buttons alignfull is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-fe48e5de wp-block-buttons-is-layout-flex\">\n<div style=\"--wp--block-button--width: 75;\" class=\"wp-block-button button-iridia is-style-fill has-custom-width wp-block-button__width wp-block-button__width-75\"><a class=\"wp-block-button__link wp-element-button\" href=\"#donacio\">Haz una aportaci\u00f3n<\/a><\/div>\n<\/div>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><strong><strong><strong>\u00a1Tu aportaci\u00f3n desgrava hasta un 80 %!<\/strong><\/strong><\/strong><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Con <strong><mark style=\"background-color:#00cb8b\" class=\"has-inline-color\">10.000 \u20ac<\/mark> <\/strong>garantizaremos la atenci\u00f3n y las primeras visitas de las personas afectadas por violencia institucional que se han puesto en contacto con nosotras.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Con <strong><mark style=\"background-color:#00cb8b\" class=\"has-inline-color\">30.000 \u20ac<\/mark> <\/strong>mantendremos activo el Servicio de Atenci\u00f3n y Denuncia hasta final de a\u00f1o y podremos empezar a litigar al menos uno de los casos m\u00e1s graves que nos han llegado.<\/p>\n<\/div>\n<\/div>\n\n\n\n<div style=\"height:80px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"border-t-2 border-secondary text-3xl wp-block-paragraph\"><\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column pr-2 is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:60%\">\n<h2 class=\"wp-block-heading pt-2 text-3xl pb-4\">Qu\u00e9 significa mantener activo el Servicio de Atenci\u00f3n y Denuncia<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Para atender los casos de violencia policial hace falta una persona que se encargue de la primera atenci\u00f3n telef\u00f3nica y coordine la entrada de casos. Tambi\u00e9n hacen falta abogadas y psic\u00f3logas que realicen las entrevistas psicojur\u00eddicas, asesoren a la persona afectada y la acompa\u00f1en en el proceso de presentar denuncia. Adem\u00e1s, hay que buscar pruebas (c\u00e1maras, testigos, llamamientos en redes para conseguir im\u00e1genes\u2026) y, si es necesario, denunciar p\u00fablicamente las vulneraciones de derechos.<\/p>\n\n\n\n<div data-wp-context=\"{ &quot;autoclose&quot;: false, &quot;accordionItems&quot;: [] }\" data-wp-interactive=\"core\/accordion\" role=\"group\" class=\"wp-block-accordion is-layout-flow wp-block-accordion-is-layout-flow\">\n<div data-wp-class--is-open=\"state.isOpen\" data-wp-context=\"{ &quot;id&quot;: &quot;accordion-item-1&quot;, &quot;openByDefault&quot;: false }\" data-wp-init=\"callbacks.initAccordionItems\" data-wp-on-window--hashchange=\"callbacks.hashChange\" class=\"wp-block-accordion-item is-layout-flow wp-block-accordion-item-is-layout-flow\">\n<h3 class=\"wp-block-accordion-heading has-icon has-icon-right\"><button aria-expanded=\"false\" aria-controls=\"accordion-item-1-panel\" data-wp-bind--aria-expanded=\"state.isOpen\" data-wp-on--click=\"actions.toggle\" id=\"accordion-item-1\" type=\"button\" class=\"wp-block-accordion-heading__toggle\"><span class=\"wp-block-accordion-heading__toggle-title\"><mark style=\"background-color:#7bdcb5\" class=\"has-inline-color\"> + <strong>CONSULTA EL DETALLE DEL EQUIPO Y LOS GASTOS<\/strong><\/mark><\/span><span class=\"wp-block-accordion-heading__toggle-icon\" aria-hidden=\"true\">+<\/span><\/button><\/h3>\n\n\n\n<div aria-labelledby=\"accordion-item-1\" data-wp-bind--hidden=\"state.isHidden\" data-wp-on--beforematch=\"actions.handleBeforeMatch\" id=\"accordion-item-1-panel\" role=\"region\" class=\"wp-block-accordion-panel is-layout-flow wp-block-accordion-panel-is-layout-flow\">\n<p class=\"wp-block-paragraph\">El coste para garantizar el servicio entre el 12 de noviembre y el 31 de diciembre de 2026 es:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"closed\"><strong>Atenci\u00f3n telef\u00f3nica:<\/strong> recepci\u00f3n de los casos, coordinaci\u00f3n de las primeras visitas, primera atenci\u00f3n y sistematizaci\u00f3n de la informaci\u00f3n: 4.160 \u20ac<\/li>\n\n\n\n<li class=\"closed\"><strong>Asesoramiento legal:<\/strong> entrevistas y seguimiento de los casos, con 3 personas con dedicaci\u00f3n parcial: 7.120 \u20ac<\/li>\n\n\n\n<li class=\"closed\"><strong>Asesoramiento psicosocial:<\/strong> entrevistas, seguimiento y coordinaci\u00f3n psicosocial de los casos: 5.520 \u20ac<\/li>\n\n\n\n<li class=\"closed\"><strong>Coordinaci\u00f3n legal de los casos:<\/strong> 2.368 \u20ac<\/li>\n\n\n\n<li class=\"closed\"><strong>Comunicaci\u00f3n:<\/strong> difusi\u00f3n de las vulneraciones de derechos en redes, llamamiento a aportar nuevas im\u00e1genes y pruebas, y elaboraci\u00f3n de materiales gr\u00e1ficos: 2.612 \u20ac<\/li>\n\n\n\n<li class=\"closed\"><strong>Total equipo: 21.780 \u20ac<\/strong><\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column pl-4 is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:40%\">\n<h2 class=\"wp-block-heading pt-2 text-3xl pb-4\">Llevar un caso a los tribunales<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Para llevar a la polic\u00eda a juicio no dan subvenciones. Asumir un caso como litigio significa que nuestro equipo de abogadas impulsa todas las acciones legales necesarias durante un proceso judicial que suele durar entre 4 y 9 a\u00f1os (\u00a1y algunos, a\u00fan m\u00e1s!), con el acompa\u00f1amiento psicosocial de la psic\u00f3loga asignada.<strong> El coste m\u00ednimo de un litigio de este tipo es de 15.000 \u20ac<\/strong>, pero generalmente es mucho m\u00e1s alto: entre 30.000 y 50.000 \u20ac, y en casos como el de <a href=\"https:\/\/justiciaroger.cat\/\">Roger Espa\u00f1ol<\/a>, m\u00e1s de 100.000 \u20ac.<\/p>\n<\/div>\n<\/div>\n\n\n\n<div style=\"height:80px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center pt-2 text-3xl pb-4 border-t-2 border-secondary has-x-large-font-size\" id=\"donacio\">Haz tu aportaci\u00f3n<\/h2>\n\n\n\n<div style=\"height:64px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">    <div id=\"swiper_6b0718b5ac6ea\" class=\"my-swiper swiper w-full mx-auto rounded-2xl shadow-lg\">\n        <div class=\"swiper-wrapper\">\n            <br \/>\n<div class=\"swiper-slide flex items-center justify-center\"><img decoding=\"async\" src=\"https:\/\/iridia.cat\/wp-content\/uploads\/2026\/11\/bossa.jpg\" alt=\"bossa\" class=\"w-full h-auto object-cover rounded-xl\" \/><\/div><br \/>\n<div class=\"swiper-slide flex items-center justify-center\"><img decoding=\"async\" src=\"https:\/\/iridia.cat\/wp-content\/uploads\/2026\/11\/samarreta.jpg\" alt=\"samarreta\" class=\"w-full h-auto object-cover rounded-xl\" \/><\/div><br \/>\n<div class=\"swiper-slide flex items-center justify-center\"><img decoding=\"async\" src=\"https:\/\/iridia.cat\/wp-content\/uploads\/2026\/11\/IridiaFest.jpg\" alt=\"entrada\" class=\"w-full h-auto object-cover rounded-xl\" \/><\/div><br \/>\n<div class=\"swiper-slide flex items-center justify-center\"><img decoding=\"async\" src=\"https:\/\/iridia.cat\/wp-content\/uploads\/2026\/11\/entradasamarreta.jpg\" alt=\"samarreta+entrada\" class=\"w-full h-auto object-cover rounded-xl\" \/><\/div><br \/>\n<div class=\"swiper-slide flex items-center justify-center\"><img decoding=\"async\" src=\"https:\/\/iridia.cat\/wp-content\/uploads\/2026\/11\/formacions.jpg\" alt=\"formacio\" class=\"w-full h-auto object-cover rounded-xl\" \/><\/div><br \/>\n<div class=\"swiper-slide flex items-center justify-center\"><img decoding=\"async\" src=\"https:\/\/iridia.cat\/wp-content\/uploads\/2026\/11\/20entrades.jpg\" alt=\"20entrades\" class=\"w-full h-auto object-cover rounded-xl\" \/><\/div><br \/>\n        <\/div>\n        <!-- Controles -->\n        <div class=\"swiper-pagination text-secondary!\"><\/div>\n        <div class=\"swiper-button-prev text-secondary!\"><\/div>\n        <div class=\"swiper-button-next text-secondary!\"><\/div>\n    <\/div>\n\n    <script>\n        document.addEventListener(\"DOMContentLoaded\", function() {\n            new Swiper(\"#swiper_6b0718b5ac6ea\", {\n                loop: true,\n                autoplay: { delay: 5000 },\n                effect: \"fade\",\n                autoHeight: true,\n                pagination: { \n                    el: \"#swiper_6b0718b5ac6ea .swiper-pagination\", \n                    clickable: true \n                },\n                navigation: {\n                    nextEl: \"#swiper_6b0718b5ac6ea .swiper-button-next\",\n                    prevEl: \"#swiper_6b0718b5ac6ea .swiper-button-prev\",\n                },\n            });\n        });\n    <\/script>\n    \n\n\n\n<p class=\"has-text-align-center has-small-font-size wp-block-paragraph\">El color de los tejidos puede variar en el producto final.<\/p>\n\n\n\n<ul class=\"wp-block-list pt-4\">\n<li class=\"closed\">50 \u20ac \u00b7 Socio\/a anual + bolsa Abra\u00e7a&#8217;m<\/li>\n\n\n\n<li class=\"closed\">70 \u20ac \u00b7 Socio\/a anual + camiseta Abra\u00e7a&#8217;m<\/li>\n\n\n\n<li class=\"closed\">80 \u20ac \u00b7 Socio\/a anual + entrada para el Ir\u00eddia Fest<\/li>\n\n\n\n<li class=\"closed\">150 \u20ac \u00b7 Socio\/a anual + entrada para el Ir\u00eddia Fest + camiseta Abra\u00e7a&#8217;m<\/li>\n\n\n\n<li class=\"closed\">500 \u20ac \u00b7 Formaci\u00f3n para tu entidad <a href=\"https:\/\/iridia.cat\/es\/formacions\/\">(m\u00e1s informaci\u00f3n aqu\u00ed)<\/a><\/li>\n\n\n\n<li class=\"closed\">1.000 \u20ac \u00b7 Entidades: 20 entradas para el Ir\u00eddia Fest + 20 bolsas Abra\u00e7a&#8217;m<\/li>\n<\/ul>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-secondary-color\"><strong>Haz tu aportaci\u00f3n, recuerda que desgrava hasta un 80 %:<\/strong><\/mark><\/p>\n\n\n\n\n<script type=\"text\/javascript\" src=\"https:\/\/sinergia.iridia.cat\/cache\/include\/javascript\/sugar_grp1_jquery.js?v=BAVFSmQamCrFj3mlVSqdUQ\"><\/script>\n<script type=\"text\/javascript\" src=\"https:\/\/sinergia.iridia.cat\/cache\/include\/javascript\/sugar_grp1_yui.js?v=BAVFSmQamCrFj3mlVSqdUQ\"><\/script>\n<script type=\"text\/javascript\" src=\"https:\/\/sinergia.iridia.cat\/cache\/include\/javascript\/sugar_grp1.js?v=BAVFSmQamCrFj3mlVSqdUQ\"><\/script>\n<script src=\"https:\/\/challenges.cloudflare.com\/turnstile\/v0\/api.js\" async defer><\/script>\n<html lang='ca_ES'>\r\n\t<head>\r\n\t\t<meta http-equiv=\"Content-Type\" content=\"text\/html; charset=UTF-8\">\r\n\r\n\t\t<!-- css -->\r\n\t\t\t\t\t<link rel=\"stylesheet\" type=\"text\/css\" media=\"all\" href=\"https:\/\/sinergia.iridia.cat\/cache\/themes\/SuiteP\/css\/Stic\/style.css?v=eh7LfkxwsneNQec1WI_zbA\">\r\n\t\t<!-- \/\/ css -->\r\n\t\t    <style>\r\n        .amount-btn {\r\n          background-color: #20c589;\r\n          color: #000000;\r\n          border: none;\r\n          padding: 12px 20px;\r\n          font-size: 18px;\r\n          font-weight: 500;\r\n          border-radius: 4px;\r\n          cursor: pointer;\r\n          margin-top: 6px;\r\n          transition: opacity 0.2s;\r\n        }\r\n        .amount-btn:hover {\r\n          opacity: 0.8;\r\n        }\r\n        .amount-btn.active {\r\n          opacity: 0.6;\r\n        }\r\n    <\/style>\r\n\t\t<!-- js scripts -->\r\n\t\t\t\t\t<script type=\"text\/javascript\" src=\"https:\/\/sinergia.iridia.cat\/cache\/include\/javascript\/sugar_grp1_jquery.js?v=eh7LfkxwsneNQec1WI_zbA\"><\/script>\r\n\t\t\t\t\t<script type=\"text\/javascript\" src=\"https:\/\/sinergia.iridia.cat\/cache\/include\/javascript\/sugar_grp1_yui.js?v=eh7LfkxwsneNQec1WI_zbA\"><\/script>\r\n\t\t\t\t\t<script type=\"text\/javascript\" src=\"https:\/\/sinergia.iridia.cat\/cache\/include\/javascript\/sugar_grp1.js?v=eh7LfkxwsneNQec1WI_zbA\"><\/script>\r\n          <script src=\"https:\/\/challenges.cloudflare.com\/turnstile\/v0\/api.js\" async defer><\/script>\r\n\t\t\t\t\t\t<!-- \/\/ js scripts -->\r\n\t<\/head>\r\n\r\n\t<body>\r\n\t\t<form action=\"https:\/\/sinergia.iridia.cat\/index.php?entryPoint=stic_Web_Forms_save\" name=\"WebToLeadForm\" method=\"POST\" id=\"WebToLeadForm\" >\r\n\t\t\t<p><input type=\"hidden\" id=\"event_id\" name=\"event_id\" value=\"00000455-fdfe-6008-62a0-6ae21405bd63\" \/>\r\n        <input type=\"hidden\" id=\"redirect_url\" name=\"redirect_url\" value=\"https:\/\/iridia.cat\/es\/pagina-dagraiment\/\" \/>\r\n        <input type=\"hidden\" id=\"redirect_ko_url\" name=\"redirect_ko_url\" value=\"https:\/\/iridia.cat\/es\/error-dades\" \/> \r\n        <input type=\"hidden\" id=\"validate_identification_number\" name=\"validate_identification_number\" value=\"1\" \/> \r\n        <input type=\"hidden\" id=\"assigned_user_id\" name=\"assigned_user_id\" value=\"1\" \/> \r\n        <input type=\"hidden\" id=\"req_id\" name=\"req_id\" value=\"Contacts___first_name;Contacts___last_name;Contacts___email1;Contacts___stic_identification_number_c;Accounts___name;stic_Payment_Commitments___amount;stic_Payment_Commitments___payment_method;\" \/> \r\n        <input type=\"hidden\" id=\"bool_id\" name=\"bool_id\" value=\"Contacts___consentiment_c;stic_Registrations___bossa_c;\" \/> \r\n        <input type=\"hidden\" id=\"webFormClass\" name=\"webFormClass\" value=\"EventInscription\" \/> \r\n        <input type=\"hidden\" id=\"stic_Payment_Commitments___payment_type\" name=\"stic_Payment_Commitments___payment_type\" value=\"donation\" \/> \r\n        <input type=\"hidden\" id=\"stic_Payment_Commitments___periodicity\" name=\"stic_Payment_Commitments___periodicity\" value=\"punctual\" \/>\r\n        <input type=\"hidden\" id=\"stic_Payment_Commitments___payment_method\" name=\"stic_Payment_Commitments___payment_method\" value=\"stripe_donacions\" \/> \r\n        <input type=\"hidden\" id=\"stic_Registrations___status\" name=\"stic_Registrations___status\" value=\"confirmed\" \/>\r\n        <input type=\"hidden\" id=\"stic_Registrations___pregunta_num_1_c\" name=\"stic_Registrations___pregunta_num_1_c\" value=\"2\" \/> \r\n        <input type=\"hidden\" id=\"language\" name=\"language\" value=\"ca_ES\" \/> \r\n        <input type=\"hidden\" id=\"defParams\" name=\"defParams\" value=\"%7B%22include_payment_commitment%22%3A1%2C%22include_organization%22%3A1%2C%22account_code_mandatory%22%3A0%2C%22include_registration%22%3A1%2C%22account_name_optional%22%3A1%2C%22email_template_id%22%3A%22%22%2C%22include_recaptcha%22%3A0%2C%22recaptcha_configKeys%22%3A%5B%22%28General%29%22%5D%2C%22recaptcha_selected%22%3A%22%22%7D\" \/> \r\n        <input type=\"hidden\" id=\"timeZone\" name=\"timeZone\" value=\"\" \/><\/p>\r\n\r\n        <div><input id=\"Contacts___first_name\" name=\"Contacts___first_name\" type=\"text\" placeholder=\"Nombre*\" required><\/div>\r\n        <div><input id=\"Contacts___last_name\" name=\"Contacts___last_name\" type=\"text\" placeholder=\"Apellidos*\" required><\/div>\r\n        <div><input id=\"Contacts___email1\" name=\"Contacts___email1\" type=\"email\" placeholder=\"Correo electr\u00f3nico*\" onchange=\"validateEmailAdd(this);\" required><\/div>\r\n        <div><input id=\"Contacts___phone_mobile\" name=\"Contacts___phone_mobile\" type=\"text\" placeholder=\"M\u00f3vil*\" required><\/div>\r\n        <div><input id=\"Contacts___postal_code\" name=\"Contacts___postal_code\" type=\"text\" placeholder=\"C\u00f3digo postal*\"><\/div>\r\n        <div><input id=\"Contacts___stic_identification_number_c\" name=\"Contacts___stic_identification_number_c\" type=\"text\" placeholder=\"DNI\/NIE*\" required><\/div>\r\n        <div>\r\n            <span><label id=\"lbl_stic_Registrations___description\" for=\"stic_Registrations___description\">Selecciona la recompensa:<\/label><\/span>\r\n                    <span style=\"display:block; width:100%; min-width:0;\"><select id=\"stic_Registrations___description\" name=\"stic_Registrations___description\" style=\"width:100%; max-width:100%; min-width:0; box-sizing:border-box; font-size:16px;\">\r\n                      <option label=\"Sin recompensa (importe a elegir)\" value=\"sense\">Sin recompensa (importe a elegir)<\/option>  \r\n                      <option label=\"50 \u20ac \u00b7 Socio\/a anual + bolsa Abra\u00e7a\u2019m\" value=\"bossa\">50 \u20ac \u00b7 Socio\/a anual + bolsa Abra\u00e7a\u2019m<\/option>\r\n                        <option label=\"70 \u20ac \u00b7 Socio\/a anual + camiseta Abra\u00e7a\u2019m\" value=\"samarreta\">70 \u20ac \u00b7 Socio\/a anual + camiseta Abra\u00e7a\u2019m<\/option>\r\n                        <option label=\"80 \u20ac \u00b7 Socio\/a anual + entrada para Ir\u00eddia Fest\" value=\"entrada\">80 \u20ac \u00b7 Socio\/a anual + entrada para Ir\u00eddia Fest<\/option>\r\n                        <option label=\"150 \u20ac \u00b7 Socio\/a anual + entrada para Ir\u00eddia Fest + camiseta Abra\u00e7a\u2019m\" value=\"entrada+samarreta\">150 \u20ac \u00b7 Socio\/a anual + entrada para Ir\u00eddia Fest + camiseta Abra\u00e7a\u2019m<\/option>\r\n                        <option label=\"500 \u20ac \u00b7 Formaci\u00f3n para tu entidad\" value=\"formacio\">500 \u20ac \u00b7 Formaci\u00f3n para tu entidad<\/option>\r\n                        <option label=\"1.000 \u20ac \u00b7 Entidades: 20 entradas para Ir\u00eddia Fest + 20 bolsas\" value=\"20entrades\">1.000 \u20ac \u00b7 Entidades: 20 entradas para Ir\u00eddia Fest + 20 bolsas<\/option>\r\n                        <\/select><\/span>\r\n        <\/div>\r\n\r\n        <div>\r\n            <span><label id=\"lbl_stic_Registrations___talla_c\" for=\"stic_Registrations___talla_c\">Selecciona la talla de la camiseta:<\/label><\/span>\r\n                    <span style=\"display:block; width:100%; min-width:0;\"><select id=\"stic_Registrations___talla_c\" name=\"stic_Registrations___talla_c\" style=\"width:100%; max-width:100%; min-width:0; box-sizing:border-box; font-size:16px;\">\r\n                        <option label=\"\" value=\"\"><\/option>\r\n                        <option label=\"XS\" value=\"XS\">XS<\/option>\r\n                        <option label=\"S\" value=\"S\">S<\/option>\r\n                        <option label=\"M\" value=\"M\">M<\/option>\r\n                        <option label=\"L\" value=\"L\">L<\/option>\r\n                        <option label=\"XL\" value=\"XL\">XL<\/option>\r\n                        <option label=\"XXL\" value=\"XXL\">XXL<\/option>\r\n                        <\/select><\/span>\r\n        <\/div>\r\n        <div id=\"bloc-lliurament\" style=\"display:none\">\r\n          <label>\u00bfC\u00f3mo quieres recibir la recompensa? (disponibles en febrero)<\/label>\r\n          <label style=\"display:flex;align-items:flex-start;gap:8px;margin-top:6px;\"><input type=\"radio\" name=\"lliurament_recompensa\" value=\"oficina\" style=\"accent-color:#20c589;width:18px;height:18px;margin-top:2px;flex-shrink:0;\"> Recogida en la oficina (Riera d'Escuder 38, nave 1, planta baja, Barcelona)<\/label>\r\n          <label style=\"display:flex;align-items:flex-start;gap:8px;margin-top:6px;\"><input type=\"radio\" name=\"lliurament_recompensa\" value=\"enviament\" style=\"accent-color:#20c589;width:18px;height:18px;margin-top:2px;flex-shrink:0;\"> Env\u00edo a una direcci\u00f3n<\/label>\r\n\r\n          <div id=\"adreca-enviament\" style=\"display:none; margin-top:10px;\">\r\n            <label>Direcci\u00f3n de env\u00edo de la recompensa:<\/label>\r\n            <div><input id=\"stic_Registrations___pregunta_text_1_c\" name=\"stic_Registrations___pregunta_text_1_c\" type=\"text\" placeholder=\"Calle*\" required><\/div>\r\n            <div><input id=\"stic_Registrations___pregunta_text_2_c\" name=\"stic_Registrations___pregunta_text_2_c\" type=\"text\" placeholder=\"C\u00f3digo postal*\" required><\/div>\r\n            <div><input id=\"stic_Registrations___pregunta_text_3_c\" name=\"stic_Registrations___pregunta_text_3_c\" type=\"text\" placeholder=\"Localidad*\" required><\/div>\r\n            <div><input id=\"stic_Registrations___pregunta_text_4_c\" name=\"stic_Registrations___pregunta_text_4_c\" type=\"text\" placeholder=\"Pa\u00eds*\" required><\/div>\r\n          <\/div>\r\n        <\/div>\r\n\r\n        <div style=\"display:block; width:100%; min-width:0;\"><select id=\"stic_Registrations___formacions_c\" name=\"stic_Registrations___formacions_c\" style=\"width:100%; max-width:100%; min-width:0; box-sizing:border-box; font-size:16px;\" required>\r\n          <option value=\"\" disabled selected>Elige la formaci\u00f3n:<\/option>\r\n          <option label=\"Litigio estrat\u00e9gico\" value=\"litigi\">Litigio estrat\u00e9gico<\/option>\r\n          <option label=\"Comunicaci\u00f3n\" value=\"comunicacio\">Comunicaci\u00f3n<\/option>\r\n          <option label=\"Perspectiva psicosocial\" value=\"psico\">Perspectiva psicosocial<\/option>\r\n          <option label=\"Incidencia pol\u00edtica\" value=\"incidencia\">Incidencia pol\u00edtica<\/option>\r\n          <\/select>\r\n        <\/div>\r\n\r\n        <div id=\"bloc-entitat\">\r\n          <label>Datos de la entidad:<\/label>\r\n          <div><input id=\"Accounts___name\" name=\"Accounts___name\" type=\"text\" placeholder=\"Nombre de la organizaci\u00f3n*\" required><\/div>\r\n          <div><input id=\"Accounts___stic_identification_number_c\" name=\"Accounts___stic_identification_number_c\" type=\"text\" placeholder=\"NIF*\" required><\/div>\r\n          <div><input id=\"Accounts___billing_address_postalcode\" name=\"Accounts___billing_address_postalcode\" type=\"text\" placeholder=\"C\u00f3digo postal*\" required><\/div>\r\n          <div><input id=\"Accounts___email1\" name=\"Accounts___email1\" type=\"text\" placeholder=\"Correo electr\u00f3nico*\" required><\/div>\r\n        <\/div>\r\n\r\n        <div><input id=\"stic_Payment_Commitments___amount\" name=\"stic_Payment_Commitments___amount\" type=\"text\" placeholder=\"Importe*\" readonly hidden><\/div>\r\n        <input type=\"hidden\" id=\"stic_Registrations___attendees\" name=\"stic_Registrations___attendees\" value=\"1\">\r\n        <input type=\"checkbox\" id=\"stic_Registrations___bossa_c\" name=\"stic_Registrations___bossa_c\" style=\"display:none\">\r\n\r\n          <div class=\"col\">\r\n            <div id=\"amount-selector\" style=\"margin-top:10px; display:none;\">\r\n              <button type=\"button\" class=\"amount-btn\" data-amount=\"10\">10 \u20ac<\/button>\r\n              <button type=\"button\" class=\"amount-btn\" data-amount=\"25\">25 \u20ac<\/button>\r\n              <button type=\"button\" class=\"amount-btn\" data-amount=\"50\">50 \u20ac<\/button>\r\n              <button type=\"button\" class=\"amount-btn\" data-amount=\"80\">80 \u20ac<\/button>\r\n              <button type=\"button\" class=\"amount-btn\" data-amount=\"100\">100 \u20ac<\/button>\r\n              <button type=\"button\" class=\"amount-btn\" data-amount=\"200\">200 \u20ac<\/button>\r\n              <button type=\"button\" id=\"other-btn\" class=\"amount-btn\">Otras cantidades<\/button>\r\n\r\n              <div id=\"other-input-container\" style=\"display:none; margin-top:8px;\">\r\n                <input type=\"number\" id=\"other-input\" min=\"1\" placeholder=\"Otras cantidades\"\r\n                      style=\"padding:8px 10px;font-size:16px;width:160px;\">\r\n              <\/div>\r\n\r\n              <p id=\"selected-amount\" style=\"margin-top:10px;font-weight:bold;\"><\/p>\r\n            <\/div>\r\n          <\/div>\r\n\r\n<div class=\"fila\" style=\"margin-top: 30px;\">\r\n<div class=\"col\">\r\n<label style=\"font-size: small;\">La Asociaci\u00f3n Ir\u00eddia, Centro para la Defensa de los Derechos Humanos [NIF: G66610882 y DPD dades@iridia.cat], como responsable del tratamiento, tratar\u00e1 tus datos con la finalidad de gestionar tu aportaci\u00f3n y enviarte informaci\u00f3n sobre nuestras actividades, actos y campa\u00f1as, sobre la base de tu consentimiento. Los datos no se comunicar\u00e1n a terceros, excepto a los proveedores de servicios necesarios para gestionar los env\u00edos. Puedes retirar tu consentimiento en cualquier momento mediante el enlace de baja de cada comunicaci\u00f3n o escribiendo a info@iridia.cat. Tienes derecho a ejercer tus derechos de acceso, rectificaci\u00f3n, supresi\u00f3n, oposici\u00f3n, limitaci\u00f3n y portabilidad, as\u00ed como a reclamar ante la autoridad competente. Consulta la informaci\u00f3n completa en nuestra <a title=\"pol\u00edtica\" href=\"https:\/\/iridia.cat\/es\/proteccion-datos\/\" target=\"_blank\" rel=\"noopener\"> Pol\u00edtica de Privacidad<\/a>.<\/label>\r\n\r\n<\/div>\r\n<div class=\"fila\">\r\n<div class=\"col\"><input name=\"Contacts___consentiment_c\" id=\"Contacts___consentiment_c\" type=\"checkbox\" required=\"\" style=\"opacity: 1;margin-top:6px;\"\/><label style=\"font-size: small;\">He le\u00eddo y acepto la  <a title=\"pol\u00edtica\" href=\"https:\/\/iridia.cat\/es\/proteccion-datos\/\" target=\"_blank\" rel=\"noopener\"> Pol\u00edtica de Privacidad<\/a>. Consiento que la Asociaci\u00f3n Ir\u00eddia trate mis datos personales para enviarme informaci\u00f3n por v\u00eda electr\u00f3nica sobre sus actividades, actos y campa\u00f1as.<span class=\"required\" >*<\/label><\/div>\r\n\r\n<\/div>\r\n<\/div>\r\n                \r\n    <div class=\"cf-turnstile\" data-sitekey=\"0x4AAAAAABAxIUoai_Lb-zfr\" data-callback=\"onTurnstileSuccess\" data-expired-callback=\"onTurnstileExpired\" data-error-callback=\"onTurnstileError\"><\/div>\r\n        <input type=\"hidden\" id=\"cf-turnstile-token\" name=\"cf-turnstile-response\">\r\n        <input class=\"button\" style=\"margin-top:10px;padding: 12px 20px;font-size: 18px;\" id=\"submit-button\" type=\"button\" disabled onclick=\"submitForm(this.form);\" name=\"Submit\" value=\"Continuar con el pago\" \/>\r\n\r\n\t\t<\/form>\t\t\r\n\r\n<script>\r\ndocument.addEventListener(\"DOMContentLoaded\", function () {\r\n\r\n  \/\/ ---- Preus fixes per opci\u00f3 ----\r\n  var PREUS = {\r\n    \"bossa\": 50,\r\n    \"samarreta\": 70,\r\n    \"entrada\": 80,\r\n    \"entrada+samarreta\": 150,\r\n    \"formacio\": 500,\r\n    \"20entrades\": 1000\r\n  };\r\n\r\n  \/\/ ---- Opcions que reben recompensa f\u00edsica (llavors es pregunta el lliurament) ----\r\n  var AMB_RECOMPENSA = [\"bossa\", \"samarreta\", \"entrada+samarreta\"];\r\n\r\n  \/\/ ---- Dades de l'entitat: visibles nom\u00e9s amb formacio i 20entrades ----\r\n  var CAMPS_ENTITAT = [\r\n    \"Accounts___name\",\r\n    \"Accounts___stic_identification_number_c\",\r\n    \"Accounts___billing_address_postalcode\",\r\n    \"Accounts___email1\"\r\n  ];\r\n\r\n  \/\/ ---- Adre\u00e7a d'enviament (nom\u00e9s si es tria \"enviament\") ----\r\n  var CAMPS_ADRECA = [\r\n    \"Contacts___alt_address_street\",\r\n    \"Contacts___alt_address_postalcode\",\r\n    \"Contacts___alt_address_city\",\r\n    \"Contacts___alt_address_country\"\r\n  ];\r\n\r\n  var desc        = document.getElementById(\"stic_Registrations___description\");\r\n  var amount      = document.getElementById(\"stic_Payment_Commitments___amount\");\r\n  var attendees   = document.getElementById(\"stic_Registrations___attendees\");\r\n  var bossa       = document.getElementById(\"stic_Registrations___bossa_c\");\r\n  var selector    = document.getElementById(\"amount-selector\");\r\n  var buttons     = document.querySelectorAll(\".amount-btn\");\r\n  var otherBtn    = document.getElementById(\"other-btn\");\r\n  var otherBox    = document.getElementById(\"other-input-container\");\r\n  var otherInput  = document.getElementById(\"other-input\");\r\n  var selText     = document.getElementById(\"selected-amount\");\r\n  var blocLliur   = document.getElementById(\"bloc-lliurament\");\r\n  var adrecaBox   = document.getElementById(\"adreca-enviament\");\r\n  var radiosLliur = document.querySelectorAll('input[name=\"lliurament_recompensa\"]');\r\n\r\n  \/\/ ---- Mostrar\/amagar UN camp: act\u00faa nom\u00e9s sobre el div que\r\n  \/\/      l'embolcalla. En amagar, neteja i deshabilita.\r\n  \/\/      Sincronitza req_id amb addRequired\/removeRequired. ----\r\n  function setVisibilitat(id, visible, obligatori) {\r\n    var el = document.getElementById(id);\r\n    if (!el) return;\r\n\r\n    var contenidor = el.closest(\"div\");\r\n    if (contenidor) contenidor.style.display = visible ? \"\" : \"none\";\r\n\r\n    if (visible) {\r\n      el.disabled = false;\r\n      if (obligatori) {\r\n        el.setAttribute(\"required\", \"\");\r\n        if (typeof addRequired === \"function\") addRequired(id);\r\n      } else {\r\n        el.removeAttribute(\"required\");\r\n        if (typeof removeRequired === \"function\") removeRequired(id);\r\n      }\r\n    } else {\r\n      el.disabled = true;\r\n      el.removeAttribute(\"required\");\r\n      if (el.tagName === \"SELECT\") el.selectedIndex = 0; else el.value = \"\";\r\n      if (typeof removeRequired === \"function\") removeRequired(id);\r\n    }\r\n  }\r\n\r\n  \/\/ ---- Bloc \"Dades de l'entitat\" ----\r\n  function setEntitat(visible) {\r\n    var bloc = document.getElementById(\"bloc-entitat\");\r\n    if (bloc) bloc.style.display = visible ? \"\" : \"none\";\r\n\r\n    CAMPS_ENTITAT.forEach(function (id) {\r\n      var el = document.getElementById(id);\r\n      if (!el) return;\r\n      if (visible) {\r\n        el.disabled = false;\r\n        el.setAttribute(\"required\", \"\");\r\n        if (typeof addRequired === \"function\") addRequired(id);\r\n      } else {\r\n        el.disabled = true;\r\n        el.removeAttribute(\"required\");\r\n        el.value = \"\";\r\n        if (typeof removeRequired === \"function\") removeRequired(id);\r\n      }\r\n    });\r\n  }\r\n\r\n  \/\/ ---- Bloc lliurament: visible nom\u00e9s amb recompensa f\u00edsica ----\r\n  function setLliurament(visible) {\r\n    if (blocLliur) blocLliur.style.display = visible ? \"\" : \"none\";\r\n\r\n    if (!visible) {\r\n      \/\/ Reset: cap opci\u00f3 marcada i adre\u00e7a amagada i buida\r\n      radiosLliur.forEach(function (r) { r.checked = false; });\r\n      setAdrecaEnviament(false);\r\n    }\r\n  }\r\n\r\n  \/\/ ---- Subbloc adre\u00e7a: visible nom\u00e9s quan es tria \"enviament\" ----\r\n  function setAdrecaEnviament(visible) {\r\n    if (adrecaBox) adrecaBox.style.display = visible ? \"\" : \"none\";\r\n\r\n    CAMPS_ADRECA.forEach(function (id) {\r\n      var el = document.getElementById(id);\r\n      if (!el) return;\r\n      if (visible) {\r\n        el.disabled = false;\r\n        el.setAttribute(\"required\", \"\");\r\n        if (typeof addRequired === \"function\") addRequired(id);\r\n      } else {\r\n        el.disabled = true;\r\n        el.removeAttribute(\"required\");\r\n        el.value = \"\";\r\n        if (typeof removeRequired === \"function\") removeRequired(id);\r\n      }\r\n    });\r\n  }\r\n\r\n  \/\/ ---- Radios del lliurament: mostrar\/amagar l'adre\u00e7a ----\r\n  radiosLliur.forEach(function (r) {\r\n    r.addEventListener(\"change\", function () {\r\n      setAdrecaEnviament(r.value === \"enviament\" && r.checked);\r\n    });\r\n  });\r\n\r\n  \/\/ ---- L\u00f2gica principal: s'executa en canviar l'opci\u00f3 i en carregar ----\r\n  function adaptarOpcio() {\r\n    var v = desc.options[desc.selectedIndex].value;\r\n\r\n    \/\/ 0) Lliurament: nom\u00e9s bossa, samarreta i entrada+samarreta\r\n    setLliurament(AMB_RECOMPENSA.indexOf(v) !== -1);\r\n\r\n    \/\/ 0b) Dades de l'entitat: nom\u00e9s formacio i 20entrades\r\n    setEntitat(v === \"formacio\" || v === \"20entrades\");\r\n\r\n    \/\/ 1) Talla: nom\u00e9s samarreta i entrada+samarreta\r\n    if (v === \"samarreta\" || v === \"entrada+samarreta\") {\r\n      setVisibilitat(\"stic_Registrations___talla_c\", true, true);\r\n    } else {\r\n      setVisibilitat(\"stic_Registrations___talla_c\", false, false);\r\n    }\r\n\r\n    \/\/ 2) Formacions: nom\u00e9s l'opci\u00f3 formacio\r\n    if (v === \"formacio\") {\r\n      setVisibilitat(\"stic_Registrations___formacions_c\", true, true);\r\n    } else {\r\n      setVisibilitat(\"stic_Registrations___formacions_c\", false, false);\r\n    }\r\n\r\n    \/\/ 3) Bossa: boole\u00e0 -> marcada nom\u00e9s amb l'opci\u00f3 \"bossa\"\r\n    if (bossa) bossa.checked = (v === \"bossa\");\r\n\r\n    \/\/ 4) Attendees: 1 per entrada i entrada+samarreta, 20 per 20entrades, 0 resta\r\n    if (attendees) {\r\n      if (v === \"entrada\" || v === \"entrada+samarreta\") attendees.value = 1;\r\n      else if (v === \"20entrades\") attendees.value = 20;\r\n      else attendees.value = 0;\r\n    }\r\n\r\n    \/\/ 5) Import\r\n    if (v === \"sense\") {\r\n      if (selector) selector.style.display = \"\";\r\n      if (amount) { amount.value = \"\"; }\r\n    } else {\r\n      if (selector) selector.style.display = \"none\";\r\n      if (otherBox) otherBox.style.display = \"none\";\r\n      if (otherBtn) otherBtn.textContent = \"Altres quantitats\";\r\n      if (selText) selText.textContent = \"\";\r\n      if (amount) amount.value = PREUS[v] !== undefined ? PREUS[v] : \"\";\r\n    }\r\n  }\r\n\r\n  \/\/ ---- Botons de l'import (nom\u00e9s actius quan l'opci\u00f3 \u00e9s \"sense\") ----\r\n  buttons.forEach(function (btn) {\r\n    btn.addEventListener(\"click\", function () {\r\n      buttons.forEach(function (b) { b.classList.remove(\"active\"); });\r\n      btn.classList.add(\"active\");\r\n\r\n      if (btn === otherBtn) {\r\n        otherBox.style.display = \"block\";\r\n        otherBtn.textContent = \"Introdueix la quantitat:\";\r\n        otherInput.focus();\r\n        amount.value = \"\";\r\n        if (selText) selText.textContent = \"\";\r\n      } else {\r\n        otherBox.style.display = \"none\";\r\n        otherBtn.textContent = \"Altres quantitats\";\r\n        amount.value = btn.dataset.amount;\r\n        if (selText) selText.textContent = \"Import seleccionat: \" + btn.dataset.amount + \" \u20ac\";\r\n      }\r\n    });\r\n  });\r\n\r\n  \/\/ ---- Quantitat escrita manualment ----\r\n  otherInput.addEventListener(\"input\", function () {\r\n    amount.value = otherInput.value;\r\n    if (selText && otherInput.value) selText.textContent = \"Import seleccionat: \" + otherInput.value + \" \u20ac\";\r\n  });\r\n\r\n  \/\/ ---- Activar-ho tot ----\r\n  desc.addEventListener(\"change\", adaptarOpcio);\r\n  adaptarOpcio(); \/\/ estat inicial coherent en carregar la p\u00e0gina\r\n});\r\n<\/script>\r\n\t\t<script type=\"text\/javascript\">\r\n\r\n      function onTurnstileSuccess(token) {\r\n          document.getElementById('cf-turnstile-token').value = token;\r\n          document.getElementById('submit-button').disabled = false;\r\n        }\r\n        function onTurnstileExpired() {\r\n          document.getElementById('cf-turnstile-token').value = '';\r\n          document.getElementById('submit-button').disabled = true;\r\n        }\r\n        function onTurnstileError() {\r\n          document.getElementById('cf-turnstile-token').value = '';\r\n          document.getElementById('submit-button').disabled = true;\r\n        }\r\n\r\n        document.addEventListener('DOMContentLoaded', function () {\r\n          var btn = document.getElementById('submit-button');\r\n          if (btn) btn.disabled = true;\r\n        });\r\n\r\n        var formHasAlreadyBeenSent = false;\r\n        function validateCaptchaAndSubmit() {\r\n          const token = document.getElementById('cf-turnstile-token').value;\r\n          const form  = document.getElementById('WebToLeadForm');\r\n          if (!token) {\r\n            alert(\"Verifica el CAPTCHA abans d'enviar\");\r\n            return false;\r\n          }\r\n          if (formHasAlreadyBeenSent) {\r\n            console.log(\"Form ja enviat\");\r\n            return false;\r\n          }\r\n          formHasAlreadyBeenSent = true;\r\n          form.submit();\r\n          return true;\r\n        }\r\n\r\n\t\t\t\t\t\t\tvar stic_Web_Forms_LBL_PROVIDE_WEB_FORM_FIELDS = \"Ompliu els camps obligatoris\";\r\n\t\t\t\t\t\t\tvar stic_Web_Forms_LBL_INVALID_FORMAT = \"Comproveu el format del camp\";\r\n\t\t\t\t\t\t\tvar stic_Web_Forms_LBL_SERVER_CONNECTION_ERROR = \"Ha fallat la connexi\u00f3 amb el servidor\";\r\n\t\t\t\t\t\t\tvar stic_Web_Forms_LBL_SIZE_FILE_EXCEED = \"La mida del fitxer no pot ser superior a \";\r\n\t\t\t\t\t\t\tvar stic_Web_Forms_LBL_SUM_SIZE_FILES_EXCEED = \"La suma de les mides dels fitxers no pot ser superior a \";\r\n\t\t\t\t\t\t\tvar APP_LBL_REQUIRED_SYMBOL = \"*\";\r\n\t\t\t\t\t\t\tvar APP_DATE_FORMAT = \"%d\/%m\/%Y\";\r\n\t\t\t\t\t\t\tvar stic_Payment_Commitments_LBL_IBAN_NOT_VALID = \"LBL_IBAN_NOT_VALID\";\r\n\t\t\t\t\t\t\/**\r\n * This file is part of SinergiaCRM.\r\n * SinergiaCRM is a work developed by SinergiaTIC Association, based on SuiteCRM.\r\n * Copyright (C) 2013 - 2023 SinergiaTIC Association\r\n *\r\n * This program is free software; you can redistribute it and\/or modify it under\r\n * the terms of the GNU Affero General Public License version 3 as published by the\r\n * Free Software Foundation.\r\n *\r\n * This program is distributed in the hope that it will be useful, but WITHOUT\r\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\r\n * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more\r\n * details.\r\n *\r\n * You should have received a copy of the GNU Affero General Public License along with\r\n * this program; if not, see http:\/\/www.gnu.org\/licenses or write to the Free\r\n * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA\r\n * 02110-1301 USA.\r\n *\r\n * You can contact SinergiaTIC Association at email address info@sinergiacrm.org.\r\n *\/\r\n\/**\r\n * Change the visibility of a field\r\n * @param field field to be changed\r\n * @param visibility visibility applied to the field\r\n *\/\r\nfunction changeVisibility(field, visibility) {\r\n  var o_td = document.getElementById(\"td_\" + field);\r\n  var o_td_lbl = document.getElementById(\"td_lbl_\" + field);\r\n  if (o_td) {\r\n    o_td.style.display = visibility;\r\n  }\r\n\r\n  if (o_td_lbl) {\r\n    o_td_lbl.style.display = visibility;\r\n  }\r\n}\r\n\r\n\/**\r\n * Show a hidden field\r\n * @param field field to be shown\r\n *\/\r\nfunction showField(field) {\r\n  changeVisibility(field, \"table-cell\");\r\n}\r\n\r\n\/**\r\n * Hide a field\r\n * @param field field to be hidden\r\n *\/\r\nfunction hideField(field) {\r\n  changeVisibility(field, \"none\");\r\n}\r\n\r\n\/**\r\n * Add a field as required\r\n * @param field field that will be set as required\r\n *\/\r\nfunction addRequired(field) {\r\n  var reqs = document.getElementById(\"req_id\").value;\r\n  if (-1 == reqs.search(field + \";\")) {\r\n    document.getElementById(\"req_id\").value += field + \";\";\r\n  }\r\n\r\n  var requiredLabel = document.getElementById(\"lbl_\" + field + \"_required\");\r\n  if (!requiredLabel) {\r\n    var rlParent = document.getElementById(\"td_lbl_\" + field);\r\n    if (rlParent) {\r\n      var newLabel = document.createElement(\"span\");\r\n      newLabel.id = \"lbl_\" + field + \"_required\";\r\n      newLabel.class = \"required\";\r\n      newLabel.style = \"color: rgb(255, 0, 0);\";\r\n      newLabel.innerText = APP_LBL_REQUIRED_SYMBOL;\r\n      rlParent.appendChild(newLabel);\r\n    }\r\n  }\r\n}\r\n\r\n\/**\r\n * Delete a field as required\r\n * @param field field that will be set as no required\r\n *\/\r\nfunction removeRequired(field) {\r\n  var reqs = document.getElementById(\"req_id\").value;\r\n  document.getElementById(\"req_id\").value = reqs.replace(field + \";\", \"\");\r\n  var requiredLabel = document.getElementById(\"lbl_\" + field + \"_required\");\r\n  if (requiredLabel) {\r\n    requiredLabel.parentNode.removeChild(requiredLabel);\r\n  }\r\n}\r\n\r\n\/**\r\n * Validate different form fields\r\n * @returns {Boolean}\r\n *\/\r\nfunction checkFields() {\r\n  \/\/ Check the required fields, nif \/ cif fields, mails and date fields\r\n  if (!validateRequired() || !validateNifCif() || !validateMails() || !validateDates()) {\r\n    return false;\r\n  } else {\r\n    \/\/ If everything is correct replace the Boolean fields\r\n    var boolHidden = document.getElementById(\"bool_id\");\r\n    if (boolHidden != null) {\r\n      var reqs = boolHidden.value;\r\n      if (reqs.length) {\r\n        \/\/ If there are Boolean fields, they are treated\r\n        bools = reqs.substring(0, reqs.lastIndexOf(\";\"));\r\n        var boolFields = new Array();\r\n        var boolFields = bools.split(\";\");\r\n        nbrFields = boolFields.length;\r\n        for (var i = 0; i < nbrFields; i++) {\r\n          var element = document.getElementById(boolFields[i]);\r\n          element.value == (element.value == \"on\" ? 1 : 0);\r\n        }\r\n      }\r\n    }\r\n    return true;\r\n  }\r\n}\r\n\r\n\/**\r\n * Check the format of the date fields\r\n * @returns {Boolean}\r\n *\/\r\nfunction validateDates() {\r\n  var elements = jQuery.find(\"input[type=text].date_input\");\r\n  if (elements && elements.length > 0) {\r\n    for (var i = 0; i < elements.length; i++) {\r\n      \/\/ The field may not be mandatory, therefore, it is only validated if the element has any value\r\n      if (elements[i].value && !validateDate(elements[i].value)) {\r\n        var label = document.getElementById(\"lbl_\" + elements[i].id);\r\n        alert(stic_Web_Forms_LBL_INVALID_FORMAT + \": \" + label.textContent.trim().replace(\/:$\/, \"\"));\r\n        selectTextInput(elements[i]);\r\n        return false;\r\n      }\r\n    }\r\n  }\r\n  return true;\r\n}\r\n\r\n\/**\r\n * Validate a date using the format indicated in APP_DATE_FORMAT. Does not take into account if the year is leap year\r\n * @param date\r\n * @returns {Boolean}\r\n *\/\r\nfunction validateDate(date) {\r\n  var number = \/\\d+\/g;\r\n  var numbers = [];\r\n  var match = number.exec(date);\r\n\r\n  while (match != null) {\r\n    numbers.push(match[0]);\r\n    match = number.exec(date);\r\n  }\r\n\r\n  if (numbers.length != 3) {\r\n    \/\/ If we don't have three numeric fields, it sure isn't a date\r\n    return false;\r\n  }\r\n\r\n  var format = \/\\%Y|\\%m|\\%d\/g;\r\n  var fields = [];\r\n  match = format.exec(APP_DATE_FORMAT); \/\/ We separate the fields from the format\r\n  while (match != null) {\r\n    fields.push(match[0]);\r\n    match = format.exec(APP_DATE_FORMAT);\r\n  }\r\n\r\n  var idxFields = []; \/\/ Index the fields to be able to access them directly\r\n  for (var i = 0; i < fields.length; i++) {\r\n    idxFields[fields[i].replace(\"%\", \"\")] = i;\r\n  }\r\n\r\n  \/\/ Retrieve the values ??of each field\r\n  var day = numbers[idxFields.d];\r\n  var month = numbers[idxFields.m];\r\n  var year = numbers[idxFields.Y];\r\n\r\n  \/\/ Check the length of the fields\r\n  if (month.length != 2 || day.length != 2 || year.length != 4) {\r\n    return false;\r\n  }\r\n\r\n  \/\/ Check the format of separators\r\n  if (date.replace(number, \"\") != APP_DATE_FORMAT.replace(format, \"\")) {\r\n    return false;\r\n  }\r\n  day = parseInt(day);\r\n  month = parseInt(month);\r\n  year = parseInt(year);\r\n\r\n  \/\/ Check the value of the month and day\r\n  if (month > 12 || month < 1) {\r\n    return false;\r\n  } else {\r\n    if (day < 1) {\r\n      return false;\r\n    }\r\n\r\n    switch (month) {\r\n      case 1:\r\n      case 3:\r\n      case 5:\r\n      case 7:\r\n      case 8:\r\n      case 10:\r\n      case 12:\r\n        return day <= 31;\r\n      case 2:\r\n        return day <= 29; \/\/ Leap years are not taken into account\r\n      case 4:\r\n      case 6:\r\n      case 9:\r\n      case 11:\r\n        return day <= 30;\r\n    }\r\n  }\r\n}\r\n\r\n\/**\r\n * Check the required fields\r\n * @returns {Boolean}\r\n *\/\r\nfunction validateRequired() {\r\n  \/\/ Check the required fields\r\n  var reqHidden = document.getElementById(\"req_id\");\r\n  if (reqHidden != null) {\r\n    var reqs = reqHidden.value;\r\n    if (reqs.length) {\r\n      \/\/ If there are required fields check them\r\n      reqs = reqs.substring(0, reqs.lastIndexOf(\";\"));\r\n      var reqFields = new Array();\r\n      var reqFields = reqs.split(\";\");\r\n      nbrFields = reqFields.length;\r\n\r\n      for (var i = 0; i < nbrFields; i++) {\r\n        var lbl_element;\r\n        var element = document.getElementById(reqFields[i]);\r\n        var error = 0;\r\n        if (element != null) {\r\n          lbl_element = \"#lbl_\" + element.id;\r\n          jQuery(lbl_element).removeClass(\"current-required-field\");\r\n          switch (element.type) {\r\n            case \"checkbox\":\r\n              if (element.checked == 0) {\r\n                error = 1;\r\n              }\r\n              break;\r\n\r\n            case \"select-one\":\r\n              if (element.selectedIndex <= 0) {\r\n                error = 1;\r\n              }\r\n              break;\r\n\r\n            case \"select-multiple\":\r\n              let numOptionsSelected = jQuery(\"select[id='input_selectmultiple'] option:selected\").length;\r\n              if (element.selectedIndex <= 0 && numOptionsSelected <= 1) {\r\n                error = 1;\r\n              }\r\n              break;\r\n\r\n            default:\r\n              \/\/ Type fields: text, email, password...\r\n              if (element.value.length <= 0) {\r\n                error = 1;\r\n              }\r\n          }\r\n        } else {\r\n          \/\/radio type fields\r\n          error = 1;\r\n          var options = document.getElementsByName(reqFields[i]);\r\n\r\n          lbl_element = \"#lbl_\" + options[0].name;\r\n          jQuery(lbl_element).removeClass(\"current-required-field\");\r\n\r\n          options.forEach(function(option) {\r\n            if (option.checked) {\r\n              error = 0;\r\n            }\r\n          });\r\n        }\r\n\r\n        if (error) {\r\n          alert(stic_Web_Forms_LBL_PROVIDE_WEB_FORM_FIELDS);\r\n          jQuery(lbl_element).addClass(\"current-required-field\");\r\n          selectTextInput(element);\r\n          return false;\r\n        }\r\n      }\r\n    }\r\n  }\r\n  return true;\r\n}\r\n\r\n\/**\r\n * Validate form emails\r\n * @returns {Boolean}\r\n *\/\r\n function validateMails() {\r\n  var fields = [\"Contacts___email1\", \"Contacts___email2\", \"Accounts___email1\", \"Accounts___email2\"];\r\n  var ret = true;\r\n  for (var i = 0; i < fields.length && ret; i++) {\r\n    emailInput=document.getElementById(fields[i])\r\n    if(emailInput != undefined)\r\n    {\r\n      ret = validateEmailAdd(emailInput);\r\n    }\r\n  }\r\n  return ret;\r\n}\r\n\r\n\/**\r\n * Validate an email address\r\n * Regex validation email from https:\/\/html5-tutorial.net\/form-validation\/validating-email\/\r\n * @param obj DOM object of the input containing the mail\r\n * @returns {Boolean}\r\n *\/\r\n\r\nfunction validateEmailAdd(obj) {\r\n  obj.value=obj.value.trim();\r\n  if (obj != null && obj.value.length > 0 && !isValidEmail(obj.value)) {\r\n    var label = document.getElementById(\"lbl_\" + obj.id);\r\n    alert(stic_Web_Forms_LBL_INVALID_FORMAT + \": \" + label.textContent.replace(\/: +$\/, \"\"));\r\n    selectTextInput(obj);\r\n    return false;\r\n  } else {\r\n    return true;\r\n  }\r\n}\r\n\r\n\/**\r\n * Check the identification number fields for contacts and accounts as needed\r\n * @returns {Boolean}\r\n *\/\r\nfunction validateNifCif() {\r\n  var validateIdentificationNumber = document.getElementById(\"validate_identification_number\");\r\n\r\n  \/\/ Return true if identification number validation is not required\r\n  if (validateIdentificationNumber && validateIdentificationNumber.value == \"0\") {\r\n    console.log(\"Identification number validation is not required.\");\r\n    return true;\r\n  }\r\n\r\n  \/\/ NIF validation\r\n  var identificationType = jQuery(\"#Contacts___stic_identification_type_c\").val();\r\n  \/\/ Validate if the stic_identification_type_c field is not defined or is defined as NIF or NIE. \r\n  \/\/ Other values like passports and so on should not be validated as there's no rule to do it.\r\n  if (identificationType == null || identificationType == \"nif\" || identificationType == \"nie\") {\r\n    var nif = document.getElementById(\"Contacts___stic_identification_number_c\");\r\n    \/\/ The nif field may not be required so it can be empty. If so, it is not necessary to validate it\r\n    if (nif && nif.value && !isValidDNI(nif.value)) {\r\n      label = \" \";\r\n      if (nif.labels && nif.labels[0]) {\r\n        label += (nif.labels[0].textContent.slice(-1) == \":\" ? nif.labels[0].textContent.substring(0, nif.labels[0].textContent.length - 1) : nif.labels[0].textContent);\r\n      }\r\n      alert(stic_Web_Forms_LBL_INVALID_FORMAT + label + \".\");\r\n      nif.focus();\r\n      return false;\r\n    }\r\n  }\r\n\r\n  \/\/ CIF validation\r\n  var cif = document.getElementById(\"Accounts___stic_identification_number_c\");\r\n  \/\/ The cif field may not be required so it can be empty. If so, it is not necessary to validate it\r\n  if (cif && cif.value && !isValidCif(cif.value)) {\r\n    label = \" \";\r\n    if (cif.labels && cif.labels[0]) {\r\n      label += (cif.labels[0].textContent.slice(-1) == \":\" ? cif.labels[0].textContent.substring(0, cif.labels[0].textContent.length - 1) : cif.labels[0].textContent);\r\n    }\r\n    alert(stic_Web_Forms_LBL_INVALID_FORMAT + label + \".\");\r\n    cif.focus();\r\n    return false;\r\n  }\r\n\r\n  return true;\r\n}\r\n\r\n\/**\r\n * Check with each change of value in the field that only number and separator are allowed of decimals '.'\r\n * @returns {Boolean}\r\n *\/\r\nfunction isNumberKey(evt) {\r\n  var charCode = evt.which ? evt.which : event.keyCode;\r\n  if (charCode != 46 && charCode > 31 && (charCode < 48 || charCode > 57)) {\r\n    return false;\r\n  }\r\n\r\n  if (charCode == 46) {\r\n    var evento = evt || event;\r\n    var dots = evento.currentTarget.value.match(\/\\.\/g); \/\/ If there is already a point, you cannot add another\r\n    if (dots && dots.length > 0) {\r\n      return false;\r\n    }\r\n    if (evento.currentTarget.value.length == 0) {\r\n      \/\/ If the point is at the beginning it includes a 0\r\n      evento.currentTarget.value = \"0\";\r\n    }\r\n  }\r\n\r\n  return true;\r\n}\r\n\r\n\/**\r\n * Format a value in a number with fixed-point notation\r\n * @param input currency type field in which to validate the format\r\n *\/\r\nfunction formatCurrency(input) {\r\n  var value = Number(input.value);\r\n  if (!isNaN(value)) {\r\n    input.value = value.toFixed(2);\r\n  }\r\n}\r\n\r\n\/**\r\n * Valid if a cif is valid\r\n * Adapted to javascript from its original in:\r\n * http:\/\/www.michublog.com\/informatica\/8-funciones-para-la-validacion-de-formularios-con-expresiones-regulares\r\n * @param cif\r\n * @returns {Boolean}\r\n *\/\r\nfunction isValidCif(cif) {\r\n  cif.toUpperCase();\r\n  cifRegEx1 = \/^[ABEH][0-9]{8}\/i;\r\n  cifRegEx2 = \/^[KPQS][0-9]{7}[A-J]\/i;\r\n  cifRegEx3 = \/^[CDFGJLMNRUVW][0-9]{7}[0-9A-J]\/i;\r\n\r\n  if (cif.match(cifRegEx1) || cif.match(cifRegEx2) || cif.match(cifRegEx3)) {\r\n    control = cif.charAt(cif.length - 1);\r\n    sum_A = 0;\r\n    sum_B = 0;\r\n    for (i = 1; i < 8; i++) {\r\n      if (i % 2 == 0) {\r\n        sum_A += parseInt(cif.charAt(i));\r\n      } else {\r\n        t = (parseInt(cif.charAt(i)) * 2).toString();\r\n        p = 0;\r\n        for (j = 0; j < t.length; j++) {\r\n          p += parseInt(t.charAt(j));\r\n        }\r\n        sum_B += p;\r\n      }\r\n    }\r\n\r\n    sum_C = parseInt(sum_A + sum_B) + \"\"; \/\/ As\u00ed se convierte en cadena\r\n    sum_D = (10 - parseInt(sum_C.charAt(sum_C.length - 1))) % 10;\r\n    letters = \"JABCDEFGHI\";\r\n\r\n    if (control >= \"0\" && control <= \"9\") {\r\n      return control == sum_D;\r\n    } else {\r\n      return control.toUpperCase() == letters[sum_D];\r\n    }\r\n  } else {\r\n    return false;\r\n  }\r\n}\r\n\r\n\/**\r\n * Check if it is a correct ID (between 5 and 8 letters followed by the corresponding letter).\r\n * Accept NIEs (Foreigners with X, Y or Z at the beginning)\r\n * http:\/\/trellat.es\/funcion-para-validar-dni-o-nie-en-javascript\/\r\n * @param dni\r\n * @returns {Boolean}\r\n *\/\r\nfunction isValidDNI(dni) {\r\n  var number, lett, letter;\r\n  var regular_expression_dni = \/^[XYZ]?\\d{5,8}[A-Z]$\/;\r\n  dni = dni.toUpperCase();\r\n\r\n  if (regular_expression_dni.test(dni) === true) {\r\n    number = dni.substr(0, dni.length - 1);\r\n    number = number.replace(\"X\", 0);\r\n    number = number.replace(\"Y\", 1);\r\n    number = number.replace(\"Z\", 2);\r\n    lett = dni.substr(dni.length - 1, 1);\r\n    number = number % 23;\r\n\r\n    letter = \"TRWAGMYFPDXBNJZSQVHLCKET\";\r\n    letter = letter.substring(number, number + 1);\r\n\r\n    return letter == lett;\r\n  } else {\r\n    return false;\r\n  }\r\n}\r\n\r\n\/**\r\n * Assign a value to a select field\r\n * @param select form field element\r\n * @param value value that the select option must have to be selected\r\n *\/\r\n\/\/\r\nfunction setSelectValue(select, value) {\r\n  for (var i = 0; i < select.options.length; i++) {\r\n    if (select.options[i].value == value) {\r\n      select.options[i].selected = true;\r\n    } else {\r\n      select.options[i].selected = false;\r\n    }\r\n  }\r\n  \/\/ Save the previous value\r\n  select.prev_value = select.options[select.selectedIndex].value;\r\n}\r\n\r\n\/**\r\n * Select the text of an input text of the form\r\n * @param input Object from which the text will be selected\r\n *\/\r\nfunction selectTextInput(input) {\r\n  if (typeof input.setSelectionRange != \"undefined\") {\r\n    input.setSelectionRange(0, input.value.length);\r\n  }\r\n  input.focus();\r\n}\r\n\r\n\/**\r\n * Verify that the size of the form attachments does not exceed the size defined in the PHP configuration\r\n *\/\r\nvar items;\r\nvar formSizeArray = [];\r\n\r\nvar url =\r\n  jQuery(\"form\")\r\n    .attr(\"action\")\r\n    .split(\"=\")[0] + \"=stic_Web_Forms_attachment_limits_response\";\r\njQuery.ajax({\r\n  url: url,\r\n  dataType: \"jsonp\"\r\n});\r\n\r\n\/**\r\n * Gets values of the PHP configuration in the system\r\n * @param data array from which the values ??are obtained\r\n *\/\r\nfunction getConfigVariables(data) {\r\n  items = data;\r\n  if (!items.uploadMaxFilesize || !items.postMaxSize) {\r\n    alert(stic_Web_Forms_LBL_SERVER_CONNECTION_ERROR);\r\n  }\r\n}\r\n\r\n\/**\r\n * Check if the attachment file size added to the input file is sizer\r\n * to the configuration variable php upload_max_filesize\r\n *\/\r\njQuery(\".document\").change(function() {\r\n  var numInput = this.id.substring(this.id.length - 1, this.id.length);\r\n  var errorZone = \"#error_zone_\" + numInput;\r\n  if (this.files[0]) {\r\n    var fileName = this.files[0].name;\r\n    var fileSize = this.files[0].size;\r\n    if (fileSize > items.uploadMaxFilesizeBytes) {\r\n      jQuery(errorZone).html(\"<span>\" + stic_Web_Forms_LBL_SIZE_FILE_EXCEED + items.uploadMaxFilesize + \"B <\/span>\");\r\n      formSizeArray[numInput - 1] = fileSize;\r\n    } else {\r\n      jQuery(errorZone).html(\"\");\r\n      formSizeArray[numInput - 1] = fileSize;\r\n    }\r\n  } else {\r\n    jQuery(errorZone).html(\"\");\r\n    formSizeArray[numInput - 1] = 0;\r\n  }\r\n});\r\n\r\n\/**\r\n * Check the total size of the files attached to the form\r\n * @returns {Boolean}\r\n *\/\r\nfunction checkFormSize() {\r\n  if (items) {\r\n    var formSize = 0;\r\n    var fileZizeError = 0;\r\n\r\n    formSizeArray.forEach(function(inputSize) {\r\n      if (inputSize) {\r\n        if (inputSize > items.uploadMaxFilesizeBytes) {\r\n          fileZizeError = 1;\r\n        }\r\n        formSize = formSize + inputSize;\r\n      }\r\n    });\r\n\r\n    if (fileZizeError) {\r\n      alert(stic_Web_Forms_LBL_SIZE_FILE_EXCEED + items.uploadMaxFilesize + \"B\");\r\n      return false;\r\n    }\r\n\r\n    if (formSize <= items.postMaxSizeBytes) {\r\n      return true;\r\n    } else {\r\n      alert(stic_Web_Forms_LBL_SUM_SIZE_FILES_EXCEED + items.postMaxSize + \"B\");\r\n      return false;\r\n    }\r\n  } else {\r\n    return true;\r\n  }\r\n}\r\n\r\n\/**\r\n * Fills the timeZone variable on loading.\r\n *\/\r\njQuery('#timeZone').val(Intl.DateTimeFormat().resolvedOptions().timeZone);\r\n\/**\r\n * This file is part of SinergiaCRM.\r\n * SinergiaCRM is a work developed by SinergiaTIC Association, based on SuiteCRM.\r\n * Copyright (C) 2013 - 2023 SinergiaTIC Association\r\n *\r\n * This program is free software; you can redistribute it and\/or modify it under\r\n * the terms of the GNU Affero General Public License version 3 as published by the\r\n * Free Software Foundation.\r\n *\r\n * This program is distributed in the hope that it will be useful, but WITHOUT\r\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\r\n * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more\r\n * details.\r\n *\r\n * You should have received a copy of the GNU Affero General Public License along with\r\n * this program; if not, see http:\/\/www.gnu.org\/licenses or write to the Free\r\n * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA\r\n * 02110-1301 USA.\r\n *\r\n * You can contact SinergiaTIC Association at email address info@sinergiacrm.org.\r\n *\/\r\nvar formHasAlreadyBeenSent = false;\r\n\/**\r\n * Form submission function\r\n * @param form form to be sent\r\n *\/\r\nfunction submitForm(form) {\r\n  if (checkFields() && checkFormSize()) {\r\n    if (typeof validateCaptchaAndSubmit != \"undefined\") {\r\n      validateCaptchaAndSubmit();\r\n    } else {\r\n        if (formHasAlreadyBeenSent != true) {\r\n            formHasAlreadyBeenSent = true;\r\n            form.submit();\r\n        } else {\r\n            console.log(\"Form is locked because it has already been sent.\");\r\n        }\r\n    }\r\n  }\r\n  return false;\r\n}\r\n\/**\r\n * This file is part of SinergiaCRM.\r\n * SinergiaCRM is a work developed by SinergiaTIC Association, based on SuiteCRM.\r\n * Copyright (C) 2013 - 2023 SinergiaTIC Association\r\n *\r\n * This program is free software; you can redistribute it and\/or modify it under\r\n * the terms of the GNU Affero General Public License version 3 as published by the\r\n * Free Software Foundation.\r\n *\r\n * This program is distributed in the hope that it will be useful, but WITHOUT\r\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\r\n * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more\r\n * details.\r\n *\r\n * You should have received a copy of the GNU Affero General Public License along with\r\n * this program; if not, see http:\/\/www.gnu.org\/licenses or write to the Free\r\n * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA\r\n * 02110-1301 USA.\r\n *\r\n * You can contact SinergiaTIC Association at email address info@sinergiacrm.org.\r\n *\/\r\n\/**\r\n * Library Code https:\/\/github.com\/arhs\/iban.js\r\n *\/\r\n(function(root, factory) {\r\n  if (typeof define === \"function\" && define.amd) {\r\n    \/\/ AMD. Register as an anonymous module.\r\n    define([\"exports\"], factory);\r\n  } else if (typeof exports === \"object\" && typeof exports.nodeName !== \"string\") {\r\n    \/\/ CommonJS\r\n    factory(exports);\r\n  } else {\r\n    \/\/ Browser globals\r\n    factory((root.IBAN = {}));\r\n  }\r\n})(this, function(exports) {\r\n  \/\/ Array.prototype.map polyfill\r\n  \/\/ Code from https:\/\/developer.mozilla.org\/en-US\/docs\/JavaScript\/Reference\/Global_Objects\/Array\/map\r\n  if (!Array.prototype.map) {\r\n    Array.prototype.map = function(fun \/*, thisArg *\/) {\r\n      \"use strict\";\r\n      if (this === void 0 || this === null) {\r\n        throw new TypeError();\r\n      }\r\n\r\n      var t = Object(this);\r\n      var len = t.length >>> 0;\r\n      if (typeof fun !== \"function\") {\r\n        throw new TypeError();\r\n      }\r\n\r\n      var res = new Array(len);\r\n      var thisArg = arguments.length >= 2 ? arguments[1] : void 0;\r\n      for (var i = 0; i < len; i++) {\r\n        \/* \r\n          STIC NOTE: Absolute correctness would demand Object.defineProperty be used.  But this method is fairly new, and failure is possible only \r\n          if Object.prototype or Array.prototype has a property |i| (very unlikely), so use a less-correct but more portable alternative.\r\n        *\/\r\n        if (i in t) {\r\n          res[i] = fun.call(thisArg, t[i], i, t);\r\n        }\r\n      }\r\n      return res;\r\n    };\r\n  }\r\n\r\n  var A = \"A\".charCodeAt(0),\r\n    Z = \"Z\".charCodeAt(0);\r\n\r\n  \/**\r\n   * Prepare an IBAN for mod 97 computation by moving the first 4 chars to the end and transforming the letters to numbers (A = 10, B = 11,   .., Z = 35), as specified in ISO13616.\r\n   *\r\n   * @param {string} iban the IBAN\r\n   * @returns {string} the prepared IBAN\r\n   *\/\r\n  function iso13616Prepare(iban) {\r\n    iban = iban.toUpperCase();\r\n    iban = iban.substr(4) + iban.substr(0, 4);\r\n    return iban\r\n      .split(\"\")\r\n      .map(function(n) {\r\n        var code = n.charCodeAt(0);\r\n        if (code >= A && code <= Z) {\r\n          \/\/ A = 10, B = 11, ... Z = 35\r\n          return code - A + 10;\r\n        } else {\r\n          return n;\r\n        }\r\n      })\r\n      .join(\"\");\r\n  }\r\n\r\n  \/**\r\n   * Calculates the MOD 97 10 of the passed IBAN as specified in ISO7064.\r\n   *\r\n   * @param iban\r\n   * @returns {number}\r\n   *\/\r\n  function iso7064Mod97_10(iban) {\r\n    var remainder = iban,\r\n      block;\r\n\r\n    while (remainder.length > 2) {\r\n      block = remainder.slice(0, 9);\r\n      remainder = (parseInt(block, 10) % 97) + remainder.slice(block.length);\r\n    }\r\n\r\n    return parseInt(remainder, 10) % 97;\r\n  }\r\n\r\n  \/**\r\n   * Parse the BBAN structure used to configure each IBAN Specification and returns a matching regular expression.\r\n   * A structure is composed of blocks of 3 characters (one letter and 2 digits). Each block represents\r\n   * a logical group in the typical representation of the BBAN. For each group, the letter indicates which characters\r\n   * are allowed in this group and the following 2-digits number tells the length of the group.\r\n   *\r\n   * @param {string} structure the structure to parse\r\n   * @returns {RegExp}\r\n   *\/\r\n  function parseStructure(structure) {\r\n    \/\/ split in blocks of 3 chars\r\n    var regex = structure.match(\/(.{3})\/g).map(function(block) {\r\n      \/\/ parse each structure block (1-char + 2-digits)\r\n      var format,\r\n        pattern = block.slice(0, 1),\r\n        repeats = parseInt(block.slice(1), 10);\r\n\r\n      switch (pattern) {\r\n        case \"A\":\r\n          format = \"0-9A-Za-z\";\r\n          break;\r\n        case \"B\":\r\n          format = \"0-9A-Z\";\r\n          break;\r\n        case \"C\":\r\n          format = \"A-Za-z\";\r\n          break;\r\n        case \"F\":\r\n          format = \"0-9\";\r\n          break;\r\n        case \"L\":\r\n          format = \"a-z\";\r\n          break;\r\n        case \"U\":\r\n          format = \"A-Z\";\r\n          break;\r\n        case \"W\":\r\n          format = \"0-9a-z\";\r\n          break;\r\n      }\r\n      return \"([\" + format + \"]{\" + repeats + \"})\";\r\n    });\r\n    return new RegExp(\"^\" + regex.join(\"\") + \"$\");\r\n  }\r\n\r\n  \/**\r\n   * @param iban\r\n   * @returns {string}\r\n   *\/\r\n  function electronicFormat(iban) {\r\n    return iban.replace(NON_ALPHANUM, \"\").toUpperCase();\r\n  }\r\n\r\n  \/**\r\n   * Create a new Specification for a valid IBAN number.\r\n   *\r\n   * @param countryCode the code of the country\r\n   * @param length the length of the IBAN\r\n   * @param structure the structure of the underlying BBAN (for validation and formatting)\r\n   * @param example an example valid IBAN\r\n   * @constructor\r\n   *\/\r\n  function Specification(countryCode, length, structure, example) {\r\n    this.countryCode = countryCode;\r\n    this.length = length;\r\n    this.structure = structure;\r\n    this.example = example;\r\n  }\r\n\r\n  \/**\r\n   * Lazy-loaded regex (parse the structure and construct the regular expression the first time we need it for validation)\r\n   *\/\r\n  Specification.prototype._regex = function() {\r\n    return this._cachedRegex || (this._cachedRegex = parseStructure(this.structure));\r\n  };\r\n\r\n  \/**\r\n   * Check if the passed iban is valid according to this specification.\r\n   *\r\n   * @param {String} iban the iban to validate\r\n   * @returns {boolean} true if valid, false otherwise\r\n   *\/\r\n  Specification.prototype.isValid = function(iban) {\r\n    return this.length == iban.length && this.countryCode === iban.slice(0, 2) && this._regex().test(iban.slice(4)) && iso7064Mod97_10(iso13616Prepare(iban)) == 1;\r\n  };\r\n\r\n  \/**\r\n   * Convert the passed IBAN to a country-specific BBAN.\r\n   *\r\n   * @param iban the IBAN to convert\r\n   * @param separator the separator to use between BBAN blocks\r\n   * @returns {string} the BBAN\r\n   *\/\r\n  Specification.prototype.toBBAN = function(iban, separator) {\r\n    return this._regex()\r\n      .exec(iban.slice(4))\r\n      .slice(1)\r\n      .join(separator);\r\n  };\r\n\r\n  \/**\r\n   * Convert the passed BBAN to an IBAN for this country specification.\r\n   * Please note that <i>\"generation of the IBAN shall be the exclusive responsibility of the bank\/branch servicing the account\"<\/i>.\r\n   * This method implements the preferred algorithm described in http:\/\/en.wikipedia.org\/wiki\/International_Bank_Account_Number#Generating_IBAN_check_digits\r\n   *\r\n   * @param bban the BBAN to convert to IBAN\r\n   * @returns {string} the IBAN\r\n   *\/\r\n  Specification.prototype.fromBBAN = function(bban) {\r\n    if (!this.isValidBBAN(bban)) {\r\n      throw new Error(\"Invalid BBAN\");\r\n    }\r\n    var remainder = iso7064Mod97_10(iso13616Prepare(this.countryCode + \"00\" + bban)),\r\n      checkDigit = (\"0\" + (98 - remainder)).slice(-2);\r\n\r\n    return this.countryCode + checkDigit + bban;\r\n  };\r\n\r\n  \/**\r\n   * Check of the passed BBAN is valid.\r\n   * This function only checks the format of the BBAN (length and matching the letetr\/number specs) but does not\r\n   * verify the check digit.\r\n   *\r\n   * @param bban the BBAN to validate\r\n   * @returns {boolean} true if the passed bban is a valid BBAN according to this specification, false otherwise\r\n   *\/\r\n  Specification.prototype.isValidBBAN = function(bban) {\r\n    return this.length - 4 == bban.length && this._regex().test(bban);\r\n  };\r\n\r\n  var countries = {};\r\n  function addSpecification(IBAN) {\r\n    countries[IBAN.countryCode] = IBAN;\r\n  }\r\n\r\n  addSpecification(new Specification(\"AD\", 24, \"F04F04A12\", \"AD1200012030200359100100\"));\r\n  addSpecification(new Specification(\"AE\", 23, \"F03F16\", \"AE070331234567890123456\"));\r\n  addSpecification(new Specification(\"AL\", 28, \"F08A16\", \"AL47212110090000000235698741\"));\r\n  addSpecification(new Specification(\"AT\", 20, \"F05F11\", \"AT611904300234573201\"));\r\n  addSpecification(new Specification(\"AZ\", 28, \"U04A20\", \"AZ21NABZ00000000137010001944\"));\r\n  addSpecification(new Specification(\"BA\", 20, \"F03F03F08F02\", \"BA391290079401028494\"));\r\n  addSpecification(new Specification(\"BE\", 16, \"F03F07F02\", \"BE68539007547034\"));\r\n  addSpecification(new Specification(\"BG\", 22, \"U04F04F02A08\", \"BG80BNBG96611020345678\"));\r\n  addSpecification(new Specification(\"BH\", 22, \"U04A14\", \"BH67BMAG00001299123456\"));\r\n  addSpecification(new Specification(\"BR\", 29, \"F08F05F10U01A01\", \"BR9700360305000010009795493P1\"));\r\n  addSpecification(new Specification(\"BY\", 28, \"A04F04A16\", \"BY13NBRB3600900000002Z00AB00\"));\r\n  addSpecification(new Specification(\"CH\", 21, \"F05A12\", \"CH9300762011623852957\"));\r\n  addSpecification(new Specification(\"CR\", 22, \"F04F14\", \"CR72012300000171549015\"));\r\n  addSpecification(new Specification(\"CY\", 28, \"F03F05A16\", \"CY17002001280000001200527600\"));\r\n  addSpecification(new Specification(\"CZ\", 24, \"F04F06F10\", \"CZ6508000000192000145399\"));\r\n  addSpecification(new Specification(\"DE\", 22, \"F08F10\", \"DE89370400440532013000\"));\r\n  addSpecification(new Specification(\"DK\", 18, \"F04F09F01\", \"DK5000400440116243\"));\r\n  addSpecification(new Specification(\"DO\", 28, \"U04F20\", \"DO28BAGR00000001212453611324\"));\r\n  addSpecification(new Specification(\"EE\", 20, \"F02F02F11F01\", \"EE382200221020145685\"));\r\n  addSpecification(new Specification(\"ES\", 24, \"F04F04F01F01F10\", \"ES9121000418450200051332\"));\r\n  addSpecification(new Specification(\"FI\", 18, \"F06F07F01\", \"FI2112345600000785\"));\r\n  addSpecification(new Specification(\"FO\", 18, \"F04F09F01\", \"FO6264600001631634\"));\r\n  addSpecification(new Specification(\"FR\", 27, \"F05F05A11F02\", \"FR1420041010050500013M02606\"));\r\n  addSpecification(new Specification(\"GB\", 22, \"U04F06F08\", \"GB29NWBK60161331926819\"));\r\n  addSpecification(new Specification(\"GE\", 22, \"U02F16\", \"GE29NB0000000101904917\"));\r\n  addSpecification(new Specification(\"GI\", 23, \"U04A15\", \"GI75NWBK000000007099453\"));\r\n  addSpecification(new Specification(\"GL\", 18, \"F04F09F01\", \"GL8964710001000206\"));\r\n  addSpecification(new Specification(\"GR\", 27, \"F03F04A16\", \"GR1601101250000000012300695\"));\r\n  addSpecification(new Specification(\"GT\", 28, \"A04A20\", \"GT82TRAJ01020000001210029690\"));\r\n  addSpecification(new Specification(\"HR\", 21, \"F07F10\", \"HR1210010051863000160\"));\r\n  addSpecification(new Specification(\"HU\", 28, \"F03F04F01F15F01\", \"HU42117730161111101800000000\"));\r\n  addSpecification(new Specification(\"IE\", 22, \"U04F06F08\", \"IE29AIBK93115212345678\"));\r\n  addSpecification(new Specification(\"IL\", 23, \"F03F03F13\", \"IL620108000000099999999\"));\r\n  addSpecification(new Specification(\"IS\", 26, \"F04F02F06F10\", \"IS140159260076545510730339\"));\r\n  addSpecification(new Specification(\"IT\", 27, \"U01F05F05A12\", \"IT60X0542811101000000123456\"));\r\n  addSpecification(new Specification(\"IQ\", 23, \"U04F03A12\", \"IQ98NBIQ850123456789012\"));\r\n  addSpecification(new Specification(\"JO\", 30, \"A04F22\", \"JO15AAAA1234567890123456789012\"));\r\n  addSpecification(new Specification(\"KW\", 30, \"U04A22\", \"KW81CBKU0000000000001234560101\"));\r\n  addSpecification(new Specification(\"KZ\", 20, \"F03A13\", \"KZ86125KZT5004100100\"));\r\n  addSpecification(new Specification(\"LB\", 28, \"F04A20\", \"LB62099900000001001901229114\"));\r\n  addSpecification(new Specification(\"LC\", 32, \"U04F24\", \"LC07HEMM000100010012001200013015\"));\r\n  addSpecification(new Specification(\"LI\", 21, \"F05A12\", \"LI21088100002324013AA\"));\r\n  addSpecification(new Specification(\"LT\", 20, \"F05F11\", \"LT121000011101001000\"));\r\n  addSpecification(new Specification(\"LU\", 20, \"F03A13\", \"LU280019400644750000\"));\r\n  addSpecification(new Specification(\"LV\", 21, \"U04A13\", \"LV80BANK0000435195001\"));\r\n  addSpecification(new Specification(\"MC\", 27, \"F05F05A11F02\", \"MC5811222000010123456789030\"));\r\n  addSpecification(new Specification(\"MD\", 24, \"U02A18\", \"MD24AG000225100013104168\"));\r\n  addSpecification(new Specification(\"ME\", 22, \"F03F13F02\", \"ME25505000012345678951\"));\r\n  addSpecification(new Specification(\"MK\", 19, \"F03A10F02\", \"MK07250120000058984\"));\r\n  addSpecification(new Specification(\"MR\", 27, \"F05F05F11F02\", \"MR1300020001010000123456753\"));\r\n  addSpecification(new Specification(\"MT\", 31, \"U04F05A18\", \"MT84MALT011000012345MTLCAST001S\"));\r\n  addSpecification(new Specification(\"MU\", 30, \"U04F02F02F12F03U03\", \"MU17BOMM0101101030300200000MUR\"));\r\n  addSpecification(new Specification(\"NL\", 18, \"U04F10\", \"NL91ABNA0417164300\"));\r\n  addSpecification(new Specification(\"NO\", 15, \"F04F06F01\", \"NO9386011117947\"));\r\n  addSpecification(new Specification(\"PK\", 24, \"U04A16\", \"PK36SCBL0000001123456702\"));\r\n  addSpecification(new Specification(\"PL\", 28, \"F08F16\", \"PL61109010140000071219812874\"));\r\n  addSpecification(new Specification(\"PS\", 29, \"U04A21\", \"PS92PALS000000000400123456702\"));\r\n  addSpecification(new Specification(\"PT\", 25, \"F04F04F11F02\", \"PT50000201231234567890154\"));\r\n  addSpecification(new Specification(\"QA\", 29, \"U04A21\", \"QA30AAAA123456789012345678901\"));\r\n  addSpecification(new Specification(\"RO\", 24, \"U04A16\", \"RO49AAAA1B31007593840000\"));\r\n  addSpecification(new Specification(\"RS\", 22, \"F03F13F02\", \"RS35260005601001611379\"));\r\n  addSpecification(new Specification(\"SA\", 24, \"F02A18\", \"SA0380000000608010167519\"));\r\n  addSpecification(new Specification(\"SC\", 31, \"U04F04F16U03\", \"SC18SSCB11010000000000001497USD\"));\r\n  addSpecification(new Specification(\"SE\", 24, \"F03F16F01\", \"SE4550000000058398257466\"));\r\n  addSpecification(new Specification(\"SI\", 19, \"F05F08F02\", \"SI56263300012039086\"));\r\n  addSpecification(new Specification(\"SK\", 24, \"F04F06F10\", \"SK3112000000198742637541\"));\r\n  addSpecification(new Specification(\"SM\", 27, \"U01F05F05A12\", \"SM86U0322509800000000270100\"));\r\n  addSpecification(new Specification(\"ST\", 25, \"F08F11F02\", \"ST68000100010051845310112\"));\r\n  addSpecification(new Specification(\"SV\", 28, \"U04F20\", \"SV62CENR00000000000000700025\"));\r\n  addSpecification(new Specification(\"TL\", 23, \"F03F14F02\", \"TL380080012345678910157\"));\r\n  addSpecification(new Specification(\"TN\", 24, \"F02F03F13F02\", \"TN5910006035183598478831\"));\r\n  addSpecification(new Specification(\"TR\", 26, \"F05F01A16\", \"TR330006100519786457841326\"));\r\n  addSpecification(new Specification(\"UA\", 29, \"F25\", \"UA511234567890123456789012345\"));\r\n  addSpecification(new Specification(\"VG\", 24, \"U04F16\", \"VG96VPVG0000012345678901\"));\r\n  addSpecification(new Specification(\"XK\", 20, \"F04F10F02\", \"XK051212012345678906\"));\r\n  \/\/ The following countries are not included in the official IBAN registry but use the IBAN specification\r\n  \/\/ Angola\r\n  addSpecification(new Specification(\"AO\", 25, \"F21\", \"AO69123456789012345678901\"));\r\n  \/\/ Burkina\r\n  addSpecification(new Specification(\"BF\", 27, \"F23\", \"BF2312345678901234567890123\"));\r\n  \/\/ Burundi\r\n  addSpecification(new Specification(\"BI\", 16, \"F12\", \"BI41123456789012\"));\r\n  \/\/ Benin\r\n  addSpecification(new Specification(\"BJ\", 28, \"F24\", \"BJ39123456789012345678901234\"));\r\n  \/\/ Ivory\r\n  addSpecification(new Specification(\"CI\", 28, \"U01F23\", \"CI17A12345678901234567890123\"));\r\n  \/\/ Cameron\r\n  addSpecification(new Specification(\"CM\", 27, \"F23\", \"CM9012345678901234567890123\"));\r\n  \/\/ Cape Verde\r\n  addSpecification(new Specification(\"CV\", 25, \"F21\", \"CV30123456789012345678901\"));\r\n  \/\/ Algeria\r\n  addSpecification(new Specification(\"DZ\", 24, \"F20\", \"DZ8612345678901234567890\"));\r\n  \/\/ Iran\r\n  addSpecification(new Specification(\"IR\", 26, \"F22\", \"IR861234568790123456789012\"));\r\n  \/\/ Madagascar\r\n  addSpecification(new Specification(\"MG\", 27, \"F23\", \"MG1812345678901234567890123\"));\r\n  \/\/ Mali\r\n  addSpecification(new Specification(\"ML\", 28, \"U01F23\", \"ML15A12345678901234567890123\"));\r\n  \/\/ Mozambique\r\n  addSpecification(new Specification(\"MZ\", 25, \"F21\", \"MZ25123456789012345678901\"));\r\n  \/\/ Senegal\r\n  addSpecification(new Specification(\"SN\", 28, \"U01F23\", \"SN52A12345678901234567890123\"));\r\n\r\n  var NON_ALPHANUM = \/[^a-zA-Z0-9]\/g,\r\n    EVERY_FOUR_CHARS = \/(.{4})(?!$)\/g;\r\n\r\n  \/**\r\n   * Utility function to check if a variable is a String.\r\n   *\r\n   * @param v\r\n   * @returns {boolean} true if the passed variable is a String, false otherwise.\r\n   *\/\r\n  function isString(v) {\r\n    return typeof v == \"string\" || v instanceof String;\r\n  }\r\n\r\n  \/**\r\n   * Check if an IBAN is valid.\r\n   *\r\n   * @param {String} iban the IBAN to validate.\r\n   * @returns {boolean} true if the passed IBAN is valid, false otherwise\r\n   *\/\r\n  exports.isValid = function(iban) {\r\n    if (!isString(iban)) {\r\n      return false;\r\n    }\r\n    iban = electronicFormat(iban);\r\n    var countryStructure = countries[iban.slice(0, 2)];\r\n    return !!countryStructure && countryStructure.isValid(iban);\r\n  };\r\n\r\n  \/**\r\n   * Convert an IBAN to a BBAN.\r\n   *\r\n   * @param iban\r\n   * @param {String} [separator] the separator to use between the blocks of the BBAN, defaults to ' '\r\n   * @returns {string|*}\r\n   *\/\r\n  exports.toBBAN = function(iban, separator) {\r\n    if (typeof separator == \"undefined\") {\r\n      separator = \" \";\r\n    }\r\n\r\n    iban = electronicFormat(iban);\r\n    var countryStructure = countries[iban.slice(0, 2)];\r\n    if (!countryStructure) {\r\n      throw new Error(\"No country with code \" + iban.slice(0, 2));\r\n    }\r\n\r\n    return countryStructure.toBBAN(iban, separator);\r\n  };\r\n\r\n  \/**\r\n   * Convert the passed BBAN to an IBAN for this country specification.\r\n   * Please note that <i>\"generation of the IBAN shall be the exclusive responsibility of the bank\/branch servicing the account\"<\/i>.\r\n   * This method implements the preferred algorithm described in http:\/\/en.wikipedia.org\/wiki\/International_Bank_Account_Number#Generating_IBAN_check_digits\r\n   *\r\n   * @param countryCode the country of the BBAN\r\n   * @param bban the BBAN to convert to IBAN\r\n   * @returns {string} the IBAN\r\n   *\/\r\n  exports.fromBBAN = function(countryCode, bban) {\r\n    var countryStructure = countries[countryCode];\r\n    if (!countryStructure) {\r\n      throw new Error(\"No country with code \" + countryCode);\r\n    }\r\n    return countryStructure.fromBBAN(electronicFormat(bban));\r\n  };\r\n\r\n  \/**\r\n   * Check the validity of the passed BBAN.\r\n   *\r\n   * @param countryCode the country of the BBAN\r\n   * @param bban the BBAN to check the validity of\r\n   *\/\r\n  exports.isValidBBAN = function(countryCode, bban) {\r\n    if (!isString(bban)) {\r\n      return false;\r\n    }\r\n    var countryStructure = countries[countryCode];\r\n    return countryStructure && countryStructure.isValidBBAN(electronicFormat(bban));\r\n  };\r\n\r\n  \/**\r\n   *\r\n   * @param iban\r\n   * @param separator\r\n   * @returns {string}\r\n   *\/\r\n  exports.printFormat = function(iban, separator) {\r\n    if (typeof separator == \"undefined\") {\r\n      separator = \" \";\r\n    }\r\n    return electronicFormat(iban).replace(EVERY_FOUR_CHARS, \"$1\" + separator);\r\n  };\r\n  exports.electronicFormat = electronicFormat;\r\n\r\n  \/**\r\n   * An object containing all the known IBAN specifications.\r\n   *\/\r\n  exports.countries = countries;\r\n});\r\n\r\n\/**\r\n * Validate IBAN\r\n * @returns {Boolean}\r\n *\/\r\nfunction validateIBAN() {\r\n  \/\/ v2018\r\n  \/\/ If the payment method is not direct debit, the IBAN must not be validated\r\n  if (document.getElementById(\"stic_Payment_Commitments___payment_method\").value == \"direct_debit\") {\r\n    var bankAccount = document.getElementById(\"stic_Payment_Commitments___bank_account\");\r\n    bankAccount.value = bankAccount.value.toUpperCase();\r\n    if (bankAccount == null) {\r\n      \/\/ If there is no account number it will give error\r\n      return false;\r\n    } else {\r\n      if (!IBAN.isValid(bankAccount.value)) {\r\n        alert(stic_Payment_Commitments_LBL_IBAN_NOT_VALID);\r\n        selectTextInput(bankAccount);\r\n        return false;\r\n      }\r\n    }\r\n  }\r\n  return true;\r\n}\r\n\/**\r\n * This file is part of SinergiaCRM.\r\n * SinergiaCRM is a work developed by SinergiaTIC Association, based on SuiteCRM.\r\n * Copyright (C) 2013 - 2023 SinergiaTIC Association\r\n *\r\n * This program is free software; you can redistribute it and\/or modify it under\r\n * the terms of the GNU Affero General Public License version 3 as published by the\r\n * Free Software Foundation.\r\n *\r\n * This program is distributed in the hope that it will be useful, but WITHOUT\r\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\r\n * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more\r\n * details.\r\n *\r\n * You should have received a copy of the GNU Affero General Public License along with\r\n * this program; if not, see http:\/\/www.gnu.org\/licenses or write to the Free\r\n * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA\r\n * 02110-1301 USA.\r\n *\r\n * You can contact SinergiaTIC Association at email address info@sinergiacrm.org.\r\n *\/\r\n\/**\r\n * Overload the data validation function to include the validation of the payment methods fields\r\n *\/\r\n(function() {\r\n  var tmpCheckFields = checkFields;\r\n  checkFields = function() {\r\n    if (tmpCheckFields) {\r\n      return tmpCheckFields() && validateIBAN();\r\n    }\r\n    return validateIBAN();\r\n  };\r\n})();\r\n\r\n\/**\r\n * Adapt the form based on the value of the payment method\r\n *\/\r\nfunction adaptPaymentMethod(oPaymentMethod) {\r\n  \/\/ Retrieve the html element of payment method\r\n  var vPaymentMethod = oPaymentMethod.options[oPaymentMethod.selectedIndex].value;\r\n\r\n  \/\/ If the payment method is a direct debit, it shows the account number field and marks it as required.\r\n  if (vPaymentMethod == \"direct_debit\") {\r\n    showField(\"stic_Payment_Commitments___bank_account\");\r\n    addRequired(\"stic_Payment_Commitments___bank_account\");\r\n  } else {\r\n    hideField(\"stic_Payment_Commitments___bank_account\");\r\n    removeRequired(\"stic_Payment_Commitments___bank_account\");\r\n  }\r\n  oPaymentMethod.prev_value = vPaymentMethod;\r\n}\r\n\r\n\t\t<\/script>\r\n\t<\/body>\r\n<\/html>\r\n\n\n\n\n<div style=\"height:67px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Si quieres hacer una donaci\u00f3n a trav\u00e9s de <strong>Bizum<\/strong>, ve a tu app, busca la opci\u00f3n \u00abdonar a una causa solidaria u ONG\u00bb e indica el n\u00famero \u00ab09704\u00bb. Aparecer\u00e1 IRIDIA.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Para poder <strong>desgravar <\/strong>la aportaci\u00f3n hecha por Bizum, es necesario que nos contactes en administracio@iridia.cat indicando tu <strong>c\u00f3digo postal<\/strong>.<\/p>\n<\/div>\n<\/div>\n\n\n\n<div style=\"height:80px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<h2 class=\"wp-block-heading has-text-align-left border-t-2 pt-2 border-secondary text-3xl\">Comparte la campa\u00f1a<\/h2>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><div class=\"essb_links essb_displayed_ essb_share essb_template_round-retina essb_1614996749 essb_links_center print-no\" id=\"essb_displayed__1614996749\" data-essb-postid=\"16470\" data-essb-position=\"\" data-essb-button-style=\"icon\" data-essb-template=\"round-retina\" data-essb-counter-pos=\"hidden\" data-essb-url=\"https:\/\/iridia.cat\/es\/mesiridia\/\" data-essb-fullurl=\"https:\/\/iridia.cat\/es\/mesiridia\/\" data-essb-instance=\"1614996749\"><ul class=\"essb_links_list essb_force_hide_name essb_force_hide\"><li class=\"essb_item essb_link_telegram nolightbox essb_link_svg_icon\"> <a href=\"https:\/\/telegram.me\/share\/url?url=https%3A%2F%2Firidia.cat%2Fes%2Fmesiridia%2F&#038;text=Para%20llevar%20a%20la%20polic\u00eda%20a%20juicio%20no%20dan%20subvenciones.%20He%20hecho%20una%20aportaci\u00f3n%20a%20%23M\u00e9sIr\u00eddia%20para%20que%20nadie%20se%20quede%20solo%20ante%20la%20violencia%20policial.\" title=\"Share on Telegram\" onclick=\"essb.tracking_only('', 'telegram', '1614996749', true);\" target=\"_blank\" rel=\"noreferrer noopener nofollow\" class=\"nolightbox essb-s-c-telegram essb-s-bgh-telegram essb-s-ch-light essb-s-c-network essb-s-bgh-network\" ><span class=\"essb_icon essb_icon_telegram\"><svg class=\"essb-svg-icon essb-svg-icon-telegram\" aria-hidden=\"true\" role=\"img\" focusable=\"false\" width=\"28\" height=\"32\" viewbox=\"0 0 28 32\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M27.919 6.162l-4.225 19.925c-0.319 1.406-1.15 1.756-2.331 1.094l-6.438-4.744-3.106 2.988c-0.344 0.344-0.631 0.631-1.294 0.631l0.463-6.556 11.931-10.781c0.519-0.463-0.113-0.719-0.806-0.256l-14.75 9.287-6.35-1.988c-1.381-0.431-1.406-1.381 0.288-2.044l24.837-9.569c1.15-0.431 2.156 0.256 1.781 2.013z\"><\/path><\/svg><\/span><span class=\"essb_network_name essb_noname\"><\/span><\/a><\/li><li class=\"essb_item essb_link_whatsapp nolightbox essb_link_svg_icon\"> <a href=\"whatsapp:\/\/send?text=Para%20llevar%20a%20la%20polic\u00eda%20a%20juicio%20no%20dan%20subvenciones.%20He%20hecho%20una%20aportaci\u00f3n%20a%20%23M\u00e9sIr\u00eddia%20para%20que%20nadie%20se%20quede%20solo%20ante%20la%20violencia%20policial.%20https%3A%2F%2Firidia.cat%2Fes%2Fmesiridia%2F\" title=\"Share on WhatsApp\" onclick=\"essb.whatsapp('Para%20llevar%20a%20la%20polic\u00eda%20a%20juicio%20no%20dan%20subvenciones.%20He%20hecho%20una%20aportaci\u00f3n%20a%20%23M\u00e9sIr\u00eddia%20para%20que%20nadie%20se%20quede%20solo%20ante%20la%20violencia%20policial.%20https%3A%2F%2Firidia.cat%2Fes%2Fmesiridia%2F', '1614996749'); return false;\" target=\"_blank\" rel=\"noreferrer noopener nofollow\" class=\"nolightbox essb-s-c-whatsapp essb-s-bgh-whatsapp essb-s-ch-light essb-s-c-network essb-s-bgh-network\" ><span class=\"essb_icon essb_icon_whatsapp\"><svg class=\"essb-svg-icon essb-svg-icon-whatsapp\" aria-hidden=\"true\" role=\"img\" focusable=\"false\" width=\"32\" height=\"32\" viewbox=\"0 0 32 32\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M27.313 4.625c-3-3-7-4.625-11.25-4.625-8.75 0-15.875 7.125-15.875 15.875 0 2.75 0.75 5.5 2.125 7.938l-2.25 8.188 8.438-2.188c2.313 1.25 4.875 1.938 7.563 1.938v0c0 0 0 0 0 0 8.75 0 15.875-7.125 15.875-15.875 0-4.25-1.625-8.25-4.625-11.25zM16.063 29.063v0c-2.375 0-4.688-0.625-6.688-1.875l-0.5-0.25-5 1.313 1.313-4.875-0.313-0.5c-1.313-2.125-2-4.5-2-7 0-7.313 5.938-13.188 13.188-13.188 3.5 0 6.813 1.375 9.313 3.875s3.875 5.813 3.875 9.313c0 7.25-5.938 13.188-13.188 13.188zM23.313 19.188c-0.438-0.188-2.375-1.188-2.75-1.313-0.313-0.125-0.625-0.188-0.875 0.188-0.25 0.438-1 1.313-1.25 1.563s-0.438 0.313-0.875 0.125c-0.375-0.188-1.625-0.625-3.188-2-1.125-1-1.938-2.313-2.188-2.75-0.25-0.375 0-0.563 0.188-0.813 0.188-0.125 0.375-0.438 0.563-0.688 0.25-0.188 0.313-0.375 0.438-0.625s0.063-0.5-0.063-0.688c-0.063-0.188-0.875-2.188-1.188-2.938-0.375-0.813-0.688-0.688-0.938-0.688-0.188 0-0.5 0-0.75 0s-0.688 0.063-1.063 0.438c-0.375 0.438-1.375 1.375-1.375 3.313 0 2 1.438 3.875 1.625 4.125s2.813 4.25 6.75 6c0.938 0.375 1.688 0.625 2.25 0.813 1 0.313 1.813 0.25 2.5 0.188 0.813-0.125 2.375-1 2.688-1.938 0.375-0.875 0.375-1.688 0.25-1.875-0.125-0.125-0.375-0.25-0.75-0.438z\"><\/path><\/svg><\/span><span class=\"essb_network_name essb_noname\"><\/span><\/a><\/li><li class=\"essb_item essb_link_facebook nolightbox essb_link_svg_icon\"> <a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Firidia.cat%2Fes%2Fmesiridia%2F&#038;t=Para+llevar+a+la+polic%C3%ADa+a+juicio+no+dan+subvenciones.+He+hecho+una+aportaci%C3%B3n+a+%23M%C3%A9sIr%C3%ADdia+para+que+nadie+se+quede+solo+ante+la+violencia+policial.\" title=\"Share on Facebook\" onclick=\"essb.window(&#39;https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Firidia.cat%2Fes%2Fmesiridia%2F&#038;t=Para+llevar+a+la+polic%C3%ADa+a+juicio+no+dan+subvenciones.+He+hecho+una+aportaci%C3%B3n+a+%23M%C3%A9sIr%C3%ADdia+para+que+nadie+se+quede+solo+ante+la+violencia+policial.&#39;,&#39;facebook&#39;,&#39;1614996749&#39;); return false;\" target=\"_blank\" rel=\"noreferrer noopener nofollow\" class=\"nolightbox essb-s-c-facebook essb-s-bgh-facebook essb-s-ch-light essb-s-c-network essb-s-bgh-network\" ><span class=\"essb_icon essb_icon_facebook\"><svg class=\"essb-svg-icon essb-svg-icon-facebook\" aria-hidden=\"true\" role=\"img\" focusable=\"false\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"16\" height=\"16\" viewbox=\"0 0 16 16\"><path d=\"M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951\"><\/path><\/svg><\/span><span class=\"essb_network_name essb_noname\"><\/span><\/a><\/li><li class=\"essb_item essb_link_mastodon nolightbox essb_link_svg_icon\"> <a href=\"https:\/\/mastodon.social\/share?text=Para+llevar+a+la+polic%C3%ADa+a+juicio+no+dan+subvenciones.+He+hecho+una+aportaci%C3%B3n+a+%23M%C3%A9sIr%C3%ADdia+para+que+nadie+se+quede+solo+ante+la+violencia+policial. https%3A%2F%2Firidia.cat%2Fes%2Fmesiridia%2F\" title=\"Share on Mastodon\" onclick=\"essb.window(&#39;https:\/\/mastodon.social\/share?text=Para+llevar+a+la+polic%C3%ADa+a+juicio+no+dan+subvenciones.+He+hecho+una+aportaci%C3%B3n+a+%23M%C3%A9sIr%C3%ADdia+para+que+nadie+se+quede+solo+ante+la+violencia+policial. https%3A%2F%2Firidia.cat%2Fes%2Fmesiridia%2F&#39;,&#39;mastodon&#39;,&#39;1614996749&#39;); return false;\" target=\"_blank\" rel=\"noreferrer noopener nofollow\" class=\"nolightbox essb-s-c-mastodon essb-s-bgh-mastodon essb-s-ch-light essb-s-c-network essb-s-bgh-network\" ><span class=\"essb_icon essb_icon_mastodon\"><svg class=\"essb-svg-icon essb-svg-icon-mastodon\" aria-hidden=\"true\" role=\"img\" focusable=\"false\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 448 512\"><path fill=\"currentColor\" d=\"M433 179.11c0-97.2-63.71-125.7-63.71-125.7-62.52-28.7-228.56-28.4-290.48 0 0 0-63.72 28.5-63.72 125.7 0 115.7-6.6 259.4 105.63 289.1 40.51 10.7 75.32 13 103.33 11.4 50.81-2.8 79.32-18.1 79.32-18.1l-1.7-36.9s-36.31 11.4-77.12 10.1c-40.41-1.4-83-4.4-89.63-54a102.5 102.5 0 0 1-.9-13.9c85.63 20.9 158.65 9.1 178.75 6.7 56.12-6.7 105-41.3 111.23-72.9 9.8-49.8 9-121.5 9-121.5m-75.12 125.2h-46.63v-114.2c0-49.7-64-51.6-64 6.9v62.5h-46.33V197c0-58.5-64-56.6-64-6.9v114.2H90.19c0-122.1-5.2-147.9 18.41-175 25.9-28.9 79.82-30.8 103.83 6.1l11.6 19.5 11.6-19.5c24.11-37.1 78.12-34.8 103.83-6.1 23.71 27.3 18.4 53 18.4 175z\" \/><\/svg><\/span><span class=\"essb_network_name essb_noname\"><\/span><\/a><\/li><li class=\"essb_item essb_link_twitter nolightbox essb_link_twitter_x essb_link_svg_icon\"> <a href=\"https:\/\/x.com\/intent\/post?text=Para%20llevar%20a%20la%20polic\u00eda%20a%20juicio%20no%20dan%20subvenciones.%20He%20hecho%20una%20aportaci\u00f3n%20a%20%23M\u00e9sIr\u00eddia%20para%20que%20nadie%20se%20quede%20solo%20ante%20la%20violencia%20policial.&amp;url=https%3A%2F%2Firidia.cat%2Fes%2Fmesiridia%2F\" title=\"Share on X\" onclick=\"essb.window(&#39;https:\/\/x.com\/intent\/post?text=Para%20llevar%20a%20la%20polic\u00eda%20a%20juicio%20no%20dan%20subvenciones.%20He%20hecho%20una%20aportaci\u00f3n%20a%20%23M\u00e9sIr\u00eddia%20para%20que%20nadie%20se%20quede%20solo%20ante%20la%20violencia%20policial.&amp;url=https%3A%2F%2Firidia.cat%2Fes%2Fmesiridia%2F&#39;,&#39;twitter&#39;,&#39;1614996749&#39;); return false;\" target=\"_blank\" rel=\"noreferrer noopener nofollow\" class=\"nolightbox essb-s-c-twitter essb-s-bgh-twitter essb-s-ch-light essb-s-c-network essb-s-bgh-network\" ><span class=\"essb_icon essb_icon_twitter_x\"><svg class=\"essb-svg-icon essb-svg-icon-twitter_x\" aria-hidden=\"true\" role=\"img\" focusable=\"false\" viewbox=\"0 0 24 24\"><path d=\"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z\"><\/path><\/svg><\/span><span class=\"essb_network_name essb_noname\"><\/span><\/a><\/li><\/ul><\/div><\/div>\n<\/div>\n\n\n\n<div style=\"height:80px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<div class=\"gsp_post_data\" \r\n\t            data-post_type=\"page\" \r\n\t            data-cat=\"\" \r\n\t            data-modified=\"-36\"\r\n\t            data-created=\"1793207099\"\r\n\t            data-title=\"M\u00e1s represi\u00f3n,\nm\u00e1s Ir\u00eddia\" \r\n\t            data-home=\"https:\/\/iridia.cat\/es\/\"><\/div>","protected":false},"excerpt":{"rendered":"<p>Que nadie se quede solo ante la violencia policial Este 2026, las personas que se han dirigido a nuestro Servicio de Atenci\u00f3n y Denuncia ante situaciones de Violencia Institucional (SAIDAVI) han aumentado m\u00e1s de un 50 % respecto al a\u00f1o pasadode 266 a 410. De ellas, alrededor de un centenar han sufrido malos tratos o<a href=\"https:\/\/iridia.cat\/es\/mesiridia\/\">Continue reading <span class=\"sr-only\">\u00abM\u00e1s represi\u00f3n,<br \/>\nm\u00e1s Ir\u00eddia\u00bb<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":16476,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"tags":[],"class_list":["post-16470","page","type-page","status-publish","has-post-thumbnail","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>M\u00e1s Ir\u00eddia: haz una donaci\u00f3n contra la violencia policial<\/title>\n<meta name=\"description\" content=\"Las personas que piden ayuda a Ir\u00eddia por violencia policial han crecido m\u00e1s de un 50 %. Haz una aportaci\u00f3n para que nadie se quede solo.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/iridia.cat\/es\/mesiridia\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"M\u00e1s Ir\u00eddia: haz una donaci\u00f3n contra la violencia policial\" \/>\n<meta property=\"og:description\" content=\"Las personas que piden ayuda a Ir\u00eddia por violencia policial han crecido m\u00e1s de un 50 %. Haz una aportaci\u00f3n para que nadie se quede solo.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/iridia.cat\/es\/mesiridia\/\" \/>\n<meta property=\"og:site_name\" content=\"Ir\u00eddia\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-25T16:54:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/iridia.cat\/wp-content\/uploads\/2026\/11\/BanerMesRepressio.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"947\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/iridia.cat\\\/es\\\/mesiridia\\\/\",\"url\":\"https:\\\/\\\/iridia.cat\\\/es\\\/mesiridia\\\/\",\"name\":\"M\u00e1s Ir\u00eddia: haz una donaci\u00f3n contra la violencia policial\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/iridia.gatxan.in\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/iridia.cat\\\/es\\\/mesiridia\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/iridia.cat\\\/es\\\/mesiridia\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/iridia.cat\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/BanerMesRepressio.jpg\",\"datePublished\":\"2026-10-28T16:04:59+00:00\",\"dateModified\":\"2026-11-25T16:54:58+00:00\",\"description\":\"Las personas que piden ayuda a Ir\u00eddia por violencia policial han crecido m\u00e1s de un 50 %. Haz una aportaci\u00f3n para que nadie se quede solo.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/iridia.cat\\\/es\\\/mesiridia\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/iridia.cat\\\/es\\\/mesiridia\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/iridia.cat\\\/es\\\/mesiridia\\\/#primaryimage\",\"url\":\"https:\\\/\\\/iridia.cat\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/BanerMesRepressio.jpg\",\"contentUrl\":\"https:\\\/\\\/iridia.cat\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/BanerMesRepressio.jpg\",\"width\":2560,\"height\":947,\"caption\":\"M\u00e9s Repressi\u00f3 M\u00e9s Ir\u00eddia\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/iridia.cat\\\/es\\\/mesiridia\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Inici\",\"item\":\"https:\\\/\\\/iridia.cat\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"M\u00e1s represi\u00f3n, m\u00e1s Ir\u00eddia\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/iridia.gatxan.in\\\/#website\",\"url\":\"https:\\\/\\\/iridia.gatxan.in\\\/\",\"name\":\"Ir\u00eddia\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/iridia.gatxan.in\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/iridia.gatxan.in\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/iridia.gatxan.in\\\/#organization\",\"name\":\"Ir\u00eddia\",\"url\":\"https:\\\/\\\/iridia.gatxan.in\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/iridia.gatxan.in\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":null,\"contentUrl\":null,\"width\":null,\"height\":null,\"caption\":\"Ir\u00eddia\"},\"image\":{\"@id\":\"https:\\\/\\\/iridia.gatxan.in\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"M\u00e1s Ir\u00eddia: haz una donaci\u00f3n contra la violencia policial","description":"Las personas que piden ayuda a Ir\u00eddia por violencia policial han crecido m\u00e1s de un 50 %. Haz una aportaci\u00f3n para que nadie se quede solo.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/iridia.cat\/es\/mesiridia\/","og_locale":"es_ES","og_type":"article","og_title":"M\u00e1s Ir\u00eddia: haz una donaci\u00f3n contra la violencia policial","og_description":"Las personas que piden ayuda a Ir\u00eddia por violencia policial han crecido m\u00e1s de un 50 %. Haz una aportaci\u00f3n para que nadie se quede solo.","og_url":"https:\/\/iridia.cat\/es\/mesiridia\/","og_site_name":"Ir\u00eddia","article_modified_time":"2026-11-25T16:54:58+00:00","og_image":[{"width":2560,"height":947,"url":"https:\/\/iridia.cat\/wp-content\/uploads\/2026\/11\/BanerMesRepressio.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Tiempo de lectura":"4 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/iridia.cat\/es\/mesiridia\/","url":"https:\/\/iridia.cat\/es\/mesiridia\/","name":"M\u00e1s Ir\u00eddia: haz una donaci\u00f3n contra la violencia policial","isPartOf":{"@id":"https:\/\/iridia.gatxan.in\/#website"},"primaryImageOfPage":{"@id":"https:\/\/iridia.cat\/es\/mesiridia\/#primaryimage"},"image":{"@id":"https:\/\/iridia.cat\/es\/mesiridia\/#primaryimage"},"thumbnailUrl":"https:\/\/iridia.cat\/wp-content\/uploads\/2026\/11\/BanerMesRepressio.jpg","datePublished":"2026-10-28T16:04:59+00:00","dateModified":"2026-11-25T16:54:58+00:00","description":"Las personas que piden ayuda a Ir\u00eddia por violencia policial han crecido m\u00e1s de un 50 %. Haz una aportaci\u00f3n para que nadie se quede solo.","breadcrumb":{"@id":"https:\/\/iridia.cat\/es\/mesiridia\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/iridia.cat\/es\/mesiridia\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/iridia.cat\/es\/mesiridia\/#primaryimage","url":"https:\/\/iridia.cat\/wp-content\/uploads\/2026\/11\/BanerMesRepressio.jpg","contentUrl":"https:\/\/iridia.cat\/wp-content\/uploads\/2026\/11\/BanerMesRepressio.jpg","width":2560,"height":947,"caption":"M\u00e9s Repressi\u00f3 M\u00e9s Ir\u00eddia"},{"@type":"BreadcrumbList","@id":"https:\/\/iridia.cat\/es\/mesiridia\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Inici","item":"https:\/\/iridia.cat\/"},{"@type":"ListItem","position":2,"name":"M\u00e1s represi\u00f3n, m\u00e1s Ir\u00eddia"}]},{"@type":"WebSite","@id":"https:\/\/iridia.gatxan.in\/#website","url":"https:\/\/iridia.gatxan.in\/","name":"Ir\u00eddia","description":"","publisher":{"@id":"https:\/\/iridia.gatxan.in\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/iridia.gatxan.in\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/iridia.gatxan.in\/#organization","name":"Ir\u00eddia","url":"https:\/\/iridia.gatxan.in\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/iridia.gatxan.in\/#\/schema\/logo\/image\/","url":null,"contentUrl":null,"width":null,"height":null,"caption":"Ir\u00eddia"},"image":{"@id":"https:\/\/iridia.gatxan.in\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/iridia.cat\/es\/wp-json\/wp\/v2\/pages\/16470","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iridia.cat\/es\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/iridia.cat\/es\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/iridia.cat\/es\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/iridia.cat\/es\/wp-json\/wp\/v2\/comments?post=16470"}],"version-history":[{"count":27,"href":"https:\/\/iridia.cat\/es\/wp-json\/wp\/v2\/pages\/16470\/revisions"}],"predecessor-version":[{"id":16619,"href":"https:\/\/iridia.cat\/es\/wp-json\/wp\/v2\/pages\/16470\/revisions\/16619"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/iridia.cat\/es\/wp-json\/wp\/v2\/media\/16476"}],"wp:attachment":[{"href":"https:\/\/iridia.cat\/es\/wp-json\/wp\/v2\/media?parent=16470"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iridia.cat\/es\/wp-json\/wp\/v2\/tags?post=16470"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}