steal.loading('emblue/emblue.js','steal/less/less.js','jquery/controller/subscribe/subscribe.js','emblue/models/models.js','emblue/componentes/componentes.js','emblue/fixtures/fixtures.js','emblue/preloader/preloader.js','emblue/main_app/main_app.js','emblue/secciones/seccion_contactos/seccion_contactos.js','emblue/secciones/seccion_contactos/left_menu/left_menu.js','emblue/secciones/seccion_contactos/menu_contactos/menu_contactos.js','emblue/secciones/seccion_dashboard/seccion_dashboard.js','emblue/secciones/seccion_home/seccion_home.js','emblue/helpers/method_helper.js','emblue/main_menu/main_menu.js','emblue/main_footer/main_footer.js','emblue/lib/google-chart.js','emblue/resources/helpers/init.js','emblue/lib/remove_latin_characters.js','emblue/resources/selector_lista_ordenable.js','emblue/resources/date_time_diff.js','emblue/lib/swfobject/swfobject.js','jquery/controller/controller.js','jquery/lang/openajax/openajax.js','jquery/class/class.js','jquery/lang/string/string.js','jquery/event/destroyed/destroyed.js','jquery/jquery.js','jquery/event/event.js','jquery/model/model.js','emblue/models/base_modelo.js','emblue/models/contacto_modelo.js','emblue/models/campania_modelo.js','emblue/models/elemento_modelo.js','emblue/models/usuario_modelo.js','emblue/models/grupo_modelo.js','emblue/models/archivo_modelo.js','emblue/models/empresa_modelo.js','emblue/models/reporte_modelo.js','emblue/models/integraciones_modelo.js','emblue/models/fuentes_datos_modelo.js','emblue/models/tag_modelo.js','emblue/models/tareas_programadas_modelo.js','emblue/models/webhooks_modelo.js','emblue/models/item_modelo.js','emblue/componentes/seccion/seccion.js','emblue/componentes/notificaciones/notificaciones.js','emblue/componentes/notificaciones/stepper_notification.js','emblue/componentes/notificaciones/notification.js','emblue/componentes/chat/chat.js','emblue/componentes/custom_select/custom_select.js','emblue/componentes/custom_input/custom_input.js','emblue/componentes/custom_tabs/custom_tabs.js','emblue/componentes/errores_servicios/errores_servicios.js','emblue/componentes/rolleable/rolleable.js','emblue/componentes/rolleable/agregar_contactos/agregar_contactos.js','emblue/componentes/rolleable/agregar_contactos/agregar_contactos_csv/agregar_contactos_csv.js','emblue/componentes/rolleable/upload_html_file_dyd/upload_html_file_dyd.js','emblue/componentes/rolleable/agregar_contactos/agregar_contacto/agregar_contacto.js','emblue/componentes/rolleable/agregar_contactos/agrupar_contacto/agrupar_contacto.js','emblue/componentes/rolleable/agregar_contactos/agregar_tags/agregar_tags.js','emblue/componentes/rolleable/agregar_contactos/editar_campos_contacto/editar_campos_contacto.js','emblue/componentes/rolleable/upload_html_file/upload_html_file.js','emblue/componentes/rolleable/contacts_match/contacts_match.js','emblue/componentes/rolleable/contacts_match/add_contacts/add_contacts.js','emblue/componentes/rolleable/new_group/new_group.js','emblue/componentes/rolleable/new_tag/new_tag.js','emblue/componentes/rolleable/unificar_tags/unificar_tags.js','emblue/componentes/rolleable/new_categoria/new_categoria.js','emblue/componentes/rolleable/editar_tag/editar_tag.js','emblue/componentes/rolleable/asociar_tags/asociar_tags.js','emblue/componentes/rolleable/errores_envio/errores_envio.js','emblue/componentes/rolleable/editar_categorias/editar_categorias.js','emblue/componentes/rolleable/batch_edit_contacts/batch_edit_contacts.js','emblue/componentes/rolleable/batch_edit_groups/batch_edit_groups.js','emblue/componentes/rolleable/edit_long_custom_field/edit_long_custom_field.js','emblue/componentes/rolleable/add_contacts_to_group/add_contacts_to_group.js','emblue/componentes/rolleable/simple_preview_element/simple_preview_element.js','emblue/componentes/rolleable/solicitud_baja_contrato/solicitud_baja_contrato.js','emblue/componentes/rolleable/new_custom_field/new_custom_field.js','emblue/componentes/rolleable/new_element/new_element.js','emblue/componentes/rolleable/new_campaign/new_campaign.js','emblue/componentes/rolleable/preview_element/preview_element.js','emblue/componentes/rolleable/preview_element/preview_elemento_reporte/preview_elemento_reporte.js','emblue/componentes/rolleable/editor_html_campanias/editor_html_campanias.js','emblue/componentes/rolleable/new_custom_field/new_custom_field_and_assign/new_custom_field_and_assign.js','emblue/componentes/rolleable/calcular_audiencia/calcular_audiencia.js','emblue/componentes/rolleable/eliminar_desuscribir_contacto/eliminar_desuscribir_contacto.js','emblue/componentes/rolleable/agrupar_contactos_reportes/agrupar_contactos_reportes.js','emblue/componentes/rolleable/crear_campania_rapida/crear_campania_rapida.js','emblue/componentes/rolleable/editar_campania/editar_campania.js','emblue/componentes/rolleable/editar_elemento/editar_elemento.js','emblue/componentes/rolleable/cambiar_contrasenia/cambiar_contrasenia.js','emblue/componentes/rolleable/editar_grupos_prueba/editar_grupos_prueba.js','emblue/componentes/rolleable/editar_reporte_automatico/editar_reporte_automatico.js','emblue/componentes/rolleable/editar_reporte_automatico/editar_campos_reporte/editar_campos_reporte.js','emblue/componentes/rolleable/template_reporte_automatico/template_reporte_automatico.js','emblue/componentes/rolleable/editar_contactos_prueba/editar_contactos_prueba.js','emblue/componentes/rolleable/editar_remitentes/editar_remitentes.js','emblue/componentes/rolleable/editar_cuenta_social/editar_cuenta_social.js','emblue/componentes/rolleable/crear_grupo_prueba/crear_grupo_prueba.js','emblue/componentes/rolleable/crear_reporte_automatico/crear_reporte_automatico.js','emblue/componentes/rolleable/agregar_contacto_prueba/agregar_contacto_prueba.js','emblue/componentes/rolleable/agregar_remitente/agregar_remitente.js','emblue/componentes/rolleable/agregar_cuenta_social/agregar_cuenta_social.js','emblue/componentes/rolleable/modify_existent_profile/modify_existent_profile.js','emblue/componentes/rolleable/edit_profile/edit_profile.js','emblue/componentes/rolleable/edit_cluster/edit_cluster.js','emblue/componentes/rolleable/contact_to_flow/contact_to_flow.js','emblue/componentes/selector_campos_personalizados/selector_campos_personalizados.js','emblue/componentes/selector_emojis/selector_emojis.js','emblue/componentes/selector_tags/selector_tags.js','emblue/componentes/listar_campos_personalizados/listar_campos_personalizados.js','emblue/componentes/rolleable/edit_custom_field/edit_custom_field.js','emblue/componentes/rolleable/edit_custom_field/edit_options_custom_field.js','emblue/componentes/rolleable/new_custom_field/add_custom_field/add_custom_field.js','emblue/componentes/rolleable/editar_name_from/editar_name_from.js','emblue/componentes/rolleable/agregar_name_from/agregar_name_from.js','emblue/componentes/rolleable/templates/templates.js','emblue/componentes/rolleable/segmentar_grupos/segmentar_grupos.js','emblue/componentes/rolleable/agregar_ip_valida/agregar_ip_valida.js','emblue/componentes/rolleable/editar_ip_valida/editar_ip_valida.js','emblue/componentes/rolleable/preview_url_externa/preview_url_externa.js','emblue/componentes/rolleable/report_sharing/report_sharing.js','emblue/componentes/rolleable/seleccionar_contacto_prueba/seleccionar_contacto_prueba.js','emblue/componentes/rolleable/preview_reporte_automatico/preview_reporte_automatico.js','emblue/componentes/rolleable/editar_campo_personalizado_por_lote/editar_campo_personalizado_por_lote.js','emblue/componentes/rolleable/preview_formulario/preview_formulario.js','emblue/componentes/rolleable/gestion_empresa/crear_empresa/crear_empresa.js','emblue/componentes/rolleable/gestion_empresa/editar_empresa/editar_empresa.js','emblue/componentes/rolleable/gestion_usuario/crear_usuario/crear_usuario.js','emblue/componentes/rolleable/gestion_usuario/editar_usuario/editar_usuario.js','emblue/componentes/rolleable/gestion_usuario/asignar_permisos/asignar_permisos.js','emblue/componentes/rolleable/descargar_reporte/descargar_reporte.js','emblue/componentes/rolleable/new_element_campaign/new_element_campaign.js','emblue/componentes/rolleable/edit_sync_state/edit_sync_state.js','emblue/componentes/rolleable/editar_fuente_datos/editar_campos_fuente/editar_campos_fuente.js','emblue/componentes/rolleable/editar_fuente_datos/editar_fuente_datos.js','emblue/componentes/rolleable/editar_item_fuente_datos/editar_item_fuente_datos.js','emblue/componentes/rolleable/gestor_contenido/gestor_contenido.js','emblue/componentes/rolleable/gestor_contenido/tabs/gestor_tab_tags/gestor_tab_tags.js','emblue/componentes/rolleable/gestor_contenido/tabs/gestor_tab_reglas/gestor_tab_reglas.js','emblue/componentes/rolleable/wizard_gestor_contenido/wizard_gestor_contenido.js','emblue/componentes/rolleable/upload_html_template/upload_html_template.js','emblue/componentes/rolleable/agregar_fuente_datos/agregar_fuente_datos.js','emblue/componentes/rolleable/exportar_reporte_integracion/exportar_reporte_integracion.js','emblue/componentes/rolleable/facebook_lead_config/facebook_lead_config.js','emblue/componentes/rolleable/vtex_config/vtex_config.js','emblue/componentes/rolleable/tokkobroker_config/tokkobroker_config.js','emblue/componentes/rolleable/plain_text/plain_text.js','emblue/componentes/rolleable/email_concatenar/email_concatenar.js','emblue/componentes/rolleable/telefonos_invalidos/telefonos_invalidos.js','emblue/componentes/rolleable/email_concatenar/email_concatenar_csv/email_concatenar_csv.js','jquery/view/ejs/ejs.js','jquery/view/view.js','jquery/lang/string/rsplit/rsplit.js','emblue/helpers/helper.js','emblue/componentes/rolleable/add_contacts_to_group/new_or_list_group/new_or_list_group.js','emblue/componentes/rolleable/agregar_contactos/editar_campos_contacto/listado_campos/listado_campos.js','emblue/lib/jquery-inputcount/jquery-inputcount.js','emblue/componentes/rolleable/edit_contact/edit_contact.js','emblue/componentes/rolleable/edit_group/edit_group.js','emblue/componentes/rolleable/agrupar_contactos_reportes/acciones_agrupar/acciones_agrupar.js','emblue/componentes/rolleable/modify_existent_profile/fill_profile_options.js','emblue/componentes/rolleable/modify_existent_profile/build_profile_options.js','emblue/lib/jquery-mapkey/jquery.mapkey.min.js','emblue/componentes/custom_tooltip/custom_tooltip.js','emblue/componentes/rolleable/facebook_lead_config/facebookInit.js','jquery/dom/fixture/fixture.js','jquery/dom/dom.js','jquery/lang/object/object.js','emblue/lib/jquery-globalize/globalize.js','emblue/lib/localize.js','emblue/lib/jquery-globalize/cultures/globalize.culture.es.js','emblue/lib/jquery-globalize/cultures/globalize.culture.fr.js','emblue/lib/jquery-globalize/cultures/globalize.culture.pt.js','emblue/resources/select_handler.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/contacts_navigation.js','emblue/componentes/files/upload_file/upload_file_component.js','emblue/componentes/files/request_file/request_file.js','emblue/componentes/horizontal_navigation/horizontal_navigation.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/contacts_list/contacts_list.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/contact_activity/contact_activity.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/vtex_activity/vtex_activity.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/users_group_list/users_group_list.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/tag_list/tag_list.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/perfil_list/perfil_list.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/clusters_list/clusters_list.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/custom_fields/custom_fields.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/system_group/system_group.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/system_group/chart_filters_by_system_group/chart_filters_by_system_group.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/system_group/contacts_list_by_system_group/contacts_list_by_system_group.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/chart_filters/chart_filters.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/custom_fields_filter/custom_fields_filter.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/contact_remarketing/contact_remarketing.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/datos_extendidos/datos_extendidos.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/canales/canales.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/contact_remarketing/remarketing_detail/remarketing_detail.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/contact_items/contact_items.js','emblue/componentes/rolleable/new_email/new_email.js','emblue/lib/jquery.placeholder.js','emblue/lib/helpers.js','emblue/componentes/lista_ordenable/lista_ordenable.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/contacts_list/detail_contact/detail_contact.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/contact_activity/activity_history/activity_history.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/contact_activity/tag_history/tag_history.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/contact_activity/item_history/item_history.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/contact_activity/activity_details/activity_details.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/contact_activity/tag_history_details/tag_history_details.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/contact_activity/item_history_details/item_history_details.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/vtex_activity/activity_history/vtex_activity_history.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/vtex_activity/tag_history/tag_history.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/vtex_activity/item_history/item_history.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/vtex_activity/activity_details/vtex_activity_details.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/users_group_list/detail_user_group/detail_user_group.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/tag_list/detail_tag/detail_tag.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/perfil_list/detail_perfil/detail_perfil.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/perfil_list/informacion_perfil/informacion_perfil.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/clusters_list/detail_cluster/detail_cluster.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/clusters_list/informacion_cluster/informacion_cluster.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/system_group/detail_system_group/detail_system_group.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/contact_items/detail_item/detail_item.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/campanias/fuentes_datos/fuentes_datos.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/campanias/fuentes_datos/item_detail/item_detail.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/campanias/fuentes_datos/estado_datos/estado_datos.js','emblue/secciones/seccion_contactos/left_menu/contacts_navigation/contact_items/detail_item_atributos/detail_item_atributos.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/campanias/fuentes_datos/templates_datos/templates_datos.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/campanias/fuentes_datos/informacion_datos/informacion_datos.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/campanias/fuentes_datos/estructura_datos/estructura_datos.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/campanias/fuentes_datos/tags_relacionados/tags_relacionados.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/campanias/fuentes_datos/informacion_template/informacion_template.js','emblue/componentes/rolleable/preview_template/preview_template.js','emblue/componentes/rolleable/eliminar_template_fuente/eliminar_template_fuente.js','Scripts/jszip.min.js','Scripts/fileSaver.min.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/campanias/fuentes_datos/item_list/item_list.js','emblue/lib/jquery-iu/jquery.effects.core.js','emblue/lib/DataTables-1.9.2/js/jquery.dataTables.min.js','emblue/secciones/seccion_automation/seccion_automation.js','emblue/secciones/seccion_editor/seccion_editor.js','emblue/secciones/seccion_configuracion/seccion_configuracion.js','emblue/secciones/seccion_wizard/seccion_wizard.js','emblue/secciones/seccion_campanias/configuracion_elemento/configuracion_elemento.js','emblue/secciones/seccion_reportes/seccion_reportes.js','emblue/secciones/seccion_ayuda/seccion_ayuda.js','emblue/secciones/seccion_reportes/menu_reportes/menu_reportes.js','emblue/secciones/seccion_campaniapreview/seccion_campaniapreview.js','emblue/componentes/rolleable/account_close_to_suspend/account_close_to_suspend.js','emblue/componentes/rolleable/purchase_order/purchase_order.js','emblue/componentes/rolleable/choose_plan/choose_plan.js','emblue/secciones/section_onsite/section_onsite.js','emblue/componentes/rolleable/automationPopUp/automationPopUp.js','emblue/secciones/seccion_configuracion/left_menu_config/left_menu_config.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/config_navigation.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/mis_preferencias/mis_preferencias.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/contactos/config_contactos.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/campanias/config_campanias.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/reportes/config_reportes.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/integraciones/integraciones.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/contrato/detalle_contrato.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/avanzado/avanzado.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/webtracking/webtracking.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/webconnect/webconnect.js','emblue/secciones/seccion_configuracion/left_menu_config/unauthorized_config.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/mis_preferencias/mi_cuenta/mis_datos/mis_datos.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/mis_preferencias/mi_cuenta/grupos_prueba/grupos_prueba.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/mis_preferencias/mi_cuenta/contactos_prueba/contactos_prueba.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/contactos/valoracion/valoracion.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/contactos/custom_fields/config_custom_fields.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/contactos/tags/config_tags.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/contactos/tags/config_detalle_tag/config_detalle_tag.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/campanias/lista_remitentes/lista_remitentes.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/campanias/lista_cuentas_sociales/lista_cuentas_sociales.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/campanias/lista_name_from/lista_name_from.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/campanias/google_analytics/google_analytics.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/campanias/triggers_externos/triggers_externos.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/campanias/contacto_prueba/contacto_prueba.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/campanias/datos_suscriptores/datos_suscriptores.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/campanias/firma_email/firma_email.js','emblue/secciones/seccion_configuracion/left_menu_config/old_unauthorized_config.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/campanias/lista_remitentes/estado_remitente/estado_remitente.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/campanias/lista_name_from/detalle_sender/detalle_sender.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/reportes/reportes_personalizados/reportes_personalizados.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/reportes/reportes_archivos/reportes_archivos.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/reportes/webhooks/webhooks.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/reportes/detalle_reporte/detalle_reporte.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/reportes/detalle_archivo/detalle_archivo.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/integraciones/login/login.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/integraciones/facebook/facebook.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/integraciones/config/config.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/integraciones/config/config_datacrush.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/integraciones/config/config_dinamico.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/integraciones/status/status.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/integraciones/grupo/grupo.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/integraciones/facebook/facebookInit.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/contrato/contrato_empresas/contrato_empresas.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/contrato/contrato_usuarios/contrato_usuarios.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/contrato/contrato_consumos/contrato_consumos.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/contrato/contrato_facturacion/contrato_facturacion.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/contrato/contrato_empresas/detalle_empresa/detalle_empresa.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/contrato/contrato_empresas/configuracion_empresa/configuracion_empresa.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/contrato/contrato_empresas/detalle_empresa/log_actividad/log_actividad.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/contrato/contrato_empresas/detalle_empresa/log_actividad/detalle_actividad/detalle_actividad.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/contrato/contrato_usuarios/permisos_usuario/permisos_usuario.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/avanzado/tareas_programadas/tareas_programadas.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/avanzado/touch_rules/touch_rules.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/avanzado/tareas_programadas/detalle_tarea/detalle_tarea.js','emblue/componentes/rolleable/edit_webtracking/edit_webtracking.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/webconnect/webconnect_instalacion/webconnect_instalacion.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/webconnect/webconnect_tracking/webconnect_tracking.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/webconnect/webconnect_pushnotifications/webconnect_pushnotifications.js','emblue/secciones/seccion_configuracion/left_menu_config/config_navigation/webconnect/webconnect_suscripcion/webconnect_suscripcion.js','emblue/secciones/seccion_wizard/analytics/analytics.js','emblue/secciones/seccion_wizard/senders/senders.js','emblue/secciones/seccion_wizard/first_step/first_step.js','emblue/secciones/seccion_campanias/configuracion_elemento/listado_acciones_campania/listado_acciones_campania.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/resumen_campania_tab/resumen_campania_tab.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/seleccion_multiple_elementos/seleccion_multiple_elementos.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/sin_resultado_tab/sin_resultado_tab.js','emblue/secciones/listado_acciones/listado_acciones.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/tabs_manager_envio_simple.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/tabs_manager_envio_simple_adjunto.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/tabs_manager_trigger.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/tabs_manager_sendemail.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/tabs_manager_sms.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/tabs_manager_sms_alcance.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/tabs_manager_campania_automatica.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/tabs_manager.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/resumen_tab/resumen_tab_envio_simple.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/mensaje_tab/mensaje_tab.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/destinatarios_tab/destinatarios_tab.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/fecha_tab/fecha_tab_envio_simple/fecha_tab_envio_simple.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/split_test_tab/split_test_tab.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/social_tab/social_tab.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/tab.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/resumen_tab/resumen_tab.js','emblue/scripts/twemoji-picker.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/fecha_tab/fecha_tab.js','emblue/lib/jquery-clock/raphael-min.js','emblue/lib/jquery-clock/clock.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/resumen_tab/resumen_tab_trigger.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/actividad_tab/actividad_tab.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/resumen_tab/resumen_tab_sendemail.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/configuracion_tab/configuracion_tab.js','emblue/lib/ms-Dropdown/jquery.dd.min.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/resumen_tab/resumen_tab_sms.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/configuracion_tab/configuracion_tab_sms.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/resumen_tab/resumen_tab_envio_simple_adjunto.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/adjuntos_tab/adjuntos_tab.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/fecha_tab/fecha_tab_envio_simple_adjunto/fecha_tab_envio_simple_adjunto.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/resumen_tab/resumen_tab_sms_alcance.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/mensaje_tab/mensaje_tab_sms_alcance.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/destinatarios_tab/destinatarios_tab_sms_alcance.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/resumen_campania_automatica_tab/resumen_campania_automatica_tab.js','emblue/secciones/seccion_campanias/configuracion_elemento/tabs/planificacion_campania_automatica_tab/planificacion_campania_automatica_tab.js','emblue/lib/splitter.js','emblue/secciones/seccion_reportes/listado_acciones_reporte/listado_acciones_reporte.js','emblue/secciones/seccion_reportes/reportes_detalle/resumen/vista_resumen.js','emblue/secciones/seccion_reportes/reportes_detalle/resumen/reportes_resumen/reportes_resumen.js','emblue/secciones/seccion_reportes/reportes_detalle/resumen/reportes_audiencia/reportes_audiencia.js','emblue/secciones/seccion_reportes/reportes_detalle/actividad/vista_actividad.js','emblue/secciones/seccion_reportes/reportes_detalle/tags/vista_tags.js','emblue/secciones/seccion_reportes/reportes_detalle/depurados/vista_depurados.js','emblue/secciones/seccion_reportes/reportes_detalle/actividad/actividad_vista_izquierda/actividad_vista_izquierda.js','emblue/secciones/seccion_reportes/reportes_detalle/mi_audiencia/mi_audiencia.js','emblue/secciones/seccion_reportes/reportes_detalle/reportes_filtros/reportes_filtros.js','emblue/secciones/seccion_reportes/reportes_detalle/actividad/actividad_vista_izquierda/tabs/aperturas/actividad_vista_aperturas.js','emblue/secciones/seccion_reportes/reportes_detalle/actividad/actividad_vista_izquierda/tabs/clicks/actividad_vista_clicks.js','emblue/secciones/seccion_reportes/reportes_detalle/actividad/actividad_vista_izquierda/tabs/virales/actividad_vista_virales.js','emblue/secciones/seccion_reportes/reportes_detalle/actividad/actividad_vista_izquierda/tabs/suscriptos/actividad_vista_suscriptos.js','emblue/secciones/seccion_reportes/reportes_detalle/actividad/actividad_vista_izquierda/tabs/sociales/actividad_vista_sociales.js','emblue/secciones/seccion_reportes/reportes_detalle/actividad/actividad_vista_izquierda/tabs/actividad_tabs.js','emblue/secciones/seccion_reportes/reportes_detalle/tags/tags_vista_izquierda/tags_vista_izquierda.js','emblue/secciones/seccion_reportes/reportes_detalle/depurados/depurados_vista_izquierda/depurados_vista_izquierda.js','emblue/secciones/seccion_reportes/reportes_detalle/depurados/depurados_vista_izquierda/tabs/desuscriptos/depurados_vista_desuscriptos.js','emblue/secciones/seccion_reportes/reportes_detalle/depurados/depurados_vista_izquierda/tabs/rebotes/depurados_vista_rebotes.js','emblue/secciones/seccion_reportes/reportes_detalle/depurados/depurados_vista_izquierda/tabs/depurados_tab.js','emblue/resources/helpers/emBlueHelper.js','emblue/resources/helpers/elementoHelper.js','emblue/resources/helpers/stringHelper.js','emblue/resources/helpers/dateHelper.js','emblue/lib/dropdown/dropdown.js','emblue/lib/jquery-uploadifive/jquery.uploadifive.js','emblue/lib/jquery-uploadify/jquery.uploadify.js','emblue/lib/jquery.mCustomScrollbar.min.js','emblue/lib/tinymce/jquery.tinymce.min.js','emblue/lib/jquery-custom-scrollbar/jquery.custom-scrollbar.min.js','emblue/lib/jquery-ui-1.8.23/ui/jquery-ui.js','emblue/lib/jquery-ui-1.8.23/localize/localize-datepicker.js','emblue/lib/jquery-jqcloud/jqcloud/jqcloud-1.0.4.js','emblue/lib/jquery.countTo.js','emblue/lib/jquery-inputs-limiter.js','emblue/lib/jquery.ThreeDots.js','emblue/lib/jquery.getCursorPosition.js','emblue/lib/zeroclipboard-2.1.6/ZeroClipboard.js','emblue/lib/colorpicker-spectrum/spectrum.js'); steal({src: 'https://assets.embluemail.com/emblue/production.css?v=1733316609754', has: ['emblue/lib/ms-Dropdown/dd.css','emblue/emblue.less','emblue/lib/jquery.mCustomScrollbar.css','emblue/lib/jquery-switchbutton/ui.switchbutton.min.css','emblue/lib/jquery-custom-scrollbar/jquery.custom-scrollbar.css','emblue/lib/jquery-ui-1.8.23/themes/custom/jquery-ui-1.8.23.custom.css','emblue/lib/jquery-jqcloud/jqcloud/jqcloud.css','emblue/lib/tagit/tagit-simple-grey.css','emblue/lib/colorpicker-spectrum/spectrum.css']}); /* http://opensource.org/licenses/bsd-license.php New BSD License */ var a; steal("steal/less","jquery/controller/subscribe","./models/models.js","./componentes/componentes.js","./fixtures/fixtures.js","./preloader/preloader.js","./main_app/main_app.js","./secciones/seccion_contactos/seccion_contactos.js","./secciones/seccion_contactos/left_menu/left_menu.js","./secciones/seccion_contactos/menu_contactos/menu_contactos.js","./secciones/seccion_dashboard/seccion_dashboard.js","./secciones/seccion_home/seccion_home.js","./helpers/method_helper.js","./main_menu/main_menu.js","./main_footer/main_footer.js", "./lib/google-chart.js","./resources/helpers/init.js","./lib/remove_latin_characters.js","./resources/selector_lista_ordenable.js","./resources/date_time_diff.js","./lib/swfobject/swfobject.js").then("./emblue.less","./lib/dropdown/dropdown.js","./lib/jquery-uploadifive/jquery.uploadifive.js","./lib/jquery-uploadify/jquery.uploadify.js","./lib/jquery.mCustomScrollbar.min.js","./lib/jquery.mCustomScrollbar.css","./lib/tinymce/jquery.tinymce.min.js","./lib/jquery-switchbutton/ui.switchbutton.min.css", "./lib/jquery-custom-scrollbar/jquery.custom-scrollbar.css","./lib/jquery-custom-scrollbar/jquery.custom-scrollbar.min.js","./lib/jquery-ui-1.8.23/themes/custom/jquery-ui-1.8.23.custom.css","./lib/jquery-ui-1.8.23/ui/jquery-ui.js","./lib/jquery-ui-1.8.23/localize/localize-datepicker.js","./lib/jquery-jqcloud/jqcloud/jqcloud-1.0.4.js","./lib/jquery-jqcloud/jqcloud/jqcloud.css","./lib/tagit/tagit-simple-grey.css","./lib/jquery.countTo.js","./lib/jquery-inputs-limiter.js","./lib/jquery.ThreeDots.js", "./lib/jquery.getCursorPosition.js","./lib/zeroclipboard-2.1.6/ZeroClipboard.js","./lib/colorpicker-spectrum/spectrum.css","./lib/colorpicker-spectrum/spectrum.js",function(){function c(b,d){var e=b.cultura||"es",f=b.cultura_empresa||"es";$("#main").main_app({usuarioInvitado:d,cultura:e.toLowerCase(),culturaEmpresa:f.toLowerCase(),idEmpresa:b.id_empresa||"0",rol:b.rol||null,idAgencia:b.id_agencia,nombreAgencia:b.nombre_agencia,contrato:b.contrato,idUsuario:b.id_usuario,nombreUsuario:b.nombre_usuario|| "--",apellidoUsuario:b.apellido_usuario||"--",emailUsuario:b.email_usuario||"",telefonoUsuario:b.telefono_usuario||"",wizard:b.wizard,senders:b.senders,datacrush:false,vtex:b.vtex,biflows:b.biflows,OnSite:b.onsite,onsite_user_id:b.onsite_user_id,onsite_user_identifier:b.onsite_user_identifier,onsite_site_id:b.onsite_site_id,onsite_login_token:b.onsite_login_token,onsite_language:b.onsite_lang,attachment:b.attachment,email_concatenar:b.email_concatenar});$("#h-top").main_menu({usuario:b,wizard:b.wizard, biflows:b.biflows,OnSite:b.onsite,onsite_user_id:b.onsite_user_id,onsite_user_identifier:b.onsite_user_identifier,onsite_site_id:b.onsite_site_id,onsite_login_token:b.onsite_login_token,onsite_language:b.onsite_lang,attachment:b.attachment,attachment:b.attachment});$("#bottom").main_footer({fechaYhora:b.fechaYhora||null,gmt:b.gmt||null,culturaEmpresa:f.toLowerCase()})}$("#app_preloader").preloader();if(steal.options.reportSharing!==false){BaseModelo.loginUsuarioInvitadoReporte({hash:steal.options.reportSharing}, function(b){if(b.id_notificacion==="ERROR"){window.location.href="/Account/Login";return false}c(b,true)});return false}if(steal.options.templatePreview!==false){BaseModelo.loginUsuarioInvitadoTemplatePreview({hash:steal.options.templatePreview},function(b){if(b.id_notificacion==="ERROR"){window.location.href="/Account/Login";return false}c(b,true)});return false}UsuarioModelo.HandleSession({controlCache:Math.random().toString(),place:"index"},function(b){if(b.id_notificacion==="USUARIO_LOGUEADO")UsuarioModelo.getConfiguracionUsuario({}, function(d){c(d,false)});else window.location.href="/Account/Login"})});steal.loaded("emblue/emblue.js");steal({src:"./less_engine.js",ignore:true},function(){steal.type("less css",function(c,b){var d=c.src.split("/");d[d.length-1]="";(new less.Parser({optimization:less.optimization,paths:[d.join("/")]})).parse(c.text,function(e,f){c.text=f.toCSS();b()})})});steal.loaded("steal/less/less.js"); steal("jquery/controller","jquery/lang/openajax").then(function(){jQuery.Controller.processors.subscribe=function(c,b,d,e,f){var g=OpenAjax.hub.subscribe(d,function(){return f[e].apply(f,arguments)});return function(){OpenAjax.hub.unsubscribe(g)}};jQuery.Controller.prototype.publish=function(){OpenAjax.hub.publish.apply(OpenAjax.hub,arguments)}});steal.loaded("jquery/controller/subscribe/subscribe.js"); steal("jquery/model","./base_modelo.js","./contacto_modelo.js","./campania_modelo.js","./elemento_modelo.js","./usuario_modelo.js","./grupo_modelo.js","./archivo_modelo.js","./empresa_modelo.js","./reporte_modelo.js","./integraciones_modelo.js","./fuentes_datos_modelo.js","./tag_modelo.js","./tareas_programadas_modelo.js","./webhooks_modelo.js","./item_modelo.js");steal.loaded("emblue/models/models.js"); steal("./seccion/seccion.js","./notificaciones/notificaciones.js","./notificaciones/stepper_notification.js","./notificaciones/notification.js","./chat/chat.js","./custom_select/custom_select.js","./custom_input/custom_input.js","./custom_tabs/custom_tabs.js","./errores_servicios/errores_servicios.js","./rolleable/rolleable.js","./rolleable/agregar_contactos/agregar_contactos.js","./rolleable/agregar_contactos/agregar_contactos_csv/agregar_contactos_csv.js","./rolleable/upload_html_file_dyd/upload_html_file_dyd.js", "./rolleable/agregar_contactos/agregar_contacto/agregar_contacto.js","./rolleable/agregar_contactos/agrupar_contacto/agrupar_contacto.js","./rolleable/agregar_contactos/agregar_tags/agregar_tags.js","./rolleable/agregar_contactos/editar_campos_contacto/editar_campos_contacto.js","./rolleable/upload_html_file/upload_html_file.js","./rolleable/contacts_match/contacts_match.js","./rolleable/contacts_match/add_contacts/add_contacts.js","./rolleable/new_group/new_group.js","./rolleable/new_tag/new_tag.js", "./rolleable/unificar_tags/unificar_tags.js","./rolleable/new_categoria/new_categoria.js","./rolleable/editar_tag/editar_tag.js","./rolleable/asociar_tags/asociar_tags.js","./rolleable/errores_envio/errores_envio.js","./rolleable/editar_categorias/editar_categorias.js","./rolleable/batch_edit_contacts/batch_edit_contacts.js","./rolleable/batch_edit_groups/batch_edit_groups.js","./rolleable/edit_long_custom_field/edit_long_custom_field.js","./rolleable/add_contacts_to_group/add_contacts_to_group.js", "./rolleable/simple_preview_element/simple_preview_element.js","./rolleable/solicitud_baja_contrato/solicitud_baja_contrato.js","./rolleable/new_custom_field/new_custom_field.js","./rolleable/new_element/new_element.js","./rolleable/new_campaign/new_campaign.js","./rolleable/preview_element/preview_element.js","./rolleable/preview_element/preview_elemento_reporte/preview_elemento_reporte.js","./rolleable/editor_html_campanias/editor_html_campanias.js","./rolleable/new_custom_field/new_custom_field_and_assign/new_custom_field_and_assign.js", "./rolleable/calcular_audiencia/calcular_audiencia.js","./rolleable/eliminar_desuscribir_contacto/eliminar_desuscribir_contacto.js","./rolleable/agrupar_contactos_reportes/agrupar_contactos_reportes.js","./rolleable/crear_campania_rapida/crear_campania_rapida.js","./rolleable/editar_campania/editar_campania.js","./rolleable/editar_elemento/editar_elemento.js","./rolleable/cambiar_contrasenia/cambiar_contrasenia.js","./rolleable/editar_grupos_prueba/editar_grupos_prueba.js","./rolleable/editar_reporte_automatico/editar_reporte_automatico.js", "./rolleable/editar_reporte_automatico/editar_campos_reporte/editar_campos_reporte.js","./rolleable/template_reporte_automatico/template_reporte_automatico.js","./rolleable/editar_contactos_prueba/editar_contactos_prueba.js","./rolleable/editar_remitentes/editar_remitentes.js","./rolleable/editar_cuenta_social/editar_cuenta_social.js","./rolleable/crear_grupo_prueba/crear_grupo_prueba.js","./rolleable/crear_reporte_automatico/crear_reporte_automatico.js","./rolleable/agregar_contacto_prueba/agregar_contacto_prueba.js", "./rolleable/agregar_remitente/agregar_remitente.js","./rolleable/agregar_cuenta_social/agregar_cuenta_social.js","./rolleable/modify_existent_profile/modify_existent_profile.js","./rolleable/edit_profile/edit_profile.js","./rolleable/edit_cluster/edit_cluster.js","./rolleable/contact_to_flow/contact_to_flow.js","./selector_campos_personalizados/selector_campos_personalizados.js","./selector_emojis/selector_emojis.js","./selector_tags/selector_tags.js","./listar_campos_personalizados/listar_campos_personalizados.js", "./rolleable/edit_custom_field/edit_custom_field.js","./rolleable/edit_custom_field/edit_options_custom_field.js","./rolleable/new_custom_field/add_custom_field/add_custom_field.js","./rolleable/editar_name_from/editar_name_from.js","./rolleable/agregar_name_from/agregar_name_from.js","./rolleable/templates/templates.js","./rolleable/segmentar_grupos/segmentar_grupos.js","./rolleable/agregar_ip_valida/agregar_ip_valida.js","./rolleable/editar_ip_valida/editar_ip_valida.js","./rolleable/preview_url_externa/preview_url_externa.js", "./rolleable/report_sharing/report_sharing.js","./rolleable/seleccionar_contacto_prueba/seleccionar_contacto_prueba.js","./rolleable/preview_reporte_automatico/preview_reporte_automatico.js","./rolleable/editar_campo_personalizado_por_lote/editar_campo_personalizado_por_lote.js","./rolleable/report_sharing/report_sharing.js","./rolleable/preview_formulario/preview_formulario.js","./rolleable/preview_reporte_automatico/preview_reporte_automatico.js","./rolleable/gestion_empresa/crear_empresa/crear_empresa.js", "./rolleable/gestion_empresa/editar_empresa/editar_empresa.js","./rolleable/gestion_usuario/crear_usuario/crear_usuario.js","./rolleable/gestion_usuario/editar_usuario/editar_usuario.js","./rolleable/gestion_usuario/asignar_permisos/asignar_permisos.js","./rolleable/descargar_reporte/descargar_reporte.js","./rolleable/new_element_campaign/new_element_campaign.js","./rolleable/edit_sync_state/edit_sync_state.js","./rolleable/editar_fuente_datos/editar_campos_fuente/editar_campos_fuente.js","./rolleable/editar_fuente_datos/editar_fuente_datos.js", "./rolleable/editar_item_fuente_datos/editar_item_fuente_datos.js","./rolleable/gestor_contenido/gestor_contenido.js","./rolleable/gestor_contenido/tabs/gestor_tab_tags/gestor_tab_tags.js","./rolleable/gestor_contenido/tabs/gestor_tab_reglas/gestor_tab_reglas.js","./rolleable/wizard_gestor_contenido/wizard_gestor_contenido.js","./rolleable/upload_html_template/upload_html_template.js","./rolleable/agregar_fuente_datos/agregar_fuente_datos.js","./rolleable/exportar_reporte_integracion/exportar_reporte_integracion.js", "./rolleable/facebook_lead_config/facebook_lead_config.js","./rolleable/vtex_config/vtex_config.js","./rolleable/tokkobroker_config/tokkobroker_config.js","./rolleable/plain_text/plain_text.js","./rolleable/email_concatenar/email_concatenar.js","./rolleable/telefonos_invalidos/telefonos_invalidos.js","./rolleable/email_concatenar/email_concatenar_csv/email_concatenar_csv.js");steal.loaded("emblue/componentes/componentes.js"); steal("jquery/dom/fixture",function(){$.fixture.on=false;$.fixture("GET APP/Services/Contactos.svc/ListadoSexos","fixtures/fxt_listado_sexos.txt");$.fixture("GET APP/Services/Contactos.svc/GetCodificaciones","fixtures/fxt_get_codificaciones.txt");$.fixture("GET APP/Services/Campanias.svc/GetListaTiposElementos","fixtures/fxt_get_lista_tipos_elementos.txt");$.fixture("GET APP/Services/Contactos.svc/TotalCount","fixtures/fxt_total_count.txt");$.fixture("GET APP/Services/Usuarios.svc/GetConfiguracionUsuario", "fixtures/fxt_get_configuracion_usuario.txt");$.fixture("GET APP/Services/Contactos.svc/GetFiltroPorDominio","fixtures/fxt_get_filtro_por_dominio.txt");$.fixture("GET APP/Services/Contactos.svc/GetFiltroPorDominioSistema","fixtures/fxt_get_filtro_por_dominio_sistema.txt");$.fixture("GET APP/Services/Contactos.svc/GetFiltroPorPaises","fixtures/fxt_get_filtro_por_paises.txt");$.fixture("GET APP/Services/Contactos.svc/GetFiltroPorPaisesSistema","fixtures/fxt_get_filtro_por_paises_sistema.txt");$.fixture("GET APP/Services/Contactos.svc/GetFiltroPorRanking", "fixtures/fxt_get_filtro_por_ranking.txt");$.fixture("GET APP/Services/Contactos.svc/GetFiltroPorRankingSistema","fixtures/fxt_get_filtro_por_ranking_sistema.txt");$.fixture("GET APP/Services/Contactos.svc/GetFiltroPorMobile","fixtures/fxt_get_filtro_por_mobile.txt");$.fixture("GET APP/Services/Contactos.svc/GetFiltroPorMobileSistema","fixtures/fxt_get_filtro_por_mobile_sistema.txt");$.fixture("GET APP/Services/Contactos.svc/GetFiltroPorSexo","fixtures/fxt_get_filtro_por_sexo.txt");$.fixture("GET APP/Services/Contactos.svc/GetFiltroPorSexoSistema", "fixtures/fxt_get_filtro_por_sexo_sistema.txt");$.fixture("GET APP/Services/Contactos.svc/GetFiltroPorRedesSociales","fixtures/fxt_get_filtro_por_redes_sociales.txt");$.fixture("GET APP/Services/Contactos.svc/GetFiltroPorRedesSocialesSistema","fixtures/fxt_get_filtro_por_redes_sociales_sistema.txt");$.fixture("GET APP/Services/Contactos.svc/GetGruposSistema","fixtures/fxt_get_grupos_sistema.txt");$.fixture("GET APP/Services/Contactos.svc/GetDatosContactoPorMail","fixtures/fxt_get_datos_contacto_por_mail.txt"); $.fixture("GET APP/Services/Contactos.svc/GetContadoresContacto","fixtures/ftx_get_contadores_contacto.txt");$.fixture("GET APP/Services/Contactos.svc/GetActividadesPor","fixtures/ftx_get_actividades_por.txt");$.fixture("GET APP/Services/Contactos.svc/GetActividadesPorFiltro","fixtures/ftx_get_actividades_por_filtro.txt");$.fixture("GET APP/Services/Contactos.svc/GetDatosActividadPorMailActividad","fixtures/activity_detail.txt");$.fixture("GET APP/Services/Contactos.svc/EditarRankingContactos","fixtures/ftx_editar_ranking_contactos.txt"); $.fixture("GET APP/Services/Contactos.svc/EliminarContacto","fixtures/ftx_eliminar_contacto.txt");$.fixture("GET APP/Services/Contactos.svc/EliminarLogsContacto","fixtures/ftx_eliminar_logs_contacto.txt");$.fixture("GET APP/Services/Contactos.svc/EditarContactoSuscripcion","fixtures/ftx_editar_contacto_suscripcion.txt");$.fixture("POST APP/Services/Contactos.svc/ModificarContactosPorLote","fixtures/ftx_modificar_contactos_por_lote.txt");$.fixture("GET APP/Services/Contactos.svc/GetContactosPor","fixtures/ftx_get_contactos_por.txt"); $.fixture("GET APP/Services/Contactos.svc/GetContactosSistemaPor","fixtures/ftx_get_contactos_sistema_por.txt");$.fixture("GET APP/Services/Contactos.svc/GetGruposPor","fixtures/ftx_get_grupos_por.txt");$.fixture("GET APP/Services/Contactos.svc/CrearGrupoUsuario","fixtures/ftx_crear_grupo_usuario.txt");$.fixture("GET APP/Services/Contactos.svc/ActualizarYAgregarAGrupo","fixtures/ftx_actualizar_y_agregar_a_grupo.txt");$.fixture("POST APP/Services/Contactos.svc/AgregarContactoAGrupoPorLote","fixtures/ftx_agregar_contacto_a_grupo_por_lote.txt"); $.fixture("GET APP/Services/Contactos.svc/ModificarNombreGrupo","fixtures/ftx_modificar_nombre_grupo.txt");$.fixture("GET APP/Services/Contactos.svc/ArchivosAProcesar","fixtures/ftx_archivos_a_procesar.txt");$.fixture("POST APP/Services/Contactos.svc/ObtenerContactos","fixtures/ftx_obtener_contactos.txt");$.fixture("GET APP/Services/Contactos.svc/ListaCamposPersonalizados","fixtures/ftx_lista_campos_personalizados.txt");$.fixture("POST APP/Services/Contactos.svc/EliminarGrupos","fixtures/ftx_eliminar_grupos.txt"); $.fixture("GET APP/Services/Contactos.svc/GetCamposPersonalizados","fixtures/ftx_get_campos_personalizados.txt");$.fixture("POST APP/Services/Contactos.svc/AgregarCampoPersonalizado","fixtures/ftx_agregar_campo_personalizado.txt");$.fixture("GET APP/Services/Contactos.svc/CantidadDeCamposAsignados","fixtures/ftx_cantidad_de_campos_asignados.txt");$.fixture("POST APP/Services/Contactos.svc/EditarCamposPersonalizados","fixtures/ftx_editar_campos_personalizados.txt");$.fixture("GET APP/Services/Contactos.svc/GetRemitentesVerificados", "fixtures/ftx_get_remitentes_verificados.txt");$.fixture("POST APP/Services/Contactos.svc/EnviarEmailAContacto","fixtures/ftx_enviar_email_a_contacto.txt");$.fixture("GET APP/Services/Contactos.svc/ActualizarCulturaUsuario","fixtures/ftx_actualizar_cultura_usuario.txt");$.fixture("GET APP/Services/Campanias.svc/GetCampanias","fixtures/fxt_get_campanias.txt");$.fixture("GET APP/Services/Campanias.svc/CrearCampania","fixtures/fxt_crear_campania.txt");$.fixture("GET APP/Services/Campanias.svc/ModificarNombreCampania", "fixtures/fxt_modificar_nombre_campania.txt");$.fixture("POST APP/Services/Campanias.svc/EliminarCampanias","fixtures/fxt_eliminar_campanias.txt");$.fixture("GET APP/Services/Campanias.svc/GetListaTemplates","fixtures/fxt_get_lista_templates.txt");$.fixture("GET APP/Services/Campanias.svc/GetElementos","fixtures/fxt_get_elementos.txt");$.fixture("GET APP/Services/Campanias.svc/GetElementosCampania","fixtures/fxt_get_elementos_campania.txt");$.fixture("GET APP/Services/Campanias.svc/ModificarNombreElemento", "fixtures/fxt_modificar_nombre_elemento.txt");$.fixture("GET APP/Services/Campanias.svc/CrearElemento","fixtures/fxt_crear_elemento.txt");$.fixture("POST APP/Services/Campanias.svc/EliminarElementos","fixtures/fxt_eliminar_elementos.txt");$.fixture("GET APP/Services/Campanias.svc/ObtenerElemento","fixtures/fxt_obtener_elemento.txt");$.fixture("GET APP/Services/Campanias.svc/ResumenDestinatarios","fixtures/fxt_resumen_destinatarios.txt");$.fixture("GET APP/Services/Campanias.svc/ResumenFecha","fixtures/fxt_resumen_fecha.txt"); $.fixture("GET APP/Services/Campanias.svc/ResumenMensaje","fixtures/fxt_resumen_mensaje.txt");$.fixture("GET APP/Services/Campanias.svc/obtenerGruposEnvio","fixtures/fxt_obtener_grupos_envio.txt");$.fixture("GET APP/Services/Campanias.svc/AgregarGrupoAEnvio","fixtures/fxt_agregar_grupo_a_envio.txt");$.fixture("GET APP/Services/Campanias.svc/EliminarGrupoDeEnvio","fixtures/fxt_eliminar_grupo_de_envio.txt");$.fixture("GET APP/Services/Campanias.svc/TotalGrupos","fixtures/fxt_total_grupos.txt");$.fixture("GET APP/Services/Campanias.svc/SetearEnvioInmediato", "fixtures/fxt_setear_envio_inmediato.txt");$.fixture("GET APP/Services/Campanias.svc/SetearFechaYHoraEnvio","fixtures/fxt_setear_fecha_y_hora_envio.txt");$.fixture("GET APP/Services/Usuarios.svc/GetListaGruposPrueba","fixtures/fxt_get_lista_grupos_prueba.txt");$.fixture("POST APP/Services/Campanias.svc/EnviarEmailPrueba","fixtures/fxt_enviar_email_prueba.txt");$.fixture("GET APP/Services/Campanias.svc/ObtenerResumenesElemento","fixtures/fxt_obtener_resumenes_elemento.txt");$.fixture("GET APP/Services/Campanias.svc/PausarCampania", "fixtures/fxt_pausar_campania.txt");$.fixture("GET APP/Services/Campanias.svc/GetCampaniasReportes","fixtures/fxt_get_campanias_reportes.txt");$.fixture("GET APP/Services/Campanias.svc/GetElementosReportes","fixtures/fxt_get_elementos_reportes.txt");$.fixture("POST APP/Services/Reportes.svc/GetResumen","fixtures/fxt_get_resumen_elemento.txt");$.fixture("POST APP/Services/Reportes.svc/GetMiAudiencia","fixtures/fxt_get_mi_audiencia.txt");$.fixture("POST APP/Services/Reportes.svc/GetActividadAperturas", "fixtures/fxt_get_actividad_aperturas.txt");$.fixture("POST APP/Services/Reportes.svc/GetAudiencia","fixtures/fxt_get_audiencia.txt");$.fixture("POST APP/Services/Reportes.svc/GetActividadClicks","fixtures/fxt_get_actividad_clicks.txt");$.fixture("POST APP/Services/Reportes.svc/GetActividadTags","fixtures/fxt_get_actividad_tags.txt");$.fixture("POST APP/Services/Reportes.svc/GetActividadDesuscriptos","fixtures/fxt_get_actividad_desuscriptos.txt")});steal.loaded("emblue/fixtures/fixtures.js"); steal("jquery/controller","jquery/view/ejs").then(function(c){c.Controller("Preloader",{PROCESS_COUNTER:2,processComplete:function(){this.PROCESS_COUNTER--;this.PROCESS_COUNTER===0&&c("#app_preloader").controller().hideModal()}},{init:function(){},showModal:function(){this.element.css("visibility","visible")},hideModal:function(){if(this.element.length){c("#main").controller().initApp();this.element.fadeOut(500,this.callback(function(){this.element.remove()}))}}})});steal.loaded("emblue/preloader/preloader.js"); steal("jquery/controller","jquery/view/ejs","//emblue/lib/jquery-globalize/globalize.js","//emblue/lib/localize.js","//emblue/helpers/helper.js").then("//emblue/lib/jquery-globalize/cultures/globalize.culture.es.js","//emblue/lib/jquery-globalize/cultures/globalize.culture.fr.js","//emblue/lib/jquery-globalize/cultures/globalize.culture.pt.js",function(c){c.Controller("MainApp",{ENVIRONMENTS:{dev:"development",prod:"production"},APP_LIMIT_WIDTH:1200,CULTURA:null,CULTURA_EMPRESA:null,URL_FINAL_MOXIE_IMAGENES:"", LISTA_PAISES:{},GRUPOS_PRUEBA:[],ELEMENT_TYPES:[],LIST_REMITENTES_VERIFICADOS:[],BIFLOWS:null,ONSITE:null,ONSITE_ID:null,ONSITE_IDENTIFIER:null,ONSITE_TOKEN:null,ONSITE_LANGUAGE:null,SESSION_CHECK_TIMER:432E5,DATACRUSH:null,VTEX:null,EMAIL_CONCATENAR:false,FEATURE_FLAG_LIST:null},{hidden:null,visibilityState:null,visibilityChange:null,document_hidden:null,EMPRESA_ID:null,USUARIO_ID:null,USUARIO_ROL:null,AGENCIA_ID:null,AGENCIA_NOMBRE:null,CONTRATO:null,USUARIO_NOMBRE:null,USUARIO_APELLIDO:null,USUARIO_EMAIL:null, WIZARD:null,SENDERS:null,init:function(){this.Class.FEATURE_FLAG_LIST={Data:window.__featureFlags};var b=this;this.EMPRESA_ID=this.options.idEmpresa;this.USUARIO_ROL=this.options.rol;this.USUARIO_ID=this.options.idUsuario;this.AGENCIA_ID=this.options.idAgencia;this.AGENCIA_NOMBRE=this.options.nombreAgencia;this.CONTRATO=this.options.contrato;this.AGENCIA_NOMBRE=this.options.nombreAgencia;this.USUARIO_NOMBRE=this.options.nombreUsuario;this.USUARIO_APELLIDO=this.options.apellidoUsuario;this.USUARIO_EMAIL= this.options.emailUsuario;this.USUARIO_TELEFONO=this.options.telefonoUsuario;this.WIZARD=this.options.wizard;this.SENDERS=this.options.senders;this.Class.DATACRUSH=this.options.datacrush;this.Class.VTEX=this.options.vtex;this.Class.CULTURA=this.options.cultura;this.Class.CULTURA_EMPRESA=this.options.culturaEmpresa;this.Class.BIFLOWS=this.options.biflows;this.Class.ONSITE=this.options.OnSite;this.Class.ONSITE_TOKEN=this.options.onsite_login_token;this.Class.ONSITE_ID=this.options.onsite_user_id;this.Class.ONSITE_IDENTIFIER= this.options.onsite_user_identifier;this.Class.ONSITE_IDENTIFIER=this.options.onsite_site_id;this.Class.ONSITE_LANGUAGE=this.options.onsite_language;this.Class.EMAIL_CONCATENAR=this.options.email_concatenar;if(typeof document.hidden!=="undefined"){this.hidden="hidden";this.visibilityChange="visibilitychange";this.visibilityState="visibilityState"}else if(typeof document.msHidden!=="undefined"){this.hidden="msHidden";this.visibilityChange="msvisibilitychange";this.visibilityState="msVisibilityState"}document.addEventListener(this.visibilityChange, function(){if(b.document_hidden!=document[b.hidden]){document[b.hidden]||b.onTabSelect();b.document_hidden=document[b.hidden]}});this.document_hidden=document[this.hidden];this.addBrowserClass();BaseModelo.ObtenerUrlMoxieImagenes({},this.callback(function(d){this.Class.URL_FINAL_MOXIE_IMAGENES=d}));BaseModelo.getTraducciones({cultura:this.Class.CULTURA},this.callback(function(d){Globalize.addCultureInfo(this.Class.CULTURA,{messages:d})}));BaseModelo.getConfiguracionNotificaciones({},this.callback(function(d){Notificaciones.LISTA_NOTIFICACIONES= d;Preloader.processComplete()}));BaseModelo.getListaPaises({cultura:this.Class.CULTURA},this.callback(function(d){this.Class.LISTA_PAISES=d}));google.charts.load("visualization","1",{callback:function(){Preloader.processComplete();return false},packages:["corechart","geochart","annotatedtimeline","annotationchart"]});this.setLocalizeDatePicker();c.datepicker.setDefaults(c.datepicker.regional[this.Class.CULTURA]);Globalize.culture(this.Class.CULTURA);if(steal.options.reportSharing!==false||steal.options.templatePreview!== false){Preloader.processComplete();c(window).resize(this.callback(function(){this.appSize()}))}else{GrupoModelo.getListaGruposPrueba({},this.callback(function(d){this.Class.GRUPOS_PRUEBA=d}));ContactoModelo.ObtenerTotalGruposUsuariosYSistemaYPerfilesByEmpresa({},this.callback(function(d){GrupoModelo.MAX_USER_GROUPS=d.MaximoGrupos;GrupoModelo.MAX_USER_PEFILES=d.MaximoPerfiles;GrupoModelo.MAX_USER_TAGS=d.MaximoTags}));ElementoModelo.getListaTiposElementos(this.callback(function(d){this.Class.ELEMENT_TYPES= d}));ContactoModelo.categoriasContacto({},this.callback(function(d){ContactsNavigation.CATEGORIES_FOR_FIRST_NAVIGATION=d}));BaseModelo.listadoSexos({cultura:this.Class.CULTURA},this.callback(function(d){ContactsMatch.FIELD_FORMAT_ALLOW.SEX=d}));BaseModelo.getCodificaciones({},this.callback(function(d){ContactsMatch.ENCODINGS=d}));BaseModelo.obtenerCodificaciones({},this.callback(function(d){UploadHtmlFile.ENCODINGS=d;UploadHtmlFileDyd.ENCODINGS=d}));BaseModelo.ObtenerListaCodificaciones({},this.callback(function(d){TagModelo.ENCODINGS= d}));ElementoModelo.inactivarTriggersVencidos({},function(){});setTimeout(this.callback(function(){UsuarioModelo.getRemitentesVerificados({},this.callback(function(d){this.Class.LIST_REMITENTES_VERIFICADOS=d}))}),1E3);c(window).resize(this.callback(function(){this.appSize()}));setInterval(function(){b.onTabSelect()},MainApp.SESSION_CHECK_TIMER);localStorage.setItem("idioma",this.options.cultura)}},setLocalizeDatePicker:function(){c.datepicker.regional.es={closeText:"Cerrar",prevText:"<Ant",nextText:"Sig>", currentText:"Hoy",monthNames:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],monthNamesShort:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],dayNames:["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"],dayNamesShort:["Dom","Lun","Mar","Mié","Juv","Vie","Sáb"],dayNamesMin:["Do","Lu","Ma","Mi","Ju","Vi","Sá"],weekHeader:"Sm",dateFormat:"dd-mm-yy",firstDay:1, isRTL:false,showMonthAfterYear:false,yearSuffix:""};c.datepicker.regional.pt={closeText:"Fechar",prevText:"<Anterior",nextText:"Seguinte",currentText:"Hoje",monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthNamesShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],dayNames:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"], dayNamesShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],dayNamesMin:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],weekHeader:"Sem",dateFormat:"dd-mm-yy",firstDay:0,isRTL:false,showMonthAfterYear:false,yearSuffix:""};c.datepicker.regional.en={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun", "Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm-dd-yy",firstDay:1,isRTL:false,showMonthAfterYear:false,yearSuffix:""}},appSize:function(){var b={};b.width=this.appWidth();b.height=this.appHeight();this.sectionSizeElements(b)},initApp:function(){this.appInitSize();this.loadSeccion()},appInitSize:function(){this.appWidth(this.Class.APP_LIMIT_WIDTH); this.appInitHeight();c("#main").css({display:"block"})},loadSeccion:function(){var b=c("#center"),d=c(".main_menu").controller();if(steal.options.reportSharing!==false)ElementoModelo.obtenerAccionesReporteInvitado({hash:steal.options.reportSharing},this.callback(function(e){e=e.elementos;var f=[],g=[],l={},h=e.length===1?e[0].nombre:__("Selecci\u00f3n M\u00faltiple")+" ("+e.length+")";c("#btn-main-reportes").addClass("active");for(var m=0;m=this.Class.APP_LIMIT_WIDTH?c(window).width():this.Class.APP_LIMIT_WIDTH; this.element.width(b);return b},appHeight:function(){if(c("#center").controller()===undefined)return false;var b=c("#center").controller().getLimitHeightSection(),d=c(window).height()-c("#bottom").outerHeight()-(c("#bar").is(":visible")?c("#bar").outerHeight():0)-c("#h-top").outerHeight();b=d>=b?d:b;this.element.height(b);return b},appInitHeight:function(){var b=c(window).height()-c("#bottom").outerHeight()-(c("#bar").is(":visible")?c("#bar").outerHeight():0)-c("#h-top").outerHeight();b=b>=0?b:0; this.element.height(b);return b},sectionSizeElements:function(b){if(c("#center").controller()===undefined)return false;c("#center").controller().sectionHeight(b.height);c("#center").controller().sectionWidth(b.width)},addBrowserClass:function(){var b=false,d=navigator.userAgent;if(d.indexOf("Firefox",0)!==-1)b="MZ";else if(d.indexOf("MSIE 7.0",0)!==-1)b="IE7";else if(d.indexOf("MSIE 8.0",0)!==-1)b="IE8";else if(d.indexOf("MSIE 9.0",0)!==-1)b="IE9";else if(d.indexOf("MSIE 10.0",0)!==-1)b="IE10";else if(d.indexOf("Chrome", 0)!==-1)b="CHM";else if(d.indexOf("Safari",0)!==-1)b="CHM";b&&c("body").addClass(b)},".ui-datepicker-prev click":function(b,d){d.stopPropagation()},".ui-datepicker-next click":function(b,d){d.stopPropagation()},"#center click":function(){c(".menu_usuario").removeClass("active");c(".desplegable").removeClass("active")},"a click":function(b,d){d.preventDefault()},click:function(b,d){c(d.target).is(".search-dash input, .tt-dropdown-menu, .tt-suggestion, .typeahead, .tt-query, .tt-hint, .event-name, .repo-evento, .tt-dataset-equipos_artistas_shows")|| c("#h-top").controller().cerrarBuscadorUniversal();c(d.currentTarget).hasClass("profile")||c(".wrapper-dropdown-3").hasClass("active")&&c(".wrapper-dropdown-3").removeClass("active");b=c("#reportes-view .ui-datepicker.ui-widget");b.index()!==-1&&b.is(":visible")&&b.hide();b=c(".element-report.wrapper-dropdown-2.active");b.index()!==-1&&b.removeClass("active");if(!c(d.target).hasClass("selector-campos-personalizados")&&!c(d.target).hasClass("selector_campos_personalizados")){c(".selector-campos-personalizados").removeClass("show"); c(".selector-campos-personalizados").addClass("hide")}if(!c(d.target).hasClass("selector-emojis")&&!c(d.target).hasClass("selector_emojis")){c(".selector-emojis").removeClass("show");c(".selector-emojis").addClass("hide")}if(!c(d.target).hasClass("selector-tags")&&!c(d.target).hasClass("selector_tags")&&!c(d.target).closest(".selector-tags").length){c(".selector-tags").removeClass("show");c(".selector-tags").addClass("hide")}if(!c(d.target).hasClass("tooltip-container")&&!c(d.target).hasClass("custom_tooltip")&& !c(d.target).closest(".custom_tooltip").length){c(".tooltip-container").show();c(".tooltip-container").hide()}c(d.target).parents("#new-sidebar").length===0&&c("#sb-overlay-filtros.active").click();c(d.target).attr("id")!=="show-datepicker"&&c(d.target).parents("#new-sidebar .sb-main-datepicker-box").length===0&&c(".sb-main-datepicker-box").hasClass("active")&&c("#screen-list").controller().toggleMainDatePicker();!c(d.target).hasClass("list-ico")&&c("#visor-reporte-resumen").css("left")!==0&&c("#screen-list #listado-seleccion").css("display")=== "block"&&c(d.target).parents("#screen-list #listado-seleccion").length===0&&c("#center").controller().hideSidebar()},onTabSelect:function(){if(!this.options.usuarioInvitado){var b=this;c.getJSON(BaseModelo.API_BASE_URL+"usuarios.svc/getEmpresaActual",function(d){!isNaN(d)&&d!=b.EMPRESA_ID&&window.location.reload()})}}})});steal.loaded("emblue/main_app/main_app.js"); steal("jquery/controller","jquery/view/ejs","./left_menu/left_menu.js","//emblue/resources/select_handler.js","//emblue/componentes/seccion/seccion.js").then("//emblue/lib/DataTables-1.9.2/js/jquery.dataTables.min.js",function(c){Seccion("SeccionContactos",{LIMIT_HEIGHT_SECTION:0,RefreshCounters:function(){c("#left-menu").controller()!==undefined&&c("#left-menu").controller().updateButtonsCounters()},RefreshCountersAndClean:function(b,d,e){if(c("#left-menu").controller()!==undefined){SeccionContactos.RefreshCounters(); c("#left-menu").controller().clickBehaviorOnBaseButton(b,d,e)}},RefreshCountersListAndCleanAndSelect:function(b,d,e){c(b);b=c(b).prev();ContactsNavigation.closeNextBoxesOpen(b);c(b).find(".box_base").controller().recargarLista(d,e)},RefreshCountersAndList:function(b,d){SeccionContactos.RefreshCounters();SeccionContactos.RefreshListAndSelect(b,d)},RefreshCountersListAndClose:function(b,d){SeccionContactos.RefreshCounters();SeccionContactos.RefreshList(b,d)},RefreshList:function(b,d){c(b);b=c(b).prev(); ContactsNavigation.closeNextBoxesOpen(b);c(b).find(".box_base").controller().recargarLista(d)},RefreshListAndSelect:function(b,d,e){c(b).find(".box_base").controller().recargarLista(d,e)},RefreshListAndSelectFromDetail:function(b,d,e){c(b);b=c(b).prev();ContactsNavigation.closeNextBoxesOpen(b);c(b).find(".box_base").controller().recargarLista(d,e)}},{init:function(){this.element.html("//emblue/secciones/seccion_contactos/views/seccion_contactos.ejs",{});c("#left-menu").left_menu({clusters:this.options.clusters, contactos:this.options.contactos,gruposUsuario:this.options.gruposUsuario,openRolleable:this.options.openRolleable});this.setLimitHeightSection();c("#main").controller().appSize();this.paneSize()},getLimitWidthSection:function(){return this.Class.LIMIT_WIDTH_SECTION},getLimitHeightSection:function(){return this.Class.LIMIT_HEIGHT_SECTION},setLimitHeightSection:function(){this.Class.LIMIT_HEIGHT_SECTION=(c("#bar").is(":visible")?c("#bar").outerHeight():0)+c("#bottom").outerHeight()+c("#h-top").outerHeight()+ c(".btn-left-menu").outerHeight()*c(".btn-left-menu").length},close:function(){c("#left-menu").controller().destroy();ContactsNavigation.breadCrumbs=[];this._super()},sectionHeight:function(b){c("#center").height(b);c("#right-views").height(b);c("#right-views-pane").height(b-getScrollerWidth())},sectionWidth:function(){var b=c("#h-top").outerWidth()>c(window).width()?c("#h-top").outerWidth():c(window).width();c("#center").width(b);c("#right-views").width(b-c("#left-menu").outerWidth())},paneSize:function(){c("#right-views-pane").width(c(window).width()- c("#left-menu").outerWidth()-getScrollerWidth())},".go-to-v2-button click":function(){window.parent.location.reload()},"a.contact-body__link click":function(b,d){(b=d.currentTarget.dataset.link)&&window.parent.open(b,"_blank")}})});steal.loaded("emblue/secciones/seccion_contactos/seccion_contactos.js"); steal("jquery/controller","jquery/view/ejs","./contacts_navigation/contacts_navigation.js","//emblue/componentes/files/upload_file/upload_file_component.js","//emblue/componentes/files/request_file/request_file.js","//emblue/componentes/rolleable/modify_existent_profile/modify_existent_profile.js").then(function(c){c.Controller("LeftMenu",{disabledAddContactsButton:function(){c("#agregar-contacto").addClass("disabled")},enabledAddContactsButton:function(){c("#agregar-contacto").removeClass("disabled")}}, {totalContacts:0,totalUsersGroups:0,totalSystemGroups:0,totalTagGroups:0,totalPerfiles:0,totalDataCrush:0,totalIntegraciones2:0,existsNoDefaultCustomFields:false,init:function(){UsuarioModelo.getUsuario({},this.callback(function(){this.element.html("//emblue/secciones/seccion_contactos/left_menu/views/left_menu.ejs",{});this.options.openRolleable==true&&c("#agregar-contacto").trigger("click")}.bind(this)));var b=this;showBlocker();ContactsNavigation.CATEGORIES_FOR_FIRST_NAVIGATION.forEach(function(d){b.existsNoDefaultCustomFields= d.key==="por-campo-personalizado"?true:b.existsNoDefaultCustomFields});b.existsNoDefaultCustomFields||ContactoModelo.listaCamposPersonalizados({},this.callback(function(d){for(i=0;i');c("#btn-email").find(".value").html('');c("#btn-push").find(".value").html('');c("#btn-sms").find(".value").html(''); c("#btn-grupos-usuario").find(".value").html('');c("#btn-grupos-sistema").find(".value").html('');c("#btn-tags").find(".value").html('');c("#btn-perfiles").find(".value").html(''); c("#btn-contactos-datacrush").find(".value").html('');c("#btn-clusters-vtex").find(".value").html('');ContactoModelo.ObtenerTotalContactosEmpresa({},this.callback(function(b){c("#btn-contacto").find(".value").html("("+__n(b)+")");this.totalContacts=b;hideBlocker();if(this.options.contactos!==null&&(this.options.contactos.mostrarDetalleContacto!== false||this.options.contactos.porCamposPersonalizados!==false)){this.autoSelectContactos();this.options.contactos=null;return false}}));ContactoModelo.ObtenerTotalGruposUsuariosYSistemaYPerfilesByEmpresa({},this.callback(function(b){GrupoModelo.MAX_USER_GROUPS=b.MaximoGrupos;GrupoModelo.MAX_USER_PEFILES=b.MaximoPerfiles;GrupoModelo.MAX_USER_TAGS=b.MaximoTags;var d=b.Estatico?b.Estatico:0,e=b.Integraciones?b.Integraciones:0;c("#btn-grupos-usuario").find(".value").html("("+__n(d)+")");c("#btn-grupos-sistema").find(".value").html("("+ __n(b.Sistema)+")");var f=b.Inteligente?b.Inteligente:0;c("#btn-perfiles").find(".value").html("("+__n(f)+")");this.totalUsersGroups=d;var g=b.Integraciones2?b.Integraciones2:0;c("#btn-clusters-vtex").find(".value").html("("+__n(g)+")");this.totalIntegraciones2=g;c("#btn-contactos-datacrush").find(".value").html("("+__n(e)+")");this.totalDataCrush=e;this.totalTagGroups=b.Tags?b.Tags:0;d');b=c("#left-navigation");b.contacts_navigation({view:d.view,type:d.type,data:ContactsNavigation.CATEGORIES_FOR_FIRST_NAVIGATION, abrirTodos:true,filtroBusqueda:this.options.contactos.filtroBusqueda,mostrarDetalleContacto:this.options.contactos.mostrarDetalleContacto,porCamposPersonalizados:this.options.contactos.porCamposPersonalizados});b.animate({width:d.width+"px",duration:1E3,specialEasing:{width:"easeOutExpo"}})}},autoSelectGrupos:function(){var b={data_start:0,results_per_page:20,filter_data:this.options.gruposUsuario.filtroBusqueda,show_group:this.options.gruposUsuario.id};this.clickBehaviorOnBaseButton(c("#btn-grupos-usuario"), b,"grupos-usuario")},showRefreshIcon:function(){c("#refresh-navigation").addClass("active")},hideRefreshIcon:function(){c("#refresh-navigation").removeClass("active")},"#btn-contacto click":function(b){this.closeNavigations();this.createFirstNavigation({view:ContactsNavigation.CONTACTS_EJS,type:"contacto",width:190});this.selectMenu(b)},"#btn-email click":function(b){this.closeNavigations();this.createFirstNavigation({view:ContactsNavigation.CONTACTS_EJS,type:"contacto",width:190,Channel:1});this.selectMenu(b.context.getElementsByClassName("centra-btn"))}, "#btn-push click":function(b){this.closeNavigations();this.createFirstNavigation({view:ContactsNavigation.CONTACTS_EJS,type:"contacto",width:190,Channel:2});this.selectMenu(b.context.getElementsByClassName("centra-btn"))},"#btn-sms click":function(b){this.closeNavigations();this.createFirstNavigation({view:ContactsNavigation.CONTACTS_EJS,type:"contacto",width:190,Channel:3});this.selectMenu(b.context.getElementsByClassName("centra-btn"))},"#btn-contactos-datacrush click":function(b){this.closeNavigations(); this.hideRefreshIcon();c("#right-views-pane").append('');var d=ContactoModelo.DEFAULT_LISTA_CONTACTOS_PARAMS({idGroup:0,quarantine:false,filtrarDatacrush:true,tipoGrupo:"datacrush",filter_data:"",filtroBusqueda:false});this.clickBehaviorOnBaseButton(b,d,"datacrush")},"#btn-items click":function(b){this.closeNavigations();this.createFirstNavigation({view:ContactsNavigation.BY_LIST_BASE_EJS,type:"items",width:ContactItems.SIZE.w});c("#left-navigation").find(".box_base").eq(0).contact_items({}); this.selectMenu(b.context.getElementsByClassName("centra-btn"))},"#btn-grupos-sistema click":function(b){this.closeNavigations();this.createFirstNavigation({view:ContactsNavigation.BY_LIST_BASE_EJS,type:"grupos-sistema",width:235});c("#left-navigation").find(".box_base").eq(0).system_group({});this.selectMenu(b.context.getElementsByClassName("centra-btn"))},"#btn-tags click":function(b){this.closeNavigations();this.createFirstNavigation({view:ContactsNavigation.BY_LIST_BASE_EJS,type:"grupos-interes", width:TagList.SIZE.w});c("#left-navigation").find(".box_base").eq(0).tag_list({});this.selectMenu(b.context.getElementsByClassName("centra-btn"))},createFirstNavigation:function(b){this.hideRefreshIcon();c("#right-views-pane").append('');c("#left-navigation").contacts_navigation({view:b.view,type:b.type,data:ContactsNavigation.CATEGORIES_FOR_FIRST_NAVIGATION,Channel:b.Channel});c("#left-navigation").animate({width:b.width+"px",duration:1E3,specialEasing:{width:"easeOutExpo"}}); c(".go-to-contacts-container").removeAttr("style")},selectMenu:function(b){c("#left-menu").find(".selected").removeClass("selected");c(b).addClass("selected")},closeNavigations:function(){var b=c("#right-views-pane .navigations");if(b.length){ContactsNavigation.breadCrumbs=[];for(var d=b.length-1;d>=0;d--)this.closeNavigation(b[d]);c("#right-views-pane").width(c("#h-top").width()-c("#left-menu").width()-getScrollerWidth())}},closeNavigation:function(b){c(b).animate({width:"0px"});c(b).remove()},"#btn-grupos-usuario click":function(b){this.clickBehaviorOnBaseButton(b, {data_start:0,results_per_page:20,filter_data:"",show_group:false},"grupos-usuario");this.selectMenu(b.context.getElementsByClassName("centra-btn"))},clickBehaviorOnBaseButton:function(b,d,e){this.closeNavigations();var f={view:UsersGroupList.VIEW_EJS,type:e,width:400};switch(e){case "grupos-usuario":this.createFirstNavigation(f);c("#left-navigation").find(".box_list").eq(0).users_group_list(d);break;case "perfiles":this.createFirstNavigation(f);c("#left-navigation").find(".box_list").eq(0).perfil_list(d); break;case "grupos-interes":f.width=TagList.SIZE.w;f.view=ContactsNavigation.BY_LIST_BASE_EJS;this.createFirstNavigation(f);c("#left-navigation").find(".box_base").eq(0).tag_list({});break;case "items":f.width=ContactItems.SIZE.w;f.view=ContactsNavigation.BY_LIST_BASE_EJS;this.createFirstNavigation(f);c("#left-navigation").find(".box_base").eq(0).contact_items({});break;case "vtex":this.createFirstNavigation(f);c("#left-navigation").find(".box_list").eq(0).clusters_list(d);break}this.selectMenu(b)}, "#agregar-contacto click":function(b,d){if(!b.hasClass("disabled")){d.stopPropagation();AgregarContactos.SIZE.h=d.contact!==undefined||d.contact===true?165:477;AgregarContactos.openComponent({data:{group:false,contact:d.contact!==undefined?d.contact:false},size:{width:AgregarContactos.SIZE.w,height:AgregarContactos.SIZE.h}})}},"#nuevo-grupo click":function(b,d){d.stopPropagation();NewGroup.openComponent({data:{asignarContactos:true,instanciaDesde:["contactos"]},size:{width:NewGroup.SIZE.w,height:NewGroup.SIZE.h}})}, "#nuevo-tag click":function(b,d){d.stopPropagation();NewTag.getDatos(function(e){NewTag.openComponent({data:{categorias:e.categorias,seccion_caller:NewTag.SECCION.CONTACTOS_RAIZ,sub_seccion_caller:NewTag.SUB_SECCION.NEW_TAG},size:{width:NewTag.SIZE.w,height:NewTag.SIZE.h}})})},"#btn-perfiles click":function(b){this.clickBehaviorOnBaseButton(b,{data_start:0,results_per_page:0,filter_data:"",show_group:false},"perfiles");this.selectMenu(b.context.getElementsByClassName("centra-btn"))},"#btn-clusters-vtex click":function(b){this.clickBehaviorOnBaseButton(b, {data_start:0,results_per_page:20,filter_data:"",show_group:false},"vtex");this.selectMenu(b.context.getElementsByClassName("centra-btn"))},"#nuevo-perfil click":function(b,d){d.stopPropagation();window.parent.postMessage({payload:{event:"createSegment"}},"*")},close:function(){c(this.element).html("");c(this.element).controller().destroy()}})});steal.loaded("emblue/secciones/seccion_contactos/left_menu/left_menu.js"); steal("jquery/controller","jquery/view/ejs").then(function(c){c.Controller("MenuContactos",{disabledAddContactsButton:function(){c("#agregar-contacto").addClass("disabled")},enabledAddContactsButton:function(){c("#agregar-contacto").removeClass("disabled")}},{init:function(){this.element.html("//emblue/secciones/seccion_contactos/menu_contactos/views/menu_contactos.ejs",{})},close:function(){c(this.element).html("");c(this.element).controller().destroy()}})});steal.loaded("emblue/secciones/seccion_contactos/menu_contactos/menu_contactos.js"); steal("jquery/controller","jquery/view/ejs","//emblue/componentes/seccion/seccion.js").then(function(c){Seccion("SeccionDashboard",{MENSAJE_SIN_ACTIVIDAD:"Sin actividad registrada",DASHBOARD_FRAME:""},{DASHBOARD_DATA:{contactos:null,efectividad:null,empresa:null,estadoacciones:null},VISTAS:{base:window.emblue_assets_url+"/emblue/secciones/seccion_campanias/configuracion_elemento/listado_campanias_elementos/views/listado_campanias_elementos.ejs",elementoLista:window.emblue_assets_url+"/emblue/secciones/seccion_campanias/configuracion_elemento/listado_campanias_elementos/views/item_elemento.ejs", elementoThumb:window.emblue_assets_url+"/emblue/secciones/seccion_campanias/configuracion_elemento/listado_campanias_elementos/views/item_elemento_thumb.ejs"},init:function(){this.setLimitHeightSection();c("#main").controller().appSize();this.callbackResize();window.removeEventListener("message",this.mensajeHandler,false);window.addEventListener("message",this.mensajeHandler);c(".pie-chart").css({marginTop:c(".grid-content.contactos").height()/2-c(".pie-chart").height()/2});this.cargarElementos(this.initCustomScroll); c("#dashboardFrame").on("load",function(){SeccionDashboard.DASHBOARD_FRAME=document.getElementById("dashboardFrame");c.ajax({type:"GET",url:"Services/Usuarios.svc/GetUsuario",processData:false,dataType:"json",success:function(b){b={type:"user_info",value:b};try{SeccionDashboard.DASHBOARD_FRAME.contentWindow.postMessage(b,"*")}catch(d){}}})})},mensajeHandler:function(b){switch(b.data.type){case "ShowLocker":showBlocker();break;case "HideLocker":hideBlocker();break;case "CloseUserMenu":c(".menu_usuario.active").removeClass("active"); c(".desplegable.active").removeClass("active");break;case "ShowReport":c("#center").controller().close();b=b.data;c("#main-menu-container .logo-dash").removeClass("active");c("#btn-main-reportes").addClass("active");c("#bar").show().menu_reportes({arrTipoAcciones:[b.tipo]});c("#center").seccion_reportes({goToDefinition:{arrElementos:[b],flow:false,tituloMenu:b.nombre,seccion:{nombre:SeccionReportes.SECCIONES.resumen,tabActivo:null}},ultimaVistaListado:null,fromContacts:false});break}},iniciarContador:function(b, d){b.countTo({from:0,to:d,formatter:function(e,f){return __n(e.toFixed(f.decimals))}})},getDashboardEmpresa:function(){EmpresaModelo.getDashboardEmpresa({},this.callback(function(b){this.servicioCallbackEmpresa(b)}))},getDashboardContadorElementos:function(){EmpresaModelo.getDashboardContadorElementos({},this.callback(function(b){this.servicioCallbackContadorElementos(b);this.getDashboardEfectividad()}))},getDashboardEfectividad:function(){EmpresaModelo.getDashboardEfectividad({},this.callback(function(b){this.servicioCallbackEfectividad(b); this.getDashboardContactos()}))},getDashboardContactos:function(){EmpresaModelo.getDashboardContactos({},this.callback(function(b){this.servicioCallbackContactos(b)}))},getDashboardEfectividadRates:function(){EmpresaModelo.getDashboardEfectividadRates({},this.callback(function(b){this.servicioCallbackEfectividadRates(b)}))},servicioCallbackContactos:function(b){this.DASHBOARD_DATA.contactos=b;c("#destinatarios").html(__n(b.Contactos.rows[0][0]));for(var d="",e=0;e'; for(e=b.RankingPromedio;e<5;e++)d+='';this.element.find(".stars").html(d)},servicioCallbackEfectividad:function(b){this.DASHBOARD_DATA.efectividad=b;hideBlocker()},servicioCallbackEfectividadRates:function(b){c("#efectividadEnvioDR").html(b.DR===100?b.DR:b.DR.toFixed(2));c("#efectividadEnvioOR").html(b.OR===100?b.OR:b.OR.toFixed(2));c("#efectividadEnvioCTR").html(b.CTR===100?b.CTR:b.CTR.toFixed(2));c("#efectividadEnvioCTOR").html(b.CTOR===100?b.CTOR:b.CTOR.toFixed(2))}, servicioCallbackEmpresa:function(b){this.DASHBOARD_DATA.empresa=b;this.element.find(".brand-name").html(b.nombreEmpresa);this.element.find(".ranking-rank").html(b.Ranking.toString().substring(0,3));if(b.Ranking<=3)this.element.find(".ranking-rank").addClass("red");else b.Ranking>=7?this.element.find(".ranking-rank").addClass("green"):this.element.find(".ranking-rank").addClass("yellow")},servicioCallbackContadorElementos:function(b){this.DASHBOARD_DATA.estadoacciones=b;this.iniciarContador(c("#cantEnvios"), b.cant_envio_simple);this.iniciarContador(c("#cantTriggers"),b.cant_triggers);this.iniciarContador(c("#cantSendemail"),b.cant_send_email);this.iniciarContador(c("#cantSms"),b.cant_sms)},getLimitWidthSection:function(){return this.Class.LIMIT_WIDTH_SECTION},getLimitHeightSection:function(){return this.Class.LIMIT_HEIGHT_SECTION},setLimitHeightSection:function(){this.Class.LIMIT_HEIGHT_SECTION=c(".sub-header").outerHeight(true)+c(".content-dash").outerHeight(true)},sectionHeight:function(b){c("#center").height(b)}, sectionWidth:function(){var b=c("#h-top").outerWidth()>c(window).width()?c("#h-top").outerWidth():c(window).width();c("#center").width(b)},initCustomScroll:function(){c(".report-table").mCustomScrollbar({scrollInertia:1E3,theme:"dark-3",advanced:{updateOnBrowserResize:true}});setTimeout(function(){c("#center").controller().callbackResize()},500)},cargarElementos:function(b){showBlocker();ElementoModelo.getElementosPorFechaReporte({busqueda:"",offset:0,cantidadAMostrar:15,borrador:false,enCurso:true, cerradas:true,activa:true,inactiva:true,tipoElementoEnvioSimple:true,tipoElementoTrigger:true,tipoElementoSendEmail:true,tipoElementoSms:false,ordenColumna:"estado",sentidoOrden:"asc",fecha:0,idCampania:[]},this.callback(function(d){this.getDashboardEmpresa();this.getDashboardContadorElementos();d=d.aaData;if(d.length===0){this.element.find(".header-sidebar.dashboard .buttons-sidebar").hide();d=c('

'+__(this.Class.MENSAJE_SIN_ACTIVIDAD)+"

");this.element.find(".report-table.lista").html(d.clone()); c("#chartGraph").html(d.clone());return false}c(".main_menu").controller().mostrarBtnReportes();d=this.agruparElementosPorFecha(d);this.crearListaElementos(d);b()}))},crearListaElementos:function(b){this.element.find(".report-table.lista");this.element.find(".report-table.thumb");if(b.hoy.length>0){this.element.find(".block-el-fecha.hoy").show();for(var d=0;d 0){this.element.find(".block-el-fecha.ayer").show();for(d=0;d0){this.element.find(".block-el-fecha.semana").show();for(d=0;d0){this.element.find(".block-el-fecha.mes").show();for(d=0;d0){this.element.find(".block-el-fecha.otros").show();for(d=0;d=d)l.hoy.push(b[m]);else if(h>=e&&h<=d)l.ayer.push(b[m]);else if(h>=f&&h<=e)l.semana.push(b[m]);else h>=g&&h<=f?l.mes.push(b[m]):l.resto.push(b[m])}return l},crearFilaElemento:function(b,d){b=new ElementoModelo({id:b.id, nombre:b.nombre,campaniaNombre:b.nombre_campania,campaniaId:b.campaniaId,fecha:b.fecha,cantidad_destinatarios:b.destinatarios,estado:b.estado,refuerzo:b.refuerzo,reporte:b.reporte,tiene_mensaje:b.tieneMensaje,tipo:b.tipo.toLowerCase(),snapshot:b.snapshot,version_snapshot:(new Date).getTime().toString(),last_change:(new Date).getTime()});var e=this.element.find(".report-table.lista "+d+" ul");d=this.element.find(".report-table.thumb "+d+" ul");var f={elemento:b,idCampaniaPadre:0,listadoReporte:true, listadoBusqueda:false};e.append(this.VISTAS.elementoLista,f);f.vistaThumb=c(".view-msg").hasClass("view-thumbs");d.append(this.VISTAS.elementoThumb,f);c(".report-table .elemento_modelo_"+b.id).find("h6").ThreeDots({max_rows:1,whole_word:false});c(".report-table .elemento_modelo_"+b.id).addClass("show")},".elemento_modelo click":function(b){b=b.model();c("#main-menu-container .logo-dash").removeClass("active");c("#btn-main-reportes").addClass("active");c("#bar").show().menu_reportes({arrTipoAcciones:[b.tipo]}); c("#center").controller().close();c("#center").seccion_reportes({goToDefinition:{arrElementos:[b],tituloMenu:b.nombre,seccion:{nombre:SeccionReportes.SECCIONES.resumen,tabActivo:null}},ultimaVistaListado:null,fromContacts:false})},"#agregar-contacto click":function(){AgregarContactos.openComponent({data:{group:false},size:{width:AgregarContactos.SIZE.w,height:AgregarContactos.SIZE.h}})},"#crear-campania-rapida click":function(){CampaniaModelo.getCampanias({busqueda:"",enCurso:true,cerradas:true,offset:0, ordenColumna:"nombre",sentidoOrden:"asc"},this.callback(function(b){BaseModelo.getDifinicionTipoAccion({},this.callback(function(d){NewElementCampaign.openComponent({data:{definicionAcciones:d,cultura:MainApp.CULTURA,campanias:b.aaData,destinatarios:false,segmentar:false},size:{width:522,height:450}})}))}))},close:function(){try{c("#dashboardFrame").attr("src","")}catch(b){}window.removeEventListener("message",this.messageHandler,false);this._super()}})});steal.loaded("emblue/secciones/seccion_dashboard/seccion_dashboard.js"); steal("jquery/controller","jquery/view/ejs","//emblue/componentes/seccion/seccion.js").then(function(c){Seccion("SeccionHome",{},{URL_SOURCE:(dataJson.compileApi.slice(-1)=="/"?dataJson.compileApi:dataJson.compileApi+"/")+"api/dashboard/GetSenderScoreInTime?days=",STEP_ENUM:{sender:1,contacts:2,sendEmail:3,finished:0},USER_DATA_EXTENDIDA:undefined,init:function(){this.setLimitHeightSection();c("#main").controller().appSize();this.callbackResize();window.removeEventListener("message",this.mensajeHandler, false);window.addEventListener("message",this.mensajeHandler);this.USER_DATA_EXTENDIDA=c(".main_menu").controller().getUserDataExtendida().data;var b={type:"userData",value:this.mapUserDataToReactInterface(this.options.dataTrackingUserData)},d=this.getElementoPorFechaReporte(),e={type:"name",value:{name:this.options.data.nombre,email:this.options.data.email}},f=this.getCantidadAccion(),g=this.getCantidadGrupos(),l={type:"language",value:localStorage.getItem("idioma")},h=this.getActualStep(),m=document.getElementById("homeFrame"), n=this;m.onload=function(){n.getSenderScoring(function(o){m.contentWindow.postMessage(o,dataJson.home.new_ui_url)});setTimeout(function(){m.contentWindow.postMessage(b,dataJson.home.new_ui_url);m.contentWindow.postMessage(d,dataJson.home.new_ui_url);m.contentWindow.postMessage(e,dataJson.home.new_ui_url);m.contentWindow.postMessage(f,dataJson.home.new_ui_url);m.contentWindow.postMessage(g,dataJson.home.new_ui_url);m.contentWindow.postMessage(l,dataJson.home.new_ui_url);m.contentWindow.postMessage(h, dataJson.home.new_ui_url)},500)}},disabledSectionBar:function(){if(c("#bar").controller()===undefined)return false;c("#bar").controller().close()},goToSeccionAyuda:function(b){c(this.element).find("a.active").removeClass("active");c(".main_menu").controller().disabledSectionBar();c("#bar").hide();if(c("#center.seccion_contactos").length>0){var d=c("#right-views-pane .navigations"),e=d.length,f=0;for(HorizontalNavigation.clearNavigations();fc(window).width()?c("#h-top").outerWidth():c(window).width();c("#center").width(b)},close:function(){try{c("#homeFrame").attr("src","")}catch(b){}window.removeEventListener("message",this.messageHandler, false);this._super()}})});steal.loaded("emblue/secciones/seccion_home/seccion_home.js"); steal("jquery/controller").then(function(c){c.Controller("MethodHelper",{CrearElementoScrolleable:function(b,d,e,f,g,l){b.mCustomScrollbar({scrollInertia:e!==undefined?e:300,theme:d!==undefined?d:"dark-3",advanced:f!==undefined?f:{updateOnBrowserResize:true},callbacks:g,axis:l!==undefined?l:"y"})},InArray:function(b,d){return c.inArray(b,d)!==-1},InArrayByAttribute:function(b,d,e){var f=false;c.each(d,function(g,l){if(l[e]===b)f=true});return f},ArrayIsNotEmpty:function(b){return this.IsNotNullOrUndefined(b)&& b.length>0},IsNotNullOrUndefined:function(b){return b!==null&&b!==undefined},IsNotEmpty:function(b){return this.IsNotNullOrUndefined(b)&&b.trim()!==""},FilterDictionary:function(b,d){var e={};c.each(b,function(f,g){if(d(g))e[f]=g});return e},FilterDictionaryRA:function(b,d){var e=[];c.each(b,function(f,g){d(g)&&e.push(g)});return e},loading:function(b){c(b.element).find(".box_modal").show()},finishLoading:function(b){c(b.element).find(".box_modal").hide()}},{init:function(){}})});steal.loaded("emblue/helpers/method_helper.js"); steal("jquery/controller","jquery/view/ejs","//emblue/secciones/seccion_contactos/seccion_contactos.js","//emblue/secciones/seccion_automation/seccion_automation.js","//emblue/secciones/seccion_editor/seccion_editor.js","//emblue/secciones/seccion_configuracion/seccion_configuracion.js","//emblue/secciones/seccion_wizard/seccion_wizard.js","//emblue/secciones/seccion_campanias/configuracion_elemento/configuracion_elemento.js","//emblue/secciones/seccion_reportes/seccion_reportes.js","//emblue/secciones/seccion_ayuda/seccion_ayuda.js", "//emblue/secciones/seccion_reportes/menu_reportes/menu_reportes.js","//emblue/secciones/seccion_campaniapreview/seccion_campaniapreview.js","//emblue/componentes/rolleable/account_close_to_suspend/account_close_to_suspend.js","//emblue/componentes/rolleable/purchase_order/purchase_order.js","//emblue/componentes/rolleable/choose_plan/choose_plan.js","//emblue/secciones/section_onsite/section_onsite.js","//emblue/componentes/rolleable/automationPopUp/automationPopUp.js","//emblue/helpers/helper.js").then(function(c){c.Controller("MainMenu", {usuario_id:null,empresa_id:null},{userDataExtendida:null,dataTrackingUserData:null,DATA_TRACKING_EVENT_TYPE:null,BUSQUEDA:"",TIMER:null,DIRTY:false,Biflows:1,OnSite:0,onsite_user_id:0,onsite_user_identifier:0,onsite_site_id:0,onsite_login_token:0,onsite_language:0,Attachment:false,ID_CONTRATO:"",isBillingRequestEnabled:false,DATA:{id:0,nombre:null,apellido:null,cargo:null,idioma:null,telefono1:null,telefono2:null,email2:null},init:function(){this.userDataExtendida=this.options.usuario;this.Biflows= this.options.biflows;this.OnSite=this.options.onsite;this.onsite_login_token=this.options.onsite_login_token;this.onsite_site_id=this.options.onsite_site_id;this.onsite_user_id=this.options.onsite_user_id;this.onsite_user_identifier=this.options.onsite_user_identifier;this.onsite_language=this.options.onsite_lang;this.Attachment=this.options.attachment;this.DATA_TRACKING_EVENT_TYPE={TOPBAR_HOME_CLICK:"TopBar Home click",TOPBAR_DASHBOARD_CLICK:"TopBar Dashboard click",TOPBAR_CONTACTS_CLICK:"TopBar Contacts click", TOPBAR_CAMPAIGNS_CLICK:"TopBar Campaigns click",TOPBAR_REPORTS_CLICK:"TopBar Reports click",TOPBAR_AUTOMATION_CLICK:"TopBar Automation click",TOPBAR_ONSITE_CLICK:"TopBar OnSite click",TOPBAR_CONFIG_CLICK:"TopBar Configuration click"};localStorage.setItem("rol",this.userDataExtendida.rol);MainMenu.usuario_id=this.userDataExtendida.id_usuario;MainMenu.empresa_id=this.userDataExtendida.id_empresa;this.ID_CONTRATO=this.userDataExtendida.contrato;this.ID_CONTRATO=this.ID_CONTRATO!=null&&this.ID_CONTRATO!= undefined?parseInt(this.ID_CONTRATO):"";c("#h-top").attr("pre-barra","true");dataJson.environment=="development"?console.log("Zopim is not available in development enviroment"):this.initZopim();c("#bar").hide();if(!steal.options.reportSharing&&!steal.options.templatePreview){this.infoUsuario();UsuarioModelo.getUsuario({},this.callback(function(b){this.DATA.id=b.id;this.DATA.nombre=b.nombre;this.DATA.apellido=b.apellido;this.DATA.cargo=b.cargo;this.DATA.idioma=b.idioma;this.DATA.telefono1=b.telefono1; this.DATA.telefono2=b.telefono2;this.DATA.email2=b.email2;if(c(".fa-toggle-on").hasClass("on")){c(".fa-toggle-on").removeClass("on");c(".fa-toggle-on").addClass("off")}}))}},infoUsuario:function(){var b=false;if(steal.options.reportSharing!==false)b=steal.options.reportSharing;if(steal.options.templatePreview!==false){b=steal.options.templatePreview;c("#h-top").hide()}this.element.html(window.emblue_assets_url+"/emblue/main_menu/views/init.ejs",{usuario:this.userData,usuarioExtendido:this.userDataExtendida, esUsuarioInvitado:b,biflows:this.options.biflows,attachment:this.options.attachment});this.dataTrackingUserData={Email:this.userDataExtendida.email_usuario,Name:this.userDataExtendida.nombre_usuario+" "+this.userDataExtendida.apellido_usuario,ContractId:this.userDataExtendida.contrato,AgencyName:this.userDataExtendida.nombre_agencia,CompanyId:this.userDataExtendida.id_empresa,CompanyName:this.userDataExtendida.nombre_empresa,Plan:"",Environment:window.location.host.slice(0,window.location.host.indexOf("."))}; var d=this;this.checkPlanType(function(e){d.dataTrackingUserData.Plan=e});window.__v1.contractCountryCode||this.getContractCountry(function(e){window.__v1.contractCountryCode=e})},".container click":function(){setTimeout(function(){c(".desplegable").removeClass("active");c(".menu_usuario").removeClass("active")},800)},"#btn-accounts click":function(){window.location.href="Account/SeleccionarEmpresa"},"#btn-logout click":function(){UsuarioModelo.logout({},this.callback(function(b){if(b.id_notificacion== "USUARIO_SSO_DESLOGUEADO")window.location.href=dataJson.ssoUrl;window.location.href="Account/Login"}))},"#cont-btn-datacrush click":function(){IntegracionesModelo.loginDataCrush({},this.callback(function(b){if(b.id="LOGIN_DATACRUSH_OK")window.open(b.content)}))},"#cont-btn-help-on-videos click":function(b){c(".help-chat-left").hide();this.goToSeccionAyuda(b)},"#cont-btn-soporte click":function(){window.open(SeccionAyuda.SOPORTE.url,"_blank")},"#cont-btn-help-on-manual click":function(){window.open(SeccionAyuda.MANUAL.url, "_blank")},"#cont-btn-help-on-version click":function(){window.open(this.userDataExtendida.version_url,"_blank")},goToSeccionAyuda:function(b){c(this.element).find("a.active").removeClass("active");this.disabledSectionBar();c("#bar").hide();if(c("#center.seccion_contactos").length>0){var d=c("#right-views-pane .navigations"),e=d.length,f=0;for(HorizontalNavigation.clearNavigations();f 0){b=c("#right-views-pane .navigations");d=b.length;var e=0;for(HorizontalNavigation.clearNavigations();e0){b=c("#right-views-pane .navigations");var d=b.length,e=0;for(HorizontalNavigation.clearNavigations();e0){d=c("#right-views-pane .navigations");var e=d.length,f=0;for(HorizontalNavigation.clearNavigations();f=0?e+d.length:0))!==-1;){var f=""+ b.substring(e,e+d.length)+"";b=b.substring(0,e)+f+b.substring(e+d.length);e+=f.length}return b},destroySeccionActiva:function(){var b=c("#main-menu-container");b.find("a.active").removeClass("active");b.find(".logo-dash").removeClass("active");c(".desplegable").removeClass("active");c(".menu_usuario").removeClass("active");b=c("#bar");var d=c("#center");b.hide();b.controller()!==undefined&&b.controller().close();d.controller()!==undefined&&d.controller().close()},cerrarBuscadorUniversal:function(){c("#buscador-universal input").val(""); this.cambiarColorInputBuscador("#00588f","#247eb3","-96px");this.CambiarBordeInferiorRadiusBuscador(4);c("#buscador-universal .tt-dropdown-menu").css("display","none");c("#buscador-universal .tt-dropdown-menu").html("").hide();this.BUSQUEDA=""},goToContactosPorEmail:function(b,d){this.destroySeccionActiva();c("#btn-main-contactos").addClass("active");c("#center").seccion_contactos({contactos:{filtroBusqueda:b,mostrarDetalleContacto:d},gruposUsuario:null})},goToGruposUsuario:function(b,d){this.destroySeccionActiva(); c("#btn-main-contactos").addClass("active");c("#center").seccion_contactos({gruposUsuario:{filtroBusqueda:b,id:d},contactos:null})},goToCampania:function(b,d){this.destroySeccionActiva();c("#btn-main-campanias").addClass("active");c("#center").configuracion_elemento({goToDefinition:{campania:{filtroBusqueda:b,id:d,idElemento:false},elemento:null,noResetFiltros:true}})},goToCampaniaAndElement:function(b,d,e){this.destroySeccionActiva();c("#btn-main-campanias").addClass("active");c("#center").configuracion_elemento({goToDefinition:{campania:{filtroBusqueda:b, id:d,idElemento:e},elemento:null,noResetFiltros:true,goToCampaniaAndElement:true}})},goToElemento:function(b,d,e){this.destroySeccionActiva();c("#btn-main-campanias").addClass("active");b={filtroBusqueda:b,id:d,idElemento:e};try{b.idFlow=idFlow}catch(f){}c("#center").configuracion_elemento({goToDefinition:{campania:null,elemento:b,noResetFiltros:true,goToCampaniaAndElement:true}})},".tt-suggestion.contacto click":function(b){this.goToContactosPorEmail(b.data("nombre"),true);this.cerrarBuscadorUniversal()}, ".tt-dataset-contacto .event-name click":function(){this.goToContactosPorEmail(c("#buscador-universal input").val(),false);this.cerrarBuscadorUniversal()},".tt-suggestion.grupo click":function(b){this.goToGruposUsuario(b.data("nombre"),b.data("id"));this.cerrarBuscadorUniversal()},".tt-dataset-grupos .event-name click":function(){this.goToGruposUsuario(c("#buscador-universal input").val(),false);this.cerrarBuscadorUniversal()},".tt-suggestion.campania click":function(b){this.goToCampania(b.data("nombre"), b.data("id"));this.cerrarBuscadorUniversal()},".tt-dataset-campanas .event-name click":function(){this.goToCampania(c("#buscador-universal input").val(),false);this.cerrarBuscadorUniversal()},".tt-suggestion.elemento click":function(b){this.goToElemento(b.data("nombre"),b.data("idcampania"),b.data("id"));this.cerrarBuscadorUniversal()},".tt-dataset-acciones .event-name click":function(){this.goToElemento(c("#buscador-universal input").val(),false,false);this.cerrarBuscadorUniversal()},".tt-dataset-acciones .rep-ico click":function(b, d){d.stopPropagation();b=b.parents(".tt-suggestion");this.goToReportesResumen({arrElementos:[new ElementoModelo({id:b.data("id"),nombre:b.data("nombre"),tipo:"Envio Simple",campaniaId:b.data("idcampania"),campaniaNombre:b.data("nombrecampania")})],tituloMenu:b.data("nombre"),seccion:{nombre:"resumen",tabActivo:null}});this.cerrarBuscadorUniversal()},".tt-dataset-campanas .rep-ico click":function(b,d){d.stopPropagation();var e=b.parents(".tt-suggestion");ElementoModelo.getElementosReportes({idCampania:[e.data("id")], busqueda:"",enCurso:true,cerradas:true,borrador:false,offset:0,cantidadAMostrar:0,ordenColumna:"nombre",sentidoOrden:"asc"},this.callback(function(f){f=f.aaData;for(var g=[],l={},h=0;h0&&this.verificarEstadoElemento()},verificarEstadoElemento:function(){var b= [],d={},e,f,g,l,h=c("#screen-list.listado_acciones_campania"),m=b.length,n=0;for(b=h.controller().ELEMENTOS_EN_CURSO;n=(new Date(e[0],e[1],e[2],f[0],f[1])).getTime()){d.attr("estado",ElementoModelo.ESTADOS.procesando);d=c.inArray(d.id,b);d!==-1&&b.splice(d, 1)}}},actualizarVista:function(b){c("#bottom .dia-semana").html(Globalize.format(b.fecha,"ddd"));c("#bottom .dia").html(b.dia);c("#bottom .hora").html(b.hora);c("#bottom .minuto").html(b.minutos)}})});steal.loaded("emblue/main_footer/main_footer.js");window.googleLT_||(window.googleLT_=(new Date).getTime());window.google||(window.google={}); if(!window.google.loader){window.google.loader={};google.loader.ServiceBase="https://www.google.com/uds";google.loader.GoogleApisBase="https://ajax.googleapis.com/ajax";google.loader.ApiKey="notsupplied";google.loader.KeyVerified=true;google.loader.LoadFailure=false;google.loader.Secure=true;google.loader.GoogleLocale="www.google.com";google.loader.ClientLocation={latitude:-34.517,longitude:-58.5,address:{city:"Buenos Aires",region:"Buenos Aires",country:"Argentina",country_code:"AR"}};google.loader.AdditionalParams= "";(function(){function c(X,la){return X.load=la}function b(X){return X in ma?ma[X]:(ma[X]=-1!=navigator.userAgent[ga]()[P](X))}function d(X,la){var ra=function(){};ra.prototype=la[ba];X.T=la[ba];X.prototype=new ra}function e(X,la){var ra=Array[ba].slice.call(arguments,2)||[];return function(){var ua=ra.concat(Array[ba].slice.call(arguments));return X.apply(la,ua)}}function f(X){X=Error(X);X.toString=function(){return this.message};return X}function g(X,la){X=X.split(/\./);for(var ra=F,ua=0;ua<\/script>"):(b("safari")||b("konqueror"))&&F[ea](m,10)),fa[J](X)):h(F,"load",X)};na("google.setOnLoadCallback",google.S);var fa=[];google[O].O=function(){var X=F.event.srcElement;"complete"==X.readyState&&(X.onreadystatechange=v,X.parentNode.removeChild(X),n())};na("google.loader.domReady",google[O].O);var Ga={loaded:s,complete:s};google[O].d=function(X,la,ra){if(ra){var ua;"script"==X?(ua=D.createElement("script"),ua.type= "text/javascript",ua.src=la):"css"==X&&(ua=D.createElement("link"),ua.type="text/css",ua.href=la,ua.rel="stylesheet");(X=D.getElementsByTagName("head")[0])||(X=D.body.parentNode.appendChild(D.createElement("head")));X.appendChild(ua)}else"script"==X?D.write('