Subject: [PATCH] Built motion from commit 943eae279.|1.0.24

From: Andrea Bianco <[email-masked]>
Date: Mon, 26 Jun 2017 18:34:52 +0200

---
 public/app/13562abb.app.js                         |  126 --------------------
 public/app/7377769b.app.js                         |  125 +++++++++++++++++++
 public/assets/plugins/jscripty/js/Actions.js       |    2 +-
 public/assets/plugins/jscripty/js/Dialogs.js       |    2 +-
 public/assets/plugins/jscripty/js/Editor.js        |    2 +-
 public/assets/plugins/jscripty/js/EditorUi.js      |    2 +-
 public/assets/plugins/jscripty/js/Graph.js         |    2 +-
 public/assets/plugins/jscripty/js/Menus.js         |    2 +-
 public/assets/plugins/jscripty/js/Shapes.js        |    2 +-
 public/assets/plugins/jscripty/js/Sidebar.js       |    2 +-
 public/assets/plugins/jscripty/js/Toolbar.js       |    2 +-
 public/assets/plugins/jscripty/js/custom.js        |    2 +-
 public/assets/plugins/mxgraph/js/mxClient.js       |    2 +-
 public/assets/plugins/square/js/Actions.js         |    2 +-
 public/assets/plugins/square/js/Dialogs.js         |    2 +-
 public/assets/plugins/square/js/Editor.js          |    2 +-
 public/assets/plugins/square/js/EditorUi.js        |    2 +-
 public/assets/plugins/square/js/Graph.js           |    2 +-
 public/assets/plugins/square/js/Menus.js           |    2 +-
 public/assets/plugins/square/js/Shapes.js          |    2 +-
 public/assets/plugins/square/js/Sidebar.js         |    2 +-
 public/assets/plugins/square/js/Toolbar.js         |    2 +-
 public/assets/plugins/square/js/custom.js          |    2 +-
 public/index.html                                  |    2 +-
 server/api/_apidoc.js                              |    2 +-
 server/api/action/action.controller.js             |    2 +-
 server/api/action/action.events.js                 |    2 +-
 server/api/action/action.socket.js                 |    2 +-
 server/api/action/index.js                         |    2 +-
 server/api/agent/agent.controller.js               |    2 +-
 server/api/agent/agent.events.js                   |    2 +-
 server/api/agent/agent.socket.js                   |    2 +-
 server/api/agent/index.js                          |    2 +-
 server/api/automation/automation.controller.js     |    2 +-
 server/api/automation/automation.events.js         |    2 +-
 server/api/automation/automation.socket.js         |    2 +-
 server/api/automation/index.js                     |    2 +-
 .../api/canned_answer/canned_answer.controller.js  |    2 +-
 server/api/canned_answer/canned_answer.events.js   |    2 +-
 server/api/canned_answer/canned_answer.socket.js   |    2 +-
 server/api/canned_answer/index.js                  |    2 +-
 server/api/chanspy/chanspy.controller.js           |    2 +-
 server/api/chanspy/chanspy.events.js               |    2 +-
 server/api/chanspy/chanspy.socket.js               |    2 +-
 server/api/chanspy/index.js                        |    2 +-
 .../chat_application.controller.js                 |    2 +-
 .../chat_application/chat_application.events.js    |    2 +-
 .../chat_application/chat_application.socket.js    |    2 +-
 server/api/chat_application/index.js               |    2 +-
 .../chat_disposition.controller.js                 |    2 +-
 .../chat_disposition/chat_disposition.events.js    |    2 +-
 .../chat_disposition/chat_disposition.socket.js    |    2 +-
 server/api/chat_disposition/index.js               |    2 +-
 server/api/chat_enquiry/enquiry.controller.js      |    2 +-
 server/api/chat_enquiry/enquiry.events.js          |    2 +-
 server/api/chat_enquiry/enquiry.socket.js          |    2 +-
 server/api/chat_enquiry/index.js                   |    2 +-
 server/api/chat_message/chat_message.controller.js |    2 +-
 server/api/chat_message/chat_message.events.js     |    2 +-
 server/api/chat_message/chat_message.socket.js     |    2 +-
 server/api/chat_message/index.js                   |    2 +-
 .../chat_proactive_action.controller.js            |    2 +-
 .../chat_proactive_action.events.js                |    2 +-
 .../chat_proactive_action.socket.js                |    2 +-
 server/api/chat_proactive_action/index.js          |    2 +-
 server/api/chat_queue/chat_queue.controller.js     |    2 +-
 server/api/chat_queue/chat_queue.events.js         |    2 +-
 server/api/chat_queue/chat_queue.socket.js         |    2 +-
 server/api/chat_queue/index.js                     |    2 +-
 server/api/chat_room/chat_room.controller.js       |    2 +-
 server/api/chat_room/chat_room.events.js           |    2 +-
 server/api/chat_room/chat_room.socket.js           |    2 +-
 server/api/chat_room/index.js                      |    2 +-
 server/api/chat_visitor/chat_visitor.controller.js |    2 +-
 server/api/chat_visitor/chat_visitor.events.js     |    2 +-
 server/api/chat_visitor/chat_visitor.socket.js     |    2 +-
 server/api/chat_visitor/index.js                   |    2 +-
 server/api/chat_website/chat_website.controller.js |    2 +-
 server/api/chat_website/chat_website.events.js     |    2 +-
 server/api/chat_website/chat_website.socket.js     |    2 +-
 server/api/chat_website/index.js                   |    2 +-
 .../chat_websites_field.controller.js              |    2 +-
 .../chat_websites_field.events.js                  |    2 +-
 .../chat_websites_field.socket.js                  |    2 +-
 server/api/chat_websites_field/index.js            |    2 +-
 server/api/company/company.controller.js           |    2 +-
 server/api/company/company.events.js               |    2 +-
 server/api/company/company.socket.js               |    2 +-
 server/api/company/index.js                        |    2 +-
 .../contact_manager/contact_manager.controller.js  |    2 +-
 .../api/contact_manager/contact_manager.events.js  |    2 +-
 .../api/contact_manager/contact_manager.socket.js  |    2 +-
 server/api/contact_manager/index.js                |    2 +-
 server/api/custom_field/custom_field.controller.js |    2 +-
 server/api/custom_field/custom_field.events.js     |    2 +-
 server/api/custom_field/custom_field.socket.js     |    2 +-
 server/api/custom_field/index.js                   |    2 +-
 .../api/custom_report/custom_report.controller.js  |    2 +-
 server/api/custom_report/custom_report.events.js   |    2 +-
 server/api/custom_report/custom_report.socket.js   |    2 +-
 server/api/custom_report/index.js                  |    2 +-
 server/api/dashboard/dashboard.controller.js       |    2 +-
 server/api/dashboard/dashboard.events.js           |    2 +-
 server/api/dashboard/dashboard.socket.js           |    2 +-
 server/api/dashboard/index.js                      |    2 +-
 .../default_metric/default_metric.controller.js    |    2 +-
 server/api/default_metric/index.js                 |    2 +-
 .../default_report/default_report.controller.js    |    2 +-
 server/api/default_report/default_report.events.js |    2 +-
 server/api/default_report/default_report.socket.js |    2 +-
 server/api/default_report/index.js                 |    2 +-
 server/api/desk_account/desk_account.controller.js |    2 +-
 server/api/desk_account/desk_account.events.js     |    2 +-
 server/api/desk_account/desk_account.socket.js     |    2 +-
 server/api/desk_account/index.js                   |    2 +-
 .../desk_configuration.controller.js               |    2 +-
 .../desk_configuration.events.js                   |    2 +-
 .../desk_configuration.socket.js                   |    2 +-
 server/api/desk_configuration/index.js             |    2 +-
 server/api/desk_field/desk_field.controller.js     |    2 +-
 server/api/desk_field/desk_field.events.js         |    2 +-
 server/api/desk_field/desk_field.socket.js         |    2 +-
 server/api/desk_field/index.js                     |    2 +-
 .../extracted_report.controller.js                 |    2 +-
 .../extracted_report/extracted_report.events.js    |    2 +-
 .../extracted_report/extracted_report.socket.js    |    2 +-
 server/api/extracted_report/index.js               |    2 +-
 server/api/fax_account/fax_account.controller.js   |    2 +-
 server/api/fax_account/fax_account.events.js       |    2 +-
 server/api/fax_account/fax_account.socket.js       |    2 +-
 server/api/fax_account/index.js                    |    2 +-
 .../fax_application/fax_application.controller.js  |    2 +-
 .../api/fax_application/fax_application.events.js  |    2 +-
 .../api/fax_application/fax_application.socket.js  |    2 +-
 server/api/fax_application/index.js                |    2 +-
 .../fax_attachment/fax_attachment.controller.js    |    2 +-
 server/api/fax_attachment/fax_attachment.events.js |    2 +-
 server/api/fax_attachment/fax_attachment.socket.js |    2 +-
 server/api/fax_attachment/index.js                 |    2 +-
 .../fax_disposition/fax_disposition.controller.js  |    2 +-
 .../api/fax_disposition/fax_disposition.events.js  |    2 +-
 .../api/fax_disposition/fax_disposition.socket.js  |    2 +-
 server/api/fax_disposition/index.js                |    2 +-
 server/api/fax_message/fax_message.ami.js          |    2 +-
 server/api/fax_message/fax_message.controller.js   |    2 +-
 server/api/fax_message/fax_message.events.js       |    2 +-
 server/api/fax_message/fax_message.socket.js       |    2 +-
 server/api/fax_message/index.js                    |    2 +-
 server/api/fax_queue/fax_queue.controller.js       |    2 +-
 server/api/fax_queue/fax_queue.events.js           |    2 +-
 server/api/fax_queue/fax_queue.socket.js           |    2 +-
 server/api/fax_queue/index.js                      |    2 +-
 server/api/fax_room/fax_room.controller.js         |    2 +-
 server/api/fax_room/fax_room.events.js             |    2 +-
 server/api/fax_room/fax_room.socket.js             |    2 +-
 server/api/fax_room/index.js                       |    2 +-
 .../freshdesk_account.controller.js                |    2 +-
 .../freshdesk_account/freshdesk_account.events.js  |    2 +-
 .../freshdesk_account/freshdesk_account.socket.js  |    2 +-
 server/api/freshdesk_account/index.js              |    2 +-
 .../freshdesk_configuration.controller.js          |    2 +-
 .../freshdesk_configuration.events.js              |    2 +-
 .../freshdesk_configuration.socket.js              |    2 +-
 server/api/freshdesk_configuration/index.js        |    2 +-
 .../freshdesk_field/freshdesk_field.controller.js  |    2 +-
 .../api/freshdesk_field/freshdesk_field.events.js  |    2 +-
 .../api/freshdesk_field/freshdesk_field.socket.js  |    2 +-
 server/api/freshdesk_field/index.js                |    2 +-
 server/api/integration/index.js                    |    2 +-
 server/api/integration/integration.controller.js   |    2 +-
 server/api/integration/integration.events.js       |    2 +-
 server/api/integration/integration.socket.js       |    2 +-
 server/api/interval/index.js                       |    2 +-
 server/api/interval/interval.controller.js         |    2 +-
 server/api/interval/interval.events.js             |    2 +-
 server/api/interval/interval.socket.js             |    2 +-
 server/api/jscripty_project/index.js               |    2 +-
 .../jscripty_project.controller.js                 |    2 +-
 .../jscripty_project/jscripty_project.events.js    |    2 +-
 .../jscripty_project/jscripty_project.socket.js    |    2 +-
 server/api/license/index.js                        |    2 +-
 server/api/license/license.controller.js           |    2 +-
 server/api/list/index.js                           |    2 +-
 server/api/list/list.controller.js                 |    2 +-
 server/api/list/list.events.js                     |    2 +-
 server/api/list/list.socket.js                     |    2 +-
 server/api/mail_account/index.js                   |    2 +-
 server/api/mail_account/mail_account.controller.js |    2 +-
 server/api/mail_account/mail_account.events.js     |    2 +-
 server/api/mail_account/mail_account.socket.js     |    2 +-
 server/api/mail_application/index.js               |    2 +-
 .../mail_application.controller.js                 |    2 +-
 .../mail_application/mail_application.events.js    |    2 +-
 .../mail_application/mail_application.socket.js    |    2 +-
 server/api/mail_attachment/index.js                |    2 +-
 .../mail_attachment/mail_attachment.controller.js  |    2 +-
 .../api/mail_attachment/mail_attachment.events.js  |    2 +-
 .../api/mail_attachment/mail_attachment.socket.js  |    2 +-
 server/api/mail_disposition/index.js               |    2 +-
 .../mail_disposition.controller.js                 |    2 +-
 .../mail_disposition/mail_disposition.events.js    |    2 +-
 .../mail_disposition/mail_disposition.socket.js    |    2 +-
 server/api/mail_message/index.js                   |    2 +-
 server/api/mail_message/mail_message.controller.js |    2 +-
 server/api/mail_message/mail_message.events.js     |    2 +-
 server/api/mail_message/mail_message.socket.js     |    2 +-
 server/api/mail_queue/index.js                     |    2 +-
 server/api/mail_queue/mail_queue.controller.js     |    2 +-
 server/api/mail_queue/mail_queue.events.js         |    2 +-
 server/api/mail_queue/mail_queue.socket.js         |    2 +-
 server/api/mail_room/index.js                      |    2 +-
 server/api/mail_room/mail_room.controller.js       |    2 +-
 server/api/mail_room/mail_room.events.js           |    2 +-
 server/api/mail_room/mail_room.socket.js           |    2 +-
 server/api/mail_server_in/index.js                 |    2 +-
 .../mail_server_in/mail_server_in.controller.js    |    2 +-
 server/api/mail_server_in/mail_server_in.events.js |    2 +-
 server/api/mail_server_in/mail_server_in.socket.js |    2 +-
 server/api/mail_server_out/index.js                |    2 +-
 .../mail_server_out/mail_server_out.controller.js  |    2 +-
 .../api/mail_server_out/mail_server_out.events.js  |    2 +-
 .../api/mail_server_out/mail_server_out.socket.js  |    2 +-
 server/api/metric/index.js                         |    2 +-
 server/api/metric/metric.controller.js             |    2 +-
 server/api/metric/metric.events.js                 |    2 +-
 server/api/metric/metric.socket.js                 |    2 +-
 server/api/module/index.js                         |    2 +-
 server/api/module/module.controller.js             |    2 +-
 server/api/module/module.events.js                 |    2 +-
 server/api/module/module.socket.js                 |    2 +-
 server/api/motionbar/index.js                      |    2 +-
 server/api/motionbar/motionbar.controller.js       |    2 +-
 server/api/motionbar/motionbar.events.js           |    2 +-
 server/api/motionbar/motionbar.socket.js           |    2 +-
 server/api/network_externip/index.js               |    2 +-
 .../network_externip.controller.js                 |    2 +-
 .../network_externip/network_externip.events.js    |    2 +-
 .../network_externip/network_externip.socket.js    |    2 +-
 server/api/network_localnet/index.js               |    2 +-
 .../network_localnet.controller.js                 |    2 +-
 .../network_localnet/network_localnet.events.js    |    2 +-
 .../network_localnet/network_localnet.socket.js    |    2 +-
 server/api/openchannel_account/index.js            |    2 +-
 .../openchannel_account.controller.js              |    2 +-
 .../openchannel_account.events.js                  |    2 +-
 .../openchannel_account.socket.js                  |    2 +-
 server/api/openchannel_application/index.js        |    2 +-
 .../openchannel_application.controller.js          |    2 +-
 .../openchannel_application.events.js              |    2 +-
 .../openchannel_application.socket.js              |    2 +-
 server/api/openchannel_disposition/index.js        |    2 +-
 .../openchannel_disposition.controller.js          |    2 +-
 .../openchannel_disposition.events.js              |    2 +-
 .../openchannel_disposition.socket.js              |    2 +-
 server/api/openchannel_message/index.js            |    2 +-
 .../openchannel_message.controller.js              |    2 +-
 .../openchannel_message.events.js                  |    2 +-
 .../openchannel_message.socket.js                  |    2 +-
 server/api/openchannel_queue/index.js              |    2 +-
 .../openchannel_queue.controller.js                |    2 +-
 .../openchannel_queue/openchannel_queue.events.js  |    2 +-
 .../openchannel_queue/openchannel_queue.socket.js  |    2 +-
 server/api/openchannel_room/index.js               |    2 +-
 .../openchannel_room.controller.js                 |    2 +-
 .../openchannel_room/openchannel_room.events.js    |    2 +-
 .../openchannel_room/openchannel_room.socket.js    |    2 +-
 server/api/pause/index.js                          |    2 +-
 server/api/pause/pause.controller.js               |    2 +-
 server/api/pause/pause.events.js                   |    2 +-
 server/api/pause/pause.socket.js                   |    2 +-
 server/api/report_agent/index.js                   |    2 +-
 server/api/report_agent/report_agent.controller.js |    2 +-
 server/api/report_agent/report_agent.events.js     |    2 +-
 server/api/report_agent/report_agent.socket.js     |    2 +-
 server/api/report_call/index.js                    |    2 +-
 server/api/report_call/report_call.controller.js   |    2 +-
 server/api/report_call/report_call.events.js       |    2 +-
 server/api/report_call/report_call.socket.js       |    2 +-
 server/api/report_chat/index.js                    |    2 +-
 server/api/report_chat/report_chat.controller.js   |    2 +-
 server/api/report_chat/report_chat.events.js       |    2 +-
 server/api/report_chat/report_chat.socket.js       |    2 +-
 server/api/report_chat_session/index.js            |    2 +-
 .../report_chat_session.controller.js              |    2 +-
 .../report_chat_session.events.js                  |    2 +-
 .../report_chat_session.socket.js                  |    2 +-
 server/api/report_dial/index.js                    |    2 +-
 server/api/report_dial/report_dial.controller.js   |    2 +-
 server/api/report_dial/report_dial.events.js       |    2 +-
 server/api/report_dial/report_dial.socket.js       |    2 +-
 server/api/report_fax/index.js                     |    2 +-
 server/api/report_fax/report_fax.controller.js     |    2 +-
 server/api/report_fax/report_fax.events.js         |    2 +-
 server/api/report_fax/report_fax.socket.js         |    2 +-
 server/api/report_fax_session/index.js             |    2 +-
 .../report_fax_session.controller.js               |    2 +-
 .../report_fax_session.events.js                   |    2 +-
 .../report_fax_session.socket.js                   |    2 +-
 server/api/report_integration/index.js             |    2 +-
 .../report_integration.controller.js               |    2 +-
 .../report_integration.events.js                   |    2 +-
 .../report_integration.socket.js                   |    2 +-
 server/api/report_mail/index.js                    |    2 +-
 server/api/report_mail/report_mail.controller.js   |    2 +-
 server/api/report_mail/report_mail.events.js       |    2 +-
 server/api/report_mail/report_mail.socket.js       |    2 +-
 server/api/report_mail_session/index.js            |    2 +-
 .../report_mail_session.controller.js              |    2 +-
 .../report_mail_session.events.js                  |    2 +-
 .../report_mail_session.socket.js                  |    2 +-
 server/api/report_member/index.js                  |    2 +-
 .../api/report_member/report_member.controller.js  |    2 +-
 server/api/report_member/report_member.events.js   |    2 +-
 server/api/report_member/report_member.socket.js   |    2 +-
 server/api/report_openchannel/index.js             |    2 +-
 .../report_openchannel.controller.js               |    2 +-
 .../report_openchannel.events.js                   |    2 +-
 .../report_openchannel.socket.js                   |    2 +-
 server/api/report_openchannel_session/index.js     |    2 +-
 .../report_openchannel_session.controller.js       |    2 +-
 .../report_openchannel_session.events.js           |    2 +-
 .../report_openchannel_session.socket.js           |    2 +-
 server/api/report_queue/index.js                   |    2 +-
 server/api/report_queue/report_queue.controller.js |    2 +-
 server/api/report_queue/report_queue.events.js     |    2 +-
 server/api/report_queue/report_queue.socket.js     |    2 +-
 server/api/report_sms/index.js                     |    2 +-
 server/api/report_sms/report_sms.controller.js     |    2 +-
 server/api/report_sms/report_sms.events.js         |    2 +-
 server/api/report_sms/report_sms.socket.js         |    2 +-
 server/api/report_sms_session/index.js             |    2 +-
 .../report_sms_session.controller.js               |    2 +-
 .../report_sms_session.events.js                   |    2 +-
 .../report_sms_session.socket.js                   |    2 +-
 server/api/report_square/index.js                  |    2 +-
 .../api/report_square/report_square.controller.js  |    2 +-
 server/api/report_square/report_square.events.js   |    2 +-
 server/api/report_square/report_square.socket.js   |    2 +-
 server/api/report_square_detail/index.js           |    2 +-
 .../report_square_detail.controller.js             |    2 +-
 .../report_square_detail.events.js                 |    2 +-
 .../report_square_detail.socket.js                 |    2 +-
 server/api/report_tiger_dial/index.js              |    2 +-
 .../report_tiger_dial.controller.js                |    2 +-
 .../report_tiger_dial/report_tiger_dial.events.js  |    2 +-
 .../report_tiger_dial/report_tiger_dial.socket.js  |    2 +-
 server/api/report_tree/index.js                    |    2 +-
 server/api/report_tree/report_tree.controller.js   |    2 +-
 server/api/report_tree/report_tree.events.js       |    2 +-
 server/api/report_tree/report_tree.socket.js       |    2 +-
 server/api/salesforce_account/index.js             |    2 +-
 .../salesforce_account.controller.js               |    2 +-
 .../salesforce_account.events.js                   |    2 +-
 .../salesforce_account.socket.js                   |    2 +-
 server/api/salesforce_configuration/index.js       |    2 +-
 .../salesforce_configuration.controller.js         |    2 +-
 .../salesforce_configuration.events.js             |    2 +-
 .../salesforce_configuration.socket.js             |    2 +-
 server/api/salesforce_field/index.js               |    2 +-
 .../salesforce_field.controller.js                 |    2 +-
 .../salesforce_field/salesforce_field.events.js    |    2 +-
 .../salesforce_field/salesforce_field.socket.js    |    2 +-
 server/api/scheduler/index.js                      |    2 +-
 server/api/scheduler/scheduler.controller.js       |    2 +-
 server/api/scheduler/scheduler.events.js           |    2 +-
 server/api/scheduler/scheduler.socket.js           |    2 +-
 server/api/setting/index.js                        |    2 +-
 server/api/setting/setting.controller.js           |    2 +-
 server/api/setting/setting.events.js               |    2 +-
 server/api/setting/setting.socket.js               |    2 +-
 server/api/sms_account/index.js                    |    2 +-
 server/api/sms_account/sms_account.controller.js   |    2 +-
 server/api/sms_account/sms_account.events.js       |    2 +-
 server/api/sms_account/sms_account.socket.js       |    2 +-
 server/api/sms_application/index.js                |    2 +-
 .../sms_application/sms_application.controller.js  |    2 +-
 .../api/sms_application/sms_application.events.js  |    2 +-
 .../api/sms_application/sms_application.socket.js  |    2 +-
 server/api/sms_disposition/index.js                |    2 +-
 .../sms_disposition/sms_disposition.controller.js  |    2 +-
 .../api/sms_disposition/sms_disposition.events.js  |    2 +-
 .../api/sms_disposition/sms_disposition.socket.js  |    2 +-
 server/api/sms_message/index.js                    |    2 +-
 server/api/sms_message/sms_message.controller.js   |    2 +-
 server/api/sms_message/sms_message.events.js       |    2 +-
 server/api/sms_message/sms_message.socket.js       |    2 +-
 server/api/sms_queue/index.js                      |    2 +-
 server/api/sms_queue/sms_queue.controller.js       |    2 +-
 server/api/sms_queue/sms_queue.events.js           |    2 +-
 server/api/sms_queue/sms_queue.socket.js           |    2 +-
 server/api/sms_room/index.js                       |    2 +-
 server/api/sms_room/sms_room.controller.js         |    2 +-
 server/api/sms_room/sms_room.events.js             |    2 +-
 server/api/sms_room/sms_room.socket.js             |    2 +-
 server/api/sound/index.js                          |    2 +-
 server/api/sound/sound.controller.js               |    2 +-
 server/api/sound/sound.events.js                   |    2 +-
 server/api/sound/sound.socket.js                   |    2 +-
 server/api/square_odbc/index.js                    |    2 +-
 server/api/square_odbc/square_odbc.controller.js   |    2 +-
 server/api/square_odbc/square_odbc.events.js       |    2 +-
 server/api/square_odbc/square_odbc.socket.js       |    2 +-
 server/api/square_project/index.js                 |    2 +-
 .../square_project/square_project.controller.js    |    2 +-
 server/api/square_project/square_project.events.js |    2 +-
 server/api/square_project/square_project.socket.js |    2 +-
 server/api/square_recording/index.js               |    2 +-
 .../square_recording.controller.js                 |    2 +-
 .../square_recording/square_recording.events.js    |    2 +-
 .../square_recording/square_recording.socket.js    |    2 +-
 server/api/sugarcrm_account/index.js               |    2 +-
 .../sugarcrm_account.controller.js                 |    2 +-
 .../sugarcrm_account/sugarcrm_account.events.js    |    2 +-
 .../sugarcrm_account/sugarcrm_account.socket.js    |    2 +-
 server/api/sugarcrm_configuration/index.js         |    2 +-
 .../sugarcrm_configuration.controller.js           |    2 +-
 .../sugarcrm_configuration.events.js               |    2 +-
 .../sugarcrm_configuration.socket.js               |    2 +-
 server/api/sugarcrm_field/index.js                 |    2 +-
 .../sugarcrm_field/sugarcrm_field.controller.js    |    2 +-
 server/api/sugarcrm_field/sugarcrm_field.events.js |    2 +-
 server/api/sugarcrm_field/sugarcrm_field.socket.js |    2 +-
 server/api/tag/index.js                            |    2 +-
 server/api/tag/tag.controller.js                   |    2 +-
 server/api/tag/tag.events.js                       |    2 +-
 server/api/tag/tag.socket.js                       |    2 +-
 server/api/team/index.js                           |    2 +-
 server/api/team/team.controller.js                 |    2 +-
 server/api/team/team.events.js                     |    2 +-
 server/api/team/team.socket.js                     |    2 +-
 server/api/telephone/index.js                      |    2 +-
 server/api/telephone/telephone.controller.js       |    2 +-
 server/api/telephone/telephone.events.js           |    2 +-
 server/api/telephone/telephone.socket.js           |    2 +-
 server/api/template/index.js                       |    2 +-
 server/api/template/template.controller.js         |    2 +-
 server/api/template/template.events.js             |    2 +-
 server/api/template/template.socket.js             |    2 +-
 server/api/trigger/index.js                        |    2 +-
 server/api/trigger/trigger.controller.js           |    2 +-
 server/api/trigger/trigger.events.js               |    2 +-
 server/api/trigger/trigger.socket.js               |    2 +-
 server/api/trunk/index.js                          |    2 +-
 server/api/trunk/trunk.controller.js               |    2 +-
 server/api/trunk/trunk.events.js                   |    2 +-
 server/api/trunk/trunk.socket.js                   |    2 +-
 server/api/update/index.js                         |    2 +-
 server/api/update/update.controller.js             |    2 +-
 server/api/user/index.js                           |    2 +-
 server/api/user/user.controller.js                 |    2 +-
 server/api/user/user.events.js                     |    2 +-
 server/api/user/user.socket.js                     |    2 +-
 server/api/user_has_chat_queue/index.js            |    2 +-
 .../user_has_chat_queue.controller.js              |    2 +-
 .../user_has_chat_queue.events.js                  |    2 +-
 .../user_has_chat_queue.socket.js                  |    2 +-
 .../user_has_chat_queue_permit.events.js           |    2 +-
 .../user_has_chat_queue_permit.socket.js           |    2 +-
 server/api/user_has_chat_room/index.js             |    2 +-
 .../user_has_chat_room.controller.js               |    2 +-
 .../user_has_chat_room.events.js                   |    2 +-
 .../user_has_chat_room.socket.js                   |    2 +-
 server/api/user_has_fax_queue/index.js             |    2 +-
 .../user_has_fax_queue.controller.js               |    2 +-
 .../user_has_fax_queue.events.js                   |    2 +-
 .../user_has_fax_queue.socket.js                   |    2 +-
 .../user_has_fax_queue_permit.events.js            |    2 +-
 .../user_has_fax_queue_permit.socket.js            |    2 +-
 server/api/user_has_list/index.js                  |    2 +-
 .../api/user_has_list/user_has_list.controller.js  |    2 +-
 server/api/user_has_list/user_has_list.events.js   |    2 +-
 server/api/user_has_list/user_has_list.socket.js   |    2 +-
 server/api/user_has_mail_queue/index.js            |    2 +-
 .../user_has_mail_queue.controller.js              |    2 +-
 .../user_has_mail_queue.events.js                  |    2 +-
 .../user_has_mail_queue.socket.js                  |    2 +-
 .../user_has_mail_queue_permit.events.js           |    2 +-
 .../user_has_mail_queue_permit.socket.js           |    2 +-
 server/api/user_has_openchannel_queue/index.js     |    2 +-
 .../user_has_openchannel_queue.controller.js       |    2 +-
 .../user_has_openchannel_queue.events.js           |    2 +-
 .../user_has_openchannel_queue.socket.js           |    2 +-
 .../user_has_openchannel_queue_permit.events.js    |    2 +-
 .../user_has_openchannel_queue_permit.socket.js    |    2 +-
 server/api/user_has_sms_queue/index.js             |    2 +-
 .../user_has_sms_queue.controller.js               |    2 +-
 .../user_has_sms_queue.events.js                   |    2 +-
 .../user_has_sms_queue.socket.js                   |    2 +-
 .../user_has_sms_queue_permit.events.js            |    2 +-
 .../user_has_sms_queue_permit.socket.js            |    2 +-
 server/api/user_has_team/index.js                  |    2 +-
 .../api/user_has_team/user_has_team.controller.js  |    2 +-
 server/api/user_has_team/user_has_team.events.js   |    2 +-
 server/api/user_has_team/user_has_team.socket.js   |    2 +-
 server/api/user_has_voice_queue/index.js           |    2 +-
 .../user_has_voice_queue.controller.js             |    2 +-
 .../user_has_voice_queue.events.js                 |    2 +-
 .../user_has_voice_queue.socket.js                 |    2 +-
 .../user_has_voice_queue_permit.events.js          |    2 +-
 .../user_has_voice_queue_permit.socket.js          |    2 +-
 server/api/variable/index.js                       |    2 +-
 server/api/variable/variable.controller.js         |    2 +-
 server/api/variable/variable.events.js             |    2 +-
 server/api/variable/variable.socket.js             |    2 +-
 server/api/version/index.js                        |    2 +-
 server/api/version/version.controller.js           |    2 +-
 server/api/voice_context/index.js                  |    2 +-
 .../api/voice_context/voice_context.controller.js  |    2 +-
 server/api/voice_context/voice_context.events.js   |    2 +-
 server/api/voice_context/voice_context.socket.js   |    2 +-
 server/api/voice_disposition/index.js              |    2 +-
 .../voice_disposition.controller.js                |    2 +-
 .../voice_disposition/voice_disposition.events.js  |    2 +-
 .../voice_disposition/voice_disposition.socket.js  |    2 +-
 server/api/voice_extension/index.js                |    2 +-
 .../voice_extension/voice_extension.controller.js  |    2 +-
 .../api/voice_extension/voice_extension.events.js  |    2 +-
 .../api/voice_extension/voice_extension.socket.js  |    2 +-
 server/api/voice_musiconhold/index.js              |    2 +-
 .../voice_musiconhold.controller.js                |    2 +-
 .../voice_musiconhold/voice_musiconhold.events.js  |    2 +-
 .../voice_musiconhold/voice_musiconhold.socket.js  |    2 +-
 server/api/voice_queue/index.js                    |    2 +-
 server/api/voice_queue/voice_queue.controller.js   |    2 +-
 server/api/voice_queue/voice_queue.events.js       |    2 +-
 server/api/voice_queue/voice_queue.socket.js       |    2 +-
 server/api/voice_recording/index.js                |    2 +-
 .../voice_recording/voice_recording.controller.js  |    2 +-
 .../api/voice_recording/voice_recording.events.js  |    2 +-
 .../api/voice_recording/voice_recording.socket.js  |    2 +-
 server/api/voice_voicemail/index.js                |    2 +-
 .../voice_voicemail/voice_voicemail.controller.js  |    2 +-
 .../api/voice_voicemail/voice_voicemail.events.js  |    2 +-
 .../api/voice_voicemail/voice_voicemail.socket.js  |    2 +-
 server/api/voice_voicemail_messages/index.js       |    2 +-
 .../voice_voicemail_messages.controller.js         |    2 +-
 .../voice_voicemail_messages.events.js             |    2 +-
 .../voice_voicemail_messages.socket.js             |    2 +-
 server/api/widget/index.js                         |    2 +-
 server/api/widget/widget.controller.js             |    2 +-
 server/api/xchatty/index.js                        |    2 +-
 server/api/xchatty/xchatty.controller.js           |    2 +-
 server/api/zendesk_account/index.js                |    2 +-
 .../zendesk_account/zendesk_account.controller.js  |    2 +-
 .../api/zendesk_account/zendesk_account.events.js  |    2 +-
 .../api/zendesk_account/zendesk_account.socket.js  |    2 +-
 server/api/zendesk_configuration/index.js          |    2 +-
 .../zendesk_configuration.controller.js            |    2 +-
 .../zendesk_configuration.events.js                |    2 +-
 .../zendesk_configuration.socket.js                |    2 +-
 server/api/zendesk_field/index.js                  |    2 +-
 .../api/zendesk_field/zendesk_field.controller.js  |    2 +-
 server/api/zendesk_field/zendesk_field.events.js   |    2 +-
 server/api/zendesk_field/zendesk_field.socket.js   |    2 +-
 server/app.js                                      |    2 +-
 server/auth/auth.service.js                        |    2 +-
 server/auth/facebook/index.js                      |    2 +-
 server/auth/facebook/passport.js                   |    2 +-
 server/auth/google/index.js                        |    2 +-
 server/auth/google/passport.js                     |    2 +-
 server/auth/index.js                               |    2 +-
 server/auth/local/index.js                         |    2 +-
 server/auth/local/local.ami.js                     |    2 +-
 server/auth/local/passport.js                      |    2 +-
 server/auth/twitter/index.js                       |    2 +-
 server/auth/twitter/passport.js                    |    2 +-
 server/config/agi/agi.js                           |    2 +-
 server/config/agi/events.js                        |    2 +-
 server/config/agi/index.js                         |    2 +-
 server/config/agi/lib/channel.js                   |    2 +-
 server/config/agi/lib/connection.js                |    2 +-
 server/config/agi/lib/reply.js                     |    2 +-
 server/config/agi/lib/rpc/index.js                 |    2 +-
 server/config/agi/lib/scripts/index.js             |    2 +-
 server/config/agi/lib/server.js                    |    2 +-
 server/config/agi/lib/square.js                    |    2 +-
 server/config/agi/lib/vertices.js                  |    2 +-
 server/config/ami/acw.js                           |    2 +-
 server/config/ami/ami.js                           |    2 +-
 server/config/ami/db/fax.js                        |    2 +-
 server/config/ami/db/memberReport.js               |    2 +-
 server/config/ami/db/trunk.js                      |    2 +-
 server/config/ami/db/user.js                       |    2 +-
 server/config/ami/db/userHasQueue.js               |    2 +-
 server/config/ami/db/voiceAgentReport.js           |    2 +-
 server/config/ami/db/voiceCallReport.js            |    2 +-
 server/config/ami/db/voiceDialReport.js            |    2 +-
 server/config/ami/db/voiceQueueReport.js           |    2 +-
 server/config/ami/db/voiceRecording.js             |    2 +-
 server/config/ami/db/voiceTransferReport.js        |    2 +-
 server/config/ami/events.js                        |    2 +-
 server/config/ami/index.js                         |    2 +-
 server/config/ami/properties.js                    |    2 +-
 server/config/ami/socket.js                        |    2 +-
 server/config/ami/utils.js                         |    2 +-
 server/config/autodialer/index.js                  |    2 +-
 server/config/autodialer/process.js                |    2 +-
 server/config/automations/chat.js                  |    2 +-
 server/config/automations/fax.js                   |    2 +-
 server/config/automations/mail.js                  |    2 +-
 server/config/chat.js                              |    2 +-
 server/config/dashboard/dashboard.js               |    2 +-
 server/config/dashboard/index.js                   |    2 +-
 server/config/express.js                           |    2 +-
 server/config/forked_routing/chat/agent.js         |    2 +-
 server/config/forked_routing/chat/index.js         |    2 +-
 server/config/forked_routing/chat/queue.js         |    2 +-
 server/config/forked_routing/chat/sendmail.js      |    2 +-
 server/config/forked_routing/chat/sendsms.js       |    2 +-
 server/config/forked_routing/fax/agent.js          |    2 +-
 server/config/forked_routing/fax/index.js          |    2 +-
 server/config/forked_routing/fax/queue.js          |    2 +-
 server/config/forked_routing/fax/sendmail.js       |    2 +-
 server/config/forked_routing/fax/sendsms.js        |    2 +-
 server/config/forked_routing/mail/agent.js         |    2 +-
 server/config/forked_routing/mail/index.js         |    2 +-
 server/config/forked_routing/mail/queue.js         |    2 +-
 server/config/forked_routing/mail/replymail.js     |    2 +-
 server/config/forked_routing/mail/sendmail.js      |    2 +-
 server/config/forked_routing/mail/sendsms.js       |    2 +-
 server/config/forked_routing/openchannel/agent.js  |    2 +-
 server/config/forked_routing/openchannel/index.js  |    2 +-
 server/config/forked_routing/openchannel/queue.js  |    2 +-
 .../config/forked_routing/openchannel/sendmail.js  |    2 +-
 .../config/forked_routing/openchannel/sendsms.js   |    2 +-
 server/config/forked_routing/sms/agent.js          |    2 +-
 server/config/forked_routing/sms/index.js          |    2 +-
 server/config/forked_routing/sms/queue.js          |    2 +-
 server/config/forked_routing/sms/sendmail.js       |    2 +-
 server/config/forked_routing/sms/sendsms.js        |    2 +-
 server/config/history/history.js                   |    2 +-
 server/config/history/reportMove.js                |    2 +-
 server/config/imap/imap.js                         |    2 +-
 server/config/imap/index.js                        |    2 +-
 server/config/integrations/freshdesk.js            |    2 +-
 server/config/integrations/index.js                |    2 +-
 server/config/integrations/motionbar.js            |    2 +-
 server/config/integrations/salesforce.js           |    2 +-
 server/config/integrations/sugarcrm.js             |    2 +-
 server/config/integrations/zendesk.js              |    2 +-
 server/config/interval/index.js                    |    2 +-
 server/config/license/hardware.js                  |    2 +-
 server/config/license/index.js                     |    2 +-
 server/config/license/license.service.js           |    2 +-
 server/config/local.env.sample.js                  |    2 +-
 server/config/logger.js                            |    2 +-
 server/config/logger/index.js                      |    2 +-
 server/config/openchannel/custom.js                |    2 +-
 server/config/openchannel/index.js                 |    2 +-
 server/config/routing/agent.js                     |    2 +-
 server/config/routing/fidelity.js                  |    2 +-
 server/config/routing/queue.js                     |    2 +-
 server/config/routing/replyMail.js                 |    2 +-
 server/config/routing/scheduler.js                 |    2 +-
 server/config/routing/sendMail.js                  |    2 +-
 server/config/routing/sendSms.js                   |    2 +-
 server/config/routing/structure.js                 |    2 +-
 server/config/rpc/client.js                        |    2 +-
 server/config/rpc/index.js                         |    2 +-
 server/config/rpc/rpc.js                           |    2 +-
 server/config/scheduler/index.js                   |    2 +-
 server/config/scheduler/reports.js                 |    2 +-
 server/config/seed.js                              |    2 +-
 server/config/seedp.js                             |    2 +-
 server/config/sms/index.js                         |    2 +-
 server/config/sms/skebby.js                        |    2 +-
 server/config/sms/sms.js                           |    2 +-
 server/config/sms/twilio.js                        |    2 +-
 server/config/smtp/index.js                        |    2 +-
 server/config/smtp/smtp.js                         |    2 +-
 server/config/socketio.js                          |    2 +-
 server/config/tools/channelSpy.js                  |    2 +-
 server/config/tools/chatRoom.js                    |    2 +-
 server/config/tools/dashboard.js                   |    2 +-
 server/config/tools/faxAccount.js                  |    2 +-
 server/config/tools/faxRoom.js                     |    2 +-
 server/config/tools/index.js                       |    2 +-
 server/config/tools/interval.js                    |    2 +-
 server/config/tools/mailAccount.js                 |    2 +-
 server/config/tools/mailRoom.js                    |    2 +-
 server/config/tools/openchannelRoom.js             |    2 +-
 server/config/tools/smsRoom.js                     |    2 +-
 server/config/tools/system.js                      |    2 +-
 server/config/tools/user.js                        |    2 +-
 server/config/triggers/chat.js                     |    2 +-
 server/config/triggers/cm.js                       |    2 +-
 server/config/triggers/fax.js                      |    2 +-
 server/config/triggers/index.js                    |    2 +-
 server/config/triggers/jscripty.js                 |    2 +-
 server/config/triggers/mail.js                     |    2 +-
 server/config/triggers/openchannel.js              |    2 +-
 server/config/triggers/sms.js                      |    2 +-
 server/config/triggers/urlForward.js               |    2 +-
 server/config/triggers/util.js                     |    2 +-
 server/config/triggers/voice.js                    |    2 +-
 server/config/util/error.js                        |    2 +-
 server/config/util/index.js                        |    2 +-
 .../20160801125118-placeholder.js                  |    2 +-
 .../20160916135658-report-session.js               |    2 +-
 .../20160920170835-report_tdial.js                 |    2 +-
 .../20161005162141-report_tdial_history.js         |    2 +-
 .../20161102092931-report_member.js                |    2 +-
 .../20161103154020-report_square_history.js        |    2 +-
 .../20161104110653-report_square_history.js        |    2 +-
 .../20161130151446-report_integration_history.js   |    2 +-
 .../20161206170443-report_agent_history.js         |    2 +-
 .../20161209084712-report_sourceid.js              |    2 +-
 .../20161209140411-report_history.js               |    2 +-
 .../20161209171025-report_sourceid_index.js        |    2 +-
 ...20170126094809-report_square_details_history.js |    2 +-
 .../20170206131527-report_call.js                  |    2 +-
 .../20170207170653-report_call.js                  |    2 +-
 .../20170217111336-report_call_history.js          |    2 +-
 .../20170217153419-report_square_detail_history.js |    2 +-
 .../20170315164841-report_queue.js                 |    2 +-
 .../migrations-history/20170404155959-indexes.js   |    2 +-
 .../20170601132818-history_latin_to_utf8.js        |    2 +-
 server/routes.js                                   |    2 +-
 server/utils/report_build.js                       |    2 +-
 server/utils/report_extraction.js                  |    2 +-
 server/utils/voice_extension.js                    |    2 +-
 721 files changed, 844 insertions(+), 845 deletions(-)
 delete mode 100644 public/app/13562abb.app.js
 create mode 100644 public/app/7377769b.app.js

diff --git a/public/app/13562abb.app.js b/public/app/13562abb.app.js
deleted file mode 100644
index 02aed1e..0000000
--- a/public/app/13562abb.app.js
+++ /dev/null
@@ -1,126 +0,0 @@
-a.put("app/channels/chat/room/room.directive.html",'<div class="portlet light">\n  <div class="portlet-title">\n    <div class="caption">\n      <span data-ng-if="chatRoom" class="label label-sm label-default">{{chatRoom.status}}</span>\n      <span data-ng-if="chatRoom.ChatWebsite"> | </span>\n      <span data-ng-if="chatRoom.ChatWebsite" class="caption-subject font-green-sharp bold uppercase">{{chatRoom.ChatWebsite.name | truncate: 25: \'...\': true}}</span>\n    </div>\n    <div class="actions">\n      <button class="btn btn-icon-only btn-primary" data-ng-click="addAgent(chatRoom.id)" data-ng-disabled="chatRoom.status === \'CLOSED\'">\n        <i class="fa fa-user-plus"></i>\n      </button>\n      <button class="btn btn-icon-only" data-ng-class="{\'btn-success\':chatRoom.status !== \'CLOSED\',\'grey-cascade\':chatRoom.status === \'CLOSED\'}" data-ng-click="closeRoom(chatRoom.id)" data-ng-if="chatRoom.ChatVisitors.length" data-ng-disabled="chatRoom.status === \'CLOSED\' && chatRoom.disposition">\n        <i data-ng-class="{\'fa fa-upload\':chatRoom.status !== \'CLOSED\',\'icon-target\':chatRoom.status === \'CLOSED\'}"></i>\n      </button>\n      <a href="api/chat/rooms/{{chatRoom.id}}/export" target="_blank" class="btn btn-primary btn-icon-only" data-ng-if="chatRoom" title="{{\'APPLICATION_EXPORT\' | translate}} CSV">\n        <i class="fa fa-download"></i>\n      </a>\n      <button class="btn default btn-icon-only" data-ng-if="chatRoom && chatRoom.status !== \'CLOSED\'" data-ng-click="togglePanelLeft()" title="{{\'APPLICATION_RESIZE\' | translate}}">\n        <i ng-class="panelRight == \'col-md-12\' ? \'icon-size-actual\' : \'icon-size-fullscreen\'"></i>\n      </button>\n    </div>\n  </div>\n  <div class="portlet-body">\n<div class="row">\n  <div data-ng-class="panelLeft" data-ng-show="panelLeft">\n    <div class="portlet">\n      <div class="portlet-body">\n        <div class="portlet-title line">\n          <div class="form">\n            \x3c!-- START TAGS --\x3e\n            <div class="form-group">\n              <div class="row">\n                <div class="col-md-1">\n                  <a href="#" class="btn btn-icon-only">\n                    <i class="fa fa-tags" style="color: gray;"></i>\n                  </a>\n                </div>\n                <div class="col-md-11">\n                  <ui-select multiple data-ng-model="form.tags" theme="bootstrap" on-select="onChanged(chatRoom.id)" on-remove="onChanged(chatRoom.id)">\n                    <ui-select-match placeholder="Tags...">{{$item}}</ui-select-match>\n                    <ui-select-choices repeat="tag in tags | filter:$select.search" class="">\n                      {{tag}}\n                    </ui-select-choices>\n                  </ui-select>\n                </div>\n              </div>\n            </div>\n            \x3c!-- END TAGS --\x3e\n          </div>\n        </div>\n        <v-accordion class="vAccordion--default">\n          <v-pane data-ng-if="chatRoom.ChatVisitors.length" data-ng-repeat="chatVisitor in chatRoom.ChatVisitors" expanded="true">\n            <v-pane-header>\n              <ng-letter-avatar\n              height="40"\n              width="40"\n              data="{{chatRoom.ChatVisitor.fullname}}"\n              fontsize="25"\n              avatarcustombgcolor="#B0B0B0"\n              charCount="2"\n              avatarcustomborder="border:2px solid #EA4C61"\n              shape="round"></ng-letter-avatar>\n            </v-pane-header>\n            <v-pane-content>\n              {{\'APPLICATION_ROOM_ID\' | translate}}: <p>{{chatRoom.id}}</p>\n              {{\'APPLICATION_NAME\' | translate}}: <p>{{chatRoom.ChatVisitor.fullname}}</p>\n              {{\'APPLICATION_EMAIL\' | translate}}: <p><a data-ng-click="openContact(chatRoom.ChatVisitor.email)" href="">{{chatRoom.ChatVisitor.email}}</a></p>\n              <span data-ng-if="chatRoom.ChatVisitor.labelData1">{{chatRoom.ChatVisitor.labelData1}}: <p>{{chatRoom.ChatVisitor.data1}}</p></span>\n              <span data-ng-if="chatRoom.ChatVisitor.labelData2">{{chatRoom.ChatVisitor.labelData2}}: <p>{{chatRoom.ChatVisitor.data2}}</p></span>\n              <span data-ng-if="chatRoom.ChatVisitor.labelData3">{{chatRoom.ChatVisitor.labelData3}}: <p>{{chatRoom.ChatVisitor.data3}}</p></span>\n              {{\'APPLICATION_REMOTE_ADDRESS\' | translate}}: <p>{{chatRoom.ChatVisitor.remote_address}}</p>\n              {{\'APPLICATION_BROWSER\' | translate}}: <p>{{chatRoom.ChatVisitor.browser}}</p>\n              {{\'APPLICATION_REFERER\' | translate}}:<p>{{chatRoom.ChatVisitor.referer}} - {{enquiry.ChatWebsite.name}}</p>\n              {{\'APPLICATION_OS\' | translate}}: <p>{{chatRoom.ChatVisitor.os}}</p>\n            </v-pane-content>\n          </v-pane>\n\n          <v-pane data-ng-repeat="user in chatRoom.Users | filter:{ id: \'!\' + user.id}">\n            <v-pane-header>\n              <ng-letter-avatar\n              height="40"\n              width="40"\n              data="{{user.fullname}}"\n              fontsize="25"\n              avatarcustombgcolor="#B0B0B0"\n              avatarcustomborder="border:2px solid #3399CC"\n              charCount="2"\n              shape="round"></ng-letter-avatar>\n            </v-pane-header>\n            <v-pane-content>\n              {{\'APPLICATION_NAME\' | translate}}: <p>{{user.fullname}}</p>\n              {{\'APPLICATION_ROLE\' | translate}}: <p>{{user.role}}</p>\n              {{\'APPLICATION_INTERNAL\' | translate}}: <p>{{user.internal}}</p>\n              {{\'APPLICATION_EMAIL\' | translate}}: <p><a data-ng-href="mailto:{{user.email}}">{{user.email}}</a></p>\n            </v-pane-content>\n          </v-pane>\n        </v-accordion>\n      </div>\n    </div>\n  </div>\n  <div data-ng-class="panelRight">\n    <div class="note note-info" data-ng-if="chatRoom && chatRoom.status == \'CLOSED\'">\n      <h4 class="block"><i class="icon-info"></i> {{\'MESSAGE_CHAT_ROOM_CLOSED\' | translate}}!</h4>\n      <p>\n        <strong>{{\'MESSAGE_CHAT_ROOM_CLOSED_DETAILS\' | translate}}.</strong>\n      </p>\n      <hr>\n      <p>\n        <i class="icon-target"></i> {{\'APPLICATION_DISPOSITION\' | translate}}: <strong>{{chatRoom.disposition}}</strong>\n      </p>\n      <p>\n        <i class="icon-star"></i> {{\'APPLICATION_RATING\' | translate}}: <strong>{{chatRoom.rating | ucfirst}}</strong>\n      </p>\n      <p>\n        <i class="icon-note"></i> {{\'APPLICATION_RATING_MESSAGE\' | translate}}: <strong>{{chatRoom.ratingMessage}}</strong>\n      </p>\n      <p>\n        <i class="icon-calendar"></i> {{\'APPLICATION_UPDATED_AT\' | translate}}: <strong>{{chatRoom.updatedAt | date:\'medium\'}}</strong> (<span am-time-ago="chatRoom.updatedAt"></span>)\n      </p>\n    </div>\n    <div class="portlet light bordered">\n      <div class="portlet-body">\n        <div id="chat-box" schroll-bottom="chatRoom.ChatMessages">\n        <ul class="chats">\n          <li data-ng-repeat="message in chatRoom.ChatMessages" data-ng-class="message.UserId == user.id ? \'out\' : \'in\'">\n            <div class="avatar" data-ng-class="message.ChatVisitor ? \'pretty-avatar-v\' : \'pretty-avatar\'">\n              <ng-letter-avatar\n              data-ng-if="!message.ChatVisitor"\n              height="40"\n              width="40"\n              fontsize="25"\n              data="{{message.User.fullname}}"\n              avatarcustombgcolor="#B0B0B0"\n              avatarcustomborder="border:2px solid #3399CC"\n              charCount="2"\n              shape="round"></ng-letter-avatar>\n              <ng-letter-avatar\n              data-ng-if="message.ChatVisitor"\n              height="40"\n              width="40"\n              fontsize="25"\n              data="{{message.ChatVisitor.fullname}}"\n              avatarcustombgcolor="#B0B0B0"\n              avatarcustomborder="border:2px solid #EA4C61"\n              charCount="2"\n              shape="round"></ng-letter-avatar>\n            </div>\n            <div class="message">\n              <span class="arrow"></span>\n              <a data-ng-click="message.ChatVisitor && openContact(chatRoom.ChatVisitor.email)" class="name">{{message.User.fullname || message.ChatVisitor.fullname}} </a>\n              <i class="icon-calendar" title="{{message.createdAt | date:\'MMM d, y HH:mm:ss\'}}"></i> <span am-time-ago="message.createdAt"></span>\n              <ng-emoticons emoticons-data="message.body"></ng-emoticons>\n            </div>\n          </li>\n          <li data-ng-if="chatRoom.status === \'CLOSED\'">\n            <div class="media-body" style="text-align: center;">\n              <h5 class="media-heading"><i>{{\'MESSAGE_CHAT_CLOSED\' | translate | lowercase}}</i></h5>\n            </div>\n          </li>\n        </ul>\n      </div>\n      <div class="chat-form" data-ng-if="chatRoom && isMyRoom(chatRoom.Users)">\n        <div class="input-cont">\n          <input class="form-control" type="text" placeholder="Type a message here..." ng-enter="sendMessage()" data-ng-model="message.body" data-ng-disabled="chatRoom.status === \'CLOSED\'"/>\n        </div>\n        <div class="btn-cont">\n          <span class="arrow"></span>\n          <a href="#" class="btn blue icn-only" data-ng-disabled="chatRoom.status === \'CLOSED\'" data-ng-click="sendMessage()">\n            <i class="fa fa-check icon-white"></i>\n          </a>\n        </div>\n      </div>\n      <div class="form-group chat-canned-answer-div" data-ng-if="chatRoom.status !== \'CLOSED\'" data-ng-class="{\'has-error\': forms.compose.subject.$invalid && forms.compose.$submitted}">\n        <div class="row">\n          <div class="col-md-1">\n            <a href="#" class="btn btn-icon-only">\n              <i class="fa fa-magic" style="color: gray;"></i>\n            </a>\n          </div>\n          <div class="col-md-11">\n            <input type="text"\n            data-ng-model="modelOptions.selectedAnswer"\n            uib-typeahead="key for key in getAnswers($viewValue)"\n            placeholder="Canned answers.."\n            typeahead-loading="loadingLocations"\n            typeahead-no-results="noResults"\n            typeahead-on-select="onSelect($item)"\n            class="form-control">\n            <i ng-show="loadingLocations" class="glyphicon glyphicon-refresh"></i>\n            <div ng-show="noResults">\n              <i class="glyphicon glyphicon-remove"></i> No Results Found\n            </div>\n            <span data-ng-show="forms.compose.subject.$invalid && forms.compose.$submitted" class="help-block help-block-error">\n'+"              <strong>{{'APPLICATION_WARNING' | translate}}!</strong> {{'MESSAGE_REQUIRED_FIELD' | translate}}.\n            </span>\n          </div>\n        </div>\n\n      </div>\n    </div>\n  </div>\n</div>\n</div>\n</div>\n"),a.put("app/channels/chat/room/room.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row" data-ng-init="initView()">\n  <div class="col-md-12">\n    <div class="page-bar">\n      <ul class="page-breadcrumb">\n        <li>\n          <i class="icon-rocket"></i>\n          <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n          <i class="fa fa-angle-right"></i>\n        </li>\n        <li>\n          <i class="fa fa-spinner"></i>\n          <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n          <i class="fa fa-angle-right"></i>\n        </li>\n        <li>\n          <i class="icon-bubble"></i>\n          <a href="#">{{ \'APPLICATION_CHAT\' | translate }}</a>\n          <i class="fa fa-angle-right"></i>\n        </li>\n        <li>\n          <i class="fa fa-users"></i>\n          <a href="#">{{ \'APPLICATION_INTERACTIONS\' | translate }}</a>\n        </li>\n      </ul>\n    </div>\n\n    <div class="row inbox">\n      <div class="col-md-2">\n        <ul class="inbox-nav margin-bottom-10">\n          <li data-ng-class="{active: $state.includes(\'main.channels.chat.room.internal\')}">\n            <a href="/channels/chat/room/internal/list" class="btn">\n              {{\'APPLICATION_INTERNAL\' | translate}}\n            </a>\n            <b></b>\n          </li>\n          <li data-ng-class="{active: $state.includes(\'main.channels.chat.room.external\')}">\n            <a href="/channels/chat/room/external/list" class="btn">\n              {{\'APPLICATION_EXTERNAL\' | translate}}\n            </a>\n            <b></b>\n          </li>\n          <li data-ng-class="{active: $state.includes(\'main.channels.chat.room.group\')}">\n            <a href="/channels/chat/room/group/list" class="btn">\n              {{\'APPLICATION_GROUPS\' | translate}}\n            </a>\n            <b></b>\n          </li>\n        </ul>\n      </div>\n\n      <div class="col-md-10">\n        <div class="room-content">\n          <div ui-view></div>\n        </div>\n      </div>\n    </div>\n  </div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/channels/chat/room/template.html",'<div ng-bind-html="neText" ne-hljs></div>\n<div class="ne-video" ng-if="video.host" class="fade">\n  <div class="ne-video-preview" ng-hide="nePlayVideo || !options.video.details">\n    <div class="ne-video-thumb" ng-click="nePlayVideo=!nePlayVideo">\n      <img ng-src="{{video.thumbnail}}" alt=""/>\n      <i class="fa fa-play-circle-o"></i>\n    </div>\n    <div class="ne-video-detail">\n      <div class="ne-video-title">\n        <a ng-href="{{video.url}}">{{video.title}}</a>\n      </div>\n      <div class="ne-video-desc">\n        {{video.description}}\n      </div>\n      <div class="ne-video-stats">\n        <span><i class="fa fa-eye"></i> {{video.views}}</span>\n        <span><i class="fa fa-heart"></i> {{video.likes}}</span>\n      </div>\n    </div>\n  </div>\n  <div class="ne-video-player" ng-if="nePlayVideo || !(options.video.details)">\n    <iframe ng-src="{{video.embedSrc}}" frameBorder="0" width="{{video.width}}" height="{{video.height}}" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>\n  </div>\n</div>\n<div class="ne-video" ng-if="video.basic">\n  <div class="ne-video-player">\n    <div class="player">\n      <video ng-src="{{video.basic}}" controls></video>\n    </div>\n  </div>\n</div>\n<div ng-init="neImageLong=false" ng-class="{false:\'ne-image\', true:\'ne-image ne-image-long\'}[neImageLong]"\nng-if="image.url">\n<div class="ne-image-wrapper">\n  <img ng-src="{{image.url}}" ng-click="neImageLong=!neImageLong" alt=""/>\n</div>\n</div>\n\x3c!-- <div class="ne-pdf" ng-if="pdf.url">\n  <div class="ne-pdf-preview" ng-hide="neShowPdf">\n    <div class="ne-pdf-icon">\n      <i class="fa fa-file-pdf-o"></i>\n    </div>\n    <div class="ne-pdf-detail" >\n      <div class="ne-pdf-title">\n        <a href="">{{pdf.url}}</a>\n      </div>\n      <div class="ne-pdf-view">\n\n        <button><i class="fa fa-download"></i> <a ng-href="{{pdf.url}}" target="_blank">Download</a></button>\n        <button ng-click="neShowPdf=!neShowPdf"><i class="fa fa-eye"></i> View PDF</button>\n\n      </div>\n    </div>\n  </div>\n  <div class="ne-pdf-viewer" ng-if="neShowPdf" ng-show="neShowPdf">\n    <iframe ng-src="{{pdf.url}}" frameBorder="0"></iframe>\n  </div>\n\n</div>\n<div class="ne-audio" ng-if="audio.url">\n  <audio ng-src="{{audio.url}}" controls></audio>\n</div> --\x3e\n'),a.put("app/channels/chat/room/view.tags.modal.html",'<div class="modal-header" data-ng-init="initModal()">\n  <h3 class="modal-title">{{ \'APPLICATION_TAGS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  \x3c!-- START TRANSPORT --\x3e\n  <div class="form-group">\n    <form name="form" novalidate>\n      \x3c!-- START TAGS --\x3e\n      <div class="form-group">\n        <ui-select multiple data-ng-model="item.tags" theme="bootstrap">\n          <ui-select-match placeholder="{{\'APPLICATION_TAGS\' | translate}}">{{$item}}</ui-select-match>\n          <ui-select-choices repeat="tag in tags | filter: $select.search">\n            {{tag}}\n          </ui-select-choices>\n        </ui-select>\n      </div>\n      \x3c!-- END TAGS --\x3e\n    </form>\n  </div>\n  \x3c!-- END TRANSPORT --\x3e\n</div>\n<div class="modal-footer">\n  <button type="button" class="btn" data-ng-class="button.class" data-ng-click="button.click()"data-ng-repeat="button in modal.buttons">{{button.text | translate}}</button>\n  \x3c!-- <button class="btn btn-success" type="button" data-ng-click="ok()">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" data-ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button> --\x3e\n</div>\n'),a.put("app/channels/chat/visitor/list/list.html",'<div class="row">\n\t<div class="col-md-12">\n\t\t\t<div class="page-bar">\n\t\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<i class="fa fa-spinner"></i>\n\t\t\t\t\t\t<a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n\t\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<i class="icon-bubble"></i>\n\t\t\t\t\t\t<a href="#">{{ \'APPLICATION_CHAT\' | translate }}</a>\n\t\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<i class="icon-question"></i>\n\t\t\t\t\t\t<a href="/channels/chat/visitors/list">{{ \'APPLICATION_VISITORS\' | translate }}</a>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t</div>\n</div>\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row">\n\t<div class="col-md-12">\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t<div class="portlet light bordered" data-ng-init="initView()">\n\t\t\t<div class="portlet-title">\n\t\t\t\t<div class="caption font-green-sharp">\n\t\t\t\t\t<i class="icon-question font-green-sharp"></i>\n\t\t\t\t\t<span class="caption-subject">{{ \'APPLICATION_VISITORS\' | translate }}</a> </span>\n\t\t\t\t</div>\n\t\t\t\t<div class="actions">\n\t\t\t\t\t<div class="btn-group" data-ng-show="id.length">\n\t\t\t\t\t\t<a class="btn red" href="#" data-ng-click="deleteItems()">\n\t\t\t\t\t\t\t<i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t<div ui-grid="gridOptions"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter ui-grid-draggable-rows class="ui-grid">\n\t\t\t\t\t<div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/channels/chat/visitor/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="fa fa-spinner"></i>\n\t\t\t\t\t<a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-bubble"></i>\n\t\t\t\t\t<a href="#">{{ \'APPLICATION_CHAT\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-question"></i>\n\t\t\t\t\t<a href="/channels/chat/visitors/list">{{ \'APPLICATION_VISITORS\' | translate }}</a>\n\t\t\t\t\t<i  class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li data-ng-show="chatVisitor">\n\t\t\t\t\t<a href="#">{{chatVisitor.fullname}}</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t<div class="profile-sidebar">\n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t<div class="portlet light profile-sidebar-portlet">\n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t<div class="profile-image">\n\t\t\t\t\t<img data-ng-src="assets/images/media/visitor.png" class="img-responsive">\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t<div class="profile-usertitle">\n\t\t\t\t\t<div class="profile-usertitle-name">\n\t\t\t\t\t\t{{chatVisitor.fullname}}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t<div class="profile-usermenu">\n\t\t\t\t\t<ul class="nav">\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.channels.chat.visitors.view.profile\')}">\n\t\t\t\t\t\t\t<a data-ng-href="/channels/chat/visitors/view/{{chatVisitor.id}}/profile">\n\t\t\t\t\t\t\t<i class="icon-tag"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_PROFILE\' | translate}} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t</div>\n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t</div>\n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t<div ui-view class="profile-content">\n\t\t</div>\n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/channels/chat/visitor/view/view.profile.html",'<div class="row">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_PROFILE\' | translate}}</span>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body" data-ng-init="initView()">\n\t\t\t\t<div>\n\t\t\t\t\t<h4 class="profile-desc-title">{{chatVisitor.email}}</h4>\n\t\t\t\t\t<div class="margin-top-20 profile-desc-link">\n\t\t\t\t\t\t<i class="icon-magnifier"></i>\n\t\t\t\t\t\t<a href="#" class="inactive-link">{{chatVisitor.origin}}</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="margin-top-20 profile-desc-link">\n\t\t\t\t\t\t<i class="icon-globe"></i>\n\t\t\t\t\t\t<a href="#" class="inactive-link">{{chatVisitor.remote_address}}</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="margin-top-20 profile-desc-link">\n\t\t\t\t\t\t<i class="icon-user"></i>\n\t\t\t\t\t\t<a href="#" class="inactive-link">{{chatVisitor.user_agent | truncate: 50: \'...\'}}</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="margin-top-20 profile-desc-link">\n\t\t\t\t\t\t<i class="icon-flag"></i>\n\t\t\t\t\t\t<a href="#" class="inactive-link">{{chatVisitor.visitor_language}}</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="margin-top-20 profile-desc-link">\n\t\t\t\t\t\t<i class="icon-home"></i>\n\t\t\t\t\t\t<a href="#" class="inactive-link">{{chatVisitor.referer}}</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="margin-top-20 profile-desc-link">\n\t\t\t\t\t\t<i class="icon-cursor"></i>\n\t\t\t\t\t\t<a href="#" class="inactive-link">{{chatVisitor.browser}}</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="margin-top-20 profile-desc-link">\n\t\t\t\t\t\t<i class="icon-screen-desktop"></i>\n\t\t\t\t\t\t<a href="#" class="inactive-link">{{chatVisitor.os}}</a>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/channels/chat/website/list/list.html",'<div class="row">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="fa fa-spinner"></i>\n\t\t\t\t\t<a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-bubble"></i>\n\t\t\t\t\t<a href="#">{{ \'APPLICATION_CHAT\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-globe"></i>\n\t\t\t\t\t<a href="#">{{ \'APPLICATION_WEB_SITES\' | translate }}</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\t</div>\n</div>\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row">\n\t<div class="col-md-12">\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t<div class="portlet light bordered" data-ng-init="initView()">\n\t\t\t<div class="portlet-title">\n\t\t\t\t<div class="caption font-green-sharp">\n\t\t\t\t\t<i class="icon-notebook font-green-sharp"></i>\n\t\t\t\t\t<span class="caption-subject">{{ \'APPLICATION_WEB_SITES\' | translate }}</a> </span>\n\t\t\t\t</div>\n\t\t\t\t<div class="actions">\n\t\t\t\t\t<div class="btn-group" data-ng-show="id.length">\n\t\t\t\t\t\t<a class="btn red" href="#" data-ng-click="deleteItems()">\n\t\t\t\t\t\t\t<i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="btn-group">\n\t\t\t\t\t\t<a class="btn green-jungle" href="/channels/chat/websites/wizard">\n\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_WEB_SITE\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t<div ui-grid="gridOptions"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter ui-grid-draggable-rows class="ui-grid">\n\t\t\t\t\t<div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/channels/chat/website/view/action/list/list.html",'<div class="row" data-ng-init="initActons()">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_ACTIONS\' | translate}}</span>\n\t\t\t\t</div>\n\t\t\t\t<div class="actions">\n\t\t\t\t\t<div class="btn-group" data-ng-show="id.length">\n\t\t\t\t\t\t<a class="btn red" href="#" data-ng-click="deleteItems()">\n\t\t\t\t\t\t\t<i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="btn-group">\n\t\t\t\t\t\t<a class="btn green-jungle" href="/channels/chat/websites/view/{{chatWebsite.id}}/actions/wizard" data-toggle="dropdown">\n\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACTION\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t<div ui-grid="gridOptions"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter ui-grid-draggable-rows class="ui-grid">\n\t\t\t\t\t<div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),
-a.put("app/channels/chat/website/view/form/view/view.html",'<div class="row" data-ng-init="getChatWebsiteFields(\'online\');getChatWebsiteFields(\'offline\');">\n  <div class="col-md-12">\n    <div class="portlet light">\n      <div class="portlet-title tabbable-line">\n        <ul class="nav nav-tabs">\n          <li class="active">\n            <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_ONLINE\' | translate}}</a>\n          </li>\n          <li>\n            <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_OFFLINE\' | translate}}</a>\n          </li>\n        </ul>\n      </div>\n    <div class="portlet-body">\n      <div class="row">\n        <div class="col-md-12">\n          <div class="tab-content">\n            <div class="tab-pane active" id="tab_1_1">\n              <div class="row">\n                <div class="col-md-6">\n                  <div class="portlet">\n                    <div class="portlet-title">\n                      <div class="caption font-green-sharp">\n                        <i class="icon-book-open font-green-sharp"></i>\n                        <span class="caption-subject">{{ \'APPLICATION_FIELDS_SELECTED\' | translate }}</span>\n                      </div>\n                      <div class="actions">\n                        <div class="btn-group">\n                          <a class="btn green-jungle" href="#" data-ng-click="saveForm(\'online\');">\n                            <i class="fa fa-check"></i> {{ \'APPLICATION_SAVE\' | translate }}\n                          </a>\n                        </div>\n                      </div>\n                    </div>\n                    <div class="portlet-body">\n                      <div fb-builder="online"></div>\n                    </div>\n                  </div>\n                </div>\n                <div class="col-md-6">\n                  <div class="portlet">\n                    <div class="portlet-title">\n                      <div class="caption font-green-sharp">\n                        <i class="icon-book-open font-green-sharp"></i>\n                        <span class="caption-subject">{{ \'APPLICATION_FIELDS_AVAILABLE\' | translate }}</span>\n                      </div>\n                    </div>\n                    <div class="portlet-body">\n                      <div fb-components></div>\n                    </div>\n                  </div>\n                </div>\n              </div>\n            </div>\n            <div class="tab-pane" id="tab_1_2">\n              <div class="row">\n                <div class="col-md-6">\n                  <div class="portlet">\n                    <div class="portlet-title">\n                      <div class="caption font-green-sharp">\n                        <i class="icon-book-open font-green-sharp"></i>\n                        <span class="caption-subject">{{ \'APPLICATION_FIELDS_SELECTED\' | translate }}</span>\n                      </div>\n                      <div class="actions">\n                        <div class="btn-group">\n                          <a class="btn green-jungle" href="#" data-ng-click="saveForm(\'offline\');">\n                            <i class="fa fa-check"></i> {{ \'APPLICATION_SAVE\' | translate }}\n                          </a>\n                        </div>\n                      </div>\n                    </div>\n                    <div class="portlet-body">\n                      <div fb-builder="offline"></div>\n                    </div>\n                  </div>\n                </div>\n                <div class="col-md-6">\n                  <div class="portlet">\n                    <div class="portlet-title">\n                      <div class="caption font-green-sharp">\n                        <i class="icon-book-open font-green-sharp"></i>\n                        <span class="caption-subject">{{ \'APPLICATION_FIELDS_AVAILABLE\' | translate }}</span>\n                      </div>\n                    </div>\n                    <div class="portlet-body">\n                      <div fb-components></div>\n                    </div>\n                  </div>\n                </div>\n              </div>\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n  </div>\n</div>\n</div>\n'),a.put("app/channels/chat/website/view/hooks/view/view.html",'<div class="row" data-ng-init="initView()">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_HOOKS\' | translate}}</span>\n\t\t\t\t</div>\n\t\t\t\t<ul class="nav nav-tabs">\n\t\t\t\t\t<li class="active">\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_ACCEPT\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li >\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_REJECT\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li >\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_CLOSE\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t<div class="tab-content">\n\t\t\t\t\t\x3c!-- ACCEPT TAB --\x3e\n\t\t\t\t\t<div class="tab-pane active" id="tab_1_1">\n\t\t\t\t\t\t<form name="forms.accept" data-ng-submit="forms.accept.$valid && updateItem()" novalidate>\n\t\t\t\t\t\t\t\x3c!-- START ACCEPT URL --\x3e\n\t\t\t\t\t\t\t\t<div class="row">\n\t\t\t\t\t\t\t\t\t<div class="form-group col-md-4" data-ng-class="{\'has-error\': (forms.accept.method.$touched || forms.accept.$submitted) && forms.accept.method.$invalid}">\n\t\t\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_METHOD\' | translate}}</label>\n\t\t\t\t\t\t\t\t\t\t<ui-select data-ng-model="account.acceptMethod" name="method" theme="bootstrap">\n\t\t\t\t\t\t\t\t\t\t\t<ui-select-match placeholder="{{\'APPLICATION_METHOD\' | translate}}">{{$select.selected.name | uppercase}}</ui-select-match>\n\t\t\t\t\t\t\t\t\t\t\t<ui-select-choices repeat="type.value as type in types | filter: $select.search">\n\t\t\t\t\t\t\t\t\t\t\t\t<div ng-bind-html="type.name | highlight: $select.search | uppercase" ></div>\n\t\t\t\t\t\t\t\t\t\t\t</ui-select-choices>\n\t\t\t\t\t\t\t\t\t\t</ui-select>\n\t\t\t\t\t\t\t\t\t\t<span data-ng-show="(forms.accept.method.$touched || forms.accept.$submitted) && forms.accept.method.$invalid && forms.accept.method.$error.required" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t<div  class="form-group col-md-8" data-ng-class="{\'has-error\': (forms.accept.url.$touched || forms.accept.$submitted) && forms.accept.url.$invalid}">\n\t\t\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_URL\' | translate}}</label>\n\t\t\t\t\t\t\t\t\t\t<input type="url" name="url" placeholder="{{\'APPLICATION_URL\' | translate}}" class="form-control" data-ng-model="account.acceptUrl"  ng-required="account.acceptMethod"/>\n\t\t\t\t\t\t\t\t\t\t<span data-ng-show="(forms.accept.url.$touched || forms.accept.$submitted) && forms.accept.url.$invalid && forms.accept.url.$error.required" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\x3c!-- END ACCEPT URL--\x3e\n\t\t\t\t\t\t\t\t\x3c!-- START ACTIONS--\x3e\n\t\t\t\t\t\t\t\t\x3c!-- START PAUSE --\x3e\n\t\t\t\t\t\t\t\t<div class="row" ng-repeat = "action in account.actions">\n\t\t\t\t\t\t\t\t\t<div  ng-switch="action.action">\n\t\t\t\t\t\t\t\t\t\t\t<div ng-switch-when="pause">\n\t\t\t\t\t\t\t\t\t\t\t\t<div  class="form-group col-md-4">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_PAUSE\' | translate}}</label></br>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tbs-switch\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdata-ng-change="resetActionData(action)"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdata-ng-model="action.enabled"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype="checkbox"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tswitch-active="{{ isActive }}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tswitch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tswitch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tswitch-on-color="{{ onColor }}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tswitch-off-color="{{ offColor }}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tswitch-animate="{{ animate }}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tswitch-size="{{ size }}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tswitch-label="{{ label }}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tswitch-icon="{{ icon }}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tswitch-radio-off="{{ radioOff }}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tswitch-label-width="{{ labelWidth }}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tswitch-handle-width="{{ handleWidth }}">\n\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div ng-if="action.enabled" class="form-group col-md-8">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_TYPE\' | translate}}</label>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ui-select  name="action" data-ng-model="action.type"  theme="bootstrap" >\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ui-select-match placeholder="{{\'APPLICATION_TYPE\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ui-select-choices repeat=" pause.name as pause in pauses | filter: $select.search">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div ng-bind-html="pause.name | highlight: $select.search | uppercase" ></div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ui-select-choices>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ui-select>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t  \t</div>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\x3c!-- END ACTION --\x3e\n\t\t\t\t\t\t\t\t<input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END ACCEPT TAB --\x3e\n\t\t\t\t\t\x3c!-- START REJECT TAB --\x3e\n\t\t\t\t\t<div class="tab-pane" id="tab_1_2">\n\t\t\t\t\t\t<form name="forms.reject" data-ng-submit="forms.reject.$valid && updateItem()" novalidate>\n\t\t\t\t\t\t\t\x3c!-- START REJECT URL --\x3e\n\t\t\t\t\t\t\t<div class="row">\n\t\t\t\t\t\t\t\t<div class="form-group col-md-4" data-ng-class="{\'has-error\': (forms.reject.method.$touched || forms.reject.$submitted) && forms.reject.method.$invalid}">\n\t\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_METHOD\' | translate}}</label>\n\t\t\t\t\t\t\t\t\t<ui-select data-ng-model="account.rejectMethod" name="method" theme="bootstrap" >\n\t\t\t\t\t\t\t\t\t\t<ui-select-match placeholder="{{\'APPLICATION_METHOD\' | translate}}">{{$select.selected.name | uppercase}}</ui-select-match>\n\t\t\t\t\t\t\t\t\t\t<ui-select-choices repeat="type.value as type in types | filter: $select.search">\n\t\t\t\t\t\t\t\t\t\t\t<div ng-bind-html="type.name | highlight: $select.search | uppercase" ></div>\n\t\t\t\t\t\t\t\t\t\t</ui-select-choices>\n\t\t\t\t\t\t\t\t\t</ui-select>\n\t\t\t\t\t\t\t\t\t<span data-ng-show="(forms.reject.method.$touched || forms.reject.$submitted) && forms.reject.method.$invalid && forms.reject.method.$error.required" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="form-group col-md-8" data-ng-class="{\'has-error\': (forms.reject.url.$touched || forms.reject.$submitted) && forms.reject.url.$invalid}">\n\t\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_URL\' | translate}}</label>\n\t\t\t\t\t\t\t\t\t<input type="url" name="url" placeholder="{{\'APPLICATION_URL\' | translate}}" class="form-control" data-ng-model="account.rejectUrl" ng-required="account.rejectMethod"/>\n\t\t\t\t\t\t\t\t\t<span data-ng-show="(forms.reject.url.$touched || forms.reject.$submitted) && forms.reject.url.$invalid && forms.reject.url.$error.required" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t\t\x3c!-- END REJECT URL --\x3e\n\t\t\t\t\t\t\t\t<input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END REJECT TAB --\x3e\n\t\t\t\t\t\x3c!-- START CLOSE TAB --\x3e\n\t\t\t\t\t<div class="tab-pane" id="tab_1_3">\n\t\t\t\t\t\t<form name="forms.close" data-ng-submit="forms.close.$valid && updateItem()" novalidate>\n\t\t\t\t\t\t\t<div class="row">\n\t\t\t\t\t\t\t\t<div class="form-group col-md-4" data-ng-class="{\'has-error\': (forms.close.method.$touched || forms.close.$submitted) && forms.close.method.$invalid}">\n\t\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_METHOD\' | translate}}</label>\n\t\t\t\t\t\t\t\t\t<ui-select data-ng-model="account.closeMethod" name="method" theme="bootstrap" >\n\t\t\t\t\t\t\t\t\t\t<ui-select-match placeholder="{{\'APPLICATION_METHOD\' | translate}}">{{$select.selected.name | uppercase}}</ui-select-match>\n\t\t\t\t\t\t\t\t\t\t<ui-select-choices repeat="type.value as type in types | filter: $select.search">\n\t\t\t\t\t\t\t\t\t\t\t<div ng-bind-html="type.name | highlight: $select.search | uppercase" ></div>\n\t\t\t\t\t\t\t\t\t\t</ui-select-choices>\n\t\t\t\t\t\t\t\t\t</ui-select>\n\t\t\t\t\t\t\t\t\t<span data-ng-show="(forms.close.method.$touched || forms.close.$submitted) && forms.close.method.$invalid && forms.close.method.$error.required" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="form-group col-md-8" data-ng-class="{\'has-error\': (forms.close.url.$touched || forms.close.$submitted) && forms.close.url.$invalid}">\n\t\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_URL\' | translate}}</label>\n\t\t\t\t\t\t\t\t\t<input type="url" name="url" placeholder="{{\'APPLICATION_URL\' | translate}}" class="form-control" data-ng-model="account.closeUrl" ng-required="account.closeMethod"/>\n\t\t\t\t\t\t\t\t\t<span data-ng-show="(forms.close.url.$touched || forms.close.$submitted) && forms.close.url.$invalid && forms.close.url.$error.required" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END CLOSE TAB --\x3e\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/channels/chat/website/view/proactive/list/list.create.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{title}}</h3>\n</div>\n<div class="modal-body">\n  <form name="form" novalidate>\n\n    \x3c!-- START NAME --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.name.$touched || form.$submitted) && form.name.$invalid}">\n      <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n      <span data-ng-show="(form.name.$touched || form.$submitted) && form.name.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END NAME --\x3e\n\n    \x3c!-- START TYPE --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.type.$touched || form.$submitted) && form.type.$invalid}">\n      <label class="control-label">{{\'APPLICATION_TYPE\' | translate}}</label>\n      <ui-select name="type" ng-model="item.type" theme="bootstrap" ng-disabled="disabled">\n        <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n        <ui-select-choices repeat="item.type as item in possibleType | filter: $select.search">\n          <div ng-bind-html="item.title | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n    </div>\n    \x3c!-- END TYPE --\x3e\n\n    \x3c!-- START SELECTOR --\x3e\n    <div class="form-group" data-ng-if="item.type === \'mouseOver\'" data-ng-class="{\'has-error\': (form.selector.$touched || form.$submitted) && form.selector.$invalid}">\n      <label class="control-label">{{\'APPLICATION_SELECTOR\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="selector" placeholder="{{\'APPLICATION_SELECTOR\' | translate}}" class="form-control" data-ng-model="item.selector" required/>\n      <span data-ng-show="(form.name.$touched || form.$submitted) && form.name.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END SELECTOR --\x3e\n\n    \x3c!-- START TIMEOUT --\x3e\n    <div class="form-group" data-ng-if="item.type === \'timeout\'" data-ng-class="{\'has-error\': (form.timeout.$touched || form.$submitted) && form.timeout.$invalid}">\n      <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="number" name="timeout" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}}" class="form-control" data-ng-model="item.timeout" min="0" required/>\n      <span data-ng-show="(form.name.$touched || form.$submitted) && form.name.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END TIMEOUT --\x3e\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="save()" ng-disabled="form.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/channels/chat/website/view/proactive/list/list.html",'<div class="row" data-ng-init="initProactiveActions()">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_PROACTIVE_ACTIONS\' | translate}}</span>\n\t\t\t\t</div>\n\t\t\t\t<div class="actions">\n\t\t\t\t\t<div class="btn-group" data-ng-show="id.length">\n\t\t\t\t\t\t<a class="btn red" href="#" data-ng-click="deleteItems()">\n\t\t\t\t\t\t\t<i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="btn-group">\n\t\t\t\t\t\t<a class="btn green-jungle" href="#" data-toggle="dropdown" data-ng-click="createItem()">\n\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_PROACTIVE_ACTION\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t<div ui-grid="gridOptions"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter ui-grid-draggable-rows class="ui-grid">\n\t\t\t\t\t<div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/channels/chat/website/view/setting/view/view.html",'<div class="row">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_SETTINGS\' | translate}}</span>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body" data-ng-init="initView()">\n\t\t\t\t\t\t<form name="forms.info" data-ng-submit="forms.info.$valid && updateItemChatWebsite()" novalidate>\n\t\t\t\t\t\t\t\x3c!-- START LIST --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-if="license.cm">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_LIST\' | translate}}</label>\n\t\t\t\t\t\t\t\t\t<div class="input-group">\n\n\t\t\t\t\t\t\t\t\t\t<ui-select data-ng-model="chatWebsite.ListId" name="list" theme="bootstrap">\n\t\t\t\t\t\t\t\t\t\t\t<ui-select-match placeholder="{{\'APPLICATION_LIST\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t\t\t\t\t\t\t\t\t\t\t<ui-select-choices repeat="list.id as list in lists | filter: $select.search">\n\t\t\t\t\t\t\t\t\t\t\t\t<div ng-bind-html="list.name | highlight: $select.search"></div>\n\t\t\t\t\t\t\t\t\t\t\t</ui-select-choices>\n\t\t\t\t\t\t\t\t\t\t</ui-select>\n\n\t\t\t\t\t\t\t\t\t\t<span class="input-group-btn">\n\t\t\t\t\t\t\t\t\t\t\t<button type="button" data-ng-click="chatWebsite.ListId = null" class="btn btn-default">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class="glyphicon glyphicon-trash"></span>\n\t\t\t\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t\t\t\t</span>\n\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END LIST --\x3e\n\t\t\t\t\t\t\t<input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n\t\t\t\t\t\t</form>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),
-a.put("app/contactmanager/contact/list/copy.modal.html",'<div class="modal-header" data-ng-init="getLists()">\n  <h3 class="modal-title">{{ \'APPLICATION_COPY_CONTACT\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <form name="forms.copy" novalidate>\n        \x3c!-- START LIST --\x3e\n        <div class="form-group" data-ng-class="{\'has-error\': forms.csv.ListId.$invalid && forms.csv.$submitted}">\n          <label class="control-label">{{\'APPLICATION_LIST\' | translate}}</label>\n          <ui-select data-ng-model="item.ListId" theme="bootstrap" name="ListId" data-ng-disabled="disabled" data-ng-change="getCustomFields()" required>\n            <ui-select-match placeholder="{{ \'APPLICATION_LIST\' | translate }}">{{$select.selected.name}}</ui-select-match>\n            <ui-select-choices repeat="list.id as list in lists | filter: $select.search">\n              <div ng-bind-html="list.name | highlight: $select.search"></div>\n            </ui-select-choices>\n          </ui-select>\n          <span data-ng-show="forms.csv.ListId.$invalid && forms.csv.$submitted" class="help-block help-block-error">\n            <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n          </span>\n        </div>\n        \x3c!-- END LIST --\x3e\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.copy.$invalid || !forms.copy.ListId">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/contactmanager/contact/list/import.modal.html",'<div class="modal-header" data-ng-init="getLists();getCompanies();">\n  <h3 class="modal-title">{{ \'APPLICATION_IMPORT_FROM_CSV\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <form name="forms.csv" novalidate>\n    <div class="row">\n      <div class="col-md-6">\n        \x3c!-- START LIST --\x3e\n        <div class="form-group" data-ng-class="{\'has-error\': forms.csv.ListId.$invalid && forms.csv.$submitted}">\n          <label class="control-label">{{\'APPLICATION_LIST\' | translate}}</label>\n          <ui-select data-ng-model="item.ListId" theme="bootstrap" name="ListId" data-ng-disabled="disabled" data-ng-change="getCustomFields()">\n            <ui-select-match placeholder="{{ \'APPLICATION_LIST\' | translate }}">{{$select.selected.name}}</ui-select-match>\n            <ui-select-choices repeat="list.id as list in lists | filter: $select.search">\n              <div ng-bind-html="list.name | highlight: $select.search"></div>\n            </ui-select-choices>\n          </ui-select>\n          <span data-ng-show="forms.csv.ListId.$invalid && forms.csv.$submitted" class="help-block help-block-error">\n            <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n          </span>\n        </div>\n        \x3c!-- END LIST --\x3e\n\n        \x3c!-- START FIRSTNAME --\x3e\n        <div class="form-group" data-ng-class="{\'has-error\': (forms.csv.firstName.$touched || forms.general.$submitted) && forms.csv.firstName.$invalid}">\n          <label class="control-label">{{\'APPLICATION_FIRSTNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n          <ui-select data-ng-model="item.firstName" theme="bootstrap" name="firstName" data-ng-disabled="disabled" required>\n            <ui-select-match allow-clear placeholder="{{ \'APPLICATION_FIRSTNAME\' | translate }}">{{$select.selected}}</ui-select-match>\n            <ui-select-choices repeat="index in indexes | filter: $select.search">\n              <div ng-bind-html="index | highlight: $select.search"></div>\n            </ui-select-choices>\n          </ui-select>\n          <span data-ng-show="(forms.csv.firstName.$touched || forms.csv.$submitted) && forms.csv.firstName.$error.required" class="help-block help-block-error">\n            <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n          </span>\n        </div>\n        \x3c!-- END FIRSTNAME --\x3e\n\n        \x3c!-- START LASTNAME --\x3e\n        <div class="form-group" data-ng-class="{\'has-error\': forms.csv.lastName.$invalid && forms.csv.$submitted}">\n          <label class="control-label">{{\'APPLICATION_LASTNAME\' | translate}}</label>\n          <ui-select data-ng-model="item.lastName" theme="bootstrap" name="lastName" data-ng-disabled="disabled">\n            <ui-select-match allow-clear placeholder="{{ \'APPLICATION_LASTNAME\' | translate }}">{{$select.selected}}</ui-select-match>\n            <ui-select-choices repeat="index in indexes | filter: $select.search">\n              <div ng-bind-html="index | highlight: $select.search"></div>\n            </ui-select-choices>\n          </ui-select>\n          <span data-ng-show="forms.csv.lastName.$invalid && forms.csv.$touched" class="help-block help-block-error">\n            <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n          </span>\n        </div>\n        \x3c!-- END LASTNAME --\x3e\n\n    \x3c!-- START STREET --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.street.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_STREET\' | translate}}</label>\n      <ui-select data-ng-model="item.street" theme="bootstrap" name="street" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_STREET\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.street.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END STREET --\x3e\n\n    \x3c!-- START POSTALCODE --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.postalCode.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_POSTALCODE\' | translate}}</label>\n      <ui-select data-ng-model="item.postalCode" theme="bootstrap" name="postalCode" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_POSTALCODE\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.postalCode.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END POSTALCODE --\x3e\n\n    \x3c!-- START CITY --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.city.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_CITY\' | translate}}</label>\n      <ui-select data-ng-model="item.city" theme="bootstrap" name="city" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_CITY\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.city.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END CITY --\x3e\n\n    \x3c!-- START PHONE --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.phone.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}</label>\n      <ui-select data-ng-model="item.phone" theme="bootstrap" name="phone" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_PHONE\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.phone.$invalid && forms.phone.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END PHONE --\x3e\n\n    \x3c!-- START MOBILE --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.mobile.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_MOBILE\' | translate}}</label>\n      <ui-select data-ng-model="item.mobile" theme="bootstrap" name="mobile" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_MOBILE\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.mobile.$invalid && forms.mobile.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END MOBILE --\x3e\n\n  </div>\n  <div class="col-md-6">\n\n    \x3c!-- START COUNTRY --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.country.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_COUNTRY\' | translate}}</label>\n      <ui-select data-ng-model="item.country" theme="bootstrap" name="country" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_COUNTRY\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.country.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END COUNTRY --\x3e\n\n    \x3c!-- START DATEOFBIRTH --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.dateOfBirth.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_DATEOFBIRTH\' | translate}}</label>\n      <ui-select data-ng-model="item.dateOfBirth" theme="bootstrap" name="dateOfBirth" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_DATEOFBIRTH\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.dateOfBirth.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END DATEOFBIRTH --\x3e\n\n    \x3c!-- START TAGS --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.tags.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_TAGS\' | translate}}</label>\n      <ui-select multiple data-ng-model="item.tags" theme="bootstrap" name="tags" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_TAGS\' | translate }}">{{$item}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.tags.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END TAGS --\x3e\n\n    \x3c!-- START DESCRIPTION --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.description.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n      <ui-select data-ng-model="item.description" theme="bootstrap" name="description" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_DESCRIPTION\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.description.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END DESCRIPTION --\x3e\n\n    \x3c!-- START FAX --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.fax.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_FAX\' | translate}}</label>\n      <ui-select data-ng-model="item.fax" theme="bootstrap" name="fax" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_FAX\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.fax.$invalid && forms.fax.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END FAX --\x3e\n\n    \x3c!-- START EMAIL --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.email.$invalid && forms.general.$submitted}">\n      <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}</label>\n      <ui-select data-ng-model="item.email" theme="bootstrap" name="email" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_EMAIL\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.email.$invalid && forms.csv.$submitted" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END EMAIL --\x3e\n\n    \x3c!-- START COMPANY --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.CompanyId.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_COMPANY\' | translate}}</label>\n      <ui-select data-ng-model="item.CompanyId" theme="bootstrap" name="CompanyId" data-ng-disabled="!companies.length">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_COMPANY\' | translate }}">{{$select.selected.name}}</ui-select-match>\n        <ui-select-choices repeat="company.id as company in companies | filter: $select.search">\n          <div ng-bind-html="company.name | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <div class="note note-warning" data-ng-hide="companies.length">\n        <h4 class="block">Warning!</h4>\n        <p>\n          {{ \'MESSAGE_NO_COMPANIES_AVAILABLE\' | translate }}\n        </p>\n      </div>\n      <span data-ng-show="forms.csv.CompanyId.$invalid && forms.csv.$submitted" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END COMPANY --\x3e\n\n  </div>\n  </div>\n\n  \x3c!-- START CUSTOMFIELDS --\x3e\n  <div data-ng-repeat="customField in customFields">\n    <div class="form-group" data-ng-class="{\'has-error\': (forms.csv[customField.name].$touched || forms.general.$submitted) && forms.csv[customField.name].$invalid}">\n      <label class="control-label">{{customField.alias}}<span data-ng-if="customField.required" class="required" aria-required="true">*</span></label>\n      <ui-select data-ng-model="item[customField.name]" theme="bootstrap" name="{{customField.name}}" data-ng-disabled="disabled" data-ng-required="customField.required">\n        <ui-select-match allow-clear placeholder="{{customField.alias}}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="(forms.csv[customField.name].$touched || forms.csv.$submitted) && forms.csv[customField.name].$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n  </div>\n  \x3c!-- END CUSTOMFIELDS --\x3e\n\n  <div>\n    <p>{{\'APPLICATION_IMPORT_SUCCEEDED\' | translate}}: {{import.succeeded}}/{{csvLength}}</p>\n    <div class="progress progress-sm" style="">\n      <div class="progress-bar progress-bar-info" role="progressbar" ng-style="{ \'width\': import.success + \'%\' }"></div>\n    </div>\n  </div>\n  <div>\n    <p>{{\'APPLICATION_IMPORT_FAILED\' | translate}}: {{import.failed}}/{{csvLength}}</p>\n    <div class="progress progress-sm" style="">\n      <div class="progress-bar progress-bar-danger" role="progressbar" ng-style="{ \'width\': import.fail + \'%\' }"></div>\n    </div>\n  </div>\n  <div data-ng-if="failedRows">\n  <p>{{\'APPLICATION_FAILED_ROWS\' | translate}}:</p>\n  <div class="failed-contacts">{{failedRows}}</div>\n</div>\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="start()" ng-disabled="forms.csv.$invalid || submitted">{{ \'APPLICATION_SUBMIT\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="close()" data-ng-if="!importing">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="stop()" data-ng-if="importing">{{ \'APPLICATION_STOP\' | translate }}</button>\n</div>\n'),a.put("app/contactmanager/contact/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="fa fa-users"></i>\n\t\t\t\t\t<a href="#">{{ \'APPLICATION_CONTACT_MANAGER\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="fa fa-users"></i>\n\t\t\t\t\t<a href="/contactmanager/contacts/list">{{ \'APPLICATION_CONTACTS\' | translate }}</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t<div class="portlet light bordered" data-ng-init="initView()">\n\t\t\t<div class="portlet-title">\n\t\t\t\t<div class="caption font-green-sharp">\n\t\t\t\t\t<i class="fa fa-users font-green-sharp"></i>\n\t\t\t\t\t<span class="caption-subject">{{ \'APPLICATION_CONTACTS\' | translate }}</a> </span>\n\t\t\t\t</div>\n\t\t\t\t<div class="actions">\n\t\t\t\t\t<div class="btn-group" data-ng-show="id.length && !Auth.isAgent()">\n\t\t\t\t\t\t<a class="btn red" href="#" data-ng-click="deleteItems()">\n\t\t\t\t\t\t\t<i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="btn-group">\n\t\t\t\t\t\t<button data-ng-if="gridOptions.data.length" class="btn purple" ng-csv="extractAll()" lazy-load="true" filename="Contacts.csv" csv-label="true">\n\t\t\t\t\t\t\t<i class="fa fa-download"></i> {{ \'APPLICATION_EXPORT_TO_CSV\' | translate }}\n\t\t\t\t\t\t</button>\n\t\t\t\t\t\t<button class="btn green-jungle" data-ng-click="newContact({CompanyId:gridOptions.columnDefs[7].filter.term || null,ListId:gridOptions.columnDefs[6].filter.term || null});">\n\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONTACT\' | translate }}\n\t\t\t\t\t\t</button>\n\t\t\t\t\t\t<span class="btn default btn-file" data-ng-if="!Auth.isAgent()">\n\t\t\t\t\t\t<span class="fileinput-new">\n\t\t\t\t\t\t<i class="icon-cloud-upload"></i> {{\'APPLICATION_IMPORT_FROM_CSV\' | translate}}</span>\n\t\t\t\t\t\t<input type="file" accept=".csv" nv-file-select="" uploader="uploader"/>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> --\x3e\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t<div data-ng-if="gridOptions"  ui-grid="gridOptions"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter ui-grid-draggable-rows class="ui-grid">\n\t\t\t\t\t<span us-spinner spinner-key="grid-spinner"></span>\n\t\t\t\t\t<div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- END PORTLET--\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/contactmanager/customfield/list/create.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_NEW_CUSTOM_FIELD\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <form name="forms.customField" novalidate>\n\n    \x3c!-- START NAME --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (forms.customField.name.$touched || forms.customField.$submitted) && forms.customField.name.$invalid}">\n      <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.alias" required/>\n      <span data-ng-show="(forms.customField.name.$touched || forms.customField.$submitted) && forms.customField.name.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END NAME --\x3e\n\n    \x3c!-- START TYPE --\x3e\n    <div class="form-group"  data-ng-class="{\'has-error\': (forms.customField.type.$touched || forms.customField.$submitted) && forms.customField.type.$invalid}">\n      <label class="control-label">{{ \'APPLICATION_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n      <ui-select data-ng-model="item.type" name="type" theme="bootstrap" required>\n        <ui-select-match placeholder="{{ \'APPLICATION_TYPE\' | translate }}">{{$translate.instant($select.selected.name)}}</ui-select-match>\n        <ui-select-choices repeat="type.value as type in types| filter: $select.search">\n          {{$translate.instant(type.name)}}\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="(forms.customField.type.$touched || forms.customField.$submitted) && forms.customField.type.$invalid && forms.customField.type.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END TYPE --\x3e\n\n    <div ng-slide-down="item.type == \'select\'" lazy-render duration="1">\n      <div>\n        <label class="control-label">{{\'APPLICATION_CHOICES\' | translate}}</label>\n      </div>\n      <div class="padding-bottom" ng-repeat="choice in choices">\n        <div class="form-group">\n          <div class="input-group">\n            <input type="text" class="form-control" ng-model="choice.value" required>\n            <span class="input-group-btn">\n              <button class="btn red" type="button"data-ng-click="removeField($index)" data-ng-disabled="choices.length<=1"><i class="fa fa-times"></i></button>\n            </span>\n          </div>\n        </div>\n      </div>\n      <button type="button" class="btn btn-sm green padding-bottom" ng-click="addField()">\n        <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_CHOICE\' | translate}}\n      </button>\n\n    </div>\n\n    \x3c!-- START REQUIRED --\x3e\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_REQUIRED\' | translate}}</label><br>\n      <input\n      bs-switch\n      ng-model="item.required"\n      type="checkbox"\n      switch-active="{{ bsSwitch.isActive }}"\n      data-ng-init="item.required = false"\n      switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n      switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n      switch-on-color="{{ bsSwitch.onColor }}"\n      switch-off-color="{{ bsSwitch.offColor }}"\n      switch-animate="{{ bsSwitch.animate }}"\n      switch-size="{{ bsSwitch.size }}"\n      switch-label="{{ bsSwitch.label }}"\n      switch-icon="{{ bsSwitch.icon }}"\n      switch-radio-off="{{ bsSwitch.radioOff }}"\n      switch-label-width="{{ bsSwitch.labelWidth }}"\n      switch-handle-width="{{ bsSwitch.handleWidth }}">\n    </div>\n    \x3c!-- END REQUIRED --\x3e\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.customField.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/contactmanager/customfield/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="fa fa-users"></i>\n\t\t\t\t\t<a href="#">{{ \'APPLICATION_CONTACT_MANAGER\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-pencil"></i>\n\t\t\t\t\t<a href="/contactmanager/customfields/list">{{ \'APPLICATION_CUSTOM_FIELDS\' | translate }}</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t<div class="portlet light bordered" data-ng-init="initView()">\n\t\t\t<div class="portlet-title">\n\t\t\t\t<div class="caption font-green-sharp">\n\t\t\t\t\t<i class="icon-pencil font-green-sharp"></i>\n\t\t\t\t\t<span class="caption-subject">{{ \'APPLICATION_CUSTOM_FIELDS\' | translate }}</a> </span>\n\t\t\t\t</div>\n\t\t\t\t<div class="actions">\n\t\t\t\t\t<div class="btn-group" data-ng-show="id.length">\n\t\t\t\t\t\t<a class="btn red" href="#" data-ng-click="deleteItems()">\n\t\t\t\t\t\t\t<i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="btn-group">\n\t\t\t\t\t\t<button class="btn green-jungle " ng-click="create()">\n\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_CUSTOM_FIELD\' | translate }}\n\t\t\t\t\t\t</button>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> --\x3e\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t<div ui-grid="gridOptions"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter ui-grid-draggable-rows class="ui-grid">\n\t\t\t\t\t<div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/contactmanager/customfield/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row" data-ng-init="getCustomField()">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="fa fa-users"></i>\n\t\t\t\t\t<a href="#">{{ \'APPLICATION_CONTACT_MANAGER\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-pencil"></i>\n\t\t\t\t\t<a href="/contactmanager/customfields/list">{{ \'APPLICATION_CUSTOM_FIELDS\' | translate }}</a>\n\t\t\t\t\t<i data-ng-show="customField" class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li data-ng-show="customField">\n\t\t\t\t\t<a href="#">{{customField.name}}</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t<div class="profile-sidebar">\n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t<div class="portlet light profile-sidebar-portlet">\n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t<div class="profile-image">\n\t\t\t\t\t<img data-ng-src="assets/images/media/customField.png" class="img-responsive">\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t<div class="profile-usertitle">\n\t\t\t\t\t<div class="profile-usertitle-name">\n\t\t\t\t\t\t{{customField.name}}\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- <div class="profile-usertitle-job">\n\t\t\t\t\t\t{{user.role}}\n\t\t\t\t\t</div> --\x3e\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t<div class="profile-usermenu">\n\t\t\t\t\t<ul class="nav">\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.contactmanager.customfields.view.settings\')}">\n\t\t\t\t\t\t\t<a data-ng-href="/contactmanager/customfields/view/{{customField.id}}/settings">\n\t\t\t\t\t\t\t<i class="icon-settings"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_SETTINGS\' | translate}} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t</div>\n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t</div>\n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t<div ui-view class="profile-content">\n\t\t</div>\n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),
-a.put("app/dashboard/chat/chat.html",'<div data-ng-switch="Auth.getRole()">\n  <div ng-switch-when="agent" data-ng-init="initAgent()">\n    <div class="row" style="padding-bottom:10px;">\n      <div class="col-md-12">\n        \x3c!-- START TABLE --\x3e\n        <div ui-grid="table1" name="table1" ui-grid-resize-columns ui-grid-pagination ui-grid-auto-resize class="ui-grid">\n          <div class="watermark" data-ng-show="!table1.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n        </div>\n        \x3c!-- END TABLE --\x3e\n      </div>\n    </div>\n  </div>\n  <div ng-switch-default data-ng-init="initRoomStats();initRoutingStats();initSocketListening();">\n    <fieldset>\n      <legend>\n        <span class="caption-subject">&nbsp;</span><small class="pull-right font-grey-cascade">{{ \'APPLICATION_TODAY_STATS\' | translate }}</small>\n      </legend>\n      <div class="row">\n        <div class="col-md-8">\n          <div class="row">\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat green-haze">\n                <div class="visual">\n                  <i class="fa fa-play"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.new || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_WAITING_NEW_CI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_WAITING_NEW_CI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat blue-madison">\n                <div class="visual">\n                  <i class="icon-bell"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.open || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_OPEN_CI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_OPEN_CI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n          <div class ="row">\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat green">\n                <div class="visual">\n                  <i class="icon-options"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.unmanaged || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_UNMANAGED_CI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_UNMANAGED_CI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat purple-plum">\n                <div class="visual">\n                  <i class="icon-like"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.closed || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_CLOSED_CI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_CLOSED_CI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n          <div class ="row">\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat yellow-crusta">\n                <div class="visual">\n                  <i class="icon-dislike"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.abandon || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_ABANDONED_CI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_ABANDONED_CI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12" >\n              <div class="dashboard-stat yellow-casablanca">\n                <div class="visual">\n                  <i class="icon-calculator"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.new+roomStatus.open+roomStatus.unmanaged+roomStatus.closed+roomStatus.abandon || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_TOTAL_CI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_TOTAL_CI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n        </div>\n        <div class="col-md-4">\n          <canvas class="chart chart-pie"  chart-data="charts.interactions.values" chart-labels="charts.interactions.labels" chart-colours="charts.interactions.colours" chart-legend="true"></canvas>\n      </div>\n    </div>\n    <legend>\n      <span class="caption-subject">&nbsp;</span><small class="pull-right font-grey-cascade">{{ \'APPLICATION_INTERACTION_STATS\' | translate }}</small>\n    </legend>\n    <div class="row">\n      <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n        <div class="dashboard-stat red-intense">\n          <div class="visual">\n            <i class="icon-dislike"></i>\n          </div>\n          <div class="details">\n            <div class="number">\n              {{routingStats.timeout || 0}}\n            </div>\n            <div class="desc">\n              {{\'APPLICATION_TIMEOUT_CA\' | translate}}\n            </div>\n          </div>\n          <a class="more inactive-link">\n            {{\'APPLICATION_TIMEOUT_CA_EXTENDED\' | translate}}\n          </a>\n        </div>\n      </div>\n      <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n        <div class="dashboard-stat purple">\n          <div class="visual">\n            <i class="icon-hourglass"></i>\n          </div>\n          <div class="details">\n            <div class="number">\n              {{routingStats.waiting || 0}}\n            </div>\n            <div class="desc">\n              {{\'APPLICATION_WAITING_CA\' | translate}}\n            </div>\n          </div>\n          <a class="more inactive-link">\n            {{\'APPLICATION_WAITING_CA_EXTENDED\' | translate}}\n          </a>\n        </div>\n      </div>\n    </div>\n  </fieldset>\n\n</div>\n</div>\n'),a.put("app/dashboard/dashboard.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row" id="dashboardView">\n\t<div class="col-md-12" >\n\t\t<div>\n\t\t\t<nav class="navbar navbar-default" role="navigation">\n\t\t\t\t<div class="navbar-header">\n\t\t\t\t\t<button type="button" class="navbar-toggle" data-ng-init="navCollapsed = true" data-ng-click="navCollapsed = !navCollapsed">\n\t\t\t\t\t\t<span class="sr-only">Toggle navigation</span>\n\t\t\t\t\t\t<span class="icon-bar"></span>\n\t\t\t\t\t\t<span class="icon-bar"></span>\n\t\t\t\t\t\t<span class="icon-bar"></span>\n\t\t\t\t\t</button>\n\t\t\t\t</div>\n\n\t\t\t\t\x3c!-- Collect the nav links, forms, and other content for toggling --\x3e\n\t\t\t\t<div class="collapse navbar-collapse" ng-class="!navCollapsed && \'in\'" >\n\t\t\t\t\t<ul class="nav navbar-nav">\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.dashboard.voice\')}">\n\t\t\t\t\t\t\t<a href="/dashboard/voice">\n\t\t\t\t\t\t\t\t<b class=\'icon-earphones-alt\'></b>\n\t\t\t\t\t\t\t\t{{ \'APPLICATION_VOICE\' | translate }}\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.dashboard.chat\'),\'disabled-link\':!license.chat}" data-ng-if="::((Auth.isAdmin() || Auth.isAgent() || userModules[8]))">\n\t\t\t\t\t\t\t<a href="{{license.chat ? \'/dashboard/chat\' : \'#\'}}" class="disable-target">\n\t\t\t\t\t\t\t\t<b class=\'icon-bubble\'></b>\n\t\t\t\t\t\t\t\t{{ \'APPLICATION_CHAT\' | translate }}\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.dashboard.mail\'),\'disabled-link\':!license.mail}" data-ng-if="::((Auth.isAdmin() || Auth.isAgent() || userModules[9]))">\n\t\t\t\t\t\t\t<a href="{{license.mail ? \'/dashboard/mail\' : \'#\'}}" class="disable-target">\n\t\t\t\t\t\t\t\t<b class=\'icon-envelope\'></b>\n\t\t\t\t\t\t\t\t{{ \'APPLICATION_EMAIL\' | translate }}\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.dashboard.fax\'),\'disabled-link\':!license.fax}" data-ng-if="::((Auth.isAdmin() || Auth.isAgent() || userModules[10]))">\n\t\t\t\t\t\t\t<a href="{{license.fax ? \'/dashboard/fax\' : \'#\'}}" class="disable-target">\n\t\t\t\t\t\t\t\t<b class=\'fa fa-fax\'></b>\n\t\t\t\t\t\t\t\t{{ \'APPLICATION_FAX\' | translate }}\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.dashboard.sms\'),\'disabled-link\':!license.messaging}" data-ng-if="::((Auth.isAdmin() || Auth.isAgent() || userModules[11]))">\n\t\t\t\t\t\t\t<a href="{{license.messaging ? \'/dashboard/sms\' : \'#\'}}" class="disable-target">\n\t\t\t\t\t\t\t\t<b class=\'glyphicon glyphicon-comment\'></b>\n\t\t\t\t\t\t\t\t{{ \'APPLICATION_SMS\' | translate }}\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.dashboard.openchannel\'),\'disabled-link\':!license.openchannel}" data-ng-if="::((Auth.isAdmin() || Auth.isAgent() || userModules[20]))">\n\t\t\t\t\t\t\t<a href="{{license.messaging ? \'/dashboard/openchannel\' : \'#\'}}" class="disable-target">\n\t\t\t\t\t\t\t\t<b class=\'icon-globe\'></b>\n\t\t\t\t\t\t\t\t{{ \'APPLICATION_OPEN_CHANNEL\' | translate }}\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- /.navbar-collapse --\x3e\n\t\t\t</nav>\n\t\t</div>\n\t\t<div ui-view></div>\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/dashboard/fax/fax.html",'<div data-ng-switch="Auth.getRole()">\n  <div ng-switch-when="agent" data-ng-init="initAgent()">\n    <div class="row" style="padding-bottom:10px;">\n      <div class="col-md-12">\n        \x3c!-- START TABLE --\x3e\n        <div ui-grid="table1" name="table1" ui-grid-resize-columns ui-grid-pagination ui-grid-auto-resize class="ui-grid">\n          <div class="watermark" data-ng-show="!table1.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n        </div>\n        \x3c!-- END TABLE --\x3e\n      </div>\n    </div>\n  </div>\n  <div ng-switch-default data-ng-init="initRoomStats();initRoutingStats();initSocketListening();">\n    <fieldset>\n      <legend>\n        <span class="caption-subject">&nbsp;</span><small class="pull-right font-grey-cascade">{{ \'APPLICATION_INTERACTION_STATS\' | translate }}</small>\n      </legend>\n      <div class="row">\n        <div class="col-md-8">\n          <div class="row">\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat green-haze">\n                <div class="visual">\n                  <i class="fa fa-play"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.new || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_NEW_FI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_NEW_FI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat blue-madison">\n                <div class="visual">\n                  <i class="icon-bell"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.open || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_OPEN_FI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_OPEN_FI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n          <div class="row">\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat green">\n                <div class="visual">\n                  <i class="icon-options"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.pending || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_PENDING_FI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_PENDING_FI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat purple-plum">\n                <div class="visual">\n                  <i class="icon-like"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.closed || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_CLOSED_FI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_CLOSED_FI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n          <div class="row">\n            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">\n              <div class="dashboard-stat yellow-casablanca">\n                <div class="visual">\n                  <i class="icon-calculator"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.new+roomStatus.open+roomStatus.pending+roomStatus.closed || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_TOTAL_FI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_TOTAL_FI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n        </div>\n        <div class="col-md-4">\n          \x3c!-- <div class="portlet light bordered">\n            <div class="portlet-body"> --\x3e\n          <canvas class="chart chart-pie" chart-data="charts.interactions.values" chart-labels="charts.interactions.labels" chart-colours="charts.interactions.colours" chart-legend="true">\n          </canvas>\n            \x3c!-- </div>\n          </div> --\x3e\n        </div>\n      </div>\n      <legend>\n        <span class="caption-subject">&nbsp;</span><small class="pull-right font-grey-cascade">{{ \'APPLICATION_TODAY_STATS\' | translate }}</small>\n      </legend>\n      <div class="row">\n        <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n          <div class="dashboard-stat red-intense">\n            <div class="visual">\n              <i class="icon-dislike"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{routingStats.timeout || 0}}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_TIMEOUT_FA\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_TIMEOUT_FA_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n          <div class="dashboard-stat purple">\n            <div class="visual">\n              <i class="icon-hourglass"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{routingStats.waiting || 0}}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_WAITING_FA\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_WAITING_FA_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n      </div>\n    </fieldset>\n  </div>\n'),a.put("app/dashboard/mail/mail.html",'<div data-ng-switch="Auth.getRole()">\n  <div ng-switch-when="agent" data-ng-init="initAgent()">\n    <div class="row" style="padding-bottom:10px;">\n      <div class="col-md-12">\n        \x3c!-- START TABLE --\x3e\n        <div ui-grid="table1" name="table1" ui-grid-resize-columns ui-grid-pagination ui-grid-auto-resize class="ui-grid">\n          <div class="watermark" data-ng-show="!table1.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n        </div>\n        \x3c!-- END TABLE --\x3e\n      </div>\n    </div>\n\n    \x3c!-- <div class="row" style="padding-bottom:10px;">\n      <div class="col-md-12"> --\x3e\n    \x3c!-- START TABLE --\x3e\n    \x3c!-- <div ui-grid="table2" name="table2" ui-grid-resize-columns ui-grid-auto-resize class="ui-grid">\n          <div class="watermark" data-ng-show="!table2.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n        </div> --\x3e\n    \x3c!-- END TABLE --\x3e\n    \x3c!-- </div>\n    </div> --\x3e\n  </div>\n  <div ng-switch-default data-ng-init="initRoomStats();initRoutingStats();initSocketListening();">\n    <fieldset>\n      <legend>\n        <span class="caption-subject">&nbsp;</span><small class="pull-right font-grey-cascade">{{ \'APPLICATION_INTERACTION_STATS\' | translate }}</small>\n      </legend>\n      <div class="row">\n        <div class="col-md-8">\n          <div class="row">\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat green-haze">\n                <div class="visual">\n                  <i class="fa fa-play"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.new || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_NEW_EI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_NEW_EI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat blue-madison">\n                <div class="visual">\n                  <i class="icon-bell"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.open || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_OPEN_EI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_OPEN_EI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n          <div class="row">\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat green">\n                <div class="visual">\n                  <i class="icon-options"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.pending || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_PENDING_EI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_PENDING_EI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat purple-plum">\n                <div class="visual">\n                  <i class="icon-like"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.closed || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_CLOSED_EI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_CLOSED_EI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n          <div class="row">\n            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">\n              <div class="dashboard-stat yellow-casablanca">\n                <div class="visual">\n                  <i class="icon-calculator"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.new+roomStatus.open+roomStatus.pending+roomStatus.closed || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_TOTAL_EI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_TOTAL_EI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n        </div>\n        <div class="col-md-4">\n          \x3c!-- <div class="portlet light bordered">\n            <div class="portlet-body"> --\x3e\n          <canvas class="chart chart-pie" chart-data="charts.interactions.values" chart-labels="charts.interactions.labels" chart-colours="charts.interactions.colours" chart-legend="true">\n          </canvas>\n            \x3c!-- </div>\n          </div> --\x3e\n        </div>\n      </div>\n      <legend>\n        <span class="caption-subject">&nbsp;</span><small class="pull-right font-grey-cascade">{{ \'APPLICATION_TODAY_STATS\' | translate }}</small>\n      </legend>\n      <div class="row">\n        <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n          <div class="dashboard-stat red-intense">\n            <div class="visual">\n              <i class="icon-dislike"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{routingStats.timeout || 0}}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_TIMEOUT_EA\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_TIMEOUT_EA_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n          <div class="dashboard-stat purple">\n            <div class="visual">\n              <i class="icon-hourglass"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{routingStats.waiting || 0}}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_WAITING_EA\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_WAITING_EA_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n      </div>\n    </fieldset>\n  </div>\n'),
-a.put("app/dashboard/openchannel/openchannel.html",'<div data-ng-switch="Auth.getRole()">\n  <div ng-switch-when="agent" data-ng-init="initAgent()">\n    <div class="row" style="padding-bottom:10px;">\n      <div class="col-md-12">\n        \x3c!-- START TABLE --\x3e\n        <div ui-grid="table1" name="table1" ui-grid-resize-columns ui-grid-pagination ui-grid-auto-resize class="ui-grid">\n          <div class="watermark" data-ng-show="!table1.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n        </div>\n        \x3c!-- END TABLE --\x3e\n      </div>\n    </div>\n\n    \x3c!-- <div class="row" style="padding-bottom:10px;">\n      <div class="col-md-12"> --\x3e\n    \x3c!-- START TABLE --\x3e\n    \x3c!-- <div ui-grid="table2" name="table2" ui-grid-resize-columns ui-grid-auto-resize class="ui-grid">\n          <div class="watermark" data-ng-show="!table2.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n        </div> --\x3e\n    \x3c!-- END TABLE --\x3e\n    \x3c!-- </div>\n    </div> --\x3e\n  </div>\n  <div ng-switch-default data-ng-init="initRoomStats();initRoutingStats();initSocketListening();">\n    <fieldset>\n      <legend>\n        <span class="caption-subject">&nbsp;</span><small class="pull-right font-grey-cascade">{{ \'APPLICATION_INTERACTION_STATS\' | translate }}</small>\n      </legend>\n      <div class="row">\n        <div class="col-md-8">\n          <div class="row">\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat green-haze">\n                <div class="visual">\n                  <i class="fa fa-play"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.new || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_NEW_OI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_NEW_OI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat blue-madison">\n                <div class="visual">\n                  <i class="icon-bell"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.open || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_OPEN_OI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_OPEN_OI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n          <div class="row">\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat green">\n                <div class="visual">\n                  <i class="icon-options"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.pending || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_PENDING_OI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_PENDING_OI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat purple-plum">\n                <div class="visual">\n                  <i class="icon-like"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.closed || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_CLOSED_OI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_CLOSED_OI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n          <div class="row">\n            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">\n              <div class="dashboard-stat yellow-casablanca">\n                <div class="visual">\n                  <i class="icon-calculator"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.new+roomStatus.open+roomStatus.pending+roomStatus.closed || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_TOTAL_OI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_TOTAL_OI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n        </div>\n        <div class="col-md-4">\n          \x3c!-- <div class="portlet light bordered">\n            <div class="portlet-body"> --\x3e\n          <canvas class="chart chart-pie" chart-data="charts.interactions.values" chart-labels="charts.interactions.labels" chart-colours="charts.interactions.colours" chart-legend="true">\n          </canvas>\n            \x3c!-- </div>\n          </div> --\x3e\n        </div>\n      </div>\n      <legend>\n        <span class="caption-subject">&nbsp;</span><small class="pull-right font-grey-cascade">{{ \'APPLICATION_TODAY_STATS\' | translate }}</small>\n      </legend>\n      <div class="row">\n        <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n          <div class="dashboard-stat red-intense">\n            <div class="visual">\n              <i class="icon-dislike"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{routingStats.timeout || 0}}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_TIMEOUT_OA\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_TIMEOUT_OA_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n          <div class="dashboard-stat purple">\n            <div class="visual">\n              <i class="icon-hourglass"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{routingStats.waiting || 0}}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_WAITING_OA\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_WAITING_OA_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n      </div>\n    </fieldset>\n  </div>\n'),a.put("app/dashboard/sms/sms.html",'<div data-ng-switch="Auth.getRole()">\n  <div ng-switch-when="agent" data-ng-init="initAgent()">\n    <div class="row" style="padding-bottom:10px;">\n      <div class="col-md-12">\n        \x3c!-- START TABLE --\x3e\n        <div ui-grid="table1" name="table1" ui-grid-resize-columns ui-grid-pagination ui-grid-auto-resize class="ui-grid">\n          <div class="watermark" data-ng-show="!table1.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n        </div>\n        \x3c!-- END TABLE --\x3e\n      </div>\n    </div>\n\n    \x3c!-- <div class="row" style="padding-bottom:10px;">\n      <div class="col-md-12"> --\x3e\n    \x3c!-- START TABLE --\x3e\n    \x3c!-- <div ui-grid="table2" name="table2" ui-grid-resize-columns ui-grid-auto-resize class="ui-grid">\n          <div class="watermark" data-ng-show="!table2.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n        </div> --\x3e\n    \x3c!-- END TABLE --\x3e\n    \x3c!-- </div>\n    </div> --\x3e\n  </div>\n  <div ng-switch-default data-ng-init="initRoomStats();initRoutingStats();initSocketListening();">\n    <fieldset>\n      <legend>\n        <span class="caption-subject">&nbsp;</span><small class="pull-right font-grey-cascade">{{ \'APPLICATION_INTERACTION_STATS\' | translate }}</small>\n      </legend>\n      <div class="row">\n        <div class="col-md-8">\n          <div class="row">\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat green-haze">\n                <div class="visual">\n                  <i class="fa fa-play"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.new || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_NEW_SI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_NEW_SI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat blue-madison">\n                <div class="visual">\n                  <i class="icon-bell"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.open || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_OPEN_SI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_OPEN_SI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n          <div class="row">\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat green">\n                <div class="visual">\n                  <i class="icon-options"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.pending || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_PENDING_SI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_PENDING_SI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat purple-plum">\n                <div class="visual">\n                  <i class="icon-like"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.closed || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_CLOSED_SI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_CLOSED_SI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n          <div class="row">\n            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">\n              <div class="dashboard-stat yellow-casablanca">\n                <div class="visual">\n                  <i class="icon-calculator"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.new+roomStatus.open+roomStatus.pending+roomStatus.closed || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_TOTAL_SI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_TOTAL_SI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n        </div>\n        <div class="col-md-4">\n          \x3c!-- <div class="portlet light bordered">\n            <div class="portlet-body"> --\x3e\n          <canvas class="chart chart-pie" chart-data="charts.interactions.values" chart-labels="charts.interactions.labels" chart-colours="charts.interactions.colours" chart-legend="true">\n          </canvas>\n            \x3c!-- </div>\n          </div> --\x3e\n        </div>\n      </div>\n      <legend>\n        <span class="caption-subject">&nbsp;</span><small class="pull-right font-grey-cascade">{{ \'APPLICATION_TODAY_STATS\' | translate }}</small>\n      </legend>\n      <div class="row">\n        <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n          <div class="dashboard-stat red-intense">\n            <div class="visual">\n              <i class="icon-dislike"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{routingStats.timeout || 0}}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_TIMEOUT_SA\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_TIMEOUT_SA_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n          <div class="dashboard-stat purple">\n            <div class="visual">\n              <i class="icon-hourglass"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{routingStats.waiting || 0}}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_WAITING_SA\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_WAITING_SA_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n      </div>\n    </fieldset>\n  </div>\n'),a.put("app/dashboard/voice/voice.html",'<div data-ng-switch="Auth.getRole()">\n  <div ng-switch-when="agent" data-ng-init="initAgent()">\n    <div class="portlet light">\n      <div class="portlet-body">\n        \x3c!-- START TABLE --\x3e\n        <div data-ng-if="table1" ui-grid="table1" name="table1" ui-grid-resize-columns ui-grid-pagination ui-grid-auto-resize class="ui-grid">\n          <div class="watermark" data-ng-show="!table1.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n        </div>\n        \x3c!-- END TABLE --\x3e\n      </div>\n    </div>\n\n    <div class="portlet light">\n      <div class="portlet-title tabbable-line">\n        <ul class="nav nav-tabs">\n          <li class="active">\n            <a href="#" data-target="#tab_1_a" data-toggle="tab">{{\'APPLICATION_WAITING\' | translate}}</a>\n          </li>\n          <li>\n            <a href="#" data-target="#tab_1_b" data-toggle="tab">{{\'APPLICATION_ABANDONED\' | translate}}</a>\n          </li>\n        </ul>\n      </div>\n      <div class="portlet-body" data-ng-init="initView()">\n        <div class="tab-content">\n          <div class="tab-pane active" id="tab_1_a">\n            <div class="form-group">\n              <label class="control-label">{{\'APPLICATION_SHOW_TIMERS\' | translate}}</label></br>\n              <input\n              bs-switch\n              class="form-control"\n              ng-model="showTimers"\n              type="checkbox"\n              name="showTimers"\n              switch-active="{{ timerSwitch.isActive }}"\n              switch-on-text="{{\'APPLICATION_YES\' | translate}}"\n              switch-off-text="{{\'APPLICATION_NO\' | translate}}"\n              switch-on-color="{{ timerSwitch.onColor }}"\n              switch-off-color="{{ timerSwitch.offColor }}"\n              switch-animate="{{ timerSwitch.animate }}"\n              switch-size="{{ timerSwitch.size }}"\n              switch-label="{{ timerSwitch.label }}"\n              switch-icon="{{ timerSwitch.icon }}"\n              switch-radio-off="{{ timerSwitch.radioOff }}"\n              switch-label-width="{{ timerSwitch.labelWidth }}"\n              switch-handle-width="{{ timerSwitch.handleWidth }}">\n            </div>\n            \x3c!-- START TABLE --\x3e\n            <div data-ng-if="table2" ui-grid="table2" name="table2" ui-grid-resize-columns ui-grid-pagination ui-grid-auto-resize class="ui-grid">\n              <div class="watermark" data-ng-show="!table2.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n            </div>\n            \x3c!-- END TABLE --\x3e\n          </div>\n          <div class="tab-pane" id="tab_1_b">\n            \x3c!-- START TABLE --\x3e\n            <div data-ng-if="table3" ui-grid="table3" name="table3" ui-grid-resize-columns ui-grid-pagination ui-grid-auto-resize class="ui-grid">\n              <div class="watermark" data-ng-show="!table3.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n            </div>\n            \x3c!-- END TABLE --\x3e\n          </div>\n        </div>\n      </div>\n    </div>\n  </div>\n  <div ng-switch-default data-ng-init="initUser()">\n    <fieldset>\n      <legend>\n        <span class="caption-subject">{{ \'APPLICATION_INBOUND\' | translate }}</span><small class="font-grey-cascade pull-right">{{ \'APPLICATION_TODAY_STATS\' | translate }}</small>\n      </legend>\n\n      <div class="row">\n        <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n          <div class="dashboard-stat blue">\n            <div class="visual">\n              <i class="icon-bell"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ voice.queues.waiting || 0 }}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_WAITING_QC\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_WAITING_QC_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n          <div class="dashboard-stat grey-gallery">\n            <div class="visual">\n              <i class="fa fa-play"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ voice.queues.active || 0 }}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_ACTIVE_QC\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_ACTIVE_QC_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n          <div class="dashboard-stat green-jungle">\n            <div class="visual">\n              <i class="icon-like"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ voice.queues.complete || 0 }}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_ANSWERED_QC\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_ANSWERED_QC_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n          <div class="dashboard-stat red-thunderbird">\n            <div class="visual">\n              <i class="icon-dislike"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ voice.queues.abandon || 0 }}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_ABANDONED_QC\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_ABANDONED_QC_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n      </div>\n\n      <div class="row">\n        <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n          <div class="dashboard-stat yellow-gold">\n            <div class="visual">\n              <i class="icon-clock"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ voice.queues.complete ? (voice.queues.holdtime / voice.queues.complete) : 0 | secToTime | date:\'HH:mm:ss\' }}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_AVG_ANSWER_TIME_QC\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_AVG_ANSWER_TIME_QC_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n          <div class="dashboard-stat purple">\n            <div class="visual">\n              <i class="icon-clock"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ voice.queues.complete ? (voice.queues.talktime / voice.queues.complete) : 0 | secToTime | date:\'HH:mm:ss\' }}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_AVG_TALK_TIME_QC\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_AVG_TALK_TIME_QC_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n          <div class="dashboard-stat green-jungle">\n            <div class="visual">\n              <i class="icon-pie-chart"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ (voice.queues.complete / (voice.queues.complete + voice.queues.abandon) * 100) || 0 | number:2}}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_ANSWER_RATE_QC\' | translate}} (%)\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_ANSWER_RATE_QC_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n          <div class="dashboard-stat red-thunderbird">\n            <div class="visual">\n              <i class="icon-pie-chart"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ (voice.queues.abandon / (voice.queues.complete + voice.queues.abandon) * 100) || 0 | number:2}}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_ABANDON_RATE_QC\' | translate}} (%)\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_ABANDON_RATE_QC_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n      </div>\n\n      <div class="row">\n        <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">\n          <div class="dashboard-stat blue">\n            <div class="visual">\n              <i class="icon-info"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ voice.queues.complete + voice.queues.abandon || 0}}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_TOTAL_OFFERED_QC\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_TOTAL_OFFERED_QC_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">\n          <div class="dashboard-stat red-thunderbird">\n            <div class="visual">\n              <i class="icon-info"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ voice.queues.unmanaged || 0 }}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_UNMANAGED_QC\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_UNMANAGED_QC_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n      </div>\n    </fieldset>\n\n    <fieldset>\n      <legend>\n        <span class="caption-subject">{{ \'APPLICATION_OUTBOUND\' | translate }}</span><small class="pull-right font-grey-cascade">{{ \'APPLICATION_TODAY_STATS\' | translate }}</small>\n      </legend>\n\n      <div class="row">\n        <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n          <div class="dashboard-stat green-haze">\n            <div class="visual">\n              <i class="icon-call-out"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ voice.outbound.total || 0 }}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_MANUAL_OUTBOUND_OB\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_MANUAL_OUTBOUND_OB_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n          <div class="dashboard-stat grey-gallery">\n            <div class="visual">\n              <i class="icon-clock"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ (voice.outbound.sumDuration || 0) | secToTime | date:\'HH:mm:ss\' }}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_GLOBAL_DURATION_OB\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_GLOBAL_DURATION_OB_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n          <div class="dashboard-stat green-jungle">\n            <div class="visual">\n              <i class="icon-like"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ voice.outbound.answered || 0 }}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_ANSWERED_OB\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_ANSWERED_OB_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n          <div class="dashboard-stat yellow-gold">\n            <div class="visual">\n              <i class="icon-pie-chart"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ (voice.outbound.avgDuration || 0) | secToTime | date:\'HH:mm:ss\' }}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_AVG_DURATION_OB\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_AVG_DURATION_OB_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n      </div>\n\n      <div class="row">\n        <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">\n          <div class="dashboard-stat blue">\n            <div class="visual">\n              <i class="icon-pie-chart"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ (voice.outbound.answerRate || 0) | number:2 }}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_ANSWER_RATE_OB\' | translate}} (%)\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_ANSWER_RATE_OB_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">\n          <div class="dashboard-stat purple">\n            <div class="visual">\n              <i class="icon-pie-chart"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{(voice.outbound.tigerdial || 0)}}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_MOTION_DIALER_CALLS_OB\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_MOTION_DIALER_CALLS_OB_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n      </div>\n\n    </fieldset>\n  </div>\n</div>\n'),
-a.put("app/desk/view/view.configurationSettings.html",'<div class="row" data-ng-init="getConfiguration();getVariables();getFields();">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_CONFIGURATION\' | translate}}: {{configurationName}}</span>\n\t\t\t\t</div>\n\t\t\t\t<ul class="nav nav-tabs">\n\t\t\t\t\t<li class="active">\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_SUBJECT\' | translate}}</a>\n\t\t\t\t\t</li>\n          <li>\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_DESCRIPTION\' | translate}}</a>\n\t\t\t\t\t</li>\n          <li>\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_FIELDS\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t<div class="tab-content">\n\t\t\t\t\t\x3c!-- SUBJECT TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding active" id="tab_1_1">\n            <div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">All following fields will be join by blank space:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItemSubject()"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t\x3c!-- <div ng-scrollbars ng-scrollbars-config="config"> --\x3e\n\t            <div class="row" data-ng-repeat="subjectItem in subjectConfig">\n\t              <div class="col-md-3">\n\t                <ui-select ng-model="subjectItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(subjectItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n\t                  <ui-select-choices repeat="item in fieldType | filter: $select.search">\n\t                    <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t              </div>\n\t              <div class="col-md-8" data-ng-if="subjectItem.type==\'string\'">\n\t                <div class="form-group">\n\t                  <input type="text" class="form-control" data-ng-model="subjectItem.content" data-ng-change="updateField(subjectItem)">\n\t                </div>\n\t              </div>\n\t              <div class="col-md-8" data-ng-if="subjectItem.type==\'variable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.VariableId" data-ng-change="updateField(subjectItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t                    <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n\t                      <div ng-bind-html="variable.name | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-1">\n\t                <div class="form-group">\n\t                  <button class="btn btn-icon-only red" data-ng-click="removeItem(subjectItem)"><i class="fa fa-times"></i></button>\n\t                </div>\n\t              </div>\n\t            </div>\n\t\t\t\t\t\t\x3c!-- </div> --\x3e\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END SUBJECT TAB --\x3e\n          \x3c!-- DESCRIPTION TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding" id="tab_1_2">\n\t\t\t\t\t\t<div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">All following fields will be join by new line:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItemDescription()"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t\x3c!-- <div ng-scrollbars ng-scrollbars-config="config"> --\x3e\n\t\t\t\t\t\t\t<div class="row" data-ng-repeat="descriptionItem in descriptionConfig">\n\t\t\t\t\t\t\t\t\x3c!-- <pre>\n\t\t\t\t\t\t\t\t\t{{descriptionItem|json}}\n\t\t\t\t\t\t\t\t</pre> --\x3e\n\t              <div class="col-md-2">\n\t                <ui-select ng-model="descriptionItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | ucfirst}}</ui-select-match>\n\t                  <ui-select-choices repeat="item in descFieldType | filter: $select.search">\n\t                    <div ng-bind-html="item | highlight: $select.search | ucfirst"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t              </div>\n\t              <div class="col-md-9" data-ng-if="descriptionItem.type==\'string\'">\n\t                <div class="form-group">\n\t                  <input type="text" class="form-control" data-ng-model="descriptionItem.content" data-ng-change="updateField(descriptionItem)">\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\'">\n\t\t\t\t\t\t\t\t\t<input type="text" class="form-control" placeholder="Key" data-ng-model="descriptionItem.key" data-ng-change="updateField(descriptionItem)">\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\'">\n\t\t\t\t\t\t\t\t\t<ui-select ng-model="descriptionItem.keyType" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n\t                  <ui-select-choices repeat="item in fieldType | filter: $select.search">\n\t                    <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\' && descriptionItem.keyType==\'string\'">\n\t\t\t\t\t\t\t\t\t<input type="text" class="form-control" placeholder="Value" data-ng-model="descriptionItem.keyContent" data-ng-change="updateField(descriptionItem)">\n\t\t\t\t\t\t\t\t</div>\n\t              <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\' && descriptionItem.keyType==\'variable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.VariableId" data-ng-change="updateField(descriptionItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t                    <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n\t                      <div ng-bind-html="variable.name | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-1">\n\t                <div class="form-group">\n\t                  <button class="btn btn-icon-only red" data-ng-click="removeItem(descriptionItem)"><i class="fa fa-times"></i></button>\n\t                </div>\n\t              </div>\n\t            </div>\n\t\t\t\t\t\t\x3c!-- </div> --\x3e\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END DESCRIPTION TAB --\x3e\n          \x3c!-- FIELDS TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding" id="tab_1_3">\n\t\t\t\t\t\t<div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">Add how to fill the fields present in your account:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItemField()"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t\x3c!-- <div ng-scrollbars ng-scrollbars-config="config"> --\x3e\n\t            <div class="row" data-ng-repeat="fieldItem in fieldConfig">\n\t              <div class="col-md-3">\n\t                <ui-select ng-model="fieldItem.idField" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeFieldType(fieldItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.label}}</ui-select-match>\n\t                  <ui-select-choices repeat="item.id as item in accountFields | filter: $select.search">\n\t                    <div ng-bind-html="item.label | highlight: $select.search"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t              </div>\n\t              <div class="col-md-8" data-ng-if="getSystemFieldOptions(fieldItem.idField)">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select ng-model="fieldItem.content" theme="bootstrap" ng-disabled="disabled" data-ng-change="updateField(fieldItem)">\n\t\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected}}</ui-select-match>\n\t\t                  <ui-select-choices repeat="item in getSystemFieldOptions(fieldItem.idField) | filter: $select.search">\n\t\t                    <div ng-bind-html="item | highlight: $select.search"></div>\n\t\t                  </ui-select-choices>\n\t\t                </ui-select>\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField)">\n\t\t\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select ng-model="fieldItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(fieldItem)">\n\t\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | ucfirst}}</ui-select-match>\n\t\t                  <ui-select-choices repeat="item in fieldType | filter: $select.search">\n\t\t                    <div ng-bind-html="item | highlight: $select.search | ucfirst"></div>\n\t\t                  </ui-select-choices>\n\t\t                </ui-select>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'string\'">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<input type="text" class="form-control" data-ng-model="fieldItem.content" data-ng-change="updateField(fieldItem)">\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'variable\'">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.VariableId" data-ng-change="updateField(fieldItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t                    <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n\t                      <div ng-bind-html="variable.name | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-1">\n\t                <div class="form-group">\n\t                  <button class="btn btn-icon-only red" data-ng-click="removeItem(fieldItem)"><i class="fa fa-times"></i></button>\n\t                </div>\n\t              </div>\n\t            </div>\n\t\t\t\t\t\t\x3c!-- </div> --\x3e\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END FIELDS TAB --\x3e\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/desk/view/view.configurations.html",'<div ui-view class="profile-content">\n\t<div class="row" data-ng-init="getConfigurations()">\n\t\t<div class="col-md-12">\n\t\t\t<div class="portlet light">\n\t\t\t\t<div class="portlet-title  tabbable-line">\n\t\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_CONFIGURATIONS\' | translate}}</span>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="actions">\n\t\t\t\t\t\t<div class="btn-group">\n\t\t\t\t\t\t\t<a class="btn green-jungle " href="/desk/view/{{account.id}}/configuration" data-toggle="dropdown">\n\t\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONFIGURATION\' | translate }}\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class="portlet-body">\n\t\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t\t<table class="table table-striped table-bordered table-hover">\n\t\t\t\t\t\t  <thead>\n\t\t\t\t\t\t\t  <tr>\n\t\t\t\t\t\t\t    <th>{{\'APPLICATION_NAME\' | translate}}</th>\n\t\t\t\t\t\t\t\t\t<th>{{\'APPLICATION_DESCRIPTION\' | translate}}</th>\n\t\t\t\t\t\t\t\t\t<th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n\t\t\t\t\t\t\t  </tr>\n\t\t\t\t\t\t  </thead>\n\t\t\t\t\t\t\t<tbody>\n\t\t\t\t\t\t    <tr data-ng-repeat="configuration in configurations">\n\t\t\t\t\t\t\t\t\t<td>{{configuration.name}}</td>\n\t\t\t\t\t\t\t\t\t<td>{{configuration.description}}</td>\n\t\t\t\t\t\t      <td>\n\t\t\t\t\t\t\t\t\t\t<a class="btn default btn-xs blue-stripe" data-ng-href="/desk/view/{{account.id}}/configurations/settings/{{configuration.id}}">\n\t\t\t\t\t\t\t\t\t\t\t{{ \'APPLICATION_SETTINGS\' | translate}}\n\t\t\t\t\t\t        </a>\n\t\t\t\t\t\t        <a class="btn default btn-xs red-stripe" data-ng-click="deleteConfiguration(configuration.name,configuration.id)">\n\t\t\t\t\t\t\t\t\t\t\t{{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t\t        </a>\n\t\t\t\t\t\t      </td>\n\t\t\t\t\t\t    </tr>\n\t\t\t\t\t\t\t\t<tr data-ng-hide="configurations.length">\n\t\t\t\t\t\t\t\t\t<td colspan="5" style="text-align:center;">\n\t\t\t\t\t\t\t\t\t\t<i>No configuration available</i>\n\t\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t  </tbody>\n\t\t\t\t\t</table>\n\t\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/desk/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row" data-ng-init="initView()">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n          <i class="icon-handbag"></i>\n          <a href="/desk/list">{{ \'APPLICATION_DESK_COM\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<a href="#">{{account.name}}</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t<div class="profile-sidebar">\n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t<div class="portlet light profile-sidebar-portlet">\n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t<div class="profile-image">\n\t\t\t\t\t<img src="assets/images/media/desk.png" class="img-responsive">\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t<div class="profile-usertitle">\n\t\t\t\t\t<div class="profile-usertitle-name">\n\t\t\t\t\t\t{{account.name}}\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="profile-usertitle-job">\n\t\t\t\t\t\t{{account.remoteUri}}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t<div class="profile-usermenu">\n\t\t\t\t\t<ul class="nav">\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.desk.view.account\')}">\n\t\t\t\t\t\t\t<a ng-href="/desk/view/{{account.id}}/account">\n\t\t\t\t\t\t\t<i class="icon-user"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_ACCOUNT\' | translate }} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.includes(\'main.desk.view.configurations\') || $state.is(\'main.desk.view.configuration\')}">\n\t\t\t\t\t\t\t<a ng-href="/desk/view/{{account.id}}/configurations">\n\t\t\t\t\t\t\t<i class="icon-settings"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_CONFIGURATIONS\' | translate }} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t</div>\n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t</div>\n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t<div ui-view class="profile-content">\n\t\t</div>\n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/desk/wizard/wizard.html",'\x3c!-- BEGIN PAGE HEADER--\x3e\n<div class="row">\n\t<div class="col-md-12">\n\t\t\t<div class="page-bar">\n\t\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<i class="icon-handbag"></i>\n\t\t\t\t\t\t<a href="/desk/list">{{ \'APPLICATION_DESK_COM\' | translate }}</a>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t</div>\n</div>\n\x3c!-- END PAGE HEADER--\x3e\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row" data-ng-init="initWizard()">\n\t<div class="col-md-12">\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t<div class="portlet light bordered">\n\t\t\t<div class="portlet-title">\n\t\t\t\t<div class="caption font-green-sharp">\n\t\t\t\t\t<i class="icon-notebook font-green-sharp"></i>\n\t\t\t\t\t<span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t<wizard on-finish="createItem()">\n          <wz-step title="{{\'APPLICATION_ACCOUNT_INFO\' | translate}}" canexit="exitValidation(forms.formSetting.$valid)">\n\t\t\t\t\t\t<form name="forms.formSetting" novalidate>\n\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.name.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n\t\t\t\t\t\t\t\t<input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n              \x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="username" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.username" required ng-remote-validate="/api/desk/accounts/validate/username"/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t<span data-ng-show="(forms.formSetting.username.$touched || forms.formSetting.$submitted) && forms.formSetting.username.$error.ngRemoteValidate" class="help-block help-block-error">\n\t\t\t\t          <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_USERNAME\' | translate}}.\n\t\t\t\t        </span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\n              \x3c!-- START REMOTE ADDRESS --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_REMOTE_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="url" name="remoteUri" placeholder="{{\'APPLICATION_REMOTE_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.remoteUri" required ng-remote-validate="/api/desk/accounts/validate/remoteUri"/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t<span data-ng-show="(forms.formSetting.remoteUri.$touched || forms.formSetting.$submitted) && forms.formSetting.remoteUri.$error.ngRemoteValidate" class="help-block help-block-error">\n\t\t\t\t          <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_DOMAIN\' | translate}}.\n\t\t\t\t        </span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START AUTH TYPE --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.authType.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}</label>\n\t\t\t\t\t\t\t\t<ui-select data-ng-model="item.authType" name="authType" theme="bootstrap" required>\n\t\t\t\t\t\t\t\t\t<ui-select-match placeholder="{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n\t\t\t\t\t\t\t\t\t<ui-select-choices repeat="type in [\'basic\', \'oauth\'] | filter: $select.search">\n\t\t\t\t\t\t\t\t\t\t<div data-ng-bind="type | capitalize | highlight: $select.search"></div>\n\t\t\t\t\t\t\t\t\t</ui-select-choices>\n\t\t\t\t\t\t\t\t</ui-select>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.authType.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- START AUTH TYPE --\x3e\n\n              \x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.password.$invalid}" ng-slide-down="item.authType == \'basic\'" lazy-render duration="1">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="password" name="password" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.password.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\n              \x3c!-- START CONSUMER KEY --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.consumerKey.$invalid}" ng-slide-down="item.authType == \'oauth\'" lazy-render duration="1">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_CONSUMER_KEY\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="consumerKey" placeholder="{{\'APPLICATION_CONSUMER_KEY\' | translate}}" class="form-control" data-ng-model="item.consumerKey" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.consumerKey.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END CONSUMER KEY --\x3e\n\n              \x3c!-- START CONSUMER SECRET --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.consumerSecret.$invalid}" ng-slide-down="item.authType == \'oauth\'" lazy-render duration="1">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_CONSUMER_SECRET\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="consumerSecret" placeholder="{{\'APPLICATION_CONSUMER_SECRET\' | translate}}" class="form-control" data-ng-model="item.consumerSecret" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.consumerSecret.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END CONSUMER SECRET --\x3e\n\n              \x3c!-- START TOKEN --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.token.$invalid}" ng-slide-down="item.authType == \'oauth\'" lazy-render duration="1">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_TOKEN\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="token" placeholder="{{\'APPLICATION_TOKEN\' | translate}}" class="form-control" data-ng-model="item.token" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.token.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END TOKEN --\x3e\n\n              \x3c!-- START TOKEN SECRET--\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.tokenSecret.$invalid}" ng-slide-down="item.authType == \'oauth\'" lazy-render duration="1">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_TOKEN_SECRET\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="tokenSecret" placeholder="{{\'APPLICATION_TOKEN_SECRET\' | translate}}" class="form-control" data-ng-model="item.tokenSecret" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.tokenSecret.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END TOKEN SECRET--\x3e\n\n\t\t\t\t\t\t\t<input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="next()"/>\n\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</wz-step>\n\n\t\t\t\t\t<wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n\t\t\t\t\t\t<p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n\t\t\t\t\t\t<input class="btn default" type="button" value="{{\'APPLICATION_BACK\' | translate}}" wz-previous/>\n\t\t\t\t\t\t<input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n\t\t\t\t\t</wz-step>\n\n\t\t\t\t</wizard>\n\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/freshdesk/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-handbag"></i>\n\t\t\t\t\t<a href="/freshdesk/list">{{ \'APPLICATION_FRESHDESK\' | translate }}</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t<div class="portlet light bordered" data-ng-init="initView()">\n\t\t\t<div class="portlet-title">\n\t\t\t\t<div class="caption font-green-sharp">\n\t\t\t\t\t<i class="icon-handbag font-green-sharp"></i>\n\t\t\t\t\t<span class="caption-subject">{{ \'APPLICATION_FRESHDESK\' | translate }}</a> </span>\n\t\t\t\t</div>\n\t\t\t\t<div class="actions">\n\t\t\t\t\t<div class="btn-group" data-ng-show="id.length">\n\t\t\t\t\t\t<a class="btn red" href="#" data-ng-click="deleteItems()">\n\t\t\t\t\t\t\t<i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="btn-group">\n\t\t\t\t\t\t<a class="btn green-jungle" href="/freshdesk/wizard">\n\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t<div ui-grid="gridOptions"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter class="ui-grid">\n\t\t\t\t\t<div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),
-a.put("app/freshdesk/view/configuration/list/create.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_NEW_CONFIGURATION\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <form name="form" novalidate>\n\n    \x3c!-- START NAME --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.name.$touched || form.name.$submitted) && form.name.$invalid}">\n      <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n      <span data-ng-show="(form.name.$touched || form.name.$submitted) && form.name.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END NAME --\x3e\n\n    \x3c!-- START CHANNEL --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.channel.$touched || form.channel.$submitted) && form.channel.$invalid}">\n      <label class="control-label">{{\'APPLICATION_CHANNEL\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <ui-select data-ng-model="item.channel" name="channel" theme="bootstrap" required>\n        <ui-select-match placeholder="{{\'APPLICATION_CHANNEL\' | translate}}">{{$select.selected.name}}</ui-select-match>\n        <ui-select-choices repeat="channel.value as channel in channels | filter: $select.search">\n          <div data-ng-bind="channel.name | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="(form.channel.$touched || form.channel.$submitted) && form.channel.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- START CHANNEL --\x3e\n\n    \x3c!-- START VOICE SUBTYPE --\x3e\n    <div data-ng-if="item.channel===\'voice\'" class="form-group" data-ng-class="{\'has-error\': (form.channel.$touched || form.channel.$submitted) && form.channel.$invalid}">\n      <label class="control-label">{{\'APPLICATION_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <ui-select data-ng-model="item.type" name="type" theme="bootstrap" required>\n        <ui-select-match placeholder="{{\'APPLICATION_TYPE\' | translate}}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="type in [\'Queue\',\'Outbound\'] | filter: $select.search">\n          <div data-ng-bind="type | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="(form.type.$touched || form.type.$submitted) && form.type.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- START CHANNEL --\x3e\n\n    \x3c!-- START DESCRIPTION --\x3e\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n      <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/></textarea>\n    </div>\n    \x3c!-- END DESCRIPTION --\x3e\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="save()" ng-disabled="form.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/freshdesk/view/configuration/list/list.html",'<div ui-view class="profile-content">\n\t<div class="row">\n\t\t<div class="col-md-12">\n\t\t\t<div class="portlet light" data-ng-init="initView()">\n\t\t\t\t<div class="portlet-title  tabbable-line">\n\t\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_CONFIGURATIONS\' | translate}}</span>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="actions">\n\t\t\t\t\t\t<div class="btn-group" data-ng-show="id.length">\n\t\t\t\t\t\t\t<a class="btn red" href="#" data-ng-click="deleteItems()">\n\t\t\t\t\t\t\t\t<i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="btn-group">\n\t\t\t\t\t\t\t<a class="btn green-jungle" href="#" data-ng-click="createItem()">\n\t\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONFIGURATION\' | translate }}\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class="portlet-body">\n\t\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t\t<div ui-grid="gridOptions"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter ui-grid-draggable-rows class="ui-grid">\n\t\t\t\t\t\t<div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/freshdesk/view/configuration/view/view.html",'<div class="row" data-ng-init="initView();getConfiguration();getCustomVariables();getFields();getTags();">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_CONFIGURATION\' | translate}}: {{configurationName}}</span>\n\t\t\t\t</div>\n\t\t\t\t<ul class="nav nav-tabs">\n\t\t\t\t\t<li class="active">\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_SUBJECT\' | translate}}</a>\n\t\t\t\t\t</li>\n          <li>\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_DESCRIPTION\' | translate}}</a>\n\t\t\t\t\t</li>\n          <li>\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_FIELDS\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_4" data-toggle="tab">{{\'APPLICATION_TAGS\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t<div class="tab-content">\n\t\t\t\t\t\x3c!-- SUBJECT TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding active" id="tab_1_1">\n            <div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">All following fields will be join by blank space:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItem(\'subject\')"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t\x3c!-- <div id="subject-item-list" ng-scrollbars ng-scrollbars-config="config"> --\x3e\n\t            <div class="row" data-ng-repeat="subjectItem in subjectConfig">\n\t              <div class="col-md-3">\n\t                <ui-select ng-model="subjectItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(subjectItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                  <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n\t                    <div ng-bind-html="item.title | highlight: $select.search"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t              </div>\n\t              <div class="col-md-8" data-ng-if="subjectItem.type==\'string\'">\n\t                <div class="form-group">\n\t                  <input type="text" class="form-control" data-ng-model="subjectItem.content" data-ng-change="updateField(subjectItem)">\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-8" data-ng-if="subjectItem.type==\'variable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.variableName" data-ng-change="updateField(subjectItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                    <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n\t                      <div ng-bind-html="variable.title | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-8" data-ng-if="subjectItem.type==\'customVariable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.VariableId" data-ng-change="updateField(subjectItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t                    <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n\t                      <div ng-bind-html="variable.name | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-1">\n\t                <div class="form-group">\n\t                  <button class="btn btn-icon-only red" data-ng-click="removeItem(subjectItem)"><i class="fa fa-times"></i></button>\n\t                </div>\n\t              </div>\n\t            </div>\n\t\t\t\t\t\t\x3c!-- </div> --\x3e\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END SUBJECT TAB --\x3e\n          \x3c!-- DESCRIPTION TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding" id="tab_1_2">\n\t\t\t\t\t\t<div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">All following fields will be join by new line:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItem(\'description\')"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t\x3c!-- <div id="description-item-list" ng-scrollbars ng-scrollbars-config="config"> --\x3e\n\t\t\t\t\t\t\t<div class="row" data-ng-repeat="descriptionItem in descriptionConfig">\n\t              <div class="col-md-2">\n\t                <ui-select ng-model="descriptionItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                  <ui-select-choices repeat="item.type as item in descFieldType | filter: $select.search">\n\t                    <div ng-bind-html="item.title | highlight: $select.search"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t              </div>\n\t              <div class="col-md-9" data-ng-if="descriptionItem.type==\'string\'">\n\t                <div class="form-group">\n\t                  <input type="text" class="form-control" data-ng-model="descriptionItem.content" data-ng-change="updateField(descriptionItem)">\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\'">\n\t\t\t\t\t\t\t\t\t<input type="text" class="form-control" placeholder="Key" data-ng-model="descriptionItem.key" data-ng-change="updateField(descriptionItem)">\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\'">\n\t\t\t\t\t\t\t\t\t<ui-select ng-model="descriptionItem.keyType" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                  <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n\t                    <div ng-bind-html="item.title | highlight: $select.search"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'string\'">\n\t\t\t\t\t\t\t\t\t<input type="text" class="form-control" placeholder="Value" data-ng-model="descriptionItem.keyContent" data-ng-change="updateField(descriptionItem)">\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'variable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.variableName" data-ng-change="updateField(descriptionItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                    <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n\t                      <div ng-bind-html="variable.title | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'customVariable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.VariableId" data-ng-change="updateField(descriptionItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t                    <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n\t                      <div ng-bind-html="variable.name | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-1">\n\t                <div class="form-group">\n\t                  <button class="btn btn-icon-only red" data-ng-click="removeItem(descriptionItem)"><i class="fa fa-times"></i></button>\n\t                </div>\n\t              </div>\n\t            </div>\n\t\t\t\t\t\t\x3c!-- </div> --\x3e\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END DESCRIPTION TAB --\x3e\n          \x3c!-- FIELDS TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding" id="tab_1_3">\n\t\t\t\t\t\t<div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">Add how to fill the fields present in your account:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItem(\'field\')"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t\x3c!-- <div id="field-item-list" ng-scrollbars ng-scrollbars-config="config"> --\x3e\n\t            <div class="row" data-ng-repeat="fieldItem in fieldConfig">\n\t              <div class="col-md-3">\n\t                <ui-select ng-model="fieldItem.idField" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeFieldType(fieldItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.label}}</ui-select-match>\n\t                  <ui-select-choices repeat="item.name as item in accountFields | filter: $select.search">\n\t                    <div ng-bind-html="item.label | highlight: $select.search"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t              </div>\n\t              <div class="col-md-8" data-ng-if="getSystemFieldOptions(fieldItem.idField)">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select ng-model="fieldItem.content" theme="bootstrap" ng-disabled="disabled" data-ng-change="updateField(fieldItem)">\n\t\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected}}</ui-select-match>\n\t\t                  <ui-select-choices repeat="item in getSystemFieldOptions(fieldItem.idField) | filter: $select.search">\n\t\t                    <div ng-bind-html="item | highlight: $select.search"></div>\n\t\t                  </ui-select-choices>\n\t\t                </ui-select>\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField)">\n\t\t\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select ng-model="fieldItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(fieldItem)">\n\t\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t\t                  <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n\t\t                    <div ng-bind-html="item.title | highlight: $select.search | ucfirst"></div>\n\t\t                  </ui-select-choices>\n\t\t                </ui-select>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'string\'">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<input type="text" class="form-control" data-ng-model="fieldItem.content" data-ng-change="updateField(fieldItem)">\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'variable\'">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.variableName" data-ng-change="updateField(fieldItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                    <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n\t                      <div ng-bind-html="variable.title | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'customVariable\'">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.VariableId" data-ng-change="updateField(fieldItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t                    <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n\t                      <div ng-bind-html="variable.name | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-1">\n\t                <div class="form-group">\n\t                  <button class="btn btn-icon-only red" data-ng-click="removeItem(fieldItem)"><i class="fa fa-times"></i></button>\n\t                </div>\n\t              </div>\n\t            </div>\n\t\t\t\t\t\t\x3c!-- </div> --\x3e\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END FIELDS TAB --\x3e\n\t\t\t\t\t\x3c!-- TAG TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding" id="tab_1_4">\n\t\t\t\t\t\t<div class="row">\n              <div class="col-md-12">\n                <span class="caption-subject">Select tags that you want add in the ticket:</span>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t<form name="forms.tags" data-ng-submit="updateTags()" novalidate>\n\t\t\t\t\t\t\t\x3c!-- TAG --\x3e\n\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t<ui-select multiple data-ng-model="selectedTags.tags" theme="bootstrap" name="tags" ng-disabled="disabled">\n\t\t\t\t\t\t\t\t\t<ui-select-match placeholder="{{ \'APPLICATION_TAGS\' | translate }}">{{$item.name}}</ui-select-match>\n\t\t\t\t\t\t\t\t\t<ui-select-choices repeat="tag.id as tag in tags | filter: $select.search">\n\t\t\t\t\t\t\t\t\t\t{{tag.name}}\n\t\t\t\t\t\t\t\t\t</ui-select-choices>\n\t\t\t\t\t\t\t\t</ui-select>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END TAG --\x3e\n\t\t\t\t\t\t\t<input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END TAG TAB --\x3e\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/freshdesk/view/view.account.html",'<div class="row">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_ACCOUNT\' | translate}}</span>\n\t\t\t\t</div>\n\t\t\t\t<ul class="nav nav-tabs">\n\t\t\t\t\t<li class="active">\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t<div class="tab-content">\n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t<div class="tab-pane active" id="tab_1_1">\n\t\t\t\t\t\t<form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItem()" novalidate>\n              \x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.name.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.name" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n\t\t\t\t\t\t\t\t<input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n              \x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.username" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n              \x3c!-- START REMOTE ADDRESS --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_REMOTE_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="url" name="remoteUri" placeholder="{{\'APPLICATION_REMOTE_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.remoteUri" required />\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START API KEY --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.apiKey.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_API_KEY\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="apiKey" placeholder="{{\'APPLICATION_API_KEY\' | translate}}" class="form-control" data-ng-model="account.apiKey" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.apiKey.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END API KEY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SERVER URL --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.serverUrl.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}}</label>\n\t\t\t\t\t\t\t\t<input type="url" name="serverUrl" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.serverUrl"/>\n\t\t\t\t\t\t\t\t<span class="help-block">\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_SERVER_URL\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t<span class="help-block help-block-info">\n\t\t\t\t\t\t\t\t\t{{\'MESSAGE_MOTION_ADDRESS_FORMAT\' | translate}}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END SERVER URL --\x3e\n\n\t\t\t\t\t\t\t<input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/freshdesk/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row" data-ng-init="initView()">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n          <i class="icon-handbag"></i>\n          <a href="/freshdesk/list">{{ \'APPLICATION_FRESHDESK\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<a href="#">{{account.name}}</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t<div class="profile-sidebar">\n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t<div class="portlet light profile-sidebar-portlet">\n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t<div class="profile-image">\n\t\t\t\t\t<img src="assets/images/media/freshdesk.png" class="img-responsive">\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t<div class="profile-usertitle">\n\t\t\t\t\t<div class="profile-usertitle-name">\n\t\t\t\t\t\t{{account.name}}\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="profile-usertitle-job">\n\t\t\t\t\t\t{{account.remoteUri}}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t<div class="profile-usermenu">\n\t\t\t\t\t<ul class="nav">\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.freshdesk.view.account\')}">\n\t\t\t\t\t\t\t<a ng-href="/freshdesk/view/{{account.id}}/account">\n\t\t\t\t\t\t\t<i class="icon-user"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_ACCOUNT\' | translate }} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.includes(\'main.freshdesk.view.configurations\') || $state.is(\'main.freshdesk.view.configuration\')}">\n\t\t\t\t\t\t\t<a ng-href="/freshdesk/view/{{account.id}}/configurations/list">\n\t\t\t\t\t\t\t<i class="icon-settings"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_CONFIGURATIONS\' | translate }} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t</div>\n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t</div>\n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t<div ui-view class="profile-content">\n\t\t</div>\n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),
-a.put("app/main/mergeContact.merge.modal.html",'<div class="modal-header" data-ng-init="initView()">\n  <h3 class="modal-title">{{ \'APPLICATION_MERGE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n      <form name="forms.general" data-ng-submit="submit({index:index,item:contact})" novalidate>\n          \x3c!-- BEGIN PORTLET --\x3e\n          <div class="portlet light ">\n                <div class="portlet-body row">\n                    <div class="col-md-4">\n                      \x3c!-- START FIRSTNAME --\x3e\n                      <div class="form-group" data-ng-class="{\'has-error\': (forms.general.firstName.$touched || forms.general.$submitted) && forms.general.firstName.$invalid}">\n                        <label class="control-label">{{\'APPLICATION_FIRSTNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                        <input data-ng-if="fields.firstName.length <= 1" type="text" name="firstName" placeholder="{{\'APPLICATION_FIRSTNAME\' | translate}}" class="form-control" data-ng-model="contact.firstName" required/>\n                        <ui-select data-ng-if="fields.firstName.length > 1" data-ng-model="contact.firstName" theme="bootstrap" name="firstName" required>\n                          <ui-select-match placeholder="{{ \'APPLICATION_FIRSTNAME\' | translate }}">{{$select.selected}}</ui-select-match>\n                          <ui-select-choices repeat="field in fields.firstName | filter: $select.search track by $index">\n                            <div ng-bind-html="field | highlight: $select.search"></div>\n                          </ui-select-choices>\n                        </ui-select>\n                        <span data-ng-show="(forms.general.firstName.$touched || forms.general.$submitted) && forms.general.firstName.$error.required" class="help-block help-block-error">\n                          <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                        </span>\n                      </div>\n                      \x3c!-- END FIRSTNAME --\x3e\n\n                      \x3c!-- START LASTNAME --\x3e\n                      <div class="form-group" data-ng-class="{\'has-error\': (forms.general.lastName.$touched || forms.general.$submitted) && forms.general.lastName.$invalid}">\n                        <label class="control-label">{{\'APPLICATION_LASTNAME\' | translate}}</label>\n                        <input data-ng-if="fields.lastName.length <= 1" type="text" name="lastName" placeholder="{{\'APPLICATION_LASTNAME\' | translate}}" class="form-control" data-ng-model="contact.lastName"/>\n                        <ui-select data-ng-if="fields.lastName.length > 1" data-ng-model="contact.lastName" theme="bootstrap" name="lastName">\n                          <ui-select-match placeholder="{{ \'APPLICATION_LASTNAME\' | translate }}">{{$select.selected}}</ui-select-match>\n                          <ui-select-choices repeat="field in fields.lastName | filter: $select.search track by $index">\n                            <div ng-bind-html="field | highlight: $select.search"></div>\n                          </ui-select-choices>\n                        </ui-select>\n                        <span data-ng-show="(forms.general.lastName.$touched || forms.general.$submitted) && forms.general.lastName.$error.required" class="help-block help-block-error">\n                          <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                        </span>\n                      </div>\n                      \x3c!-- END LASTNAME --\x3e\n\n                      \x3c!-- START COMPANY --\x3e\n                      <div class="form-group" data-ng-class="{\'has-error\': forms.general.CompanyId.$invalid && forms.general.$submitted}">\n                        <label class="control-label">{{\'APPLICATION_COMPANY\' | translate}}</label>\n                          <ui-select data-ng-model="contact.CompanyId" theme="bootstrap" name="CompanyId" ng-disabled="!companies.length">\n                            <ui-select-match placeholder="{{ \'APPLICATION_COMPANY\' | translate }}">{{$select.selected.name}}</ui-select-match>\n                            <ui-select-choices repeat="company.id as company in companies | filter: $select.search" null-option="scope.noCompany">\n                              <div ng-bind-html="company.name | highlight: $select.search"></div>\n                            </ui-select-choices>\n                          </ui-select>\n                        <div class="note note-warning" data-ng-hide="companies.length">\n                          <h4 class="block">Warning!</h4>\n                          <p>\n                            {{ \'MESSAGE_NO_COMPANIES_AVAILABLE\' | translate }}\n                          </p>\n                          <p>\n                            {{\'APPLICATION_GO_TO\' | translate}} <a href="/contactmanager/companies/list">{{\'APPLICATION_COMPANIES\' | translate}}</a>\n                          </p>\n                        </div>\n                        <span data-ng-show="forms.general.CompanyId.$invalid && forms.general.$submitted" class="help-block help-block-error">\n                          <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                        </span>\n                      </div>\n                      \x3c!-- END COMPANY --\x3e\n                    </div>\n                    <div class="col-md-4">\n                      \x3c!-- START PHONE --\x3e\n                      <div class="form-group" data-ng-class="{\'has-error\': (forms.general.phone.$touched || forms.general.$submitted) && forms.general.phone.$invalid}">\n                        <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}</label>\n                        <input data-ng-if="fields.phone.length <= 1" type="text" name="phone" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="contact.phone"/>\n                        <ui-select data-ng-if="fields.phone.length > 1" data-ng-model="contact.phone" theme="bootstrap" name="phone">\n                          <ui-select-match placeholder="{{ \'APPLICATION_PHONE\' | translate }}">{{$select.selected}}</ui-select-match>\n                          <ui-select-choices repeat="field in fields.phone | filter: $select.search track by $index">\n                            <div ng-bind-html="field | highlight: $select.search"></div>\n                          </ui-select-choices>\n                        </ui-select>\n                      <span data-ng-show="(forms.general.phone.$touched || forms.general.$submitted) && forms.general.phone.$error.required" class="help-block help-block-error">\n                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                      </span>\n                    </div>\n                    \x3c!-- END PHONE --\x3e\n                    \x3c!-- START MOBILE --\x3e\n                    <div class="form-group" data-ng-class="{\'has-error\': (forms.general.mobile.$touched || forms.general.$submitted) && forms.general.mobile.$invalid}">\n                      <label class="control-label">{{\'APPLICATION_MOBILE\' | translate}}</label>\n                      <input data-ng-if="fields.mobile.length <= 1" type="text" name="mobile" placeholder="{{\'APPLICATION_MOBILE\' | translate}}" class="form-control" data-ng-model="contact.mobile"/>\n                      <ui-select data-ng-if="fields.mobile.length > 1" data-ng-model="contact.mobile" theme="bootstrap" name="mobile">\n                        <ui-select-match placeholder="{{ \'APPLICATION_MOBILE\' | translate }}">{{$select.selected}}</ui-select-match>\n                        <ui-select-choices repeat="field in fields.mobile | filter: $select.search track by $index">\n                          <div ng-bind-html="field | highlight: $select.search"></div>\n                        </ui-select-choices>\n                      </ui-select>\n                    <span data-ng-show="(forms.general.mobile.$touched || forms.general.$submitted) && forms.general.mobile.$error.required" class="help-block help-block-error">\n                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                    </span>\n                  </div>\n                  \x3c!-- END MOBILE --\x3e\n                  \x3c!-- START EMAIL --\x3e\n                  <div class="form-group" data-ng-class="{\'has-error\': (forms.general.email.$touched || forms.general.$submitted) && forms.general.email.$invalid}">\n                    <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}</label>\n                    <input data-ng-if="fields.email.length <= 1" type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="contact.email"/>\n                      <ui-select data-ng-if="fields.email.length > 1" data-ng-model="contact.email" theme="bootstrap" name="email">\n                        <ui-select-match placeholder="{{ \'APPLICATION_EMAIL\' | translate }}">{{$select.selected}}</ui-select-match>\n                        <ui-select-choices repeat="field in fields.email | filter: $select.search track by $index">\n                          <div ng-bind-html="field | highlight: $select.search"></div>\n                        </ui-select-choices>\n                      </ui-select>\n                    <span data-ng-show="(forms.general.email.$touched || forms.general.$submitted) && forms.general.email.$error.required" class="help-block help-block-error">\n                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                    </span>\n                  </div>\n                  \x3c!-- END EMAIL --\x3e\n                </div>\n                <div class="col-md-4">\n                  \x3c!-- START FAX --\x3e\n                  <div class="form-group" data-ng-class="{\'has-error\': (forms.general.fax.$touched || forms.general.$submitted) && forms.general.fax.$invalid}">\n                    <label class="control-label">{{\'APPLICATION_FAX\' | translate}}</label>\n                    <input data-ng-if="fields.fax.length <= 1" type="text" name="fax" placeholder="{{\'APPLICATION_FAX\' | translate}}" class="form-control" data-ng-model="contact.fax"/>\n                      <ui-select data-ng-if="fields.fax.length > 1" data-ng-model="contact.fax" theme="bootstrap" name="fax">\n                        <ui-select-match placeholder="{{ \'APPLICATION_FAX\' | translate }}">{{$select.selected}}</ui-select-match>\n                        <ui-select-choices repeat="field in fields.fax | filter: $select.search track by $index">\n                          <div ng-bind-html="field | highlight: $select.search"></div>\n                        </ui-select-choices>\n                      </ui-select>\n                    <span data-ng-show="(forms.general.fax.$touched || forms.general.$submitted) && forms.general.fax.$error.required" class="help-block help-block-error">\n                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                    </span>\n                  </div>\n                  \x3c!-- END FAX --\x3e\n                  \x3c!-- START TAGS --\x3e\n                  <div class="form-group" data-ng-class="{\'has-error\': forms.general.tags.$invalid && forms.general.$submitted}">\n                    <label class="control-label">{{\'APPLICATION_TAGS\' | translate}}</label>\n                    <ui-select multiple=\'true\' data-ng-model="contact.tags" theme="bootstrap" name="tags" ng-disabled="disabled">\n                      <ui-select-match placeholder="{{ \'APPLICATION_TAGS\' | translate }}">{{$item}}</ui-select-match>\n                      <ui-select-choices repeat="tag in tags | filter: $select.search">\n                        <div ng-bind-html="tag | highlight: $select.search"></div>\n                      </ui-select-choices>\n                    </ui-select>\n                    <span data-ng-show="forms.general.tags.$invalid && forms.general.$submitted" class="help-block help-block-error">\n                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                    </span>\n                  </div>\n                  \x3c!-- END TAGS --\x3e\n                  \x3c!-- START LIST --\x3e\n                  <div class="form-group" data-ng-if="contact.id">\n                    <label class="control-label">{{\'APPLICATION_LIST\' | translate}}</label>\n                    <input type="text" name="list" placeholder="{{\'APPLICATION_LIST\' | translate}}" class="form-control" data-ng data-ng-model="contact.List.name" disabled/>\n                  </div>\n                  \x3c!-- END LIST --\x3e\n                </div>\n              </div>\n            </div>\n            <div class="portlet light upborder">\n                <div class="portlet-body row">\n                <div class="col-md-4">\n                  \x3c!-- START STREET --\x3e\n                  <div class="form-group" data-ng-class="{\'has-error\': (forms.general.street.$touched || forms.general.$submitted) && forms.general.street.$invalid}">\n                    <label class="control-label">{{\'APPLICATION_STREET\' | translate}}</label>\n                    <input data-ng-if="fields.street.length <= 1" type="text" name="street" placeholder="{{\'APPLICATION_STREET\' | translate}}" class="form-control" data-ng-model="contact.street"/>\n                        <ui-select data-ng-if="fields.street.length > 1" data-ng-model="contact.street" theme="bootstrap" name="street">\n                          <ui-select-match placeholder="{{ \'APPLICATION_STREET\' | translate }}">{{$select.selected}}</ui-select-match>\n                          <ui-select-choices repeat="field in fields.street | filter: $select.search track by $index">\n                            <div ng-bind-html="field | highlight: $select.search"></div>\n                          </ui-select-choices>\n                        </ui-select>\n                    <span data-ng-show="(forms.general.street.$touched || forms.general.$submitted) && forms.general.street.$error.required" class="help-block help-block-error">\n                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                    </span>\n                  </div>\n                  \x3c!-- END STREET --\x3e\n\n                  \x3c!-- START POSTALCODE --\x3e\n                  <div class="form-group" data-ng-class="{\'has-error\': (forms.general.postalCode.$touched || forms.general.$submitted) && forms.general.postalCode.$invalid}">\n                    <label class="control-label">{{\'APPLICATION_POSTALCODE\' | translate}}</label>\n                    <input data-ng-if="fields.postalCode.length <= 1" type="text" name="postalCode" placeholder="{{\'APPLICATION_POSTALCODE\' | translate}}" class="form-control" data-ng-model="contact.postalCode"/>\n                        <ui-select data-ng-if="fields.postalCode.length > 1" data-ng-model="contact.postalCode" theme="bootstrap" name="postalCode">\n                          <ui-select-match placeholder="{{ \'APPLICATION_POSTALCODE\' | translate }}">{{$select.selected}}</ui-select-match>\n                          <ui-select-choices repeat="field in fields.postalCode | filter: $select.search track by $index">\n                            <div ng-bind-html="field | highlight: $select.search"></div>\n                          </ui-select-choices>\n                        </ui-select>\n                    <span data-ng-show="(forms.general.postalCode.$touched || forms.general.$submitted) && forms.general.postalCode.$error.required" class="help-block help-block-error">\n                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                    </span>\n                  </div>\n                  \x3c!-- END POSTALCODE --\x3e\n\n                  \x3c!-- START CITY --\x3e\n                  <div class="form-group" data-ng-class="{\'has-error\': (forms.general.city.$touched || forms.general.$submitted) && forms.general.city.$invalid}">\n                    <label class="control-label">{{\'APPLICATION_CITY\' | translate}}</label>\n                    <input data-ng-if="fields.city.length <= 1" type="text" name="city" placeholder="{{\'APPLICATION_CITY\' | translate}}" class="form-control" data-ng-model="contact.city"/>\n                        <ui-select data-ng-if="fields.city.length > 1" data-ng-model="contact.city" theme="bootstrap" name="city">\n                          <ui-select-match placeholder="{{ \'APPLICATION_CITY\' | translate }}">{{$select.selected}}</ui-select-match>\n                          <ui-select-choices repeat="field in fields.city | filter: $select.search track by $index">\n                            <div ng-bind-html="field | highlight: $select.search"></div>\n                          </ui-select-choices>\n                        </ui-select>\n                    <span data-ng-show="(forms.general.city.$touched || forms.general.$submitted) && forms.general.city.$error.required" class="help-block help-block-error">\n                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                    </span>\n                  </div>\n                  \x3c!-- END CITY --\x3e\n                </div>\n                <div class="col-md-4">\n                  \x3c!-- START COUNTRY --\x3e\n                  <div class="form-group" data-ng-class="{\'has-error\': (forms.general.country.$touched || forms.general.$submitted) && forms.general.country.$invalid}">\n                    <label class="control-label">{{\'APPLICATION_COUNTRY\' | translate}}</label>\n                    <input data-ng-if="fields.country.length <= 1" type="text" name="country" placeholder="{{\'APPLICATION_COUNTRY\' | translate}}" class="form-control" data-ng-model="contact.country"/>\n                        <ui-select data-ng-if="fields.country.length > 1" data-ng-model="contact.country" theme="bootstrap" name="country">\n                          <ui-select-match placeholder="{{ \'APPLICATION_COUNTRY\' | translate }}">{{$select.selected}}</ui-select-match>\n                          <ui-select-choices repeat="field in fields.country | filter: $select.search track by $index">\n                            <div ng-bind-html="field | highlight: $select.search"></div>\n                          </ui-select-choices>\n                        </ui-select>\n                    <span data-ng-show="(forms.general.country.$touched || forms.general.$submitted) && forms.general.country.$error.required" class="help-block help-block-error">\n                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                    </span>\n                  </div>\n                  \x3c!-- END COUNTRY --\x3e\n\n                  \x3c!-- START DATEOFBIRTH --\x3e\n                  <div class="form-group" data-ng-class="{\'has-error\': (forms.general.dateOfBirth.$touched || forms.general.$submitted) && forms.general.dateOfBirth.$invalid}">\n                    <label class="control-label">{{\'APPLICATION_DATEOFBIRTH\' | translate}}</label>\n                    <input data-ng-if="fields.dateOfBirth.length <= 1" type="date" name="dateOfBirth" placeholder="{{\'APPLICATION_DATEOFBIRTH\' | translate}}" class="form-control" data-ng-model="contact.dateOfBirth"/>\n                    <ui-select data-ng-if="fields.dateOfBirth.length > 1" data-ng-model="contact.dateOfBirth" theme="bootstrap" name="dateOfBirth">\n                      <ui-select-match placeholder="{{ \'APPLICATION_DATEOFBIRTH\' | translate }}">{{$select.selected}}</ui-select-match>\n                      <ui-select-choices repeat="field in fields.dateOfBirth | filter: $select.search track by $index">\n                        <div ng-bind-html="field | highlight: $select.search"></div>\n                      </ui-select-choices>\n                    </ui-select>\n                      <span data-ng-show="(forms.general.dateOfBirth.$touched || forms.general.$submitted) && forms.general.dateOfBirth.$error.required" class="help-block help-block-error">\n                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                    </span>\n                  </div>\n                  \x3c!-- END DATEOFBIRTH --\x3e\n\n                  \x3c!-- START DESCRIPTION --\x3e\n                  <div class="form-group">\n                    <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                    <textarea  style="resize: vertical;" data-ng-if="fields.description.length <= 1" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="contact.description"/></textarea>\n                        <ui-select data-ng-if="fields.description.length > 1" data-ng-model="contact.description" theme="bootstrap" name="description">\n                          <ui-select-match placeholder="{{ \'APPLICATION_DESCRIPTION\' | translate }}">{{$select.selected}}</ui-select-match>\n                          <ui-select-choices repeat="field in fields.description | filter: $select.search track by $index">\n                            <div ng-bind-html="field | highlight: $select.search"></div>\n                          </ui-select-choices>\n                        </ui-select>\n                  </div>\n                  \x3c!-- END DESCRIPTION --\x3e\n                </div>\n                <div class="col-md-4">\n                  \x3c!-- START URL --\x3e\n                  <div class="form-group" data-ng-class="{\'has-error\': (forms.general.url.$touched || forms.general.$submitted) && forms.general.url.$invalid}">\n                    <label class="control-label">{{\'APPLICATION_URL\' | translate}}</label>\n                    <input data-ng-if="fields.url.length <= 1" type="text" name="url" placeholder="{{\'APPLICATION_URL\' | translate}}" class="form-control" data-ng-model="contact.url"/>\n                    <ui-select data-ng-if="fields.url.length > 1" data-ng-model="contact.url" theme="bootstrap" name="url">\n                      <ui-select-match placeholder="{{ \'APPLICATION_URL\' | translate }}">{{$select.selected}}</ui-select-match>\n                      <ui-select-choices repeat="field in fields.url | filter: $select.search track by $index">\n                        <div ng-bind-html="field | highlight: $select.search"></div>\n                      </ui-select-choices>\n                    </ui-select>\n                    <span data-ng-show="(forms.general.url.$touched || forms.general.$submitted) && forms.general.url.$error.required" class="help-block help-block-error">\n                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                    </span>\n                  </div>\n                  \x3c!-- END URL --\x3e\n                </div>\n              </div>\n            </div>\n          <div class="portlet light upborder" data-ng-if="customFields.length">\n            <div class="portlet-body">\n              <div class="row">\n              <div class="col-md-4" data-ng-repeat="customField in customFields">\n                <div data-ng-if="customField.type==\'text\'" class="form-group" data-ng-class="{\'has-error\': (forms.general[customField.name].$touched || forms.general.$submitted) && forms.general[customField.name].$invalid}">\n                  <label class="control-label">{{customField.alias}}</label>\n                  <input data-ng-if="fields[customField.name].length <= 1" type="text" name="{{customField.name}}" placeholder="{{customField.alias}}" class="form-control" data-ng-model="contact[customField.name]"/>\n                  <ui-select data-ng-if="fields[customField.name].length > 1" data-ng-model="contact[customField.name]" theme="bootstrap" name="{{customField.name}}">\n                    <ui-select-match placeholder="{{customField.name}}">{{$select.selected}}</ui-select-match>\n                    <ui-select-choices repeat="field in fields[customField.name] | filter: $select.search track by $index">\n                      <div ng-bind-html="field | highlight: $select.search"></div>\n                    </ui-select-choices>\n                  </ui-select>\n                  <span data-ng-show="(forms.general[customField.name].$touched || forms.general.$submitted) && forms.general[customField.name].$error.required" class="help-block help-block-error">\n                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                  </span>\n                </div>\n                <div data-ng-if="customField.type==\'select\'" class="form-group" data-ng-class="{\'has-error\': forms.general[customField.name].$invalid && forms.general.$submitted}">\n                  <label class="control-label">{{customField.alias}}</label>\n                  <ui-select data-ng-model="contact[customField.name]" theme="bootstrap" name="{{customField.name}}" data-ng-disabled="disabled">\n                    <ui-select-match allow-clear placeholder="{{customField.alias}}">{{$select.selected.value}}</ui-select-match>\n                    <ui-select-choices repeat="choice.value as choice in customField.values | filter: $select.search">\n                      <div ng-bind-html="choice.value | highlight: $select.search"></div>\n                    </ui-select-choices>\n                  </ui-select>\n                  <span data-ng-show="forms.general[customField.name].$invalid && forms.general.$submitted" class="help-block help-block-error">\n                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                  </span>\n                </div>\n              </div>\n            </div>\n            </div>\n          </div>\n          \x3c!-- END PORTLET --\x3e\n        </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="merge()" ng-disabled="forms.general.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/main/template/actionBuilder/template.actionBuilderIntegration.html",'<div data-ng-if="randomName" class="form-group col-md-6" data-ng-class="{\'has-error\': (form[\'data1\'+randomName].$touched || form.$submitted) && form[\'data1\'+randomName].$invalid}">\n  <ui-select data-ng-model="element.data1" name="data1{{randomName}}" theme="bootstrap" data-ng-change="changeIntegration()" required>\n    <ui-select-match placeholder="{{ \'APPLICATION_INTEGRATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n    <ui-select-choices repeat="integration.state as integration in integrations | filter: $select.search">\n      <div ng-bind-html="integration.name | highlight: $select.search"></div>\n    </ui-select-choices>\n  </ui-select>\n  <span class="help-block">\n    {{\'APPLICATION_INTEGRATION\' | translate}}\n  </span>\n  <span data-ng-show="(form[\'data1\'+randomName].$touched || form.$submitted) && form[\'data1\'+randomName].$error.required" class="help-block help-block-error">\n    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n  </span>\n</div>\n<div class="form-group col-md-6" data-ng-if="element.data1 && accounts && randomName" data-ng-class="{\'has-error\': (form[\'data2\'+randomName].$touched || form.$submitted) && form[\'data2\'+randomName].$invalid}">\n  <ui-select data-ng-model="element.data2" name="data2{{randomName}}" theme="bootstrap" data-ng-change="changeAccount();" required>\n    <ui-select-match placeholder="{{\'APPLICATION_ACCOUNT\' | translate}}">{{$select.selected.name}}</ui-select-match>\n    <ui-select-choices repeat="account.id as account in accounts | filter: $select.search">\n      <div ng-bind-html="account.name | highlight: $select.search"></div>\n    </ui-select-choices>\n  </ui-select>\n  <span class="help-block">\n    {{\'APPLICATION_ACCOUNT\' | translate}}\n  </span>\n  <span data-ng-show="(form[\'data2\'+randomName].$touched || form.$submitted) && form[\'data2\'+randomName].$error.required" class="help-block help-block-error">\n    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n  </span>\n</div>\n<div class="form-group col-md-6" data-ng-if="element.data2 && configurations && randomName" data-ng-class="{\'has-error\': (form[\'data3\'+randomName].$touched || form.$submitted) && form[\'data3\'+randomName].$invalid}">\n  <ui-select data-ng-model="element.data3" name="data3{{randomName}}" theme="bootstrap" required>\n    <ui-select-match placeholder="{{\'APPLICATION_CONFIGURATION\' | translate}}">{{$select.selected.name}}</ui-select-match>\n    <ui-select-choices repeat="config.id as config in configurations | filter: $select.search">\n      <div ng-bind-html="config.name | highlight: $select.search"></div>\n    </ui-select-choices>\n  </ui-select>\n  <span class="help-block">\n    {{\'APPLICATION_CONFIGURATION\' | translate}}\n  </span>\n  <span data-ng-show="(form[\'data3\'+randomName].$touched || form.$submitted) && form[\'data3\'+randomName].$error.required" class="help-block help-block-error">\n'+"    <strong>{{'APPLICATION_WARNING' | translate}}!</strong> {{'MESSAGE_REQUIRED_FIELD' | translate}}.\n  </span>\n</div>\n"),a.put("app/main/template/actionBuilder/template.actionBuilderJscripty.html",'<div data-ng-if="randomName" class="form-group col-md-6" data-ng-class="{\'has-error\': (form[\'data1\'+randomName].$touched || form.$submitted) && form[\'data1\'+randomName].$invalid}">\n  <ui-select data-ng-model="element.data1" name="data1{{randomName}}" theme="bootstrap" required>\n    <ui-select-match>{{$select.selected.name}}</ui-select-match>\n    <ui-select-choices repeat="project.id as project in projects | filter: $select.search">\n      <div ng-bind-html="project.name | highlight: $select.search"></div>\n    </ui-select-choices>\n  </ui-select>\n  <span data-ng-show="(form[\'data1\'+randomName].$touched || form.$submitted) && form[\'data1\'+randomName].$error.required" class="help-block help-block-error">\n'+"    <strong>{{'APPLICATION_WARNING' | translate}}!</strong> {{'MESSAGE_REQUIRED_FIELD' | translate}}.\n  </span>\n</div>\n"),
-a.put("app/main/template/template.contactTab.html",'<div class="row margin-top-20 contact-tab-container">\n  <div class="col-md-12 contact-tab">\n    <form name="forms.general" data-ng-submit="submit({index:index,item:contact,data:workspace.data})" novalidate>\n    \x3c!-- BEGIN PROFILE CONTENT --\x3e\n    <div class="profile-content">\n      <ul class="nav nav-tabs">\n  <li class="active">\n    <a href="#tab_1_1{{contact.id || \'\'}}" data-toggle="tab">{{\'APPLICATION_DETAIL\' | translate}}</a>\n  </li>\n  <li data-ng-if="contact.id">\n    <a href="#tab_1_2{{contact.id || \'\'}}" data-toggle="tab">{{\'APPLICATION_CUSTOMER_JOURNEY\' | translate}}</a>\n  </li>\n</ul>\n<div class="tab-content">\n  <div class="tab-pane fade active in" id="tab_1_1{{contact.id || \'\'}}">\n    \x3c!--end add-portfolio--\x3e\n    <div class="row portfolio-block" data-ng-if="workspace.data && workspace.data.uniqueid && workspace.data.agentcalledAt">\n      <div class="col-md-3">\n        <div class="portfolio-text">\n          <img src="assets/images/media/CmCall.png" alt=""/>\n          <div class="portfolio-text-info">\n            <h4>{{\'MESSAGE_INBOUND_CALL_FROM\' | translate}} - {{workspace.data.calleridnum}}</h4>\n            <p>\n              {{\'MESSAGE_CALL_UNIQUEID\' | translate}} : {{workspace.data.uniqueid}}\n            </p>\n          </div>\n        </div>\n      </div>\n      <div class="col-md-2 portfolio-stat">\n        <div>{{\'APPLICATION_QUEUE\' | translate}} </div>\n        <p>  {{workspace.data.queue}} </p>\n      </div>\n      <div class="col-md-3 portfolio-stat">\n        <div>{{\'APPLICATION_AGENT\' | translate}} </div>\n        <p>  {{workspace.data.membername}} </p>\n      </div>\n      <div class="col-md-2 portfolio-stat">\n        <div>{{\'APPLICATION_DATE\' | translate}} </div>\n        <p>  {{workspace.data.agentcalledAt | date:\'dd/MM/yyyy HH:mm:ss\'}} </p>\n      </div>\n      <div class="col-md-2 portfolio-stat">\n        <button class="btn" data-ng-class="{\'grey-cascade\':contact.disposed || !enableDisposal,\'green-haze\':enableDisposal && !contact.disposed}" type="button" data-ng-click="dispose()" data-ng-disabled="contact.disposed || !enableDisposal">\n          <i class="icon-target"></i> {{\'APPLICATION_DISPOSITION\' | translate}}\n        </button>\n      </div>\n    </div>\n            \x3c!--end row--\x3e\n          \x3c!-- BEGIN PORTLET --\x3e\n          <div class="portlet light ">\n            <div class="portlet-title">\n              <div class="caption caption-md">\n                <i class="icon-bar-chart theme-font hide"></i>\n                <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_DETAIL\' | translate}}</span>\n              </div>\n              <div class="actions">\n                <div class="btn-group btn-group-devided" data-toggle="buttons">\n                  <button type="submit" data-ng-if="contact.id" title="{{\'APPLICATION_COPY\' | translate}}" class="btn btn-circle green btn-sm" data-ng-click="copy(contact.id)"><i class="fa fa-files-o"></i></button>\n                  <button type="submit" data-ng-if="contact.ListId" class="btn btn-circle purple btn-sm" title="{{\'APPLICATION_MERGE\' | translate}}" data-ng-click="merge(contact)"><i class="icon-link"></i></button>\n                  <label class="btn btn-transparent grey-salsa btn-circle btn-sm active" data-ng-click="detail.tab=\'main\'">\n                  <input type="radio" class="toggle">{{\'APPLICATION_MAIN\' | translate}}</label>\n                  <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-click="detail.tab=\'other\'">\n                  <input type="radio" class="toggle">{{\'APPLICATION_OTHER\' | translate}}</label>\n                </div>\n              </div>\n            </div>\n            <div class="portlet-body">\n              <div data-ng-class="{\'hidden\':detail.tab != \'main\'}" class="portlet-body contact-portlet row">\n                <div class="col-md-4">\n              \x3c!-- START FIRSTNAME --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.firstName.$touched || forms.general.$submitted) && forms.general.firstName.$invalid}">\n                <label class="control-label">{{\'APPLICATION_FIRSTNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                <input type="text" name="firstName" placeholder="{{\'APPLICATION_FIRSTNAME\' | translate}}" class="form-control" data-ng-model="contact.firstName" required/>\n                <span data-ng-show="(forms.general.firstName.$touched || forms.general.$submitted) && forms.general.firstName.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END FIRSTNAME --\x3e\n\n              \x3c!-- START LASTNAME --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.lastName.$touched || forms.general.$submitted) && forms.general.lastName.$invalid}">\n                <label class="control-label">{{\'APPLICATION_LASTNAME\' | translate}}</label>\n                <input type="text" name="lastName" placeholder="{{\'APPLICATION_LASTNAME\' | translate}}" class="form-control" data-ng-model="contact.lastName"/>\n                <span data-ng-show="(forms.general.lastName.$touched || forms.general.$submitted) && forms.general.lastName.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END LASTNAME --\x3e\n\n              \x3c!-- START COMPANY --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': forms.general.CompanyId.$invalid && forms.general.$submitted}">\n                <label class="control-label">{{\'APPLICATION_COMPANY\' | translate}}</label>\n                <div class="input-group">\n                  <ui-select data-ng-model="contact.CompanyId" theme="bootstrap" name="CompanyId" ng-disabled="!companies.length" required>\n                    <ui-select-match placeholder="{{ \'APPLICATION_COMPANY\' | translate }}">{{$select.selected.name}}</ui-select-match>\n                    <ui-select-choices repeat="company.id as company in companies | filter: $select.search" null-option="scope.noCompany">\n                      <div ng-bind-html="company.name | highlight: $select.search"></div>\n                    </ui-select-choices>\n                  </ui-select>\n                  <span class="input-group-btn">\n                    <button type="button" data-ng-click="companyInfo(contact.CompanyId)" class="btn btn-default" data-ng-disabled="!contact.CompanyId">\n                      <span class="icon-info" data-ng-class="{\'font-blue\':contact.CompanyId}"></span>\n                    </button>\n                  </span>\n                </div>\n                <div class="note note-warning" data-ng-hide="companies.length">\n                  <h4 class="block">Warning!</h4>\n                  <p>\n                    {{ \'MESSAGE_NO_COMPANIES_AVAILABLE\' | translate }}\n                  </p>\n                  <p data-ng-if="!Auth.isAgent()">\n                    {{\'APPLICATION_GO_TO\' | translate}} <a href="/contactmanager/companies/list">{{\'APPLICATION_COMPANIES\' | translate}}</a>\n                  </p>\n                </div>\n                <span data-ng-show="forms.general.CompanyId.$invalid && forms.general.$submitted" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END COMPANY --\x3e\n            </div>\n            <div class="col-md-4">\n              \x3c!-- START PHONE --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.phone.$touched || forms.general.$submitted) && forms.general.phone.$invalid}">\n                <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}</label>\n                <div class="input-group">\n                  <input type="text" name="phone" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="contact.phone"/>\n                  <span class="input-group-btn" uib-dropdown>\n                    <button data-ng-if="Auth.isAgent()" type="button" uib-dropdown-toggle class="btn btn-default" data-ng-disabled="!contact.phone || !agent.phoneBarRemoteControl" >\n                      <span class="icon-earphones-alt" data-ng-class="{\'font-blue\':contact.phone && agent.phoneBarRemoteControl}" uib-tooltip="{{!agent.phoneBarRemoteControl ? (\'APPLICATION_ENABLE_REMOTE_PHONEBAR\' | translate) : (\'APPLICATION_MOTION_BAR_CONTROLS\' | translate)}}" ></span>\n                    </button>\n                    <ul class="dropdown-menu" uib-dropdown-menu role="menu" aria-labelledby="single-button">\n                      <li role="menuitem"><a href="#" data-ng-click="callPhoneBar(contact.phone,\'call\')"><i class="icon-phone"></i> {{\'APPLICATION_CALL\' | translate}}</a></li>\n                      <li role="menuitem"><a href="#" data-ng-click="callPhoneBar(contact.phone,\'transfer\')"><i class="glyphicon glyphicon-random"></i> {{\'APPLICATION_TRANSFER\' | translate}}</a></li>\n                    </ul>\n                    <button type="button" data-ng-click="openRoom(null,\'smsRoom\',{to:contact.phone})" class="btn btn-default" data-ng-disabled="!contact.phone || !license.messaging">\n                      <span class="glyphicon glyphicon-comment" data-ng-class="{\'font-blue\':contact.phone && license.messaging}"></span>\n                    </button>\n                  </span>\n                </div>\n                <span data-ng-show="(forms.general.phone.$touched || forms.general.$submitted) && forms.general.phone.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END PHONE --\x3e\n              \x3c!-- START MOBILE --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.mobile.$touched || forms.general.$submitted) && forms.general.mobile.$invalid}">\n                <label class="control-label">{{\'APPLICATION_MOBILE\' | translate}}</label>\n                <div class="input-group">\n                  <input type="text" name="mobile" placeholder="{{\'APPLICATION_MOBILE\' | translate}}" class="form-control" data-ng-model="contact.mobile"/>\n                  <span class="input-group-btn" uib-dropdown>\n                    <button data-ng-if="Auth.isAgent()" type="button" uib-dropdown-toggle class="btn btn-default" data-ng-disabled="!contact.mobile || !agent.phoneBarRemoteControl" >\n                      <span class="icon-earphones-alt" data-ng-class="{\'font-blue\':contact.mobile && agent.phoneBarRemoteControl}" uib-tooltip="{{!agent.phoneBarRemoteControl ? (\'APPLICATION_ENABLE_REMOTE_PHONEBAR\' | translate) : (\'APPLICATION_MOTION_BAR_CONTROLS\' | translate)}}" ></span>\n                    </button>\n                    <ul class="dropdown-menu" uib-dropdown-menu role="menu" aria-labelledby="single-button">\n                      <li role="menuitem"><a href="#" data-ng-click="callPhoneBar(contact.mobile,\'call\')"><i class="icon-phone"></i> {{\'APPLICATION_CALL\' | translate}}</a></li>\n                      <li role="menuitem"><a href="#" data-ng-click="callPhoneBar(contact.mobile,\'transfer\')"><i class="glyphicon glyphicon-random"></i> {{\'APPLICATION_TRANSFER\' | translate}}</a></li>\n                    </ul>\n                    <button type="button" data-ng-click="openRoom(null,\'smsRoom\',{to:contact.mobile})" class="btn btn-default" data-ng-disabled="!contact.mobile || !license.messaging">\n                      <span class="glyphicon glyphicon-comment" data-ng-class="{\'font-blue\':contact.mobile && license.messaging}"></span>\n                    </button>\n                  </span>\n                </div>\n                <span data-ng-show="(forms.general.mobile.$touched || forms.general.$submitted) && forms.general.mobile.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END MOBILE --\x3e\n              \x3c!-- START EMAIL --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.email.$touched || forms.general.$submitted) && forms.general.email.$invalid}">\n                <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}</label>\n                <div class="input-group">\n                  <input type="text" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="contact.email"/>\n                  <span class="input-group-btn">\n                    <button type="button" data-ng-click="openRoom(null,\'mailRoom\',{to:contact.email})" class="btn btn-default" data-ng-disabled="!contact.email || !license.mail">\n                      <span class="icon-envelope" data-ng-class="{\'font-blue\':contact.email && license.mail}"></span>\n                    </button>\n                  </span>\n                </div>\n                <span data-ng-show="(forms.general.email.$touched || forms.general.$submitted) && forms.general.email.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END EMAIL --\x3e\n            </div>\n            <div class="col-md-4">\n              \x3c!-- START FAX --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.fax.$touched || forms.general.$submitted) && forms.general.fax.$invalid}">\n                <label class="control-label">{{\'APPLICATION_FAX\' | translate}}</label>\n                <div class="input-group">\n                  <input type="text" name="fax" placeholder="{{\'APPLICATION_FAX\' | translate}}" class="form-control" data-ng-model="contact.fax"/>\n                  <span class="input-group-btn">\n                    <button type="button" data-ng-click="openRoom(null,\'faxRoom\',{to:contact.fax})" class="btn btn-default" data-ng-disabled="!contact.fax || !license.fax">\n                      <span class="fa fa-fax" data-ng-class="{\'font-blue\':contact.fax && license.fax}"></span>\n                    </button>\n                  </span>\n                </div>\n                <span data-ng-show="(forms.general.fax.$touched || forms.general.$submitted) && forms.general.fax.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END FAX --\x3e\n              \x3c!-- START TAGS --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': forms.general.tags.$invalid && forms.general.$submitted}">\n                <label class="control-label">{{\'APPLICATION_TAGS\' | translate}}</label>\n                <ui-select multiple=\'true\' data-ng-model="contact.tags" theme="bootstrap" name="tags" ng-disabled="disabled">\n                  <ui-select-match placeholder="{{ \'APPLICATION_TAGS\' | translate }}">{{$item}}</ui-select-match>\n                  <ui-select-choices repeat="tag in tags | filter: $select.search">\n                    {{tag}}\n                  </ui-select-choices>\n                </ui-select>\n                <span data-ng-show="forms.general.tags.$invalid && forms.general.$submitted" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END TAGS --\x3e\n              \x3c!-- START LIST --\x3e\n              <div class="form-group" data-ng-if="contact.id">\n                <label class="control-label">{{\'APPLICATION_LIST\' | translate}}</label>\n                <input type="text" name="list" placeholder="{{\'APPLICATION_LIST\' | translate}}" class="form-control" data-ng-model="contact.List.name" disabled/>\n              </div>\n              \x3c!-- END LIST --\x3e\n              \x3c!-- START LIST --\x3e\n              <div data-ng-if="!contact.id" class="form-group" data-ng-class="{\'has-error\': forms.general.ListId.$invalid && forms.general.$submitted}">\n                <label class="control-label">{{\'APPLICATION_LIST\' | translate}}<span class="required" aria-required="true">*</span></label>\n                <ui-select data-ng-model="contact.ListId" theme="bootstrap" name="ListId" data-ng-change="getCustomFields()" required>\n                  <ui-select-match placeholder="{{ \'APPLICATION_LIST\' | translate }}">{{$select.selected.name}}</ui-select-match>\n                  <ui-select-choices repeat="list.id as list in lists | filter: $select.search">\n                    <div ng-bind-html="list.name | highlight: $select.search"></div>\n                  </ui-select-choices>\n                </ui-select>\n                <div class="note note-warning" data-ng-hide="lists.length">\n                  <h4 class="block">Warning!</h4>\n                  <p>\n                    {{ \'MESSAGE_NO_LISTS_AVAILABLE\' | translate }}\n                  </p>\n                  <p data-ng-if="!Auth.isAgent()">\n                    {{\'APPLICATION_GO_TO\' | translate}} <a href="/contactmanager/lists/list">{{\'APPLICATION_LISTS\' | translate}}</a>\n                  </p>\n                </div>\n                <span data-ng-show="forms.general.ListId.$invalid && forms.general.$submitted" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END LIST --\x3e\n            </div>\n            </div>\n            <div data-ng-class="{\'hidden\':detail.tab != \'other\'}" class="portlet-body contact-portlet row">\n              <div class="col-md-4">\n              \x3c!-- START STREET --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.street.$touched || forms.general.$submitted) && forms.general.street.$invalid}">\n                <label class="control-label">{{\'APPLICATION_STREET\' | translate}}</label>\n                <input type="text" name="street" placeholder="{{\'APPLICATION_STREET\' | translate}}" class="form-control" data-ng-model="contact.street"/>\n                <span data-ng-show="(forms.general.street.$touched || forms.general.$submitted) && forms.general.street.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END STREET --\x3e\n\n              \x3c!-- START POSTALCODE --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.postalCode.$touched || forms.general.$submitted) && forms.general.postalCode.$invalid}">\n                <label class="control-label">{{\'APPLICATION_POSTALCODE\' | translate}}</label>\n                <input type="text" name="postalCode" placeholder="{{\'APPLICATION_POSTALCODE\' | translate}}" class="form-control" data-ng-model="contact.postalCode"/>\n                <span data-ng-show="(forms.general.postalCode.$touched || forms.general.$submitted) && forms.general.postalCode.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END POSTALCODE --\x3e\n\n              \x3c!-- START CITY --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.city.$touched || forms.general.$submitted) && forms.general.city.$invalid}">\n                <label class="control-label">{{\'APPLICATION_CITY\' | translate}}</label>\n                <input type="text" name="city" placeholder="{{\'APPLICATION_CITY\' | translate}}" class="form-control" data-ng-model="contact.city"/>\n                <span data-ng-show="(forms.general.city.$touched || forms.general.$submitted) && forms.general.city.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END CITY --\x3e\n            </div>\n            <div class="col-md-4">\n              \x3c!-- START COUNTRY --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.country.$touched || forms.general.$submitted) && forms.general.country.$invalid}">\n                <label class="control-label">{{\'APPLICATION_COUNTRY\' | translate}}</label>\n                <input type="text" name="country" placeholder="{{\'APPLICATION_COUNTRY\' | translate}}" class="form-control" data-ng-model="contact.country"/>\n                <span data-ng-show="(forms.general.country.$touched || forms.general.$submitted) && forms.general.country.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END COUNTRY --\x3e\n\n              \x3c!-- START DATEOFBIRTH --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.dateOfBirth.$touched || forms.general.$submitted) && forms.general.dateOfBirth.$invalid}">\n                <label class="control-label">{{\'APPLICATION_DATEOFBIRTH\' | translate}}</label>\n                <input name="dateOfBirth" type="date" placeholder="{{\'APPLICATION_DATEOFBIRTH\' | translate}}" class="form-control date-picker" data-ng-model="contact.dateOfBirth"/>\n                <span data-ng-show="(forms.general.dateOfBirth.$touched || forms.general.$submitted) && forms.general.dateOfBirth.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END DATEOFBIRTH --\x3e\n\n              \x3c!-- START DESCRIPTION --\x3e\n              <div class="form-group">\n                <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                <textarea style="resize: vertical;" type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="contact.description"></textarea>\n              </div>\n              \x3c!-- END DESCRIPTION --\x3e\n            </div>\n            <div class="col-md-4">\n              \x3c!-- START URL --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.url.$touched || forms.general.$submitted) && forms.general.url.$invalid}">\n                <label class="control-label">{{\'APPLICATION_URL\' | translate}}</label>\n                <input type="text" name="url" placeholder="{{\'APPLICATION_URL\' | translate}}" class="form-control" data-ng-model="contact.url"/>\n                <span data-ng-show="(forms.general.url.$touched || forms.general.$submitted) && forms.general.url.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END URL --\x3e\n\n              \x3c!-- START CREATED_BY --\x3e\n              <div class="form-group" data-ng-if="contact.id">\n                <label class="control-label">{{\'APPLICATION_CREATED_BY\' | translate}}</label>\n                <input type="text" name="createdBy" placeholder="{{\'APPLICATION_CREATED_BY\' | translate}}" class="form-control" data-ng-model="contact.User.name" disabled/>\n              </div>\n              \x3c!-- END CREATED_BY --\x3e\n            </div>\n            </div>\n            </div>\n            <button type="submit" class="btn btn-circle green-haze btn-sm" data-ng-disabled="forms.general.$invalid">{{contact.id ? \'APPLICATION_UPDATE\' : \'APPLICATION_SAVE\' | translate}}</button>\n          </div>\n          \x3c!-- END PORTLET --\x3e\n          \x3c!-- BEGIN PORTLET --\x3e\n          <div class="portlet light" data-ng-if="customFields.length">\n            <div class="portlet-title tabbable-line">\n              <div class="caption caption-md">\n                <i class="icon-globe theme-font hide"></i>\n                <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_CUSTOM_FIELDS\' | translate}}</span>\n              </div>\n            </div>\n            <div class="portlet-body">\n              <div class="row">\n              <div class="col-md-4" data-ng-repeat="customField in customFields track by $index">\n                <div data-ng-if="customField.type==\'text\'" class="form-group" data-ng-class="{\'has-error\': (forms.general[customField.name].$touched || forms.general.$submitted) && forms.general[customField.name].$invalid}">\n                  <label class="control-label">{{customField.alias}}<span data-ng-if="customField.required" class="required" aria-required="true">*</span></label>\n                  <input type="text" name="{{customField.name}}" placeholder="{{customField.alias}}" class="form-control" data-ng-model="contact[customField.name]" data-ng-required="customField.required"/>\n                  <span data-ng-show="(forms.general[customField.name].$touched || forms.general.$submitted) && forms.general[customField.name].$error.required" class="help-block help-block-error">\n                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                  </span>\n                </div>\n                <div data-ng-if="customField.type==\'select\'" class="form-group" data-ng-class="{\'has-error\': forms.general[customField.name].$invalid && forms.general.$submitted}">\n                  <label class="control-label">{{customField.alias}}<span data-ng-if="customField.required" class="required" aria-required="true">*</span></label>\n                  <ui-select data-ng-model="contact[customField.name]" theme="bootstrap" name="{{customField.name}}" data-ng-disabled="disabled" data-ng-required="customField.required">\n                    <ui-select-match allow-clear placeholder="{{customField.alias}}">{{$select.selected.value}}</ui-select-match>\n                    <ui-select-choices repeat="choice.value as choice in customField.values | filter: $select.search">\n                      <div ng-bind-html="choice.value | highlight: $select.search"></div>\n                    </ui-select-choices>\n                  </ui-select>\n                  <span data-ng-show="forms.general[customField.name].$invalid && forms.general.$submitted" class="help-block help-block-error">\n                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                  </span>\n                </div>\n              </div>\n            </div>\n              <button type="submit" class="btn btn-circle green-haze btn-sm" data-ng-disabled="forms.general.$invalid">{{contact.id ? \'APPLICATION_UPDATE\' : \'APPLICATION_SAVE\' | translate}}</button>\n            </div>\n        </div>\n        \x3c!-- END PORTLET --\x3e\n      </div>\n      <div class="tab-pane fade" id="tab_1_2{{contact.id || \'\'}}">\n          \x3c!-- BEGIN PORTLET --\x3e\n          <div class="portlet light">\n            <div class="portlet-title tabbable-line">\n              <div class="caption caption-md">\n                <i class="icon-globe theme-font hide"></i>\n                <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_CUSTOMER_JOURNEY\' | translate}}</span>\n              </div>\n              <ul class="nav nav-tabs">\n                <li class="active">\n                  <a href="#" data-target="#tab_2_1{{contact.id || \'\'}}" data-toggle="tab">{{ \'APPLICATION_DAILY\' | translate}}</a>\n                </li>\n                <li>\n                  <a href="#" data-target="#tab_2_2{{contact.id || \'\'}}" data-toggle="tab">{{ \'APPLICATION_HISTORY\' | translate}}</a>\n                </li>\n              </ul>\n            </div>\n            <div class="portlet-body">\n              \x3c!--BEGIN TABS--\x3e\n              <div class="tab-content">\n                <div class="tab-pane active" id="tab_2_1{{contact.id || \'\'}}">\n                  <div class="contact-portlet">\n                    <div class="actions">\n                      <div class="btn-group btn-group-devided" data-toggle="buttons">\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-class="{\'active\':log.daily.show === \'phone\'}" data-ng-click="updateLog(\'daily\',\'phone\',\'general\',\'inbound\')">\n                        <input type="radio" class="toggle">{{\'APPLICATION_PHONES\' | translate}}</label>\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-class="{\'active\':log.daily.show === \'email\'}" data-ng-click="updateLog(\'daily\',\'email\',\'general\',\'room\')">\n                        <input type="radio" class="toggle">{{\'APPLICATION_EMAILS\' | translate}}</label>\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-class="{\'active\':log.daily.show === \'chat\'}" data-ng-click="updateLog(\'daily\',\'chat\',\'general\',\'room\')">\n                        <input type="radio" class="toggle">{{\'APPLICATION_CHAT\' | translate}}</label>\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-class="{\'active\':log.daily.show === \'fax\'}" data-ng-click="updateLog(\'daily\',\'fax\',\'general\',\'room\')">\n                        <input type="radio" class="toggle">{{\'APPLICATION_FAX\' | translate}}</label>\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-class="{\'active\':log.daily.show === \'sms\'}" data-ng-click="updateLog(\'daily\',\'sms\',\'general\',\'room\')">\n                        <input type="radio" class="toggle">{{\'APPLICATION_SMS\' | translate}}</label>\n                      </div><span data-ng-if="log.daily.show==\'phone\'"> |</span>\n                      <div class="btn-group btn-group-devided" data-toggle="buttons" data-ng-if="log.daily.show==\'phone\'">\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-class="{\'active\':log.daily.type === \'inbound\'}" data-ng-click="updateLog(\'daily\',false,false,\'inbound\')">\n                        <input type="radio" class="toggle">{{\'APPLICATION_INBOUND\' | translate}}</label>\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-class="{\'active\':log.daily.type === \'outbound\'}" data-ng-click="updateLog(\'daily\',false,\'general\',\'outbound\')">\n                        <input type="radio" class="toggle">{{\'APPLICATION_OUTBOUND\' | translate}}</label>\n                      </div><span data-ng-if="log.daily.show==\'phone\'"> |</span>\n                      <div class="btn-group btn-group-devided" data-toggle="buttons" data-ng-if="log.daily.show==\'phone\'">\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-class="{\'active\':log.daily.detail === \'general\'}" data-ng-click="updateLog(\'daily\',false,\'general\',false)">\n                        <input type="radio" class="toggle">{{\'APPLICATION_GENERAL\' | translate}}</label>\n                        <label data-ng-if="log.daily.type===\'inbound\'" class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-class="{\'active\':log.daily.detail === \'queue\'}" data-ng-click="updateLog(\'daily\',false,\'queue\',\'inbound\')">\n                        <input type="radio" class="toggle">{{\'APPLICATION_QUEUES\' | translate}}</label>\n                      </div>\n                    </div>\n                    <div data-ng-if="gridOptionsdaily" name="gridOptionsdaily"  ui-grid="gridOptionsdaily"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-exporter ui-grid-draggable-rows class="ui-grid">\n                      <div class="watermark" ng-show="!gridOptionsdaily.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n                    </div>\n                  </div>\n              </div>\n                <div class="tab-pane" id="tab_2_2{{contact.id || \'\'}}">\n                  <div class="contact-portlet">\n                    <div class="actions">\n                      <div class="btn-group btn-group-devided" data-toggle="buttons">\n'+"                        <label class=\"btn btn-transparent grey-salsa btn-circle btn-sm\" data-ng-class=\"{'active':log.history.show === 'phone'}\" data-ng-click=\"updateLog('history','phone','general','inbound')\">\n                        <input type=\"radio\" class=\"toggle\">{{'APPLICATION_PHONES' | translate}}</label>\n                        <label class=\"btn btn-transparent grey-salsa btn-circle btn-sm\" data-ng-class=\"{'active':log.history.show === 'email'}\" data-ng-click=\"updateLog('history','email','general','room')\">\n                        <input type=\"radio\" class=\"toggle\">{{'APPLICATION_EMAILS' | translate}}</label>\n                        <label class=\"btn btn-transparent grey-salsa btn-circle btn-sm\" data-ng-class=\"{'active':log.history.show === 'chat'}\" data-ng-click=\"updateLog('history','chat','general','room')\">\n                        <input type=\"radio\" class=\"toggle\">{{'APPLICATION_CHAT' | translate}}</label>\n                        <label class=\"btn btn-transparent grey-salsa btn-circle btn-sm\" data-ng-class=\"{'active':log.history.show === 'fax'}\" data-ng-click=\"updateLog('history','fax','general','room')\">\n                        <input type=\"radio\" class=\"toggle\">{{'APPLICATION_FAX' | translate}}</label>\n                        <label class=\"btn btn-transparent grey-salsa btn-circle btn-sm\" data-ng-class=\"{'active':log.history.show === 'sms'}\" data-ng-click=\"updateLog('history','sms','general','room')\">\n                        <input type=\"radio\" class=\"toggle\">{{'APPLICATION_SMS' | translate}}</label>\n                      </div><span data-ng-if=\"log.history.show=='phone'\"> |</span>\n                      <div class=\"btn-group btn-group-devided\" data-toggle=\"buttons\" data-ng-if=\"log.history.show=='phone'\">\n                        <label class=\"btn btn-transparent grey-salsa btn-circle btn-sm\" data-ng-class=\"{'active':log.history.type === 'inbound'}\" data-ng-click=\"updateLog('history',false,false,'inbound')\">\n                        <input type=\"radio\" class=\"toggle\">{{'APPLICATION_INBOUND' | translate}}</label>\n                        <label class=\"btn btn-transparent grey-salsa btn-circle btn-sm\" data-ng-class=\"{'active':log.history.type === 'outbound'}\" data-ng-click=\"updateLog('history',false,'general','outbound')\">\n                        <input type=\"radio\" class=\"toggle\">{{'APPLICATION_OUTBOUND' | translate}}</label>\n                      </div><span data-ng-if=\"log.history.show=='phone'\"> |</span>\n                      <div class=\"btn-group btn-group-devided\" data-toggle=\"buttons\" data-ng-if=\"log.history.show=='phone'\">\n                        <label class=\"btn btn-transparent grey-salsa btn-circle btn-sm\" data-ng-class=\"{'active':log.history.detail === 'general'}\" data-ng-click=\"updateLog('history',false,'general',false)\">\n                        <input type=\"radio\" class=\"toggle\">{{'APPLICATION_GENERAL' | translate}}</label>\n                        <label data-ng-if=\"log.history.type==='inbound'\" class=\"btn btn-transparent grey-salsa btn-circle btn-sm\" data-ng-class=\"{'active':log.history.detail === 'queue'}\" data-ng-click=\"updateLog('history',false,'queue','inbound')\">\n                        <input type=\"radio\" class=\"toggle\">{{'APPLICATION_QUEUES' | translate}}</label>\n                      </div>\n                    </div>\n                    <div data-ng-if=\"gridOptionshistory\" name=\"gridOptionshistory\" ui-grid=\"gridOptionshistory\"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-exporter ui-grid-draggable-rows class=\"ui-grid\">\n                      <div class=\"watermark\" ng-show=\"!gridOptionshistory.data.length\">{{'MESSAGE_NO_RESULTS_AVAILABLE' | translate}}</div>\n                    </div>\n                  </div>\n                </div>\n              </div>\n              \x3c!--END TABS--\x3e\n            </div>\n          </div>\n          \x3c!-- END PORTLET --\x3e\n        </div>\n    \x3c!-- END PROFILE CONTENT --\x3e\n  </form>\n</div>\n  </div>\n</div>\n"),
-a.put("app/main/template/template.jscriptyTab.html",'<div class="portlet light bordered">\n    \x3c!-- BEGIN PORTLET BODY --\x3e\n    <div class="portlet-body">\n          <div class="row">\n              \x3c!-- BEGIN SIDEBAR --\x3e\n                <div  class="profile-sidebar" style="width: 250px;">\n                  \x3c!-- PORTLET MAIN --\x3e\n              \t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n              \t\t\t\t<div class="profile-usermenu">\n              \t\t\t\t\t<ul class="nav">\n              \t\t\t\t\t\t<li  ng-repeat= \'question in questions track by $index\' ng-class="{active: $index == count}">\n              \t\t\t\t\t\t\t<a  ng-click="setCurrentQuestion($index)" >\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class="fa fa-check"></i> <label ng-if="attribute.nodeName == \'label\'" ng-repeat=\'attribute in question.value.attributes track by $index\'>{{attribute.value}}</label>\n                            </a>\n              \t\t\t\t\t\t</li>\n              \t\t\t\t\t</ul>\n              \t\t\t\t</div>\n              \t\t\t\t\x3c!-- END SIDEBAR MENU --\x3e\n                    \x3c!-- END PORTLET MAIN --\x3e\n                </div>\n                  \x3c!-- END SIDEBAR --\x3e\n                  <div   class="profile-content">\n                        <div class="portlet light bordered">\n                          <div class="portlet-title">\n                            <div class="caption font-green-sharp">\n                              <i class="fa fa-edit font-green-sharp"></i>\n                              <span ng-if="attribute.nodeName ==\'label\'" ng-repeat=\'attribute in currentQuestion.value.attributes\' class="caption-subject">{{attribute.value}} </span>\n                            </div>\n\n                          </div>\n  \t\t\t\t\t\t\t\t\t\t    <div class="portlet-body form ">\n                            <div class="row">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="col-md-10 col-md-offset-1 ">\n                                  <form >\n                                    <div class="form-body" style="height: 400px; overflow-y: auto;overflow-x:hidden">\n\n                                       \x3c!-- Question  --\x3e\n                                       <div class="form-group" style="word-wrap: break-word;" >\n                                          <h3 ng-if="attribute.nodeName ==\'question\' || attribute.nodeName ==\'text\'" ng-repeat=\'attribute in currentQuestion.value.attributes\'>{{attribute.value}}</h3>\n                                        </div>\n                                        \x3c!-- Buttons  --\x3e\n\n                                        <div  ng-if ="(edge.source.id == currentQuestion.id) && edge.value" ng-repeat=\'edge in currentQuestion.edges track by $index\' class="row">\n                                          <div  class="col-md-8 col-md-offset-2">\n                                            <input    checked="checked"   type="radio"  ng-model="currentQuestion.button" ng-value="edge" >\n                                              <label  ng-show="(edge.source.id == currentQuestion.id) && edge.value">{{edge.value}}</label><br><br>\n                                          </div>\n                                        </div>\n                                               \x3c!-- Question Other Option  --\x3e\n\n                                         <div class="form-group" ng-if= "attribute.nodeName ==\'other\' && attribute.value " ng-repeat=\'attribute in currentQuestion.value.attributes track by $index\'>\n                                            <br>\n                                           <div class="col-md-2">\n                                             <label class="control-label">{{attribute.value}}</label>\n                                           </div>\n                                              <div class="col-md-8">\n                                                <textarea  style="overflow:auto" ng-model="currentQuestion.otheranswer" placeholder="Enter text" rows="8" cols="40" ></textarea>\n                                              </div>\n              \t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n                                              \x3c!--  Inputs --\x3e\n                                          <div class="row margin-top-10"  ng-repeat=\'question in currentQuestion.children track by $index\'>\n                                              <div class="col-md-10 col-md-offset-1">\n                                                <div  ng-repeat=\'attribute in question.value.attributes track by $index\'>\n                                                    <div  ng-switch="attribute.nodeName">\n                                                        <div ng-class="col-md-2" ng-switch-when="label">\n                                                          <label class="control-label" style=" display:block;word-break:break-all;" >{{attribute.value}}</label>\n                                                        </div>\n                                                        <div ng-class="attribute.value != \'checkbox\' ? \'col-md-10 pull-right\': \'col-md-2\'" ng-switch-when="type" ng-switch="attribute.value">\n                                                            <input class="form-control" ng-switch-when="text" type="text" ng-model="question.answer" />\n                                                            <input  class="form-control" ng-switch-when="number" type="number" ng-model="question.answer" />\n                                                            <input  class=" pull-right"  ng-switch-when="checkbox" type="checkbox" ng-model="question.answer" />\n                                                            \x3c!-- ng-true-value="\'Selected\'" ng-false-value="\'Not Selected\'" --\x3e\n                                                            <textarea  class="form-control" ng-switch-when="textarea" ng-model="question.answer" rows="8" cols="40"></textarea>\n                                                        </div>\n                                                    </div>\n                                                </div>\n                                              </div>\n                                          </div>\n                                          </div>\n                                          \x3c!-- actions --\x3e\n                                          <div class="form-actions">\n                                            <div  ng-switch="attribute.nodeName" class="btn-set pull-left">\n                                              <button class="btn red-haze "  ng-click="end()">\n                                                <span  class="fa fa-times" > Close</span>\n                                              </button>\n                                              \x3c!-- <button class="btn red-haze "  ng-click="end()">\n                                                <span ng-if="attribute.nodeName ==\'end\'" ng-repeat=\'attribute in currentQuestion.value.attributes\' class="fa fa-times" > Finish</span>\n                                              </button> --\x3e\n                                              <button class="btn blue-haze"  ng-show="count" ng-click="back()"><span class="glyphicon glyphicon-chevron-left"></span>Back</button>\n                                            </div>\n                                            <div class="btn-set pull-right">\n                                              <button  ng-show=" currentQuestion.button" class="btn blue-hoki"   ng-click="next(currentQuestion.button.target, currentQuestion.button.value)">Next<span class="glyphicon glyphicon-chevron-right" ></span></button>\n                                              <button ng-repeat=\'edge in currentQuestion.edges track by $index\' ng-show="(edge.source.id == currentQuestion.id) && !edge.value" class="btn blue-hoki"   ng-click="next(edge.target)">Next<span class="glyphicon glyphicon-chevron-right" ></span></button>\n                                            </div>\n                                          </div>\n                                      </form>\n                                  </div>\n                                </div>\n                            </div>\n                        </div>\n                 </div>\n        </div>\n  </div>\n  \x3c!-- END PORTLET BODY --\x3e\n</div>\n'),a.put("app/main/template/template.notification.html",'<div class="ui-notification alert alert-block" ng-class="class" style="width: 350px; margin-top: 50px;">\n  <h4 ng-show="title" class="alert-heading"><i class="{{icon}}"></i> {{title}}</h4>\n  <hr>\n  <p ng-bind-html="message"></p>\n  <br>\n  <p>\n    <a class="btn btn-success close-notification" href="#" ng-click="nAccept()"><i class="glyphicon glyphicon-ok"></i> {{acceptBtn}} </a>\n    <a class="btn btn-danger close-notification" href="#" ng-click="nReject()"><i class="glyphicon glyphicon-remove"></i> {{rejectBtn}} </a>\n  </p>\n</div>\n'),a.put("app/main/template/template.reportBuilderView.html",'<div class="alert alert-warning alert-group">\n        <div class="form-inline" data-ng-class="{\'has-error\': forms.report.$submitted && !group.rules.length}">\n            <select ng-options="o.name as o.name for o in operators" ng-model="group.operator" class="form-control input-sm"></select>\n            <button style="margin-left: 5px" type="button" ng-click="addCondition()" class="btn btn-sm btn-success"><span class="glyphicon glyphicon-plus-sign"></span> {{\'APPLICATION_ADD_CONDITION\' | translate}}</button>\n            <button style="margin-left: 5px" type="button" ng-click="addGroup()" class="btn btn-sm btn-success"><span class="glyphicon glyphicon-plus-sign"></span> {{\'APPLICATION_ADD_GROUP\' | translate}}</button>\n            <button style="margin-left: 5px" type="button" ng-click="removeGroup()" class="btn btn-sm btn-danger"><span class="glyphicon glyphicon-minus-sign"></span> {{\'APPLICATION_REMOVE_GROUP\' | translate}}</button>\n        </div>\n        <div class="group-conditions">\n            <div ng-repeat="rule in group.rules | orderBy:\'index\'" class="condition">\n                <div ng-switch="rule.hasOwnProperty(\'group\')">\n                    <div ng-switch-when="true">\n                        <report-builder group="rule.group" fields="fields" forms="forms"></report-builder>\n                    </div>\n                    <div ng-switch-default="ng-switch-default">\n                        <div class="row">\n                          <div class="col-md-2" data-ng-class="{\'has-error\': forms.report.$submitted && !rule.field}">\n                          <ui-select data-ng-model="rule.field" theme="bootstrap" dynamic-name="randomName()" required>\n                            <ui-select-match placeholder="" ><span ng-bind-html="$select.selected.name"></span></ui-select-match>\n                            <ui-select-choices repeat="field.value as field in fields | filter: $select.search">\n                              <div ng-bind-html="field.name | highlight: $select.search"></div>\n                            </ui-select-choices>\n                          </ui-select>\n                          <span data-ng-show="forms.report.$submitted && !rule.field" class="help-block help-block-error">\n                            <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                          </span>\n                        </div>\n                        <div class="col-md-1">\n                          <ui-select data-ng-model="rule.condition" theme="bootstrap" dynamic-name="randomName()" data-ng-change="inputIsRequired(rule)" data-ng-init="inputIsRequired(rule)">\n                            <ui-select-match placeholder="">{{$select.selected.name}}</ui-select-match>\n                            <ui-select-choices repeat="condition.name as condition in conditions | filter: $select.search">\n                              <div ng-bind-html="condition.name | highlight: $select.search"></div>\n                            </ui-select-choices>\n                          </ui-select>\n                        </div>\n                          <div class="col-md-2" data-ng-class="{\'has-error\': forms.report.$submitted && !rule.value}" data-ng-if="rule.required">\n                            <input type="text" ng-model="rule.value" class="form-control" dynamic-name="randomName()" data-ng-required="requiredInput"/>\n                            <span data-ng-show="forms.report.$submitted && !rule.value" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>\n                          </div>\n                            <button style="margin-left: 5px" ng-click="removeCondition($index)" class="btn btn-sm btn-danger" type="button"><span class="glyphicon glyphicon-minus-sign"></span></button>\n                        </div>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n'),a.put("app/main/template/template.tigerDialDisposal.html",'<div class="row margin-top-20 contact-tab-container">\n  <div class="portlet light bordered">\n    <div class="row portfolio-block" data-ng-if="workspace.spooler.destcalleridnum && workspace.spooler.queue && workspace.spooler.agentconnectAt">\n      <div class="col-md-2">\n        <div class="portfolio-text">\n          <img src="assets/images/media/outboundroute.png" class="td-disposal-logo" alt=""/>\n        </div>\n      </div>\n      <div class="col-md-3 portfolio-stat">\n        <div>{{\'APPLICATION_CALLED_NUMBER\' | translate}} </div>\n        <p>  {{workspace.spooler.destcalleridnum}} </p>\n      </div>\n      <div class="col-md-3 portfolio-stat">\n        <div>{{\'APPLICATION_QUEUE\' | translate}} </div>\n        <p>  {{workspace.spooler.queue}} </p>\n      </div>\n      <div class="col-md-3 portfolio-stat">\n        <div>{{\'APPLICATION_DATE\' | translate}} </div>\n        <p>  {{workspace.spooler.agentconnectAt | date:\'dd/MM/yyyy HH:mm:ss\'}} </p>\n      </div>\n</div>\n    <div class="portlet-title">\n      <div class="caption font-blue-hoki">\n        <span class="caption-subject">{{ workspace.spooler.calleridname }} {{ \'APPLICATION_MOTION_DIALER\' | translate }} {{ \'APPLICATION_DISPOSITION\' | translate }} </span>\n      </div>\n    </div>\n    <div class="portlet-body">\n      <div class="padding-bottom row">\n        <div class="col-md-12" data-ng-form="tdForm">\n          \x3c!-- START RETRIEVE --\x3e\n          <div class="form-group" data-ng-class="{\'has-error\': (tdForm.retrieve.$touched || tdForm.$submitted) && tdForm.retrieve.$invalid}">\n            <label class="control-label">{{ \'APPLICATION_STATUS\' | translate }}<span class="required" aria-required="true">*</span></label>\n            <select name="retrieve" class="form-control" data-ng-model="entitySpooler.retrieve" required>\n              <option value="CLOSED">CLOSE</option>\n              <option value="OPEN">OPEN</option>\n              <option value="BLACK_LIST">BLACKLIST</option>\n              <option value="PLANNED">PLANNING</option>\n              <option value="PLANNED_PEER">PLANNING AGENT</option>\n            </select>\n            <span data-ng-show="(tdForm.retrieve.$touched || tdForm.$submitted) && tdForm.retrieve.$error.required" class="help-block help-block-error">\n              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n            </span>\n          </div>\n          \x3c!-- END RETRIEVE --\x3e\n          \x3c!-- START PLANNING DATE --\x3e\n          <div class="form-group" data-ng-if="entitySpooler.retrieve == \'PLANNED\' || entitySpooler.retrieve == \'PLANNED_PEER\'" data-ng-class="{\'has-error\': (tdForm.date.$touched || tdForm.$submitted) && tdForm.date.$invalid}">\n            <label class="control-label">PLANNING DATE<span class="required" aria-required="true">*</span></label>\n            <uib-datepicker name="date" ng-model="entitySpooler.planningtime" required data-ng-init="entitySpooler.planningtime = moment();"></uib-datepicker>\n            <span data-ng-show="(tdForm.date.$touched || tdForm.$submitted) && tdForm.date.$error.required" class="help-block help-block-error">\n              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n            </span>\n          </div>\n          \x3c!-- END PLANNING DATE --\x3e\n          \x3c!-- START PLANNING TIME --\x3e\n          <div class="form-group" data-ng-if="entitySpooler.retrieve == \'PLANNED\' || entitySpooler.retrieve == \'PLANNED_PEER\'" data-ng-class="{\'has-error\': (tdForm.time.$touched || tdForm.$submitted) && tdForm.time.$invalid}">\n            <label class="control-label">PLANNING TIME<span class="required" aria-required="true">*</span></label>\n            <uib-timepicker name="time" ng-model="entitySpooler.planningtime" required show-meridian="false" show-seconds="false"></uib-timepicker>\n            <span data-ng-show="(tdForm.time.$touched || tdForm.$submitted) && tdForm.time.$error.required" class="help-block help-block-error">\n              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n            </span>\n          </div>\n          \x3c!-- END PLANNING TIME --\x3e\n          \x3c!-- START PLANNING PEER --\x3e\n          <div class="form-group" data-ng-if="entitySpooler.retrieve == \'PLANNED_PEER\'" data-ng-class="{\'has-error\': (tdForm.agent.$touched || tdForm.$submitted) && tdForm.agent.$invalid}">\n            <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n            <input name="agent" class="form-control" data-ng-model="entitySpooler.planningpeer" readonly required>\n            <span data-ng-show="(tdForm.agent.$touched || tdForm.$submitted) && tdForm.agent.$error.required" class="help-block help-block-error">\n              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n            </span>\n          </div>\n          \x3c!-- END PLANNING PEER --\x3e\n          <button type="button" class="btn btn-circle green-haze btn-sm" data-ng-disabled="!tdForm.$valid" data-ng-click="save()">{{\'APPLICATION_SAVE\' | translate}}</button>\n        </div>\n      </div>\n    </div>\n  </div>\n</div>\n'),a.put("app/main/template/template.webPopup.html",'<div class="alert" ng-class="class">\n  <h3 data-ng-show="workspace.data.subject" class="alert-heading"><i class="{{icon}}"></i>{{workspace.data.subject}}</h3>\n  <hr data-ng-show="workspace.data.subject">\n  <div ng-bind-html="html"></div>\n</div>\n'),a.put("app/market/market.html",'<div class="row">\n\t<div class="col-md-12">\n\t\t\t<div class="page-bar">\n\t\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<i class="icon-handbag"></i>\n\t\t\t\t\t\t<a href="/market">Market Place</a>\n          </li>\n        </ul>\n\t\t\t</div>\n\t\t</div>\n</div>\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row" data-ng-init="initView()">\n  <div class="col-md-12">\n    \x3c!-- Our Integration --\x3e\n    <div class="headline">\n      <h3>Our Integrations</h3>\n    </div>\n    <div class="row thumbnails" data-ng-repeat="group in groupedIntegration">\n      <div class="col-md-3" data-ng-repeat="integration in group">\n        <div class="our-integrations">\n          <h3> {{integration.name}} <small> {{integration.author}}</small></h3>\n          <img data-ng-src="{{integration.logo}}" alt="{{integration.name}}" class="img-responsive"/>\n          <div class="integration-info" data-ng-if="!integration.downloading">\n            <p>\n              {{integration.description}}\n            </p>\n            <div class="pull-right">\n\t            <a data-ng-disabled="isProgressing" data-ng-if="!integration.active" data-ng-click="installIntegration(integration)" href="#" class="btn btn-xs green-meadow">Install <i class="fa fa-download"></i></a>\n\t\t\t\t\t\t\t<a data-ng-disabled="isProgressing" data-ng-if="integration.active" data-ng-click="uninstallIntegration(integration)" href="#" class="btn btn-xs red-sunglo">Uninstall <i class="fa fa-trash"></i></a>\n\t            <a href="{{integration.link}}" class="btn btn-xs grey-cascade" target="_blank">More <i class="fa fa-link"></i></a>\n            </div>\n          </div>\n\t\t\t\t\t<div class="integration-info" data-ng-if="integration.downloading">\n\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t<uib-progressbar class="progress-striped active" value="percentage" type="success"><i style="color:black;">{{status}}</i></uib-progressbar>\n\t\t\t\t\t\t</div>\n          </div>\n        </div>\n      </div>\n\t\t</div>\n    \x3c!--/thumbnails--\x3e\n    \x3c!-- //End Meer Our Team --\x3e\n  </div>\n</div>\n'),a.put("app/motiondialer/blacklist/list/list.create.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_NEW_CONTACT\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <form name="form" novalidate>\n\n    \x3c!-- START PHONE --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.phone.$touched || form.$submitted) && form.phone.$invalid}">\n      <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="phone" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="item.phone" required/>\n      <span data-ng-show="(form.phone.$touched || form.$submitted) && form.phone.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END PHONE --\x3e\n\n    \x3c!-- START DESCRIPTION --\x3e\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n      <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"></textarea>\n    </div>\n    \x3c!-- END DESCRIPTION --\x3e\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="save()" ng-disabled="form.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/motiondialer/blacklist/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-control-forward"></i>\n\t\t\t\t\t<a href="#">Motion Dialer</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n        <li>\n          <i class="icon-doc"></i>\n          <a href="#">{{ \'APPLICATION_BLACKLIST\' | translate }}</a>\n        </li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t<div class="portlet light bordered" data-ng-init="initView()">\n\t\t\t<div class="portlet-title">\n\t\t\t\t<div class="caption font-green-sharp">\n\t\t\t\t\t<i class="icon-doc font-green-sharp"></i>\n\t\t\t\t\t<span class="caption-subject">{{ \'APPLICATION_BLACKLIST\' | translate }}</a> </span>\n\t\t\t\t</div>\n\t\t\t\t<div class="actions">\n\t\t\t\t\t<div class="btn-group">\n\t\t\t\t\t\t<button class="btn green-jungle " ng-click="createItem()">\n\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONTACT\' | translate }}\n\t\t\t\t\t\t</button>\n\t\t\t\t\t\t<span class="btn default btn-file">\n\t\t\t\t\t\t\t<span class="fileinput-new"><i class="icon-cloud-upload"></i> {{\'APPLICATION_IMPORT_FROM_CSV\' | translate}}</span>\n\t\t\t\t\t\t\t<input type="file" nv-file-select="" uploader="uploader"/>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t<div ui-grid="gridOptions"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-exporter class="ui-grid">\n\t\t\t\t\t<div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/motiondialer/blacklist/list/list.import.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_IMPORT_FROM_CSV\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <form name="form" novalidate>\n\n    \x3c!-- START PHONE --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.phone.$touched || form.$submitted) && form.phone.$invalid}">\n      <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}</label>\n      <ui-select data-ng-model="item.phone" theme="bootstrap" name="phone" data-ng-disabled="disabled" required>\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_PHONE\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n    </div>\n    \x3c!-- END PHONE --\x3e\n\n    \x3c!-- START DESCRIPTION --\x3e\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n      <ui-select data-ng-model="item.description" theme="bootstrap" name="description" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_DESCRIPTION\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n    </div>\n    \x3c!-- END DESCRIPTION --\x3e\n\n  </form>\n  \x3c!-- START PROGRESS --\x3e\n  <div>\n    <p>{{\'APPLICATION_IMPORT_SUCCEEDED\' | translate}}: {{import.succeeded}}/{{csvLength}}</p>\n    <div class="progress progress-sm" style="">\n      <div class="progress-bar progress-bar-info" role="progressbar" ng-style="{ \'width\': import.success + \'%\' }"></div>\n    </div>\n  </div>\n  <div>\n    <p>{{\'APPLICATION_IMPORT_FAILED\' | translate}}: {{import.failed}}/{{csvLength}}</p>\n    <div class="progress progress-sm" style="">\n      <div class="progress-bar progress-bar-danger" role="progressbar" ng-style="{ \'width\': import.fail + \'%\' }"></div>\n    </div>\n    <div class="has-error" data-ng-if="noPhone.length">\n      <span class="help-block help-block-error">\n        {{\'APPLICATION_CONTACTS_WITHOUT_PHONE\' | translate}}: {{noPhone}}\n      </span>\n    </div>\n    <div class="has-error" data-ng-if="duplicates.length">\n      <span class="help-block help-block-error">\n        {{\'APPLICATION_DUPLICATED_CONTACTS\' | translate}}: {{duplicates}}\n      </span>\n    </div>\n  </div>\n  \x3c!-- END PROGRESS --\x3e\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="start()" ng-disabled="form.$invalid || !form.phone || submitted">{{ \'APPLICATION_SUBMIT\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="close()" data-ng-if="!importing">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="stop()" data-ng-if="importing">{{ \'APPLICATION_STOP\' | translate }}</button>\n</div>\n'),
-a.put("app/motiondialer/info/view/view.about.html",'<div class="row" data-ng-init="initView()">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_ABOUT\' | translate}}</span>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n        <form class="form-horizontal form-row-seperated">\n          <div class="form-body">\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">Specification</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" value="{{properties.SpecificationTitle}} ({{properties.SpecificationVersion}}) - {{properties.SpecificationVendor}}" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">Implementation</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" value="{{properties.ImplementationTitle}} ({{properties.ImplementationVersion}}) - {{properties.ImplementationVendor}}" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">Start Time</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" data-ng-model="properties.StartTime" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">Uptime</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" data-ng-model="properties.Uptime" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">Operating System</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" value="{{properties.OsName}} {{properties.OsVersion}} {{properties.OsArch}}" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">Processors</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" data-ng-model="properties.Processors" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">System Start Time</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" data-ng-model="properties.SystemStartTime" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">System Uptime</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" data-ng-model="properties.SystemUptime" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">File System</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" value="Usable: {{properties.FileSystem.Usable | number:2}} Free: {{properties.FileSystem.Free | number:2}} Total: {{properties.FileSystem.Total | number:2}}" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n          </div>\n        </form>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/motiondialer/info/view/view.details.html",'<div class="row" data-ng-init="initView()">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_DETAILS\' | translate}}</span>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n        <form class="form-horizontal form-row-seperated">\n          <div class="form-body">\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">Java Specification Name</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" data-ng-model="properties.JavaSpecificationName" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">Java Home</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" data-ng-model="properties.JavaHome" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">JavaVm</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" value="{{properties.JavaVmName}} ({{properties.JavaVmVersion}} {{properties.JavaVmInfo}}) - {{properties.JavaVmVendor}}" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">Java</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" value="Java ({{properties.JavaVersion}} {{properties.JavaClassVersion}}) - {{properties.JavaVendor}}" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">Java Runtime</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" value="{{properties.JavaRuntimeName}} ({{JavaRuntimeVersion}})" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">Java Rmi Server Hostname</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" value="{{properties.JavaRmiServerHostname}}" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">User</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" value="{{properties.UserName}} {{properties.UserLanguage}}-{{properties.UserCountry}} {{properties.UserTimezone}}" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">User Home</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" value="{{properties.UserHome}}" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">Hostname</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" value="{{properties.Hostname}}" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n          </div>\n        </form>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/motiondialer/info/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row" data-ng-init="getProperties()">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-control-forward"></i>\n\t\t\t\t\t<a href="#">Motion Dialer</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-info"></i>\n\t\t\t\t\t<a href="/motiondialer/info/view/properties">{{ \'APPLICATION_INFO\' | translate }}</a>\n\t\t\t\t\t<i data-ng-show="variable" class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t<div class="profile-sidebar">\n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t<div class="portlet light profile-sidebar-portlet">\n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t<div class="profile-image">\n\t\t\t\t\t<img data-ng-src="assets/images/media/template.png" class="img-responsive">\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t<div class="profile-usertitle">\n\t\t\t\t\t<div class="profile-usertitle-name">\n\t\t\t\t\t\t{{ \'APPLICATION_INFO\' | translate }}\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- <div class="profile-usertitle-job">\n\t\t\t\t\t\t{{user.role}}\n\t\t\t\t\t</div> --\x3e\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t<div class="profile-usermenu">\n\t\t\t\t\t<ul class="nav">\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.motiondialer.info.view.about\')}">\n\t\t\t\t\t\t\t<a data-ng-href="/motiondialer/info/view/about">\n\t\t\t\t\t\t\t<i class="icon-globe"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_ABOUT\' | translate}} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.motiondialer.info.view.details\')}">\n\t\t\t\t\t\t\t<a data-ng-href="/motiondialer/info/view/details">\n\t\t\t\t\t\t\t<i class="icon-support"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_DETAILS\' | translate}} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.motiondialer.info.view.logs\')}">\n\t\t\t\t\t\t\t<a data-ng-href="/motiondialer/info/view/logs">\n\t\t\t\t\t\t\t<i class="icon-list"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_LOGS\' | translate}} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t</div>\n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t</div>\n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t<div ui-view class="profile-content">\n\t\t</div>\n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/motiondialer/info/view/view.logs.html",'<div class="row" data-ng-init="initLogs()">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_LOGS\' | translate}}</span>\n\t\t\t\t</div>\n\t\t\t\t<button class="btn btn-default float-right" href="#" data-ng-click="initLogs()" data-ng-disabled="loading">\n\t\t\t\t\t\t<i class="icon-refresh"></i>\n\t\t\t\t\t</button>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t<div ui-grid="table1" name="table1" ui-grid-resize-columns ui-grid-pagination ui-grid-auto-resize ui-grid-exporter class="ui-grid">\n\t\t\t\t\t<div class="watermark" data-ng-show="!table1.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n\t\t\t\t\t<span us-spinner spinner-key="logs-spinner" spinner-start-active="true"></span>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/motiondialer/process/list/list.create.queue.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_NEW_PROCESS\' | translate }} {{\'APPLICATION_QUEUE\' | translate}}</h3>\n</div>\n<div class="modal-body">\n  <form name="form" ng-init="initModal()" novalidate>\n\n    \x3c!-- START NAME --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.name.$touched || form.$submitted) && form.name.$invalid}">\n      <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n      <span data-ng-show="(form.name.$touched || form.$submitted) && form.name.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END NAME --\x3e\n    \x3c!-- START LIST --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.list.$touched || form.$submitted) && form.list.$invalid}">\n      <label class="control-label">{{\'APPLICATION_LIST\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <select name="list" class="form-control" data-ng-model="item.list" ng-options="list.name for list in lists" required>\n      </select>\n      <span data-ng-show="(form.list.$touched || form.$submitted) && form.list.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END LIST --\x3e\n    \x3c!-- START QUEUE --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.queue.$touched || form.$submitted) && form.queue.$invalid}">\n      <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <select name="queue" class="form-control" data-ng-model="item.queue" ng-options="queue.name for queue in queues" required>\n      </select>\n      <span data-ng-show="(form.queue.$touched || form.$submitted) && form.queue.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END QUEUE --\x3e\n    \x3c!-- START TIMEOUT QUEUE --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.timeout.$touched || form.$submitted) && form.timeout.$invalid}">\n      <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="number" min="1" name="timeout" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}}" class="form-control" data-ng-model="item.timeout" required/>\n      <span data-ng-show="(form.timeout.$touched || form.$submitted) && form.timeout.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n      <span data-ng-show="form.timeout.$error.max || form.timeout.$error.min" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END MAX RETRIES --\x3e\n    \x3c!-- START TRUNK --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.device.$touched || form.$submitted) && form.device.$invalid}">\n      <label class="control-label">{{\'APPLICATION_TRUNK\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <select name="device" class="form-control" data-ng-model="item.device" ng-options="trunk.name for trunk in trunks" required>\n        <option value="fake">{{\'APPLICATION_SELECT\' | translate}} {{\'APPLICATION_TRUNK\' | translate}}</option>\n      </select>\n      <span data-ng-show="(form.queue.$touched || form.$submitted) && form.queue.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END TRUNK --\x3e\n    \x3c!-- START FETCH SORT --\x3e\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_FETCH_SORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <select name="fetch_sort" class="form-control" data-ng-model="item.fetch_sort" ng-options="fetch_sort for fetch_sort in [\'ASC\', \'DESC\']" required>\n      </select>\n      <span class="help-block">{{\'DESCRIPTION_TD_FETCH_SORT\' | translate}}</span>\n    </div>\n    \x3c!-- END  FETCH SORT--\x3e\n    \x3c!-- START DESCRIPTION --\x3e\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n      <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"></textarea>\n    </div>\n    \x3c!-- END DESCRIPTION --\x3e\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="save()" ng-disabled="form.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/motiondialer/process/list/list.create.square.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_NEW_PROCESS\' | translate }} {{ \'APPLICATION_CALLYSQUARE\' | translate | trusted}}</h3>\n</div>\n<div class="modal-body">\n  <form name="form" ng-init="initModal()" novalidate>\n\n    \x3c!-- START NAME --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.name.$touched || form.$submitted) && form.name.$invalid}">\n      <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n      <span data-ng-show="(form.name.$touched || form.$submitted) && form.name.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END NAME --\x3e\n    \x3c!-- START LIST --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.list.$touched || form.$submitted) && form.list.$invalid}">\n      <label class="control-label">{{\'APPLICATION_LIST\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <select name="list" class="form-control" data-ng-model="item.list" ng-options="list.name for list in lists" required>\n      </select>\n      <span data-ng-show="(form.list.$touched || form.$submitted) && form.list.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END LIST --\x3e\n    \x3c!-- START PROJECT --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.project.$touched || form.$submitted) && form.project.$invalid}">\n      <label class="control-label">{{\'APPLICATION_PROJECT\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <select name="project" class="form-control" data-ng-model="item.project" ng-options="project.name for project in projects" required>\n      </select>\n      <span data-ng-show="(form.project.$touched || form.$submitted) && form.project.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END PROJECT --\x3e\n    \x3c!-- START TRUNK --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.device.$touched || form.$submitted) && form.device.$invalid}">\n      <label class="control-label">{{\'APPLICATION_TRUNK\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <select name="device" class="form-control" data-ng-model="item.device" ng-options="trunk.name for trunk in trunks" required>\n        <option value="fake">{{\'APPLICATION_SELECT\' | translate}} {{\'APPLICATION_TRUNK\' | translate}}</option>\n      </select>\n      <span data-ng-show="(form.device.$touched || form.$submitted) && form.device.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END TRUNK --\x3e\n    \x3c!-- START FETCH SORT --\x3e\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_FETCH_SORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <select name="fetch_sort" class="form-control" data-ng-model="item.fetch_sort" ng-options="fetch_sort for fetch_sort in [\'ASC\', \'DESC\']" required>\n      </select>\n      <span class="help-block">{{\'DESCRIPTION_TD_FETCH_SORT\' | translate}}</span>\n    </div>\n    \x3c!-- END  FETCH SORT--\x3e\n    \x3c!-- START DESCRIPTION --\x3e\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n      <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"></textarea>\n    </div>\n    \x3c!-- END DESCRIPTION --\x3e\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="save()" ng-disabled="form.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/motiondialer/process/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-control-forward"></i>\n\t\t\t\t\t<a href="#">Motion Dialer</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n        <li>\n          <i class="icon-settings"></i>\n          <a href="#">{{ \'APPLICATION_PROCESSES\' | translate }}</a>\n        </li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t<div class="portlet light bordered" data-ng-init="initView()">\n\t\t\t<div class="portlet-title">\n\t\t\t\t<div class="caption font-green-sharp">\n\t\t\t\t\t<i class="icon-docs font-green-sharp"></i>\n\t\t\t\t\t<span class="caption-subject">{{ \'APPLICATION_PROCESSES\' | translate }}</a> </span>\n\t\t\t\t</div>\n\t\t\t\t<div class="actions">\n\t\t\t\t\t<div class="btn-group">\n\t\t\t\t\t\t<button class="btn green-jungle dropdown-toggle" data-toggle="dropdown" data-close-others="true">\n\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_PROCESS\' | translate }}\n\t\t\t\t\t\t</button>\n\t\t\t\t\t\t<ul class="dropdown-menu pull-right">\n\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t<a href="#" ng-click="createProcessQueue()">{{ \'APPLICATION_QUEUE\' | translate }}</a>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t<a href="#" ng-click="createProcessSquare()">{{ \'APPLICATION_CALLYSQUARE\' | translate | trusted}}</a>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t</ul>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t\x3c!-- BEGIN UI-GRID SPINNER --\x3e\n\t\t\t\t<span us-spinner spinner-key="spinner-grid" spinner-start-active="true"></span>\n\t\t\t\t\x3c!-- END UI-GRID SPINNER --\x3e\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t<div ui-grid="gridOptions"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-exporter class="ui-grid">\n\t\t\t\t\t<div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/motiondialer/process/view/view.create.interval.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_NEW_INTERVAL\' | translate }} </h3>\n</div>\n<div class="modal-body">\n  <form name="form" novalidate>\n    \x3c!-- START TIME --\x3e\n    <div class="form-group">\n      <label class="control-label">{{ \'APPLICATION_TIME\' | translate }}</label>\n      <div class="input-group input-large">\n        <fieldset class="pull-left" ng-disabled="splittedInterval.alwaysTime"><uib-timepicker name="t_from" data-ng-model="splittedInterval.t_from" show-meridian="false" show-spinners="false"></uib-timepicker></fieldset>\n        <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n        <fieldset ng-disabled="splittedInterval.alwaysTime"><uib-timepicker  name="t_to" data-ng-model="splittedInterval.t_to" show-meridian="false" show-spinners="false"></uib-timepicker></fieldset>\n        <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="splittedInterval.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label>\n      </div>\n    </div>\n    \x3c!-- END TIME --\x3e\n\n    \x3c!-- START WEEKDAY --\x3e\n    <div class="form-group">\n      <label class="control-label">{{ \'APPLICATION_WEEKDAY\' | translate }}</label>\n      <div class="input-group input-large">\n        <ui-select data-ng-model="splittedInterval.wd_from" theme="bootstrap" name="wd_from">\n          <ui-select-match placeholder="">{{$select.selected.name | translate}}</ui-select-match>\n          <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n            {{weekDay.name | translate}}\n          </ui-select-choices>\n        </ui-select>\n        <span class="input-group-addon">to</span>\n        <ui-select data-ng-model="splittedInterval.wd_to" theme="bootstrap" name="wd_to">\n          <ui-select-match placeholder="">{{$select.selected.name | translate}}</ui-select-match>\n          <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n            {{weekDay.name | translate}}\n          </ui-select-choices>\n        </ui-select>\n      </div>\n    </div>\n    \x3c!-- END WEEKDAY --\x3e\n\n    \x3c!-- START MONTHDAY --\x3e\n    <div class="form-group">\n      <label class="control-label">{{ \'APPLICATION_MONTHDAY\' | translate }}</label>\n      <div class="input-group input-large">\n        <ui-select data-ng-model="splittedInterval.md_from" theme="bootstrap" name="md_from">\n          <ui-select-match>{{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}</ui-select-match>\n          <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n            {{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n          </ui-select-choices>\n        </ui-select>\n        <span class="input-group-addon">to</span>\n        <ui-select data-ng-model="splittedInterval.md_to" theme="bootstrap" name="md_to">\n          <ui-select-match>{{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}</ui-select-match>\n          <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n            {{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n          </ui-select-choices>\n        </ui-select>\n      </div>\n    </div>\n    \x3c!-- END MONTHDAY --\x3e\n\n    \x3c!-- START MONTH --\x3e\n    <div class="form-group">\n      <label class="control-label">{{ \'APPLICATION_MONTH\' | translate }}</label>\n      <div class="input-group input-large">\n        <ui-select data-ng-model="splittedInterval.m_from" theme="bootstrap" name="m_from">\n          <ui-select-match placeholder="">{{$select.selected.name | translate}}</ui-select-match>\n          <ui-select-choices repeat="month.value as month in $interval.monthsNumber | filter: $select.search">\n            {{month.name | translate}}\n          </ui-select-choices>\n        </ui-select>\n        <span class="input-group-addon">to</span>\n        <ui-select data-ng-model="splittedInterval.m_to" theme="bootstrap" name="m_to">\n          <ui-select-match placeholder="">{{$select.selected.name | translate}}</ui-select-match>\n          <ui-select-choices repeat="month.value as month in $interval.monthsNumber | filter: $select.search">\n            {{month.name | translate}}\n          </ui-select-choices>\n        </ui-select>\n      </div>\n    </div>\n    \x3c!-- END MONTH --\x3e\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="save()" ng-disabled="form.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),
-a.put("app/motiondialer/process/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row" data-ng-init="getProcess()">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-control-forward"></i>\n\t\t\t\t\t<a href="#">Motion Dialer</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-settings"></i>\n\t\t\t\t\t<a href="/motiondialer/processes/list">{{ \'APPLICATION_PROCESSES\' | translate }}</a>\n\t\t\t\t\t<i data-ng-show="process.name" class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li data-ng-show="process.name">\n\t\t\t\t\t<a href="#">{{process.name}}</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t<div class="profile-sidebar">\n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t<div class="portlet light profile-sidebar-portlet">\n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t<div class="profile-image">\n\t\t\t\t\t<img data-ng-src="assets/images/media/account.png" class="img-responsive">\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t<div class="profile-usertitle">\n\t\t\t\t\t<div class="profile-usertitle-name">\n\t\t\t\t\t\t{{process.name}} ({{ (process.status === \'RUN\') ? \'RUNNING...\' : \'STOPPED\' }})\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="profile-usertitle-job">\n\t\t\t\t\t\t<a href="#" data-ng-click="goToContacts(process.list.id_source)">{{ \'APPLICATION_LIST\' | translate}} {{process.list ? process.list.name : \'#\'+process.id_list}} ({{process.fetch_sort}})</a>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n        <div class="profile-userbuttons">\n\t\t\t\t\t<button data-ng-show="process.status" type="button" class="btn btn-circle btn-sm" data-ng-class="{\'green-meadow\': process.status == \'STOP\', \'red-sunglo\': process.status == \'RUN\'}" data-ng-click="runOrStop()">{{ (process.status === \'RUN\') ? \'STOP\' : \'RUN\' }}</button>\n        </div>\n\t\t\t\t<div class="profile-userbuttons">\n\t\t\t\t\t<button style="cursor:default" data-ng-show="process.runtime" type="button" class="btn btn-circle btn-sm" data-ng-class="{\'green-meadow\': process.runtime.completed, \'yellow-crusta\': !process.runtime.completed}">{{process.runtime.completed ? \'Complete\' : \'Incomplete\'}}</button>\n\t\t\t\t\t<button style="cursor:default" class="btn btn-circle btn-sm" data-ng-class="{\'green-meadow\': !process.runtime.outOfTime, \'red-sunglo\': process.runtime.outOfTime}"><i data-ng-class="{\'icon-clock\': !process.runtime.outOfTime, \'icon-close\': process.runtime.outOfTime}"></i> {{process.runtime.outOfTime ? \'Out of time\' : \'On time\'}}</button>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t<div class="profile-usermenu">\n\t\t\t\t\t<ul class="nav">\n            <li data-ng-class="{active: $state.is(\'main.motiondialer.processes.view.overview\')}">\n\t\t\t\t\t\t\t<a data-ng-href="/motiondialer/processes/view/{{process.id}}/overview">\n\t\t\t\t\t\t\t<i class="icon-home"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_OVERVIEW\' | translate}} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.motiondialer.processes.view.settings\')}">\n\t\t\t\t\t\t\t<a data-ng-href="/motiondialer/processes/view/{{process.id}}/settings">\n\t\t\t\t\t\t\t<i class="icon-settings"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_SETTINGS\' | translate}} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.motiondialer.processes.view.intervals\')}">\n\t\t\t\t\t\t\t<a data-ng-href="/motiondialer/processes/view/{{process.id}}/intervals">\n\t\t\t\t\t\t\t<i class="icon-clock"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_INTERVALS\' | translate}} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.motiondialer.processes.view.spooler\')}">\n\t\t\t\t\t\t\t<a data-ng-href="/motiondialer/processes/view/{{process.id}}/spooler">\n\t\t\t\t\t\t\t<i class="icon-options-vertical"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_SPOOLER\' | translate}} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t</div>\n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t</div>\n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t<div ui-view class="profile-content">\n\t\t</div>\n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/motiondialer/process/view/view.intervals.html",'<div class="row" data-ng-init="initIntervals()">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-clock  theme-font"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_PROCESS\' | translate}} {{ \'APPLICATION_INTERVALS\' | translate}} </span>\n\t\t\t\t</div>\n\t\t\t\t<ul class="nav nav-tabs">\n\t\t\t\t\t<li class="active">\n\t\t\t\t\t\t<a href="#" data-target="#tab_allow" data-toggle="tab">{{ \'APPLICATION_ALLOW\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<a href="#" data-target="#tab_disallow" data-toggle="tab">{{ \'APPLICATION_DISALLOW\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t<div class="tab-content">\n\t\t\t\t\t\x3c!-- ALLOW TAB --\x3e\n\t\t\t\t\t<div class="tab-pane active" id="tab_allow">\n\t\t\t\t\t\t<button class="btn green-jungle margin-bottom-10" ng-click="createInterval(true)">\n\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_INTERVAL\' | translate }} ({{ \'APPLICATION_ALLOW\' | translate }})\n\t\t\t\t\t\t</button>\n\t\t\t\t\t\t<table class="table table-bordered table-hover">\n\t\t\t\t\t\t\t<thead>\n\t\t\t\t\t\t\t<tr role="row" class="heading">\n\t\t\t\t\t\t\t\t<th>\n\t\t\t\t\t\t\t\t\t {{ \'APPLICATION_VALUE\' | translate}}\n\t\t\t\t\t\t\t\t</th>\n\t\t\t\t\t\t\t\t<th>\n\t\t\t\t\t\t\t\t\t {{ \'APPLICATION_ACTIONS\' | translate}}\n\t\t\t\t\t\t\t\t</th>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t</thead>\n\t\t\t\t\t\t\t<tbody>\n\t\t\t\t\t\t\t<tr ng-repeat="interval in process.intervals track by $index">\n\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t{{interval}}\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t<button href="javascript:;" data-ng-click="editInterval(true, interval, $index)" class="btn blue-hoki btn-sm"> {{ \'APPLICATION_EDIT\' | translate}} </button>\n\t\t\t\t\t\t\t\t\t<button data-ng-if="$index > 0" data-ng-click="deleteInterval(interval, $index, true)" class="btn red-sunglo btn-sm"> {{ \'APPLICATION_DELETE\' | translate}} </button>\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t<tr ng-show="!process.intervals.length"><td colspan=2>{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</td></tr>\n\t\t\t\t\t\t\t</tbody>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END ALLOW TAB --\x3e\n\t\t\t\t\t\x3c!-- DISALLOW TAB --\x3e\n\t\t\t\t\t<div class="tab-pane" id="tab_disallow">\n\t\t\t\t\t\t<button class="btn green-jungle margin-bottom-10" ng-click="createInterval(false)">\n\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_INTERVAL\' | translate }} ({{ \'APPLICATION_DISALLOW\' | translate }})\n\t\t\t\t\t\t</button>\n\t\t\t\t\t\t<table class="table table-bordered table-hover">\n\t\t\t\t\t\t\t<thead>\n\t\t\t\t\t\t\t<tr role="row" class="heading">\n\t\t\t\t\t\t\t\t<th>\n\t\t\t\t\t\t\t\t\t {{ \'APPLICATION_VALUE\' | translate}}\n\t\t\t\t\t\t\t\t</th>\n\t\t\t\t\t\t\t\t<th>\n\t\t\t\t\t\t\t\t\t {{ \'APPLICATION_ACTIONS\' | translate}}\n\t\t\t\t\t\t\t\t</th>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t</thead>\n\t\t\t\t\t\t\t<tbody>\n\t\t\t\t\t\t\t<tr ng-repeat="interval in process.not_intervals track by $index">\n\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t{{interval}}\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t<button href="javascript:;" data-ng-click="editInterval(false, interval)" class="btn blue-hoki btn-sm"> {{ \'APPLICATION_EDIT\' | translate}} </button>\n\t\t\t\t\t\t\t\t\t<button href="javascript:;" data-ng-click="deleteInterval($index, interval, false)" class="btn red-sunglo btn-sm"> {{ \'APPLICATION_DELETE\' | translate}} </button>\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t<tr ng-show="!process.not_intervals.length"><td colspan=2>{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</td></tr>\n\t\t\t\t\t\t\t</tbody>\n\t\t\t\t\t\t</table>\n\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END DISALLOW TAB --\x3e\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/motiondialer/process/view/view.overview.html",'<div class="row" data-ng-init="getSummary()">\n  <div class="col-md-12">\n    \x3c!-- BEGIN PORTLET --\x3e\n    <div class="portlet light">\n      <div class="portlet-title tabbable-line">\n        <div class="caption caption-md">\n          <i class="icon-bar-chart theme-font hide"></i>\n          <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_OVERVIEW\' | translate}}</span>\n        </div>\n        <ul class="nav nav-tabs">\n\t\t\t\t\t<li class="active">\n\t\t\t\t\t\t<a href="#" data-target="#tab_summary" data-toggle="tab">{{ \'APPLICATION_SUMMARY\' | translate}}</a>\n\t\t\t\t\t</li>\n          <li ng-show="process.runtime">\n\t\t\t\t\t\t<a href="#" data-target="#tab_advanced" data-toggle="tab">{{ \'APPLICATION_ADVANCED\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n      </div>\n      <div class="portlet-body">\n        <div class="tab-content">\n\t\t\t\t\t\x3c!-- START SUMMARY TAB --\x3e\n\t\t\t\t\t<div class="tab-pane active" id="tab_summary">\n            \x3c!-- BEGIN UI-GRID SPINNER --\x3e\n    \t\t\t\t<span us-spinner spinner-key="spinner-grid" spinner-start-active="true"></span>\n    \t\t\t\t\x3c!-- END UI-GRID SPINNER --\x3e\n            <div class="row number-stats margin-bottom-30">\n              <div class="col-md-6 col-sm-6 col-xs-6">\n                <div class="stat-left">\n                  <div class="stat-number">\n                    <div class="title">\n                       {{\'APPLICATION_TOTAL\' | translate}}\n                    </div>\n                    <div class="number">\n                       {{total}}\n                    </div>\n                  </div>\n                </div>\n              </div>\n              <div class="col-md-6 col-sm-6 col-xs-6">\n                <div class="stat-right">\n                  <div class="stat-number">\n                    <div class="title">\n                       {{\'APPLICATION_FRESH\' | translate}}\n                    </div>\n                    <div class="number">\n                       {{process.runtime.fresh || 0}}\n                    </div>\n                  </div>\n                </div>\n              </div>\n            </div>\n            <div class="table-scrollable table-scrollable-borderless">\n              <table class="table table-hover table-light">\n              <thead>\n              <tr class="uppercase">\n                <th>\n                   {{\'APPLICATION_STATUS\' | translate}}\n                </th>\n                <th>\n                   {{\'APPLICATION_VALUE\' | translate}}\n                </th>\n                <th>\n                   {{\'APPLICATION_RATE\' | translate}}\n                </th>\n                <th>\n                   {{\'APPLICATION_DESCRIPTION\' | translate}}\n                </th>\n              </tr>\n              </thead>\n              <tr ng-repeat="sum in summary">\n                <td>\n                  <a href="#" class="primary-link">{{\'APPLICATION_TD_\' + sum[0] | translate}}</a>\n                </td>\n                <td>\n                   {{sum[1]}}\n                </td>\n                <td>\n                  <span class="bold theme-font">{{ total ? ((sum[1]/total)*100).toFixed(2) : 0 }}%</span>\n                </td>\n                <td>\n                   {{\'DESCRIPTION_TD_\' + sum[0] | translate}}\n                </td>\n              </tr>\n              </table>\n            </div>\n          </div>\n          \x3c!-- END SUMMARY TAB --\x3e\n          \x3c!-- START SUMMARY TAB --\x3e\n\t\t\t\t\t<div class="tab-pane" id="tab_advanced" ng-show="process.runtime">\n            <div class="row number-stats margin-bottom-30">\n              <div class="col-md-6 col-sm-6 col-xs-6">\n                <div class="stat-left">\n                  <div class="stat-number">\n                    <div class="title">\n                       {{\'APPLICATION_SUCCESS\' | translate}}\n                    </div>\n                    <div class="number">\n                       {{process.runtime.success || 0}}\n                    </div>\n                  </div>\n                </div>\n              </div>\n              <div class="col-md-6 col-sm-6 col-xs-6">\n                <div class="stat-right">\n                  <div class="stat-number">\n                    <div class="title">\n                       {{\'APPLICATION_FAILED\' | translate}}\n                    </div>\n                    <div class="number">\n                       {{process.runtime.failed || 0}}\n                    </div>\n                  </div>\n                </div>\n              </div>\n            </div>\n            <div class="table-scrollable table-scrollable-borderless">\n              <table class="table table-hover table-light">\n              <thead>\n              <tr class="uppercase">\n                <th>\n                   {{\'APPLICATION_STATUS\' | translate}}\n                </th>\n                <th>\n                   {{\'APPLICATION_VALUE\' | translate}}\n                </th>\n                <th>\n                   {{\'APPLICATION_DESCRIPTION\' | translate}}\n                </th>\n              </tr>\n              </thead>\n              <tr ng-repeat="(key, value) in process.runtime">\n                <td>\n                  <a href="#" class="primary-link">{{\'APPLICATION_\' + key.toUpperCase() | translate}}</a>\n                </td>\n                <td ng-switch on="key">\n                   <span ng-switch-when="avgDial">{{value | number:2}}</span>\n                   <span ng-switch-when="avgDuration">{{value | number:2}}</span>\n                   <span ng-switch-when="avgProgress">{{value | number:2}}</span>\n                   <span ng-switch-when="completed">{{((value)? \'APPLICATION_YES\' : \'APPLICATION_NO\') | translate}}</span>\n                   <span ng-switch-when="outOfTime">{{((value)? \'APPLICATION_YES\' : \'APPLICATION_NO\') | translate}}</span>\n                   <span ng-switch-default>{{value}}</span>\n                </td>\n                <td>\n                   {{\'DESCRIPTION_TD_\' + key.toUpperCase() | translate}}\n                </td>\n              </tr>\n              </table>\n            </div>\n          </div>\n          \x3c!-- END SUMMARY TAB --\x3e\n        </div>\n      </div>\n    </div>\n    \x3c!-- END PORTLET --\x3e\n  </div>\n</div>\n'),a.put("app/motiondialer/process/view/view.run.process.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_STATUS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <p>\n    Do you want to {{ status }} the process?\n  </p>\n</div>\n<div class="modal-footer">\n  <button class="btn default green-meadow" type="button" ng-click="yes()">{{ \'APPLICATION_YES\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="no()">{{ \'APPLICATION_NO\' | translate }}</button>\n</div>\n'),
-a.put("app/salesforce/view/configuration/view/view.html",'<div class="row" data-ng-init="initView();getConfiguration();getCustomVariables();getFields();">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_CONFIGURATION\' | translate}}: {{configurationName}}</span>\n\t\t\t\t</div>\n\t\t\t\t<ul class="nav nav-tabs">\n\t\t\t\t\t<li class="active">\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_SUBJECT\' | translate}}</a>\n\t\t\t\t\t</li>\n          <li>\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_DESCRIPTION\' | translate}}</a>\n\t\t\t\t\t</li>\n          <li>\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_FIELDS\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t<div class="tab-content">\n\t\t\t\t\t\x3c!-- SUBJECT TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding active" id="tab_1_1">\n            <div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">All following fields will be join by blank space:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItem(\'subject\')"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t\x3c!-- <div id="subject-item-list" ng-scrollbars ng-scrollbars-config="config"> --\x3e\n\t            <div class="row" data-ng-repeat="subjectItem in subjectConfig">\n\t              <div class="col-md-3">\n\t                <ui-select ng-model="subjectItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(subjectItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                  <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n\t                    <div ng-bind-html="item.title | highlight: $select.search"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t              </div>\n\t              <div class="col-md-8" data-ng-if="subjectItem.type==\'string\'">\n\t                <div class="form-group">\n\t                  <input type="text" class="form-control" data-ng-model="subjectItem.content" data-ng-change="updateField(subjectItem)">\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-8" data-ng-if="subjectItem.type==\'variable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.variableName" data-ng-change="updateField(subjectItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                    <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n\t                      <div ng-bind-html="variable.title | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-8" data-ng-if="subjectItem.type==\'customVariable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.VariableId" data-ng-change="updateField(subjectItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t                    <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n\t                      <div ng-bind-html="variable.name | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-1">\n\t                <div class="form-group">\n\t                  <button class="btn btn-icon-only red" data-ng-click="removeItem(subjectItem)"><i class="fa fa-times"></i></button>\n\t                </div>\n\t              </div>\n\t            </div>\n\t\t\t\t\t\t\x3c!-- </div> --\x3e\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END SUBJECT TAB --\x3e\n          \x3c!-- DESCRIPTION TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding" id="tab_1_2">\n\t\t\t\t\t\t<div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">All following fields will be join by new line:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItem(\'description\')"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t\x3c!-- <div id="description-item-list" ng-scrollbars ng-scrollbars-config="config"> --\x3e\n\t\t\t\t\t\t\t<div class="row" data-ng-repeat="descriptionItem in descriptionConfig">\n\t              <div class="col-md-2">\n\t                <ui-select ng-model="descriptionItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                  <ui-select-choices repeat="item.type as item in descFieldType | filter: $select.search">\n\t                    <div ng-bind-html="item.title | highlight: $select.search"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t              </div>\n\t              <div class="col-md-9" data-ng-if="descriptionItem.type==\'string\'">\n\t                <div class="form-group">\n\t                  <input type="text" class="form-control" data-ng-model="descriptionItem.content" data-ng-change="updateField(descriptionItem)">\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\'">\n\t\t\t\t\t\t\t\t\t<input type="text" class="form-control" placeholder="Key" data-ng-model="descriptionItem.key" data-ng-change="updateField(descriptionItem)">\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\'">\n\t\t\t\t\t\t\t\t\t<ui-select ng-model="descriptionItem.keyType" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                  <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n\t                    <div ng-bind-html="item.title | highlight: $select.search"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'string\'">\n\t\t\t\t\t\t\t\t\t<input type="text" class="form-control" placeholder="Value" data-ng-model="descriptionItem.keyContent" data-ng-change="updateField(descriptionItem)">\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'variable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.variableName" data-ng-change="updateField(descriptionItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                    <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n\t                      <div ng-bind-html="variable.title | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'customVariable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.VariableId" data-ng-change="updateField(descriptionItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t                    <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n\t                      <div ng-bind-html="variable.name | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-1">\n\t                <div class="form-group">\n\t                  <button class="btn btn-icon-only red" data-ng-click="removeItem(descriptionItem)"><i class="fa fa-times"></i></button>\n\t                </div>\n\t              </div>\n\t            </div>\n\t\t\t\t\t\t\x3c!-- </div> --\x3e\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END DESCRIPTION TAB --\x3e\n          \x3c!-- FIELDS TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding" id="tab_1_3">\n\t\t\t\t\t\t<div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">Add how to fill the fields present in your account:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItem(\'field\')"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t\x3c!-- <div id="field-item-list" ng-scrollbars ng-scrollbars-config="config"> --\x3e\n\t            <div class="row" data-ng-repeat="fieldItem in fieldConfig">\n\t              <div class="col-md-3">\n\t                <ui-select ng-model="fieldItem.idField" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeFieldType(fieldItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.label}}</ui-select-match>\n\t                  <ui-select-choices repeat="item.name as item in accountFields | filter: $select.search">\n\t                    <div ng-bind-html="item.label | highlight: $select.search"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t              </div>\n\t              <div class="col-md-8" data-ng-if="getSystemFieldOptions(fieldItem.idField)">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select ng-model="fieldItem.content" theme="bootstrap" ng-disabled="disabled" data-ng-change="updateField(fieldItem)">\n\t\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.label}}</ui-select-match>\n\t\t                  <ui-select-choices repeat="item.value as item in getSystemFieldOptions(fieldItem.idField) | filter: $select.search">\n\t\t                    <div ng-bind-html="item.label | highlight: $select.search"></div>\n\t\t                  </ui-select-choices>\n\t\t                </ui-select>\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField)">\n\t\t\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select ng-model="fieldItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(fieldItem)">\n\t\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t\t                  <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n\t\t                    <div ng-bind-html="item.title | highlight: $select.search | ucfirst"></div>\n\t\t                  </ui-select-choices>\n\t\t                </ui-select>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'string\'">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<input type="text" class="form-control" data-ng-model="fieldItem.content" data-ng-change="updateField(fieldItem)">\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'variable\'">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.variableName" data-ng-change="updateField(fieldItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                    <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n\t                      <div ng-bind-html="variable.title | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'customVariable\'">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.VariableId" data-ng-change="updateField(fieldItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t                    <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n\t                      <div ng-bind-html="variable.name | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-1">\n\t                <div class="form-group">\n\t                  <button class="btn btn-icon-only red" data-ng-click="removeItem(fieldItem)"><i class="fa fa-times"></i></button>\n\t                </div>\n\t              </div>\n\t            </div>\n\t\t\t\t\t\t\x3c!-- </div> --\x3e\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END FIELDS TAB --\x3e\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/salesforce/view/view.account.html",'<div class="row">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_ACCOUNT\' | translate}}</span>\n\t\t\t\t</div>\n\t\t\t\t<ul class="nav nav-tabs">\n\t\t\t\t\t<li class="active">\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t<div class="tab-content">\n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t<div class="tab-pane active" id="tab_1_1">\n\t\t\t\t\t\t<form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItem()" novalidate>\n              \x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.name.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.name" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n\t\t\t\t\t\t\t\t<input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n              \x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.username" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n              \x3c!-- START REMOTE ADDRESS --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_URI\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="url" name="remoteUri" placeholder="{{\'APPLICATION_URI\' | translate}}" class="form-control" data-ng-model="account.remoteUri" required />\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.password.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="account.password" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.password.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\n              \x3c!-- START CLIENT ID --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.clientId.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_CLIENT_ID\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="clientId" placeholder="{{\'APPLICATION_CLIENT_ID\' | translate}}" class="form-control" data-ng-model="account.clientId" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.clientId.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END CLIENT ID --\x3e\n\n              \x3c!-- START CLIENT SECRET --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.clientSecret.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_CLIENT_SECRET\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="clientSecret" placeholder="{{\'APPLICATION_CLIENT_SECRET\' | translate}}" class="form-control" data-ng-model="account.clientSecret" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.clientSecret.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END CLIENT SECRET --\x3e\n\n              \x3c!-- START SECURITY TOKEN --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.securityToken.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_SECURITY_TOKEN\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="securityToken" placeholder="{{\'APPLICATION_SECURITY_TOKEN\' | translate}}" class="form-control" data-ng-model="account.securityToken" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.securityToken.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END SECURITY TOKEN --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SERVER URL --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.serverUrl.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}}</label>\n\t\t\t\t\t\t\t\t<input type="url" name="serverUrl" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.serverUrl"/>\n\t\t\t\t\t\t\t\t<span class="help-block">\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_SERVER_URL\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t<span class="help-block help-block-info">\n\t\t\t\t\t\t\t\t\t{{\'MESSAGE_MOTION_ADDRESS_FORMAT\' | translate}}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END SERVER URL --\x3e\n\n\t\t\t\t\t\t\t<input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/salesforce/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row" data-ng-init="initView()">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n          <i class="fa fa-cloud"></i>\n          <a href="/salesforce/list">{{ \'APPLICATION_SALESFORCE\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<a href="#">{{account.name}}</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t<div class="profile-sidebar">\n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t<div class="portlet light profile-sidebar-portlet">\n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t<div class="profile-image">\n\t\t\t\t\t<img src="assets/images/media/salesforce.png" class="img-responsive">\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t<div class="profile-usertitle">\n\t\t\t\t\t<div class="profile-usertitle-name">\n\t\t\t\t\t\t{{account.name}}\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="profile-usertitle-job">\n\t\t\t\t\t\t{{account.remoteUri}}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t<div class="profile-usermenu">\n\t\t\t\t\t<ul class="nav">\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.salesforce.view.account\')}">\n\t\t\t\t\t\t\t<a ng-href="/salesforce/view/{{account.id}}/account">\n\t\t\t\t\t\t\t<i class="icon-user"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_ACCOUNT\' | translate }} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.includes(\'main.salesforce.view.configurations\') || $state.is(\'main.salesforce.view.configuration\')}">\n\t\t\t\t\t\t\t<a ng-href="/salesforce/view/{{account.id}}/configurations/list">\n\t\t\t\t\t\t\t<i class="icon-settings"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_CONFIGURATIONS\' | translate }} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t</div>\n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t</div>\n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t<div ui-view class="profile-content">\n\t\t</div>\n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),
-a.put("app/setting/license/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row" data-ng-init="initView()">\n  <div class="col-md-12">\n    <div class="page-bar">\n      <ul class="page-breadcrumb">\n        <li>\n          <i class="icon-rocket"></i>\n          <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n          <i class="fa fa-angle-right"></i>\n        </li>\n        <li>\n          <i class="icon-settings"></i>\n          <a href="#">{{ \'APPLICATION_SETTINGS\' | translate }}</a>\n          <i class="fa fa-angle-right"></i>\n        </li>\n        <li>\n          <i class="icon-info"></i>\n          <a href="#">{{ \'APPLICATION_LICENSE\' | translate }}</a>\n        </li>\n      </ul>\n    </div>\n\n    \x3c!-- BEGIN PROFILE CONTENT --\x3e\n    <div class="profile-content">\n      <div class="row" data-ng-if="item.expirationTime > -1 && !item.demo">\n        <div class="col-md-12">\n          <div class="note note-warning">\n            <h4 class="block"><strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_YOUR_LICENSE_WILL_EXPIRE\' | translate}} <strong>{{license.expirationTime}}</strong> {{\'MESSAGE_DAYS\' | translate}}.</h4>\n            <p data-ng-if="item.token !== item.token2">\n              {{\'MESSAGE_SEND_EMAIL_TO\' | translate}} <a href="mailto:[email-masked]?subject=New%20token%20detected&body=Hi xCALLY, my new token is: {{license.token2}}. Old token: {{license.token}}">[email-masked]</a>.\n            </p>\n            <p data-ng-if="item.token !== item.token2">\n              {{\'APPLICATION_NEW\' | translate | uppercase}} Token: <strong>{{license.token2}}</strong>\n            </p>\n          </div>\n        </div>\n      </div>\n      <div class="row">\n        <div class="col-md-6">\n          <div class="pricing hover-effect">\n            <div class="pricing-head">\n              <h3 data-ng-switch="license.months">\n              <div ng-switch-when="1">{{\'APPLICATION_MONTH_TO_MONTH\' | translate}}</div>\n              <div ng-switch-when="12">{{\'APPLICATION_YEARLY\' | translate}}</div>\n              <div ng-switch-when="36">{{\'APPLICATION_PERPETUAL\' | translate}}</div>\n              <div ng-switch-default>{{\'APPLICATION_UNKNOWN\' | translate}}</div>\n              <div class="h5" data-ng-if="item.token === item.token2">{{license.token || \'unknown\'}} </div><div class="h5" data-ng-if="item.token !== item.token2"><div><b>{{\'APPLICATION_OLD_UID\' | translate}}:</b> {{license.token || \'unknown\'}}</div><div><b>{{\'APPLICATION_NEW_UID\' | translate}}:</b> {{license.token2 || \'unknown\'}}</div> </div>\n              </h3>\n              <h4><i>{{license.expiration ? (license.expiration | date:\'medium\') : \'DEMO\'}}</i>\n                <span data-ng-show="license.expiration">Expiration Date </span>\n              </h4>\n            </div>\n            <ul class="pricing-content list-unstyled">\n              <li class="row">\n                <div class="col-md-9">\n                  <i class="icon-eye"></i> {{\'APPLICATION_USERS\' | translate}}:\n                </div>\n                <div class="col-md-3 text-center">\n                  {{(license.users || license.users >= 0) ? license.users : \'unknown\'}}\n                </div>\n              </li>\n              <li class="row">\n                <div class="col-md-9">\n                  <i class="icon-people"></i> {{\'APPLICATION_AGENTS\' | translate}} ({{\'APPLICATION_CONCURRENTS\' | translate}}):\n                </div>\n                <div class="col-md-3 text-center">\n                  {{(license.agents || license.agents >= 0)  ? license.agents : \'unknown\'}}\n                </div>\n              </li>\n              <li class="row">\n                <div class="col-md-9">\n                  <i class="icon-phone"></i> {{\'APPLICATION_TELEPHONES\' | translate}}:\n                </div>\n                <div class="col-md-3 text-center">\n                  {{(license.telephones || license.telephones >= 0) ? license.telephones : \'unknown\'}}\n                </div>\n              </li>\n              <li class="row">\n                <div class="col-md-9">\n                  <i class="icon-bubble"></i> {{\'APPLICATION_CHAT\' | translate}}:\n                </div>\n                <div class="col-md-3 text-center">\n                  <span class="label label-sm" data-ng-class="license.chat ? \'label-success\' : \'label-danger\'">{{license.chat ? \'APPLICATION_ENABLED\' : \'APPLICATION_DISABLED\' | translate}}</span>\n                </div>\n              </li>\n              <li class="row">\n                <div class="col-md-9">\n                  <i class="icon-envelope"></i> {{\'APPLICATION_MAIL\' | translate}}:\n                </div>\n                <div class="col-md-3 text-center">\n                  <span class="label label-sm" data-ng-class="license.mail ? \'label-success\' : \'label-danger\'">{{license.mail ? \'APPLICATION_ENABLED\' : \'APPLICATION_DISABLED\' | translate}}</span>\n                </div>\n              </li>\n              <li class="row">\n                <div class="col-md-9">\n                  <i class="fa fa-fax"></i> {{\'APPLICATION_FAX\' | translate}}:\n                </div>\n                <div class="col-md-3 text-center">\n                  <span class="label label-sm" data-ng-class="license.fax ? \'label-success\' : \'label-danger\'">{{license.fax ? \'APPLICATION_ENABLED\' : \'APPLICATION_DISABLED\' | translate}}</span>\n                </div>\n              </li>\n              <li class="row">\n                <div class="col-md-9">\n                  <i class="glyphicon glyphicon-comment"></i> {{\'APPLICATION_SMS\' | translate}}:\n                </div>\n                <div class="col-md-3 text-center">\n                  <span class="label label-sm" data-ng-class="license.messaging ? \'label-success\' : \'label-danger\'">{{license.messaging ? \'APPLICATION_ENABLED\' : \'APPLICATION_DISABLED\' | translate}}</span>\n                </div>\n              </li>\n              <li class="row">\n                <div class="col-md-9">\n                  <i class="icon-globe"></i> {{\'APPLICATION_OPEN_CHANNEL\' | translate}}:\n                </div>\n                <div class="col-md-3 text-center">\n                  <span class="label label-sm" data-ng-class="license.openchannel ? \'label-success\' : \'label-danger\'">{{license.openchannel ? \'APPLICATION_ENABLED\' : \'APPLICATION_DISABLED\' | translate}}</span>\n                </div>\n              </li>\n              <li class="row">\n                <div class="col-md-9">\n                  <i class="icon-notebook"></i> {{\'APPLICATION_CONTACT_MANAGER\' | translate}}:\n                </div>\n                <div class="col-md-3 text-center">\n                  <span class="label label-sm" data-ng-class="license.cm ? \'label-success\' : \'label-danger\'">{{license.cm ? \'APPLICATION_ENABLED\' : \'APPLICATION_DISABLED\' | translate}}</span>\n                </div>\n              </li>\n              <li class="row">\n                <div class="col-md-9">\n                  <i class="icon-control-forward"></i> {{\'APPLICATION_MOTION_DIALER\' | translate}}:\n                </div>\n                <div class="col-md-3 text-center">\n                  <span class="label label-sm" data-ng-class="license.dialer ? \'label-success\' : \'label-danger\'">{{license.dialer ? \'APPLICATION_ENABLED\' : \'APPLICATION_DISABLED\' | translate}}</span>\n                </div>\n              </li>\n              <li class="row">\n                <div class="col-md-9">\n                  <i class="fa fa-edit"></i> {{\'APPLICATION_JSCRIPTY\' | translate}}:\n                </div>\n                <div class="col-md-3 text-center">\n                  <span class="label label-sm" data-ng-class="license.jscripty ? \'label-success\' : \'label-danger\'">{{license.jscripty ? \'APPLICATION_ENABLED\' : \'APPLICATION_DISABLED\' | translate}}</span>\n                </div>\n              </li>\n              <li class="row">\n                <div class="col-md-9">\n                  <i class="icon-equalizer"></i> {{\'APPLICATION_CUSTOMIZATION\' | translate}}:\n                </div>\n                <div class="col-md-3 text-center">\n                  <span class="label label-sm" data-ng-class="license.custom ? \'label-success\' : \'label-danger\'">{{license.custom ? \'APPLICATION_ENABLED\' : \'APPLICATION_DISABLED\' | translate}}</span>\n                </div>\n              </li>\n              <li class="row">\n                <div class="col-md-9">\n                  <i class="icon-cloud-download"></i> {{\'APPLICATION_UPDATE\' | translate}}:\n                </div>\n                <div class="col-md-3 text-center">\n                  <span class="label label-sm" data-ng-class="license.update ? \'label-success\' : \'label-danger\'">{{license.update ? \'APPLICATION_ENABLED\' : \'APPLICATION_DISABLED\' | translate}}</span>\n                </div>\n              </li>\n            </ul>\n            <div class="pricing-footer">\n              <p>\n                {{license.description}}\n              </p>\n              <a href="https://www.xcallymotion.com/prices" target="_blank" class="btn yellow-crusta">\n                {{\'APPLICATION_PRICES\' | translate}} <i class="m-icon-swapright m-icon-white"></i>\n              </a>\n              <a href="#" class="btn purple-plum" data-ng-click="updateLicense()">\n                {{\'APPLICATION_UPDATE\' | translate}} <i class="icon-refresh m-icon-white"></i>\n              </a>\n            </div>\n          </div>\n        </div>\n        <div class="col-md-6">\n          <div class="portlet light bordered">\n            <div class="portlet-title">\n              <div class="caption font-green-sharp">\n                <i class="icon-info font-green-sharp"></i>\n                <span class="caption-subject">{{ \'APPLICATION_LICENSE_REQUEST\' | translate }}</a> </span>\n              </div>\n            </div>\n            <div class="portlet-body">\n              <form name="form" novalidate data-ng-submit="submitRequest()">\n\n                \x3c!-- START USERS --\x3e\n                <div class="form-group" data-ng-class="{\'has-error\': (form.users.$touched || form.$submitted) && form.users.$invalid}">\n                  <label class="control-label">{{\'APPLICATION_USERS\' | translate}}</label>\n                  <div class="input-icon">\n                    <i class="icon-eye"></i>\n                    <input type="number" name="users" placeholder="{{\'APPLICATION_USERS\' | translate}}" class="form-control" data-ng-model="item.users" min="0" required>\n                  </div>\n                  <span data-ng-show="(form.users.$touched || forms.$submitted) && form.users.$error.required" class="help-block help-block-error">\n                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                  </span>\n                </div>\n                \x3c!-- END USERS --\x3e\n\n                \x3c!-- START AGENTS --\x3e\n                <div class="form-group" data-ng-class="{\'has-error\': (form.agents.$touched || form.$submitted) && form.agents.$invalid}">\n                  <label class="control-label">{{\'APPLICATION_AGENTS\' | translate}} ({{\'APPLICATION_CONCURRENTS\' | translate}})</label>\n                  <div class="input-icon">\n                    <i class="icon-people"></i>\n                    <input type="number" name="agents" placeholder="{{\'APPLICATION_AGENTS\' | translate}} ({{\'APPLICATION_CONCURRENTS\' | translate}})" class="form-control" data-ng-model="item.agents" min="0" required>\n                  </div>\n                  <span data-ng-show="(form.users.$touched || forms.$submitted) && form.users.$error.required" class="help-block help-block-error">\n                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                  </span>\n                </div>\n                \x3c!-- END AGENTS --\x3e\n\n                \x3c!-- START TELEPHONES --\x3e\n                <div class="form-group" data-ng-class="{\'has-error\': (form.telephones.$touched || form.$submitted) && form.telephones.$invalid}">\n                  <label class="control-label">{{\'APPLICATION_TELEPHONES\' | translate}}</label>\n                  <div class="input-icon">\n                    <i class="icon-phone"></i>\n                    <input type="number" name="telephones" placeholder="{{\'APPLICATION_TELEPHONES\' | translate}}" class="form-control" data-ng-model="item.telephones" min="0" required>\n                  </div>\n                  <span data-ng-show="(form.telephones.$touched || forms.$submitted) && form.telephones.$error.required" class="help-block help-block-error">\n                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                  </span>\n                </div>\n                \x3c!-- END TELEPHONES --\x3e\n                <div class="row">\n                  <div class="form-group col-md-4 col-xs-6">\n                    <label class="control-label">{{\'APPLICATION_CHAT\' | translate}}</label></br>\n                    <input\n                    bs-switch\n                    class="form-control"\n                    ng-model="item.chat"\n                    type="checkbox"\n                    name="chat"\n                    switch-active="{{ radioSwitch.isActive }}"\n                    switch-on-text="{{\'APPLICATION_YES\' | translate}}"\n                    switch-off-text="{{\'APPLICATION_NO\' | translate}}"\n                    switch-on-color="{{ radioSwitch.onColor }}"\n                    switch-off-color="{{ radioSwitch.offColor }}"\n                    switch-animate="{{ radioSwitch.animate }}"\n                    switch-size="{{ radioSwitch.size }}"\n                    switch-label="{{ radioSwitch.label }}"\n                    switch-icon="{{ radioSwitch.icon }}"\n                    switch-radio-off="{{ radioSwitch.radioOff }}"\n                    switch-label-width="{{ radioSwitch.labelWidth }}"\n                    switch-handle-width="{{ radioSwitch.handleWidth }}">\n                  </div>\n                  <div class="form-group col-md-4 col-xs-6">\n                    <label class="control-label">{{\'APPLICATION_MAIL\' | translate}}</label></br>\n                    <input\n                    bs-switch\n                    class="form-control"\n                    ng-model="item.mail"\n                    type="checkbox"\n                    name="mail"\n                    switch-active="{{ radioSwitch.isActive }}"\n                    switch-on-text="{{\'APPLICATION_YES\' | translate}}"\n                    switch-off-text="{{\'APPLICATION_NO\' | translate}}"\n                    switch-on-color="{{ radioSwitch.onColor }}"\n                    switch-off-color="{{ radioSwitch.offColor }}"\n                    switch-animate="{{ radioSwitch.animate }}"\n                    switch-size="{{ radioSwitch.size }}"\n                    switch-label="{{ radioSwitch.label }}"\n                    switch-icon="{{ radioSwitch.icon }}"\n                    switch-radio-off="{{ radioSwitch.radioOff }}"\n                    switch-label-width="{{ radioSwitch.labelWidth }}"\n                    switch-handle-width="{{ radioSwitch.handleWidth }}">\n                  </div>\n                  <div class="form-group col-md-4 col-xs-6">\n                    <label class="control-label">{{\'APPLICATION_FAX\' | translate}}</label></br>\n                    <input\n                    bs-switch\n                    class="form-control"\n                    ng-model="item.fax"\n                    type="checkbox"\n                    name="fax"\n                    switch-active="{{ radioSwitch.isActive }}"\n                    switch-on-text="{{\'APPLICATION_YES\' | translate}}"\n                    switch-off-text="{{\'APPLICATION_NO\' | translate}}"\n                    switch-on-color="{{ radioSwitch.onColor }}"\n                    switch-off-color="{{ radioSwitch.offColor }}"\n                    switch-animate="{{ radioSwitch.animate }}"\n                    switch-size="{{ radioSwitch.size }}"\n                    switch-label="{{ radioSwitch.label }}"\n                    switch-icon="{{ radioSwitch.icon }}"\n                    switch-radio-off="{{ radioSwitch.radioOff }}"\n                    switch-label-width="{{ radioSwitch.labelWidth }}"\n                    switch-handle-width="{{ radioSwitch.handleWidth }}">\n                  </div>\n                  <div class="form-group col-md-4 col-xs-6">\n                    <label class="control-label">{{\'APPLICATION_SMS\' | translate}}</label></br>\n                    <input\n                    bs-switch\n                    class="form-control"\n                    ng-model="item.messaging"\n                    type="checkbox"\n                    name="messaging"\n                    switch-active="{{ radioSwitch.isActive }}"\n                    switch-on-text="{{\'APPLICATION_YES\' | translate}}"\n                    switch-off-text="{{\'APPLICATION_NO\' | translate}}"\n                    switch-on-color="{{ radioSwitch.onColor }}"\n                    switch-off-color="{{ radioSwitch.offColor }}"\n                    switch-animate="{{ radioSwitch.animate }}"\n                    switch-size="{{ radioSwitch.size }}"\n                    switch-label="{{ radioSwitch.label }}"\n                    switch-icon="{{ radioSwitch.icon }}"\n                    switch-radio-off="{{ radioSwitch.radioOff }}"\n                    switch-label-width="{{ radioSwitch.labelWidth }}"\n                    switch-handle-width="{{ radioSwitch.handleWidth }}">\n                  </div>\n                  <div class="form-group col-md-4 col-xs-6">\n                    <label class="control-label">{{\'APPLICATION_OPEN_CHANNEL\' | translate}}</label></br>\n                    <input\n                    bs-switch\n                    class="form-control"\n                    ng-model="item.openchannel"\n                    type="checkbox"\n                    name="openchannel"\n                    switch-active="{{ radioSwitch.isActive }}"\n                    switch-on-text="{{\'APPLICATION_YES\' | translate}}"\n                    switch-off-text="{{\'APPLICATION_NO\' | translate}}"\n                    switch-on-color="{{ radioSwitch.onColor }}"\n                    switch-off-color="{{ radioSwitch.offColor }}"\n                    switch-animate="{{ radioSwitch.animate }}"\n                    switch-size="{{ radioSwitch.size }}"\n                    switch-label="{{ radioSwitch.label }}"\n                    switch-icon="{{ radioSwitch.icon }}"\n                    switch-radio-off="{{ radioSwitch.radioOff }}"\n                    switch-label-width="{{ radioSwitch.labelWidth }}"\n                    switch-handle-width="{{ radioSwitch.handleWidth }}">\n                  </div>\n                  <div class="form-group col-md-4 col-xs-6">\n                    <label class="control-label">{{\'APPLICATION_CONTACT_MANAGER\' | translate}}</label></br>\n                    <input\n                    bs-switch\n                    class="form-control"\n                    ng-model="item.cm"\n                    type="checkbox"\n                    name="cm"\n                    switch-active="{{ radioSwitch.isActive }}"\n                    switch-on-text="{{\'APPLICATION_YES\' | translate}}"\n                    switch-off-text="{{\'APPLICATION_NO\' | translate}}"\n                    switch-on-color="{{ radioSwitch.onColor }}"\n                    switch-off-color="{{ radioSwitch.offColor }}"\n                    switch-animate="{{ radioSwitch.animate }}"\n                    switch-size="{{ radioSwitch.size }}"\n                    switch-label="{{ radioSwitch.label }}"\n                    switch-icon="{{ radioSwitch.icon }}"\n                    switch-radio-off="{{ radioSwitch.radioOff }}"\n                    switch-label-width="{{ radioSwitch.labelWidth }}"\n                    switch-handle-width="{{ radioSwitch.handleWidth }}">\n                  </div>\n                  <div class="form-group col-md-4 col-xs-6">\n                    <label class="control-label">{{\'APPLICATION_MOTION_DIALER\' | translate}}</label></br>\n                    <input\n                    bs-switch\n                    class="form-control"\n                    ng-model="item.dialer"\n                    type="checkbox"\n                    name="dialer"\n                    switch-active="{{ radioSwitch.isActive }}"\n                    switch-on-text="{{\'APPLICATION_YES\' | translate}}"\n                    switch-off-text="{{\'APPLICATION_NO\' | translate}}"\n                    switch-on-color="{{ radioSwitch.onColor }}"\n                    switch-off-color="{{ radioSwitch.offColor }}"\n                    switch-animate="{{ radioSwitch.animate }}"\n                    switch-size="{{ radioSwitch.size }}"\n                    switch-label="{{ radioSwitch.label }}"\n                    switch-icon="{{ radioSwitch.icon }}"\n                    switch-radio-off="{{ radioSwitch.radioOff }}"\n                    switch-label-width="{{ radioSwitch.labelWidth }}"\n                    switch-handle-width="{{ radioSwitch.handleWidth }}">\n                  </div>\n                  <div class="form-group col-md-4 col-xs-6">\n                    <label class="control-label">{{\'APPLICATION_JSCRIPTY\' | translate}}</label></br>\n                    <input\n                    bs-switch\n                    class="form-control"\n                    ng-model="item.jscripty"\n                    type="checkbox"\n                    name="jscripty"\n                    switch-active="{{ radioSwitch.isActive }}"\n                    switch-on-text="{{\'APPLICATION_YES\' | translate}}"\n                    switch-off-text="{{\'APPLICATION_NO\' | translate}}"\n                    switch-on-color="{{ radioSwitch.onColor }}"\n                    switch-off-color="{{ radioSwitch.offColor }}"\n                    switch-animate="{{ radioSwitch.animate }}"\n                    switch-size="{{ radioSwitch.size }}"\n                    switch-label="{{ radioSwitch.label }}"\n                    switch-icon="{{ radioSwitch.icon }}"\n                    switch-radio-off="{{ radioSwitch.radioOff }}"\n                    switch-label-width="{{ radioSwitch.labelWidth }}"\n                    switch-handle-width="{{ radioSwitch.handleWidth }}">\n                  </div>\n                  <div class="form-group col-md-4 col-xs-6">\n                    <label class="control-label">{{\'APPLICATION_CUSTOMIZATION\' | translate}}</label></br>\n                    <input\n                    bs-switch\n                    class="form-control"\n                    ng-model="item.custom"\n                    type="checkbox"\n                    name="custom"\n                    switch-active="{{ radioSwitch.isActive }}"\n                    switch-on-text="{{\'APPLICATION_YES\' | translate}}"\n                    switch-off-text="{{\'APPLICATION_NO\' | translate}}"\n                    switch-on-color="{{ radioSwitch.onColor }}"\n                    switch-off-color="{{ radioSwitch.offColor }}"\n                    switch-animate="{{ radioSwitch.animate }}"\n                    switch-size="{{ radioSwitch.size }}"\n                    switch-label="{{ radioSwitch.label }}"\n                    switch-icon="{{ radioSwitch.icon }}"\n                    switch-radio-off="{{ radioSwitch.radioOff }}"\n                    switch-label-width="{{ radioSwitch.labelWidth }}"\n                    switch-handle-width="{{ radioSwitch.handleWidth }}">\n                  </div>\n                  <div class="form-group col-md-4 col-xs-6">\n                    <label class="control-label">{{\'APPLICATION_UPDATE\' | translate}}</label></br>\n                    <input\n                    bs-switch\n                    class="form-control"\n                    ng-model="item.update"\n                    type="checkbox"\n                    name="update"\n                    switch-active="{{ radioSwitch.isActive }}"\n                    switch-on-text="{{\'APPLICATION_YES\' | translate}}"\n                    switch-off-text="{{\'APPLICATION_NO\' | translate}}"\n                    switch-on-color="{{ radioSwitch.onColor }}"\n                    switch-off-color="{{ radioSwitch.offColor }}"\n                    switch-animate="{{ radioSwitch.animate }}"\n                    switch-size="{{ radioSwitch.size }}"\n                    switch-label="{{ radioSwitch.label }}"\n                    switch-icon="{{ radioSwitch.icon }}"\n                    switch-radio-off="{{ radioSwitch.radioOff }}"\n                    switch-label-width="{{ radioSwitch.labelWidth }}"\n                    switch-handle-width="{{ radioSwitch.handleWidth }}">\n                  </div>\n                </div>\n\n                <input class="btn green-haze" type="submit" value="{{\'APPLICATION_SUBMIT\' | translate}} {{\'APPLICATION_REQUEST\' | translate}}"/>\n              </form>\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n    \x3c!-- END PROFILE CONTENT --\x3e\n  </div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/setting/network/view/externip/externip.create.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{title}}</h3>\n</div>\n<div class="modal-body" data-ng-init="initModal()">\n  <form name="form" novalidate>\n\n    \x3c!-- START ADDRESS --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.address.$touched || form.$submitted) && form.address.$invalid}">\n      <label class="control-label">{{\'APPLICATION_ADDRESS\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="address" placeholder="{{\'APPLICATION_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.value" required data-ng-pattern="/^(25[0-5]|2[0-4][0-9]|1?[0-9]{1,2})(.(25[0-5]|2[0-4][0-9]|1?[0-9]{1,2})){3}$/"/>\n      <span data-ng-show="(form.address.$touched || form.$submitted) && form.address.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n      <span data-ng-show="(form.address.$touched || form.$submitted) && form.address.$error.pattern" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END ADDRESS --\x3e\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="save()" ng-disabled="form.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/setting/network/view/externip/externip.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row">\n\t<div class="col-md-12">\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t<div class="portlet light bordered" data-ng-init="initView()">\n\t\t\t<div class="portlet-title">\n\t\t\t\t<div class="caption font-green-sharp">\n\t\t\t\t\t<i class="icon-globe font-green-sharp"></i>\n\t\t\t\t\t<span class="caption-subject">{{ \'APPLICATION_EXTERNIP\' | translate }}</a> </span>\n\t\t\t\t</div>\n\t\t\t\t<div class="actions">\n\t\t\t\t\t<div class="btn-group" data-ng-show="id.length">\n\t\t\t\t\t\t<a class="btn red" href="#" data-ng-click="deleteItems()">\n\t\t\t\t\t\t\t<i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="btn-group">\n\t\t\t\t\t\t<a class="btn green-jungle" href="#" data-toggle="dropdown" data-ng-click="createItem()">\n\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_EXTERNIP\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t<div ui-grid="gridOptions"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter ui-grid-draggable-rows class="ui-grid">\n\t\t\t\t\t<div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/setting/network/view/localnet/localnet.create.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{title}}</h3>\n</div>\n<div class="modal-body" data-ng-init="initModal()">\n  <form name="form" novalidate>\n\n    \x3c!-- START ADDRESS --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.address.$touched || form.$submitted) && form.address.$invalid}">\n      <label class="control-label">{{\'APPLICATION_ADDRESS\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="address" placeholder="{{\'APPLICATION_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.address" required data-ng-pattern="/^(25[0-5]|2[0-4][0-9]|1?[0-9]{1,2})(.(25[0-5]|2[0-4][0-9]|1?[0-9]{1,2})){3}$/"/>\n      <span data-ng-show="(form.address.$touched || form.$submitted) && form.address.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n      <span data-ng-show="(form.address.$touched || form.$submitted) && form.address.$error.pattern" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END ADDRESS --\x3e\n\n    \x3c!-- START MASK --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.mask.$touched || form.$submitted) && form.mask.$invalid}">\n      <label class="control-label">{{\'APPLICATION_MASK\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="mask" placeholder="{{\'APPLICATION_MASK\' | translate}}" class="form-control" data-ng-model="item.mask" required data-ng-pattern="/^(25[0-5]|2[0-4][0-9]|1?[0-9]{1,2})(.(25[0-5]|2[0-4][0-9]|1?[0-9]{1,2})){3}$/"/>\n      <span data-ng-show="(form.mask.$touched || form.$submitted) && form.mask.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n      <span data-ng-show="(form.mask.$touched || form.$submitted) && form.mask.$error.pattern" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END MASK --\x3e\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="save()" ng-disabled="form.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),
-a.put("app/sugarcrm/view/configuration/view/view.html",'<div class="row" data-ng-init="initView();getConfiguration();getCustomVariables();getFields();getModules();">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_CONFIGURATION\' | translate}}: {{configurationName}}</span>\n\t\t\t\t</div>\n\t\t\t\t<ul class="nav nav-tabs">\n\t\t\t\t\t<li class="active">\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_SUBJECT\' | translate}}</a>\n\t\t\t\t\t</li>\n          <li>\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_DESCRIPTION\' | translate}}</a>\n\t\t\t\t\t</li>\n          <li>\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_FIELDS\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_4" data-toggle="tab">{{\'APPLICATION_MAPPING\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t<div class="tab-content">\n\t\t\t\t\t\x3c!-- SUBJECT TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding active" id="tab_1_1">\n            <div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">All following fields will be join by blank space:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItem(\'subject\')"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t\x3c!-- <div id="subject-item-list" ng-scrollbars ng-scrollbars-config="config"> --\x3e\n\t            <div class="row" data-ng-repeat="subjectItem in subjectConfig">\n\t              <div class="col-md-3">\n\t                <ui-select ng-model="subjectItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(subjectItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                  <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n\t                    <div ng-bind-html="item.title | highlight: $select.search"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t              </div>\n\t              <div class="col-md-8" data-ng-if="subjectItem.type==\'string\'">\n\t                <div class="form-group">\n\t                  <input type="text" class="form-control" data-ng-model="subjectItem.content" data-ng-change="updateField(subjectItem)">\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-8" data-ng-if="subjectItem.type==\'variable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.variableName" data-ng-change="updateField(subjectItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                    <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n\t                      <div ng-bind-html="variable.title | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-8" data-ng-if="subjectItem.type==\'customVariable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.VariableId" data-ng-change="updateField(subjectItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t                    <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n\t                      <div ng-bind-html="variable.name | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-1">\n\t                <div class="form-group">\n\t                  <button class="btn btn-icon-only red" data-ng-click="removeItem(subjectItem)"><i class="fa fa-times"></i></button>\n\t                </div>\n\t              </div>\n\t            </div>\n\t\t\t\t\t\t\x3c!-- </div> --\x3e\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END SUBJECT TAB --\x3e\n          \x3c!-- DESCRIPTION TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding" id="tab_1_2">\n\t\t\t\t\t\t<div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">All following fields will be join by new line:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItem(\'description\')"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t\x3c!-- <div id="description-item-list" ng-scrollbars ng-scrollbars-config="config"> --\x3e\n\t\t\t\t\t\t\t<div class="row" data-ng-repeat="descriptionItem in descriptionConfig">\n\t              <div class="col-md-2">\n\t                <ui-select ng-model="descriptionItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                  <ui-select-choices repeat="item.type as item in descFieldType | filter: $select.search">\n\t                    <div ng-bind-html="item.title | highlight: $select.search"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t              </div>\n\t              <div class="col-md-9" data-ng-if="descriptionItem.type==\'string\'">\n\t                <div class="form-group">\n\t                  <input type="text" class="form-control" data-ng-model="descriptionItem.content" data-ng-change="updateField(descriptionItem)">\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\'">\n\t\t\t\t\t\t\t\t\t<input type="text" class="form-control" placeholder="Key" data-ng-model="descriptionItem.key" data-ng-change="updateField(descriptionItem)">\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\'">\n\t\t\t\t\t\t\t\t\t<ui-select ng-model="descriptionItem.keyType" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                  <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n\t                    <div ng-bind-html="item.title | highlight: $select.search"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'string\'">\n\t\t\t\t\t\t\t\t\t<input type="text" class="form-control" placeholder="Value" data-ng-model="descriptionItem.keyContent" data-ng-change="updateField(descriptionItem)">\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'variable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.variableName" data-ng-change="updateField(descriptionItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                    <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n\t                      <div ng-bind-html="variable.title | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'customVariable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.VariableId" data-ng-change="updateField(descriptionItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t                    <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n\t                      <div ng-bind-html="variable.name | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-1">\n\t                <div class="form-group">\n\t                  <button class="btn btn-icon-only red" data-ng-click="removeItem(descriptionItem)"><i class="fa fa-times"></i></button>\n\t                </div>\n\t              </div>\n\t            </div>\n\t\t\t\t\t\t\x3c!-- </div> --\x3e\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END DESCRIPTION TAB --\x3e\n          \x3c!-- FIELDS TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding" id="tab_1_3">\n\t\t\t\t\t\t<div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">Add how to fill the fields present in your account:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItem(\'field\')"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t\x3c!-- <div id="field-item-list" ng-scrollbars ng-scrollbars-config="config"> --\x3e\n\t            <div class="row" data-ng-repeat="fieldItem in fieldConfig">\n\t              <div class="col-md-3">\n\t                <ui-select ng-model="fieldItem.idField" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeFieldType(fieldItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.label}}</ui-select-match>\n\t                  <ui-select-choices repeat="item.name as item in accountFields | filter: $select.search">\n\t                    <div ng-bind-html="item.label | highlight: $select.search"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t              </div>\n\t              <div class="col-md-8" data-ng-if="getSystemFieldOptions(fieldItem.idField)">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select ng-model="fieldItem.content" theme="bootstrap" ng-disabled="disabled" data-ng-change="updateField(fieldItem)">\n\t\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t\t                  <ui-select-choices repeat="item.value as item in getSystemFieldOptions(fieldItem.idField) | filter: $select.search">\n\t\t                    <div ng-bind-html="item.name | highlight: $select.search"></div>\n\t\t                  </ui-select-choices>\n\t\t                </ui-select>\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField)">\n\t\t\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select ng-model="fieldItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(fieldItem)">\n\t\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t\t                  <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n\t\t                    <div ng-bind-html="item.title | highlight: $select.search | ucfirst"></div>\n\t\t                  </ui-select-choices>\n\t\t                </ui-select>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'string\'">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<input type="text" class="form-control" data-ng-model="fieldItem.content" data-ng-change="updateField(fieldItem)">\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'variable\'">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.variableName" data-ng-change="updateField(fieldItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                    <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n\t                      <div ng-bind-html="variable.title | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'customVariable\'">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.VariableId" data-ng-change="updateField(fieldItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t                    <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n\t                      <div ng-bind-html="variable.name | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-1">\n\t                <div class="form-group">\n\t                  <button class="btn btn-icon-only red" data-ng-click="removeItem(fieldItem)"><i class="fa fa-times"></i></button>\n\t                </div>\n\t              </div>\n\t            </div>\n\t\t\t\t\t\t\x3c!-- </div> --\x3e\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END FIELDS TAB --\x3e\n\t\t\t\t\t\x3c!-- TAG TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding" id="tab_1_4">\n\n\t\t\t\t\t\t\x3c!-- BEGIN UI-GRID SPINNER --\x3e\n\t\t\t\t\t\t<span us-spinner spinner-key="spinner-grid" spinner-start-active="false"></span>\n\t\t\t\t\t\t\x3c!-- END UI-GRID SPINNER --\x3e\n\n\t\t\t\t\t\t<div class="row">\n              <div class="col-md-12">\n                <span class="caption-subject">Select the mapping procedure that the current configuration will use:</span>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t<form name="forms.mapping" data-ng-submit="updateMapping()" novalidate>\n\n\t\t\t\t\t\t\t\x3c!-- DEFAULT MAPPING --\x3e\n\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_DEFAULT_MAPPING\' | translate}}</label></br>\n\t\t\t\t\t      <input\n\t\t\t\t\t          bs-switch\n\t\t\t\t\t          class="form-control"\n\t\t\t\t\t          ng-model="mapping.defaultMapping"\n\t\t\t\t\t          type="checkbox",\n\t\t\t\t\t\t\t\t\t\tname="defaultMapping"\n\t\t\t\t\t          switch-active="{{ defaultMappingSwitch.isActive }}"\n\t\t\t\t\t          switch-on-text="{{ defaultMappingSwitch.onText }}"\n\t\t\t\t\t          switch-off-text="{{ defaultMappingSwitch.offText }}"\n\t\t\t\t\t          switch-on-color="{{ defaultMappingSwitch.onColor }}"\n\t\t\t\t\t          switch-off-color="{{ defaultMappingSwitch.offColor }}"\n\t\t\t\t\t          switch-animate="{{ defaultMappingSwitch.animate }}"\n\t\t\t\t\t          switch-size="{{ defaultMappingSwitch.size }}"\n\t\t\t\t\t          switch-label="{{ defaultMappingSwitch.label }}"\n\t\t\t\t\t          switch-icon="{{ defaultMappingSwitch.icon }}"\n\t\t\t\t\t          switch-radio-off="{{ defaultMappingSwitch.radioOff }}"\n\t\t\t\t\t          switch-label-width="{{ defaultMappingSwitch.labelWidth }}"\n\t\t\t\t\t          switch-handle-width="{{ defaultMappingSwitch.handleWidth }}">\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END DEFAULT MAPPING --\x3e\n\n\t\t\t\t\t\t\t<div class="row" data-ng-if="!mapping.defaultMapping">\n\t\t\t\t\t\t\t\t<div class="col-md-6">\n\t\t\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': (forms.mapping.mappingModule.$touched || forms.mapping.$submitted) && forms.mapping.mappingModule.$invalid}">\n\t\t\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_MAPPING_MODULE\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t\t\t<ui-select ng-model="mapping.mappingModule" theme="bootstrap" name="mappingModule" required ng-disabled="disabled" data-ng-change="updateMappingModule()">\n\t\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.label}}</ui-select-match>\n\t\t                  <ui-select-choices repeat="item.key as item in accountModules | filter: $select.search">\n\t\t                    <div ng-bind-html="item.label | highlight: $select.search"></div>\n\t\t                  </ui-select-choices>\n\t\t                </ui-select>\n\t\t\t\t\t\t\t\t\t\t<span data-ng-show="(forms.mapping.mappingModule.$touched || forms.mapping.$submitted) && forms.mapping.mappingModule.$invalid && forms.mapping.mappingModule.$error.required" class="help-block help-block-error">\n\t\t\t\t\t\t\t        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t      </span>\n\t                </div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t\t<div class="row" data-ng-if="!mapping.defaultMapping">\n\t\t\t\t\t\t\t\t<div class="col-md-12">\n\t\t\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': (forms.mapping.mappingFields.$touched || forms.mapping.$submitted) && forms.mapping.mappingFields.$invalid}">\n\t\t\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_MAPPING_FIELDS\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t\t\t<ui-select multiple data-ng-model="mapping.mappingFields" theme="bootstrap" name="mappingFields" ng-disabled="disabled" required>\n\t\t\t\t\t\t\t\t\t\t\t<ui-select-match placeholder="{{ \'APPLICATION_MAPPING_FIELDS\' | translate }}">{{$item.label}}</ui-select-match>\n\t\t\t\t\t\t\t\t\t\t\t<ui-select-choices repeat="moduleField.name as moduleField in moduleFields | filter: $select.search">\n\t\t\t\t\t\t\t\t\t\t\t\t{{moduleField.label}}\n\t\t\t\t\t\t\t\t\t\t\t</ui-select-choices>\n\t\t\t\t\t\t\t\t\t\t</ui-select>\n\t\t\t\t\t\t\t\t\t\t<span data-ng-show="(forms.mapping.mappingFields.$touched || forms.mapping.$submitted) && forms.mapping.mappingFields.$invalid && forms.mapping.mappingFields.$error.required" class="help-block help-block-error">\n\t\t\t\t\t\t\t        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t      </span>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t\t<input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}" data-ng-disabled="forms.mapping.$invalid"/>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END TAG TAB --\x3e\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/sugarcrm/view/view.account.html",'<div class="row">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_ACCOUNT\' | translate}}</span>\n\t\t\t\t</div>\n\t\t\t\t<ul class="nav nav-tabs">\n\t\t\t\t\t<li class="active">\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t<div class="tab-content">\n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t<div class="tab-pane active" id="tab_1_1">\n\t\t\t\t\t\t<form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItem()" novalidate>\n              \x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.name.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.name" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n\t\t\t\t\t\t\t\t<input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n              \x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.username" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n              \x3c!-- START REMOTE ADDRESS --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_REMOTE_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="url" name="remoteUri" placeholder="{{\'APPLICATION_REMOTE_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.remoteUri" required />\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.password.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="account.password" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.apiKey.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SERVER URL --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.serverUrl.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}}</label>\n\t\t\t\t\t\t\t\t<input type="url" name="serverUrl" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.serverUrl"/>\n\t\t\t\t\t\t\t\t<span class="help-block">\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_SERVER_URL\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t<span class="help-block help-block-info">\n\t\t\t\t\t\t\t\t\t{{\'MESSAGE_MOTION_ADDRESS_FORMAT\' | translate}}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END SERVER URL --\x3e\n\n\t\t\t\t\t\t\t<input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/sugarcrm/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row" data-ng-init="initView()">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n          <i class="icon-handbag"></i>\n          <a href="/sugarcrm/list">{{ \'APPLICATION_SUGARCRM\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<a href="#">{{account.name}}</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t<div class="profile-sidebar">\n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t<div class="portlet light profile-sidebar-portlet">\n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t<div class="profile-image">\n\t\t\t\t\t<img src="assets/images/media/sugarcrm.png" class="img-responsive">\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t<div class="profile-usertitle">\n\t\t\t\t\t<div class="profile-usertitle-name">\n\t\t\t\t\t\t{{account.name}}\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="profile-usertitle-job">\n\t\t\t\t\t\t{{account.remoteUri}}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t<div class="profile-usermenu">\n\t\t\t\t\t<ul class="nav">\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.sugarcrm.view.account\')}">\n\t\t\t\t\t\t\t<a ng-href="/sugarcrm/view/{{account.id}}/account">\n\t\t\t\t\t\t\t<i class="icon-user"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_ACCOUNT\' | translate }} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.includes(\'main.sugarcrm.view.configurations\') || $state.is(\'main.sugarcrm.view.configuration\')}">\n\t\t\t\t\t\t\t<a ng-href="/sugarcrm/view/{{account.id}}/configurations/list">\n\t\t\t\t\t\t\t<i class="icon-settings"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_CONFIGURATIONS\' | translate }} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t</div>\n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t</div>\n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t<div ui-view class="profile-content">\n\t\t</div>\n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),
-a.put("app/tools/interval/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-wrench"></i>\n\t\t\t\t\t<a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-clock"></i>\n\t\t\t\t\t<a href="#">{{ \'APPLICATION_INTERVALS\' | translate }}</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t<div class="portlet light bordered" data-ng-init="initView()">\n\t\t\t<div class="portlet-title">\n\t\t\t\t<div class="caption font-green-sharp">\n\t\t\t\t\t<i class="icon-docs font-green-sharp"></i>\n\t\t\t\t\t<span class="caption-subject">{{ \'APPLICATION_INTERVALS\' | translate }}</a> </span>\n\t\t\t\t</div>\n\t\t\t\t<div class="actions">\n\t\t\t\t\t<div class="btn-group" data-ng-show="id.length">\n\t\t\t\t\t\t<a class="btn red" href="#" data-ng-click="deleteItems()">\n\t\t\t\t\t\t\t<i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="btn-group">\n\t\t\t\t\t\t<button class="btn green-jungle " ng-click="createItem()">\n\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_INTERVAL\' | translate }}\n\t\t\t\t\t\t</button>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t<div ui-grid="gridOptions"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter ui-grid-draggable-rows class="ui-grid">\n\t\t\t\t\t<div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/tools/interval/view/subinterval/list/list.html",'<div ui-view class="profile-content">\n\t<div class="row">\n\t\t<div class="col-md-12">\n\t\t\t<div class="portlet light" data-ng-init="initView()">\n\t\t\t\t<div class="portlet-title  tabbable-line">\n\t\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_SUBINTERVALS\' | translate}}</span>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="actions">\n\t\t\t\t\t\t<div class="btn-group" data-ng-show="id.length">\n\t\t\t\t\t\t\t<a class="btn red" href="#" data-ng-click="deleteItems()">\n\t\t\t\t\t\t\t\t<i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="btn-group">\n\t\t\t\t\t\t\t<a class="btn green-jungle" href="/tools/intervals/view/{{$scope.stateParams.id}}/subintervals/view/">\n\t\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_SUBINTERVAL\' | translate }}\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class="portlet-body">\n\t\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t\t<div ui-grid="gridOptions"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter ui-grid-draggable-rows class="ui-grid">\n\t\t\t\t\t\t<div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/tools/interval/view/subinterval/view/view.html",'<div class="row" data-ng-init="initSubInterval()">\n\t<div class="col-md-12">\n\t\t\x3c!-- BEGIN  PORTLET--\x3e\n\t\t<div class="portlet light bordered">\n\t\t\t<div class="portlet-title">\n\t\t\t\t<div class="caption font-green-sharp">\n\t\t\t\t\t<i class="icon-notebook font-green-sharp"></i>\n          <span class="caption-subject">{{ \'APPLICATION_SUBINTERVAL\' | translate }} WIZARD</a> </span>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t<wizard on-finish="addOrUpdateSubInterval()">\n          <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="exitValidation(forms.subinterval.name.$valid)">\n            <form name="forms.subinterval" novalidate>\n\n              \x3c!-- START NAME --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.subinterval.name.$touched || forms.subinterval.$submitted) && forms.subinterval.name.$invalid}">\n                <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="subinterval.name" required/>\n                <span data-ng-show="(forms.subinterval.name.$touched || forms.subinterval.$submitted) && forms.subinterval.name.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n              <div class="form-group">\n                <label class="control-label">{{ \'APPLICATION_TIME\' | translate }}</label>\n                <div class="input-group input-large">\n\t\t\t\t\t\t\t\t\t<fieldset class="pull-left" ng-disabled="splittedInterval.alwaysTime"><uib-timepicker name="t_from" data-ng-model="splittedInterval.t_from" show-meridian="false" show-spinners="false"></uib-timepicker></fieldset>\n                  <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n\t\t\t\t\t\t\t\t\t<fieldset ng-disabled="splittedInterval.alwaysTime"><uib-timepicker  name="t_to" data-ng-model="splittedInterval.t_to" show-meridian="false" show-spinners="false"></uib-timepicker></fieldset>\n\t\t\t\t\t\t\t\t\t<label class="control-label pointer-cursor margin-top20"><input\n\t\t\t\t\t\t\t\t\tbs-switch\n\t\t\t\t\t\t\t\t\tclass="form-control"\n\t\t\t\t\t\t\t\t\tng-model="splittedInterval.alwaysTime"\n\t\t\t\t\t\t\t\t\ttype="checkbox"\n\t\t\t\t\t\t\t\t\tswitch-active="{{ switch.isActive }}"\n\t\t\t\t\t\t\t\t\tswitch-on-text="{{\'APPLICATION_YES\' | translate}}"\n\t\t\t\t\t\t\t\t\tswitch-off-text="{{\'APPLICATION_NO\' | translate}}"\n\t\t\t\t\t\t\t\t\tswitch-on-color="{{ switch.onColor }}"\n\t\t\t\t\t\t\t\t\tswitch-off-color="{{ switch.offColor }}"\n\t\t\t\t\t\t\t\t\tswitch-animate="{{ switch.animate }}"\n\t\t\t\t\t\t\t\t\tswitch-size="{{ switch.size }}"\n\t\t\t\t\t\t\t\t\tswitch-label="{{ switch.label }}"\n\t\t\t\t\t\t\t\t\tswitch-icon="{{ switch.icon }}"\n\t\t\t\t\t\t\t\t\tswitch-radio-off="{{ switch.radioOff }}"\n\t\t\t\t\t\t\t\t\tswitch-label-width="{{ switch.labelWidth }}"\n\t\t\t\t\t\t\t\t\tswitch-handle-width="{{ switch.handleWidth }}"> {{\'APPLICATION_ALWAYS\' | translate}}</label>\n                </div>\n              </div>\n              \x3c!-- END TIME --\x3e\n\n              \x3c!-- START WEEKDAY --\x3e\n              <div class="form-group">\n                <label class="control-label">{{ \'APPLICATION_WEEKDAY\' | translate }}</label>\n                <div class="input-group input-large">\n                  <ui-select data-ng-model="splittedInterval.wd_from" theme="bootstrap" name="wd_from">\n                    <ui-select-match placeholder="">{{$select.selected.name | translate}}</ui-select-match>\n                    <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n                      {{weekDay.name | translate}}\n                    </ui-select-choices>\n                  </ui-select>\n                  <span class="input-group-addon">to</span>\n                  <ui-select data-ng-model="splittedInterval.wd_to" theme="bootstrap" name="wd_to">\n                    <ui-select-match placeholder="">{{$select.selected.name | translate}}</ui-select-match>\n                    <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n                      {{weekDay.name | translate}}\n                    </ui-select-choices>\n                  </ui-select>\n                </div>\n              </div>\n              \x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t<label class="control-label">{{ \'APPLICATION_MONTHDAY\' | translate }}</label>\n\t\t\t\t\t\t\t\t<div class="input-group input-large">\n\t\t\t\t\t\t\t\t\t<ui-select data-ng-model="splittedInterval.md_from" theme="bootstrap" name="md_from">\n\t\t\t\t\t\t\t\t\t\t<ui-select-match>{{$select.selected===\'always\' ? ($select.selected | capitalize) : $select.selected}}</ui-select-match>\n\t\t\t\t\t\t\t\t\t\t<ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search" ui-disable-choice="splittedInterval.md_to && splittedInterval.md_to!==\'always\' && monthDay>splittedInterval.md_to && monthDay!==\'always\'">\n\t\t\t\t\t\t\t\t\t\t\t{{monthDay===\'always\' ? (monthDay | capitalize) : monthDay}}\n\t\t\t\t\t\t\t\t\t\t</ui-select-choices>\n\t\t\t\t\t\t\t\t\t</ui-select>\n\t\t\t\t\t\t\t\t\t<span class="input-group-addon">to</span>\n\t\t\t\t\t\t\t\t\t<ui-select data-ng-model="splittedInterval.md_to" theme="bootstrap" name="md_to">\n\t\t\t\t\t\t\t\t\t\t<ui-select-match>{{$select.selected===\'always\' ? ($select.selected | capitalize) : $select.selected}}</ui-select-match>\n\t\t\t\t\t\t\t\t\t\t<ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search" ui-disable-choice="splittedInterval.md_from && splittedInterval.md_from!==\'always\' && monthDay<splittedInterval.md_from && monthDay!==\'always\'">\n\t\t\t\t\t\t\t\t\t\t\t{{monthDay===\'always\' ? (monthDay | capitalize) : monthDay}}\n\t\t\t\t\t\t\t\t\t\t</ui-select-choices>\n\t\t\t\t\t\t\t\t\t</ui-select>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\n              \x3c!-- START MONTH --\x3e\n              <div class="form-group">\n                <label class="control-label">{{ \'APPLICATION_MONTH\' | translate }}</label>\n                <div class="input-group input-large">\n                  <ui-select data-ng-model="splittedInterval.m_from" theme="bootstrap" name="m_from">\n                    <ui-select-match placeholder="">{{$select.selected.name | translate}}</ui-select-match>\n                    <ui-select-choices repeat="month.value as month in $interval.months | filter: $select.search">\n                      {{month.name | translate}}\n                    </ui-select-choices>\n                  </ui-select>\n                  <span class="input-group-addon">to</span>\n                  <ui-select data-ng-model="splittedInterval.m_to" theme="bootstrap" name="m_to">\n                    <ui-select-match placeholder="">{{$select.selected.name | translate}}</ui-select-match>\n                    <ui-select-choices repeat="month.value as month in $interval.months | filter: $select.search">\n                      {{month.name | translate}}\n                    </ui-select-choices>\n                  </ui-select>\n                </div>\n              </div>\n              \x3c!-- END MONTH --\x3e\n\n\n\n\t\t\t\t\t\t\t<button class="btn green-haze" type="submit" ng-click="next()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n            </form>\n          </wz-step>\n\n\n\t\t\t\t\t\t<wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n\t\t\t\t\t\t\t<p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n\t\t\t\t\t\t\t<button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n\t\t\t\t\t\t\t<input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n\t\t\t\t\t\t</wz-step>\n\t\t\t\t</wizard>\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/tools/interval/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row" data-ng-init="getInterval()">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-wrench"></i>\n\t\t\t\t\t<a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-clock"></i>\n\t\t\t\t\t<a href="/tools/intervals/list">{{ \'APPLICATION_INTERVALS\' | translate }}</a>\n\t\t\t\t\t<i data-ng-show="interval" class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li data-ng-show="interval">\n\t\t\t\t\t<a href="#">{{interval.name}}</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t<div class="profile-sidebar">\n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t<div class="portlet light profile-sidebar-portlet">\n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t<div class="profile-image">\n\t\t\t\t\t<img data-ng-src="assets/images/media/interval.png" class="img-responsive">\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t<div class="profile-usertitle">\n\t\t\t\t\t<div class="profile-usertitle-name">\n\t\t\t\t\t\t{{interval.name}}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t<div class="profile-usermenu">\n\t\t\t\t\t<ul class="nav">\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.tools.intervals.view.settings\')}">\n\t\t\t\t\t\t\t<a ng-href="/tools/intervals/view/{{interval.id}}/settings">\n\t\t\t\t\t\t\t<i class="icon-settings"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_SETTINGS\' | translate}} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.tools.intervals.view.subintervals.list\') || $state.is(\'main.tools.intervals.view.subintervals.view\')}">\n\t\t\t\t\t\t\t<a ng-href="/tools/intervals/view/{{interval.id}}/subintervals/list">\n\t\t\t\t\t\t\t<i class="icon-list"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_SUBINTERVALS\' | translate}} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t</div>\n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t</div>\n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t<div ui-view class="profile-content">\n\t\t</div>\n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/tools/interval/view/view.settings.html",'<div class="row">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_INTERVAL\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n\t\t\t\t</div>\n\t\t\t\t<ul class="nav nav-tabs">\n\t\t\t\t\t<li class="active">\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\n\t\t\t<div class="portlet-body">\n\t\t\t\t<div class="tab-content">\n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t<div class="tab-pane active" id="tab_1_1">\n\t\t\t\t\t\t<form name="forms.general" data-ng-submit="forms.general.$valid && updateInterval()" novalidate>\n\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="interval.name" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n\t\t\t\t\t\t\t\t<textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="interval.description"></textarea>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\t\t<input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END ADVANCED TAB --\x3e\n\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/tools/interval/view/view.subinterval.html",'\n<div class="row" data-ng-init="initSubInterval(true)">\n\t<div class="col-md-12">\n\t\t\x3c!-- BEGIN  PORTLET--\x3e\n\t\t<div class="portlet light bordered">\n\t\t\t<div class="portlet-title">\n\t\t\t\t<div class="caption font-green-sharp">\n\t\t\t\t\t<i class="icon-notebook font-green-sharp"></i>\n\t\t\t\t\t<span class="caption-subject">{{ \'APPLICATION_NEW_SUBINTERVAL\' | translate }} WIZARD</a> </span>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t<wizard on-finish="addSubInterval()">\n          <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="exitValidation(forms.subinterval.name.$valid)">\n            <form name="forms.subinterval" novalidate>\n\n              \x3c!-- START NAME --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.subinterval.name.$touched || forms.subinterval.$submitted) && forms.subinterval.name.$invalid}">\n                <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="subinterval.name" required/>\n                <span data-ng-show="(forms.subinterval.name.$touched || forms.subinterval.$submitted) && forms.subinterval.name.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n              <div class="form-group">\n                <label class="control-label">{{ \'APPLICATION_TIME\' | translate }}</label>\n                <div class="input-group input-large">\n\t\t\t\t\t\t\t\t\t<fieldset class="pull-left" ng-disabled="splittedInterval.alwaysTime"><uib-timepicker name="t_from" data-ng-model="splittedInterval.t_from" show-meridian="false" show-spinners="false"></uib-timepicker></fieldset>\n                  <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n\t\t\t\t\t\t\t\t\t<fieldset ng-disabled="splittedInterval.alwaysTime"><uib-timepicker  name="t_to" data-ng-model="splittedInterval.t_to" show-meridian="false" show-spinners="false"></uib-timepicker></fieldset>\n\t\t\t\t\t\t\t\t\t<label class="control-label pointer-cursor margin-top20"><input\n\t\t\t\t\t\t\t\t\tbs-switch\n\t\t\t\t\t\t\t\t\tclass="form-control"\n\t\t\t\t\t\t\t\t\tng-model="splittedInterval.alwaysTime"\n\t\t\t\t\t\t\t\t\ttype="checkbox"\n\t\t\t\t\t\t\t\t\tswitch-active="{{ switch.isActive }}"\n\t\t\t\t\t\t\t\t\tswitch-on-text="{{\'APPLICATION_YES\' | translate}}"\n\t\t\t\t\t\t\t\t\tswitch-off-text="{{\'APPLICATION_NO\' | translate}}"\n\t\t\t\t\t\t\t\t\tswitch-on-color="{{ switch.onColor }}"\n\t\t\t\t\t\t\t\t\tswitch-off-color="{{ switch.offColor }}"\n\t\t\t\t\t\t\t\t\tswitch-animate="{{ switch.animate }}"\n\t\t\t\t\t\t\t\t\tswitch-size="{{ switch.size }}"\n\t\t\t\t\t\t\t\t\tswitch-label="{{ switch.label }}"\n\t\t\t\t\t\t\t\t\tswitch-icon="{{ switch.icon }}"\n\t\t\t\t\t\t\t\t\tswitch-radio-off="{{ switch.radioOff }}"\n\t\t\t\t\t\t\t\t\tswitch-label-width="{{ switch.labelWidth }}"\n\t\t\t\t\t\t\t\t\tswitch-handle-width="{{ switch.handleWidth }}"> {{\'APPLICATION_ALWAYS\' | translate}}</label>\n                </div>\n              </div>\n              \x3c!-- END TIME --\x3e\n\n              \x3c!-- START WEEKDAY --\x3e\n              <div class="form-group">\n                <label class="control-label">{{ \'APPLICATION_WEEKDAY\' | translate }}</label>\n                <div class="input-group input-large">\n                  <ui-select data-ng-model="splittedInterval.wd_from" theme="bootstrap" name="wd_from">\n                    <ui-select-match placeholder="">{{$select.selected.name | translate}}</ui-select-match>\n                    <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n                      {{weekDay.name | translate}}\n                    </ui-select-choices>\n                  </ui-select>\n                  <span class="input-group-addon">to</span>\n                  <ui-select data-ng-model="splittedInterval.wd_to" theme="bootstrap" name="wd_to">\n                    <ui-select-match placeholder="">{{$select.selected.name | translate}}</ui-select-match>\n                    <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n                      {{weekDay.name | translate}}\n                    </ui-select-choices>\n                  </ui-select>\n                </div>\n              </div>\n              \x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t<label class="control-label">{{ \'APPLICATION_MONTHDAY\' | translate }}</label>\n\t\t\t\t\t\t\t\t<div class="input-group input-large">\n\t\t\t\t\t\t\t\t\t<ui-select data-ng-model="splittedInterval.md_from" theme="bootstrap" name="md_from">\n\t\t\t\t\t\t\t\t\t\t<ui-select-match>{{$select.selected===\'always\' ? ($select.selected | capitalize) : $select.selected}}</ui-select-match>\n\t\t\t\t\t\t\t\t\t\t<ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search" ui-disable-choice="splittedInterval.md_to && splittedInterval.md_to!==\'always\' && monthDay>splittedInterval.md_to && monthDay!==\'always\'">\n\t\t\t\t\t\t\t\t\t\t\t{{monthDay===\'always\' ? (monthDay | capitalize) : monthDay}}\n\t\t\t\t\t\t\t\t\t\t</ui-select-choices>\n\t\t\t\t\t\t\t\t\t</ui-select>\n\t\t\t\t\t\t\t\t\t<span class="input-group-addon">to</span>\n\t\t\t\t\t\t\t\t\t<ui-select data-ng-model="splittedInterval.md_to" theme="bootstrap" name="md_to">\n\t\t\t\t\t\t\t\t\t\t<ui-select-match>{{$select.selected===\'always\' ? ($select.selected | capitalize) : $select.selected}}</ui-select-match>\n\t\t\t\t\t\t\t\t\t\t<ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search" ui-disable-choice="splittedInterval.md_from && splittedInterval.md_from!==\'always\' && monthDay<splittedInterval.md_from && monthDay!==\'always\'">\n\t\t\t\t\t\t\t\t\t\t\t{{monthDay===\'always\' ? (monthDay | capitalize) : monthDay}}\n\t\t\t\t\t\t\t\t\t\t</ui-select-choices>\n\t\t\t\t\t\t\t\t\t</ui-select>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\n              \x3c!-- START MONTH --\x3e\n              <div class="form-group">\n                <label class="control-label">{{ \'APPLICATION_MONTH\' | translate }}</label>\n                <div class="input-group input-large">\n                  <ui-select data-ng-model="splittedInterval.m_from" theme="bootstrap" name="m_from">\n                    <ui-select-match placeholder="">{{$select.selected.name | translate}}</ui-select-match>\n                    <ui-select-choices repeat="month.value as month in $interval.months | filter: $select.search">\n                      {{month.name | translate}}\n                    </ui-select-choices>\n                  </ui-select>\n                  <span class="input-group-addon">to</span>\n                  <ui-select data-ng-model="splittedInterval.m_to" theme="bootstrap" name="m_to">\n                    <ui-select-match placeholder="">{{$select.selected.name | translate}}</ui-select-match>\n                    <ui-select-choices repeat="month.value as month in $interval.months | filter: $select.search">\n                      {{month.name | translate}}\n                    </ui-select-choices>\n                  </ui-select>\n                </div>\n              </div>\n              \x3c!-- END MONTH --\x3e\n\n\n\n\t\t\t\t\t\t\t<button class="btn green-haze" type="submit" ng-click="next()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n            </form>\n          </wz-step>\n\n\n\t\t\t\t\t\t<wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n\t\t\t\t\t\t\t<p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n\t\t\t\t\t\t\t<button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n\t\t\t\t\t\t\t<input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n\t\t\t\t\t\t</wz-step>\n\t\t\t\t</wizard>\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),
-a.put("components/header/header.html",'\x3c!-- BEGIN HEADER INNER --\x3e\n<div class="page-header-inner" data-ng-init="initHeader()">\n  \x3c!-- BEGIN LOGO --\x3e\n  <div class="page-logo">\n    <a href="/">\n      <img ng-src="api/settings/logo/main" alt="logo" class="logo-default custom-logo" onError="this.onerror=null"/>\n    </a>\n    <div class="menu-toggler sidebar-toggler" data-ng-click="toggleSidebar()"></div>\n  </div>\n\n  \x3c!-- END LOGO --\x3e\n  \x3c!-- BEGIN HEADER SEARCH BOX --\x3e\n  \x3c!-- DOC: Apply "search-form-expanded" right after the "search-form" class to have half expanded search box --\x3e\n  <form ng-repeat="call in activeCalls | limitTo:2" class="search-form search-form-expanded">\n    <div class="input-group">\n      <input type="text" class="form-control" value="{{call.calleridnum}}" readonly>\n      <span class="input-group-btn">\n        <a href="javascript:;" class="btn submit inactive-link"><i class="icon-earphones-alt"></i></a>\n      </span>\n    </div>\n  </form>\n  \x3c!-- END HEADER SEARCH BOX --\x3e\n  \x3c!-- BEGIN RESPONSIVE MENU TOGGLER --\x3e\n  <a href="javascript:;" class="menu-toggler responsive-toggler" data-toggle="collapse" data-target=".navbar-collapse"></a>\n  \x3c!-- END RESPONSIVE MENU TOGGLER --\x3e\n  \x3c!-- BEGIN TOP NAVIGATION MENU --\x3e\n  <div class="top-menu">\n    <ul class="nav navbar-nav pull-right">\n      \x3c!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte --\x3e\n\n      \x3c!-- BEGIN USER LOGIN DROPDOWN --\x3e\n      \x3c!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte --\x3e\n      <li class="dropdown dropdown-user">\n        <a href="#" class="dropdown-toggle" dropdown-menu-hover data-toggle="dropdown" data-close-others="true">\n          <img class="img-circle" data-ng-src="api/users/avatar/{{getCurrentUser().userpic || \'unknown_avatar\'}}" alt="...">\n          <span class="username username-hide-on-mobile">\n            {{ getCurrentUser().fullname }}\n          </span>\n          <i class="fa fa-angle-down"></i>\n        </a>\n        <ul class="dropdown-menu dropdown-menu-default">\n          <li>\n            <a ng-href=" {{getCurrentUser().role === \'agent\' ? \'/staff/agents/view/\'+getCurrentUser().id+\'/account\' : \'/staff/users/view/\'+getCurrentUser().id+\'/account\'}}">\n              <i class="icon-key"></i>{{\'APPLICATION_CHANGE_PASSWORD\' | translate}}\n            </a>\n          </li>\n          <li data-ng-click="logout()">\n            <a href="#">\n              <i class="icon-logout"></i> Log Out\n            </a>\n          </li>\n        </ul>\n      </li>\n      \x3c!-- END USER LOGIN DROPDOWN --\x3e\n      \x3c!-- BEGIN QUICK SIDEBAR TOGGLER --\x3e\n      \x3c!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte --\x3e\n      \x3c!-- <li class="dropdown dropdown-quick-sidebar-toggler" data-ng-click="toggleQuickSidebar()">\n      <a href="#" class="dropdown-toggle">\n      <i class="icon-logout"></i>\n    </a>\n  </li> --\x3e\n  \x3c!-- END QUICK SIDEBAR TOGGLER --\x3e\n</ul>\n<ul class="nav navbar-nav pull-right" data-ng-if="getCurrentUser().role == \'admin\'">\n  <li class="dropdown dropdown-user">\n    <a href="/setting/license/view" class="dropdown-toggle" dropdown-menu-hover data-toggle="dropdown" data-close-others="true">\n      <i class="icon-info"></i> <span class="username username-hide-on-mobile right-margin-10">{{\'APPLICATION_LICENSE_STATUS\' | translate}}</span>\n    </a>\n  </li>\n</ul>\n<ul class="nav navbar-nav pull-right">\n  \x3c!-- BEGIN LANGUAGE BAR --\x3e\n  <li class="dropdown dropdown-language">\n    <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n      <img ng-src="assets/images/flags/{{ language }}.png">\n      <i class="fa fa-angle-down"></i>\n    </a>\n    <ul class="dropdown-menu dropdown-menu-default scrollable-menu">\n      <li>\n        <a href="#" ng-click="changeLanguage(\'ar\')">\n          <img alt="" src="assets/images/flags/ar.png"> {{\'APPLICATION_ARABIC\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'da\')">\n          <img alt="" src="assets/images/flags/da.png"> {{\'APPLICATION_DANISH\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'de\')">\n          <img alt="" src="assets/images/flags/de.png"> {{\'APPLICATION_GERMAN\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'en_EN\')">\n          <img alt="" src="assets/images/flags/en_EN.png"> {{\'APPLICATION_ENGLISH\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'es\')">\n          <img alt="" src="assets/images/flags/es.png"> {{\'APPLICATION_SPANISH\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'fi\')">\n          <img alt="" src="assets/images/flags/fi.png"> {{\'APPLICATION_FINNISH\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'fr\')">\n          <img alt="" src="assets/images/flags/fr.png"> {{\'APPLICATION_FRENCH\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'hi\')">\n          <img alt="" src="assets/images/flags/hi.png"> {{\'APPLICATION_HINDI\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'it\')">\n          <img alt="" src="assets/images/flags/it.png"> {{\'APPLICATION_ITALIAN\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'ja\')">\n          <img alt="" src="assets/images/flags/ja.png"> {{\'APPLICATION_JAPANASE\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'ko\')">\n          <img alt="" src="assets/images/flags/ko.png"> {{\'APPLICATION_KOREAN\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'nl\')">\n          <img alt="" src="assets/images/flags/nl.png"> {{\'APPLICATION_DUTCH\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'no\')">\n          <img alt="" src="assets/images/flags/no.png"> {{\'APPLICATION_NORWEGIAN\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'pt-BR\')">\n          <img alt="" src="assets/images/flags/pt-BR.png"> {{\'APPLICATION_PORTUGUESE_BRAZIL\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'pt-PT\')">\n          <img alt="" src="assets/images/flags/pt-PT.png"> {{\'APPLICATION_PORTUGUESE_PORTUGAL\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'ru\')">\n          <img alt="" src="assets/images/flags/ru.png"> {{\'APPLICATION_RUSSIAN\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'sv\')">\n          <img alt="" src="assets/images/flags/sv.png"> {{\'APPLICATION_SWEDISH\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'tr\')">\n          <img alt="" src="assets/images/flags/tr.png"> {{\'APPLICATION_TURKISH\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'fa\')">\n          <img alt="" src="assets/images/flags/fa.png"> {{\'APPLICATION_PERSIAN\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'zh-CN\')">\n          <img alt="" src="assets/images/flags/zh-CN.png"> {{\'APPLICATION_CHINESE_SIMPLIFIED\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'zh-TW\')">\n          <img alt="" src="assets/images/flags/zh-TW.png"> {{\'APPLICATION_CHINESE_TRADITIONAL\' | translate}}\n        </a>\n      </li>\n    </ul>\n  </li>\n  \x3c!-- END LANGUAGE BAR --\x3e\n</ul>\n<ul data-ng-if="getCurrentUser().role === \'agent\' && headerAgent.showWebBar" class="nav navbar-nav pull-right header-ul-with-separator padding-side-7" data-ng-class="{\'paused-header\':headerAgent.voicePause || headerAgent.mailPause || headerAgent.chatPause || headerAgent.faxPause || headerAgent.smsPause || headerAgent.openchannelPause}">\n  <li class="dropdown dropdown-user" >\n    <a href="#" class="dropdown-toggle custom-header-a" dropdown-menu-hover data-toggle="dropdown" data-close-others="true" style="cursor:default;">\n      <div>{{(headerAgent.voicePause || headerAgent.mailPause || headerAgent.chatPause || headerAgent.faxPause || headerAgent.smsPause || headerAgent.openchannelPause) ? ((!headerAgent.voicePause || !headerAgent.mailPause || !headerAgent.chatPause || !headerAgent.faxPause || !headerAgent.smsPause || !headerAgent.openchannelPause) ? \'(\'+(\'APPLICATION_PARTIAL\' | translate) + \') \'+headerAgent.pauseType : headerAgent.pauseType) : \'READY\'}}</div>\n      <div data-ng-if="headerAgent.voicePause || headerAgent.mailPause || headerAgent.chatPause || headerAgent.faxPause || headerAgent.smsPause || headerAgent.openchannelPause"><css-timer start-time="headerAgent.lastPauseAt"></css-timer></div>\n    </a>\n  </li>\n  <li class="dropdown dropdown-user" data-ng-if="headerAgent.voicePause || headerAgent.mailPause || headerAgent.chatPause || headerAgent.faxPause || headerAgent.smsPause || headerAgent.openchannelPause">\n    <a href="#" class="dropdown-toggle padding-side-7 header-bar-button header-bar-button-controls" dropdown-menu-hover data-toggle="dropdown" data-close-others="true" data-ng-click="headerPause(\'unpause\')">\n      <i class="fa fa-play font-green"></i></a>\n    </li>\n    <li class="dropdown dropdown-user" data-ng-if="headerAgent.voicePause || headerAgent.mailPause || headerAgent.chatPause || headerAgent.faxPause || headerAgent.smsPause || headerAgent.openchannelPause">\n      <a href="#" class="dropdown-toggle header-bar-button" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n        <i class="fa fa-angle-down"></i>\n      </a>\n      <ul class="dropdown-menu dropdown-menu-default scrollable-menu">\n        <li data-ng-if="headerAgent.voicePause">\n          <a href="#" data-ng-click="headerPause(\'unpause\',null,\'voice\')">\n            <i class="fa fa-play font-green"></i> {{\'APPLICATION_VOICE\' | translate}}\n          </a>\n        </li>\n        <li data-ng-if="headerAgent.mailPause">\n          <a href="#" data-ng-click="headerPause(\'unpause\',null,\'mail\')">\n            <i class="fa fa-play font-green"></i> {{\'APPLICATION_MAIL\' | translate}}\n          </a>\n        </li>\n        <li data-ng-if="headerAgent.chatPause">\n          <a href="#" data-ng-click="headerPause(\'unpause\',null,\'chat\')">\n            <i class="fa fa-play font-green"></i> {{\'APPLICATION_CHAT\' | translate}}\n          </a>\n        </li>\n        <li data-ng-if="headerAgent.faxPause">\n          <a href="#" data-ng-click="headerPause(\'unpause\',null,\'fax\')">\n            <i class="fa fa-play font-green"></i> {{\'APPLICATION_FAX\' | translate}}\n          </a>\n        </li>\n        <li data-ng-if="headerAgent.smsPause">\n          <a href="#" data-ng-click="headerPause(\'unpause\',null,\'sms\')">\n            <i class="fa fa-play font-green"></i> {{\'APPLICATION_SMS\' | translate}}\n          </a>\n        </li>\n        <li data-ng-if="headerAgent.openchannelPause">\n          <a href="#" data-ng-click="headerPause(\'unpause\',null,\'openchannel\')">\n            <i class="fa fa-play font-green"></i> {{\'APPLICATION_OPEN_CHANNEL\' | translate}}\n          </a>\n        </li>\n      </ul>\n    </li>\n    <li class="dropdown dropdown-user">\n      <a href="#" class="dropdown-toggle padding-side-7 header-bar-button header-bar-button-controls" dropdown-menu-hover data-toggle="dropdown" data-close-others="true" data-ng-click="headerPause(\'pause\',\'DEFAULT PAUSE\')">\n        <i class="fa fa-pause font-yellow"></i></a>\n      </li>\n      <li class="dropdown dropdown-user" data-ng-if="headerPauses.length">\n        <a href="#" class="dropdown-toggle header-bar-button" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n          <i class="fa fa-angle-down"></i>\n        </a>\n        <ul class="dropdown-menu dropdown-menu-default scrollable-menu">\n          <li data-ng-repeat="pause in headerPauses">\n            <a href="#" data-ng-click="headerPause(\'pause\',pause.name)">\n              {{pause.name}}\n            </a>\n          </li>\n        </ul>\n      </li>\n    </ul>\n    <ul class="nav navbar-nav pull-right" data-ng-if="getCurrentUser().role === \'agent\'" >\n      <li data class="dropdown dropdown-extended dropdown-notification" id="header_agent_notification_bar" data-ng-click="agentNotifications.agent.new = 0;">\n        <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n          <i class="icon-earphones-alt"></i>\n          <span class="badge badge-default" data-ng-if="agentNotifications.agent.new">\n            {{agentNotifications.agent.new}} </span>\n          </a>\n          <ul class="dropdown-menu tabbed-dropdown">\n            <li class="external">\n              <h3><span class="bold">{{\'APPLICATION_LAST_VOICE_NOTIFICATIONS\' | translate}}</span></h3>\n            </li>\n            <li>\n              <ul class="nav nav-tabs">\n                <li class="active">\n                  <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_INBOUND\' | translate}}</a>\n                </li>\n                <li>\n                  <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_OUTBOUND\' | translate}}</a>\n                </li>\n              </ul>\n\n              <div class="tab-content">\n                \x3c!-- GENERAL TAB --\x3e\n                <div class="tab-pane active" id="tab_1_1">\n                  \x3c!-- BEGIN UI-GRID SPINNER --\x3e\n                  <span us-spinner spinner-key="agent-spinner-grid" data-ng-if="busyLoad.agent.busy" spinner-start-active="true"></span>\n                  \x3c!-- END UI-GRID SPINNER --\x3e\n                  <ul class="dropdown-menu-list scrollable-menu" style="height: 250px;" data-handle-color="#637283" infinite-scroll="loadNotifications(\'agent\')" can-load=\'!busyLoad.agent.busy\' treshold="261">\n                    <li data-ng-repeat="notification in agentNotifications.agent.rows">\n                      <a href="javascript:;" style="cursor:default;">\n                        <div class="row">\n                          <div class="col-md-1">\n                            <img src="assets/images/media/inboundroute.png" style="width:25px;height:25px;" alt="">\n                          </div>\n                          <div class="col-md-10">\n                            <div>{{\'APPLICATION_VOICE_NEW_CALL\' | translate}}<span data-ng-if="notification.status && notification.status !== \'none\'" class="badge float-right" data-ng-class="{\'badge-success\':notification.status === \'taken\',\'badge-danger\':notification.status === \'lost\',\'badge-warning\':notification.status === \'rejected\' || notification.status === \'busy\',\'badge-info\':notification.status === \'taken_elsewhere\'}">{{\'APPLICATION_VOICE_\'+notification.status.toUpperCase() | translate}}</span></div>\n                            <div><span class="time float-left" style="max-width:none !important;"><span am-time-ago="notification.updatedAt"></span></span></div>\n                          </div>\n                        </div>\n                        <div>\n                          <span class="message">{{notification.dialstring ? \'APPLICATION_TO\' : \'APPLICATION_FROM\' | translate}}: <span class="span-link" data-ng-click="chooseContact(notification.calleridnum)">{{notification.calleridnum}}</span></span>\n                        </div>\n                        <div data-ng-if="notification.status === \'taken_elsewhere\'">\n                          <span class="message">{{\'APPLICATION_AGENT_NAME\' | translate}}: <span ><b>{{notification.answeredelsewheremembername}}</b></span></span>\n                        </div>\n                        <div data-ng-if="notification.status === \'taken\' && notification.lastevent === \'complete\'">\n                          <span class="message">{{\'APPLICATION_COMPLETED_BY\' | translate}}: <span ><b>{{\'APPLICATION_VOICE_\'+notification.reason.toUpperCase() | translate}}</b></span></span>\n                        </div>\n                      </a>\n                    </li>\n                  </ul>\n                </div>\n                <div class="tab-pane" id="tab_1_2">\n                  \x3c!-- BEGIN UI-GRID SPINNER --\x3e\n                  <span us-spinner spinner-key="dial-spinner-grid" data-ng-if="busyLoad.dial.busy" spinner-start-active="true"></span>\n                  \x3c!-- END UI-GRID SPINNER --\x3e\n                  <ul class="dropdown-menu-list scrollable-menu" style="height: 250px;" data-handle-color="#637283" infinite-scroll="loadNotifications(\'dial\')" can-load=\'!busyLoad.dial.busy\' treshold="261">\n                    <li data-ng-repeat="notification in agentNotifications.dial.rows">\n                      <a href="javascript:;" style="cursor:default;">\n                        <div class="row">\n                          <div class="col-md-1">\n                            <img src="assets/images/media/outboundroute.png" style="width:25px;height:25px;" alt="">\n                          </div>\n                          <div class="col-md-10">\n                            <div>{{\'APPLICATION_VOICE_NEW_CALL\' | translate}}<span data-ng-if="notification.status && notification.status !== \'none\'" class="badge float-right" data-ng-class="{\'badge-success\':notification.status === \'taken\',\'badge-danger\':notification.status === \'lost\',\'badge-warning\':notification.status === \'rejected\',\'badge-info\':notification.status === \'taken_elsewhere\'}">{{\'APPLICATION_VOICE_\'+notification.status.toUpperCase() | translate}}</span></div>\n                            <div><span class="time float-left" style="max-width:none !important;"><span am-time-ago="notification.updatedAt"></span></span></div>\n                          </div>\n                        </div>\n                        <div>\n                          <span class="message">{{\'APPLICATION_TO\' | translate}}: <span class="span-link" data-ng-click="chooseContact(notification.destcalleridnum)">{{notification.destcalleridnum}}</span></span>\n                        </div>\n                      </a>\n                    </li>\n                  </ul>\n                </div>\n              </div>\n            </li>\n          </ul>\n        </li>\n        <li data ng-if="license.mail" class="dropdown dropdown-extended dropdown-notification" id="header_mail_notification_bar" data-ng-click="agentNotifications.mail.new = 0;">\n          <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n            <i class="icon-envelope-open"></i>\n            <span class="badge badge-default" data-ng-if="agentNotifications.mail.new">\n              {{agentNotifications.mail.new}} </span>\n            </a>\n            <ul class="dropdown-menu">\n              <li class="external">\n                <h3><span class="bold">{{\'APPLICATION_LAST_MAIL_NOTIFICATIONS\' | translate}}</span></h3>\n              </li>\n              <li>\n                \x3c!-- BEGIN UI-GRID SPINNER --\x3e\n                <span us-spinner spinner-key="mail-spinner-grid" data-ng-if="busyLoad.mail.busy" spinner-start-active="true"></span>\n                \x3c!-- END UI-GRID SPINNER --\x3e\n                <ul class="dropdown-menu-list scrollable-menu" style="height: 250px;" data-handle-color="#637283" infinite-scroll="loadNotifications(\'mail\')" can-load=\'!busyLoad.mail.busy\' treshold="261">\n                  <li data-ng-repeat="notification in agentNotifications.mail.rows">\n                    <a href="javascript:;" style="cursor:default;">\n                      <div class="row">\n                        <div class="col-md-1">\n                          <img src="assets/images/media/enquiry.png" style="width:25px;height:25px;" alt="">\n                        </div>\n                        <div class="col-md-10">\n                          <div>{{\'APPLICATION_NEW_MESSAGE\' | translate}}<span data-ng-if="notification.status && notification.status !== \'none\'" class="badge float-right" data-ng-class="{\'badge-success pointer-cursor\':notification.status === \'taken\',\'badge-danger\':notification.status === \'lost\',\'badge-warning\':notification.status === \'rejected\'}" data-ng-click="notification.status === \'taken\' && openRoom(notification.roomid, \'mailRoom\')">{{\'APPLICATION_MESSAGE_\'+notification.status.toUpperCase() | translate}} <i data-ng-if="notification.status === \'taken\'" class="fa fa-envelope"></i></span></div>\n                          <div><span class="time float-left" style="max-width:none !important;"><span am-time-ago="notification.updatedAt"></span></span></div>\n                        </div>\n                      </div>\n                      <div>\n                        <span class="message">{{\'APPLICATION_FROM\' | translate}}: <span class="span-link" data-ng-click="openContact(\'mail\',notification.accountid,notification.from)">{{notification.from}}</span></span>\n                      </div>\n                    </a>\n                  </li>\n                </ul>\n              </li>\n            </ul>\n          </li>\n          <li data ng-if="license.chat" class="dropdown dropdown-extended dropdown-notification" id="header_chat_notification_bar" data-ng-click="agentNotifications.chat.new = 0;">\n            <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n              <i class="icon-bubble"></i>\n              <span class="badge badge-default" data-ng-if="agentNotifications.chat.new">\n                {{agentNotifications.chat.new}} </span>\n              </a>\n              <ul class="dropdown-menu">\n                <li class="external">\n                  <h3><span class="bold">{{\'APPLICATION_LAST_CHAT_NOTIFICATIONS\' | translate}}</span></h3>\n                </li>\n                <li>\n                  \x3c!-- BEGIN UI-GRID SPINNER --\x3e\n                  <span us-spinner spinner-key="chat-spinner-grid" data-ng-if="busyLoad.chat.busy" spinner-start-active="true"></span>\n                  \x3c!-- END UI-GRID SPINNER --\x3e\n                  <ul class="dropdown-menu-list scrollable-menu" style="height: 250px;" data-handle-color="#637283" infinite-scroll="loadNotifications(\'chat\')" can-load=\'!busyLoad.chat.busy\' treshold="261">\n                    <li data-ng-repeat="notification in agentNotifications.chat.rows">\n                      <a href="javascript:;" style="cursor:default;">\n                        <div class="row">\n                          <div class="col-md-1">\n                            <img src="assets/images/media/website.png" style="width:25px;height:25px;" alt="">\n                          </div>\n                          <div class="col-md-10">\n                            <div>{{\'APPLICATION_NEW_CHAT_REQUEST\' | translate}}<span data-ng-if="notification.status && notification.status !== \'none\'" class="badge float-right" data-ng-class="{\'badge-success pointer-cursor\':notification.status === \'taken\',\'badge-danger\':notification.status === \'lost\',\'badge-warning\':notification.status === \'rejected\'}" data-ng-click="notification.status === \'taken\' && openRoom(notification.roomid, \'chatRoom\')">{{\'APPLICATION_CHAT_\'+notification.status.toUpperCase() | translate}} <i data-ng-if="notification.status === \'taken\'" class="fa fa-envelope"></i></span></div>\n                            <div><span class="time float-left" style="max-width:none !important;"><span am-time-ago="notification.updatedAt"></span></span></div>\n                          </div>\n                        </div>\n                        <div>\n                          <span class="message">{{\'APPLICATION_FROM\' | translate}}: <span class="span-link" data-ng-click="openContact(\'chat\',notification.websiteid,notification.visitoremail)">{{notification.visitoremail}}</span></span>\n                        </div>\n                      </a>\n                    </li>\n                  </ul>\n                </li>\n              </ul>\n            </li>\n            <li data ng-if="license.fax" class="dropdown dropdown-extended dropdown-notification" id="header_fax_notification_bar" data-ng-click="agentNotifications.fax.new = 0;">\n              <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n                <i class="fa fa-fax"></i>\n                <span class="badge badge-default" data-ng-if="agentNotifications.fax.new">\n                  {{agentNotifications.fax.new}} </span>\n                </a>\n                <ul class="dropdown-menu">\n                  <li class="external">\n                    <h3><span class="bold">{{\'APPLICATION_LAST_FAX_NOTIFICATIONS\' | translate}}</span></h3>\n                  </li>\n                  <li>\n                    \x3c!-- BEGIN UI-GRID SPINNER --\x3e\n                    <span us-spinner spinner-key="fax-spinner-grid" data-ng-if="busyLoad.fax.busy" spinner-start-active="true"></span>\n                    \x3c!-- END UI-GRID SPINNER --\x3e\n                    <ul class="dropdown-menu-list scrollable-menu" style="height: 250px;" data-handle-color="#637283" infinite-scroll="loadNotifications(\'fax\')" can-load=\'!busyLoad.fax.busy\' treshold="261">\n                      <li data-ng-repeat="notification in agentNotifications.fax.rows">\n                        <a href="javascript:;" style="cursor:default;">\n                          <div class="row">\n                            <div class="col-md-1">\n                              <img src="assets/images/media/fax.png" style="width:25px;height:25px;" alt="">\n                            </div>\n                            <div class="col-md-10">\n                              <div>{{\'APPLICATION_NEW_FAX_REQUEST\' | translate}}<span data-ng-if="notification.status && notification.status !== \'none\'" class="badge float-right" data-ng-class="{\'badge-success pointer-cursor\':notification.status === \'taken\',\'badge-danger\':notification.status === \'lost\',\'badge-warning\':notification.status === \'rejected\'}" data-ng-click="notification.status === \'taken\' && openRoom(notification.roomid, \'faxRoom\')">{{\'APPLICATION_FAX_\'+notification.status.toUpperCase() | translate}} <i data-ng-if="notification.status === \'taken\'" class="fa fa-envelope"></i></span></div>\n                              <div><span class="time float-left" style="max-width:none !important;"><span am-time-ago="notification.updatedAt"></span></span></div>\n                            </div>\n                          </div>\n                          <div>\n                            <span class="message">{{\'APPLICATION_FROM\' | translate}}: <span class="span-link" data-ng-click="openContact(\'fax\',notification.accountid,notification.from)">{{notification.from}}</span></span>\n                          </div>\n                        </a>\n                      </li>\n                    </ul>\n                  </li>\n                </ul>\n              </li>\n              <li data ng-if="license.messaging" class="dropdown dropdown-extended dropdown-notification" id="header_sms_notification_bar" data-ng-click="agentNotifications.sms.new = 0;">\n                <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n                  <i class="glyphicon glyphicon-comment"></i>\n                  <span class="badge badge-default" data-ng-if="agentNotifications.sms.new">\n                    {{agentNotifications.sms.new}} </span>\n                  </a>\n                  <ul class="dropdown-menu">\n                    <li class="external">\n                      <h3><span class="bold">{{\'APPLICATION_LAST_SMS_NOTIFICATIONS\' | translate}}</span></h3>\n                    </li>\n                    <li>\n                      \x3c!-- BEGIN UI-GRID SPINNER --\x3e\n                      <span us-spinner spinner-key="sms-spinner-grid" data-ng-if="busyLoad.sms.busy" spinner-start-active="true"></span>\n                      \x3c!-- END UI-GRID SPINNER --\x3e\n                      <ul class="dropdown-menu-list scrollable-menu" style="height: 250px;" data-handle-color="#637283" infinite-scroll="loadNotifications(\'sms\')" can-load=\'!busyLoad.sms.busy\' treshold="261">\n                        <li data-ng-repeat="notification in agentNotifications.sms.rows">\n                          <a href="javascript:;" style="cursor:default;">\n                            <div class="row">\n                              <div class="col-md-1">\n                                <img src="assets/images/media/sms.png" style="width:25px;height:25px;" alt="">\n                              </div>\n                              <div class="col-md-10">\n                                <div>{{\'APPLICATION_NEW_SMS_REQUEST\' | translate}}<span data-ng-if="notification.status && notification.status !== \'none\'" class="badge float-right" data-ng-class="{\'badge-success pointer-cursor\':notification.status === \'taken\',\'badge-danger\':notification.status === \'lost\',\'badge-warning\':notification.status === \'rejected\'}" data-ng-click="notification.status === \'taken\' && openRoom(notification.roomid, \'smsRoom\')">{{\'APPLICATION_SMS_\'+notification.status.toUpperCase() | translate}} <i data-ng-if="notification.status === \'taken\'" class="fa fa-envelope"></i></span></div>\n                                <div><span class="time float-left" style="max-width:none !important;"><span am-time-ago="notification.updatedAt"></span></span></div>\n                              </div>\n                            </div>\n                            <div>\n                              <span class="message">{{\'APPLICATION_FROM\' | translate}}: <span class="span-link" data-ng-click="openContact(\'sms\',notification.accountid,notification.from)">{{notification.from}}</span></span>\n                            </div>\n                          </a>\n                        </li>\n                      </ul>\n                    </li>\n                  </ul>\n                </li>\n                <li data ng-if="license.openchannel" class="dropdown dropdown-extended dropdown-notification" id="header_openchannel_notification_bar" data-ng-click="agentNotifications.openchannel.new = 0;">\n                  <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n                    <i class="icon-globe"></i>\n                    <span class="badge badge-default" data-ng-if="agentNotifications.openchannel.new">\n                      {{agentNotifications.openchannel.new}} </span>\n                    </a>\n                    <ul class="dropdown-menu">\n                      <li class="external">\n                        <h3><span class="bold">{{\'APPLICATION_LAST_OPENCHANNEL_NOTIFICATIONS\' | translate}}</span></h3>\n                      </li>\n                      <li>\n                        \x3c!-- BEGIN UI-GRID SPINNER --\x3e\n                        <span us-spinner spinner-key="openchannel-spinner-grid" data-ng-if="busyLoad.openchannel.busy" spinner-start-active="true"></span>\n                        \x3c!-- END UI-GRID SPINNER --\x3e\n                        <ul class="dropdown-menu-list scrollable-menu" style="height: 250px;" data-handle-color="#637283" infinite-scroll="loadNotifications(\'openchannel\')" can-load=\'!busyLoad.openchannel.busy\' treshold="261">\n                          <li data-ng-repeat="notification in agentNotifications.openchannel.rows">\n                            <a href="javascript:;" style="cursor:default;">\n                              <div class="row">\n                                <div class="col-md-1">\n                                  <img src="assets/images/media/openchannel.png" style="width:25px;height:25px;" alt="">\n                                </div>\n                                <div class="col-md-10">\n'+"                                  <div>{{'APPLICATION_NEW_OPENCHANNEL_REQUEST' | translate}}<span data-ng-if=\"notification.status && notification.status !== 'none'\" class=\"badge float-right\" data-ng-class=\"{'badge-success pointer-cursor':notification.status === 'taken','badge-danger':notification.status === 'lost','badge-warning':notification.status === 'rejected'}\" data-ng-click=\"notification.status === 'taken' && openRoom(notification.roomid, 'openchannelRoom')\">{{'APPLICATION_OPENCHANNEL_'+notification.status.toUpperCase() | translate}} <i data-ng-if=\"notification.status === 'taken'\" class=\"fa fa-envelope\"></i></span></div>\n                                  <div><span class=\"time float-left\" style=\"max-width:none !important;\"><span am-time-ago=\"notification.updatedAt\"></span></span></div>\n                                </div>\n                              </div>\n                              \x3c!-- <div>\n                              <span class=\"message\">{{'APPLICATION_FROM' | translate}}: <span class=\"span-link\" data-ng-click=\"openContact('openchannel',notification.accountid,notification.from)\">{{notification.from}}</span></span>\n                            </div> --\x3e\n                          </a>\n                        </li>\n                      </ul>\n                    </li>\n                  </ul>\n                </li>\n              </ul>\n            </div>\n            \x3c!-- END TOP NAVIGATION MENU --\x3e\n          </div>\n          \x3c!-- END HEADER INNER --\x3e\n"),
-a.put("components/sidebar/sidebar.html",'<div id="page-sidebar" class="page-sidebar navbar-collapse collapse" data-ng-init="initSidebar()">\n  \x3c!-- BEGIN SIDEBAR MENU --\x3e\n  \x3c!-- DOC: Apply "page-sidebar-menu-light" class right after "page-sidebar-menu" to enable light sidebar menu style(without borders) --\x3e\n  \x3c!-- DOC: Apply "page-sidebar-menu-hover-submenu" class right after "page-sidebar-menu" to enable hoverable(hover vs accordion) sub menu mode --\x3e\n  \x3c!-- DOC: Apply "page-sidebar-menu-closed" class right after "page-sidebar-menu" to collapse("page-sidebar-closed" class must be applied to the body element) the sidebar sub menu mode --\x3e\n  \x3c!-- DOC: Set data-auto-scroll="false" to disable the sidebar from auto scrolling/focusing --\x3e\n  \x3c!-- DOC: Set data-keep-expand="true" to keep the submenues expanded --\x3e\n  \x3c!-- DOC: Set data-auto-speed="200" to adjust the sub menu slide up/down speed --\x3e\n  <ul data-ng-click="mainTab.active=true" class="page-sidebar-menu" data-keep-expanded="false" data-auto-scroll="true" data-slide-speed="200" data-ng-class="{\'page-sidebar-menu-closed\': settings.layout.pageSidebarClosed}" data-ng-init="getSidebarIntegrations()">\n    \x3c!-- DOC: To remove the search box from the sidebar you just need to completely remove the below "sidebar-search-wrapper" LI element --\x3e\n    <li class="sidebar-search-wrapper">\n      \x3c!-- BEGIN RESPONSIVE QUICK SEARCH FORM --\x3e\n      \x3c!-- DOC: Apply "sidebar-search-bordered" class the below search form to have bordered search box --\x3e\n      \x3c!-- DOC: Apply "sidebar-search-bordered sidebar-search-solid" class the below search form to have bordered & solid search box --\x3e\n      <form class="sidebar-search sidebar-search-bordered" action="extra_search.html" method="POST">\n        <a href="javascript:;" class="remove">\n          <i class="icon-close"></i>\n        </a>\n      </form>\n      \x3c!-- END RESPONSIVE QUICK SEARCH FORM --\x3e\n    </li>\n\n    \x3c!-- START DASHBOARD CASE --\x3e\n    <li class="start" data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[1])" data-ng-class="{active: $state.includes(\'main.dashboard\')}">\n      <a href="/dashboard/voice">\n        <i class="icon-rocket"></i>\n        <span class="title">{{\'APPLICATION_DASHBOARD\' | translate}}</span>\n        <span data-ng-if="$state.includes(\'main.dashboard\')" class="selected"></span>\n      </a>\n    </li>\n    \x3c!-- END DASHBOARD CASE --\x3e\n\n    \x3c!-- START YOURDASHBOARD LIST CASE --\x3e\n    <li data-ng-if="::(!Auth.isUser() || userModules[2])" data-ng-class="{active: $state.is(\'main.tools.yourdashboards.show\')}">\n      <a href="javascript:;">\n        <i class="fa fa-tachometer"></i>\n        <span class="title" >{{\'APPLICATION_YOUR_DASHBOARDS\' | translate}}</span>\n        <span class="arrow" data-ng-class="{ open: $state.includes(\'main.tools.yourdashboards.show\') }"></span>\n      </a>\n      <ul class="sub-menu" data-ng-init="getSidebarDashboards()">\n        <li data-ng-class="{active: $stateParams.id == dashboard.id && $state.includes(\'main.tools.yourdashboards.show\')}" data-ng-repeat="dashboard in dashboards" data-ng-if="dashboard[Auth.getRole()]">\n          <a href="/tools/yourdashboards/show/{{dashboard.id}}" >\n            <i class="icon-screen-desktop"></i>\n            <span class="title" >{{dashboard.name}}  </span>\n          </a>\n        </li>\n      </ul>\n    </li>\n    \x3c!-- END YOURDASHBOARD LIST CASE --\x3e\n\n    \x3c!-- START STAFF LIST CASE --\x3e\n    <li data-ng-class="{active: $state.includes(\'main.staff\')}">\n      <a href="javascript:;" data-ng-if="::(Auth.isAdmin() || userModules[3])">\n        <i class="icon-puzzle"></i>\n        <span class="title" >{{\'APPLICATION_STAFF\' | translate}}</span>\n        <span class="arrow" data-ng-class="{open: $state.includes(\'main.staff\')}"></span>\n      </a>\n      <ul class="sub-menu">\n        \x3c!-- START USERS CASE --\x3e\n        <li data-ng-if="::(Auth.isAdmin())" data-ng-class="{active: $state.includes(\'main.staff.users\')}">\n          <a href="/staff/users/list">\n            <i class="icon-eye"></i>\n            <span class="title" >{{\'APPLICATION_USERS\' | translate}}</span>\n            <span data-ng-if="$state.includes(\'main.staff.users\')" class="selected"></span>\n          </a>\n        </li>\n        \x3c!-- END USERS CASE --\x3e\n\n        \x3c!-- START AGENTS CASE --\x3e\n        <li data-ng-if="::(Auth.isAdmin() || userModules[4])" data-ng-class="{active: $state.includes(\'main.staff.agents\')}">\n          <a href="/staff/agents/list">\n            <i class="icon-people"></i>\n            <span class="title" >{{\'APPLICATION_AGENTS\' | translate}}</span>\n            <span data-ng-if="$state.includes(\'main.staff.agents\')" class="selected"></span>\n          </a>\n        </li>\n        \x3c!-- END AGENTS CASE --\x3e\n\n        \x3c!-- START TELEPHONES CASE --\x3e\n        <li data-ng-if="::(Auth.isAdmin())" data-ng-class="{active: $state.includes(\'main.staff.telephones\')}">\n          <a href="/staff/telephones/list">\n            <i class="icon-phone"></i>\n            <span class="title" >{{\'APPLICATION_TELEPHONES\' | translate}}</span>\n            <span data-ng-if="$state.includes(\'main.staff.telephones\')" class="selected"></span>\n          </a>\n        </li>\n        \x3c!-- END TELEPHONES CASE --\x3e\n\n        \x3c!-- START TEAMS CASE --\x3e\n        <li data-ng-if="::(Auth.isAdmin())" data-ng-class="{active: $state.includes(\'main.staff.teams\')}">\n          <a href="/staff/teams/list">\n            <i class="icon-shield"></i>\n            <span class="title" >{{\'APPLICATION_TEAMS\' | translate}}</span>\n            <span data-ng-if="$state.includes(\'main.staff.teams\')" class="selected"></span>\n          </a>\n        </li>\n        \x3c!-- END TEAMS CASE --\x3e\n      </ul>\n    </li>\n    \x3c!-- END STAFF LIST CASE --\x3e\n\n    \x3c!-- START CONTACT MANAGER LIST CASE --\x3e\n    <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[5])" data-ng-class="{active: $state.includes(\'main.contactmanager\')}">\n      <a href="javascript:;" data-ng-class="{\'disabled-link\':!license.cm}">\n        <i class="icon-notebook"></i>\n        <span class="title disable-target" >{{\'APPLICATION_CONTACT_MANAGER\' | translate}}</span>\n        <span class="arrow" data-ng-class="{ open: $state.includes(\'main.contactmanager.contacts\')\n        || $state.includes(\'main.contactmanager.companies\')\n        || $state.includes(\'main.contactmanager.lists\') || $state.includes(\'main.contactmanager.customfields\') }"></span>\n      </a>\n      <ul class="sub-menu" data-ng-if="license.cm">\n        \x3c!-- START CONTACTS CASE --\x3e\n        <li data-ng-class="{active: $state.includes(\'main.contactmanager.contacts\')}">\n          <a href="/contactmanager/contacts/list">\n            <i class=" fa fa-users"></i>\n            <span class="title" >{{\'APPLICATION_CONTACTS\' | translate}}</span>\n            <span data-ng-if="$state.includes(\'main.contactmanager.contacts\')" class="selected"></span>\n          </a>\n        </li>\n        \x3c!-- END CONTACTS CASE --\x3e\n        \x3c!-- START COMPANIES CASE --\x3e\n        <li data-ng-class="{active: $state.includes(\'main.contactmanager.companies\')}" data-ng-if="::(Auth.isAdmin() || Auth.isUser())">\n          <a href="/contactmanager/companies/list">\n            <i class="icon-briefcase"></i>\n            <span class="title" >{{\'APPLICATION_COMPANIES\' | translate}}</span>\n            <span data-ng-if="$state.includes(\'main.contactmanager.companies\')" class="selected"></span>\n          </a>\n        </li>\n        \x3c!-- END COMPANIES CASE --\x3e\n        \x3c!-- START LISTS CASE --\x3e\n        <li data-ng-class="{active: $state.includes(\'main.contactmanager.lists\')}" data-ng-if="::(Auth.isAdmin() || Auth.isUser())">\n          <a href="/contactmanager/lists/list">\n            <i class="fa fa-list-ul"></i>\n            <span class="title" >{{\'APPLICATION_LISTS\' | translate}}</span>\n            <span data-ng-if="$state.includes(\'main.contactmanager.lists\')" class="selected"></span>\n          </a>\n        </li>\n        \x3c!-- END LISTS CASE --\x3e\n        \x3c!-- START CUSTOM_FIELDS CASE --\x3e\n        <li data-ng-class="{active: $state.includes(\'main.contactmanager.customfields\')}" data-ng-if="::(Auth.isAdmin() || Auth.isUser())">\n          <a href="/contactmanager/customfields/list">\n            <i class="icon-pencil"></i>\n            <span class="title" >{{\'APPLICATION_CUSTOM_FIELDS\' | translate}}</span>\n            <span data-ng-if="$state.includes(\'main.contactmanager.customfields\')" class="selected"></span>\n          </a>\n        </li>\n        \x3c!-- END CUSTOM_FIELDS CASE --\x3e\n      </ul>\n    </li>\n    \x3c!-- END CONTACT MANAGER LIST CASE --\x3e\n\n    \x3c!-- START CHANNEL LIST CASE --\x3e\n    <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[6])" data-ng-class="{active: $state.includes(\'main.channels\')}">\n      <a href="javascript:;">\n        <i class="fa fa-spinner"></i>\n        <span class="title" >{{\'APPLICATION_CHANNELS\' | translate}}</span>\n        <span class="arrow" data-ng-class="{open: $state.includes(\'main.channels\')}"></span>\n      </a>\n      <ul class="sub-menu">\n        \x3c!-- START VOICE CASE --\x3e\n        <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[7])" data-ng-class="{ active: $state.includes(\'main.channels.voice\') }">\n          <a href="javascript:;">\n            <i class="icon-earphones-alt"></i>\n            <span class="title">{{ \'APPLICATION_VOICE\' | translate}}</span>\n            <span class="arrow" data-ng-class="{ open: $state.includes(\'main.channels.voice\') }"></span>\n          </a>\n\n          <ul class="sub-menu">\n            <li data-ng-if="::(Auth.isAdmin())" data-ng-class="{active: $state.includes(\'main.channels.voice.queues\')}">\n              <a href="/channels/voice/queues/list">\n                <i class="icon-docs"></i>\n                <span class="title">{{\'APPLICATION_QUEUES\' | translate}}</span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || userModules[21])">\n              <a href="javascript:;">\n                <i class="icon-directions"></i>\n                <span class="title"> {{ \'APPLICATION_ROUTES\' | translate}} </span>\n                <span class="arrow" data-ng-class="{ open: $state.includes(\'main.channels.voice.routes\') }"></span>\n                <ul class="sub-menu">\n                  <li data-ng-class="{active: $state.includes(\'main.channels.voice.routes.inbound\')}">\n                    <a href="/channels/voice/routes/inbound/list">\n                      <i class="icon-call-in"></i>\n                      <span class="title"> {{\'APPLICATION_INBOUND\' | translate}} </span>\n                    </a>\n                  </li>\n                  <li data-ng-class="{active: $state.includes(\'main.channels.voice.routes.outbound\')}">\n                    <a href="/channels/voice/routes/outbound/list">\n                      <i class="icon-call-out"></i>\n                      <span class="title"> {{\'APPLICATION_OUTBOUND\' | translate}} </span>\n                    </a>\n                  </li>\n                  <li data-ng-class="{active: $state.includes(\'main.channels.voice.routes.internal\')}">\n                    <a href="/channels/voice/routes/internal/list">\n                      <i class="icon-reload"></i>\n                      <span class="title"> {{\'APPLICATION_INTERNALS\' | translate}} </span>\n                    </a>\n                  </li>\n                </ul>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || userModules[22])" data-ng-class="{active: $state.includes(\'main.channels.voice.contexts\')}">\n              <a href="/channels/voice/contexts/list">\n                <i class="icon-docs"></i>\n                <span class="title"> {{\'APPLICATION_CONTEXTS\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || userModules[23])" data-ng-class="{active: $state.includes(\'main.channels.voice.voicemails\')}">\n              <a href="/channels/voice/voicemails/list">\n                <i class="icon-envelope-letter"></i>\n                <span class="title"> {{\'APPLICATION_VOICEMAILS\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || userModules[24])" data-ng-class="{active: $state.includes(\'main.channels.voice.mohs\')}">\n              <a href="/channels/voice/mohs/list">\n                <i class="icon-music-tone"></i>\n                <span class="title"> {{\'APPLICATION_MOH\' | translate}} </span>\n              </a>\n            </li>\n            \x3c!-- START RECORDING CASE --\x3e\n            <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[25])" data-ng-class="{active: $state.includes(\'main.channels.voice.recordings\')}">\n              <a href="/channels/voice/recordings/list">\n                <i class="icon-control-play"></i>\n                <span class="title">{{\'APPLICATION_RECORDINGS\' | translate}}</span>\n              </a>\n            </li>\n            \x3c!-- END RECORDING CASE --\x3e\n            \x3c!-- START REALTIME CASE --\x3e\n            <li data-ng-if="::(Auth.isAdmin() || userModules[26])" data-ng-class="{active: $state.includes(\'main.channels.voice.realtime\')}">\n              <a href="/channels/voice/realtime/view/agents">\n                <i class="icon-energy"></i>\n                <span class="title">{{\'APPLICATION_REALTIME\' | translate}}</span>\n              </a>\n            </li>\n            \x3c!-- END REALTIME CASE --\x3e\n            \x3c!-- START CHANSPY CASE --\x3e\n            <li data-ng-if="::(Auth.isAdmin() || userModules[27])" data-ng-class="{active: $state.includes(\'main.channels.voice.chanspy\')}">\n              <a href="/channels/voice/chanspy/list">\n                <i class="fa fa-user-secret"></i>\n                <span class="title" >{{\'APPLICATION_CHANSPY\' | translate}}</span>\n                \x3c!-- <span data-ng-if="$state.includes(\'main.chanspy\')" class="selected"></span> --\x3e\n              </a>\n            </li>\n            \x3c!-- END CHANSPY CASE --\x3e\n            \x3c!-- START CHANSPY CASE --\x3e\n            <li data-ng-if="::(Auth.isAdmin() || userModules[28])" data-ng-class="{active: $state.includes(\'main.channels.voice.dispositions\')}">\n              <a href="/channels/voice/dispositions/list">\n                <i class="icon-target"></i>\n                <span class="title" >{{\'APPLICATION_DISPOSITIONS\' | translate}}</span>\n              </a>\n            </li>\n            \x3c!-- END CHANSPY CASE --\x3e\n          </ul>\n        </li>\n        \x3c!-- END VOICE CASE --\x3e\n\n        \x3c!-- START CHAT CASE --\x3e\n        <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[8])" data-ng-class="{active: $state.includes(\'main.channels.chat\')}">\n          <a href="javascript:;" data-ng-class="{\'disabled-link\':!license.chat}">\n            <i class="icon-bubble"></i>\n            <span class="title disable-target">{{\'APPLICATION_CHAT\' | translate}}</span>\n            <span class="arrow" data-ng-class="{open: $state.includes(\'main.channels.chat\')}"></span>\n          </a>\n          <ul class="sub-menu" data-ng-if="license.chat">\n            <li data-ng-if="::(Auth.isAdmin() || userModules[29])" data-ng-class="{active: $state.includes(\'main.channels.chat.websites\')}">\n              <a href="/channels/chat/websites/list">\n                <i class="icon-globe"></i>\n                <span class="title"> {{\'APPLICATION_WEB_SITES\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || userModules[30])" data-ng-class="{active: $state.includes(\'main.channels.chat.queues\')}">\n              <a href="/channels/chat/queues/list">\n                <i class="icon-docs"></i>\n                <span class="title"> {{\'APPLICATION_QUEUES\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[31])" data-ng-class="{active: $state.includes(\'main.channels.chat.room\')}">\n              <a href="/channels/chat/room/internal/list">\n                <i class="fa fa-users"></i>\n                <span class="title"> {{\'APPLICATION_INTERACTIONS\' | translate}} </span>\n              </a>\n            </li>\n            \x3c!-- <li data-ng-if="::(Auth.isAdmin() || userModules[8])" data-ng-class="{active: $state.includes(\'main.channels.chat.online\')}">\n              <a href="/channels/chat/online/list">\n                <i class="icon-login"></i>\n                <span class="title"> {{\'APPLICATION_ONLINE_MESSAGES\' | translate}} </span>\n              </a>\n            </li> --\x3e\n            <li data-ng-if="::(Auth.isAdmin() || userModules[32])" data-ng-class="{active: $state.includes(\'main.channels.chat.offline\')}">\n              <a href="/channels/chat/offline/list">\n                <i class="icon-logout"></i>\n                <span class="title"> {{\'APPLICATION_OFFLINE_MESSAGES\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || userModules[33])" data-ng-class="{active: $state.includes(\'main.channels.chat.realtime\')}">\n              <a href="/channels/chat/realtime/view/agents">\n                <i class="icon-energy"></i>\n                <span class="title">{{\'APPLICATION_REALTIME\' | translate}}</span>\n              </a>\n            </li>\n          </ul>\n        </li>\n        \x3c!-- END CHAT CASE --\x3e\n\n        \x3c!-- START MAIL CASE --\x3e\n        <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[9])" data-ng-class="{active: $state.includes(\'main.channels.mail\')}" >\n          <a href="javascript:;" data-ng-class="{\'disabled-link\':!license.mail}">\n            <i class="icon-envelope"></i>\n            <span class="title disable-target">{{\'APPLICATION_MAIL\' | translate}}</span>\n            <span class="arrow" data-ng-class="{ open: $state.includes(\'main.channels.mail\') }"></span>\n          </a>\n\n          <ul class="sub-menu" data-ng-if="license.mail">\n            <li data-ng-if="::(Auth.isAdmin() || userModules[34])" data-ng-class="{active: $state.includes(\'main.channels.mail.accounts\') || $state.includes(\'main.channels.mail.account\')}">\n              <a href="/channels/mail/accounts/list">\n                <i class="icon-notebook"></i>\n                <span class="title"> {{\'APPLICATION_ACCOUNTS\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || userModules[35])" data-ng-class="{active: $state.includes(\'main.channels.mail.queues\') || $state.includes(\'main.channels.mail.queue\')}">\n              <a href="/channels/mail/queues/list">\n                <i class="icon-docs"></i>\n                <span class="title"> {{\'APPLICATION_QUEUES\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[36])" data-ng-class="{active: $state.includes(\'main.channels.mail.inbox\')}">\n              <a href="/channels/mail/inbox/view">\n                <i class="icon-note"></i>\n                <span class="title"> {{\'APPLICATION_INBOX\' | translate}} </span>\n              </a>\n            </li>\n            \x3c!-- START REALTIME CASE --\x3e\n            <li data-ng-if="::(Auth.isAdmin() || userModules[37])" data-ng-class="{active: $state.includes(\'main.channels.mail.realtime\')}">\n              <a href="/channels/mail/realtime/view/agents">\n                <i class="icon-energy"></i>\n                <span class="title">{{\'APPLICATION_REALTIME\' | translate}}</span>\n              </a>\n            </li>\n            \x3c!-- END REALTIME CASE --\x3e\n          </ul>\n        </li>\n        \x3c!-- END MAIL CASE --\x3e\n\n        \x3c!-- START FAX CASE --\x3e\n        <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[10])" data-ng-class="{active: $state.includes(\'main.channels.fax\')}">\n          <a href="javascript:;" data-ng-class="{\'disabled-link\':!license.fax}">\n            <i class="fa fa-fax"></i>\n            <span class="title disable-target"> {{ \'APPLICATION_FAX\' | translate}}</span>\n            <span class="arrow" data-ng-class="{ open: $state.includes(\'main.channels.fax\') }"></span>\n          </a>\n          <ul class="sub-menu" data-ng-if="license.fax">\n            <li data-ng-if="::(Auth.isAdmin() || userModules[38])" data-ng-class="{active: $state.includes(\'main.channels.fax.accounts\')}">\n              <a href="/channels/fax/accounts/list">\n                <i class="icon-notebook"></i>\n                <span class="title"> {{ \'APPLICATION_ACCOUNTS\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || userModules[39])" data-ng-class="{active: $state.includes(\'main.channels.fax.queues\')}">\n              <a href="/channels/fax/queues/list">\n                <i class="icon-docs"></i>\n                <span class="title"> {{ \'APPLICATION_QUEUES\' | translate }} </span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[40])" data-ng-class="{active: $state.includes(\'main.channels.fax.inbox\')}">\n              <a href="/channels/fax/inbox/view">\n                <i class="icon-note"></i>\n                <span class="title"> {{ \'APPLICATION_INBOX\' | translate }} </span>\n              </a>\n            </li>\n            \x3c!-- START REALTIME CASE --\x3e\n            <li data-ng-if="::(Auth.isAdmin() || userModules[41])" data-ng-class="{active: $state.includes(\'main.channels.fax.realtime\')}">\n              <a href="/channels/fax/realtime/view/agents">\n                <i class="icon-energy"></i>\n                <span class="title">{{\'APPLICATION_REALTIME\' | translate}}</span>\n              </a>\n            </li>\n            \x3c!-- END REALTIME CASE --\x3e\n          </ul>\n        </li>\n        \x3c!-- END FAX CASE --\x3e\n\n        \x3c!-- START SMS CASE --\x3e\n        <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[11])" data-ng-class="{active: $state.includes(\'main.channels.sms\')}">\n          <a href="javascript:;" data-ng-class="{\'disabled-link\':!license.messaging}">\n            <i class="glyphicon glyphicon-comment"></i>\n            <span class="title disable-target">{{\'APPLICATION_SMS\' | translate}}</span>\n            <span class="arrow" data-ng-class="{ open: $state.includes(\'main.channels.sms\') }"></span>\n          </a>\n\n          <ul class="sub-menu" data-ng-if="license.messaging">\n            <li data-ng-if="::(Auth.isAdmin() || userModules[42])" data-ng-class="{active: $state.includes(\'main.channels.sms.accounts\') || $state.includes(\'main.channels.sms.account\')}">\n              <a href="/channels/sms/accounts/list">\n                <i class="icon-notebook"></i>\n                <span class="title"> {{\'APPLICATION_ACCOUNTS\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || userModules[43])" data-ng-class="{active: $state.includes(\'main.channels.sms.queues\') || $state.includes(\'main.channels.sms.queue\')}">\n              <a href="/channels/sms/queues/list">\n                <i class="icon-docs"></i>\n                <span class="title"> {{\'APPLICATION_QUEUES\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[44])" data-ng-class="{active: $state.includes(\'main.channels.sms.inbox\')}">\n              <a href="/channels/sms/inbox/view">\n                <i class="icon-note"></i>\n                <span class="title"> {{\'APPLICATION_INBOX\' | translate}} </span>\n              </a>\n            </li>\n            \x3c!-- START REALTIME CASE --\x3e\n            <li data-ng-if="::(Auth.isAdmin() ||  userModules[45])"  data-ng-class="{active: $state.includes(\'main.channels.sms.realtime\')}">\n              <a href="/channels/sms/realtime/view/agents">\n                <i class="icon-energy"></i>\n                <span class="title">{{\'APPLICATION_REALTIME\' | translate}}</span>\n              </a>\n            </li>\n            \x3c!-- END REALTIME CASE --\x3e\n          </ul>\n        </li>\n\n        \x3c!-- END SMS CASE --\x3e\n\n        \x3c!-- START OPENCHANNEL CASE --\x3e\n        <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent()|| userModules[20])" data-ng-class="{active: $state.includes(\'main.channels.openchannel\')}">\n          <a href="javascript:;" data-ng-class="{\'disabled-link\':!license.openchannel}" >\n            <i class="icon-globe"></i>\n            <span class="title disable-target">{{\'APPLICATION_OPEN_CHANNEL\' | translate}}</span>\n            <span class="arrow" data-ng-class="{ open: $state.includes(\'main.channels.openchannel\') }"></span>\n          </a>\n          <ul class="sub-menu" data-ng-if="license.openchannel" >\n            <li data-ng-if="::(Auth.isAdmin()|| userModules[46])" data-ng-class="{active: $state.includes(\'main.channels.openchannel.accounts\') || $state.includes(\'main.channels.openchannel.account\')}">\n              <a href="/channels/openchannel/accounts/list">\n                <i class="icon-notebook"></i>\n                <span class="title"> {{\'APPLICATION_ACCOUNTS\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin()|| userModules[47])" data-ng-class="{active: $state.includes(\'main.channels.openchannel.queues\') || $state.includes(\'main.channels.openchannel.queue\')}">\n              <a href="/channels/openchannel/queues/list">\n                <i class="icon-docs"></i>\n                <span class="title"> {{\'APPLICATION_QUEUES\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent()|| userModules[48])" data-ng-class="{active: $state.includes(\'main.channels.openchannel.inbox\')}">\n              <a href="/channels/openchannel/inbox/view">\n                <i class="icon-note"></i>\n                <span class="title"> {{\'APPLICATION_INBOX\' | translate}} </span>\n              </a>\n            </li>\n            \x3c!-- START REALTIME CASE --\x3e\n            <li data-ng-if="::(Auth.isAdmin() ||  userModules[49])"  data-ng-class="{active: $state.includes(\'main.channels.openchannel.realtime\')}">\n              <a href="/channels/openchannel/realtime/view/agents">\n                <i class="icon-energy"></i>\n                <span class="title">{{\'APPLICATION_REALTIME\' | translate}}</span>\n              </a>\n            </li>\n            \x3c!-- END REALTIME CASE --\x3e\n          </ul>\n        </li>\n\n        \x3c!-- END OPENCHANNEL CASE --\x3e\n        \x3c!-- START REALTIME CASE --\x3e\n        <li data-ng-if="::(Auth.isAdmin() || userModules[12])" data-ng-class="{active: $state.includes(\'main.channels.realtime\')}">\n          <a href="/channels/realtime/view/agents">\n            <i class="icon-energy"></i>\n            <span class="title">{{\'APPLICATION_OMNI_REALTIME\' | translate}}</span>\n          </a>\n        </li>\n        \x3c!-- END REALTIME CASE --\x3e\n      </ul>\n    </li>\n    \x3c!-- END CHANNEL LIST CASE --\x3e\n\n    \x3c!-- START TOOLS LIST CASE --\x3e\n    <li data-ng-if="::(Auth.isAdmin() || userModules[13])" data-ng-class="{active: $state.includes(\'main.tools\') && !$state.is(\'main.tools.yourdashboards.show\')}">\n      <a href="javascript:;">\n        <i class="icon-wrench"></i>\n        <span class="title" >{{\'APPLICATION_TOOLS\' | translate}}</span>\n        <span class="arrow" data-ng-class="{ open: $state.includes(\'main.tools\') && !$state.is(\'main.tools.yourdashboards.show\')}"></span>\n      </a>\n      <ul class="sub-menu">\n        <li data-ng-class="{active: $state.includes(\'main.tools.triggers\')}" data-ng-if="::(Auth.isAdmin() || userModules[50])">\n          <a href="/tools/triggers/list">\n            <i class="icon-bulb"></i>\n            <span class="title"> {{\'APPLICATION_TRIGGERS\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.tools.automations\')}" data-ng-if="::(Auth.isAdmin() || userModules[51])">\n          <a href="/tools/automations/list">\n            <i class="icon-settings"></i>\n            <span class="title"> {{\'APPLICATION_AUTOMATIONS\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.tools.trunks\')}" data-ng-if="::(Auth.isAdmin() || userModules[52])">\n          <a href="/tools/trunks/list">\n            <i class="icon-link"></i>\n            <span class="title"> {{\'APPLICATION_TRUNKS\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.tools.intervals\')}" data-ng-if="::(Auth.isAdmin() || userModules[53])">\n          <a href="/tools/intervals/list">\n            <i class="icon-clock"></i>\n            <span class="title"> {{\'APPLICATION_INTERVALS\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.tools.variables\')}" data-ng-if="::(Auth.isAdmin() || userModules[54])">\n          <a href="/tools/variables/list">\n            <i class="fa fa-eye"></i>\n            <span class="title" >{{\'APPLICATION_VARIABLES\' | translate}}  </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.tools.tags\')}" data-ng-if="::(Auth.isAdmin() || userModules[55])">\n          <a href="/tools/tags/list">\n            <i class="icon-tag"></i>\n            <span class="title" >{{\'APPLICATION_TAGS\' | translate}}  </span>\n          </a>\n        </li>\n        \x3c!-- START TEMPLATE CASE --\x3e\n        <li data-ng-class="{active: $state.includes(\'main.tools.templates\')}" data-ng-if="::(Auth.isAdmin() || userModules[56])">\n          <a href="/tools/templates/list">\n            <i class="icon-docs"></i>\n            <span class="title"> {{\'APPLICATION_TEMPLATES\' | translate}} </span>\n          </a>\n        </li>\n        \x3c!-- END TEMPLATE CASE --\x3e\n\n        \x3c!-- START PAUSE CASE --\x3e\n        <li data-ng-class="{active: $state.includes(\'main.tools.pauses\')}" data-ng-if="::(Auth.isAdmin() || userModules[57])">\n          <a href="/tools/pauses/list">\n            <i class="icon-control-pause"></i>\n            <span class="title"> {{\'APPLICATION_PAUSES\' | translate}} </span>\n          </a>\n        </li>\n        \x3c!-- END PAUSE CASE --\x3e\n\n        \x3c!-- START ANSWER CASE --\x3e\n        <li data-ng-class="{active: $state.includes(\'main.tools.answers\')}" data-ng-if="::(Auth.isAdmin() || userModules[58])">\n          <a href="/tools/answers/list">\n            <i class="icon-magic-wand"></i>\n            <span class="title"> {{\'APPLICATION_CANNED_ANSWERS\' | translate}} </span>\n          </a>\n        </li>\n        \x3c!-- END ANSWER CASE --\x3e\n\n        \x3c!-- START DASHBOARD MANAGER CASE --\x3e\n        <li data-ng-class="{active: $state.includes(\'main.tools.yourdashboards\') && !$state.is(\'main.tools.yourdashboards.show\')}" data-ng-if="::(Auth.isAdmin() || userModules[59])">\n          <a href="/tools/yourdashboards/list">\n            <i class="fa fa-tachometer"></i>\n            <span class="title"> {{\'APPLICATION_DASHBOARDS_MANAGER\' | translate}} </span>\n          </a>\n        </li>\n        \x3c!-- END DASHBOARD MANAGER CASE --\x3e\n\n        \x3c!-- START SOUND CASE --\x3e\n        <li data-ng-class="{active: $state.includes(\'main.tools.sounds\')}" data-ng-if="::(Auth.isAdmin() || userModules[60])">\n          <a href="/tools/sounds/list">\n            <i class="icon-music-tone-alt"></i>\n            <span class="title" >{{\'APPLICATION_SOUNDS\' | translate}}</span>\n            \x3c!-- <span data-ng-if="$state.includes(\'main.sounds\')" class="selected"></span> --\x3e\n          </a>\n        </li>\n        \x3c!-- END SOUND CASE --\x3e\n\n        \x3c!-- START SCHEDULE CASE --\x3e\n        <li data-ng-class="{active: $state.includes(\'main.tools.scheduler\')}" data-ng-if="::(Auth.isAdmin() || userModules[61])">\n          <a href="/tools/scheduler/list">\n            <i class="icon-calendar"></i>\n            <span class="title" >{{\'APPLICATION_SCHEDULER\' | translate}}</span>\n            \x3c!-- <span data-ng-if="$state.includes(\'main.sounds\')" class="selected"></span> --\x3e\n          </a>\n        </li>\n        \x3c!-- END SCHEDULE CASE --\x3e\n      </ul>\n    </li>\n    \x3c!-- END TOOLS LIST CASE --\x3e\n\n    \x3c!-- START CALLYSQUARE CASE --\x3e\n    <li data-ng-if="::(Auth.isAdmin() || userModules[14])" data-ng-class="{active: $state.includes(\'main.square\')}">\n      <a href="javascript:;">\n        <i class="fa fa-superscript"></i>\n        <span class="title" >Cally &#178;</span>\n        <span class="arrow"></span>\n      </a>\n      <ul class="sub-menu">\n        <li data-ng-class="{active: $state.includes(\'main.square.projects\')}">\n          <a href="/square/projects/list">\n            <i class="fa fa-slack"></i>\n            <span class="title" >{{\'APPLICATION_PROJECTS\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.square.odbc\')}">\n          <a href="/square/odbc/list">\n            <i class="fa fa-database"></i>\n            <span class="title" >{{\'APPLICATION_ODBC\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.square.recordings\')}">\n          <a href="/square/recordings/list">\n            <i class="icon-microphone"></i>\n            <span class="title" >{{\'APPLICATION_RECORDINGS\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.square.realtime.view.general\')}">\n          <a href="/square/realtime/view/general">\n            <i class="icon-energy"></i>\n            <span class="title" >{{\'APPLICATION_REALTIME\' | translate}} </span>\n          </a>\n        </li>\n      </ul>\n    </li>\n    \x3c!-- END CALLYSQUARE CASE --\x3e\n    \x3c!-- START JSCRIPTY LIST --\x3e\n    <li data-ng-show="::(Auth.isAdmin() || Auth.isAgent() || userModules[15])" data-ng-class="{active: $state.includes(\'main.jscripty\')}">\n      <a href="javascript:;" data-ng-class="{\'disabled-link\':!license.jscripty}" >\n        <i class="icon-note"></i>\n        <span class="title disable-target" >{{\'APPLICATION_JSCRIPTY\' | translate}} </span>\n        <span class="arrow"></span>\n      </a>\n      <ul class="sub-menu" data-ng-if="license.jscripty">\n        \x3c!--  --\x3e\n        \x3c!-- START PROJECTS CASE --\x3e\n        <li data-ng-show="Auth.isAdmin() || Auth.isAgent() || userModules[15]"  data-ng-class="{active: $state.includes(\'main.jscripty.projects\')}">\n          <a href="/jscripty/projects/list">\n            <i class="fa fa-slack"></i>\n            <span class="title" >{{\'APPLICATION_PROJECTS\' | translate}} </span>\n          </a>\n        </li>\n        \x3c!-- END PROJECTS CASE --\x3e\n      </ul>\n    </li>\n    \x3c!-- END JSCRIPTY LIST --\x3e\n\n    \x3c!-- START MOTION DIALER LIST CASE--\x3e\n    <li data-ng-if="::(Auth.isAdmin() || userModules[16])" data-ng-class="{active: $state.includes(\'main.motiondialer\')}">\n      <a href="javascript:;" data-ng-class="{\'disabled-link\':!license.dialer}">\n        <i class="icon-control-forward"></i>\n        <span class="title disable-target" >{{\'APPLICATION_MOTION_DIALER\' | translate}} </span>\n        <span class="arrow"></span>\n      </a>\n      <ul class="sub-menu" data-ng-if="license.dialer">\n        <li data-ng-class="{active: $state.includes(\'main.motiondialer.blacklist\')}">\n          <a href="/motiondialer/blacklist/list">\n            <i class="icon-doc"></i>\n            <span class="title" >{{\'APPLICATION_BLACKLIST\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.motiondialer.processes\')}">\n          <a href="/motiondialer/processes/list">\n            <i class="icon-settings"></i>\n            <span class="title" >{{\'APPLICATION_PROCESSES\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.motiondialer.info\')}">\n          <a href="/motiondialer/info/view/about">\n            <i class="icon-info"></i>\n            <span class="title" >{{\'APPLICATION_INFO\' | translate}} </span>\n          </a>\n        </li>\n      </ul>\n    </li>\n    \x3c!-- END MOTION DIALER LIST CASE--\x3e\n\n    \x3c!-- START ANALYTIC LIST CASE --\x3e\n    <li data-ng-if="::(Auth.isAdmin() || userModules[17])" data-ng-class="{active: $state.includes(\'main.analytics.reports\')\n    || $state.includes(\'main.analytics.extracted\')\n    || $state.includes(\'main.analytics.metrics\')}" data-ng-if="::(Auth.isAdmin())">\n    <a href="javascript:;">\n      <i class="icon-calculator"></i>\n      <span class="title" >{{\'APPLICATION_ANALYTICS\' | translate}}</span>\n      <span class="arrow" data-ng-class="{ open: $state.includes(\'main.analytics.reports\')\n      || $state.includes(\'main.analytics.extracted\')\n      || $state.includes(\'main.analytics.metrics\') }"></span>\n    </a>\n    <ul class="sub-menu">\n      \x3c!-- START REPORT CASE --\x3e\n      <li data-ng-class="{active: $state.includes(\'main.analytics.reports\')}">\n        <a href="/analytics/reports/list">\n          <i class="icon-book-open"></i>\n          <span class="title" >{{\'APPLICATION_REPORTS\' | translate}}</span>\n          <span data-ng-if="$state.includes(\'main.analytics.reports\')" class="selected"></span>\n        </a>\n      </li>\n      \x3c!-- END REPORT CASE --\x3e\n      \x3c!-- START EXTRA REPORT CASE --\x3e\n      <li data-ng-class="{active: $state.includes(\'main.analytics.extracted\')}">\n        <a href="/analytics/extracted/list">\n          <i class="fa fa-file-pdf-o"></i>\n          <span class="title" >{{\'APPLICATION_EXTRACTED_REPORTS\' | translate}}</span>\n          <span data-ng-if="$state.includes(\'main.analytics.extracted\')" class="selected"></span>\n        </a>\n      </li>\n      \x3c!-- END EXTRA REPORT CASE --\x3e\n      \x3c!-- START METRICS CASE --\x3e\n      <li data-ng-class="{active: $state.includes(\'main.analytics.metrics\')}">\n        <a href="/analytics/metrics/list">\n          <i class="icon-calculator"></i>\n          <span class="title" >{{\'APPLICATION_METRICS\' | translate}}</span>\n          <span data-ng-if="$state.includes(\'main.metrics.reports\')" class="selected"></span>\n        </a>\n      </li>\n      \x3c!-- END METRICS CASE --\x3e\n    </ul>\n  </li>\n  \x3c!-- END ANALYTIC LIST CASE --\x3e\n\n  \x3c!-- START SETTINGS LIST --\x3e\n  <li data-ng-if="::(Auth.isAdmin() || userModules[18])" data-ng-class="{active: $state.includes(\'main.setting\')}">\n    <a href="javascript:;">\n      <i class="icon-settings"></i>\n      <span class="title" >{{\'APPLICATION_SETTINGS\' | translate}}</span>\n      <span class="arrow"></span>\n    </a>\n    <ul class="sub-menu">\n      \x3c!-- START GENERAL CASE --\x3e\n      <li data-ng-class="{active: $state.includes(\'main.setting.general\')}">\n        <a href="/setting/general/view/main">\n          <i class="icon-settings"></i>\n          <span class="title"> {{\'APPLICATION_GENERAL\' | translate}} </span>\n        </a>\n      </li>\n      \x3c!-- END GENERAL CASE --\x3e\n\n      \x3c!-- START UPDATES CASE --\x3e\n      <li data-ng-class="{active: $state.includes(\'main.setting.updates\')}">\n        <a href="{{license.update ? \'/setting/updates/list\' : \'javascript:;\'}}" data-ng-class="{\'disabled-link\':!license.update}">\n          <i class="icon-cloud-download"></i>\n          <span class="title disable-target" >{{\'APPLICATION_UPDATES\' | translate}}</span>\n          \x3c!-- <span data-ng-if="$state.includes(\'main.updates\')" class="selected"></span> --\x3e\n        </a>\n      </li>\n      \x3c!-- END UPDATES CASE --\x3e\n\n      \x3c!-- START SMTP CASE --\x3e\n      <li data-ng-class="{active: $state.includes(\'main.setting.smtp\')}">\n        <a href="/setting/smtp/view">\n          <i class="icon-envelope"></i>\n          <span class="title">SMTP</span>\n          \x3c!-- <span data-ng-if="$state.includes(\'main.smtp\')" class="selected"></span> --\x3e\n        </a>\n      </li>\n      \x3c!-- END SMTP CASE --\x3e\n\n      \x3c!-- START LICENSE CASE --\x3e\n      <li data-ng-class="{active: $state.includes(\'main.setting.license\')}">\n        <a href="/setting/license/view">\n          <i class="icon-info"></i>\n          <span class="title"> {{\'APPLICATION_LICENSE\' | translate}} </span>\n        </a>\n      </li>\n      \x3c!-- END LICENSE CASE --\x3e\n\n      \x3c!-- START NETWORK CASE --\x3e\n      <li data-ng-class="{active: $state.includes(\'main.setting.network\')}">\n        <a href="/setting/network/view/localnet">\n          <i class="icon-globe"></i>\n          <span class="title"> {{\'APPLICATION_NETWORK\' | translate}} </span>\n        </a>\n      </li>\n      \x3c!-- END NETWORK CASE --\x3e\n\n      \x3c!-- START SYSTEM CASE --\x3e\n      <li data-ng-class="{active: $state.includes(\'main.setting.system\')}">\n        <a href="/setting/system/view/general">\n          <i class="icon-pie-chart"></i>\n          <span class="title"> {{\'APPLICATION_SYSTEM\' | translate}} </span>\n        </a>\n      </li>\n      \x3c!-- END SYSTEM CASE --\x3e\n\n      \x3c!-- START CUSTOMIZATION CASE --\x3e\n      <li data-ng-class="{active: $state.includes(\'main.setting.customization\')}">\n        <a href="/setting/customization/view/general">\n          <i class="icon-equalizer"></i>\n          <span class="title"> {{\'APPLICATION_CUSTOMIZATION\' | translate}} </span>\n        </a>\n      </li>\n      \x3c!-- END CUSTOMIZATION CASE --\x3e\n    </ul>\n  </li>\n  \x3c!-- END SETTINGS LIST --\x3e\n\n  \x3c!-- START INTEGRATION CASE --\x3e\n  <li data-ng-if=" (Auth.isAdmin() || Auth.isAgent() || userModules[19]) && integration.active" data-ng-repeat="integration in integrations" data-ng-class="{active: $state.includes(\'main.{{integration.state}}\')}">\n    <a href="/{{integration.state}}/list" ng-switch on="integration.state" data-ng-if="integration.state !== \'iframe\' && (Auth.isAdmin() || userModules[19])">\n      <i ng-switch-when="zendesk" class="icon-heart"></i>\n      <i ng-switch-when="salesforce" class="fa fa-cloud"></i>\n      <i ng-switch-default class="icon-handbag"></i>\n      <span class="title" >{{integration.name}}</span>\n      <span data-ng-if="$state.includes(\'main.{{integration.state}}\')" class="selected"></span>\n    </a>\n    <a href="/{{integration.state}}/view" data-ng-if="integration.state === \'iframe\'">\n      <i class="fa fa-chrome"></i>\n      <span class="title" data-ng-if="Auth.isAdmin() || userModules[19]">{{integration.name}}</span>\n      <span class="title" data-ng-if="Auth.isAgent()">{{integration.title || integration.name}}</span>\n      <span data-ng-if="$state.includes(\'main.{{integration.state}}\')" class="selected"></span>\n    </a>\n  </li>\n\n  <li data-ng-if="::(Auth.isAdmin())" data-ng-class="{active: $state.is(\'main.market\')}">\n    <a href="/market">\n      <i class="icon-handbag"></i>\n      <span class="title" translate>Market Place</span>\n      <span data-ng-if="$state.includes(\'main.market\')" class="selected"></span>\n    </a>\n  </li>\n  \x3c!-- END INTEGRATIONS CASE --\x3e\n  <li>\n  <a href="javascript:;" data-ng-click="activeTour.main = true" data-ng-if="::(!Auth.isAgent())">\n    <i class="icon-location-pin"></i>\n    <span class="title">{{\'APPLICATION_TAKE_A_TOUR\' | translate}}</span>\n  </a>\n  </li>\n  <li>\n    <a href="javascript:;" data-ng-click="about()">\n      <i class="icon-info"></i>\n      <span class="title">{{\'APPLICATION_ABOUT\' | translate}}</span>\n    </a>\n  </li>\n\n</ul>\n\x3c!-- END SIDEBAR MENU --\x3e\n</div>\n')
-}]);
\ No newline at end of file
diff --git a/public/app/7377769b.app.js b/public/app/7377769b.app.js
new file mode 100644
index 0000000..41dccbf
--- /dev/null
+++ b/public/app/7377769b.app.js
@@ -0,0 +1,125 @@
+a.put("app/channels/chat/room/room.directive.html",'<div class="portlet light">\n  <div class="portlet-title">\n    <div class="caption">\n      <span data-ng-if="chatRoom" class="label label-sm label-default">{{chatRoom.status}}</span>\n      <span data-ng-if="chatRoom.ChatWebsite"> | </span>\n      <span data-ng-if="chatRoom.ChatWebsite" class="caption-subject font-green-sharp bold uppercase">{{chatRoom.ChatWebsite.name | truncate: 25: \'...\': true}}</span>\n    </div>\n    <div class="actions">\n      <button class="btn btn-icon-only btn-primary" data-ng-click="addAgent(chatRoom.id)" data-ng-disabled="chatRoom.status === \'CLOSED\'">\n        <i class="fa fa-user-plus"></i>\n      </button>\n      <button class="btn btn-icon-only" data-ng-class="{\'btn-success\':chatRoom.status !== \'CLOSED\',\'grey-cascade\':chatRoom.status === \'CLOSED\'}" data-ng-click="closeRoom(chatRoom.id)" data-ng-if="chatRoom.ChatVisitors.length" data-ng-disabled="chatRoom.status === \'CLOSED\' && chatRoom.disposition">\n        <i data-ng-class="{\'fa fa-upload\':chatRoom.status !== \'CLOSED\',\'icon-target\':chatRoom.status === \'CLOSED\'}"></i>\n      </button>\n      <a href="api/chat/rooms/{{chatRoom.id}}/export" target="_blank" class="btn btn-primary btn-icon-only" data-ng-if="chatRoom" title="{{\'APPLICATION_EXPORT\' | translate}} CSV">\n        <i class="fa fa-download"></i>\n      </a>\n      <button class="btn default btn-icon-only" data-ng-if="chatRoom && chatRoom.status !== \'CLOSED\'" data-ng-click="togglePanelLeft()" title="{{\'APPLICATION_RESIZE\' | translate}}">\n        <i ng-class="panelRight == \'col-md-12\' ? \'icon-size-actual\' : \'icon-size-fullscreen\'"></i>\n      </button>\n    </div>\n  </div>\n  <div class="portlet-body">\n<div class="row">\n  <div data-ng-class="panelLeft" data-ng-show="panelLeft">\n    <div class="portlet">\n      <div class="portlet-body">\n        <div class="portlet-title line">\n          <div class="form">\n            \x3c!-- START TAGS --\x3e\n            <div class="form-group">\n              <div class="row">\n                <div class="col-md-1">\n                  <a href="#" class="btn btn-icon-only">\n                    <i class="fa fa-tags" style="color: gray;"></i>\n                  </a>\n                </div>\n                <div class="col-md-11">\n                  <ui-select multiple data-ng-model="form.tags" theme="bootstrap" on-select="onChanged(chatRoom.id)" on-remove="onChanged(chatRoom.id)">\n                    <ui-select-match placeholder="Tags...">{{$item}}</ui-select-match>\n                    <ui-select-choices repeat="tag in tags | filter:$select.search" class="">\n                      {{tag}}\n                    </ui-select-choices>\n                  </ui-select>\n                </div>\n              </div>\n            </div>\n            \x3c!-- END TAGS --\x3e\n          </div>\n        </div>\n        <v-accordion class="vAccordion--default">\n          <v-pane data-ng-if="chatRoom.ChatVisitors.length" data-ng-repeat="chatVisitor in chatRoom.ChatVisitors" expanded="true">\n            <v-pane-header>\n              <ng-letter-avatar\n              height="40"\n              width="40"\n              data="{{chatRoom.ChatVisitor.fullname}}"\n              fontsize="25"\n              avatarcustombgcolor="#B0B0B0"\n              charCount="2"\n              avatarcustomborder="border:2px solid #EA4C61"\n              shape="round"></ng-letter-avatar>\n            </v-pane-header>\n            <v-pane-content>\n              {{\'APPLICATION_ROOM_ID\' | translate}}: <p>{{chatRoom.id}}</p>\n              {{\'APPLICATION_NAME\' | translate}}: <p>{{chatRoom.ChatVisitor.fullname}}</p>\n              {{\'APPLICATION_EMAIL\' | translate}}: <p><a data-ng-click="openContact(chatRoom.ChatVisitor.email)" href="">{{chatRoom.ChatVisitor.email}}</a></p>\n              <span data-ng-if="chatRoom.ChatVisitor.labelData1">{{chatRoom.ChatVisitor.labelData1}}: <p>{{chatRoom.ChatVisitor.data1}}</p></span>\n              <span data-ng-if="chatRoom.ChatVisitor.labelData2">{{chatRoom.ChatVisitor.labelData2}}: <p>{{chatRoom.ChatVisitor.data2}}</p></span>\n              <span data-ng-if="chatRoom.ChatVisitor.labelData3">{{chatRoom.ChatVisitor.labelData3}}: <p>{{chatRoom.ChatVisitor.data3}}</p></span>\n              {{\'APPLICATION_REMOTE_ADDRESS\' | translate}}: <p>{{chatRoom.ChatVisitor.remote_address}}</p>\n              {{\'APPLICATION_BROWSER\' | translate}}: <p>{{chatRoom.ChatVisitor.browser}}</p>\n              {{\'APPLICATION_REFERER\' | translate}}:<p>{{chatRoom.ChatVisitor.referer}} - {{enquiry.ChatWebsite.name}}</p>\n              {{\'APPLICATION_OS\' | translate}}: <p>{{chatRoom.ChatVisitor.os}}</p>\n            </v-pane-content>\n          </v-pane>\n\n          <v-pane data-ng-repeat="user in chatRoom.Users | filter:{ id: \'!\' + user.id}">\n            <v-pane-header>\n              <ng-letter-avatar\n              height="40"\n              width="40"\n              data="{{user.fullname}}"\n              fontsize="25"\n              avatarcustombgcolor="#B0B0B0"\n              avatarcustomborder="border:2px solid #3399CC"\n              charCount="2"\n              shape="round"></ng-letter-avatar>\n            </v-pane-header>\n            <v-pane-content>\n              {{\'APPLICATION_NAME\' | translate}}: <p>{{user.fullname}}</p>\n              {{\'APPLICATION_ROLE\' | translate}}: <p>{{user.role}}</p>\n              {{\'APPLICATION_INTERNAL\' | translate}}: <p>{{user.internal}}</p>\n              {{\'APPLICATION_EMAIL\' | translate}}: <p><a data-ng-href="mailto:{{user.email}}">{{user.email}}</a></p>\n            </v-pane-content>\n          </v-pane>\n        </v-accordion>\n      </div>\n    </div>\n  </div>\n  <div data-ng-class="panelRight">\n    <div class="note note-info" data-ng-if="chatRoom && chatRoom.status == \'CLOSED\'">\n      <h4 class="block"><i class="icon-info"></i> {{\'MESSAGE_CHAT_ROOM_CLOSED\' | translate}}!</h4>\n      <p>\n        <strong>{{\'MESSAGE_CHAT_ROOM_CLOSED_DETAILS\' | translate}}.</strong>\n      </p>\n      <hr>\n      <p>\n        <i class="icon-target"></i> {{\'APPLICATION_DISPOSITION\' | translate}}: <strong>{{chatRoom.disposition}}</strong>\n      </p>\n      <p>\n        <i class="icon-star"></i> {{\'APPLICATION_RATING\' | translate}}: <strong>{{chatRoom.rating | ucfirst}}</strong>\n      </p>\n      <p>\n        <i class="icon-note"></i> {{\'APPLICATION_RATING_MESSAGE\' | translate}}: <strong>{{chatRoom.ratingMessage}}</strong>\n      </p>\n      <p>\n        <i class="icon-calendar"></i> {{\'APPLICATION_UPDATED_AT\' | translate}}: <strong>{{chatRoom.updatedAt | date:\'medium\'}}</strong> (<span am-time-ago="chatRoom.updatedAt"></span>)\n      </p>\n    </div>\n    <div class="portlet light bordered">\n      <div class="portlet-body">\n        <div id="chat-box" schroll-bottom="chatRoom.ChatMessages">\n        <ul class="chats">\n          <li data-ng-repeat="message in chatRoom.ChatMessages" data-ng-class="message.UserId == user.id ? \'out\' : \'in\'">\n            <div class="avatar" data-ng-class="message.ChatVisitor ? \'pretty-avatar-v\' : \'pretty-avatar\'">\n              <ng-letter-avatar\n              data-ng-if="!message.ChatVisitor"\n              height="40"\n              width="40"\n              fontsize="25"\n              data="{{message.User.fullname}}"\n              avatarcustombgcolor="#B0B0B0"\n              avatarcustomborder="border:2px solid #3399CC"\n              charCount="2"\n              shape="round"></ng-letter-avatar>\n              <ng-letter-avatar\n              data-ng-if="message.ChatVisitor"\n              height="40"\n              width="40"\n              fontsize="25"\n              data="{{message.ChatVisitor.fullname}}"\n              avatarcustombgcolor="#B0B0B0"\n              avatarcustomborder="border:2px solid #EA4C61"\n              charCount="2"\n              shape="round"></ng-letter-avatar>\n            </div>\n            <div class="message">\n              <span class="arrow"></span>\n              <a data-ng-click="message.ChatVisitor && openContact(chatRoom.ChatVisitor.email)" class="name">{{message.User.fullname || message.ChatVisitor.fullname}} </a>\n              <i class="icon-calendar" title="{{message.createdAt | date:\'MMM d, y HH:mm:ss\'}}"></i> <span am-time-ago="message.createdAt"></span>\n              <ng-emoticons emoticons-data="message.body"></ng-emoticons>\n            </div>\n          </li>\n          <li data-ng-if="chatRoom.status === \'CLOSED\'">\n            <div class="media-body" style="text-align: center;">\n              <h5 class="media-heading"><i>{{\'MESSAGE_CHAT_CLOSED\' | translate | lowercase}}</i></h5>\n            </div>\n          </li>\n        </ul>\n      </div>\n      <div class="chat-form" data-ng-if="chatRoom && isMyRoom(chatRoom.Users)">\n        <div class="input-cont">\n          <input class="form-control" type="text" placeholder="Type a message here..." ng-enter="sendMessage()" data-ng-model="message.body" data-ng-disabled="chatRoom.status === \'CLOSED\'"/>\n        </div>\n        <div class="btn-cont">\n          <span class="arrow"></span>\n          <a href="#" class="btn blue icn-only" data-ng-disabled="chatRoom.status === \'CLOSED\'" data-ng-click="sendMessage()">\n            <i class="fa fa-check icon-white"></i>\n          </a>\n        </div>\n      </div>\n      <div class="form-group chat-canned-answer-div" data-ng-if="chatRoom.status !== \'CLOSED\'" data-ng-class="{\'has-error\': forms.compose.subject.$invalid && forms.compose.$submitted}">\n        <div class="row">\n          <div class="col-md-1">\n            <a href="#" class="btn btn-icon-only">\n              <i class="fa fa-magic" style="color: gray;"></i>\n            </a>\n          </div>\n          <div class="col-md-11">\n            <input type="text"\n            data-ng-model="modelOptions.selectedAnswer"\n            uib-typeahead="key for key in getAnswers($viewValue)"\n            placeholder="Canned answers.."\n            typeahead-loading="loadingLocations"\n            typeahead-no-results="noResults"\n            typeahead-on-select="onSelect($item)"\n            class="form-control">\n            <i ng-show="loadingLocations" class="glyphicon glyphicon-refresh"></i>\n            <div ng-show="noResults">\n              <i class="glyphicon glyphicon-remove"></i> No Results Found\n            </div>\n            <span data-ng-show="forms.compose.subject.$invalid && forms.compose.$submitted" class="help-block help-block-error">\n'+"              <strong>{{'APPLICATION_WARNING' | translate}}!</strong> {{'MESSAGE_REQUIRED_FIELD' | translate}}.\n            </span>\n          </div>\n        </div>\n\n      </div>\n    </div>\n  </div>\n</div>\n</div>\n</div>\n"),a.put("app/channels/chat/room/room.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row" data-ng-init="initView()">\n  <div class="col-md-12">\n    <div class="page-bar">\n      <ul class="page-breadcrumb">\n        <li>\n          <i class="icon-rocket"></i>\n          <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n          <i class="fa fa-angle-right"></i>\n        </li>\n        <li>\n          <i class="fa fa-spinner"></i>\n          <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n          <i class="fa fa-angle-right"></i>\n        </li>\n        <li>\n          <i class="icon-bubble"></i>\n          <a href="#">{{ \'APPLICATION_CHAT\' | translate }}</a>\n          <i class="fa fa-angle-right"></i>\n        </li>\n        <li>\n          <i class="fa fa-users"></i>\n          <a href="#">{{ \'APPLICATION_INTERACTIONS\' | translate }}</a>\n        </li>\n      </ul>\n    </div>\n\n    <div class="row inbox">\n      <div class="col-md-2">\n        <ul class="inbox-nav margin-bottom-10">\n          <li data-ng-class="{active: $state.includes(\'main.channels.chat.room.internal\')}">\n            <a href="/channels/chat/room/internal/list" class="btn">\n              {{\'APPLICATION_INTERNAL\' | translate}}\n            </a>\n            <b></b>\n          </li>\n          <li data-ng-class="{active: $state.includes(\'main.channels.chat.room.external\')}">\n            <a href="/channels/chat/room/external/list" class="btn">\n              {{\'APPLICATION_EXTERNAL\' | translate}}\n            </a>\n            <b></b>\n          </li>\n          <li data-ng-class="{active: $state.includes(\'main.channels.chat.room.group\')}">\n            <a href="/channels/chat/room/group/list" class="btn">\n              {{\'APPLICATION_GROUPS\' | translate}}\n            </a>\n            <b></b>\n          </li>\n        </ul>\n      </div>\n\n      <div class="col-md-10">\n        <div class="room-content">\n          <div ui-view></div>\n        </div>\n      </div>\n    </div>\n  </div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/channels/chat/room/template.html",'<div ng-bind-html="neText" ne-hljs></div>\n<div class="ne-video" ng-if="video.host" class="fade">\n  <div class="ne-video-preview" ng-hide="nePlayVideo || !options.video.details">\n    <div class="ne-video-thumb" ng-click="nePlayVideo=!nePlayVideo">\n      <img ng-src="{{video.thumbnail}}" alt=""/>\n      <i class="fa fa-play-circle-o"></i>\n    </div>\n    <div class="ne-video-detail">\n      <div class="ne-video-title">\n        <a ng-href="{{video.url}}">{{video.title}}</a>\n      </div>\n      <div class="ne-video-desc">\n        {{video.description}}\n      </div>\n      <div class="ne-video-stats">\n        <span><i class="fa fa-eye"></i> {{video.views}}</span>\n        <span><i class="fa fa-heart"></i> {{video.likes}}</span>\n      </div>\n    </div>\n  </div>\n  <div class="ne-video-player" ng-if="nePlayVideo || !(options.video.details)">\n    <iframe ng-src="{{video.embedSrc}}" frameBorder="0" width="{{video.width}}" height="{{video.height}}" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>\n  </div>\n</div>\n<div class="ne-video" ng-if="video.basic">\n  <div class="ne-video-player">\n    <div class="player">\n      <video ng-src="{{video.basic}}" controls></video>\n    </div>\n  </div>\n</div>\n<div ng-init="neImageLong=false" ng-class="{false:\'ne-image\', true:\'ne-image ne-image-long\'}[neImageLong]"\nng-if="image.url">\n<div class="ne-image-wrapper">\n  <img ng-src="{{image.url}}" ng-click="neImageLong=!neImageLong" alt=""/>\n</div>\n</div>\n\x3c!-- <div class="ne-pdf" ng-if="pdf.url">\n  <div class="ne-pdf-preview" ng-hide="neShowPdf">\n    <div class="ne-pdf-icon">\n      <i class="fa fa-file-pdf-o"></i>\n    </div>\n    <div class="ne-pdf-detail" >\n      <div class="ne-pdf-title">\n        <a href="">{{pdf.url}}</a>\n      </div>\n      <div class="ne-pdf-view">\n\n        <button><i class="fa fa-download"></i> <a ng-href="{{pdf.url}}" target="_blank">Download</a></button>\n        <button ng-click="neShowPdf=!neShowPdf"><i class="fa fa-eye"></i> View PDF</button>\n\n      </div>\n    </div>\n  </div>\n  <div class="ne-pdf-viewer" ng-if="neShowPdf" ng-show="neShowPdf">\n    <iframe ng-src="{{pdf.url}}" frameBorder="0"></iframe>\n  </div>\n\n</div>\n<div class="ne-audio" ng-if="audio.url">\n  <audio ng-src="{{audio.url}}" controls></audio>\n</div> --\x3e\n'),a.put("app/channels/chat/room/view.tags.modal.html",'<div class="modal-header" data-ng-init="initModal()">\n  <h3 class="modal-title">{{ \'APPLICATION_TAGS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  \x3c!-- START TRANSPORT --\x3e\n  <div class="form-group">\n    <form name="form" novalidate>\n      \x3c!-- START TAGS --\x3e\n      <div class="form-group">\n        <ui-select multiple data-ng-model="item.tags" theme="bootstrap">\n          <ui-select-match placeholder="{{\'APPLICATION_TAGS\' | translate}}">{{$item}}</ui-select-match>\n          <ui-select-choices repeat="tag in tags | filter: $select.search">\n            {{tag}}\n          </ui-select-choices>\n        </ui-select>\n      </div>\n      \x3c!-- END TAGS --\x3e\n    </form>\n  </div>\n  \x3c!-- END TRANSPORT --\x3e\n</div>\n<div class="modal-footer">\n  <button type="button" class="btn" data-ng-class="button.class" data-ng-click="button.click()"data-ng-repeat="button in modal.buttons">{{button.text | translate}}</button>\n  \x3c!-- <button class="btn btn-success" type="button" data-ng-click="ok()">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" data-ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button> --\x3e\n</div>\n'),a.put("app/channels/chat/visitor/list/list.html",'<div class="row">\n\t<div class="col-md-12">\n\t\t\t<div class="page-bar">\n\t\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<i class="fa fa-spinner"></i>\n\t\t\t\t\t\t<a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n\t\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<i class="icon-bubble"></i>\n\t\t\t\t\t\t<a href="#">{{ \'APPLICATION_CHAT\' | translate }}</a>\n\t\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<i class="icon-question"></i>\n\t\t\t\t\t\t<a href="/channels/chat/visitors/list">{{ \'APPLICATION_VISITORS\' | translate }}</a>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t</div>\n</div>\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row">\n\t<div class="col-md-12">\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t<div class="portlet light bordered" data-ng-init="initView()">\n\t\t\t<div class="portlet-title">\n\t\t\t\t<div class="caption font-green-sharp">\n\t\t\t\t\t<i class="icon-question font-green-sharp"></i>\n\t\t\t\t\t<span class="caption-subject">{{ \'APPLICATION_VISITORS\' | translate }}</a> </span>\n\t\t\t\t</div>\n\t\t\t\t<div class="actions">\n\t\t\t\t\t<div class="btn-group" data-ng-show="id.length">\n\t\t\t\t\t\t<a class="btn red" href="#" data-ng-click="deleteItems()">\n\t\t\t\t\t\t\t<i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t<div ui-grid="gridOptions"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter ui-grid-draggable-rows class="ui-grid">\n\t\t\t\t\t<div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/channels/chat/visitor/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="fa fa-spinner"></i>\n\t\t\t\t\t<a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-bubble"></i>\n\t\t\t\t\t<a href="#">{{ \'APPLICATION_CHAT\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-question"></i>\n\t\t\t\t\t<a href="/channels/chat/visitors/list">{{ \'APPLICATION_VISITORS\' | translate }}</a>\n\t\t\t\t\t<i  class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li data-ng-show="chatVisitor">\n\t\t\t\t\t<a href="#">{{chatVisitor.fullname}}</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t<div class="profile-sidebar">\n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t<div class="portlet light profile-sidebar-portlet">\n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t<div class="profile-image">\n\t\t\t\t\t<img data-ng-src="assets/images/media/visitor.png" class="img-responsive">\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t<div class="profile-usertitle">\n\t\t\t\t\t<div class="profile-usertitle-name">\n\t\t\t\t\t\t{{chatVisitor.fullname}}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t<div class="profile-usermenu">\n\t\t\t\t\t<ul class="nav">\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.channels.chat.visitors.view.profile\')}">\n\t\t\t\t\t\t\t<a data-ng-href="/channels/chat/visitors/view/{{chatVisitor.id}}/profile">\n\t\t\t\t\t\t\t<i class="icon-tag"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_PROFILE\' | translate}} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t</div>\n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t</div>\n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t<div ui-view class="profile-content">\n\t\t</div>\n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/channels/chat/visitor/view/view.profile.html",'<div class="row">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_PROFILE\' | translate}}</span>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body" data-ng-init="initView()">\n\t\t\t\t<div>\n\t\t\t\t\t<h4 class="profile-desc-title">{{chatVisitor.email}}</h4>\n\t\t\t\t\t<div class="margin-top-20 profile-desc-link">\n\t\t\t\t\t\t<i class="icon-magnifier"></i>\n\t\t\t\t\t\t<a href="#" class="inactive-link">{{chatVisitor.origin}}</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="margin-top-20 profile-desc-link">\n\t\t\t\t\t\t<i class="icon-globe"></i>\n\t\t\t\t\t\t<a href="#" class="inactive-link">{{chatVisitor.remote_address}}</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="margin-top-20 profile-desc-link">\n\t\t\t\t\t\t<i class="icon-user"></i>\n\t\t\t\t\t\t<a href="#" class="inactive-link">{{chatVisitor.user_agent | truncate: 50: \'...\'}}</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="margin-top-20 profile-desc-link">\n\t\t\t\t\t\t<i class="icon-flag"></i>\n\t\t\t\t\t\t<a href="#" class="inactive-link">{{chatVisitor.visitor_language}}</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="margin-top-20 profile-desc-link">\n\t\t\t\t\t\t<i class="icon-home"></i>\n\t\t\t\t\t\t<a href="#" class="inactive-link">{{chatVisitor.referer}}</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="margin-top-20 profile-desc-link">\n\t\t\t\t\t\t<i class="icon-cursor"></i>\n\t\t\t\t\t\t<a href="#" class="inactive-link">{{chatVisitor.browser}}</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="margin-top-20 profile-desc-link">\n\t\t\t\t\t\t<i class="icon-screen-desktop"></i>\n\t\t\t\t\t\t<a href="#" class="inactive-link">{{chatVisitor.os}}</a>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/channels/chat/website/list/list.html",'<div class="row">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="fa fa-spinner"></i>\n\t\t\t\t\t<a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-bubble"></i>\n\t\t\t\t\t<a href="#">{{ \'APPLICATION_CHAT\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-globe"></i>\n\t\t\t\t\t<a href="#">{{ \'APPLICATION_WEB_SITES\' | translate }}</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\t</div>\n</div>\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row">\n\t<div class="col-md-12">\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t<div class="portlet light bordered" data-ng-init="initView()">\n\t\t\t<div class="portlet-title">\n\t\t\t\t<div class="caption font-green-sharp">\n\t\t\t\t\t<i class="icon-notebook font-green-sharp"></i>\n\t\t\t\t\t<span class="caption-subject">{{ \'APPLICATION_WEB_SITES\' | translate }}</a> </span>\n\t\t\t\t</div>\n\t\t\t\t<div class="actions">\n\t\t\t\t\t<div class="btn-group" data-ng-show="id.length">\n\t\t\t\t\t\t<a class="btn red" href="#" data-ng-click="deleteItems()">\n\t\t\t\t\t\t\t<i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="btn-group">\n\t\t\t\t\t\t<a class="btn green-jungle" href="/channels/chat/websites/wizard">\n\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_WEB_SITE\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t<div ui-grid="gridOptions"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter ui-grid-draggable-rows class="ui-grid">\n\t\t\t\t\t<div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/channels/chat/website/view/action/list/list.html",'<div class="row" data-ng-init="initActons()">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_ACTIONS\' | translate}}</span>\n\t\t\t\t</div>\n\t\t\t\t<div class="actions">\n\t\t\t\t\t<div class="btn-group" data-ng-show="id.length">\n\t\t\t\t\t\t<a class="btn red" href="#" data-ng-click="deleteItems()">\n\t\t\t\t\t\t\t<i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="btn-group">\n\t\t\t\t\t\t<a class="btn green-jungle" href="/channels/chat/websites/view/{{chatWebsite.id}}/actions/wizard" data-toggle="dropdown">\n\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACTION\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t<div ui-grid="gridOptions"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter ui-grid-draggable-rows class="ui-grid">\n\t\t\t\t\t<div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),
+a.put("app/channels/chat/website/view/form/view/view.html",'<div class="row" data-ng-init="getChatWebsiteFields(\'online\');getChatWebsiteFields(\'offline\');">\n  <div class="col-md-12">\n    <div class="portlet light">\n      <div class="portlet-title tabbable-line">\n        <ul class="nav nav-tabs">\n          <li class="active">\n            <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_ONLINE\' | translate}}</a>\n          </li>\n          <li>\n            <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_OFFLINE\' | translate}}</a>\n          </li>\n        </ul>\n      </div>\n    <div class="portlet-body">\n      <div class="row">\n        <div class="col-md-12">\n          <div class="tab-content">\n            <div class="tab-pane active" id="tab_1_1">\n              <div class="row">\n                <div class="col-md-6">\n                  <div class="portlet">\n                    <div class="portlet-title">\n                      <div class="caption font-green-sharp">\n                        <i class="icon-book-open font-green-sharp"></i>\n                        <span class="caption-subject">{{ \'APPLICATION_FIELDS_SELECTED\' | translate }}</span>\n                      </div>\n                      <div class="actions">\n                        <div class="btn-group">\n                          <a class="btn green-jungle" href="#" data-ng-click="saveForm(\'online\');">\n                            <i class="fa fa-check"></i> {{ \'APPLICATION_SAVE\' | translate }}\n                          </a>\n                        </div>\n                      </div>\n                    </div>\n                    <div class="portlet-body">\n                      <div fb-builder="online"></div>\n                    </div>\n                  </div>\n                </div>\n                <div class="col-md-6">\n                  <div class="portlet">\n                    <div class="portlet-title">\n                      <div class="caption font-green-sharp">\n                        <i class="icon-book-open font-green-sharp"></i>\n                        <span class="caption-subject">{{ \'APPLICATION_FIELDS_AVAILABLE\' | translate }}</span>\n                      </div>\n                    </div>\n                    <div class="portlet-body">\n                      <div fb-components></div>\n                    </div>\n                  </div>\n                </div>\n              </div>\n            </div>\n            <div class="tab-pane" id="tab_1_2">\n              <div class="row">\n                <div class="col-md-6">\n                  <div class="portlet">\n                    <div class="portlet-title">\n                      <div class="caption font-green-sharp">\n                        <i class="icon-book-open font-green-sharp"></i>\n                        <span class="caption-subject">{{ \'APPLICATION_FIELDS_SELECTED\' | translate }}</span>\n                      </div>\n                      <div class="actions">\n                        <div class="btn-group">\n                          <a class="btn green-jungle" href="#" data-ng-click="saveForm(\'offline\');">\n                            <i class="fa fa-check"></i> {{ \'APPLICATION_SAVE\' | translate }}\n                          </a>\n                        </div>\n                      </div>\n                    </div>\n                    <div class="portlet-body">\n                      <div fb-builder="offline"></div>\n                    </div>\n                  </div>\n                </div>\n                <div class="col-md-6">\n                  <div class="portlet">\n                    <div class="portlet-title">\n                      <div class="caption font-green-sharp">\n                        <i class="icon-book-open font-green-sharp"></i>\n                        <span class="caption-subject">{{ \'APPLICATION_FIELDS_AVAILABLE\' | translate }}</span>\n                      </div>\n                    </div>\n                    <div class="portlet-body">\n                      <div fb-components></div>\n                    </div>\n                  </div>\n                </div>\n              </div>\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n  </div>\n</div>\n</div>\n'),a.put("app/channels/chat/website/view/hooks/view/view.html",'<div class="row" data-ng-init="initView()">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_HOOKS\' | translate}}</span>\n\t\t\t\t</div>\n\t\t\t\t<ul class="nav nav-tabs">\n\t\t\t\t\t<li class="active">\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_ACCEPT\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li >\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_REJECT\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li >\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_CLOSE\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t<div class="tab-content">\n\t\t\t\t\t\x3c!-- ACCEPT TAB --\x3e\n\t\t\t\t\t<div class="tab-pane active" id="tab_1_1">\n\t\t\t\t\t\t<form name="forms.accept" data-ng-submit="forms.accept.$valid && updateItem()" novalidate>\n\t\t\t\t\t\t\t\x3c!-- START ACCEPT URL --\x3e\n\t\t\t\t\t\t\t\t<div class="row">\n\t\t\t\t\t\t\t\t\t<div class="form-group col-md-4" data-ng-class="{\'has-error\': (forms.accept.method.$touched || forms.accept.$submitted) && forms.accept.method.$invalid}">\n\t\t\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_METHOD\' | translate}}</label>\n\t\t\t\t\t\t\t\t\t\t<ui-select data-ng-model="account.acceptMethod" name="method" theme="bootstrap">\n\t\t\t\t\t\t\t\t\t\t\t<ui-select-match placeholder="{{\'APPLICATION_METHOD\' | translate}}">{{$select.selected.name | uppercase}}</ui-select-match>\n\t\t\t\t\t\t\t\t\t\t\t<ui-select-choices repeat="type.value as type in types | filter: $select.search">\n\t\t\t\t\t\t\t\t\t\t\t\t<div ng-bind-html="type.name | highlight: $select.search | uppercase" ></div>\n\t\t\t\t\t\t\t\t\t\t\t</ui-select-choices>\n\t\t\t\t\t\t\t\t\t\t</ui-select>\n\t\t\t\t\t\t\t\t\t\t<span data-ng-show="(forms.accept.method.$touched || forms.accept.$submitted) && forms.accept.method.$invalid && forms.accept.method.$error.required" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t<div  class="form-group col-md-8" data-ng-class="{\'has-error\': (forms.accept.url.$touched || forms.accept.$submitted) && forms.accept.url.$invalid}">\n\t\t\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_URL\' | translate}}</label>\n\t\t\t\t\t\t\t\t\t\t<input type="url" name="url" placeholder="{{\'APPLICATION_URL\' | translate}}" class="form-control" data-ng-model="account.acceptUrl"  ng-required="account.acceptMethod"/>\n\t\t\t\t\t\t\t\t\t\t<span data-ng-show="(forms.accept.url.$touched || forms.accept.$submitted) && forms.accept.url.$invalid && forms.accept.url.$error.required" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\x3c!-- END ACCEPT URL--\x3e\n\t\t\t\t\t\t\t\t\x3c!-- START ACTIONS--\x3e\n\t\t\t\t\t\t\t\t\x3c!-- START PAUSE --\x3e\n\t\t\t\t\t\t\t\t<div class="row" ng-repeat = "action in account.actions">\n\t\t\t\t\t\t\t\t\t<div  ng-switch="action.action">\n\t\t\t\t\t\t\t\t\t\t\t<div ng-switch-when="pause">\n\t\t\t\t\t\t\t\t\t\t\t\t<div  class="form-group col-md-4">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_PAUSE\' | translate}}</label></br>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tbs-switch\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdata-ng-change="resetActionData(action)"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdata-ng-model="action.enabled"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype="checkbox"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tswitch-active="{{ isActive }}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tswitch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tswitch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tswitch-on-color="{{ onColor }}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tswitch-off-color="{{ offColor }}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tswitch-animate="{{ animate }}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tswitch-size="{{ size }}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tswitch-label="{{ label }}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tswitch-icon="{{ icon }}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tswitch-radio-off="{{ radioOff }}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tswitch-label-width="{{ labelWidth }}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tswitch-handle-width="{{ handleWidth }}">\n\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div ng-if="action.enabled" class="form-group col-md-8">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_TYPE\' | translate}}</label>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ui-select  name="action" data-ng-model="action.type"  theme="bootstrap" >\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ui-select-match placeholder="{{\'APPLICATION_TYPE\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ui-select-choices repeat=" pause.name as pause in pauses | filter: $select.search">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div ng-bind-html="pause.name | highlight: $select.search | uppercase" ></div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ui-select-choices>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ui-select>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t  \t</div>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\x3c!-- END ACTION --\x3e\n\t\t\t\t\t\t\t\t<input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END ACCEPT TAB --\x3e\n\t\t\t\t\t\x3c!-- START REJECT TAB --\x3e\n\t\t\t\t\t<div class="tab-pane" id="tab_1_2">\n\t\t\t\t\t\t<form name="forms.reject" data-ng-submit="forms.reject.$valid && updateItem()" novalidate>\n\t\t\t\t\t\t\t\x3c!-- START REJECT URL --\x3e\n\t\t\t\t\t\t\t<div class="row">\n\t\t\t\t\t\t\t\t<div class="form-group col-md-4" data-ng-class="{\'has-error\': (forms.reject.method.$touched || forms.reject.$submitted) && forms.reject.method.$invalid}">\n\t\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_METHOD\' | translate}}</label>\n\t\t\t\t\t\t\t\t\t<ui-select data-ng-model="account.rejectMethod" name="method" theme="bootstrap" >\n\t\t\t\t\t\t\t\t\t\t<ui-select-match placeholder="{{\'APPLICATION_METHOD\' | translate}}">{{$select.selected.name | uppercase}}</ui-select-match>\n\t\t\t\t\t\t\t\t\t\t<ui-select-choices repeat="type.value as type in types | filter: $select.search">\n\t\t\t\t\t\t\t\t\t\t\t<div ng-bind-html="type.name | highlight: $select.search | uppercase" ></div>\n\t\t\t\t\t\t\t\t\t\t</ui-select-choices>\n\t\t\t\t\t\t\t\t\t</ui-select>\n\t\t\t\t\t\t\t\t\t<span data-ng-show="(forms.reject.method.$touched || forms.reject.$submitted) && forms.reject.method.$invalid && forms.reject.method.$error.required" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="form-group col-md-8" data-ng-class="{\'has-error\': (forms.reject.url.$touched || forms.reject.$submitted) && forms.reject.url.$invalid}">\n\t\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_URL\' | translate}}</label>\n\t\t\t\t\t\t\t\t\t<input type="url" name="url" placeholder="{{\'APPLICATION_URL\' | translate}}" class="form-control" data-ng-model="account.rejectUrl" ng-required="account.rejectMethod"/>\n\t\t\t\t\t\t\t\t\t<span data-ng-show="(forms.reject.url.$touched || forms.reject.$submitted) && forms.reject.url.$invalid && forms.reject.url.$error.required" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t\t\x3c!-- END REJECT URL --\x3e\n\t\t\t\t\t\t\t\t<input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END REJECT TAB --\x3e\n\t\t\t\t\t\x3c!-- START CLOSE TAB --\x3e\n\t\t\t\t\t<div class="tab-pane" id="tab_1_3">\n\t\t\t\t\t\t<form name="forms.close" data-ng-submit="forms.close.$valid && updateItem()" novalidate>\n\t\t\t\t\t\t\t<div class="row">\n\t\t\t\t\t\t\t\t<div class="form-group col-md-4" data-ng-class="{\'has-error\': (forms.close.method.$touched || forms.close.$submitted) && forms.close.method.$invalid}">\n\t\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_METHOD\' | translate}}</label>\n\t\t\t\t\t\t\t\t\t<ui-select data-ng-model="account.closeMethod" name="method" theme="bootstrap" >\n\t\t\t\t\t\t\t\t\t\t<ui-select-match placeholder="{{\'APPLICATION_METHOD\' | translate}}">{{$select.selected.name | uppercase}}</ui-select-match>\n\t\t\t\t\t\t\t\t\t\t<ui-select-choices repeat="type.value as type in types | filter: $select.search">\n\t\t\t\t\t\t\t\t\t\t\t<div ng-bind-html="type.name | highlight: $select.search | uppercase" ></div>\n\t\t\t\t\t\t\t\t\t\t</ui-select-choices>\n\t\t\t\t\t\t\t\t\t</ui-select>\n\t\t\t\t\t\t\t\t\t<span data-ng-show="(forms.close.method.$touched || forms.close.$submitted) && forms.close.method.$invalid && forms.close.method.$error.required" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="form-group col-md-8" data-ng-class="{\'has-error\': (forms.close.url.$touched || forms.close.$submitted) && forms.close.url.$invalid}">\n\t\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_URL\' | translate}}</label>\n\t\t\t\t\t\t\t\t\t<input type="url" name="url" placeholder="{{\'APPLICATION_URL\' | translate}}" class="form-control" data-ng-model="account.closeUrl" ng-required="account.closeMethod"/>\n\t\t\t\t\t\t\t\t\t<span data-ng-show="(forms.close.url.$touched || forms.close.$submitted) && forms.close.url.$invalid && forms.close.url.$error.required" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END CLOSE TAB --\x3e\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/channels/chat/website/view/proactive/list/list.create.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{title}}</h3>\n</div>\n<div class="modal-body">\n  <form name="form" novalidate>\n\n    \x3c!-- START NAME --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.name.$touched || form.$submitted) && form.name.$invalid}">\n      <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n      <span data-ng-show="(form.name.$touched || form.$submitted) && form.name.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END NAME --\x3e\n\n    \x3c!-- START TYPE --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.type.$touched || form.$submitted) && form.type.$invalid}">\n      <label class="control-label">{{\'APPLICATION_TYPE\' | translate}}</label>\n      <ui-select name="type" ng-model="item.type" theme="bootstrap" ng-disabled="disabled">\n        <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n        <ui-select-choices repeat="item.type as item in possibleType | filter: $select.search">\n          <div ng-bind-html="item.title | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n    </div>\n    \x3c!-- END TYPE --\x3e\n\n    \x3c!-- START SELECTOR --\x3e\n    <div class="form-group" data-ng-if="item.type === \'mouseOver\'" data-ng-class="{\'has-error\': (form.selector.$touched || form.$submitted) && form.selector.$invalid}">\n      <label class="control-label">{{\'APPLICATION_SELECTOR\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="selector" placeholder="{{\'APPLICATION_SELECTOR\' | translate}}" class="form-control" data-ng-model="item.selector" required/>\n      <span data-ng-show="(form.name.$touched || form.$submitted) && form.name.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END SELECTOR --\x3e\n\n    \x3c!-- START TIMEOUT --\x3e\n    <div class="form-group" data-ng-if="item.type === \'timeout\'" data-ng-class="{\'has-error\': (form.timeout.$touched || form.$submitted) && form.timeout.$invalid}">\n      <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="number" name="timeout" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}}" class="form-control" data-ng-model="item.timeout" min="0" required/>\n      <span data-ng-show="(form.name.$touched || form.$submitted) && form.name.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END TIMEOUT --\x3e\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="save()" ng-disabled="form.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/channels/chat/website/view/proactive/list/list.html",'<div class="row" data-ng-init="initProactiveActions()">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_PROACTIVE_ACTIONS\' | translate}}</span>\n\t\t\t\t</div>\n\t\t\t\t<div class="actions">\n\t\t\t\t\t<div class="btn-group" data-ng-show="id.length">\n\t\t\t\t\t\t<a class="btn red" href="#" data-ng-click="deleteItems()">\n\t\t\t\t\t\t\t<i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="btn-group">\n\t\t\t\t\t\t<a class="btn green-jungle" href="#" data-toggle="dropdown" data-ng-click="createItem()">\n\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_PROACTIVE_ACTION\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t<div ui-grid="gridOptions"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter ui-grid-draggable-rows class="ui-grid">\n\t\t\t\t\t<div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/channels/chat/website/view/setting/view/view.html",'<div class="row">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_SETTINGS\' | translate}}</span>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body" data-ng-init="initView()">\n\t\t\t\t\t\t<form name="forms.info" data-ng-submit="forms.info.$valid && updateItemChatWebsite()" novalidate>\n\t\t\t\t\t\t\t\x3c!-- START LIST --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-if="license.cm">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_LIST\' | translate}}</label>\n\t\t\t\t\t\t\t\t\t<div class="input-group">\n\n\t\t\t\t\t\t\t\t\t\t<ui-select data-ng-model="chatWebsite.ListId" name="list" theme="bootstrap">\n\t\t\t\t\t\t\t\t\t\t\t<ui-select-match placeholder="{{\'APPLICATION_LIST\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t\t\t\t\t\t\t\t\t\t\t<ui-select-choices repeat="list.id as list in lists | filter: $select.search">\n\t\t\t\t\t\t\t\t\t\t\t\t<div ng-bind-html="list.name | highlight: $select.search"></div>\n\t\t\t\t\t\t\t\t\t\t\t</ui-select-choices>\n\t\t\t\t\t\t\t\t\t\t</ui-select>\n\n\t\t\t\t\t\t\t\t\t\t<span class="input-group-btn">\n\t\t\t\t\t\t\t\t\t\t\t<button type="button" data-ng-click="chatWebsite.ListId = null" class="btn btn-default">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class="glyphicon glyphicon-trash"></span>\n\t\t\t\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t\t\t\t</span>\n\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END LIST --\x3e\n\t\t\t\t\t\t\t<input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n\t\t\t\t\t\t</form>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),
+a.put("app/contactmanager/contact/list/copy.modal.html",'<div class="modal-header" data-ng-init="getLists()">\n  <h3 class="modal-title">{{ \'APPLICATION_COPY_CONTACT\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <form name="forms.copy" novalidate>\n        \x3c!-- START LIST --\x3e\n        <div class="form-group" data-ng-class="{\'has-error\': forms.csv.ListId.$invalid && forms.csv.$submitted}">\n          <label class="control-label">{{\'APPLICATION_LIST\' | translate}}</label>\n          <ui-select data-ng-model="item.ListId" theme="bootstrap" name="ListId" data-ng-disabled="disabled" data-ng-change="getCustomFields()" required>\n            <ui-select-match placeholder="{{ \'APPLICATION_LIST\' | translate }}">{{$select.selected.name}}</ui-select-match>\n            <ui-select-choices repeat="list.id as list in lists | filter: $select.search">\n              <div ng-bind-html="list.name | highlight: $select.search"></div>\n            </ui-select-choices>\n          </ui-select>\n          <span data-ng-show="forms.csv.ListId.$invalid && forms.csv.$submitted" class="help-block help-block-error">\n            <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n          </span>\n        </div>\n        \x3c!-- END LIST --\x3e\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.copy.$invalid || !forms.copy.ListId">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/contactmanager/contact/list/import.modal.html",'<div class="modal-header" data-ng-init="getLists();getCompanies();">\n  <h3 class="modal-title">{{ \'APPLICATION_IMPORT_FROM_CSV\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <form name="forms.csv" novalidate>\n    <div class="row">\n      <div class="col-md-6">\n        \x3c!-- START LIST --\x3e\n        <div class="form-group" data-ng-class="{\'has-error\': forms.csv.ListId.$invalid && forms.csv.$submitted}">\n          <label class="control-label">{{\'APPLICATION_LIST\' | translate}}</label>\n          <ui-select data-ng-model="item.ListId" theme="bootstrap" name="ListId" data-ng-disabled="disabled" data-ng-change="getCustomFields()">\n            <ui-select-match placeholder="{{ \'APPLICATION_LIST\' | translate }}">{{$select.selected.name}}</ui-select-match>\n            <ui-select-choices repeat="list.id as list in lists | filter: $select.search">\n              <div ng-bind-html="list.name | highlight: $select.search"></div>\n            </ui-select-choices>\n          </ui-select>\n          <span data-ng-show="forms.csv.ListId.$invalid && forms.csv.$submitted" class="help-block help-block-error">\n            <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n          </span>\n        </div>\n        \x3c!-- END LIST --\x3e\n\n        \x3c!-- START FIRSTNAME --\x3e\n        <div class="form-group" data-ng-class="{\'has-error\': (forms.csv.firstName.$touched || forms.general.$submitted) && forms.csv.firstName.$invalid}">\n          <label class="control-label">{{\'APPLICATION_FIRSTNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n          <ui-select data-ng-model="item.firstName" theme="bootstrap" name="firstName" data-ng-disabled="disabled" required>\n            <ui-select-match allow-clear placeholder="{{ \'APPLICATION_FIRSTNAME\' | translate }}">{{$select.selected}}</ui-select-match>\n            <ui-select-choices repeat="index in indexes | filter: $select.search">\n              <div ng-bind-html="index | highlight: $select.search"></div>\n            </ui-select-choices>\n          </ui-select>\n          <span data-ng-show="(forms.csv.firstName.$touched || forms.csv.$submitted) && forms.csv.firstName.$error.required" class="help-block help-block-error">\n            <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n          </span>\n        </div>\n        \x3c!-- END FIRSTNAME --\x3e\n\n        \x3c!-- START LASTNAME --\x3e\n        <div class="form-group" data-ng-class="{\'has-error\': forms.csv.lastName.$invalid && forms.csv.$submitted}">\n          <label class="control-label">{{\'APPLICATION_LASTNAME\' | translate}}</label>\n          <ui-select data-ng-model="item.lastName" theme="bootstrap" name="lastName" data-ng-disabled="disabled">\n            <ui-select-match allow-clear placeholder="{{ \'APPLICATION_LASTNAME\' | translate }}">{{$select.selected}}</ui-select-match>\n            <ui-select-choices repeat="index in indexes | filter: $select.search">\n              <div ng-bind-html="index | highlight: $select.search"></div>\n            </ui-select-choices>\n          </ui-select>\n          <span data-ng-show="forms.csv.lastName.$invalid && forms.csv.$touched" class="help-block help-block-error">\n            <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n          </span>\n        </div>\n        \x3c!-- END LASTNAME --\x3e\n\n    \x3c!-- START STREET --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.street.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_STREET\' | translate}}</label>\n      <ui-select data-ng-model="item.street" theme="bootstrap" name="street" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_STREET\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.street.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END STREET --\x3e\n\n    \x3c!-- START POSTALCODE --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.postalCode.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_POSTALCODE\' | translate}}</label>\n      <ui-select data-ng-model="item.postalCode" theme="bootstrap" name="postalCode" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_POSTALCODE\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.postalCode.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END POSTALCODE --\x3e\n\n    \x3c!-- START CITY --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.city.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_CITY\' | translate}}</label>\n      <ui-select data-ng-model="item.city" theme="bootstrap" name="city" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_CITY\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.city.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END CITY --\x3e\n\n    \x3c!-- START PHONE --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.phone.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}</label>\n      <ui-select data-ng-model="item.phone" theme="bootstrap" name="phone" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_PHONE\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.phone.$invalid && forms.phone.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END PHONE --\x3e\n\n    \x3c!-- START MOBILE --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.mobile.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_MOBILE\' | translate}}</label>\n      <ui-select data-ng-model="item.mobile" theme="bootstrap" name="mobile" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_MOBILE\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.mobile.$invalid && forms.mobile.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END MOBILE --\x3e\n\n  </div>\n  <div class="col-md-6">\n\n    \x3c!-- START COUNTRY --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.country.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_COUNTRY\' | translate}}</label>\n      <ui-select data-ng-model="item.country" theme="bootstrap" name="country" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_COUNTRY\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.country.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END COUNTRY --\x3e\n\n    \x3c!-- START DATEOFBIRTH --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.dateOfBirth.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_DATEOFBIRTH\' | translate}}</label>\n      <ui-select data-ng-model="item.dateOfBirth" theme="bootstrap" name="dateOfBirth" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_DATEOFBIRTH\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.dateOfBirth.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END DATEOFBIRTH --\x3e\n\n    \x3c!-- START TAGS --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.tags.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_TAGS\' | translate}}</label>\n      <ui-select multiple data-ng-model="item.tags" theme="bootstrap" name="tags" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_TAGS\' | translate }}">{{$item}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.tags.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END TAGS --\x3e\n\n    \x3c!-- START DESCRIPTION --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.description.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n      <ui-select data-ng-model="item.description" theme="bootstrap" name="description" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_DESCRIPTION\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.description.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END DESCRIPTION --\x3e\n\n    \x3c!-- START FAX --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.fax.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_FAX\' | translate}}</label>\n      <ui-select data-ng-model="item.fax" theme="bootstrap" name="fax" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_FAX\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.fax.$invalid && forms.fax.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END FAX --\x3e\n\n    \x3c!-- START EMAIL --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.email.$invalid && forms.general.$submitted}">\n      <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}</label>\n      <ui-select data-ng-model="item.email" theme="bootstrap" name="email" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_EMAIL\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.email.$invalid && forms.csv.$submitted" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END EMAIL --\x3e\n\n    \x3c!-- START COMPANY --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.CompanyId.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_COMPANY\' | translate}}</label>\n      <ui-select data-ng-model="item.CompanyId" theme="bootstrap" name="CompanyId" data-ng-disabled="!companies.length">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_COMPANY\' | translate }}">{{$select.selected.name}}</ui-select-match>\n        <ui-select-choices repeat="company.id as company in companies | filter: $select.search">\n          <div ng-bind-html="company.name | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <div class="note note-warning" data-ng-hide="companies.length">\n        <h4 class="block">Warning!</h4>\n        <p>\n          {{ \'MESSAGE_NO_COMPANIES_AVAILABLE\' | translate }}\n        </p>\n      </div>\n      <span data-ng-show="forms.csv.CompanyId.$invalid && forms.csv.$submitted" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END COMPANY --\x3e\n\n  </div>\n  </div>\n\n  \x3c!-- START CUSTOMFIELDS --\x3e\n  <div data-ng-repeat="customField in customFields">\n    <div class="form-group" data-ng-class="{\'has-error\': (forms.csv[customField.name].$touched || forms.general.$submitted) && forms.csv[customField.name].$invalid}">\n      <label class="control-label">{{customField.alias}}<span data-ng-if="customField.required" class="required" aria-required="true">*</span></label>\n      <ui-select data-ng-model="item[customField.name]" theme="bootstrap" name="{{customField.name}}" data-ng-disabled="disabled" data-ng-required="customField.required">\n        <ui-select-match allow-clear placeholder="{{customField.alias}}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="(forms.csv[customField.name].$touched || forms.csv.$submitted) && forms.csv[customField.name].$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n  </div>\n  \x3c!-- END CUSTOMFIELDS --\x3e\n\n  <div>\n    <p>{{\'APPLICATION_IMPORT_SUCCEEDED\' | translate}}: {{import.succeeded}}/{{csvLength}}</p>\n    <div class="progress progress-sm" style="">\n      <div class="progress-bar progress-bar-info" role="progressbar" ng-style="{ \'width\': import.success + \'%\' }"></div>\n    </div>\n  </div>\n  <div>\n    <p>{{\'APPLICATION_IMPORT_FAILED\' | translate}}: {{import.failed}}/{{csvLength}}</p>\n    <div class="progress progress-sm" style="">\n      <div class="progress-bar progress-bar-danger" role="progressbar" ng-style="{ \'width\': import.fail + \'%\' }"></div>\n    </div>\n  </div>\n  <div data-ng-if="failedRows">\n  <p>{{\'APPLICATION_FAILED_ROWS\' | translate}}:</p>\n  <div class="failed-contacts">{{failedRows}}</div>\n</div>\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="start()" ng-disabled="forms.csv.$invalid || submitted">{{ \'APPLICATION_SUBMIT\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="close()" data-ng-if="!importing">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="stop()" data-ng-if="importing">{{ \'APPLICATION_STOP\' | translate }}</button>\n</div>\n'),a.put("app/contactmanager/contact/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="fa fa-users"></i>\n\t\t\t\t\t<a href="#">{{ \'APPLICATION_CONTACT_MANAGER\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="fa fa-users"></i>\n\t\t\t\t\t<a href="/contactmanager/contacts/list">{{ \'APPLICATION_CONTACTS\' | translate }}</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t<div class="portlet light bordered" data-ng-init="initView()">\n\t\t\t<div class="portlet-title">\n\t\t\t\t<div class="caption font-green-sharp">\n\t\t\t\t\t<i class="fa fa-users font-green-sharp"></i>\n\t\t\t\t\t<span class="caption-subject">{{ \'APPLICATION_CONTACTS\' | translate }}</a> </span>\n\t\t\t\t</div>\n\t\t\t\t<div class="actions">\n\t\t\t\t\t<div class="btn-group" data-ng-show="id.length && !Auth.isAgent()">\n\t\t\t\t\t\t<a class="btn red" href="#" data-ng-click="deleteItems()">\n\t\t\t\t\t\t\t<i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="btn-group">\n\t\t\t\t\t\t<button data-ng-if="gridOptions.data.length" class="btn purple" ng-csv="extractAll()" lazy-load="true" filename="Contacts.csv" csv-label="true">\n\t\t\t\t\t\t\t<i class="fa fa-download"></i> {{ \'APPLICATION_EXPORT_TO_CSV\' | translate }}\n\t\t\t\t\t\t</button>\n\t\t\t\t\t\t<button class="btn green-jungle" data-ng-click="newContact({CompanyId:gridOptions.columnDefs[7].filter.term || null,ListId:gridOptions.columnDefs[6].filter.term || null});">\n\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONTACT\' | translate }}\n\t\t\t\t\t\t</button>\n\t\t\t\t\t\t<span class="btn default btn-file" data-ng-if="!Auth.isAgent()">\n\t\t\t\t\t\t<span class="fileinput-new">\n\t\t\t\t\t\t<i class="icon-cloud-upload"></i> {{\'APPLICATION_IMPORT_FROM_CSV\' | translate}}</span>\n\t\t\t\t\t\t<input type="file" accept=".csv" nv-file-select="" uploader="uploader"/>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> --\x3e\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t<div data-ng-if="gridOptions"  ui-grid="gridOptions"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter ui-grid-draggable-rows class="ui-grid">\n\t\t\t\t\t<span us-spinner spinner-key="grid-spinner"></span>\n\t\t\t\t\t<div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- END PORTLET--\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/contactmanager/customfield/list/create.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_NEW_CUSTOM_FIELD\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <form name="forms.customField" novalidate>\n\n    \x3c!-- START NAME --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (forms.customField.name.$touched || forms.customField.$submitted) && forms.customField.name.$invalid}">\n      <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.alias" required/>\n      <span data-ng-show="(forms.customField.name.$touched || forms.customField.$submitted) && forms.customField.name.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END NAME --\x3e\n\n    \x3c!-- START TYPE --\x3e\n    <div class="form-group"  data-ng-class="{\'has-error\': (forms.customField.type.$touched || forms.customField.$submitted) && forms.customField.type.$invalid}">\n      <label class="control-label">{{ \'APPLICATION_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n      <ui-select data-ng-model="item.type" name="type" theme="bootstrap" required>\n        <ui-select-match placeholder="{{ \'APPLICATION_TYPE\' | translate }}">{{$translate.instant($select.selected.name)}}</ui-select-match>\n        <ui-select-choices repeat="type.value as type in types| filter: $select.search">\n          {{$translate.instant(type.name)}}\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="(forms.customField.type.$touched || forms.customField.$submitted) && forms.customField.type.$invalid && forms.customField.type.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END TYPE --\x3e\n\n    <div ng-slide-down="item.type == \'select\'" lazy-render duration="1">\n      <div>\n        <label class="control-label">{{\'APPLICATION_CHOICES\' | translate}}</label>\n      </div>\n      <div class="padding-bottom" ng-repeat="choice in choices">\n        <div class="form-group">\n          <div class="input-group">\n            <input type="text" class="form-control" ng-model="choice.value" required>\n            <span class="input-group-btn">\n              <button class="btn red" type="button"data-ng-click="removeField($index)" data-ng-disabled="choices.length<=1"><i class="fa fa-times"></i></button>\n            </span>\n          </div>\n        </div>\n      </div>\n      <button type="button" class="btn btn-sm green padding-bottom" ng-click="addField()">\n        <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_CHOICE\' | translate}}\n      </button>\n\n    </div>\n\n    \x3c!-- START REQUIRED --\x3e\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_REQUIRED\' | translate}}</label><br>\n      <input\n      bs-switch\n      ng-model="item.required"\n      type="checkbox"\n      switch-active="{{ bsSwitch.isActive }}"\n      data-ng-init="item.required = false"\n      switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n      switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n      switch-on-color="{{ bsSwitch.onColor }}"\n      switch-off-color="{{ bsSwitch.offColor }}"\n      switch-animate="{{ bsSwitch.animate }}"\n      switch-size="{{ bsSwitch.size }}"\n      switch-label="{{ bsSwitch.label }}"\n      switch-icon="{{ bsSwitch.icon }}"\n      switch-radio-off="{{ bsSwitch.radioOff }}"\n      switch-label-width="{{ bsSwitch.labelWidth }}"\n      switch-handle-width="{{ bsSwitch.handleWidth }}">\n    </div>\n    \x3c!-- END REQUIRED --\x3e\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.customField.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/contactmanager/customfield/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="fa fa-users"></i>\n\t\t\t\t\t<a href="#">{{ \'APPLICATION_CONTACT_MANAGER\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-pencil"></i>\n\t\t\t\t\t<a href="/contactmanager/customfields/list">{{ \'APPLICATION_CUSTOM_FIELDS\' | translate }}</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t<div class="portlet light bordered" data-ng-init="initView()">\n\t\t\t<div class="portlet-title">\n\t\t\t\t<div class="caption font-green-sharp">\n\t\t\t\t\t<i class="icon-pencil font-green-sharp"></i>\n\t\t\t\t\t<span class="caption-subject">{{ \'APPLICATION_CUSTOM_FIELDS\' | translate }}</a> </span>\n\t\t\t\t</div>\n\t\t\t\t<div class="actions">\n\t\t\t\t\t<div class="btn-group" data-ng-show="id.length">\n\t\t\t\t\t\t<a class="btn red" href="#" data-ng-click="deleteItems()">\n\t\t\t\t\t\t\t<i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="btn-group">\n\t\t\t\t\t\t<button class="btn green-jungle " ng-click="create()">\n\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_CUSTOM_FIELD\' | translate }}\n\t\t\t\t\t\t</button>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> --\x3e\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t<div ui-grid="gridOptions"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter ui-grid-draggable-rows class="ui-grid">\n\t\t\t\t\t<div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/contactmanager/customfield/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row" data-ng-init="getCustomField()">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="fa fa-users"></i>\n\t\t\t\t\t<a href="#">{{ \'APPLICATION_CONTACT_MANAGER\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-pencil"></i>\n\t\t\t\t\t<a href="/contactmanager/customfields/list">{{ \'APPLICATION_CUSTOM_FIELDS\' | translate }}</a>\n\t\t\t\t\t<i data-ng-show="customField" class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li data-ng-show="customField">\n\t\t\t\t\t<a href="#">{{customField.name}}</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t<div class="profile-sidebar">\n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t<div class="portlet light profile-sidebar-portlet">\n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t<div class="profile-image">\n\t\t\t\t\t<img data-ng-src="assets/images/media/customField.png" class="img-responsive">\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t<div class="profile-usertitle">\n\t\t\t\t\t<div class="profile-usertitle-name">\n\t\t\t\t\t\t{{customField.name}}\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- <div class="profile-usertitle-job">\n\t\t\t\t\t\t{{user.role}}\n\t\t\t\t\t</div> --\x3e\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t<div class="profile-usermenu">\n\t\t\t\t\t<ul class="nav">\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.contactmanager.customfields.view.settings\')}">\n\t\t\t\t\t\t\t<a data-ng-href="/contactmanager/customfields/view/{{customField.id}}/settings">\n\t\t\t\t\t\t\t<i class="icon-settings"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_SETTINGS\' | translate}} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t</div>\n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t</div>\n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t<div ui-view class="profile-content">\n\t\t</div>\n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),
+a.put("app/dashboard/chat/chat.html",'<div data-ng-switch="Auth.getRole()">\n  <div ng-switch-when="agent" data-ng-init="initAgent()">\n    <div class="row" style="padding-bottom:10px;">\n      <div class="col-md-12">\n        \x3c!-- START TABLE --\x3e\n        <div ui-grid="table1" name="table1" ui-grid-resize-columns ui-grid-pagination ui-grid-auto-resize class="ui-grid">\n          <div class="watermark" data-ng-show="!table1.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n        </div>\n        \x3c!-- END TABLE --\x3e\n      </div>\n    </div>\n  </div>\n  <div ng-switch-default data-ng-init="initRoomStats();initRoutingStats();initSocketListening();">\n    <fieldset>\n      <legend>\n        <span class="caption-subject">&nbsp;</span><small class="pull-right font-grey-cascade">{{ \'APPLICATION_TODAY_STATS\' | translate }}</small>\n      </legend>\n      <div class="row">\n        <div class="col-md-8">\n          <div class="row">\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat green-haze">\n                <div class="visual">\n                  <i class="fa fa-play"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.new || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_WAITING_NEW_CI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_WAITING_NEW_CI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat blue-madison">\n                <div class="visual">\n                  <i class="icon-bell"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.open || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_OPEN_CI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_OPEN_CI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n          <div class ="row">\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat green">\n                <div class="visual">\n                  <i class="icon-options"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.unmanaged || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_UNMANAGED_CI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_UNMANAGED_CI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat purple-plum">\n                <div class="visual">\n                  <i class="icon-like"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.closed || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_CLOSED_CI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_CLOSED_CI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n          <div class ="row">\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat yellow-crusta">\n                <div class="visual">\n                  <i class="icon-dislike"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.abandon || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_ABANDONED_CI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_ABANDONED_CI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12" >\n              <div class="dashboard-stat yellow-casablanca">\n                <div class="visual">\n                  <i class="icon-calculator"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.new+roomStatus.open+roomStatus.unmanaged+roomStatus.closed+roomStatus.abandon || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_TOTAL_CI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_TOTAL_CI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n        </div>\n        <div class="col-md-4">\n          <canvas class="chart chart-pie"  chart-data="charts.interactions.values" chart-labels="charts.interactions.labels" chart-colours="charts.interactions.colours" chart-legend="true"></canvas>\n      </div>\n    </div>\n    <legend>\n      <span class="caption-subject">&nbsp;</span><small class="pull-right font-grey-cascade">{{ \'APPLICATION_INTERACTION_STATS\' | translate }}</small>\n    </legend>\n    <div class="row">\n      <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n        <div class="dashboard-stat red-intense">\n          <div class="visual">\n            <i class="icon-dislike"></i>\n          </div>\n          <div class="details">\n            <div class="number">\n              {{routingStats.timeout || 0}}\n            </div>\n            <div class="desc">\n              {{\'APPLICATION_TIMEOUT_CA\' | translate}}\n            </div>\n          </div>\n          <a class="more inactive-link">\n            {{\'APPLICATION_TIMEOUT_CA_EXTENDED\' | translate}}\n          </a>\n        </div>\n      </div>\n      <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n        <div class="dashboard-stat purple">\n          <div class="visual">\n            <i class="icon-hourglass"></i>\n          </div>\n          <div class="details">\n            <div class="number">\n              {{routingStats.waiting || 0}}\n            </div>\n            <div class="desc">\n              {{\'APPLICATION_WAITING_CA\' | translate}}\n            </div>\n          </div>\n          <a class="more inactive-link">\n            {{\'APPLICATION_WAITING_CA_EXTENDED\' | translate}}\n          </a>\n        </div>\n      </div>\n    </div>\n  </fieldset>\n\n</div>\n</div>\n'),a.put("app/dashboard/dashboard.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row" id="dashboardView">\n\t<div class="col-md-12" >\n\t\t<div>\n\t\t\t<nav class="navbar navbar-default" role="navigation">\n\t\t\t\t<div class="navbar-header">\n\t\t\t\t\t<button type="button" class="navbar-toggle" data-ng-init="navCollapsed = true" data-ng-click="navCollapsed = !navCollapsed">\n\t\t\t\t\t\t<span class="sr-only">Toggle navigation</span>\n\t\t\t\t\t\t<span class="icon-bar"></span>\n\t\t\t\t\t\t<span class="icon-bar"></span>\n\t\t\t\t\t\t<span class="icon-bar"></span>\n\t\t\t\t\t</button>\n\t\t\t\t</div>\n\n\t\t\t\t\x3c!-- Collect the nav links, forms, and other content for toggling --\x3e\n\t\t\t\t<div class="collapse navbar-collapse" ng-class="!navCollapsed && \'in\'" >\n\t\t\t\t\t<ul class="nav navbar-nav">\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.dashboard.voice\')}">\n\t\t\t\t\t\t\t<a href="/dashboard/voice">\n\t\t\t\t\t\t\t\t<b class=\'icon-earphones-alt\'></b>\n\t\t\t\t\t\t\t\t{{ \'APPLICATION_VOICE\' | translate }}\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.dashboard.chat\'),\'disabled-link\':!license.chat}" data-ng-if="::((Auth.isAdmin() || Auth.isAgent() || userModules[8]))">\n\t\t\t\t\t\t\t<a href="{{license.chat ? \'/dashboard/chat\' : \'#\'}}" class="disable-target">\n\t\t\t\t\t\t\t\t<b class=\'icon-bubble\'></b>\n\t\t\t\t\t\t\t\t{{ \'APPLICATION_CHAT\' | translate }}\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.dashboard.mail\'),\'disabled-link\':!license.mail}" data-ng-if="::((Auth.isAdmin() || Auth.isAgent() || userModules[9]))">\n\t\t\t\t\t\t\t<a href="{{license.mail ? \'/dashboard/mail\' : \'#\'}}" class="disable-target">\n\t\t\t\t\t\t\t\t<b class=\'icon-envelope\'></b>\n\t\t\t\t\t\t\t\t{{ \'APPLICATION_EMAIL\' | translate }}\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.dashboard.fax\'),\'disabled-link\':!license.fax}" data-ng-if="::((Auth.isAdmin() || Auth.isAgent() || userModules[10]))">\n\t\t\t\t\t\t\t<a href="{{license.fax ? \'/dashboard/fax\' : \'#\'}}" class="disable-target">\n\t\t\t\t\t\t\t\t<b class=\'fa fa-fax\'></b>\n\t\t\t\t\t\t\t\t{{ \'APPLICATION_FAX\' | translate }}\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.dashboard.sms\'),\'disabled-link\':!license.messaging}" data-ng-if="::((Auth.isAdmin() || Auth.isAgent() || userModules[11]))">\n\t\t\t\t\t\t\t<a href="{{license.messaging ? \'/dashboard/sms\' : \'#\'}}" class="disable-target">\n\t\t\t\t\t\t\t\t<b class=\'glyphicon glyphicon-comment\'></b>\n\t\t\t\t\t\t\t\t{{ \'APPLICATION_SMS\' | translate }}\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.dashboard.openchannel\'),\'disabled-link\':!license.openchannel}" data-ng-if="::((Auth.isAdmin() || Auth.isAgent() || userModules[20]))">\n\t\t\t\t\t\t\t<a href="{{license.messaging ? \'/dashboard/openchannel\' : \'#\'}}" class="disable-target">\n\t\t\t\t\t\t\t\t<b class=\'icon-globe\'></b>\n\t\t\t\t\t\t\t\t{{ \'APPLICATION_OPEN_CHANNEL\' | translate }}\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- /.navbar-collapse --\x3e\n\t\t\t</nav>\n\t\t</div>\n\t\t<div ui-view></div>\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/dashboard/fax/fax.html",'<div data-ng-switch="Auth.getRole()">\n  <div ng-switch-when="agent" data-ng-init="initAgent()">\n    <div class="row" style="padding-bottom:10px;">\n      <div class="col-md-12">\n        \x3c!-- START TABLE --\x3e\n        <div ui-grid="table1" name="table1" ui-grid-resize-columns ui-grid-pagination ui-grid-auto-resize class="ui-grid">\n          <div class="watermark" data-ng-show="!table1.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n        </div>\n        \x3c!-- END TABLE --\x3e\n      </div>\n    </div>\n  </div>\n  <div ng-switch-default data-ng-init="initRoomStats();initRoutingStats();initSocketListening();">\n    <fieldset>\n      <legend>\n        <span class="caption-subject">&nbsp;</span><small class="pull-right font-grey-cascade">{{ \'APPLICATION_INTERACTION_STATS\' | translate }}</small>\n      </legend>\n      <div class="row">\n        <div class="col-md-8">\n          <div class="row">\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat green-haze">\n                <div class="visual">\n                  <i class="fa fa-play"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.new || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_NEW_FI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_NEW_FI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat blue-madison">\n                <div class="visual">\n                  <i class="icon-bell"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.open || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_OPEN_FI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_OPEN_FI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n          <div class="row">\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat green">\n                <div class="visual">\n                  <i class="icon-options"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.pending || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_PENDING_FI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_PENDING_FI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat purple-plum">\n                <div class="visual">\n                  <i class="icon-like"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.closed || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_CLOSED_FI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_CLOSED_FI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n          <div class="row">\n            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">\n              <div class="dashboard-stat yellow-casablanca">\n                <div class="visual">\n                  <i class="icon-calculator"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.new+roomStatus.open+roomStatus.pending+roomStatus.closed || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_TOTAL_FI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_TOTAL_FI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n        </div>\n        <div class="col-md-4">\n          \x3c!-- <div class="portlet light bordered">\n            <div class="portlet-body"> --\x3e\n          <canvas class="chart chart-pie" chart-data="charts.interactions.values" chart-labels="charts.interactions.labels" chart-colours="charts.interactions.colours" chart-legend="true">\n          </canvas>\n            \x3c!-- </div>\n          </div> --\x3e\n        </div>\n      </div>\n      <legend>\n        <span class="caption-subject">&nbsp;</span><small class="pull-right font-grey-cascade">{{ \'APPLICATION_TODAY_STATS\' | translate }}</small>\n      </legend>\n      <div class="row">\n        <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n          <div class="dashboard-stat red-intense">\n            <div class="visual">\n              <i class="icon-dislike"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{routingStats.timeout || 0}}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_TIMEOUT_FA\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_TIMEOUT_FA_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n          <div class="dashboard-stat purple">\n            <div class="visual">\n              <i class="icon-hourglass"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{routingStats.waiting || 0}}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_WAITING_FA\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_WAITING_FA_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n      </div>\n    </fieldset>\n  </div>\n'),a.put("app/dashboard/mail/mail.html",'<div data-ng-switch="Auth.getRole()">\n  <div ng-switch-when="agent" data-ng-init="initAgent()">\n    <div class="row" style="padding-bottom:10px;">\n      <div class="col-md-12">\n        \x3c!-- START TABLE --\x3e\n        <div ui-grid="table1" name="table1" ui-grid-resize-columns ui-grid-pagination ui-grid-auto-resize class="ui-grid">\n          <div class="watermark" data-ng-show="!table1.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n        </div>\n        \x3c!-- END TABLE --\x3e\n      </div>\n    </div>\n\n    \x3c!-- <div class="row" style="padding-bottom:10px;">\n      <div class="col-md-12"> --\x3e\n    \x3c!-- START TABLE --\x3e\n    \x3c!-- <div ui-grid="table2" name="table2" ui-grid-resize-columns ui-grid-auto-resize class="ui-grid">\n          <div class="watermark" data-ng-show="!table2.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n        </div> --\x3e\n    \x3c!-- END TABLE --\x3e\n    \x3c!-- </div>\n    </div> --\x3e\n  </div>\n  <div ng-switch-default data-ng-init="initRoomStats();initRoutingStats();initSocketListening();">\n    <fieldset>\n      <legend>\n        <span class="caption-subject">&nbsp;</span><small class="pull-right font-grey-cascade">{{ \'APPLICATION_INTERACTION_STATS\' | translate }}</small>\n      </legend>\n      <div class="row">\n        <div class="col-md-8">\n          <div class="row">\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat green-haze">\n                <div class="visual">\n                  <i class="fa fa-play"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.new || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_NEW_EI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_NEW_EI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat blue-madison">\n                <div class="visual">\n                  <i class="icon-bell"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.open || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_OPEN_EI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_OPEN_EI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n          <div class="row">\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat green">\n                <div class="visual">\n                  <i class="icon-options"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.pending || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_PENDING_EI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_PENDING_EI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat purple-plum">\n                <div class="visual">\n                  <i class="icon-like"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.closed || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_CLOSED_EI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_CLOSED_EI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n          <div class="row">\n            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">\n              <div class="dashboard-stat yellow-casablanca">\n                <div class="visual">\n                  <i class="icon-calculator"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.new+roomStatus.open+roomStatus.pending+roomStatus.closed || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_TOTAL_EI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_TOTAL_EI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n        </div>\n        <div class="col-md-4">\n          \x3c!-- <div class="portlet light bordered">\n            <div class="portlet-body"> --\x3e\n          <canvas class="chart chart-pie" chart-data="charts.interactions.values" chart-labels="charts.interactions.labels" chart-colours="charts.interactions.colours" chart-legend="true">\n          </canvas>\n            \x3c!-- </div>\n          </div> --\x3e\n        </div>\n      </div>\n      <legend>\n        <span class="caption-subject">&nbsp;</span><small class="pull-right font-grey-cascade">{{ \'APPLICATION_TODAY_STATS\' | translate }}</small>\n      </legend>\n      <div class="row">\n        <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n          <div class="dashboard-stat red-intense">\n            <div class="visual">\n              <i class="icon-dislike"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{routingStats.timeout || 0}}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_TIMEOUT_EA\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_TIMEOUT_EA_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n          <div class="dashboard-stat purple">\n            <div class="visual">\n              <i class="icon-hourglass"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{routingStats.waiting || 0}}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_WAITING_EA\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_WAITING_EA_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n      </div>\n    </fieldset>\n  </div>\n'),
+a.put("app/dashboard/openchannel/openchannel.html",'<div data-ng-switch="Auth.getRole()">\n  <div ng-switch-when="agent" data-ng-init="initAgent()">\n    <div class="row" style="padding-bottom:10px;">\n      <div class="col-md-12">\n        \x3c!-- START TABLE --\x3e\n        <div ui-grid="table1" name="table1" ui-grid-resize-columns ui-grid-pagination ui-grid-auto-resize class="ui-grid">\n          <div class="watermark" data-ng-show="!table1.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n        </div>\n        \x3c!-- END TABLE --\x3e\n      </div>\n    </div>\n\n    \x3c!-- <div class="row" style="padding-bottom:10px;">\n      <div class="col-md-12"> --\x3e\n    \x3c!-- START TABLE --\x3e\n    \x3c!-- <div ui-grid="table2" name="table2" ui-grid-resize-columns ui-grid-auto-resize class="ui-grid">\n          <div class="watermark" data-ng-show="!table2.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n        </div> --\x3e\n    \x3c!-- END TABLE --\x3e\n    \x3c!-- </div>\n    </div> --\x3e\n  </div>\n  <div ng-switch-default data-ng-init="initRoomStats();initRoutingStats();initSocketListening();">\n    <fieldset>\n      <legend>\n        <span class="caption-subject">&nbsp;</span><small class="pull-right font-grey-cascade">{{ \'APPLICATION_INTERACTION_STATS\' | translate }}</small>\n      </legend>\n      <div class="row">\n        <div class="col-md-8">\n          <div class="row">\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat green-haze">\n                <div class="visual">\n                  <i class="fa fa-play"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.new || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_NEW_OI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_NEW_OI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat blue-madison">\n                <div class="visual">\n                  <i class="icon-bell"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.open || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_OPEN_OI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_OPEN_OI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n          <div class="row">\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat green">\n                <div class="visual">\n                  <i class="icon-options"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.pending || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_PENDING_OI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_PENDING_OI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat purple-plum">\n                <div class="visual">\n                  <i class="icon-like"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.closed || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_CLOSED_OI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_CLOSED_OI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n          <div class="row">\n            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">\n              <div class="dashboard-stat yellow-casablanca">\n                <div class="visual">\n                  <i class="icon-calculator"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.new+roomStatus.open+roomStatus.pending+roomStatus.closed || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_TOTAL_OI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_TOTAL_OI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n        </div>\n        <div class="col-md-4">\n          \x3c!-- <div class="portlet light bordered">\n            <div class="portlet-body"> --\x3e\n          <canvas class="chart chart-pie" chart-data="charts.interactions.values" chart-labels="charts.interactions.labels" chart-colours="charts.interactions.colours" chart-legend="true">\n          </canvas>\n            \x3c!-- </div>\n          </div> --\x3e\n        </div>\n      </div>\n      <legend>\n        <span class="caption-subject">&nbsp;</span><small class="pull-right font-grey-cascade">{{ \'APPLICATION_TODAY_STATS\' | translate }}</small>\n      </legend>\n      <div class="row">\n        <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n          <div class="dashboard-stat red-intense">\n            <div class="visual">\n              <i class="icon-dislike"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{routingStats.timeout || 0}}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_TIMEOUT_OA\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_TIMEOUT_OA_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n          <div class="dashboard-stat purple">\n            <div class="visual">\n              <i class="icon-hourglass"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{routingStats.waiting || 0}}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_WAITING_OA\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_WAITING_OA_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n      </div>\n    </fieldset>\n  </div>\n'),a.put("app/dashboard/sms/sms.html",'<div data-ng-switch="Auth.getRole()">\n  <div ng-switch-when="agent" data-ng-init="initAgent()">\n    <div class="row" style="padding-bottom:10px;">\n      <div class="col-md-12">\n        \x3c!-- START TABLE --\x3e\n        <div ui-grid="table1" name="table1" ui-grid-resize-columns ui-grid-pagination ui-grid-auto-resize class="ui-grid">\n          <div class="watermark" data-ng-show="!table1.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n        </div>\n        \x3c!-- END TABLE --\x3e\n      </div>\n    </div>\n\n    \x3c!-- <div class="row" style="padding-bottom:10px;">\n      <div class="col-md-12"> --\x3e\n    \x3c!-- START TABLE --\x3e\n    \x3c!-- <div ui-grid="table2" name="table2" ui-grid-resize-columns ui-grid-auto-resize class="ui-grid">\n          <div class="watermark" data-ng-show="!table2.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n        </div> --\x3e\n    \x3c!-- END TABLE --\x3e\n    \x3c!-- </div>\n    </div> --\x3e\n  </div>\n  <div ng-switch-default data-ng-init="initRoomStats();initRoutingStats();initSocketListening();">\n    <fieldset>\n      <legend>\n        <span class="caption-subject">&nbsp;</span><small class="pull-right font-grey-cascade">{{ \'APPLICATION_INTERACTION_STATS\' | translate }}</small>\n      </legend>\n      <div class="row">\n        <div class="col-md-8">\n          <div class="row">\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat green-haze">\n                <div class="visual">\n                  <i class="fa fa-play"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.new || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_NEW_SI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_NEW_SI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat blue-madison">\n                <div class="visual">\n                  <i class="icon-bell"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.open || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_OPEN_SI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_OPEN_SI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n          <div class="row">\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat green">\n                <div class="visual">\n                  <i class="icon-options"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.pending || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_PENDING_SI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_PENDING_SI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n            <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n              <div class="dashboard-stat purple-plum">\n                <div class="visual">\n                  <i class="icon-like"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.closed || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_DASHBOARD_CLOSED_SI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_DASHBOARD_CLOSED_SI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n          <div class="row">\n            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">\n              <div class="dashboard-stat yellow-casablanca">\n                <div class="visual">\n                  <i class="icon-calculator"></i>\n                </div>\n                <div class="details">\n                  <div class="number">\n                    {{roomStatus.new+roomStatus.open+roomStatus.pending+roomStatus.closed || 0}}\n                  </div>\n                  <div class="desc">\n                    {{\'APPLICATION_TOTAL_SI\' | translate}}\n                  </div>\n                </div>\n                <a class="more inactive-link">\n                  {{\'APPLICATION_TOTAL_SI_EXTENDED\' | translate}}\n                </a>\n              </div>\n            </div>\n          </div>\n        </div>\n        <div class="col-md-4">\n          \x3c!-- <div class="portlet light bordered">\n            <div class="portlet-body"> --\x3e\n          <canvas class="chart chart-pie" chart-data="charts.interactions.values" chart-labels="charts.interactions.labels" chart-colours="charts.interactions.colours" chart-legend="true">\n          </canvas>\n            \x3c!-- </div>\n          </div> --\x3e\n        </div>\n      </div>\n      <legend>\n        <span class="caption-subject">&nbsp;</span><small class="pull-right font-grey-cascade">{{ \'APPLICATION_TODAY_STATS\' | translate }}</small>\n      </legend>\n      <div class="row">\n        <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n          <div class="dashboard-stat red-intense">\n            <div class="visual">\n              <i class="icon-dislike"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{routingStats.timeout || 0}}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_TIMEOUT_SA\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_TIMEOUT_SA_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">\n          <div class="dashboard-stat purple">\n            <div class="visual">\n              <i class="icon-hourglass"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{routingStats.waiting || 0}}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_WAITING_SA\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_WAITING_SA_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n      </div>\n    </fieldset>\n  </div>\n'),a.put("app/dashboard/voice/voice.html",'<div data-ng-switch="Auth.getRole()">\n  <div ng-switch-when="agent" data-ng-init="initAgent()">\n    <div class="portlet light">\n      <div class="portlet-body">\n        \x3c!-- START TABLE --\x3e\n        <div data-ng-if="table1" ui-grid="table1" name="table1" ui-grid-resize-columns ui-grid-pagination ui-grid-auto-resize class="ui-grid">\n          <div class="watermark" data-ng-show="!table1.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n        </div>\n        \x3c!-- END TABLE --\x3e\n      </div>\n    </div>\n\n    <div class="portlet light">\n      <div class="portlet-title tabbable-line">\n        <ul class="nav nav-tabs">\n          <li class="active">\n            <a href="#" data-target="#tab_1_a" data-toggle="tab">{{\'APPLICATION_WAITING\' | translate}}</a>\n          </li>\n          <li>\n            <a href="#" data-target="#tab_1_b" data-toggle="tab">{{\'APPLICATION_ABANDONED\' | translate}}</a>\n          </li>\n        </ul>\n      </div>\n      <div class="portlet-body" data-ng-init="initView()">\n        <div class="tab-content">\n          <div class="tab-pane active" id="tab_1_a">\n            <div class="form-group">\n              <label class="control-label">{{\'APPLICATION_SHOW_TIMERS\' | translate}}</label></br>\n              <input\n              bs-switch\n              class="form-control"\n              ng-model="showTimers"\n              type="checkbox"\n              name="showTimers"\n              switch-active="{{ timerSwitch.isActive }}"\n              switch-on-text="{{\'APPLICATION_YES\' | translate}}"\n              switch-off-text="{{\'APPLICATION_NO\' | translate}}"\n              switch-on-color="{{ timerSwitch.onColor }}"\n              switch-off-color="{{ timerSwitch.offColor }}"\n              switch-animate="{{ timerSwitch.animate }}"\n              switch-size="{{ timerSwitch.size }}"\n              switch-label="{{ timerSwitch.label }}"\n              switch-icon="{{ timerSwitch.icon }}"\n              switch-radio-off="{{ timerSwitch.radioOff }}"\n              switch-label-width="{{ timerSwitch.labelWidth }}"\n              switch-handle-width="{{ timerSwitch.handleWidth }}">\n            </div>\n            \x3c!-- START TABLE --\x3e\n            <div data-ng-if="table2" ui-grid="table2" name="table2" ui-grid-resize-columns ui-grid-pagination ui-grid-auto-resize class="ui-grid">\n              <div class="watermark" data-ng-show="!table2.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n            </div>\n            \x3c!-- END TABLE --\x3e\n          </div>\n          <div class="tab-pane" id="tab_1_b">\n            \x3c!-- START TABLE --\x3e\n            <div data-ng-if="table3" ui-grid="table3" name="table3" ui-grid-resize-columns ui-grid-pagination ui-grid-auto-resize class="ui-grid">\n              <div class="watermark" data-ng-show="!table3.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n            </div>\n            \x3c!-- END TABLE --\x3e\n          </div>\n        </div>\n      </div>\n    </div>\n  </div>\n  <div ng-switch-default data-ng-init="initUser()">\n    <fieldset>\n      <legend>\n        <span class="caption-subject">{{ \'APPLICATION_INBOUND\' | translate }}</span><small class="font-grey-cascade pull-right">{{ \'APPLICATION_TODAY_STATS\' | translate }}</small>\n      </legend>\n\n      <div class="row">\n        <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n          <div class="dashboard-stat blue">\n            <div class="visual">\n              <i class="icon-bell"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ voice.queues.waiting || 0 }}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_WAITING_QC\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_WAITING_QC_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n          <div class="dashboard-stat grey-gallery">\n            <div class="visual">\n              <i class="fa fa-play"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ voice.queues.active || 0 }}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_ACTIVE_QC\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_ACTIVE_QC_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n          <div class="dashboard-stat green-jungle">\n            <div class="visual">\n              <i class="icon-like"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ voice.queues.complete || 0 }}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_ANSWERED_QC\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_ANSWERED_QC_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n          <div class="dashboard-stat red-thunderbird">\n            <div class="visual">\n              <i class="icon-dislike"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ voice.queues.abandon || 0 }}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_ABANDONED_QC\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_ABANDONED_QC_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n      </div>\n\n      <div class="row">\n        <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n          <div class="dashboard-stat yellow-gold">\n            <div class="visual">\n              <i class="icon-clock"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ voice.queues.complete ? (voice.queues.holdtime / voice.queues.complete) : 0 | secToTime | date:\'HH:mm:ss\' }}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_AVG_ANSWER_TIME_QC\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_AVG_ANSWER_TIME_QC_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n          <div class="dashboard-stat purple">\n            <div class="visual">\n              <i class="icon-clock"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ voice.queues.complete ? (voice.queues.talktime / voice.queues.complete) : 0 | secToTime | date:\'HH:mm:ss\' }}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_AVG_TALK_TIME_QC\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_AVG_TALK_TIME_QC_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n          <div class="dashboard-stat green-jungle">\n            <div class="visual">\n              <i class="icon-pie-chart"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ (voice.queues.complete / (voice.queues.complete + voice.queues.abandon) * 100) || 0 | number:2}}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_ANSWER_RATE_QC\' | translate}} (%)\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_ANSWER_RATE_QC_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n          <div class="dashboard-stat red-thunderbird">\n            <div class="visual">\n              <i class="icon-pie-chart"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ (voice.queues.abandon / (voice.queues.complete + voice.queues.abandon) * 100) || 0 | number:2}}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_ABANDON_RATE_QC\' | translate}} (%)\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_ABANDON_RATE_QC_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n      </div>\n\n      <div class="row">\n        <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">\n          <div class="dashboard-stat blue">\n            <div class="visual">\n              <i class="icon-info"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ voice.queues.complete + voice.queues.abandon || 0}}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_TOTAL_OFFERED_QC\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_TOTAL_OFFERED_QC_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">\n          <div class="dashboard-stat red-thunderbird">\n            <div class="visual">\n              <i class="icon-info"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ voice.queues.unmanaged || 0 }}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_UNMANAGED_QC\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_UNMANAGED_QC_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n      </div>\n    </fieldset>\n\n    <fieldset>\n      <legend>\n        <span class="caption-subject">{{ \'APPLICATION_OUTBOUND\' | translate }}</span><small class="pull-right font-grey-cascade">{{ \'APPLICATION_TODAY_STATS\' | translate }}</small>\n      </legend>\n\n      <div class="row">\n        <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n          <div class="dashboard-stat green-haze">\n            <div class="visual">\n              <i class="icon-call-out"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ voice.outbound.total || 0 }}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_MANUAL_OUTBOUND_OB\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_MANUAL_OUTBOUND_OB_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n          <div class="dashboard-stat grey-gallery">\n            <div class="visual">\n              <i class="icon-clock"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ (voice.outbound.sumDuration || 0) | secToTime | date:\'HH:mm:ss\' }}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_GLOBAL_DURATION_OB\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_GLOBAL_DURATION_OB_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n          <div class="dashboard-stat green-jungle">\n            <div class="visual">\n              <i class="icon-like"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ voice.outbound.answered || 0 }}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_ANSWERED_OB\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_ANSWERED_OB_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n          <div class="dashboard-stat yellow-gold">\n            <div class="visual">\n              <i class="icon-pie-chart"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ (voice.outbound.avgDuration || 0) | secToTime | date:\'HH:mm:ss\' }}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_AVG_DURATION_OB\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_AVG_DURATION_OB_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n      </div>\n\n      <div class="row">\n        <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">\n          <div class="dashboard-stat blue">\n            <div class="visual">\n              <i class="icon-pie-chart"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{ (voice.outbound.answerRate || 0) | number:2 }}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_ANSWER_RATE_OB\' | translate}} (%)\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_ANSWER_RATE_OB_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n        <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">\n          <div class="dashboard-stat purple">\n            <div class="visual">\n              <i class="icon-pie-chart"></i>\n            </div>\n            <div class="details">\n              <div class="number">\n                {{(voice.outbound.tigerdial || 0)}}\n              </div>\n              <div class="desc">\n                {{\'APPLICATION_MOTION_DIALER_CALLS_OB\' | translate}}\n              </div>\n            </div>\n            <a class="more inactive-link">\n              {{\'APPLICATION_MOTION_DIALER_CALLS_OB_EXTENDED\' | translate}}\n            </a>\n          </div>\n        </div>\n      </div>\n\n    </fieldset>\n  </div>\n</div>\n'),
+a.put("app/desk/view/view.configurationSettings.html",'<div class="row" data-ng-init="getConfiguration();getVariables();getFields();">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_CONFIGURATION\' | translate}}: {{configurationName}}</span>\n\t\t\t\t</div>\n\t\t\t\t<ul class="nav nav-tabs">\n\t\t\t\t\t<li class="active">\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_SUBJECT\' | translate}}</a>\n\t\t\t\t\t</li>\n          <li>\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_DESCRIPTION\' | translate}}</a>\n\t\t\t\t\t</li>\n          <li>\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_FIELDS\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t<div class="tab-content">\n\t\t\t\t\t\x3c!-- SUBJECT TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding active" id="tab_1_1">\n            <div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">All following fields will be join by blank space:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItemSubject()"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t\x3c!-- <div ng-scrollbars ng-scrollbars-config="config"> --\x3e\n\t            <div class="row" data-ng-repeat="subjectItem in subjectConfig">\n\t              <div class="col-md-3">\n\t                <ui-select ng-model="subjectItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(subjectItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n\t                  <ui-select-choices repeat="item in fieldType | filter: $select.search">\n\t                    <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t              </div>\n\t              <div class="col-md-8" data-ng-if="subjectItem.type==\'string\'">\n\t                <div class="form-group">\n\t                  <input type="text" class="form-control" data-ng-model="subjectItem.content" data-ng-change="updateField(subjectItem)">\n\t                </div>\n\t              </div>\n\t              <div class="col-md-8" data-ng-if="subjectItem.type==\'variable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.VariableId" data-ng-change="updateField(subjectItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t                    <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n\t                      <div ng-bind-html="variable.name | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-1">\n\t                <div class="form-group">\n\t                  <button class="btn btn-icon-only red" data-ng-click="removeItem(subjectItem)"><i class="fa fa-times"></i></button>\n\t                </div>\n\t              </div>\n\t            </div>\n\t\t\t\t\t\t\x3c!-- </div> --\x3e\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END SUBJECT TAB --\x3e\n          \x3c!-- DESCRIPTION TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding" id="tab_1_2">\n\t\t\t\t\t\t<div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">All following fields will be join by new line:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItemDescription()"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t\x3c!-- <div ng-scrollbars ng-scrollbars-config="config"> --\x3e\n\t\t\t\t\t\t\t<div class="row" data-ng-repeat="descriptionItem in descriptionConfig">\n\t\t\t\t\t\t\t\t\x3c!-- <pre>\n\t\t\t\t\t\t\t\t\t{{descriptionItem|json}}\n\t\t\t\t\t\t\t\t</pre> --\x3e\n\t              <div class="col-md-2">\n\t                <ui-select ng-model="descriptionItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | ucfirst}}</ui-select-match>\n\t                  <ui-select-choices repeat="item in descFieldType | filter: $select.search">\n\t                    <div ng-bind-html="item | highlight: $select.search | ucfirst"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t              </div>\n\t              <div class="col-md-9" data-ng-if="descriptionItem.type==\'string\'">\n\t                <div class="form-group">\n\t                  <input type="text" class="form-control" data-ng-model="descriptionItem.content" data-ng-change="updateField(descriptionItem)">\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\'">\n\t\t\t\t\t\t\t\t\t<input type="text" class="form-control" placeholder="Key" data-ng-model="descriptionItem.key" data-ng-change="updateField(descriptionItem)">\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\'">\n\t\t\t\t\t\t\t\t\t<ui-select ng-model="descriptionItem.keyType" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n\t                  <ui-select-choices repeat="item in fieldType | filter: $select.search">\n\t                    <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\' && descriptionItem.keyType==\'string\'">\n\t\t\t\t\t\t\t\t\t<input type="text" class="form-control" placeholder="Value" data-ng-model="descriptionItem.keyContent" data-ng-change="updateField(descriptionItem)">\n\t\t\t\t\t\t\t\t</div>\n\t              <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\' && descriptionItem.keyType==\'variable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.VariableId" data-ng-change="updateField(descriptionItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t                    <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n\t                      <div ng-bind-html="variable.name | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-1">\n\t                <div class="form-group">\n\t                  <button class="btn btn-icon-only red" data-ng-click="removeItem(descriptionItem)"><i class="fa fa-times"></i></button>\n\t                </div>\n\t              </div>\n\t            </div>\n\t\t\t\t\t\t\x3c!-- </div> --\x3e\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END DESCRIPTION TAB --\x3e\n          \x3c!-- FIELDS TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding" id="tab_1_3">\n\t\t\t\t\t\t<div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">Add how to fill the fields present in your account:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItemField()"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t\x3c!-- <div ng-scrollbars ng-scrollbars-config="config"> --\x3e\n\t            <div class="row" data-ng-repeat="fieldItem in fieldConfig">\n\t              <div class="col-md-3">\n\t                <ui-select ng-model="fieldItem.idField" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeFieldType(fieldItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.label}}</ui-select-match>\n\t                  <ui-select-choices repeat="item.id as item in accountFields | filter: $select.search">\n\t                    <div ng-bind-html="item.label | highlight: $select.search"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t              </div>\n\t              <div class="col-md-8" data-ng-if="getSystemFieldOptions(fieldItem.idField)">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select ng-model="fieldItem.content" theme="bootstrap" ng-disabled="disabled" data-ng-change="updateField(fieldItem)">\n\t\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected}}</ui-select-match>\n\t\t                  <ui-select-choices repeat="item in getSystemFieldOptions(fieldItem.idField) | filter: $select.search">\n\t\t                    <div ng-bind-html="item | highlight: $select.search"></div>\n\t\t                  </ui-select-choices>\n\t\t                </ui-select>\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField)">\n\t\t\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select ng-model="fieldItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(fieldItem)">\n\t\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | ucfirst}}</ui-select-match>\n\t\t                  <ui-select-choices repeat="item in fieldType | filter: $select.search">\n\t\t                    <div ng-bind-html="item | highlight: $select.search | ucfirst"></div>\n\t\t                  </ui-select-choices>\n\t\t                </ui-select>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'string\'">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<input type="text" class="form-control" data-ng-model="fieldItem.content" data-ng-change="updateField(fieldItem)">\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'variable\'">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.VariableId" data-ng-change="updateField(fieldItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t                    <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n\t                      <div ng-bind-html="variable.name | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-1">\n\t                <div class="form-group">\n\t                  <button class="btn btn-icon-only red" data-ng-click="removeItem(fieldItem)"><i class="fa fa-times"></i></button>\n\t                </div>\n\t              </div>\n\t            </div>\n\t\t\t\t\t\t\x3c!-- </div> --\x3e\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END FIELDS TAB --\x3e\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/desk/view/view.configurations.html",'<div ui-view class="profile-content">\n\t<div class="row" data-ng-init="getConfigurations()">\n\t\t<div class="col-md-12">\n\t\t\t<div class="portlet light">\n\t\t\t\t<div class="portlet-title  tabbable-line">\n\t\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_CONFIGURATIONS\' | translate}}</span>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="actions">\n\t\t\t\t\t\t<div class="btn-group">\n\t\t\t\t\t\t\t<a class="btn green-jungle " href="/desk/view/{{account.id}}/configuration" data-toggle="dropdown">\n\t\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONFIGURATION\' | translate }}\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class="portlet-body">\n\t\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t\t<table class="table table-striped table-bordered table-hover">\n\t\t\t\t\t\t  <thead>\n\t\t\t\t\t\t\t  <tr>\n\t\t\t\t\t\t\t    <th>{{\'APPLICATION_NAME\' | translate}}</th>\n\t\t\t\t\t\t\t\t\t<th>{{\'APPLICATION_DESCRIPTION\' | translate}}</th>\n\t\t\t\t\t\t\t\t\t<th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n\t\t\t\t\t\t\t  </tr>\n\t\t\t\t\t\t  </thead>\n\t\t\t\t\t\t\t<tbody>\n\t\t\t\t\t\t    <tr data-ng-repeat="configuration in configurations">\n\t\t\t\t\t\t\t\t\t<td>{{configuration.name}}</td>\n\t\t\t\t\t\t\t\t\t<td>{{configuration.description}}</td>\n\t\t\t\t\t\t      <td>\n\t\t\t\t\t\t\t\t\t\t<a class="btn default btn-xs blue-stripe" data-ng-href="/desk/view/{{account.id}}/configurations/settings/{{configuration.id}}">\n\t\t\t\t\t\t\t\t\t\t\t{{ \'APPLICATION_SETTINGS\' | translate}}\n\t\t\t\t\t\t        </a>\n\t\t\t\t\t\t        <a class="btn default btn-xs red-stripe" data-ng-click="deleteConfiguration(configuration.name,configuration.id)">\n\t\t\t\t\t\t\t\t\t\t\t{{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t\t        </a>\n\t\t\t\t\t\t      </td>\n\t\t\t\t\t\t    </tr>\n\t\t\t\t\t\t\t\t<tr data-ng-hide="configurations.length">\n\t\t\t\t\t\t\t\t\t<td colspan="5" style="text-align:center;">\n\t\t\t\t\t\t\t\t\t\t<i>No configuration available</i>\n\t\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t  </tbody>\n\t\t\t\t\t</table>\n\t\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/desk/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row" data-ng-init="initView()">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n          <i class="icon-handbag"></i>\n          <a href="/desk/list">{{ \'APPLICATION_DESK_COM\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<a href="#">{{account.name}}</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t<div class="profile-sidebar">\n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t<div class="portlet light profile-sidebar-portlet">\n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t<div class="profile-image">\n\t\t\t\t\t<img src="assets/images/media/desk.png" class="img-responsive">\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t<div class="profile-usertitle">\n\t\t\t\t\t<div class="profile-usertitle-name">\n\t\t\t\t\t\t{{account.name}}\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="profile-usertitle-job">\n\t\t\t\t\t\t{{account.remoteUri}}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t<div class="profile-usermenu">\n\t\t\t\t\t<ul class="nav">\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.desk.view.account\')}">\n\t\t\t\t\t\t\t<a ng-href="/desk/view/{{account.id}}/account">\n\t\t\t\t\t\t\t<i class="icon-user"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_ACCOUNT\' | translate }} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.includes(\'main.desk.view.configurations\') || $state.is(\'main.desk.view.configuration\')}">\n\t\t\t\t\t\t\t<a ng-href="/desk/view/{{account.id}}/configurations">\n\t\t\t\t\t\t\t<i class="icon-settings"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_CONFIGURATIONS\' | translate }} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t</div>\n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t</div>\n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t<div ui-view class="profile-content">\n\t\t</div>\n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/desk/wizard/wizard.html",'\x3c!-- BEGIN PAGE HEADER--\x3e\n<div class="row">\n\t<div class="col-md-12">\n\t\t\t<div class="page-bar">\n\t\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<i class="icon-handbag"></i>\n\t\t\t\t\t\t<a href="/desk/list">{{ \'APPLICATION_DESK_COM\' | translate }}</a>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t</div>\n</div>\n\x3c!-- END PAGE HEADER--\x3e\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row" data-ng-init="initWizard()">\n\t<div class="col-md-12">\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t<div class="portlet light bordered">\n\t\t\t<div class="portlet-title">\n\t\t\t\t<div class="caption font-green-sharp">\n\t\t\t\t\t<i class="icon-notebook font-green-sharp"></i>\n\t\t\t\t\t<span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t<wizard on-finish="createItem()">\n          <wz-step title="{{\'APPLICATION_ACCOUNT_INFO\' | translate}}" canexit="exitValidation(forms.formSetting.$valid)">\n\t\t\t\t\t\t<form name="forms.formSetting" novalidate>\n\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.name.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n\t\t\t\t\t\t\t\t<input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n              \x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="username" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.username" required ng-remote-validate="/api/desk/accounts/validate/username"/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t<span data-ng-show="(forms.formSetting.username.$touched || forms.formSetting.$submitted) && forms.formSetting.username.$error.ngRemoteValidate" class="help-block help-block-error">\n\t\t\t\t          <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_USERNAME\' | translate}}.\n\t\t\t\t        </span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\n              \x3c!-- START REMOTE ADDRESS --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_REMOTE_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="url" name="remoteUri" placeholder="{{\'APPLICATION_REMOTE_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.remoteUri" required ng-remote-validate="/api/desk/accounts/validate/remoteUri"/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t<span data-ng-show="(forms.formSetting.remoteUri.$touched || forms.formSetting.$submitted) && forms.formSetting.remoteUri.$error.ngRemoteValidate" class="help-block help-block-error">\n\t\t\t\t          <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_DOMAIN\' | translate}}.\n\t\t\t\t        </span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START AUTH TYPE --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.authType.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}</label>\n\t\t\t\t\t\t\t\t<ui-select data-ng-model="item.authType" name="authType" theme="bootstrap" required>\n\t\t\t\t\t\t\t\t\t<ui-select-match placeholder="{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n\t\t\t\t\t\t\t\t\t<ui-select-choices repeat="type in [\'basic\', \'oauth\'] | filter: $select.search">\n\t\t\t\t\t\t\t\t\t\t<div data-ng-bind="type | capitalize | highlight: $select.search"></div>\n\t\t\t\t\t\t\t\t\t</ui-select-choices>\n\t\t\t\t\t\t\t\t</ui-select>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.authType.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- START AUTH TYPE --\x3e\n\n              \x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.password.$invalid}" ng-slide-down="item.authType == \'basic\'" lazy-render duration="1">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="password" name="password" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.password.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\n              \x3c!-- START CONSUMER KEY --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.consumerKey.$invalid}" ng-slide-down="item.authType == \'oauth\'" lazy-render duration="1">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_CONSUMER_KEY\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="consumerKey" placeholder="{{\'APPLICATION_CONSUMER_KEY\' | translate}}" class="form-control" data-ng-model="item.consumerKey" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.consumerKey.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END CONSUMER KEY --\x3e\n\n              \x3c!-- START CONSUMER SECRET --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.consumerSecret.$invalid}" ng-slide-down="item.authType == \'oauth\'" lazy-render duration="1">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_CONSUMER_SECRET\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="consumerSecret" placeholder="{{\'APPLICATION_CONSUMER_SECRET\' | translate}}" class="form-control" data-ng-model="item.consumerSecret" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.consumerSecret.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END CONSUMER SECRET --\x3e\n\n              \x3c!-- START TOKEN --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.token.$invalid}" ng-slide-down="item.authType == \'oauth\'" lazy-render duration="1">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_TOKEN\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="token" placeholder="{{\'APPLICATION_TOKEN\' | translate}}" class="form-control" data-ng-model="item.token" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.token.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END TOKEN --\x3e\n\n              \x3c!-- START TOKEN SECRET--\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.tokenSecret.$invalid}" ng-slide-down="item.authType == \'oauth\'" lazy-render duration="1">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_TOKEN_SECRET\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="tokenSecret" placeholder="{{\'APPLICATION_TOKEN_SECRET\' | translate}}" class="form-control" data-ng-model="item.tokenSecret" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.tokenSecret.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END TOKEN SECRET--\x3e\n\n\t\t\t\t\t\t\t<input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="next()"/>\n\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</wz-step>\n\n\t\t\t\t\t<wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n\t\t\t\t\t\t<p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n\t\t\t\t\t\t<input class="btn default" type="button" value="{{\'APPLICATION_BACK\' | translate}}" wz-previous/>\n\t\t\t\t\t\t<input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n\t\t\t\t\t</wz-step>\n\n\t\t\t\t</wizard>\n\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/freshdesk/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-handbag"></i>\n\t\t\t\t\t<a href="/freshdesk/list">{{ \'APPLICATION_FRESHDESK\' | translate }}</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t<div class="portlet light bordered" data-ng-init="initView()">\n\t\t\t<div class="portlet-title">\n\t\t\t\t<div class="caption font-green-sharp">\n\t\t\t\t\t<i class="icon-handbag font-green-sharp"></i>\n\t\t\t\t\t<span class="caption-subject">{{ \'APPLICATION_FRESHDESK\' | translate }}</a> </span>\n\t\t\t\t</div>\n\t\t\t\t<div class="actions">\n\t\t\t\t\t<div class="btn-group" data-ng-show="id.length">\n\t\t\t\t\t\t<a class="btn red" href="#" data-ng-click="deleteItems()">\n\t\t\t\t\t\t\t<i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="btn-group">\n\t\t\t\t\t\t<a class="btn green-jungle" href="/freshdesk/wizard">\n\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t<div ui-grid="gridOptions"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter class="ui-grid">\n\t\t\t\t\t<div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),
+a.put("app/freshdesk/view/configuration/list/create.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_NEW_CONFIGURATION\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <form name="form" novalidate>\n\n    \x3c!-- START NAME --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.name.$touched || form.name.$submitted) && form.name.$invalid}">\n      <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n      <span data-ng-show="(form.name.$touched || form.name.$submitted) && form.name.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END NAME --\x3e\n\n    \x3c!-- START CHANNEL --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.channel.$touched || form.channel.$submitted) && form.channel.$invalid}">\n      <label class="control-label">{{\'APPLICATION_CHANNEL\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <ui-select data-ng-model="item.channel" name="channel" theme="bootstrap" required>\n        <ui-select-match placeholder="{{\'APPLICATION_CHANNEL\' | translate}}">{{$select.selected.name}}</ui-select-match>\n        <ui-select-choices repeat="channel.value as channel in channels | filter: $select.search">\n          <div data-ng-bind="channel.name | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="(form.channel.$touched || form.channel.$submitted) && form.channel.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- START CHANNEL --\x3e\n\n    \x3c!-- START VOICE SUBTYPE --\x3e\n    <div data-ng-if="item.channel===\'voice\'" class="form-group" data-ng-class="{\'has-error\': (form.channel.$touched || form.channel.$submitted) && form.channel.$invalid}">\n      <label class="control-label">{{\'APPLICATION_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <ui-select data-ng-model="item.type" name="type" theme="bootstrap" required>\n        <ui-select-match placeholder="{{\'APPLICATION_TYPE\' | translate}}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="type in [\'Queue\',\'Outbound\'] | filter: $select.search">\n          <div data-ng-bind="type | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="(form.type.$touched || form.type.$submitted) && form.type.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- START CHANNEL --\x3e\n\n    \x3c!-- START DESCRIPTION --\x3e\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n      <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/></textarea>\n    </div>\n    \x3c!-- END DESCRIPTION --\x3e\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="save()" ng-disabled="form.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/freshdesk/view/configuration/list/list.html",'<div ui-view class="profile-content">\n\t<div class="row">\n\t\t<div class="col-md-12">\n\t\t\t<div class="portlet light" data-ng-init="initView()">\n\t\t\t\t<div class="portlet-title  tabbable-line">\n\t\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_CONFIGURATIONS\' | translate}}</span>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="actions">\n\t\t\t\t\t\t<div class="btn-group" data-ng-show="id.length">\n\t\t\t\t\t\t\t<a class="btn red" href="#" data-ng-click="deleteItems()">\n\t\t\t\t\t\t\t\t<i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="btn-group">\n\t\t\t\t\t\t\t<a class="btn green-jungle" href="#" data-ng-click="createItem()">\n\t\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONFIGURATION\' | translate }}\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class="portlet-body">\n\t\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t\t<div ui-grid="gridOptions"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter ui-grid-draggable-rows class="ui-grid">\n\t\t\t\t\t\t<div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/freshdesk/view/configuration/view/view.html",'<div class="row" data-ng-init="initView();getConfiguration();getCustomVariables();getFields();getTags();">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_CONFIGURATION\' | translate}}: {{configurationName}}</span>\n\t\t\t\t</div>\n\t\t\t\t<ul class="nav nav-tabs">\n\t\t\t\t\t<li class="active">\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_SUBJECT\' | translate}}</a>\n\t\t\t\t\t</li>\n          <li>\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_DESCRIPTION\' | translate}}</a>\n\t\t\t\t\t</li>\n          <li>\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_FIELDS\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_4" data-toggle="tab">{{\'APPLICATION_TAGS\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t<div class="tab-content">\n\t\t\t\t\t\x3c!-- SUBJECT TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding active" id="tab_1_1">\n            <div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">All following fields will be join by blank space:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItem(\'subject\')"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t\x3c!-- <div id="subject-item-list" ng-scrollbars ng-scrollbars-config="config"> --\x3e\n\t            <div class="row" data-ng-repeat="subjectItem in subjectConfig">\n\t              <div class="col-md-3">\n\t                <ui-select ng-model="subjectItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(subjectItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                  <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n\t                    <div ng-bind-html="item.title | highlight: $select.search"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t              </div>\n\t              <div class="col-md-8" data-ng-if="subjectItem.type==\'string\'">\n\t                <div class="form-group">\n\t                  <input type="text" class="form-control" data-ng-model="subjectItem.content" data-ng-change="updateField(subjectItem)">\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-8" data-ng-if="subjectItem.type==\'variable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.variableName" data-ng-change="updateField(subjectItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                    <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n\t                      <div ng-bind-html="variable.title | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-8" data-ng-if="subjectItem.type==\'customVariable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.VariableId" data-ng-change="updateField(subjectItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t                    <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n\t                      <div ng-bind-html="variable.name | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-1">\n\t                <div class="form-group">\n\t                  <button class="btn btn-icon-only red" data-ng-click="removeItem(subjectItem)"><i class="fa fa-times"></i></button>\n\t                </div>\n\t              </div>\n\t            </div>\n\t\t\t\t\t\t\x3c!-- </div> --\x3e\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END SUBJECT TAB --\x3e\n          \x3c!-- DESCRIPTION TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding" id="tab_1_2">\n\t\t\t\t\t\t<div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">All following fields will be join by new line:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItem(\'description\')"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t\x3c!-- <div id="description-item-list" ng-scrollbars ng-scrollbars-config="config"> --\x3e\n\t\t\t\t\t\t\t<div class="row" data-ng-repeat="descriptionItem in descriptionConfig">\n\t              <div class="col-md-2">\n\t                <ui-select ng-model="descriptionItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                  <ui-select-choices repeat="item.type as item in descFieldType | filter: $select.search">\n\t                    <div ng-bind-html="item.title | highlight: $select.search"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t              </div>\n\t              <div class="col-md-9" data-ng-if="descriptionItem.type==\'string\'">\n\t                <div class="form-group">\n\t                  <input type="text" class="form-control" data-ng-model="descriptionItem.content" data-ng-change="updateField(descriptionItem)">\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\'">\n\t\t\t\t\t\t\t\t\t<input type="text" class="form-control" placeholder="Key" data-ng-model="descriptionItem.key" data-ng-change="updateField(descriptionItem)">\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\'">\n\t\t\t\t\t\t\t\t\t<ui-select ng-model="descriptionItem.keyType" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                  <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n\t                    <div ng-bind-html="item.title | highlight: $select.search"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'string\'">\n\t\t\t\t\t\t\t\t\t<input type="text" class="form-control" placeholder="Value" data-ng-model="descriptionItem.keyContent" data-ng-change="updateField(descriptionItem)">\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'variable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.variableName" data-ng-change="updateField(descriptionItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                    <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n\t                      <div ng-bind-html="variable.title | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'customVariable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.VariableId" data-ng-change="updateField(descriptionItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t                    <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n\t                      <div ng-bind-html="variable.name | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-1">\n\t                <div class="form-group">\n\t                  <button class="btn btn-icon-only red" data-ng-click="removeItem(descriptionItem)"><i class="fa fa-times"></i></button>\n\t                </div>\n\t              </div>\n\t            </div>\n\t\t\t\t\t\t\x3c!-- </div> --\x3e\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END DESCRIPTION TAB --\x3e\n          \x3c!-- FIELDS TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding" id="tab_1_3">\n\t\t\t\t\t\t<div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">Add how to fill the fields present in your account:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItem(\'field\')"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t\x3c!-- <div id="field-item-list" ng-scrollbars ng-scrollbars-config="config"> --\x3e\n\t            <div class="row" data-ng-repeat="fieldItem in fieldConfig">\n\t              <div class="col-md-3">\n\t                <ui-select ng-model="fieldItem.idField" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeFieldType(fieldItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.label}}</ui-select-match>\n\t                  <ui-select-choices repeat="item.name as item in accountFields | filter: $select.search">\n\t                    <div ng-bind-html="item.label | highlight: $select.search"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t              </div>\n\t              <div class="col-md-8" data-ng-if="getSystemFieldOptions(fieldItem.idField)">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select ng-model="fieldItem.content" theme="bootstrap" ng-disabled="disabled" data-ng-change="updateField(fieldItem)">\n\t\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected}}</ui-select-match>\n\t\t                  <ui-select-choices repeat="item in getSystemFieldOptions(fieldItem.idField) | filter: $select.search">\n\t\t                    <div ng-bind-html="item | highlight: $select.search"></div>\n\t\t                  </ui-select-choices>\n\t\t                </ui-select>\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField)">\n\t\t\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select ng-model="fieldItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(fieldItem)">\n\t\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t\t                  <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n\t\t                    <div ng-bind-html="item.title | highlight: $select.search | ucfirst"></div>\n\t\t                  </ui-select-choices>\n\t\t                </ui-select>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'string\'">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<input type="text" class="form-control" data-ng-model="fieldItem.content" data-ng-change="updateField(fieldItem)">\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'variable\'">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.variableName" data-ng-change="updateField(fieldItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                    <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n\t                      <div ng-bind-html="variable.title | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'customVariable\'">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.VariableId" data-ng-change="updateField(fieldItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t                    <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n\t                      <div ng-bind-html="variable.name | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-1">\n\t                <div class="form-group">\n\t                  <button class="btn btn-icon-only red" data-ng-click="removeItem(fieldItem)"><i class="fa fa-times"></i></button>\n\t                </div>\n\t              </div>\n\t            </div>\n\t\t\t\t\t\t\x3c!-- </div> --\x3e\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END FIELDS TAB --\x3e\n\t\t\t\t\t\x3c!-- TAG TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding" id="tab_1_4">\n\t\t\t\t\t\t<div class="row">\n              <div class="col-md-12">\n                <span class="caption-subject">Select tags that you want add in the ticket:</span>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t<form name="forms.tags" data-ng-submit="updateTags()" novalidate>\n\t\t\t\t\t\t\t\x3c!-- TAG --\x3e\n\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t<ui-select multiple data-ng-model="selectedTags.tags" theme="bootstrap" name="tags" ng-disabled="disabled">\n\t\t\t\t\t\t\t\t\t<ui-select-match placeholder="{{ \'APPLICATION_TAGS\' | translate }}">{{$item.name}}</ui-select-match>\n\t\t\t\t\t\t\t\t\t<ui-select-choices repeat="tag.id as tag in tags | filter: $select.search">\n\t\t\t\t\t\t\t\t\t\t{{tag.name}}\n\t\t\t\t\t\t\t\t\t</ui-select-choices>\n\t\t\t\t\t\t\t\t</ui-select>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END TAG --\x3e\n\t\t\t\t\t\t\t<input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END TAG TAB --\x3e\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/freshdesk/view/view.account.html",'<div class="row">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_ACCOUNT\' | translate}}</span>\n\t\t\t\t</div>\n\t\t\t\t<ul class="nav nav-tabs">\n\t\t\t\t\t<li class="active">\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t<div class="tab-content">\n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t<div class="tab-pane active" id="tab_1_1">\n\t\t\t\t\t\t<form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItem()" novalidate>\n              \x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.name.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.name" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n\t\t\t\t\t\t\t\t<input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n              \x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.username" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n              \x3c!-- START REMOTE ADDRESS --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_REMOTE_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="url" name="remoteUri" placeholder="{{\'APPLICATION_REMOTE_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.remoteUri" required />\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START API KEY --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.apiKey.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_API_KEY\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="apiKey" placeholder="{{\'APPLICATION_API_KEY\' | translate}}" class="form-control" data-ng-model="account.apiKey" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.apiKey.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END API KEY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SERVER URL --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.serverUrl.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}}</label>\n\t\t\t\t\t\t\t\t<input type="url" name="serverUrl" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.serverUrl"/>\n\t\t\t\t\t\t\t\t<span class="help-block">\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_SERVER_URL\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t<span class="help-block help-block-info">\n\t\t\t\t\t\t\t\t\t{{\'MESSAGE_MOTION_ADDRESS_FORMAT\' | translate}}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END SERVER URL --\x3e\n\n\t\t\t\t\t\t\t<input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/freshdesk/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row" data-ng-init="initView()">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n          <i class="icon-handbag"></i>\n          <a href="/freshdesk/list">{{ \'APPLICATION_FRESHDESK\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<a href="#">{{account.name}}</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t<div class="profile-sidebar">\n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t<div class="portlet light profile-sidebar-portlet">\n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t<div class="profile-image">\n\t\t\t\t\t<img src="assets/images/media/freshdesk.png" class="img-responsive">\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t<div class="profile-usertitle">\n\t\t\t\t\t<div class="profile-usertitle-name">\n\t\t\t\t\t\t{{account.name}}\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="profile-usertitle-job">\n\t\t\t\t\t\t{{account.remoteUri}}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t<div class="profile-usermenu">\n\t\t\t\t\t<ul class="nav">\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.freshdesk.view.account\')}">\n\t\t\t\t\t\t\t<a ng-href="/freshdesk/view/{{account.id}}/account">\n\t\t\t\t\t\t\t<i class="icon-user"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_ACCOUNT\' | translate }} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.includes(\'main.freshdesk.view.configurations\') || $state.is(\'main.freshdesk.view.configuration\')}">\n\t\t\t\t\t\t\t<a ng-href="/freshdesk/view/{{account.id}}/configurations/list">\n\t\t\t\t\t\t\t<i class="icon-settings"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_CONFIGURATIONS\' | translate }} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t</div>\n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t</div>\n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t<div ui-view class="profile-content">\n\t\t</div>\n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),
+a.put("app/main/mergeContact.merge.modal.html",'<div class="modal-header" data-ng-init="initView()">\n  <h3 class="modal-title">{{ \'APPLICATION_MERGE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n      <form name="forms.general" data-ng-submit="submit({index:index,item:contact})" novalidate>\n          \x3c!-- BEGIN PORTLET --\x3e\n          <div class="portlet light ">\n                <div class="portlet-body row">\n                    <div class="col-md-4">\n                      \x3c!-- START FIRSTNAME --\x3e\n                      <div class="form-group" data-ng-class="{\'has-error\': (forms.general.firstName.$touched || forms.general.$submitted) && forms.general.firstName.$invalid}">\n                        <label class="control-label">{{\'APPLICATION_FIRSTNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                        <input data-ng-if="fields.firstName.length <= 1" type="text" name="firstName" placeholder="{{\'APPLICATION_FIRSTNAME\' | translate}}" class="form-control" data-ng-model="contact.firstName" required/>\n                        <ui-select data-ng-if="fields.firstName.length > 1" data-ng-model="contact.firstName" theme="bootstrap" name="firstName" required>\n                          <ui-select-match placeholder="{{ \'APPLICATION_FIRSTNAME\' | translate }}">{{$select.selected}}</ui-select-match>\n                          <ui-select-choices repeat="field in fields.firstName | filter: $select.search track by $index">\n                            <div ng-bind-html="field | highlight: $select.search"></div>\n                          </ui-select-choices>\n                        </ui-select>\n                        <span data-ng-show="(forms.general.firstName.$touched || forms.general.$submitted) && forms.general.firstName.$error.required" class="help-block help-block-error">\n                          <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                        </span>\n                      </div>\n                      \x3c!-- END FIRSTNAME --\x3e\n\n                      \x3c!-- START LASTNAME --\x3e\n                      <div class="form-group" data-ng-class="{\'has-error\': (forms.general.lastName.$touched || forms.general.$submitted) && forms.general.lastName.$invalid}">\n                        <label class="control-label">{{\'APPLICATION_LASTNAME\' | translate}}</label>\n                        <input data-ng-if="fields.lastName.length <= 1" type="text" name="lastName" placeholder="{{\'APPLICATION_LASTNAME\' | translate}}" class="form-control" data-ng-model="contact.lastName"/>\n                        <ui-select data-ng-if="fields.lastName.length > 1" data-ng-model="contact.lastName" theme="bootstrap" name="lastName">\n                          <ui-select-match placeholder="{{ \'APPLICATION_LASTNAME\' | translate }}">{{$select.selected}}</ui-select-match>\n                          <ui-select-choices repeat="field in fields.lastName | filter: $select.search track by $index">\n                            <div ng-bind-html="field | highlight: $select.search"></div>\n                          </ui-select-choices>\n                        </ui-select>\n                        <span data-ng-show="(forms.general.lastName.$touched || forms.general.$submitted) && forms.general.lastName.$error.required" class="help-block help-block-error">\n                          <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                        </span>\n                      </div>\n                      \x3c!-- END LASTNAME --\x3e\n\n                      \x3c!-- START COMPANY --\x3e\n                      <div class="form-group" data-ng-class="{\'has-error\': forms.general.CompanyId.$invalid && forms.general.$submitted}">\n                        <label class="control-label">{{\'APPLICATION_COMPANY\' | translate}}</label>\n                          <ui-select data-ng-model="contact.CompanyId" theme="bootstrap" name="CompanyId" ng-disabled="!companies.length">\n                            <ui-select-match placeholder="{{ \'APPLICATION_COMPANY\' | translate }}">{{$select.selected.name}}</ui-select-match>\n                            <ui-select-choices repeat="company.id as company in companies | filter: $select.search" null-option="scope.noCompany">\n                              <div ng-bind-html="company.name | highlight: $select.search"></div>\n                            </ui-select-choices>\n                          </ui-select>\n                        <div class="note note-warning" data-ng-hide="companies.length">\n                          <h4 class="block">Warning!</h4>\n                          <p>\n                            {{ \'MESSAGE_NO_COMPANIES_AVAILABLE\' | translate }}\n                          </p>\n                          <p>\n                            {{\'APPLICATION_GO_TO\' | translate}} <a href="/contactmanager/companies/list">{{\'APPLICATION_COMPANIES\' | translate}}</a>\n                          </p>\n                        </div>\n                        <span data-ng-show="forms.general.CompanyId.$invalid && forms.general.$submitted" class="help-block help-block-error">\n                          <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                        </span>\n                      </div>\n                      \x3c!-- END COMPANY --\x3e\n                    </div>\n                    <div class="col-md-4">\n                      \x3c!-- START PHONE --\x3e\n                      <div class="form-group" data-ng-class="{\'has-error\': (forms.general.phone.$touched || forms.general.$submitted) && forms.general.phone.$invalid}">\n                        <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}</label>\n                        <input data-ng-if="fields.phone.length <= 1" type="text" name="phone" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="contact.phone"/>\n                        <ui-select data-ng-if="fields.phone.length > 1" data-ng-model="contact.phone" theme="bootstrap" name="phone">\n                          <ui-select-match placeholder="{{ \'APPLICATION_PHONE\' | translate }}">{{$select.selected}}</ui-select-match>\n                          <ui-select-choices repeat="field in fields.phone | filter: $select.search track by $index">\n                            <div ng-bind-html="field | highlight: $select.search"></div>\n                          </ui-select-choices>\n                        </ui-select>\n                      <span data-ng-show="(forms.general.phone.$touched || forms.general.$submitted) && forms.general.phone.$error.required" class="help-block help-block-error">\n                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                      </span>\n                    </div>\n                    \x3c!-- END PHONE --\x3e\n                    \x3c!-- START MOBILE --\x3e\n                    <div class="form-group" data-ng-class="{\'has-error\': (forms.general.mobile.$touched || forms.general.$submitted) && forms.general.mobile.$invalid}">\n                      <label class="control-label">{{\'APPLICATION_MOBILE\' | translate}}</label>\n                      <input data-ng-if="fields.mobile.length <= 1" type="text" name="mobile" placeholder="{{\'APPLICATION_MOBILE\' | translate}}" class="form-control" data-ng-model="contact.mobile"/>\n                      <ui-select data-ng-if="fields.mobile.length > 1" data-ng-model="contact.mobile" theme="bootstrap" name="mobile">\n                        <ui-select-match placeholder="{{ \'APPLICATION_MOBILE\' | translate }}">{{$select.selected}}</ui-select-match>\n                        <ui-select-choices repeat="field in fields.mobile | filter: $select.search track by $index">\n                          <div ng-bind-html="field | highlight: $select.search"></div>\n                        </ui-select-choices>\n                      </ui-select>\n                    <span data-ng-show="(forms.general.mobile.$touched || forms.general.$submitted) && forms.general.mobile.$error.required" class="help-block help-block-error">\n                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                    </span>\n                  </div>\n                  \x3c!-- END MOBILE --\x3e\n                  \x3c!-- START EMAIL --\x3e\n                  <div class="form-group" data-ng-class="{\'has-error\': (forms.general.email.$touched || forms.general.$submitted) && forms.general.email.$invalid}">\n                    <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}</label>\n                    <input data-ng-if="fields.email.length <= 1" type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="contact.email"/>\n                      <ui-select data-ng-if="fields.email.length > 1" data-ng-model="contact.email" theme="bootstrap" name="email">\n                        <ui-select-match placeholder="{{ \'APPLICATION_EMAIL\' | translate }}">{{$select.selected}}</ui-select-match>\n                        <ui-select-choices repeat="field in fields.email | filter: $select.search track by $index">\n                          <div ng-bind-html="field | highlight: $select.search"></div>\n                        </ui-select-choices>\n                      </ui-select>\n                    <span data-ng-show="(forms.general.email.$touched || forms.general.$submitted) && forms.general.email.$error.required" class="help-block help-block-error">\n                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                    </span>\n                  </div>\n                  \x3c!-- END EMAIL --\x3e\n                </div>\n                <div class="col-md-4">\n                  \x3c!-- START FAX --\x3e\n                  <div class="form-group" data-ng-class="{\'has-error\': (forms.general.fax.$touched || forms.general.$submitted) && forms.general.fax.$invalid}">\n                    <label class="control-label">{{\'APPLICATION_FAX\' | translate}}</label>\n                    <input data-ng-if="fields.fax.length <= 1" type="text" name="fax" placeholder="{{\'APPLICATION_FAX\' | translate}}" class="form-control" data-ng-model="contact.fax"/>\n                      <ui-select data-ng-if="fields.fax.length > 1" data-ng-model="contact.fax" theme="bootstrap" name="fax">\n                        <ui-select-match placeholder="{{ \'APPLICATION_FAX\' | translate }}">{{$select.selected}}</ui-select-match>\n                        <ui-select-choices repeat="field in fields.fax | filter: $select.search track by $index">\n                          <div ng-bind-html="field | highlight: $select.search"></div>\n                        </ui-select-choices>\n                      </ui-select>\n                    <span data-ng-show="(forms.general.fax.$touched || forms.general.$submitted) && forms.general.fax.$error.required" class="help-block help-block-error">\n                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                    </span>\n                  </div>\n                  \x3c!-- END FAX --\x3e\n                  \x3c!-- START TAGS --\x3e\n                  <div class="form-group" data-ng-class="{\'has-error\': forms.general.tags.$invalid && forms.general.$submitted}">\n                    <label class="control-label">{{\'APPLICATION_TAGS\' | translate}}</label>\n                    <ui-select multiple=\'true\' data-ng-model="contact.tags" theme="bootstrap" name="tags" ng-disabled="disabled">\n                      <ui-select-match placeholder="{{ \'APPLICATION_TAGS\' | translate }}">{{$item}}</ui-select-match>\n                      <ui-select-choices repeat="tag in tags | filter: $select.search">\n                        <div ng-bind-html="tag | highlight: $select.search"></div>\n                      </ui-select-choices>\n                    </ui-select>\n                    <span data-ng-show="forms.general.tags.$invalid && forms.general.$submitted" class="help-block help-block-error">\n                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                    </span>\n                  </div>\n                  \x3c!-- END TAGS --\x3e\n                  \x3c!-- START LIST --\x3e\n                  <div class="form-group" data-ng-if="contact.id">\n                    <label class="control-label">{{\'APPLICATION_LIST\' | translate}}</label>\n                    <input type="text" name="list" placeholder="{{\'APPLICATION_LIST\' | translate}}" class="form-control" data-ng data-ng-model="contact.List.name" disabled/>\n                  </div>\n                  \x3c!-- END LIST --\x3e\n                </div>\n              </div>\n            </div>\n            <div class="portlet light upborder">\n                <div class="portlet-body row">\n                <div class="col-md-4">\n                  \x3c!-- START STREET --\x3e\n                  <div class="form-group" data-ng-class="{\'has-error\': (forms.general.street.$touched || forms.general.$submitted) && forms.general.street.$invalid}">\n                    <label class="control-label">{{\'APPLICATION_STREET\' | translate}}</label>\n                    <input data-ng-if="fields.street.length <= 1" type="text" name="street" placeholder="{{\'APPLICATION_STREET\' | translate}}" class="form-control" data-ng-model="contact.street"/>\n                        <ui-select data-ng-if="fields.street.length > 1" data-ng-model="contact.street" theme="bootstrap" name="street">\n                          <ui-select-match placeholder="{{ \'APPLICATION_STREET\' | translate }}">{{$select.selected}}</ui-select-match>\n                          <ui-select-choices repeat="field in fields.street | filter: $select.search track by $index">\n                            <div ng-bind-html="field | highlight: $select.search"></div>\n                          </ui-select-choices>\n                        </ui-select>\n                    <span data-ng-show="(forms.general.street.$touched || forms.general.$submitted) && forms.general.street.$error.required" class="help-block help-block-error">\n                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                    </span>\n                  </div>\n                  \x3c!-- END STREET --\x3e\n\n                  \x3c!-- START POSTALCODE --\x3e\n                  <div class="form-group" data-ng-class="{\'has-error\': (forms.general.postalCode.$touched || forms.general.$submitted) && forms.general.postalCode.$invalid}">\n                    <label class="control-label">{{\'APPLICATION_POSTALCODE\' | translate}}</label>\n                    <input data-ng-if="fields.postalCode.length <= 1" type="text" name="postalCode" placeholder="{{\'APPLICATION_POSTALCODE\' | translate}}" class="form-control" data-ng-model="contact.postalCode"/>\n                        <ui-select data-ng-if="fields.postalCode.length > 1" data-ng-model="contact.postalCode" theme="bootstrap" name="postalCode">\n                          <ui-select-match placeholder="{{ \'APPLICATION_POSTALCODE\' | translate }}">{{$select.selected}}</ui-select-match>\n                          <ui-select-choices repeat="field in fields.postalCode | filter: $select.search track by $index">\n                            <div ng-bind-html="field | highlight: $select.search"></div>\n                          </ui-select-choices>\n                        </ui-select>\n                    <span data-ng-show="(forms.general.postalCode.$touched || forms.general.$submitted) && forms.general.postalCode.$error.required" class="help-block help-block-error">\n                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                    </span>\n                  </div>\n                  \x3c!-- END POSTALCODE --\x3e\n\n                  \x3c!-- START CITY --\x3e\n                  <div class="form-group" data-ng-class="{\'has-error\': (forms.general.city.$touched || forms.general.$submitted) && forms.general.city.$invalid}">\n                    <label class="control-label">{{\'APPLICATION_CITY\' | translate}}</label>\n                    <input data-ng-if="fields.city.length <= 1" type="text" name="city" placeholder="{{\'APPLICATION_CITY\' | translate}}" class="form-control" data-ng-model="contact.city"/>\n                        <ui-select data-ng-if="fields.city.length > 1" data-ng-model="contact.city" theme="bootstrap" name="city">\n                          <ui-select-match placeholder="{{ \'APPLICATION_CITY\' | translate }}">{{$select.selected}}</ui-select-match>\n                          <ui-select-choices repeat="field in fields.city | filter: $select.search track by $index">\n                            <div ng-bind-html="field | highlight: $select.search"></div>\n                          </ui-select-choices>\n                        </ui-select>\n                    <span data-ng-show="(forms.general.city.$touched || forms.general.$submitted) && forms.general.city.$error.required" class="help-block help-block-error">\n                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                    </span>\n                  </div>\n                  \x3c!-- END CITY --\x3e\n                </div>\n                <div class="col-md-4">\n                  \x3c!-- START COUNTRY --\x3e\n                  <div class="form-group" data-ng-class="{\'has-error\': (forms.general.country.$touched || forms.general.$submitted) && forms.general.country.$invalid}">\n                    <label class="control-label">{{\'APPLICATION_COUNTRY\' | translate}}</label>\n                    <input data-ng-if="fields.country.length <= 1" type="text" name="country" placeholder="{{\'APPLICATION_COUNTRY\' | translate}}" class="form-control" data-ng-model="contact.country"/>\n                        <ui-select data-ng-if="fields.country.length > 1" data-ng-model="contact.country" theme="bootstrap" name="country">\n                          <ui-select-match placeholder="{{ \'APPLICATION_COUNTRY\' | translate }}">{{$select.selected}}</ui-select-match>\n                          <ui-select-choices repeat="field in fields.country | filter: $select.search track by $index">\n                            <div ng-bind-html="field | highlight: $select.search"></div>\n                          </ui-select-choices>\n                        </ui-select>\n                    <span data-ng-show="(forms.general.country.$touched || forms.general.$submitted) && forms.general.country.$error.required" class="help-block help-block-error">\n                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                    </span>\n                  </div>\n                  \x3c!-- END COUNTRY --\x3e\n\n                  \x3c!-- START DATEOFBIRTH --\x3e\n                  <div class="form-group" data-ng-class="{\'has-error\': (forms.general.dateOfBirth.$touched || forms.general.$submitted) && forms.general.dateOfBirth.$invalid}">\n                    <label class="control-label">{{\'APPLICATION_DATEOFBIRTH\' | translate}}</label>\n                    <input data-ng-if="fields.dateOfBirth.length <= 1" type="date" name="dateOfBirth" placeholder="{{\'APPLICATION_DATEOFBIRTH\' | translate}}" class="form-control" data-ng-model="contact.dateOfBirth"/>\n                    <ui-select data-ng-if="fields.dateOfBirth.length > 1" data-ng-model="contact.dateOfBirth" theme="bootstrap" name="dateOfBirth">\n                      <ui-select-match placeholder="{{ \'APPLICATION_DATEOFBIRTH\' | translate }}">{{$select.selected}}</ui-select-match>\n                      <ui-select-choices repeat="field in fields.dateOfBirth | filter: $select.search track by $index">\n                        <div ng-bind-html="field | highlight: $select.search"></div>\n                      </ui-select-choices>\n                    </ui-select>\n                      <span data-ng-show="(forms.general.dateOfBirth.$touched || forms.general.$submitted) && forms.general.dateOfBirth.$error.required" class="help-block help-block-error">\n                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                    </span>\n                  </div>\n                  \x3c!-- END DATEOFBIRTH --\x3e\n\n                  \x3c!-- START DESCRIPTION --\x3e\n                  <div class="form-group">\n                    <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                    <textarea  style="resize: vertical;" data-ng-if="fields.description.length <= 1" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="contact.description"/></textarea>\n                        <ui-select data-ng-if="fields.description.length > 1" data-ng-model="contact.description" theme="bootstrap" name="description">\n                          <ui-select-match placeholder="{{ \'APPLICATION_DESCRIPTION\' | translate }}">{{$select.selected}}</ui-select-match>\n                          <ui-select-choices repeat="field in fields.description | filter: $select.search track by $index">\n                            <div ng-bind-html="field | highlight: $select.search"></div>\n                          </ui-select-choices>\n                        </ui-select>\n                  </div>\n                  \x3c!-- END DESCRIPTION --\x3e\n                </div>\n                <div class="col-md-4">\n                  \x3c!-- START URL --\x3e\n                  <div class="form-group" data-ng-class="{\'has-error\': (forms.general.url.$touched || forms.general.$submitted) && forms.general.url.$invalid}">\n                    <label class="control-label">{{\'APPLICATION_URL\' | translate}}</label>\n                    <input data-ng-if="fields.url.length <= 1" type="text" name="url" placeholder="{{\'APPLICATION_URL\' | translate}}" class="form-control" data-ng-model="contact.url"/>\n                    <ui-select data-ng-if="fields.url.length > 1" data-ng-model="contact.url" theme="bootstrap" name="url">\n                      <ui-select-match placeholder="{{ \'APPLICATION_URL\' | translate }}">{{$select.selected}}</ui-select-match>\n                      <ui-select-choices repeat="field in fields.url | filter: $select.search track by $index">\n                        <div ng-bind-html="field | highlight: $select.search"></div>\n                      </ui-select-choices>\n                    </ui-select>\n                    <span data-ng-show="(forms.general.url.$touched || forms.general.$submitted) && forms.general.url.$error.required" class="help-block help-block-error">\n                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                    </span>\n                  </div>\n                  \x3c!-- END URL --\x3e\n                </div>\n              </div>\n            </div>\n          <div class="portlet light upborder" data-ng-if="customFields.length">\n            <div class="portlet-body">\n              <div class="row">\n              <div class="col-md-4" data-ng-repeat="customField in customFields">\n                <div data-ng-if="customField.type==\'text\'" class="form-group" data-ng-class="{\'has-error\': (forms.general[customField.name].$touched || forms.general.$submitted) && forms.general[customField.name].$invalid}">\n                  <label class="control-label">{{customField.alias}}</label>\n                  <input data-ng-if="fields[customField.name].length <= 1" type="text" name="{{customField.name}}" placeholder="{{customField.alias}}" class="form-control" data-ng-model="contact[customField.name]"/>\n                  <ui-select data-ng-if="fields[customField.name].length > 1" data-ng-model="contact[customField.name]" theme="bootstrap" name="{{customField.name}}">\n                    <ui-select-match placeholder="{{customField.name}}">{{$select.selected}}</ui-select-match>\n                    <ui-select-choices repeat="field in fields[customField.name] | filter: $select.search track by $index">\n                      <div ng-bind-html="field | highlight: $select.search"></div>\n                    </ui-select-choices>\n                  </ui-select>\n                  <span data-ng-show="(forms.general[customField.name].$touched || forms.general.$submitted) && forms.general[customField.name].$error.required" class="help-block help-block-error">\n                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                  </span>\n                </div>\n                <div data-ng-if="customField.type==\'select\'" class="form-group" data-ng-class="{\'has-error\': forms.general[customField.name].$invalid && forms.general.$submitted}">\n                  <label class="control-label">{{customField.alias}}</label>\n                  <ui-select data-ng-model="contact[customField.name]" theme="bootstrap" name="{{customField.name}}" data-ng-disabled="disabled">\n                    <ui-select-match allow-clear placeholder="{{customField.alias}}">{{$select.selected.value}}</ui-select-match>\n                    <ui-select-choices repeat="choice.value as choice in customField.values | filter: $select.search">\n                      <div ng-bind-html="choice.value | highlight: $select.search"></div>\n                    </ui-select-choices>\n                  </ui-select>\n                  <span data-ng-show="forms.general[customField.name].$invalid && forms.general.$submitted" class="help-block help-block-error">\n                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                  </span>\n                </div>\n              </div>\n            </div>\n            </div>\n          </div>\n          \x3c!-- END PORTLET --\x3e\n        </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="merge()" ng-disabled="forms.general.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/main/template/actionBuilder/template.actionBuilderIntegration.html",'<div data-ng-if="randomName" class="form-group col-md-6" data-ng-class="{\'has-error\': (form[\'data1\'+randomName].$touched || form.$submitted) && form[\'data1\'+randomName].$invalid}">\n  <ui-select data-ng-model="element.data1" name="data1{{randomName}}" theme="bootstrap" data-ng-change="changeIntegration()" required>\n    <ui-select-match placeholder="{{ \'APPLICATION_INTEGRATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n    <ui-select-choices repeat="integration.state as integration in integrations | filter: $select.search">\n      <div ng-bind-html="integration.name | highlight: $select.search"></div>\n    </ui-select-choices>\n  </ui-select>\n  <span class="help-block">\n    {{\'APPLICATION_INTEGRATION\' | translate}}\n  </span>\n  <span data-ng-show="(form[\'data1\'+randomName].$touched || form.$submitted) && form[\'data1\'+randomName].$error.required" class="help-block help-block-error">\n    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n  </span>\n</div>\n<div class="form-group col-md-6" data-ng-if="element.data1 && accounts && randomName" data-ng-class="{\'has-error\': (form[\'data2\'+randomName].$touched || form.$submitted) && form[\'data2\'+randomName].$invalid}">\n  <ui-select data-ng-model="element.data2" name="data2{{randomName}}" theme="bootstrap" data-ng-change="changeAccount();" required>\n    <ui-select-match placeholder="{{\'APPLICATION_ACCOUNT\' | translate}}">{{$select.selected.name}}</ui-select-match>\n    <ui-select-choices repeat="account.id as account in accounts | filter: $select.search">\n      <div ng-bind-html="account.name | highlight: $select.search"></div>\n    </ui-select-choices>\n  </ui-select>\n  <span class="help-block">\n    {{\'APPLICATION_ACCOUNT\' | translate}}\n  </span>\n  <span data-ng-show="(form[\'data2\'+randomName].$touched || form.$submitted) && form[\'data2\'+randomName].$error.required" class="help-block help-block-error">\n    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n  </span>\n</div>\n<div class="form-group col-md-6" data-ng-if="element.data2 && configurations && randomName" data-ng-class="{\'has-error\': (form[\'data3\'+randomName].$touched || form.$submitted) && form[\'data3\'+randomName].$invalid}">\n  <ui-select data-ng-model="element.data3" name="data3{{randomName}}" theme="bootstrap" required>\n    <ui-select-match placeholder="{{\'APPLICATION_CONFIGURATION\' | translate}}">{{$select.selected.name}}</ui-select-match>\n    <ui-select-choices repeat="config.id as config in configurations | filter: $select.search">\n      <div ng-bind-html="config.name | highlight: $select.search"></div>\n    </ui-select-choices>\n  </ui-select>\n  <span class="help-block">\n    {{\'APPLICATION_CONFIGURATION\' | translate}}\n  </span>\n  <span data-ng-show="(form[\'data3\'+randomName].$touched || form.$submitted) && form[\'data3\'+randomName].$error.required" class="help-block help-block-error">\n'+"    <strong>{{'APPLICATION_WARNING' | translate}}!</strong> {{'MESSAGE_REQUIRED_FIELD' | translate}}.\n  </span>\n</div>\n"),a.put("app/main/template/actionBuilder/template.actionBuilderJscripty.html",'<div data-ng-if="randomName" class="form-group col-md-6" data-ng-class="{\'has-error\': (form[\'data1\'+randomName].$touched || form.$submitted) && form[\'data1\'+randomName].$invalid}">\n  <ui-select data-ng-model="element.data1" name="data1{{randomName}}" theme="bootstrap" required>\n    <ui-select-match>{{$select.selected.name}}</ui-select-match>\n    <ui-select-choices repeat="project.id as project in projects | filter: $select.search">\n      <div ng-bind-html="project.name | highlight: $select.search"></div>\n    </ui-select-choices>\n  </ui-select>\n  <span data-ng-show="(form[\'data1\'+randomName].$touched || form.$submitted) && form[\'data1\'+randomName].$error.required" class="help-block help-block-error">\n'+"    <strong>{{'APPLICATION_WARNING' | translate}}!</strong> {{'MESSAGE_REQUIRED_FIELD' | translate}}.\n  </span>\n</div>\n"),
+a.put("app/main/template/template.contactTab.html",'<div class="row margin-top-20 contact-tab-container">\n  <div class="col-md-12 contact-tab">\n    <form name="forms.general" data-ng-submit="submit({index:index,item:contact,data:workspace.data})" novalidate>\n    \x3c!-- BEGIN PROFILE CONTENT --\x3e\n    <div class="profile-content">\n      <ul class="nav nav-tabs">\n  <li class="active">\n    <a href="#tab_1_1{{contact.id || \'\'}}" data-toggle="tab">{{\'APPLICATION_DETAIL\' | translate}}</a>\n  </li>\n  <li data-ng-if="contact.id">\n    <a href="#tab_1_2{{contact.id || \'\'}}" data-toggle="tab">{{\'APPLICATION_CUSTOMER_JOURNEY\' | translate}}</a>\n  </li>\n</ul>\n<div class="tab-content">\n  <div class="tab-pane fade active in" id="tab_1_1{{contact.id || \'\'}}">\n    \x3c!--end add-portfolio--\x3e\n    <div class="row portfolio-block" data-ng-if="workspace.data && workspace.data.uniqueid && workspace.data.agentcalledAt">\n      <div class="col-md-3">\n        <div class="portfolio-text">\n          <img src="assets/images/media/CmCall.png" alt=""/>\n          <div class="portfolio-text-info">\n            <h4>{{\'MESSAGE_INBOUND_CALL_FROM\' | translate}} - {{workspace.data.calleridnum}}</h4>\n            <p>\n              {{\'MESSAGE_CALL_UNIQUEID\' | translate}} : {{workspace.data.uniqueid}}\n            </p>\n          </div>\n        </div>\n      </div>\n      <div class="col-md-2 portfolio-stat">\n        <div>{{\'APPLICATION_QUEUE\' | translate}} </div>\n        <p>  {{workspace.data.queue}} </p>\n      </div>\n      <div class="col-md-3 portfolio-stat">\n        <div>{{\'APPLICATION_AGENT\' | translate}} </div>\n        <p>  {{workspace.data.membername}} </p>\n      </div>\n      <div class="col-md-2 portfolio-stat">\n        <div>{{\'APPLICATION_DATE\' | translate}} </div>\n        <p>  {{workspace.data.agentcalledAt | date:\'dd/MM/yyyy HH:mm:ss\'}} </p>\n      </div>\n      <div class="col-md-2 portfolio-stat">\n        <button class="btn" data-ng-class="{\'grey-cascade\':contact.disposed || !enableDisposal,\'green-haze\':enableDisposal && !contact.disposed}" type="button" data-ng-click="dispose()" data-ng-disabled="contact.disposed || !enableDisposal">\n          <i class="icon-target"></i> {{\'APPLICATION_DISPOSITION\' | translate}}\n        </button>\n      </div>\n    </div>\n            \x3c!--end row--\x3e\n          \x3c!-- BEGIN PORTLET --\x3e\n          <div class="portlet light ">\n            <div class="portlet-title">\n              <div class="caption caption-md">\n                <i class="icon-bar-chart theme-font hide"></i>\n                <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_DETAIL\' | translate}}</span>\n              </div>\n              <div class="actions">\n                <div class="btn-group btn-group-devided" data-toggle="buttons">\n                  <button type="submit" data-ng-if="contact.id" title="{{\'APPLICATION_COPY\' | translate}}" class="btn btn-circle green btn-sm" data-ng-click="copy(contact.id)"><i class="fa fa-files-o"></i></button>\n                  <button type="submit" data-ng-if="contact.ListId" class="btn btn-circle purple btn-sm" title="{{\'APPLICATION_MERGE\' | translate}}" data-ng-click="merge(contact)"><i class="icon-link"></i></button>\n                  <label class="btn btn-transparent grey-salsa btn-circle btn-sm active" data-ng-click="detail.tab=\'main\'">\n                  <input type="radio" class="toggle">{{\'APPLICATION_MAIN\' | translate}}</label>\n                  <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-click="detail.tab=\'other\'">\n                  <input type="radio" class="toggle">{{\'APPLICATION_OTHER\' | translate}}</label>\n                </div>\n              </div>\n            </div>\n            <div class="portlet-body">\n              <div data-ng-class="{\'hidden\':detail.tab != \'main\'}" class="portlet-body contact-portlet row">\n                <div class="col-md-4">\n              \x3c!-- START FIRSTNAME --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.firstName.$touched || forms.general.$submitted) && forms.general.firstName.$invalid}">\n                <label class="control-label">{{\'APPLICATION_FIRSTNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                <input type="text" name="firstName" placeholder="{{\'APPLICATION_FIRSTNAME\' | translate}}" class="form-control" data-ng-model="contact.firstName" required/>\n                <span data-ng-show="(forms.general.firstName.$touched || forms.general.$submitted) && forms.general.firstName.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END FIRSTNAME --\x3e\n\n              \x3c!-- START LASTNAME --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.lastName.$touched || forms.general.$submitted) && forms.general.lastName.$invalid}">\n                <label class="control-label">{{\'APPLICATION_LASTNAME\' | translate}}</label>\n                <input type="text" name="lastName" placeholder="{{\'APPLICATION_LASTNAME\' | translate}}" class="form-control" data-ng-model="contact.lastName"/>\n                <span data-ng-show="(forms.general.lastName.$touched || forms.general.$submitted) && forms.general.lastName.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END LASTNAME --\x3e\n\n              \x3c!-- START COMPANY --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': forms.general.CompanyId.$invalid && forms.general.$submitted}">\n                <label class="control-label">{{\'APPLICATION_COMPANY\' | translate}}</label>\n                <div class="input-group">\n                  <ui-select data-ng-model="contact.CompanyId" theme="bootstrap" name="CompanyId" ng-disabled="!companies.length" required>\n                    <ui-select-match placeholder="{{ \'APPLICATION_COMPANY\' | translate }}">{{$select.selected.name}}</ui-select-match>\n                    <ui-select-choices repeat="company.id as company in companies | filter: $select.search" null-option="scope.noCompany">\n                      <div ng-bind-html="company.name | highlight: $select.search"></div>\n                    </ui-select-choices>\n                  </ui-select>\n                  <span class="input-group-btn">\n                    <button type="button" data-ng-click="companyInfo(contact.CompanyId)" class="btn btn-default" data-ng-disabled="!contact.CompanyId">\n                      <span class="icon-info" data-ng-class="{\'font-blue\':contact.CompanyId}"></span>\n                    </button>\n                  </span>\n                </div>\n                <div class="note note-warning" data-ng-hide="companies.length">\n                  <h4 class="block">Warning!</h4>\n                  <p>\n                    {{ \'MESSAGE_NO_COMPANIES_AVAILABLE\' | translate }}\n                  </p>\n                  <p data-ng-if="!Auth.isAgent()">\n                    {{\'APPLICATION_GO_TO\' | translate}} <a href="/contactmanager/companies/list">{{\'APPLICATION_COMPANIES\' | translate}}</a>\n                  </p>\n                </div>\n                <span data-ng-show="forms.general.CompanyId.$invalid && forms.general.$submitted" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END COMPANY --\x3e\n            </div>\n            <div class="col-md-4">\n              \x3c!-- START PHONE --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.phone.$touched || forms.general.$submitted) && forms.general.phone.$invalid}">\n                <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}</label>\n                <div class="input-group">\n                  <input type="text" name="phone" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="contact.phone"/>\n                  <span class="input-group-btn" uib-dropdown>\n                    <button data-ng-if="Auth.isAgent()" type="button" uib-dropdown-toggle class="btn btn-default" data-ng-disabled="!contact.phone || !agent.phoneBarRemoteControl" >\n                      <span class="icon-earphones-alt" data-ng-class="{\'font-blue\':contact.phone && agent.phoneBarRemoteControl}" uib-tooltip="{{!agent.phoneBarRemoteControl ? (\'APPLICATION_ENABLE_REMOTE_PHONEBAR\' | translate) : (\'APPLICATION_MOTION_BAR_CONTROLS\' | translate)}}" ></span>\n                    </button>\n                    <ul class="dropdown-menu" uib-dropdown-menu role="menu" aria-labelledby="single-button">\n                      <li role="menuitem"><a href="#" data-ng-click="callPhoneBar(contact.phone,\'call\')"><i class="icon-phone"></i> {{\'APPLICATION_CALL\' | translate}}</a></li>\n                      <li role="menuitem"><a href="#" data-ng-click="callPhoneBar(contact.phone,\'transfer\')"><i class="glyphicon glyphicon-random"></i> {{\'APPLICATION_TRANSFER\' | translate}}</a></li>\n                    </ul>\n                    <button type="button" data-ng-click="openRoom(null,\'smsRoom\',{to:contact.phone})" class="btn btn-default" data-ng-disabled="!contact.phone || !license.messaging">\n                      <span class="glyphicon glyphicon-comment" data-ng-class="{\'font-blue\':contact.phone && license.messaging}"></span>\n                    </button>\n                  </span>\n                </div>\n                <span data-ng-show="(forms.general.phone.$touched || forms.general.$submitted) && forms.general.phone.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END PHONE --\x3e\n              \x3c!-- START MOBILE --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.mobile.$touched || forms.general.$submitted) && forms.general.mobile.$invalid}">\n                <label class="control-label">{{\'APPLICATION_MOBILE\' | translate}}</label>\n                <div class="input-group">\n                  <input type="text" name="mobile" placeholder="{{\'APPLICATION_MOBILE\' | translate}}" class="form-control" data-ng-model="contact.mobile"/>\n                  <span class="input-group-btn" uib-dropdown>\n                    <button data-ng-if="Auth.isAgent()" type="button" uib-dropdown-toggle class="btn btn-default" data-ng-disabled="!contact.mobile || !agent.phoneBarRemoteControl" >\n                      <span class="icon-earphones-alt" data-ng-class="{\'font-blue\':contact.mobile && agent.phoneBarRemoteControl}" uib-tooltip="{{!agent.phoneBarRemoteControl ? (\'APPLICATION_ENABLE_REMOTE_PHONEBAR\' | translate) : (\'APPLICATION_MOTION_BAR_CONTROLS\' | translate)}}" ></span>\n                    </button>\n                    <ul class="dropdown-menu" uib-dropdown-menu role="menu" aria-labelledby="single-button">\n                      <li role="menuitem"><a href="#" data-ng-click="callPhoneBar(contact.mobile,\'call\')"><i class="icon-phone"></i> {{\'APPLICATION_CALL\' | translate}}</a></li>\n                      <li role="menuitem"><a href="#" data-ng-click="callPhoneBar(contact.mobile,\'transfer\')"><i class="glyphicon glyphicon-random"></i> {{\'APPLICATION_TRANSFER\' | translate}}</a></li>\n                    </ul>\n                    <button type="button" data-ng-click="openRoom(null,\'smsRoom\',{to:contact.mobile})" class="btn btn-default" data-ng-disabled="!contact.mobile || !license.messaging">\n                      <span class="glyphicon glyphicon-comment" data-ng-class="{\'font-blue\':contact.mobile && license.messaging}"></span>\n                    </button>\n                  </span>\n                </div>\n                <span data-ng-show="(forms.general.mobile.$touched || forms.general.$submitted) && forms.general.mobile.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END MOBILE --\x3e\n              \x3c!-- START EMAIL --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.email.$touched || forms.general.$submitted) && forms.general.email.$invalid}">\n                <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}</label>\n                <div class="input-group">\n                  <input type="text" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="contact.email"/>\n                  <span class="input-group-btn">\n                    <button type="button" data-ng-click="openRoom(null,\'mailRoom\',{to:contact.email})" class="btn btn-default" data-ng-disabled="!contact.email || !license.mail">\n                      <span class="icon-envelope" data-ng-class="{\'font-blue\':contact.email && license.mail}"></span>\n                    </button>\n                  </span>\n                </div>\n                <span data-ng-show="(forms.general.email.$touched || forms.general.$submitted) && forms.general.email.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END EMAIL --\x3e\n            </div>\n            <div class="col-md-4">\n              \x3c!-- START FAX --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.fax.$touched || forms.general.$submitted) && forms.general.fax.$invalid}">\n                <label class="control-label">{{\'APPLICATION_FAX\' | translate}}</label>\n                <div class="input-group">\n                  <input type="text" name="fax" placeholder="{{\'APPLICATION_FAX\' | translate}}" class="form-control" data-ng-model="contact.fax"/>\n                  <span class="input-group-btn">\n                    <button type="button" data-ng-click="openRoom(null,\'faxRoom\',{to:contact.fax})" class="btn btn-default" data-ng-disabled="!contact.fax || !license.fax">\n                      <span class="fa fa-fax" data-ng-class="{\'font-blue\':contact.fax && license.fax}"></span>\n                    </button>\n                  </span>\n                </div>\n                <span data-ng-show="(forms.general.fax.$touched || forms.general.$submitted) && forms.general.fax.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END FAX --\x3e\n              \x3c!-- START TAGS --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': forms.general.tags.$invalid && forms.general.$submitted}">\n                <label class="control-label">{{\'APPLICATION_TAGS\' | translate}}</label>\n                <ui-select multiple=\'true\' data-ng-model="contact.tags" theme="bootstrap" name="tags" ng-disabled="disabled">\n                  <ui-select-match placeholder="{{ \'APPLICATION_TAGS\' | translate }}">{{$item}}</ui-select-match>\n                  <ui-select-choices repeat="tag in tags | filter: $select.search">\n                    {{tag}}\n                  </ui-select-choices>\n                </ui-select>\n                <span data-ng-show="forms.general.tags.$invalid && forms.general.$submitted" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END TAGS --\x3e\n              \x3c!-- START LIST --\x3e\n              <div class="form-group" data-ng-if="contact.id">\n                <label class="control-label">{{\'APPLICATION_LIST\' | translate}}</label>\n                <input type="text" name="list" placeholder="{{\'APPLICATION_LIST\' | translate}}" class="form-control" data-ng-model="contact.List.name" disabled/>\n              </div>\n              \x3c!-- END LIST --\x3e\n              \x3c!-- START LIST --\x3e\n              <div data-ng-if="!contact.id" class="form-group" data-ng-class="{\'has-error\': forms.general.ListId.$invalid && forms.general.$submitted}">\n                <label class="control-label">{{\'APPLICATION_LIST\' | translate}}<span class="required" aria-required="true">*</span></label>\n                <ui-select data-ng-model="contact.ListId" theme="bootstrap" name="ListId" data-ng-change="getCustomFields()" required>\n                  <ui-select-match placeholder="{{ \'APPLICATION_LIST\' | translate }}">{{$select.selected.name}}</ui-select-match>\n                  <ui-select-choices repeat="list.id as list in lists | filter: $select.search">\n                    <div ng-bind-html="list.name | highlight: $select.search"></div>\n                  </ui-select-choices>\n                </ui-select>\n                <div class="note note-warning" data-ng-hide="lists.length">\n                  <h4 class="block">Warning!</h4>\n                  <p>\n                    {{ \'MESSAGE_NO_LISTS_AVAILABLE\' | translate }}\n                  </p>\n                  <p data-ng-if="!Auth.isAgent()">\n                    {{\'APPLICATION_GO_TO\' | translate}} <a href="/contactmanager/lists/list">{{\'APPLICATION_LISTS\' | translate}}</a>\n                  </p>\n                </div>\n                <span data-ng-show="forms.general.ListId.$invalid && forms.general.$submitted" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END LIST --\x3e\n            </div>\n            </div>\n            <div data-ng-class="{\'hidden\':detail.tab != \'other\'}" class="portlet-body contact-portlet row">\n              <div class="col-md-4">\n              \x3c!-- START STREET --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.street.$touched || forms.general.$submitted) && forms.general.street.$invalid}">\n                <label class="control-label">{{\'APPLICATION_STREET\' | translate}}</label>\n                <input type="text" name="street" placeholder="{{\'APPLICATION_STREET\' | translate}}" class="form-control" data-ng-model="contact.street"/>\n                <span data-ng-show="(forms.general.street.$touched || forms.general.$submitted) && forms.general.street.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END STREET --\x3e\n\n              \x3c!-- START POSTALCODE --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.postalCode.$touched || forms.general.$submitted) && forms.general.postalCode.$invalid}">\n                <label class="control-label">{{\'APPLICATION_POSTALCODE\' | translate}}</label>\n                <input type="text" name="postalCode" placeholder="{{\'APPLICATION_POSTALCODE\' | translate}}" class="form-control" data-ng-model="contact.postalCode"/>\n                <span data-ng-show="(forms.general.postalCode.$touched || forms.general.$submitted) && forms.general.postalCode.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END POSTALCODE --\x3e\n\n              \x3c!-- START CITY --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.city.$touched || forms.general.$submitted) && forms.general.city.$invalid}">\n                <label class="control-label">{{\'APPLICATION_CITY\' | translate}}</label>\n                <input type="text" name="city" placeholder="{{\'APPLICATION_CITY\' | translate}}" class="form-control" data-ng-model="contact.city"/>\n                <span data-ng-show="(forms.general.city.$touched || forms.general.$submitted) && forms.general.city.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END CITY --\x3e\n            </div>\n            <div class="col-md-4">\n              \x3c!-- START COUNTRY --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.country.$touched || forms.general.$submitted) && forms.general.country.$invalid}">\n                <label class="control-label">{{\'APPLICATION_COUNTRY\' | translate}}</label>\n                <input type="text" name="country" placeholder="{{\'APPLICATION_COUNTRY\' | translate}}" class="form-control" data-ng-model="contact.country"/>\n                <span data-ng-show="(forms.general.country.$touched || forms.general.$submitted) && forms.general.country.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END COUNTRY --\x3e\n\n              \x3c!-- START DATEOFBIRTH --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.dateOfBirth.$touched || forms.general.$submitted) && forms.general.dateOfBirth.$invalid}">\n                <label class="control-label">{{\'APPLICATION_DATEOFBIRTH\' | translate}}</label>\n                <input name="dateOfBirth" type="date" placeholder="{{\'APPLICATION_DATEOFBIRTH\' | translate}}" class="form-control date-picker" data-ng-model="contact.dateOfBirth"/>\n                <span data-ng-show="(forms.general.dateOfBirth.$touched || forms.general.$submitted) && forms.general.dateOfBirth.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END DATEOFBIRTH --\x3e\n\n              \x3c!-- START DESCRIPTION --\x3e\n              <div class="form-group">\n                <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                <textarea style="resize: vertical;" type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="contact.description"></textarea>\n              </div>\n              \x3c!-- END DESCRIPTION --\x3e\n            </div>\n            <div class="col-md-4">\n              \x3c!-- START URL --\x3e\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.url.$touched || forms.general.$submitted) && forms.general.url.$invalid}">\n                <label class="control-label">{{\'APPLICATION_URL\' | translate}}</label>\n                <input type="text" name="url" placeholder="{{\'APPLICATION_URL\' | translate}}" class="form-control" data-ng-model="contact.url"/>\n                <span data-ng-show="(forms.general.url.$touched || forms.general.$submitted) && forms.general.url.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              \x3c!-- END URL --\x3e\n\n              \x3c!-- START CREATED_BY --\x3e\n              <div class="form-group" data-ng-if="contact.id">\n                <label class="control-label">{{\'APPLICATION_CREATED_BY\' | translate}}</label>\n                <input type="text" name="createdBy" placeholder="{{\'APPLICATION_CREATED_BY\' | translate}}" class="form-control" data-ng-model="contact.User.name" disabled/>\n              </div>\n              \x3c!-- END CREATED_BY --\x3e\n            </div>\n            </div>\n            </div>\n            <button type="submit" class="btn btn-circle green-haze btn-sm" data-ng-disabled="forms.general.$invalid">{{contact.id ? \'APPLICATION_UPDATE\' : \'APPLICATION_SAVE\' | translate}}</button>\n          </div>\n          \x3c!-- END PORTLET --\x3e\n          \x3c!-- BEGIN PORTLET --\x3e\n          <div class="portlet light" data-ng-if="customFields.length">\n            <div class="portlet-title tabbable-line">\n              <div class="caption caption-md">\n                <i class="icon-globe theme-font hide"></i>\n                <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_CUSTOM_FIELDS\' | translate}}</span>\n              </div>\n            </div>\n            <div class="portlet-body">\n              <div class="row">\n              <div class="col-md-4" data-ng-repeat="customField in customFields track by $index">\n                <div data-ng-if="customField.type==\'text\'" class="form-group" data-ng-class="{\'has-error\': (forms.general[customField.name].$touched || forms.general.$submitted) && forms.general[customField.name].$invalid}">\n                  <label class="control-label">{{customField.alias}}<span data-ng-if="customField.required" class="required" aria-required="true">*</span></label>\n                  <input type="text" name="{{customField.name}}" placeholder="{{customField.alias}}" class="form-control" data-ng-model="contact[customField.name]" data-ng-required="customField.required"/>\n                  <span data-ng-show="(forms.general[customField.name].$touched || forms.general.$submitted) && forms.general[customField.name].$error.required" class="help-block help-block-error">\n                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                  </span>\n                </div>\n                <div data-ng-if="customField.type==\'select\'" class="form-group" data-ng-class="{\'has-error\': forms.general[customField.name].$invalid && forms.general.$submitted}">\n                  <label class="control-label">{{customField.alias}}<span data-ng-if="customField.required" class="required" aria-required="true">*</span></label>\n                  <ui-select data-ng-model="contact[customField.name]" theme="bootstrap" name="{{customField.name}}" data-ng-disabled="disabled" data-ng-required="customField.required">\n                    <ui-select-match allow-clear placeholder="{{customField.alias}}">{{$select.selected.value}}</ui-select-match>\n                    <ui-select-choices repeat="choice.value as choice in customField.values | filter: $select.search">\n                      <div ng-bind-html="choice.value | highlight: $select.search"></div>\n                    </ui-select-choices>\n                  </ui-select>\n                  <span data-ng-show="forms.general[customField.name].$invalid && forms.general.$submitted" class="help-block help-block-error">\n                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                  </span>\n                </div>\n              </div>\n            </div>\n              <button type="submit" class="btn btn-circle green-haze btn-sm" data-ng-disabled="forms.general.$invalid">{{contact.id ? \'APPLICATION_UPDATE\' : \'APPLICATION_SAVE\' | translate}}</button>\n            </div>\n        </div>\n        \x3c!-- END PORTLET --\x3e\n      </div>\n      <div class="tab-pane fade" id="tab_1_2{{contact.id || \'\'}}">\n          \x3c!-- BEGIN PORTLET --\x3e\n          <div class="portlet light">\n            <div class="portlet-title tabbable-line">\n              <div class="caption caption-md">\n                <i class="icon-globe theme-font hide"></i>\n                <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_CUSTOMER_JOURNEY\' | translate}}</span>\n              </div>\n              <ul class="nav nav-tabs">\n                <li class="active">\n                  <a href="#" data-target="#tab_2_1{{contact.id || \'\'}}" data-toggle="tab">{{ \'APPLICATION_DAILY\' | translate}}</a>\n                </li>\n                <li>\n                  <a href="#" data-target="#tab_2_2{{contact.id || \'\'}}" data-toggle="tab">{{ \'APPLICATION_HISTORY\' | translate}}</a>\n                </li>\n              </ul>\n            </div>\n            <div class="portlet-body">\n              \x3c!--BEGIN TABS--\x3e\n              <div class="tab-content">\n                <div class="tab-pane active" id="tab_2_1{{contact.id || \'\'}}">\n                  <div class="contact-portlet">\n                    <div class="actions">\n                      <div class="btn-group btn-group-devided" data-toggle="buttons">\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-class="{\'active\':log.daily.show === \'phone\'}" data-ng-click="updateLog(\'daily\',\'phone\',\'general\',\'inbound\')">\n                        <input type="radio" class="toggle">{{\'APPLICATION_PHONES\' | translate}}</label>\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-class="{\'active\':log.daily.show === \'email\'}" data-ng-click="updateLog(\'daily\',\'email\',\'general\',\'room\')">\n                        <input type="radio" class="toggle">{{\'APPLICATION_EMAILS\' | translate}}</label>\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-class="{\'active\':log.daily.show === \'chat\'}" data-ng-click="updateLog(\'daily\',\'chat\',\'general\',\'room\')">\n                        <input type="radio" class="toggle">{{\'APPLICATION_CHAT\' | translate}}</label>\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-class="{\'active\':log.daily.show === \'fax\'}" data-ng-click="updateLog(\'daily\',\'fax\',\'general\',\'room\')">\n                        <input type="radio" class="toggle">{{\'APPLICATION_FAX\' | translate}}</label>\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-class="{\'active\':log.daily.show === \'sms\'}" data-ng-click="updateLog(\'daily\',\'sms\',\'general\',\'room\')">\n                        <input type="radio" class="toggle">{{\'APPLICATION_SMS\' | translate}}</label>\n                      </div><span data-ng-if="log.daily.show==\'phone\'"> |</span>\n                      <div class="btn-group btn-group-devided" data-toggle="buttons" data-ng-if="log.daily.show==\'phone\'">\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-class="{\'active\':log.daily.type === \'inbound\'}" data-ng-click="updateLog(\'daily\',false,false,\'inbound\')">\n                        <input type="radio" class="toggle">{{\'APPLICATION_INBOUND\' | translate}}</label>\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-class="{\'active\':log.daily.type === \'outbound\'}" data-ng-click="updateLog(\'daily\',false,\'general\',\'outbound\')">\n                        <input type="radio" class="toggle">{{\'APPLICATION_OUTBOUND\' | translate}}</label>\n                      </div><span data-ng-if="log.daily.show==\'phone\'"> |</span>\n                      <div class="btn-group btn-group-devided" data-toggle="buttons" data-ng-if="log.daily.show==\'phone\'">\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-class="{\'active\':log.daily.detail === \'general\'}" data-ng-click="updateLog(\'daily\',false,\'general\',false)">\n                        <input type="radio" class="toggle">{{\'APPLICATION_GENERAL\' | translate}}</label>\n                        <label data-ng-if="log.daily.type===\'inbound\'" class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-class="{\'active\':log.daily.detail === \'queue\'}" data-ng-click="updateLog(\'daily\',false,\'queue\',\'inbound\')">\n                        <input type="radio" class="toggle">{{\'APPLICATION_QUEUES\' | translate}}</label>\n                      </div>\n                    </div>\n                    <div data-ng-if="gridOptionsdaily" name="gridOptionsdaily"  ui-grid="gridOptionsdaily"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-exporter ui-grid-draggable-rows class="ui-grid">\n                      <div class="watermark" ng-show="!gridOptionsdaily.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n                    </div>\n                  </div>\n              </div>\n                <div class="tab-pane" id="tab_2_2{{contact.id || \'\'}}">\n                  <div class="contact-portlet">\n                    <div class="actions">\n                      <div class="btn-group btn-group-devided" data-toggle="buttons">\n'+"                        <label class=\"btn btn-transparent grey-salsa btn-circle btn-sm\" data-ng-class=\"{'active':log.history.show === 'phone'}\" data-ng-click=\"updateLog('history','phone','general','inbound')\">\n                        <input type=\"radio\" class=\"toggle\">{{'APPLICATION_PHONES' | translate}}</label>\n                        <label class=\"btn btn-transparent grey-salsa btn-circle btn-sm\" data-ng-class=\"{'active':log.history.show === 'email'}\" data-ng-click=\"updateLog('history','email','general','room')\">\n                        <input type=\"radio\" class=\"toggle\">{{'APPLICATION_EMAILS' | translate}}</label>\n                        <label class=\"btn btn-transparent grey-salsa btn-circle btn-sm\" data-ng-class=\"{'active':log.history.show === 'chat'}\" data-ng-click=\"updateLog('history','chat','general','room')\">\n                        <input type=\"radio\" class=\"toggle\">{{'APPLICATION_CHAT' | translate}}</label>\n                        <label class=\"btn btn-transparent grey-salsa btn-circle btn-sm\" data-ng-class=\"{'active':log.history.show === 'fax'}\" data-ng-click=\"updateLog('history','fax','general','room')\">\n                        <input type=\"radio\" class=\"toggle\">{{'APPLICATION_FAX' | translate}}</label>\n                        <label class=\"btn btn-transparent grey-salsa btn-circle btn-sm\" data-ng-class=\"{'active':log.history.show === 'sms'}\" data-ng-click=\"updateLog('history','sms','general','room')\">\n                        <input type=\"radio\" class=\"toggle\">{{'APPLICATION_SMS' | translate}}</label>\n                      </div><span data-ng-if=\"log.history.show=='phone'\"> |</span>\n                      <div class=\"btn-group btn-group-devided\" data-toggle=\"buttons\" data-ng-if=\"log.history.show=='phone'\">\n                        <label class=\"btn btn-transparent grey-salsa btn-circle btn-sm\" data-ng-class=\"{'active':log.history.type === 'inbound'}\" data-ng-click=\"updateLog('history',false,false,'inbound')\">\n                        <input type=\"radio\" class=\"toggle\">{{'APPLICATION_INBOUND' | translate}}</label>\n                        <label class=\"btn btn-transparent grey-salsa btn-circle btn-sm\" data-ng-class=\"{'active':log.history.type === 'outbound'}\" data-ng-click=\"updateLog('history',false,'general','outbound')\">\n                        <input type=\"radio\" class=\"toggle\">{{'APPLICATION_OUTBOUND' | translate}}</label>\n                      </div><span data-ng-if=\"log.history.show=='phone'\"> |</span>\n                      <div class=\"btn-group btn-group-devided\" data-toggle=\"buttons\" data-ng-if=\"log.history.show=='phone'\">\n                        <label class=\"btn btn-transparent grey-salsa btn-circle btn-sm\" data-ng-class=\"{'active':log.history.detail === 'general'}\" data-ng-click=\"updateLog('history',false,'general',false)\">\n                        <input type=\"radio\" class=\"toggle\">{{'APPLICATION_GENERAL' | translate}}</label>\n                        <label data-ng-if=\"log.history.type==='inbound'\" class=\"btn btn-transparent grey-salsa btn-circle btn-sm\" data-ng-class=\"{'active':log.history.detail === 'queue'}\" data-ng-click=\"updateLog('history',false,'queue','inbound')\">\n                        <input type=\"radio\" class=\"toggle\">{{'APPLICATION_QUEUES' | translate}}</label>\n                      </div>\n                    </div>\n                    <div data-ng-if=\"gridOptionshistory\" name=\"gridOptionshistory\" ui-grid=\"gridOptionshistory\"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-exporter ui-grid-draggable-rows class=\"ui-grid\">\n                      <div class=\"watermark\" ng-show=\"!gridOptionshistory.data.length\">{{'MESSAGE_NO_RESULTS_AVAILABLE' | translate}}</div>\n                    </div>\n                  </div>\n                </div>\n              </div>\n              \x3c!--END TABS--\x3e\n            </div>\n          </div>\n          \x3c!-- END PORTLET --\x3e\n        </div>\n    \x3c!-- END PROFILE CONTENT --\x3e\n  </form>\n</div>\n  </div>\n</div>\n"),
+a.put("app/main/template/template.jscriptyTab.html",'<div class="portlet light bordered">\n    \x3c!-- BEGIN PORTLET BODY --\x3e\n    <div class="portlet-body">\n          <div class="row">\n              \x3c!-- BEGIN SIDEBAR --\x3e\n                <div  class="profile-sidebar" style="width: 250px;">\n                  \x3c!-- PORTLET MAIN --\x3e\n              \t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n              \t\t\t\t<div class="profile-usermenu">\n              \t\t\t\t\t<ul class="nav">\n              \t\t\t\t\t\t<li  ng-repeat= \'question in questions track by $index\' ng-class="{active: $index == count}">\n              \t\t\t\t\t\t\t<a  ng-click="setCurrentQuestion($index)" >\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class="fa fa-check"></i> <label ng-if="attribute.nodeName == \'label\'" ng-repeat=\'attribute in question.value.attributes track by $index\'>{{attribute.value}}</label>\n                            </a>\n              \t\t\t\t\t\t</li>\n              \t\t\t\t\t</ul>\n              \t\t\t\t</div>\n              \t\t\t\t\x3c!-- END SIDEBAR MENU --\x3e\n                    \x3c!-- END PORTLET MAIN --\x3e\n                </div>\n                  \x3c!-- END SIDEBAR --\x3e\n                  <div   class="profile-content">\n                        <div class="portlet light bordered">\n                          <div class="portlet-title">\n                            <div class="caption font-green-sharp">\n                              <i class="fa fa-edit font-green-sharp"></i>\n                              <span ng-if="attribute.nodeName ==\'label\'" ng-repeat=\'attribute in currentQuestion.value.attributes\' class="caption-subject">{{attribute.value}} </span>\n                            </div>\n\n                          </div>\n  \t\t\t\t\t\t\t\t\t\t    <div class="portlet-body form ">\n                            <div class="row">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="col-md-10 col-md-offset-1 ">\n                                  <form >\n                                    <div class="form-body" style="height: 400px; overflow-y: auto;overflow-x:hidden">\n\n                                       \x3c!-- Question  --\x3e\n                                       <div class="form-group" style="word-wrap: break-word;" >\n                                          <h3 ng-if="attribute.nodeName ==\'question\' || attribute.nodeName ==\'text\'" ng-repeat=\'attribute in currentQuestion.value.attributes\'>{{attribute.value}}</h3>\n                                        </div>\n                                        \x3c!-- Buttons  --\x3e\n\n                                        <div  ng-if ="(edge.source.id == currentQuestion.id) && edge.value" ng-repeat=\'edge in currentQuestion.edges track by $index\' class="row">\n                                          <div  class="col-md-8 col-md-offset-2">\n                                            <input    checked="checked"   type="radio"  ng-model="currentQuestion.button" ng-value="edge" >\n                                              <label  ng-show="(edge.source.id == currentQuestion.id) && edge.value">{{edge.value}}</label><br><br>\n                                          </div>\n                                        </div>\n                                               \x3c!-- Question Other Option  --\x3e\n\n                                         <div class="form-group" ng-if= "attribute.nodeName ==\'other\' && attribute.value " ng-repeat=\'attribute in currentQuestion.value.attributes track by $index\'>\n                                            <br>\n                                           <div class="col-md-2">\n                                             <label class="control-label">{{attribute.value}}</label>\n                                           </div>\n                                              <div class="col-md-8">\n                                                <textarea  style="overflow:auto" ng-model="currentQuestion.otheranswer" placeholder="Enter text" rows="8" cols="40" ></textarea>\n                                              </div>\n              \t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n                                              \x3c!--  Inputs --\x3e\n                                          <div class="row margin-top-10"  ng-repeat=\'question in currentQuestion.children track by $index\'>\n                                              <div class="col-md-10 col-md-offset-1">\n                                                <div  ng-repeat=\'attribute in question.value.attributes track by $index\'>\n                                                    <div  ng-switch="attribute.nodeName">\n                                                        <div ng-class="col-md-2" ng-switch-when="label">\n                                                          <label class="control-label" style=" display:block;word-break:break-all;" >{{attribute.value}}</label>\n                                                        </div>\n                                                        <div ng-class="attribute.value != \'checkbox\' ? \'col-md-10 pull-right\': \'col-md-2\'" ng-switch-when="type" ng-switch="attribute.value">\n                                                            <input class="form-control" ng-switch-when="text" type="text" ng-model="question.answer" />\n                                                            <input  class="form-control" ng-switch-when="number" type="number" ng-model="question.answer" />\n                                                            <input  class=" pull-right"  ng-switch-when="checkbox" type="checkbox" ng-model="question.answer" />\n                                                            \x3c!-- ng-true-value="\'Selected\'" ng-false-value="\'Not Selected\'" --\x3e\n                                                            <textarea  class="form-control" ng-switch-when="textarea" ng-model="question.answer" rows="8" cols="40"></textarea>\n                                                        </div>\n                                                    </div>\n                                                </div>\n                                              </div>\n                                          </div>\n                                          </div>\n                                          \x3c!-- actions --\x3e\n                                          <div class="form-actions">\n                                            <div  ng-switch="attribute.nodeName" class="btn-set pull-left">\n                                              <button class="btn red-haze "  ng-click="end()">\n                                                <span  class="fa fa-times" > Close</span>\n                                              </button>\n                                              \x3c!-- <button class="btn red-haze "  ng-click="end()">\n                                                <span ng-if="attribute.nodeName ==\'end\'" ng-repeat=\'attribute in currentQuestion.value.attributes\' class="fa fa-times" > Finish</span>\n                                              </button> --\x3e\n                                              <button class="btn blue-haze"  ng-show="count" ng-click="back()"><span class="glyphicon glyphicon-chevron-left"></span>Back</button>\n                                            </div>\n                                            <div class="btn-set pull-right">\n                                              <button  ng-show=" currentQuestion.button" class="btn blue-hoki"   ng-click="next(currentQuestion.button.target, currentQuestion.button.value)">Next<span class="glyphicon glyphicon-chevron-right" ></span></button>\n                                              <button ng-repeat=\'edge in currentQuestion.edges track by $index\' ng-show="(edge.source.id == currentQuestion.id) && !edge.value" class="btn blue-hoki"   ng-click="next(edge.target)">Next<span class="glyphicon glyphicon-chevron-right" ></span></button>\n                                            </div>\n                                          </div>\n                                      </form>\n                                  </div>\n                                </div>\n                            </div>\n                        </div>\n                 </div>\n        </div>\n  </div>\n  \x3c!-- END PORTLET BODY --\x3e\n</div>\n'),a.put("app/main/template/template.notification.html",'<div class="ui-notification alert alert-block" ng-class="class" style="width: 350px; margin-top: 50px;">\n  <h4 ng-show="title" class="alert-heading"><i class="{{icon}}"></i> {{title}}</h4>\n  <hr>\n  <p ng-bind-html="message"></p>\n  <br>\n  <p>\n    <a class="btn btn-success close-notification" href="#" ng-click="nAccept()"><i class="glyphicon glyphicon-ok"></i> {{acceptBtn}} </a>\n    <a class="btn btn-danger close-notification" href="#" ng-click="nReject()"><i class="glyphicon glyphicon-remove"></i> {{rejectBtn}} </a>\n  </p>\n</div>\n'),a.put("app/main/template/template.reportBuilderView.html",'<div class="alert alert-warning alert-group">\n        <div class="form-inline" data-ng-class="{\'has-error\': forms.report.$submitted && !group.rules.length}">\n            <select ng-options="o.name as o.name for o in operators" ng-model="group.operator" class="form-control input-sm"></select>\n            <button style="margin-left: 5px" type="button" ng-click="addCondition()" class="btn btn-sm btn-success"><span class="glyphicon glyphicon-plus-sign"></span> {{\'APPLICATION_ADD_CONDITION\' | translate}}</button>\n            <button style="margin-left: 5px" type="button" ng-click="addGroup()" class="btn btn-sm btn-success"><span class="glyphicon glyphicon-plus-sign"></span> {{\'APPLICATION_ADD_GROUP\' | translate}}</button>\n            <button style="margin-left: 5px" type="button" ng-click="removeGroup()" class="btn btn-sm btn-danger"><span class="glyphicon glyphicon-minus-sign"></span> {{\'APPLICATION_REMOVE_GROUP\' | translate}}</button>\n        </div>\n        <div class="group-conditions">\n            <div ng-repeat="rule in group.rules | orderBy:\'index\'" class="condition">\n                <div ng-switch="rule.hasOwnProperty(\'group\')">\n                    <div ng-switch-when="true">\n                        <report-builder group="rule.group" fields="fields" forms="forms"></report-builder>\n                    </div>\n                    <div ng-switch-default="ng-switch-default">\n                        <div class="row">\n                          <div class="col-md-2" data-ng-class="{\'has-error\': forms.report.$submitted && !rule.field}">\n                          <ui-select data-ng-model="rule.field" theme="bootstrap" dynamic-name="randomName()" required>\n                            <ui-select-match placeholder="" ><span ng-bind-html="$select.selected.name"></span></ui-select-match>\n                            <ui-select-choices repeat="field.value as field in fields | filter: $select.search">\n                              <div ng-bind-html="field.name | highlight: $select.search"></div>\n                            </ui-select-choices>\n                          </ui-select>\n                          <span data-ng-show="forms.report.$submitted && !rule.field" class="help-block help-block-error">\n                            <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                          </span>\n                        </div>\n                        <div class="col-md-1">\n                          <ui-select data-ng-model="rule.condition" theme="bootstrap" dynamic-name="randomName()" data-ng-change="inputIsRequired(rule)" data-ng-init="inputIsRequired(rule)">\n                            <ui-select-match placeholder="">{{$select.selected.name}}</ui-select-match>\n                            <ui-select-choices repeat="condition.name as condition in conditions | filter: $select.search">\n                              <div ng-bind-html="condition.name | highlight: $select.search"></div>\n                            </ui-select-choices>\n                          </ui-select>\n                        </div>\n                          <div class="col-md-2" data-ng-class="{\'has-error\': forms.report.$submitted && !rule.value}" data-ng-if="rule.required">\n                            <input type="text" ng-model="rule.value" class="form-control" dynamic-name="randomName()" data-ng-required="requiredInput"/>\n                            <span data-ng-show="forms.report.$submitted && !rule.value" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>\n                          </div>\n                            <button style="margin-left: 5px" ng-click="removeCondition($index)" class="btn btn-sm btn-danger" type="button"><span class="glyphicon glyphicon-minus-sign"></span></button>\n                        </div>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n'),a.put("app/main/template/template.tigerDialDisposal.html",'<div class="row margin-top-20 contact-tab-container">\n  <div class="portlet light bordered">\n    <div class="row portfolio-block" data-ng-if="workspace.spooler.destcalleridnum && workspace.spooler.queue && workspace.spooler.agentconnectAt">\n      <div class="col-md-2">\n        <div class="portfolio-text">\n          <img src="assets/images/media/outboundroute.png" class="td-disposal-logo" alt=""/>\n        </div>\n      </div>\n      <div class="col-md-3 portfolio-stat">\n        <div>{{\'APPLICATION_CALLED_NUMBER\' | translate}} </div>\n        <p>  {{workspace.spooler.destcalleridnum}} </p>\n      </div>\n      <div class="col-md-3 portfolio-stat">\n        <div>{{\'APPLICATION_QUEUE\' | translate}} </div>\n        <p>  {{workspace.spooler.queue}} </p>\n      </div>\n      <div class="col-md-3 portfolio-stat">\n        <div>{{\'APPLICATION_DATE\' | translate}} </div>\n        <p>  {{workspace.spooler.agentconnectAt | date:\'dd/MM/yyyy HH:mm:ss\'}} </p>\n      </div>\n</div>\n    <div class="portlet-title">\n      <div class="caption font-blue-hoki">\n        <span class="caption-subject">{{ workspace.spooler.calleridname }} {{ \'APPLICATION_MOTION_DIALER\' | translate }} {{ \'APPLICATION_DISPOSITION\' | translate }} </span>\n      </div>\n    </div>\n    <div class="portlet-body">\n      <div class="padding-bottom row">\n        <div class="col-md-12" data-ng-form="tdForm">\n          \x3c!-- START RETRIEVE --\x3e\n          <div class="form-group" data-ng-class="{\'has-error\': (tdForm.retrieve.$touched || tdForm.$submitted) && tdForm.retrieve.$invalid}">\n            <label class="control-label">{{ \'APPLICATION_STATUS\' | translate }}<span class="required" aria-required="true">*</span></label>\n            <select name="retrieve" class="form-control" data-ng-model="entitySpooler.retrieve" required>\n              <option value="CLOSED">CLOSE</option>\n              <option value="OPEN">OPEN</option>\n              <option value="BLACK_LIST">BLACKLIST</option>\n              <option value="PLANNED">PLANNING</option>\n              <option value="PLANNED_PEER">PLANNING AGENT</option>\n            </select>\n            <span data-ng-show="(tdForm.retrieve.$touched || tdForm.$submitted) && tdForm.retrieve.$error.required" class="help-block help-block-error">\n              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n            </span>\n          </div>\n          \x3c!-- END RETRIEVE --\x3e\n          \x3c!-- START PLANNING DATE --\x3e\n          <div class="form-group" data-ng-if="entitySpooler.retrieve == \'PLANNED\' || entitySpooler.retrieve == \'PLANNED_PEER\'" data-ng-class="{\'has-error\': (tdForm.date.$touched || tdForm.$submitted) && tdForm.date.$invalid}">\n            <label class="control-label">PLANNING DATE<span class="required" aria-required="true">*</span></label>\n            <uib-datepicker name="date" ng-model="entitySpooler.planningtime" required data-ng-init="entitySpooler.planningtime = moment();"></uib-datepicker>\n            <span data-ng-show="(tdForm.date.$touched || tdForm.$submitted) && tdForm.date.$error.required" class="help-block help-block-error">\n              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n            </span>\n          </div>\n          \x3c!-- END PLANNING DATE --\x3e\n          \x3c!-- START PLANNING TIME --\x3e\n          <div class="form-group" data-ng-if="entitySpooler.retrieve == \'PLANNED\' || entitySpooler.retrieve == \'PLANNED_PEER\'" data-ng-class="{\'has-error\': (tdForm.time.$touched || tdForm.$submitted) && tdForm.time.$invalid}">\n            <label class="control-label">PLANNING TIME<span class="required" aria-required="true">*</span></label>\n            <uib-timepicker name="time" ng-model="entitySpooler.planningtime" required show-meridian="false" show-seconds="false"></uib-timepicker>\n            <span data-ng-show="(tdForm.time.$touched || tdForm.$submitted) && tdForm.time.$error.required" class="help-block help-block-error">\n              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n            </span>\n          </div>\n          \x3c!-- END PLANNING TIME --\x3e\n          \x3c!-- START PLANNING PEER --\x3e\n          <div class="form-group" data-ng-if="entitySpooler.retrieve == \'PLANNED_PEER\'" data-ng-class="{\'has-error\': (tdForm.agent.$touched || tdForm.$submitted) && tdForm.agent.$invalid}">\n            <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n            <input name="agent" class="form-control" data-ng-model="entitySpooler.planningpeer" readonly required>\n            <span data-ng-show="(tdForm.agent.$touched || tdForm.$submitted) && tdForm.agent.$error.required" class="help-block help-block-error">\n              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n            </span>\n          </div>\n          \x3c!-- END PLANNING PEER --\x3e\n          <button type="button" class="btn btn-circle green-haze btn-sm" data-ng-disabled="!tdForm.$valid" data-ng-click="save()">{{\'APPLICATION_SAVE\' | translate}}</button>\n        </div>\n      </div>\n    </div>\n  </div>\n</div>\n'),a.put("app/main/template/template.webPopup.html",'<div class="alert" ng-class="class">\n  <h3 data-ng-show="workspace.data.subject" class="alert-heading"><i class="{{icon}}"></i>{{workspace.data.subject}}</h3>\n  <hr data-ng-show="workspace.data.subject">\n  <div ng-bind-html="html"></div>\n</div>\n'),a.put("app/market/market.html",'<div class="row">\n\t<div class="col-md-12">\n\t\t\t<div class="page-bar">\n\t\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<i class="icon-handbag"></i>\n\t\t\t\t\t\t<a href="/market">Market Place</a>\n          </li>\n        </ul>\n\t\t\t</div>\n\t\t</div>\n</div>\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row" data-ng-init="initView()">\n  <div class="col-md-12">\n    \x3c!-- Our Integration --\x3e\n    <div class="headline">\n      <h3>Our Integrations</h3>\n    </div>\n    <div class="row thumbnails" data-ng-repeat="group in groupedIntegration">\n      <div class="col-md-3" data-ng-repeat="integration in group">\n        <div class="our-integrations">\n          <h3> {{integration.name}} <small> {{integration.author}}</small></h3>\n          <img data-ng-src="{{integration.logo}}" alt="{{integration.name}}" class="img-responsive"/>\n          <div class="integration-info" data-ng-if="!integration.downloading">\n            <p>\n              {{integration.description}}\n            </p>\n            <div class="pull-right">\n\t            <a data-ng-disabled="isProgressing" data-ng-if="!integration.active" data-ng-click="installIntegration(integration)" href="#" class="btn btn-xs green-meadow">Install <i class="fa fa-download"></i></a>\n\t\t\t\t\t\t\t<a data-ng-disabled="isProgressing" data-ng-if="integration.active" data-ng-click="uninstallIntegration(integration)" href="#" class="btn btn-xs red-sunglo">Uninstall <i class="fa fa-trash"></i></a>\n\t            <a href="{{integration.link}}" class="btn btn-xs grey-cascade" target="_blank">More <i class="fa fa-link"></i></a>\n            </div>\n          </div>\n\t\t\t\t\t<div class="integration-info" data-ng-if="integration.downloading">\n\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t<uib-progressbar class="progress-striped active" value="percentage" type="success"><i style="color:black;">{{status}}</i></uib-progressbar>\n\t\t\t\t\t\t</div>\n          </div>\n        </div>\n      </div>\n\t\t</div>\n    \x3c!--/thumbnails--\x3e\n    \x3c!-- //End Meer Our Team --\x3e\n  </div>\n</div>\n'),a.put("app/motiondialer/blacklist/list/list.create.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_NEW_CONTACT\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <form name="form" novalidate>\n\n    \x3c!-- START PHONE --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.phone.$touched || form.$submitted) && form.phone.$invalid}">\n      <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="phone" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="item.phone" required/>\n      <span data-ng-show="(form.phone.$touched || form.$submitted) && form.phone.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END PHONE --\x3e\n\n    \x3c!-- START DESCRIPTION --\x3e\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n      <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"></textarea>\n    </div>\n    \x3c!-- END DESCRIPTION --\x3e\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="save()" ng-disabled="form.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/motiondialer/blacklist/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-control-forward"></i>\n\t\t\t\t\t<a href="#">Motion Dialer</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n        <li>\n          <i class="icon-doc"></i>\n          <a href="#">{{ \'APPLICATION_BLACKLIST\' | translate }}</a>\n        </li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t<div class="portlet light bordered" data-ng-init="initView()">\n\t\t\t<div class="portlet-title">\n\t\t\t\t<div class="caption font-green-sharp">\n\t\t\t\t\t<i class="icon-doc font-green-sharp"></i>\n\t\t\t\t\t<span class="caption-subject">{{ \'APPLICATION_BLACKLIST\' | translate }}</a> </span>\n\t\t\t\t</div>\n\t\t\t\t<div class="actions">\n\t\t\t\t\t<div class="btn-group">\n\t\t\t\t\t\t<button class="btn green-jungle " ng-click="createItem()">\n\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONTACT\' | translate }}\n\t\t\t\t\t\t</button>\n\t\t\t\t\t\t<span class="btn default btn-file">\n\t\t\t\t\t\t\t<span class="fileinput-new"><i class="icon-cloud-upload"></i> {{\'APPLICATION_IMPORT_FROM_CSV\' | translate}}</span>\n\t\t\t\t\t\t\t<input type="file" nv-file-select="" uploader="uploader"/>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t<div ui-grid="gridOptions"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-exporter class="ui-grid">\n\t\t\t\t\t<div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/motiondialer/blacklist/list/list.import.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_IMPORT_FROM_CSV\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <form name="form" novalidate>\n\n    \x3c!-- START PHONE --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.phone.$touched || form.$submitted) && form.phone.$invalid}">\n      <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}</label>\n      <ui-select data-ng-model="item.phone" theme="bootstrap" name="phone" data-ng-disabled="disabled" required>\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_PHONE\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n    </div>\n    \x3c!-- END PHONE --\x3e\n\n    \x3c!-- START DESCRIPTION --\x3e\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n      <ui-select data-ng-model="item.description" theme="bootstrap" name="description" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_DESCRIPTION\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n    </div>\n    \x3c!-- END DESCRIPTION --\x3e\n\n  </form>\n  \x3c!-- START PROGRESS --\x3e\n  <div>\n    <p>{{\'APPLICATION_IMPORT_SUCCEEDED\' | translate}}: {{import.succeeded}}/{{csvLength}}</p>\n    <div class="progress progress-sm" style="">\n      <div class="progress-bar progress-bar-info" role="progressbar" ng-style="{ \'width\': import.success + \'%\' }"></div>\n    </div>\n  </div>\n  <div>\n    <p>{{\'APPLICATION_IMPORT_FAILED\' | translate}}: {{import.failed}}/{{csvLength}}</p>\n    <div class="progress progress-sm" style="">\n      <div class="progress-bar progress-bar-danger" role="progressbar" ng-style="{ \'width\': import.fail + \'%\' }"></div>\n    </div>\n    <div class="has-error" data-ng-if="noPhone.length">\n      <span class="help-block help-block-error">\n        {{\'APPLICATION_CONTACTS_WITHOUT_PHONE\' | translate}}: {{noPhone}}\n      </span>\n    </div>\n    <div class="has-error" data-ng-if="duplicates.length">\n      <span class="help-block help-block-error">\n        {{\'APPLICATION_DUPLICATED_CONTACTS\' | translate}}: {{duplicates}}\n      </span>\n    </div>\n  </div>\n  \x3c!-- END PROGRESS --\x3e\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="start()" ng-disabled="form.$invalid || !form.phone || submitted">{{ \'APPLICATION_SUBMIT\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="close()" data-ng-if="!importing">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="stop()" data-ng-if="importing">{{ \'APPLICATION_STOP\' | translate }}</button>\n</div>\n'),
+a.put("app/motiondialer/info/view/view.about.html",'<div class="row" data-ng-init="initView()">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_ABOUT\' | translate}}</span>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n        <form class="form-horizontal form-row-seperated">\n          <div class="form-body">\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">Specification</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" value="{{properties.SpecificationTitle}} ({{properties.SpecificationVersion}}) - {{properties.SpecificationVendor}}" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">Implementation</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" value="{{properties.ImplementationTitle}} ({{properties.ImplementationVersion}}) - {{properties.ImplementationVendor}}" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">Start Time</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" data-ng-model="properties.StartTime" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">Uptime</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" data-ng-model="properties.Uptime" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">Operating System</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" value="{{properties.OsName}} {{properties.OsVersion}} {{properties.OsArch}}" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">Processors</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" data-ng-model="properties.Processors" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">System Start Time</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" data-ng-model="properties.SystemStartTime" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">System Uptime</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" data-ng-model="properties.SystemUptime" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">File System</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" value="Usable: {{properties.FileSystem.Usable | number:2}} Free: {{properties.FileSystem.Free | number:2}} Total: {{properties.FileSystem.Total | number:2}}" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n          </div>\n        </form>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/motiondialer/info/view/view.details.html",'<div class="row" data-ng-init="initView()">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_DETAILS\' | translate}}</span>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n        <form class="form-horizontal form-row-seperated">\n          <div class="form-body">\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">Java Specification Name</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" data-ng-model="properties.JavaSpecificationName" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">Java Home</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" data-ng-model="properties.JavaHome" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">JavaVm</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" value="{{properties.JavaVmName}} ({{properties.JavaVmVersion}} {{properties.JavaVmInfo}}) - {{properties.JavaVmVendor}}" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">Java</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" value="Java ({{properties.JavaVersion}} {{properties.JavaClassVersion}}) - {{properties.JavaVendor}}" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">Java Runtime</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" value="{{properties.JavaRuntimeName}} ({{JavaRuntimeVersion}})" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">Java Rmi Server Hostname</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" value="{{properties.JavaRmiServerHostname}}" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">User</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" value="{{properties.UserName}} {{properties.UserLanguage}}-{{properties.UserCountry}} {{properties.UserTimezone}}" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">User Home</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" value="{{properties.UserHome}}" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n            \x3c!-- START --\x3e\n            <div class="form-group">\n              <label class="control-label col-md-3">Hostname</label>\n              <div class="col-md-9">\n                <input type="text" class="form-control" value="{{properties.Hostname}}" disabled/>\n                <span class="help-block">\n                </span>\n              </div>\n            </div>\n            \x3c!-- END --\x3e\n          </div>\n        </form>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/motiondialer/info/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row" data-ng-init="getProperties()">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-control-forward"></i>\n\t\t\t\t\t<a href="#">Motion Dialer</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-info"></i>\n\t\t\t\t\t<a href="/motiondialer/info/view/properties">{{ \'APPLICATION_INFO\' | translate }}</a>\n\t\t\t\t\t<i data-ng-show="variable" class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t<div class="profile-sidebar">\n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t<div class="portlet light profile-sidebar-portlet">\n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t<div class="profile-image">\n\t\t\t\t\t<img data-ng-src="assets/images/media/template.png" class="img-responsive">\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t<div class="profile-usertitle">\n\t\t\t\t\t<div class="profile-usertitle-name">\n\t\t\t\t\t\t{{ \'APPLICATION_INFO\' | translate }}\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- <div class="profile-usertitle-job">\n\t\t\t\t\t\t{{user.role}}\n\t\t\t\t\t</div> --\x3e\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t<div class="profile-usermenu">\n\t\t\t\t\t<ul class="nav">\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.motiondialer.info.view.about\')}">\n\t\t\t\t\t\t\t<a data-ng-href="/motiondialer/info/view/about">\n\t\t\t\t\t\t\t<i class="icon-globe"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_ABOUT\' | translate}} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.motiondialer.info.view.details\')}">\n\t\t\t\t\t\t\t<a data-ng-href="/motiondialer/info/view/details">\n\t\t\t\t\t\t\t<i class="icon-support"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_DETAILS\' | translate}} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.motiondialer.info.view.logs\')}">\n\t\t\t\t\t\t\t<a data-ng-href="/motiondialer/info/view/logs">\n\t\t\t\t\t\t\t<i class="icon-list"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_LOGS\' | translate}} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t</div>\n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t</div>\n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t<div ui-view class="profile-content">\n\t\t</div>\n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/motiondialer/info/view/view.logs.html",'<div class="row" data-ng-init="initLogs()">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_LOGS\' | translate}}</span>\n\t\t\t\t</div>\n\t\t\t\t<button class="btn btn-default float-right" href="#" data-ng-click="initLogs()" data-ng-disabled="loading">\n\t\t\t\t\t\t<i class="icon-refresh"></i>\n\t\t\t\t\t</button>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t<div ui-grid="table1" name="table1" ui-grid-resize-columns ui-grid-pagination ui-grid-auto-resize ui-grid-exporter class="ui-grid">\n\t\t\t\t\t<div class="watermark" data-ng-show="!table1.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n\t\t\t\t\t<span us-spinner spinner-key="logs-spinner" spinner-start-active="true"></span>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/motiondialer/process/list/list.create.queue.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_NEW_PROCESS\' | translate }} {{\'APPLICATION_QUEUE\' | translate}}</h3>\n</div>\n<div class="modal-body">\n  <form name="form" ng-init="initModal()" novalidate>\n\n    \x3c!-- START NAME --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.name.$touched || form.$submitted) && form.name.$invalid}">\n      <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n      <span data-ng-show="(form.name.$touched || form.$submitted) && form.name.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END NAME --\x3e\n    \x3c!-- START LIST --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.list.$touched || form.$submitted) && form.list.$invalid}">\n      <label class="control-label">{{\'APPLICATION_LIST\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <select name="list" class="form-control" data-ng-model="item.list" ng-options="list.name for list in lists" required>\n      </select>\n      <span data-ng-show="(form.list.$touched || form.$submitted) && form.list.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END LIST --\x3e\n    \x3c!-- START QUEUE --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.queue.$touched || form.$submitted) && form.queue.$invalid}">\n      <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <select name="queue" class="form-control" data-ng-model="item.queue" ng-options="queue.name for queue in queues" required>\n      </select>\n      <span data-ng-show="(form.queue.$touched || form.$submitted) && form.queue.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END QUEUE --\x3e\n    \x3c!-- START TIMEOUT QUEUE --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.timeout.$touched || form.$submitted) && form.timeout.$invalid}">\n      <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="number" min="1" name="timeout" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}}" class="form-control" data-ng-model="item.timeout" required/>\n      <span data-ng-show="(form.timeout.$touched || form.$submitted) && form.timeout.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n      <span data-ng-show="form.timeout.$error.max || form.timeout.$error.min" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END MAX RETRIES --\x3e\n    \x3c!-- START TRUNK --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.device.$touched || form.$submitted) && form.device.$invalid}">\n      <label class="control-label">{{\'APPLICATION_TRUNK\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <select name="device" class="form-control" data-ng-model="item.device" ng-options="trunk.name for trunk in trunks" required>\n        <option value="fake">{{\'APPLICATION_SELECT\' | translate}} {{\'APPLICATION_TRUNK\' | translate}}</option>\n      </select>\n      <span data-ng-show="(form.queue.$touched || form.$submitted) && form.queue.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END TRUNK --\x3e\n    \x3c!-- START FETCH SORT --\x3e\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_FETCH_SORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <select name="fetch_sort" class="form-control" data-ng-model="item.fetch_sort" ng-options="fetch_sort for fetch_sort in [\'ASC\', \'DESC\']" required>\n      </select>\n      <span class="help-block">{{\'DESCRIPTION_TD_FETCH_SORT\' | translate}}</span>\n    </div>\n    \x3c!-- END  FETCH SORT--\x3e\n    \x3c!-- START DESCRIPTION --\x3e\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n      <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"></textarea>\n    </div>\n    \x3c!-- END DESCRIPTION --\x3e\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="save()" ng-disabled="form.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/motiondialer/process/list/list.create.square.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_NEW_PROCESS\' | translate }} {{ \'APPLICATION_CALLYSQUARE\' | translate | trusted}}</h3>\n</div>\n<div class="modal-body">\n  <form name="form" ng-init="initModal()" novalidate>\n\n    \x3c!-- START NAME --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.name.$touched || form.$submitted) && form.name.$invalid}">\n      <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n      <span data-ng-show="(form.name.$touched || form.$submitted) && form.name.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END NAME --\x3e\n    \x3c!-- START LIST --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.list.$touched || form.$submitted) && form.list.$invalid}">\n      <label class="control-label">{{\'APPLICATION_LIST\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <select name="list" class="form-control" data-ng-model="item.list" ng-options="list.name for list in lists" required>\n      </select>\n      <span data-ng-show="(form.list.$touched || form.$submitted) && form.list.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END LIST --\x3e\n    \x3c!-- START PROJECT --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.project.$touched || form.$submitted) && form.project.$invalid}">\n      <label class="control-label">{{\'APPLICATION_PROJECT\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <select name="project" class="form-control" data-ng-model="item.project" ng-options="project.name for project in projects" required>\n      </select>\n      <span data-ng-show="(form.project.$touched || form.$submitted) && form.project.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END PROJECT --\x3e\n    \x3c!-- START TRUNK --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.device.$touched || form.$submitted) && form.device.$invalid}">\n      <label class="control-label">{{\'APPLICATION_TRUNK\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <select name="device" class="form-control" data-ng-model="item.device" ng-options="trunk.name for trunk in trunks" required>\n        <option value="fake">{{\'APPLICATION_SELECT\' | translate}} {{\'APPLICATION_TRUNK\' | translate}}</option>\n      </select>\n      <span data-ng-show="(form.device.$touched || form.$submitted) && form.device.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END TRUNK --\x3e\n    \x3c!-- START FETCH SORT --\x3e\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_FETCH_SORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <select name="fetch_sort" class="form-control" data-ng-model="item.fetch_sort" ng-options="fetch_sort for fetch_sort in [\'ASC\', \'DESC\']" required>\n      </select>\n      <span class="help-block">{{\'DESCRIPTION_TD_FETCH_SORT\' | translate}}</span>\n    </div>\n    \x3c!-- END  FETCH SORT--\x3e\n    \x3c!-- START DESCRIPTION --\x3e\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n      <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"></textarea>\n    </div>\n    \x3c!-- END DESCRIPTION --\x3e\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="save()" ng-disabled="form.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/motiondialer/process/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-control-forward"></i>\n\t\t\t\t\t<a href="#">Motion Dialer</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n        <li>\n          <i class="icon-settings"></i>\n          <a href="#">{{ \'APPLICATION_PROCESSES\' | translate }}</a>\n        </li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t<div class="portlet light bordered" data-ng-init="initView()">\n\t\t\t<div class="portlet-title">\n\t\t\t\t<div class="caption font-green-sharp">\n\t\t\t\t\t<i class="icon-docs font-green-sharp"></i>\n\t\t\t\t\t<span class="caption-subject">{{ \'APPLICATION_PROCESSES\' | translate }}</a> </span>\n\t\t\t\t</div>\n\t\t\t\t<div class="actions">\n\t\t\t\t\t<div class="btn-group">\n\t\t\t\t\t\t<button class="btn green-jungle dropdown-toggle" data-toggle="dropdown" data-close-others="true">\n\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_PROCESS\' | translate }}\n\t\t\t\t\t\t</button>\n\t\t\t\t\t\t<ul class="dropdown-menu pull-right">\n\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t<a href="#" ng-click="createProcessQueue()">{{ \'APPLICATION_QUEUE\' | translate }}</a>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t<a href="#" ng-click="createProcessSquare()">{{ \'APPLICATION_CALLYSQUARE\' | translate | trusted}}</a>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t</ul>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t\x3c!-- BEGIN UI-GRID SPINNER --\x3e\n\t\t\t\t<span us-spinner spinner-key="spinner-grid" spinner-start-active="true"></span>\n\t\t\t\t\x3c!-- END UI-GRID SPINNER --\x3e\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t<div ui-grid="gridOptions"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-exporter class="ui-grid">\n\t\t\t\t\t<div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/motiondialer/process/view/view.create.interval.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_NEW_INTERVAL\' | translate }} </h3>\n</div>\n<div class="modal-body">\n  <form name="form" novalidate>\n    \x3c!-- START TIME --\x3e\n    <div class="form-group">\n      <label class="control-label">{{ \'APPLICATION_TIME\' | translate }}</label>\n      <div class="input-group input-large">\n        <fieldset class="pull-left" ng-disabled="splittedInterval.alwaysTime"><uib-timepicker name="t_from" data-ng-model="splittedInterval.t_from" show-meridian="false" show-spinners="false"></uib-timepicker></fieldset>\n        <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n        <fieldset ng-disabled="splittedInterval.alwaysTime"><uib-timepicker  name="t_to" data-ng-model="splittedInterval.t_to" show-meridian="false" show-spinners="false"></uib-timepicker></fieldset>\n        <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="splittedInterval.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label>\n      </div>\n    </div>\n    \x3c!-- END TIME --\x3e\n\n    \x3c!-- START WEEKDAY --\x3e\n    <div class="form-group">\n      <label class="control-label">{{ \'APPLICATION_WEEKDAY\' | translate }}</label>\n      <div class="input-group input-large">\n        <ui-select data-ng-model="splittedInterval.wd_from" theme="bootstrap" name="wd_from">\n          <ui-select-match placeholder="">{{$select.selected.name | translate}}</ui-select-match>\n          <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n            {{weekDay.name | translate}}\n          </ui-select-choices>\n        </ui-select>\n        <span class="input-group-addon">to</span>\n        <ui-select data-ng-model="splittedInterval.wd_to" theme="bootstrap" name="wd_to">\n          <ui-select-match placeholder="">{{$select.selected.name | translate}}</ui-select-match>\n          <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n            {{weekDay.name | translate}}\n          </ui-select-choices>\n        </ui-select>\n      </div>\n    </div>\n    \x3c!-- END WEEKDAY --\x3e\n\n    \x3c!-- START MONTHDAY --\x3e\n    <div class="form-group">\n      <label class="control-label">{{ \'APPLICATION_MONTHDAY\' | translate }}</label>\n      <div class="input-group input-large">\n        <ui-select data-ng-model="splittedInterval.md_from" theme="bootstrap" name="md_from">\n          <ui-select-match>{{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}</ui-select-match>\n          <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n            {{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n          </ui-select-choices>\n        </ui-select>\n        <span class="input-group-addon">to</span>\n        <ui-select data-ng-model="splittedInterval.md_to" theme="bootstrap" name="md_to">\n          <ui-select-match>{{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}</ui-select-match>\n          <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n            {{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n          </ui-select-choices>\n        </ui-select>\n      </div>\n    </div>\n    \x3c!-- END MONTHDAY --\x3e\n\n    \x3c!-- START MONTH --\x3e\n    <div class="form-group">\n      <label class="control-label">{{ \'APPLICATION_MONTH\' | translate }}</label>\n      <div class="input-group input-large">\n        <ui-select data-ng-model="splittedInterval.m_from" theme="bootstrap" name="m_from">\n          <ui-select-match placeholder="">{{$select.selected.name | translate}}</ui-select-match>\n          <ui-select-choices repeat="month.value as month in $interval.monthsNumber | filter: $select.search">\n            {{month.name | translate}}\n          </ui-select-choices>\n        </ui-select>\n        <span class="input-group-addon">to</span>\n        <ui-select data-ng-model="splittedInterval.m_to" theme="bootstrap" name="m_to">\n          <ui-select-match placeholder="">{{$select.selected.name | translate}}</ui-select-match>\n          <ui-select-choices repeat="month.value as month in $interval.monthsNumber | filter: $select.search">\n            {{month.name | translate}}\n          </ui-select-choices>\n        </ui-select>\n      </div>\n    </div>\n    \x3c!-- END MONTH --\x3e\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="save()" ng-disabled="form.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),
+a.put("app/motiondialer/process/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row" data-ng-init="getProcess()">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-control-forward"></i>\n\t\t\t\t\t<a href="#">Motion Dialer</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-settings"></i>\n\t\t\t\t\t<a href="/motiondialer/processes/list">{{ \'APPLICATION_PROCESSES\' | translate }}</a>\n\t\t\t\t\t<i data-ng-show="process.name" class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li data-ng-show="process.name">\n\t\t\t\t\t<a href="#">{{process.name}}</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t<div class="profile-sidebar">\n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t<div class="portlet light profile-sidebar-portlet">\n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t<div class="profile-image">\n\t\t\t\t\t<img data-ng-src="assets/images/media/account.png" class="img-responsive">\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t<div class="profile-usertitle">\n\t\t\t\t\t<div class="profile-usertitle-name">\n\t\t\t\t\t\t{{process.name}} ({{ (process.status === \'RUN\') ? \'RUNNING...\' : \'STOPPED\' }})\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="profile-usertitle-job">\n\t\t\t\t\t\t<a href="#" data-ng-click="goToContacts(process.list.id_source)">{{ \'APPLICATION_LIST\' | translate}} {{process.list ? process.list.name : \'#\'+process.id_list}} ({{process.fetch_sort}})</a>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n        <div class="profile-userbuttons">\n\t\t\t\t\t<button data-ng-show="process.status" type="button" class="btn btn-circle btn-sm" data-ng-class="{\'green-meadow\': process.status == \'STOP\', \'red-sunglo\': process.status == \'RUN\'}" data-ng-click="runOrStop()">{{ (process.status === \'RUN\') ? \'STOP\' : \'RUN\' }}</button>\n        </div>\n\t\t\t\t<div class="profile-userbuttons">\n\t\t\t\t\t<button style="cursor:default" data-ng-show="process.runtime" type="button" class="btn btn-circle btn-sm" data-ng-class="{\'green-meadow\': process.runtime.completed, \'yellow-crusta\': !process.runtime.completed}">{{process.runtime.completed ? \'Complete\' : \'Incomplete\'}}</button>\n\t\t\t\t\t<button style="cursor:default" class="btn btn-circle btn-sm" data-ng-class="{\'green-meadow\': !process.runtime.outOfTime, \'red-sunglo\': process.runtime.outOfTime}"><i data-ng-class="{\'icon-clock\': !process.runtime.outOfTime, \'icon-close\': process.runtime.outOfTime}"></i> {{process.runtime.outOfTime ? \'Out of time\' : \'On time\'}}</button>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t<div class="profile-usermenu">\n\t\t\t\t\t<ul class="nav">\n            <li data-ng-class="{active: $state.is(\'main.motiondialer.processes.view.overview\')}">\n\t\t\t\t\t\t\t<a data-ng-href="/motiondialer/processes/view/{{process.id}}/overview">\n\t\t\t\t\t\t\t<i class="icon-home"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_OVERVIEW\' | translate}} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.motiondialer.processes.view.settings\')}">\n\t\t\t\t\t\t\t<a data-ng-href="/motiondialer/processes/view/{{process.id}}/settings">\n\t\t\t\t\t\t\t<i class="icon-settings"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_SETTINGS\' | translate}} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.motiondialer.processes.view.intervals\')}">\n\t\t\t\t\t\t\t<a data-ng-href="/motiondialer/processes/view/{{process.id}}/intervals">\n\t\t\t\t\t\t\t<i class="icon-clock"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_INTERVALS\' | translate}} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.motiondialer.processes.view.spooler\')}">\n\t\t\t\t\t\t\t<a data-ng-href="/motiondialer/processes/view/{{process.id}}/spooler">\n\t\t\t\t\t\t\t<i class="icon-options-vertical"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_SPOOLER\' | translate}} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t</div>\n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t</div>\n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t<div ui-view class="profile-content">\n\t\t</div>\n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/motiondialer/process/view/view.intervals.html",'<div class="row" data-ng-init="initIntervals()">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-clock  theme-font"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_PROCESS\' | translate}} {{ \'APPLICATION_INTERVALS\' | translate}} </span>\n\t\t\t\t</div>\n\t\t\t\t<ul class="nav nav-tabs">\n\t\t\t\t\t<li class="active">\n\t\t\t\t\t\t<a href="#" data-target="#tab_allow" data-toggle="tab">{{ \'APPLICATION_ALLOW\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<a href="#" data-target="#tab_disallow" data-toggle="tab">{{ \'APPLICATION_DISALLOW\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t<div class="tab-content">\n\t\t\t\t\t\x3c!-- ALLOW TAB --\x3e\n\t\t\t\t\t<div class="tab-pane active" id="tab_allow">\n\t\t\t\t\t\t<button class="btn green-jungle margin-bottom-10" ng-click="createInterval(true)">\n\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_INTERVAL\' | translate }} ({{ \'APPLICATION_ALLOW\' | translate }})\n\t\t\t\t\t\t</button>\n\t\t\t\t\t\t<table class="table table-bordered table-hover">\n\t\t\t\t\t\t\t<thead>\n\t\t\t\t\t\t\t<tr role="row" class="heading">\n\t\t\t\t\t\t\t\t<th>\n\t\t\t\t\t\t\t\t\t {{ \'APPLICATION_VALUE\' | translate}}\n\t\t\t\t\t\t\t\t</th>\n\t\t\t\t\t\t\t\t<th>\n\t\t\t\t\t\t\t\t\t {{ \'APPLICATION_ACTIONS\' | translate}}\n\t\t\t\t\t\t\t\t</th>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t</thead>\n\t\t\t\t\t\t\t<tbody>\n\t\t\t\t\t\t\t<tr ng-repeat="interval in process.intervals track by $index">\n\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t{{interval}}\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t<button href="javascript:;" data-ng-click="editInterval(true, interval, $index)" class="btn blue-hoki btn-sm"> {{ \'APPLICATION_EDIT\' | translate}} </button>\n\t\t\t\t\t\t\t\t\t<button data-ng-if="$index > 0" data-ng-click="deleteInterval(interval, $index, true)" class="btn red-sunglo btn-sm"> {{ \'APPLICATION_DELETE\' | translate}} </button>\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t<tr ng-show="!process.intervals.length"><td colspan=2>{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</td></tr>\n\t\t\t\t\t\t\t</tbody>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END ALLOW TAB --\x3e\n\t\t\t\t\t\x3c!-- DISALLOW TAB --\x3e\n\t\t\t\t\t<div class="tab-pane" id="tab_disallow">\n\t\t\t\t\t\t<button class="btn green-jungle margin-bottom-10" ng-click="createInterval(false)">\n\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_INTERVAL\' | translate }} ({{ \'APPLICATION_DISALLOW\' | translate }})\n\t\t\t\t\t\t</button>\n\t\t\t\t\t\t<table class="table table-bordered table-hover">\n\t\t\t\t\t\t\t<thead>\n\t\t\t\t\t\t\t<tr role="row" class="heading">\n\t\t\t\t\t\t\t\t<th>\n\t\t\t\t\t\t\t\t\t {{ \'APPLICATION_VALUE\' | translate}}\n\t\t\t\t\t\t\t\t</th>\n\t\t\t\t\t\t\t\t<th>\n\t\t\t\t\t\t\t\t\t {{ \'APPLICATION_ACTIONS\' | translate}}\n\t\t\t\t\t\t\t\t</th>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t</thead>\n\t\t\t\t\t\t\t<tbody>\n\t\t\t\t\t\t\t<tr ng-repeat="interval in process.not_intervals track by $index">\n\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t{{interval}}\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t<button href="javascript:;" data-ng-click="editInterval(false, interval)" class="btn blue-hoki btn-sm"> {{ \'APPLICATION_EDIT\' | translate}} </button>\n\t\t\t\t\t\t\t\t\t<button href="javascript:;" data-ng-click="deleteInterval($index, interval, false)" class="btn red-sunglo btn-sm"> {{ \'APPLICATION_DELETE\' | translate}} </button>\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t<tr ng-show="!process.not_intervals.length"><td colspan=2>{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</td></tr>\n\t\t\t\t\t\t\t</tbody>\n\t\t\t\t\t\t</table>\n\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END DISALLOW TAB --\x3e\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/motiondialer/process/view/view.overview.html",'<div class="row" data-ng-init="getSummary()">\n  <div class="col-md-12">\n    \x3c!-- BEGIN PORTLET --\x3e\n    <div class="portlet light">\n      <div class="portlet-title tabbable-line">\n        <div class="caption caption-md">\n          <i class="icon-bar-chart theme-font hide"></i>\n          <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_OVERVIEW\' | translate}}</span>\n        </div>\n        <ul class="nav nav-tabs">\n\t\t\t\t\t<li class="active">\n\t\t\t\t\t\t<a href="#" data-target="#tab_summary" data-toggle="tab">{{ \'APPLICATION_SUMMARY\' | translate}}</a>\n\t\t\t\t\t</li>\n          <li ng-show="process.runtime">\n\t\t\t\t\t\t<a href="#" data-target="#tab_advanced" data-toggle="tab">{{ \'APPLICATION_ADVANCED\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n      </div>\n      <div class="portlet-body">\n        <div class="tab-content">\n\t\t\t\t\t\x3c!-- START SUMMARY TAB --\x3e\n\t\t\t\t\t<div class="tab-pane active" id="tab_summary">\n            \x3c!-- BEGIN UI-GRID SPINNER --\x3e\n    \t\t\t\t<span us-spinner spinner-key="spinner-grid" spinner-start-active="true"></span>\n    \t\t\t\t\x3c!-- END UI-GRID SPINNER --\x3e\n            <div class="row number-stats margin-bottom-30">\n              <div class="col-md-6 col-sm-6 col-xs-6">\n                <div class="stat-left">\n                  <div class="stat-number">\n                    <div class="title">\n                       {{\'APPLICATION_TOTAL\' | translate}}\n                    </div>\n                    <div class="number">\n                       {{total}}\n                    </div>\n                  </div>\n                </div>\n              </div>\n              <div class="col-md-6 col-sm-6 col-xs-6">\n                <div class="stat-right">\n                  <div class="stat-number">\n                    <div class="title">\n                       {{\'APPLICATION_FRESH\' | translate}}\n                    </div>\n                    <div class="number">\n                       {{process.runtime.fresh || 0}}\n                    </div>\n                  </div>\n                </div>\n              </div>\n            </div>\n            <div class="table-scrollable table-scrollable-borderless">\n              <table class="table table-hover table-light">\n              <thead>\n              <tr class="uppercase">\n                <th>\n                   {{\'APPLICATION_STATUS\' | translate}}\n                </th>\n                <th>\n                   {{\'APPLICATION_VALUE\' | translate}}\n                </th>\n                <th>\n                   {{\'APPLICATION_RATE\' | translate}}\n                </th>\n                <th>\n                   {{\'APPLICATION_DESCRIPTION\' | translate}}\n                </th>\n              </tr>\n              </thead>\n              <tr ng-repeat="sum in summary">\n                <td>\n                  <a href="#" class="primary-link">{{\'APPLICATION_TD_\' + sum[0] | translate}}</a>\n                </td>\n                <td>\n                   {{sum[1]}}\n                </td>\n                <td>\n                  <span class="bold theme-font">{{ total ? ((sum[1]/total)*100).toFixed(2) : 0 }}%</span>\n                </td>\n                <td>\n                   {{\'DESCRIPTION_TD_\' + sum[0] | translate}}\n                </td>\n              </tr>\n              </table>\n            </div>\n          </div>\n          \x3c!-- END SUMMARY TAB --\x3e\n          \x3c!-- START SUMMARY TAB --\x3e\n\t\t\t\t\t<div class="tab-pane" id="tab_advanced" ng-show="process.runtime">\n            <div class="row number-stats margin-bottom-30">\n              <div class="col-md-6 col-sm-6 col-xs-6">\n                <div class="stat-left">\n                  <div class="stat-number">\n                    <div class="title">\n                       {{\'APPLICATION_SUCCESS\' | translate}}\n                    </div>\n                    <div class="number">\n                       {{process.runtime.success || 0}}\n                    </div>\n                  </div>\n                </div>\n              </div>\n              <div class="col-md-6 col-sm-6 col-xs-6">\n                <div class="stat-right">\n                  <div class="stat-number">\n                    <div class="title">\n                       {{\'APPLICATION_FAILED\' | translate}}\n                    </div>\n                    <div class="number">\n                       {{process.runtime.failed || 0}}\n                    </div>\n                  </div>\n                </div>\n              </div>\n            </div>\n            <div class="table-scrollable table-scrollable-borderless">\n              <table class="table table-hover table-light">\n              <thead>\n              <tr class="uppercase">\n                <th>\n                   {{\'APPLICATION_STATUS\' | translate}}\n                </th>\n                <th>\n                   {{\'APPLICATION_VALUE\' | translate}}\n                </th>\n                <th>\n                   {{\'APPLICATION_DESCRIPTION\' | translate}}\n                </th>\n              </tr>\n              </thead>\n              <tr ng-repeat="(key, value) in process.runtime">\n                <td>\n                  <a href="#" class="primary-link">{{\'APPLICATION_\' + key.toUpperCase() | translate}}</a>\n                </td>\n                <td ng-switch on="key">\n                   <span ng-switch-when="avgDial">{{value | number:2}}</span>\n                   <span ng-switch-when="avgDuration">{{value | number:2}}</span>\n                   <span ng-switch-when="avgProgress">{{value | number:2}}</span>\n                   <span ng-switch-when="completed">{{((value)? \'APPLICATION_YES\' : \'APPLICATION_NO\') | translate}}</span>\n                   <span ng-switch-when="outOfTime">{{((value)? \'APPLICATION_YES\' : \'APPLICATION_NO\') | translate}}</span>\n                   <span ng-switch-default>{{value}}</span>\n                </td>\n                <td>\n                   {{\'DESCRIPTION_TD_\' + key.toUpperCase() | translate}}\n                </td>\n              </tr>\n              </table>\n            </div>\n          </div>\n          \x3c!-- END SUMMARY TAB --\x3e\n        </div>\n      </div>\n    </div>\n    \x3c!-- END PORTLET --\x3e\n  </div>\n</div>\n'),a.put("app/motiondialer/process/view/view.run.process.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_STATUS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <p>\n    Do you want to {{ status }} the process?\n  </p>\n</div>\n<div class="modal-footer">\n  <button class="btn default green-meadow" type="button" ng-click="yes()">{{ \'APPLICATION_YES\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="no()">{{ \'APPLICATION_NO\' | translate }}</button>\n</div>\n'),
+a.put("app/salesforce/view/configuration/view/view.html",'<div class="row" data-ng-init="initView();getConfiguration();getCustomVariables();getFields();">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_CONFIGURATION\' | translate}}: {{configurationName}}</span>\n\t\t\t\t</div>\n\t\t\t\t<ul class="nav nav-tabs">\n\t\t\t\t\t<li class="active">\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_SUBJECT\' | translate}}</a>\n\t\t\t\t\t</li>\n          <li>\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_DESCRIPTION\' | translate}}</a>\n\t\t\t\t\t</li>\n          <li>\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_FIELDS\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t<div class="tab-content">\n\t\t\t\t\t\x3c!-- SUBJECT TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding active" id="tab_1_1">\n            <div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">All following fields will be join by blank space:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItem(\'subject\')"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t\x3c!-- <div id="subject-item-list" ng-scrollbars ng-scrollbars-config="config"> --\x3e\n\t            <div class="row" data-ng-repeat="subjectItem in subjectConfig">\n\t              <div class="col-md-3">\n\t                <ui-select ng-model="subjectItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(subjectItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                  <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n\t                    <div ng-bind-html="item.title | highlight: $select.search"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t              </div>\n\t              <div class="col-md-8" data-ng-if="subjectItem.type==\'string\'">\n\t                <div class="form-group">\n\t                  <input type="text" class="form-control" data-ng-model="subjectItem.content" data-ng-change="updateField(subjectItem)">\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-8" data-ng-if="subjectItem.type==\'variable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.variableName" data-ng-change="updateField(subjectItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                    <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n\t                      <div ng-bind-html="variable.title | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-8" data-ng-if="subjectItem.type==\'customVariable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.VariableId" data-ng-change="updateField(subjectItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t                    <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n\t                      <div ng-bind-html="variable.name | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-1">\n\t                <div class="form-group">\n\t                  <button class="btn btn-icon-only red" data-ng-click="removeItem(subjectItem)"><i class="fa fa-times"></i></button>\n\t                </div>\n\t              </div>\n\t            </div>\n\t\t\t\t\t\t\x3c!-- </div> --\x3e\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END SUBJECT TAB --\x3e\n          \x3c!-- DESCRIPTION TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding" id="tab_1_2">\n\t\t\t\t\t\t<div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">All following fields will be join by new line:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItem(\'description\')"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t\x3c!-- <div id="description-item-list" ng-scrollbars ng-scrollbars-config="config"> --\x3e\n\t\t\t\t\t\t\t<div class="row" data-ng-repeat="descriptionItem in descriptionConfig">\n\t              <div class="col-md-2">\n\t                <ui-select ng-model="descriptionItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                  <ui-select-choices repeat="item.type as item in descFieldType | filter: $select.search">\n\t                    <div ng-bind-html="item.title | highlight: $select.search"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t              </div>\n\t              <div class="col-md-9" data-ng-if="descriptionItem.type==\'string\'">\n\t                <div class="form-group">\n\t                  <input type="text" class="form-control" data-ng-model="descriptionItem.content" data-ng-change="updateField(descriptionItem)">\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\'">\n\t\t\t\t\t\t\t\t\t<input type="text" class="form-control" placeholder="Key" data-ng-model="descriptionItem.key" data-ng-change="updateField(descriptionItem)">\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\'">\n\t\t\t\t\t\t\t\t\t<ui-select ng-model="descriptionItem.keyType" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                  <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n\t                    <div ng-bind-html="item.title | highlight: $select.search"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'string\'">\n\t\t\t\t\t\t\t\t\t<input type="text" class="form-control" placeholder="Value" data-ng-model="descriptionItem.keyContent" data-ng-change="updateField(descriptionItem)">\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'variable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.variableName" data-ng-change="updateField(descriptionItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                    <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n\t                      <div ng-bind-html="variable.title | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'customVariable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.VariableId" data-ng-change="updateField(descriptionItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t                    <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n\t                      <div ng-bind-html="variable.name | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-1">\n\t                <div class="form-group">\n\t                  <button class="btn btn-icon-only red" data-ng-click="removeItem(descriptionItem)"><i class="fa fa-times"></i></button>\n\t                </div>\n\t              </div>\n\t            </div>\n\t\t\t\t\t\t\x3c!-- </div> --\x3e\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END DESCRIPTION TAB --\x3e\n          \x3c!-- FIELDS TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding" id="tab_1_3">\n\t\t\t\t\t\t<div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">Add how to fill the fields present in your account:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItem(\'field\')"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t\x3c!-- <div id="field-item-list" ng-scrollbars ng-scrollbars-config="config"> --\x3e\n\t            <div class="row" data-ng-repeat="fieldItem in fieldConfig">\n\t              <div class="col-md-3">\n\t                <ui-select ng-model="fieldItem.idField" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeFieldType(fieldItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.label}}</ui-select-match>\n\t                  <ui-select-choices repeat="item.name as item in accountFields | filter: $select.search">\n\t                    <div ng-bind-html="item.label | highlight: $select.search"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t              </div>\n\t              <div class="col-md-8" data-ng-if="getSystemFieldOptions(fieldItem.idField)">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select ng-model="fieldItem.content" theme="bootstrap" ng-disabled="disabled" data-ng-change="updateField(fieldItem)">\n\t\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.label}}</ui-select-match>\n\t\t                  <ui-select-choices repeat="item.value as item in getSystemFieldOptions(fieldItem.idField) | filter: $select.search">\n\t\t                    <div ng-bind-html="item.label | highlight: $select.search"></div>\n\t\t                  </ui-select-choices>\n\t\t                </ui-select>\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField)">\n\t\t\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select ng-model="fieldItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(fieldItem)">\n\t\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t\t                  <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n\t\t                    <div ng-bind-html="item.title | highlight: $select.search | ucfirst"></div>\n\t\t                  </ui-select-choices>\n\t\t                </ui-select>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'string\'">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<input type="text" class="form-control" data-ng-model="fieldItem.content" data-ng-change="updateField(fieldItem)">\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'variable\'">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.variableName" data-ng-change="updateField(fieldItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                    <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n\t                      <div ng-bind-html="variable.title | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'customVariable\'">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.VariableId" data-ng-change="updateField(fieldItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t                    <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n\t                      <div ng-bind-html="variable.name | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-1">\n\t                <div class="form-group">\n\t                  <button class="btn btn-icon-only red" data-ng-click="removeItem(fieldItem)"><i class="fa fa-times"></i></button>\n\t                </div>\n\t              </div>\n\t            </div>\n\t\t\t\t\t\t\x3c!-- </div> --\x3e\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END FIELDS TAB --\x3e\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/salesforce/view/view.account.html",'<div class="row">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_ACCOUNT\' | translate}}</span>\n\t\t\t\t</div>\n\t\t\t\t<ul class="nav nav-tabs">\n\t\t\t\t\t<li class="active">\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t<div class="tab-content">\n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t<div class="tab-pane active" id="tab_1_1">\n\t\t\t\t\t\t<form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItem()" novalidate>\n              \x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.name.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.name" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n\t\t\t\t\t\t\t\t<input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n              \x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.username" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n              \x3c!-- START REMOTE ADDRESS --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_URI\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="url" name="remoteUri" placeholder="{{\'APPLICATION_URI\' | translate}}" class="form-control" data-ng-model="account.remoteUri" required />\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.password.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="account.password" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.password.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\n              \x3c!-- START CLIENT ID --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.clientId.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_CLIENT_ID\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="clientId" placeholder="{{\'APPLICATION_CLIENT_ID\' | translate}}" class="form-control" data-ng-model="account.clientId" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.clientId.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END CLIENT ID --\x3e\n\n              \x3c!-- START CLIENT SECRET --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.clientSecret.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_CLIENT_SECRET\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="clientSecret" placeholder="{{\'APPLICATION_CLIENT_SECRET\' | translate}}" class="form-control" data-ng-model="account.clientSecret" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.clientSecret.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END CLIENT SECRET --\x3e\n\n              \x3c!-- START SECURITY TOKEN --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.securityToken.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_SECURITY_TOKEN\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="securityToken" placeholder="{{\'APPLICATION_SECURITY_TOKEN\' | translate}}" class="form-control" data-ng-model="account.securityToken" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.securityToken.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END SECURITY TOKEN --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SERVER URL --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.serverUrl.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}}</label>\n\t\t\t\t\t\t\t\t<input type="url" name="serverUrl" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.serverUrl"/>\n\t\t\t\t\t\t\t\t<span class="help-block">\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_SERVER_URL\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t<span class="help-block help-block-info">\n\t\t\t\t\t\t\t\t\t{{\'MESSAGE_MOTION_ADDRESS_FORMAT\' | translate}}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END SERVER URL --\x3e\n\n\t\t\t\t\t\t\t<input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/salesforce/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row" data-ng-init="initView()">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n          <i class="fa fa-cloud"></i>\n          <a href="/salesforce/list">{{ \'APPLICATION_SALESFORCE\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<a href="#">{{account.name}}</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t<div class="profile-sidebar">\n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t<div class="portlet light profile-sidebar-portlet">\n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t<div class="profile-image">\n\t\t\t\t\t<img src="assets/images/media/salesforce.png" class="img-responsive">\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t<div class="profile-usertitle">\n\t\t\t\t\t<div class="profile-usertitle-name">\n\t\t\t\t\t\t{{account.name}}\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="profile-usertitle-job">\n\t\t\t\t\t\t{{account.remoteUri}}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t<div class="profile-usermenu">\n\t\t\t\t\t<ul class="nav">\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.salesforce.view.account\')}">\n\t\t\t\t\t\t\t<a ng-href="/salesforce/view/{{account.id}}/account">\n\t\t\t\t\t\t\t<i class="icon-user"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_ACCOUNT\' | translate }} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.includes(\'main.salesforce.view.configurations\') || $state.is(\'main.salesforce.view.configuration\')}">\n\t\t\t\t\t\t\t<a ng-href="/salesforce/view/{{account.id}}/configurations/list">\n\t\t\t\t\t\t\t<i class="icon-settings"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_CONFIGURATIONS\' | translate }} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t</div>\n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t</div>\n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t<div ui-view class="profile-content">\n\t\t</div>\n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),
+a.put("app/setting/license/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row" data-ng-init="initView()">\n  <div class="col-md-12">\n    <div class="page-bar">\n      <ul class="page-breadcrumb">\n        <li>\n          <i class="icon-rocket"></i>\n          <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n          <i class="fa fa-angle-right"></i>\n        </li>\n        <li>\n          <i class="icon-settings"></i>\n          <a href="#">{{ \'APPLICATION_SETTINGS\' | translate }}</a>\n          <i class="fa fa-angle-right"></i>\n        </li>\n        <li>\n          <i class="icon-info"></i>\n          <a href="#">{{ \'APPLICATION_LICENSE\' | translate }}</a>\n        </li>\n      </ul>\n    </div>\n\n    \x3c!-- BEGIN PROFILE CONTENT --\x3e\n    <div class="profile-content">\n      <div class="row" data-ng-if="item.expirationTime > -1 && !item.demo">\n        <div class="col-md-12">\n          <div class="note note-warning">\n            <h4 class="block"><strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_YOUR_LICENSE_WILL_EXPIRE\' | translate}} <strong>{{license.expirationTime}}</strong> {{\'MESSAGE_DAYS\' | translate}}.</h4>\n            <p data-ng-if="item.token !== item.token2">\n              {{\'MESSAGE_SEND_EMAIL_TO\' | translate}} <a href="mailto:[email-masked]?subject=New%20token%20detected&body=Hi xCALLY, my new token is: {{license.token2}}. Old token: {{license.token}}">[email-masked]</a>.\n            </p>\n            <p data-ng-if="item.token !== item.token2">\n              {{\'APPLICATION_NEW\' | translate | uppercase}} Token: <strong>{{license.token2}}</strong>\n            </p>\n          </div>\n        </div>\n      </div>\n      <div class="row">\n        <div class="col-md-6">\n          <div class="pricing hover-effect">\n            <div class="pricing-head">\n              <h3 data-ng-switch="license.months">\n              <div ng-switch-when="1">{{\'APPLICATION_MONTH_TO_MONTH\' | translate}}</div>\n              <div ng-switch-when="12">{{\'APPLICATION_YEARLY\' | translate}}</div>\n              <div ng-switch-when="36">{{\'APPLICATION_PERPETUAL\' | translate}}</div>\n              <div ng-switch-default>{{\'APPLICATION_UNKNOWN\' | translate}}</div>\n              <div class="h5" data-ng-if="item.token === item.token2">{{license.token || \'unknown\'}} </div><div class="h5" data-ng-if="item.token !== item.token2"><div><b>{{\'APPLICATION_OLD_UID\' | translate}}:</b> {{license.token || \'unknown\'}}</div><div><b>{{\'APPLICATION_NEW_UID\' | translate}}:</b> {{license.token2 || \'unknown\'}}</div> </div>\n              </h3>\n              <h4><i>{{license.expiration ? (license.expiration | date:\'medium\') : \'DEMO\'}}</i>\n                <span data-ng-show="license.expiration">Expiration Date </span>\n              </h4>\n            </div>\n            <ul class="pricing-content list-unstyled">\n              <li class="row">\n                <div class="col-md-9">\n                  <i class="icon-eye"></i> {{\'APPLICATION_USERS\' | translate}}:\n                </div>\n                <div class="col-md-3 text-center">\n                  {{(license.users || license.users >= 0) ? license.users : \'unknown\'}}\n                </div>\n              </li>\n              <li class="row">\n                <div class="col-md-9">\n                  <i class="icon-people"></i> {{\'APPLICATION_AGENTS\' | translate}} ({{\'APPLICATION_CONCURRENTS\' | translate}}):\n                </div>\n                <div class="col-md-3 text-center">\n                  {{(license.agents || license.agents >= 0)  ? license.agents : \'unknown\'}}\n                </div>\n              </li>\n              <li class="row">\n                <div class="col-md-9">\n                  <i class="icon-phone"></i> {{\'APPLICATION_TELEPHONES\' | translate}}:\n                </div>\n                <div class="col-md-3 text-center">\n                  {{(license.telephones || license.telephones >= 0) ? license.telephones : \'unknown\'}}\n                </div>\n              </li>\n              <li class="row">\n                <div class="col-md-9">\n                  <i class="icon-bubble"></i> {{\'APPLICATION_CHAT\' | translate}}:\n                </div>\n                <div class="col-md-3 text-center">\n                  <span class="label label-sm" data-ng-class="license.chat ? \'label-success\' : \'label-danger\'">{{license.chat ? \'APPLICATION_ENABLED\' : \'APPLICATION_DISABLED\' | translate}}</span>\n                </div>\n              </li>\n              <li class="row">\n                <div class="col-md-9">\n                  <i class="icon-envelope"></i> {{\'APPLICATION_MAIL\' | translate}}:\n                </div>\n                <div class="col-md-3 text-center">\n                  <span class="label label-sm" data-ng-class="license.mail ? \'label-success\' : \'label-danger\'">{{license.mail ? \'APPLICATION_ENABLED\' : \'APPLICATION_DISABLED\' | translate}}</span>\n                </div>\n              </li>\n              <li class="row">\n                <div class="col-md-9">\n                  <i class="fa fa-fax"></i> {{\'APPLICATION_FAX\' | translate}}:\n                </div>\n                <div class="col-md-3 text-center">\n                  <span class="label label-sm" data-ng-class="license.fax ? \'label-success\' : \'label-danger\'">{{license.fax ? \'APPLICATION_ENABLED\' : \'APPLICATION_DISABLED\' | translate}}</span>\n                </div>\n              </li>\n              <li class="row">\n                <div class="col-md-9">\n                  <i class="glyphicon glyphicon-comment"></i> {{\'APPLICATION_SMS\' | translate}}:\n                </div>\n                <div class="col-md-3 text-center">\n                  <span class="label label-sm" data-ng-class="license.messaging ? \'label-success\' : \'label-danger\'">{{license.messaging ? \'APPLICATION_ENABLED\' : \'APPLICATION_DISABLED\' | translate}}</span>\n                </div>\n              </li>\n              <li class="row">\n                <div class="col-md-9">\n                  <i class="icon-globe"></i> {{\'APPLICATION_OPEN_CHANNEL\' | translate}}:\n                </div>\n                <div class="col-md-3 text-center">\n                  <span class="label label-sm" data-ng-class="license.openchannel ? \'label-success\' : \'label-danger\'">{{license.openchannel ? \'APPLICATION_ENABLED\' : \'APPLICATION_DISABLED\' | translate}}</span>\n                </div>\n              </li>\n              <li class="row">\n                <div class="col-md-9">\n                  <i class="icon-notebook"></i> {{\'APPLICATION_CONTACT_MANAGER\' | translate}}:\n                </div>\n                <div class="col-md-3 text-center">\n                  <span class="label label-sm" data-ng-class="license.cm ? \'label-success\' : \'label-danger\'">{{license.cm ? \'APPLICATION_ENABLED\' : \'APPLICATION_DISABLED\' | translate}}</span>\n                </div>\n              </li>\n              <li class="row">\n                <div class="col-md-9">\n                  <i class="icon-control-forward"></i> {{\'APPLICATION_MOTION_DIALER\' | translate}}:\n                </div>\n                <div class="col-md-3 text-center">\n                  <span class="label label-sm" data-ng-class="license.dialer ? \'label-success\' : \'label-danger\'">{{license.dialer ? \'APPLICATION_ENABLED\' : \'APPLICATION_DISABLED\' | translate}}</span>\n                </div>\n              </li>\n              <li class="row">\n                <div class="col-md-9">\n                  <i class="fa fa-edit"></i> {{\'APPLICATION_JSCRIPTY\' | translate}}:\n                </div>\n                <div class="col-md-3 text-center">\n                  <span class="label label-sm" data-ng-class="license.jscripty ? \'label-success\' : \'label-danger\'">{{license.jscripty ? \'APPLICATION_ENABLED\' : \'APPLICATION_DISABLED\' | translate}}</span>\n                </div>\n              </li>\n              <li class="row">\n                <div class="col-md-9">\n                  <i class="icon-equalizer"></i> {{\'APPLICATION_CUSTOMIZATION\' | translate}}:\n                </div>\n                <div class="col-md-3 text-center">\n                  <span class="label label-sm" data-ng-class="license.custom ? \'label-success\' : \'label-danger\'">{{license.custom ? \'APPLICATION_ENABLED\' : \'APPLICATION_DISABLED\' | translate}}</span>\n                </div>\n              </li>\n              <li class="row">\n                <div class="col-md-9">\n                  <i class="icon-cloud-download"></i> {{\'APPLICATION_UPDATE\' | translate}}:\n                </div>\n                <div class="col-md-3 text-center">\n                  <span class="label label-sm" data-ng-class="license.update ? \'label-success\' : \'label-danger\'">{{license.update ? \'APPLICATION_ENABLED\' : \'APPLICATION_DISABLED\' | translate}}</span>\n                </div>\n              </li>\n            </ul>\n            <div class="pricing-footer">\n              <p>\n                {{license.description}}\n              </p>\n              <a href="https://www.xcallymotion.com/prices" target="_blank" class="btn yellow-crusta">\n                {{\'APPLICATION_PRICES\' | translate}} <i class="m-icon-swapright m-icon-white"></i>\n              </a>\n              <a href="#" class="btn purple-plum" data-ng-click="updateLicense()">\n                {{\'APPLICATION_UPDATE\' | translate}} <i class="icon-refresh m-icon-white"></i>\n              </a>\n            </div>\n          </div>\n        </div>\n        <div class="col-md-6">\n          <div class="portlet light bordered">\n            <div class="portlet-title">\n              <div class="caption font-green-sharp">\n                <i class="icon-info font-green-sharp"></i>\n                <span class="caption-subject">{{ \'APPLICATION_LICENSE_REQUEST\' | translate }}</a> </span>\n              </div>\n            </div>\n            <div class="portlet-body">\n              <form name="form" novalidate data-ng-submit="submitRequest()">\n\n                \x3c!-- START USERS --\x3e\n                <div class="form-group" data-ng-class="{\'has-error\': (form.users.$touched || form.$submitted) && form.users.$invalid}">\n                  <label class="control-label">{{\'APPLICATION_USERS\' | translate}}</label>\n                  <div class="input-icon">\n                    <i class="icon-eye"></i>\n                    <input type="number" name="users" placeholder="{{\'APPLICATION_USERS\' | translate}}" class="form-control" data-ng-model="item.users" min="0" required>\n                  </div>\n                  <span data-ng-show="(form.users.$touched || forms.$submitted) && form.users.$error.required" class="help-block help-block-error">\n                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                  </span>\n                </div>\n                \x3c!-- END USERS --\x3e\n\n                \x3c!-- START AGENTS --\x3e\n                <div class="form-group" data-ng-class="{\'has-error\': (form.agents.$touched || form.$submitted) && form.agents.$invalid}">\n                  <label class="control-label">{{\'APPLICATION_AGENTS\' | translate}} ({{\'APPLICATION_CONCURRENTS\' | translate}})</label>\n                  <div class="input-icon">\n                    <i class="icon-people"></i>\n                    <input type="number" name="agents" placeholder="{{\'APPLICATION_AGENTS\' | translate}} ({{\'APPLICATION_CONCURRENTS\' | translate}})" class="form-control" data-ng-model="item.agents" min="0" required>\n                  </div>\n                  <span data-ng-show="(form.users.$touched || forms.$submitted) && form.users.$error.required" class="help-block help-block-error">\n                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                  </span>\n                </div>\n                \x3c!-- END AGENTS --\x3e\n\n                \x3c!-- START TELEPHONES --\x3e\n                <div class="form-group" data-ng-class="{\'has-error\': (form.telephones.$touched || form.$submitted) && form.telephones.$invalid}">\n                  <label class="control-label">{{\'APPLICATION_TELEPHONES\' | translate}}</label>\n                  <div class="input-icon">\n                    <i class="icon-phone"></i>\n                    <input type="number" name="telephones" placeholder="{{\'APPLICATION_TELEPHONES\' | translate}}" class="form-control" data-ng-model="item.telephones" min="0" required>\n                  </div>\n                  <span data-ng-show="(form.telephones.$touched || forms.$submitted) && form.telephones.$error.required" class="help-block help-block-error">\n                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                  </span>\n                </div>\n                \x3c!-- END TELEPHONES --\x3e\n                <div class="row">\n                  <div class="form-group col-md-4 col-xs-6">\n                    <label class="control-label">{{\'APPLICATION_CHAT\' | translate}}</label></br>\n                    <input\n                    bs-switch\n                    class="form-control"\n                    ng-model="item.chat"\n                    type="checkbox"\n                    name="chat"\n                    switch-active="{{ radioSwitch.isActive }}"\n                    switch-on-text="{{\'APPLICATION_YES\' | translate}}"\n                    switch-off-text="{{\'APPLICATION_NO\' | translate}}"\n                    switch-on-color="{{ radioSwitch.onColor }}"\n                    switch-off-color="{{ radioSwitch.offColor }}"\n                    switch-animate="{{ radioSwitch.animate }}"\n                    switch-size="{{ radioSwitch.size }}"\n                    switch-label="{{ radioSwitch.label }}"\n                    switch-icon="{{ radioSwitch.icon }}"\n                    switch-radio-off="{{ radioSwitch.radioOff }}"\n                    switch-label-width="{{ radioSwitch.labelWidth }}"\n                    switch-handle-width="{{ radioSwitch.handleWidth }}">\n                  </div>\n                  <div class="form-group col-md-4 col-xs-6">\n                    <label class="control-label">{{\'APPLICATION_MAIL\' | translate}}</label></br>\n                    <input\n                    bs-switch\n                    class="form-control"\n                    ng-model="item.mail"\n                    type="checkbox"\n                    name="mail"\n                    switch-active="{{ radioSwitch.isActive }}"\n                    switch-on-text="{{\'APPLICATION_YES\' | translate}}"\n                    switch-off-text="{{\'APPLICATION_NO\' | translate}}"\n                    switch-on-color="{{ radioSwitch.onColor }}"\n                    switch-off-color="{{ radioSwitch.offColor }}"\n                    switch-animate="{{ radioSwitch.animate }}"\n                    switch-size="{{ radioSwitch.size }}"\n                    switch-label="{{ radioSwitch.label }}"\n                    switch-icon="{{ radioSwitch.icon }}"\n                    switch-radio-off="{{ radioSwitch.radioOff }}"\n                    switch-label-width="{{ radioSwitch.labelWidth }}"\n                    switch-handle-width="{{ radioSwitch.handleWidth }}">\n                  </div>\n                  <div class="form-group col-md-4 col-xs-6">\n                    <label class="control-label">{{\'APPLICATION_FAX\' | translate}}</label></br>\n                    <input\n                    bs-switch\n                    class="form-control"\n                    ng-model="item.fax"\n                    type="checkbox"\n                    name="fax"\n                    switch-active="{{ radioSwitch.isActive }}"\n                    switch-on-text="{{\'APPLICATION_YES\' | translate}}"\n                    switch-off-text="{{\'APPLICATION_NO\' | translate}}"\n                    switch-on-color="{{ radioSwitch.onColor }}"\n                    switch-off-color="{{ radioSwitch.offColor }}"\n                    switch-animate="{{ radioSwitch.animate }}"\n                    switch-size="{{ radioSwitch.size }}"\n                    switch-label="{{ radioSwitch.label }}"\n                    switch-icon="{{ radioSwitch.icon }}"\n                    switch-radio-off="{{ radioSwitch.radioOff }}"\n                    switch-label-width="{{ radioSwitch.labelWidth }}"\n                    switch-handle-width="{{ radioSwitch.handleWidth }}">\n                  </div>\n                  <div class="form-group col-md-4 col-xs-6">\n                    <label class="control-label">{{\'APPLICATION_SMS\' | translate}}</label></br>\n                    <input\n                    bs-switch\n                    class="form-control"\n                    ng-model="item.messaging"\n                    type="checkbox"\n                    name="messaging"\n                    switch-active="{{ radioSwitch.isActive }}"\n                    switch-on-text="{{\'APPLICATION_YES\' | translate}}"\n                    switch-off-text="{{\'APPLICATION_NO\' | translate}}"\n                    switch-on-color="{{ radioSwitch.onColor }}"\n                    switch-off-color="{{ radioSwitch.offColor }}"\n                    switch-animate="{{ radioSwitch.animate }}"\n                    switch-size="{{ radioSwitch.size }}"\n                    switch-label="{{ radioSwitch.label }}"\n                    switch-icon="{{ radioSwitch.icon }}"\n                    switch-radio-off="{{ radioSwitch.radioOff }}"\n                    switch-label-width="{{ radioSwitch.labelWidth }}"\n                    switch-handle-width="{{ radioSwitch.handleWidth }}">\n                  </div>\n                  <div class="form-group col-md-4 col-xs-6">\n                    <label class="control-label">{{\'APPLICATION_OPEN_CHANNEL\' | translate}}</label></br>\n                    <input\n                    bs-switch\n                    class="form-control"\n                    ng-model="item.openchannel"\n                    type="checkbox"\n                    name="openchannel"\n                    switch-active="{{ radioSwitch.isActive }}"\n                    switch-on-text="{{\'APPLICATION_YES\' | translate}}"\n                    switch-off-text="{{\'APPLICATION_NO\' | translate}}"\n                    switch-on-color="{{ radioSwitch.onColor }}"\n                    switch-off-color="{{ radioSwitch.offColor }}"\n                    switch-animate="{{ radioSwitch.animate }}"\n                    switch-size="{{ radioSwitch.size }}"\n                    switch-label="{{ radioSwitch.label }}"\n                    switch-icon="{{ radioSwitch.icon }}"\n                    switch-radio-off="{{ radioSwitch.radioOff }}"\n                    switch-label-width="{{ radioSwitch.labelWidth }}"\n                    switch-handle-width="{{ radioSwitch.handleWidth }}">\n                  </div>\n                  <div class="form-group col-md-4 col-xs-6">\n                    <label class="control-label">{{\'APPLICATION_CONTACT_MANAGER\' | translate}}</label></br>\n                    <input\n                    bs-switch\n                    class="form-control"\n                    ng-model="item.cm"\n                    type="checkbox"\n                    name="cm"\n                    switch-active="{{ radioSwitch.isActive }}"\n                    switch-on-text="{{\'APPLICATION_YES\' | translate}}"\n                    switch-off-text="{{\'APPLICATION_NO\' | translate}}"\n                    switch-on-color="{{ radioSwitch.onColor }}"\n                    switch-off-color="{{ radioSwitch.offColor }}"\n                    switch-animate="{{ radioSwitch.animate }}"\n                    switch-size="{{ radioSwitch.size }}"\n                    switch-label="{{ radioSwitch.label }}"\n                    switch-icon="{{ radioSwitch.icon }}"\n                    switch-radio-off="{{ radioSwitch.radioOff }}"\n                    switch-label-width="{{ radioSwitch.labelWidth }}"\n                    switch-handle-width="{{ radioSwitch.handleWidth }}">\n                  </div>\n                  <div class="form-group col-md-4 col-xs-6">\n                    <label class="control-label">{{\'APPLICATION_MOTION_DIALER\' | translate}}</label></br>\n                    <input\n                    bs-switch\n                    class="form-control"\n                    ng-model="item.dialer"\n                    type="checkbox"\n                    name="dialer"\n                    switch-active="{{ radioSwitch.isActive }}"\n                    switch-on-text="{{\'APPLICATION_YES\' | translate}}"\n                    switch-off-text="{{\'APPLICATION_NO\' | translate}}"\n                    switch-on-color="{{ radioSwitch.onColor }}"\n                    switch-off-color="{{ radioSwitch.offColor }}"\n                    switch-animate="{{ radioSwitch.animate }}"\n                    switch-size="{{ radioSwitch.size }}"\n                    switch-label="{{ radioSwitch.label }}"\n                    switch-icon="{{ radioSwitch.icon }}"\n                    switch-radio-off="{{ radioSwitch.radioOff }}"\n                    switch-label-width="{{ radioSwitch.labelWidth }}"\n                    switch-handle-width="{{ radioSwitch.handleWidth }}">\n                  </div>\n                  <div class="form-group col-md-4 col-xs-6">\n                    <label class="control-label">{{\'APPLICATION_JSCRIPTY\' | translate}}</label></br>\n                    <input\n                    bs-switch\n                    class="form-control"\n                    ng-model="item.jscripty"\n                    type="checkbox"\n                    name="jscripty"\n                    switch-active="{{ radioSwitch.isActive }}"\n                    switch-on-text="{{\'APPLICATION_YES\' | translate}}"\n                    switch-off-text="{{\'APPLICATION_NO\' | translate}}"\n                    switch-on-color="{{ radioSwitch.onColor }}"\n                    switch-off-color="{{ radioSwitch.offColor }}"\n                    switch-animate="{{ radioSwitch.animate }}"\n                    switch-size="{{ radioSwitch.size }}"\n                    switch-label="{{ radioSwitch.label }}"\n                    switch-icon="{{ radioSwitch.icon }}"\n                    switch-radio-off="{{ radioSwitch.radioOff }}"\n                    switch-label-width="{{ radioSwitch.labelWidth }}"\n                    switch-handle-width="{{ radioSwitch.handleWidth }}">\n                  </div>\n                  <div class="form-group col-md-4 col-xs-6">\n                    <label class="control-label">{{\'APPLICATION_CUSTOMIZATION\' | translate}}</label></br>\n                    <input\n                    bs-switch\n                    class="form-control"\n                    ng-model="item.custom"\n                    type="checkbox"\n                    name="custom"\n                    switch-active="{{ radioSwitch.isActive }}"\n                    switch-on-text="{{\'APPLICATION_YES\' | translate}}"\n                    switch-off-text="{{\'APPLICATION_NO\' | translate}}"\n                    switch-on-color="{{ radioSwitch.onColor }}"\n                    switch-off-color="{{ radioSwitch.offColor }}"\n                    switch-animate="{{ radioSwitch.animate }}"\n                    switch-size="{{ radioSwitch.size }}"\n                    switch-label="{{ radioSwitch.label }}"\n                    switch-icon="{{ radioSwitch.icon }}"\n                    switch-radio-off="{{ radioSwitch.radioOff }}"\n                    switch-label-width="{{ radioSwitch.labelWidth }}"\n                    switch-handle-width="{{ radioSwitch.handleWidth }}">\n                  </div>\n                  <div class="form-group col-md-4 col-xs-6">\n                    <label class="control-label">{{\'APPLICATION_UPDATE\' | translate}}</label></br>\n                    <input\n                    bs-switch\n                    class="form-control"\n                    ng-model="item.update"\n                    type="checkbox"\n                    name="update"\n                    switch-active="{{ radioSwitch.isActive }}"\n                    switch-on-text="{{\'APPLICATION_YES\' | translate}}"\n                    switch-off-text="{{\'APPLICATION_NO\' | translate}}"\n                    switch-on-color="{{ radioSwitch.onColor }}"\n                    switch-off-color="{{ radioSwitch.offColor }}"\n                    switch-animate="{{ radioSwitch.animate }}"\n                    switch-size="{{ radioSwitch.size }}"\n                    switch-label="{{ radioSwitch.label }}"\n                    switch-icon="{{ radioSwitch.icon }}"\n                    switch-radio-off="{{ radioSwitch.radioOff }}"\n                    switch-label-width="{{ radioSwitch.labelWidth }}"\n                    switch-handle-width="{{ radioSwitch.handleWidth }}">\n                  </div>\n                </div>\n\n                <input class="btn green-haze" type="submit" value="{{\'APPLICATION_SUBMIT\' | translate}} {{\'APPLICATION_REQUEST\' | translate}}"/>\n              </form>\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n    \x3c!-- END PROFILE CONTENT --\x3e\n  </div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/setting/network/view/externip/externip.create.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{title}}</h3>\n</div>\n<div class="modal-body" data-ng-init="initModal()">\n  <form name="form" novalidate>\n\n    \x3c!-- START ADDRESS --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.address.$touched || form.$submitted) && form.address.$invalid}">\n      <label class="control-label">{{\'APPLICATION_ADDRESS\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="address" placeholder="{{\'APPLICATION_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.value" required data-ng-pattern="/^(25[0-5]|2[0-4][0-9]|1?[0-9]{1,2})(.(25[0-5]|2[0-4][0-9]|1?[0-9]{1,2})){3}$/"/>\n      <span data-ng-show="(form.address.$touched || form.$submitted) && form.address.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n      <span data-ng-show="(form.address.$touched || form.$submitted) && form.address.$error.pattern" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END ADDRESS --\x3e\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="save()" ng-disabled="form.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/setting/network/view/externip/externip.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row">\n\t<div class="col-md-12">\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t<div class="portlet light bordered" data-ng-init="initView()">\n\t\t\t<div class="portlet-title">\n\t\t\t\t<div class="caption font-green-sharp">\n\t\t\t\t\t<i class="icon-globe font-green-sharp"></i>\n\t\t\t\t\t<span class="caption-subject">{{ \'APPLICATION_EXTERNIP\' | translate }}</a> </span>\n\t\t\t\t</div>\n\t\t\t\t<div class="actions">\n\t\t\t\t\t<div class="btn-group" data-ng-show="id.length">\n\t\t\t\t\t\t<a class="btn red" href="#" data-ng-click="deleteItems()">\n\t\t\t\t\t\t\t<i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="btn-group">\n\t\t\t\t\t\t<a class="btn green-jungle" href="#" data-toggle="dropdown" data-ng-click="createItem()">\n\t\t\t\t\t\t\t<i class="icon-plus"></i> {{ \'APPLICATION_NEW_EXTERNIP\' | translate }}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t<div ui-grid="gridOptions"  ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter ui-grid-draggable-rows class="ui-grid">\n\t\t\t\t\t<div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),a.put("app/setting/network/view/localnet/localnet.create.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{title}}</h3>\n</div>\n<div class="modal-body" data-ng-init="initModal()">\n  <form name="form" novalidate>\n\n    \x3c!-- START ADDRESS --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.address.$touched || form.$submitted) && form.address.$invalid}">\n      <label class="control-label">{{\'APPLICATION_ADDRESS\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="address" placeholder="{{\'APPLICATION_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.address" required data-ng-pattern="/^(25[0-5]|2[0-4][0-9]|1?[0-9]{1,2})(.(25[0-5]|2[0-4][0-9]|1?[0-9]{1,2})){3}$/"/>\n      <span data-ng-show="(form.address.$touched || form.$submitted) && form.address.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n      <span data-ng-show="(form.address.$touched || form.$submitted) && form.address.$error.pattern" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END ADDRESS --\x3e\n\n    \x3c!-- START MASK --\x3e\n    <div class="form-group" data-ng-class="{\'has-error\': (form.mask.$touched || form.$submitted) && form.mask.$invalid}">\n      <label class="control-label">{{\'APPLICATION_MASK\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="mask" placeholder="{{\'APPLICATION_MASK\' | translate}}" class="form-control" data-ng-model="item.mask" required data-ng-pattern="/^(25[0-5]|2[0-4][0-9]|1?[0-9]{1,2})(.(25[0-5]|2[0-4][0-9]|1?[0-9]{1,2})){3}$/"/>\n      <span data-ng-show="(form.mask.$touched || form.$submitted) && form.mask.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n      <span data-ng-show="(form.mask.$touched || form.$submitted) && form.mask.$error.pattern" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n      </span>\n    </div>\n    \x3c!-- END MASK --\x3e\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="save()" ng-disabled="form.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),
+a.put("app/sugarcrm/view/configuration/view/view.html",'<div class="row" data-ng-init="initView();getConfiguration();getCustomVariables();getFields();getModules();">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_CONFIGURATION\' | translate}}: {{configurationName}}</span>\n\t\t\t\t</div>\n\t\t\t\t<ul class="nav nav-tabs">\n\t\t\t\t\t<li class="active">\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_SUBJECT\' | translate}}</a>\n\t\t\t\t\t</li>\n          <li>\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_DESCRIPTION\' | translate}}</a>\n\t\t\t\t\t</li>\n          <li>\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_FIELDS\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_4" data-toggle="tab">{{\'APPLICATION_MAPPING\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t<div class="tab-content">\n\t\t\t\t\t\x3c!-- SUBJECT TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding active" id="tab_1_1">\n            <div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">All following fields will be join by blank space:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItem(\'subject\')"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t\x3c!-- <div id="subject-item-list" ng-scrollbars ng-scrollbars-config="config"> --\x3e\n\t            <div class="row" data-ng-repeat="subjectItem in subjectConfig">\n\t              <div class="col-md-3">\n\t                <ui-select ng-model="subjectItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(subjectItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                  <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n\t                    <div ng-bind-html="item.title | highlight: $select.search"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t              </div>\n\t              <div class="col-md-8" data-ng-if="subjectItem.type==\'string\'">\n\t                <div class="form-group">\n\t                  <input type="text" class="form-control" data-ng-model="subjectItem.content" data-ng-change="updateField(subjectItem)">\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-8" data-ng-if="subjectItem.type==\'variable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.variableName" data-ng-change="updateField(subjectItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                    <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n\t                      <div ng-bind-html="variable.title | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-8" data-ng-if="subjectItem.type==\'customVariable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.VariableId" data-ng-change="updateField(subjectItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t                    <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n\t                      <div ng-bind-html="variable.name | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-1">\n\t                <div class="form-group">\n\t                  <button class="btn btn-icon-only red" data-ng-click="removeItem(subjectItem)"><i class="fa fa-times"></i></button>\n\t                </div>\n\t              </div>\n\t            </div>\n\t\t\t\t\t\t\x3c!-- </div> --\x3e\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END SUBJECT TAB --\x3e\n          \x3c!-- DESCRIPTION TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding" id="tab_1_2">\n\t\t\t\t\t\t<div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">All following fields will be join by new line:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItem(\'description\')"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t\x3c!-- <div id="description-item-list" ng-scrollbars ng-scrollbars-config="config"> --\x3e\n\t\t\t\t\t\t\t<div class="row" data-ng-repeat="descriptionItem in descriptionConfig">\n\t              <div class="col-md-2">\n\t                <ui-select ng-model="descriptionItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                  <ui-select-choices repeat="item.type as item in descFieldType | filter: $select.search">\n\t                    <div ng-bind-html="item.title | highlight: $select.search"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t              </div>\n\t              <div class="col-md-9" data-ng-if="descriptionItem.type==\'string\'">\n\t                <div class="form-group">\n\t                  <input type="text" class="form-control" data-ng-model="descriptionItem.content" data-ng-change="updateField(descriptionItem)">\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\'">\n\t\t\t\t\t\t\t\t\t<input type="text" class="form-control" placeholder="Key" data-ng-model="descriptionItem.key" data-ng-change="updateField(descriptionItem)">\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\'">\n\t\t\t\t\t\t\t\t\t<ui-select ng-model="descriptionItem.keyType" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                  <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n\t                    <div ng-bind-html="item.title | highlight: $select.search"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'string\'">\n\t\t\t\t\t\t\t\t\t<input type="text" class="form-control" placeholder="Value" data-ng-model="descriptionItem.keyContent" data-ng-change="updateField(descriptionItem)">\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'variable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.variableName" data-ng-change="updateField(descriptionItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                    <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n\t                      <div ng-bind-html="variable.title | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'customVariable\'">\n\t                <div class="form-group">\n\t                  <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.VariableId" data-ng-change="updateField(descriptionItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t                    <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n\t                      <div ng-bind-html="variable.name | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-1">\n\t                <div class="form-group">\n\t                  <button class="btn btn-icon-only red" data-ng-click="removeItem(descriptionItem)"><i class="fa fa-times"></i></button>\n\t                </div>\n\t              </div>\n\t            </div>\n\t\t\t\t\t\t\x3c!-- </div> --\x3e\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END DESCRIPTION TAB --\x3e\n          \x3c!-- FIELDS TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding" id="tab_1_3">\n\t\t\t\t\t\t<div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">Add how to fill the fields present in your account:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItem(\'field\')"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t\x3c!-- <div id="field-item-list" ng-scrollbars ng-scrollbars-config="config"> --\x3e\n\t            <div class="row" data-ng-repeat="fieldItem in fieldConfig">\n\t              <div class="col-md-3">\n\t                <ui-select ng-model="fieldItem.idField" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeFieldType(fieldItem)">\n\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.label}}</ui-select-match>\n\t                  <ui-select-choices repeat="item.name as item in accountFields | filter: $select.search">\n\t                    <div ng-bind-html="item.label | highlight: $select.search"></div>\n\t                  </ui-select-choices>\n\t                </ui-select>\n\t              </div>\n\t              <div class="col-md-8" data-ng-if="getSystemFieldOptions(fieldItem.idField)">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select ng-model="fieldItem.content" theme="bootstrap" ng-disabled="disabled" data-ng-change="updateField(fieldItem)">\n\t\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t\t                  <ui-select-choices repeat="item.value as item in getSystemFieldOptions(fieldItem.idField) | filter: $select.search">\n\t\t                    <div ng-bind-html="item.name | highlight: $select.search"></div>\n\t\t                  </ui-select-choices>\n\t\t                </ui-select>\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField)">\n\t\t\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select ng-model="fieldItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(fieldItem)">\n\t\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t\t                  <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n\t\t                    <div ng-bind-html="item.title | highlight: $select.search | ucfirst"></div>\n\t\t                  </ui-select-choices>\n\t\t                </ui-select>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'string\'">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<input type="text" class="form-control" data-ng-model="fieldItem.content" data-ng-change="updateField(fieldItem)">\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'variable\'">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.variableName" data-ng-change="updateField(fieldItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n\t                    <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n\t                      <div ng-bind-html="variable.title | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t\t\t\t\t\t\t\t<div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'customVariable\'">\n\t                <div class="form-group">\n\t\t\t\t\t\t\t\t\t\t<ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.VariableId" data-ng-change="updateField(fieldItem)">\n\t                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n\t                    <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n\t                      <div ng-bind-html="variable.name | highlight: $select.search"></div>\n\t                    </ui-select-choices>\n\t                  </ui-select>\n\t                </div>\n\t              </div>\n\t              <div class="col-md-1">\n\t                <div class="form-group">\n\t                  <button class="btn btn-icon-only red" data-ng-click="removeItem(fieldItem)"><i class="fa fa-times"></i></button>\n\t                </div>\n\t              </div>\n\t            </div>\n\t\t\t\t\t\t\x3c!-- </div> --\x3e\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END FIELDS TAB --\x3e\n\t\t\t\t\t\x3c!-- TAG TAB --\x3e\n\t\t\t\t\t<div class="tab-pane ui-padding" id="tab_1_4">\n\n\t\t\t\t\t\t\x3c!-- BEGIN UI-GRID SPINNER --\x3e\n\t\t\t\t\t\t<span us-spinner spinner-key="spinner-grid" spinner-start-active="false"></span>\n\t\t\t\t\t\t\x3c!-- END UI-GRID SPINNER --\x3e\n\n\t\t\t\t\t\t<div class="row">\n              <div class="col-md-12">\n                <span class="caption-subject">Select the mapping procedure that the current configuration will use:</span>\n              </div>\n            </div>\n            <hr>\n\t\t\t\t\t\t<form name="forms.mapping" data-ng-submit="updateMapping()" novalidate>\n\n\t\t\t\t\t\t\t\x3c!-- DEFAULT MAPPING --\x3e\n\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_DEFAULT_MAPPING\' | translate}}</label></br>\n\t\t\t\t\t      <input\n\t\t\t\t\t          bs-switch\n\t\t\t\t\t          class="form-control"\n\t\t\t\t\t          ng-model="mapping.defaultMapping"\n\t\t\t\t\t          type="checkbox",\n\t\t\t\t\t\t\t\t\t\tname="defaultMapping"\n\t\t\t\t\t          switch-active="{{ defaultMappingSwitch.isActive }}"\n\t\t\t\t\t          switch-on-text="{{ defaultMappingSwitch.onText }}"\n\t\t\t\t\t          switch-off-text="{{ defaultMappingSwitch.offText }}"\n\t\t\t\t\t          switch-on-color="{{ defaultMappingSwitch.onColor }}"\n\t\t\t\t\t          switch-off-color="{{ defaultMappingSwitch.offColor }}"\n\t\t\t\t\t          switch-animate="{{ defaultMappingSwitch.animate }}"\n\t\t\t\t\t          switch-size="{{ defaultMappingSwitch.size }}"\n\t\t\t\t\t          switch-label="{{ defaultMappingSwitch.label }}"\n\t\t\t\t\t          switch-icon="{{ defaultMappingSwitch.icon }}"\n\t\t\t\t\t          switch-radio-off="{{ defaultMappingSwitch.radioOff }}"\n\t\t\t\t\t          switch-label-width="{{ defaultMappingSwitch.labelWidth }}"\n\t\t\t\t\t          switch-handle-width="{{ defaultMappingSwitch.handleWidth }}">\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END DEFAULT MAPPING --\x3e\n\n\t\t\t\t\t\t\t<div class="row" data-ng-if="!mapping.defaultMapping">\n\t\t\t\t\t\t\t\t<div class="col-md-6">\n\t\t\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': (forms.mapping.mappingModule.$touched || forms.mapping.$submitted) && forms.mapping.mappingModule.$invalid}">\n\t\t\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_MAPPING_MODULE\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t\t\t<ui-select ng-model="mapping.mappingModule" theme="bootstrap" name="mappingModule" required ng-disabled="disabled" data-ng-change="updateMappingModule()">\n\t\t                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.label}}</ui-select-match>\n\t\t                  <ui-select-choices repeat="item.key as item in accountModules | filter: $select.search">\n\t\t                    <div ng-bind-html="item.label | highlight: $select.search"></div>\n\t\t                  </ui-select-choices>\n\t\t                </ui-select>\n\t\t\t\t\t\t\t\t\t\t<span data-ng-show="(forms.mapping.mappingModule.$touched || forms.mapping.$submitted) && forms.mapping.mappingModule.$invalid && forms.mapping.mappingModule.$error.required" class="help-block help-block-error">\n\t\t\t\t\t\t\t        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t      </span>\n\t                </div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t\t<div class="row" data-ng-if="!mapping.defaultMapping">\n\t\t\t\t\t\t\t\t<div class="col-md-12">\n\t\t\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': (forms.mapping.mappingFields.$touched || forms.mapping.$submitted) && forms.mapping.mappingFields.$invalid}">\n\t\t\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_MAPPING_FIELDS\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t\t\t<ui-select multiple data-ng-model="mapping.mappingFields" theme="bootstrap" name="mappingFields" ng-disabled="disabled" required>\n\t\t\t\t\t\t\t\t\t\t\t<ui-select-match placeholder="{{ \'APPLICATION_MAPPING_FIELDS\' | translate }}">{{$item.label}}</ui-select-match>\n\t\t\t\t\t\t\t\t\t\t\t<ui-select-choices repeat="moduleField.name as moduleField in moduleFields | filter: $select.search">\n\t\t\t\t\t\t\t\t\t\t\t\t{{moduleField.label}}\n\t\t\t\t\t\t\t\t\t\t\t</ui-select-choices>\n\t\t\t\t\t\t\t\t\t\t</ui-select>\n\t\t\t\t\t\t\t\t\t\t<span data-ng-show="(forms.mapping.mappingFields.$touched || forms.mapping.$submitted) && forms.mapping.mappingFields.$invalid && forms.mapping.mappingFields.$error.required" class="help-block help-block-error">\n\t\t\t\t\t\t\t        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t      </span>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t\t<input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}" data-ng-disabled="forms.mapping.$invalid"/>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END TAG TAB --\x3e\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/sugarcrm/view/view.account.html",'<div class="row">\n\t<div class="col-md-12">\n\t\t<div class="portlet light">\n\t\t\t<div class="portlet-title tabbable-line">\n\t\t\t\t<div class="caption caption-md">\n\t\t\t\t\t<i class="icon-globe theme-font hide"></i>\n\t\t\t\t\t<span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_ACCOUNT\' | translate}}</span>\n\t\t\t\t</div>\n\t\t\t\t<ul class="nav nav-tabs">\n\t\t\t\t\t<li class="active">\n\t\t\t\t\t\t<a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t\t<div class="portlet-body">\n\t\t\t\t<div class="tab-content">\n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t<div class="tab-pane active" id="tab_1_1">\n\t\t\t\t\t\t<form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItem()" novalidate>\n              \x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.name.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.name" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n\t\t\t\t\t\t\t\t<input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n              \x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.username" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n              \x3c!-- START REMOTE ADDRESS --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_REMOTE_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="url" name="remoteUri" placeholder="{{\'APPLICATION_REMOTE_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.remoteUri" required />\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.password.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n\t\t\t\t\t\t\t\t<input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="account.password" required/>\n\t\t\t\t\t\t\t\t<span data-ng-show="forms.formSetting.apiKey.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n\t\t\t\t\t\t\t\t\t<strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SERVER URL --\x3e\n\t\t\t\t\t\t\t<div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.serverUrl.$invalid}">\n\t\t\t\t\t\t\t\t<label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}}</label>\n\t\t\t\t\t\t\t\t<input type="url" name="serverUrl" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.serverUrl"/>\n\t\t\t\t\t\t\t\t<span class="help-block">\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_SERVER_URL\' | translate}}.\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t<span class="help-block help-block-info">\n\t\t\t\t\t\t\t\t\t{{\'MESSAGE_MOTION_ADDRESS_FORMAT\' | translate}}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\x3c!-- END SERVER URL --\x3e\n\n\t\t\t\t\t\t\t<input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n'),a.put("app/sugarcrm/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n<div class="row" data-ng-init="initView()">\n\t<div class="col-md-12">\n\t\t<div class="page-bar">\n\t\t\t<ul class="page-breadcrumb">\n\t\t\t\t<li>\n\t\t\t\t\t<i class="icon-rocket"></i>\n\t\t\t\t\t<a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n          <i class="icon-handbag"></i>\n          <a href="/sugarcrm/list">{{ \'APPLICATION_SUGARCRM\' | translate }}</a>\n\t\t\t\t\t<i class="fa fa-angle-right"></i>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<a href="#">{{account.name}}</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t<div class="profile-sidebar">\n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t<div class="portlet light profile-sidebar-portlet">\n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t<div class="profile-image">\n\t\t\t\t\t<img src="assets/images/media/sugarcrm.png" class="img-responsive">\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t<div class="profile-usertitle">\n\t\t\t\t\t<div class="profile-usertitle-name">\n\t\t\t\t\t\t{{account.name}}\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="profile-usertitle-job">\n\t\t\t\t\t\t{{account.remoteUri}}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t<div class="profile-usermenu">\n\t\t\t\t\t<ul class="nav">\n\t\t\t\t\t\t<li data-ng-class="{active: $state.is(\'main.sugarcrm.view.account\')}">\n\t\t\t\t\t\t\t<a ng-href="/sugarcrm/view/{{account.id}}/account">\n\t\t\t\t\t\t\t<i class="icon-user"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_ACCOUNT\' | translate }} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li data-ng-class="{active: $state.includes(\'main.sugarcrm.view.configurations\') || $state.is(\'main.sugarcrm.view.configuration\')}">\n\t\t\t\t\t\t\t<a ng-href="/sugarcrm/view/{{account.id}}/configurations/list">\n\t\t\t\t\t\t\t<i class="icon-settings"></i>\n\t\t\t\t\t\t\t{{ \'APPLICATION_CONFIGURATIONS\' | translate }} </a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t</div>\n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t</div>\n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t<div ui-view class="profile-content">\n\t\t</div>\n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t</div>\n</div>\n\x3c!-- END PAGE CONTENT--\x3e\n'),
+a.put("components/header/header.html",'\x3c!-- BEGIN HEADER INNER --\x3e\n<div class="page-header-inner" data-ng-init="initHeader()">\n  \x3c!-- BEGIN LOGO --\x3e\n  <div class="page-logo">\n    <a href="/">\n      <img ng-src="api/settings/logo/main" alt="logo" class="logo-default custom-logo" onError="this.onerror=null"/>\n    </a>\n    <div class="menu-toggler sidebar-toggler" data-ng-click="toggleSidebar()"></div>\n  </div>\n\n  \x3c!-- END LOGO --\x3e\n  \x3c!-- BEGIN HEADER SEARCH BOX --\x3e\n  \x3c!-- DOC: Apply "search-form-expanded" right after the "search-form" class to have half expanded search box --\x3e\n  <form ng-repeat="call in activeCalls | limitTo:2" class="search-form search-form-expanded">\n    <div class="input-group">\n      <input type="text" class="form-control" value="{{call.calleridnum}}" readonly>\n      <span class="input-group-btn">\n        <a href="javascript:;" class="btn submit inactive-link"><i class="icon-earphones-alt"></i></a>\n      </span>\n    </div>\n  </form>\n  \x3c!-- END HEADER SEARCH BOX --\x3e\n  \x3c!-- BEGIN RESPONSIVE MENU TOGGLER --\x3e\n  <a href="javascript:;" class="menu-toggler responsive-toggler" data-toggle="collapse" data-target=".navbar-collapse"></a>\n  \x3c!-- END RESPONSIVE MENU TOGGLER --\x3e\n  \x3c!-- BEGIN TOP NAVIGATION MENU --\x3e\n  <div class="top-menu">\n    <ul class="nav navbar-nav pull-right">\n      \x3c!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte --\x3e\n\n      \x3c!-- BEGIN USER LOGIN DROPDOWN --\x3e\n      \x3c!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte --\x3e\n      <li class="dropdown dropdown-user">\n        <a href="#" class="dropdown-toggle" dropdown-menu-hover data-toggle="dropdown" data-close-others="true">\n          <img class="img-circle" data-ng-src="api/users/avatar/{{getCurrentUser().userpic || \'unknown_avatar\'}}" alt="...">\n          <span class="username username-hide-on-mobile">\n            {{ getCurrentUser().fullname }}\n          </span>\n          <i class="fa fa-angle-down"></i>\n        </a>\n        <ul class="dropdown-menu dropdown-menu-default">\n          <li>\n            <a ng-href=" {{getCurrentUser().role === \'agent\' ? \'/staff/agents/view/\'+getCurrentUser().id+\'/account\' : \'/staff/users/view/\'+getCurrentUser().id+\'/account\'}}">\n              <i class="icon-key"></i>{{\'APPLICATION_CHANGE_PASSWORD\' | translate}}\n            </a>\n          </li>\n          <li data-ng-click="logout()">\n            <a href="#">\n              <i class="icon-logout"></i> Log Out\n            </a>\n          </li>\n        </ul>\n      </li>\n      \x3c!-- END USER LOGIN DROPDOWN --\x3e\n      \x3c!-- BEGIN QUICK SIDEBAR TOGGLER --\x3e\n      \x3c!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte --\x3e\n      \x3c!-- <li class="dropdown dropdown-quick-sidebar-toggler" data-ng-click="toggleQuickSidebar()">\n      <a href="#" class="dropdown-toggle">\n      <i class="icon-logout"></i>\n    </a>\n  </li> --\x3e\n  \x3c!-- END QUICK SIDEBAR TOGGLER --\x3e\n</ul>\n<ul class="nav navbar-nav pull-right" data-ng-if="getCurrentUser().role == \'admin\'">\n  <li class="dropdown dropdown-user">\n    <a href="/setting/license/view" class="dropdown-toggle" dropdown-menu-hover data-toggle="dropdown" data-close-others="true">\n      <i class="icon-info"></i> <span class="username username-hide-on-mobile right-margin-10">{{\'APPLICATION_LICENSE_STATUS\' | translate}}</span>\n    </a>\n  </li>\n</ul>\n<ul class="nav navbar-nav pull-right">\n  \x3c!-- BEGIN LANGUAGE BAR --\x3e\n  <li class="dropdown dropdown-language">\n    <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n      <img ng-src="assets/images/flags/{{ language }}.png">\n      <i class="fa fa-angle-down"></i>\n    </a>\n    <ul class="dropdown-menu dropdown-menu-default scrollable-menu">\n      <li>\n        <a href="#" ng-click="changeLanguage(\'ar\')">\n          <img alt="" src="assets/images/flags/ar.png"> {{\'APPLICATION_ARABIC\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'da\')">\n          <img alt="" src="assets/images/flags/da.png"> {{\'APPLICATION_DANISH\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'de\')">\n          <img alt="" src="assets/images/flags/de.png"> {{\'APPLICATION_GERMAN\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'en_EN\')">\n          <img alt="" src="assets/images/flags/en_EN.png"> {{\'APPLICATION_ENGLISH\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'es\')">\n          <img alt="" src="assets/images/flags/es.png"> {{\'APPLICATION_SPANISH\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'fi\')">\n          <img alt="" src="assets/images/flags/fi.png"> {{\'APPLICATION_FINNISH\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'fr\')">\n          <img alt="" src="assets/images/flags/fr.png"> {{\'APPLICATION_FRENCH\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'hi\')">\n          <img alt="" src="assets/images/flags/hi.png"> {{\'APPLICATION_HINDI\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'it\')">\n          <img alt="" src="assets/images/flags/it.png"> {{\'APPLICATION_ITALIAN\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'ja\')">\n          <img alt="" src="assets/images/flags/ja.png"> {{\'APPLICATION_JAPANASE\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'ko\')">\n          <img alt="" src="assets/images/flags/ko.png"> {{\'APPLICATION_KOREAN\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'nl\')">\n          <img alt="" src="assets/images/flags/nl.png"> {{\'APPLICATION_DUTCH\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'no\')">\n          <img alt="" src="assets/images/flags/no.png"> {{\'APPLICATION_NORWEGIAN\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'pt-BR\')">\n          <img alt="" src="assets/images/flags/pt-BR.png"> {{\'APPLICATION_PORTUGUESE_BRAZIL\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'pt-PT\')">\n          <img alt="" src="assets/images/flags/pt-PT.png"> {{\'APPLICATION_PORTUGUESE_PORTUGAL\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'ru\')">\n          <img alt="" src="assets/images/flags/ru.png"> {{\'APPLICATION_RUSSIAN\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'sv\')">\n          <img alt="" src="assets/images/flags/sv.png"> {{\'APPLICATION_SWEDISH\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'tr\')">\n          <img alt="" src="assets/images/flags/tr.png"> {{\'APPLICATION_TURKISH\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'fa\')">\n          <img alt="" src="assets/images/flags/fa.png"> {{\'APPLICATION_PERSIAN\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'zh-CN\')">\n          <img alt="" src="assets/images/flags/zh-CN.png"> {{\'APPLICATION_CHINESE_SIMPLIFIED\' | translate}}\n        </a>\n      </li>\n      <li>\n        <a href="#" ng-click="changeLanguage(\'zh-TW\')">\n          <img alt="" src="assets/images/flags/zh-TW.png"> {{\'APPLICATION_CHINESE_TRADITIONAL\' | translate}}\n        </a>\n      </li>\n    </ul>\n  </li>\n  \x3c!-- END LANGUAGE BAR --\x3e\n</ul>\n<ul data-ng-if="getCurrentUser().role === \'agent\' && headerAgent.showWebBar" class="nav navbar-nav pull-right header-ul-with-separator padding-side-7" data-ng-class="{\'paused-header\':headerAgent.voicePause || headerAgent.mailPause || headerAgent.chatPause || headerAgent.faxPause || headerAgent.smsPause || headerAgent.openchannelPause}">\n  <li class="dropdown dropdown-user" >\n    <a href="#" class="dropdown-toggle custom-header-a" dropdown-menu-hover data-toggle="dropdown" data-close-others="true" style="cursor:default;">\n      <div>{{(headerAgent.voicePause || headerAgent.mailPause || headerAgent.chatPause || headerAgent.faxPause || headerAgent.smsPause || headerAgent.openchannelPause) ? ((!headerAgent.voicePause || !headerAgent.mailPause || !headerAgent.chatPause || !headerAgent.faxPause || !headerAgent.smsPause || !headerAgent.openchannelPause) ? \'(\'+(\'APPLICATION_PARTIAL\' | translate) + \') \'+headerAgent.pauseType : headerAgent.pauseType) : \'READY\'}}</div>\n      <div data-ng-if="headerAgent.voicePause || headerAgent.mailPause || headerAgent.chatPause || headerAgent.faxPause || headerAgent.smsPause || headerAgent.openchannelPause"><css-timer start-time="headerAgent.lastPauseAt"></css-timer></div>\n    </a>\n  </li>\n  <li class="dropdown dropdown-user" data-ng-if="headerAgent.voicePause || headerAgent.mailPause || headerAgent.chatPause || headerAgent.faxPause || headerAgent.smsPause || headerAgent.openchannelPause">\n    <a href="#" class="dropdown-toggle padding-side-7 header-bar-button header-bar-button-controls" dropdown-menu-hover data-toggle="dropdown" data-close-others="true" data-ng-click="headerPause(\'unpause\')">\n      <i class="fa fa-play font-green"></i></a>\n    </li>\n    <li class="dropdown dropdown-user" data-ng-if="headerAgent.voicePause || headerAgent.mailPause || headerAgent.chatPause || headerAgent.faxPause || headerAgent.smsPause || headerAgent.openchannelPause">\n      <a href="#" class="dropdown-toggle header-bar-button" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n        <i class="fa fa-angle-down"></i>\n      </a>\n      <ul class="dropdown-menu dropdown-menu-default scrollable-menu">\n        <li data-ng-if="headerAgent.voicePause">\n          <a href="#" data-ng-click="headerPause(\'unpause\',null,\'voice\')">\n            <i class="fa fa-play font-green"></i> {{\'APPLICATION_VOICE\' | translate}}\n          </a>\n        </li>\n        <li data-ng-if="headerAgent.mailPause">\n          <a href="#" data-ng-click="headerPause(\'unpause\',null,\'mail\')">\n            <i class="fa fa-play font-green"></i> {{\'APPLICATION_MAIL\' | translate}}\n          </a>\n        </li>\n        <li data-ng-if="headerAgent.chatPause">\n          <a href="#" data-ng-click="headerPause(\'unpause\',null,\'chat\')">\n            <i class="fa fa-play font-green"></i> {{\'APPLICATION_CHAT\' | translate}}\n          </a>\n        </li>\n        <li data-ng-if="headerAgent.faxPause">\n          <a href="#" data-ng-click="headerPause(\'unpause\',null,\'fax\')">\n            <i class="fa fa-play font-green"></i> {{\'APPLICATION_FAX\' | translate}}\n          </a>\n        </li>\n        <li data-ng-if="headerAgent.smsPause">\n          <a href="#" data-ng-click="headerPause(\'unpause\',null,\'sms\')">\n            <i class="fa fa-play font-green"></i> {{\'APPLICATION_SMS\' | translate}}\n          </a>\n        </li>\n        <li data-ng-if="headerAgent.openchannelPause">\n          <a href="#" data-ng-click="headerPause(\'unpause\',null,\'openchannel\')">\n            <i class="fa fa-play font-green"></i> {{\'APPLICATION_OPEN_CHANNEL\' | translate}}\n          </a>\n        </li>\n      </ul>\n    </li>\n    <li class="dropdown dropdown-user">\n      <a href="#" class="dropdown-toggle padding-side-7 header-bar-button header-bar-button-controls" dropdown-menu-hover data-toggle="dropdown" data-close-others="true" data-ng-click="headerPause(\'pause\',\'DEFAULT PAUSE\')">\n        <i class="fa fa-pause font-yellow"></i></a>\n      </li>\n      <li class="dropdown dropdown-user" data-ng-if="headerPauses.length">\n        <a href="#" class="dropdown-toggle header-bar-button" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n          <i class="fa fa-angle-down"></i>\n        </a>\n        <ul class="dropdown-menu dropdown-menu-default scrollable-menu">\n          <li data-ng-repeat="pause in headerPauses">\n            <a href="#" data-ng-click="headerPause(\'pause\',pause.name)">\n              {{pause.name}}\n            </a>\n          </li>\n        </ul>\n      </li>\n    </ul>\n    <ul class="nav navbar-nav pull-right" data-ng-if="getCurrentUser().role === \'agent\'" >\n      <li data class="dropdown dropdown-extended dropdown-notification" id="header_agent_notification_bar" data-ng-click="agentNotifications.agent.new = 0;">\n        <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n          <i class="icon-earphones-alt"></i>\n          <span class="badge badge-default" data-ng-if="agentNotifications.agent.new">\n            {{agentNotifications.agent.new}} </span>\n          </a>\n          <ul class="dropdown-menu tabbed-dropdown">\n            <li class="external">\n              <h3><span class="bold">{{\'APPLICATION_LAST_VOICE_NOTIFICATIONS\' | translate}}</span></h3>\n            </li>\n            <li>\n              <ul class="nav nav-tabs">\n                <li class="active">\n                  <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_INBOUND\' | translate}}</a>\n                </li>\n                <li>\n                  <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_OUTBOUND\' | translate}}</a>\n                </li>\n              </ul>\n\n              <div class="tab-content">\n                \x3c!-- GENERAL TAB --\x3e\n                <div class="tab-pane active" id="tab_1_1">\n                  \x3c!-- BEGIN UI-GRID SPINNER --\x3e\n                  <span us-spinner spinner-key="agent-spinner-grid" data-ng-if="busyLoad.agent.busy" spinner-start-active="true"></span>\n                  \x3c!-- END UI-GRID SPINNER --\x3e\n                  <ul class="dropdown-menu-list scrollable-menu" style="height: 250px;" data-handle-color="#637283" infinite-scroll="loadNotifications(\'agent\')" can-load=\'!busyLoad.agent.busy\' treshold="261">\n                    <li data-ng-repeat="notification in agentNotifications.agent.rows">\n                      <a href="javascript:;" style="cursor:default;">\n                        <div class="row">\n                          <div class="col-md-1">\n                            <img src="assets/images/media/inboundroute.png" style="width:25px;height:25px;" alt="">\n                          </div>\n                          <div class="col-md-10">\n                            <div>{{\'APPLICATION_VOICE_NEW_CALL\' | translate}}<span data-ng-if="notification.status && notification.status !== \'none\'" class="badge float-right" data-ng-class="{\'badge-success\':notification.status === \'taken\',\'badge-danger\':notification.status === \'lost\',\'badge-warning\':notification.status === \'rejected\' || notification.status === \'busy\',\'badge-info\':notification.status === \'taken_elsewhere\'}">{{\'APPLICATION_VOICE_\'+notification.status.toUpperCase() | translate}}</span></div>\n                            <div><span class="time float-left" style="max-width:none !important;"><span am-time-ago="notification.updatedAt"></span></span></div>\n                          </div>\n                        </div>\n                        <div>\n                          <span class="message">{{notification.dialstring ? \'APPLICATION_TO\' : \'APPLICATION_FROM\' | translate}}: <span class="span-link" data-ng-click="chooseContact(notification.calleridnum)">{{notification.calleridnum}}</span></span>\n                        </div>\n                        <div data-ng-if="notification.status === \'taken_elsewhere\'">\n                          <span class="message">{{\'APPLICATION_AGENT_NAME\' | translate}}: <span ><b>{{notification.answeredelsewheremembername}}</b></span></span>\n                        </div>\n                        <div data-ng-if="notification.status === \'taken\' && notification.lastevent === \'complete\'">\n                          <span class="message">{{\'APPLICATION_COMPLETED_BY\' | translate}}: <span ><b>{{\'APPLICATION_VOICE_\'+notification.reason.toUpperCase() | translate}}</b></span></span>\n                        </div>\n                      </a>\n                    </li>\n                  </ul>\n                </div>\n                <div class="tab-pane" id="tab_1_2">\n                  \x3c!-- BEGIN UI-GRID SPINNER --\x3e\n                  <span us-spinner spinner-key="dial-spinner-grid" data-ng-if="busyLoad.dial.busy" spinner-start-active="true"></span>\n                  \x3c!-- END UI-GRID SPINNER --\x3e\n                  <ul class="dropdown-menu-list scrollable-menu" style="height: 250px;" data-handle-color="#637283" infinite-scroll="loadNotifications(\'dial\')" can-load=\'!busyLoad.dial.busy\' treshold="261">\n                    <li data-ng-repeat="notification in agentNotifications.dial.rows">\n                      <a href="javascript:;" style="cursor:default;">\n                        <div class="row">\n                          <div class="col-md-1">\n                            <img src="assets/images/media/outboundroute.png" style="width:25px;height:25px;" alt="">\n                          </div>\n                          <div class="col-md-10">\n                            <div>{{\'APPLICATION_VOICE_NEW_CALL\' | translate}}<span data-ng-if="notification.status && notification.status !== \'none\'" class="badge float-right" data-ng-class="{\'badge-success\':notification.status === \'taken\',\'badge-danger\':notification.status === \'lost\',\'badge-warning\':notification.status === \'rejected\',\'badge-info\':notification.status === \'taken_elsewhere\'}">{{\'APPLICATION_VOICE_\'+notification.status.toUpperCase() | translate}}</span></div>\n                            <div><span class="time float-left" style="max-width:none !important;"><span am-time-ago="notification.updatedAt"></span></span></div>\n                          </div>\n                        </div>\n                        <div>\n                          <span class="message">{{\'APPLICATION_TO\' | translate}}: <span class="span-link" data-ng-click="chooseContact(notification.destcalleridnum)">{{notification.destcalleridnum}}</span></span>\n                        </div>\n                      </a>\n                    </li>\n                  </ul>\n                </div>\n              </div>\n            </li>\n          </ul>\n        </li>\n        <li data ng-if="license.mail" class="dropdown dropdown-extended dropdown-notification" id="header_mail_notification_bar" data-ng-click="agentNotifications.mail.new = 0;">\n          <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n            <i class="icon-envelope-open"></i>\n            <span class="badge badge-default" data-ng-if="agentNotifications.mail.new">\n              {{agentNotifications.mail.new}} </span>\n            </a>\n            <ul class="dropdown-menu">\n              <li class="external">\n                <h3><span class="bold">{{\'APPLICATION_LAST_MAIL_NOTIFICATIONS\' | translate}}</span></h3>\n              </li>\n              <li>\n                \x3c!-- BEGIN UI-GRID SPINNER --\x3e\n                <span us-spinner spinner-key="mail-spinner-grid" data-ng-if="busyLoad.mail.busy" spinner-start-active="true"></span>\n                \x3c!-- END UI-GRID SPINNER --\x3e\n                <ul class="dropdown-menu-list scrollable-menu" style="height: 250px;" data-handle-color="#637283" infinite-scroll="loadNotifications(\'mail\')" can-load=\'!busyLoad.mail.busy\' treshold="261">\n                  <li data-ng-repeat="notification in agentNotifications.mail.rows">\n                    <a href="javascript:;" style="cursor:default;">\n                      <div class="row">\n                        <div class="col-md-1">\n                          <img src="assets/images/media/enquiry.png" style="width:25px;height:25px;" alt="">\n                        </div>\n                        <div class="col-md-10">\n                          <div>{{\'APPLICATION_NEW_MESSAGE\' | translate}}<span data-ng-if="notification.status && notification.status !== \'none\'" class="badge float-right" data-ng-class="{\'badge-success pointer-cursor\':notification.status === \'taken\',\'badge-danger\':notification.status === \'lost\',\'badge-warning\':notification.status === \'rejected\'}" data-ng-click="notification.status === \'taken\' && openRoom(notification.roomid, \'mailRoom\')">{{\'APPLICATION_MESSAGE_\'+notification.status.toUpperCase() | translate}} <i data-ng-if="notification.status === \'taken\'" class="fa fa-envelope"></i></span></div>\n                          <div><span class="time float-left" style="max-width:none !important;"><span am-time-ago="notification.updatedAt"></span></span></div>\n                        </div>\n                      </div>\n                      <div>\n                        <span class="message">{{\'APPLICATION_FROM\' | translate}}: <span class="span-link" data-ng-click="openContact(\'mail\',notification.accountid,notification.from)">{{notification.from}}</span></span>\n                      </div>\n                    </a>\n                  </li>\n                </ul>\n              </li>\n            </ul>\n          </li>\n          <li data ng-if="license.chat" class="dropdown dropdown-extended dropdown-notification" id="header_chat_notification_bar" data-ng-click="agentNotifications.chat.new = 0;">\n            <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n              <i class="icon-bubble"></i>\n              <span class="badge badge-default" data-ng-if="agentNotifications.chat.new">\n                {{agentNotifications.chat.new}} </span>\n              </a>\n              <ul class="dropdown-menu">\n                <li class="external">\n                  <h3><span class="bold">{{\'APPLICATION_LAST_CHAT_NOTIFICATIONS\' | translate}}</span></h3>\n                </li>\n                <li>\n                  \x3c!-- BEGIN UI-GRID SPINNER --\x3e\n                  <span us-spinner spinner-key="chat-spinner-grid" data-ng-if="busyLoad.chat.busy" spinner-start-active="true"></span>\n                  \x3c!-- END UI-GRID SPINNER --\x3e\n                  <ul class="dropdown-menu-list scrollable-menu" style="height: 250px;" data-handle-color="#637283" infinite-scroll="loadNotifications(\'chat\')" can-load=\'!busyLoad.chat.busy\' treshold="261">\n                    <li data-ng-repeat="notification in agentNotifications.chat.rows">\n                      <a href="javascript:;" style="cursor:default;">\n                        <div class="row">\n                          <div class="col-md-1">\n                            <img src="assets/images/media/website.png" style="width:25px;height:25px;" alt="">\n                          </div>\n                          <div class="col-md-10">\n                            <div>{{\'APPLICATION_NEW_CHAT_REQUEST\' | translate}}<span data-ng-if="notification.status && notification.status !== \'none\'" class="badge float-right" data-ng-class="{\'badge-success pointer-cursor\':notification.status === \'taken\',\'badge-danger\':notification.status === \'lost\',\'badge-warning\':notification.status === \'rejected\'}" data-ng-click="notification.status === \'taken\' && openRoom(notification.roomid, \'chatRoom\')">{{\'APPLICATION_CHAT_\'+notification.status.toUpperCase() | translate}} <i data-ng-if="notification.status === \'taken\'" class="fa fa-envelope"></i></span></div>\n                            <div><span class="time float-left" style="max-width:none !important;"><span am-time-ago="notification.updatedAt"></span></span></div>\n                          </div>\n                        </div>\n                        <div>\n                          <span class="message">{{\'APPLICATION_FROM\' | translate}}: <span class="span-link" data-ng-click="openContact(\'chat\',notification.websiteid,notification.visitoremail)">{{notification.visitoremail}}</span></span>\n                        </div>\n                      </a>\n                    </li>\n                  </ul>\n                </li>\n              </ul>\n            </li>\n            <li data ng-if="license.fax" class="dropdown dropdown-extended dropdown-notification" id="header_fax_notification_bar" data-ng-click="agentNotifications.fax.new = 0;">\n              <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n                <i class="fa fa-fax"></i>\n                <span class="badge badge-default" data-ng-if="agentNotifications.fax.new">\n                  {{agentNotifications.fax.new}} </span>\n                </a>\n                <ul class="dropdown-menu">\n                  <li class="external">\n                    <h3><span class="bold">{{\'APPLICATION_LAST_FAX_NOTIFICATIONS\' | translate}}</span></h3>\n                  </li>\n                  <li>\n                    \x3c!-- BEGIN UI-GRID SPINNER --\x3e\n                    <span us-spinner spinner-key="fax-spinner-grid" data-ng-if="busyLoad.fax.busy" spinner-start-active="true"></span>\n                    \x3c!-- END UI-GRID SPINNER --\x3e\n                    <ul class="dropdown-menu-list scrollable-menu" style="height: 250px;" data-handle-color="#637283" infinite-scroll="loadNotifications(\'fax\')" can-load=\'!busyLoad.fax.busy\' treshold="261">\n                      <li data-ng-repeat="notification in agentNotifications.fax.rows">\n                        <a href="javascript:;" style="cursor:default;">\n                          <div class="row">\n                            <div class="col-md-1">\n                              <img src="assets/images/media/fax.png" style="width:25px;height:25px;" alt="">\n                            </div>\n                            <div class="col-md-10">\n                              <div>{{\'APPLICATION_NEW_FAX_REQUEST\' | translate}}<span data-ng-if="notification.status && notification.status !== \'none\'" class="badge float-right" data-ng-class="{\'badge-success pointer-cursor\':notification.status === \'taken\',\'badge-danger\':notification.status === \'lost\',\'badge-warning\':notification.status === \'rejected\'}" data-ng-click="notification.status === \'taken\' && openRoom(notification.roomid, \'faxRoom\')">{{\'APPLICATION_FAX_\'+notification.status.toUpperCase() | translate}} <i data-ng-if="notification.status === \'taken\'" class="fa fa-envelope"></i></span></div>\n                              <div><span class="time float-left" style="max-width:none !important;"><span am-time-ago="notification.updatedAt"></span></span></div>\n                            </div>\n                          </div>\n                          <div>\n                            <span class="message">{{\'APPLICATION_FROM\' | translate}}: <span class="span-link" data-ng-click="openContact(\'fax\',notification.accountid,notification.from)">{{notification.from}}</span></span>\n                          </div>\n                        </a>\n                      </li>\n                    </ul>\n                  </li>\n                </ul>\n              </li>\n              <li data ng-if="license.messaging" class="dropdown dropdown-extended dropdown-notification" id="header_sms_notification_bar" data-ng-click="agentNotifications.sms.new = 0;">\n                <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n                  <i class="glyphicon glyphicon-comment"></i>\n                  <span class="badge badge-default" data-ng-if="agentNotifications.sms.new">\n                    {{agentNotifications.sms.new}} </span>\n                  </a>\n                  <ul class="dropdown-menu">\n                    <li class="external">\n                      <h3><span class="bold">{{\'APPLICATION_LAST_SMS_NOTIFICATIONS\' | translate}}</span></h3>\n                    </li>\n                    <li>\n                      \x3c!-- BEGIN UI-GRID SPINNER --\x3e\n                      <span us-spinner spinner-key="sms-spinner-grid" data-ng-if="busyLoad.sms.busy" spinner-start-active="true"></span>\n                      \x3c!-- END UI-GRID SPINNER --\x3e\n                      <ul class="dropdown-menu-list scrollable-menu" style="height: 250px;" data-handle-color="#637283" infinite-scroll="loadNotifications(\'sms\')" can-load=\'!busyLoad.sms.busy\' treshold="261">\n                        <li data-ng-repeat="notification in agentNotifications.sms.rows">\n                          <a href="javascript:;" style="cursor:default;">\n                            <div class="row">\n                              <div class="col-md-1">\n                                <img src="assets/images/media/sms.png" style="width:25px;height:25px;" alt="">\n                              </div>\n                              <div class="col-md-10">\n                                <div>{{\'APPLICATION_NEW_SMS_REQUEST\' | translate}}<span data-ng-if="notification.status && notification.status !== \'none\'" class="badge float-right" data-ng-class="{\'badge-success pointer-cursor\':notification.status === \'taken\',\'badge-danger\':notification.status === \'lost\',\'badge-warning\':notification.status === \'rejected\'}" data-ng-click="notification.status === \'taken\' && openRoom(notification.roomid, \'smsRoom\')">{{\'APPLICATION_SMS_\'+notification.status.toUpperCase() | translate}} <i data-ng-if="notification.status === \'taken\'" class="fa fa-envelope"></i></span></div>\n                                <div><span class="time float-left" style="max-width:none !important;"><span am-time-ago="notification.updatedAt"></span></span></div>\n                              </div>\n                            </div>\n                            <div>\n                              <span class="message">{{\'APPLICATION_FROM\' | translate}}: <span class="span-link" data-ng-click="openContact(\'sms\',notification.accountid,notification.from)">{{notification.from}}</span></span>\n                            </div>\n                          </a>\n                        </li>\n                      </ul>\n                    </li>\n                  </ul>\n                </li>\n                <li data ng-if="license.openchannel" class="dropdown dropdown-extended dropdown-notification" id="header_openchannel_notification_bar" data-ng-click="agentNotifications.openchannel.new = 0;">\n                  <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n                    <i class="icon-globe"></i>\n                    <span class="badge badge-default" data-ng-if="agentNotifications.openchannel.new">\n                      {{agentNotifications.openchannel.new}} </span>\n                    </a>\n                    <ul class="dropdown-menu">\n                      <li class="external">\n                        <h3><span class="bold">{{\'APPLICATION_LAST_OPENCHANNEL_NOTIFICATIONS\' | translate}}</span></h3>\n                      </li>\n                      <li>\n                        \x3c!-- BEGIN UI-GRID SPINNER --\x3e\n                        <span us-spinner spinner-key="openchannel-spinner-grid" data-ng-if="busyLoad.openchannel.busy" spinner-start-active="true"></span>\n                        \x3c!-- END UI-GRID SPINNER --\x3e\n                        <ul class="dropdown-menu-list scrollable-menu" style="height: 250px;" data-handle-color="#637283" infinite-scroll="loadNotifications(\'openchannel\')" can-load=\'!busyLoad.openchannel.busy\' treshold="261">\n                          <li data-ng-repeat="notification in agentNotifications.openchannel.rows">\n                            <a href="javascript:;" style="cursor:default;">\n                              <div class="row">\n                                <div class="col-md-1">\n                                  <img src="assets/images/media/openchannel.png" style="width:25px;height:25px;" alt="">\n                                </div>\n                                <div class="col-md-10">\n'+"                                  <div>{{'APPLICATION_NEW_OPENCHANNEL_REQUEST' | translate}}<span data-ng-if=\"notification.status && notification.status !== 'none'\" class=\"badge float-right\" data-ng-class=\"{'badge-success pointer-cursor':notification.status === 'taken','badge-danger':notification.status === 'lost','badge-warning':notification.status === 'rejected'}\" data-ng-click=\"notification.status === 'taken' && openRoom(notification.roomid, 'openchannelRoom')\">{{'APPLICATION_OPENCHANNEL_'+notification.status.toUpperCase() | translate}} <i data-ng-if=\"notification.status === 'taken'\" class=\"fa fa-envelope\"></i></span></div>\n                                  <div><span class=\"time float-left\" style=\"max-width:none !important;\"><span am-time-ago=\"notification.updatedAt\"></span></span></div>\n                                </div>\n                              </div>\n                              \x3c!-- <div>\n                              <span class=\"message\">{{'APPLICATION_FROM' | translate}}: <span class=\"span-link\" data-ng-click=\"openContact('openchannel',notification.accountid,notification.from)\">{{notification.from}}</span></span>\n                            </div> --\x3e\n                          </a>\n                        </li>\n                      </ul>\n                    </li>\n                  </ul>\n                </li>\n              </ul>\n            </div>\n            \x3c!-- END TOP NAVIGATION MENU --\x3e\n          </div>\n          \x3c!-- END HEADER INNER --\x3e\n"),
+a.put("components/sidebar/sidebar.html",'<div id="page-sidebar" class="page-sidebar navbar-collapse collapse" data-ng-init="initSidebar()">\n  \x3c!-- BEGIN SIDEBAR MENU --\x3e\n  \x3c!-- DOC: Apply "page-sidebar-menu-light" class right after "page-sidebar-menu" to enable light sidebar menu style(without borders) --\x3e\n  \x3c!-- DOC: Apply "page-sidebar-menu-hover-submenu" class right after "page-sidebar-menu" to enable hoverable(hover vs accordion) sub menu mode --\x3e\n  \x3c!-- DOC: Apply "page-sidebar-menu-closed" class right after "page-sidebar-menu" to collapse("page-sidebar-closed" class must be applied to the body element) the sidebar sub menu mode --\x3e\n  \x3c!-- DOC: Set data-auto-scroll="false" to disable the sidebar from auto scrolling/focusing --\x3e\n  \x3c!-- DOC: Set data-keep-expand="true" to keep the submenues expanded --\x3e\n  \x3c!-- DOC: Set data-auto-speed="200" to adjust the sub menu slide up/down speed --\x3e\n  <ul data-ng-click="mainTab.active=true" class="page-sidebar-menu" data-keep-expanded="false" data-auto-scroll="true" data-slide-speed="200" data-ng-class="{\'page-sidebar-menu-closed\': settings.layout.pageSidebarClosed}" data-ng-init="getSidebarIntegrations()">\n    \x3c!-- DOC: To remove the search box from the sidebar you just need to completely remove the below "sidebar-search-wrapper" LI element --\x3e\n    <li class="sidebar-search-wrapper">\n      \x3c!-- BEGIN RESPONSIVE QUICK SEARCH FORM --\x3e\n      \x3c!-- DOC: Apply "sidebar-search-bordered" class the below search form to have bordered search box --\x3e\n      \x3c!-- DOC: Apply "sidebar-search-bordered sidebar-search-solid" class the below search form to have bordered & solid search box --\x3e\n      <form class="sidebar-search sidebar-search-bordered" action="extra_search.html" method="POST">\n        <a href="javascript:;" class="remove">\n          <i class="icon-close"></i>\n        </a>\n      </form>\n      \x3c!-- END RESPONSIVE QUICK SEARCH FORM --\x3e\n    </li>\n\n    \x3c!-- START DASHBOARD CASE --\x3e\n    <li class="start" data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[1])" data-ng-class="{active: $state.includes(\'main.dashboard\')}">\n      <a href="/dashboard/voice">\n        <i class="icon-rocket"></i>\n        <span class="title">{{\'APPLICATION_DASHBOARD\' | translate}}</span>\n        <span data-ng-if="$state.includes(\'main.dashboard\')" class="selected"></span>\n      </a>\n    </li>\n    \x3c!-- END DASHBOARD CASE --\x3e\n\n    \x3c!-- START YOURDASHBOARD LIST CASE --\x3e\n    <li data-ng-if="::(!Auth.isUser() || userModules[2])" data-ng-class="{active: $state.is(\'main.tools.yourdashboards.show\')}">\n      <a href="javascript:;">\n        <i class="fa fa-tachometer"></i>\n        <span class="title" >{{\'APPLICATION_YOUR_DASHBOARDS\' | translate}}</span>\n        <span class="arrow" data-ng-class="{ open: $state.includes(\'main.tools.yourdashboards.show\') }"></span>\n      </a>\n      <ul class="sub-menu" data-ng-init="getSidebarDashboards()">\n        <li data-ng-class="{active: $stateParams.id == dashboard.id && $state.includes(\'main.tools.yourdashboards.show\')}" data-ng-repeat="dashboard in dashboards" data-ng-if="dashboard[Auth.getRole()]">\n          <a href="/tools/yourdashboards/show/{{dashboard.id}}" >\n            <i class="icon-screen-desktop"></i>\n            <span class="title" >{{dashboard.name}}  </span>\n          </a>\n        </li>\n      </ul>\n    </li>\n    \x3c!-- END YOURDASHBOARD LIST CASE --\x3e\n\n    \x3c!-- START STAFF LIST CASE --\x3e\n    <li data-ng-class="{active: $state.includes(\'main.staff\')}">\n      <a href="javascript:;" data-ng-if="::(Auth.isAdmin() || userModules[3])">\n        <i class="icon-puzzle"></i>\n        <span class="title" >{{\'APPLICATION_STAFF\' | translate}}</span>\n        <span class="arrow" data-ng-class="{open: $state.includes(\'main.staff\')}"></span>\n      </a>\n      <ul class="sub-menu">\n        \x3c!-- START USERS CASE --\x3e\n        <li data-ng-if="::(Auth.isAdmin())" data-ng-class="{active: $state.includes(\'main.staff.users\')}">\n          <a href="/staff/users/list">\n            <i class="icon-eye"></i>\n            <span class="title" >{{\'APPLICATION_USERS\' | translate}}</span>\n            <span data-ng-if="$state.includes(\'main.staff.users\')" class="selected"></span>\n          </a>\n        </li>\n        \x3c!-- END USERS CASE --\x3e\n\n        \x3c!-- START AGENTS CASE --\x3e\n        <li data-ng-if="::(Auth.isAdmin() || userModules[4])" data-ng-class="{active: $state.includes(\'main.staff.agents\')}">\n          <a href="/staff/agents/list">\n            <i class="icon-people"></i>\n            <span class="title" >{{\'APPLICATION_AGENTS\' | translate}}</span>\n            <span data-ng-if="$state.includes(\'main.staff.agents\')" class="selected"></span>\n          </a>\n        </li>\n        \x3c!-- END AGENTS CASE --\x3e\n\n        \x3c!-- START TELEPHONES CASE --\x3e\n        <li data-ng-if="::(Auth.isAdmin())" data-ng-class="{active: $state.includes(\'main.staff.telephones\')}">\n          <a href="/staff/telephones/list">\n            <i class="icon-phone"></i>\n            <span class="title" >{{\'APPLICATION_TELEPHONES\' | translate}}</span>\n            <span data-ng-if="$state.includes(\'main.staff.telephones\')" class="selected"></span>\n          </a>\n        </li>\n        \x3c!-- END TELEPHONES CASE --\x3e\n\n        \x3c!-- START TEAMS CASE --\x3e\n        <li data-ng-if="::(Auth.isAdmin())" data-ng-class="{active: $state.includes(\'main.staff.teams\')}">\n          <a href="/staff/teams/list">\n            <i class="icon-shield"></i>\n            <span class="title" >{{\'APPLICATION_TEAMS\' | translate}}</span>\n            <span data-ng-if="$state.includes(\'main.staff.teams\')" class="selected"></span>\n          </a>\n        </li>\n        \x3c!-- END TEAMS CASE --\x3e\n      </ul>\n    </li>\n    \x3c!-- END STAFF LIST CASE --\x3e\n\n    \x3c!-- START CONTACT MANAGER LIST CASE --\x3e\n    <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[5])" data-ng-class="{active: $state.includes(\'main.contactmanager\')}">\n      <a href="javascript:;" data-ng-class="{\'disabled-link\':!license.cm}">\n        <i class="icon-notebook"></i>\n        <span class="title disable-target" >{{\'APPLICATION_CONTACT_MANAGER\' | translate}}</span>\n        <span class="arrow" data-ng-class="{ open: $state.includes(\'main.contactmanager.contacts\')\n        || $state.includes(\'main.contactmanager.companies\')\n        || $state.includes(\'main.contactmanager.lists\') || $state.includes(\'main.contactmanager.customfields\') }"></span>\n      </a>\n      <ul class="sub-menu" data-ng-if="license.cm">\n        \x3c!-- START CONTACTS CASE --\x3e\n        <li data-ng-class="{active: $state.includes(\'main.contactmanager.contacts\')}">\n          <a href="/contactmanager/contacts/list">\n            <i class=" fa fa-users"></i>\n            <span class="title" >{{\'APPLICATION_CONTACTS\' | translate}}</span>\n            <span data-ng-if="$state.includes(\'main.contactmanager.contacts\')" class="selected"></span>\n          </a>\n        </li>\n        \x3c!-- END CONTACTS CASE --\x3e\n        \x3c!-- START COMPANIES CASE --\x3e\n        <li data-ng-class="{active: $state.includes(\'main.contactmanager.companies\')}" data-ng-if="::(Auth.isAdmin() || Auth.isUser())">\n          <a href="/contactmanager/companies/list">\n            <i class="icon-briefcase"></i>\n            <span class="title" >{{\'APPLICATION_COMPANIES\' | translate}}</span>\n            <span data-ng-if="$state.includes(\'main.contactmanager.companies\')" class="selected"></span>\n          </a>\n        </li>\n        \x3c!-- END COMPANIES CASE --\x3e\n        \x3c!-- START LISTS CASE --\x3e\n        <li data-ng-class="{active: $state.includes(\'main.contactmanager.lists\')}" data-ng-if="::(Auth.isAdmin() || Auth.isUser())">\n          <a href="/contactmanager/lists/list">\n            <i class="fa fa-list-ul"></i>\n            <span class="title" >{{\'APPLICATION_LISTS\' | translate}}</span>\n            <span data-ng-if="$state.includes(\'main.contactmanager.lists\')" class="selected"></span>\n          </a>\n        </li>\n        \x3c!-- END LISTS CASE --\x3e\n        \x3c!-- START CUSTOM_FIELDS CASE --\x3e\n        <li data-ng-class="{active: $state.includes(\'main.contactmanager.customfields\')}" data-ng-if="::(Auth.isAdmin() || Auth.isUser())">\n          <a href="/contactmanager/customfields/list">\n            <i class="icon-pencil"></i>\n            <span class="title" >{{\'APPLICATION_CUSTOM_FIELDS\' | translate}}</span>\n            <span data-ng-if="$state.includes(\'main.contactmanager.customfields\')" class="selected"></span>\n          </a>\n        </li>\n        \x3c!-- END CUSTOM_FIELDS CASE --\x3e\n      </ul>\n    </li>\n    \x3c!-- END CONTACT MANAGER LIST CASE --\x3e\n\n    \x3c!-- START CHANNEL LIST CASE --\x3e\n    <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[6])" data-ng-class="{active: $state.includes(\'main.channels\')}">\n      <a href="javascript:;">\n        <i class="fa fa-spinner"></i>\n        <span class="title" >{{\'APPLICATION_CHANNELS\' | translate}}</span>\n        <span class="arrow" data-ng-class="{open: $state.includes(\'main.channels\')}"></span>\n      </a>\n      <ul class="sub-menu">\n        \x3c!-- START VOICE CASE --\x3e\n        <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[7])" data-ng-class="{ active: $state.includes(\'main.channels.voice\') }">\n          <a href="javascript:;">\n            <i class="icon-earphones-alt"></i>\n            <span class="title">{{ \'APPLICATION_VOICE\' | translate}}</span>\n            <span class="arrow" data-ng-class="{ open: $state.includes(\'main.channels.voice\') }"></span>\n          </a>\n\n          <ul class="sub-menu">\n            <li data-ng-if="::(Auth.isAdmin())" data-ng-class="{active: $state.includes(\'main.channels.voice.queues\')}">\n              <a href="/channels/voice/queues/list">\n                <i class="icon-docs"></i>\n                <span class="title">{{\'APPLICATION_QUEUES\' | translate}}</span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || userModules[21])">\n              <a href="javascript:;">\n                <i class="icon-directions"></i>\n                <span class="title"> {{ \'APPLICATION_ROUTES\' | translate}} </span>\n                <span class="arrow" data-ng-class="{ open: $state.includes(\'main.channels.voice.routes\') }"></span>\n                <ul class="sub-menu">\n                  <li data-ng-class="{active: $state.includes(\'main.channels.voice.routes.inbound\')}">\n                    <a href="/channels/voice/routes/inbound/list">\n                      <i class="icon-call-in"></i>\n                      <span class="title"> {{\'APPLICATION_INBOUND\' | translate}} </span>\n                    </a>\n                  </li>\n                  <li data-ng-class="{active: $state.includes(\'main.channels.voice.routes.outbound\')}">\n                    <a href="/channels/voice/routes/outbound/list">\n                      <i class="icon-call-out"></i>\n                      <span class="title"> {{\'APPLICATION_OUTBOUND\' | translate}} </span>\n                    </a>\n                  </li>\n                  <li data-ng-class="{active: $state.includes(\'main.channels.voice.routes.internal\')}">\n                    <a href="/channels/voice/routes/internal/list">\n                      <i class="icon-reload"></i>\n                      <span class="title"> {{\'APPLICATION_INTERNALS\' | translate}} </span>\n                    </a>\n                  </li>\n                </ul>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || userModules[22])" data-ng-class="{active: $state.includes(\'main.channels.voice.contexts\')}">\n              <a href="/channels/voice/contexts/list">\n                <i class="icon-docs"></i>\n                <span class="title"> {{\'APPLICATION_CONTEXTS\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || userModules[23])" data-ng-class="{active: $state.includes(\'main.channels.voice.voicemails\')}">\n              <a href="/channels/voice/voicemails/list">\n                <i class="icon-envelope-letter"></i>\n                <span class="title"> {{\'APPLICATION_VOICEMAILS\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || userModules[24])" data-ng-class="{active: $state.includes(\'main.channels.voice.mohs\')}">\n              <a href="/channels/voice/mohs/list">\n                <i class="icon-music-tone"></i>\n                <span class="title"> {{\'APPLICATION_MOH\' | translate}} </span>\n              </a>\n            </li>\n            \x3c!-- START RECORDING CASE --\x3e\n            <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[25])" data-ng-class="{active: $state.includes(\'main.channels.voice.recordings\')}">\n              <a href="/channels/voice/recordings/list">\n                <i class="icon-control-play"></i>\n                <span class="title">{{\'APPLICATION_RECORDINGS\' | translate}}</span>\n              </a>\n            </li>\n            \x3c!-- END RECORDING CASE --\x3e\n            \x3c!-- START REALTIME CASE --\x3e\n            <li data-ng-if="::(Auth.isAdmin() || userModules[26])" data-ng-class="{active: $state.includes(\'main.channels.voice.realtime\')}">\n              <a href="/channels/voice/realtime/view/agents">\n                <i class="icon-energy"></i>\n                <span class="title">{{\'APPLICATION_REALTIME\' | translate}}</span>\n              </a>\n            </li>\n            \x3c!-- END REALTIME CASE --\x3e\n            \x3c!-- START CHANSPY CASE --\x3e\n            <li data-ng-if="::(Auth.isAdmin() || userModules[27])" data-ng-class="{active: $state.includes(\'main.channels.voice.chanspy\')}">\n              <a href="/channels/voice/chanspy/list">\n                <i class="fa fa-user-secret"></i>\n                <span class="title" >{{\'APPLICATION_CHANSPY\' | translate}}</span>\n                \x3c!-- <span data-ng-if="$state.includes(\'main.chanspy\')" class="selected"></span> --\x3e\n              </a>\n            </li>\n            \x3c!-- END CHANSPY CASE --\x3e\n            \x3c!-- START CHANSPY CASE --\x3e\n            <li data-ng-if="::(Auth.isAdmin() || userModules[28])" data-ng-class="{active: $state.includes(\'main.channels.voice.dispositions\')}">\n              <a href="/channels/voice/dispositions/list">\n                <i class="icon-target"></i>\n                <span class="title" >{{\'APPLICATION_DISPOSITIONS\' | translate}}</span>\n              </a>\n            </li>\n            \x3c!-- END CHANSPY CASE --\x3e\n          </ul>\n        </li>\n        \x3c!-- END VOICE CASE --\x3e\n\n        \x3c!-- START CHAT CASE --\x3e\n        <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[8])" data-ng-class="{active: $state.includes(\'main.channels.chat\')}">\n          <a href="javascript:;" data-ng-class="{\'disabled-link\':!license.chat}">\n            <i class="icon-bubble"></i>\n            <span class="title disable-target">{{\'APPLICATION_CHAT\' | translate}}</span>\n            <span class="arrow" data-ng-class="{open: $state.includes(\'main.channels.chat\')}"></span>\n          </a>\n          <ul class="sub-menu" data-ng-if="license.chat">\n            <li data-ng-if="::(Auth.isAdmin() || userModules[29])" data-ng-class="{active: $state.includes(\'main.channels.chat.websites\')}">\n              <a href="/channels/chat/websites/list">\n                <i class="icon-globe"></i>\n                <span class="title"> {{\'APPLICATION_WEB_SITES\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || userModules[30])" data-ng-class="{active: $state.includes(\'main.channels.chat.queues\')}">\n              <a href="/channels/chat/queues/list">\n                <i class="icon-docs"></i>\n                <span class="title"> {{\'APPLICATION_QUEUES\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[31])" data-ng-class="{active: $state.includes(\'main.channels.chat.room\')}">\n              <a href="/channels/chat/room/internal/list">\n                <i class="fa fa-users"></i>\n                <span class="title"> {{\'APPLICATION_INTERACTIONS\' | translate}} </span>\n              </a>\n            </li>\n            \x3c!-- <li data-ng-if="::(Auth.isAdmin() || userModules[8])" data-ng-class="{active: $state.includes(\'main.channels.chat.online\')}">\n              <a href="/channels/chat/online/list">\n                <i class="icon-login"></i>\n                <span class="title"> {{\'APPLICATION_ONLINE_MESSAGES\' | translate}} </span>\n              </a>\n            </li> --\x3e\n            <li data-ng-if="::(Auth.isAdmin() || userModules[32])" data-ng-class="{active: $state.includes(\'main.channels.chat.offline\')}">\n              <a href="/channels/chat/offline/list">\n                <i class="icon-logout"></i>\n                <span class="title"> {{\'APPLICATION_OFFLINE_MESSAGES\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || userModules[33])" data-ng-class="{active: $state.includes(\'main.channels.chat.realtime\')}">\n              <a href="/channels/chat/realtime/view/agents">\n                <i class="icon-energy"></i>\n                <span class="title">{{\'APPLICATION_REALTIME\' | translate}}</span>\n              </a>\n            </li>\n          </ul>\n        </li>\n        \x3c!-- END CHAT CASE --\x3e\n\n        \x3c!-- START MAIL CASE --\x3e\n        <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[9])" data-ng-class="{active: $state.includes(\'main.channels.mail\')}" >\n          <a href="javascript:;" data-ng-class="{\'disabled-link\':!license.mail}">\n            <i class="icon-envelope"></i>\n            <span class="title disable-target">{{\'APPLICATION_MAIL\' | translate}}</span>\n            <span class="arrow" data-ng-class="{ open: $state.includes(\'main.channels.mail\') }"></span>\n          </a>\n\n          <ul class="sub-menu" data-ng-if="license.mail">\n            <li data-ng-if="::(Auth.isAdmin() || userModules[34])" data-ng-class="{active: $state.includes(\'main.channels.mail.accounts\') || $state.includes(\'main.channels.mail.account\')}">\n              <a href="/channels/mail/accounts/list">\n                <i class="icon-notebook"></i>\n                <span class="title"> {{\'APPLICATION_ACCOUNTS\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || userModules[35])" data-ng-class="{active: $state.includes(\'main.channels.mail.queues\') || $state.includes(\'main.channels.mail.queue\')}">\n              <a href="/channels/mail/queues/list">\n                <i class="icon-docs"></i>\n                <span class="title"> {{\'APPLICATION_QUEUES\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[36])" data-ng-class="{active: $state.includes(\'main.channels.mail.inbox\')}">\n              <a href="/channels/mail/inbox/view">\n                <i class="icon-note"></i>\n                <span class="title"> {{\'APPLICATION_INBOX\' | translate}} </span>\n              </a>\n            </li>\n            \x3c!-- START REALTIME CASE --\x3e\n            <li data-ng-if="::(Auth.isAdmin() || userModules[37])" data-ng-class="{active: $state.includes(\'main.channels.mail.realtime\')}">\n              <a href="/channels/mail/realtime/view/agents">\n                <i class="icon-energy"></i>\n                <span class="title">{{\'APPLICATION_REALTIME\' | translate}}</span>\n              </a>\n            </li>\n            \x3c!-- END REALTIME CASE --\x3e\n          </ul>\n        </li>\n        \x3c!-- END MAIL CASE --\x3e\n\n        \x3c!-- START FAX CASE --\x3e\n        <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[10])" data-ng-class="{active: $state.includes(\'main.channels.fax\')}">\n          <a href="javascript:;" data-ng-class="{\'disabled-link\':!license.fax}">\n            <i class="fa fa-fax"></i>\n            <span class="title disable-target"> {{ \'APPLICATION_FAX\' | translate}}</span>\n            <span class="arrow" data-ng-class="{ open: $state.includes(\'main.channels.fax\') }"></span>\n          </a>\n          <ul class="sub-menu" data-ng-if="license.fax">\n            <li data-ng-if="::(Auth.isAdmin() || userModules[38])" data-ng-class="{active: $state.includes(\'main.channels.fax.accounts\')}">\n              <a href="/channels/fax/accounts/list">\n                <i class="icon-notebook"></i>\n                <span class="title"> {{ \'APPLICATION_ACCOUNTS\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || userModules[39])" data-ng-class="{active: $state.includes(\'main.channels.fax.queues\')}">\n              <a href="/channels/fax/queues/list">\n                <i class="icon-docs"></i>\n                <span class="title"> {{ \'APPLICATION_QUEUES\' | translate }} </span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[40])" data-ng-class="{active: $state.includes(\'main.channels.fax.inbox\')}">\n              <a href="/channels/fax/inbox/view">\n                <i class="icon-note"></i>\n                <span class="title"> {{ \'APPLICATION_INBOX\' | translate }} </span>\n              </a>\n            </li>\n            \x3c!-- START REALTIME CASE --\x3e\n            <li data-ng-if="::(Auth.isAdmin() || userModules[41])" data-ng-class="{active: $state.includes(\'main.channels.fax.realtime\')}">\n              <a href="/channels/fax/realtime/view/agents">\n                <i class="icon-energy"></i>\n                <span class="title">{{\'APPLICATION_REALTIME\' | translate}}</span>\n              </a>\n            </li>\n            \x3c!-- END REALTIME CASE --\x3e\n          </ul>\n        </li>\n        \x3c!-- END FAX CASE --\x3e\n\n        \x3c!-- START SMS CASE --\x3e\n        <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[11])" data-ng-class="{active: $state.includes(\'main.channels.sms\')}">\n          <a href="javascript:;" data-ng-class="{\'disabled-link\':!license.messaging}">\n            <i class="glyphicon glyphicon-comment"></i>\n            <span class="title disable-target">{{\'APPLICATION_SMS\' | translate}}</span>\n            <span class="arrow" data-ng-class="{ open: $state.includes(\'main.channels.sms\') }"></span>\n          </a>\n\n          <ul class="sub-menu" data-ng-if="license.messaging">\n            <li data-ng-if="::(Auth.isAdmin() || userModules[42])" data-ng-class="{active: $state.includes(\'main.channels.sms.accounts\') || $state.includes(\'main.channels.sms.account\')}">\n              <a href="/channels/sms/accounts/list">\n                <i class="icon-notebook"></i>\n                <span class="title"> {{\'APPLICATION_ACCOUNTS\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || userModules[43])" data-ng-class="{active: $state.includes(\'main.channels.sms.queues\') || $state.includes(\'main.channels.sms.queue\')}">\n              <a href="/channels/sms/queues/list">\n                <i class="icon-docs"></i>\n                <span class="title"> {{\'APPLICATION_QUEUES\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[44])" data-ng-class="{active: $state.includes(\'main.channels.sms.inbox\')}">\n              <a href="/channels/sms/inbox/view">\n                <i class="icon-note"></i>\n                <span class="title"> {{\'APPLICATION_INBOX\' | translate}} </span>\n              </a>\n            </li>\n            \x3c!-- START REALTIME CASE --\x3e\n            <li data-ng-if="::(Auth.isAdmin() ||  userModules[45])"  data-ng-class="{active: $state.includes(\'main.channels.sms.realtime\')}">\n              <a href="/channels/sms/realtime/view/agents">\n                <i class="icon-energy"></i>\n                <span class="title">{{\'APPLICATION_REALTIME\' | translate}}</span>\n              </a>\n            </li>\n            \x3c!-- END REALTIME CASE --\x3e\n          </ul>\n        </li>\n\n        \x3c!-- END SMS CASE --\x3e\n\n        \x3c!-- START OPENCHANNEL CASE --\x3e\n        <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent()|| userModules[20])" data-ng-class="{active: $state.includes(\'main.channels.openchannel\')}">\n          <a href="javascript:;" data-ng-class="{\'disabled-link\':!license.openchannel}" >\n            <i class="icon-globe"></i>\n            <span class="title disable-target">{{\'APPLICATION_OPEN_CHANNEL\' | translate}}</span>\n            <span class="arrow" data-ng-class="{ open: $state.includes(\'main.channels.openchannel\') }"></span>\n          </a>\n          <ul class="sub-menu" data-ng-if="license.openchannel" >\n            <li data-ng-if="::(Auth.isAdmin()|| userModules[46])" data-ng-class="{active: $state.includes(\'main.channels.openchannel.accounts\') || $state.includes(\'main.channels.openchannel.account\')}">\n              <a href="/channels/openchannel/accounts/list">\n                <i class="icon-notebook"></i>\n                <span class="title"> {{\'APPLICATION_ACCOUNTS\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin()|| userModules[47])" data-ng-class="{active: $state.includes(\'main.channels.openchannel.queues\') || $state.includes(\'main.channels.openchannel.queue\')}">\n              <a href="/channels/openchannel/queues/list">\n                <i class="icon-docs"></i>\n                <span class="title"> {{\'APPLICATION_QUEUES\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent()|| userModules[48])" data-ng-class="{active: $state.includes(\'main.channels.openchannel.inbox\')}">\n              <a href="/channels/openchannel/inbox/view">\n                <i class="icon-note"></i>\n                <span class="title"> {{\'APPLICATION_INBOX\' | translate}} </span>\n              </a>\n            </li>\n            \x3c!-- START REALTIME CASE --\x3e\n            <li data-ng-if="::(Auth.isAdmin() ||  userModules[49])"  data-ng-class="{active: $state.includes(\'main.channels.openchannel.realtime\')}">\n              <a href="/channels/openchannel/realtime/view/agents">\n                <i class="icon-energy"></i>\n                <span class="title">{{\'APPLICATION_REALTIME\' | translate}}</span>\n              </a>\n            </li>\n            \x3c!-- END REALTIME CASE --\x3e\n          </ul>\n        </li>\n\n        \x3c!-- END OPENCHANNEL CASE --\x3e\n        \x3c!-- START REALTIME CASE --\x3e\n        <li data-ng-if="::(Auth.isAdmin() || userModules[12])" data-ng-class="{active: $state.includes(\'main.channels.realtime\')}">\n          <a href="/channels/realtime/view/agents">\n            <i class="icon-energy"></i>\n            <span class="title">{{\'APPLICATION_OMNI_REALTIME\' | translate}}</span>\n          </a>\n        </li>\n        \x3c!-- END REALTIME CASE --\x3e\n      </ul>\n    </li>\n    \x3c!-- END CHANNEL LIST CASE --\x3e\n\n    \x3c!-- START TOOLS LIST CASE --\x3e\n    <li data-ng-if="::(Auth.isAdmin() || userModules[13])" data-ng-class="{active: $state.includes(\'main.tools\') && !$state.is(\'main.tools.yourdashboards.show\')}">\n      <a href="javascript:;">\n        <i class="icon-wrench"></i>\n        <span class="title" >{{\'APPLICATION_TOOLS\' | translate}}</span>\n        <span class="arrow" data-ng-class="{ open: $state.includes(\'main.tools\') && !$state.is(\'main.tools.yourdashboards.show\')}"></span>\n      </a>\n      <ul class="sub-menu">\n        <li data-ng-class="{active: $state.includes(\'main.tools.triggers\')}" data-ng-if="::(Auth.isAdmin() || userModules[50])">\n          <a href="/tools/triggers/list">\n            <i class="icon-bulb"></i>\n            <span class="title"> {{\'APPLICATION_TRIGGERS\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.tools.automations\')}" data-ng-if="::(Auth.isAdmin() || userModules[51])">\n          <a href="/tools/automations/list">\n            <i class="icon-settings"></i>\n            <span class="title"> {{\'APPLICATION_AUTOMATIONS\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.tools.trunks\')}" data-ng-if="::(Auth.isAdmin() || userModules[52])">\n          <a href="/tools/trunks/list">\n            <i class="icon-link"></i>\n            <span class="title"> {{\'APPLICATION_TRUNKS\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.tools.intervals\')}" data-ng-if="::(Auth.isAdmin() || userModules[53])">\n          <a href="/tools/intervals/list">\n            <i class="icon-clock"></i>\n            <span class="title"> {{\'APPLICATION_INTERVALS\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.tools.variables\')}" data-ng-if="::(Auth.isAdmin() || userModules[54])">\n          <a href="/tools/variables/list">\n            <i class="fa fa-eye"></i>\n            <span class="title" >{{\'APPLICATION_VARIABLES\' | translate}}  </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.tools.tags\')}" data-ng-if="::(Auth.isAdmin() || userModules[55])">\n          <a href="/tools/tags/list">\n            <i class="icon-tag"></i>\n            <span class="title" >{{\'APPLICATION_TAGS\' | translate}}  </span>\n          </a>\n        </li>\n        \x3c!-- START TEMPLATE CASE --\x3e\n        <li data-ng-class="{active: $state.includes(\'main.tools.templates\')}" data-ng-if="::(Auth.isAdmin() || userModules[56])">\n          <a href="/tools/templates/list">\n            <i class="icon-docs"></i>\n            <span class="title"> {{\'APPLICATION_TEMPLATES\' | translate}} </span>\n          </a>\n        </li>\n        \x3c!-- END TEMPLATE CASE --\x3e\n\n        \x3c!-- START PAUSE CASE --\x3e\n        <li data-ng-class="{active: $state.includes(\'main.tools.pauses\')}" data-ng-if="::(Auth.isAdmin() || userModules[57])">\n          <a href="/tools/pauses/list">\n            <i class="icon-control-pause"></i>\n            <span class="title"> {{\'APPLICATION_PAUSES\' | translate}} </span>\n          </a>\n        </li>\n        \x3c!-- END PAUSE CASE --\x3e\n\n        \x3c!-- START ANSWER CASE --\x3e\n        <li data-ng-class="{active: $state.includes(\'main.tools.answers\')}" data-ng-if="::(Auth.isAdmin() || userModules[58])">\n          <a href="/tools/answers/list">\n            <i class="icon-magic-wand"></i>\n            <span class="title"> {{\'APPLICATION_CANNED_ANSWERS\' | translate}} </span>\n          </a>\n        </li>\n        \x3c!-- END ANSWER CASE --\x3e\n\n        \x3c!-- START DASHBOARD MANAGER CASE --\x3e\n        <li data-ng-class="{active: $state.includes(\'main.tools.yourdashboards\') && !$state.is(\'main.tools.yourdashboards.show\')}" data-ng-if="::(Auth.isAdmin() || userModules[59])">\n          <a href="/tools/yourdashboards/list">\n            <i class="fa fa-tachometer"></i>\n            <span class="title"> {{\'APPLICATION_DASHBOARDS_MANAGER\' | translate}} </span>\n          </a>\n        </li>\n        \x3c!-- END DASHBOARD MANAGER CASE --\x3e\n\n        \x3c!-- START SOUND CASE --\x3e\n        <li data-ng-class="{active: $state.includes(\'main.tools.sounds\')}" data-ng-if="::(Auth.isAdmin() || userModules[60])">\n          <a href="/tools/sounds/list">\n            <i class="icon-music-tone-alt"></i>\n            <span class="title" >{{\'APPLICATION_SOUNDS\' | translate}}</span>\n            \x3c!-- <span data-ng-if="$state.includes(\'main.sounds\')" class="selected"></span> --\x3e\n          </a>\n        </li>\n        \x3c!-- END SOUND CASE --\x3e\n\n        \x3c!-- START SCHEDULE CASE --\x3e\n        <li data-ng-class="{active: $state.includes(\'main.tools.scheduler\')}" data-ng-if="::(Auth.isAdmin() || userModules[61])">\n          <a href="/tools/scheduler/list">\n            <i class="icon-calendar"></i>\n            <span class="title" >{{\'APPLICATION_SCHEDULER\' | translate}}</span>\n            \x3c!-- <span data-ng-if="$state.includes(\'main.sounds\')" class="selected"></span> --\x3e\n          </a>\n        </li>\n        \x3c!-- END SCHEDULE CASE --\x3e\n      </ul>\n    </li>\n    \x3c!-- END TOOLS LIST CASE --\x3e\n\n    \x3c!-- START CALLYSQUARE CASE --\x3e\n    <li data-ng-if="::(Auth.isAdmin() || userModules[14])" data-ng-class="{active: $state.includes(\'main.square\')}">\n      <a href="javascript:;">\n        <i class="fa fa-superscript"></i>\n        <span class="title" >Cally &#178;</span>\n        <span class="arrow"></span>\n      </a>\n      <ul class="sub-menu">\n        <li data-ng-class="{active: $state.includes(\'main.square.projects\')}">\n          <a href="/square/projects/list">\n            <i class="fa fa-slack"></i>\n            <span class="title" >{{\'APPLICATION_PROJECTS\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.square.odbc\')}">\n          <a href="/square/odbc/list">\n            <i class="fa fa-database"></i>\n            <span class="title" >{{\'APPLICATION_ODBC\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.square.recordings\')}">\n          <a href="/square/recordings/list">\n            <i class="icon-microphone"></i>\n            <span class="title" >{{\'APPLICATION_RECORDINGS\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.square.realtime.view.general\')}">\n          <a href="/square/realtime/view/general">\n            <i class="icon-energy"></i>\n            <span class="title" >{{\'APPLICATION_REALTIME\' | translate}} </span>\n          </a>\n        </li>\n      </ul>\n    </li>\n    \x3c!-- END CALLYSQUARE CASE --\x3e\n    \x3c!-- START JSCRIPTY LIST --\x3e\n    <li data-ng-show="::(Auth.isAdmin() || Auth.isAgent() || userModules[15])" data-ng-class="{active: $state.includes(\'main.jscripty\')}">\n      <a href="javascript:;" data-ng-class="{\'disabled-link\':!license.jscripty}" >\n        <i class="icon-note"></i>\n        <span class="title disable-target" >{{\'APPLICATION_JSCRIPTY\' | translate}} </span>\n        <span class="arrow"></span>\n      </a>\n      <ul class="sub-menu" data-ng-if="license.jscripty">\n        \x3c!--  --\x3e\n        \x3c!-- START PROJECTS CASE --\x3e\n        <li data-ng-show="Auth.isAdmin() || Auth.isAgent() || userModules[15]"  data-ng-class="{active: $state.includes(\'main.jscripty.projects\')}">\n          <a href="/jscripty/projects/list">\n            <i class="fa fa-slack"></i>\n            <span class="title" >{{\'APPLICATION_PROJECTS\' | translate}} </span>\n          </a>\n        </li>\n        \x3c!-- END PROJECTS CASE --\x3e\n      </ul>\n    </li>\n    \x3c!-- END JSCRIPTY LIST --\x3e\n\n    \x3c!-- START MOTION DIALER LIST CASE--\x3e\n    <li data-ng-if="::(Auth.isAdmin() || userModules[16])" data-ng-class="{active: $state.includes(\'main.motiondialer\')}">\n      <a href="javascript:;" data-ng-class="{\'disabled-link\':!license.dialer}">\n        <i class="icon-control-forward"></i>\n        <span class="title disable-target" >{{\'APPLICATION_MOTION_DIALER\' | translate}} </span>\n        <span class="arrow"></span>\n      </a>\n      <ul class="sub-menu" data-ng-if="license.dialer">\n        <li data-ng-class="{active: $state.includes(\'main.motiondialer.blacklist\')}">\n          <a href="/motiondialer/blacklist/list">\n            <i class="icon-doc"></i>\n            <span class="title" >{{\'APPLICATION_BLACKLIST\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.motiondialer.processes\')}">\n          <a href="/motiondialer/processes/list">\n            <i class="icon-settings"></i>\n            <span class="title" >{{\'APPLICATION_PROCESSES\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.motiondialer.info\')}">\n          <a href="/motiondialer/info/view/about">\n            <i class="icon-info"></i>\n            <span class="title" >{{\'APPLICATION_INFO\' | translate}} </span>\n          </a>\n        </li>\n      </ul>\n    </li>\n    \x3c!-- END MOTION DIALER LIST CASE--\x3e\n\n    \x3c!-- START ANALYTIC LIST CASE --\x3e\n    <li data-ng-if="::(Auth.isAdmin() || userModules[17])" data-ng-class="{active: $state.includes(\'main.analytics.reports\')\n    || $state.includes(\'main.analytics.extracted\')\n    || $state.includes(\'main.analytics.metrics\')}" data-ng-if="::(Auth.isAdmin())">\n    <a href="javascript:;">\n      <i class="icon-calculator"></i>\n      <span class="title" >{{\'APPLICATION_ANALYTICS\' | translate}}</span>\n      <span class="arrow" data-ng-class="{ open: $state.includes(\'main.analytics.reports\')\n      || $state.includes(\'main.analytics.extracted\')\n      || $state.includes(\'main.analytics.metrics\') }"></span>\n    </a>\n    <ul class="sub-menu">\n      \x3c!-- START REPORT CASE --\x3e\n      <li data-ng-class="{active: $state.includes(\'main.analytics.reports\')}">\n        <a href="/analytics/reports/list">\n          <i class="icon-book-open"></i>\n          <span class="title" >{{\'APPLICATION_REPORTS\' | translate}}</span>\n          <span data-ng-if="$state.includes(\'main.analytics.reports\')" class="selected"></span>\n        </a>\n      </li>\n      \x3c!-- END REPORT CASE --\x3e\n      \x3c!-- START EXTRA REPORT CASE --\x3e\n      <li data-ng-class="{active: $state.includes(\'main.analytics.extracted\')}">\n        <a href="/analytics/extracted/list">\n          <i class="fa fa-file-pdf-o"></i>\n          <span class="title" >{{\'APPLICATION_EXTRACTED_REPORTS\' | translate}}</span>\n          <span data-ng-if="$state.includes(\'main.analytics.extracted\')" class="selected"></span>\n        </a>\n      </li>\n      \x3c!-- END EXTRA REPORT CASE --\x3e\n      \x3c!-- START METRICS CASE --\x3e\n      <li data-ng-class="{active: $state.includes(\'main.analytics.metrics\')}">\n        <a href="/analytics/metrics/list">\n          <i class="icon-calculator"></i>\n          <span class="title" >{{\'APPLICATION_METRICS\' | translate}}</span>\n          <span data-ng-if="$state.includes(\'main.metrics.reports\')" class="selected"></span>\n        </a>\n      </li>\n      \x3c!-- END METRICS CASE --\x3e\n    </ul>\n  </li>\n  \x3c!-- END ANALYTIC LIST CASE --\x3e\n\n  \x3c!-- START SETTINGS LIST --\x3e\n  <li data-ng-if="::(Auth.isAdmin() || userModules[18])" data-ng-class="{active: $state.includes(\'main.setting\')}">\n    <a href="javascript:;">\n      <i class="icon-settings"></i>\n      <span class="title" >{{\'APPLICATION_SETTINGS\' | translate}}</span>\n      <span class="arrow"></span>\n    </a>\n    <ul class="sub-menu">\n      \x3c!-- START GENERAL CASE --\x3e\n      <li data-ng-class="{active: $state.includes(\'main.setting.general\')}">\n        <a href="/setting/general/view/main">\n          <i class="icon-settings"></i>\n          <span class="title"> {{\'APPLICATION_GENERAL\' | translate}} </span>\n        </a>\n      </li>\n      \x3c!-- END GENERAL CASE --\x3e\n\n      \x3c!-- START UPDATES CASE --\x3e\n      <li data-ng-class="{active: $state.includes(\'main.setting.updates\')}">\n        <a href="{{license.update ? \'/setting/updates/list\' : \'javascript:;\'}}" data-ng-class="{\'disabled-link\':!license.update}">\n          <i class="icon-cloud-download"></i>\n          <span class="title disable-target" >{{\'APPLICATION_UPDATES\' | translate}}</span>\n          \x3c!-- <span data-ng-if="$state.includes(\'main.updates\')" class="selected"></span> --\x3e\n        </a>\n      </li>\n      \x3c!-- END UPDATES CASE --\x3e\n\n      \x3c!-- START SMTP CASE --\x3e\n      <li data-ng-class="{active: $state.includes(\'main.setting.smtp\')}">\n        <a href="/setting/smtp/view">\n          <i class="icon-envelope"></i>\n          <span class="title">SMTP</span>\n          \x3c!-- <span data-ng-if="$state.includes(\'main.smtp\')" class="selected"></span> --\x3e\n        </a>\n      </li>\n      \x3c!-- END SMTP CASE --\x3e\n\n      \x3c!-- START LICENSE CASE --\x3e\n      <li data-ng-class="{active: $state.includes(\'main.setting.license\')}">\n        <a href="/setting/license/view">\n          <i class="icon-info"></i>\n          <span class="title"> {{\'APPLICATION_LICENSE\' | translate}} </span>\n        </a>\n      </li>\n      \x3c!-- END LICENSE CASE --\x3e\n\n      \x3c!-- START NETWORK CASE --\x3e\n      <li data-ng-class="{active: $state.includes(\'main.setting.network\')}">\n        <a href="/setting/network/view/localnet">\n          <i class="icon-globe"></i>\n          <span class="title"> {{\'APPLICATION_NETWORK\' | translate}} </span>\n        </a>\n      </li>\n      \x3c!-- END NETWORK CASE --\x3e\n\n      \x3c!-- START SYSTEM CASE --\x3e\n      <li data-ng-class="{active: $state.includes(\'main.setting.system\')}">\n        <a href="/setting/system/view/general">\n          <i class="icon-pie-chart"></i>\n          <span class="title"> {{\'APPLICATION_SYSTEM\' | translate}} </span>\n        </a>\n      </li>\n      \x3c!-- END SYSTEM CASE --\x3e\n\n      \x3c!-- START CUSTOMIZATION CASE --\x3e\n      <li data-ng-class="{active: $state.includes(\'main.setting.customization\')}">\n        <a href="/setting/customization/view/general">\n          <i class="icon-equalizer"></i>\n          <span class="title"> {{\'APPLICATION_CUSTOMIZATION\' | translate}} </span>\n        </a>\n      </li>\n      \x3c!-- END CUSTOMIZATION CASE --\x3e\n    </ul>\n  </li>\n  \x3c!-- END SETTINGS LIST --\x3e\n\n  \x3c!-- START INTEGRATION CASE --\x3e\n  <li data-ng-if=" (Auth.isAdmin() || Auth.isAgent() || userModules[19]) && integration.active" data-ng-repeat="integration in integrations" data-ng-class="{active: $state.includes(\'main.{{integration.state}}\')}">\n    <a href="/{{integration.state}}/list" ng-switch on="integration.state" data-ng-if="integration.state !== \'iframe\' && (Auth.isAdmin() || userModules[19])">\n      <i ng-switch-when="zendesk" class="icon-heart"></i>\n      <i ng-switch-when="salesforce" class="fa fa-cloud"></i>\n      <i ng-switch-default class="icon-handbag"></i>\n      <span class="title" >{{integration.name}}</span>\n      <span data-ng-if="$state.includes(\'main.{{integration.state}}\')" class="selected"></span>\n    </a>\n    <a href="/{{integration.state}}/view" data-ng-if="integration.state === \'iframe\'">\n      <i class="fa fa-chrome"></i>\n      <span class="title" data-ng-if="Auth.isAdmin() || userModules[19]">{{integration.name}}</span>\n      <span class="title" data-ng-if="Auth.isAgent()">{{integration.title || integration.name}}</span>\n      <span data-ng-if="$state.includes(\'main.{{integration.state}}\')" class="selected"></span>\n    </a>\n  </li>\n\n  <li data-ng-if="::(Auth.isAdmin())" data-ng-class="{active: $state.is(\'main.market\')}">\n    <a href="/market">\n      <i class="icon-handbag"></i>\n      <span class="title" translate>Market Place</span>\n      <span data-ng-if="$state.includes(\'main.market\')" class="selected"></span>\n    </a>\n  </li>\n  \x3c!-- END INTEGRATIONS CASE --\x3e\n  <li>\n  <a href="javascript:;" data-ng-click="activeTour.main = true" data-ng-if="::(!Auth.isAgent())">\n    <i class="icon-location-pin"></i>\n    <span class="title">{{\'APPLICATION_TAKE_A_TOUR\' | translate}}</span>\n  </a>\n  </li>\n  <li>\n    <a href="javascript:;" data-ng-click="about()">\n      <i class="icon-info"></i>\n      <span class="title">{{\'APPLICATION_ABOUT\' | translate}}</span>\n    </a>\n  </li>\n\n</ul>\n\x3c!-- END SIDEBAR MENU --\x3e\n</div>\n')
+}]);
\ No newline at end of file
diff --git a/public/assets/plugins/jscripty/js/Actions.js b/public/assets/plugins/jscripty/js/Actions.js
index d6ee2e7..cea9f53 100644
--- a/public/assets/plugins/jscripty/js/Actions.js
+++ b/public/assets/plugins/jscripty/js/Actions.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/public/assets/plugins/jscripty/js/Dialogs.js b/public/assets/plugins/jscripty/js/Dialogs.js
index 5b5e2cf..67f64cb 100644
--- a/public/assets/plugins/jscripty/js/Dialogs.js
+++ b/public/assets/plugins/jscripty/js/Dialogs.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/public/assets/plugins/jscripty/js/Editor.js b/public/assets/plugins/jscripty/js/Editor.js
index 7c207c8..c404655 100644
--- a/public/assets/plugins/jscripty/js/Editor.js
+++ b/public/assets/plugins/jscripty/js/Editor.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/public/assets/plugins/jscripty/js/EditorUi.js b/public/assets/plugins/jscripty/js/EditorUi.js
index 4d17eff..4e22055 100644
--- a/public/assets/plugins/jscripty/js/EditorUi.js
+++ b/public/assets/plugins/jscripty/js/EditorUi.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/public/assets/plugins/jscripty/js/Graph.js b/public/assets/plugins/jscripty/js/Graph.js
index 513afde..845d4d8 100644
--- a/public/assets/plugins/jscripty/js/Graph.js
+++ b/public/assets/plugins/jscripty/js/Graph.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/public/assets/plugins/jscripty/js/Menus.js b/public/assets/plugins/jscripty/js/Menus.js
index b0b9acd..0a8cbf2 100644
--- a/public/assets/plugins/jscripty/js/Menus.js
+++ b/public/assets/plugins/jscripty/js/Menus.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/public/assets/plugins/jscripty/js/Shapes.js b/public/assets/plugins/jscripty/js/Shapes.js
index a996ff6..39cda66 100644
--- a/public/assets/plugins/jscripty/js/Shapes.js
+++ b/public/assets/plugins/jscripty/js/Shapes.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/public/assets/plugins/jscripty/js/Sidebar.js b/public/assets/plugins/jscripty/js/Sidebar.js
index e2a7ecb..031aa39 100644
--- a/public/assets/plugins/jscripty/js/Sidebar.js
+++ b/public/assets/plugins/jscripty/js/Sidebar.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/public/assets/plugins/jscripty/js/Toolbar.js b/public/assets/plugins/jscripty/js/Toolbar.js
index c6e31b4..2c2a6d1 100644
--- a/public/assets/plugins/jscripty/js/Toolbar.js
+++ b/public/assets/plugins/jscripty/js/Toolbar.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/public/assets/plugins/jscripty/js/custom.js b/public/assets/plugins/jscripty/js/custom.js
index bfb5c2b..dde0a51 100644
--- a/public/assets/plugins/jscripty/js/custom.js
+++ b/public/assets/plugins/jscripty/js/custom.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/public/assets/plugins/mxgraph/js/mxClient.js b/public/assets/plugins/mxgraph/js/mxClient.js
index a1d64a7..83d5b8a 100644
--- a/public/assets/plugins/mxgraph/js/mxClient.js
+++ b/public/assets/plugins/mxgraph/js/mxClient.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/public/assets/plugins/square/js/Actions.js b/public/assets/plugins/square/js/Actions.js
index 00faea0..e931361 100644
--- a/public/assets/plugins/square/js/Actions.js
+++ b/public/assets/plugins/square/js/Actions.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/public/assets/plugins/square/js/Dialogs.js b/public/assets/plugins/square/js/Dialogs.js
index 20628e7..276616b 100644
--- a/public/assets/plugins/square/js/Dialogs.js
+++ b/public/assets/plugins/square/js/Dialogs.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/public/assets/plugins/square/js/Editor.js b/public/assets/plugins/square/js/Editor.js
index 4cc0955..616bbe0 100644
--- a/public/assets/plugins/square/js/Editor.js
+++ b/public/assets/plugins/square/js/Editor.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/public/assets/plugins/square/js/EditorUi.js b/public/assets/plugins/square/js/EditorUi.js
index dd1efc0..f1202f9 100644
--- a/public/assets/plugins/square/js/EditorUi.js
+++ b/public/assets/plugins/square/js/EditorUi.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/public/assets/plugins/square/js/Graph.js b/public/assets/plugins/square/js/Graph.js
index cdc46d0..8b4483f 100644
--- a/public/assets/plugins/square/js/Graph.js
+++ b/public/assets/plugins/square/js/Graph.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/public/assets/plugins/square/js/Menus.js b/public/assets/plugins/square/js/Menus.js
index 74b99fe..3ca011b 100644
--- a/public/assets/plugins/square/js/Menus.js
+++ b/public/assets/plugins/square/js/Menus.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/public/assets/plugins/square/js/Shapes.js b/public/assets/plugins/square/js/Shapes.js
index 488c8db..6389014 100644
--- a/public/assets/plugins/square/js/Shapes.js
+++ b/public/assets/plugins/square/js/Shapes.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/public/assets/plugins/square/js/Sidebar.js b/public/assets/plugins/square/js/Sidebar.js
index 1aa6612..2bb489f 100644
--- a/public/assets/plugins/square/js/Sidebar.js
+++ b/public/assets/plugins/square/js/Sidebar.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/public/assets/plugins/square/js/Toolbar.js b/public/assets/plugins/square/js/Toolbar.js
index f7702d0..44053d4 100644
--- a/public/assets/plugins/square/js/Toolbar.js
+++ b/public/assets/plugins/square/js/Toolbar.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/public/assets/plugins/square/js/custom.js b/public/assets/plugins/square/js/custom.js
index 50783df..8ab1c39 100644
--- a/public/assets/plugins/square/js/custom.js
+++ b/public/assets/plugins/square/js/custom.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/public/index.html b/public/index.html
index a3e7700..644c832 100644
--- a/public/index.html
+++ b/public/index.html
@@ -50,7 +50,7 @@
     <![endif]-->
     <script src="app/47f6bf9a.vendor.js"></script>
 
-    <script src="app/13562abb.app.js"></script>
+    <script src="app/7377769b.app.js"></script>
 
     <!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
     <!-- BEGIN CORE PLUGINS -->
diff --git a/server/api/_apidoc.js b/server/api/_apidoc.js
index 428486e..57848e9 100644
--- a/server/api/_apidoc.js
+++ b/server/api/_apidoc.js
@@ -1 +1 @@
-var _0xbc19=[]
\ No newline at end of file
+var _0x6dfb=[]
\ No newline at end of file
diff --git a/server/api/action/action.controller.js b/server/api/action/action.controller.js
index 25f6641..a369e51 100644
--- a/server/api/action/action.controller.js
+++ b/server/api/action/action.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/action/action.events.js b/server/api/action/action.events.js
index fb5354f..cb439fd 100644
--- a/server/api/action/action.events.js
+++ b/server/api/action/action.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/action/action.socket.js b/server/api/action/action.socket.js
index fef6a78..67dde43 100644
--- a/server/api/action/action.socket.js
+++ b/server/api/action/action.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/action/index.js b/server/api/action/index.js
index f4ee4e7..bfa08f1 100644
--- a/server/api/action/index.js
+++ b/server/api/action/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/agent/agent.controller.js b/server/api/agent/agent.controller.js
index fa87983..c14fdbb 100644
--- a/server/api/agent/agent.controller.js
+++ b/server/api/agent/agent.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/agent/agent.events.js b/server/api/agent/agent.events.js
index 6f2235f..8faa024 100644
--- a/server/api/agent/agent.events.js
+++ b/server/api/agent/agent.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/agent/agent.socket.js b/server/api/agent/agent.socket.js
index 2c2734c..b960428 100644
--- a/server/api/agent/agent.socket.js
+++ b/server/api/agent/agent.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/agent/index.js b/server/api/agent/index.js
index 98412a9..071832b 100644
--- a/server/api/agent/index.js
+++ b/server/api/agent/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/automation/automation.controller.js b/server/api/automation/automation.controller.js
index a532995..c9d0572 100644
--- a/server/api/automation/automation.controller.js
+++ b/server/api/automation/automation.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/automation/automation.events.js b/server/api/automation/automation.events.js
index 3a90042..871ec7b 100644
--- a/server/api/automation/automation.events.js
+++ b/server/api/automation/automation.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/automation/automation.socket.js b/server/api/automation/automation.socket.js
index 7aa68a2..855eaf9 100644
--- a/server/api/automation/automation.socket.js
+++ b/server/api/automation/automation.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/automation/index.js b/server/api/automation/index.js
index d442fdf..761c0a6 100644
--- a/server/api/automation/index.js
+++ b/server/api/automation/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/canned_answer/canned_answer.controller.js b/server/api/canned_answer/canned_answer.controller.js
index 79d067b..53a4d45 100644
--- a/server/api/canned_answer/canned_answer.controller.js
+++ b/server/api/canned_answer/canned_answer.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/canned_answer/canned_answer.events.js b/server/api/canned_answer/canned_answer.events.js
index 4c74a9b..176d3e5 100644
--- a/server/api/canned_answer/canned_answer.events.js
+++ b/server/api/canned_answer/canned_answer.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/canned_answer/canned_answer.socket.js b/server/api/canned_answer/canned_answer.socket.js
index b05151f..783e9a0 100644
--- a/server/api/canned_answer/canned_answer.socket.js
+++ b/server/api/canned_answer/canned_answer.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/canned_answer/index.js b/server/api/canned_answer/index.js
index d7ed765..d2412ee 100644
--- a/server/api/canned_answer/index.js
+++ b/server/api/canned_answer/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chanspy/chanspy.controller.js b/server/api/chanspy/chanspy.controller.js
index a240307..f2b17ca 100644
--- a/server/api/chanspy/chanspy.controller.js
+++ b/server/api/chanspy/chanspy.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chanspy/chanspy.events.js b/server/api/chanspy/chanspy.events.js
index 999e13a..f470203 100644
--- a/server/api/chanspy/chanspy.events.js
+++ b/server/api/chanspy/chanspy.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chanspy/chanspy.socket.js b/server/api/chanspy/chanspy.socket.js
index 6ab0634..0ee2bc7 100644
--- a/server/api/chanspy/chanspy.socket.js
+++ b/server/api/chanspy/chanspy.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chanspy/index.js b/server/api/chanspy/index.js
index 0afc0dd..71b67c6 100644
--- a/server/api/chanspy/index.js
+++ b/server/api/chanspy/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_application/chat_application.controller.js b/server/api/chat_application/chat_application.controller.js
index 238a4b5..8bf3a44 100644
--- a/server/api/chat_application/chat_application.controller.js
+++ b/server/api/chat_application/chat_application.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_application/chat_application.events.js b/server/api/chat_application/chat_application.events.js
index 62b5876..0dd5b99 100644
--- a/server/api/chat_application/chat_application.events.js
+++ b/server/api/chat_application/chat_application.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_application/chat_application.socket.js b/server/api/chat_application/chat_application.socket.js
index 685a02d..229a4e4 100644
--- a/server/api/chat_application/chat_application.socket.js
+++ b/server/api/chat_application/chat_application.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_application/index.js b/server/api/chat_application/index.js
index 483fb0d..ceae4ee 100644
--- a/server/api/chat_application/index.js
+++ b/server/api/chat_application/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_disposition/chat_disposition.controller.js b/server/api/chat_disposition/chat_disposition.controller.js
index 02075e4..5ffb6cf 100644
--- a/server/api/chat_disposition/chat_disposition.controller.js
+++ b/server/api/chat_disposition/chat_disposition.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_disposition/chat_disposition.events.js b/server/api/chat_disposition/chat_disposition.events.js
index e25cc88..3e092cf 100644
--- a/server/api/chat_disposition/chat_disposition.events.js
+++ b/server/api/chat_disposition/chat_disposition.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_disposition/chat_disposition.socket.js b/server/api/chat_disposition/chat_disposition.socket.js
index a757005..aacff87 100644
--- a/server/api/chat_disposition/chat_disposition.socket.js
+++ b/server/api/chat_disposition/chat_disposition.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_disposition/index.js b/server/api/chat_disposition/index.js
index 1f77538..babceb9 100644
--- a/server/api/chat_disposition/index.js
+++ b/server/api/chat_disposition/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_enquiry/enquiry.controller.js b/server/api/chat_enquiry/enquiry.controller.js
index 67293ad..d962e69 100644
--- a/server/api/chat_enquiry/enquiry.controller.js
+++ b/server/api/chat_enquiry/enquiry.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_enquiry/enquiry.events.js b/server/api/chat_enquiry/enquiry.events.js
index 69471a5..d762336 100644
--- a/server/api/chat_enquiry/enquiry.events.js
+++ b/server/api/chat_enquiry/enquiry.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_enquiry/enquiry.socket.js b/server/api/chat_enquiry/enquiry.socket.js
index 8d52b88..2380d46 100644
--- a/server/api/chat_enquiry/enquiry.socket.js
+++ b/server/api/chat_enquiry/enquiry.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_enquiry/index.js b/server/api/chat_enquiry/index.js
index 0efccf0..e22a0d0 100644
--- a/server/api/chat_enquiry/index.js
+++ b/server/api/chat_enquiry/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_message/chat_message.controller.js b/server/api/chat_message/chat_message.controller.js
index c1a1ceb..b2b4979 100644
--- a/server/api/chat_message/chat_message.controller.js
+++ b/server/api/chat_message/chat_message.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_message/chat_message.events.js b/server/api/chat_message/chat_message.events.js
index 055a5e0..c62b8be 100644
--- a/server/api/chat_message/chat_message.events.js
+++ b/server/api/chat_message/chat_message.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_message/chat_message.socket.js b/server/api/chat_message/chat_message.socket.js
index 522865f..8941ade 100644
--- a/server/api/chat_message/chat_message.socket.js
+++ b/server/api/chat_message/chat_message.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_message/index.js b/server/api/chat_message/index.js
index eee15ef..2aeb441 100644
--- a/server/api/chat_message/index.js
+++ b/server/api/chat_message/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_proactive_action/chat_proactive_action.controller.js b/server/api/chat_proactive_action/chat_proactive_action.controller.js
index 423cbee..cdb7144 100644
--- a/server/api/chat_proactive_action/chat_proactive_action.controller.js
+++ b/server/api/chat_proactive_action/chat_proactive_action.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_proactive_action/chat_proactive_action.events.js b/server/api/chat_proactive_action/chat_proactive_action.events.js
index 2c3bd23..11bac9f 100644
--- a/server/api/chat_proactive_action/chat_proactive_action.events.js
+++ b/server/api/chat_proactive_action/chat_proactive_action.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_proactive_action/chat_proactive_action.socket.js b/server/api/chat_proactive_action/chat_proactive_action.socket.js
index 526a076..76e1f78 100644
--- a/server/api/chat_proactive_action/chat_proactive_action.socket.js
+++ b/server/api/chat_proactive_action/chat_proactive_action.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_proactive_action/index.js b/server/api/chat_proactive_action/index.js
index 1adf6a4..6c8a2c5 100644
--- a/server/api/chat_proactive_action/index.js
+++ b/server/api/chat_proactive_action/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_queue/chat_queue.controller.js b/server/api/chat_queue/chat_queue.controller.js
index c06f3b1..1e82228 100644
--- a/server/api/chat_queue/chat_queue.controller.js
+++ b/server/api/chat_queue/chat_queue.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_queue/chat_queue.events.js b/server/api/chat_queue/chat_queue.events.js
index 1cfed0d..75f8ed8 100644
--- a/server/api/chat_queue/chat_queue.events.js
+++ b/server/api/chat_queue/chat_queue.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_queue/chat_queue.socket.js b/server/api/chat_queue/chat_queue.socket.js
index 79e35cd..b107232 100644
--- a/server/api/chat_queue/chat_queue.socket.js
+++ b/server/api/chat_queue/chat_queue.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_queue/index.js b/server/api/chat_queue/index.js
index 3578b3a..917a617 100644
--- a/server/api/chat_queue/index.js
+++ b/server/api/chat_queue/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_room/chat_room.controller.js b/server/api/chat_room/chat_room.controller.js
index 3ab007c..29d2778 100644
--- a/server/api/chat_room/chat_room.controller.js
+++ b/server/api/chat_room/chat_room.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_room/chat_room.events.js b/server/api/chat_room/chat_room.events.js
index af0fc39..24e0954 100644
--- a/server/api/chat_room/chat_room.events.js
+++ b/server/api/chat_room/chat_room.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_room/chat_room.socket.js b/server/api/chat_room/chat_room.socket.js
index b15898d..41d1246 100644
--- a/server/api/chat_room/chat_room.socket.js
+++ b/server/api/chat_room/chat_room.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_room/index.js b/server/api/chat_room/index.js
index 24669d6..011f70d 100644
--- a/server/api/chat_room/index.js
+++ b/server/api/chat_room/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_visitor/chat_visitor.controller.js b/server/api/chat_visitor/chat_visitor.controller.js
index 72bd7c5..402d7df 100644
--- a/server/api/chat_visitor/chat_visitor.controller.js
+++ b/server/api/chat_visitor/chat_visitor.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_visitor/chat_visitor.events.js b/server/api/chat_visitor/chat_visitor.events.js
index e6fd95a..58b3aeb 100644
--- a/server/api/chat_visitor/chat_visitor.events.js
+++ b/server/api/chat_visitor/chat_visitor.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_visitor/chat_visitor.socket.js b/server/api/chat_visitor/chat_visitor.socket.js
index af53445..023a10e 100644
--- a/server/api/chat_visitor/chat_visitor.socket.js
+++ b/server/api/chat_visitor/chat_visitor.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_visitor/index.js b/server/api/chat_visitor/index.js
index 4a44b4f..87fb04a 100644
--- a/server/api/chat_visitor/index.js
+++ b/server/api/chat_visitor/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_website/chat_website.controller.js b/server/api/chat_website/chat_website.controller.js
index 0067b1e..bcec49d 100644
--- a/server/api/chat_website/chat_website.controller.js
+++ b/server/api/chat_website/chat_website.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_website/chat_website.events.js b/server/api/chat_website/chat_website.events.js
index 9f08cc9..053b90d 100644
--- a/server/api/chat_website/chat_website.events.js
+++ b/server/api/chat_website/chat_website.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_website/chat_website.socket.js b/server/api/chat_website/chat_website.socket.js
index 813aeaa..be17000 100644
--- a/server/api/chat_website/chat_website.socket.js
+++ b/server/api/chat_website/chat_website.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_website/index.js b/server/api/chat_website/index.js
index a7114d0..f14f41f 100644
--- a/server/api/chat_website/index.js
+++ b/server/api/chat_website/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_websites_field/chat_websites_field.controller.js b/server/api/chat_websites_field/chat_websites_field.controller.js
index 091f129..e5f493d 100644
--- a/server/api/chat_websites_field/chat_websites_field.controller.js
+++ b/server/api/chat_websites_field/chat_websites_field.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_websites_field/chat_websites_field.events.js b/server/api/chat_websites_field/chat_websites_field.events.js
index 9378fdd..36fed5d 100644
--- a/server/api/chat_websites_field/chat_websites_field.events.js
+++ b/server/api/chat_websites_field/chat_websites_field.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_websites_field/chat_websites_field.socket.js b/server/api/chat_websites_field/chat_websites_field.socket.js
index 724ea2c..9747b5d 100644
--- a/server/api/chat_websites_field/chat_websites_field.socket.js
+++ b/server/api/chat_websites_field/chat_websites_field.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/chat_websites_field/index.js b/server/api/chat_websites_field/index.js
index 02cf36d..19e7cc8 100644
--- a/server/api/chat_websites_field/index.js
+++ b/server/api/chat_websites_field/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/company/company.controller.js b/server/api/company/company.controller.js
index da7e9aa..cbff9aa 100644
--- a/server/api/company/company.controller.js
+++ b/server/api/company/company.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/company/company.events.js b/server/api/company/company.events.js
index 87291fa..d73e8e9 100644
--- a/server/api/company/company.events.js
+++ b/server/api/company/company.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/company/company.socket.js b/server/api/company/company.socket.js
index 27dfe82..c029bce 100644
--- a/server/api/company/company.socket.js
+++ b/server/api/company/company.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/company/index.js b/server/api/company/index.js
index 65e53e8..97db215 100644
--- a/server/api/company/index.js
+++ b/server/api/company/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/contact_manager/contact_manager.controller.js b/server/api/contact_manager/contact_manager.controller.js
index b42000e..2499734 100644
--- a/server/api/contact_manager/contact_manager.controller.js
+++ b/server/api/contact_manager/contact_manager.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/contact_manager/contact_manager.events.js b/server/api/contact_manager/contact_manager.events.js
index 6b30a65..df56a9c 100644
--- a/server/api/contact_manager/contact_manager.events.js
+++ b/server/api/contact_manager/contact_manager.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/contact_manager/contact_manager.socket.js b/server/api/contact_manager/contact_manager.socket.js
index 020dbdd..51eedd0 100644
--- a/server/api/contact_manager/contact_manager.socket.js
+++ b/server/api/contact_manager/contact_manager.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/contact_manager/index.js b/server/api/contact_manager/index.js
index 7f470d2..742379a 100644
--- a/server/api/contact_manager/index.js
+++ b/server/api/contact_manager/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/custom_field/custom_field.controller.js b/server/api/custom_field/custom_field.controller.js
index 1cfba90..ccac9a2 100644
--- a/server/api/custom_field/custom_field.controller.js
+++ b/server/api/custom_field/custom_field.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/custom_field/custom_field.events.js b/server/api/custom_field/custom_field.events.js
index c0d5fc6..a36389f 100644
--- a/server/api/custom_field/custom_field.events.js
+++ b/server/api/custom_field/custom_field.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/custom_field/custom_field.socket.js b/server/api/custom_field/custom_field.socket.js
index 8ab47e9..be05633 100644
--- a/server/api/custom_field/custom_field.socket.js
+++ b/server/api/custom_field/custom_field.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/custom_field/index.js b/server/api/custom_field/index.js
index 504764c..802c26a 100644
--- a/server/api/custom_field/index.js
+++ b/server/api/custom_field/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/custom_report/custom_report.controller.js b/server/api/custom_report/custom_report.controller.js
index 89ffebc..427d5be 100644
--- a/server/api/custom_report/custom_report.controller.js
+++ b/server/api/custom_report/custom_report.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/custom_report/custom_report.events.js b/server/api/custom_report/custom_report.events.js
index 0746b71..b46ae95 100644
--- a/server/api/custom_report/custom_report.events.js
+++ b/server/api/custom_report/custom_report.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/custom_report/custom_report.socket.js b/server/api/custom_report/custom_report.socket.js
index 3398754..0e244a1 100644
--- a/server/api/custom_report/custom_report.socket.js
+++ b/server/api/custom_report/custom_report.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/custom_report/index.js b/server/api/custom_report/index.js
index 19987e1..2fa587a 100644
--- a/server/api/custom_report/index.js
+++ b/server/api/custom_report/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/dashboard/dashboard.controller.js b/server/api/dashboard/dashboard.controller.js
index 1cc9368..aaeccf6 100644
--- a/server/api/dashboard/dashboard.controller.js
+++ b/server/api/dashboard/dashboard.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/dashboard/dashboard.events.js b/server/api/dashboard/dashboard.events.js
index 0dc3c10..a56840c 100644
--- a/server/api/dashboard/dashboard.events.js
+++ b/server/api/dashboard/dashboard.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/dashboard/dashboard.socket.js b/server/api/dashboard/dashboard.socket.js
index 9b4676b..1905f75 100644
--- a/server/api/dashboard/dashboard.socket.js
+++ b/server/api/dashboard/dashboard.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/dashboard/index.js b/server/api/dashboard/index.js
index 8c24fd7..08b4cbe 100644
--- a/server/api/dashboard/index.js
+++ b/server/api/dashboard/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/default_metric/default_metric.controller.js b/server/api/default_metric/default_metric.controller.js
index af0621f..87c6019 100644
--- a/server/api/default_metric/default_metric.controller.js
+++ b/server/api/default_metric/default_metric.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/default_metric/index.js b/server/api/default_metric/index.js
index 3f1be8e..8cd281e 100644
--- a/server/api/default_metric/index.js
+++ b/server/api/default_metric/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/default_report/default_report.controller.js b/server/api/default_report/default_report.controller.js
index d10f5ba..c8a0d0f 100644
--- a/server/api/default_report/default_report.controller.js
+++ b/server/api/default_report/default_report.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/default_report/default_report.events.js b/server/api/default_report/default_report.events.js
index dcbd1a7..45ef4f2 100644
--- a/server/api/default_report/default_report.events.js
+++ b/server/api/default_report/default_report.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/default_report/default_report.socket.js b/server/api/default_report/default_report.socket.js
index 4083f71..72ee218 100644
--- a/server/api/default_report/default_report.socket.js
+++ b/server/api/default_report/default_report.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/default_report/index.js b/server/api/default_report/index.js
index 85e6d9c..4a2efd7 100644
--- a/server/api/default_report/index.js
+++ b/server/api/default_report/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/desk_account/desk_account.controller.js b/server/api/desk_account/desk_account.controller.js
index 43018d2..743d608 100644
--- a/server/api/desk_account/desk_account.controller.js
+++ b/server/api/desk_account/desk_account.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/desk_account/desk_account.events.js b/server/api/desk_account/desk_account.events.js
index fa581fd..99006e6 100644
--- a/server/api/desk_account/desk_account.events.js
+++ b/server/api/desk_account/desk_account.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/desk_account/desk_account.socket.js b/server/api/desk_account/desk_account.socket.js
index 4472d5b..f61eda2 100644
--- a/server/api/desk_account/desk_account.socket.js
+++ b/server/api/desk_account/desk_account.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/desk_account/index.js b/server/api/desk_account/index.js
index ea8157f..c25eeb9 100644
--- a/server/api/desk_account/index.js
+++ b/server/api/desk_account/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/desk_configuration/desk_configuration.controller.js b/server/api/desk_configuration/desk_configuration.controller.js
index 5d70bf6..234d81f 100644
--- a/server/api/desk_configuration/desk_configuration.controller.js
+++ b/server/api/desk_configuration/desk_configuration.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/desk_configuration/desk_configuration.events.js b/server/api/desk_configuration/desk_configuration.events.js
index 64ccbd9..2adbce5 100644
--- a/server/api/desk_configuration/desk_configuration.events.js
+++ b/server/api/desk_configuration/desk_configuration.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/desk_configuration/desk_configuration.socket.js b/server/api/desk_configuration/desk_configuration.socket.js
index 4406002..b96701e 100644
--- a/server/api/desk_configuration/desk_configuration.socket.js
+++ b/server/api/desk_configuration/desk_configuration.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/desk_configuration/index.js b/server/api/desk_configuration/index.js
index 42761b8..1cfc0d5 100644
--- a/server/api/desk_configuration/index.js
+++ b/server/api/desk_configuration/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/desk_field/desk_field.controller.js b/server/api/desk_field/desk_field.controller.js
index 85ed6ec..b0a8708 100644
--- a/server/api/desk_field/desk_field.controller.js
+++ b/server/api/desk_field/desk_field.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/desk_field/desk_field.events.js b/server/api/desk_field/desk_field.events.js
index a90fb73..f7f2b68 100644
--- a/server/api/desk_field/desk_field.events.js
+++ b/server/api/desk_field/desk_field.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/desk_field/desk_field.socket.js b/server/api/desk_field/desk_field.socket.js
index 769eda1..5c697c4 100644
--- a/server/api/desk_field/desk_field.socket.js
+++ b/server/api/desk_field/desk_field.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/desk_field/index.js b/server/api/desk_field/index.js
index 5560c8e..04a717c 100644
--- a/server/api/desk_field/index.js
+++ b/server/api/desk_field/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/extracted_report/extracted_report.controller.js b/server/api/extracted_report/extracted_report.controller.js
index 03c8f1c..985e485 100644
--- a/server/api/extracted_report/extracted_report.controller.js
+++ b/server/api/extracted_report/extracted_report.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/extracted_report/extracted_report.events.js b/server/api/extracted_report/extracted_report.events.js
index ef3d6c3..72ff1ae 100644
--- a/server/api/extracted_report/extracted_report.events.js
+++ b/server/api/extracted_report/extracted_report.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/extracted_report/extracted_report.socket.js b/server/api/extracted_report/extracted_report.socket.js
index f3c4149..2e3825b 100644
--- a/server/api/extracted_report/extracted_report.socket.js
+++ b/server/api/extracted_report/extracted_report.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/extracted_report/index.js b/server/api/extracted_report/index.js
index 1ea899f..09455e8 100644
--- a/server/api/extracted_report/index.js
+++ b/server/api/extracted_report/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_account/fax_account.controller.js b/server/api/fax_account/fax_account.controller.js
index a7376ab..24e4dda 100644
--- a/server/api/fax_account/fax_account.controller.js
+++ b/server/api/fax_account/fax_account.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_account/fax_account.events.js b/server/api/fax_account/fax_account.events.js
index 71dd6e3..fd35843 100644
--- a/server/api/fax_account/fax_account.events.js
+++ b/server/api/fax_account/fax_account.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_account/fax_account.socket.js b/server/api/fax_account/fax_account.socket.js
index 3bdf848..b21b16e 100644
--- a/server/api/fax_account/fax_account.socket.js
+++ b/server/api/fax_account/fax_account.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_account/index.js b/server/api/fax_account/index.js
index b17bef9..2bf7746 100644
--- a/server/api/fax_account/index.js
+++ b/server/api/fax_account/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_application/fax_application.controller.js b/server/api/fax_application/fax_application.controller.js
index 559cb2d..485725b 100644
--- a/server/api/fax_application/fax_application.controller.js
+++ b/server/api/fax_application/fax_application.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_application/fax_application.events.js b/server/api/fax_application/fax_application.events.js
index d048fee..2f384aa 100644
--- a/server/api/fax_application/fax_application.events.js
+++ b/server/api/fax_application/fax_application.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_application/fax_application.socket.js b/server/api/fax_application/fax_application.socket.js
index 80f03d1..631c636 100644
--- a/server/api/fax_application/fax_application.socket.js
+++ b/server/api/fax_application/fax_application.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_application/index.js b/server/api/fax_application/index.js
index 59c87f7..77b7ccf 100644
--- a/server/api/fax_application/index.js
+++ b/server/api/fax_application/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_attachment/fax_attachment.controller.js b/server/api/fax_attachment/fax_attachment.controller.js
index 8e0fcbb..108140c 100644
--- a/server/api/fax_attachment/fax_attachment.controller.js
+++ b/server/api/fax_attachment/fax_attachment.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_attachment/fax_attachment.events.js b/server/api/fax_attachment/fax_attachment.events.js
index 4ee6eee..f4ea174 100644
--- a/server/api/fax_attachment/fax_attachment.events.js
+++ b/server/api/fax_attachment/fax_attachment.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_attachment/fax_attachment.socket.js b/server/api/fax_attachment/fax_attachment.socket.js
index 03268c4..53a6df7 100644
--- a/server/api/fax_attachment/fax_attachment.socket.js
+++ b/server/api/fax_attachment/fax_attachment.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_attachment/index.js b/server/api/fax_attachment/index.js
index afdc7bc..8071776 100644
--- a/server/api/fax_attachment/index.js
+++ b/server/api/fax_attachment/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_disposition/fax_disposition.controller.js b/server/api/fax_disposition/fax_disposition.controller.js
index 98403d7..5a3e1e6 100644
--- a/server/api/fax_disposition/fax_disposition.controller.js
+++ b/server/api/fax_disposition/fax_disposition.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_disposition/fax_disposition.events.js b/server/api/fax_disposition/fax_disposition.events.js
index 8ea8c53..b7fee65 100644
--- a/server/api/fax_disposition/fax_disposition.events.js
+++ b/server/api/fax_disposition/fax_disposition.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_disposition/fax_disposition.socket.js b/server/api/fax_disposition/fax_disposition.socket.js
index 0571142..9bf6dbb 100644
--- a/server/api/fax_disposition/fax_disposition.socket.js
+++ b/server/api/fax_disposition/fax_disposition.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_disposition/index.js b/server/api/fax_disposition/index.js
index 7452459..e9fb112 100644
--- a/server/api/fax_disposition/index.js
+++ b/server/api/fax_disposition/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_message/fax_message.ami.js b/server/api/fax_message/fax_message.ami.js
index e37eeaa..b1ac113 100644
--- a/server/api/fax_message/fax_message.ami.js
+++ b/server/api/fax_message/fax_message.ami.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_message/fax_message.controller.js b/server/api/fax_message/fax_message.controller.js
index e767047..a2f0fe7 100644
--- a/server/api/fax_message/fax_message.controller.js
+++ b/server/api/fax_message/fax_message.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_message/fax_message.events.js b/server/api/fax_message/fax_message.events.js
index 4b1302d..5c40366 100644
--- a/server/api/fax_message/fax_message.events.js
+++ b/server/api/fax_message/fax_message.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_message/fax_message.socket.js b/server/api/fax_message/fax_message.socket.js
index b49446e..1369343 100644
--- a/server/api/fax_message/fax_message.socket.js
+++ b/server/api/fax_message/fax_message.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_message/index.js b/server/api/fax_message/index.js
index f66c6cb..3219a77 100644
--- a/server/api/fax_message/index.js
+++ b/server/api/fax_message/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_queue/fax_queue.controller.js b/server/api/fax_queue/fax_queue.controller.js
index b4cd008..b341918 100644
--- a/server/api/fax_queue/fax_queue.controller.js
+++ b/server/api/fax_queue/fax_queue.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_queue/fax_queue.events.js b/server/api/fax_queue/fax_queue.events.js
index f21834b..1aabcae 100644
--- a/server/api/fax_queue/fax_queue.events.js
+++ b/server/api/fax_queue/fax_queue.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_queue/fax_queue.socket.js b/server/api/fax_queue/fax_queue.socket.js
index ceecfd8..ea01061 100644
--- a/server/api/fax_queue/fax_queue.socket.js
+++ b/server/api/fax_queue/fax_queue.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_queue/index.js b/server/api/fax_queue/index.js
index c4661a5..722002e 100644
--- a/server/api/fax_queue/index.js
+++ b/server/api/fax_queue/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_room/fax_room.controller.js b/server/api/fax_room/fax_room.controller.js
index 02e2081..982fd33 100644
--- a/server/api/fax_room/fax_room.controller.js
+++ b/server/api/fax_room/fax_room.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_room/fax_room.events.js b/server/api/fax_room/fax_room.events.js
index 08f10ae..460bb88 100644
--- a/server/api/fax_room/fax_room.events.js
+++ b/server/api/fax_room/fax_room.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_room/fax_room.socket.js b/server/api/fax_room/fax_room.socket.js
index 343a911..1292475 100644
--- a/server/api/fax_room/fax_room.socket.js
+++ b/server/api/fax_room/fax_room.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/fax_room/index.js b/server/api/fax_room/index.js
index bc5aa71..6a01bfe 100644
--- a/server/api/fax_room/index.js
+++ b/server/api/fax_room/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/freshdesk_account/freshdesk_account.controller.js b/server/api/freshdesk_account/freshdesk_account.controller.js
index 205d6bd..481a9ba 100644
--- a/server/api/freshdesk_account/freshdesk_account.controller.js
+++ b/server/api/freshdesk_account/freshdesk_account.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/freshdesk_account/freshdesk_account.events.js b/server/api/freshdesk_account/freshdesk_account.events.js
index 3ebbfd9..42f7b19 100644
--- a/server/api/freshdesk_account/freshdesk_account.events.js
+++ b/server/api/freshdesk_account/freshdesk_account.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/freshdesk_account/freshdesk_account.socket.js b/server/api/freshdesk_account/freshdesk_account.socket.js
index 235c21f..cc69e34 100644
--- a/server/api/freshdesk_account/freshdesk_account.socket.js
+++ b/server/api/freshdesk_account/freshdesk_account.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/freshdesk_account/index.js b/server/api/freshdesk_account/index.js
index 64a7472..3f7a440 100644
--- a/server/api/freshdesk_account/index.js
+++ b/server/api/freshdesk_account/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/freshdesk_configuration/freshdesk_configuration.controller.js b/server/api/freshdesk_configuration/freshdesk_configuration.controller.js
index 3ff3c11..d55f6d6 100644
--- a/server/api/freshdesk_configuration/freshdesk_configuration.controller.js
+++ b/server/api/freshdesk_configuration/freshdesk_configuration.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/freshdesk_configuration/freshdesk_configuration.events.js b/server/api/freshdesk_configuration/freshdesk_configuration.events.js
index c16cca1..30705bc 100644
--- a/server/api/freshdesk_configuration/freshdesk_configuration.events.js
+++ b/server/api/freshdesk_configuration/freshdesk_configuration.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/freshdesk_configuration/freshdesk_configuration.socket.js b/server/api/freshdesk_configuration/freshdesk_configuration.socket.js
index 28f8c19..26d03de 100644
--- a/server/api/freshdesk_configuration/freshdesk_configuration.socket.js
+++ b/server/api/freshdesk_configuration/freshdesk_configuration.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/freshdesk_configuration/index.js b/server/api/freshdesk_configuration/index.js
index a592a48..32f6d6a 100644
--- a/server/api/freshdesk_configuration/index.js
+++ b/server/api/freshdesk_configuration/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/freshdesk_field/freshdesk_field.controller.js b/server/api/freshdesk_field/freshdesk_field.controller.js
index 29c7534..b44ec55 100644
--- a/server/api/freshdesk_field/freshdesk_field.controller.js
+++ b/server/api/freshdesk_field/freshdesk_field.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/freshdesk_field/freshdesk_field.events.js b/server/api/freshdesk_field/freshdesk_field.events.js
index 9506b2f..24050aa 100644
--- a/server/api/freshdesk_field/freshdesk_field.events.js
+++ b/server/api/freshdesk_field/freshdesk_field.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/freshdesk_field/freshdesk_field.socket.js b/server/api/freshdesk_field/freshdesk_field.socket.js
index 1fe7fd7..a557c7a 100644
--- a/server/api/freshdesk_field/freshdesk_field.socket.js
+++ b/server/api/freshdesk_field/freshdesk_field.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/freshdesk_field/index.js b/server/api/freshdesk_field/index.js
index c6d40a6..c04551b 100644
--- a/server/api/freshdesk_field/index.js
+++ b/server/api/freshdesk_field/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/integration/index.js b/server/api/integration/index.js
index 8c7f640..c48bb13 100644
--- a/server/api/integration/index.js
+++ b/server/api/integration/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/integration/integration.controller.js b/server/api/integration/integration.controller.js
index cc5794b..de195d7 100644
--- a/server/api/integration/integration.controller.js
+++ b/server/api/integration/integration.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/integration/integration.events.js b/server/api/integration/integration.events.js
index 0455dde..d5ec736 100644
--- a/server/api/integration/integration.events.js
+++ b/server/api/integration/integration.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/integration/integration.socket.js b/server/api/integration/integration.socket.js
index d7d53ec..f67f000 100644
--- a/server/api/integration/integration.socket.js
+++ b/server/api/integration/integration.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/interval/index.js b/server/api/interval/index.js
index 18dcbe1..6fac2fa 100644
--- a/server/api/interval/index.js
+++ b/server/api/interval/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/interval/interval.controller.js b/server/api/interval/interval.controller.js
index 22d89e0..82e0c63 100644
--- a/server/api/interval/interval.controller.js
+++ b/server/api/interval/interval.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/interval/interval.events.js b/server/api/interval/interval.events.js
index 33b4aad..7012837 100644
--- a/server/api/interval/interval.events.js
+++ b/server/api/interval/interval.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/interval/interval.socket.js b/server/api/interval/interval.socket.js
index 668955d..2c1ea7f 100644
--- a/server/api/interval/interval.socket.js
+++ b/server/api/interval/interval.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/jscripty_project/index.js b/server/api/jscripty_project/index.js
index 0cc6816..4dda40c 100644
--- a/server/api/jscripty_project/index.js
+++ b/server/api/jscripty_project/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/jscripty_project/jscripty_project.controller.js b/server/api/jscripty_project/jscripty_project.controller.js
index a7210f5..878b9dd 100644
--- a/server/api/jscripty_project/jscripty_project.controller.js
+++ b/server/api/jscripty_project/jscripty_project.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/jscripty_project/jscripty_project.events.js b/server/api/jscripty_project/jscripty_project.events.js
index e3d22a7..cfa3467 100644
--- a/server/api/jscripty_project/jscripty_project.events.js
+++ b/server/api/jscripty_project/jscripty_project.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/jscripty_project/jscripty_project.socket.js b/server/api/jscripty_project/jscripty_project.socket.js
index 1a0f398..1a94795 100644
--- a/server/api/jscripty_project/jscripty_project.socket.js
+++ b/server/api/jscripty_project/jscripty_project.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/license/index.js b/server/api/license/index.js
index eda1470..e8a2dfc 100644
--- a/server/api/license/index.js
+++ b/server/api/license/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/license/license.controller.js b/server/api/license/license.controller.js
index 36f32ff..b1d756a 100644
--- a/server/api/license/license.controller.js
+++ b/server/api/license/license.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/list/index.js b/server/api/list/index.js
index 61e1a02..3e7c83d 100644
--- a/server/api/list/index.js
+++ b/server/api/list/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/list/list.controller.js b/server/api/list/list.controller.js
index 95cfff4..e228392 100644
--- a/server/api/list/list.controller.js
+++ b/server/api/list/list.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/list/list.events.js b/server/api/list/list.events.js
index 3e04337..e12f411 100644
--- a/server/api/list/list.events.js
+++ b/server/api/list/list.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/list/list.socket.js b/server/api/list/list.socket.js
index aed2976..063e875 100644
--- a/server/api/list/list.socket.js
+++ b/server/api/list/list.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_account/index.js b/server/api/mail_account/index.js
index 34d7256..1d96729 100644
--- a/server/api/mail_account/index.js
+++ b/server/api/mail_account/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_account/mail_account.controller.js b/server/api/mail_account/mail_account.controller.js
index bb2cc15..201db8a 100644
--- a/server/api/mail_account/mail_account.controller.js
+++ b/server/api/mail_account/mail_account.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_account/mail_account.events.js b/server/api/mail_account/mail_account.events.js
index 10f2e62..b37f019 100644
--- a/server/api/mail_account/mail_account.events.js
+++ b/server/api/mail_account/mail_account.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_account/mail_account.socket.js b/server/api/mail_account/mail_account.socket.js
index 54e5140..77baca2 100644
--- a/server/api/mail_account/mail_account.socket.js
+++ b/server/api/mail_account/mail_account.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_application/index.js b/server/api/mail_application/index.js
index c55316a..21c3285 100644
--- a/server/api/mail_application/index.js
+++ b/server/api/mail_application/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_application/mail_application.controller.js b/server/api/mail_application/mail_application.controller.js
index 4f13941..d0107fe 100644
--- a/server/api/mail_application/mail_application.controller.js
+++ b/server/api/mail_application/mail_application.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_application/mail_application.events.js b/server/api/mail_application/mail_application.events.js
index fa3f21b..4b9bcf6 100644
--- a/server/api/mail_application/mail_application.events.js
+++ b/server/api/mail_application/mail_application.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_application/mail_application.socket.js b/server/api/mail_application/mail_application.socket.js
index 101ecf2..21b5e12 100644
--- a/server/api/mail_application/mail_application.socket.js
+++ b/server/api/mail_application/mail_application.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_attachment/index.js b/server/api/mail_attachment/index.js
index e15383b..d8b5019 100644
--- a/server/api/mail_attachment/index.js
+++ b/server/api/mail_attachment/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_attachment/mail_attachment.controller.js b/server/api/mail_attachment/mail_attachment.controller.js
index 8043c15..79585a5 100644
--- a/server/api/mail_attachment/mail_attachment.controller.js
+++ b/server/api/mail_attachment/mail_attachment.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_attachment/mail_attachment.events.js b/server/api/mail_attachment/mail_attachment.events.js
index 8b63639..6ce7924 100644
--- a/server/api/mail_attachment/mail_attachment.events.js
+++ b/server/api/mail_attachment/mail_attachment.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_attachment/mail_attachment.socket.js b/server/api/mail_attachment/mail_attachment.socket.js
index 1d7b974..443b3fc 100644
--- a/server/api/mail_attachment/mail_attachment.socket.js
+++ b/server/api/mail_attachment/mail_attachment.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_disposition/index.js b/server/api/mail_disposition/index.js
index 859c3f6..b82f7f6 100644
--- a/server/api/mail_disposition/index.js
+++ b/server/api/mail_disposition/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_disposition/mail_disposition.controller.js b/server/api/mail_disposition/mail_disposition.controller.js
index e551318..cee5823 100644
--- a/server/api/mail_disposition/mail_disposition.controller.js
+++ b/server/api/mail_disposition/mail_disposition.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_disposition/mail_disposition.events.js b/server/api/mail_disposition/mail_disposition.events.js
index f27e596..d640e58 100644
--- a/server/api/mail_disposition/mail_disposition.events.js
+++ b/server/api/mail_disposition/mail_disposition.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_disposition/mail_disposition.socket.js b/server/api/mail_disposition/mail_disposition.socket.js
index 145e0b8..8ff5f26 100644
--- a/server/api/mail_disposition/mail_disposition.socket.js
+++ b/server/api/mail_disposition/mail_disposition.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_message/index.js b/server/api/mail_message/index.js
index 83e7079..da496cf 100644
--- a/server/api/mail_message/index.js
+++ b/server/api/mail_message/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_message/mail_message.controller.js b/server/api/mail_message/mail_message.controller.js
index 59f7581..f6e1bee 100644
--- a/server/api/mail_message/mail_message.controller.js
+++ b/server/api/mail_message/mail_message.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_message/mail_message.events.js b/server/api/mail_message/mail_message.events.js
index cab3517..480b683 100644
--- a/server/api/mail_message/mail_message.events.js
+++ b/server/api/mail_message/mail_message.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_message/mail_message.socket.js b/server/api/mail_message/mail_message.socket.js
index af55eff..4818fe4 100644
--- a/server/api/mail_message/mail_message.socket.js
+++ b/server/api/mail_message/mail_message.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_queue/index.js b/server/api/mail_queue/index.js
index 9e3fcd7..59417ec 100644
--- a/server/api/mail_queue/index.js
+++ b/server/api/mail_queue/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_queue/mail_queue.controller.js b/server/api/mail_queue/mail_queue.controller.js
index 7ac0421..da59dd6 100644
--- a/server/api/mail_queue/mail_queue.controller.js
+++ b/server/api/mail_queue/mail_queue.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_queue/mail_queue.events.js b/server/api/mail_queue/mail_queue.events.js
index 4cd4e1f..81918dc 100644
--- a/server/api/mail_queue/mail_queue.events.js
+++ b/server/api/mail_queue/mail_queue.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_queue/mail_queue.socket.js b/server/api/mail_queue/mail_queue.socket.js
index b9634ca..c746aad 100644
--- a/server/api/mail_queue/mail_queue.socket.js
+++ b/server/api/mail_queue/mail_queue.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_room/index.js b/server/api/mail_room/index.js
index c0926ee..2b4f9e9 100644
--- a/server/api/mail_room/index.js
+++ b/server/api/mail_room/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_room/mail_room.controller.js b/server/api/mail_room/mail_room.controller.js
index a9123ce..04788e3 100644
--- a/server/api/mail_room/mail_room.controller.js
+++ b/server/api/mail_room/mail_room.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_room/mail_room.events.js b/server/api/mail_room/mail_room.events.js
index e881b88..6aceceb 100644
--- a/server/api/mail_room/mail_room.events.js
+++ b/server/api/mail_room/mail_room.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_room/mail_room.socket.js b/server/api/mail_room/mail_room.socket.js
index 7da7d14..d93f3d7 100644
--- a/server/api/mail_room/mail_room.socket.js
+++ b/server/api/mail_room/mail_room.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_server_in/index.js b/server/api/mail_server_in/index.js
index 7277b38..bcbfb69 100644
--- a/server/api/mail_server_in/index.js
+++ b/server/api/mail_server_in/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_server_in/mail_server_in.controller.js b/server/api/mail_server_in/mail_server_in.controller.js
index 3ad4be4..2f57f5a 100644
--- a/server/api/mail_server_in/mail_server_in.controller.js
+++ b/server/api/mail_server_in/mail_server_in.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_server_in/mail_server_in.events.js b/server/api/mail_server_in/mail_server_in.events.js
index ab4060a..311b950 100644
--- a/server/api/mail_server_in/mail_server_in.events.js
+++ b/server/api/mail_server_in/mail_server_in.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_server_in/mail_server_in.socket.js b/server/api/mail_server_in/mail_server_in.socket.js
index d6895d5..4fd0d93 100644
--- a/server/api/mail_server_in/mail_server_in.socket.js
+++ b/server/api/mail_server_in/mail_server_in.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_server_out/index.js b/server/api/mail_server_out/index.js
index 74376b4..d2da62d 100644
--- a/server/api/mail_server_out/index.js
+++ b/server/api/mail_server_out/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_server_out/mail_server_out.controller.js b/server/api/mail_server_out/mail_server_out.controller.js
index 26c5701..3f578ab 100644
--- a/server/api/mail_server_out/mail_server_out.controller.js
+++ b/server/api/mail_server_out/mail_server_out.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_server_out/mail_server_out.events.js b/server/api/mail_server_out/mail_server_out.events.js
index b0cd9d6..2363f8f 100644
--- a/server/api/mail_server_out/mail_server_out.events.js
+++ b/server/api/mail_server_out/mail_server_out.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/mail_server_out/mail_server_out.socket.js b/server/api/mail_server_out/mail_server_out.socket.js
index 732983f..036531e 100644
--- a/server/api/mail_server_out/mail_server_out.socket.js
+++ b/server/api/mail_server_out/mail_server_out.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/metric/index.js b/server/api/metric/index.js
index 6136312..1b3c521 100644
--- a/server/api/metric/index.js
+++ b/server/api/metric/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/metric/metric.controller.js b/server/api/metric/metric.controller.js
index a4e2372..ff5613e 100644
--- a/server/api/metric/metric.controller.js
+++ b/server/api/metric/metric.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/metric/metric.events.js b/server/api/metric/metric.events.js
index 224e9f8..5c34e6b 100644
--- a/server/api/metric/metric.events.js
+++ b/server/api/metric/metric.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/metric/metric.socket.js b/server/api/metric/metric.socket.js
index 2a3f9b8..cac7bec 100644
--- a/server/api/metric/metric.socket.js
+++ b/server/api/metric/metric.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/module/index.js b/server/api/module/index.js
index e262d5b..8a3544a 100644
--- a/server/api/module/index.js
+++ b/server/api/module/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/module/module.controller.js b/server/api/module/module.controller.js
index 9bdcfb9..296cb46 100644
--- a/server/api/module/module.controller.js
+++ b/server/api/module/module.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/module/module.events.js b/server/api/module/module.events.js
index bf63d54..91a3b05 100644
--- a/server/api/module/module.events.js
+++ b/server/api/module/module.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/module/module.socket.js b/server/api/module/module.socket.js
index 3a2054f..2415e41 100644
--- a/server/api/module/module.socket.js
+++ b/server/api/module/module.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/motionbar/index.js b/server/api/motionbar/index.js
index 322c7d0..6ff1990 100644
--- a/server/api/motionbar/index.js
+++ b/server/api/motionbar/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/motionbar/motionbar.controller.js b/server/api/motionbar/motionbar.controller.js
index d27fec6..0afa8bb 100644
--- a/server/api/motionbar/motionbar.controller.js
+++ b/server/api/motionbar/motionbar.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/motionbar/motionbar.events.js b/server/api/motionbar/motionbar.events.js
index 2238518..f8d4e55 100644
--- a/server/api/motionbar/motionbar.events.js
+++ b/server/api/motionbar/motionbar.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/motionbar/motionbar.socket.js b/server/api/motionbar/motionbar.socket.js
index e129f31..aba8774 100644
--- a/server/api/motionbar/motionbar.socket.js
+++ b/server/api/motionbar/motionbar.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/network_externip/index.js b/server/api/network_externip/index.js
index cf78cad..b1f30a6 100644
--- a/server/api/network_externip/index.js
+++ b/server/api/network_externip/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/network_externip/network_externip.controller.js b/server/api/network_externip/network_externip.controller.js
index 7d635cd..bd238e2 100644
--- a/server/api/network_externip/network_externip.controller.js
+++ b/server/api/network_externip/network_externip.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/network_externip/network_externip.events.js b/server/api/network_externip/network_externip.events.js
index 3d43ba3..217d6ea 100644
--- a/server/api/network_externip/network_externip.events.js
+++ b/server/api/network_externip/network_externip.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/network_externip/network_externip.socket.js b/server/api/network_externip/network_externip.socket.js
index 219d049..2119ea5 100644
--- a/server/api/network_externip/network_externip.socket.js
+++ b/server/api/network_externip/network_externip.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/network_localnet/index.js b/server/api/network_localnet/index.js
index 3337067..57ca5c5 100644
--- a/server/api/network_localnet/index.js
+++ b/server/api/network_localnet/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/network_localnet/network_localnet.controller.js b/server/api/network_localnet/network_localnet.controller.js
index 498ba1a..5d1c75d 100644
--- a/server/api/network_localnet/network_localnet.controller.js
+++ b/server/api/network_localnet/network_localnet.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/network_localnet/network_localnet.events.js b/server/api/network_localnet/network_localnet.events.js
index db66adf..6ded995 100644
--- a/server/api/network_localnet/network_localnet.events.js
+++ b/server/api/network_localnet/network_localnet.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/network_localnet/network_localnet.socket.js b/server/api/network_localnet/network_localnet.socket.js
index 05eafb0..97156de 100644
--- a/server/api/network_localnet/network_localnet.socket.js
+++ b/server/api/network_localnet/network_localnet.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/openchannel_account/index.js b/server/api/openchannel_account/index.js
index 217912f..51bd380 100644
--- a/server/api/openchannel_account/index.js
+++ b/server/api/openchannel_account/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/openchannel_account/openchannel_account.controller.js b/server/api/openchannel_account/openchannel_account.controller.js
index ba1cf64..81cc620 100644
--- a/server/api/openchannel_account/openchannel_account.controller.js
+++ b/server/api/openchannel_account/openchannel_account.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/openchannel_account/openchannel_account.events.js b/server/api/openchannel_account/openchannel_account.events.js
index 167fa8c..15709fa 100644
--- a/server/api/openchannel_account/openchannel_account.events.js
+++ b/server/api/openchannel_account/openchannel_account.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/openchannel_account/openchannel_account.socket.js b/server/api/openchannel_account/openchannel_account.socket.js
index 2fd59a1..6e13fc4 100644
--- a/server/api/openchannel_account/openchannel_account.socket.js
+++ b/server/api/openchannel_account/openchannel_account.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/openchannel_application/index.js b/server/api/openchannel_application/index.js
index 1117e6f..6962c81 100644
--- a/server/api/openchannel_application/index.js
+++ b/server/api/openchannel_application/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/openchannel_application/openchannel_application.controller.js b/server/api/openchannel_application/openchannel_application.controller.js
index 9d20d9b..3a74734 100644
--- a/server/api/openchannel_application/openchannel_application.controller.js
+++ b/server/api/openchannel_application/openchannel_application.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/openchannel_application/openchannel_application.events.js b/server/api/openchannel_application/openchannel_application.events.js
index 845f0dd..57c44c1 100644
--- a/server/api/openchannel_application/openchannel_application.events.js
+++ b/server/api/openchannel_application/openchannel_application.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/openchannel_application/openchannel_application.socket.js b/server/api/openchannel_application/openchannel_application.socket.js
index f6a0b24..b0e0403 100644
--- a/server/api/openchannel_application/openchannel_application.socket.js
+++ b/server/api/openchannel_application/openchannel_application.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/openchannel_disposition/index.js b/server/api/openchannel_disposition/index.js
index f0fea31..bb65d2f 100644
--- a/server/api/openchannel_disposition/index.js
+++ b/server/api/openchannel_disposition/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/openchannel_disposition/openchannel_disposition.controller.js b/server/api/openchannel_disposition/openchannel_disposition.controller.js
index 27fb537..4fcb8a1 100644
--- a/server/api/openchannel_disposition/openchannel_disposition.controller.js
+++ b/server/api/openchannel_disposition/openchannel_disposition.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/openchannel_disposition/openchannel_disposition.events.js b/server/api/openchannel_disposition/openchannel_disposition.events.js
index 607f8cb..f8f6f26 100644
--- a/server/api/openchannel_disposition/openchannel_disposition.events.js
+++ b/server/api/openchannel_disposition/openchannel_disposition.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/openchannel_disposition/openchannel_disposition.socket.js b/server/api/openchannel_disposition/openchannel_disposition.socket.js
index 11b6293..6bfd5fb 100644
--- a/server/api/openchannel_disposition/openchannel_disposition.socket.js
+++ b/server/api/openchannel_disposition/openchannel_disposition.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/openchannel_message/index.js b/server/api/openchannel_message/index.js
index e0b0f44..f1bc328 100644
--- a/server/api/openchannel_message/index.js
+++ b/server/api/openchannel_message/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/openchannel_message/openchannel_message.controller.js b/server/api/openchannel_message/openchannel_message.controller.js
index 1b9bdd1..201aa0a 100644
--- a/server/api/openchannel_message/openchannel_message.controller.js
+++ b/server/api/openchannel_message/openchannel_message.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/openchannel_message/openchannel_message.events.js b/server/api/openchannel_message/openchannel_message.events.js
index 3bb2eba..f0b4727 100644
--- a/server/api/openchannel_message/openchannel_message.events.js
+++ b/server/api/openchannel_message/openchannel_message.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/openchannel_message/openchannel_message.socket.js b/server/api/openchannel_message/openchannel_message.socket.js
index a09aebe..02bfb07 100644
--- a/server/api/openchannel_message/openchannel_message.socket.js
+++ b/server/api/openchannel_message/openchannel_message.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/openchannel_queue/index.js b/server/api/openchannel_queue/index.js
index 4246ca2..3cd0411 100644
--- a/server/api/openchannel_queue/index.js
+++ b/server/api/openchannel_queue/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/openchannel_queue/openchannel_queue.controller.js b/server/api/openchannel_queue/openchannel_queue.controller.js
index 52917c8..aac29bf 100644
--- a/server/api/openchannel_queue/openchannel_queue.controller.js
+++ b/server/api/openchannel_queue/openchannel_queue.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/openchannel_queue/openchannel_queue.events.js b/server/api/openchannel_queue/openchannel_queue.events.js
index b71fd96..f37f6a5 100644
--- a/server/api/openchannel_queue/openchannel_queue.events.js
+++ b/server/api/openchannel_queue/openchannel_queue.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/openchannel_queue/openchannel_queue.socket.js b/server/api/openchannel_queue/openchannel_queue.socket.js
index 276c1c2..5999c8c 100644
--- a/server/api/openchannel_queue/openchannel_queue.socket.js
+++ b/server/api/openchannel_queue/openchannel_queue.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/openchannel_room/index.js b/server/api/openchannel_room/index.js
index c7af0a0..f0da74c 100644
--- a/server/api/openchannel_room/index.js
+++ b/server/api/openchannel_room/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/openchannel_room/openchannel_room.controller.js b/server/api/openchannel_room/openchannel_room.controller.js
index 56adad1..ed5592e 100644
--- a/server/api/openchannel_room/openchannel_room.controller.js
+++ b/server/api/openchannel_room/openchannel_room.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/openchannel_room/openchannel_room.events.js b/server/api/openchannel_room/openchannel_room.events.js
index f7081ea..08b6fad 100644
--- a/server/api/openchannel_room/openchannel_room.events.js
+++ b/server/api/openchannel_room/openchannel_room.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/openchannel_room/openchannel_room.socket.js b/server/api/openchannel_room/openchannel_room.socket.js
index eeadce9..27363df 100644
--- a/server/api/openchannel_room/openchannel_room.socket.js
+++ b/server/api/openchannel_room/openchannel_room.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/pause/index.js b/server/api/pause/index.js
index 3cc7a6a..e1ca6c3 100644
--- a/server/api/pause/index.js
+++ b/server/api/pause/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/pause/pause.controller.js b/server/api/pause/pause.controller.js
index 471c284..7460dde 100644
--- a/server/api/pause/pause.controller.js
+++ b/server/api/pause/pause.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/pause/pause.events.js b/server/api/pause/pause.events.js
index 7e4a8de..4044a6c 100644
--- a/server/api/pause/pause.events.js
+++ b/server/api/pause/pause.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/pause/pause.socket.js b/server/api/pause/pause.socket.js
index be4f1e8..c53118b 100644
--- a/server/api/pause/pause.socket.js
+++ b/server/api/pause/pause.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_agent/index.js b/server/api/report_agent/index.js
index 2a93398..d959cba 100644
--- a/server/api/report_agent/index.js
+++ b/server/api/report_agent/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_agent/report_agent.controller.js b/server/api/report_agent/report_agent.controller.js
index d884cb3..1d4621a 100644
--- a/server/api/report_agent/report_agent.controller.js
+++ b/server/api/report_agent/report_agent.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_agent/report_agent.events.js b/server/api/report_agent/report_agent.events.js
index 64d7011..2610389 100644
--- a/server/api/report_agent/report_agent.events.js
+++ b/server/api/report_agent/report_agent.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_agent/report_agent.socket.js b/server/api/report_agent/report_agent.socket.js
index 3cc7902..f014af5 100644
--- a/server/api/report_agent/report_agent.socket.js
+++ b/server/api/report_agent/report_agent.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_call/index.js b/server/api/report_call/index.js
index 34fd166..4763712 100644
--- a/server/api/report_call/index.js
+++ b/server/api/report_call/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_call/report_call.controller.js b/server/api/report_call/report_call.controller.js
index 0dbffda..cf6b841 100644
--- a/server/api/report_call/report_call.controller.js
+++ b/server/api/report_call/report_call.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_call/report_call.events.js b/server/api/report_call/report_call.events.js
index 0819522..5fcf171 100644
--- a/server/api/report_call/report_call.events.js
+++ b/server/api/report_call/report_call.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_call/report_call.socket.js b/server/api/report_call/report_call.socket.js
index af7057d..b282725 100644
--- a/server/api/report_call/report_call.socket.js
+++ b/server/api/report_call/report_call.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_chat/index.js b/server/api/report_chat/index.js
index 268b2fb..67212e7 100644
--- a/server/api/report_chat/index.js
+++ b/server/api/report_chat/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_chat/report_chat.controller.js b/server/api/report_chat/report_chat.controller.js
index 20290ea..6634aae 100644
--- a/server/api/report_chat/report_chat.controller.js
+++ b/server/api/report_chat/report_chat.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_chat/report_chat.events.js b/server/api/report_chat/report_chat.events.js
index 167ac03..407505b 100644
--- a/server/api/report_chat/report_chat.events.js
+++ b/server/api/report_chat/report_chat.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_chat/report_chat.socket.js b/server/api/report_chat/report_chat.socket.js
index 03880e1..f8e0661 100644
--- a/server/api/report_chat/report_chat.socket.js
+++ b/server/api/report_chat/report_chat.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_chat_session/index.js b/server/api/report_chat_session/index.js
index 63a09f4..6d0899d 100644
--- a/server/api/report_chat_session/index.js
+++ b/server/api/report_chat_session/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_chat_session/report_chat_session.controller.js b/server/api/report_chat_session/report_chat_session.controller.js
index e764d3f..680091d 100644
--- a/server/api/report_chat_session/report_chat_session.controller.js
+++ b/server/api/report_chat_session/report_chat_session.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_chat_session/report_chat_session.events.js b/server/api/report_chat_session/report_chat_session.events.js
index afff259..f6bccb1 100644
--- a/server/api/report_chat_session/report_chat_session.events.js
+++ b/server/api/report_chat_session/report_chat_session.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_chat_session/report_chat_session.socket.js b/server/api/report_chat_session/report_chat_session.socket.js
index 417ae67..2194892 100644
--- a/server/api/report_chat_session/report_chat_session.socket.js
+++ b/server/api/report_chat_session/report_chat_session.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_dial/index.js b/server/api/report_dial/index.js
index 8f028d3..76e103f 100644
--- a/server/api/report_dial/index.js
+++ b/server/api/report_dial/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_dial/report_dial.controller.js b/server/api/report_dial/report_dial.controller.js
index 2ae89a4..94ff99e 100644
--- a/server/api/report_dial/report_dial.controller.js
+++ b/server/api/report_dial/report_dial.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_dial/report_dial.events.js b/server/api/report_dial/report_dial.events.js
index f66f47f..f5c4eac 100644
--- a/server/api/report_dial/report_dial.events.js
+++ b/server/api/report_dial/report_dial.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_dial/report_dial.socket.js b/server/api/report_dial/report_dial.socket.js
index f72fe8d..a33c107 100644
--- a/server/api/report_dial/report_dial.socket.js
+++ b/server/api/report_dial/report_dial.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_fax/index.js b/server/api/report_fax/index.js
index 126e056..c6e3cf7 100644
--- a/server/api/report_fax/index.js
+++ b/server/api/report_fax/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_fax/report_fax.controller.js b/server/api/report_fax/report_fax.controller.js
index a20f91e..c399e14 100644
--- a/server/api/report_fax/report_fax.controller.js
+++ b/server/api/report_fax/report_fax.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_fax/report_fax.events.js b/server/api/report_fax/report_fax.events.js
index 13abe83..5489436 100644
--- a/server/api/report_fax/report_fax.events.js
+++ b/server/api/report_fax/report_fax.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_fax/report_fax.socket.js b/server/api/report_fax/report_fax.socket.js
index 66b3edf..f5a6fe9 100644
--- a/server/api/report_fax/report_fax.socket.js
+++ b/server/api/report_fax/report_fax.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_fax_session/index.js b/server/api/report_fax_session/index.js
index 19a8ae5..1c505a4 100644
--- a/server/api/report_fax_session/index.js
+++ b/server/api/report_fax_session/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_fax_session/report_fax_session.controller.js b/server/api/report_fax_session/report_fax_session.controller.js
index 0fd916a..1518a80 100644
--- a/server/api/report_fax_session/report_fax_session.controller.js
+++ b/server/api/report_fax_session/report_fax_session.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_fax_session/report_fax_session.events.js b/server/api/report_fax_session/report_fax_session.events.js
index 16ad045..e081b56 100644
--- a/server/api/report_fax_session/report_fax_session.events.js
+++ b/server/api/report_fax_session/report_fax_session.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_fax_session/report_fax_session.socket.js b/server/api/report_fax_session/report_fax_session.socket.js
index 67a0a7b..a558e6a 100644
--- a/server/api/report_fax_session/report_fax_session.socket.js
+++ b/server/api/report_fax_session/report_fax_session.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_integration/index.js b/server/api/report_integration/index.js
index 5485dbb..abb7520 100644
--- a/server/api/report_integration/index.js
+++ b/server/api/report_integration/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_integration/report_integration.controller.js b/server/api/report_integration/report_integration.controller.js
index 0e137a2..eff97c5 100644
--- a/server/api/report_integration/report_integration.controller.js
+++ b/server/api/report_integration/report_integration.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_integration/report_integration.events.js b/server/api/report_integration/report_integration.events.js
index 9fdb055..05c5aeb 100644
--- a/server/api/report_integration/report_integration.events.js
+++ b/server/api/report_integration/report_integration.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_integration/report_integration.socket.js b/server/api/report_integration/report_integration.socket.js
index b979818..321d8cb 100644
--- a/server/api/report_integration/report_integration.socket.js
+++ b/server/api/report_integration/report_integration.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_mail/index.js b/server/api/report_mail/index.js
index 6746943..e9ceb1d 100644
--- a/server/api/report_mail/index.js
+++ b/server/api/report_mail/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_mail/report_mail.controller.js b/server/api/report_mail/report_mail.controller.js
index 1103210..5db2624 100644
--- a/server/api/report_mail/report_mail.controller.js
+++ b/server/api/report_mail/report_mail.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_mail/report_mail.events.js b/server/api/report_mail/report_mail.events.js
index 37822de..a53907e 100644
--- a/server/api/report_mail/report_mail.events.js
+++ b/server/api/report_mail/report_mail.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_mail/report_mail.socket.js b/server/api/report_mail/report_mail.socket.js
index b12f1f1..05cab4e 100644
--- a/server/api/report_mail/report_mail.socket.js
+++ b/server/api/report_mail/report_mail.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_mail_session/index.js b/server/api/report_mail_session/index.js
index a41a9ae..b818532 100644
--- a/server/api/report_mail_session/index.js
+++ b/server/api/report_mail_session/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_mail_session/report_mail_session.controller.js b/server/api/report_mail_session/report_mail_session.controller.js
index acd7a4e..bfe16e8 100644
--- a/server/api/report_mail_session/report_mail_session.controller.js
+++ b/server/api/report_mail_session/report_mail_session.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_mail_session/report_mail_session.events.js b/server/api/report_mail_session/report_mail_session.events.js
index ee8ad3b..b122126 100644
--- a/server/api/report_mail_session/report_mail_session.events.js
+++ b/server/api/report_mail_session/report_mail_session.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_mail_session/report_mail_session.socket.js b/server/api/report_mail_session/report_mail_session.socket.js
index 5751963..dcdd1b3 100644
--- a/server/api/report_mail_session/report_mail_session.socket.js
+++ b/server/api/report_mail_session/report_mail_session.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_member/index.js b/server/api/report_member/index.js
index 5b43f46..d76f782 100644
--- a/server/api/report_member/index.js
+++ b/server/api/report_member/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_member/report_member.controller.js b/server/api/report_member/report_member.controller.js
index 1001be3..d38dfcb 100644
--- a/server/api/report_member/report_member.controller.js
+++ b/server/api/report_member/report_member.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_member/report_member.events.js b/server/api/report_member/report_member.events.js
index 34a20ce..b5ae80f 100644
--- a/server/api/report_member/report_member.events.js
+++ b/server/api/report_member/report_member.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_member/report_member.socket.js b/server/api/report_member/report_member.socket.js
index 150b429..fa08437 100644
--- a/server/api/report_member/report_member.socket.js
+++ b/server/api/report_member/report_member.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_openchannel/index.js b/server/api/report_openchannel/index.js
index a003f20..b069b2a 100644
--- a/server/api/report_openchannel/index.js
+++ b/server/api/report_openchannel/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_openchannel/report_openchannel.controller.js b/server/api/report_openchannel/report_openchannel.controller.js
index fe724cd..a3f120f 100644
--- a/server/api/report_openchannel/report_openchannel.controller.js
+++ b/server/api/report_openchannel/report_openchannel.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_openchannel/report_openchannel.events.js b/server/api/report_openchannel/report_openchannel.events.js
index 75ec138..5bb7493 100644
--- a/server/api/report_openchannel/report_openchannel.events.js
+++ b/server/api/report_openchannel/report_openchannel.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_openchannel/report_openchannel.socket.js b/server/api/report_openchannel/report_openchannel.socket.js
index 0fbb8e6..8a11828 100644
--- a/server/api/report_openchannel/report_openchannel.socket.js
+++ b/server/api/report_openchannel/report_openchannel.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_openchannel_session/index.js b/server/api/report_openchannel_session/index.js
index 55475d8..f76cde8 100644
--- a/server/api/report_openchannel_session/index.js
+++ b/server/api/report_openchannel_session/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_openchannel_session/report_openchannel_session.controller.js b/server/api/report_openchannel_session/report_openchannel_session.controller.js
index bd690d0..ca35a9d 100644
--- a/server/api/report_openchannel_session/report_openchannel_session.controller.js
+++ b/server/api/report_openchannel_session/report_openchannel_session.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_openchannel_session/report_openchannel_session.events.js b/server/api/report_openchannel_session/report_openchannel_session.events.js
index e92d9c9..2216872 100644
--- a/server/api/report_openchannel_session/report_openchannel_session.events.js
+++ b/server/api/report_openchannel_session/report_openchannel_session.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_openchannel_session/report_openchannel_session.socket.js b/server/api/report_openchannel_session/report_openchannel_session.socket.js
index e0704cd..af58327 100644
--- a/server/api/report_openchannel_session/report_openchannel_session.socket.js
+++ b/server/api/report_openchannel_session/report_openchannel_session.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_queue/index.js b/server/api/report_queue/index.js
index f45729f..f15cb32 100644
--- a/server/api/report_queue/index.js
+++ b/server/api/report_queue/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_queue/report_queue.controller.js b/server/api/report_queue/report_queue.controller.js
index 2f3740b..91ed60c 100644
--- a/server/api/report_queue/report_queue.controller.js
+++ b/server/api/report_queue/report_queue.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_queue/report_queue.events.js b/server/api/report_queue/report_queue.events.js
index 89d6569..92bb78d 100644
--- a/server/api/report_queue/report_queue.events.js
+++ b/server/api/report_queue/report_queue.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_queue/report_queue.socket.js b/server/api/report_queue/report_queue.socket.js
index 367369c..691208c 100644
--- a/server/api/report_queue/report_queue.socket.js
+++ b/server/api/report_queue/report_queue.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_sms/index.js b/server/api/report_sms/index.js
index 5b45541..e500715 100644
--- a/server/api/report_sms/index.js
+++ b/server/api/report_sms/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_sms/report_sms.controller.js b/server/api/report_sms/report_sms.controller.js
index 117fe5f..6fe5bde 100644
--- a/server/api/report_sms/report_sms.controller.js
+++ b/server/api/report_sms/report_sms.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_sms/report_sms.events.js b/server/api/report_sms/report_sms.events.js
index a53d434..a37b5a9 100644
--- a/server/api/report_sms/report_sms.events.js
+++ b/server/api/report_sms/report_sms.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_sms/report_sms.socket.js b/server/api/report_sms/report_sms.socket.js
index 06e917e..c378212 100644
--- a/server/api/report_sms/report_sms.socket.js
+++ b/server/api/report_sms/report_sms.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_sms_session/index.js b/server/api/report_sms_session/index.js
index 37ec8b5..3e049e6 100644
--- a/server/api/report_sms_session/index.js
+++ b/server/api/report_sms_session/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_sms_session/report_sms_session.controller.js b/server/api/report_sms_session/report_sms_session.controller.js
index 72cfe58..2d0d311 100644
--- a/server/api/report_sms_session/report_sms_session.controller.js
+++ b/server/api/report_sms_session/report_sms_session.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_sms_session/report_sms_session.events.js b/server/api/report_sms_session/report_sms_session.events.js
index d0e58b0..fd208f9 100644
--- a/server/api/report_sms_session/report_sms_session.events.js
+++ b/server/api/report_sms_session/report_sms_session.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_sms_session/report_sms_session.socket.js b/server/api/report_sms_session/report_sms_session.socket.js
index f52fbae..c7cf910 100644
--- a/server/api/report_sms_session/report_sms_session.socket.js
+++ b/server/api/report_sms_session/report_sms_session.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_square/index.js b/server/api/report_square/index.js
index 2325bbe..e094b4e 100644
--- a/server/api/report_square/index.js
+++ b/server/api/report_square/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_square/report_square.controller.js b/server/api/report_square/report_square.controller.js
index 5c39253..bcddb42 100644
--- a/server/api/report_square/report_square.controller.js
+++ b/server/api/report_square/report_square.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_square/report_square.events.js b/server/api/report_square/report_square.events.js
index 2d4573f..fa962c9 100644
--- a/server/api/report_square/report_square.events.js
+++ b/server/api/report_square/report_square.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_square/report_square.socket.js b/server/api/report_square/report_square.socket.js
index 9af707d..7cab817 100644
--- a/server/api/report_square/report_square.socket.js
+++ b/server/api/report_square/report_square.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_square_detail/index.js b/server/api/report_square_detail/index.js
index 6586666..4f31f23 100644
--- a/server/api/report_square_detail/index.js
+++ b/server/api/report_square_detail/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_square_detail/report_square_detail.controller.js b/server/api/report_square_detail/report_square_detail.controller.js
index 7cd0abd..9811fbc 100644
--- a/server/api/report_square_detail/report_square_detail.controller.js
+++ b/server/api/report_square_detail/report_square_detail.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_square_detail/report_square_detail.events.js b/server/api/report_square_detail/report_square_detail.events.js
index b844842..95e3c7c 100644
--- a/server/api/report_square_detail/report_square_detail.events.js
+++ b/server/api/report_square_detail/report_square_detail.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_square_detail/report_square_detail.socket.js b/server/api/report_square_detail/report_square_detail.socket.js
index a7b9dff..fb6ff7c 100644
--- a/server/api/report_square_detail/report_square_detail.socket.js
+++ b/server/api/report_square_detail/report_square_detail.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_tiger_dial/index.js b/server/api/report_tiger_dial/index.js
index a72072c..597f6c8 100644
--- a/server/api/report_tiger_dial/index.js
+++ b/server/api/report_tiger_dial/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_tiger_dial/report_tiger_dial.controller.js b/server/api/report_tiger_dial/report_tiger_dial.controller.js
index 596487f..8238003 100644
--- a/server/api/report_tiger_dial/report_tiger_dial.controller.js
+++ b/server/api/report_tiger_dial/report_tiger_dial.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_tiger_dial/report_tiger_dial.events.js b/server/api/report_tiger_dial/report_tiger_dial.events.js
index 889f64e..b65ecd6 100644
--- a/server/api/report_tiger_dial/report_tiger_dial.events.js
+++ b/server/api/report_tiger_dial/report_tiger_dial.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_tiger_dial/report_tiger_dial.socket.js b/server/api/report_tiger_dial/report_tiger_dial.socket.js
index c5b79bb..ac0c412 100644
--- a/server/api/report_tiger_dial/report_tiger_dial.socket.js
+++ b/server/api/report_tiger_dial/report_tiger_dial.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_tree/index.js b/server/api/report_tree/index.js
index fda5a29..83ba3da 100644
--- a/server/api/report_tree/index.js
+++ b/server/api/report_tree/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_tree/report_tree.controller.js b/server/api/report_tree/report_tree.controller.js
index d44677d..8bfd38e 100644
--- a/server/api/report_tree/report_tree.controller.js
+++ b/server/api/report_tree/report_tree.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_tree/report_tree.events.js b/server/api/report_tree/report_tree.events.js
index ebf9570..2012c4d 100644
--- a/server/api/report_tree/report_tree.events.js
+++ b/server/api/report_tree/report_tree.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/report_tree/report_tree.socket.js b/server/api/report_tree/report_tree.socket.js
index 64bc711..d027976 100644
--- a/server/api/report_tree/report_tree.socket.js
+++ b/server/api/report_tree/report_tree.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/salesforce_account/index.js b/server/api/salesforce_account/index.js
index 77f6415..26fbcfb 100644
--- a/server/api/salesforce_account/index.js
+++ b/server/api/salesforce_account/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/salesforce_account/salesforce_account.controller.js b/server/api/salesforce_account/salesforce_account.controller.js
index d98a158..c8e8e2a 100644
--- a/server/api/salesforce_account/salesforce_account.controller.js
+++ b/server/api/salesforce_account/salesforce_account.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/salesforce_account/salesforce_account.events.js b/server/api/salesforce_account/salesforce_account.events.js
index 843572e..1c51d06 100644
--- a/server/api/salesforce_account/salesforce_account.events.js
+++ b/server/api/salesforce_account/salesforce_account.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/salesforce_account/salesforce_account.socket.js b/server/api/salesforce_account/salesforce_account.socket.js
index dc22e30..35e415e 100644
--- a/server/api/salesforce_account/salesforce_account.socket.js
+++ b/server/api/salesforce_account/salesforce_account.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/salesforce_configuration/index.js b/server/api/salesforce_configuration/index.js
index fa8696d..c2b6f7c 100644
--- a/server/api/salesforce_configuration/index.js
+++ b/server/api/salesforce_configuration/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/salesforce_configuration/salesforce_configuration.controller.js b/server/api/salesforce_configuration/salesforce_configuration.controller.js
index 90b2924..c3790ae 100644
--- a/server/api/salesforce_configuration/salesforce_configuration.controller.js
+++ b/server/api/salesforce_configuration/salesforce_configuration.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/salesforce_configuration/salesforce_configuration.events.js b/server/api/salesforce_configuration/salesforce_configuration.events.js
index 4ad55e6..770eff2 100644
--- a/server/api/salesforce_configuration/salesforce_configuration.events.js
+++ b/server/api/salesforce_configuration/salesforce_configuration.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/salesforce_configuration/salesforce_configuration.socket.js b/server/api/salesforce_configuration/salesforce_configuration.socket.js
index e602112..9b1ba2d 100644
--- a/server/api/salesforce_configuration/salesforce_configuration.socket.js
+++ b/server/api/salesforce_configuration/salesforce_configuration.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/salesforce_field/index.js b/server/api/salesforce_field/index.js
index be0c624..c2efff4 100644
--- a/server/api/salesforce_field/index.js
+++ b/server/api/salesforce_field/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/salesforce_field/salesforce_field.controller.js b/server/api/salesforce_field/salesforce_field.controller.js
index cb893ae..a9762ae 100644
--- a/server/api/salesforce_field/salesforce_field.controller.js
+++ b/server/api/salesforce_field/salesforce_field.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/salesforce_field/salesforce_field.events.js b/server/api/salesforce_field/salesforce_field.events.js
index 7160e97..86c5ff9 100644
--- a/server/api/salesforce_field/salesforce_field.events.js
+++ b/server/api/salesforce_field/salesforce_field.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/salesforce_field/salesforce_field.socket.js b/server/api/salesforce_field/salesforce_field.socket.js
index aadf329..a5e1838 100644
--- a/server/api/salesforce_field/salesforce_field.socket.js
+++ b/server/api/salesforce_field/salesforce_field.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/scheduler/index.js b/server/api/scheduler/index.js
index 6935848..efefeed 100644
--- a/server/api/scheduler/index.js
+++ b/server/api/scheduler/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/scheduler/scheduler.controller.js b/server/api/scheduler/scheduler.controller.js
index 9727cd9..2f0b5e3 100644
--- a/server/api/scheduler/scheduler.controller.js
+++ b/server/api/scheduler/scheduler.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/scheduler/scheduler.events.js b/server/api/scheduler/scheduler.events.js
index 79c21d9..2fdc374 100644
--- a/server/api/scheduler/scheduler.events.js
+++ b/server/api/scheduler/scheduler.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/scheduler/scheduler.socket.js b/server/api/scheduler/scheduler.socket.js
index 75da227..26cd0dd 100644
--- a/server/api/scheduler/scheduler.socket.js
+++ b/server/api/scheduler/scheduler.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/setting/index.js b/server/api/setting/index.js
index 865917e..9437ddc 100644
--- a/server/api/setting/index.js
+++ b/server/api/setting/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/setting/setting.controller.js b/server/api/setting/setting.controller.js
index 6e7235c..14686f9 100644
--- a/server/api/setting/setting.controller.js
+++ b/server/api/setting/setting.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/setting/setting.events.js b/server/api/setting/setting.events.js
index 3061a68..cc1775d 100644
--- a/server/api/setting/setting.events.js
+++ b/server/api/setting/setting.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/setting/setting.socket.js b/server/api/setting/setting.socket.js
index ce6a4ee..3f2f736 100644
--- a/server/api/setting/setting.socket.js
+++ b/server/api/setting/setting.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sms_account/index.js b/server/api/sms_account/index.js
index 0bd5381..5ff4c2b 100644
--- a/server/api/sms_account/index.js
+++ b/server/api/sms_account/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sms_account/sms_account.controller.js b/server/api/sms_account/sms_account.controller.js
index 0cbf2e2..4db6ba1 100644
--- a/server/api/sms_account/sms_account.controller.js
+++ b/server/api/sms_account/sms_account.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sms_account/sms_account.events.js b/server/api/sms_account/sms_account.events.js
index 8ed7d2f..e8a3cfe 100644
--- a/server/api/sms_account/sms_account.events.js
+++ b/server/api/sms_account/sms_account.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sms_account/sms_account.socket.js b/server/api/sms_account/sms_account.socket.js
index f4b5196..9aee522 100644
--- a/server/api/sms_account/sms_account.socket.js
+++ b/server/api/sms_account/sms_account.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sms_application/index.js b/server/api/sms_application/index.js
index bf566c2..8bc1dd6 100644
--- a/server/api/sms_application/index.js
+++ b/server/api/sms_application/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sms_application/sms_application.controller.js b/server/api/sms_application/sms_application.controller.js
index 2a7bce7..dbd82b0 100644
--- a/server/api/sms_application/sms_application.controller.js
+++ b/server/api/sms_application/sms_application.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sms_application/sms_application.events.js b/server/api/sms_application/sms_application.events.js
index 41ae227..660636b 100644
--- a/server/api/sms_application/sms_application.events.js
+++ b/server/api/sms_application/sms_application.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sms_application/sms_application.socket.js b/server/api/sms_application/sms_application.socket.js
index d01e0d7..9183cca 100644
--- a/server/api/sms_application/sms_application.socket.js
+++ b/server/api/sms_application/sms_application.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sms_disposition/index.js b/server/api/sms_disposition/index.js
index 1c4b039..ca7ee5c 100644
--- a/server/api/sms_disposition/index.js
+++ b/server/api/sms_disposition/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sms_disposition/sms_disposition.controller.js b/server/api/sms_disposition/sms_disposition.controller.js
index b6ff224..7916720 100644
--- a/server/api/sms_disposition/sms_disposition.controller.js
+++ b/server/api/sms_disposition/sms_disposition.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sms_disposition/sms_disposition.events.js b/server/api/sms_disposition/sms_disposition.events.js
index e499891..ce9397b 100644
--- a/server/api/sms_disposition/sms_disposition.events.js
+++ b/server/api/sms_disposition/sms_disposition.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sms_disposition/sms_disposition.socket.js b/server/api/sms_disposition/sms_disposition.socket.js
index 58f866f..870a8a1 100644
--- a/server/api/sms_disposition/sms_disposition.socket.js
+++ b/server/api/sms_disposition/sms_disposition.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sms_message/index.js b/server/api/sms_message/index.js
index 0ccfe3b..5d450f9 100644
--- a/server/api/sms_message/index.js
+++ b/server/api/sms_message/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sms_message/sms_message.controller.js b/server/api/sms_message/sms_message.controller.js
index d5745e6..85850b9 100644
--- a/server/api/sms_message/sms_message.controller.js
+++ b/server/api/sms_message/sms_message.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sms_message/sms_message.events.js b/server/api/sms_message/sms_message.events.js
index 3f57e2f..3217962 100644
--- a/server/api/sms_message/sms_message.events.js
+++ b/server/api/sms_message/sms_message.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sms_message/sms_message.socket.js b/server/api/sms_message/sms_message.socket.js
index 48829df..5268f4d 100644
--- a/server/api/sms_message/sms_message.socket.js
+++ b/server/api/sms_message/sms_message.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sms_queue/index.js b/server/api/sms_queue/index.js
index 7e95359..d4ddea8 100644
--- a/server/api/sms_queue/index.js
+++ b/server/api/sms_queue/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sms_queue/sms_queue.controller.js b/server/api/sms_queue/sms_queue.controller.js
index 019a3e0..b5c2cdf 100644
--- a/server/api/sms_queue/sms_queue.controller.js
+++ b/server/api/sms_queue/sms_queue.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sms_queue/sms_queue.events.js b/server/api/sms_queue/sms_queue.events.js
index 7ae37e5..1e84afd 100644
--- a/server/api/sms_queue/sms_queue.events.js
+++ b/server/api/sms_queue/sms_queue.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sms_queue/sms_queue.socket.js b/server/api/sms_queue/sms_queue.socket.js
index f9b3697..6cd8bdf 100644
--- a/server/api/sms_queue/sms_queue.socket.js
+++ b/server/api/sms_queue/sms_queue.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sms_room/index.js b/server/api/sms_room/index.js
index 0da5b26..a4ec467 100644
--- a/server/api/sms_room/index.js
+++ b/server/api/sms_room/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sms_room/sms_room.controller.js b/server/api/sms_room/sms_room.controller.js
index 746a89c..17bda82 100644
--- a/server/api/sms_room/sms_room.controller.js
+++ b/server/api/sms_room/sms_room.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sms_room/sms_room.events.js b/server/api/sms_room/sms_room.events.js
index cd34f19..7fdfd5e 100644
--- a/server/api/sms_room/sms_room.events.js
+++ b/server/api/sms_room/sms_room.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sms_room/sms_room.socket.js b/server/api/sms_room/sms_room.socket.js
index e254fc5..9baf430 100644
--- a/server/api/sms_room/sms_room.socket.js
+++ b/server/api/sms_room/sms_room.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sound/index.js b/server/api/sound/index.js
index 48210d8..d468025 100644
--- a/server/api/sound/index.js
+++ b/server/api/sound/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sound/sound.controller.js b/server/api/sound/sound.controller.js
index 251bec1..bbc2774 100644
--- a/server/api/sound/sound.controller.js
+++ b/server/api/sound/sound.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sound/sound.events.js b/server/api/sound/sound.events.js
index 5761ee8..d9f7880 100644
--- a/server/api/sound/sound.events.js
+++ b/server/api/sound/sound.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sound/sound.socket.js b/server/api/sound/sound.socket.js
index 0bc3fff..15e4ce8 100644
--- a/server/api/sound/sound.socket.js
+++ b/server/api/sound/sound.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/square_odbc/index.js b/server/api/square_odbc/index.js
index debce3a..4b2febd 100644
--- a/server/api/square_odbc/index.js
+++ b/server/api/square_odbc/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/square_odbc/square_odbc.controller.js b/server/api/square_odbc/square_odbc.controller.js
index 10b55c8..c915434 100644
--- a/server/api/square_odbc/square_odbc.controller.js
+++ b/server/api/square_odbc/square_odbc.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/square_odbc/square_odbc.events.js b/server/api/square_odbc/square_odbc.events.js
index 073636c..3e79acc 100644
--- a/server/api/square_odbc/square_odbc.events.js
+++ b/server/api/square_odbc/square_odbc.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/square_odbc/square_odbc.socket.js b/server/api/square_odbc/square_odbc.socket.js
index 8083a7c..3896191 100644
--- a/server/api/square_odbc/square_odbc.socket.js
+++ b/server/api/square_odbc/square_odbc.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/square_project/index.js b/server/api/square_project/index.js
index e2b2c6d..d40f1fd 100644
--- a/server/api/square_project/index.js
+++ b/server/api/square_project/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/square_project/square_project.controller.js b/server/api/square_project/square_project.controller.js
index 981a079..afc5e25 100644
--- a/server/api/square_project/square_project.controller.js
+++ b/server/api/square_project/square_project.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/square_project/square_project.events.js b/server/api/square_project/square_project.events.js
index 55b414d..54ca62e 100644
--- a/server/api/square_project/square_project.events.js
+++ b/server/api/square_project/square_project.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/square_project/square_project.socket.js b/server/api/square_project/square_project.socket.js
index 0fbfede..cad74dc 100644
--- a/server/api/square_project/square_project.socket.js
+++ b/server/api/square_project/square_project.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/square_recording/index.js b/server/api/square_recording/index.js
index bde57ad..bc4d2aa 100644
--- a/server/api/square_recording/index.js
+++ b/server/api/square_recording/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/square_recording/square_recording.controller.js b/server/api/square_recording/square_recording.controller.js
index 68b5666..454c978 100644
--- a/server/api/square_recording/square_recording.controller.js
+++ b/server/api/square_recording/square_recording.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/square_recording/square_recording.events.js b/server/api/square_recording/square_recording.events.js
index 913776e..688dfec 100644
--- a/server/api/square_recording/square_recording.events.js
+++ b/server/api/square_recording/square_recording.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/square_recording/square_recording.socket.js b/server/api/square_recording/square_recording.socket.js
index a522d3c..5190848 100644
--- a/server/api/square_recording/square_recording.socket.js
+++ b/server/api/square_recording/square_recording.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sugarcrm_account/index.js b/server/api/sugarcrm_account/index.js
index fed82f8..da3544f 100644
--- a/server/api/sugarcrm_account/index.js
+++ b/server/api/sugarcrm_account/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sugarcrm_account/sugarcrm_account.controller.js b/server/api/sugarcrm_account/sugarcrm_account.controller.js
index ae81d67..1954022 100644
--- a/server/api/sugarcrm_account/sugarcrm_account.controller.js
+++ b/server/api/sugarcrm_account/sugarcrm_account.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sugarcrm_account/sugarcrm_account.events.js b/server/api/sugarcrm_account/sugarcrm_account.events.js
index c77ce7a..a5f9637 100644
--- a/server/api/sugarcrm_account/sugarcrm_account.events.js
+++ b/server/api/sugarcrm_account/sugarcrm_account.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sugarcrm_account/sugarcrm_account.socket.js b/server/api/sugarcrm_account/sugarcrm_account.socket.js
index d4b4f66..c1e566d 100644
--- a/server/api/sugarcrm_account/sugarcrm_account.socket.js
+++ b/server/api/sugarcrm_account/sugarcrm_account.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sugarcrm_configuration/index.js b/server/api/sugarcrm_configuration/index.js
index 2b76eb8..877f6e7 100644
--- a/server/api/sugarcrm_configuration/index.js
+++ b/server/api/sugarcrm_configuration/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sugarcrm_configuration/sugarcrm_configuration.controller.js b/server/api/sugarcrm_configuration/sugarcrm_configuration.controller.js
index 2563917..a4154c1 100644
--- a/server/api/sugarcrm_configuration/sugarcrm_configuration.controller.js
+++ b/server/api/sugarcrm_configuration/sugarcrm_configuration.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sugarcrm_configuration/sugarcrm_configuration.events.js b/server/api/sugarcrm_configuration/sugarcrm_configuration.events.js
index 353871a..472d59b 100644
--- a/server/api/sugarcrm_configuration/sugarcrm_configuration.events.js
+++ b/server/api/sugarcrm_configuration/sugarcrm_configuration.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sugarcrm_configuration/sugarcrm_configuration.socket.js b/server/api/sugarcrm_configuration/sugarcrm_configuration.socket.js
index e76293c..d2f0084 100644
--- a/server/api/sugarcrm_configuration/sugarcrm_configuration.socket.js
+++ b/server/api/sugarcrm_configuration/sugarcrm_configuration.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sugarcrm_field/index.js b/server/api/sugarcrm_field/index.js
index 24cbfb7..ca3ed5e 100644
--- a/server/api/sugarcrm_field/index.js
+++ b/server/api/sugarcrm_field/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sugarcrm_field/sugarcrm_field.controller.js b/server/api/sugarcrm_field/sugarcrm_field.controller.js
index dfd19d7..e95b30d 100644
--- a/server/api/sugarcrm_field/sugarcrm_field.controller.js
+++ b/server/api/sugarcrm_field/sugarcrm_field.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sugarcrm_field/sugarcrm_field.events.js b/server/api/sugarcrm_field/sugarcrm_field.events.js
index 90e4a48..c6cf919 100644
--- a/server/api/sugarcrm_field/sugarcrm_field.events.js
+++ b/server/api/sugarcrm_field/sugarcrm_field.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/sugarcrm_field/sugarcrm_field.socket.js b/server/api/sugarcrm_field/sugarcrm_field.socket.js
index 628ad0e..a326326 100644
--- a/server/api/sugarcrm_field/sugarcrm_field.socket.js
+++ b/server/api/sugarcrm_field/sugarcrm_field.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/tag/index.js b/server/api/tag/index.js
index a70ec26..daac08e 100644
--- a/server/api/tag/index.js
+++ b/server/api/tag/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/tag/tag.controller.js b/server/api/tag/tag.controller.js
index ed06459..e2623bb 100644
--- a/server/api/tag/tag.controller.js
+++ b/server/api/tag/tag.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/tag/tag.events.js b/server/api/tag/tag.events.js
index 182f6d8..1c3011d 100644
--- a/server/api/tag/tag.events.js
+++ b/server/api/tag/tag.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/tag/tag.socket.js b/server/api/tag/tag.socket.js
index 97b3e2e..e71bc84 100644
--- a/server/api/tag/tag.socket.js
+++ b/server/api/tag/tag.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/team/index.js b/server/api/team/index.js
index f2f7316..f82a93b 100644
--- a/server/api/team/index.js
+++ b/server/api/team/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/team/team.controller.js b/server/api/team/team.controller.js
index 7e9c693..0c4cab1 100644
--- a/server/api/team/team.controller.js
+++ b/server/api/team/team.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/team/team.events.js b/server/api/team/team.events.js
index 354263b..9a8d16b 100644
--- a/server/api/team/team.events.js
+++ b/server/api/team/team.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/team/team.socket.js b/server/api/team/team.socket.js
index c101f74..f0cd336 100644
--- a/server/api/team/team.socket.js
+++ b/server/api/team/team.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/telephone/index.js b/server/api/telephone/index.js
index f64b42a..389786f 100644
--- a/server/api/telephone/index.js
+++ b/server/api/telephone/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/telephone/telephone.controller.js b/server/api/telephone/telephone.controller.js
index fd607ce..2591d50 100644
--- a/server/api/telephone/telephone.controller.js
+++ b/server/api/telephone/telephone.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/telephone/telephone.events.js b/server/api/telephone/telephone.events.js
index a9198c7..adb0acf 100644
--- a/server/api/telephone/telephone.events.js
+++ b/server/api/telephone/telephone.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/telephone/telephone.socket.js b/server/api/telephone/telephone.socket.js
index 00d5e60..7e0e460 100644
--- a/server/api/telephone/telephone.socket.js
+++ b/server/api/telephone/telephone.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/template/index.js b/server/api/template/index.js
index b742342..e06bd30 100644
--- a/server/api/template/index.js
+++ b/server/api/template/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/template/template.controller.js b/server/api/template/template.controller.js
index 699b16f..a7319f8 100644
--- a/server/api/template/template.controller.js
+++ b/server/api/template/template.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/template/template.events.js b/server/api/template/template.events.js
index beddd68..3ca8b7e 100644
--- a/server/api/template/template.events.js
+++ b/server/api/template/template.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/template/template.socket.js b/server/api/template/template.socket.js
index 9c3d4c3..9a9826b 100644
--- a/server/api/template/template.socket.js
+++ b/server/api/template/template.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/trigger/index.js b/server/api/trigger/index.js
index 1adee9b..274f942 100644
--- a/server/api/trigger/index.js
+++ b/server/api/trigger/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/trigger/trigger.controller.js b/server/api/trigger/trigger.controller.js
index 2352916..76b5f20 100644
--- a/server/api/trigger/trigger.controller.js
+++ b/server/api/trigger/trigger.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/trigger/trigger.events.js b/server/api/trigger/trigger.events.js
index 23831c8..ef793c4 100644
--- a/server/api/trigger/trigger.events.js
+++ b/server/api/trigger/trigger.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/trigger/trigger.socket.js b/server/api/trigger/trigger.socket.js
index 8bd8fda..87e6153 100644
--- a/server/api/trigger/trigger.socket.js
+++ b/server/api/trigger/trigger.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/trunk/index.js b/server/api/trunk/index.js
index 284a181..ea843af 100644
--- a/server/api/trunk/index.js
+++ b/server/api/trunk/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/trunk/trunk.controller.js b/server/api/trunk/trunk.controller.js
index 7298849..d91eed9 100644
--- a/server/api/trunk/trunk.controller.js
+++ b/server/api/trunk/trunk.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/trunk/trunk.events.js b/server/api/trunk/trunk.events.js
index eadcf3b..913f9fd 100644
--- a/server/api/trunk/trunk.events.js
+++ b/server/api/trunk/trunk.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/trunk/trunk.socket.js b/server/api/trunk/trunk.socket.js
index 6bc1480..5e2a3e2 100644
--- a/server/api/trunk/trunk.socket.js
+++ b/server/api/trunk/trunk.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/update/index.js b/server/api/update/index.js
index 644de49..e1735a9 100644
--- a/server/api/update/index.js
+++ b/server/api/update/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/update/update.controller.js b/server/api/update/update.controller.js
index 0287c07..6d12667 100644
--- a/server/api/update/update.controller.js
+++ b/server/api/update/update.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user/index.js b/server/api/user/index.js
index f0a551e..56a5577 100644
--- a/server/api/user/index.js
+++ b/server/api/user/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user/user.controller.js b/server/api/user/user.controller.js
index c145048..8cc3ac1 100644
--- a/server/api/user/user.controller.js
+++ b/server/api/user/user.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user/user.events.js b/server/api/user/user.events.js
index d9e28af..beacb51 100644
--- a/server/api/user/user.events.js
+++ b/server/api/user/user.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user/user.socket.js b/server/api/user/user.socket.js
index 5a22bff..fca580b 100644
--- a/server/api/user/user.socket.js
+++ b/server/api/user/user.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_chat_queue/index.js b/server/api/user_has_chat_queue/index.js
index 7192579..9408edd 100644
--- a/server/api/user_has_chat_queue/index.js
+++ b/server/api/user_has_chat_queue/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_chat_queue/user_has_chat_queue.controller.js b/server/api/user_has_chat_queue/user_has_chat_queue.controller.js
index 9c17f6e..6718692 100644
--- a/server/api/user_has_chat_queue/user_has_chat_queue.controller.js
+++ b/server/api/user_has_chat_queue/user_has_chat_queue.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_chat_queue/user_has_chat_queue.events.js b/server/api/user_has_chat_queue/user_has_chat_queue.events.js
index 4e001e2..8428ff9 100644
--- a/server/api/user_has_chat_queue/user_has_chat_queue.events.js
+++ b/server/api/user_has_chat_queue/user_has_chat_queue.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_chat_queue/user_has_chat_queue.socket.js b/server/api/user_has_chat_queue/user_has_chat_queue.socket.js
index 3b76022..05d13a8 100644
--- a/server/api/user_has_chat_queue/user_has_chat_queue.socket.js
+++ b/server/api/user_has_chat_queue/user_has_chat_queue.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_chat_queue/user_has_chat_queue_permit.events.js b/server/api/user_has_chat_queue/user_has_chat_queue_permit.events.js
index d834994..6870835 100644
--- a/server/api/user_has_chat_queue/user_has_chat_queue_permit.events.js
+++ b/server/api/user_has_chat_queue/user_has_chat_queue_permit.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_chat_queue/user_has_chat_queue_permit.socket.js b/server/api/user_has_chat_queue/user_has_chat_queue_permit.socket.js
index 7722476..f9395ae 100644
--- a/server/api/user_has_chat_queue/user_has_chat_queue_permit.socket.js
+++ b/server/api/user_has_chat_queue/user_has_chat_queue_permit.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_chat_room/index.js b/server/api/user_has_chat_room/index.js
index 43d2559..9e58976 100644
--- a/server/api/user_has_chat_room/index.js
+++ b/server/api/user_has_chat_room/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_chat_room/user_has_chat_room.controller.js b/server/api/user_has_chat_room/user_has_chat_room.controller.js
index 44a7fd7..c9d3f45 100644
--- a/server/api/user_has_chat_room/user_has_chat_room.controller.js
+++ b/server/api/user_has_chat_room/user_has_chat_room.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_chat_room/user_has_chat_room.events.js b/server/api/user_has_chat_room/user_has_chat_room.events.js
index b1a26e3..f40e4cd 100644
--- a/server/api/user_has_chat_room/user_has_chat_room.events.js
+++ b/server/api/user_has_chat_room/user_has_chat_room.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_chat_room/user_has_chat_room.socket.js b/server/api/user_has_chat_room/user_has_chat_room.socket.js
index 3c95d03..f91b2cb 100644
--- a/server/api/user_has_chat_room/user_has_chat_room.socket.js
+++ b/server/api/user_has_chat_room/user_has_chat_room.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_fax_queue/index.js b/server/api/user_has_fax_queue/index.js
index 21ead81..a8a7b87 100644
--- a/server/api/user_has_fax_queue/index.js
+++ b/server/api/user_has_fax_queue/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_fax_queue/user_has_fax_queue.controller.js b/server/api/user_has_fax_queue/user_has_fax_queue.controller.js
index c5827a3..42a469d 100644
--- a/server/api/user_has_fax_queue/user_has_fax_queue.controller.js
+++ b/server/api/user_has_fax_queue/user_has_fax_queue.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_fax_queue/user_has_fax_queue.events.js b/server/api/user_has_fax_queue/user_has_fax_queue.events.js
index d97cc0a..0ff7b55 100644
--- a/server/api/user_has_fax_queue/user_has_fax_queue.events.js
+++ b/server/api/user_has_fax_queue/user_has_fax_queue.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_fax_queue/user_has_fax_queue.socket.js b/server/api/user_has_fax_queue/user_has_fax_queue.socket.js
index f70dfe5..4b34291 100644
--- a/server/api/user_has_fax_queue/user_has_fax_queue.socket.js
+++ b/server/api/user_has_fax_queue/user_has_fax_queue.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_fax_queue/user_has_fax_queue_permit.events.js b/server/api/user_has_fax_queue/user_has_fax_queue_permit.events.js
index 5b165be..eb676c8 100644
--- a/server/api/user_has_fax_queue/user_has_fax_queue_permit.events.js
+++ b/server/api/user_has_fax_queue/user_has_fax_queue_permit.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_fax_queue/user_has_fax_queue_permit.socket.js b/server/api/user_has_fax_queue/user_has_fax_queue_permit.socket.js
index a06b652..e6902c1 100644
--- a/server/api/user_has_fax_queue/user_has_fax_queue_permit.socket.js
+++ b/server/api/user_has_fax_queue/user_has_fax_queue_permit.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_list/index.js b/server/api/user_has_list/index.js
index a9f2b61..3e7f12f 100644
--- a/server/api/user_has_list/index.js
+++ b/server/api/user_has_list/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_list/user_has_list.controller.js b/server/api/user_has_list/user_has_list.controller.js
index d7e20eb..fa8d519 100644
--- a/server/api/user_has_list/user_has_list.controller.js
+++ b/server/api/user_has_list/user_has_list.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_list/user_has_list.events.js b/server/api/user_has_list/user_has_list.events.js
index 717b54a..0e952e8 100644
--- a/server/api/user_has_list/user_has_list.events.js
+++ b/server/api/user_has_list/user_has_list.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_list/user_has_list.socket.js b/server/api/user_has_list/user_has_list.socket.js
index 90c607a..5450144 100644
--- a/server/api/user_has_list/user_has_list.socket.js
+++ b/server/api/user_has_list/user_has_list.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_mail_queue/index.js b/server/api/user_has_mail_queue/index.js
index 5ca3354..17097c6 100644
--- a/server/api/user_has_mail_queue/index.js
+++ b/server/api/user_has_mail_queue/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_mail_queue/user_has_mail_queue.controller.js b/server/api/user_has_mail_queue/user_has_mail_queue.controller.js
index 1d96ee8..d2ef143 100644
--- a/server/api/user_has_mail_queue/user_has_mail_queue.controller.js
+++ b/server/api/user_has_mail_queue/user_has_mail_queue.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_mail_queue/user_has_mail_queue.events.js b/server/api/user_has_mail_queue/user_has_mail_queue.events.js
index 4129e53..25582f5 100644
--- a/server/api/user_has_mail_queue/user_has_mail_queue.events.js
+++ b/server/api/user_has_mail_queue/user_has_mail_queue.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_mail_queue/user_has_mail_queue.socket.js b/server/api/user_has_mail_queue/user_has_mail_queue.socket.js
index a08af63..febfa2d 100644
--- a/server/api/user_has_mail_queue/user_has_mail_queue.socket.js
+++ b/server/api/user_has_mail_queue/user_has_mail_queue.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_mail_queue/user_has_mail_queue_permit.events.js b/server/api/user_has_mail_queue/user_has_mail_queue_permit.events.js
index d162fcb..6cb39dd 100644
--- a/server/api/user_has_mail_queue/user_has_mail_queue_permit.events.js
+++ b/server/api/user_has_mail_queue/user_has_mail_queue_permit.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_mail_queue/user_has_mail_queue_permit.socket.js b/server/api/user_has_mail_queue/user_has_mail_queue_permit.socket.js
index ad665bd..fae5103 100644
--- a/server/api/user_has_mail_queue/user_has_mail_queue_permit.socket.js
+++ b/server/api/user_has_mail_queue/user_has_mail_queue_permit.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_openchannel_queue/index.js b/server/api/user_has_openchannel_queue/index.js
index cf10e3e..a054205 100644
--- a/server/api/user_has_openchannel_queue/index.js
+++ b/server/api/user_has_openchannel_queue/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_openchannel_queue/user_has_openchannel_queue.controller.js b/server/api/user_has_openchannel_queue/user_has_openchannel_queue.controller.js
index e79acc2..ca08719 100644
--- a/server/api/user_has_openchannel_queue/user_has_openchannel_queue.controller.js
+++ b/server/api/user_has_openchannel_queue/user_has_openchannel_queue.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_openchannel_queue/user_has_openchannel_queue.events.js b/server/api/user_has_openchannel_queue/user_has_openchannel_queue.events.js
index c4e7a5b..4029f69 100644
--- a/server/api/user_has_openchannel_queue/user_has_openchannel_queue.events.js
+++ b/server/api/user_has_openchannel_queue/user_has_openchannel_queue.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_openchannel_queue/user_has_openchannel_queue.socket.js b/server/api/user_has_openchannel_queue/user_has_openchannel_queue.socket.js
index 714e258..2da8b53 100644
--- a/server/api/user_has_openchannel_queue/user_has_openchannel_queue.socket.js
+++ b/server/api/user_has_openchannel_queue/user_has_openchannel_queue.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_openchannel_queue/user_has_openchannel_queue_permit.events.js b/server/api/user_has_openchannel_queue/user_has_openchannel_queue_permit.events.js
index be76f7e..5d62299 100644
--- a/server/api/user_has_openchannel_queue/user_has_openchannel_queue_permit.events.js
+++ b/server/api/user_has_openchannel_queue/user_has_openchannel_queue_permit.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_openchannel_queue/user_has_openchannel_queue_permit.socket.js b/server/api/user_has_openchannel_queue/user_has_openchannel_queue_permit.socket.js
index 413fec8..aaaa6b8 100644
--- a/server/api/user_has_openchannel_queue/user_has_openchannel_queue_permit.socket.js
+++ b/server/api/user_has_openchannel_queue/user_has_openchannel_queue_permit.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_sms_queue/index.js b/server/api/user_has_sms_queue/index.js
index f501383..ee9c702 100644
--- a/server/api/user_has_sms_queue/index.js
+++ b/server/api/user_has_sms_queue/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_sms_queue/user_has_sms_queue.controller.js b/server/api/user_has_sms_queue/user_has_sms_queue.controller.js
index f154bc2..e289e42 100644
--- a/server/api/user_has_sms_queue/user_has_sms_queue.controller.js
+++ b/server/api/user_has_sms_queue/user_has_sms_queue.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_sms_queue/user_has_sms_queue.events.js b/server/api/user_has_sms_queue/user_has_sms_queue.events.js
index c137c0b..4249637 100644
--- a/server/api/user_has_sms_queue/user_has_sms_queue.events.js
+++ b/server/api/user_has_sms_queue/user_has_sms_queue.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_sms_queue/user_has_sms_queue.socket.js b/server/api/user_has_sms_queue/user_has_sms_queue.socket.js
index d2b0c8e..b388bdf 100644
--- a/server/api/user_has_sms_queue/user_has_sms_queue.socket.js
+++ b/server/api/user_has_sms_queue/user_has_sms_queue.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_sms_queue/user_has_sms_queue_permit.events.js b/server/api/user_has_sms_queue/user_has_sms_queue_permit.events.js
index 5b46bae..a588335 100644
--- a/server/api/user_has_sms_queue/user_has_sms_queue_permit.events.js
+++ b/server/api/user_has_sms_queue/user_has_sms_queue_permit.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_sms_queue/user_has_sms_queue_permit.socket.js b/server/api/user_has_sms_queue/user_has_sms_queue_permit.socket.js
index e63a390..8a04058 100644
--- a/server/api/user_has_sms_queue/user_has_sms_queue_permit.socket.js
+++ b/server/api/user_has_sms_queue/user_has_sms_queue_permit.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_team/index.js b/server/api/user_has_team/index.js
index 5e42e3c..afa342e 100644
--- a/server/api/user_has_team/index.js
+++ b/server/api/user_has_team/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_team/user_has_team.controller.js b/server/api/user_has_team/user_has_team.controller.js
index d3fecf0..4ba0129 100644
--- a/server/api/user_has_team/user_has_team.controller.js
+++ b/server/api/user_has_team/user_has_team.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_team/user_has_team.events.js b/server/api/user_has_team/user_has_team.events.js
index f1db667..f4847f1 100644
--- a/server/api/user_has_team/user_has_team.events.js
+++ b/server/api/user_has_team/user_has_team.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_team/user_has_team.socket.js b/server/api/user_has_team/user_has_team.socket.js
index 0ae2f0d..a50bb3a 100644
--- a/server/api/user_has_team/user_has_team.socket.js
+++ b/server/api/user_has_team/user_has_team.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_voice_queue/index.js b/server/api/user_has_voice_queue/index.js
index 043a658..98106b1 100644
--- a/server/api/user_has_voice_queue/index.js
+++ b/server/api/user_has_voice_queue/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_voice_queue/user_has_voice_queue.controller.js b/server/api/user_has_voice_queue/user_has_voice_queue.controller.js
index 7b23932..19286b9 100644
--- a/server/api/user_has_voice_queue/user_has_voice_queue.controller.js
+++ b/server/api/user_has_voice_queue/user_has_voice_queue.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_voice_queue/user_has_voice_queue.events.js b/server/api/user_has_voice_queue/user_has_voice_queue.events.js
index 936aa0c..dc169d8 100644
--- a/server/api/user_has_voice_queue/user_has_voice_queue.events.js
+++ b/server/api/user_has_voice_queue/user_has_voice_queue.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_voice_queue/user_has_voice_queue.socket.js b/server/api/user_has_voice_queue/user_has_voice_queue.socket.js
index b2eb0ba..76f3ea8 100644
--- a/server/api/user_has_voice_queue/user_has_voice_queue.socket.js
+++ b/server/api/user_has_voice_queue/user_has_voice_queue.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_voice_queue/user_has_voice_queue_permit.events.js b/server/api/user_has_voice_queue/user_has_voice_queue_permit.events.js
index db68dcf..2657181 100644
--- a/server/api/user_has_voice_queue/user_has_voice_queue_permit.events.js
+++ b/server/api/user_has_voice_queue/user_has_voice_queue_permit.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/user_has_voice_queue/user_has_voice_queue_permit.socket.js b/server/api/user_has_voice_queue/user_has_voice_queue_permit.socket.js
index 4dd8650..cf4c9f9 100644
--- a/server/api/user_has_voice_queue/user_has_voice_queue_permit.socket.js
+++ b/server/api/user_has_voice_queue/user_has_voice_queue_permit.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/variable/index.js b/server/api/variable/index.js
index 1c84829..8e95d7a 100644
--- a/server/api/variable/index.js
+++ b/server/api/variable/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/variable/variable.controller.js b/server/api/variable/variable.controller.js
index f4f21c4..f626b5c 100644
--- a/server/api/variable/variable.controller.js
+++ b/server/api/variable/variable.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/variable/variable.events.js b/server/api/variable/variable.events.js
index b8c2371..171d15a 100644
--- a/server/api/variable/variable.events.js
+++ b/server/api/variable/variable.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/variable/variable.socket.js b/server/api/variable/variable.socket.js
index c4be525..22ab1aa 100644
--- a/server/api/variable/variable.socket.js
+++ b/server/api/variable/variable.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/version/index.js b/server/api/version/index.js
index 16a844e..c7de528 100644
--- a/server/api/version/index.js
+++ b/server/api/version/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/version/version.controller.js b/server/api/version/version.controller.js
index bc2ca79..0f5bb0e 100644
--- a/server/api/version/version.controller.js
+++ b/server/api/version/version.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_context/index.js b/server/api/voice_context/index.js
index d66d2c6..1c6a008 100644
--- a/server/api/voice_context/index.js
+++ b/server/api/voice_context/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_context/voice_context.controller.js b/server/api/voice_context/voice_context.controller.js
index 95dc7eb..712019f 100644
--- a/server/api/voice_context/voice_context.controller.js
+++ b/server/api/voice_context/voice_context.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_context/voice_context.events.js b/server/api/voice_context/voice_context.events.js
index 9ab8acf..56f20a1 100644
--- a/server/api/voice_context/voice_context.events.js
+++ b/server/api/voice_context/voice_context.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_context/voice_context.socket.js b/server/api/voice_context/voice_context.socket.js
index 8a2ff87..7faa5b1 100644
--- a/server/api/voice_context/voice_context.socket.js
+++ b/server/api/voice_context/voice_context.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_disposition/index.js b/server/api/voice_disposition/index.js
index 1498f68..5eb2730 100644
--- a/server/api/voice_disposition/index.js
+++ b/server/api/voice_disposition/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_disposition/voice_disposition.controller.js b/server/api/voice_disposition/voice_disposition.controller.js
index 3686118..d83f234 100644
--- a/server/api/voice_disposition/voice_disposition.controller.js
+++ b/server/api/voice_disposition/voice_disposition.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_disposition/voice_disposition.events.js b/server/api/voice_disposition/voice_disposition.events.js
index e6cf983..b652f5a 100644
--- a/server/api/voice_disposition/voice_disposition.events.js
+++ b/server/api/voice_disposition/voice_disposition.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_disposition/voice_disposition.socket.js b/server/api/voice_disposition/voice_disposition.socket.js
index 31ba407..adb4185 100644
--- a/server/api/voice_disposition/voice_disposition.socket.js
+++ b/server/api/voice_disposition/voice_disposition.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_extension/index.js b/server/api/voice_extension/index.js
index 9ec2ab6..2b76610 100644
--- a/server/api/voice_extension/index.js
+++ b/server/api/voice_extension/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_extension/voice_extension.controller.js b/server/api/voice_extension/voice_extension.controller.js
index 5760c5e..ca445aa 100644
--- a/server/api/voice_extension/voice_extension.controller.js
+++ b/server/api/voice_extension/voice_extension.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_extension/voice_extension.events.js b/server/api/voice_extension/voice_extension.events.js
index e00ed5e..e37b864 100644
--- a/server/api/voice_extension/voice_extension.events.js
+++ b/server/api/voice_extension/voice_extension.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_extension/voice_extension.socket.js b/server/api/voice_extension/voice_extension.socket.js
index 0ac94d5..98d34a2 100644
--- a/server/api/voice_extension/voice_extension.socket.js
+++ b/server/api/voice_extension/voice_extension.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_musiconhold/index.js b/server/api/voice_musiconhold/index.js
index 2cc5152..c8760ab 100644
--- a/server/api/voice_musiconhold/index.js
+++ b/server/api/voice_musiconhold/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_musiconhold/voice_musiconhold.controller.js b/server/api/voice_musiconhold/voice_musiconhold.controller.js
index 9a38dd6..8f72d1b 100644
--- a/server/api/voice_musiconhold/voice_musiconhold.controller.js
+++ b/server/api/voice_musiconhold/voice_musiconhold.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_musiconhold/voice_musiconhold.events.js b/server/api/voice_musiconhold/voice_musiconhold.events.js
index 8abbd00..c34dfc3 100644
--- a/server/api/voice_musiconhold/voice_musiconhold.events.js
+++ b/server/api/voice_musiconhold/voice_musiconhold.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_musiconhold/voice_musiconhold.socket.js b/server/api/voice_musiconhold/voice_musiconhold.socket.js
index 5f0f67f..c303ad2 100644
--- a/server/api/voice_musiconhold/voice_musiconhold.socket.js
+++ b/server/api/voice_musiconhold/voice_musiconhold.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_queue/index.js b/server/api/voice_queue/index.js
index 6b3f14e..2c4cab5 100644
--- a/server/api/voice_queue/index.js
+++ b/server/api/voice_queue/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_queue/voice_queue.controller.js b/server/api/voice_queue/voice_queue.controller.js
index c0dfdf9..4c2538a 100644
--- a/server/api/voice_queue/voice_queue.controller.js
+++ b/server/api/voice_queue/voice_queue.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_queue/voice_queue.events.js b/server/api/voice_queue/voice_queue.events.js
index 3a7ea76..80dad76 100644
--- a/server/api/voice_queue/voice_queue.events.js
+++ b/server/api/voice_queue/voice_queue.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_queue/voice_queue.socket.js b/server/api/voice_queue/voice_queue.socket.js
index 673d14f..e8df3de 100644
--- a/server/api/voice_queue/voice_queue.socket.js
+++ b/server/api/voice_queue/voice_queue.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_recording/index.js b/server/api/voice_recording/index.js
index 17e9d4f..f0536a4 100644
--- a/server/api/voice_recording/index.js
+++ b/server/api/voice_recording/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_recording/voice_recording.controller.js b/server/api/voice_recording/voice_recording.controller.js
index 9f97fa8..4e92976 100644
--- a/server/api/voice_recording/voice_recording.controller.js
+++ b/server/api/voice_recording/voice_recording.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_recording/voice_recording.events.js b/server/api/voice_recording/voice_recording.events.js
index ad6fcb1..9ba2027 100644
--- a/server/api/voice_recording/voice_recording.events.js
+++ b/server/api/voice_recording/voice_recording.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_recording/voice_recording.socket.js b/server/api/voice_recording/voice_recording.socket.js
index a33446c..e34dbc2 100644
--- a/server/api/voice_recording/voice_recording.socket.js
+++ b/server/api/voice_recording/voice_recording.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_voicemail/index.js b/server/api/voice_voicemail/index.js
index 6b9e12d..66e7e12 100644
--- a/server/api/voice_voicemail/index.js
+++ b/server/api/voice_voicemail/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_voicemail/voice_voicemail.controller.js b/server/api/voice_voicemail/voice_voicemail.controller.js
index 8d41717..2efc671 100644
--- a/server/api/voice_voicemail/voice_voicemail.controller.js
+++ b/server/api/voice_voicemail/voice_voicemail.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_voicemail/voice_voicemail.events.js b/server/api/voice_voicemail/voice_voicemail.events.js
index 4b49bab..2032172 100644
--- a/server/api/voice_voicemail/voice_voicemail.events.js
+++ b/server/api/voice_voicemail/voice_voicemail.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_voicemail/voice_voicemail.socket.js b/server/api/voice_voicemail/voice_voicemail.socket.js
index b7cd3a2..9064b06 100644
--- a/server/api/voice_voicemail/voice_voicemail.socket.js
+++ b/server/api/voice_voicemail/voice_voicemail.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_voicemail_messages/index.js b/server/api/voice_voicemail_messages/index.js
index c55fe4e..09dc107 100644
--- a/server/api/voice_voicemail_messages/index.js
+++ b/server/api/voice_voicemail_messages/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_voicemail_messages/voice_voicemail_messages.controller.js b/server/api/voice_voicemail_messages/voice_voicemail_messages.controller.js
index 8197892..dccc67c 100644
--- a/server/api/voice_voicemail_messages/voice_voicemail_messages.controller.js
+++ b/server/api/voice_voicemail_messages/voice_voicemail_messages.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_voicemail_messages/voice_voicemail_messages.events.js b/server/api/voice_voicemail_messages/voice_voicemail_messages.events.js
index e6dea10..353f89d 100644
--- a/server/api/voice_voicemail_messages/voice_voicemail_messages.events.js
+++ b/server/api/voice_voicemail_messages/voice_voicemail_messages.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/voice_voicemail_messages/voice_voicemail_messages.socket.js b/server/api/voice_voicemail_messages/voice_voicemail_messages.socket.js
index 421c81a..c142d04 100644
--- a/server/api/voice_voicemail_messages/voice_voicemail_messages.socket.js
+++ b/server/api/voice_voicemail_messages/voice_voicemail_messages.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/widget/index.js b/server/api/widget/index.js
index ef80f95..a04c3a1 100644
--- a/server/api/widget/index.js
+++ b/server/api/widget/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/widget/widget.controller.js b/server/api/widget/widget.controller.js
index fb53d09..0a0ba2a 100644
--- a/server/api/widget/widget.controller.js
+++ b/server/api/widget/widget.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/xchatty/index.js b/server/api/xchatty/index.js
index 998c114..6c5fe27 100644
--- a/server/api/xchatty/index.js
+++ b/server/api/xchatty/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/xchatty/xchatty.controller.js b/server/api/xchatty/xchatty.controller.js
index 192e28d..d87a408 100644
--- a/server/api/xchatty/xchatty.controller.js
+++ b/server/api/xchatty/xchatty.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/zendesk_account/index.js b/server/api/zendesk_account/index.js
index 093a928..8328a96 100644
--- a/server/api/zendesk_account/index.js
+++ b/server/api/zendesk_account/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/zendesk_account/zendesk_account.controller.js b/server/api/zendesk_account/zendesk_account.controller.js
index cfc279e..32e3c5f 100644
--- a/server/api/zendesk_account/zendesk_account.controller.js
+++ b/server/api/zendesk_account/zendesk_account.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/zendesk_account/zendesk_account.events.js b/server/api/zendesk_account/zendesk_account.events.js
index 77b134b..323d935 100644
--- a/server/api/zendesk_account/zendesk_account.events.js
+++ b/server/api/zendesk_account/zendesk_account.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/zendesk_account/zendesk_account.socket.js b/server/api/zendesk_account/zendesk_account.socket.js
index e4811ce..8172f57 100644
--- a/server/api/zendesk_account/zendesk_account.socket.js
+++ b/server/api/zendesk_account/zendesk_account.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/zendesk_configuration/index.js b/server/api/zendesk_configuration/index.js
index b6b159f..769c053 100644
--- a/server/api/zendesk_configuration/index.js
+++ b/server/api/zendesk_configuration/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/zendesk_configuration/zendesk_configuration.controller.js b/server/api/zendesk_configuration/zendesk_configuration.controller.js
index 78bf8c6..431bccb 100644
--- a/server/api/zendesk_configuration/zendesk_configuration.controller.js
+++ b/server/api/zendesk_configuration/zendesk_configuration.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/zendesk_configuration/zendesk_configuration.events.js b/server/api/zendesk_configuration/zendesk_configuration.events.js
index d1301fb..0bda4bf 100644
--- a/server/api/zendesk_configuration/zendesk_configuration.events.js
+++ b/server/api/zendesk_configuration/zendesk_configuration.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/zendesk_configuration/zendesk_configuration.socket.js b/server/api/zendesk_configuration/zendesk_configuration.socket.js
index 7a7b225..fcec3eb 100644
--- a/server/api/zendesk_configuration/zendesk_configuration.socket.js
+++ b/server/api/zendesk_configuration/zendesk_configuration.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/zendesk_field/index.js b/server/api/zendesk_field/index.js
index 822c3d5..d356be7 100644
--- a/server/api/zendesk_field/index.js
+++ b/server/api/zendesk_field/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/zendesk_field/zendesk_field.controller.js b/server/api/zendesk_field/zendesk_field.controller.js
index b9c508e..beffc54 100644
--- a/server/api/zendesk_field/zendesk_field.controller.js
+++ b/server/api/zendesk_field/zendesk_field.controller.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/zendesk_field/zendesk_field.events.js b/server/api/zendesk_field/zendesk_field.events.js
index d608f2c..dcfe1c0 100644
--- a/server/api/zendesk_field/zendesk_field.events.js
+++ b/server/api/zendesk_field/zendesk_field.events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/api/zendesk_field/zendesk_field.socket.js b/server/api/zendesk_field/zendesk_field.socket.js
index d002f96..74ed9bc 100644
--- a/server/api/zendesk_field/zendesk_field.socket.js
+++ b/server/api/zendesk_field/zendesk_field.socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/app.js b/server/app.js
index 4c8bb65..f0d996d 100644
--- a/server/app.js
+++ b/server/app.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/auth/auth.service.js b/server/auth/auth.service.js
index a192d34..8fbcd28 100644
--- a/server/auth/auth.service.js
+++ b/server/auth/auth.service.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/auth/facebook/index.js b/server/auth/facebook/index.js
index 60696da..b45e76a 100644
--- a/server/auth/facebook/index.js
+++ b/server/auth/facebook/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/auth/facebook/passport.js b/server/auth/facebook/passport.js
index b8342e7..76ee67e 100644
--- a/server/auth/facebook/passport.js
+++ b/server/auth/facebook/passport.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/auth/google/index.js b/server/auth/google/index.js
index be39dd3..ddbec47 100644
--- a/server/auth/google/index.js
+++ b/server/auth/google/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/auth/google/passport.js b/server/auth/google/passport.js
index f79b5dc..f6cb41c 100644
--- a/server/auth/google/passport.js
+++ b/server/auth/google/passport.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/auth/index.js b/server/auth/index.js
index b56bae5..0b7bedf 100644
--- a/server/auth/index.js
+++ b/server/auth/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/auth/local/index.js b/server/auth/local/index.js
index afc3902..ac3c2bd 100644
--- a/server/auth/local/index.js
+++ b/server/auth/local/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/auth/local/local.ami.js b/server/auth/local/local.ami.js
index a059318..267e81d 100644
--- a/server/auth/local/local.ami.js
+++ b/server/auth/local/local.ami.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/auth/local/passport.js b/server/auth/local/passport.js
index 0ed0c27..f05018a 100644
--- a/server/auth/local/passport.js
+++ b/server/auth/local/passport.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/auth/twitter/index.js b/server/auth/twitter/index.js
index 4f748fa..b94d5f2 100644
--- a/server/auth/twitter/index.js
+++ b/server/auth/twitter/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/auth/twitter/passport.js b/server/auth/twitter/passport.js
index 4954a83..1ad1dbc 100644
--- a/server/auth/twitter/passport.js
+++ b/server/auth/twitter/passport.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/agi/agi.js b/server/config/agi/agi.js
index 2b43f0b..7adf791 100644
--- a/server/config/agi/agi.js
+++ b/server/config/agi/agi.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/agi/events.js b/server/config/agi/events.js
index 5651118..013d7df 100644
--- a/server/config/agi/events.js
+++ b/server/config/agi/events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/agi/index.js b/server/config/agi/index.js
index 0ca7e9b..5aa461c 100644
--- a/server/config/agi/index.js
+++ b/server/config/agi/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/agi/lib/channel.js b/server/config/agi/lib/channel.js
index b5cbb36..b13bd9c 100644
--- a/server/config/agi/lib/channel.js
+++ b/server/config/agi/lib/channel.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/agi/lib/connection.js b/server/config/agi/lib/connection.js
index fadbeb7..62be48d 100644
--- a/server/config/agi/lib/connection.js
+++ b/server/config/agi/lib/connection.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/agi/lib/reply.js b/server/config/agi/lib/reply.js
index d02ea37..0c61dd2 100644
--- a/server/config/agi/lib/reply.js
+++ b/server/config/agi/lib/reply.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/agi/lib/rpc/index.js b/server/config/agi/lib/rpc/index.js
index db252dc..5165634 100644
--- a/server/config/agi/lib/rpc/index.js
+++ b/server/config/agi/lib/rpc/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/agi/lib/scripts/index.js b/server/config/agi/lib/scripts/index.js
index e52e715..82cd321 100644
--- a/server/config/agi/lib/scripts/index.js
+++ b/server/config/agi/lib/scripts/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/agi/lib/server.js b/server/config/agi/lib/server.js
index 902e209..bee3d24 100644
--- a/server/config/agi/lib/server.js
+++ b/server/config/agi/lib/server.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/agi/lib/square.js b/server/config/agi/lib/square.js
index 3fc4da8..c3fcabd 100644
--- a/server/config/agi/lib/square.js
+++ b/server/config/agi/lib/square.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/agi/lib/vertices.js b/server/config/agi/lib/vertices.js
index 287af6f..c61d3ba 100644
--- a/server/config/agi/lib/vertices.js
+++ b/server/config/agi/lib/vertices.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/ami/acw.js b/server/config/ami/acw.js
index 5fa8fab..25ef130 100644
--- a/server/config/ami/acw.js
+++ b/server/config/ami/acw.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/ami/ami.js b/server/config/ami/ami.js
index d189a1e..d25b687 100644
--- a/server/config/ami/ami.js
+++ b/server/config/ami/ami.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/ami/db/fax.js b/server/config/ami/db/fax.js
index b8fabb6..46025db 100644
--- a/server/config/ami/db/fax.js
+++ b/server/config/ami/db/fax.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/ami/db/memberReport.js b/server/config/ami/db/memberReport.js
index b53a732..46a217d 100644
--- a/server/config/ami/db/memberReport.js
+++ b/server/config/ami/db/memberReport.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/ami/db/trunk.js b/server/config/ami/db/trunk.js
index 19be104..80fdc5a 100644
--- a/server/config/ami/db/trunk.js
+++ b/server/config/ami/db/trunk.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/ami/db/user.js b/server/config/ami/db/user.js
index 03696ec..1e20d37 100644
--- a/server/config/ami/db/user.js
+++ b/server/config/ami/db/user.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/ami/db/userHasQueue.js b/server/config/ami/db/userHasQueue.js
index 11b3802..e574e82 100644
--- a/server/config/ami/db/userHasQueue.js
+++ b/server/config/ami/db/userHasQueue.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/ami/db/voiceAgentReport.js b/server/config/ami/db/voiceAgentReport.js
index 96a3773..5aa0ab4 100644
--- a/server/config/ami/db/voiceAgentReport.js
+++ b/server/config/ami/db/voiceAgentReport.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/ami/db/voiceCallReport.js b/server/config/ami/db/voiceCallReport.js
index 4ff6c73..d59e12f 100644
--- a/server/config/ami/db/voiceCallReport.js
+++ b/server/config/ami/db/voiceCallReport.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/ami/db/voiceDialReport.js b/server/config/ami/db/voiceDialReport.js
index d023fa8..12b5855 100644
--- a/server/config/ami/db/voiceDialReport.js
+++ b/server/config/ami/db/voiceDialReport.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/ami/db/voiceQueueReport.js b/server/config/ami/db/voiceQueueReport.js
index ce5f0cb..2e55c53 100644
--- a/server/config/ami/db/voiceQueueReport.js
+++ b/server/config/ami/db/voiceQueueReport.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/ami/db/voiceRecording.js b/server/config/ami/db/voiceRecording.js
index eeef829..8a6dba5 100644
--- a/server/config/ami/db/voiceRecording.js
+++ b/server/config/ami/db/voiceRecording.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/ami/db/voiceTransferReport.js b/server/config/ami/db/voiceTransferReport.js
index 8c22bcc..a55ab90 100644
--- a/server/config/ami/db/voiceTransferReport.js
+++ b/server/config/ami/db/voiceTransferReport.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/ami/events.js b/server/config/ami/events.js
index 5550588..acc2f30 100644
--- a/server/config/ami/events.js
+++ b/server/config/ami/events.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/ami/index.js b/server/config/ami/index.js
index 0cb89a5..4c70acb 100644
--- a/server/config/ami/index.js
+++ b/server/config/ami/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/ami/properties.js b/server/config/ami/properties.js
index 9231c53..b5f4d9f 100644
--- a/server/config/ami/properties.js
+++ b/server/config/ami/properties.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/ami/socket.js b/server/config/ami/socket.js
index ec6a6dc..510354b 100644
--- a/server/config/ami/socket.js
+++ b/server/config/ami/socket.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/ami/utils.js b/server/config/ami/utils.js
index 509eb8a..7d4da81 100644
--- a/server/config/ami/utils.js
+++ b/server/config/ami/utils.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/autodialer/index.js b/server/config/autodialer/index.js
index 9f68e98..d43885d 100644
--- a/server/config/autodialer/index.js
+++ b/server/config/autodialer/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/autodialer/process.js b/server/config/autodialer/process.js
index 62cf41e..32da6dc 100644
--- a/server/config/autodialer/process.js
+++ b/server/config/autodialer/process.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/automations/chat.js b/server/config/automations/chat.js
index 9e4189d..942ad4e 100644
--- a/server/config/automations/chat.js
+++ b/server/config/automations/chat.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/automations/fax.js b/server/config/automations/fax.js
index f06609d..b099c47 100644
--- a/server/config/automations/fax.js
+++ b/server/config/automations/fax.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/automations/mail.js b/server/config/automations/mail.js
index 310c6a2..4077652 100644
--- a/server/config/automations/mail.js
+++ b/server/config/automations/mail.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/chat.js b/server/config/chat.js
index b702a1c..d874133 100644
--- a/server/config/chat.js
+++ b/server/config/chat.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/dashboard/dashboard.js b/server/config/dashboard/dashboard.js
index 694de91..f02537a 100644
--- a/server/config/dashboard/dashboard.js
+++ b/server/config/dashboard/dashboard.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/dashboard/index.js b/server/config/dashboard/index.js
index bf979ec..3b3fd95 100644
--- a/server/config/dashboard/index.js
+++ b/server/config/dashboard/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/express.js b/server/config/express.js
index 0a78713..ded9353 100644
--- a/server/config/express.js
+++ b/server/config/express.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/forked_routing/chat/agent.js b/server/config/forked_routing/chat/agent.js
index 93db93d..2558da2 100644
--- a/server/config/forked_routing/chat/agent.js
+++ b/server/config/forked_routing/chat/agent.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/forked_routing/chat/index.js b/server/config/forked_routing/chat/index.js
index 6c47313..9525bb1 100644
--- a/server/config/forked_routing/chat/index.js
+++ b/server/config/forked_routing/chat/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/forked_routing/chat/queue.js b/server/config/forked_routing/chat/queue.js
index da2b133..b2832cd 100644
--- a/server/config/forked_routing/chat/queue.js
+++ b/server/config/forked_routing/chat/queue.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/forked_routing/chat/sendmail.js b/server/config/forked_routing/chat/sendmail.js
index 5b2f27b..0835e59 100644
--- a/server/config/forked_routing/chat/sendmail.js
+++ b/server/config/forked_routing/chat/sendmail.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/forked_routing/chat/sendsms.js b/server/config/forked_routing/chat/sendsms.js
index 04aebd3..2f5fcc6 100644
--- a/server/config/forked_routing/chat/sendsms.js
+++ b/server/config/forked_routing/chat/sendsms.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/forked_routing/fax/agent.js b/server/config/forked_routing/fax/agent.js
index 1084417..b94f054 100644
--- a/server/config/forked_routing/fax/agent.js
+++ b/server/config/forked_routing/fax/agent.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/forked_routing/fax/index.js b/server/config/forked_routing/fax/index.js
index 7115253..1adba3d 100644
--- a/server/config/forked_routing/fax/index.js
+++ b/server/config/forked_routing/fax/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/forked_routing/fax/queue.js b/server/config/forked_routing/fax/queue.js
index 75dae4a..e71643a 100644
--- a/server/config/forked_routing/fax/queue.js
+++ b/server/config/forked_routing/fax/queue.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/forked_routing/fax/sendmail.js b/server/config/forked_routing/fax/sendmail.js
index ef4e7ec..775b90d 100644
--- a/server/config/forked_routing/fax/sendmail.js
+++ b/server/config/forked_routing/fax/sendmail.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/forked_routing/fax/sendsms.js b/server/config/forked_routing/fax/sendsms.js
index cf4d7d8..dfb82b8 100644
--- a/server/config/forked_routing/fax/sendsms.js
+++ b/server/config/forked_routing/fax/sendsms.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/forked_routing/mail/agent.js b/server/config/forked_routing/mail/agent.js
index a2c0e06..a3d5fdb 100644
--- a/server/config/forked_routing/mail/agent.js
+++ b/server/config/forked_routing/mail/agent.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/forked_routing/mail/index.js b/server/config/forked_routing/mail/index.js
index 3bb1521..9c5c71c 100644
--- a/server/config/forked_routing/mail/index.js
+++ b/server/config/forked_routing/mail/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/forked_routing/mail/queue.js b/server/config/forked_routing/mail/queue.js
index b9d8165..b9bbab2 100644
--- a/server/config/forked_routing/mail/queue.js
+++ b/server/config/forked_routing/mail/queue.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/forked_routing/mail/replymail.js b/server/config/forked_routing/mail/replymail.js
index d51edaf..60ef7ff 100644
--- a/server/config/forked_routing/mail/replymail.js
+++ b/server/config/forked_routing/mail/replymail.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/forked_routing/mail/sendmail.js b/server/config/forked_routing/mail/sendmail.js
index 458e433..d7d4db8 100644
--- a/server/config/forked_routing/mail/sendmail.js
+++ b/server/config/forked_routing/mail/sendmail.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/forked_routing/mail/sendsms.js b/server/config/forked_routing/mail/sendsms.js
index cab913e..61d5032 100644
--- a/server/config/forked_routing/mail/sendsms.js
+++ b/server/config/forked_routing/mail/sendsms.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/forked_routing/openchannel/agent.js b/server/config/forked_routing/openchannel/agent.js
index fd87851..9b1c413 100644
--- a/server/config/forked_routing/openchannel/agent.js
+++ b/server/config/forked_routing/openchannel/agent.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/forked_routing/openchannel/index.js b/server/config/forked_routing/openchannel/index.js
index 552312b..ea380ad 100644
--- a/server/config/forked_routing/openchannel/index.js
+++ b/server/config/forked_routing/openchannel/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/forked_routing/openchannel/queue.js b/server/config/forked_routing/openchannel/queue.js
index 395d536..0fd70a5 100644
--- a/server/config/forked_routing/openchannel/queue.js
+++ b/server/config/forked_routing/openchannel/queue.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/forked_routing/openchannel/sendmail.js b/server/config/forked_routing/openchannel/sendmail.js
index 682211d..83d3760 100644
--- a/server/config/forked_routing/openchannel/sendmail.js
+++ b/server/config/forked_routing/openchannel/sendmail.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/forked_routing/openchannel/sendsms.js b/server/config/forked_routing/openchannel/sendsms.js
index a687a7b..9938420 100644
--- a/server/config/forked_routing/openchannel/sendsms.js
+++ b/server/config/forked_routing/openchannel/sendsms.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/forked_routing/sms/agent.js b/server/config/forked_routing/sms/agent.js
index f19eca9..6d4a6a7 100644
--- a/server/config/forked_routing/sms/agent.js
+++ b/server/config/forked_routing/sms/agent.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/forked_routing/sms/index.js b/server/config/forked_routing/sms/index.js
index b284974..3f1e190 100644
--- a/server/config/forked_routing/sms/index.js
+++ b/server/config/forked_routing/sms/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/forked_routing/sms/queue.js b/server/config/forked_routing/sms/queue.js
index 5e97e62..0e2db48 100644
--- a/server/config/forked_routing/sms/queue.js
+++ b/server/config/forked_routing/sms/queue.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/forked_routing/sms/sendmail.js b/server/config/forked_routing/sms/sendmail.js
index 2a845ce..0a69fd5 100644
--- a/server/config/forked_routing/sms/sendmail.js
+++ b/server/config/forked_routing/sms/sendmail.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/forked_routing/sms/sendsms.js b/server/config/forked_routing/sms/sendsms.js
index 8b6150c..ac1ba3d 100644
--- a/server/config/forked_routing/sms/sendsms.js
+++ b/server/config/forked_routing/sms/sendsms.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/history/history.js b/server/config/history/history.js
index d789880..a9dcee9 100644
--- a/server/config/history/history.js
+++ b/server/config/history/history.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/history/reportMove.js b/server/config/history/reportMove.js
index 05dc22b..354b57c 100644
--- a/server/config/history/reportMove.js
+++ b/server/config/history/reportMove.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/imap/imap.js b/server/config/imap/imap.js
index a8c046e..81e03c8 100644
--- a/server/config/imap/imap.js
+++ b/server/config/imap/imap.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/imap/index.js b/server/config/imap/index.js
index a33186c..b777b1c 100644
--- a/server/config/imap/index.js
+++ b/server/config/imap/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/integrations/freshdesk.js b/server/config/integrations/freshdesk.js
index eaf7f05..bbce9ab 100644
--- a/server/config/integrations/freshdesk.js
+++ b/server/config/integrations/freshdesk.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/integrations/index.js b/server/config/integrations/index.js
index 08ce45d..df61aec 100644
--- a/server/config/integrations/index.js
+++ b/server/config/integrations/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/integrations/motionbar.js b/server/config/integrations/motionbar.js
index 896423d..bada2ac 100644
--- a/server/config/integrations/motionbar.js
+++ b/server/config/integrations/motionbar.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/integrations/salesforce.js b/server/config/integrations/salesforce.js
index 0554cc8..0eca7df 100644
--- a/server/config/integrations/salesforce.js
+++ b/server/config/integrations/salesforce.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/integrations/sugarcrm.js b/server/config/integrations/sugarcrm.js
index c89ccdd..47a2ba5 100644
--- a/server/config/integrations/sugarcrm.js
+++ b/server/config/integrations/sugarcrm.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/integrations/zendesk.js b/server/config/integrations/zendesk.js
index c64861c..3235ac9 100644
--- a/server/config/integrations/zendesk.js
+++ b/server/config/integrations/zendesk.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/interval/index.js b/server/config/interval/index.js
index da825f6..3798441 100644
--- a/server/config/interval/index.js
+++ b/server/config/interval/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/license/hardware.js b/server/config/license/hardware.js
index 456156b..500da1c 100644
--- a/server/config/license/hardware.js
+++ b/server/config/license/hardware.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/license/index.js b/server/config/license/index.js
index 30b39ed..4ef8865 100644
--- a/server/config/license/index.js
+++ b/server/config/license/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/license/license.service.js b/server/config/license/license.service.js
index 175d3ba..041661b 100644
--- a/server/config/license/license.service.js
+++ b/server/config/license/license.service.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/local.env.sample.js b/server/config/local.env.sample.js
index 7e5adb3..edef6fa 100644
--- a/server/config/local.env.sample.js
+++ b/server/config/local.env.sample.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/logger.js b/server/config/logger.js
index ce7f9c4..ee5c4b1 100644
--- a/server/config/logger.js
+++ b/server/config/logger.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/logger/index.js b/server/config/logger/index.js
index 1059576..e03d1ee 100644
--- a/server/config/logger/index.js
+++ b/server/config/logger/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/openchannel/custom.js b/server/config/openchannel/custom.js
index 18fd56d..0079718 100644
--- a/server/config/openchannel/custom.js
+++ b/server/config/openchannel/custom.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/openchannel/index.js b/server/config/openchannel/index.js
index 0c49f32..95366b5 100644
--- a/server/config/openchannel/index.js
+++ b/server/config/openchannel/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/routing/agent.js b/server/config/routing/agent.js
index fe9849e..a3b3641 100644
--- a/server/config/routing/agent.js
+++ b/server/config/routing/agent.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/routing/fidelity.js b/server/config/routing/fidelity.js
index 43aa358..4334d7a 100644
--- a/server/config/routing/fidelity.js
+++ b/server/config/routing/fidelity.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/routing/queue.js b/server/config/routing/queue.js
index eb5228c..1a6fdf2 100644
--- a/server/config/routing/queue.js
+++ b/server/config/routing/queue.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/routing/replyMail.js b/server/config/routing/replyMail.js
index 5d3e6d9..30df8d9 100644
--- a/server/config/routing/replyMail.js
+++ b/server/config/routing/replyMail.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/routing/scheduler.js b/server/config/routing/scheduler.js
index 4d57fb7..4d2f929 100644
--- a/server/config/routing/scheduler.js
+++ b/server/config/routing/scheduler.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/routing/sendMail.js b/server/config/routing/sendMail.js
index 204c9a5..69d0ccf 100644
--- a/server/config/routing/sendMail.js
+++ b/server/config/routing/sendMail.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/routing/sendSms.js b/server/config/routing/sendSms.js
index 8c668bb..3627096 100644
--- a/server/config/routing/sendSms.js
+++ b/server/config/routing/sendSms.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/routing/structure.js b/server/config/routing/structure.js
index 14edbc0..b4074b6 100644
--- a/server/config/routing/structure.js
+++ b/server/config/routing/structure.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/rpc/client.js b/server/config/rpc/client.js
index faf6115..6896dd2 100644
--- a/server/config/rpc/client.js
+++ b/server/config/rpc/client.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/rpc/index.js b/server/config/rpc/index.js
index 53b2109..d769875 100644
--- a/server/config/rpc/index.js
+++ b/server/config/rpc/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/rpc/rpc.js b/server/config/rpc/rpc.js
index 7cf80f4..394a1d6 100644
--- a/server/config/rpc/rpc.js
+++ b/server/config/rpc/rpc.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/scheduler/index.js b/server/config/scheduler/index.js
index 564c085..32bb156 100644
--- a/server/config/scheduler/index.js
+++ b/server/config/scheduler/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/scheduler/reports.js b/server/config/scheduler/reports.js
index 944ba34..062d6dd 100644
--- a/server/config/scheduler/reports.js
+++ b/server/config/scheduler/reports.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/seed.js b/server/config/seed.js
index 5ba16a1..e34a037 100644
--- a/server/config/seed.js
+++ b/server/config/seed.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/seedp.js b/server/config/seedp.js
index 08fe5b5..0f50baa 100644
--- a/server/config/seedp.js
+++ b/server/config/seedp.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/sms/index.js b/server/config/sms/index.js
index 74ff623..b77537d 100644
--- a/server/config/sms/index.js
+++ b/server/config/sms/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/sms/skebby.js b/server/config/sms/skebby.js
index 8ca3d60..f503518 100644
--- a/server/config/sms/skebby.js
+++ b/server/config/sms/skebby.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/sms/sms.js b/server/config/sms/sms.js
index 25015d1..c28583a 100644
--- a/server/config/sms/sms.js
+++ b/server/config/sms/sms.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/sms/twilio.js b/server/config/sms/twilio.js
index e9f881f..3aa46e8 100644
--- a/server/config/sms/twilio.js
+++ b/server/config/sms/twilio.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/smtp/index.js b/server/config/smtp/index.js
index feefd36..6a91794 100644
--- a/server/config/smtp/index.js
+++ b/server/config/smtp/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/smtp/smtp.js b/server/config/smtp/smtp.js
index 00cb5c8..f1a145d 100644
--- a/server/config/smtp/smtp.js
+++ b/server/config/smtp/smtp.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/socketio.js b/server/config/socketio.js
index 8fd828f..d8e90c0 100644
--- a/server/config/socketio.js
+++ b/server/config/socketio.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/tools/channelSpy.js b/server/config/tools/channelSpy.js
index 324af56..100a73b 100644
--- a/server/config/tools/channelSpy.js
+++ b/server/config/tools/channelSpy.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/tools/chatRoom.js b/server/config/tools/chatRoom.js
index fb764de..33bb2df 100644
--- a/server/config/tools/chatRoom.js
+++ b/server/config/tools/chatRoom.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/tools/dashboard.js b/server/config/tools/dashboard.js
index 0129baa..12ecd51 100644
--- a/server/config/tools/dashboard.js
+++ b/server/config/tools/dashboard.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/tools/faxAccount.js b/server/config/tools/faxAccount.js
index 64682a4..660715c 100644
--- a/server/config/tools/faxAccount.js
+++ b/server/config/tools/faxAccount.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/tools/faxRoom.js b/server/config/tools/faxRoom.js
index 6a764e3..fa1eaba 100644
--- a/server/config/tools/faxRoom.js
+++ b/server/config/tools/faxRoom.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/tools/index.js b/server/config/tools/index.js
index 39ae659..75f0c74 100644
--- a/server/config/tools/index.js
+++ b/server/config/tools/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/tools/interval.js b/server/config/tools/interval.js
index 05b410b..2f5239b 100644
--- a/server/config/tools/interval.js
+++ b/server/config/tools/interval.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/tools/mailAccount.js b/server/config/tools/mailAccount.js
index ef4fec8..b645b65 100644
--- a/server/config/tools/mailAccount.js
+++ b/server/config/tools/mailAccount.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/tools/mailRoom.js b/server/config/tools/mailRoom.js
index 4140a31..23ad175 100644
--- a/server/config/tools/mailRoom.js
+++ b/server/config/tools/mailRoom.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/tools/openchannelRoom.js b/server/config/tools/openchannelRoom.js
index e3b101f..cbac0c9 100644
--- a/server/config/tools/openchannelRoom.js
+++ b/server/config/tools/openchannelRoom.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/tools/smsRoom.js b/server/config/tools/smsRoom.js
index c99c6d6..d98c71d 100644
--- a/server/config/tools/smsRoom.js
+++ b/server/config/tools/smsRoom.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/tools/system.js b/server/config/tools/system.js
index 0bde18b..e94c400 100644
--- a/server/config/tools/system.js
+++ b/server/config/tools/system.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/tools/user.js b/server/config/tools/user.js
index ee3afb3..e946019 100644
--- a/server/config/tools/user.js
+++ b/server/config/tools/user.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/triggers/chat.js b/server/config/triggers/chat.js
index 88173df..19dc7ff 100644
--- a/server/config/triggers/chat.js
+++ b/server/config/triggers/chat.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/triggers/cm.js b/server/config/triggers/cm.js
index bcc53cf..cfa10b5 100644
--- a/server/config/triggers/cm.js
+++ b/server/config/triggers/cm.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/triggers/fax.js b/server/config/triggers/fax.js
index 046cf46..2aeb477 100644
--- a/server/config/triggers/fax.js
+++ b/server/config/triggers/fax.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/triggers/index.js b/server/config/triggers/index.js
index 2aa3a63..d003491 100644
--- a/server/config/triggers/index.js
+++ b/server/config/triggers/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/triggers/jscripty.js b/server/config/triggers/jscripty.js
index 6e105a6..b304d75 100644
--- a/server/config/triggers/jscripty.js
+++ b/server/config/triggers/jscripty.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/triggers/mail.js b/server/config/triggers/mail.js
index 8f16f39..85d0652 100644
--- a/server/config/triggers/mail.js
+++ b/server/config/triggers/mail.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/triggers/openchannel.js b/server/config/triggers/openchannel.js
index 04f53f4..05b0df7 100644
--- a/server/config/triggers/openchannel.js
+++ b/server/config/triggers/openchannel.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/triggers/sms.js b/server/config/triggers/sms.js
index ddc0a1a..e708487 100644
--- a/server/config/triggers/sms.js
+++ b/server/config/triggers/sms.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/triggers/urlForward.js b/server/config/triggers/urlForward.js
index 1509f13..aa33178 100644
--- a/server/config/triggers/urlForward.js
+++ b/server/config/triggers/urlForward.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/triggers/util.js b/server/config/triggers/util.js
index e8b5b67..5b2d30c 100644
--- a/server/config/triggers/util.js
+++ b/server/config/triggers/util.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/triggers/voice.js b/server/config/triggers/voice.js
index 8607c0b..a7132ca 100644
--- a/server/config/triggers/voice.js
+++ b/server/config/triggers/voice.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/util/error.js b/server/config/util/error.js
index 1ab63e4..26f0dad 100644
--- a/server/config/util/error.js
+++ b/server/config/util/error.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/config/util/index.js b/server/config/util/index.js
index 4276fe2..2bde490 100644
--- a/server/config/util/index.js
+++ b/server/config/util/index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/migrations-history/20160801125118-placeholder.js b/server/migrations-history/20160801125118-placeholder.js
index bfd4be2..d9e14da 100644
--- a/server/migrations-history/20160801125118-placeholder.js
+++ b/server/migrations-history/20160801125118-placeholder.js
@@ -1 +1 @@
-var _0xe79e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xe79e[0];module[_0xe79e[1]]= {up:function(_0xbd02x1,_0xbd02x2){},down:function(_0xbd02x1,_0xbd02x2){}}
\ No newline at end of file
+var _0xb531=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xb531[0];module[_0xb531[1]]= {up:function(_0x2923x1,_0x2923x2){},down:function(_0x2923x1,_0x2923x2){}}
\ No newline at end of file
diff --git a/server/migrations-history/20160916135658-report-session.js b/server/migrations-history/20160916135658-report-session.js
index f9fba02..bb908f9 100644
--- a/server/migrations-history/20160916135658-report-session.js
+++ b/server/migrations-history/20160916135658-report-session.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/migrations-history/20160920170835-report_tdial.js b/server/migrations-history/20160920170835-report_tdial.js
index 639408d..72ce7ac 100644
--- a/server/migrations-history/20160920170835-report_tdial.js
+++ b/server/migrations-history/20160920170835-report_tdial.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/migrations-history/20161005162141-report_tdial_history.js b/server/migrations-history/20161005162141-report_tdial_history.js
index 699495d..768bf8d 100644
--- a/server/migrations-history/20161005162141-report_tdial_history.js
+++ b/server/migrations-history/20161005162141-report_tdial_history.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/migrations-history/20161102092931-report_member.js b/server/migrations-history/20161102092931-report_member.js
index 9248221..6ec7012 100644
--- a/server/migrations-history/20161102092931-report_member.js
+++ b/server/migrations-history/20161102092931-report_member.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/migrations-history/20161103154020-report_square_history.js b/server/migrations-history/20161103154020-report_square_history.js
index 8e62eaa..fb55d47 100644
--- a/server/migrations-history/20161103154020-report_square_history.js
+++ b/server/migrations-history/20161103154020-report_square_history.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/migrations-history/20161104110653-report_square_history.js b/server/migrations-history/20161104110653-report_square_history.js
index 35c4582..a679dd0 100644
--- a/server/migrations-history/20161104110653-report_square_history.js
+++ b/server/migrations-history/20161104110653-report_square_history.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/migrations-history/20161130151446-report_integration_history.js b/server/migrations-history/20161130151446-report_integration_history.js
index 006d7bc..ca1373f 100644
--- a/server/migrations-history/20161130151446-report_integration_history.js
+++ b/server/migrations-history/20161130151446-report_integration_history.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/migrations-history/20161206170443-report_agent_history.js b/server/migrations-history/20161206170443-report_agent_history.js
index a03a267..43818d2 100644
--- a/server/migrations-history/20161206170443-report_agent_history.js
+++ b/server/migrations-history/20161206170443-report_agent_history.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/migrations-history/20161209084712-report_sourceid.js b/server/migrations-history/20161209084712-report_sourceid.js
index b2832d4..17972ba 100644
--- a/server/migrations-history/20161209084712-report_sourceid.js
+++ b/server/migrations-history/20161209084712-report_sourceid.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/migrations-history/20161209140411-report_history.js b/server/migrations-history/20161209140411-report_history.js
index 1a233ea..92da948 100644
--- a/server/migrations-history/20161209140411-report_history.js
+++ b/server/migrations-history/20161209140411-report_history.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/migrations-history/20161209171025-report_sourceid_index.js b/server/migrations-history/20161209171025-report_sourceid_index.js
index 6d89c28..c93ccd6 100644
--- a/server/migrations-history/20161209171025-report_sourceid_index.js
+++ b/server/migrations-history/20161209171025-report_sourceid_index.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/migrations-history/20170126094809-report_square_details_history.js b/server/migrations-history/20170126094809-report_square_details_history.js
index 59ea881..2a7b688 100644
--- a/server/migrations-history/20170126094809-report_square_details_history.js
+++ b/server/migrations-history/20170126094809-report_square_details_history.js
@@ -1 +1 @@
-var _0x3b7f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x64\x65\x74\x61\x69\x6C\x73\x5F\x68\x69\x73\x74\x6F\x72\x79","\x70\x72\x6F\x6A\x65\x63\x74\x4E\x61\x6D\x65","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x3b7f[0];module[_0x3b7f[1]]= {up:function(_0xdd2ax1,_0xdd2ax2){_0xdd2ax1[_0x3b7f[4]](_0x3b7f[2],_0x3b7f[3])},down:function(_0xdd2ax1,_0xdd2ax2){}}
\ No newline at end of file
+var _0x38d1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x64\x65\x74\x61\x69\x6C\x73\x5F\x68\x69\x73\x74\x6F\x72\x79","\x70\x72\x6F\x6A\x65\x63\x74\x4E\x61\x6D\x65","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x38d1[0];module[_0x38d1[1]]= {up:function(_0x4b6fx1,_0x4b6fx2){_0x4b6fx1[_0x38d1[4]](_0x38d1[2],_0x38d1[3])},down:function(_0x4b6fx1,_0x4b6fx2){}}
\ No newline at end of file
diff --git a/server/migrations-history/20170206131527-report_call.js b/server/migrations-history/20170206131527-report_call.js
index f66db6a..a1fbfaf 100644
--- a/server/migrations-history/20170206131527-report_call.js
+++ b/server/migrations-history/20170206131527-report_call.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/migrations-history/20170207170653-report_call.js b/server/migrations-history/20170207170653-report_call.js
index 652d2d7..615967b 100644
--- a/server/migrations-history/20170207170653-report_call.js
+++ b/server/migrations-history/20170207170653-report_call.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/migrations-history/20170217111336-report_call_history.js b/server/migrations-history/20170217111336-report_call_history.js
index c20cf87..03b5bc9 100644
--- a/server/migrations-history/20170217111336-report_call_history.js
+++ b/server/migrations-history/20170217111336-report_call_history.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/migrations-history/20170217153419-report_square_detail_history.js b/server/migrations-history/20170217153419-report_square_detail_history.js
index 7481772..a1c0a89 100644
--- a/server/migrations-history/20170217153419-report_square_detail_history.js
+++ b/server/migrations-history/20170217153419-report_square_detail_history.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/migrations-history/20170315164841-report_queue.js b/server/migrations-history/20170315164841-report_queue.js
index 772a967..90e0e00 100644
--- a/server/migrations-history/20170315164841-report_queue.js
+++ b/server/migrations-history/20170315164841-report_queue.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/migrations-history/20170404155959-indexes.js b/server/migrations-history/20170404155959-indexes.js
index cd887d3..1d22c87 100644
--- a/server/migrations-history/20170404155959-indexes.js
+++ b/server/migrations-history/20170404155959-indexes.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/migrations-history/20170601132818-history_latin_to_utf8.js b/server/migrations-history/20170601132818-history_latin_to_utf8.js
index f7b0c52..35798c6 100644
--- a/server/migrations-history/20170601132818-history_latin_to_utf8.js
+++ b/server/migrations-history/20170601132818-history_latin_to_utf8.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/routes.js b/server/routes.js
index e12cbf7..83021da 100644
--- a/server/routes.js
+++ b/server/routes.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/utils/report_build.js b/server/utils/report_build.js
index b209d31..65b5efe 100644
--- a/server/utils/report_build.js
+++ b/server/utils/report_build.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/utils/report_extraction.js b/server/utils/report_extraction.js
index d5a8ac5..e381b6e 100644
--- a/server/utils/report_extraction.js
+++ b/server/utils/report_extraction.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
diff --git a/server/utils/voice_extension.js b/server/utils/voice_extension.js
index 8b04303..dfd8886 100644
--- a/server/utils/voice_extension.js
+++ b/server/utils/voice_extension.js
@@ -1 +1 @@
\ No newline at end of file
\ No newline at end of file
-- 
1.7.1